Show Posts
Pages: [1] 2 3
1  Development / Other Software Development / Re: Any interest in a new Arduino IDE? on: November 15, 2013, 12:48:43 pm
Sorry I didn't write back earlier.  Caught a nasty cold from my toddler.

I agree, it's better to put more wood behind fewer arrows.  I'd love to join the UECIDE project.
2  Development / Other Software Development / Re: Any interest in a new Arduino IDE? on: November 02, 2013, 08:03:40 pm
I got my server up and running. You can get beta builds here:

http://hudson.joshy.org:9001/job/ArduinoX/lastSuccessfulBuild/artifact/dist/

Please report any bugs or features you'd like to the forum or to the github project.

https://github.com/joshmarinacci/arduinox

Long term it needs a real name, since ArduinoX is obviously confusing.
3  Development / Other Software Development / Re: Any interest in a new Arduino IDE? on: November 02, 2013, 01:41:21 pm
Here's a screenshot of the current build.

Functionally it doesn't really do anything that the official IDE doesn't do. The difference is in the user experience.  This IDE has

* line numbers, font smoothing, better standard font, modern UI theme.
* serial console integrated into the window, and handles reconnection after uploading a sketch automatically.
* searchable sidebar for the example sketches, with a description of each.
* boards are described using XML versioned separately from the IDE, so we can easily add new boards
* proper keybindings for all platforms

It's not built yet, but I'd like to have a searchable repo of the common open source libs and examples. Then you could just search and click to install a lib rather than going to the web, unzipping files, putting them in the right place, and rebooting.  This would make it more like using an app store or a debian style apt-get.

The IDE works just fine as it is, but to really make it good I need other people to bang on it, file bugs, and contribute new board, example, and library definitions.  That's what I mean when I ask if there is 'any interest'.

Thanks,
 Josh
4  Development / Other Software Development / Any interest in a new Arduino IDE? on: November 01, 2013, 12:18:25 pm
About a year ago I started working on a new Arduino IDE from (mostly) scratch. It's still Java based but looks much better, should be easier to use, and has some nice features like line numbers, a better serial console, inline docs, and library management.  Since then it's been on the back burner while I've been on other projects, but I'd like to get back to it now.

So, my real question, is whether there is any interest in me continuing on this new IDE and if anyone would like to help me with it. You don't have to be a Java coder to contribute. There's lots to do.

Thanks,
 Josh
5  Development / Suggestions for the Arduino Project / Re: Interest in overhauling the IDE user interface? on: December 05, 2012, 07:12:28 pm
Yeah, there probably won't be until you modify and save the sketch.  No worries. I'm glad it works for you now.

- J

An empty sketch compiled OK. So I tried blink again and now it works. Go figure.

Note this line from the compile output

Quote
generating C/C++ file: C:\Users\Rob\AppData\Local\Temp\josharduinobuild1233808034218210217.tmp\test.cpp

it seems to be correct now.

Quote
Can you post the contents of the settings.txt in the sketch directory?
Don't know if you need it any more but there is no settings.txt.

______
Rob
6  Development / Suggestions for the Arduino Project / Re: Interest in overhauling the IDE user interface? on: November 29, 2012, 06:18:56 pm
Hmm. I can't recreate this error.  Does it happen with other sketches too or just hte Blink sketch? Can you post the contents of the settings.txt in the sketch directory?

thanks.


Trying to compile "blink"

Code:
starting compile
assembling sketch in directory: C:\ArduinoX\win
using temp dir: C:\Users\Rob\AppData\Local\Temp\josharduinobuild1498449018706449586.tmp
generating C/C++ file: C:\Users\Rob\AppData\Local\Temp\josharduinobuild1498449018706449586.tmp\.cpp
error!
null
java.lang.NullPointerException
at com.joshondesign.arduino.common.CompileTask.assemble(CompileTask.java:130)
at com.joshondesign.arduinox.Actions$2$1.run(Actions.java:74)
at java.lang.Thread.run(Unknown Source)

Vista, 32-bit, Arduino 1.0.2 I guess but I also have 1.5 installed, how does it know which one to use?

Note the CPP filename.

______
Rob
7  Development / Suggestions for the Arduino Project / Re: 28 Small & Simple IDE Changes on: November 25, 2012, 01:41:37 am
Ever considered using an external editor? I often use notepad++ works quite well  has several points you mention....


The reason I posted this list isn't necessarily because I need a particular software solution for myself. Rather, I think the Arduino project as a whole and (especially) its primary piece of software deserve to be scrutinized and improved upon; not because they're unsatisfactory as they are, but because they're going to continue to gain (deserved) popularity and exposure.

