Commit graph

32621 commits

Author SHA1 Message Date
Michael Sevakis
c1bbaf4050 Fix path_trim_whitespace() sign extension.
It should have been implemented as interpreting chars as unsigned
so that code points >= 0x80 would not get sign-extended and seen as
negative values.

Fixes FS#12995 - path_trim_whitespace() assumes unsigned char

Change-Id: I514e369681e00151588585311a0b6c66b9b5200c
2014-09-15 23:07:34 -04:00
Marcin Bukat
77bfff58ec rk27xx: Fill UDC block description in regs-rk27xx.xml
Change-Id: Ia44169bda8f1558c1cbd4c8c0d2d3aaee262c991
2014-09-15 14:10:12 +02:00
Michael Giacomelli
448a289da5 Disable periodic table plugin until all the compilation issues are sorted out.
Change-Id: Idb93aa9b5ad57ae1d5671ba5f17d0af0f2d201c7
2014-09-15 02:24:09 +02:00
Franklin Wei
3c33c6c2b6 hopefully fix the warnings
Change-Id: Id822234afc8906bb7c023810e902e604451ddfda
Reviewed-on: http://gerrit.rockbox.org/963
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2014-09-15 01:49:00 +02:00
Franklin Wei
b655912e29 ifdef out lcd_set_bg call
Change-Id: I78112f8099c09cc0993357e0f58a567c43381a50
Reviewed-on: http://gerrit.rockbox.org/962
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2014-09-15 01:07:23 +02:00
Franklin Wei
ba82784aae Fix building on clip
Change-Id: I4218cc9d45b144bfc3e58a44ef532d001d02e9ec
Reviewed-on: http://gerrit.rockbox.org/961
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2014-09-15 00:53:24 +02:00
Franklin Wei
2a35c4cad8 FS#9583 - periodic table
- original rockbox port: Yifu Huang
- original work: Jonathan Bettencourt

- modifications made:
  - PLA-fied
  - Add element 117 (ununseptium)
  - Implemented up/down
  - Fixed actinide/lanthanide navigation so that they are between scandium and titanium
  - Added manual entry
  - Fixed FG/BG colors

