1
0
forked from 0ad/0ad
0ad/source/gui
Yves db9c20e0a9 Changes FromJSVal to take a JS::HandleValue instead of JS::Value.
JS::HandleValue is basically a wrapper around a JS::Value that is safe
for exact stack rooting and moving GC.
I've tried to keep this changeset rather small and isolated and
therefore create additional JS::Rooted<T> values at some places where
the function should eventually directly take a JS::Handle<T>.
The functions "CallFunction" and "CallFunctionVoid" put their arguments
inside a JS::AutoValueVector because this will be passed directly to
"CallFunction_" with ESR31.

Refs #2462
Refs #2415

This was SVN commit r15517.
2014-07-12 19:08:39 +00:00
..
scripting Changes FromJSVal to take a JS::HandleValue instead of JS::Value. 2014-07-12 19:08:39 +00:00
tests Start phasing out the use of CParser in the GUI. Makes GUI parsing generally faster and stricter while adding better tests and debug information. 2014-05-25 03:16:52 +00:00
CButton.cpp Adds UI sounds for buttons, dropdowns, lists, and checkboxes, fixes #948 2013-07-01 04:15:09 +00:00
CButton.h Adds Skip method to SGUIMessage which works more or less like wxEvent.Skip: GUI objects can allow other event handlers to process an input event after they finish. 2011-04-28 20:42:11 +00:00
CCheckBox.cpp Cleanup GUI Checkbox C++ code by removing broken, non-obvious internal text rendering. 2014-01-02 03:28:15 +00:00
CCheckBox.h Adds Skip method to SGUIMessage which works more or less like wxEvent.Skip: GUI objects can allow other event handlers to process an input event after they finish. 2011-04-28 20:42:11 +00:00
CDropDown.cpp Don't allow changeing disabled dropdowns using the scrollwheel. Also corrects some things in b9a4af4cc6. 2014-06-21 00:25:12 +00:00
CDropDown.h Make water specular more visible and fixes a few cases where it would actually hardly appear when it should. 2013-07-14 12:17:07 +00:00
CGUI.cpp Make hotkeys and top panel fully moddable by splitting up the xml file. Allow entire directories to be loaded via an 'include' to provide extra moddability (modders don't have to edit any files, they can just add new ones). 2014-06-17 13:03:55 +00:00
CGUI.h Improve gui moddability by allowing to load an entire directory of scripts at once, and being able to split up big gui XML files. Fixes #2622 2014-06-11 17:14:35 +00:00
CGUIList.h Add GPL header 2009-04-18 17:00:33 +00:00
CGUIScrollBarVertical.cpp Multiplayer lobby based on the XmPP protocol. Special thanks to Philip, alpha123, scythetwirler, and anyone else who has helped build, debug or test the lobby. 2013-11-07 20:07:24 +00:00
CGUIScrollBarVertical.h Okay, do what f5ab6255d0 was supposed to do. 2013-08-26 04:17:26 +00:00
CGUISprite.cpp Use pointers instead of copying sprites in the GUI. Fixes #1984. Patch by jP_wanN. 2014-01-03 20:19:43 +00:00
CGUISprite.h Use pointers instead of copying sprites in the GUI. Fixes #1984. Patch by jP_wanN. 2014-01-03 20:19:43 +00:00
CImage.cpp Fix tooltip crash/corruption, caused by inconsistently changing types. 2011-02-18 22:36:39 +00:00
CImage.h Add GPL header 2009-04-18 17:00:33 +00:00
CInput.cpp Correctly handle the keypad enter in CInput.cpp and make the return key case catch SDLK_RETURN instead of '/r' for consistancy and readability. 2014-02-03 21:46:27 +00:00
CInput.h Adds blinking cursors with configurable rate, based on patch by kingadami. Fixes #876 2013-01-12 01:20:01 +00:00
CList.cpp Fix #2403 2014-01-24 18:15:42 +00:00
CList.h Multiplayer lobby based on the XmPP protocol. Special thanks to Philip, alpha123, scythetwirler, and anyone else who has helped build, debug or test the lobby. 2013-11-07 20:07:24 +00:00
COList.cpp Remove commented out code and add licence headers to COList.cpp/.h. 2014-06-05 14:33:44 +00:00
COList.h Remove commented out code and add licence headers to COList.cpp/.h. 2014-06-05 14:33:44 +00:00
CProgressBar.cpp Adds Skip method to SGUIMessage which works more or less like wxEvent.Skip: GUI objects can allow other event handlers to process an input event after they finish. 2011-04-28 20:42:11 +00:00
CProgressBar.h Adds Skip method to SGUIMessage which works more or less like wxEvent.Skip: GUI objects can allow other event handlers to process an input event after they finish. 2011-04-28 20:42:11 +00:00
CRadioButton.cpp Adds Skip method to SGUIMessage which works more or less like wxEvent.Skip: GUI objects can allow other event handlers to process an input event after they finish. 2011-04-28 20:42:11 +00:00
CRadioButton.h Adds Skip method to SGUIMessage which works more or less like wxEvent.Skip: GUI objects can allow other event handlers to process an input event after they finish. 2011-04-28 20:42:11 +00:00
CText.cpp Multiplayer lobby based on the XmPP protocol. Special thanks to Philip, alpha123, scythetwirler, and anyone else who has helped build, debug or test the lobby. 2013-11-07 20:07:24 +00:00
CText.h Adds Skip method to SGUIMessage which works more or less like wxEvent.Skip: GUI objects can allow other event handlers to process an input event after they finish. 2011-04-28 20:42:11 +00:00
CTooltip.cpp Fix a valgrind warning about uninitilized variables in the scrollbar code and some comment/style fixes. 2014-02-19 21:59:07 +00:00
CTooltip.h Adds Skip method to SGUIMessage which works more or less like wxEvent.Skip: GUI objects can allow other event handlers to process an input event after they finish. 2011-04-28 20:42:11 +00:00
GUI.h # Restructured GUI implementation 2009-12-03 20:17:22 +00:00
GUIbase.cpp Start phasing out the use of CParser in the GUI. Makes GUI parsing generally faster and stricter while adding better tests and debug information. 2014-05-25 03:16:52 +00:00
GUIbase.h Fix bug with rating in lobby bot, remove superfluous GUI typedef, and change the lobby chat autocompletion to use tab. 2014-01-01 00:23:18 +00:00
GUIManager.cpp Revert obsolete workaround for structured clones. 2014-07-05 11:35:00 +00:00
GUIManager.h Make CGUIManager register a callback function for hotloading instead of specifically calling it. 2014-07-02 23:44:39 +00:00
GUIRenderer.cpp Internationalization of the C++ side 2014-04-20 20:03:57 +00:00
GUIRenderer.h Use pointers instead of copying sprites in the GUI. Fixes #1984. Patch by jP_wanN. 2014-01-03 20:19:43 +00:00
GUItext.cpp Enlarge the ideographic ranges in the word boundaries, fixes Japanese rendering a bit 2014-05-09 12:13:42 +00:00
GUItext.h Fixes scoping for icons in GUI text, instead of using only the top page on the stack, which caused errors when dialog boxes popped up over text containing icons 2014-01-17 02:54:57 +00:00
GUITooltip.cpp split debug_assert into ENSURE and ASSERT as discussed in a previous meeting. 2011-04-30 13:01:45 +00:00
GUITooltip.h Game setup changes, including showing name, civ, team, and some options loaded from the scenarios. Civ data added. Civ info window to preview civs. Icon tooltips. Support for random map implementation. Fixes #590. 2010-10-30 04:02:42 +00:00
GUItypes.h Fix #402 (Clean up GUItypes.h), based on patch from Caius 2009-11-19 21:44:19 +00:00
GUIutil.cpp Replace usage of CParser for CColor. 2014-06-04 00:58:05 +00:00
GUIutil.h Replace usage of CParser for CColor. 2014-06-04 00:58:05 +00:00
IGUIButtonBehavior.cpp Make GUI button-based objects to behave more expectedly when doubleclicked, also some style tweaks. 2014-01-01 06:05:41 +00:00
IGUIButtonBehavior.h Added right click selection removal. Fixes #1028. Thanks to kingadami and GerbilOfDoom for the patch. 2013-01-03 22:53:46 +00:00
IGUIObject.cpp Start phasing out the use of CParser in the GUI. Makes GUI parsing generally faster and stricter while adding better tests and debug information. 2014-05-25 03:16:52 +00:00
IGUIObject.h Second (main) commit for the SpiderMonkey upgrade. 2014-03-28 20:26:32 +00:00
IGUIScrollBar.cpp Fix a valgrind warning about uninitilized variables in the scrollbar code and some comment/style fixes. 2014-02-19 21:59:07 +00:00
IGUIScrollBar.h Fix a valgrind warning about uninitilized variables in the scrollbar code and some comment/style fixes. 2014-02-19 21:59:07 +00:00
IGUIScrollBarOwner.cpp Adds Skip method to SGUIMessage which works more or less like wxEvent.Skip: GUI objects can allow other event handlers to process an input event after they finish. 2011-04-28 20:42:11 +00:00
IGUIScrollBarOwner.h Adds Skip method to SGUIMessage which works more or less like wxEvent.Skip: GUI objects can allow other event handlers to process an input event after they finish. 2011-04-28 20:42:11 +00:00
IGUITextOwner.cpp Fixes multiline text alignment, fixes #723. Patch by kingadami. 2013-01-06 01:46:44 +00:00
IGUITextOwner.h Fix "hides overloaded virtual function" warnings in Clang 2011-07-17 17:30:07 +00:00
MiniMap.cpp Fix hover effect not regenerating after mousedown events, minor GUI code cleanup, and fix #2414 2014-03-07 22:43:57 +00:00
MiniMap.h Fix hover effect not regenerating after mousedown events, minor GUI code cleanup, and fix #2414 2014-03-07 22:43:57 +00:00