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

6225 Commits

Author SHA1 Message Date
Cristian Maglie
59ec660c9b Fixed minimum size for a bunch of GUI elements 2016-01-26 12:10:12 +01:00
Cristian Maglie
f23577499f Split pane is now sized correctly 2016-01-26 12:10:12 +01:00
Cristian Maglie
885a517099 Fixed the "double" splash screen with high-DPI monitors. 2016-01-26 12:10:12 +01:00
Cristian Maglie
9215c06676 Installers windows are now correctly scaled. 2016-01-26 12:10:12 +01:00
Cristian Maglie
2f0b0db5ba Set maximum scale to 400% 2016-01-26 12:09:57 +01:00
Cristian Maglie
409f3161c8 Added GUI scaling in preference panel. 2016-01-26 12:09:57 +01:00
Cristian Maglie
08ad60032f Fix for some font rendering problems on linux 2016-01-26 12:09:57 +01:00
Cristian Maglie
3928b6a04f Fixed a small mess in EditorHeader 2016-01-26 12:09:57 +01:00
Cristian Maglie
d920c06699 Now the IDE use vectorial images whenever possible
The caller of Theme.getThemeImage(...) now pass only the name of
the needed resource and the theme folder is searche in the following
order:

  - name.svg
  - name.png (if svg is not available)
  - name@2x.png (if none of the above are available or if 1x png is
    too low resolution for the current scaling factor)
2016-01-26 12:09:57 +01:00
Cristian Maglie
ce3679d7e7 Added vectorial version of toolbars icons 2016-01-26 12:09:57 +01:00
Cristian Maglie
b1964bc7e7 Added Batik 1.8 java library 2016-01-26 12:09:56 +01:00
Cristian Maglie
e2fec88f5f Added some missing Theme.scale(..)
Now toolbar and header are correctly rendered
2016-01-26 12:09:56 +01:00
Cristian Maglie
967153fe87 Factored out scaling formula into an helper method
Also use a default value of 100 in case "gui.scalePercent" is not set.
2016-01-26 12:09:56 +01:00
Cristian Maglie
f239f5b5ab Moving getLibImage and getThemeImage into Theme class 2016-01-26 12:09:56 +01:00
Cristian Maglie
f1fc862575 Added hi-res toolbar images
Hi-resolution images are saved with the "@2x.png" suffix, the image
loader will select the best image available based on the user selected
scaling.

Missing hi-res images can be added later together with lo-res images.
2016-01-26 12:09:56 +01:00
Cristian Maglie
5637130818 Converted toolbar icons to png 2016-01-26 12:09:55 +01:00
Cristian Maglie
08d35106c2 Add scaling for themed fonts and graphics (hires displays) (Paul Stoffregen) 2016-01-26 12:09:55 +01:00
Cristian Maglie
c3d2bbdb86 Merge branch 'save-on-close' 2016-01-25 17:57:21 +01:00
Cristian Maglie
6b4c018740 Merge branch 'java-warnings' of https://github.com/matthijskooijman/Arduino 2016-01-25 11:06:47 +01:00
Cristian Maglie
65af0ef963 Update revision log 2016-01-25 10:42:50 +01:00
FakuFaku
05a9750747 Modified SD library to use pin definitions from pins_arduino.h rather than redefining everything. 2016-01-25 10:33:34 +01:00
Me No Dev
2893c2d643 Fix adding NULL value to the preferences when iserial is not defined 2016-01-25 09:52:43 +01:00
Cristian Maglie
0bceb93b7c When closing the last sketch, the window position is saved as default
This allows the use-case with users editing one sketch at a time, that
seems to be the most common scenario:

 1. User position the editor as desired
 2. User close the IDE
 3. User opens the IDE by double clicking on another .ino file
 4. The IDE is opened again at the same position

