Jupeyy
fd68cc3a05
Add basic selection support for ui ex edit boxes
2021-10-04 19:58:25 +02:00
BloodWod-513
7dc228471e
add ctrl+backspace for ingame console
2021-09-27 18:46:44 +05:00
Robert Müller
3d412646a0
add CUI::MapScreen convenience method
2021-09-22 21:48:55 +02:00
BloodWod-513
4317c43c6b
Console copy string
2021-09-15 19:47:01 +02:00
Jupeyy
4982f8536e
Fix shift + tab selecting second last index in console, player name chat & command chat
2021-09-14 13:15:09 +02:00
bors[bot]
38eba0c83c
Merge #4153
...
4153: Some char array naming convention r=heinrich5991 a=ChillerDragon
<!-- What is the motivation for the changes of this pull request -->
## Checklist
- [ ] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck ) (optional)
Co-authored-by: ChillerDragon <ChillerDragon@gmail.com>
2021-09-13 10:39:39 +00:00
ChillerDragon
5140854d68
Some char array naming convention
2021-09-13 12:21:56 +02:00
ChillerDragon
3eb3dcd48b
Make use of IO_MAX_PATH_LENGTH
...
Inspired by
0a7d0fee7c
2021-09-13 12:14:50 +02:00
Jupeyy
26c5332dc6
Remove components pointers
2021-07-12 12:14:02 +02:00
Jupeyy
8451775821
Make components member of CGameClient
2021-07-12 12:07:31 +02:00
Jupeyy
853e00ed15
More colors from chat in console
2021-03-08 01:20:28 +01:00
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