The idea of making Arduino programming "beginner friendly" is excellent, and there's no reason the IDE should attempt to compete with the likes of Eclipse, AVR Studio, or the other editors mentioned above. However, I don't think any of the items on this list contradict that philosophy. There's no reason that this "beginner friendly" tool shouldn't aim for the highest quality, nor should it be desirable for those who have moved past the beginner stage to abandon it. I think "beginner friendly" is just another way of saying "thoughtfully designed."

I can walk into any RadioShack and buy an Uno, or any number of official Arduino shields. The packaging is beautiful, and the presentation and execution of the hardware displays a careful attention to detail.

There's no reason the software shouldn't live up to the same standard.

I completely agree. After digging into the code I gave up trying to improve the official Arduino IDE. Instead I started my own. It's still immature but already looks a lot better than the standard IDE.

You can try out the latest build here:

http://hudson.joshy.org:9001/job/ArduinoX/lastSuccessfulBuild/artifact/dist/
8  Development / Other Software Development / Re: Need testers for a new IDE on: November 25, 2012, 01:15:32 am
I've put up a new build here:

http://hudson.joshy.org:9001/job/ArduinoX/lastSuccessfulBuild/artifact/dist/

This improves compiler output and now uses a proper temp directory. Does this fix the issue?

- J

Quote
Does c:\tmp not exist on your computer?
The folder exists and has a subfolder names "blah" but no files.

Quote
Can you send me some console logs?
LIke this you mean?

Code:
ResourceManager resource configuration:
 - Resource category: JAVA
 - Current directory: C:\ArduinoX\win\
 - Property count: 18
 - Property:  =<>
 - Property: arguments=<>
 - Property: bundledvm=<jre>
 - Property: classpath=<lib\ArduinoX.jar;lib\RXTXcomm.jar;lib\arduinocompile.jar
;lib\jsyntaxpane-0.9.6.jar;lib\swing-layout-1.0.4.jar;lib\XMLLib.jar>
 - Property: currentdir=<${EXECUTABLEPATH}>
 - Property: embedjar=<false>
 - Property: javapropertiescount=<1>
 - Property: javaproperty_name_0=<java.library.path>
 - Property: javaproperty_value_0=<./lib>
 - Property: jvmsearch=<bundled>
 - Property: mainclassname=<com.joshondesign.arduinox.Start>
 - Property: maxversion=<>
 - Property: minversion=<1.6>
 - Property: skel_Debug=<1>
 - Property: skel_JniSmooth=<0>
 - Property: skel_PressKey=<1>
 - Property: skel_SingleInstance=<0>
 - Property: skel_SingleProcess=<1>
