Commit graph

25644 commits

Author SHA1 Message Date
Björn Stenberg
f1a144a077 Added skin_parser library to build system. Fixed some warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26884 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 11:04:32 +00:00
Jonathan Gordon
db658d9840 woops, forgot to add these
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26882 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 08:36:28 +00:00
Jonathan Gordon
b2ea95e8d2 make the parser slightly more usable for rockbox, move the buffer allocation into the lib (maybe not the best spot?)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26880 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 07:56:51 +00:00
Robert Bieber
1dc2c5ebcb Theme Editor: Stopped combo boxes in configuration editor from scrolling on mouse-wheel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26879 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 07:34:24 +00:00
Robert Bieber
75560845aa Theme Editor: Working on renderer infrastructure
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26878 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 06:59:46 +00:00
Jonathan Gordon
36b934d241 Move the skin parser to a seperate library
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26877 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 06:52:02 +00:00
Robert Bieber
ca564287ee Theme Editor: Moved source files into subdirectories
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26876 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 05:37:01 +00:00
Rafaël Carré
ba07b2055c AMSv2 RTC: no need to write to RTC_WAKEUP register
The wakeup alarm will be disabled when powering off anyway
OF database refresh of µSD now only happens if the wakeup was
explicitely enabled
There still seems to be a freeze problem when powering off (sometimes)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26875 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 05:28:38 +00:00
Robert Bieber
604b17aa08 Theme Editor: Began working on skin preview viewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26874 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 00:40:07 +00:00
Rob Purchase
6c94ce590d Re-write the Telechips I2C delay routine in assembler to stop the compiler optimising it away. Tested with EABI and non-EABI compilers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26872 a1c6a512-1295-4272-9138-f99709370657
2010-06-16 21:03:57 +00:00
Bertrik Sikken
ff8e76e9e5 The mystery FM chip in some Sansa Clip+ players has been identified as a RDA5802, so rename files and functions. Also fix several bugs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26871 a1c6a512-1295-4272-9138-f99709370657
2010-06-16 20:29:08 +00:00
Robert Bieber
60d5f5050b Theme Editor: Items from line under cursor now selected in parse tree view
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26870 a1c6a512-1295-4272-9138-f99709370657
2010-06-16 19:24:53 +00:00
Marcin Bukat
23b9df2890 Add interpolation so output file contains lcdlinear[] matrix dump
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26869 a1c6a512-1295-4272-9138-f99709370657
2010-06-16 09:12:46 +00:00
Robert Bieber
0d48448500 Theme Editor: Replaced line edits for key names with combo boxes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26868 a1c6a512-1295-4272-9138-f99709370657
2010-06-16 07:47:03 +00:00
Bertrik Sikken
da4089d836 FM clip+ radio: enable stereo indication
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26867 a1c6a512-1295-4272-9138-f99709370657
2010-06-16 06:53:14 +00:00
Rafaël Carré
46e1231a44 FS#11402 by me : sd_enable for Sansa AMSv2
Gets a bit more battery life
Adjust current usage, it was a bit too low for Clipv2/Clip+

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26866 a1c6a512-1295-4272-9138-f99709370657
2010-06-16 06:08:04 +00:00
Dominik Riebeling
d258c58937 Remove ugly RTL writing direction hack.
Instead of hard coding the languages to be rendered as RTL make it dependent on
a translation string. Translate the string LTR to RTL to switch to RTL layout.
This is equivalent to the handling done in the i18n example for Qt Jambi and
while not the best solution at least cleaner than hardcoded languages.

