Thomas Martitz
0a1d7c28b7
Make open() posix compliant api-wise. A few calls (those with O_CREAT) need the additional optional mode parameter so add it. Impact for the core is almost zero, as open() is a wrapper macro for the real open function which doesn't take the variable parameter.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25844 a1c6a512-1295-4272-9138-f99709370657
2010-05-06 17:35:13 +00:00
Andrew Mahone
23d9812273
loader-initialized global plugin API:
...
struct plugin_api *rb is declared in PLUGIN_HEADER, and pointed to by
__header.api
the loader uses this pointer to initialize rb before calling entry_point
entry_point is no longer passed a pointer to the plugin API
all plugins, and pluginlib functions, are modified to refer to the
global rb
pluginlib functions which only served to copy the API pointer are
removed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19776 a1c6a512-1295-4272-9138-f99709370657
2009-01-16 10:34:40 +00:00
Björn Stenberg
c6b3d38a15
New makefile solution: A single invocation of 'make' to build the entire tree. Fully controlled dependencies give faster and more correct recompiles.
...
Many #include lines adjusted to conform to the new standards.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19146 a1c6a512-1295-4272-9138-f99709370657
2008-11-20 11:27:31 +00:00
Daniel Stenberg
2acc0ac542
Updated our source code header to explicitly mention that we are GPL v2 or
...
later. We still need to hunt down snippets used that are not. 1324 modified
files...
http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-06-28 18:10:04 +00:00
Steve Bavin
6526577818
Plugin parameters should be const.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657
2008-05-13 09:57:56 +00:00
Jens Arnold
d3586837fa
Stop wasting binary size + ram for several plugins. Plugins are supposed to be linked with --gc-sections, in case they use plugin library elements.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15997 a1c6a512-1295-4272-9138-f99709370657
2008-01-04 21:07:05 +00:00
Michael Sevakis
26d242ae65
General housekeeping: Make plugin buffer functions take size_t * instead of int * to match the parameter type of the buffer functions called in the core. Get rid of unsafe int * <==> size_t * casting. Use ssize_t where int was used and size_t where unsigned int was used in the buffer calls to not alter signedness in the plugins. No API version change since it should only be an issue for 64-bit sim builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13233 a1c6a512-1295-4272-9138-f99709370657
2007-04-21 18:38:25 +00:00
Jens Arnold
f9b90e9103
Now charcell displays require lcd_update() for updating the main lcd content like bitmap displays.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13050 a1c6a512-1295-4272-9138-f99709370657
2007-04-06 22:55:00 +00:00
Jens Arnold
4d6374c923
Get rid of the 'center' parameter for splashes. There were only 2 of almost 500 splashes which were not centered.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 21:56:08 +00:00
Jens Arnold
e393b8e359
Replaced some explicit options for target linking with to be consistent with the sims.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12318 a1c6a512-1295-4272-9138-f99709370657
2007-02-15 20:28:08 +00:00
Jens Arnold
a796260a6b
Next step of Makefile tuning: * Use 'make' internal commands for printing messages. Saves build time especially on cygwin. * SILENT variable used in more places. * Bitmap build system uses one Makefille less.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11369 a1c6a512-1295-4272-9138-f99709370657
2006-10-27 21:48:06 +00:00
Jens Arnold
d1ce4e779e
Consistent style of 'make' messages. Always use ranlib after ar.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11322 a1c6a512-1295-4272-9138-f99709370657
2006-10-23 22:33:39 +00:00
Jens Arnold
0cc8b7113c
Speed up build process in general by using internal functions of make instead of spawning sub-shells where possible.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11307 a1c6a512-1295-4272-9138-f99709370657
2006-10-22 00:21:57 +00:00
Barry Wardell
ce74dc0743
Cleaner implementation of the recent OSX simulator build fix. No need to define SHARED_FLAG in each Makefile. Just have configure create it in the root Makefile instead.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11095 a1c6a512-1295-4272-9138-f99709370657
2006-09-29 20:04:36 +00:00
Barry Wardell
64f949f295
Allow UI simulator to be build on OS (Slightly updated version of FS5767)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11094 a1c6a512-1295-4272-9138-f99709370657
2006-09-29 16:15:11 +00:00
Linus Nielsen Feltzing
c849219370
Moved the X5 button driver to the target tree
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10339 a1c6a512-1295-4272-9138-f99709370657
2006-07-27 13:27:31 +00:00
Jens Arnold
b621de368b
Fixed more pointer size vs. int size problems (64 bit sims)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8882 a1c6a512-1295-4272-9138-f99709370657
2006-03-02 01:37:54 +00:00
Marcoen Hirschberg
f16c1f341a
prevent rockbox from using the wrong includes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8827 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 13:48:52 +00:00
Hristo Kovachev
cc6f37b8d8
"Next/Previous jpeg from within the JPEG viewer" addition by Alexander Spyridakis, modified a bit by me
...
Also tries to use the plugin buffer instead of the audio buffer on the platforms with more than 130kb plugin buffer size (thus not stopping the music playback). If the free buffer from the plugin buffer is not enough, asks for stopping playback. Needs a little more work, but seems stable as it is.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8728 a1c6a512-1295-4272-9138-f99709370657
2006-02-18 20:51:34 +00:00
Jens Arnold
a36b1d4083
New plugin loader. Solves the crashes introduced with the .bss changes while keeping the small binary size. The model & api version check is now part of the plugin loader. Codecs are not yet adapted, but the old method still works for them. Simulator plugins are not (yet) version-checked. API version numbering restarted, as this is an all-new system. Uses the target ID from configure, so don't change that too often.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8349 a1c6a512-1295-4272-9138-f99709370657
2006-01-15 18:20:18 +00:00
Daniel Stenberg
0e419987e4
SDL simulator brought by Nathan Hand and Nick Lanham. This is added as a third
...
simulator with the hope that once it works fine, we can remove the other two
and only have one unified simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8312 a1c6a512-1295-4272-9138-f99709370657
2006-01-09 11:22:36 +00:00
Linus Nielsen Feltzing
dc9e201671
Support for a colon-separated path in APPEXTRA
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7663 a1c6a512-1295-4272-9138-f99709370657
2005-10-27 14:39:00 +00:00
Jonas Häggqvist
68de2581ba
Fake an USB connections to force reload of the file-tree after running these viewers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7434 a1c6a512-1295-4272-9138-f99709370657
2005-08-31 00:30:46 +00:00
Daniel Stenberg
11d7cb9126
entry *entryarray is static in the C source so it can't be extern here
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7050 a1c6a512-1295-4272-9138-f99709370657
2005-07-07 08:07:05 +00:00
Michiel Van Der Kolk
c735ed7914
First runtime database support, self repairing, only playcount works for now,
...
which is still rather crude; playcount gets increased even if the song started playback but was skipped... track rating should be trivial to add, autorating also works since its based on playcount.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6969 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 17:29:44 +00:00
Michiel Van Der Kolk
261bb920c2
New search capabilities; autorating, bitrate, track number, playtime, samplerate
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6588 a1c6a512-1295-4272-9138-f99709370657
2005-06-06 19:34:35 +00:00
Michiel Van Der Kolk
b1e1e44041
Database v3 support.. works with the new format, new fields aren't getting used yet.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6573 a1c6a512-1295-4272-9138-f99709370657
2005-06-05 23:00:42 +00:00
Michiel Van Der Kolk
f34e4ff6a4
Autorating should work now. at least. it would. but there is no runtime data to work with (yet)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6455 a1c6a512-1295-4272-9138-f99709370657
2005-05-11 00:12:33 +00:00
Michiel Van Der Kolk
f5eae08361
Starts with and ends with support (for strings), as requested.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6454 a1c6a512-1295-4272-9138-f99709370657
2005-05-10 23:44:22 +00:00
Jens Arnold
d8237fd65f
Same 'DLL' messages as the new plugin Makefile.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6425 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 23:40:45 +00:00
Daniel Stenberg
b8a23f9e49
Fixed makefiles for autoconf.g include.
...
Fixed build output look in several Makefiles
Fixed code to include autoconf.h
Fixed code to use ROCKBOX_*_ENDIAN instead of previous attempts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6421 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 22:41:17 +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
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
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
Michiel Van Der Kolk
c013936d18
No unneeded delays...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6368 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 12:40:41 +00:00