Ophir LOJKINE
aebd2ef973
improve display on mobile. There is still much to do...
12 lat temu
Ophir LOJKINE
1037eba5e2
again
12 lat temu
Ophir LOJKINE
346e0650bc
typo
12 lat temu
Ophir LOJKINE
9889987570
Improve behaviour when zooming. Makes wbo a bit more usable on small screens.
12 lat temu
Ophir LOJKINE
a582ef4e18
Replace jscolor by a homemade color picker.
It is called canvascolor, and it's based on HTML5 canvas (we don't care, we don't target old browsers).
Advantages over jscolor:
- has color history (previously choosed colors are displayed)
- more beautiful
- way smaller ~1KB when minified and gzipped. (It's not gzipped yet)
- Works on fixed input elements (CSS position:fixed)
However:
- Not every color can be choosen graphically. In HSV, only colors with S=1 are displayed.
- Not tested on mobile (but it should work), not responsive to touch events.
12 lat temu
Ophir LOJKINE
70b1519205
Bug corrections
12 lat temu
Ophir LOJKINE
2257ba473a
Add tool icons
12 lat temu
Ophir LOJKINE
43eb94e48f
Bug correction: message hooks should be applied to children messages too
12 lat temu
Ophir LOJKINE
f6539cb87f
Change socket.io configuration
12 lat temu
Ophir LOJKINE
0ed94cb1d2
Put the GUI change in Tools.change in a try {...} statement.
This circumvents a bug in IE9, where classList is not implemented.
12 lat temu
Ophir LOJKINE
beddafedcd
Change default color. (and make it a W3C-valid 6-digit hex color). The new default color is #1913B0
12 lat temu
Ophir LOJKINE
5690bd3cf0
Improve board architecture. Correct several bugs, including messages being drawn twice, and messages not being drawn at all.
12 lat temu
Ophir LOJKINE
fd35a486b8
Rework the way the server stores data to make it handle updates and deletions more intelligentlty.
Some work was done on the client-side too, and board loading should now be much faster.
12 lat temu
Ophir LOJKINE
2c75908461
Hopefully correct a bug where text was not saved. This bug occured at least on firefox for mobile.
12 lat temu
Ophir LOJKINE
40ef0595b7
Correct bug and improve pencil tool. Lines can now be updated.
12 lat temu
Ophir LOJKINE
59ad74149a
Disable auto-zooming on text focus on mobile.
12 lat temu
Ophir LOJKINE
374ea859b1
My hands are typing words.
Update a constant
12 lat temu
Ophir LOJKINE
b08d6d35f1
Rename 'field' to 'id' in messages.
12 lat temu
Ophir LOJKINE
e75a7d34aa
Log errors with console.error instead of console.log
12 lat temu
Ophir LOJKINE
49671de0b2
Correct CSS bug in error page.
12 lat temu
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()
12 lat temu
Ophir LOJKINE
31bbe268f4
Include jscolor color picker.
12 lat temu
Ophir LOJKINE
7506eb27b6
JSHint corrections
12 lat temu
Ophir LOJKINE
2ca29d686b
Add a 'var' statement. The variable 'elem' was leaked to the global namespace. Thanks to jshit.
12 lat temu
Ophir LOJKINE
29e699112d
Replace spaces by tabs. Thanks to jshit.
12 lat temu
Ophir LOJKINE
a400b8e097
Remove unused variable. Thanks to jshit.
12 lat temu
Ophir LOJKINE
c3d7ec041b
Make the eraser erase with a single click
12 lat temu
Ophir LOJKINE
0d536ae380
Make chronological UIDs.
12 lat temu
Ophir LOJKINE
1ecc676b2c
Add an eraser tool.
12 lat temu
Ophir LOJKINE
61244d1984
Oops. Forgot to add a function in pencil.js
12 lat temu
Ophir LOJKINE
eeb76318d8
Improve the control point calculation algorithm, in order to have smooth paths that feel even more natural.
12 lat temu
Ophir LOJKINE
f88592d235
Update the pencil tool to make beautiful smooth paths (with bezier curves) instead of polylines.
12 lat temu
Ophir LOJKINE
9dd08e656a
Load jscolor only if the browser doesn't support <input type='color'>
12 lat temu
Ophir LOJKINE
c34c141b8e
Add a true color picker (jscolor from jscolor.com)
12 lat temu
Ophir LOJKINE
7b831ab1b5
Display rounded line joins.
12 lat temu
Ophir LOJKINE
2ae4b14710
Change text font to Arial.
12 lat temu
Ophir LOJKINE
34aca4919b
Print the text with the same font on every browser.
12 lat temu
Ophir LOJKINE
134a017095
Use svg polyline element attributes instead of CSS properties to set lines color and width
12 lat temu
Ophir LOJKINE
5bdf54782b
Support touch events. That's the beginning of mobile devices support...
Currently, support is far from being satisfying.
12 lat temu
Ophir LOJKINE
3b04f31630
resizeCanvas() : Refinement in constants
12 lat temu
Ophir LOJKINE
671411c62e
Make the canvas grow faster, so that it really feels like its infinite.
12 lat temu
Ophir LOJKINE
cd1a18589a
Remove the 'delete' instruction. It was only an overhead.
12 lat temu
Ophir LOJKINE
10c492c487
Add a feature to the server to allow downloading history.
12 lat temu
Ophir LOJKINE
b276a7f1e7
Custom mouse cursors for every tools
12 lat temu
Ophir LOJKINE
33826bc11b
Add header info
12 lat temu
Ophir LOJKINE
e70204f5e2
Added a simple hand tool to move more easily in the board.
12 lat temu
Ophir LOJKINE
47a8445d0c
Make the text field visible during text edition.
12 lat temu
Ophir LOJKINE
89e706d87d
Remove now unnecessary styling information.
12 lat temu
Ophir LOJKINE
1728d5863b
Add licensing information to javascript files.
12 lat temu
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.
12 lat temu