GLX2 script editor released for Revolution

Find out what's going on with LiveCode (the company), product releases, announcements, and events.

Moderators: heatherlaine, Klaus, FourthWorld, robinmiller, kevinmiller

heatherlaine
Site Admin
Site Admin
Posts: 309
Joined: Thu Feb 23, 2006 7:59 pm

GLX2 script editor released for Revolution

Post by heatherlaine » Thu Sep 20, 2007 1:08 pm

GLX2 SCRIPT EDITOR RELEASED FOR REVOLUTION

18th September 2007. Edinburgh, Scotland. Runtime Revolution Ltd and
Daniels & Mara, Inc announce the release of GLX2, the new Script Editor
for Revolution 2.8.1.

GLX2 is a brand new script editor that integrates seamlessly with
Revolution 2.8.1. The all new workflow improves productivity by making
it easier to navigate through complex code. An enhanced debugger
enables developers to find and eliminate problems fast. And the
work-in-progress feature helps find your place when you come back to a
project later to make changes.

"We're excited to be launching GLX2 as it significantly enhances the
Revolution user experience, making Revolution accessible to a wider
audience. This new product makes you more productive whether you are an
advanced developer or just starting out" said Kevin Miller, CEO of
Runtime Revolution.

GLX2 includes the following features:

- Tabbed browsing. Edit up to ten objects in one window.
- Clairvoyance. Seamless auto-completion of tokens and handler names.
- Hyperlinks. All calls to handlers are automatically converted to
clickable links leading to the correct handler.
- Bread crumbs. Accumulate as you work, leaving a trail of history.
- No click inspection. Place your mouse over any object and inspect
its script or properties without clicking—even in browse mode.
- Script snapshot. Takes a snapshot of variables as your code runs,
making it quicker to debug.

As a special introductory offer a copy of GLX2 will be included free
with every new purchase or update to Revolution Studio or Enterprise
between now and the end of October. GLX2 is also available separately
through the Runtime Revolution RevSelect store for $99.

For more information visit the GLX web site at:

http://daniels-mara.com/GLX/

About Runtime Revolution Ltd. Founded in 1997, Runtime Revolution
focuses on bringing user-centric software development to all major
platforms: Windows, Macintosh, Linux, and Unix. The company is based in
Edinburgh, Scotland. For more information on Runtime Revolution, please
visit the company on the web at http://www.runrev.com

Daniels & Mara, Inc. Founded in 1987, Daniels & Mara creates and
publishes tools for Macintosh and Windows developers. The company also
offers consulting and custom development services for business and
commercial software developers. The company is based in Austin, Texas,
US. For more information on Daniels & Mara, please visit the company on
the web at http://www.daniels-mara.com

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2673
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: GLX2 script editor released for Revolution

Post by mwieder » Mon Jun 13, 2011 9:03 pm

...and I should point out that the glx2 script editor for OSX, Windows, linux, LiveCode and MetaCard is now open-source and is available for download at

https://bitbucket.org/mwieder/glx2/downloads

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2673
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: GLX2 script editor released for Revolution

Post by mwieder » Fri Jun 08, 2012 6:11 pm

GLX2 3.0.5 is now ready for downloading. It may still be a bit rough around the edges, but it's a major departure from previous builds. The script editor is now separated from the other parts of the older glx2 builds (the property editor, VAB, utilities) and the other parts are now separate stacks. This makes the code cleaner and easier to maintain. I can't guarantee that the property editor and VAB are working properly at this point, but I'm not sure if anyone uses these. They'll be cobbled together as time permits.

