Commit Graph

3580 Commits

Author SHA1 Message Date
Cayci 66faf5d6c6 Render line numbers using TextAreaPainter
Fix the line number font rendering problem on the Mac.

Now, the TextAreaLineNumbers class extends the TextAreaPainter and just
overloads the paintLine method to make it render the line number instead
of rendering the whole line. Other than that, the superclass' drawing
code is used.

So: the same drawing code that renders the source code text in the
editor is now also being used to render the line numbers.
2013-11-02 21:49:09 -04:00
Cristian Maglie 8f1e3fd703 Using NOT_AN_INTERRUPT defined constant 2013-10-31 12:44:24 +01:00
Cristian Maglie fca3a87c71 Added digitalPinToInterrupt also to robot variants 2013-10-31 12:44:05 +01:00
Cristian Maglie 35d477297d Added pinToInterrupt() variant macro (Paul Stoffregen) 2013-10-31 12:43:41 +01:00
Cayci a2111fdcf6 add preference to enable/disable line numbers
add preference to enable/disable line numbers and make font change work
2013-10-28 21:01:35 -04:00
Federico Fissore 5284c3a3e6 IDE Command line: using "isAbsolute" instead of "exists" to avoid conflicting with files in IDE install location 2013-10-28 12:50:17 +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
Cayci 787f73dade Display line numbers for the file being edited 2013-10-28 00:19:30 -04:00
Federico Fissore 26ff527ad2 It's now possible to specify additional custom board parameters when running the IDE from the command line
Eg: --board arduino:avr:pro:cpu=8MHzatmega168,other=value
Closes #1353
2013-10-24 15:26:31 +02:00
Federico Fissore 8aab91c6ec Removed unused parameteri 2013-10-24 14:40:30 +02:00
Cristian Maglie 128678c559 Update readme.txt 2013-10-23 18:39:19 +02:00
Federico Fissore c11a119996 Forgot to include .ino files as test resource 2013-10-22 17:51:54 +02:00
Federico Fissore bdf7eba7ed Fixed pre processor bug. Closes #1245 2013-10-22 17:32:25 +02:00
Federico Fissore dace68fd29 Updating revisions.txt 2013-10-22 15:36:59 +02:00
Federico Fissore 8bcf02ac3b Improved File open/save dialogs, remembering last opened file/folder
Consistent UI across the IDE
Solves NPE on some linuxes #1384
Hopefully improves UX #559
2013-10-22 15:34:42 +02:00
Federico Fissore 5463cfb673 Updating revision.txt 2013-10-22 11:26:30 +02:00
Federico Fissore 05fa62d9db Added warning message in case sketch contains invalid file name. Fixes #1390 2013-10-22 11:21:46 +02:00
Federico Fissore 59de784e9f Trying to fix macosx system_profiler parser 2013-10-21 18:34:38 +02:00
Federico Fissore 0732d5afcd Fixed compilation errors with some examples 2013-10-21 13:16:51 +02:00
Cristian Maglie 1fc54f5003 [sam] Improved analogRead speed.
See #1418
2013-10-21 12:38:37 +02:00
Federico Fissore c1d8b5ecf9 MIDI example folder renamed to Midi because sketch file is Midi.ino 2013-10-21 12:32:46 +02:00
Federico Fissore 00bdd3df03 Run new astyle formatter against libs Bridge, SpacebrewYun and Temboo 2013-10-21 10:13:31 +02:00
Federico Fissore b4c68b3dff Run new astyle formatter against all the examples 2013-10-21 09:58:40 +02:00
Federico Fissore 3c6ee46828 Updating revisions.txt (anti-aliasing) 2013-10-18 18:21:57 +02:00
Federico Fissore 1f12aa9a45 Turning on antialias by default 2013-10-18 17:49:37 +02:00
Federico Fissore fdf10eb663 Better parametric Bridge.begin() 2013-10-18 09:31:07 +02:00
Cristian Maglie e21b182af2 Removed destructor from File.cpp and SD.h as it leads to unexpected close/destructed objects #814 2013-10-17 20:49:24 +02:00
Federico Fissore 49a05121d4 Examples now scrollable. Closes #1548 and #1177 2013-10-17 17:25:39 +02:00
Federico Fissore d535f878f6 Boards now scrollable. Closes #1440 2013-10-17 17:16:16 +02:00
Federico Fissore 4a47eef28a Mouse scroll wheel fix for MenuScroller 2013-10-17 16:58:56 +02:00
Federico Fissore 1877703920 Centering the first Editor to the middle of the main monitor. Fixes #1629 2013-10-17 16:51:56 +02:00
Federico Fissore 143c91f0b5 Import Library feedback was going to the first opened editor, despite its availability. Closes #1598 2013-10-17 14:29:12 +02:00
Federico Fissore 54253ee5c3 Improved error message when unable to connect to the board via SSH 2013-10-16 17:04:07 +02:00
Federico Fissore 027f7c7403 Forcing GUI update events to happen in the Event Dispatch Thread 2013-10-15 18:09:52 +02:00
Federico Fissore f7f616c3bb Adding AutoformatTest 2013-10-15 18:09:09 +02:00
Federico Fissore 995f0faf46 Updating revisions.txt #1587 2013-10-15 17:23:21 +02:00
Federico Fissore 06445dd151 Preventing upload and serial monitor on not (yet) available boards 2013-10-15 17:17:16 +02:00
Federico Fissore 9898fd7ae6 Added support to openssh config file 2013-10-15 17:17:16 +02:00
Federico Fissore 88f7504e81 Removed destructor from File.cpp and SD.h as it leads to unexpected close/destructed objects #814 2013-10-15 17:09:20 +02:00
Cristian Maglie e8834d32f3 Servo library refactoring. See #1617 2013-10-15 09:41:42 +02:00
Federico Fissore fd26f72e00 Updated revisions.txt 2013-10-14 20:05:45 +02:00
Federico Fissore a81f04056d fixing crlf for windows 2013-10-14 18:26:59 +02:00
Federico Fissore 56bdebb8d7 Introducing Artistic Style: new IDE autoformatter 2013-10-14 18:11:30 +02:00
Fede85 cb7b62f43e added the support to the new display GREENTAB_L 2013-10-14 17:23:39 +02:00
Fede85 034cb91737 Merge remote-tracking branch 'origin/ide-1.5.x' into ide-1.5.x 2013-10-14 17:19:48 +02:00
Federico Fissore 6378c8c647 Moving Library.SOURCE_CONTROL_FOLDERS into FileUtils.isSCCSOrHiddenFile #1619 2013-10-14 14:48:41 +02:00
Federico Fissore 2ada52623d Added missing class FileNameExtensionFilter 2013-10-14 12:57:07 +02:00
Federico Fissore 9558d43415 Merge branch 'master' into ide-1.5.x 2013-10-14 12:56:25 +02:00
Federico Fissore 72440e7893 Added missing class FileNameExtensionFilter 2013-10-14 12:55:39 +02:00
Federico Fissore bef7b94ea7 merge 2013-10-14 12:42:42 +02:00