Commit graph

25350 commits

Author SHA1 Message Date
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
Michael Sevakis
602bad427a Doom plugin: Missed properly making a few 'unsigned' on my second pass.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26369 a1c6a512-1295-4272-9138-f99709370657
2010-05-29 08:28:29 +00:00
Michael Sevakis
9c6e217f29 Doom plugin: In anticipation of moving to the EABI toolchain, because of its assumptions about enums being sized as ints, convert enum typdefs to int or unsigned depending upon whether they have negative values in the enumeration. This should effectively preserve the manner in which it is compiled under the old toolchain and avoids having to closely inspect and possibly change many places in the code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26368 a1c6a512-1295-4272-9138-f99709370657
2010-05-29 08:12:39 +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
Thomas Martitz
1dcc21d846 Upgrade the ARM eabi toolchain to gcc 4.4.4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26366 a1c6a512-1295-4272-9138-f99709370657
2010-05-28 23:41:16 +00:00
Jack Halpin
8b6356d08a sd-as3525.c: Do not wait for TRAN state after transfer is over.
Waiting for TRAN state after the end of the transfer caused writing problems for some uSD cards.  Removing this wait returns write functionality to those cards.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26365 a1c6a512-1295-4272-9138-f99709370657
2010-05-28 21:47:36 +00:00
Thomas Martitz
bedeac440e Fix typo that made alarmclock exit immediately and add scrollwheel actions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26363 a1c6a512-1295-4272-9138-f99709370657
2010-05-28 21:08:52 +00:00
Bertrik Sikken
36b4b39a7e Apply FS#9194 - LCD invert for Sansa c200/c200v2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26362 a1c6a512-1295-4272-9138-f99709370657
2010-05-28 19:36:52 +00:00
Bertrik Sikken
36c6f3d13f Restore return statement in kernel-as3525.c that was accidentally removed in r26330. This fixes c200v2 black screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26361 a1c6a512-1295-4272-9138-f99709370657
2010-05-28 19:04:30 +00:00
Michael Chicoine
b242db9c32 Update Brazilian Portuguese Translation
Flyspray: FS#11316
Author: Adilson Xavier


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26359 a1c6a512-1295-4272-9138-f99709370657
2010-05-28 15:42:00 +00:00
Michael Chicoine
b5f6611402 Updated Turkish translation
Flyspray: FS#11299
Author: Altay Oz


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26357 a1c6a512-1295-4272-9138-f99709370657
2010-05-28 15:31:14 +00:00
Michael Chicoine
ec0ecd2b0d Update of Czech language
Flyspray: FS#11326
Author: Marek Salaba


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26355 a1c6a512-1295-4272-9138-f99709370657
2010-05-28 15:08:03 +00:00
Jeffrey Goode
c8944c09c2 Voice buffer can be much, much smaller. Code cleanup, logf fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26354 a1c6a512-1295-4272-9138-f99709370657
2010-05-28 13:21:24 +00:00
Michael Chicoine
0ae59df3fa Simplify lcd invert
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26353 a1c6a512-1295-4272-9138-f99709370657
2010-05-28 12:19:26 +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
Michael Chicoine
3c1dd03fb3 Simplify lcd_set_flip, lcd_window, and lcd_window_blit
Remove unneeded defines
Whitespace cleanup