New to this release:
  • Split screen viewing has been restored. Shift-click on a tab to open a second screen for viewing. Shift-click it again to close the split pane. Still can only edit the lower pane, but it's a start.
  • Full compatibility with Bill Vlahos' lcTaskList plugin
  • Live colorization of lines as you type. Live colorization has been disabled for comment lines because there's still an issue with that, but it'll get fixed later on.
  • A start at git version control integration: new items in the Tools menu. If you have git installed you can enable version control integration from the Tools menu. This will automatically stage text files containing the scripts of edited stacks when you do a save, and create a metadata directory structure to contain them. All other git commands are manual (commit files using the Tools submenus). No explicit diffs yet, but you can launch gitk from the menu.
  • A start at refactoring support in the Script menu. Currently supported: converting literal values to constants, converting globals to script- or handler-locals. More to come later.
  • Command-G restores the Find Selection / Find Again functionality
So... you can just replace the "GLX2 Code" stack in your plugins folder and have the new version running. Don't need to add the other stacks, but it won't hurt anything if you do. The PowerPlug stack contains some of the utility functions that were previously in the main stack ( hiding/showing the tools stack, etc), so you may want that as well.

The stacks are all saved in 2.7 file format, so they should be compatible back to at least Rev 3.5. Compatibility testing with versions earlier than 4.6.4 has been spotty, though. There may be some issues with earlier prefs files - toss them if in doubt, and they'll be rebuilt.

download link: http://bitbucket.org/mwieder/glx2
ongoing documentation at http://glx2.ahsoftware.net

paul_gr
Posts: 318
Joined: Fri Dec 08, 2006 7:38 pm
Location: Blenheim, New Zealand

Re: GLX2 script editor released for Revolution

Post by paul_gr » Sat Jun 09, 2012 9:12 pm

Thanks Mark, I appreciate the effort you have put into this.

Paul
Last edited by paul_gr on Sat Feb 09, 2013 8:20 pm, edited 2 times in total.

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2673
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: GLX2 script editor released for Revolution

Post by mwieder » Sat Jun 09, 2012 9:44 pm

No, this was not Firefox overreacting... the web site was indeed attacked, and I cleaned everything up but missed one php header file that was adding malware to every WordPress page. It's fixed now, so let Firefox do its thing again.

paul_gr
Posts: 318
Joined: Fri Dec 08, 2006 7:38 pm
Location: Blenheim, New Zealand

Re: GLX2 script editor released for Revolution

Post by paul_gr » Sat Jun 09, 2012 9:47 pm

Thanks Mark.

Paul

snm
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 253
Joined: Fri Dec 09, 2011 11:17 am
Location: Warszawa / Poland

Re: GLX2 script editor released for Revolution

Post by snm » Sun Jun 10, 2012 9:19 am

Hi Mark,

The problem with your page attack didn't gone. When you click on the link to the documentation, it's OK. But if you choose any link from this page (ex. "GLX2 Installation") there is still "WARNING: Visiting this site may harm your computer".

Marek

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2673
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

ANN: GLX2 3.0.10

Post by mwieder » Thu Aug 02, 2012 6:25 pm

GLX2 3.0.10 is now available for download.

New to this release:

Refactoring support in the Script menu. Not everything is working yet, but it's a good start, and the parts that aren't there yet will tell you so. Change a string literal to a constant, Create a new function by extracting a block of code, etc.

Unlimited undos! This is a big deal. I got rid of the old undo mechanism that wasn't really working very well and put a FILO stack array in its place. Fast, efficient, and you can undo all the way back to when you first opened the script editing session.

Known issues

Refactoring to change the signature of a function is still wonky. Commands work ok, but I still need to do some work on the function parameter formatting.

https://bitbucket.org/mwieder/glx2/downloads

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2673
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: GLX2 script editor released for Revolution

Post by mwieder » Fri Nov 02, 2012 5:52 pm

GLX2 3.0.12 is now available for download. NOTE: it's probably a good idea to toss any existing glx2 files (preferences, macros, plugins) just in case, because things have changed.
Yes, we're skipping 3.0.11 - I uploaded it a while back while working on it and there were 58 downloads before I had a chance to announce it, so that one will remain an unofficial, somewhat buggy, work in progress. It's still there as a fallback, but I don't recommend bothering with it. And since there's no downside to archiving older released versions on bitbucket, I don't see a reason to remove them unless something's seriously hosed.

https://bitbucket.org/mwieder/glx2/downloads

2012.11.01 GLX2 3.0.12d (Go Giants!)

New

The font selector in the preferences pane was bringing up a hard-coded list instead of grabbing the fontNames, so now it gets the whole list. Adobe's new open-source SourceCode Pro font looks great. Download it from http://sourceforge.net/projects/sourcecodepro.adobe/

Control+mouseOver the Find button turns it into "Find All", which will bring up a list of the locations of the found phrase anywhere in the stack file scripts (stack, substacks, cards, controls). Clicking on any line in the DataGrid will bring that script up in the script editor with the specified line highlighted.

Licensing changed to MIT model - it seems more appropriate.

Got the German keyboard AltGr key working now, thanks to Gunter Gaich.

Refactored for speed improvements, code size, readability, and DRY coding
Code folding preference for control structures (if/then/else, repeat loops, switch statements)
Complete on return preference
Warning if you try to undo past the last save
Removed no-click inspection (attempt to get German keyboard working)
Code stubbing added to new commands and functions (for TDD support)
Live colorization completely refactored
Slightly reworked the plugins script file and interface
Version Control updated:
more version control features (Branch, Merge, Checkout, Reset To..., Remove)
lots of bug fixes
Recreate Object from archived files

Bug fixes

fixed menubar disappearance on OSX
fixed (I think) live colorization problems
'function' wasn't being colorized/capitalized
fixed link to docs on preferences panel
fixed crash if close script editor/toggle GLX2 off with stack still in memory
Refactoring:
change signature didn't handle split lines
change signature had problems with function parameters

known issues

There's still a preprocessor problem with = signs embedded in block comments

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 5962
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: GLX2 script editor released for Revolution

Post by FourthWorld » Fri Nov 02, 2012 9:42 pm

Nice work on the update, Mark. I appreciate your continued support of this FOSS effort.
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2673
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: GLX2 script editor released for Revolution

Post by mwieder » Sat Nov 03, 2012 1:42 am

Thanks, Richard. There are a handful of things that are still LC-only, but for the most part everything should work in the MetaCard environment as well. I still need to find MC replacements for the few remaining calls, but it's been backburnered for now.

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2673
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: GLX2 script editor released for Revolution

Post by mwieder » Wed Dec 05, 2012 4:11 am

2012.12.04 GLX2 3.0.13 is now available for download at https://bitbucket.org/mwieder/glx2/downloads

new
  • Version control can now be disabled on an individual stack basis. This sets the stack's custom property uRIP["glx2VersionControl"] to "never". If you change your mind and want to put a stack under version control after disabling it from control, delete this custom property.
  • Quoted strings that aren't properly closed will now highlight the entire line in red.
  • The Watched Variables right-click plugin now launches PowerDebug's Watched Variables editor stack to allow for conditional breakpoints.
  • Containers are now colorized. Colors are the same as for control keywords for now.
known issues
  • Live Colorization doesn't work inside block comments.
  • Macro processing was causing some problems, and I'm not sure anyone actually used it, so it's been deprecated.
  • Features that have been deprecated/removed from glx2 are now in the "extras" folder. It's part of the legacy code, so I didn't want to just dump them, but they're in unknown state and not recommended.
bugs fixed
  • Inserting the "--> all handlers" line into text incorrectly placed the cursor at the end of that line instead of the end of text.
  • ExplicitVars wasn't being picked up properly from the IDE setting. Might not work with MetaCard.
  • Formatting a handler's parameters messed up following lines in the handler if a continuation char existed.
  • A period would close the clairvoyance popup window.
  • Live colorization recognized "--" but not "-- " (with a trailing space).
  • Uncommenting a line of text would lose its colorization.
  • Formatting issues with "&", "<" and ">" embedded in text being deleted or mangled.
  • The outline block wasn't scrolling correctly with the text all the time.
  • Multiple split screens are now more stable.

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2673
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: GLX2 script editor released for Revolution

