Commit graph

1566 commits

Author SHA1 Message Date
Mark de Wever
23d973b05a Comment out some grow factors.
They are probably wrong, need some more evaluation. Found by Sytyi's
validation code.
2011-08-23 20:07:11 +00:00
Sytyi Nick
bb4e47439b Schema markup updates 2011-08-23 19:44:49 +00:00
Mark de Wever
d6dbd88628 Add a key for validation.
The key isn't used yet but is planned. Found by Sytyi's validation code.
2011-08-23 19:41:18 +00:00
Mark de Wever
15c616c89c Fix an invalid key.
Detected by Sytyi's validation code.
2011-08-23 19:41:14 +00:00
Mark de Wever
d32cfe007c Remove an unused file.
Detected by Sytyi's validation project.
2011-08-23 19:31:45 +00:00
Sytyi Nick
7458e377cb Updated schema markup for GUI WML 2011-08-22 21:45:56 +00:00
Sytyi Nick
82e3840590 Updated GUI schema. Still not finished yet. 2011-08-17 22:35:33 +00:00
Mark de Wever
b357fb6188 Fix a tag typo.
Found by Sytyi's validation tool.
2011-08-15 17:19:08 +00:00
Mark de Wever
1d3867322d Fix some invalid keys.
Found by Sytyi's validation tool.
2011-08-15 17:19:05 +00:00
Mark de Wever
7862949b18 Fix some invalid keys.
Found by Sytyi's validation tool.
2011-08-15 17:19:02 +00:00
Sytyi Nick
ceb64682d7 Initial version of schema file. Unfortunately, need work yet. 2011-08-13 22:31:36 +00:00
Mark de Wever
bd354685df Fix an invalid key.
Found by Sytyi's validation tool.
2011-08-11 19:55:18 +00:00
Mark de Wever
251ce7207d Fix an invalid key.
Found by Sytyi's validation tool.
2011-08-11 19:55:14 +00:00
Sergey Popov
882bed8c8b GUI2 network transmission dialog improvements:
Added feedback on whether it's connecting/downloading and
made strings translatable.
2011-07-02 18:06:03 +00:00
Sergey Popov
5d5791c20c Network transmission dialog improvement:
Realign the numeric display label and use invalidate_layout()
to ensure that its size will stay correct as it's updated.
2011-06-29 16:39:50 +00:00
Ignacio R. Morelle
14330580e6 gui2: Convert the New Folder dialog to GUI2 2011-06-29 01:46:25 +00:00
Ignacio R. Morelle
b65cba6f96 gui2: campaign_difficulty, simple_item_selector:
...Set standard margins for the central listbox widget (looks nicer this way)
2011-06-27 09:36:28 +00:00
Ignacio R. Morelle
74855ceb19 gui2: lobby_player_info: Use titlecase; simply button labels 2011-06-24 09:51:38 +00:00
Ignacio R. Morelle
81f65ce2df gui2: mp_cmd_wrapper: Use titlecase correctly; simplify Send PM button text 2011-06-24 09:51:13 +00:00
Ignacio R. Morelle
1399aaf6c1 gui2: Use titlecase for the Change Control dialog title 2011-06-24 09:35:13 +00:00
Ignacio R. Morelle
b221034aa8 Update the official forum board URL in MP menu tooltip
http://www.wesnoth.org/forum/ currently redirects to http://forums.wesnoth.org/.
2011-06-24 09:31:20 +00:00
Ignacio R. Morelle
928d55e61b gui2: Switch new lobby to use the borderless window definition 2011-06-24 03:11:16 +00:00
Ignacio R. Morelle
10d77e1540 gui2: Create a definition for windows without border decorations 2011-06-24 03:10:55 +00:00
Sergey Popov
8b5ab058b2 Added numeric progress display to GUI2 network transmission dialog. 2011-06-23 15:39:37 +00:00
Ignacio R. Morelle
6cd5de7712 Add icon support to the GUI2 add-ons download dialog
Really just fooling around. This design isn't quite what I want.
2011-06-20 05:42:31 +00:00
Sergey Popov
2e0b1f7853 Started implementing the gui2 network transmission dialog. 2011-06-17 00:17:41 +00:00
Lukasz Dobrogowski
22243cb1ba patch #1937 by Quetzalcoatl: Randomizing starting positions in mp games 2011-05-12 17:22:20 +00:00
Ignacio R. Morelle
fb67a2822f gui2: Set maximum_width to 800 for mp_login and mp_connect dialogs 2011-05-05 01:22:01 +00:00
Ignacio R. Morelle
3b4b45b7c4 gui2: Fix mp_connect window description 2011-05-05 01:19:00 +00:00
Mark de Wever
4ac8cababc Add a new give_control command.
Applies patch #2625 with some minor modifications.
2011-04-10 16:40:40 +00:00
Mark de Wever
d2d866cdc1 Allow text wrapping in the transient dialog.
Found during a code review, also reported by Shadowmaster and reported
in bug #17945.
2011-03-26 12:43:07 +00:00
Mark de Wever
925d897241 Polish the tmp_login class.
- Use the new register functions.
- Updated wiki comment.
- change the scroll_label by a wrapping label.
2011-03-13 07:49:40 +00:00
Mark de Wever
71c0db2a12 Strip trailing whitespace. 2011-03-06 18:27:59 +00:00
Mark de Wever
7cb892abff Add tooltips to avoid WML warnings.
Introduced by 2011-03-06T08:28:23Z!koraq@xs4all.nl, but didn't want to mix the revert new code.
2011-03-06 08:30:41 +00:00
Mark de Wever
360ade6068 Revert the entire new messages stuff.
The main reason for reverting are:

The stuff has hampered my development for almost a month now, including
forcing me to delay things I need to/want to work on.

The recruit dialog looks very ugly on 1024x768 since it doesn't fit entirely
on the screen. It's still usable, but lowering the height of the main window
makes the dialog unusable.

The code includes several new wml errors:

"Invalid WML found: Window builder: parsing resolution tip with empty 'id'
field. Will become mandatory in 1.9.7. (4)"

The unit tests are broken, and instead of being fixed properly their
code is being `fixed' by disabling tests. 2011-03-05T20:39:56Z!fabianmueller5@gmx.de indicates it
should fix the unit tests, but it doesn't so the code seems
untested. Which means I still can't use the tests for other code I
want to commit.

In 2011-03-05T09:12:02Z!fabianmueller5@gmx.de fendrin commits not working code with the goal to
force me to help him, which I consider bad practice, show the code in
a pastebin if you want help. I want to work on things when _I_ choose
to, and not being coerced to by committing bad code.

Commit 2011-03-05T12:04:13Z!fabianmueller5@gmx.de throws private _GUI* macros in a global header,
which might break other code in unexpected ways. The file modified
even contains the documentation regarding how to use GUI* and _GUI*
macros. And another remark that I should look at fixing the issue.

So I had enough of this stuff; it's incomplete, buggy and hampers the work
of at least one other developer for several weeks now.

Reverts fendrin's commits:

2011-02-11T19:01:16Z!fabianmueller5@gmx.de
2011-02-12T06:25:47Z!fabianmueller5@gmx.de
2011-02-12T16:43:20Z!fabianmueller5@gmx.de
2011-02-12T17:37:40Z!fabianmueller5@gmx.de
2011-02-12T18:36:30Z!fabianmueller5@gmx.de
2011-02-12T19:59:34Z!fabianmueller5@gmx.de
2011-02-12T20:47:43Z!fabianmueller5@gmx.de
2011-02-12T21:41:35Z!fabianmueller5@gmx.de
2011-02-12T22:35:15Z!fabianmueller5@gmx.de
2011-02-14T19:24:40Z!fabianmueller5@gmx.de
2011-02-14T20:55:55Z!fabianmueller5@gmx.de,
2011-03-02T18:59:59Z!fabianmueller5@gmx.de
2011-03-03T13:34:48Z!fabianmueller5@gmx.de
2011-03-03T13:56:10Z!fabianmueller5@gmx.de
2011-03-03T17:32:49Z!fabianmueller5@gmx.de
2011-03-04T00:52:26Z!fabianmueller5@gmx.de
2011-03-04T11:27:39Z!fabianmueller5@gmx.de
2011-03-04T11:28:48Z!fabianmueller5@gmx.de
2011-03-05T09:12:02Z!fabianmueller5@gmx.de
2011-03-05T11:16:09Z!fabianmueller5@gmx.de
2011-03-05T11:19:37Z!fabianmueller5@gmx.de
2011-03-05T11:21:19Z!fabianmueller5@gmx.de
2011-03-05T11:32:25Z!fabianmueller5@gmx.de
2011-03-05T11:47:30Z!fabianmueller5@gmx.de
2011-03-05T12:00:39Z!fabianmueller5@gmx.de
2011-03-05T12:01:22Z!fabianmueller5@gmx.de
2011-03-05T12:02:03Z!fabianmueller5@gmx.de
2011-03-05T12:02:46Z!fabianmueller5@gmx.de
2011-03-05T12:04:13Z!fabianmueller5@gmx.de
2011-03-05T12:05:02Z!fabianmueller5@gmx.de
2011-03-05T12:20:25Z!fabianmueller5@gmx.de
2011-03-05T12:24:39Z!fabianmueller5@gmx.de
2011-03-05T13:56:43Z!fabianmueller5@gmx.de,
2011-03-05T16:32:38Z!fabianmueller5@gmx.de
2011-03-05T16:34:34Z!fabianmueller5@gmx.de
2011-03-05T16:35:17Z!fabianmueller5@gmx.de
2011-03-05T20:39:56Z!fabianmueller5@gmx.de
2011-03-05T22:17:03Z!fabianmueller5@gmx.de
2011-03-05T22:29:29Z!fabianmueller5@gmx.de.

Also reverts a build system change that is no longer needed:

2011-03-05T16:35:04Z!anonymissimus@arcor.de
2011-03-06 08:28:23 +00:00
Fabian Müller
91ef55e1e7 Adjusted the button placement. 2011-03-05 22:29:29 +00:00
Fabian Müller
28ee828a3c Adjusted the position and layout of the recruit dialog. 2011-03-05 22:17:03 +00:00
Fabian Müller
0b82ea29bc Preliminary fix to support recruiting at low resolutions. 2011-03-05 16:35:17 +00:00
Fabian Müller
f4db8534b7 Switched to scalled images, still not working. 2011-03-05 16:34:34 +00:00
Fabian Müller
ab32959395 Got rid of the config for the old wml_message dialog. 2011-03-05 12:05:02 +00:00
Fabian Müller
3e96305e73 Added macros from the old wml_message.
mordante, do you know a better place for them?
2011-03-05 12:04:13 +00:00
Fabian Müller
d0f6d7d2f7 Code cleanups. 2011-03-05 11:32:25 +00:00
Fabian Müller
18631914f8 image_definition for scaled unit portraits, not working. 2011-03-05 11:21:19 +00:00
Fabian Müller
2136baba2a Demonstration commit to gain help from mordante 2011-03-05 09:12:02 +00:00
Fabian Müller
af7a57c30a WML for the recruit gui2 dialog. 2011-03-04 11:27:39 +00:00
Mark de Wever
2dc8c91a61 Convert the debug clock to a non modal dialog.
This is just a test case also enables a helptip for the hour progress
bar.
2011-02-20 09:05:58 +00:00
Mark de Wever
4e30569988 Add helptip information to the tooltip.
When a widget has both a tooltip and helptip a small text to notify
the user about it. This also means when there is a helptip the tooltip
needs to have a text.
2011-02-20 07:26:05 +00:00
Fabian Müller
2d01566730 Fix the unit tests for gui2. 2011-02-14 20:55:55 +00:00
Fabian Müller
836d86b65f Tried another grouping of the buttons to allow lower resolutions 2011-02-14 19:24:40 +00:00
Mark de Wever
86174bca3c Add tooltips and helptips to all windows.
All use the basic default now, this will need some window based tuning
later on.
2011-02-13 18:41:58 +00:00