summaryrefslogtreecommitdiff
path: root/src/ui/ui_shared.c
AgeCommit message (Collapse)Author
2017-04-06fix a pointer going out of bounds, in the text width calculation code/dev/humancontroller
the cgame QVM was calling strncpy() with a size argument of -1
2017-04-06fix the incorrect calculation of string/line (display)widths/dev/humancontroller
2017-03-09prefer drawing the bottom lines of overly long texts/dev/humancontroller
2017-03-09make wrap caching a bit more secure/dev/humancontroller
2017-03-09fix an OB1 in Menus_CloseAll()/dev/humancontroller
2017-02-08add missing trailing '\n's from strings to execute; add double quotes around ↵/dev/humancontroller
substituted argument strings also transform trailing ';'s to '\n's
2017-02-07fix some usages of abs(), part 1: non-gamelogic-changing changes/dev/humancontroller
detected by Clang changes in tr_main.c reviewed by SmileTheory
2013-02-16Update copyright noticesTim Angus
2013-01-12Fix a bunch of warningsTim Angus
2013-01-03* Fix a bunch of variable set but not used warningsM. Kristall
2013-01-03* (bug 5000) refactor: use ARRAY_LEN; remove undefined functions; more size_tM. Kristall
(/dev/humancontroller)
2013-01-03* Remove redundant uses of String_AllocBen Millwood
* Comment String_Alloc regarding appropriate usage * Die with Com_Error if the string pool runs out
2013-01-03* Fix text buffer from printing letters with the incorrect case in a rare ↵Christopher Schwarz
case (/dev/humancontroller/)
2013-01-03* More mild text rendering performance improvementsTim Angus
2013-01-03* Remove used limit parameter from UI_Text_[Width|Height]Tim Angus
2013-01-03* (bug #4541) Rewrite Item_Text_Wrap (again), to improve performanceTim Angus
2013-01-03* Mild performance improvements to callees of Item_Text_WrapTim Angus
2013-01-03* (bug 4541) Improvement to font rendering speed by removing an unneeded ↵Christopher Schwarz
function call (gimhael)
2013-01-03* Fix text width result and line wrap when encountering INDENT_MARKERJohn Ellis
* Fix line wrapping when encountering emoticons
2013-01-03* Don't confuse TYPE_* with ITEM_TYPE_*Ben Millwood
2013-01-03fix emoticon parser from allowing a partial matchJohn Ellis
2013-01-03* Refactor emoticon codeM. Kristall
* Remove some redundant code * Make an error non-fatal * Formatting fixes
2013-01-03* add warnings for Menus_ReplaceActive() when there is a menu item mismatchTony J. White
between the active menu and the new one. * maintain the proper cursor state on menu items in Menus_ReplaceActive()
2013-01-03* Update copyright noticesTim Angus
2013-01-03* Fix draw order bug in r1922 resulting from differing qsort implementationsTim Angus
2013-01-03* s/ITEM_TYPE_COMBO/ITEM_TYPE_CYCLE/Tim Angus
* Add ITEM_TYPE_COMBOBOX -- a proper combobox widget * Use ITEM_TYPE_COMBOBOX for video mode selection * General refactoring of the listbox code * Various other assorted tidy-ups
2013-01-03* Indent wrapped chat lines to avoid potential imitation exploitsTim Angus
2013-01-03* When ui_chatCommands is enabled, change the "Say:" or "Say to Team:" text ↵Christopher Schwarz
in the prompt to "Command:" when appropriate, so the user can tell that their text will not be sent as chat but executed instead. (tjw)
2013-01-03* Fix colour codes not being propogated across lines in some cases (Rezyn0)Tim Angus
2013-01-03* WhitespaceTim Angus
2013-01-03* (bug 4321) Resort in-game options menu; add more show/hide options (wireddd)Christopher Schwarz
2013-01-03* Fix text wrapping... againTim Angus
2013-01-03* OopsTim Angus
2013-01-03* Add ITEM_TYPE_SAYFIELD which is like ITEM_TYPE_EDITFIELD but with ↵Tim Angus
different focus behaviour
2013-01-03* Do 1879 (tabbing out of an editfield hides the mouse) in a different way ↵Christopher Schwarz
that doesn't partly break r1837 (tab, uparrow, downarrow sends chat text)
2013-01-03* Fix tabbing away from an edit field hiding the mouse cursorTim Angus
2013-01-03* Fix g_editingField and g_waitingForKey in the ui to be properly cleared ↵Christopher Schwarz
when you close all menus, preventing the cursor from being inappropriately hidden the next time you open one
2013-01-03* Fix UI_Text_Paint_Limit() function, which was printing a max of one ↵Christopher Schwarz
character ever, but nothing was using it so nobody noticed (thanks Oopss) * Add ALIGN_NONE and VALIGN_NONE types for CG_Text_Align function * Slightly widen the location item on the default hud, since just a little bit more fits most maps better * Prevent seeing crosshair playername text for players on the other team while in SPECTATOR_LOCKED * Fix formatting nitpick from a few revisions ago
2013-01-03* Add options in the ingame UI to callvote sudden_death and callvote nextmap ↵Christopher Schwarz
(Exclamation) * Prevent up arrow, down arrow, tab, and mouse buttons from unexpectedly sending Say: menu text * Fix a crash introduced by r1813 when using teamsay on a map without location entities
2013-01-03* Use binary searching instead of linear searching for many static arraysM. Kristall
2013-01-03* (bug 4305) Refactor/simplify UI_Text_Paint functions (Rezyn)Christopher Schwarz
2013-01-03* (bug #3949) Paint menus in stack order (Amanieu)Tim Angus
2013-01-03* Fix wonky say text field behavior when you press insert (Rezyn)Christopher Schwarz
* Properly prevent deconstructing the last spawn when it's markdeconstruct with no power (Rezyn) * Fix typo on nextmap votes (Byron Johnson)
2013-01-03* (bug 4302) Fix server join listChristopher Schwarz
- Merge featured / regluar server list back into one list, with featured sorted to the top and sporting emoticons to show their distinction - Show a key for the featured server type icons (Exclamation) * (bug 4303) Disallow (escape) emoticons in server hostnames
2013-01-03* Whitespace/floating point tweaksTim Angus
2013-01-03* (bug 3998) linewrap cp, parse newlines in cp and motdChristopher Schwarz
2013-01-03* (bug 3713) Scoreboard marquee causes text display problemsChristopher Schwarz
2013-01-03* (bug 3604) Fix Item_Text_Wrap() (Amanieu, benmachine)Christopher Schwarz
- No more color bleeding / munching - No more premature wrapping of the last lines of ui text * Revert r1738 because it's no longer needed
2013-01-03* Strict type-checking of menu item keywords that use the typeData unionBen Millwood
2013-01-03* Provide helpful error messages when hardcoded limits are hit in the UIBen Millwood
parse code