Historically $(OBJECTDIR) was created when Makefile.include is read. A
consequence is that combining "clean" with "all" (or any other build
target) results in an error because the clean removes the object
directory that is required to exist when building dependencies.
Creating $(OBJECTDIR) on-demand ensures it is present when needed.
Removed creation of $(OBJECTDIR) on initial read, and added an order-only
dependency forcing its creation all Makefile* rules where the target is
explicitly or implicitly in $(OBJECTDIR).
Add listener that zooms based on mouse wheel. The zoom center is the
mouse position, which alleviates the pressure to touch pabigot/contikix#4.
Closespabigot/contikix#5
Signed-off-by: Peter A. Bigot <pab@pabigot.com>
The + typed character can only be generated on English keyboards by
shift-equals, resulting in a failure to recognize ctrl-plus because of
the unexpected shift modifier. Adapt by supporting English and Spanish
keyboards, as well as number pad keys.
Closespabigot/contikix#2
Reference: http://forums.oracle.com/thread/1356291
Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Refactor common code into private functions. Abstract to support zoom
to level or exact value.
There should be no behavioral change as a result of this patch except:
* zooms are consistently filtered to be in the valid range (those from
configuration parameters formerly had been used directly);
* the correct centerTime is used for zoomOutAction when
mousePixelPositionX is positive
Supports pabigot/contikix#5
Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Don't be afraid, I'm not trying to have more retro platforms than "real" platforms ;-)
The platform 'atarixl' will replace the platform 'atari'. However I need both for some
transition period.
Better match user expectations by allowing to download plain disk images and configure the IP settings afterwards on the target machine - then most likely leveraging DHCP. This works for the users with the most usual Ethernet adapter and settings - which are now pre-configured in default.cfg's. Only the few users with non-default Ethernet adapter and/or settings are required to download a custom contiki.cfg and inject it manually into their disk image files.
Normally it is not possible to start a simulation without motes. While
this nomally makes sense, it might be, that motes are added at a later
point in time by plugins.
Removing this requirement is not problem, as it is still not possible
to start the simulation without registered events. Thus a plugin can now
register an event in the future to add motes at that point of time.