Commit graph

1883 commits

Author SHA1 Message Date
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
Timotei Dolean
76134565a8 eclipse plugin: Update the renamed classes to use interfaces instead 2011-07-15 21:07:04 +00:00
Timotei Dolean
8e81665f3b eclipse plugin: Update AutoEdit Strategy to the new one 2011-07-15 21:06:53 +00:00
Timotei Dolean
75092c8b56 eclipse plugin: Re-generate the grammar for the upgrade to xtext 2.0 2011-07-15 21:06:38 +00:00
Timotei Dolean
8424a402c8 eclipse plugin: Start implementing a better way of...
...checking each config file's information required for intellisense.
2011-07-15 21:06:26 +00:00
Timotei Dolean
bacc432505 eclipse plugin: Bump the required xtext version to 2.0 2011-07-15 21:06:16 +00:00
Timotei Dolean
029f8cc072 eclipse plugin: Update the user manual as well...
...and remove trailing spaces
2011-07-15 21:06:07 +00:00
Timotei Dolean
25cd35c30e eclipse plugin: Update the dev manual with suggestions...
...from fendrin. Also bump the eclipse version to indigo as we're
gonna upgrade xtext to 2.0 as well
2011-07-15 21:05:57 +00:00
Timotei Dolean
fb7939c2e9 eclipse plugin: remove the build eclipse project...
...and let it be just a build directory
2011-07-15 21:05:47 +00:00
Timotei Dolean
d9044c7a9e eclipse plugin: Work a bit on the grammar and make it...
...take in account proper IFDEF format and also the order of the macro
calls
2011-07-15 21:05:34 +00:00
Timotei Dolean
b75beee2c6 eclipse plugin: Add a Xtend post processor to set...
...the grammar's default values. So, we'll have empty strings instead
of null, when there is no value set.  Also made the
plus/relative/point be strings instead booleans.
2011-07-15 21:05:20 +00:00
Timotei Dolean
df0bc04176 eclipse plugin: Rename 'ConfigFile' to 'WMLConfig' 2011-07-15 21:05:08 +00:00
Timotei Dolean
d7289ab78d eclipse plugin: Move the location of the 'preprocessed.txt'...
...to the temporary Folder
2011-07-15 21:04:58 +00:00
Timotei Dolean
ebd14a50a9 eclipse plugin: Rename the 'getDefines' into 'getMacros' 2011-07-15 21:03:27 +00:00
Timotei Dolean
e1890d3a57 eclipse plugin: Implement the content assist for CAC Variables and events 2011-07-13 20:48:05 +00:00
Timotei Dolean
53402340cb eclipse plugin: On full build, clear all previously cached information. 2011-07-13 20:47:53 +00:00
Timotei Dolean
62a75d7a08 eclipse plugin: Fix a typo 2011-07-13 20:47:42 +00:00
Timotei Dolean
aee91eef23 eclipse plugin: Implement the CAC loading in the Templates Provider 2011-07-13 20:47:30 +00:00
Timotei Dolean
f1768f3fac eclipse plugin: Add the Events and Variables Content Assist Config files 2011-07-13 20:47:18 +00:00
Timotei Dolean
556a25124b eclipse plugin: Remove the forced return statement 2011-07-13 20:47:06 +00:00
Timotei Dolean
b64c329b2a eclipse plugin: Remove debug printing 2011-07-13 20:46:55 +00:00
Timotei Dolean
3f3b96668d eclipse plugin: Big commit. Further enhance the builder...
...so it can update modified files as well. It now works to change the
order of the includes
2011-07-13 20:46:43 +00:00
Timotei Dolean
b178c62a2d eclipse plugin: Create the tree cache if it's not existing 2011-07-13 20:46:31 +00:00
Timotei Dolean
6ee95923ee eclipse plugin: fix a possible out of bounds exception 2011-07-13 20:46:19 +00:00
Timotei Dolean
aae79a8237 eclipse plugin: Remove the 'removedDirectories' functionality...
...as it's not useful. Also tweak a bit the index when removing a node
2011-07-13 20:46:08 +00:00
Timotei Dolean
0f352f62b1 eclipse plugin: use file project relative path...
...to index in the config instead of just the fileName
2011-07-13 20:45:54 +00:00
Steven Panek
ce280fced1 Eliminated a Britishism. 2011-07-12 21:06:31 +00:00
Timotei Dolean
b1b2114546 eclipse plugin: When removing a _main.cfg, restore...
...the previous directories/entries
2011-07-10 20:48:32 +00:00
Timotei Dolean
789a29c07c eclipse plugin: Tweak the new node's index. If the...
...new index is greater than the previous + step, use the latter
2011-07-10 20:48:23 +00:00
Timotei Dolean
c446bfd401 eclipse plugin: take in account the special file...
...'_main.cfg' case when adding a new node to the list
2011-07-10 20:48:14 +00:00
Timotei Dolean
34614cb84e eclipse plugin: Use the parent's file path to match...
...the file in the directories list
2011-07-10 20:48:05 +00:00
Timotei Dolean
a2f08a41d8 eclipse plugin: Refactor and reorganize the whole list builder 2011-07-10 20:47:56 +00:00
Timotei Dolean
9969b98ad1 eclipse plugin: Tweak the internal_addNode function...
...to correctly set the new node's index and take in account all cases
when adding it to the list
2011-07-10 20:47:47 +00:00
Timotei Dolean
266d32cf58 eclipse plugin: Make the 'Tree' be 'List' 2011-07-10 20:47:37 +00:00