Commit graph

1883 commits

Author SHA1 Message Date
Timotei Dolean
287ff23f04 eclipse plugin: make the editor projects follow the main plugin's version 2011-04-17 09:53:06 +00:00
Timotei Dolean
ea912a71b6 eclipse plugin: make some constant fields final 2011-04-17 09:52:41 +00:00
Timotei Dolean
c25c693e5d add dummy entry for building the plugin 2011-04-16 13:56:22 +00:00
Mark de Wever
ac63238411 Improve the wiki grabber validation.
Also add escapes for & and $ in a table and use it at one place.
2011-04-16 09:07:19 +00:00
Timotei Dolean
804b69fd97 eclipse plugin: update the changelog 2011-04-15 16:03:22 +00:00
Timotei Dolean
cd29242c7f eclipse plugin: Fix bug #17882. Now the WML files...
...Make the defalt encoding UTF-8 so it will support BOM
2011-04-15 16:03:07 +00:00
Timotei Dolean
ac087106bd eclipse plugin: add the link to eclipse API too 2011-04-15 16:02:28 +00:00
Timotei Dolean
a1c5abdfca eclipse plugin: update the makefile to generate the javadoc aswell 2011-04-15 07:29:48 +00:00
Timotei Dolean
a1c06468af eclipse plugin: Use the native java messagebox...
...in case we had any errors setting up the logger
instead of using eclipse's shell which was not
even created yet.
2011-04-15 07:29:21 +00:00
Timotei Dolean
6d2b21f13d eclipse plugin: Update the feature version 2011-04-15 07:28:57 +00:00
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