Commit graph

202 commits

Author SHA1 Message Date
fros4943
977809144f cleaning up after a removed simulation by the removed() methods +
exposing methods for loading simulations from external plugins +
minor bug fix: the reload progress dialog sometimes disappear even when a simulation is loading
2009-11-13 08:49:26 +00:00
fros4943
0b2cd19cac removed debugging output 2009-11-02 13:18:27 +00:00
nifi
a22348a496 Use canonical path to find parent directory when creating config relative path 2009-10-30 15:27:26 +00:00
fros4943
a45aa8e89c minor changes in executable jars: removed jdk dependency on simulating computer + temporary files from simulation are stored in a subdirectory + temporary files from building the jar are removed when done 2009-10-29 17:05:13 +00:00
fros4943
4c7ef8b022 added experimental feature: generate executable JAR from current simulation
+ made some methods public for accessing configuration state etc from outside the GUI class + minor bug fix in reparse projectes method
2009-10-29 10:16:05 +00:00
nifi
c51956bc8c Minor fix with config relative path and allow external tools editing with specified Contiki path. 2009-10-28 13:37:29 +00:00
fros4943
be230d4d37 exporting paths relative to contiki, not cooja
+ new project management api
2009-10-28 12:07:37 +00:00
fros4943
6100734897 added convenience method for accessing active plugins 2009-10-27 09:31:22 +00:00
fros4943
0c4dc6fc6b start plugins in non-dispatcher thread 2009-09-18 16:13:31 +00:00
nvt-se
b8e268e598 Added FreeBSD support.
Made the Sky mote type use PATH_MAKE for the build procedure.
2009-08-27 12:25:11 +00:00
fros4943
739e21caaf + support for configurable buffer sizes (currently only for log output events) 2009-07-03 13:37:40 +00:00
nifi
ac11dc90d8 only reload with new seed if simulation exists 2009-06-30 13:31:42 +00:00
nifi
adbe225132 removed unused import 2009-06-30 13:10:14 +00:00
fros4943
bed44c8f55 made desktop scrollable + added quick help pane (keyboard F1) 2009-06-30 12:45:51 +00:00
fros4943
5d20b01f04 bugfix: random generator was initialized differently at load vs reload 2009-06-24 07:56:15 +00:00
fros4943
ebb47546a2 replaceFirst() also for Contiki relative paths + verify that the generated config path is valid 2009-06-15 18:13:45 +00:00
fros4943
d7b35b5b40 bugfix: only replace the first instance when generating portable paths (simulation configs) 2009-06-15 17:43:48 +00:00
nifi
be03c380c5 Show config file when reloading 2009-06-12 13:00:57 +00:00
fros4943
3b25d8b5e4 no stack trace printout when a visualized plugin fails to in test mode 2009-06-11 10:23:29 +00:00
fros4943
8a44b78934 + startPlugin method throws exceptions 2009-06-10 15:57:08 +00:00
fros4943
02733e15ab made test editor plugin a simulation plugin: it now depends on a specific simulation
this change enables multiple simultaneous scripts in a simulation, and also makes it easier to create tests since they will be stored with the simulation config