Update hebrew translation for this which is currently the only RTL translation.
lupdate all other translations.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26865 a1c6a512-1295-4272-9138-f99709370657
2010-06-15 21:14:11 +00:00
Bertrik Sikken
fcea117d21 Support for mystery FM chip in some Sansa Clip+, FS #11403 by me
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26864 a1c6a512-1295-4272-9138-f99709370657
2010-06-15 20:57:48 +00:00
Robert Bieber
267a446887 Theme Editor: Implemented save/save as in the configuration file editor
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26863 a1c6a512-1295-4272-9138-f99709370657
2010-06-15 20:55:56 +00:00
Robert Bieber
0c26a790ee Theme Editor: Added copyright headers to ConfigDocument files, continued work on configuration editing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26862 a1c6a512-1295-4272-9138-f99709370657
2010-06-15 20:31:28 +00:00
Dominik Riebeling
738d83c59b Add cleaned up tests used for Utils::compareVersionStrings().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26861 a1c6a512-1295-4272-9138-f99709370657
2010-06-15 19:49:43 +00:00
Maurus Cuelenaere
a8c35f4d56 SDL target: remove mouse polling and replace it with an event-based mechanism, this makes touchscreen on the sim much smoother
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26860 a1c6a512-1295-4272-9138-f99709370657
2010-06-15 18:33:56 +00:00
Dominik Riebeling
c6cac023fd Theme Editor: add generated files and folders to svn:ignore.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26859 a1c6a512-1295-4272-9138-f99709370657
2010-06-15 17:15:21 +00:00
Nils Wallménius
da4e6b1ace Manually cleaned up version of FS#11358 by Hinrik Örn Sigurðsson
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26858 a1c6a512-1295-4272-9138-f99709370657
2010-06-15 16:33:59 +00:00
Maurus Cuelenaere
98a5780d6d Theme editor: only accept valid colors in the preference dialog
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26857 a1c6a512-1295-4272-9138-f99709370657
2010-06-15 11:06:40 +00:00
Marcin Bukat
a316ebe65b HD200 - use line transfers in lcd_grey_data. This gives ~25% speedup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26856 a1c6a512-1295-4272-9138-f99709370657
2010-06-15 10:41:43 +00:00
Rafaël Carré
518d3fcc77 test_disk: print return values in case of error
Also print the requested read/write size

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26855 a1c6a512-1295-4272-9138-f99709370657
2010-06-15 08:55:28 +00:00
Jonathan Gordon
9a7a542de2 first step of making touch regions usable in all skins, not just the WPS.. no user viewable changes just yet
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26854 a1c6a512-1295-4272-9138-f99709370657
2010-06-15 08:38:23 +00:00
Steve Bavin
dddd15746f FS#10336 - Simplify list redrawing to improve voicing when scrolling to top/bottom.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26853 a1c6a512-1295-4272-9138-f99709370657
2010-06-15 07:08:35 +00:00
Jonathan Gordon
f98ea7142e FS#11096 - fix the "last touch" tag from being true on boot
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26852 a1c6a512-1295-4272-9138-f99709370657
2010-06-15 06:55:18 +00:00
Robert Bieber
2e320f66f4 Theme Editor: Changed color to colour in preferences. Made parse tree viewer alternate line colors and auto-scroll/expand with cursor in editor window. Implemented TabContent abstract class so that more than just skin documents can be loaded in tabs. Made SkinDocument implement TabContent. Began implementing ConfigDocument for editing configuration files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26851 a1c6a512-1295-4272-9138-f99709370657
2010-06-15 06:54:58 +00:00
Amaury Pouly
1d4dc9b3b0 cowond2: make sure the i2c delay loop code is actually generated by the eabi compiler.
This fix adds one nop instruction per loop (there were 3 before) and so i2c will be slightly slower, but this hardly a problem.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26850 a1c6a512-1295-4272-9138-f99709370657
2010-06-14 23:01:30 +00:00
Alex Parker
7ee0983a87 That was supposed to be \opt{touchscreen} not \opt{cowond2}.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26849 a1c6a512-1295-4272-9138-f99709370657
2010-06-14 20:19:00 +00:00
Alex Parker
7a72a291cb Add WPS hotkey for the D2, and make the tree hotkey only valid for non-touchscreen targets. This will have to be revisited if we gain touchscreen targets with tree hotkey capabilities.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26848 a1c6a512-1295-4272-9138-f99709370657
2010-06-14 20:15:56 +00:00
Jens Arnold
cf985f0381 Build properly scrambled and named bootloader files for iAudio M3, M5 and X5. X5V still needs manual intervention but it has been like that before.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26846 a1c6a512-1295-4272-9138-f99709370657
2010-06-14 17:49:30 +00:00
Jonathan Gordon
2e75dae5d6 dont reuse vairbale names
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26845 a1c6a512-1295-4272-9138-f99709370657
2010-06-14 11:30:00 +00:00
Marcin Bukat
cd87971bad HD200 - use ide_power_enable() in bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26844 a1c6a512-1295-4272-9138-f99709370657
2010-06-14 10:42:45 +00:00
Marcin Bukat
cc6747ca5b HD200 - make USB bridge handling more correct
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26843 a1c6a512-1295-4272-9138-f99709370657
2010-06-14 10:42:41 +00:00
Jonathan Gordon
b49577b381 some tags need special handling when they are in the wrong branch of a conditional, so go ahead and make that work :p
also replace malloc with skin_alloc


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26842 a1c6a512-1295-4272-9138-f99709370657
2010-06-14 10:00:22 +00:00
Robert Bieber
d827d20416 Theme Editor: Set window title on the preferences dialog
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26841 a1c6a512-1295-4272-9138-f99709370657
2010-06-14 07:12:53 +00:00
Robert Bieber
44c122b43c Theme Editor: Made new tabs raise to forefront
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26840 a1c6a512-1295-4272-9138-f99709370657
2010-06-14 06:47:05 +00:00
Robert Bieber
046832c821 Theme Editor: Stripped out the sub-classes for ProjectModel and turned ProjectModel into a list model, also replaced the project tree view with a list view
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26839 a1c6a512-1295-4272-9138-f99709370657
2010-06-14 06:20:07 +00:00
Andree Buschmann
4b0c1cf23b Clean up libmad/mad.h to avoid double or inconsistent definitions of types, functions and structs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26838 a1c6a512-1295-4272-9138-f99709370657
2010-06-14 05:57:20 +00:00
Jonathan Gordon
3f5851f41f make the next line after a viewport (if it is on the same skin line) auto-eat the \n
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26837 a1c6a512-1295-4272-9138-f99709370657
2010-06-14 01:08:39 +00:00
Frank Gevaerts
7b59f99a72 Build D2 with the old compiler again (configure)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26836 a1c6a512-1295-4272-9138-f99709370657
2010-06-13 21:50:09 +00:00
Jonathan Gordon
dfce357474 duh, this is needed also
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26834 a1c6a512-1295-4272-9138-f99709370657
2010-06-13 14:42:47 +00:00
Jonathan Gordon
17c3484325 Start dealing with LINE elements... setup a flag which lets tags tell the renderer to not start a new line in the viewport (i.e %we/d/i %X/x/xd etc)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26833 a1c6a512-1295-4272-9138-f99709370657
2010-06-13 14:42:09 +00:00
Rafaël Carré
a8c073216d cowond2: make the code consistent with the comments and really clear the bits
Untested on target

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26832 a1c6a512-1295-4272-9138-f99709370657
2010-06-13 14:00:30 +00:00
Jonathan Gordon
21cbdac55f get the renderer working more better! "handle" sublines correctly, dont "draw" in the first viewport if we are using viewports, get rid of the idea of a linear token array (i.e we are going to use the parse tree directly)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26831 a1c6a512-1295-4272-9138-f99709370657
2010-06-13 13:54:34 +00:00
Rafaël Carré
93460f50ba build cowond2 and iaudio7 with EABI, they aren't stable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26830 a1c6a512-1295-4272-9138-f99709370657
2010-06-13 13:49:10 +00:00