1423 Commits

Author SHA1 Message Date
Timotei Dolean
bab0f478d3 eclipse plugin: get rid of the jdt dependency 2011-04-15 07:28:31 +00:00
Mark de Wever
0b4c2b8e1c Update config table wiki parser.
Minor change in whitespace, no real change in the output.
2011-04-14 18:40:21 +00:00
Mark de Wever
25c6f03fb5 Update formula table syntax.
This change has no changes to the output.
2011-04-14 18:40:11 +00:00
Mark de Wever
33fa0b39db Update the variable_types syntax.
This change has no changes to the output.
2011-04-14 18:40:05 +00:00
Mark de Wever
b186252cc8 Update the window_overview syntax.
This change has no changes to the output.
2011-04-14 18:39:57 +00:00
Mark de Wever
676f3958db Let a string field contain at least one character. 2011-04-14 18:39:51 +00:00
Mark de Wever
038581f8fa Improve the dialog_widgets handling.
This also fixes the field separator when an empty field occurs. The
output is different, but only changes whitespace.
2011-04-14 18:39:45 +00:00
Mark de Wever
83b7ae4f4c Improve widget_overview wiki comment handling.
- Uses a new way to get the regex.

- Allow `nicer' line wrapping.

The next commit will update the formatting used, the output remains
unchanged with this commit.
2011-04-14 18:39:36 +00:00
Mark de Wever
0691d83ddd Add better input validation to the wiki grabber.
Some errors were silently ignored and thus input was silently lost.
2011-04-14 18:39:21 +00:00
Timotei Dolean
5455459253 eclipse plugin: The plugin should run in Eclipse Application mode too 2011-04-10 19:34:25 +00:00
Timotei Dolean
3afa4c201b eclipse plugin: Fix a null reference exception...
...in case the projects explorer is not created
2011-04-10 19:34:08 +00:00
Timotei Dolean
0f67c8db6a eclipse plugin: Use a better way of setting up the workspace 2011-04-10 11:21:59 +00:00
Timotei Dolean
896bea2269 eclipse plugin: Take in account the fact that the...
...directories already exist so they won't be created again
2011-04-10 11:21:40 +00:00
Timotei Dolean
f03b43e17a eclipse plugin: Don't use static fields when we are not needing them
Issue found by "FindBugs"
2011-04-10 10:35:59 +00:00
Timotei Dolean
a9b1eed73c eclipse plugin: Handle the cases when the temporary folder...
...or the log could not be created

Issue found by "FindBugs"
2011-04-10 10:35:42 +00:00
Timotei Dolean
613f765ab6 eclipse plugin:Fix the selection containers logic
Issue found by "FindBugs"
2011-04-10 10:35:24 +00:00
Timotei Dolean
9c6b0998f6 eclipse plugin: Remove unused method and field
Issue found by "FindBugs"
2011-04-10 10:35:09 +00:00
Timotei Dolean
5ee02f8172 eclipse plugin: Don't use the inneficient string(string) contructor
Issue Found by "FindBugs"
2011-04-10 10:34:49 +00:00
Timotei Dolean
62460f6828 eclipse plugin: Remove the need of syncronization by correctly...
...creating the singleton. This uses the IODH idiom

More info at: http://www.ibm.com/developerworks/java/library/j-dcl/index.html

Issue found by "FindBugs"
2011-04-10 10:34:31 +00:00
Timotei Dolean
7a593813e0 eclipse plugin: Use StringBuilder instead of simple string concatenation
Issue found by "FindBugs"
2011-04-10 10:34:12 +00:00
Timotei Dolean
4c519f177a eclipse plugin: Use StringBuilder instead of simple string concatenation
Issue found by "FindBugs"
2011-04-10 10:33:54 +00:00
Timotei Dolean
ecbb07ab16 eclipse plugin: Use a StringBuilder instead of simple string concatenation
Issue found by "FindBugs"
2011-04-10 10:33:34 +00:00
Timotei Dolean
d35b6f9c51 eclipse plugin: Use a StringBuilder instead of simple...
...string concatenation.

Issue found by "FindBugs"
2011-04-10 10:33:15 +00:00
Timotei Dolean
118be9d89d eclipse plugin: Use the entrySet iterator instead of keySet...
...instead of looking up the value by key, since we use both key and
value.

Issue found by "FindBugs"
2011-04-10 10:32:57 +00:00
Timotei Dolean
dd5f575196 eclipse plugin:Remove unused local variable
Issue found by "FindBugs"
2011-04-10 10:32:38 +00:00
Timotei Dolean
5faf8b3c61 eclipse plugin: Use a specialized exception in catch block
Issue found by "FindBugs"
2011-04-10 10:32:20 +00:00
Timotei Dolean
040140cd10 eclipse plugin: Get rid of an always true condition
Issue found by "FindBugs"
2011-04-10 10:32:02 +00:00
Timotei Dolean
32cf5110aa eclipse plugin: Implement the serializable as well,
so if this comparator is used by a TreeMap it can be serialized

Issue found by "FindBugs"
2011-04-10 10:31:40 +00:00
Steven Panek
d14d7bcb6e Converted a straight apostrophe. 2011-04-09 19:39:33 +00:00
Timotei Dolean
c99859699b eclipse plugin:Fix a nullreference exception 2011-04-05 09:03:39 +00:00
Timotei Dolean
d594fdc032 eclipse plugin: Use a FocusListener instead of a ModifyListener
to provide better paths *only* after the whole path
has been written.
2011-04-05 08:26:27 +00:00
Timotei Dolean
4c8ac0431a eclipse plugin: Fix for bug #17875.
Set the initial input to the Workspace root and refresh the view once
a new project has been created.
2011-04-05 08:26:10 +00:00
Timotei Dolean
5c36e9cc91 eclipse plugin: Fix a nullreference exception when there...
...is currently no selection on the workspace
2011-04-03 21:14:08 +00:00
Timotei Dolean
d15b996f68 eclipse plugin: let us guess the userdata dir too 2011-04-03 21:13:50 +00:00
Timotei Dolean
14ef00ff44 eclipse plugin:Remove the now obsolete unit templates 2011-04-03 21:13:30 +00:00
Timotei Dolean
433b760507 eclipse plugin: Prevent redundant parsing of the scenario/_main.cfg file...
...when starting a campaign/scenario, but instead use the cached IDs
2011-04-02 09:39:48 +00:00
Steven Panek
faceeec679 Put a diaeresis on the 'i' in 'naive'. 2011-03-31 01:03:27 +00:00
Steven Panek
b5884ab28b Converted a fake em dash to a real one; fixed spacing. 2011-03-26 21:22:07 +00:00
Thibault Févry
6674487fb0 Remove W604 pep8 warning on files. Use repr(x) instead of deprecated 2011-03-25 20:46:50 +00:00
Thibault Févry
3b7e87fc93 Use 'key in dict' instead of deprecated 'dict.has_key(key)' 2011-03-25 19:48:21 +00:00
Steven Panek
3762a02bf0 Complete Mid-day -> Mid-day. 2011-03-25 09:11:29 +00:00
Thibault Févry
46ce51c8ff More whitespace removal 2011-03-24 20:52:22 +00:00
Nils Kneuper
d91f8e488e add a rule to fix the font string automagically for translations
NOTE: the rule line will automatically generate a warning for an
already fixed string (because this is what happens if just something
is appended)
2011-03-20 12:35:27 +00:00
Mark de Wever
d776161ab8 Change the wiki grabber macro definition.
Now looks more like the description part, backwards compability layer is
still there. (The output of the wiki grabber tool didn't change with
this commit.)
2011-03-14 20:36:58 +00:00
Thibault Févry
5f3fdc7f4f Remove trailing whitespaces. 2011-03-12 01:21:10 +00:00
Thibault Févry
384981b974 Use isinstance instead of type() checks.
Use repr() instead of deprecated . Also make it fully respectfull of Pep8.
2011-03-12 01:15:58 +00:00
Nils Kneuper
1b081b5c32 automatically remove the files with pixel differences...
...from the changed file list (making sure that those can't end
committed)
2011-03-11 14:31:18 +00:00
Nils Kneuper
0d5aa46e74 ran utils/wesnoth-optipng
(not commiting any files that were reported as broken, there are many!)

  Original size: 130846 KiB on 10530 files
 Optimized size: 127520 KiB
   Total saving: 3325 KiB = 2% decrease
2011-03-11 14:17:45 +00:00
Steven Panek
c02be28c9e 'Mid-Day' -> 'Midday'. 2011-03-02 22:02:45 +00:00
Steven Panek
9d78b8f301 Merged duplicate domains. 2011-03-02 21:16:07 +00:00