Robert Bieber
6d609e009f
Theme Editor: Implemented caching for rendered text, added profiling info to debug build, added a 500msec delay when rendering after code changes to prevent editor from hanging on large themes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27332 a1c6a512-1295-4272-9138-f99709370657
2010-07-07 09:33:47 +00:00
Robert Bieber
6f06793f58
Theme Editor: Fixed rendering bug that caused text in sublines not to appear, implemented a global font cache
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27331 a1c6a512-1295-4272-9138-f99709370657
2010-07-07 08:41:36 +00:00
Robert Bieber
88145656fb
Theme Editor: Delaying rendering of text lines until newline reached
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27330 a1c6a512-1295-4272-9138-f99709370657
2010-07-07 07:49:00 +00:00
Robert Bieber
e03d373957
Theme Editor: WorkingWorking on speeding up the renderer, replaced for-loops with faster method call
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27329 a1c6a512-1295-4272-9138-f99709370657
2010-07-07 07:38:38 +00:00
Robert Bieber
3214e3710a
Theme Editor: Made all lines of text render as a single graphic, viewport size limits now enforced on text width
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27327 a1c6a512-1295-4272-9138-f99709370657
2010-07-07 06:50:30 +00:00
Robert Bieber
ce5ee193d4
Theme Editor: Moved volume options in device configuration panel
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27326 a1c6a512-1295-4272-9138-f99709370657
2010-07-07 06:17:02 +00:00
Dominik Riebeling
86d8a53a2b
Add Theme Editor application icon for Windows
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27325 a1c6a512-1295-4272-9138-f99709370657
2010-07-06 22:05:03 +00:00
Dominik Riebeling
b4443ef167
Add Info.plist and application icon to Theme Editor on OS X.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27324 a1c6a512-1295-4272-9138-f99709370657
2010-07-06 21:46:53 +00:00
Dominik Riebeling
e464128c54
Rework libskin_parser Makefile for OS X support.
...
- add similar trickery that is used for the libraries used by Rockbox Utility
to allow building as universal binary.
- don't overwrite CC, we need to set this from outside for building OS X 10.4
compatible binaries.
- extend Theme Editor project file to build 10.4 compatible binaries on OS X.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27323 a1c6a512-1295-4272-9138-f99709370657
2010-07-06 21:08:16 +00:00
Robert Bieber
eccc2bd009
Theme Editor: Added font directory option in preferences dialog, renderer will now search that directory for fonts if they're not found in the project directory
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27322 a1c6a512-1295-4272-9138-f99709370657
2010-07-06 20:23:27 +00:00
Robert Bieber
120f3e1c10
Theme Editor: Default theme font is now correctly loaded
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27321 a1c6a512-1295-4272-9138-f99709370657
2010-07-06 19:32:12 +00:00
Robert Bieber
39e252019f
Theme Editor: Rockbox FNT files now supported. Theme editor will currently load fonts from the current project directory, or use the built-in font if they're not present
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27318 a1c6a512-1295-4272-9138-f99709370657
2010-07-06 19:19:11 +00:00
Robert Bieber
6a04479d63
Theme Editor: Began working on font loading. Font header info is now read and spewed out onto the debug console
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27301 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 22:15:17 +00:00
Robert Bieber
8a23b8eb1e
Theme Editor: Added the built-in font to the project resources
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27300 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 20:58:06 +00:00
Robert Bieber
27debea5a0
Theme Editor: Fixed redundant directory separator bug in addresourcedir script
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27299 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 20:42:08 +00:00
Robert Bieber
ac58d02cee
Theme Editor: Added a small PHP script to auto-generate a qrc entry for a directory with aliases for each file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27298 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 20:38:04 +00:00
Robert Bieber
68756cca43
Theme Editor: Enabled conditional display of ID3/file info with checkbox on the device panel
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27296 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 19:12:52 +00:00
Robert Bieber
71b561e3df
Theme Editor: Fixed bug that caused WPS skins without SBS parents not to render their backdrops correctly. Added support for RTL-dependant text alignment
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27295 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 19:02:40 +00:00
Jonathan Gordon
dc34785b18
s/SUBLINES/LINE_ALTERNATOR/
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27271 a1c6a512-1295-4272-9138-f99709370657
2010-07-04 02:04:14 +00:00
Robert Bieber
2a7fc15448
Theme Editor: WPS documents rendered within SBS documents can now set backdrops
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27269 a1c6a512-1295-4272-9138-f99709370657
2010-07-04 01:47:04 +00:00
Robert Bieber
32ff4e93bd
Theme Editor: Implemented a flags column in the tag table, removed the \n flag at the end of the param list and replaced it with a NOBREAK flag to prevent the renderer from inserting a line break at the end of the line. Modified the theme editor's renderer to accomodate this flag
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27268 a1c6a512-1295-4272-9138-f99709370657
2010-07-04 01:39:57 +00:00
Robert Bieber
d4e7ab7a93
Theme Editor: Switched device configuration panel to a QFormLayout
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27267 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 23:48:10 +00:00
Robert Bieber
e472c3975e
Theme Editor: Fixed cd code generation bug: Tags whose paramlists end in \n will now have a newline inserted after them
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27266 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 23:31:08 +00:00
Robert Bieber
2f68e5be59
Theme Editor: SBS will now render underneath WPS, if both are present in project
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27265 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 22:57:42 +00:00
Robert Bieber
8219cfe988
Theme Editor: Status bar no longer drawn by default
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27263 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 21:56:29 +00:00
Robert Bieber
5aa684f058
Theme Editor: Implemented replace and replace all in find/replace dialog
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27254 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 08:23:20 +00:00
Robert Bieber
a8bb62e6e2
Theme Editor: Made irrelevant menu items disabled at startup, made wrap-around search work in the find/replace dialog
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27253 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 06:53:06 +00:00
Robert Bieber
fb09d6354c
Theme Editor: Removed some old debug code in skindocument.cpp, began implementing a new find/replace dialog, due to licensing issues
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27252 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 06:08:59 +00:00
Robert Bieber
4429fb02b7
Theme Editor: Removed some old hash code that caused viewer not to update due to hash collisions. Made Vf and Vb tags attached to viewport definition eat newline at end of line'
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27238 a1c6a512-1295-4272-9138-f99709370657
2010-07-02 08:05:03 +00:00
Robert Bieber
9d6851688e
Theme Editor: Fixed random outlining in default viewport, working on getting the viewer to refresh on re-render
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27235 a1c6a512-1295-4272-9138-f99709370657
2010-07-02 05:58:06 +00:00
Robert Bieber
14caf67642
Theme Editor: Switched the last two parameters of the Vp tag back to their original orientation, made the playlist display the first half with ID3 info, the second half without, as if the list were mid-way through loading
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27234 a1c6a512-1295-4272-9138-f99709370657
2010-07-02 05:17:57 +00:00
Robert Bieber
e763eb73b8
Theme Editor: Switched the order of the last two arguments to %Vp in rendering
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27233 a1c6a512-1295-4272-9138-f99709370657
2010-07-02 04:47:32 +00:00
Robert Bieber
f58174f7cc
Theme Editor: Renderer will not insert a newline at the end of a line if it's the same line in the wps file as the viewport declaration, to avoid forcing the first line of text down past where it belongs if Vf and Vb are used. The parser should be modified to make this unnecessary, when a consensus can be reached on how to do it
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27230 a1c6a512-1295-4272-9138-f99709370657
2010-07-02 00:27:47 +00:00
Robert Bieber
9742704070
Theme Editor: Altered tag table entry for %pb to make image optional, implemented progress bar rendering in theme editor
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27229 a1c6a512-1295-4272-9138-f99709370657
2010-07-02 00:20:36 +00:00
Robert Bieber
26a2f810f1
Theme Editor: Fixed line numbering bug in parser. Implemented playlist display in renderer: playlist will use info for next track for all tracks other than the current track
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27227 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 21:49:55 +00:00
Robert Bieber
a54bfaa69e
Theme Editor: Renderer now adds a newline after EVERY logical line in the parse tree
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27222 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 20:30:19 +00:00
Robert Bieber
f09370058f
Theme Editor: Fixed album art positioning bug, removed unneeded debug code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27207 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 02:49:44 +00:00
Robert Bieber
c215d97b4d
Theme Editor: Made blank lines render newlines in the output
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27206 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 02:29:58 +00:00
Robert Bieber
8cd51a70c5
Theme Editor: Implemented negative x/y/w/h values in viewport declarations
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27205 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 02:07:41 +00:00
Robert Bieber
82618e82e6
Theme Editor: Fixed segfaulting conditional bug
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27204 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 01:45:24 +00:00
Robert Bieber
35150b6dcb
Theme Editor: Implemented status bar enable/disable
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27200 a1c6a512-1295-4272-9138-f99709370657
2010-06-30 21:28:11 +00:00
Robert Bieber
8114979e8e
Theme Editor: Added album art display
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27199 a1c6a512-1295-4272-9138-f99709370657
2010-06-30 19:35:00 +00:00
Robert Bieber
d2ed594246
Theme Editor: Implemented text alignment
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27191 a1c6a512-1295-4272-9138-f99709370657
2010-06-30 07:00:05 +00:00
Robert Bieber
1fbea62797
Theme Editor: Fixed conditional viewport display
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27185 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 21:09:29 +00:00
Robert Bieber
9d6b5d6317
Theme Editor: Stopped conditionals and sublines from triggering newlines and made combo boxes in config panel return text if not used in a conditional
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27184 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 20:39:45 +00:00
Bertrik Sikken
5565a28c7d
Remove some redundant #include's
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27183 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 20:13:22 +00:00
Robert Bieber
3ecef7d801
Theme Editor: Implemented subline rendering, including conditional subline times
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27182 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 19:59:33 +00:00
Robert Bieber
3313ab8bb1
Theme Editor: Implemented conditional rendering, most conditionals should work correctly now
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27169 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 07:15:41 +00:00
Robert Bieber
449a895372
Theme Editor: Beginning to work on conditional rendering, just made fix to line following code to speed up horizontal scrolling
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27168 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 06:14:36 +00:00
Robert Bieber
aa13a5377c
Theme Editor: Rearranged and separated tag execution and rendering code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27167 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 05:23:22 +00:00
Robert Bieber
be70fd89be
Theme Editor: Added an edit menu with a find/replace function (copied from an LGPL library)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27137 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 07:59:23 +00:00
Robert Bieber
5300c7014d
Theme Editor: Added Show Viewports option to device configuration panel, implemented simple rendering of info tags from device configuration
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27136 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 05:51:07 +00:00
Robert Bieber
c32728c91c
Theme Editor: Began integrating device configuration panel with renderer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27135 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 05:18:21 +00:00
Robert Bieber
33595878aa
Theme Editor: Added a reset zoom button, made icons for all the zoom buttons
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27129 a1c6a512-1295-4272-9138-f99709370657
2010-06-25 06:56:15 +00:00
Robert Bieber
0db8bc4664
Theme Editor: Made the device configuration menu dockable
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27128 a1c6a512-1295-4272-9138-f99709370657
2010-06-25 05:49:16 +00:00
Robert Bieber
273b9d6050
Theme Editor: Fixed some compiler warnings and a segfault. Got some basic text rendering working (only with plaintext elements, no font support yet) as well as Viewport background color support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27126 a1c6a512-1295-4272-9138-f99709370657
2010-06-25 05:14:13 +00:00
Robert Bieber
8f8ac0e38c
Theme Editor: Added (I think) all of the tags to the device configuration window
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27121 a1c6a512-1295-4272-9138-f99709370657
2010-06-24 21:03:01 +00:00
Robert Bieber
966052b328
Theme Editor: Removed dependency on lingering file from devicestate.cpp, fixed formatting in device state panel, working on tag list for device panel
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27116 a1c6a512-1295-4272-9138-f99709370657
2010-06-24 19:16:48 +00:00
Robert Bieber
481bcf2632
Theme Editor: Renderer now allows multiple viewports to share an identifier
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27112 a1c6a512-1295-4272-9138-f99709370657
2010-06-24 18:55:04 +00:00
Robert Bieber
9079cddd83
Theme Editor: Added settingsChanged() signal to DeviceState class
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27110 a1c6a512-1295-4272-9138-f99709370657
2010-06-24 18:43:06 +00:00
Robert Bieber
1ae6ee263b
Theme Editor: Fixed some resource alias issues, implemented device configuration panel that loads options from a text file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27102 a1c6a512-1295-4272-9138-f99709370657
2010-06-24 07:59:41 +00:00
Robert Bieber
58ad1e7c4b
Theme Editor: Began working on device status dialog
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27097 a1c6a512-1295-4272-9138-f99709370657
2010-06-23 20:46:43 +00:00
Robert Bieber
6d6156603c
Theme Editor: Added dummy font class and implemented font load tag
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27096 a1c6a512-1295-4272-9138-f99709370657
2010-06-23 20:18:31 +00:00
Robert Bieber
deab1bb2f5
Theme Editor: Added rendering support for some more tags
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27094 a1c6a512-1295-4272-9138-f99709370657
2010-06-23 19:41:30 +00:00
Robert Bieber
7edf65d2d2
Theme Editor: Removed some lingering debug code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27086 a1c6a512-1295-4272-9138-f99709370657
2010-06-23 07:52:00 +00:00
Robert Bieber
66a13be787
Theme Editor: Implemented %xd tag with subimages
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27085 a1c6a512-1295-4272-9138-f99709370657
2010-06-23 07:37:48 +00:00
Robert Bieber
f4fd16cd64
Theme Editor: Fixed image display relative to viewport
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27084 a1c6a512-1295-4272-9138-f99709370657
2010-06-23 07:23:47 +00:00
Robert Bieber
d3027053f9
Theme Editor: Working on image rendering
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27083 a1c6a512-1295-4272-9138-f99709370657
2010-06-23 07:18:22 +00:00
Robert Bieber
ac9287bdb5
Theme Editor: Began in implementing tag rendering, %X tag now recognized
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27043 a1c6a512-1295-4272-9138-f99709370657
2010-06-22 07:55:50 +00:00
Robert Bieber
e1d8a3dc63
Theme Editor: Reworked information passing among render functions, now loads all viewports and shows Custom UI viewport in blue
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27026 a1c6a512-1295-4272-9138-f99709370657
2010-06-21 20:11:58 +00:00
Robert Bieber
d18aa51ded
Theme Editor: Fixed some compiler warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27023 a1c6a512-1295-4272-9138-f99709370657
2010-06-21 18:24:30 +00:00
Dominik Riebeling
9d242ab167
Add error messages to a few more failure cases to beastpatcher.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26978 a1c6a512-1295-4272-9138-f99709370657
2010-06-19 21:27:43 +00:00
Robert Bieber
4f93abaccd
Theme Editor: Fixed typo that broke compile
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26960 a1c6a512-1295-4272-9138-f99709370657
2010-06-19 14:11:07 +00:00
Robert Bieber
d8827b5ff1
Theme Editor: Working on rendering viewports, display will now show %V(...) viewports as red rectangles over backdrop or background color
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26940 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 21:10:01 +00:00
Robert Bieber
02c377469a
Theme Editor: Continuing work on rendering, skin preview will now show backdrop or background color depending on config file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26900 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 20:44:11 +00:00
Robert Bieber
a9b30ee002
Theme Editor: Made allll destructors virtual
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26895 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 18:47:03 +00:00
Rafaël Carré
c0bd4173aa
Make sure files which aren't windows-specific use \n line endings only
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26893 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 16:59: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
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
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
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
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
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
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
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
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
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
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
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
Jonathan Gordon
35b09cb615
initialise the element->type value so TAG types dont accidently get VIEWPORT if it element->type == 0 at alloc time
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26825 a1c6a512-1295-4272-9138-f99709370657
2010-06-13 03:13:01 +00:00
Jonathan Gordon
3f06273e7c
count line numbers correctly, handle the VIEWPORT change so it only ever has one child
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26824 a1c6a512-1295-4272-9138-f99709370657
2010-06-13 02:27:13 +00:00
Robert Bieber
ce0d21437e
Theme Editor: Made errors display in status bar when cursor is on error'd line
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26801 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 21:24:38 +00:00
Robert Bieber
fa08c83e29
Theme Editor: Fixed status bar update bug
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26798 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 20:51:49 +00:00
Robert Bieber
2aecee81cb
Theme Editor: Made editor highlight all errors in a document, not just the first one
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26795 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 20:11:45 +00:00
Robert Bieber
3c95dbb208
Theme Editor: Fixed bug in parser handling empty lines and made ParseTreeModel handle the new VIEWPORT element properly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26792 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 19:51:34 +00:00
Robert Bieber
0c38353869
Theme Editor: Switched error highlighting to the line numbers
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26785 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 19:03:49 +00:00
Robert Bieber
1b613f583d
Theme Editor: Modified parser to integrate the %V tag into the VIEWPORT element, in the same style as CONDITIONAL
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26762 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 08:03:32 +00:00
Jonathan Gordon
b4a9564790
Add my new parser playground to svn.
...
Currently it can load a skin, and walk the parse tree and output the tags as required. It always chooses the first value for a conditional and subline, but a good working start
there seems to be a error in the new parser if ROCKBOX is defined... need to fix that
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26757 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 04:47:46 +00:00
Robert Bieber
66d9ab289f
Theme Editor: Fixed code generation with new CONDITIONAL elements
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26753 a1c6a512-1295-4272-9138-f99709370657
2010-06-10 21:52:53 +00:00
Robert Bieber
4b77e82d67
Theme Editor: Fixed issue with parsing conditionals in sublines
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26752 a1c6a512-1295-4272-9138-f99709370657
2010-06-10 21:22:16 +00:00
Robert Bieber
64321adf43
Theme Editor: Applied FS#11389, switched conditional elements to use tag fields along with children, instead of holding the tag as the first child
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26751 a1c6a512-1295-4272-9138-f99709370657
2010-06-10 21:02:44 +00:00
Jonathan Gordon
466a69814e
Fix the bar type param to use nullable ints
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26741 a1c6a512-1295-4272-9138-f99709370657
2010-06-10 14:50:11 +00:00
Robert Bieber
c3a698e46a
Theme Editor: Added project settings to the project panel view
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26737 a1c6a512-1295-4272-9138-f99709370657
2010-06-10 07:51:21 +00:00
Robert Bieber
cb26aecf92
Theme Editor: Opening an already opened document no longer spawns a new tab
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26736 a1c6a512-1295-4272-9138-f99709370657
2010-06-10 07:06:38 +00:00
Robert Bieber
fc94a92ad1
Theme Editor: Enabled loading project files from the project panel
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26732 a1c6a512-1295-4272-9138-f99709370657
2010-06-09 21:37:15 +00:00
Robert Bieber
1cc95c541b
Theme Editor: Got project viewer displaying WPS files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26731 a1c6a512-1295-4272-9138-f99709370657
2010-06-09 20:28:51 +00:00
Jonathan Gordon
9ac4b44610
SKIN BREAK: %pb, %bl and %pv (bar types) changed so the image is the last param instead of the first. skin updater, skins and manual all updated.
...
NEW PARSER: add an 'N' param type which will accept any number of strings, will cause very big problems if this isnt the last param for a tag.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26727 a1c6a512-1295-4272-9138-f99709370657
2010-06-09 16:15:01 +00:00
Jonathan Gordon
20b9020adc
fix %C, and the viewport colour tags so they parse
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26726 a1c6a512-1295-4272-9138-f99709370657
2010-06-09 14:51:52 +00:00
Jonathan Gordon
45ed0b86eb
fix %Vp updating...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26722 a1c6a512-1295-4272-9138-f99709370657
2010-06-09 13:30:10 +00:00
Robert Bieber
ceddd2f1e8
Theme Editor: Working on the project viewer infrastructure
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26714 a1c6a512-1295-4272-9138-f99709370657
2010-06-09 07:51:22 +00:00
Rafaël Carré
811c35957d
meizu_dfu: supports a single argument to run some code from RAM
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26708 a1c6a512-1295-4272-9138-f99709370657
2010-06-08 23:04:17 +00:00
Robert Bieber
61b5f0c973
Theme Editor: Began implementing classes to display project files and settings in the project panel
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26706 a1c6a512-1295-4272-9138-f99709370657
2010-06-08 21:30:28 +00:00
Robert Bieber
6c9b0358b0
Theme Editor: Made parser recover memory on error
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26703 a1c6a512-1295-4272-9138-f99709370657
2010-06-08 19:34:27 +00:00
Jonathan Gordon
50356d8387
The real reason to change the %C was to remove a very nasty hack!
...
%CL - load the AA
%C - check if AA is avilable
%Cd - display the AA
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26696 a1c6a512-1295-4272-9138-f99709370657
2010-06-08 15:09:32 +00:00
Jonathan Gordon
360ed994a3
fix %Vi again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26695 a1c6a512-1295-4272-9138-f99709370657
2010-06-08 14:55:37 +00:00
Jonathan Gordon
2309d6d1e1
change to %Cd to display albumart (instead of %C to make it more consistant with %Vd/%Vl and %xd/%xl)
...
Also assume ; in skins are for sublines.. this means if you want ; in text you need to manually escape it (%;) far less false positives then
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26693 a1c6a512-1295-4272-9138-f99709370657
2010-06-08 14:52:03 +00:00
Jonathan Gordon
c4fbb07a76
FS#11383 - fix the touchregion param string
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26692 a1c6a512-1295-4272-9138-f99709370657
2010-06-08 14:45:28 +00:00
Jonathan Gordon
b71dc1f952
fix FS#11384, skinupdater barfed on %Xd and %Vi
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26691 a1c6a512-1295-4272-9138-f99709370657
2010-06-08 14:43:30 +00:00
Robert Bieber
0cc507214a
Theme Editor: Added line numbering in the text editor, thanks to some code from Nokia. Also made newly opened documents scroll to the top of the document after loading
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26683 a1c6a512-1295-4272-9138-f99709370657
2010-06-08 07:57:43 +00:00
Robert Bieber
88f4a24c3a
Theme Editor: Updated the README file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26680 a1c6a512-1295-4272-9138-f99709370657
2010-06-08 00:01:36 +00:00
Robert Bieber
06ea93da82
Theme Editor: Factored out code to skip over enum/arg lists while scanning for children counts, and fixed all of the parsing bugs caused by innacurate children counts
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26679 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 23:49:06 +00:00
Robert Bieber
24647bace9
Theme Editor: Changed default font to monospaced, changed organization for the application to rockbox.org, moved tab bar in preferences dialog to the top of the window
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26677 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 22:35:32 +00:00
Robert Bieber
42b065f04a
Theme Editor: Made status label a permanent widget and made editor highlight line that causes parse error
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26676 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 21:59:16 +00:00
Robert Bieber
594d734143
Theme Editor: Added a clear erros function to the parser
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26673 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 21:09:13 +00:00
Robert Bieber
0e44ce9bed
Theme Editor: Changed anged error reporting method in parser, added error messages to status bar in editor
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26672 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 20:29:46 +00:00
Jonathan Gordon
9f2bd9893b
add the Vf and Vb colour tags to the theme editor
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26652 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 10:45:15 +00:00
Robert Bieber
40e73255a9
Theme Editor: Made text editor scroll horizontally
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26651 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 08:05:52 +00:00
Robert Bieber
ffc1afc30d
Theme Editor: Added font selection
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26650 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 07:57:56 +00:00
Jonathan Gordon
9df2868a37
temporariliy use S for the timeout param because the parser doesnt handle decimals yet
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26647 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 06:52:53 +00:00
Robert Bieber
53b619c6e8
Theme Editor: Added a preferences dialog and allowed modification of the syntax highlighting and editor colors
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26640 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 03:25:40 +00:00
Robert Bieber
fbfdaf5c79
Theme Editor: Implemented document load functionality
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26639 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 01:08:25 +00:00
Robert Bieber
b807cb0808
Theme Editor: Fixed another conditional child-counting bug
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26610 a1c6a512-1295-4272-9138-f99709370657
2010-06-06 03:45:18 +00:00
Robert Bieber
f3491e97d0
Theme Editor: Began working on open document functionality (still incomplete), fixed a nested conditional parsing bug in the parser, and fixed segfault-on-codegen-from-empty-tree bug
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26609 a1c6a512-1295-4272-9138-f99709370657
2010-06-06 03:35:40 +00:00
Robert Bieber
5619b4f6cf
Theme Editor: Added code generation with tabs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26608 a1c6a512-1295-4272-9138-f99709370657
2010-06-06 02:11:04 +00:00
Robert Bieber
bc9b353c3e
Theme Editor: Altered the SkinDocument class' handling of tab titles and added a title to the confirm close dialog box, changed tab order in the EditorWindow class
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26607 a1c6a512-1295-4272-9138-f99709370657
2010-06-06 01:51:23 +00:00
Robert Bieber
47181b8b9b
Theme Editor: Got save/save-as functionality working and added Tango icons to the toolbar
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26593 a1c6a512-1295-4272-9138-f99709370657
2010-06-05 19:47:49 +00:00
Robert Bieber
219f5db1dc
Theme Editor: Basic save-as functionality working, but only invoked when a tab is closed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26568 a1c6a512-1295-4272-9138-f99709370657
2010-06-05 08:40:27 +00:00
Robert Bieber
4051b34039
Theme Editor: Got document title change signal working, beginning work on save function
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26567 a1c6a512-1295-4272-9138-f99709370657
2010-06-05 08:22:30 +00:00
Robert Bieber
d41a681053
Theme Editor: Enabled tag closing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26566 a1c6a512-1295-4272-9138-f99709370657
2010-06-05 07:38:29 +00:00
Robert Bieber
0af8860775
Theme Editor: Enabled persistent window and panel locations
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26565 a1c6a512-1295-4272-9138-f99709370657
2010-06-05 07:14:03 +00:00
Robert Bieber
e174a8ad8d
Theme Editor: Began implementing tabbing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26541 a1c6a512-1295-4272-9138-f99709370657
2010-06-04 07:57:19 +00:00
Robert Bieber
9616389377
Theme Editor: Fixed bugs with menu signals, rearranged UI some more
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26540 a1c6a512-1295-4272-9138-f99709370657
2010-06-04 06:59:25 +00:00
Robert Bieber
af07a53c98
Theme Editor: Added missing copyright headers
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26526 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 20:53:42 +00:00
Robert Bieber
084ff072dc
Theme Editor: Added a window icon and made menus alt-navigable
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26525 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 20:51:17 +00:00
Robert Bieber
69dce7cc2d
Theme Editor: Mocked up most of the UI, added View menu items for all dockable widgets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26520 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 20:05:55 +00:00
Robert Bieber
88160b6e27
Theme Editor: Refactored main window init code, moved parse tree into dock widget
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26519 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 18:42:36 +00:00
Robert Bieber
6feac4a315
Theme Editor: Added syntax highlighting
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26506 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 07:38:59 +00:00
Robert Bieber
e5a3ec2baf
Changed build subdirectory
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26492 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 20:36:30 +00:00
Jonathan Gordon
e8a662432a
clip int scanning to 15 digits to remove an unecessary malloc().
...
fix %xl tag
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26477 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 10:35:19 +00:00
Jonathan Gordon
57ad6f9b03
change the %Cl tag to be cleaner. it it now %Cl(x, y, width, height [, xalign][, yalign])
...
d,i,s modifiers are no longer supported (were there for origional compatability) and +,- modifiers are not supported anymore either.
Legal values for xalign are: l,c,r (left, center, right)
Legal values for xalign are: t,c,b (top, center, bottom)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26475 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 09:51:03 +00:00
Jonathan Gordon
bbe6c5a5e2
we need to escape more chars now, so fix that. test skins with this update parse correctly with the themeditor :)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26468 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 08:18:47 +00:00
Robert Bieber
496bcf39c7
Theme Editor: Fixed parsing and code generation for nested conditionals
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26467 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 07:48:48 +00:00
Robert Bieber
7f10b0336e
Theme Editor: Fixed some more code generation bugs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26466 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 07:04:33 +00:00
Robert Bieber
ea864be708
Fixed another code generation bug with viewports and enabled negative numbers in tag parameters
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26465 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 06:52:17 +00:00
Robert Bieber
e25c903bfe
Theme Editor: Fixed bugs in code generation and viewport parsing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26464 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 06:41:41 +00:00
Robert Bieber
4003f35dc7
Theme Editor: Removed the NEWLINE parse tree element
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26463 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 06:12:18 +00:00
Robert Bieber
f16adb045a
Theme Editor: Fixed code generation with escaped characters
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26462 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 05:55:41 +00:00
Robert Bieber
999990c234
Theme Editor: Fixed a small bug with asterisk handling in tag parameter argument codes and fixed bugs with handling escaped characters
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26460 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 05:45:34 +00:00
Robert Bieber
f02a2446d3
Theme Editor: Altered the way the parser handles asterisks in the tag argument specifiers
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26459 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 05:27:37 +00:00
Robert Bieber
a9848ce3fe
Theme Editor: Put together a simple GUI to test going back and forth between a tree view and a text edit box
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26455 a1c6a512-1295-4272-9138-f99709370657
2010-06-01 21:25:02 +00:00
Robert Bieber
279969618d
Theme Editor: Made text and comments editable from a treeview
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26453 a1c6a512-1295-4272-9138-f99709370657
2010-06-01 20:19:51 +00:00
Robert Bieber
5943f4c5e2
Theme Editor: Enabled editing tag parameters from a treeview
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26452 a1c6a512-1295-4272-9138-f99709370657
2010-06-01 19:55:20 +00:00
Robert Bieber
47cd8786ba
Theme Editor: Made the viewport tag a top-level child under VIEWPORT elements in the parse tree
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26450 a1c6a512-1295-4272-9138-f99709370657
2010-06-01 18:31:58 +00:00
Robert Bieber
0a054b288b
Committing FS#11345 by JdGordon. Theme editor parser now includes full tag information in the skin_element struct
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26448 a1c6a512-1295-4272-9138-f99709370657
2010-06-01 16:44:52 +00:00
Robert Bieber
d1659d69df
Theme Editor: Made Viewport the top level parse tree element, along with a bugfix to the tag parsing function
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26442 a1c6a512-1295-4272-9138-f99709370657
2010-06-01 07:11:23 +00:00
Robert Bieber
c5e14b5835
Theme Editor: Added extern C declarations to header files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26433 a1c6a512-1295-4272-9138-f99709370657
2010-05-31 17:39:58 +00:00
Rafaël Carré
5b4a9b5e35
Add a tool to compare the binsizes of plugins and codecs of 2 build dirs
...
Doesn't handle IRAM (yet)
Synopsys: ./cmp-plugins-size build1 build2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26428 a1c6a512-1295-4272-9138-f99709370657
2010-05-31 00:46:04 +00:00
Jonathan Gordon
68f4d91825
add support for the possible viewport colour tags (%Vf and %Vb). use -c to disable them
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26408 a1c6a512-1295-4272-9138-f99709370657
2010-05-30 11:54:52 +00:00
Robert Bieber
48198822a7
Applied JdGordon's patch to add tokens to the Theme Editor tag table
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26405 a1c6a512-1295-4272-9138-f99709370657
2010-05-30 05:51:50 +00:00
Jonathan Gordon
8e078532c7
and woops
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26404 a1c6a512-1295-4272-9138-f99709370657
2010-05-30 02:32:44 +00:00
Jonathan Gordon
d24cc39c75
zip up the output after doing all the skins
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26403 a1c6a512-1295-4272-9138-f99709370657
2010-05-30 02:32:24 +00:00
Robert Bieber
f9f6f904a8
Theme Editor: Fixed parsing bug that allowed comments to form a new logical line in a skin document
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26402 a1c6a512-1295-4272-9138-f99709370657
2010-05-30 01:56:50 +00:00
Robert Bieber
9f2e1b1e1a
Theme Editor: Got a barely functional treeview in place
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26401 a1c6a512-1295-4272-9138-f99709370657
2010-05-30 01:47:35 +00:00
Robert Bieber
9843626b69
Themeditor: Got the ParseTreeNode class in good shape, preparing to start on ParseTreeModel
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26400 a1c6a512-1295-4272-9138-f99709370657
2010-05-30 01:20:05 +00:00
Jonathan Gordon
e8ec20476f
make the script zip the output
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26373 a1c6a512-1295-4272-9138-f99709370657
2010-05-29 14:00:55 +00:00
Jonathan Gordon
04130c2c7e
be smarter about %xd so it only eats 2 letters if that image has subimages
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26371 a1c6a512-1295-4272-9138-f99709370657
2010-05-29 09:35:05 +00:00
Jonathan Gordon
8cd3f8452c
fix error when a comment is on the last line of the file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26370 a1c6a512-1295-4272-9138-f99709370657
2010-05-29 09:09:45 +00:00
Robert Bieber
6980c1e998
Theme Editor: Got code generation tentatively working along with a solid C++ tree structure for WPS parse trees
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26367 a1c6a512-1295-4272-9138-f99709370657
2010-05-29 00:04:04 +00:00
Jonathan Gordon
bdb6bf5535
Add the beggingings of a perl script to run the update over a whole theme zip file... someoene who knows perl please finish this :D
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26351 a1c6a512-1295-4272-9138-f99709370657
2010-05-28 05:25:48 +00:00
Jonathan Gordon
71cec646e6
dead simple Makefile
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26348 a1c6a512-1295-4272-9138-f99709370657
2010-05-28 03:26:58 +00:00
Jonathan Gordon
9262a83e4f
fix %Xl tag... this shuold be useable now
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26347 a1c6a512-1295-4272-9138-f99709370657
2010-05-28 03:06:51 +00:00
Jonathan Gordon
20dcf0b523
%aX should have been %ax..
...
setup the skinupdater to allow options (currently only -m to set mono display because the viewport definition is different on mono).
still not completly working
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26346 a1c6a512-1295-4272-9138-f99709370657
2010-05-28 02:30:27 +00:00
Robert Bieber
8ea056db4b
Theme Editor: Fixed a bug in the subline parser, added a LINE element to contain logical lines, working on data model
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26337 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 19:57:15 +00:00
Jonathan Gordon
fc3335584b
handle # comments and fix some printfs which should be fprintf
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26334 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 15:55:39 +00:00
Jonathan Gordon
4e0f7f6517
make it slightyl more useful.. read in a up to 10Kb file, dump to stdout or outfile
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26333 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 15:47:32 +00:00
Jonathan Gordon
e7ef935448
first go at a general skin updater program. not very useful yet
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26332 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 15:35:22 +00:00
Jonathan Gordon
7b197352a2
fix rtc tag mistake
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26331 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 14:43:57 +00:00
Robert Bieber
565cd00963
Trying to implement QAbstractItemModel for parse trees, haven't got it working yet (current state will spawn an empty treeview window)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26318 a1c6a512-1295-4272-9138-f99709370657
2010-05-26 21:13:14 +00:00
Jonathan Gordon
eeef8f6c39
add all the known tags to the table. Nothing is done about target specific tags yet
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26297 a1c6a512-1295-4272-9138-f99709370657
2010-05-26 03:53:06 +00:00
Robert Bieber
a089fcc545
Added a README and a missing copyright header to the theme editor files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26293 a1c6a512-1295-4272-9138-f99709370657
2010-05-25 22:39:07 +00:00
Robert Bieber
0769fc5182
Fixed some memory leaks in the theme editor
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26292 a1c6a512-1295-4272-9138-f99709370657
2010-05-25 22:24:08 +00:00
Robert Bieber
1937b1b1ae
Fixed some bugs in the theme editor, added the tags with parameters to the tag table
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26288 a1c6a512-1295-4272-9138-f99709370657
2010-05-25 17:22:39 +00:00
Robert Bieber
d5b24ddcc5
Adding the new WPS parser, code works but need to build the tag table
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26281 a1c6a512-1295-4272-9138-f99709370657
2010-05-25 15:19:52 +00:00
Rafaël Carré
ff6b0425e4
mkamsboot/rbutil/amsinfo : do not try to detect the model of a given Sansa AMS OF
...
The field we thought was representative of the model is not, it has
changed in the past for fuzev1 and fuzev2.
For example the value 0x23 is found in 2 old fuzev1 OF versions, and in
the c200v2 OF
The only reliable way to detect the model of a given OF is by using the
built-in list of md5sums.
Modify mkamsboot and rbutilqt to load the rockbox bootloader first, and
then check if the model in the bootloader corresponds to the model of
the known md5sum of the given OF.
That way we can continue to present the user with a list of known OF
versions in case the OF is unknown to mkamsboot
Also explicit the dependency of main.c on mkamsboot.h in case the
prototypes change
Correct the header's description not updated in r21648
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26248 a1c6a512-1295-4272-9138-f99709370657
2010-05-24 10:06:52 +00:00
Dave Chapman
9de9b9dfbe
Take version number from SVN, or via VERSION variable in Makefile - i.e. use "make VERSION=v1.0" to build with that version number.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25774 a1c6a512-1295-4272-9138-f99709370657
2010-05-02 09:54:14 +00:00
Dave Chapman
cdcca8775f
Add support for the Cowon S9, based on the information from http://iaudiophile.net/forums/showthread.php?t=36073
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25773 a1c6a512-1295-4272-9138-f99709370657
2010-05-02 09:42:51 +00:00
Bertrik Sikken
64349865cb
Wrong file name in time-sync utility makefile
...
Flyspray: FS #11212
Author: Rosso Maltese
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25691 a1c6a512-1295-4272-9138-f99709370657
2010-04-20 16:39:45 +00:00
Maurus Cuelenaere
371c330196
Add simple bootchart -> gnuplot shell script
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25493 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 19:58:51 +00:00
Rafaël Carré
e32f28b740
amsinfo: do not assume library blocks always have the same size
...
otg_functio is now correctly extracted of Clip+ firmware
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25188 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 23:35:01 +00:00
Teruaki Kawashima
f50885534e
Pass width instead of x+width to ab_draw_markers()/cue_draw_markers() and don't recalculate the width in these functions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25053 a1c6a512-1295-4272-9138-f99709370657
2010-03-07 12:51:23 +00:00
Tomer Shalev
a37e43cfba
Move sample.emacs to utils/editors
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24762 a1c6a512-1295-4272-9138-f99709370657
2010-02-18 23:32:08 +00:00
Tomer Shalev
74c5033699
wps.vim : Syntax for Rockbox WPS
...
Author: Kevin Schoedel
Including wps.vim from http://www.vim.org/scripts/script.php?script_id=2550
(which now becomes obsolete), following the following e-mail from the author:
Hi,
Yes, please do -- I am not doing anything with WPS now and might never again.
Take it as GPL or whatever else is convenient. I'll put a note on the vim.org
page that the version there is obsolete.
Regards,
Kevin Schoedel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24761 a1c6a512-1295-4272-9138-f99709370657
2010-02-18 23:31:37 +00:00
Tomer Shalev
9af97e74b9
Have /utils/editors to contain syntax files for WPS and possibly others Rockbox
...
specific file types
Currently it contains only Emacs style for WPS, but a request was sent to the
author of the Vim's WPS style file at
http://www.vim.org/scripts/script.php?script_id=2550
Developers, please add your own files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24760 a1c6a512-1295-4272-9138-f99709370657
2010-02-18 22:42:11 +00:00
Maurus Cuelenaere
3e89296d6a
Import ipod-time-sync from libgpod
...
This copies ipod-time-sync from libgpod and strips it of
unneccesary code + Makefile and README are added.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24306 a1c6a512-1295-4272-9138-f99709370657
2010-01-21 11:57:01 +00:00
Rafaël Carré
c2dae8742c
amsinfo: support clip+ firmware format
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24218 a1c6a512-1295-4272-9138-f99709370657
2010-01-13 02:25:58 +00:00
Robert Menes
9096114bd3
Revert an accidental commit that I didn't want to go in.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23839 a1c6a512-1295-4272-9138-f99709370657
2009-12-04 02:54:27 +00:00
Robert Menes
29d20d8068
Another round of plugin keymaps for the Philips GoGear SA9200.
...
Just a few more to go...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23838 a1c6a512-1295-4272-9138-f99709370657
2009-12-03 23:13:45 +00:00
Dominik Riebeling
46da0818af
Adjust mknkboot sources path to recently changed location.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23458 a1c6a512-1295-4272-9138-f99709370657
2009-11-01 10:47:58 +00:00
Dave Chapman
a9f3dde79c
Correct the bootloader download path.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23431 a1c6a512-1295-4272-9138-f99709370657
2009-10-31 00:25:29 +00:00
Barry Wardell
9a765817d7
Add support for building OSX disk image of beastpatcher.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23424 a1c6a512-1295-4272-9138-f99709370657
2009-10-30 21:07:06 +00:00
Barry Wardell
304fcbe633
Get beastpatcher working on OSX.
...
I don't know why we need to split the compiling and linking steps on OSX, but this was the only way
I could get static linking against libusb and libmtp to work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23418 a1c6a512-1295-4272-9138-f99709370657
2009-10-30 13:31:04 +00:00
Dominik Riebeling
1992c389ae
Update bootloader download location and add a note about building with VS2005.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23381 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 20:51:41 +00:00
Dominik Riebeling
b82963bd9d
Move mknkboot.[ch] to beastpatcher folder.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23372 a1c6a512-1295-4272-9138-f99709370657
2009-10-27 21:15:21 +00:00
Rafaël Carré
03f88d53ee
Replace amsinfo by another version which:
...
- supports Clipv2/Fuzev2 firmwares
- dumps firmware and library blocks in current directory
- adds assertions and boundaries checks about the firmware format
- has nice colors !
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23366 a1c6a512-1295-4272-9138-f99709370657
2009-10-27 11:19:49 +00:00
Dominik Riebeling
55cd14f875
Make beastpatcher build with VS2005 again.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22821 a1c6a512-1295-4272-9138-f99709370657
2009-09-24 20:46:19 +00:00
Dominik Riebeling
0cab10e2f5
Add non-interactive mode to beastpatcher.
...
- Extend beastpatcher() to optionally work non-interactively.
- Don't ask for confirmation if beastpatcher was started with command line arguments.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22820 a1c6a512-1295-4272-9138-f99709370657
2009-09-24 17:07:08 +00:00
Dominik Riebeling
6d1d9bed3e
Integrate mknkboot into beastpatcher.
...
Add a new option to beastpatcher to patch and upload an original firmware file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22745 a1c6a512-1295-4272-9138-f99709370657
2009-09-20 08:28:18 +00:00
Dominik Riebeling
1b1bd7ef46
Fix signedness mismatch.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22733 a1c6a512-1295-4272-9138-f99709370657
2009-09-18 21:36:33 +00:00
Dominik Riebeling
d6b219387c
Extend beastpatcher command line.
...
- prepare for building without included bootloader binary
- allow specifying a bootloader.bin file on the command line
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22479 a1c6a512-1295-4272-9138-f99709370657
2009-08-23 20:06:46 +00:00
Maurus Cuelenaere
e251df9089
Utils/Analysis/Find_Addr.pl: fix wrongly recognizing addresses as being in codec or plugin space when their addresses were invalid
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22379 a1c6a512-1295-4272-9138-f99709370657
2009-08-17 13:42:52 +00:00
Jonathan Gordon
c6b1961d9d
hopefully fix the wpseditor... I cant get it to compile on a pre r22062 tree so dunno if this is enough to get it going again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22063 a1c6a512-1295-4272-9138-f99709370657
2009-07-27 07:34:50 +00:00
Dave Chapman
f8ec7e4ad4
Add some notes describing how the bin2note exploit works
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21904 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 17:40:55 +00:00
Dave Chapman
b3f3300291
Add some Makefile rules to demonstrate assembling, linking, converting to binary file and finally converting to a notes .htm file.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21845 a1c6a512-1295-4272-9138-f99709370657
2009-07-13 19:17:41 +00:00
Dave Chapman
e8c588903c
Add flashsplit utility, previously hosted on the wiki at http://www.rockbox.org/wiki/IpodFlash
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21844 a1c6a512-1295-4272-9138-f99709370657
2009-07-13 18:39:11 +00:00
Dave Chapman
af624e03c0
First commit of "bin2note" utility for exploiting the Notes buffer overflow on the 2nd generation Nano.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21842 a1c6a512-1295-4272-9138-f99709370657
2009-07-13 18:31:42 +00:00
Maurus Cuelenaere
0a59e04b30
utils/analysis/find_addr.pl: fix detection of codec start address
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21726 a1c6a512-1295-4272-9138-f99709370657
2009-07-08 19:38:46 +00:00
Maurus Cuelenaere
1176553a07
utils/analysis/find_addr.pl: also add support for plugins & codecs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21590 a1c6a512-1295-4272-9138-f99709370657
2009-07-01 12:25:24 +00:00
Maurus Cuelenaere
a85f3695ef
Add (better IMO) alternative for utils/analyis/objdiff.py (taken from Linux kernel, scripts/bloat-o-meter.py)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21588 a1c6a512-1295-4272-9138-f99709370657
2009-07-01 10:41:34 +00:00
Maurus Cuelenaere
e8f75ede18
Add an utility to easily find the assembled instructions at a specific memory location in a Rockbox binary
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21548 a1c6a512-1295-4272-9138-f99709370657
2009-06-28 18:51:38 +00:00
Bertrik Sikken
79642ea634
meizu_dfu:
...
1) add check on existance of file to be flashed
2) enable compiler warnings in Makefile
3) fix compiler warning about htonl (etc.)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21538 a1c6a512-1295-4272-9138-f99709370657
2009-06-28 09:52:24 +00:00
Rafaël Carré
638df10119
jz4740_tools : bin2c.c location has changed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21356 a1c6a512-1295-4272-9138-f99709370657
2009-06-19 23:00:07 +00:00
Dominik Riebeling
73f9bde908
Make bin2c compile with VS2005 and move it to a separate folder as its getting used by different tools now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21272 a1c6a512-1295-4272-9138-f99709370657
2009-06-13 14:15:50 +00:00
Dominik Riebeling
1c83e6ab90
Refactor sendfirm functionality in beastpatcher and do some code police.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21271 a1c6a512-1295-4272-9138-f99709370657
2009-06-13 14:03:31 +00:00
Dominik Riebeling
ef4e8b2d81
Build beastpatcher by incorporating the MTP_DLL code instead of linking the DLL.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21270 a1c6a512-1295-4272-9138-f99709370657
2009-06-13 08:58:48 +00:00
Dominik Riebeling
bc18818547
Some more MTP_DLL cleanup.
...
- don't use precompiled headers.
- prepare for direct incorporation of the library.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21269 a1c6a512-1295-4272-9138-f99709370657
2009-06-13 08:12:41 +00:00
Dominik Riebeling
94823c65ac
Fix beastpatcher on linux and code police.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21263 a1c6a512-1295-4272-9138-f99709370657
2009-06-12 17:12:41 +00:00
Dominik Riebeling
11fa12c366
Implement sendfirm functionality in beastpatcher. Set svn:eol-style properties.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21260 a1c6a512-1295-4272-9138-f99709370657
2009-06-12 16:35:34 +00:00
Dominik Riebeling
864a4787b0
Allow building beastpatcher with libmtp 0.2.[0-5].
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21249 a1c6a512-1295-4272-9138-f99709370657
2009-06-11 19:55:28 +00:00
Maurus Cuelenaere
6c74a7db80
Fix ZenUtils compilation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21242 a1c6a512-1295-4272-9138-f99709370657
2009-06-10 15:14:32 +00:00
Dominik Riebeling
20a78a36f3
Remove never used code -- libmtp is not used on Windows.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21227 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 22:33:36 +00:00
Dominik Riebeling
eebde2a367
Major W32 beastpatcher rework (FS#10220).
...
Update beastpatcher to scan for the device separately, rework MTP_DLL and modify to allow building with VS2005.
- include pstdint.h when building with VS2005 as VS doesn't have inttypes.h
- don't use bool in the DLL as VS doesn't support type bool in C.
- rearrange DLL files to avoid filename ambiguities with sendfirm.
- include MTP_DLL.h instead of duplicating prototypes. Adjust header for easy inclusion.
- make MTP_DLL project file also copy the resulting dll to MTP folder for convenience.
- extend MTP_DLL API for separate device scanning. Note that this (intentionally) breaks compatibility of the dll.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21221 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 18:04:10 +00:00
Rafaël Carré
96165abec2
FS#10253 : mkamsboot v1.0
...
- Bump version to 1.0
- Add Clipv2 target
- Make mkamsboot work as a library (work by domonoky : FS#10185, with a few modifications by me)
. Use a macro with variadic arguments for error cases in functions which might error.
. Add detailed descriptions to functions exported by the library (in the header file)
- modify bin2c.c to produce only one pair of .c/.h files with several files embedded in it
- move files needing to be built by an ARM cross compiler into dualboot/
- commit produced .c/.h files (containing nrv2e_d8.S and dualboot.S built for Clip, Fuze, e200v2, c200v2, m200v4, Clipv2)
- Write a real README file
- cosmetics: indent dualboot.S properly, remove trailing spaces, limit lines to 80 characters
- comments: add/correct comments in dualboot.S and mkamsboot.c
- move back extract_fw.c to utils/AMS/hacking
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21118 a1c6a512-1295-4272-9138-f99709370657
2009-05-28 18:27:08 +00:00