Branch: refs/heads/master
Home: https://github.com/Warzone2100/warzone2100
Commit: abee6a28d50eb57ae46de18e04616fb3c426f6f8
https://github.com/Warzone2100/warzone2100/commit/abee6a28d50eb57ae46de18e04616fb3c426f6f8
Author: Thiago Barcala <[email protected]>
Date: 2020-11-15 (Sun, 15 Nov 2020)
Changed paths:
M lib/netplay/netplay.cpp
M src/hci.cpp
M src/keybind.cpp
M src/multiint.cpp
M src/multijoin.cpp
M src/multilimit.cpp
M src/multimenu.cpp
M src/multiplay.cpp
M src/multiplay.h
M src/wzapi.cpp
Log Message:
-----------
Split sendTextMessage in two functions
Commit: e4ba783117ea0a1776ebe8d09f838c5dde01c7f0
https://github.com/Warzone2100/warzone2100/commit/e4ba783117ea0a1776ebe8d09f838c5dde01c7f0
Author: Thiago Barcala <[email protected]>
Date: 2020-11-15 (Sun, 15 Nov 2020)
Changed paths:
M src/hci.cpp
M src/multiplay.cpp
M src/multiplay.h
Log Message:
-----------
Rename sendTeamMessage
Commit: cfef6ae0ed1073ccd3e7dcca95c42bd7c2dffa16
https://github.com/Warzone2100/warzone2100/commit/cfef6ae0ed1073ccd3e7dcca95c42bd7c2dffa16
Author: Thiago Barcala <[email protected]>
Date: 2020-11-15 (Sun, 15 Nov 2020)
Changed paths:
M src/multiplay.cpp
M src/multiplay.h
Log Message:
-----------
Refactor sendTextMessage
No functional change, just tidying up the code.
Commit: fe23d4e13e4530941cb906d71bf2806dcd0a0d4c
https://github.com/Warzone2100/warzone2100/commit/fe23d4e13e4530941cb906d71bf2806dcd0a0d4c
Author: Thiago Barcala <[email protected]>
Date: 2020-11-15 (Sun, 15 Nov 2020)
Changed paths:
M src/multiplay.cpp
M src/multiplay.h
Log Message:
-----------
Refactor sendChatTeamMessage
No functional change, just tidying up the code.
Commit: 3bc0a348b767fb6e6b745b253b174138544cb14e
https://github.com/Warzone2100/warzone2100/commit/3bc0a348b767fb6e6b745b253b174138544cb14e
Author: Thiago Barcala <[email protected]>
Date: 2020-11-15 (Sun, 15 Nov 2020)
Changed paths:
A src/chat.cpp
A src/chat.h
M src/hci.cpp
M src/multiplay.cpp
M src/multiplay.h
M src/wzapi.cpp
Log Message:
-----------
Create chat module and refactor chat
Commit: ddac1beb9891555e04c0f786f953f32abd18ecaa
https://github.com/Warzone2100/warzone2100/commit/ddac1beb9891555e04c0f786f953f32abd18ecaa
Author: Thiago Barcala <[email protected]>
Date: 2020-11-15 (Sun, 15 Nov 2020)
Changed paths:
M lib/ivis_opengl/textdraw.cpp
Log Message:
-----------
Prevent infinite loop while formatting text
If the given MaxWidth is not enough to accomodate a single character,
the loop will never end.
With these changes, the result will be that each character is placed on
a new line. Ideally this should never happen, cause the result doesn't
look very good, but still better than an infinite loop.
Commit: 8db5ce0cc29cc7dc559361529dfec4fc8e1ddd82
https://github.com/Warzone2100/warzone2100/commit/8db5ce0cc29cc7dc559361529dfec4fc8e1ddd82
Author: Thiago Barcala <[email protected]>
Date: 2020-11-15 (Sun, 15 Nov 2020)
Changed paths:
M lib/ivis_opengl/textdraw.cpp
Log Message:
-----------
Prevent exceeding the MaxWidth with very long word
If a single word doesn't fit in a line the algorithm breaks it and put
the remaining part in the next line. The problem is that the word was
being split after the width is exceeded, so the resulting line break
would contain a line which exceeds the MaxWidth.
Commit: 9b4b201c19ee48ada32b520488e4a852744f5e9c
https://github.com/Warzone2100/warzone2100/commit/9b4b201c19ee48ada32b520488e4a852744f5e9c
Author: Thiago Barcala <[email protected]>
Date: 2020-11-15 (Sun, 15 Nov 2020)
Changed paths:
M lib/framework/geometry.h
M lib/widget/cliprect.cpp
M lib/widget/cliprect.h
M lib/widget/widgbase.h
M lib/widget/widget.cpp
Log Message:
-----------
Refactor widget clipping logic
The clipping logic was moved to the base widget class. This change
enables rendering all the widgets and their descendants, even if an
ancestor is partially clipped. The display function of partially visible
widgets is not called, but its children can still be displayed, as long
as they are completely contained in the clipped rectangle.
Commit: 362bca3342323a4d2420ff6da4d09cfb76788cad
https://github.com/Warzone2100/warzone2100/commit/362bca3342323a4d2420ff6da4d09cfb76788cad
Author: Thiago Barcala <[email protected]>
Date: 2020-11-15 (Sun, 15 Nov 2020)
Changed paths:
M lib/widget/scrollablelist.cpp
M lib/widget/scrollablelist.h
M lib/widget/scrollbar.cpp
M lib/widget/scrollbar.h
M src/keyedit.cpp
Log Message:
-----------
Improvements to scrollable list component
- Add "stick to bottom" feature: when enabled, if a new item is added to
the list, and the scroll bar is at the very bottom, after the new item
is added, the scroll will automatically go to the "new bottom".
- Improve logic for calculating if a scroll bar is needed: the new logic
assumes that there is not enough space, resizes all children considering
that there is a scroll bar. If there is enough space, the children are
resized to the full width and the scroll bar is hidden.
- Add possibility to define a padding: the padding will not be taken
into account for the scroll bar only for the scrollable area.
- Make it possible to disable the snapping functionality.
- Fix division by 0 in scroll bar component.
Commit: c9b0d049f108d4f50713dbb46c79538afacf024f
https://github.com/Warzone2100/warzone2100/commit/c9b0d049f108d4f50713dbb46c79538afacf024f
Author: Thiago Barcala <[email protected]>
Date: 2020-11-15 (Sun, 15 Nov 2020)
Changed paths:
M src/console.cpp
M src/console.h
Log Message:
-----------
Make it possible to listen to console messages
Commit: ce0409abdf1bf1ab46302a81a5f65ae17731ff3d
https://github.com/Warzone2100/warzone2100/commit/ce0409abdf1bf1ab46302a81a5f65ae17731ff3d
Author: Thiago Barcala <[email protected]>
Date: 2020-11-15 (Sun, 15 Nov 2020)
Changed paths:
M lib/netplay/netplay.cpp
A lib/widget/paragraph.cpp
A lib/widget/paragraph.h
M src/chat.cpp
M src/chat.h
M src/hci.cpp
M src/keybind.cpp
M src/multiint.cpp
M src/multiint.h
M src/multijoin.cpp
M src/multilimit.cpp
M src/multimenu.cpp
M src/multiplay.cpp
M src/multiplay.h
M src/multirecv.h
A src/time.cpp
A src/time.h
Log Message:
-----------
Make room chat scrollable
- The function sendTextMessage was splitted in two functions, one that
is used for in-game system messages, and another one which is used for
room system messages.
- The room messages were decoupled as much as possible from
addConsoleMessage (it wasn't possible to do it completely, because in
some very exceptional cases, some functions which can be called in-game
or in the room, and they call addConsoleMessage).
Commit: 03afe3c18b92799ea2b20ce0b9989986ec59497a
https://github.com/Warzone2100/warzone2100/commit/03afe3c18b92799ea2b20ce0b9989986ec59497a
Author: Thiago Barcala <[email protected]>
Date: 2020-11-15 (Sun, 15 Nov 2020)
Changed paths:
M lib/widget/paragraph.h
M lib/widget/scrollablelist.h
M src/multiint.cpp
Log Message:
-----------
Add missing override and remove unused fields
Commit: c156e0754b8eaf17ed638bd9f52c0b6c19a95ac9
https://github.com/Warzone2100/warzone2100/commit/c156e0754b8eaf17ed638bd9f52c0b6c19a95ac9
Author: Thiago Barcala <[email protected]>
Date: 2020-11-15 (Sun, 15 Nov 2020)
Changed paths:
M src/time.cpp
Log Message:
-----------
Fix issue with Windows build
Commit: f14bd8b038abbc25496bdef66977a6157155e78e
https://github.com/Warzone2100/warzone2100/commit/f14bd8b038abbc25496bdef66977a6157155e78e
Author: Thiago Barcala <[email protected]>
Date: 2020-11-15 (Sun, 15 Nov 2020)
Changed paths:
M lib/ivis_opengl/textdraw.cpp
Log Message:
-----------
Fix edge cases with text formatting
- Whitespace not fitting at the end of the line causing last word to be
moved to the next line;
- Last word overflowing max width if the line has multiple words.
Commit: f3e111af1bbda534a14a01492f77d06270d7ebae
https://github.com/Warzone2100/warzone2100/commit/f3e111af1bbda534a14a01492f77d06270d7ebae
Author: Thiago Barcala <[email protected]>
Date: 2020-11-15 (Sun, 15 Nov 2020)
Changed paths:
M src/multiint.cpp
M src/multiint.h
Log Message:
-----------
Prevent chatbox from overflowing form border
Commit: b9bf99280a6fabd3a1c835a621a50c3f989f2954
https://github.com/Warzone2100/warzone2100/commit/b9bf99280a6fabd3a1c835a621a50c3f989f2954
Author: Thiago Barcala <[email protected]>
Date: 2020-11-15 (Sun, 15 Nov 2020)
Changed paths:
M lib/widget/paragraph.cpp
Log Message:
-----------
Use const ref for string parameter
Commit: 40793eb059585242f6a4b3162e3d95be26051a48
https://github.com/Warzone2100/warzone2100/commit/40793eb059585242f6a4b3162e3d95be26051a48
Author: Thiago Barcala <[email protected]>
Date: 2020-11-15 (Sun, 15 Nov 2020)
Changed paths:
M lib/widget/scrollablelist.h
M src/keyedit.cpp
M src/multiint.cpp
Log Message:
-----------
Enable scrollable list snap offset by default
Commit: be81112d8d48bfdf30b5a977105ac30b2c84234b
https://github.com/Warzone2100/warzone2100/commit/be81112d8d48bfdf30b5a977105ac30b2c84234b
Author: Thiago Barcala <[email protected]>
Date: 2020-11-15 (Sun, 15 Nov 2020)
Changed paths:
M lib/widget/scrollablelist.cpp
M lib/widget/scrollablelist.h
Log Message:
-----------
Remove duplication in scrollable list updateLayout
Commit: 522039e739d550bcbb0c91871ff584d89a28d46f
https://github.com/Warzone2100/warzone2100/commit/522039e739d550bcbb0c91871ff584d89a28d46f
Author: Thiago Barcala <[email protected]>
Date: 2020-11-15 (Sun, 15 Nov 2020)
Changed paths:
M lib/widget/scrollablelist.cpp
M lib/widget/scrollablelist.h
M lib/widget/scrollbar.cpp
M src/musicmanager.cpp
Log Message:
-----------
Adjust styling for scrollable list
- Make scrollbar background non-transparent
- Add option to set scrollable list background color
- Remove 1px gap between scrollbar and list items
- Add background color to music manager
Commit: d0b5c8848649b69c0d0b65ca972204cca979251e
https://github.com/Warzone2100/warzone2100/commit/d0b5c8848649b69c0d0b65ca972204cca979251e
Author: Thiago Barcala <[email protected]>
Date: 2020-11-15 (Sun, 15 Nov 2020)
Changed paths:
M src/chat.cpp
M src/multiint.cpp
M src/multiplay.cpp
R src/time.cpp
R src/time.h
A src/wztime.cpp
A src/wztime.h
Log Message:
-----------
Rename time.h to wztime.h
Commit: b0d317956e6a0cd1eba9319de7198682eaffaf8b
https://github.com/Warzone2100/warzone2100/commit/b0d317956e6a0cd1eba9319de7198682eaffaf8b
Author: Thiago Barcala <[email protected]>
Date: 2020-11-15 (Sun, 15 Nov 2020)
Changed paths:
M lib/widget/paragraph.cpp
M lib/widget/paragraph.h
Log Message:
-----------
Fix type of size parameter
Commit: 4b3da90dc38ab8315dec14d1f30c5b0f115220e1
https://github.com/Warzone2100/warzone2100/commit/4b3da90dc38ab8315dec14d1f30c5b0f115220e1
Author: Thiago Barcala <[email protected]>
Date: 2020-11-15 (Sun, 15 Nov 2020)
Changed paths:
M lib/widget/paragraph.cpp
M lib/widget/paragraph.h
Log Message:
-----------
Release rendered text cache when not being used
Compare:
https://github.com/Warzone2100/warzone2100/compare/2ab546b3ed73...4b3da90dc38a
_______________________________________________
Warzone2100-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits