Page 1 of 9

New IDE v1.6.8

PostPosted: Sat Apr 30, 2016 10:09 pm
by rimai
Hi Guys,

For anyone that would like to try out the new IDE, please download it at:
Windows: https://www.dropbox.com/s/mrpor1261zln9 ... v.exe?dl=0
MacOSX: https://www.dropbox.com/s/zyohe8hbgxbhv ... v.dmg?dl=0
It contains the latest dev libraries.
Some of the improvements:
* Libraries manager
* Line numbers
* Collapsible brackets
* Serial monitor stays open when uploading codes

Changes to the libraries were required to comply with the new gcc-avr compiler version.
The most important are:
* progr_char is now char
* prog_uchar is now unsigned char
* if you used custom menu, you will need to make these changes:
1. Declare the menu options like this:
Code: Select all
const char menu0_label[] PROGMEM = "Feeding Mode";

2. Initialize the menu like this:
Code: Select all
  for (int a=0;a<SIZE(menu_items);a++)
    ReefAngel.InitMenu(pgm_read_word(&(menu_items[a])),a);


Please let me know if you encounter any problems and if I missed anything.

Re: New IDE v1.6.8

PostPosted: Sun May 01, 2016 5:27 am
by cosmith71
So far so good. Only hiccup was with Windows and my Avast virus protection which messed up the first attempt at installation. Had to uninstall then re-install. Works great after that. I love the folding feature (collapsible brackets) and the line numbers.

You will need to update the libraries before you can compile anything.

--Colin

Re: New IDE v1.6.8

PostPosted: Wed May 04, 2016 2:36 am
by dansonamission
When I try and run the wizard or restore default code for example, I see errors like this.

Code: Select all
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: processing.app.Base.getSketchbookFolder()Ljava/io/File;
   at com.reefangel.tool.Wizard$WizardPreferences.<clinit>(Unknown Source)
   at com.reefangel.tool.Wizard.run(Unknown Source)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
   at java.awt.EventQueue.access$500(EventQueue.java:97)
   at java.awt.EventQueue$3.run(EventQueue.java:709)
   at java.awt.EventQueue$3.run(EventQueue.java:703)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Re: New IDE v1.6.8

PostPosted: Wed May 04, 2016 2:44 am
by cosmith71
I get the same. Also happens with "Libraries Version"

Re: New IDE v1.6.8

PostPosted: Wed May 04, 2016 4:09 am
by dansonamission
Have any of the included libraries been updated for 1.6.8?

Nothing will compile, started correcting the libraries but once you've fixed one, another throws multiple errors.

Re: New IDE v1.6.8

PostPosted: Wed May 04, 2016 10:51 am
by rimai
Sorry. I forgot to send the new wizard and other tools too with the installation package.

Re: New IDE v1.6.8

PostPosted: Wed May 04, 2016 10:52 am
by rimai
dansonamission wrote:Have any of the included libraries been updated for 1.6.8?

Nothing will compile, started correcting the libraries but once you've fixed one, another throws multiple errors.

This installation package should contain the latest dev branch that compiles with the new ide.

Re: New IDE v1.6.8

PostPosted: Wed May 04, 2016 10:57 am
by dansonamission
rimai wrote:Sorry. I forgot to send the new wizard and other tools too with the installation package.


Can you please let us know when we can download an update which includes the tools etc.

There were a few library files i had to update.

* progr_char to char
* prog_uchar to unsigned char

Re: New IDE v1.6.8

PostPosted: Mon May 09, 2016 4:15 pm
by cosmith71
Edit: Looks like something changed in Avast antivirus. I added RA to the exclusion list and it's working again.

So not sure why, but on both my PC's, today it took FOREVER to compile. I thought it was locking up at first. i5 and an i7. They're normally pretty speedy. I tried re-installing on my i7 desktop, but ended up getting some weird error so I went back to the production version.

Re: New IDE v1.6.8

PostPosted: Fri Jul 01, 2016 10:36 pm
by lnevo
Is there a MAC version yet?