Timotei Dolean
7e7cff2488
eclipse plugin: revert commit mistaken
2010-08-16 09:11:32 +00:00
Timotei Dolean
ed35f3f880
eclipse plugin: update the WML grammar
...
Added support for preprocessor constructs.
This still doesn't handle some of WML constructs like:
1) {name}=value - attributes that have a macro key name
2) incomplete tag definitions:
\#define MACRO
[tag]
\#enddef
\#define MACRO_END
[/tag]
\#enddef
2010-08-16 09:11:12 +00:00
Timotei Dolean
9e86aae3fa
eclipse plugin: update the grammar.
...
This will trim the mainline error count down to 36
2010-08-16 09:10:21 +00:00
Timotei Dolean
5b076e5d1c
eclipse plugin: update the grammar to a better one...
...
...With this we got "just" 356 mainline errors
2010-08-16 09:09:59 +00:00
Timotei Dolean
0802e0c27a
eclipse plugin: split the checkings for tags...
...
...and disable them until grammar is proper
2010-08-16 09:09:43 +00:00
Timotei Dolean
6380ed7373
eclipse plugin: add method in grammar tests for showing tokenisation
2010-08-16 09:09:29 +00:00
Timotei Dolean
21469d1dda
eclipse plugin: use '_Mainline_' prefix instead of...
...
...'_Campaign_' for mainline campaign projects
2010-08-16 09:08:44 +00:00
Timotei Dolean
9654ef449f
eclipse plugin: refactor the cache for config files...
...
...so we have a more general usage
2010-08-14 19:52:23 +00:00
Timotei Dolean
79d2e7787a
eclipse plugin: parse variables from the config files
2010-08-14 19:52:07 +00:00
Timotei Dolean
eb0a15d48c
eclipse plugin: add code for saving the project cache
2010-08-14 19:51:52 +00:00
Timotei Dolean
1792d3bda3
eclipse plugin: switch from 'Properties' way of storing...
...
...preferences to 'DialogSettings' which offers greater
control over the file
2010-08-14 19:51:38 +00:00
Timotei Dolean
fe7aeaff93
eclipse plugin: remove 'build.xml' from template...
...
...as it's created internal based on user's choice
2010-08-14 19:51:23 +00:00
Timotei Dolean
65e64c6e21
eclipse plugin: skip creating projects for ".*" files
2010-08-14 19:50:48 +00:00
Timotei Dolean
e79b2485d7
it seems git forgot I've changed the directory name too
2010-08-14 09:34:36 +00:00
Timotei Dolean
95e9557cee
eclipse plugin: rename 'wesnoth_eclipse_plugin' to 'org.wesnoth'
2010-08-14 09:29:48 +00:00
Timotei Dolean
f5a8eb2ec4
eclipse plugin: update the changelog
2010-08-14 08:56:19 +00:00
Timotei Dolean
84ce7b142e
eclipse plugin:
...
allow the user to reload cached defines
allow the user to choose whether to create or not 'build.xml'
2010-08-14 08:56:05 +00:00
Timotei Dolean
88795e0723
eclipse plugin: handle the case when no file with timestamps is created
2010-08-14 08:55:51 +00:00
Timotei Dolean
67153cd39b
eclipse plugin: ensure all plugin settings are...
...
...successfully saved by terminating the plugin as late
possible
2010-08-14 08:55:37 +00:00
Timotei Dolean
21e1540a8e
eclipse plugin: make 'PreprocessorUtils' a singleton...
...
...thus allow lazy loading of file timestamps improving
plugin's startup time
2010-08-14 08:55:23 +00:00
Timotei Dolean
eb0f54ff6b
eclipse plugin: optimize preprocessing by saving...
...
...already "preprocessed files"'s timestamps to disk
and load them at startup
2010-08-14 08:55:08 +00:00
Timotei Dolean
1697ca19ea
eclipse plugin: fix the regex replacing in the path...
...
...by replacing '\' with '/'
2010-08-14 08:54:54 +00:00
Timotei Dolean
277a2802af
eclipse plugin: convert HashMap to Map
2010-08-14 08:54:39 +00:00
Timotei Dolean
0286c72ca9
eclipse plugin: optimize the building by reading...
...
...the defines file only at the end of the build
2010-08-14 08:54:25 +00:00
Timotei Dolean
f5188e2caf
eclipse plugin: add a checkbox for allowing the user...
...
...select whether creting or not the '_server.pbl' file
2010-08-14 08:54:10 +00:00
Timotei Dolean
f08fa83ce9
eclipse plugin: fix the creation of projects when both...
...
...description and handle are null
2010-08-14 08:53:55 +00:00
Timotei Dolean
374ec89b69
eclipse plugin: add wizard for wesnot .cfg file
2010-08-14 08:53:41 +00:00
Timotei Dolean
2b512e0b05
eclipse plugin: add menu entry for regenerating the...
...
...build files. Also, the add/remove nature is now
available on non-wesnoth projects too
2010-08-14 08:53:28 +00:00
Timotei Dolean
4720b1065c
eclipse plugin: fix the build.xml created by...
...
...specifing the project name as the target copy directory
2010-08-14 08:53:14 +00:00
Timotei Dolean
aad95e798e
eclipse plugin: add priorities on proposal so we are...
...
...getting important stuff faster.
2010-08-14 08:53:00 +00:00
Timotei Dolean
3124bff3a8
eclipse plugin: add hooks for future code validators
2010-08-14 08:52:46 +00:00
Timotei Dolean
d5f82fee1a
eclipse plugin: fix a possible situation when the...
...
...map_data doesn't contain quotes or '{'
2010-08-14 08:52:33 +00:00
Timotei Dolean
568e619b1d
eclipse plugin: fix the indentation used on...
...
...a direct tag child by subtracting 1 in case of rule proposal
2010-08-14 08:52:19 +00:00
Timotei Dolean
7ab2c8bc90
eclipse plugin: add completion proposal for enum attribute values.
...
Refactor some TagKey functionality
2010-08-14 08:52:05 +00:00
Timotei Dolean
db67fb7677
eclipse plugin: update grammar
2010-08-14 08:51:47 +00:00
Timotei Dolean
dee69baef0
eclipse plugin: remove references to user addons project (part2)
2010-08-14 08:51:30 +00:00
Timotei Dolean
9d72c86ebf
eclipse plugin: remove references to user addons project
2010-08-14 08:51:16 +00:00
Timotei Dolean
e871c41109
eclipse plugin: disable the xtext nature until...
...
...it's really used. this should fix the 'no heap space' problems
2010-08-14 08:51:02 +00:00
Timotei Dolean
6aae7a3739
eclipse plugin: make the new campaign and new empty projects...
...
...make use of the same method for creating the projects
2010-08-14 08:50:49 +00:00
Timotei Dolean
fccb0d3c90
eclipse plugin: delay the checking for conditions...
...
...in the activator and make sure the workbench is up and running
before checking them
2010-08-14 08:50:35 +00:00
Timotei Dolean
1e5daa593f
eclipse plugin: create a default working set...
...
...when the user setups the workspace
2010-08-14 08:50:21 +00:00
Timotei Dolean
9aff193cf2
eclipse plugin: updated the guide message on setupworkspace
2010-08-14 08:49:55 +00:00
Timotei Dolean
6222dd9ec7
eclipse plugin: removed the 'user addons' project and instead...
...
...create projects for every directory that exists in data/campaigns
and in useraddons/data/add-ons
2010-08-14 08:49:41 +00:00
Timotei Dolean
10ba1c44b6
eclipse plugin:disable auto regenerating build.xml...
...
...since we can have project that are located in data/
2010-08-14 08:49:27 +00:00
Timotei Dolean
91aaddb1ea
eclipse plugin: remove the starting and ending quotes...
...
...when parsing description tag
2010-08-14 08:49:14 +00:00
Timotei Dolean
33200e9d61
eclipse plugin: implement showing documentation for tags.
...
Currently just the 'description' from schema is supported
2010-08-14 08:49:00 +00:00
Timotei Dolean
61af2e138d
eclipse plugin: add helper methods for finding tags and tagkeys by name
2010-08-14 08:48:46 +00:00
Timotei Dolean
38a4b03128
Revert "eclipse plugin: update the grammar"
2010-08-11 16:02:10 +00:00
Timotei Dolean
6eaec68cce
Revert "eclipse plugin: update entity names to match the latest grammar"
...
This reverts commit f73ea6aba20e69faa198c0be899f03ca63e9fe0f.
2010-08-11 16:01:54 +00:00
Timotei Dolean
09191488a5
Revert "eclipse plugin: update the grammar"
2010-08-11 16:01:17 +00:00