Commit graph

11115 commits

Author SHA1 Message Date
Nils Wallménius
aa84a99caf Const correctness
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23093 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 09:09:20 +00:00
Nils Wallménius
46943ad40c Avoid more useless string copys and make some random cleanups
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23092 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 08:45:47 +00:00
Thomas Martitz
a27f2b8683 A bit of const correctness and 80-char limit correction.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23083 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 00:05:12 +00:00
Michael Sparmann
30d664bbbc Add current measurements to the iPod Nano 2G's battery debug screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23082 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 22:02:23 +00:00
Dave Chapman
4ff7666388 Implement __dbg_ports for S5L870X targets (Nano2G and Meizus)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23069 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 13:23:07 +00:00
Dave Chapman
4fe2ee0221 Add crypt_firmware plugin for Nano2G - this uses the hardware crypto unit to encrypt (or decrypt) a firmware image for writing to a Nano 2G's firmware partition with ipodpatcher (patch for ipodpatcher is at FS#10609). Also introduce BOOTFILE_EXT2 define for an alternative firmware file extension and add .ipodx for the Nano 2G (.ipod is for unencrypted images, similar to older ipods, and .ipodx is for encrypted images and include the 2KB hash block and modelname 'nn2x').
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23068 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 11:46:23 +00:00
Nils Wallménius
46a0db45dd Slight const police and avoid copying a lang string
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23065 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 09:57:03 +00:00
Nils Wallménius
bb1549aad7 Don't cast away constness
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23064 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 09:55:28 +00:00
Nils Wallménius
3c1e2c1777 Make function arg const pointer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23063 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 08:29:13 +00:00
Nils Wallménius
15514b0dc6 Deinline fuction and some whitespace tweaks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23062 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 07:46:54 +00:00
Nils Wallménius
11f2564f73 Add second 'const' qualifyer accidentally removed in r23060
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23061 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 07:41:50 +00:00
Nils Wallménius
901acde2d5 Clean up a bogus array and avoid some copying of static strings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23060 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 07:17:27 +00:00
Thomas Martitz
8e3e5e7a59 Fix player red and remove an obsolete function call.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23056 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 19:17:22 +00:00
Peter D'Hoye
dcdc2b93ae Correct a recording screen usability issue created in r21034. Pause used to start too, then was set to only start and now only pauses. Rec used to start and split, then only split and now again starts and splits.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23055 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 19:16:32 +00:00
Thomas Martitz
80003bc4a4 Fix a few problems with RTL, statusbar and custom ui viewport.
*text in statusbar jumped around
*custom ui vp wasn't refreshed properly on language changing.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23053 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 18:39:34 +00:00
Tom Ross
f5b312e043 Fix compilation of simulators on Mac OS X 10.6. Tested on 10.5.8 and 10.6.1.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23051 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 17:55:46 +00:00
Rafaël Carré
2b2b4f5559 rockboy: remove useless assignement for fuze
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23032 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 07:34:08 +00:00
Nils Wallménius
8598b57fca Tiny simplification
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23031 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 06:52:20 +00:00
Rafaël Carré
8a4278f24b calculator: use home as clear button for sansa fuze
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23027 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 06:30:32 +00:00
Karl Kurbjun
d9c1bba0c6 Vertical Stride: Add support for yuv to native output.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23024 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 03:49:53 +00:00
Michael Chicoine
162d3c6a09 add Seth Opgenorth to docs/CREDITS
correct web link in comment


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23023 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 03:01:16 +00:00
Tomer Shalev
d7cdd08664 RTL: Add support for DB init message
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23020 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 22:40:38 +00:00
Tomer Shalev
694ea7e734 RTL: Fix context regarded as bit-field value, resulted in wrong contexts get
keys swapped

