Jonathan Gordon
4718a1e752
beginning of the new menu system. This commit shouldnt break anything,
...
but comming ones might.. report bugs in
http://forums.rockbox.org/index.php?topic=8703.0 and more info at
http://www.rockbox.org/twiki/bin/view/Main/SettingsRecode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12227 a1c6a512-1295-4272-9138-f99709370657
2007-02-08 04:33:41 +00:00
Michael Sevakis
eed62f1657
Change the radio screen and recording screen to use the global_status structure for state. I guess global_status had been added already and I missed it. :D
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12222 a1c6a512-1295-4272-9138-f99709370657
2007-02-07 04:24:21 +00:00
Michael Sevakis
ff3bb3aa18
Don't save the in-out state of the recording screen as a setting. Fixes the statusbar icons if settings were saved while recording screen was on. Humbly may I suggest a global_state structure to do all this state checking more efficiently\? Ignore me if that's being worked on by someone.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12221 a1c6a512-1295-4272-9138-f99709370657
2007-02-07 02:48:19 +00:00
Nils Wallménius
28a8894656
Ifdef some remote lcd code in the recording screen that is not used for non lcd remote targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12214 a1c6a512-1295-4272-9138-f99709370657
2007-02-06 20:30:58 +00:00
Jens Arnold
6b0fdae0f6
Removed unused 'mode' parameter from mkdir() for consistency with creat().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12183 a1c6a512-1295-4272-9138-f99709370657
2007-02-03 10:28:55 +00:00
Jens Arnold
67eb154146
Removed 'mode' parameter from creat(). It wasn't pure posix anyway, it was ignored on target and mixed into 'oflags' in the simulator. * Simplified io.c a bit by defining a dummy O_BINARY for OSes which don't have that.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12179 a1c6a512-1295-4272-9138-f99709370657
2007-02-01 23:08:15 +00:00
Jonathan Gordon
228d62dd18
Split the system status variables out of global_settings and put them into a new struct global_status. Use status_save() if these need
...
saving.
Added car_adapter_mode to the nvram settings, so nvram settings will be reset.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12101 a1c6a512-1295-4272-9138-f99709370657
2007-01-24 02:19:22 +00:00
Jonathan Gordon
b2e50906a4
Settings are now stored in /.rockbox/config.cfg instead of the hidden sector. (FS #6557 )
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12093 a1c6a512-1295-4272-9138-f99709370657
2007-01-23 13:40:44 +00:00
Greg White
0262cba304
Align backdrop buffers
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12003 a1c6a512-1295-4272-9138-f99709370657
2007-01-14 03:29:32 +00:00
Nils Wallménius
8a71f1adfd
Enable Morse mode for virtual keyboard on h10 players and make it possible to enter line edit while in Morse mode.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11911 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 14:36:04 +00:00
Jonathan Gordon
568e18e9dd
Fix FS#6361. Allow the FM auto-scanning to be abort with the standard
...
quit button
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11843 a1c6a512-1295-4272-9138-f99709370657
2006-12-26 22:01:27 +00:00
Jens Arnold
2597a13497
Next round of static'ing and related fixes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11836 a1c6a512-1295-4272-9138-f99709370657
2006-12-25 14:01:47 +00:00
Martin Scarratt
8ab6ac7739
Enable morse mode in the virtual keyboard for Ipods. Keymap changes in VK: Play(instead of long select) - accept & exit, Long menu - toggle morse mode.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11803 a1c6a512-1295-4272-9138-f99709370657
2006-12-18 16:57:48 +00:00
Nils Wallménius
5774709d15
One #if less :-D
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11791 a1c6a512-1295-4272-9138-f99709370657
2006-12-17 22:53:25 +00:00
Nils Wallménius
b757b50d0a
Add colon and semicolon to the default virtual keyboard, clean up some unneccesary includes and exclude vkeyboard for larger displays from builds where it was never used -- saves approx 300 bytes on achos builds
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11790 a1c6a512-1295-4272-9138-f99709370657
2006-12-17 19:51:30 +00:00
Michael Sevakis
ac6be5d550
Sims hate me again (or is that the other way). Fixup the stubs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11784 a1c6a512-1295-4272-9138-f99709370657
2006-12-17 11:25:42 +00:00
Michael Sevakis
99109938fe
The sims hate me again.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11706 a1c6a512-1295-4272-9138-f99709370657
2006-12-10 14:32:38 +00:00
Michael Sevakis
eca9f7fd60
Place all recording functionality on pcmrec thread to serialize all recording operations. Button mash problems should be ruled out of pcm_record.c. Add additional lightweight checks by default and display any warnings that occurred during recording in first line of recording screen when they occur by blinking back and forth from warning display to normal line (Warning: <hex bitmask>). Warnings are cleared when beginning a new recording so write the number down if you see it and file a report. Add heavier checks when PCMREC_PARANOID is defined in the player config header (encoders and pcm_record must be aware of the define since it changes the chunk header format). These checks are mainly concerned with things that may cause skipping but also add unwanted overhead for normal operation. Best used with logf enabled.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11705 a1c6a512-1295-4272-9138-f99709370657
2006-12-10 14:21:31 +00:00
Shachar Liberman
4d93177457
Made the AGC functions compatible with non-latin languages following the
...
'NonLatinLanguages' wiki page. Please keep using separate LANG_SYSFONT_
strings when using the internal font, Which only supports latin charset,
for easier translation. * Hebrew translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11594 a1c6a512-1295-4272-9138-f99709370657
2006-11-25 20:11:59 +00:00
Michael Sevakis
0729b928ce
Recording: Add AIFF recording to SWCODEC. Note: AIFF playback chokes on sample rates other than 44.1kHz whether recorded or created and saved with an external program. Recorded files will still open in an external editor however.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11583 a1c6a512-1295-4272-9138-f99709370657
2006-11-24 19:49:04 +00:00
Michael Sevakis
ab1861a3c2
iRiver/iAudio: Added audio_set_recording gain and sound_default to plugin API. Simplified plugin recording by target/-ing some audio functions. UDA1380 records with WSPLL as a result.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11577 a1c6a512-1295-4272-9138-f99709370657
2006-11-23 19:21:15 +00:00
Jens Arnold
0b2ac4b427
BMP loader: Using shifts for division by powers of 2 saves a bit on code size.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11559 a1c6a512-1295-4272-9138-f99709370657
2006-11-20 00:55:09 +00:00
Jens Arnold
848e0b5a16
BMP loader: Remote LCD format support.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11558 a1c6a512-1295-4272-9138-f99709370657
2006-11-20 00:20:09 +00:00
Jens Arnold
d1077a8a0c
Fixed the dithering once more.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11555 a1c6a512-1295-4272-9138-f99709370657
2006-11-19 14:58:12 +00:00
Jonathan Gordon
6288523cfe
* Move checkbox to plugin api (core never uses it)
...
* replace the last of the scrollbar() calls with gui_scrollbar_draw()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11552 a1c6a512-1295-4272-9138-f99709370657
2006-11-19 14:11:42 +00:00
Jens Arnold
adc4848772
Complete rework of the BMP loader: * Support for 4 bit, 15/16 bit and 32 bit BMPs in addition to the already supported 1 bit, 8 bit and 24 bit formats. * Better protection against corrupt BMP files. * Added dithering for 2 bit targets. * Optimised, compact code. There's almost no code size increase for SH1 (only 68 bytes), and even a decrease for coldfire, with all the additional features. * Code policed. * Fixes bug that loading a backdrop worked only once per session.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11548 a1c6a512-1295-4272-9138-f99709370657
2006-11-18 14:29:51 +00:00
Michael Sevakis
77b615344c
H100/300: Fixed radio silence problem. Removed the wrong call in my last update. :P
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11533 a1c6a512-1295-4272-9138-f99709370657
2006-11-15 21:30:53 +00:00
Jonathan Gordon
9270ee6aab
dump the old scrollbar(), make it a wrapper to gui_scrollbar_draw() only
...
drawing to the main LCD. Saves ~400bytes on the recorder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11530 a1c6a512-1295-4272-9138-f99709370657
2006-11-15 10:11:51 +00:00
Michael Sevakis
cc50c149e9
H100/General: HAL for S/PDIF and refinement/bufixes in optical output powering/source selection.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11523 a1c6a512-1295-4272-9138-f99709370657
2006-11-13 23:21:54 +00:00
Jens Arnold
0297873f6a
Backdrop support for greyscale targets. WPS backdrop is untested.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11520 a1c6a512-1295-4272-9138-f99709370657
2006-11-13 00:45:21 +00:00
Jens Arnold
83e18d982c
Patch #5771 by Frederik Vestre: Fix BMP loader to work in 64bit environments (simulator).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11513 a1c6a512-1295-4272-9138-f99709370657
2006-11-11 11:26:42 +00:00
Martin Scarratt
d8103f3ba6
Recording trigger for software codec targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11479 a1c6a512-1295-4272-9138-f99709370657
2006-11-09 12:27:56 +00:00
Michael Sevakis
0f5cb94aa4
Big Patch adds primarily: Samplerate and format selection to recording for SWCODEC. Supprort for samplerates changing in playback (just goes with the recording part inseparably). Samplerates to all encoders. Encoders can be configured individually on a menu specific to the encoder in the recording menu. File creation is delayed until flush time to reduce spinups when splitting. Misc: statusbar icons for numbers are individual digits to display any number. Audio buffer was rearranged to maximize memory available to recording and properly reinitialized when trashed. ColdFire PCM stuff moved to target tree to avoid a complicated mess when adding samplerate switching. Some needed API changes and to neaten up growing gap between hardware and software codecs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11452 a1c6a512-1295-4272-9138-f99709370657
2006-11-06 18:07:30 +00:00
Jonathan Gordon
f57de526b5
woops, damn vim isnt set to use space instead of tabs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11295 a1c6a512-1295-4272-9138-f99709370657
2006-10-21 13:07:10 +00:00
Jonathan Gordon
4bf9aaf751
missed a signalscreenchange()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11294 a1c6a512-1295-4272-9138-f99709370657
2006-10-21 13:05:29 +00:00
Barry Wardell
b990d4f26b
Hopefully fix the copyright notice.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11290 a1c6a512-1295-4272-9138-f99709370657
2006-10-21 10:33:53 +00:00
Jonathan Gordon
eee87c67b0
sorry Bjorn, blame kate
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11288 a1c6a512-1295-4272-9138-f99709370657
2006-10-21 10:12:21 +00:00
Jonathan Gordon
b8114738ec
add signalscreenchange() to vkeyboard
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11287 a1c6a512-1295-4272-9138-f99709370657
2006-10-21 10:00:30 +00:00
Michael Sevakis
e0710b2af1
More color adjustments. Better translation to and from native colors with even distribution of levels. Macros for extracting native depth components and packing them.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11227 a1c6a512-1295-4272-9138-f99709370657
2006-10-15 17:51:00 +00:00
Michael Sevakis
661c3406a9
Added inner fill option to normal scrollbar and foreground only option. Added a left-pointing cursor for using pointer. Updated color picker and now sliders look very good on color, grayscale and mono screens when using bar selector. Some misc. changes for appearance.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11210 a1c6a512-1295-4272-9138-f99709370657
2006-10-13 04:16:49 +00:00
Dominik Riebeling
379b91f505
Make sure to set deemphasis correctly when starting the radio.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11205 a1c6a512-1295-4272-9138-f99709370657
2006-10-12 19:27:00 +00:00
Dominik Riebeling
a22d995031
Fix tuning into weird frequencies at unpause after changing region setting
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11199 a1c6a512-1295-4272-9138-f99709370657
2006-10-12 13:59:44 +00:00
Michael Sevakis
b5404b2ca6
Left some crud in bmp.c that should've been removed before committing. Don't know what's with me today
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11196 a1c6a512-1295-4272-9138-f99709370657
2006-10-12 00:25:21 +00:00
Michael Sevakis
fa0ea19d5a
Fixed the problem with the backdrops on iPod. The same problem was in the updated color picker and that is fixed too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11195 a1c6a512-1295-4272-9138-f99709370657
2006-10-11 23:26:17 +00:00
Michael Sevakis
bed0db213d
Small bitmap dithering tweak
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11191 a1c6a512-1295-4272-9138-f99709370657
2006-10-11 18:12:36 +00:00
Michael Sevakis
756ce4abca
Fixed errors. Forgot to include system.h for swap16 in bmp.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11181 a1c6a512-1295-4272-9138-f99709370657
2006-10-11 01:43:53 +00:00
Michael Sevakis
76a6aaa278
Added dithering for 24 bit backdrops on 16 bit displays. FORMAT_DITHER should be specified to dither a bitmap when loading. Feel free to flame me if I got the RGB565SWAPPED thing wrong.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11180 a1c6a512-1295-4272-9138-f99709370657
2006-10-11 01:26:09 +00:00
Michael Sevakis
69b98bd16e
Hopefully took care of FS#6105 - unnecessary 'recording screen' option in the radio menu causes rockbox to freeze.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11169 a1c6a512-1295-4272-9138-f99709370657
2006-10-10 13:42:22 +00:00
Dominik Riebeling
e66b2ec450
Implement region setting for the fm tuner. The region setting affects deemphasis, band limits and step size. Fixes FS#5929, FS#5928.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11133 a1c6a512-1295-4272-9138-f99709370657
2006-10-05 12:40:13 +00:00
Peter D'Hoye
cb5129d074
Prevent gain increase when using AGC in Safety mode
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11101 a1c6a512-1295-4272-9138-f99709370657
2006-10-01 10:04:40 +00:00