1
0
forked from 0ad/0ad
0ad/source/gui
Yves 3b49576fa6 Tunes GC scheduling a bit to reduce memory usage.
The main problem was that GC was only called from the simulation before
this patch. This means when you were waiting in the multiplayer lobby or
just had the GUI open, it only called GC when getting close to the JS
runtime size limit (I assume). Another problem was the Net Server
runtime which didn't GC either. Here the runtime size limit is 16 MB
though, so it's not too terrible. These issues have both been addressed
and GC has been given a bit more time per incremental slice to make sure
it gets done in time. It's still far from perfect, but there are too
many changes in SpiderMonkey related to GC, so I don't want to spend too
much time on this yet.

Refs #2808

This was SVN commit r15787.
2014-09-22 20:13:04 +00:00
..
scripting Adds profiles to the multiplayer lobby. Fixes #2504. 2014-09-20 15:35:26 +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 Cleans up handling of SDL2 text input events, no behavior change expected. 2014-09-22 19:00:20 +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 Cleans up handling of SDL2 text input events, no behavior change expected. 2014-09-22 19:00:20 +00:00
CInput.h Cleans up handling of SDL2 text input events, no behavior change expected. 2014-09-22 19:00:20 +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 Tunes GC scheduling a bit to reduce memory usage. 2014-09-22 20:13:04 +00:00
GUIManager.h Fixes crash when loading maps in Atlas. 2014-08-04 20:14:17 +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 Exact stack rooting for IGUIObject. 2014-08-08 13:41:47 +00:00
IGUIObject.h Exact stack rooting for IGUIObject. 2014-08-08 13:41:47 +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 Exact stack rooting for IGUIObject. 2014-08-08 13:41:47 +00:00
MiniMap.h Move the minimap to only use the shader pipeline. Should make it OpenGL ES compatible (untested). 2014-07-14 17:15:22 +00:00