See #4432
2016-01-22 18:08:49 +01:00
Cristian Maglie
61f11f60e1 Factored out logic to retrieve editor placement
The check for "resolution-changed" is performed when an editor
location is retrieved from preferences. This commit rationalize
access to PreferencesData and prepares for the next improvement.
2016-01-22 18:06:09 +01:00
Cristian Maglie
f5f478ced6 Factored out method to save sketch location 2016-01-22 18:06:08 +01:00
Cristian Maglie
c98c18089d Save window position when closing app from "x" button or Alt+F4
Fix #4404
Fix #4218
2016-01-22 18:06:08 +01:00
Cristian Maglie
2c089044c8 Small cosmetics 2016-01-22 18:06:08 +01:00
Matthijs Kooijman
3d47995915 Remove unused imports
This silences some java warnings.
2016-01-21 17:18:55 +01:00
Matthijs Kooijman
82d3985f6f Remove I18n._()
This function was already deprecated and still triggers a java warning.
Removing it silences that.
2016-01-21 17:16:50 +01:00
Matthijs Kooijman
40e9aa17b3 Fix file descriptor leak when downloads are interrupted
This fixes a java warning.
2016-01-21 17:15:42 +01:00
Cristian Maglie
19a9e4d5e0 Fixed upgrade to ctags in build.xml (oops..) 2016-01-21 16:01:27 +01:00
Cristian Maglie
f0bb008922 Upgrade arduino-builder to 1.3.10 2016-01-21 15:08:31 +01:00
techpaul
fa0d580846 Compiler Warning UARTClass.cpp and RingBuffer.h correction 2016-01-19 14:26:49 -05:00
Sandeep Mistry
4a5228f559 Merge branch 'master' of https://github.com/BrentWilkins/Arduino 2016-01-19 14:01:05 -05:00
Cristian Maglie
6398cde1c8 Added 'arm' architecture support in Boards Manager
This is a necessary step to fully support ARM builds of the Arduino IDE

See #3549
2016-01-19 18:05:41 +01:00
Cristian Maglie
9e5dc5ce3b Merge branch 'renaming' of https://github.com/matthijskooijman/Arduino 2016-01-19 13:53:50 +01:00
Cristian Maglie
dd95dd6be6 update to .gitignore and some cleanup 2016-01-19 13:52:57 +01:00
Brent Wilkins
91df079b09 Update Wire.cpp
Removed implicit conversions from unsigned, to signed, back to unsigned.
2016-01-18 13:12:11 -07:00
Sandeep Mistry
dcfcbefc32 Update indentation 2016-01-18 09:13:29 -05:00
Cristian Maglie
7350d5a10c Merge branch 'sam-cdc-send-break' of https://github.com/sandeepmistry/Arduino 2016-01-18 10:12:12 +01:00
Hasso Tepper
d05b375810 Fix some incorrect I18n.format()/tr() usage 2016-01-18 09:47:05 +02:00
Sandeep Mistry
9759f2cc60 Port AVR Serial_::readBreak() API to SAM core 2016-01-15 12:09:46 -05:00
Sandeep Mistry
86e34b9940 Support receiving a USB CDC SEND_BREAK 2016-01-15 12:05:41 -05:00
Sandeep Mistry
2007b623c9 Add CDC_SEND_BREAK define 2016-01-15 12:05:40 -05:00
Cristian Maglie
c71004fdc8 Added xml appdata to linux distribution
Fix #4406
2016-01-12 12:28:43 +01:00
Michael Amie
e6f85b7058 Removed unnecessary invocation of Ethernet.maintain()
Since this example utilizes a statically assigned IP address, it is not necessary to call Ethernet.maintain().
2016-01-11 00:04:47 -08:00
Cristian Maglie
870171a69e Fix bug in serial plotter for negative values
Fix #4365
Fix #4292
2016-01-08 12:16:09 +01:00
Martino Facchin
4fa57be5c7 partly revert commit 3c16ac02 to pass legacy tests
all this code will be replaced/removed as soon as the native library is fully validated
2016-01-07 15:47:04 +01:00
Martino Facchin
d3f96c6143 update libListSerials to 1.0.5 2016-01-07 15:11:12 +01:00
Martino Facchin
a1c79ce188 Merge pull request #4211 from facchinm/iserial_field
cross-platform jni implementation for serial port details discovery
2016-01-07 12:25:10 +00:00