summaryrefslogtreecommitdiff
path: root/apps/plugins/pdbox
AgeCommit message (Collapse)Author
2011-05-13Fix last known 'set but not used' warning by GCC 4.6.1.Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29875 a1c6a512-1295-4272-9138-f99709370657
2011-05-13Fix even more 'set but not used' warnings and a regression.Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29873 a1c6a512-1295-4272-9138-f99709370657
2011-05-13Fix further 'set but not used' warnings.Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29872 a1c6a512-1295-4272-9138-f99709370657
2011-05-13Fix several 'variable set but not used' warnings reported by GCC 6.4.1.Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29871 a1c6a512-1295-4272-9138-f99709370657
2011-01-24* Rename backlight_force_on to backlight_ignore_timeout to make it clear ↵Teruaki Kawashima
what the function does. * Add backlight_force_on() which forces to turn on backlight even when the setting is set to Off. use this in lamp. No functional change except lamp. See aslo FS#9883. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29128 a1c6a512-1295-4272-9138-f99709370657
2010-11-07set mode argument for open() where O_CREAT flag is/can be set.Teruaki Kawashima
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28527 a1c6a512-1295-4272-9138-f99709370657
2010-08-30Plugins: modify IRAM copying codeRafaël Carré
Move to plugin_crt0.c, plugins don't need PLUGIN_IRAM_* macros anymore IRAM is no longered zeroed before copying (as it is at the same address than BSS) -> Fix FS#11581 Use cpucache_invalidate() (and not cpucache_flush), needed for self-modifying code on cached IRAM git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27948 a1c6a512-1295-4272-9138-f99709370657
2010-08-24Second try: Introduce plugin_crt0.c that every plugin links.Thomas Martitz
It handles exit() properly, calling the handler also when the plugin returns normally (also make exit() more standard compliant while at it). It also holds PLUGIN_HEADER, so that it doesn't need to be in each plugin anymore. To work better together with callbacks passed to rb->default_event_handler_ex() introduce exit_on_usb() which will call the exit handler before showing the usb screen and exit() after it. In most cases rb->default_event_handler_ex() was passed a callback which was manually called at all other return points. This can now be done via atexit(). In future plugin_crt0.c could also handle clearing bss, initializing iram and more. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27873 a1c6a512-1295-4272-9138-f99709370657
2010-08-23Revert "Introduce plugin_crt0.c that every plugin links."Thomas Martitz
Too much errors and no time to fix them now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27863 a1c6a512-1295-4272-9138-f99709370657
2010-08-23Introduce plugin_crt0.c that every plugin links.Thomas Martitz
It handles exit() properly, calling the handler also when the plugin returns normally (also it makes exit() more standard compliant while at it). It also holds PLUGIN_HEADER, so that it doesn't need to be in each plugin anymore. To work better together with callbacks passed to rb->default_event_handler_ex introduce exit_on_usb() which will call the exit handler before showing the usb screen and exit() after it. In most cases it was passed a callback which was manually called at all other return points. This can now be done via atexit(). In future plugin_crt0.c could also handle clearing bss, initializing iram and more. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27862 a1c6a512-1295-4272-9138-f99709370657
2010-07-23pdbox: disable strict aliasing optimizations since pdbox breaks the strict ↵Nils Wallménius
aliasing rules which causes warnings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27530 a1c6a512-1295-4272-9138-f99709370657
2010-07-11pdbox: avoid making own DEBUG clash with rockbox defineRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27388 a1c6a512-1295-4272-9138-f99709370657
2010-07-10Rename/change SIMVER to APP_TYPE in the Makefiles.Thomas Martitz
SIMVER was really only used to detect a simulator build. With APP_TYPE you can now differentiate between simulator, application, checkwps and database builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27372 a1c6a512-1295-4272-9138-f99709370657
2010-07-10pdbox: Now backlight does not fade out -- making music requires attention.Wincent Balin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27368 a1c6a512-1295-4272-9138-f99709370657
2010-07-05pdbox: Optimizations in the audio output code.Wincent Balin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27288 a1c6a512-1295-4272-9138-f99709370657
2010-07-05pdbox: Added Sansa e200 to supported devices.Wincent Balin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27287 a1c6a512-1295-4272-9138-f99709370657
2010-07-05pdbox: Added different sampling rates based on hardware capabilities.Wincent Balin
Also a minor code cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27286 a1c6a512-1295-4272-9138-f99709370657
2010-07-03Add -lm to pdbox sim buildFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27261 a1c6a512-1295-4272-9138-f99709370657
2010-06-21Fix include fileFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27017 a1c6a512-1295-4272-9138-f99709370657
2010-06-21Remove plugin-specific defines from the pdbox makefile, and add them to ↵Frank Gevaerts
m_pd.h, which is the global pdbox header. This makes sure that the defines are set during depency generation so dependencies are correct. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27016 a1c6a512-1295-4272-9138-f99709370657
2010-06-05pdbox: Moved all global variables in pdbox.c to IRAM.Wincent Balin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26581 a1c6a512-1295-4272-9138-f99709370657
2010-06-04pdbox: Reverted premature commit of Coldfire optimization.Wincent Balin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26560 a1c6a512-1295-4272-9138-f99709370657
2010-06-04pdbox: Fixing yellows.Wincent Balin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26552 a1c6a512-1295-4272-9138-f99709370657
2010-06-04pdbox: Corrected inclusion of m_fixed.h .Wincent Balin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26551 a1c6a512-1295-4272-9138-f99709370657
2010-06-04pdbox: Added Coldfire multiplication optimization by Buschel.Wincent Balin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26550 a1c6a512-1295-4272-9138-f99709370657
2010-06-04pdbox: Reduced (visible) precision of numbers shown in the GUI.Wincent Balin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26549 a1c6a512-1295-4272-9138-f99709370657
2010-06-04pdbox: The values on of widgets are reset on start now.Wincent Balin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26548 a1c6a512-1295-4272-9138-f99709370657
2010-06-04Ensure CPU is defined.Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26546 a1c6a512-1295-4272-9138-f99709370657
2010-06-03pdbox: Applied several changes by Buschel. Reintroduced compilation for iPods.Wincent Balin
Changes by Buschel: * Reduced footprint by making cosine table of size 1^13 instead of 1^15 * Corrected interpolation in the cos~ object * Optimized multiplication on ARM platforms git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26534 a1c6a512-1295-4272-9138-f99709370657
2010-06-03pdbox: fix build on ARM with eabiRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26514 a1c6a512-1295-4272-9138-f99709370657
2010-06-03pdbox: Added keypad for iPod 1G-4G. Reordered SOURCES alphabetically.Wincent Balin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26500 a1c6a512-1295-4272-9138-f99709370657
2010-06-03pdbox: Source cleanup. Removed unneeded files.Wincent Balin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26497 a1c6a512-1295-4272-9138-f99709370657
2010-06-02pdbox: Syntax cleanup for the cosine table.Wincent Balin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26496 a1c6a512-1295-4272-9138-f99709370657
2010-06-02pdbox: add fuze keymapRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26489 a1c6a512-1295-4272-9138-f99709370657
2010-06-01Added myself and Pure Data team to credits.Wincent Balin
Updated copyright years where needed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26457 a1c6a512-1295-4272-9138-f99709370657
2010-06-01pdbox: Updated CPU boosting APIWincent Balin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26456 a1c6a512-1295-4272-9138-f99709370657
2010-06-01pdbox: Code cleanup, optimizations.Wincent Balin
* Reverted minimal working memory to 4 MB * Reverted size of a single audio buffer * Optimized sound output loop git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26454 a1c6a512-1295-4272-9138-f99709370657
2010-06-01pdbox: Removed unnecessary code from the main include file. Reduced neede ↵Wincent Balin
memory to 2 MB. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26440 a1c6a512-1295-4272-9138-f99709370657
2010-06-01pdbox: Solved issue with WAV file import on big-endian targets (signed ↵Wincent Balin
16-bit files only); small I/O-related workaround in g_array.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26439 a1c6a512-1295-4272-9138-f99709370657
2010-05-24pdbox: Code cleanupWincent Balin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26274 a1c6a512-1295-4272-9138-f99709370657
2010-05-24pdbox: Successfully resolved issue with loading of audio filesWincent Balin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26272 a1c6a512-1295-4272-9138-f99709370657
2010-05-20pdbox: Rewrote recently added bugfixesWincent Balin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26184 a1c6a512-1295-4272-9138-f99709370657
2010-05-20pdbox: Got rid of signedness-related warningsWincent Balin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26183 a1c6a512-1295-4272-9138-f99709370657
2010-05-20pdbox: Made size value signedWincent Balin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26182 a1c6a512-1295-4272-9138-f99709370657
2010-05-20pdbox: Adjusted return values for functions read() and write()Wincent Balin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26181 a1c6a512-1295-4272-9138-f99709370657
2010-05-14Fix remaining reds/yellows.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26024 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Make open() posix compliant api-wise. A few calls (those with O_CREAT) need ↵Thomas Martitz
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-02pdbox: Fixed loading of sound files, pdpod_drums.pd works now.Wincent Balin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25769 a1c6a512-1295-4272-9138-f99709370657
2010-02-25Fix pdbox makefile to actually take part in dependency generationFrank Gevaerts
Change pdbox include paths to handle this git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24916 a1c6a512-1295-4272-9138-f99709370657
2010-01-17change dependencies in make files:Teruaki Kawashima
* apps.make: depends on ctype.o instead of errno.o to depend on config-*.h so that it works for simulator. * lang.make: add dependency of lang.h to make it sure that the file is updated properly when needed. * plugins.make: object files don't depend on libpluginbitmaps.a. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24256 a1c6a512-1295-4272-9138-f99709370657