Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Recent activity

Mail

Recent Threads on the Mailing Lists
when what who
18th Jun 22:18Wolfenstein 3-D port mat via rockbox-dev
20th May 15:53Help, Agpteck M16GB/RockBox DanielBègue via rockbox
20th May 11:32Agptek Rocker boot strate in to RockBox? lagfra via rockbox
18th May 12:52request informationrockbox/agptek m16 gb lagfra via rockbox
3rd May 03:21external sdcard not found... tuxic––– via rockbox
1st May 17:50Rockbox failed with "Invalid instruction"... tuxic––– via rockbox
1st May 06:15Line selector bar vs. font height tuxic––– via rockbox
1st May 05:56Test - ignore tuxic––– via rockbox
29th Apr 18:01Character garbage when trying to edit a filename (config for example)... Sheldon via rockbox
29th Apr 05:02Tidy up my player...(Sansa Clip Zip) Sheldon via rockbox
27th Apr 19:52Replacing battery of Sansa Clip Zip? John DeArmond via rockbox
16th Apr 01:43running rockboxdev on debian9 or ubuntu 18.04 produces errors in extract and build David Mehler via rockbox
1st Apr 14:05Rockbox 3.14 on Sansa e260 looking for functions Jan Hasebos via rockbox
13th Mar 22:09AgpTek A26T Rockbox support? Jesse Erwin via rockbox
8th Mar 21:40rockbox on sansa e260 or e280 John DeArmond via rockbox
5th Mar 16:53x3 battery David Mehler via rockbox
27th Feb 17:29xDuoo x3 II (Gen 2, 2nd Gen) Port? Not in Russian? Giving this random site a shot even though it's a fork? Jan Hasebos via rockbox
8th Feb 17:29rockbox, master, USB windows issue Solomon Peachy via rockbox
2nd Feb 15:17Xduoo X3 generations John DeArmond via rockbox
1st Feb 23:39Rockbox bookmarks Stéphane Doyon via rockbox

Wiki

whenwhatwho
Today 02:53PluginQuakeFranklinWei
Today 02:39MajorChangesFranklinWei
14th Jul 00:54RockboxExtrasFranklinWei
2nd Jul 01:24PluginDuke3DFranklinWei

Code

whenwhatwherewho
Today 15:11 3665eec: Increase set_time_screen() buffer size for hosted to keep the compiler happy.

The format strings in the snprintf can in theory need 60 characters This will not happen in practice (because seconds are 0..60 and not full-range integers etc.), but -D_FORTIFY_SOURCE will still warn about it, so we use 60 characters for HOSTED to make the compiler happy. Native builds still use 20, which is enough in practice.
apps/screens.c [diff]
Frank Gevaerts
Today 08:04 3cb272c: build: Fix puzzles build due to missing dependency

As rbcompat.h is -include'd on the command line, the mkdep script doesn't pick it up. Explicitly add the dependency to lang_enum.h to the makefile.

Also add lang_enum.h to the 'make clean' target!
apps/plugins/puzzles/puzzles.make [diff]
tools/root.make [diff]
Solomon Peachy
Today 03:46 14d91ca: Fix Red - Talk support for plugins

generate lang_enum prior to apps
tools/root.make [diff]
William Wilgus
Today 02:46 6392e05: Plugin API

Reorganize Plugin functions in prep for API bump

Stub in sound_current

add sleep_timer
apps/plugin.c [diff]
apps/plugin.h [diff]
William Wilgus
3rd Feb 19:12 55eb1c5: FS #7704 - Talk support for plugins

Original patch by Mario Lang Heavily updated by Igor Poretsky Further updated by myself

This patch breaks binary API compatibility by placing the new functions where they make the most logical sense. IMO this is the better approach to take given the scope of the changes needed for talk support.

Since binary API is changing, the patch also moves some other functions around to more logical locations.

As well as voice support in plugins, this patch voice-enables several simple plugins. There will be follow-up patches for many plugins that build on this one.
apps/lang/english.lang [diff]
apps/lang/lang.make [diff]
apps/plugin.c [diff]
apps/plugin.h [diff]
apps/plugins/dice.c [diff]
apps/plugins/fireworks.c [diff]
apps/plugins/lib/playback_control.c [diff]
apps/plugins/wavrecord.c [diff]
apps/plugins/wormlet.c [diff]
apps/talk.c [diff]
apps/talk.h [diff]
tools/genlang [diff]
Solomon Peachy
Yesterday 21:51 9c17734: Silence warning in stdio_compat.h
apps/plugins/lib/stdio_compat.h [diff]
Franklin Wei
Yesterday 21:20 b0e9bb1: Limit float formatting to only targets building Quake

The Quake plugin is the only code that actually relies on float formatting. Because Quake only runs on targets with huge memory anyway, limiting their formatting to just those targets will minimize the increased memory use in the core.
firmware/common/vuprintf.c [diff]
Franklin Wei
2018-02-11 5d05b9d: Quake!

This ports id Software's Quake to run on the SDL plugin runtime. The source code originated from id under the GPLv2 license. I used https://github.com/ahefner/sdlquake as the base of my port.

Performance is, unsurprisingly, not on par with what you're probably used to on PC. I average about 10FPS on ipod6g, but it's still playable.

Sound works well enough, but in-game music is not supported. I've written ARM assembly routines for the inner sound loop. Make sure you turn the "brightness" all the way down, or colors will look funky.

