project-navigation
Personal tools

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - RudolfoWood

Pages: [1] 2 3 ... 6
1
Gurus wanted ! / Re: [SMF] hidden forum ?
« on: September 19, 2014, 04:26:34 pm »
if this is still a topic: you can create groups and assign boards to only some groups. If the user is not in the right group, he only sees the public available boards. At least my (old) installation of SMF supports this.
You must create a user group that is not contribution-related.

2
Coding / Re: Requesting help from Java programmer
« on: May 02, 2010, 02:40:43 pm »
I know I did not put anything into svn yet. Most parts of what I actually did for the EMFText plugins needs little java knowledge - almost all code is generated.
I told mattn that I think it would not be worth working with that plugins before 2.3 as they would need adjustments in script names here and there. I even don't know whether it is worth to wait for EMFText developers to switch parser engine (I know they are working on it) to have less need for script adjustments.

3
Coding / Re: Requesting help from Java programmer
« on: April 10, 2010, 09:48:03 am »
I have to say that I started working on EMFText plugins since my last post here, but did not put anything into svn yet. I really should do that as I have syntax for many of the most-needed scripts (e.g. research, item) ready, currently working on the most-wanted gui part (which is imo the most difficult one).

4
Mapping / Re: 2 potential radiant bugs ??
« on: January 12, 2010, 06:04:42 pm »
for #2 please try again with at least r27925 - there I improved the undo mechanism.
If there is still a problem, please try to give a step-by-step how to reproduce.

for #1: I was not able to reproduce this, if you found any way to reproduce please update the ticket 42 or leave hints here.

5
Coding / Re: Requesting help from Java programmer
« on: January 08, 2010, 10:01:00 pm »
I will meet the EMFText developers next thursday to get some help with my desired model plans, hopefully get some answers that help me to fix some of my current problems with it. If so, I'll prepare a commit for these.

6
Mapping / Re: 2 potential radiant bugs ??
« on: January 08, 2010, 09:40:12 pm »
#2 is a valid bug: if you do more steps than your current undo setting supports (64 is default), it is no longer in synch.

7
Coding / Re: Requesting help from Java programmer
« on: December 30, 2009, 11:37:30 am »
for completeness I also looked into Xtext (without playing through an example, only reading through http://www.eclipse.org/Xtext/documentation/latest/xtext.html#getting-started )

XText takes an almost similar approach, but uses own definition files.
you have to create a xtext file which defines the syntax and model (imo mixing the (data) model and the concrete text syntax)
the easier part: to generate the plugins you only have to start one action "run as WME Workflow" which does all (opposite to generate model, generate text ressource)

I did not find hints how to change the highlighting/syntax coloring.
I found, that internally they also use the ecore model somewhere.

Imo ecore models can also be edited with emf visual editor, but I did not try it yet.

8
Coding / Re: Requesting help from Java programmer
« on: December 28, 2009, 03:09:46 pm »
for installing: these plugins must be located next to other plugins (should be inside plugins subdirectory from eclipse)

Here a quick step by step what I did:
http://www.emftext.org/index.php/EMFText_Installation_Screencast
- Install EMFText from http://reuseware.org/update updatesite

http://reuseware.org/screencasts/screencast-EMFTextEdit-simple-gui.htm
- create a new java project
- create a model subdirectory
- create an ecore model
- Create classes that represent different objects, link appropriate
-- container attributes (e.g. list of content) must set the correct boolean
- Create a genmodel for ecore model
- declare default package for code generation
- generate model code (from genmodel context menu)
- create a cs file for syntax
- fill in some syntax rules, keywords in "", content fields...

- the tricky part (I did not figure out what the next step was for some time as the wink source is somehow broken in the end):
on the cs file generate text resource (from context menu), this will create a second plugin project next to the one

- create a new launch configuration (new eclipse) which uses the newly created plugins.
- create a file with appropriate extension, be glad to see syntax highlighting and content assist

another example with audio, perhaps easier to understand:
http://www.emftext.org/index.php/EMFText_Getting_Started_Screencast

some things I noticed:
- if you change the underlying model, you have to generate the model and ressource code new, clean out the old (java) files before, otherwise there could be compile errors (e.g. for renamed/missing classes)
- root node of genmodel supports "reload model", so no need to throw away the genmodel file if you changed the ecore file.

my syntax and ecore model is in ufo_gui.jar/model, jar can be renamed to zip to extract.
I tried to move the definitions into a subpackages, so different script parts may be defined in different syntax files, these may be imported into one file for all (so that we have one editor supporting all ufo files)

9
Coding / Re: Requesting help from Java programmer
« on: December 28, 2009, 10:24:17 am »
http://www.emftext.org/index.php?title=EMFText
completely developed at my university (at the chair where I wrote my diploma and where a friend of mine still works)

it is a competitor to xtext, don't know which is easier to use.
I'l try to play around with it, should be easy to use it (and the plugins will be standalone so no need to add something to eclipse besides the plugins generated there).

[Edit] I played around a bit and defined the syntax for two parts of ufo code: messagecategory and messageoptions. Attached are the plugins (requires java 1.5) for eclipse that do outline and (basic) syntax coloring. In Eclipse settings some highlighting settings can be changed, this could also be done directly in syntax file, did not play with that. File name must have extension "ufogui" to be recognized, don't know why it ignores "ufo" as extension, but this is something which probably could be fixed with some investigation. Icon for ufo files uses a default ecore icon, could also be changed probably.
Putting this together was work for some hours, I did not use that EMFText before. I don't know why it ignores the "there must be a linebreak" setting in my syntax.
Code assist is working for msgoptions -> there it helps you to add either a new optionname or pause|sound|notify if optionname is specified.

10
Coding / Re: Requesting help from Java programmer
« on: December 28, 2009, 10:00:13 am »
In my study time I've seen a presentation of some eclipse plugin/project which was used to generate editor, syntax highlighting and outline just from defining the language that should be used.
I'll try to find out which project this was and how to use. Perhaps it is very easy to use this.

11
Newbie Coding / Re: Compilation/running
« on: August 31, 2009, 07:31:46 pm »
currently there is a known bug with sound plugin. you should delete sound.dll before starting uforadiant from radiant subdirectory.
If that does not help, try to run radiant from debugger to see where it fails and report back here.

12
Windows / Re: Radiant Related Compilations Error
« on: August 31, 2009, 07:05:46 pm »
I think workspace file was updated to have that particle removed. Should be solved by updating and refreshing file in codeblocks.

13
Newbie Coding / Re: Meet the Newbie !
« on: August 22, 2009, 09:17:09 am »
Tachop fixed it in rev. 25740 (at least for me, if you still have trouble with that revision, please post again).

14
Windows / Re: Compilation Errors - Radiant Related
« on: August 22, 2009, 09:15:55 am »
update - this error was fixed in rev. 25740.
Perhaps you have to do a clean build.

15
Windows / Re: Compilation Errors - Radiant Related
« on: August 18, 2009, 05:27:32 pm »
another idea (don't know whether geevers hint helped): you'll need vorbisfile, vorbis and ogg libraries during linking - I updated codeblocks sound project file on saturday. perhaps something more is missing. please attach last lines of compile log.

Pages: [1] 2 3 ... 6