- Also RTL swap keys for CONTEXT_LIST


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23019 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 22:19:36 +00:00
Tomer Shalev
df4f9710ba Updated Hebrew language - fix parentheses not shown properly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23015 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 21:20:53 +00:00
Nils Wallménius
4f914fdd28 FS#10661 by Seth Opgenorth, adding more levels to brickmania
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23012 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 19:26:07 +00:00
Thomas Martitz
db44178a3f Fix chopper to actually remember the level. instead of overriding it on start.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23011 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 19:18:11 +00:00
Thomas Martitz
284ccb8d4e Use TIME_BEFORE() and redo a macro slightly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23010 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 19:04:53 +00:00
Karl Kurbjun
5a435e62d0 PPM viewer - initial support for vertical strides - scaler needs to be modified for full support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23006 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 04:52:44 +00:00
Karl Kurbjun
573d3f2845 LCD scrolling routines: Fix the screen scrolling boundary with Vertical Strides.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23005 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 03:56:37 +00:00
Karl Kurbjun
6317bef3ce Brickmania: Paddle selection needs to be done with the integer portion, not in fixed point.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23004 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 00:35:14 +00:00
Karl Kurbjun
f7a67625dc Brickmania: Fix the paddle drawing - The strides were wrong with paddles other than the standard one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23003 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 00:15:54 +00:00
Tomer Shalev
fa7f829665 HID: Remove mouse drag in iPod's keymap, in another attempt to resolve issue from r22991 (ipod4g got stuck in mouse mode)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23002 a1c6a512-1295-4272-9138-f99709370657
2009-10-07 20:45:31 +00:00
Nils Wallménius
d1a9e0c588 fix checkwps breakage caused by r229900
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22993 a1c6a512-1295-4272-9138-f99709370657
2009-10-06 22:02:06 +00:00
Tomer Shalev
2cf6f85201 USB HID: Fix ipod4g got stuck in mouse mode
- Now mode switch is done by Select+Right and Select+Left
- Add missing manual description on how to switch modes in ipods
- Now it is possible to have 'white screen' in presentation mode (Long Play button)
- Thanks for shai (day 1 in RB) for reporting!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22991 a1c6a512-1295-4272-9138-f99709370657
2009-10-06 21:40:46 +00:00
Tomer Shalev
191ce8ce34 RTL: No need to swap *scrollwheel* in simulator, as it is being simulated by up/down *buttons*
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22988 a1c6a512-1295-4272-9138-f99709370657
2009-10-06 18:01:05 +00:00
Tomer Shalev
71753a3290 Set time screen now supports RTL
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22987 a1c6a512-1295-4272-9138-f99709370657
2009-10-06 16:57:01 +00:00
Tomer Shalev
54f048eca5 Updated Hebrew language - fix weekday not shown properly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22985 a1c6a512-1295-4272-9138-f99709370657
2009-10-06 16:54:37 +00:00
Marcoen Hirschberg
c48af23c7e add gapless playback for Nero encoded AAC files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22984 a1c6a512-1295-4272-9138-f99709370657
2009-10-06 13:47:12 +00:00
Teruaki Kawashima
67ded6ce9d Fix position calculation of title icon.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22983 a1c6a512-1295-4272-9138-f99709370657
2009-10-06 13:32:37 +00:00
Teruaki Kawashima
145c679c7d Complete r22917. The icon still overlapped the text slightly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22982 a1c6a512-1295-4272-9138-f99709370657
2009-10-06 13:17:58 +00:00
Tomer Shalev
d996804600 Use pointer to screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22981 a1c6a512-1295-4272-9138-f99709370657
2009-10-06 08:32:37 +00:00
Tomer Shalev
fafd18c0f2 Use pointer to viewport
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22980 a1c6a512-1295-4272-9138-f99709370657
2009-10-06 08:20:12 +00:00
Tomer Shalev
a1dfe6441d Use helper function vp_puts_center() in time_menu.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22979 a1c6a512-1295-4272-9138-f99709370657
2009-10-06 08:17:36 +00:00
Tomer Shalev
a092b9ce92 Use macro to test viewport's RTL flag
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22978 a1c6a512-1295-4272-9138-f99709370657
2009-10-06 08:07:30 +00:00
Tomer Shalev
6a12b82a85 Fine tuning of gui elements positioning in RTL mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22976 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 23:41:59 +00:00
Tomer Shalev
fa69df3324 - Use const when possible
- Use pointer to avoid repeated access to array
- Move setting xpos up a bit


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22975 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 23:13:01 +00:00
Tomer Shalev
ff3e3f5974 Remove redundant code in list.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22974 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 23:08:52 +00:00
Tomer Shalev
5da75070c1 Fix red: Protect viewport RTL flag manipulation with #ifdef HAVE_LCD_BITMAP
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22973 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 21:32:29 +00:00
Tomer Shalev
45f004de25 Updated Hebrew language (fixed position of question marks)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22972 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 21:30:37 +00:00
Tomer Shalev
b0a9938321 Add rtl flagging to viewport_set_defaults(), and ensure that
viewportmanager_theme_changed() is called during font loading


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22971 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 21:13:55 +00:00