Jared Boone
84334ef818
Further generalize StreamOutput -> BufferExchange.
2016-10-04 22:52:12 -07:00
Jared Boone
fadbbcc581
Move buffer reset out of buffer exchange class.
2016-10-04 22:17:57 -07:00
Jared Boone
2433ea30ad
Generalize StreamOutput a bit.
2016-10-04 22:17:27 -07:00
Jared Boone
a5793b8b9d
Put Reader, Writer inside "stream" namespace.
2016-10-04 17:13:21 -07:00
Jared Boone
01320d9806
Add a Reader interface.
2016-10-04 17:04:49 -07:00
Jared Boone
f3bfd50399
Move IO functions into .cpp files.
2016-10-04 10:12:10 -07:00
Jared Boone
43c4584a32
Move WAV structs outside of writer.
2016-10-04 10:04:38 -07:00
Jared Boone
1a2fd3e127
Prepare WAV structures for extraction.
2016-10-04 09:59:47 -07:00
Jared Boone
1bdca0fd8d
Extract (some) Writer classes to separate files.
...
TODO: PNGWriter could probably reuse this stuff too, but...
2016-10-04 09:57:13 -07:00
Jared Boone
414dd41577
Allow modification of StreamBuffer (data values, size).
2016-10-04 09:15:19 -07:00
Jared Boone
b69a3abcb5
Spectrum: Templatize various window functions.
2016-10-03 12:31:40 -07:00
Jared Boone
4153995944
CPLD: Invert GCK2 to improve ADC sample timing.
2016-10-03 11:58:42 -07:00
Jared Boone
f756ac4eac
CMake: Produce linker .map files for application, basebands.
2016-10-03 11:34:59 -07:00
Jared Boone
aed58f2a3f
File: Stop copying path when iterating.
...
TODO: I bet I've made this mistake a billion other places...
2016-10-01 10:47:21 -07:00
Jared Boone
86f672af2b
File: Add misc useful API from C++17.
2016-10-01 10:44:11 -07:00
furrtek
57dc1f7aa4
Merge branch 'master' of https://github.com/furrtek/portapack-hackrf
2016-09-27 03:06:25 +02:00
furrtek
8c70ef08f8
Fixed xx2262 remote encoder def
...
SymField now shows symbol chars
2016-09-27 03:06:14 +02:00
Furrtek
f83a930c98
Update README.md
2016-09-23 23:10:14 +02:00
furrtek
8276e5e311
Added CTCSS in Soundboard
2016-09-23 23:08:54 +02:00
Jared Boone
b9e475cbf4
Silence CMakeForceCompiler deprecation warning for >=3.6.
2016-09-23 12:18:42 -07:00
furrtek
629ebd0d28
Merge branch 'master' of https://github.com/furrtek/portapack-hackrf
2016-09-23 20:17:34 +02:00
furrtek
55ba0b5e06
Cleanup, random mode in DTMF TX
2016-09-23 20:17:29 +02:00
Furrtek
5b1ee7be52
Update README.md
2016-09-23 18:29:12 +02:00
furrtek
bb29efeda6
Added Nuoptix DTMF sync transmit (Disney parades, light shows...)
...
Soundboard ignores stereo files
2016-09-23 17:34:50 +02:00
furrtek
d049553750
Removed terminator.img from ignore
2016-09-23 12:26:50 +02:00
furrtek
bd8625fa5e
Merge branch 'master' of https://github.com/furrtek/portapack-hackrf
2016-09-23 12:20:50 +02:00
furrtek
8c0ff7f9c0
Soundboard uses common lfsr rand()
2016-09-23 12:20:36 +02:00
Jared Boone
b87d1456a2
File: Make path a first-class object, add some methods from C++17.
2016-09-08 12:57:34 -07:00
Jared Boone
f80706cb34
File: Extract function to convert path to string.
2016-09-07 22:20:51 -07:00
Jared Boone
df0fc30fda
Rect: Comment about a bad API method.
...
In retrospect, I don't like Rect + Rect = union -- it doesn't make as much sense and isn't as readable as Rect.union(Rect).
2016-09-07 22:19:30 -07:00
Jared Boone
f722497b01
Rect: operator method to offset by a Point.
2016-09-07 22:18:11 -07:00
Jared Boone
79330015ed
File: Clean up directory_iterator construction, preserve pattern.
...
FatFs requires pattern pointer to be stable during search.
2016-09-07 20:46:45 -07:00
Jared Boone
2740761ed7
RecentEntriesX: Move non-templated bits to .cpp.
2016-09-05 16:49:44 -07:00
Jared Boone
722f9b6886
MenuItem: Misc const and constructor consistency adjustments.
...
Also moved add_items() body to .cpp file.
2016-09-05 15:30:45 -07:00
Jared Boone
9a01d59822
MenuView: Change add_items arg to initializer_list.
...
Another code size improvement, and makes maintaining lists of menu items less stupid (you don't need to change the template arg when the item count changes).
2016-09-05 15:20:50 -07:00
Jared Boone
09222f0044
Widget/View: Consolidate dirty code inside Widget.
2016-09-05 15:04:28 -07:00
Jared Boone
8a69b0523e
View::add_children: Use std::list_initializer as argument.
...
Improvement in code size -- 944 bytes.
Some day I will understand C++11 well enough to do the right thing the first time.
2016-09-05 14:53:04 -07:00
Jared Boone
298324d6e4
RecentEntries: Extract Columns model.
2016-09-05 12:34:41 -07:00
Jared Boone
61f0d97c39
RecentEntriesView: Extract header and table widget, package in to top-level View.
2016-09-05 12:09:29 -07:00
Jared Boone
50e2dfa0b9
RecentEntries: Make templated type of std::list.
2016-09-03 22:53:44 -07:00
Jared Boone
bd785d8bf4
RecentEntries: Extract more algorithms.
2016-09-03 18:26:48 -07:00
Jared Boone
c8f7863c83
RecentEntries: Expose container as base class.
...
Trying to refactor until there's nothing but the base class left.
2016-09-03 18:12:07 -07:00
Jared Boone
b596d0697c
RecentEntries: Extract range_around().
2016-09-03 17:10:08 -07:00
Jared Boone
42d98c3b45
RecentEntries: Remove Packet template arg.
2016-09-03 16:38:44 -07:00
Jared Boone
4d781df76c
RecentEntries: Don't reference Entry template arg directly.
2016-09-03 12:58:11 -07:00
Jared Boone
c6f7d7f844
RecentEntriesView: Extract duplicate focus+selection style code.
2016-09-02 22:44:40 -07:00
Jared Boone
1e0d452f57
RecentEntriesView: Generalize draw_header() implementations.
2016-09-02 22:38:05 -07:00
Jared Boone
2396d2d97a
CMake: Remove DFU --reset, which fails build if reset fails.
...
dfu-util will often complain of reset not succeeding (which is apparently fine), then halting the programming phase (which is not fine).
2016-08-31 11:23:42 -07:00
Jared Boone
5d2ad9c1aa
SGPIO: Use pin constants when changing output enables.
2016-08-30 21:33:44 -07:00
Jared Boone
00c7cdf027
CPLD: Always clock SGPIO data on external clock rising edge.
2016-08-30 21:30:03 -07:00