After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 632935 - Please add syntax highlighting for Opal
Please add syntax highlighting for Opal
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: Syntax files
git master
Other Linux
: Normal normal
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2010-10-22 21:28 UTC by Benjamin Drung
Modified: 2010-12-25 13:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
opal.lang (14.31 KB, application/octet-stream)
2010-10-22 21:29 UTC, Benjamin Drung
Details
opal.lang (10.88 KB, application/octet-stream)
2010-12-23 20:17 UTC, Benjamin Drung
Details
LeapYear.impl (256 bytes, application/octet-stream)
2010-12-23 21:17 UTC, Benjamin Drung
Details
LeapYear.sign (68 bytes, application/octet-stream)
2010-12-23 21:17 UTC, Benjamin Drung
Details
opal.lang (10.96 KB, application/octet-stream)
2010-12-23 21:31 UTC, Benjamin Drung
Details

Description Benjamin Drung 2010-10-22 21:28:48 UTC
gtksourceview2 does not have syntax highlighting for Opal [1]. Please add the attached highlight file.

[1] http://projects.uebb.tu-berlin.de/opal/
Comment 1 Benjamin Drung 2010-10-22 21:29:23 UTC
Created attachment 173038 [details]
opal.lang
Comment 2 Ignacio Casal Quinteiro (nacho) 2010-10-22 21:35:27 UTC
I see that this file copyright is not from you. We don't add new files without the consentiment of the author. So we would need so agreement from him. Once that is done I'll check the file.
Comment 3 Benjamin Drung 2010-10-22 21:40:58 UTC
The file is licensed under GPL-2+, which gives you the agreement, but I am going to ask the author.
Comment 4 Alexander Eichner 2010-10-24 08:24:28 UTC
As the author of that file I'm not against including it in gtksourceview2.
Comment 5 Benjamin Drung 2010-12-23 20:17:23 UTC
Created attachment 176964 [details]
opal.lang

Updated opal.lang attached. It has now the same structure as java.lang.
Comment 6 Benjamin Drung 2010-12-23 21:17:12 UTC
Created attachment 176967 [details]
LeapYear.impl

Here is a small Opal program (calculating the leap year) written by me some years ago. Feel free to use it under the ISC license or LGPL license.
Comment 7 Benjamin Drung 2010-12-23 21:17:37 UTC
Created attachment 176969 [details]
LeapYear.sign
Comment 8 Benjamin Drung 2010-12-23 21:31:20 UTC
Created attachment 176972 [details]
opal.lang

Update opal.lang. This time with these things fixed:

<nacho> bdrung, <property name="mimetypes"/> that's not needed
<nacho> <define-regex id="number">[1-9][0-9]*</define-regex> <- that's not used anywher
<nacho> you are missing the class thingie
Comment 9 Ignacio Casal Quinteiro (nacho) 2010-12-25 13:02:30 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.