Code

History

Commits on drawalpha-array to web/9wd.html35+
  1. drawalpha: fix alphacalc11 indexing, cleanup code, actually add file to html.dhoskin committed 12 years agod3cfcb9
  2. Implement Refbackup for screen-backed images (windows). Implement simple painters-algorithm clipping. Implement css z-ordering of canvases because painter's algorithm is too slow. Implement o (move window) request.dhoskin committed 12 years ago3ec169e
  3. memdraw: rewrite drawmasked to use drawclip.dhoskin committed 12 years agobc221ed
  4. Include pointrect.js, and fix some errors in it.dhoskin committed 12 years ago2b180b0
  5. drawdata: l request: left[1] is signed. Since JavaScript is a high-level language, I have to implement two's-complement myself!dhoskin committed 12 years ago623963c
  6. Get the size of the root image from the canvas element rather than hardcoding it. While we're there, bump the size to 1024x768.dhoskin committed 12 years ago11ff4b4
  7. Add charset=utf8 to script tags, as a hack because the web server doesn't set it.dhoskin committed 12 years agob42e733
  8. Add composetab.js, the generated output of latin2js.dhoskin committed 12 years agof4e6745
  9. Move compose handling to its own file rather than strewn throughout cons.js. Now with 200% more objective orientification!dhoskin committed 12 years agof85ddbe
  10. Indentation; tabs vs spaces.dhoskin committed 13 years agofed0940
  11. Mouse now actually uses cursor! It doesn't seem to lign up right though...dhoskin committed 13 years ago056098c
  12. Refactor: move pad11() from Draw9p to util/.dhoskin committed 13 years agof7551b8
  13. Implement hiding of the error console.dhoskin committed 13 years ago24448ba
  14. Add cmap2rgb() and rgb2cmap(), cribbed from Plan 9 source.dhoskin committed 13 years agoca5b5dd
  15. Implement Memdraw.load() by way of Memdraw.Load.generic(); ``succeeds'' in the sense that it doesn't throw any exceptions when libdraw tries to load fonts, but otherwise untested -- notably, I have no idea if the graphical effect is at all correct, or if it even has any effect at all. If it works, then yay!dhoskin committed 13 years agoa16d45a
  16. Extend stub Memdraw.load() (still a stub), add Chan functions and definitions.dhoskin committed 13 years ago1ee43f0
  17. Add ArrayIterator.dhoskin committed 13 years ago7bddbfb
  18. Add minimal, dummy implementation of screens.dhoskin committed 13 years agofbf7a42
  19. Apparently I need to set the canvas size with its html/dom properties, not CSS.dhoskin committed 13 years agoc9f15c6
  20. Add simple Memdraw test case. Fails.dhoskin committed 13 years ago73da838
  21. Initial stub for 9p-specific logging function.dhoskin committed 13 years ago851ac8e
  22. Reads from refresh should block until there's a refresh event to report. Since there are currently no such events, it will block forever. The current implementation breaks if a second read is issued; this should either be fixed by replacing the callback field with an array thereof, or codified in the exclusive-use bit.dhoskin committed 13 years ago3bd5b47
  23. Initial test implementation of L line-drawing request. Throw in O op request for free. Untested!dhoskin committed 13 years ago82abf21
  24. Preliminary implementation of ``b'' draw request.dhoskin committed 13 years agoef890cb
  25. Stub implementations of reading from /dev/draw/n/ctl and writing to /dev/draw/n/data.dhoskin committed 13 years ago773983d
  26. Refactor /dev/draw/new handling into its own file.dhoskin committed 13 years ago72799c1
  27. Lightly refactor lib9p to be more of a library rather than hardcoding its reference to a particular set of application-specific callbacks.dhoskin committed 13 years ago567802a
  28. Implement proper fid data structure rather than just storing a Qid pointer.dhoskin committed 13 years ago98b5169
  29. Refactor local portion of lib9p.dhoskin committed 13 years agoaf142d7
  30. Implement clunk and stat requests; fill out walk1.dhoskin committed 13 years ago05e665d
  31. Add walk, although it currently misuses qids.dhoskin committed 13 years agoefda602
  32. Implement {T,R}attach; server mounts successfully!dhoskin committed 13 years ago8efe44e
  33. UTF-8 should be complete (still untested!), back out clever array prototype tricks.dhoskin committed 13 years agof66b448
  34. Significant fleshing out of lib9p; add array helpers; start work on UTF-^(8 16) interconversion.dhoskin committed 13 years agoac63c83
  35. Implement skeleton 9P server.dhoskin committed 13 years ago09aeda9