Age | Commit message (Collapse) | Author | Files | Lines |
|
Was causing XM loader to fail
Change-Id: I1dd1d87dd0d8587fae5f9db04a730fc42b625a11
|
|
(Broke in a654cecf8)
Change-Id: I5b07e27aed12019e2b0a5078bf06812da2ddd598
|
|
Change-Id: Ic494102f191da5e32faa61b0f4bcefadee198200
|
|
shortcuts can be exported as .opx; now they can import as well
if parameter is a valid file..
plugins with parameters are now hashed on the parameter path
fix bug with empty parameters not overwriting last valid parameter
Change-Id: I149519811f07cb4ba22b7113449e2f89f77f1eee
|
|
OP allows you to use Open With.. to call plugins with parameters
called directly it acts as a shortcut list for plugins
open_plugins.rock interfaces with the open_plugin core
When opened directly it acts as a viewer for the plugin.dat file
this allows you to edit the paths and parameters for
core shortcuts as well as your added plugins
If a plugin is supplied to the viewer it is added to the dat file
If instead the plugin has previously been added then it is run
with the parameters you previously supplied
-----------------------------------------------------------------------------
Added export to .opx files
this allows shortcuts to plugins with parameters to be called from
the file browser
Change-Id: Ib8b05a60b049fb1d5881031ca09a07e3307d375a
|
|
open_plugin allows arbitrary plugins to be called
in hotkey and start screen
replaces PictureFlow Integration
shortcuts menu plays plugins now too
rather than store paths and parameters in the settings
that reside in memory instead entries in a file are searched by hash.
after all, the plugin has to be loaded from disk anyways
----------------------------------------------------------------------------
shortcut_viewer.rock-- can now call plugins rather than taking you to them
in the browser
-----------------------------------------------------------------------------
Added a new option to menus:
F_CB_ON_SELECT_ONLY
instead of option callback every time a item is accessed
F_CB_ON_SELECT_ONLY fires callback only when item is selected
-----------------------------------------------------------------------------
Added manual entries
-----------------------------------------------------------------------------
Change-Id: I078b57b1d2b4dd633c89212c1082fcbc1b516e6a
|
|
let pictureflow decide if the tag cache is ready instead of core
Change-Id: I2ab9b375d773dbbc28ea41fbf7bb6fb361ace8fd
|
|
had stack growing the wrong way
Change-Id: I51bf14526f5239e77e15dc0ffd76ad3ed8bdcbc8
|
|
* Get rid of the non-functional GT2 loader
* Add the UMX loader
* Add HQ mixer routines (and make it configurable)
* Allow samplerate to be configured at run/playtime
* Support >64KHz mixing/playback
* Correctly restore non-boost status
(The diff to upstream is much smaller now too!)
Change-Id: Iaa4ac901ba9cd4123bb225656976e78271353a72
|
|
So plugins can use const structures, possibly saving a little bit of RAM.
Change-Id: I15b0ef20e7554caf5f6d1c12f6ab109ddf3c0dbd
|
|
Change-Id: Ib8a9aa50c91dfc5d896c6f7491f3b30fca27479f
|
|
I'd overlooked this code path earlier. In the case of an unknown GRP, the
game would poll SDL for keyboard input, which it never received. Remove
that, and just warn the user instead.
Change-Id: Ibbabc0f8d43cb1276ed2fcfc3c6138517582e936
|
|
Increase stack by using the remaining plugin buffer
Stops the scrolling message after user input
Change-Id: I3497467143411e262b4de983e3daab3fbc5d08ce
|
|
Change-Id: Ib54b36760678e88d3857ba70b0f4d1e1661bb0ad
|
|
Change-Id: Ia91a662262497c1a93ce8f26902aab5921ee7185
|
|
Change-Id: I569561e5199c71a814b7f8118d63063f13958831
|
|
allows user to run plugin in background that voices
status messages
grouping is now working it counts ; as the end of a group
sleep timer remaining is not voiced if sleep timer is not active
TODO
manual entries
Change-Id: I39e8500df6440c07d2a3347513c749d5e155d1cc
|
|
Change-Id: I56781a8db29ac53df582dcc2faf6e5713ddcf186
|
|
Moves basename to a separate function, and documents some of the pointer
arithmetic it's doing.
Change-Id: I6f65ad99f163c2b223929f2ce7805b8935df71c0
|
|
Solves FS#9539
Change-Id: I5278fa0fbb8347314ef6fb41e707b3832f1dd8cd
|
|
(found using -Os with gcc494 on the nano2g)
Change-Id: If0deee3e3cde50e6bf5aff595bebc0f134dcc393
|
|
As the PP series has no sense of cache coherency between its multiple
cores, we need to ensure the vo_data structure does not share cachelines
with anything else.
This was previously done by defining a uint8_t array and trying to
access it via typecasting hell, triggering a large pile of aliasing
violation warnings on newer toolchains and/or higher optimization
levels.
Instead of violating the C spec in an undefined-behaviour-sort-of-way,
create a union of the right size and alignment, and make one of its members
the structure we care about. Voila, everyone is happy.
Change-Id: Iad78f8132225437cd4aa10e6e5f6ae58ba996c19
|
|
Change-Id: I97d17805ac7d37f10da6a29684102db97448e653
|
|
Change-Id: I70cf700f5bc3d4375c025efa62ef40fd2bd70293
|
|
Change-Id: Ifdb1501834b7ea63ca6f731bbd6414305d7e0001
|
|
Note: I left behind lcd_bitmap in features.txt, because removing it
would require considerable work in the manual and the translations.
Change-Id: Ia8ca7761f610d9332a0d22a7d189775fb15ec88a
|
|
'swcodec' is now always set (and recording_swcodec for recording-capable
units) in feature.txt so the manual and language strings don't need to
all be fixed up.
Change-Id: Ib2c9d5d157af8d33653e2d4b4a12881b9aa6ddb0
|
|
HAVE_LCD_BITMAP is now redundant.
lcd_bitmap is always-on in features.txt so manual and lang strings
don't have to change
Change-Id: I08eeb20de48099ffc2dc23782711af368c2ec794
|
|
This removes all code specific to SH targets
Change-Id: I7980523785d2596e65c06430f4638eec74a06061
|
|
rb core allows you to load custom keyboard layouts
this patch adds the ability to load a keyboard layout in a buffer
the custom layout is temporary and does not overwrite the current layout
use like so:
unsigned short kbd[64];
unsigned short *kbd_p = kbd;
if (!kbd_create_layout("ABCD1234\n", kbd, sizeof(kbd)))
kbd_p = NULL;
rb->kbd_input(buf,sizeof(buf), kbd_p);
Change-Id: I7be2bd4a1b4797a147fa70228a9749dc56ac052a
|
|
keep running into the rigid nature of do_menu
it isn't too bad when you don't need voice but once
you do the fun awaits
do_menu likes to talk on menu enter which is in a loop when you use do_menu
I would like to move the processing to the callback
TOO BAD you only get an action and the menu_item_ex struct
you sent it when calling the function
Change-Id: Iaefd0cc133435d675b7dd27a558c504d6ccb327a
|
|
We were improperly conditioning the state reset with `do_pausemenu'. We
should reset the input state no matter what.
Change-Id: Iaafc59b95e9f1f053b57a34f0f28f7c672c0e327
|
|
No functional changes.
Change-Id: I7baa7bf37b3bdd57064c654a72d0e4e0d5600245
|
|
First I discovered a bug in the code to display the currently playing
album from the WPS
--on a NULL id3->albumartist field PF would crash
now checks for a match in id3->albumartist and then id3->artist
if neither exists then the search uses <untagged>
ditto for album
The album index feature (recently added) did not check for enough
room in the buffer on restore
--save and restore code cleaned up a bit
moved all buffers to their own struct
tracks with no title now show filename rather than <UNTAGGED>
Reworked album search function
album search was going quadriatic resulting in some outrageous
index build times [40mins+ for 4000 albums]
building now done in stages and duplicates removed at end
*MUCH FASTER*
Album art
empty album art is no longer stored in the art cache
PF will now allow you to cancel building album art without
forcing a rebuild next run,
it will continue searching for album art in the background
album art is now updated in the background on each start as well
tracklist now rolls over at the end
artist_index is now discarded after album_index is created
Cleaned up some of the myriad of global variables
Added quit prompt for index building
Added sanity checking for album_index loaded from disk
Change-Id: I8494cb7abcb1ae8645c223fc3c11dc0ee749883a
|
|
This works around an odd issue in Mines involving the zoom feature. The
chain of events leading to it is rather convoluted:
1. No save game is found, so no fonts are loaded from disk.
2. A new game is started.
3. The user selects the "Zoom" option.
4. The allocation of the zoom framebuffer causes the malloc code to grab
the audiobuffer. This causes all further font_load() calls to FAIL, due
to buflib allocations no longer working.
5. The user goes back to the normal view and uncovers a square.
6. Font loading fails, causing the drawing code to fall back to the system
font.
7. An unrelated bug (not yet tracked down) causes font_get(FONT_UI) to
return a different font.
8. font_getstringsize() returns the right size of the "wrong" font, leading
to centering issues upon rb_draw_text().
The real solution to this would be to fix font_get(), but this fix should
prevent the issue from happening if Mines has been run and saved at least
once before.
Change-Id: Ib9ad51376eeb3ca1113a1f3786124b612db88cd7
|
|
Frontends now have a way to retrieve the backend cursor position with some
changes I've submitted upstream. With this information, we can now follow
the cursor around in "interaction mode" while zoomed in, eliminating (most)
need for mode switching.
Also does some cleanup of the frontend code.
Change-Id: I1ba118f67564a3baed95435f5619b73cfa3ae87a
|
|
(found by peachy & clang's static analyzer)
Change-Id: Idcc9b3bd0c3c1164892002b8f814d74b4a6b2a2d
|
|
Apparently the smallest bitmaps are hard to see.
Change-Id: I0265ce4da15677f9c4c64457b1a1f849a0f3a7f8
|
|
- zoom now remembers position between activations (but not when exiting the
plugin)
- key repeat enabled when panning
- moving mouse out of frame while zoomed will pan
- mouse can be moved diagonally
Change-Id: I39380ef7f36238700b6baa54cac036832933df67
|
|
(caught by clang-analyzer)
Change-Id: Ie24b7cd75c5e9814007674925f33b1a321f1d06d
|
|
No functional change, just using modern syntax.
Change-Id: I211bbcebd11da168c81dff4c409112d7a535b6ed
|
|
Change-Id: I13d987cc148f053778474e99c719cc8439ec53c0
|
|
I misread the documentation here, thinking that the pointer would be set to
*point to* a null byte, not to a null pointer itself. [1]
[1]: https://www.chiark.greenend.org.uk/~sgtatham/puzzles/devel/midend.html#identify-game
Change-Id: I9b76bba9b1611dfd8e05d076a69f7554b5b74c53
|
|
We had some issues in Keen with the arithmetic operators not being rendered
properly. This is still a kludge (we should intelligently search the font)
but is still less ugly than the garbage it was drawing before.
Change-Id: I5b957c7371b659ea6d64847145f9913b2a892e48
|
|
This hack has survived for far too long.
Change-Id: Idca0b647bd6e77f2afcd9a538513a6b9aa970fc7
|
|
We have a couple games like Untangle and mouse-mode games in which the
software poweroff is very annoying.
Change-Id: I554b89aecf8c7cc20c6c7f305be1b8807dc9283b
|
|
On some devices, the button driver allows a "software poweroff" by long-
pressing a certain key. This behavior is inconvnient when that button needs
to be held down for other purposes, such as moving the cursor in rockpaint
or sgt-untangle.
This patch allows selectively disabling the software poweroff (enabled by
default) from both core and plugin code.
Change-Id: I7580752888ae5c7c7c5eb1be5966e3d67f17d4b4
|
|
Change-Id: Ia32d41cd872140481e73b7565904fc196b7c5b01
|
|
Change-Id: I7cda111a8d7a24cae31e3eeca1454480e27ebaaa
|
|
rework of the unique name buffer
shares 1/4 of the total buffer
Change-Id: I17e46292ac880a082cb3f035e3c21abc318d8a31
|