1. there was an odd error when this environment variable wasn't set
(`[: =: unary operator expected`)
2. this environment variable is not used anywhere else
Removing it makes the logic look much simpler - do make `cooja.jar`
if build type is any other then `compile`.
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).
The new Atari XL target allows cc65 programs to make use of
the shadow RAM. This allows to turn aon all features of the
web browser - and will allow for additional improvements to
come :-)
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>
Documented intent is to update with probability 1/NEW_TOKEN_PROB where
NEW_TOKEN_PROB is 0x80. The current implementation updates with probability
1/2. Update NEW_TOKEN_PROB and the expression to keep existing behavior
while correcting the calculation.
Signed-off-by: Peter A. Bigot <pab@pabigot.com>