summaryrefslogtreecommitdiff
path: root/firmware/common (follow)
Commit message (Collapse)AuthorAge
* Jean-Philippe Bernardy: C versions of memset() and memcpy() for archs withDaniel Stenberg2005-01-10
| | | | | | | no asm optimized versions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5550 a1c6a512-1295-4272-9138-f99709370657
* using a pointer instead of array dereferencing saves ~250 bytesJörg Hohensohn2005-01-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5529 a1c6a512-1295-4272-9138-f99709370657
* volume names look better in sharp brackets, code slightly more compactJörg Hohensohn2005-01-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5523 a1c6a512-1295-4272-9138-f99709370657
* Shared mounting code, also more general. It will mount multiple HD ↵Jörg Hohensohn2004-12-29
| | | | | | partitions, too, once HAVE_MULTIVOLUME is enabled. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5518 a1c6a512-1295-4272-9138-f99709370657
* prepared to mount multiple partitions into one logical file system (most ↵Jörg Hohensohn2004-12-28
| | | | | | useful for Ondio, internal memory + external MMC) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5514 a1c6a512-1295-4272-9138-f99709370657
* Bug fix: Do only flush the sector buffer after writing head bytes if it ↵Jens Arnold2004-11-17
| | | | | | really needs to be. The old code did flush always, causing the huge slowdown of fprintf() and other places writing byte-wise git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5413 a1c6a512-1295-4272-9138-f99709370657
* Wrong typing caused a very skewed random number distributionLinus Nielsen Feltzing2004-11-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5385 a1c6a512-1295-4272-9138-f99709370657
* Ported to ColdfireLinus Nielsen Feltzing2004-10-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5347 a1c6a512-1295-4272-9138-f99709370657
* void* can't be offset, gcc should not allows thisJörg Hohensohn2004-10-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5147 a1c6a512-1295-4272-9138-f99709370657
* Bug fix: open() now handles O_TRUNC correctly (this was the real cause for ↵Jens Arnold2004-09-06
| | | | | | the .playlist_control corruption) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5048 a1c6a512-1295-4272-9138-f99709370657
* Bug fix: renaming a directory could cause a name clash. New feature: ↵Linus Nielsen Feltzing2004-08-22
| | | | | | rename() can now move files/directories as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5008 a1c6a512-1295-4272-9138-f99709370657
* Const policed pointer arguments to functions, part 2Jens Arnold2004-08-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4996 a1c6a512-1295-4272-9138-f99709370657
* Fixed a warning when (experimentally) compiling with -OsJens Arnold2004-07-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4966 a1c6a512-1295-4272-9138-f99709370657
* Made the char property lookup table constantJens Arnold2004-07-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4905 a1c6a512-1295-4272-9138-f99709370657
* The pathname argument for open() is declared const, so copy it has to be copiedJens Arnold2004-07-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4894 a1c6a512-1295-4272-9138-f99709370657
* infrastructure for sorting by date+time, now we "only" need to decide on the UIJörg Hohensohn2004-06-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4778 a1c6a512-1295-4272-9138-f99709370657
* valid_time() now handles tm_wday correctlyLinus Nielsen Feltzing2004-04-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4555 a1c6a512-1295-4272-9138-f99709370657
* (v)snprintf() wrote past buffer end if string length was equal to buffer sizeJens Arnold2004-04-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4549 a1c6a512-1295-4272-9138-f99709370657
* Reworked the time get/set functionsLinus Nielsen Feltzing2004-04-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4522 a1c6a512-1295-4272-9138-f99709370657
* Better POSIX compatibility for mkdir(), rmdir() and opendir()Linus Nielsen Feltzing2004-04-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4521 a1c6a512-1295-4272-9138-f99709370657
* New function: rmdir(). Also some changes in the fat code, to track the ↵Linus Nielsen Feltzing2004-04-16
| | | | | | parent directory in opendir(), to be able to delete directories git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4509 a1c6a512-1295-4272-9138-f99709370657
* No need to call fat_truncate() to delete the file, fat_remove() frees all ↵Linus Nielsen Feltzing2004-04-16
| | | | | | clusters anyway git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4508 a1c6a512-1295-4272-9138-f99709370657
* patch #917153: faster memset()/memcpy()Jörg Hohensohn2004-03-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4406 a1c6a512-1295-4272-9138-f99709370657
* You can't open() a directory as a file (at least not for writing)Linus Nielsen Feltzing2004-03-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4359 a1c6a512-1295-4272-9138-f99709370657
* Empty file/dir names are now rejected by open() and mkdir()Linus Nielsen Feltzing2004-02-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4303 a1c6a512-1295-4272-9138-f99709370657
* New feature: NOw you can store the recorded files in either /recordings (the ↵Linus Nielsen Feltzing2004-01-21
| | | | | | | | | | directory will be created automatically) or in the current directory. New feature: A "Create directory" menu option (untested in the simulator). Bug fix: The ON+Play menu could do nasty things if you pressed ON+Play in an empty dir. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4268 a1c6a512-1295-4272-9138-f99709370657
* Second bug in mkdir() :-)Linus Nielsen Feltzing2004-01-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4241 a1c6a512-1295-4272-9138-f99709370657
* First mkdir() bug killed :-)Linus Nielsen Feltzing2004-01-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4239 a1c6a512-1295-4272-9138-f99709370657
* Implemented the mkdir() function in the FAT32 driverLinus Nielsen Feltzing2004-01-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4238 a1c6a512-1295-4272-9138-f99709370657
* Moved memset() out of .iramBjörn Stenberg2003-12-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4170 a1c6a512-1295-4272-9138-f99709370657
* my take at fixing the simulator warnings by adding mode_t, size_t, ssize_tDaniel Stenberg2003-12-08
| | | | | | | and off_t git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4116 a1c6a512-1295-4272-9138-f99709370657
* Added dynamic playlists. ON+PLAY->Playlist on a track, directory, or ↵Hardeep Sidhu2003-07-01
| | | | | | playlist from file browser to see available options. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3796 a1c6a512-1295-4272-9138-f99709370657
* Renamed flush() to fsync() to be more in line with POSIX/unixBjörn Stenberg2003-06-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3766 a1c6a512-1295-4272-9138-f99709370657
* Slightly better handling of disk-full situationsLinus Nielsen Feltzing2003-06-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3756 a1c6a512-1295-4272-9138-f99709370657
* Fixed bad %x handlingLinus Nielsen Feltzing2003-05-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3695 a1c6a512-1295-4272-9138-f99709370657
* remove the ifdef for simulatorDaniel Stenberg2003-04-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3616 a1c6a512-1295-4272-9138-f99709370657
* use size_t and not int as the prototype says soDaniel Stenberg2003-04-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3614 a1c6a512-1295-4272-9138-f99709370657
* include the sprintf.h header, basicly for simulator purposesDaniel Stenberg2003-04-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3612 a1c6a512-1295-4272-9138-f99709370657
* Update fileoffset and cacheoffset on error.Björn Stenberg2003-04-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3556 a1c6a512-1295-4272-9138-f99709370657
* Added the filesize() functionLinus Nielsen Feltzing2003-03-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3473 a1c6a512-1295-4272-9138-f99709370657
* kill warningDaniel Stenberg2003-03-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3455 a1c6a512-1295-4272-9138-f99709370657
* only do the fprintf() if not doing a simulator, since this file is usedDaniel Stenberg2003-03-16
| | | | | | | | for the win32 simulator and the fprintf() of Rockbox differs slightly from how the true POSIX one is (the first argument). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3452 a1c6a512-1295-4272-9138-f99709370657
* introducing fprintf():Daniel Stenberg2003-03-16
| | | | | | | | | int fprintf(int fd, const char *fmt, ...) Returns number of bytes written to the file descriptor. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3450 a1c6a512-1295-4272-9138-f99709370657
* Previous change broke read after seek. Reverted that change and added ↵Hardeep Sidhu2003-03-15
| | | | | | temporary fix in flush_cache to make sure we are on correct sector before writing to disk. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3448 a1c6a512-1295-4272-9138-f99709370657
* Make sure we are on correct sector after lseek. This fixes the queue file ↵Hardeep Sidhu2003-03-14
| | | | | | corruption bug. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3443 a1c6a512-1295-4272-9138-f99709370657
* flush_cache() failure should still return error.Björn Stenberg2003-03-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3433 a1c6a512-1295-4272-9138-f99709370657
* Bug fix: If head bytes were read but sector read failed, return head byte ↵Björn Stenberg2003-03-12
| | | | | | count instead of error. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3432 a1c6a512-1295-4272-9138-f99709370657
* Killed compiling error on debug buildsLinus Nielsen Feltzing2003-03-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3425 a1c6a512-1295-4272-9138-f99709370657
* Killed a warningLinus Nielsen Feltzing2003-03-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3423 a1c6a512-1295-4272-9138-f99709370657
* Zagor added the flush() functionLinus Nielsen Feltzing2003-03-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3416 a1c6a512-1295-4272-9138-f99709370657