Timotei Dolean
af7f958661
eclipse plugin: The parsed tag's keys should be required
2011-07-26 15:39:12 +00:00
Timotei Dolean
221f18af08
eclipse plugin: Create the 'getWMLTags' and 'getWMLKeys'...
...
...methods and attach them to the WMLTag class instead of using the
WMLUtils class
2011-07-26 15:38:33 +00:00
Timotei Dolean
62ef78e299
eclipse plugin: Delete the just removed package from the export list
2011-07-26 15:38:13 +00:00
Timotei Dolean
725c406f6c
eclipse plugin: Move the .wml.core classes into .wml...
...
...and remove the debug information
2011-07-26 15:37:48 +00:00
Timotei Dolean
1ddd06cec0
eclipse plugin: Oops. Forgot to commit some files in the previous commit
2011-07-26 15:37:30 +00:00
Timotei Dolean
c22099b7f2
eclipse plugin: Rework a bit the grammar...
...
...to remove pure DataTypes grammar elements
2011-07-26 15:36:48 +00:00
Timotei Dolean
7c04c02423
eclipse plugin: Trim the quotes when adding a new primitive
2011-07-26 15:36:15 +00:00
Timotei Dolean
5bdcb47e8f
eclipse plugin: Refactor the whole generated schema.
...
Now it bases on the same classes the grammar model uses.
2011-07-26 15:35:49 +00:00
Timotei Dolean
3edabb3e68
eclipse plugin: The cardinality operations should be available...
...
...on every WMLExpression
2011-07-26 15:35:16 +00:00
Timotei Dolean
14f2e6a649
eclipse plugin: Add convenience methods...
...
...in the generated grammar classes for converting the WMLExpression
to WMLTag/Key
2011-07-26 15:34:57 +00:00
Timotei Dolean
840922fcee
eclipse plugin: Enhance the existing WMLFactory with some methods
2011-07-26 15:34:40 +00:00
Timotei Dolean
bff4e240b2
eclipse plugin: Add the rest of old Tag and TagKey classes attributes...
...
...to the Grammar ones
2011-07-26 15:34:21 +00:00
Timotei Dolean
06ae888c4f
eclipse plugin: Transform the SchemaParser's getOutput method...
...
...to a general utility method
2011-07-26 15:34:03 +00:00
Timotei Dolean
a6132677d1
eclipse plugin: Set the default for EString attributes...
...
...to the empty string instead of null
2011-07-26 15:33:43 +00:00
Timotei Dolean
07389efa2b
eclipse plugin: Start working on merging the current...
...
...grammar generated models with the already existing in the schema
package.
2011-07-26 15:33:22 +00:00
Timotei Dolean
5f58e1f7c3
eclipse plugin: Implement parsing of the lua tag's children attributes
2011-07-26 15:33:05 +00:00
Timotei Dolean
71df4a5222
eclipse plugin: Add a simple lua parser that parses the tags from lua code.
2011-07-26 15:32:47 +00:00
Timotei Dolean
b50f805750
eclipse plugin: Refactor a bit the SimpleWMLParser...
...
...to make it more concrete on what it can do
2011-07-26 15:32:29 +00:00
Timotei Dolean
43f91931b7
eclipse plugin: Add support for custom events in the content assist
2011-07-26 15:32:12 +00:00
Timotei Dolean
73db9b5a1b
eclipse plugin: Use a separate log file for the invoked tools
2011-07-26 15:31:54 +00:00
Timotei Dolean
04152c45ff
eclipse plugin: Refactored the whole variable scoping code.
...
Now it is properly shown in the content assist only if the current
scope if found in the variable's list.
2011-07-26 15:31:37 +00:00
Timotei Dolean
76c02a1a05
eclipse plugin: Fix a NPE exception
2011-07-26 15:31:20 +00:00
Timotei Dolean
4670419127
eclipse plugin: Refactor a bit the deserialization...
...
...to deserialize properly the DependencyListBuilder
2011-07-26 15:31:04 +00:00
Timotei Dolean
e311df23b7
eclipse plugin: Fix a NullPointerException
2011-07-26 15:30:48 +00:00
Timotei Dolean
90e2a794eb
eclipse plugin: Major overhaul for the ProjectCache.
...
Use the java's built-in serialize/deserialize mechanism
instead of manually doing save/loading.
2011-07-26 15:30:29 +00:00
Timotei Dolean
f7a0b20a64
eclipse plugin: Remove an obsolete method
2011-07-26 15:30:11 +00:00
Timotei Dolean
6576b785ae
eclipse plugin: fix the logic for handling the...
...
...'configOnly' boolean parameter, and add cases
for handling removed variables
2011-07-26 15:29:55 +00:00
Timotei Dolean
952b52fe49
eclipse plugin: Add a clarifying comment
2011-07-26 15:29:39 +00:00
Timotei Dolean
858eced060
eclipse plugin: Re-implement the start-end tag...
...
...matching since the previous one made the CPU to stay on 100% and
keep spawning threads for the modified xtext resource model
2011-07-26 15:29:22 +00:00
Timotei Dolean
ae52e466d4
eclipse plugin: fix a typo in the changelog
2011-07-26 15:29:05 +00:00
Timotei Dolean
8cf5d7eb7c
eclipse plugin: Add the parsed variables to the variables proposal list
2011-07-26 15:28:48 +00:00
Timotei Dolean
7420f6b659
eclipse plugin: Get rid of the WMLSaxHandler...
...
...and replace it with the SimpleWMLParser
2011-07-26 15:28:30 +00:00
Timotei Dolean
16d4519de8
eclipse plugin: Make the variables reside in the...
...
...project cache instead of the file
2011-07-26 15:28:11 +00:00
Timotei Dolean
84c2a50213
eclipse plugin: Implement the adding of new found variables
2011-07-26 15:27:38 +00:00
Timotei Dolean
0215dd54e7
eclipse plugin: Switch over to using a Multimap...
...
...for storing the variables in each WML Config fil
2011-07-26 15:27:10 +00:00
Timotei Dolean
c275ae48be
eclipse plugin: Create a simple wml parser that...
...
...parses the xtext's resource of a cfg file into a WMLConfig
structure
2011-07-26 15:26:04 +00:00
Nils Kneuper
642c3cf602
applied patch #2663 by alarantalara: Make wesnoth-optipng work on systems with BSD stat
2011-07-24 10:28:37 +00:00
Mark de Wever
b11e53220c
Update the annotations.
...
Also fixes:
- A type usage in the canvas.
- The wiki grabber properly ignore an @allow.
Applies patch #2629 .
2011-07-17 14:48:07 +00:00
Timotei Dolean
ca1ac3fca1
eclipse plugin: Rework the 'getContainers' method...
...
...to adapt to the new grammar
2011-07-16 20:59:17 +00:00
Timotei Dolean
8d8f27b43f
eclipse plugin: Fix faulty 'if'
2011-07-16 20:59:06 +00:00
Timotei Dolean
e46bed8e9d
eclipse plugin: Reorganize the WML Utils class...
...
...and cleanup the WMLUtil toString code for WML node model
2011-07-16 20:58:56 +00:00
Timotei Dolean
239a0f7d33
eclipse plugin: Remove unnecessary classes
2011-07-16 20:58:45 +00:00
Timotei Dolean
ae3f8ca4bf
eclipse plugin: Rework the closing end tag
...
autoedit Strategy
2011-07-16 20:58:36 +00:00
Timotei Dolean
1a9e13b1f3
eclipse plugin: Rework the entire Highlight...
...
...start/end tag strategy. It now uses a non-hacky method of achieving
it.
2011-07-16 20:58:25 +00:00
Timotei Dolean
9698d5bf39
eclipse plugin: Color '~' as macro call and '+' as tag name
2011-07-16 20:58:15 +00:00
Timotei Dolean
b044e12ce3
eclipse plugin: Fix the hyperlink helper: previous...
...
...code didn't take in account that previousSibling returns the AST's
previous node .
2011-07-16 20:58:05 +00:00
Timotei Dolean
1fcf75d7fb
eclipse plugin: Replace the '\\' with '/' path separators...
...
...before returning the path
2011-07-16 20:57:55 +00:00
Timotei Dolean
720a70edfc
eclipse plugin: Rework a bit the Hyperlink Helper...
...
...to conform to the new node model
2011-07-16 20:57:44 +00:00
Timotei Dolean
5b4d5addc7
eclipse plugin: Make an EObjectAtOffsetHelper instance...
...
...singleton so it can be accessed from all places without
the need to instantiate. Also refactor the getActiveFile
method to let it get the editor as parameter.
2011-07-16 20:57:34 +00:00
Timotei Dolean
3535576918
eclipse plugin: Tweak the WMLDocHandler for xtext 2.0
2011-07-16 20:57:24 +00:00