TsFreddie
f7ac41adeb
Fix IME stuck when 0-len TEXTEDITING event is missing.
2020-10-25 23:48:12 +08:00
def
5c1b8cd221
Fix clang-analyzer-deadcode.DeadStores
...
/media/ddnet/src/game/client/components/statboard.cpp:288:3: warning: Value stored to 'tw' is never read [clang-analyzer-deadcode.DeadStores]
2020-10-14 15:45:47 +02:00
def
3be8a592e5
Run clang-format
...
Purely automatic change. In case of conflict with this change, apply the
other change and rerun the formatting to restore it:
$ python scripts/fix_style.py
2020-09-26 21:50:15 +02:00
TsFreddie
d4da82f977
clang-format
2020-09-22 17:02:03 +01:00
TsFreddie
387bc53030
ime window position & ime input handling
2020-09-22 17:01:13 +01:00
Andrii
2969d93941
disable mouse buttons if console not closed
2020-08-31 22:40:57 +03:00
def
2b0e13db53
Add platform and arch in console output
2020-08-31 12:05:50 +02:00
Fireball
ab9b96ddb2
Backported fix for Text() incorrect parameter type (int -> float)
...
The original fix was done by @oy for 0.7.4.
2020-07-15 20:49:14 +01:00
Fireball
b1c17c3248
Backported fix for TextWidth() parameter mix-up
...
Fixes #2511 (Stack-buffer-overflows in some UIs).
The original fix was done by @oy for 0.7.4.
2020-07-15 20:48:29 +01:00
Magnus Auvinen
6a6a5f00c9
more typesafty in the graphics. introduced the IGraphics::CTextureHandle
...
Edited by @ChillerDragon to fit in ddnet
(cherry picked from commit cb95e8dfe8
)
2019-11-22 18:08:37 +01:00
Dennis Felsing
6e24bf9ae2
Merge pull request #1790 from ChillerDragon/pr_ctrl_k_console
...
Add ctrl-k delete in client console
2019-06-19 12:12:19 +02:00
ChillerDragon
93dc33ee57
Add ctrl-k delete in client console
...
Extends shortcuts from:
ed8a0b5eee
e9f8bd42b7
2019-06-18 20:16:54 +02:00
Dennis Felsing
bbe411901e
Merge pull request #1764 from ChillerDragon/pr_console_word_del
...
Add console word deletion/navigation (#1032 )
2019-06-11 18:05:23 +02:00
ChillerDragon
9c68765dae
Don't set Handled on ctrl-u
2019-06-01 17:51:22 +02:00
ChillerDragon
b98b71df88
Rename 'DeleteFromCursor' -> 'DeleteUntilCursor'
2019-06-01 17:41:40 +02:00
ChillerDragon
ed8a0b5eee
Add ctrl-u delete in client console
...
Extends shortcuts from:
e9f8bd42b7
2019-06-01 17:11:35 +02:00
ChillerDragon
1af09a840c
Add console word deletion/navigation ( #1032 )
2019-06-01 16:24:22 +02:00
12pm
ea324592c6
Change col to color in variable names
2019-05-10 23:34:21 +02:00
Learath
979d58f830
Use colors in CTextRender
2019-04-27 01:34:20 +03:00
Learath
93d14a1eca
Inconvenience for windows
2019-04-26 22:36:49 +03:00
Learath
e637064a68
Don't store HSL separately
2019-04-25 19:49:27 +03:00
Dennis Felsing
cde07b420b
Implement changes suggested by -Wuseless-cast
...
But don't enable it yet because I'm not sure what the best way is.
2019-04-11 19:54:43 +02:00
bors[bot]
b05b268a6a
Merge #1598 #1601 #1605 #1606 #1607 #1609
...
1598: Fix home/end keys in console r=heinrich5991 a=def-
1601: 2 more tries to force DB to respond in UTF8 (fixes #1599 ) r=heinrich5991 a=def-
1605: Fix memory leak in draggers r=heinrich5991 a=def-
1606: Always initialize m_InfosLoaded r=heinrich5991 a=def-
otherwise it's uninitialized and then read, found by valgrind --tool=memcheck
1607: Enable a few more GCC warnings r=heinrich5991 a=def-
1609: Fix C90 compatibility on Windows r=heinrich5991 a=def-
Co-authored-by: def <dennis@felsin9.de>
2019-04-09 22:09:18 +00:00
ChillerDragon
0b18d6eb44
Remove if nesting for compose keys in console
2019-04-09 12:11:29 +02:00
def
527859e70c
Fix home/end keys in console
2019-04-07 23:28:30 +02:00
ChillerDragon
e9f8bd42b7
Add emacs style ctrl-a ctrl-e navigation
2019-04-07 15:59:15 +02:00
yangfl
a1db76cdef
Remove extra semicolons
2018-11-18 14:27:48 +08:00
ChillerDragon
8a761bfedf
Add commands for switching pages in console
...
For now they were just hardcodet on page up and down keys.
The new command allows it to bind it for example on the f-keys for laptop users.
2018-06-03 11:48:08 +02:00
Jupeyy
5b4a889ae0
quad positioning to center of text
2018-04-15 19:35:56 +02:00
Jupeyy
c7114e734c
more ui text positioning fixes
2018-04-04 02:40:30 +02:00
Learath
9ae2c16235
Allow changing UsernameReq while connected
2017-10-16 20:08:39 +02:00
Learath
81135d17de
Reset the username on disconnect
2017-10-16 20:01:33 +02:00
heinrich5991
1ebb4f89a6
Reopen: Add a flag for rcon login via username ( #800 )
...
This uses an extended protocol message to signal that rcon
authentication might require a username, allowing the client to enable
the username prompt.
Add a forgotten logout on key update
2017-07-24 21:43:55 +02:00
def
37a08e8ef0
Support pageup, pagedown, home, end buttons in menus
2017-07-04 22:07:02 +02:00
Learath2
ed30c0b636
Clear only on a dc. Let rcon work during map change
2017-03-28 14:24:53 +02:00
Learath2
b52ed30618
Reset input when server/map changes. Fixes #633
2017-03-28 14:24:53 +02:00
Learath2
93ac8a97b1
Only reset auth on server change
2017-03-28 01:47:24 +02:00
Learath2
80f9d7a2ca
Reset the username input on server/map change.
2017-03-28 01:47:24 +02:00
heinrich5991
6302e4d7e0
Fix some style issues and a > to >=
2017-03-06 20:11:23 +01:00
Learath2
cbb5891263
Introduce ugly workaround to allow empty usernames
2017-03-06 13:49:08 +01:00
Learath2
adfd6ca644
Enable the username prompt on client side
2017-03-02 18:16:50 +03:00
Freddie Wang
e5f23cd87c
Added full IME support
...
Now with display of editing text.
2016-08-14 22:16:06 -07:00
def
63b92b729e
Fix completion rendering on new input
2016-05-22 21:31:35 +02:00
def
0217a76771
accept input when opening, but not at first frame to discard the input that caused the console to open ( fixes #443 again)
2016-05-22 21:23:33 +02:00
def
1d98ff031c
Immediately accept input while console is still opening ( fixes #484 )
2016-05-22 02:12:52 +02:00
def
b0b2774695
Clean up other paste code a bit
2016-05-11 18:00:27 +02:00
def
7e7bfcddd2
Fix console autocompletion ( fixes #451 )
2016-05-01 20:30:34 +02:00
def
915bce38fc
Toggling console with custom bind doesn't print that key on console ( fixes #443 )
2016-05-01 00:26:03 +02:00
def
4761608329
Input fixes from TW master for mouse wheel
2016-04-30 20:11:26 +02:00
def
a1403ef457
Make sure GetClipboardText's null returns are handled properly
2016-04-29 21:56:38 +02:00