summaryrefslogtreecommitdiff
path: root/apps/plugins/pdbox (follow)
Commit message (Collapse)AuthorAge
* set mode argument for open() where O_CREAT flag is/can be set.Teruaki Kawashima2010-11-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28527 a1c6a512-1295-4272-9138-f99709370657
* Plugins: modify IRAM copying codeRafaël Carré2010-08-30
| | | | | | | | | 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
* Second try: Introduce plugin_crt0.c that every plugin links.Thomas Martitz2010-08-24
| | | | | | | | | | | | | 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
* Revert "Introduce plugin_crt0.c that every plugin links."Thomas Martitz2010-08-23
| | | | | | 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
* Introduce plugin_crt0.c that every plugin links.Thomas Martitz2010-08-23
| | | | | | | | | | | | | 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
* pdbox: disable strict aliasing optimizations since pdbox breaks the strict ↵Nils Wallménius2010-07-23
| | | | | | aliasing rules which causes warnings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27530 a1c6a512-1295-4272-9138-f99709370657
* pdbox: avoid making own DEBUG clash with rockbox defineRafaël Carré2010-07-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27388 a1c6a512-1295-4272-9138-f99709370657
* Rename/change SIMVER to APP_TYPE in the Makefiles.Thomas Martitz2010-07-10
| | | | | | | 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
* pdbox: Now backlight does not fade out -- making music requires attention.Wincent Balin2010-07-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27368 a1c6a512-1295-4272-9138-f99709370657
* pdbox: Optimizations in the audio output code.Wincent Balin2010-07-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27288 a1c6a512-1295-4272-9138-f99709370657
* pdbox: Added Sansa e200 to supported devices.Wincent Balin2010-07-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27287 a1c6a512-1295-4272-9138-f99709370657
* pdbox: Added different sampling rates based on hardware capabilities.Wincent Balin2010-07-05
| | | | | | | Also a minor code cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27286 a1c6a512-1295-4272-9138-f99709370657
* Add -lm to pdbox sim buildFrank Gevaerts2010-07-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27261 a1c6a512-1295-4272-9138-f99709370657
* Fix include fileFrank Gevaerts2010-06-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27017 a1c6a512-1295-4272-9138-f99709370657
* Remove plugin-specific defines from the pdbox makefile, and add them to ↵Frank Gevaerts2010-06-21
| | | | | | 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
* pdbox: Moved all global variables in pdbox.c to IRAM.Wincent Balin2010-06-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26581 a1c6a512-1295-4272-9138-f99709370657
* pdbox: Reverted premature commit of Coldfire optimization.Wincent Balin2010-06-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26560 a1c6a512-1295-4272-9138-f99709370657
* pdbox: Fixing yellows.Wincent Balin2010-06-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26552 a1c6a512-1295-4272-9138-f99709370657
* pdbox: Corrected inclusion of m_fixed.h .Wincent Balin2010-06-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26551 a1c6a512-1295-4272-9138-f99709370657
* pdbox: Added Coldfire multiplication optimization by Buschel.Wincent Balin2010-06-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26550 a1c6a512-1295-4272-9138-f99709370657
* pdbox: Reduced (visible) precision of numbers shown in the GUI.Wincent Balin2010-06-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26549 a1c6a512-1295-4272-9138-f99709370657
* pdbox: The values on of widgets are reset on start now.Wincent Balin2010-06-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26548 a1c6a512-1295-4272-9138-f99709370657
* Ensure CPU is defined.Andree Buschmann2010-06-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26546 a1c6a512-1295-4272-9138-f99709370657
* pdbox: Applied several changes by Buschel. Reintroduced compilation for iPods.Wincent Balin2010-06-03
| | | | | | | | | | | | 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
* pdbox: fix build on ARM with eabiRafaël Carré2010-06-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26514 a1c6a512-1295-4272-9138-f99709370657
* pdbox: Added keypad for iPod 1G-4G. Reordered SOURCES alphabetically.Wincent Balin2010-06-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26500 a1c6a512-1295-4272-9138-f99709370657
* pdbox: Source cleanup. Removed unneeded files.Wincent Balin2010-06-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26497 a1c6a512-1295-4272-9138-f99709370657
* pdbox: Syntax cleanup for the cosine table.Wincent Balin2010-06-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26496 a1c6a512-1295-4272-9138-f99709370657
* pdbox: add fuze keymapRafaël Carré2010-06-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26489 a1c6a512-1295-4272-9138-f99709370657
* Added myself and Pure Data team to credits.Wincent Balin2010-06-01
| | | | | | | Updated copyright years where needed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26457 a1c6a512-1295-4272-9138-f99709370657
* pdbox: Updated CPU boosting APIWincent Balin2010-06-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26456 a1c6a512-1295-4272-9138-f99709370657
* pdbox: Code cleanup, optimizations.Wincent Balin2010-06-01
| | | | | | | | | * 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
* pdbox: Removed unnecessary code from the main include file. Reduced neede ↵Wincent Balin2010-06-01
| | | | | | memory to 2 MB. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26440 a1c6a512-1295-4272-9138-f99709370657
* pdbox: Solved issue with WAV file import on big-endian targets (signed ↵Wincent Balin2010-06-01
| | | | | | 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
* pdbox: Code cleanupWincent Balin2010-05-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26274 a1c6a512-1295-4272-9138-f99709370657
* pdbox: Successfully resolved issue with loading of audio filesWincent Balin2010-05-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26272 a1c6a512-1295-4272-9138-f99709370657
* pdbox: Rewrote recently added bugfixesWincent Balin2010-05-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26184 a1c6a512-1295-4272-9138-f99709370657
* pdbox: Got rid of signedness-related warningsWincent Balin2010-05-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26183 a1c6a512-1295-4272-9138-f99709370657
* pdbox: Made size value signedWincent Balin2010-05-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26182 a1c6a512-1295-4272-9138-f99709370657
* pdbox: Adjusted return values for functions read() and write()Wincent Balin2010-05-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26181 a1c6a512-1295-4272-9138-f99709370657
* Fix remaining reds/yellows.Thomas Martitz2010-05-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26024 a1c6a512-1295-4272-9138-f99709370657
* Make open() posix compliant api-wise. A few calls (those with O_CREAT) need ↵Thomas Martitz2010-05-06
| | | | | | 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
* pdbox: Fixed loading of sound files, pdpod_drums.pd works now.Wincent Balin2010-05-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25769 a1c6a512-1295-4272-9138-f99709370657
* Fix pdbox makefile to actually take part in dependency generationFrank Gevaerts2010-02-25
| | | | | | | | Change pdbox include paths to handle this git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24916 a1c6a512-1295-4272-9138-f99709370657
* change dependencies in make files:Teruaki Kawashima2010-01-17
| | | | | | | | * 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
* Make PDBox use the copy of TLSF in the codecs folder (and remove the old copy).Magnus Holmgren2009-09-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22802 a1c6a512-1295-4272-9138-f99709370657
* PDBox: Simplified some float math functions.Wincent Balin2009-08-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22381 a1c6a512-1295-4272-9138-f99709370657
* PDBox: Made GUI use default back- and foreground colors.Wincent Balin2009-08-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22380 a1c6a512-1295-4272-9138-f99709370657
* Fix realloc bug in TLSF.Magnus Holmgren2009-08-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22355 a1c6a512-1295-4272-9138-f99709370657
* PDBox: Correcting two more warnings.Wincent Balin2009-08-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22174 a1c6a512-1295-4272-9138-f99709370657