summaryrefslogtreecommitdiff
path: root/firmware/include (follow)
Commit message (Collapse)AuthorAge
* Add strlcat to core to match strlcpy (also add to plugin api). Some uses of ↵Torne Wuff2010-01-02
| | | | | | strcat could probably do with being changed to this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24141 a1c6a512-1295-4272-9138-f99709370657
* Add support for errno in plugins.Amaury Pouly2009-12-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24109 a1c6a512-1295-4272-9138-f99709370657
* Diacritic display enhancementsTomer Shalev2009-11-28
| | | | | | | | | | | | | | | - Use the fact that unicode code currently does not support chars above 0xffff (see utf8decode()), and change diacritic database's char code type to unsigned short from int. Also comment out database entries above unsupported range. - Use const when possible. - Iterate over buffer using the buffer's pointer, thus avoiding usage of some variables, and avoiding multiple access to the same array item. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23776 a1c6a512-1295-4272-9138-f99709370657
* FS#10720 - Support for displaying diacritic charactersTomer Shalev2009-11-24
| | | | | | | | | | | | | | | | | | This commit corrects the display of diacritic characters, which exist in many languages. Hopefully, it will make Rockbox much more usable for users of these languages. Diacritic information (which used to decide whether a given character is diacritic or not) is taken from the Unicode Standard, Version 5.2. This feature does not affect drawing performance much, as the diacritic database is cached (simple MRU mechanism). There may be room for further performance, footprint, and code-reuse wise improvements, that could be worked on in the future. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23742 a1c6a512-1295-4272-9138-f99709370657
* Rename vfnprintf to vuprintf (u stands for user for the user callback and ↵Thomas Martitz2009-11-03
| | | | | | data passed to it) to avoid confusion with file and buffer size related functions from the printf-family, and add a comment to its declaration. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23503 a1c6a512-1295-4272-9138-f99709370657
* Make the database tool buildable from configure.Frank Gevaerts2009-10-07
| | | | | | | Also update the checkwps makefile to make checkwps builds not break git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22998 a1c6a512-1295-4272-9138-f99709370657
* Have codepage name show in a commentTomer Shalev2009-10-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22929 a1c6a512-1295-4272-9138-f99709370657
* FS#10569 RTC driver cleanupNils Wallménius2009-09-26
| | | | | | | | Change the RTC drivers so that the rtc_(read|write)_datetime functions now deal directly with the tm struct instead of passing a string of bcd digits to/from (set|get)_time . This simplifies drivers for rtc's that do not use a bcd representation internally and cleans up some target specific code and #ifdefs in generic code. Implement simple stubs for the sim to avoid #ifdefing for that too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22839 a1c6a512-1295-4272-9138-f99709370657
* A new implementation of logf, logfdisplay and logfdump.Maurus Cuelenaere2009-08-21
| | | | | | | | Flyspray: FS#10528 Author: Amaury Pouly git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22462 a1c6a512-1295-4272-9138-f99709370657
* Move yearday_to_daymonth() to usb_storage.c. It's the only user, this ↵Frank Gevaerts2009-08-11
| | | | | | function is pretty specific, and it seems to be the cleanest way to avoid ram usage increases for unrelated targets git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22259 a1c6a512-1295-4272-9138-f99709370657
* Consolidate day of week calculationFrank Gevaerts2009-08-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22258 a1c6a512-1295-4272-9138-f99709370657
* Add support for setting the clock using a special SCSI command. This is the ↵Frank Gevaerts2009-08-11
| | | | | | | | | | | same method that itunes uses, and there are host-side tools for it (e.g. libgpod) Flyspray: FS#10514 Author: Laurent Papier and myself git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22255 a1c6a512-1295-4272-9138-f99709370657
* Remove various ABS() definitions with a single one using typeof (if using ↵Thomas Martitz2009-08-03
| | | | | | gcc) to avoid multiple evaluations of the input expressions. Speex still uses its own as I didn't want to change this imported code too much. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22129 a1c6a512-1295-4272-9138-f99709370657
* FS#10080Nils Wallménius2009-07-14
| | | | | | | | | | * Move strncpy() from core to the pluginlib * Introduce strlcpy() and use that instead in most places (use memcpy in a few) in core and some plugins * Drop strncpy() from the codec api as no codec used it * Bump codec and plugin api versions git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21863 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#9174: Lua scripting language by Dan EvertonMaurus Cuelenaere2009-05-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21020 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#8314. This adds strnat[case]cmp written by Martin Pool, which ↵Thomas Martitz2009-03-01
| | | | | | | | | | respects numbers within strings, and gives a more intuitive sorting. This also adds a setting, so that the sorting can be used in the file browser. The implementation is very generic, and can possibly be used in other places. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20155 a1c6a512-1295-4272-9138-f99709370657
* Removed the sim_ prefix from the plugin api.Björn Stenberg2009-01-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19704 a1c6a512-1295-4272-9138-f99709370657
* Moved database builder into a separate directory, and gave it its' own ↵Björn Stenberg2008-12-15
| | | | | | Makefile. Now it compiles cleanly and builds a database if ran in root of music tree. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19448 a1c6a512-1295-4272-9138-f99709370657
* Cleaned up codepage handling, by Yoshihisa Uchida. (FS#9349)Björn Stenberg2008-12-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19339 a1c6a512-1295-4272-9138-f99709370657
* Added support for configurable rockbox directory. FS#9567 by Alex Bennee.Björn Stenberg2008-11-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19208 a1c6a512-1295-4272-9138-f99709370657
* cleanup storage definesFrank Gevaerts2008-10-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18950 a1c6a512-1295-4272-9138-f99709370657
* Add wpseditor, the Google Summer of Code 2008 project of Rostislav Chekan. ↵Frank Gevaerts2008-08-29
| | | | | | Closes FS#9327 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18362 a1c6a512-1295-4272-9138-f99709370657
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | 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
* Convert the whole codebase to UTF-8, except docs/COMMITTERS and ↵Nicolas Pennequin2008-05-05
| | | | | | tools/creative.c, which need checking. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17369 a1c6a512-1295-4272-9138-f99709370657
* Moved atoi declaration to stdlib.h. Deleted atoi.hBertrik Sikken2008-04-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17280 a1c6a512-1295-4272-9138-f99709370657
* FS#7598 - Dircache support for multivolume targets (by Phil Light).Miika Pekkarinen2008-03-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16632 a1c6a512-1295-4272-9138-f99709370657
* Always check for deleted files, no matter how slow it might be when DB ↵Miika Pekkarinen2008-01-13
| | | | | | autoupdate is enabled. Also simplified code a bit. Fixed a crash when search is performaed and dircache has been vanished and DB is still exists ram. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16081 a1c6a512-1295-4272-9138-f99709370657
* Fix some plugins that use NULL instead of -1 when not using a voice id in ↵Michael Sevakis2007-10-15
| | | | | | struct opt_items. Change as many '#define NULL 0' to '#define NULL ((void*)0)' as grep would find - somewehere the former is still hiding it seems. :\ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15117 a1c6a512-1295-4272-9138-f99709370657
* Keep track of the number of opened files in the sim to enforce the same ↵Nicolas Pennequin2007-10-09
| | | | | | limit as on target. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15045 a1c6a512-1295-4272-9138-f99709370657
* Sim I/O and threading that runs more like on target. Tweakable if any ↵Michael Sevakis2007-09-08
| | | | | | genuine slowness imitation is required for any one of them. One point of concern is the sim shutdown on an OS other than Linux just because terminating threads in a manner other than having the do it themselves is kind of dirty IMHO. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14639 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#7679 - modifying files with dircahce enabled doesnt change the access ↵Jonathan Gordon2007-09-02
| | | | | | time/date in dircache git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14580 a1c6a512-1295-4272-9138-f99709370657
* OoopsKevin Ferrare2007-07-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13953 a1c6a512-1295-4272-9138-f99709370657
* This should fix dircache being disabled by my last commit.Kevin Ferrare2007-07-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13952 a1c6a512-1295-4272-9138-f99709370657
* Makes apps and plugins interract with directories using a posix-like api ↵Kevin Ferrare2007-07-20
| | | | | | instead of calling dircache / simulator functions (no additionnal layer added, only a cosmetic change) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13943 a1c6a512-1295-4272-9138-f99709370657
* FS#7353 - mktime() is only used by targets that have an RTCRobert Keevil2007-07-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13883 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#7134 - Sansa: external sd card support by Antonius Hellmann with ↵Michael Sevakis2007-06-30
| | | | | | some tweaks. All testers have given the green light. (Now for the RED ?? ;). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13741 a1c6a512-1295-4272-9138-f99709370657
* Bring back rolo for mi4-based targets (H10 and Sansa).Barry Wardell2007-06-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13550 a1c6a512-1295-4272-9138-f99709370657
* More complete sized integer definitions.Michael Sevakis2007-04-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13092 a1c6a512-1295-4272-9138-f99709370657
* Player: Reduced the selectable codepages to those which can actually work, ↵Jens Arnold2007-04-01
| | | | | | and made them work. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12990 a1c6a512-1295-4272-9138-f99709370657
* SWCODEC: Get rid of extra swap buffer and get back 512K of RAM or 100K if ↵Michael Sevakis2007-03-19
| | | | | | the players RAM is <= 1MB. Make any needed changes to things to stabilize and facilitate this including removing flattening out initialization. Comment some things heavily. Fix a few logfs I didn't want to see the compiler complaining about. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12843 a1c6a512-1295-4272-9138-f99709370657
* Let GCC check arguments of some more printf-style functions, also for ↵Jens Arnold2007-03-17
| | | | | | plugins and codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12815 a1c6a512-1295-4272-9138-f99709370657
* Fixed database export crashing with long tags. And failing without DB loaded ↵Miika Pekkarinen2007-02-25
| | | | | | to RAM due to the recently added new tags in DB, thus reaching the fd limit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12481 a1c6a512-1295-4272-9138-f99709370657
* Removed unused 'mode' parameter from mkdir() for consistency with creat().Jens Arnold2007-02-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12183 a1c6a512-1295-4272-9138-f99709370657
* Removed 'mode' parameter from creat(). It wasn't pure posix anyway, it was ↵Jens Arnold2007-02-01
| | | | | | ignored on target and mixed into 'oflags' in the simulator. * Simplified io.c a bit by defining a dummy O_BINARY for OSes which don't have that. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12179 a1c6a512-1295-4272-9138-f99709370657
* Comment out an unused function and make another one static to save a few bytesNils Wallménius2007-01-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12073 a1c6a512-1295-4272-9138-f99709370657
* Removed executable flagLinus Nielsen Feltzing2007-01-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11967 a1c6a512-1295-4272-9138-f99709370657
* Try to make sure dircache state file on flashed H1xx targets isMiika Pekkarinen2006-12-22
| | | | | | | handled correctly and no old state is never used. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11833 a1c6a512-1295-4272-9138-f99709370657
* Attempt at fixing 64-bit sim warning.Michael Sevakis2006-12-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11788 a1c6a512-1295-4272-9138-f99709370657
* Support building tagcache db natively on PC using the core of theMiika Pekkarinen2006-11-10
| | | | | | | | | Rockbox tagcache database engine. Only host endian support at the moment and no command line parameters. Mainly for developers for debugging at the moment. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11497 a1c6a512-1295-4272-9138-f99709370657
* Patch #5166 by Robert Keevil - Last.fm loggingLinus Nielsen Feltzing2006-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11269 a1c6a512-1295-4272-9138-f99709370657