Ilari Liusvaara
c2a7eed9d8
Clean up system font drawing
...
Refactor font reading to fewer places
2015-05-27 15:38:22 +03:00
Ilari Liusvaara
1dd19faaeb
Make git diff --check happier
2015-05-27 11:14:56 +03:00
Ilari Liusvaara
0c0156647b
Redo text rendering (adds halo support to gui.text())
...
Now gui.text() and friends support halos. Also fixes a bug with partially
opaque halos in CUSTOMFONT rendering.
2015-05-27 10:44:50 +03:00
Ilari Liusvaara
56deafcd4a
Framework for memory usage tracking
...
Adds tracking for Lua VM and ROM images. The rest comes later.
2015-05-26 13:16:09 +03:00
Ilari Liusvaara
82a7c255a4
Lua: Memory usage limit
...
This allows limiting memory usage by Lua, which might very well be useful,
given the behaviour of accumulating garbage in memory if one does not
garbage-collect.
2015-05-25 23:44:51 +03:00
Ilari Liusvaara
478472e883
Have only one main Lua function trampoline
...
This makes it easier to have special modes when Lua functions are running
later...
2015-05-25 21:16:45 +03:00
Ilari Liusvaara
04d7e60fe1
Fix race between killing object and drawing object
...
Previously, it was possible to draw and kill object queue at the same
time, possibly leading to crashes from accessing object state after
destroying it. Fix this.
2015-05-14 19:20:21 +03:00
Ilari Liusvaara
63b59e35f7
Lua: Don't run class destructor if constructor failed
2015-03-04 22:34:03 +02:00
Ilari Liusvaara
54cbe456b4
Move all regex matching to library/string.cpp
...
This is in preparation to having an option to use std::regex. Also should
fix a few bugs with trace log.
2015-02-07 14:37:18 +02:00
Ilari Liusvaara
94b603c9f2
Fix some compilation errors on Mac OS X
2015-02-04 21:28:25 +02:00
Ilari Liusvaara
346ea41e0d
Fix Win32 build
2015-01-13 22:49:32 +02:00
Ilari Liusvaara
71b57756ca
Cleanup Lua multiversion support
2015-01-06 08:13:10 +02:00
Ilari Liusvaara
f4c1bc6e84
Lua 5.3 support
2015-01-06 05:19:39 +02:00
Ilari Liusvaara
50fd1b6b5f
Don't let one unload currently used core (crashes the emulator)
2015-01-06 02:55:03 +02:00
Ilari Liusvaara
9fdd0bdd38
Tweak format of command help files and do some further command cleanup
2014-11-18 16:19:01 +02:00
Ilari Liusvaara
028a51066c
Show VMA relative hex address when dumping debug hook list
2014-11-18 07:43:05 +02:00
Ilari Liusvaara
5ddf119ef0
Reinitialize gamepads command and fix EVDEV going bonkers on gamepad suddenly disconnecting
2014-11-17 20:12:20 +02:00
Ilari Liusvaara
3b2298180a
Allow binding commands to class instance
2014-11-17 15:55:14 +02:00
Ilari Liusvaara
b218c1aaa0
Allow memory watch to read registers
2014-11-11 20:56:54 +02:00
Ilari Liusvaara
e2589db8b7
Rename token_iterator_foreach to token_iterator::foreach
2014-11-10 16:54:18 +02:00
Ilari Liusvaara
b0c08d3a9f
Make workthread a class in top namespace and move some stuff under it
2014-11-10 16:26:16 +02:00
Ilari Liusvaara
3c2b0402b2
Refactor memory_region{,_direct} to be subclasses of memory_space
2014-11-10 16:19:27 +02:00
Ilari Liusvaara
b5ed0f73b1
Refactor library GC to its own namespace
2014-11-10 16:06:04 +02:00
Ilari Liusvaara
9a69dc3511
Namespace library port-controller stuff
2014-11-10 05:13:34 +02:00
Ilari Liusvaara
6639ab0437
Refactor controller runtime code generation
2014-11-10 02:53:58 +02:00
Ilari Liusvaara
50215d8c01
Print messages about loaded libraries
2014-10-31 23:24:23 +02:00
Ilari Liusvaara
b7d0fe9eb1
Opus: Support some newly added stuff
2014-08-09 17:31:38 +03:00
Ilari Liusvaara
5c84507e22
Revert "Remove Lua 5.1 support"
...
This reverts commit c87c5de458
.
2014-08-08 04:04:14 +03:00
Ilari Liusvaara
c87c5de458
Remove Lua 5.1 support
2014-06-06 16:09:43 +03:00
Ilari Liusvaara
7f271989d9
When panicing, show last message (as it is presumably related)
2014-06-06 15:38:56 +03:00
Ilari Liusvaara
6bad138d8b
Instancefy base mmio stuff
2014-05-31 17:16:45 +03:00
Ilari Liusvaara
b6b5243abe
run in emu thread: Throw exceptions over thread switches
2014-05-18 19:58:56 +03:00
Ilari Liusvaara
b1fbb804c8
Instancefy alias binds management
2014-05-18 00:38:58 +03:00
Ilari Liusvaara
2f7089da5f
Move rename_overwrite from zip:: to directory::
2014-05-15 17:54:54 +03:00
Ilari Liusvaara
927467b6ec
Move directory stuff to dedicated namespace
2014-05-15 17:47:11 +03:00
Ilari Liusvaara
3a61504580
Scope listener base classes inside respective master classes
2014-05-14 17:00:34 +03:00
Ilari Liusvaara
986640b6ba
controller_frame_vector: Use object instead of lambda for notify
2014-05-14 16:49:25 +03:00
Ilari Liusvaara
29ee02309b
Move lua-framebuffer to lua namespace
2014-05-14 11:50:59 +03:00
Ilari Liusvaara
9f7c5523d7
Namespacify mathexpr
2014-05-14 11:43:25 +03:00
Ilari Liusvaara
3a85ccc506
Move memorywatch stuff to dedicated namespace
2014-05-14 10:50:49 +03:00
Ilari Liusvaara
670f92c3f8
Kill off register-queue
2014-05-13 16:32:53 +03:00
Ilari Liusvaara
04575a789b
settingvar.cpp: Get rid of register_queue
2014-05-13 16:30:35 +03:00
Ilari Liusvaara
a77c6a4df6
Lua.cpp: Get rid of register-queue
2014-05-13 16:13:09 +03:00
Ilari Liusvaara
ba3446697e
keyboard-mapper.cpp: Get rid of register_queue
2014-05-13 15:30:16 +03:00
Ilari Liusvaara
f41142ea16
keyboard.cpp: Get rid of register_queue
2014-05-13 14:51:09 +03:00
Ilari Liusvaara
3ca96fb1b0
Reduce dependicies between header files
2014-05-13 13:42:07 +03:00
Ilari Liusvaara
d47959b618
Kill command::set::get_commands()
...
Nothing uses it
2014-05-13 12:31:34 +03:00
Ilari Liusvaara
6f35061747
Setting sets
2014-05-13 09:06:14 +03:00
Ilari Liusvaara
30d7196cd4
Listener object is better than 3 lambdas + handle
2014-05-12 23:44:12 +03:00
Ilari Liusvaara
ab9c568062
Inverse binding sets
2014-05-12 20:37:04 +03:00