74 Commits

Author SHA1 Message Date
Gordon Williams
80ce11135a I love Eclipse global regex replace :)
Use jsvUnLock2/etc to really drop memory usage
2015-09-18 12:25:07 +01:00
Gordon Williams
9a4bf15d84 doc tweak 2015-08-27 11:21:02 +01:00
Gordon Williams
a9d10b0d88 Keep track of modified area in Graphics (so modules with can be speeded up 2015-08-27 11:10:42 +01:00
Gordon Williams
482c645daf Remove Graphics.setColorHSV, add E.HSBtoRGB (fix #554) 2015-08-10 17:22:01 +01:00
Gordon Williams
d1139b57f9 graphics doc 2015-06-24 10:33:22 +01:00
Gordon Williams
432543bcbf Shorten some internal property names (faster/less mem is 4 chars or under)
Change 'internal property' prefix from '>' (fix #540)
2015-06-03 10:04:49 +01:00
Gordon Williams
a11edb58f9 more warning removal 2015-06-01 18:13:14 +01:00
Gordon Williams
3f59263c33 Use jsvUnlockMany to tidy up code and save some space
jsiExecuteEventCallback cal now take an arbitrary number of arguments
            Allow setTimeout/setInterval to take extra arguments (fix #532)
2015-05-06 15:58:29 +01:00
Gordon Williams
98053bf24e fix potential lock/unlock mismatch 2015-04-22 11:21:00 +01:00
Ivan A-R
7bc90309b7 Reset pin & backlight pin for LCD 2015-04-15 11:41:12 +03:00
Gordon Williams
1181f166a5 improve implementation and actually add docs for colour re-order. Fix #217 2015-04-14 17:01:46 +01:00
Gordon Williams (u36)
072c508ec6 Allowed ArrayBuffer Graphics to store pixels MSB-first 2015-04-13 09:24:55 +01:00
Gordon Williams
ff2871778a Fix issue with graphics fill on PCD8544 LCD 2015-02-17 14:42:51 +00:00
Gordon Williams
59d7766576 Improved ArrayBuffer write performance
Massively improved ArrayBuffer Graphics fill performance for bpp<8
2015-01-16 16:41:57 +00:00
Gordon Williams
7c4b317dea Fix filled column when fillpoly is off the end of the screen 2014-11-14 14:51:11 +00:00
Gordon Williams
933d14a988 refactor comments 2014-09-11 13:38:48 +01:00
Daniel O'Connor
3b7cb1c516 Add HSV color routines. 2014-08-24 16:54:25 +09:30
Daniel O'Connor
a7b3a867c9 Allow the user to specify the color order. 2014-08-24 15:45:42 +09:30
Gordon Williams
47b6bb6035 refactoring - move iterators to their own file 2014-08-08 13:28:49 +01:00
Gordon Williams
454b5c7b48 Merge branch 'packed_array' into small_jsvar 2014-07-22 11:08:13 +01:00
Gordon Williams
28bd2ae26d Swap HY2.4 board to software LCD driver as well, work out pin mappings from PY file 2014-07-22 08:39:12 +01:00
Gordon Williams
005ee21422 Merge branch 'packed_array' into small_jsvar
Conflicts:
	src/jsvar.c
2014-07-21 16:14:11 +01:00
Gordon Williams
3428c9694f Fix memory leak in Graphics.createArrayBuffer 2014-07-17 17:33:50 +01:00
Gordon Williams
6698829bac use iterator for graphics fillpoly 2014-07-17 16:21:24 +01:00
Gordon Williams
c15c55dfe2 updated docs to help tern determine what objects are returned 2014-07-15 17:23:01 +01:00
Gordon Williams
04217233d4 fix warning 2014-07-11 10:45:29 +01:00
Gordon Williams
4197f2127d Fix HYSTM32_32 LCD at the expense of a bit of speed (fix #137, fix #327) 2014-07-10 13:00:08 +01:00
Gordon Williams
81c9509b47 trying (relatively unsuccessfully) to improve FSMC LCD reliability 2014-07-10 12:25:13 +01:00
Gordon Williams
33f430928b remove vector font on devices that are short of flash 2014-06-24 15:30:02 +01:00
Gordon Williams
1aee068bb6 Converted parse errors to throw exceptions 2014-06-20 10:27:08 +01:00
Gordon Williams
d2ac389cb5 Fixed ArrayBuffer Graphics where width*height*bpp&7!=0 2014-06-20 08:26:57 +01:00
Gordon Williams
7b9195b3bf Fixed memory leak in g.getPixel with arraybuffers 2014-06-19 16:59:21 +01:00
Gordon Williams
03e1bd9875 squashing warnings 2014-06-19 16:25:21 +01:00
Gordon Williams
296685caf4 Added cephdon's latest pipe code, and modified ExecuteFunction to return a value 2014-05-08 15:05:57 +01:00
Gordon Williams
bfd1144a28 Make Graphics.drawImage draw bottom line of pixels (fix #329) 2014-04-28 16:16:04 +01:00
Gordon Williams
b88315881d Initialise Graphics flags Graphics.createCallback - could have caused all kinds of issues 2014-04-23 12:41:07 +01:00
Gordon Williams
ceabbbf39c Added E.toArrayBuffer for fast string->array conversion
Changed Graphics.drawImage to work on MSB-first images, as this seems to be what most platforms expect
2014-04-11 15:44:10 +01:00
Gordon Williams
7731c57665 Added Graphics.setRotation (fix #321)
Added Graphics.drawImage (fix #198)
2014-04-11 13:05:14 +01:00
Gordon Williams
26254d0fea ArrayBuffer Graphics now supports 2 and 4 bits as well as 1,8,16,24,32 (fix #301) 2014-04-07 13:23:56 +01:00
Gordon Williams
e88141c76d Callback graphics now works even without a fillRect implementation (fix #295) 2014-04-07 13:11:34 +01:00
Gordon Williams
7c7f174b76 Fix custom font memory leak 2014-04-04 08:41:18 +01:00
Gordon Williams
c8ff078c78 Merge branch 'master' into native_functions 2014-03-31 16:09:09 +01:00
Gordon Williams
fed2e09f89 Support for generate_full and also fields 2014-03-31 12:40:17 +01:00
Gordon Williams
a1e0a29fb5 Add JTAG to ignore list for some boards
Fix LCD FSMC formatting and report if LCD is unknown
2014-03-28 17:13:47 +00:00
Gordon Williams (u36)
7d0538665d Fix lock 'leak' when creating Graphics with callbacks 2014-03-27 14:42:59 +00:00
Gordon Williams
550791528d Add Graphics.getColor/getBgColor for Juergen 2014-03-20 11:11:31 +00:00
Gordon Williams
23a8889f9b improve SDL performance by only flipping when idle 2014-03-19 10:12:16 +00:00
Gordon Williams
7f28e328a4 Try and enlarge fillRects caused by polygons 2014-03-19 10:09:43 +00:00
Gordon Williams
e583a52e5c reduce vector font quality, and save a bunch of space on font offsets 2014-03-19 09:40:47 +00:00
Gordon Williams
a42f268d40 Used non-bold vector font, improve alignment, and make curves lower quality 2014-03-18 19:03:21 +00:00