Jens Arnold
c42a1a05bb
Moved unrelated stuff from i2c the driver to appropriate places. Minor optimisation in i2c driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6419 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 22:29:35 +00:00
Daniel Stenberg
f34ce792ec
fix a couple of warnings, still have numerous for signed <=> unsigned mixed
...
usage
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6418 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 22:15:59 +00:00
Daniel Stenberg
4cc0b97609
Hush up warnings by defining away functions/macros. This should be fixed if
...
actual functionality is wanted (by including the proper headers and making
sure rockbox provides these functions). pow(), floor(), log() and exp() just
feel veeeery floatish...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6417 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 22:10:35 +00:00
Daniel Stenberg
2505e7bf04
nicer look
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6416 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 22:09:19 +00:00
Daniel Stenberg
287c742cff
prevent compiler warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6415 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 21:50:55 +00:00
Jens Arnold
a552ec298e
Unused variable.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6414 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 01:58:22 +00:00
Jens Arnold
6e37dcf91b
Not-so-elegant fix for the simulator builds not defining HAVE_CHARGING.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6413 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 01:49:16 +00:00
Jens Arnold
cd0bb1cbec
Ondio: Disabled unused code for time setting and charging splash, saving almost 2 KB binary size.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6412 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 01:30:16 +00:00
Jens Arnold
b4861738c9
Bugfix: debug_fm_detection was defined twice. Removed it, since it only had a meaning for the Samsung tuner chip and is thus no longer needed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6411 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 01:09:09 +00:00
Daniel Stenberg
d8ba266f4f
set and export BUILDDIR, since several Makefiles changes OBJDIR the BUILDDIR
...
is now a better variable to use to identify the actual (root) build dir.
For autoconf.h inclusion etc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6410 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 00:04:23 +00:00
Jens Arnold
4ddb32008a
Bugfix: ata_device is a char in ata.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6409 a1c6a512-1295-4272-9138-f99709370657
2005-05-06 21:55:34 +00:00
Jens Arnold
cb28941c8c
Ondio: Better disk information (multivolume support).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6408 a1c6a512-1295-4272-9138-f99709370657
2005-05-06 18:12:16 +00:00
Jonas Häggqvist
dc405cc03f
oops
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6407 a1c6a512-1295-4272-9138-f99709370657
2005-05-06 18:11:40 +00:00
Jonas Häggqvist
2364431f82
Linus now has an H320
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6406 a1c6a512-1295-4272-9138-f99709370657
2005-05-06 01:04:47 +00:00
Jens Arnold
54d43ef0c1
Hotswap support in file browser: Don't reload the root dir if not in the root and the current path is still valid.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6405 a1c6a512-1295-4272-9138-f99709370657
2005-05-05 00:27:41 +00:00
Jens Arnold
251deaa4ca
Improved bitfield handling for settings and MMC (more straigtforward, smaller code). This switches the order for fields crossing a longword boundary, so the config block version bump is necessary. Save your settings to a file before upgrading.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6404 a1c6a512-1295-4272-9138-f99709370657
2005-05-04 22:30:36 +00:00
Jens Arnold
116e4646b0
Proper 'battery level dangerous' handling for Ondio. Moved this info into an array, and removed unused #defines.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6403 a1c6a512-1295-4272-9138-f99709370657
2005-05-04 16:18:09 +00:00
Linus Nielsen Feltzing
f64b52ae38
Oops
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6402 a1c6a512-1295-4272-9138-f99709370657
2005-05-04 05:37:12 +00:00
Tomas Salfischberger
6875417fe2
Changed Miika's open() and write() to fopen() and fwrite() the old way was causing some troubles with filepermissions. Please test on linux, and check if the file has normal permissions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6401 a1c6a512-1295-4272-9138-f99709370657
2005-05-02 23:50:43 +00:00
Tomas Salfischberger
84364bc4ff
Moved some data from stack to pluginbuffer.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6400 a1c6a512-1295-4272-9138-f99709370657
2005-05-02 23:09:21 +00:00
Jens Arnold
8485901c3f
Bugfix: Correctly compose path to _dirname.talk for dirs located in the root. Fixes non-working _dirname.talk in a secondary volume root (<MMC1>).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6399 a1c6a512-1295-4272-9138-f99709370657
2005-05-02 22:22:21 +00:00
Daniel Stenberg
f959dff4b5
Tapio Karppinen's finnish translation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6398 a1c6a512-1295-4272-9138-f99709370657
2005-05-02 21:03:03 +00:00
Tomas Salfischberger
23028f579b
Adapted Miika's tool to rockbox coding style *oops*
...
(And removed some tabs from my own last minute edits in dict.c)
Changed the place of endian conversion form the device to the convertor.
Should speed it up a little.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6397 a1c6a512-1295-4272-9138-f99709370657
2005-05-02 16:06:05 +00:00
Tomas Salfischberger
e2f5dba61c
Miika Pekkarinen wrote the dictionary conversion script/tool.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6396 a1c6a512-1295-4272-9138-f99709370657
2005-05-02 15:06:55 +00:00
Tomas Salfischberger
52abc68b11
Dictionary conversion tools.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6395 a1c6a512-1295-4272-9138-f99709370657
2005-05-02 15:05:07 +00:00
Tomas Salfischberger
a810a67db7
Dictionary plugin, first version... please bugtest.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6394 a1c6a512-1295-4272-9138-f99709370657
2005-05-02 15:03:46 +00:00
Jens Arnold
1ba26b8a60
MMC driver: More flexible background copy & bitswap concept, using global variables - slightly less read latency when both partial and full blocks are involved. Some code cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6393 a1c6a512-1295-4272-9138-f99709370657
2005-05-02 00:33:01 +00:00
Jens Arnold
4e2cee1ece
Bugfix: The recording screen must not touch the LED if the LED is only simulated to avoid confusion (Ondio FM).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6392 a1c6a512-1295-4272-9138-f99709370657
2005-05-01 20:10:39 +00:00
Jens Arnold
d6587f9b31
Bugfix: Only mangle the current playlist when the shuffle setting is changed (from menu) when the music is playing. This behaviour was already present in the recorder's F2 quickscreen, and doing otherwise isn't intuitive.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6391 a1c6a512-1295-4272-9138-f99709370657
2005-05-01 19:13:47 +00:00
Jens Arnold
484285200a
searchengine.rock didn't get cleaned.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6390 a1c6a512-1295-4272-9138-f99709370657
2005-04-30 09:40:15 +00:00
Michiel Van Der Kolk
a9e4555b6f
Better error messenging. less crashes. good.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6389 a1c6a512-1295-4272-9138-f99709370657
2005-04-29 23:57:50 +00:00
Michiel Van Der Kolk
fe708f22d5
fixes warning.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6388 a1c6a512-1295-4272-9138-f99709370657
2005-04-29 23:40:52 +00:00
Michiel Van Der Kolk
872dd87375
whoops.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6387 a1c6a512-1295-4272-9138-f99709370657
2005-04-29 23:33:55 +00:00
Michiel Van Der Kolk
f5f8c05a31
*whistles*
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6386 a1c6a512-1295-4272-9138-f99709370657
2005-04-29 23:20:41 +00:00
Michiel Van Der Kolk
6ca9500811
hopefully fixes alignment and doesn't break anything..
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6385 a1c6a512-1295-4272-9138-f99709370657
2005-04-29 23:15:07 +00:00
Michiel Van Der Kolk
3d2565343e
Alignment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6384 a1c6a512-1295-4272-9138-f99709370657
2005-04-29 22:45:50 +00:00
Michiel Van Der Kolk
ec407a86a7
Code policy...
...
Removed tokentool for now since this is not the proper place, but what is?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6383 a1c6a512-1295-4272-9138-f99709370657
2005-04-29 21:02:17 +00:00
Michiel Van Der Kolk
388d9ff6a3
This should give some optimization when and-ing things....
...
*hopes he got this right and it won't screw up the search engine*
but thats what cvs is for :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6382 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 21:28:42 +00:00
Jens Arnold
74875ef37e
Speed optimisations: (1) Read, write: Use single/multiple block commands depending on the block count. (2) Write: Combine first partial sector transfer (after caching) & main loop into one block-transfer sequence.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6381 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 20:47:55 +00:00
Michiel Van Der Kolk
238bea7370
dumb dumb dumb dumb dumb.....
...
some rearrangements of code..
bugs were in the tokentool tokenstream generator X.x..
dumb :/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6380 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 18:49:23 +00:00
Jens Arnold
6752d1310d
Make searchengine compile for all targets; correct linking for archos.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6379 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 18:01:29 +00:00
Michiel Van Der Kolk
a40a3152bc
Fixed stripping of \n..
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6378 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 17:41:39 +00:00
Michiel Van Der Kolk
d98b6aec01
scanf sucks :/
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6377 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 17:07:44 +00:00
Michiel Van Der Kolk
a43f90f563
scanf sucks >.<;
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6376 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 17:03:45 +00:00
Michiel Van Der Kolk
8c0dfb4d14
Searchengine is a viewer now, .rsp "Rockbox Smart Playlist"
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6375 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 16:41:49 +00:00
Michiel Van Der Kolk
fff0d92e76
low level search query file maker, to be built on host, not target..
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6374 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 16:41:08 +00:00
Michiel Van Der Kolk
c099300c8d
Count hits... string searches appear to be broken for now, unsure why,
...
maybe something goes wrong when allocating ram for the strings..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6373 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 16:39:41 +00:00
Michiel Van Der Kolk
29909a341a
Read searchquery from a search "file" (search tokenstream)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6372 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 14:48:12 +00:00
Michiel Van Der Kolk
9ceac0a293
Better endian functions for reading longs/shorts
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6371 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 14:20:23 +00:00
Michiel Van Der Kolk
4350eec6bb
Proper headers, simulator support should (emphasis on should) work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6370 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 14:06:20 +00:00