since the plugin now depends on a simulation it is no longer possible to create/reload simulations from the test scripts (this was however not often used)
2009-06-09 09:47:04 +00:00
fros4943
7877d54e1e bugfix: mote plugins should use the start plugin action 2009-06-02 15:04:49 +00:00
fros4943
cdf4bfd4f8 gui action fix: do not directly change isEnabled() from the simulation thread 2009-05-28 14:53:26 +00:00
fros4943
e54e0db966 bugfix: non-simulation plugins menu items need separate action listeners 2009-05-28 13:45:18 +00:00
fros4943
c9e97fd1ae fix: only toggle actions state in visualized mode + documentation 2009-05-28 12:59:02 +00:00
fros4943
02b5d5e230 gui update: enable menu items depending on whether a simulation is loaded or not 2009-05-28 12:55:14 +00:00
nifi
efbae10245 Load last opened simulation configuration file when reloading without simulation.
Added key shortcuts to last opened files.
2009-05-27 23:23:41 +00:00
fros4943
a9cf47c97a show error dialog when failing to add mote 2009-04-20 16:07:32 +00:00
nifi
7d7f2348d9 increased tooltip timeout to one minute 2009-04-20 14:11:01 +00:00
fros4943
2f25d6fbe5 backwards compatibility: visualizer plugins were removed 2009-03-24 15:47:10 +00:00
fros4943
65d64d0c06 make sure parent directory of current config file exists 2009-03-22 13:47:38 +00:00
fros4943
950f7696a3 autostart simulation is reloaded when simulation is running 2009-03-21 16:45:42 +00:00
fros4943
82669a1a89 simplified error dialog 2009-03-21 14:24:55 +00:00
fros4943
0580b4ea9d + special case: allow single parent directory when saving relative source file paths 2009-03-17 09:16:36 +00:00
fros4943
eb3874a1fb set initial error dialog size 2009-03-13 15:15:37 +00:00
fros4943
f4333ab089 use regular api for configuring mote type, instead of directly calling contiki compile method 2009-03-13 14:33:48 +00:00
fros4943
67407d6f36 + support for config file relative paths when saving simulations
+ support for quickstarting from simulation config
2009-03-12 15:10:00 +00:00
fros4943
063bf88f90 cooja quickstart should be started from normal cooja working directory, otherwise config relative paths won't work
+
cygwin path fix for quickstart
2009-03-12 13:04:10 +00:00
fros4943
14924bae66 experimental: quick-n-dirty way to indicate compilation progress when (re)loading simulations 2009-03-11 20:14:52 +00:00
fros4943
9b2a1097d1 using Java's built-in methods for converting to Contiki relative paths 2009-03-11 19:19:39 +00:00
fros4943
bcb34297df reimplemented quickstart functionality 2009-03-11 07:45:54 +00:00
fros4943
35e3efa0a6 minor bugfix: check that simulation exists before reloading 2009-03-03 12:09:34 +00:00
fros4943
e485c209b1 bugfix: clear all mote relations when simulation is removed 2009-02-27 14:48:15 +00:00
fros4943
e73c48a826 added mote relation support. used to show relations between simulated motes, typically for debugging and visualization purposes 2009-02-26 13:35:45 +00:00
fros4943
5b258ce104 minor bugfix: not all mote type identifiers were reserved when reloading simulation. this caused loading some simulations with several mote types to fail
+ added key accelerator for reloading a simulation (ctrl+r or ctrl+shift+r). thanks to David Gustafsson for patching :)

+ added yet another key accelerator for starting/stopping simulation (ctrl+s)
2009-02-25 16:11:59 +00:00
joxe
1da3c2544c moved Avrora motes into the mspsim array and renamed 2009-02-23 08:33:23 +00:00
fros4943
660167b39b added configuration wizard to replace the jni_tests 2009-02-20 16:50:16 +00:00
fros4943
264529708e sorting plugin menu according to plugin type 2009-02-18 17:25:14 +00:00
fros4943
e907e4dace quickstart uses main random generator 2009-02-18 10:35:31 +00:00
fros4943
8e9686e01d added option to make random seed automatically generated at simulation load
+ a single random generator instance is used instead of sharing seed between different parts of the simulator
2009-02-18 10:09:32 +00:00
fros4943
2d671a1265 Nimbus look and feel is not fully supported on many linux platforms:
* changing default look and feel to cross platform l&f on linux systems
2009-02-08 18:33:05 +00:00
fros4943
4af3e29af8 better project load failure notification 2009-01-08 15:43:49 +00:00
fros4943
e9fa905ff1 minor bugfix: use isVisualized() method to determine if Cooja is visualized 2008-12-19 12:48:09 +00:00
fros4943
e3d3634249 merged script runner plugins:
* in GUI-mode the script is editable
* without GUI, the script loads the simulation and activates the test script
2008-12-17 13:12:07 +00:00
fros4943
1a2794d961 visplugins are optional, but require cooja to be visualized:
* hybrid plugins (used both when cooja is visualized and in test mode) should not extend VisPlugin
2008-12-17 11:02:05 +00:00
fros4943
2c344d0754 added cooja support for 64-bit 64-bit architectures:
* compiling for PIC