Post by mwieder » Fri May 03, 2013 7:27 pm

2013.05.03 GLX2 3.0.14 is now available for download at https://bitbucket.org/mwieder/glx2/downloads . It is, of course, completely compatible with both the LiveCode 6 Community and Commercial releases.

Release Notes for GLX2

download site:https://bitbucket.org/mwieder/glx2/downloads

For best results, it's a good idea to delete any "GLX2 Code Prefs.txt" preferences file in your Plugins directory. Some custom properties have been deprecated, and they may resurrect themselves if they're in a previously-existing preferences file and cause undefined behavior.

2013.05.02 GLX2 3.0.14

new features
  • Speed: editing and formatting is now *much* faster
  • Clairvoyance knows the difference between commands and functions
  • Unclosed quoted strings are highlighted in red
  • Return key on OSX now compiles script, Enter enters a newline
  • Hover tooltip features:
    constants show their values
    color names show their RGB values
  • Double-clicking a variable highlights all instances of that variable in the script
  • Better PowerDebug integration on script errors:
    error text appears in GLX2 statusbar and as tooltip on line with error
  • GLX2 now responds to the LC6 message box "show source" button
known issues
  • Double-click to find needs to narrow scope for local vars and parameters
  • Sometimes a script tab has a formatted length of 14 (0+14)
bugs fixed

Structure outlines:
  • inserting/deleting a new line wasn't adjusting outline size
  • Script info panel was broken: now displays more information
  • Message box kept popping up on dual-monitor systems

dave_probertGA6e24
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 328
Joined: Mon Dec 05, 2011 5:34 pm
Location: Thailand
Contact:

Re: GLX2 script editor released for Revolution

Post by dave_probertGA6e24 » Fri May 03, 2013 10:56 pm

Hi,

I think there might be a problem with GLX2 3.0.14. I was just using it with LC 5.5.4 and edited an old file. After saving the file my program stopped functioning with an error in a handler that I hadn't even touched while editing. On closer inspection (after turning off GLX2) I saw that an IF statement had been altered and the OR's between the checks were no longer there!!!

Code: Select all

if tLine begins with "abc" tLine begins with "xyz" tLine is "Aardvaark" then 
Which was this before:

Code: Select all

if tLine begins with "abc" or tLine begins with "xyz" or tLine is "Aardvaark" then 
I think there is something slightly wrong here ;)

Also, when I tried to do a "New Mainstack" from the menu the stack window appeared and then immediately disappeared - until I turned Messages OFF on the main Toolbar. Once I had the new window there then I turned the messages back on, but now I couldn't add any controls to the stack - they would just not appear after dragging.

At that point I stopped GLX2 via the development menu and everything immediately went back to working perfectly again.

And, yes, I did remove the old Code Prefs.txt file. I actually removed all the old GLX2 previous files so that it would be a fresh install.

I'm running on a Mac OSX 10.8, LC 5.5.4, lots of RAM/HD, etc.
I didn't try it on LC 6.0.1 - maybe later!

Just thought I should let you know - mainly about the first bit.
Cheers,
Dave
Coding in the Sun - So much Fun.
Visit http://electronic-apps.info for released App information.

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2673
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: GLX2 script editor released for Revolution

Post by mwieder » Sat May 04, 2013 1:50 am

I just tried to replicate this in 5.5.4 and 6.0.1 and it's working properly here. You wouldn't happen to have a "GLX2 macros.txt" file in
your plugin directory, would you? You should delete it if so. Other than that, I haven't seen that problem and I'm at a loss as to what might be causing it.

...other than I don't have Mountain Lion installed here...

Post Reply

Return to “Announcements”