To run, extract Quake's data files to /.rockbox/quake. Have fun!
apps/plugins/CATEGORIES [diff]
apps/plugins/SOURCES [diff]
apps/plugins/SUBDIRS [diff]
apps/plugins/lib/stdio_compat.h [diff]
apps/plugins/quake.c [new]
apps/plugins/sdl/SOURCES.quake [new]
apps/plugins/sdl/include/SDL_config_rockbox.h [diff]
apps/plugins/sdl/include/SDL_platform.h [diff]
apps/plugins/sdl/main.c [diff]
apps/plugins/sdl/progs/quake/Makefile.linuxi386 [new]
apps/plugins/sdl/progs/quake/adivtab.h [new]
apps/plugins/sdl/progs/quake/anorm_dots.h [new]
apps/plugins/sdl/progs/quake/anorms.h [new]
apps/plugins/sdl/progs/quake/asm_draw.h [new]
apps/plugins/sdl/progs/quake/asm_i386.h [new]
apps/plugins/sdl/progs/quake/block16.h [new]
apps/plugins/sdl/progs/quake/block8.h [new]
apps/plugins/sdl/progs/quake/bspfile.h [new]
apps/plugins/sdl/progs/quake/cd_linux.c [new]
apps/plugins/sdl/progs/quake/cd_null.c [new]
apps/plugins/sdl/progs/quake/cd_sdl.c [new]
apps/plugins/sdl/progs/quake/cdaudio.h [new]
apps/plugins/sdl/progs/quake/chase.c [new]
apps/plugins/sdl/progs/quake/cl_demo.c [new]
apps/plugins/sdl/progs/quake/cl_input.c [new]
apps/plugins/sdl/progs/quake/cl_main.c [new]
apps/plugins/sdl/progs/quake/cl_parse.c [new]
apps/plugins/sdl/progs/quake/cl_tent.c [new]
apps/plugins/sdl/progs/quake/clean.bat [new]
apps/plugins/sdl/progs/quake/client.h [new]
...and 141 more files.
Franklin Wei
2018-01-06 b70fecf: Add proper float formatting to vuprintf

Wanted to see how gnarly it is to do.

Big number handling could be done with better algorithms since it can get a bit slow with large integers or tiny fractions with many lead zeros when only a few digits are needed.

Anyway, it supports %e, %E, %f, %F, %g and %G. No %a or long double support seems warranted at the moment.

Assumes IEEE 754 double format but it's laid out to be able to replace a function to handle others if needed.

Tested in a driver program that has a duplicate vuprintf and the content was pasted in once it looked sound enough to put up a patch.
firmware/SOURCES [diff]
firmware/common/ap_int.c [new]
firmware/common/vuprintf.c [diff]
firmware/include/ap_int.h [new]
Michael Sevakis
27th Jun 09:28 3e2b50e: lua events from rockbox

This library allows events to be subscribed / recieved within a lua script most events in rb are synchronous so flags are set and later checked by a secondary thread to make them (semi?) asynchronous.

There are a few caveats to be aware of:

FIRST, The main lua state is halted till the lua callback(s) are finished Yielding will not return control to your script from within a callback Also, subsequent callbacks may be delayed by the code in your lua callback SECOND, You must store the value returned from the event_register function you might get away with it for a bit but gc will destroy your callback eventually if you do not store the event THIRD, You only get one cb per event type
["action", "button", "custom", "playback", "timer"]
(Re-registration of an event overwrites the previous one)

Usage: possible events =["action", "button", "custom", "playback", "timer"]

local evX = rockev.register("event", cb_function, [timeout / flags]) cb_function([id] [, data]) ... end

rockev.suspend(["event"/nil][true/false]) passing nil affects all events stops event from executing, any but the last event before re-enabling will be lost, passing false, unregistering or re-registering an event will clear the suspend

rockev.trigger("event", [true/false], [id]) sets an event to triggered, NOTE!, CUSTOM_EVENT must be unset manually id is only passed to callback by custom and playback events

rockev.unregister(evX) Use unregister(evX) to remove an event Unregistering is not necessary before script end, it will be cleaned up on script exit
apps/plugins/lua/SOURCES [diff]
apps/plugins/lua/rbdefines_helper.pl [diff]
apps/plugins/lua/rockaux.c [diff]
apps/plugins/lua/rocklib.c [diff]
apps/plugins/lua/rocklib.h [diff]
apps/plugins/lua/rocklib_events.c [new]
apps/plugins/lua/rocklib_events.h [new]
apps/plugins/lua/rocklua.c [diff]
William Wilgus
Yesterday 13:16 b0de98a: Put -lfirmware in CORE_LIBS, to fix -thumb builds

For unknown reasons, -thumb builds need -lfirmware after -lrbcodec (but still before -lunwarminder)i. Other builds are still happy if we do that. Including it via CORE_LIBS instead of explicitly achieves that.
firmware/firmware.make [diff]
tools/root.make [diff]
Frank Gevaerts
Thursday 12:50 8bd992c: lua disable bytecode dump & undump functions

Adds a flag to remove the ability to dump and load lua bytecode

saves 6+kb
apps/plugins/lua/ldump.c [diff]
apps/plugins/lua/luaconf.h [diff]
apps/plugins/lua/lundump.c [diff]
apps/plugins/lua/lundump.h [diff]
William Wilgus
Thursday 07:41 d5908f5: Fix Red lua move constants out of binary image

didn't consider sims might have reserved enums
apps/plugins/lua/rbdefines_helper.pl [diff]
William Wilgus
Thursday 06:42 c9aeb42: lua move constants out of binary image

Rockbox constants are auto generated by a perl script like the majority of the plugin functions.

Constants are contained in rb_defines.lua, if the file exists it is auto loaded by the lua state for backwards compatibility

Frees ~1k
apps/plugins/lua/lua.make [diff]
apps/plugins/lua/rbdefines_helper.pl [new]
apps/plugins/lua/rocklib.c [diff]
apps/plugins/lua/rocklua.c [diff]
William Wilgus
All commits since last release, last four weeks.
Page was last modified "Jan 12 2012" The Rockbox Crew
aaa