Commit graph

64 commits

Author SHA1 Message Date
Ophir LOJKINE
54dcfa9c0c Correct feature detection for performance.now polyfill.
That should fix wbo on android native browser, which has a window.performance object, but does not implement performance.now()
2013-12-03 18:10:17 +01:00
Ophir LOJKINE
31bbe268f4 Include jscolor color picker. 2013-12-03 18:07:56 +01:00
Ophir LOJKINE
7506eb27b6 JSHint corrections 2013-12-03 18:07:02 +01:00
Ophir LOJKINE
2ca29d686b Add a 'var' statement. The variable 'elem' was leaked to the global namespace. Thanks to jshit. 2013-11-28 14:42:25 +01:00
Ophir LOJKINE
29e699112d Replace spaces by tabs. Thanks to jshit. 2013-11-28 14:40:09 +01:00
Ophir LOJKINE
a400b8e097 Remove unused variable. Thanks to jshit. 2013-11-28 14:38:12 +01:00
Ophir LOJKINE
c3d7ec041b Make the eraser erase with a single click 2013-11-24 00:49:56 +01:00
Ophir LOJKINE
0d536ae380 Make chronological UIDs. 2013-11-24 00:49:05 +01:00
Ophir LOJKINE
1ecc676b2c Add an eraser tool. 2013-11-23 15:03:06 +01:00
Ophir LOJKINE
61244d1984 Oops. Forgot to add a function in pencil.js 2013-11-22 16:06:52 +01:00
Ophir LOJKINE
eeb76318d8 Improve the control point calculation algorithm, in order to have smooth paths that feel even more natural. 2013-11-22 15:56:33 +01:00
Ophir LOJKINE
f88592d235 Update the pencil tool to make beautiful smooth paths (with bezier curves) instead of polylines. 2013-11-21 23:27:34 +01:00
Ophir LOJKINE
9dd08e656a Load jscolor only if the browser doesn't support <input type='color'> 2013-11-21 00:13:42 +01:00
Ophir LOJKINE
8c188c2c26 Do not display date in logs (nodejitsu already does that) 2013-11-20 22:56:48 +01:00
Ophir LOJKINE
c34c141b8e Add a true color picker (jscolor from jscolor.com) 2013-11-20 22:51:32 +01:00
Ophir LOJKINE
f744c91142 No functional change 2013-11-20 22:50:50 +01:00
Ophir LOJKINE
7b831ab1b5 Display rounded line joins. 2013-11-20 13:16:06 +01:00
Ophir LOJKINE
2ae4b14710 Change text font to Arial. 2013-11-19 18:45:15 +01:00
Ophir LOJKINE
34aca4919b Print the text with the same font on every browser. 2013-11-18 16:56:53 +01:00
Ophir LOJKINE
bcc2bcfcac Print origin ip address when the user is behind a proxy. 2013-11-14 20:56:56 +01:00
Ophir LOJKINE
134a017095 Use svg polyline element attributes instead of CSS properties to set lines color and width 2013-11-14 11:09:45 +01:00
Ophir LOJKINE
5bdf54782b Support touch events. That's the beginning of mobile devices support...
Currently, support is far from being satisfying.
2013-11-12 23:45:54 +01:00
Ophir LOJKINE
3b04f31630 resizeCanvas() : Refinement in constants 2013-11-11 14:11:38 +01:00
Ophir LOJKINE
671411c62e Make the canvas grow faster, so that it really feels like its infinite. 2013-11-11 13:21:08 +01:00
Ophir LOJKINE
8fcdb60795 Server: Better error catching, better logging. /download now forces the browser to initiate a file download. 2013-11-11 13:13:56 +01:00
Ophir LOJKINE
22ea128c00 Remove history from gitignore 2013-11-11 10:29:04 +01:00
Ophir LOJKINE
dd93fecb53 Change minor version number 2013-11-10 17:46:04 +01:00
Ophir LOJKINE
cd1a18589a Remove the 'delete' instruction. It was only an overhead. 2013-11-10 17:39:44 +01:00
Ophir LOJKINE
236c8236ac Ignore history file 2013-11-10 17:34:06 +01:00
Ophir LOJKINE
10c492c487 Add a feature to the server to allow downloading history. 2013-11-10 17:32:18 +01:00
Ophir LOJKINE
b276a7f1e7 Custom mouse cursors for every tools 2013-11-10 17:21:05 +01:00
Ophir LOJKINE
33826bc11b Add header info 2013-11-10 16:36:23 +01:00
Ophir LOJKINE
e70204f5e2 Added a simple hand tool to move more easily in the board. 2013-11-10 16:34:47 +01:00
Ophir LOJKINE
47a8445d0c Make the text field visible during text edition. 2013-11-10 14:38:00 +01:00
Ophir LOJKINE
89e706d87d Remove now unnecessary styling information. 2013-11-10 12:36:28 +01:00
Ophir LOJKINE
1728d5863b Add licensing information to javascript files. 2013-11-10 11:41:35 +01:00
Ophir LOJKINE
205e796f42 Text tool: Use SVG <text> instead of HTML <span>.
The text can now be overriden by the pencil, and can't be edited anymore.
2013-11-10 02:56:27 +01:00
Ophir LOJKINE
beceba39d4 style 2013-11-06 20:11:42 +01:00
lovasoa
dec8335992 Add a polyfill for performance.now 2013-10-28 22:52:21 +01:00
Ophir LOJKINE
1c68bf8773 Change icon file 2013-10-22 21:06:03 +02:00
Ophir LOJKINE
28bc5d25c9 Upload to nodejitsu. Fix HTML. 2013-10-22 20:22:47 +02:00
Ophir LOJKINE
6888c33e49 GUI improvements:
Make a beautiful tool menu.
Choose a standard font for the text tool: Arial.
2013-10-13 12:52:01 +02:00
Ophir LOJKINE
953cce8ff3 Now that there is a way to add new tools, and that there are 2 of them, switch version to 0.1.
This commit will be remembered for a long time!
2013-10-07 00:44:16 +02:00
Ophir LOJKINE
b557375a08 Improve tool architecture, and add a new tool, to write text. 2013-10-07 00:43:00 +02:00
Ophir LOJKINE
aa32dfa577 Untrack history.txt 2013-10-06 12:20:33 +02:00
Ophir LOJKINE
3601154abf Bug corrections and improvements 2013-10-06 12:16:45 +02:00
Ophir LOJKINE
ea00e86965 Small optimization. 2013-10-05 12:34:36 +02:00
Ophir LOJKINE
fa7b451b94 Improve the way the history is saved. Correct errors in pencil.js 2013-10-05 03:50:09 +02:00
Ophir LOJKINE
16b781598b Small bug fix. (curTool instead of Tools.curTool) 2013-10-05 02:15:10 +02:00
Ophir LOJKINE
91493d0b92 Apply tool hooks. Fix typo (ev instead of evt). 2013-10-05 02:12:51 +02:00