1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-15 00:23:56 +01:00
Commit Graph

26 Commits

Author SHA1 Message Date
Dag Wieers
1b95b439a1 Do not show splash screen when options are present
This ensures now splash-screen is shown when preferences are changed or CLI-mode is used.

More information in #5131.

However this does NOT fix #5131, since the Arduino IDE in CLI-mode still requires X11 (according to #1981).
2016-07-15 11:57:42 +02:00
Martino Facchin
767867bacb Revert "Moved -Dawt.useSystemAAFontSettings=on out of java code, where, apparently,"
Fonts on Windows became ugly, reverting whole the commit since it brings no visible changes to Linux and OSX

This reverts commit 6c5e584454.
2015-12-16 10:02:37 +01:00
Federico Fissore
6c5e584454 Moved -Dawt.useSystemAAFontSettings=on out of java code, where, apparently,
has no effect
2015-12-14 10:03:16 +01:00
Cristian Maglie
a6602cac09 Another small fix for 'spaces in IDE install path on Linux'
See #3973
2015-10-14 21:42:25 +02:00
Matthijs Kooijman
bef7bb5b76 Allow spaces in IDE install path on Linux
The startup bash script lacked quotes in some places, causing it to
interpret part of the path to the splash image as the main class and
fail to start:

arduino: line 29: [: /home/a/Arduino: binary operator expected
Error: Could not find or load main class IDE.lib.splash.png

For the -splash option, simply adding quotes was not sufficient. If no
splash screen was to be used (so when $SPLASH was empty), using
"$SPLASH" would result in an empty argument being passed to java, which
was then interpreted by java as the name of the base class.

To allow spaces to occur in the -splash option, but also allow it to be
omitted entirely, options to java are now passed through the
$JAVA_OPTIONS array. By using the special "${JAVA_OPTIONS[@]}" syntax,
each element in the array is expanded into a single argument, even when
spaces are present inside (this is identical to what happens with "$@").

This fixes #3950
2015-10-13 14:40:09 +02:00
Federico Fissore
7c91cbaf55 Linux: startup script was using dropped --curdir param. Fixed 2015-06-30 09:07:02 +02:00
Federico Fissore
85ae80b6f9 Introducing APP_DIR property. Allows the IDE to know its installation folder.
Also upgrading appbundler with a patched version: https://bitbucket.org/ffissore/appbundler It allows to know the current working directory
These two put together, we can now rely on APP_DIR when loading IDE resources while being sure current working directory is properly set, thus being much more friendly when run from CLI
Fixes #1493
2015-06-29 14:28:16 +02:00
Federico Fissore
b1a5038c69 Linux: arduino startup script needs "" around $CURDIR, otherwise
it will fail when folders have spaces. Found in a comment at #2982
2015-06-12 10:48:07 +02:00
Federico Fissore
3826a0abb4 Linux: bundling the JVM, making sure no graphical glitches are caused by older JVMs 2015-06-09 17:38:09 +02:00
Federico Fissore
6974978ea3 Linux: arduino startup script uses #!/usr/bin/env bash. Fixes #3003 2015-05-29 15:35:10 +02:00
Federico Fissore
28e02572bc ArduinoIDE is in the default package. Removed 2015-05-14 14:53:12 +02:00
Federico Fissore
7c5c1741f0 GNU/Linux: removing jayatana from JAVA_TOOL_OPTIONS, if present. Fixes #3081 2015-05-12 10:48:53 +02:00
ricardo.jl.rufino
903622ea63 build and run scripts - add new dependency and linux desktop icon 2015-05-07 17:15:49 +02:00
Federico Fissore
09255254d7 Preliminary command line support to boards manager and library manager 2015-04-08 15:15:41 +02:00
Federico Fissore
e8ef0d9047 Linux: command line interface was showing splashscreen when verifying 2015-03-30 10:46:47 +02:00
Federico Fissore
2a0bc2bfca Splashscreen 2015-03-13 10:39:18 +01:00
Federico Fissore
d133365cc1 IDE command line: sketches can now be specified with relative paths. Fixes #1493 2013-10-28 10:10:14 +01:00
David A. Mellis
056ba5fca0 Allow spaces in Arduino directory name on linux. 2012-11-03 12:37:50 -04:00
David A. Mellis
80b52b29b5 Pass shell arguments to linux arduino script through to Arduino. 2012-11-03 12:25:19 -04:00
David A. Mellis
300f5e2ed0 Following symlinks in arduino launch script for Linux. 2010-12-24 23:02:34 +01:00
David A. Mellis
a00c0da97d Removing /usr/lib/jni from LD_LIBRARY_PATH since that's not where RXTX is on my Ubuntu 10.04 system. 2010-11-27 23:57:02 +01:00
David A. Mellis
c6d1baa275 Fixing up some Linux stuff. 2010-11-27 19:50:33 +01:00
David A. Mellis
481118ae4d removing space from start of arduino linux launcher script. 2010-01-29 20:53:51 +00:00
David A. Mellis
06da56c2a5 Updating linux build scripts. 2010-01-29 20:53:21 +00:00
David A. Mellis
018ff13d8b Moving setting of Linux look and feel from linux/Platform.java to arduino script. 2009-08-11 23:05:18 +00:00
David A. Mellis
c7b70fce3a Updating linux build scripts, etc for Arduino 0017. 2009-08-03 20:57:46 +00:00