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
Timotei Dolean
82e987e49e
eclipse plugin: Tweak the folding for the preprocessor directives
2011-07-16 20:57:11 +00:00
Timotei Dolean
63eb1c3dea
eclipse plugin: Prevent a NullPointerException when...
...
...there is no selected install
2011-07-15 21:09:48 +00:00
Timotei Dolean
7f61ee7a0d
eclipse plugin: Fix the setupWorkspace, by using...
...
...the default install instead of the null one
2011-07-15 21:09:38 +00:00
Timotei Dolean
b65bdd08dd
eclipse plugin: Fix the indentation of the message
2011-07-15 21:09:29 +00:00
Timotei Dolean
f9eead0b01
eclipse plugin: Update the dependencies
2011-07-15 21:09:19 +00:00
Timotei Dolean
89e0d88b1c
eclipse plugin: Migrate the rest of code to the new node model
2011-07-15 21:09:09 +00:00
Timotei Dolean
359d2e3b4f
eclipse plugin: Mention xtext 2.0 upgrade
2011-07-15 21:08:58 +00:00
Timotei Dolean
89348b052e
eclipse plugin: Remove obsolete code
2011-07-15 21:08:49 +00:00
Timotei Dolean
530ca4265a
eclipse plugin: Migrade the FoldingRegionProvider as well
2011-07-15 21:08:38 +00:00
Timotei Dolean
0913e25cfc
eclipse plugin: Set the default string as default EOL value as well.
2011-07-15 21:08:28 +00:00
Timotei Dolean
493f26fdd8
eclipse plugin: More migration: remove the...
...
...dependency on the now non-existing bracket matching class, and use
the JFace's CharacterPairMatcher. Still needs rework
2011-07-15 21:08:17 +00:00
Timotei Dolean
948399d4a7
eclipse plugin: Use the new methods and classes...
...
...instead of the old node model's ones
2011-07-15 21:08:06 +00:00
Timotei Dolean
2b36faa0ff
eclipse plugin: Migrate the remaining old-node model...
...
...class names to the new interfaces
2011-07-15 21:07:55 +00:00
Timotei Dolean
e06e64fb44
eclipse plugin: Migrate to the new warning()...
...
...and error() method signatures
2011-07-15 21:07:44 +00:00
Timotei Dolean
8052a99c4b
eclipse plugin: IAntlrParser -> IParser.
...
Some functionality is changed too much, so left out a method
unimplemented for now
2011-07-15 21:07:34 +00:00
Timotei Dolean
5f7e15624c
eclipse plugin: Switch to the new interface for xtext 2.0
2011-07-15 21:07:25 +00:00
Timotei Dolean
bf6cdd7454
eclipse plugin: Run pdflatex 2 times instead of 1...
...
...so the TOC gets generated aswell.
2011-07-15 21:07:15 +00:00