contributed by David Gustafsson and Jesper Karlsson
2008-12-16 16:15:36 +00:00
fros4943
4d399119a4 removed dependency on visplugin class, instead referencing plugin visualizers via new plugin method getGUI()
+ sanity-check when restoring last cooja location
2008-12-16 15:10:49 +00:00
fros4943
34829fe41e storing current project directories as meta data in simulation configs.
currently no action: only warns if loaded simulation depends on a project not active
2008-12-08 10:26:21 +00:00
fros4943
2e66e36755 added for convenience: reload simulation with new random seed 2008-12-08 09:38:42 +00:00
fros4943
c6d6bb4a14 removed warning when not starting visualizer plugin in tests 2008-12-03 16:06:33 +00:00
fros4943
3b8f6af71c use system look and feel instead of cross platform if nimbus fails (contributed by David Gustafsson) 2008-11-21 13:09:53 +00:00
nifi
fe1aa4d54c changed file history to not add same file twice and increase history size to 10 entries 2008-11-10 14:59:03 +00:00
fros4943
553b576e98 introduced wrapper class for executing swing code in event dispatcher thread.
not used by all parts of the code yet
2008-11-04 14:32:32 +00:00
fros4943
a95fb2edbd storing screen device 2008-10-29 13:31:02 +00:00
fros4943
9c0d65ae1c using new nimbus look and feel by default 2008-10-29 10:39:04 +00:00
fros4943
0c34a1f000 removed tick time 2008-10-28 13:36:26 +00:00
fros4943
e26d2b596f if newly started plugin has not specified a location/size, use defaults 2008-10-03 14:31:32 +00:00
fros4943
0386dbaf44 not scanning platform/cooja directory (no user processes should reside there) 2008-10-03 13:40:56 +00:00
fros4943
777e483e52 ask user to immediately add nodes from newly created node type 2008-10-03 13:17:28 +00:00
fros4943
e547b55196 updated according to new scanProcesseses() interface 2008-10-03 13:10:09 +00:00
fros4943
70a74f624a removing strict dependency on project platform configuration files (cooja.config).
files are still used if existing.
2008-10-03 10:23:05 +00:00
fros4943
1483a80a28 some minor fixed:
* warn when trying to load visualized plugins when cooja is not visualized
* force calling doLoadConfig() from non-AWT thread
2008-09-29 13:02:15 +00:00
fros4943
8acef2acf1 removed system.exit after activated script 2008-09-18 14:46:24 +00:00
fros4943
673d0e8f12 more output after running scripts 2008-09-18 14:24:46 +00:00
fros4943
c1af172035 added tools for creating contiki relative paths 2008-09-18 14:04:13 +00:00
fros4943
c7954c8a5b added functionality for observing GUI (added/removed simulations) 2008-04-22 13:04:43 +00:00
fros4943
0ae6a4185a added applet attribute support + applet code base public 2008-04-03 13:59:37 +00:00
fros4943
8889712071 log4j fallback on basic configurator if no file access 2008-04-02 16:41:46 +00:00
fros4943
27d81e5645 added support for dynamic contiki mote type identifiers: no need to restart simulator when loading another simconfig 2008-03-19 09:40:38 +00:00
fros4943
1270545cc2 removed debug output 2008-03-18 12:49:18 +00:00
fros4943
89a062aa06 automatically close mote plugins when mote is removed 2008-03-17 08:35:10 +00:00
fros4943
3675479274 added access control when applet 2008-02-18 08:18:01 +00:00
fros4943
d42ed7d5da fixed some javadoc warnings 2008-02-12 15:31:22 +00:00
fros4943
3b2a19c1ae isVisualized handling both visualized in frame and in applet. 2008-02-12 15:20:56 +00:00
fros4943
2beb497c35 possible bugfix: setting title before disposing error dialog 2008-02-11 14:04:51 +00:00
fros4943
4192b95ce4 updated deprecated code 2008-02-07 22:25:26 +00:00
fros4943
d0b9384ab0 mote types sorted after abstraction level 2008-02-07 10:30:19 +00:00
adamdunkels
8ac35cb44d Added menu bar to quickstart window. Made Rime the default stack for quickstart 2007-11-18 12:21:41 +00:00
fros4943
0f4a25c8ff cooja mac os x support 2007-09-30 12:02:33 +00:00
fros4943
87e32f037e enabled config of entire ar command, not only arguments 2007-09-28 07:21:21 +00:00
fros4943
abfe10b100 added exception handling to project dir loading 2007-09-21 16:14:19 +00:00
fros4943
005ad973a2 catching unsupported class version exceptions 2007-09-18 15:57:14 +00:00
fros4943
8f101f495c changed address parsing using nm to more generic: any command may be used 2007-09-18 11:33:46 +00:00
fros4943
8a11380de9 setting nm parsing default 2007-09-10 14:04:10 +00:00
fros4943
08d42b2251 added regular expressions for parsing map files and nm output 2007-09-10 13:25:36 +00:00
fros4943
661a76408a changed link argument sent to makefile:
instead of using linker, user may specify linker line including tools
2007-09-05 13:58:08 +00:00
fros4943
b67baa7dfc set specified external tools configs read only
+ automatic formatting
2007-08-22 11:23:50 +00:00
fros4943
c15c38bb1a added mote highlight functionality 2007-05-30 10:51:14 +00:00
fros4943
eceb2e5816 desktop always exists, but not always used 2007-05-28 09:37:01 +00:00
fros4943
953c60c35a added setVisualized method (experimental) 2007-05-28 09:01:49 +00:00