Main class: com.joshondesign.arduinox.Start
Currentdir: C:\ArduinoX\win
Now searching the JVM installed on the system...
JVM Lookup: found VM (V(1)(6)(0)) in registry.
JVM Lookup: found VM (V(1)(6)(0)) in registry.
JVM Lookup: Env-Var JAVA_HOME not defined on this system.
JVM Lookup: Env-Var JRE_HOME not defined on this system.
JVM Lookup: Env-Var JDK_HOME not defined on this system.
Found a vm bundled with the application: (jre)
Current directory is C:\ArduinoX\win\
Running now <C:\ArduinoX\win\jre><><0.0.0>, instanciate=no
Launching <C:\ArduinoX\win\jre><><0.0.0>
RuntimeLibPath used: C:\ArduinoX\win\jre\bin\client\jvm.dll
No version, trying with 1.6.0
Saving jnismoothjar in C:\Users\Rob\AppData\Local\Temp\temp4.jar
Created temporary filename to hold the jar (C:\Users\Rob\AppData\Local\Temp\temp
4.jar)
ClassPath element is C:\ArduinoX\win\ + lib\ArduinoX.jar
ClassPath element 0=C:\ArduinoX\win\lib\ArduinoX.jar
ClassPath element is C:\ArduinoX\win\ + lib\RXTXcomm.jar
ClassPath element 1=C:\ArduinoX\win\lib\RXTXcomm.jar
ClassPath element is C:\ArduinoX\win\ + lib\arduinocompile.jar
ClassPath element 2=C:\ArduinoX\win\lib\arduinocompile.jar
ClassPath element is C:\ArduinoX\win\ + lib\jsyntaxpane-0.9.6.jar
ClassPath element 3=C:\ArduinoX\win\lib\jsyntaxpane-0.9.6.jar
ClassPath element is C:\ArduinoX\win\ + lib\swing-layout-1.0.4.jar
ClassPath element 4=C:\ArduinoX\win\lib\swing-layout-1.0.4.jar
ClassPath element is C:\ArduinoX\win\ + lib\XMLLib.jar
ClassPath element 5=C:\ArduinoX\win\lib\XMLLib.jar
VM Created successfully
DLL Setup on 1.6.0
Classpath: -Djava.class.path=C:\Users\Rob\AppData\Local\Temp\temp4.jar;C:\Arduin
oX\win\lib\ArduinoX.jar;C:\ArduinoX\win\lib\RXTXcomm.jar;C:\ArduinoX\win\lib\ard
uinocompile.jar;C:\ArduinoX\win\lib\jsyntaxpane-0.9.6.jar;C:\ArduinoX\win\lib\sw
ing-layout-1.0.4.jar;C:\ArduinoX\win\lib\XMLLib.jar;
Option added:-Djava.library.path=./lib
VM 1.2+ Created successfully !!
Looking up for class <jsmooth/Native>
Looking up for class <jsmooth/Native>
Looking up for class <jsmooth/Native>
Looking up for class <jsmooth/Native>
Looking up for class <jsmooth/Native>
Looking up for class <jsmooth/Native>
Looking up for class <jsmooth/Native>
Result code on DLL: 1
Looking up for class <com/joshondesign/arduinox/Start>
Looking up for class <java/lang/String>
Looking up for class <com/joshondesign/arduinox/Start>
Invoke Static main ([Ljava/lang/String;)V
the toolchain path = null
WARNING:  RXTX Version mismatch
        Jar version = RXTX-2.2pre1
        native lib Version = RXTX-2.2pre2
resources dir = C:\ArduinoX\win\resources
parsing: C:\ArduinoX\win\resources\hardware\boards\diecimila.xml
parsing: C:\ArduinoX\win\resources\hardware\boards\mega2560.xml
parsing: C:\ArduinoX\win\resources\hardware\boards\uno.xml
basedir = C:\ArduinoX\win\resources\examples
Loaded settings: 3
Nov 20, 2012 10:50:08 PM jsyntaxpane.DefaultSyntaxKit loadConfig
INFO: unable to load configuration for: class jsyntaxpane.syntaxkits.CSyntaxKit
from: jsyntaxpane/syntaxkits/CSyntaxKit/config.properties
installing font: java.awt.Font[family=Courier New,name=Courier New,style=plain,s
ize=12]
prop = componentPopupMenu
prop = document
preferred size = 26.0
prop = editorKit
prop = background
prop = caretColor
prop = selectionColor
installing font: java.awt.Font[family=Courier New,name=Courier New,style=plain,s
ize=12]
prop = componentPopupMenu
prop = componentPopupMenu
prop = font
preferred size = 28.0
prop = font
preferred size = 28.0
prop = ancestor
prop = ancestor
saved settings to : C:\settings.properties
serial port = COM11
saved settings to : C:\settings.properties
serial port = COM11

This is from an invocation after using the app with a maximised window. It came up at the standard small size.

______
Rob
9  Development / Other Software Development / Re: Need testers for a new IDE on: November 25, 2012, 01:14:35 am
You must have Java 7 installed to compile it. I've switched to Java 7 because it's identical across all platforms now that the builds are provided directly by Oracle/Sun instead of Apple.

If you just want to try it out, download the pre-built version here:

http://hudson.joshy.org:9001/job/ArduinoX/lastSuccessfulBuild/artifact/dist/


I tried to compile and get the following error message:

Quote
-do-compile:
    [javac] Compiling 21 source files to /Users/reivilo/Downloads/arduinox-master/build/classes
    [javac] javac: invalid target release: 1.7
    [javac] Usage: javac <options> <source files>
    [javac] use -help for a list of possible options

There was another nice project called Cocoduino (forum, GitHub).

Are you using the same approach based on ino (website, GitHub)?

You can even use Xcode, the excellent and free IDE provided with every Mac. Check the embedXcode project (website, download, forum!
10  Development / Other Software Development / Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC on: November 25, 2012, 01:11:24 am
Would you be interested in helping me with my new IDE?  I'm a GUI expert but I'm not a Windows user so the Windows experience for ArduinoX will always be sub-par. I'm especially interested in your expertise with app packaging and drivers installation.  I have no idea how to do those.

- Josh

eried,
Have you & Josh Marinacci considered getting together?

http://arduino.cc/forum/index.php?topic=120882.new;topicseen#new

This running update of 3 IDEs is a bit confusing.

Well, I guess 4 now with the DUE IDE also.

5 IDE's heheh... my original idea fixing the things (years ago) was to get something fixed someday in the official ide. Since that will never happen, I decided to build this mod mainly just for windows+arduino users (specially for me).

I don't know if everyone noticed but the crusade seems to be pretty effective. Almost no one is now posting or discussing the same drivers/sloweness/installation issues in the forum (I was pretty tired seeing the same issues again and again, even in some 'arduino workshops' a big part of the time is used just to teach how to get the IDE running)

I don't have any other board rather than a couple of arduinos, I have received some requests from people because they experience a lot of the same issues in derivated IDE's but besides providing feedback and hints, doing something it is  just too much work.

So, in conclusion, this mod is just a temporal solution, I may eventually update the ide to 1.5 but Josh solution is a much better approach and I will love to  see any alternative IDE replacing the Arduino IDE in the future, but our work is not very shareable.
11  Development / Suggestions for the Arduino Project / Re: Interest in overhauling the IDE user interface? on: November 25, 2012, 01:07:16 am
I've published a 32bit version, along with a bunch of updates.  It's added to the build system so now we will always get both versions.  Please test it out here:

http://hudson.joshy.org:9001/job/ArduinoX/lastSuccessfulBuild/artifact/dist/
12  Development / Other Software Development / Re: Need testers for a new IDE on: November 19, 2012, 10:40:51 pm
BTW. I just added colorized output to the compiler console. Now you should see info and warnings in different colors and weights from compiler output and errors.
13  Development / Other Software Development / Re: Need testers for a new IDE on: November 19, 2012, 10:39:13 pm
Thank you for the feedback. That's the only way it will get better.

The clone button on the examples panel didn't work. I just implemented the code and pushed out a commit. In the newest build should work now. Press the clone button to open up a new instance of that example sketch.  Eventually I'd like to make the example search be full text, including the example source, but for now it's just the description and tags.

Regarding the compile error, can you tell me more?  Does c:\tmp not exist on your computer? I may need to find a different way of calculating the temp directories that is cross platform.

The window settings are stored per sketch. If it's not remembering them then it's because it's not saving the settings for some reason.  Can you send me some console logs?

The keystrokes are hard coded right now for the Mac.  ^C and ^V work only because they are built into Java. I will to create a new set for Windows.  Since I'm not a regular Windows user I could use some suggestions on what you would like.

Thanks!
- Josh

OK, downloaded and runs.

First thing, it looks good, I don't often use the IDE but when I do I'm inclined to use this one just because it is a more modern look and feel.

There is a list of examples in the right panel, how do you load them? Clicking, double-clicking, clicking the "Clone" button all have no obvious affect.

So to get some source code I ran the normal IDE to get the blink sketch.

It fails to compile

Code:
INFO: assembling sketch in directory: C:\Users\Rob\Documents\Arduino\Blink
INFO: using temp dir: C:\tmp\blah
INFO: generating C/C++ file: C:\tmp\blah\Blink.cpp
INFO: error!
INFO: null
INFO: java.lang.NullPointerException
at com.joshondesign.arduino.common.CompileTask.assemble(CompileTask.java:129)
at com.joshondesign.arduinox.Actions$2$1.run(Actions.java:73)
at java.lang.Thread.run(Unknown Source)

Turns out C:\tmp\blah\Blink.cpp does not exist, at least not after the event but it may have been cleaned up.

I just repeated the exercise and the first line is now

Code:
INFO: assembling sketch in directory: C:\ArduinoX\win

A different folder to the last time.

Also it doesn't remember the window location and size and ^A doesn't highlight all the text even though the menu option does. I assume the "Meta" key is not set for Windows? ^C and ^V work.

_____
Rob
14  Development / Other Software Development / Re: Need testers for a new IDE on: November 19, 2012, 01:30:54 pm
I've added a Windows 32 build now. The avrtools seem to work underneath it, so I don't know if there's really a 32/64bit difference on the tools themselves.  The IDE and it's version of Java are now 32 or 64 bit depending on which zip you download.  Please try it out.  Thanks!

http://hudson.joshy.org:9001/job/ArduinoX/lastSuccessfulBuild/artifact/dist/
15  Development / Other Software Development / Re: Need testers for a new IDE on: November 18, 2012, 03:08:34 pm
Actually, that build isn't any slimmer because I broke something. Fixed now.  Just over 100MB now.

I've also started a wiki page for the design and roadmap.

https://github.com/joshmarinacci/arduinox/wiki/Design-and-Roadmap
Pages: [1] 2 3