Change-Id: Ibabfb0d28f794689ffcd8b9c360fb969d118de08
Reviewed-on: http://gerrit.rockbox.org/950
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2014-09-15 00:47:11 +02:00
Michael Giacomelli
a7f23a5d05 Superdom: Silence warning.
Change-Id: Idec8c1a9defb19ebd753c2609b5d4207581c9248
2014-09-14 05:16:10 +02:00
Franklin Wei
1189fbe186 Superdom: rewrote help text
Change-Id: I54d5ee920b03f24faee5a6bf53ca56b27bbdc6c8
Reviewed-on: http://gerrit.rockbox.org/945
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2014-09-14 04:17:36 +02:00
Franklin Wei
a65f6ceaed Superdom: some AI improvements and other minor changes
Change-Id: Ia2756a7263ec09b78714273af0f604fc9cdb50eb
Reviewed-on: http://gerrit.rockbox.org/944
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2014-09-14 04:17:16 +02:00
Franklin Wei
333a82c8eb Superdom: added option for persistent units
Change-Id: I4c28f3c567ed435ba7aee36c8b54c76fc75e12aa
Reviewed-on: http://gerrit.rockbox.org/943
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2014-09-14 04:17:05 +02:00
Franklin Wei
ad79a90e39 [WIP] Superdom: AI can now use nukes
Change-Id: Iff5093b0edb4c065096d41c36d33bb2126063cf6
Reviewed-on: http://gerrit.rockbox.org/942
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2014-09-14 04:16:48 +02:00
Franklin Wei
bc00d38987 [WIP] Superdom: game improvements
- macro-ify board dimensions, surrender thresholds
 - make AI skill level adjustable
 - let AI buy nukes in hard mode (still can't use them yet)
 - make nukes persistent (stay after an invasion)
 - make AI treat nukes with priority

Change-Id: I1add6250766810787080624bd9e36026df449509
Reviewed-on: http://gerrit.rockbox.org/940
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2014-09-14 03:58:43 +02:00
Franklin Wei
a231754af9 Superdom: code cleanup
Change-Id: I3285238cfc098546307862f7d2e51e3b8e456a98
Reviewed-on: http://gerrit.rockbox.org/931
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2014-09-14 03:48:44 +02:00
Franklin Wei
e47ed2a534 Superdom: whitespace cleanup
Change-Id: Iab7aa68c4ed34809e1e9200cba9ee5bc0a09be8e
Reviewed-on: http://gerrit.rockbox.org/930
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2014-09-14 03:48:00 +02:00
Benjamin Brown
12f5c63474 Rockbox Manual - Gigabeat FX and Fuze+ Touchpad Config Appendix
Added to config_file_options.tex, sections for gigbeat and fuze+
sensitivity settings, also fuze+ touchpad deadzone setting.

Change-Id: I9bba52ca0ca5525e6a6fb337f6940d11571ee06a
Reviewed-on: http://gerrit.rockbox.org/954
Tested: Benjamin Brown <foolshperson@gmail.com>
Reviewed-by: Frank Gevaerts <frank@gevaerts.be>
2014-09-11 18:48:23 +02:00
Marcin Bukat
b7e3515a62 hwstub: small fixup in rk27xx usb driver
Change-Id: Ibf3b91af11041834ce650f663b213bac0113f721
2014-09-11 12:31:52 +02:00
Szymon Dziok
9a18ca486c Manual: add images for 128x96x16 resolution (YH-820).
Change-Id: If9a9c5eb733f61eddfe94a193db6d195c099d599
2014-09-09 10:08:22 +02:00
Benjamin Brown
0ff739cc6f Fix typo in fuze+ deadzone manual entry
Change-Id: I789a839941fa765e27fc91abcd5b395ab2df1316
Reviewed-on: http://gerrit.rockbox.org/952
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-09-08 22:11:18 +02:00
Szymon Dziok
f9bd72262b Manual: Delete another three duplicated and unused files. Fix one filename.
Change-Id: Ice3ecc9db6202e3eb6dca23a156b7d9344b6973d
2014-09-08 19:54:54 +02:00
Szymon Dziok
593ef7d698 Manual: delete unnecessary image.
The same file is under group of images called "ss-mandelbrot".

Change-Id: I00fd11417c64e7778a5873986c5df5e9c813bbeb
2014-09-08 16:42:43 +02:00
Szymon Dziok
4c6939fc3d Correct some file permissions.
Change-Id: I4a092a19d6a9c66dfeb2777c9655aa4b19d11e16
2014-09-08 16:04:39 +02:00
Szymon Dziok
c986655b64 Correction of the Sliding puzzle on Samsung YH-820.
Change-Id: Iceef613d8f99da75c7861e0ca472bc67e94a51f9
2014-09-08 15:23:13 +02:00
Szymon Dziok
5e0baf2922 Bubbles: make it work on Samsung YH-820 and align it on the occasion on Cowon M3.
Change-Id: I8d679ccba7f618cee78445b76452c368b00d2b60
2014-09-08 14:09:58 +02:00
Benjamin Brown
e312101181 Add touchpad deadzone entry in Rockbox manual
Change-Id: I227ba30628343db15e46e0250ba62e024d5b7ba1
Reviewed-on: http://gerrit.rockbox.org/939
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-09-08 12:54:33 +02:00
Amaury Pouly
8146b40e73 Fuze+: add a configurable deadzone area for touchpad buttons
To stop erroneous button presses, allow users to add a deadzone between
the button via the Settings > General > System menu > Touch Dead Zone.

The configuration was chosen this way: the touchpad has the same DPI
in both direction so the setting applies the same on both the X and Y
axis. The setting ranges from 0 to 100 and is internally multiplied by 2
giving a maximum deadzone of 2*100 = 200 around each button, which
account for 400 total (once around each button), effectively reducing
each virtual button from 1000x600 to 600x200 when using the maximum value.

Change-Id: I8683c63d2950200eb32d1dda0a00bbd92d83d5be
Reviewed-on: http://gerrit.rockbox.org/677
Reviewed-by: Benjamin Brown <foolshperson@gmail.com>
Tested: Benjamin Brown <foolshperson@gmail.com>
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-09-08 11:21:54 +02:00
Amaury Pouly
847106cdb2 hwstub: add support for jump/call in library
Change-Id: Ia57ca613609a5e89e41ff927d7fc137c6841046a
2014-09-08 11:12:54 +02:00
Amaury Pouly
d815c26e8f hwstub: implement jump/call in stub
Change-Id: I876fa012c5ae1509e57f5816a8ed31dc69d62ca0
2014-09-08 11:07:42 +02:00
Amaury Pouly
6cc057f180 hwstub: trivial changes
Change-Id: Iacb1721db1ae59d5f359d244fd68234915e611cf
2014-09-08 10:50:48 +02:00
Amaury Pouly
3c558127b8 sbtools: add option to ignore sha1 errors
Change-Id: I6bf9e4671e57f8ff3f436660e8ecb561027a036c
2014-09-07 17:47:00 +02:00
Amaury Pouly
6957966c86 hwstub: fix compile issue
Change-Id: I939c05d3c1319b122fe64bff0f0ea300ecbd1180
2014-09-07 17:46:53 +02:00
Amaury Pouly
ef0299c62e qeditor: add soc panel, to display soc information
Change-Id: Ie442b82d96fb150c7466f1a274240f9b111fd91e
2014-09-07 17:46:42 +02:00
Amaury Pouly
3daa6d64f6 qeditor: use hwstub library function to identify devices
The new protocol is interface based, so matching PID:VID is not sufficient

Change-Id: I27983a9c3b7db01b8e63b41e885f86d09c362f60
2014-09-07 17:46:36 +02:00
Amaury Pouly
ac5ba893d7 hwstub: library now check version on open
Change-Id: I672a882ad06780da93c1d811af2b28ff60d07469
2014-09-07 17:46:27 +02:00
Amaury Pouly
29de342134 hwstub: add string version
Change-Id: I919c27eb7ea69fdac7b3a65785a5a6eb3723a80e
2014-09-07 17:46:13 +02:00
Amaury Pouly
0c7c54e185 hwstub_shell: add support for set/clr/tog without SCT using read and write
Change-Id: Ib0a5123e5cc51ee193ef761c36af63467740c670
2014-09-07 17:45:56 +02:00
Amaury Pouly
6d13d9b718 hwstub: fix missing \n
Change-Id: I077a38d8a8905b7ad686d0d00b2a8a48bd206ade
2014-09-07 17:45:43 +02:00
Amaury Pouly
d3df564486 hwstub: fix horrible bug
Change-Id: I8042f692045a23dbb545d840e5169ce4b99fe5d2
2014-09-07 17:45:35 +02:00
Amaury Pouly
dd05dc76a4 hwstub: don't put revision in the protocol, it's specific to the implementation
Change-Id: I1311a22da41fe977f1613f1e313a864baa03027c
2014-09-07 17:45:28 +02:00
Amaury Pouly
43ca127ebf hwstub: fix library to actually work and compile, still miss some functions
Change-Id: I968dafb4dca7d674165a43e3a435762fe38ed37f
2014-09-07 17:45:21 +02:00
Amaury Pouly
12ce7fc2cc hwstub: remove protocol to make it use its own interface
This way, hwstub can be implemented along with other usb features/interfaces.

Change-Id: I7148cab845049cc0a8b8e740fa0d52d3a385eaed
2014-09-07 17:45:10 +02:00
Amaury Pouly
1dc1a9310e sbtools: use default transfer size if it cannot be probed
A older commit removed this ability but it tends to be a problem since the HID
driver can prevent probing of transfer size which then needs to be entered
by hand on the command line.

Change-Id: Ie5a556ffdcc2adec0e1c984810983e19136b6473
2014-09-07 17:44:53 +02:00
Dmitry Gamza
50778c82f1 optimize WSPLL work for iriver h100 and h300 series
For Iriver h100 & h300 series we don't need always use WSPLL,
because in most cases WSPLL clock and SYSCLK has the same value,
and we have additional WSPLL errors to the output clock. Now that is fixed.

Change-Id: I04aebee659c57c45dc8603e409b9db42bdde534a
Reviewed-on: http://gerrit.rockbox.org/434
Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
2014-09-05 09:14:53 +02:00
Szymon Dziok
489c9a6f64 Updated pictures of the YH's for the manual.
SVG changes: fixed some quirks in Samsung logo, aligned text, cleanup.

Change-Id: I29e43e68782b5d7b325d16e15e02c79a131349c6
2014-09-04 14:16:58 +02:00
Marcin Bukat
21373e9043 hwpatcher: add generic RKW file patching script
This script is handy hacking tool to patch RKW file with
arbitrary binary and put jump into implanted code.
It also shows how to use hwstub crc routine.

Change-Id: I89b5086dc1ddaca3dbc03df26a85472d8a20d51e
2014-09-02 22:35:26 +02:00
Michael Sevakis
0a66545487 Clean up a bit and get switch statement out of loop in walk_path()
It's nicer to look at and it obfuscated a bug where it should have
exited the loop instead of the case (you probably wouldn't observe
the effect very often).

Change-Id: I33f3c72c8bb7e11b9d418f66cf84efc3082a37b4
2014-09-02 15:57:18 -04:00
Michael Sevakis
802e0110db Fix a small late creep-in goof in path parsing on native targets
Anything of one dot and one character (e.g. ".a") would get treated as
"." because I left out a condition when converting to recursionless
parsing of relative components. Git 'er fixed up.

Change-Id: Id5603ce0858b419dc08b1d496b4b187a573595f9
2014-09-01 00:00:19 -04:00
Michael Sevakis
5b08f1a5b9 Remove I/O priority. It is harmful when used with the new file code.
HAVE_IO_PRIORITY was defined for native targets with dircache.

It is already effectively disabled for the most part since dircache no
longer lowers its thread's I/O priority. It existed primarily for the
aforementioned configuration.

Change-Id: Ia04935305397ba14df34647c8ea29c2acaea92aa
2014-08-30 14:01:21 -04:00
Michael Sevakis
5d31d3c3bc Fix last warning for Warble
Unused result warnings will have to be dealt with separately.

Change-Id: I00c45e28d4d43a5376745036e650ff8df576c2db
2014-08-30 01:50:22 -04:00
Michael Sevakis
da4938d6ee Get the last errors I hope!
Change-Id: Ia285b95480cc9ac6494b745d80892c4b1b912341
2014-08-30 01:29:18 -04:00