rockbox/firmware
Thomas Martitz 771011a6fc RaaA: Fix database duplication issue on every start
The code in tagcache.c:commit() was unable to delete
the to-be-commited database file as it read from
$(HOME)/.config/rockbox.org and tried to delete
the file later on in /.rockbox/.

As we didn't specify any flags like IS_FILE or NEED_WRITE
in _get_user_file_path() (which is called by f.e. app_remove()),
it searched for the file in two places.

In case of app_rename() IS_FILE would be wrong, so we just
add a NEED_WRITE to any write operation.

Author: Thomas Jarosch

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29148 a1c6a512-1295-4272-9138-f99709370657
2011-01-27 21:09:25 +00:00
..
common RaaA: Fix database duplication issue on every start 2011-01-27 21:09:25 +00:00
decompressor
drivers Fix r29123: the variable should be initialized every time in the loop 2011-01-23 21:57:23 +00:00
export Fuze V2: Fix hold switch behavior. Add a GPIOx_PIN_MASK macro to AS3525. 2011-01-20 14:26:58 +00:00
include Also PREFIX() other filesystem functions. I hope I got them all now... 2010-12-29 20:10:11 +00:00
libc Fix reds, inclusion of C files into plugins is tricky. 2010-12-02 21:29:05 +00:00
target as3525v2-usb: fix logf format, don't mask the interrupt using the VIC as it seems to trigger spurious irq 2011-01-27 12:15:46 +00:00
test Redo r28026 so that all .S files get the __ASSEMBLER__ define. 2010-12-27 17:27:59 +00:00
usbstack Add a higher level USB detection that prevents fraudulent bus resets from causing USB mode to be entered. Enable for SA9200 only at this time. Also, for SA9200, use the bus power GPIO rather than the 'connector inserted' GPIO to detect the cable. 2011-01-17 12:24:41 +00:00
arabjoin.c
arabjoin.h
ata_idle_notify.c
backlight-sw-fading.c
backlight.c Try to get some control over #ifdef hell in usb.c by refactoring and inline function use. SYS_USB_DISCONNECTED_ACK hasn't been doing anything useful for the USB thread; remove it. USB thread simply ignores that value. Observe only valid usb_state transitions. 2011-01-18 14:10:06 +00:00
bidi.c
buffer.c If BUFFER_ALLOC_DEBUG is defined, make buffer_alloc() not actually allocate anything if size==0, so code that uses buffer_alloc(0) to find out what address it would get keeps working 2010-09-26 12:27:38 +00:00
COPYING
debug.c Redirect (L)DEBUGFs to adb logcat in DEBUG enabled builds. 2010-09-20 17:38:47 +00:00
eeprom_settings.c
enc_base.c
events.c
firmware.make Rename/change SIMVER to APP_TYPE in the Makefiles. 2010-07-10 13:49:49 +00:00
font.c Get rid of get_user_file_path and do the path handling in wrappers for open() and friends. 2010-12-06 22:26:31 +00:00
font_cache.c
general.c Ged rid of uisimulator/common/io.c for android builds. 2010-09-01 21:29:34 +00:00
hangul.c
ifp_usb_serial.c firmware/ : use lcd_putsf() (only in debug code) 2010-08-28 23:12:11 +00:00
kernel.c Bootloader USB mode for PP502x. Enable only on GoGear SA9200 for the time being. Add HAVE_BOOTLOADER_USB_MODE to config if BOOTLOADER is defined to enable it. Clean up some kernel stuff a little to support it. Mess up a bunch of other stuff (hopefully not too badly). 2011-01-15 08:19:30 +00:00
load_code.c Get rid of get_user_file_path and do the path handling in wrappers for open() and friends. 2010-12-06 22:26:31 +00:00
logf.c Fix a logf bug which would trigger undefined behaviour(and probably crash) when both DEBUG, CONFIG_PLATFORM & PLATFORM_HOSTED are enable 2010-08-02 09:10:35 +00:00
lru.c
panic.c Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently). 2010-06-21 16:53:00 +00:00
pcm.c Allow e200 to compile without HAVE_RECORDING 2010-09-17 20:42:45 +00:00
pcm_sampr.c
powermgmt.c Remove code that was unintentionally kept in a resynchronized patch in FS#3001. This closes FS#11873. 2011-01-23 12:24:56 +00:00
profile.c
README
rolo.c
rom.lds
screendump.c Really fix yellow: Rename BMP_LINESIZE and BMP_BPP to get rid of the macro name collision 2010-10-25 12:52:02 +00:00
scroll_engine.c Introduce NORETURN_ATTR wrapper for __attribute__((noreturn)), using this and a bit further cleanup in main gets rid of a warning when compiling for android. 2010-08-12 13:38:25 +00:00
sdmmc.c Various minor cleanups 2010-08-01 10:07:05 +00:00
sound.c WM8978: sound.c weirdness strikes again. Prescaler values have to be in centibels. 2011-01-21 08:31:40 +00:00
SOURCES Bootloader USB mode for PP502x. Enable only on GoGear SA9200 for the time being. Add HAVE_BOOTLOADER_USB_MODE to config if BOOTLOADER is defined to enable it. Clean up some kernel stuff a little to support it. Mess up a bunch of other stuff (hopefully not too badly). 2011-01-15 08:19:30 +00:00
storage.c Add #include to power-ipod.c, make some variables static in storage.c 2010-07-31 10:59:22 +00:00
system.c Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently). 2010-06-21 16:53:00 +00:00
thread.c Return thread ID as a string for name when a thread isn't named or name cannot be used, as comment says, not slot pointer. 2010-12-29 20:03:47 +00:00
timer.c
tuner.c Implement tea5767 tuner detection - FS#11714 by me 2010-11-05 17:04:18 +00:00
usb.c Fix colors from r29084. Had some things in the wrong preprocessor blocks. 2011-01-18 14:35:56 +00:00

See docs/README