Thanks to Rafaël Carré for finding the simpler register settings.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26350 a1c6a512-1295-4272-9138-f99709370657
2010-05-28 05:15:28 +00:00
Rafaël Carré
10dbaa24a7 genversion: generate version.c and version.h independantly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26349 a1c6a512-1295-4272-9138-f99709370657
2010-05-28 04:07:57 +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
Rafaël Carré
27d4d9747e Catalan language update by Adrián Cereto Massagué
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26345 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 23:32:45 +00:00
Rafaël Carré
6921a2b6b9 Merge common LCD code between fuzev1 & fuzev2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26344 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 23:32:38 +00:00
Rafaël Carré
9d583f2b0b fuzev2: lcd_enable and lcd_invert() work fine
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26343 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 23:32:33 +00:00
Rafaël Carré
9ff986cdca sd-as3525v2: Include time spent yielding when figuring timeout in sd_wait_for_tran_state()
(apply r23738 to as3525v2 code)
extend the arbitrary delay to 5 seconds, we never know

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26342 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 23:32:29 +00:00
Michael Sevakis
6b6123444e Gigabeat S PCM: Sync some comments to changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26341 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 23:22:55 +00:00
Michael Sevakis
25ebd9832d Gigabeat S PCM: There's no reason to touch any hardware registers in order to lock out PCM callbacks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26340 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 23:14:39 +00:00
Dominik Riebeling
07ba746151 Fix a warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26339 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 22:06:16 +00:00
Michael Sevakis
6ce5279ff3 Simulator: get rid of SDL_mutex* parameter to sim_do_exit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26338 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 21:36:04 +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
Michael Sevakis
deb1600bbc SDL Simulator: Get thread shutdown and properly handled and fix a minor memory leak that happens when threads exit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26336 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 18:46:09 +00:00
Dominik Riebeling
0dcf93ed18 Use build dir and respect TARGET_DIR when building mkamsboot.
libmkamsboot still did put files into its source folder when building for
Rockbox Utility out-of-tree. As with the other libraries use the specified
build folder.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26335 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 17:36:39 +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
Rafaël Carré
a71929b1a0 as3525: no need to ack TIMER interrupt multiple times
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26330 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 13:42:39 +00:00
Rafaël Carré
2f0f3490d3 Clip*: give lcd_hw_init() INIT_ATTR attribute
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26329 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 12:28:53 +00:00
Rafaël Carré
435e08eae1 mark some functions as init functions (discarded after init() has run)
tick_start, fmradio_i2c_init, pcm_init, pcm_postinit, pcm_play_dma_init

Also add some as3525 target specific functions
Make as3525v2 use this attribute

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26328 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 12:00:29 +00:00
Rafaël Carré
b36e721aa6 rockboy: rename pcm_*() functions to avoid namespace clash with rockbox
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26327 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 12:00:23 +00:00
Rafaël Carré
b0146de64c as3525: don't export empty usb_init_device(), declare it as empty inline
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26326 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 12:00:18 +00:00
Rafaël Carré
9ecb4e9384 update catalan translation
patch by Adrián Cereto Massagué

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26324 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 11:46:44 +00:00
Rafaël Carré
065ef89479 clipv2: make buttonlight functions static inline one-liners
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26323 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 11:09:12 +00:00
Yoshihisa Uchida
3cb30cb513 Polish translation updates (translated by Tomasz Kowalczyk)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26322 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 11:05:25 +00:00
Rafaël Carré
00982d6621 mkinfo.pl: Run version.sh to generate version string
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26321 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 09:58:07 +00:00
Rafaël Carré
5d236b2bfd Generate C file / header for svn version string
It's now easier to force rebuild of files depending on the svn revision

version.c/version.h are generated once with new tools/genversion.sh
Changes in the VCS are still not auto detected, so you'll have to remove
builddir/version.* if you want to change the string in your binaries

APPSVERSION is now called RBVERSION and is defined in the generated
header instead of being defined by the Makefiles
appsversion is now called rbversion (the plugin api number didn't change
since old modules are still binary compatible)

Change some bootloaders to use knwon-at-buildtime RBVERSION instead of
"%s" + rbversion

You'll need to run make clean to regenerate dependencies after the
removal of apps/version.h

To build binaries with a different version string, hand-edit
tools/version.sh or tools/genversion.sh (which calls the former)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26320 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 09:41:46 +00:00
Rafaël Carré
6ca9f232a8 as3525: fix r26308
I2SOUT peri needs to be enabled to set the loopback setting

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26319 a1c6a512-1295-4272-9138-f99709370657
2010-05-26 22:58:55 +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
Michael Sevakis
28a7c5d369 UISimulator: cleaner startup using semaphore only to tell when event_thread is done initializing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26317 a1c6a512-1295-4272-9138-f99709370657
2010-05-26 21:11:40 +00:00
Rafaël Carré
c9133db4b1 as3525: as revealed by r26311, it seems DMAC interrupt can't be masked
Even if we disable it in VIC_INT_EN_CLEAR, it still fires an interrupt
by running the default isr.
Locking requires disabling interrupts completely.
I'm not sure if DMAC is the only interrupt affected or if we can't rely
on VIC_INT_EN_CLEAR to mask interrupts.
If it's the latter, we will need to have special locking scheme for
INT_AUDIO.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26316 a1c6a512-1295-4272-9138-f99709370657
2010-05-26 17:32:50 +00:00