Permalink
Browse files

Merge branch 'master' of github.com:bpierre/modul.io

  • Loading branch information...
2 parents 4388d8f + 32a49ca commit eeeaacf088879d88ba81df1addf732d35df17f33 @raphaelbastide raphaelbastide committed Nov 6, 2011
Showing with 71,318 additions and 957 deletions.
  1. +2 −0 .gitignore
  2. 0 src/lib/errors.js → .gitmodules
  3. +4 −0 README.md
  4. +6 −0 bin/modul.io.js
  5. +116 −0 client/ace/ChangeLog.txt
  6. +476 −0 client/ace/LICENSE
  7. +186 −0 client/ace/Readme.md
  8. +28,005 −0 client/ace/demo/kitchen-sink/kitchen-sink-uncompressed.js
  9. +1 −0 client/ace/demo/kitchen-sink/kitchen-sink.js
  10. BIN client/ace/demo/kitchen-sink/logo.png
  11. +43 −0 client/ace/demo/kitchen-sink/styles.css
  12. +45 −0 client/ace/editor.html
  13. +211 −0 client/ace/kitchen-sink.html
  14. +17,679 −0 client/ace/src/ace-uncompressed.js
  15. +1 −0 client/ace/src/ace.js
  16. +1 −0 client/ace/src/keybinding-emacs.js
  17. +1 −0 client/ace/src/keybinding-vim.js
  18. +1 −0 client/ace/src/mode-c_cpp.js
  19. +1 −0 client/ace/src/mode-clojure.js
  20. +1 −0 client/ace/src/mode-coffee.js
  21. +1 −0 client/ace/src/mode-coldfusion.js
  22. +1 −0 client/ace/src/mode-csharp.js
  23. +1 −0 client/ace/src/mode-css.js
  24. +1 −0 client/ace/src/mode-groovy.js
  25. +1 −0 client/ace/src/mode-html.js
  26. +1 −0 client/ace/src/mode-java.js
  27. +1 −0 client/ace/src/mode-javascript.js
  28. +1 −0 client/ace/src/mode-json.js
  29. +1 −0 client/ace/src/mode-latex.js
  30. +1 −0 client/ace/src/mode-lua.js
  31. +1 −0 client/ace/src/mode-markdown.js
  32. +1 −0 client/ace/src/mode-ocaml.js
  33. +1 −0 client/ace/src/mode-perl.js
  34. +1 −0 client/ace/src/mode-php.js
  35. +1 −0 client/ace/src/mode-powershell.js
  36. +1 −0 client/ace/src/mode-python.js
  37. +1 −0 client/ace/src/mode-ruby.js
  38. +1 −0 client/ace/src/mode-scad.js
  39. +1 −0 client/ace/src/mode-scala.js
  40. +1 −0 client/ace/src/mode-scss.js
  41. +1 −0 client/ace/src/mode-sql.js
  42. +1 −0 client/ace/src/mode-svg.js
  43. +1 −0 client/ace/src/mode-textile.js
  44. +1 −0 client/ace/src/mode-xml.js
  45. +1 −0 client/ace/src/theme-clouds.js
  46. +1 −0 client/ace/src/theme-clouds_midnight.js
  47. +1 −0 client/ace/src/theme-cobalt.js
  48. +1 −0 client/ace/src/theme-crimson_editor.js
  49. +1 −0 client/ace/src/theme-dawn.js
  50. +1 −0 client/ace/src/theme-eclipse.js
  51. +1 −0 client/ace/src/theme-idle_fingers.js
  52. +1 −0 client/ace/src/theme-kr_theme.js
  53. +1 −0 client/ace/src/theme-merbivore.js
  54. +1 −0 client/ace/src/theme-merbivore_soft.js
  55. +1 −0 client/ace/src/theme-mono_industrial.js
  56. +1 −0 client/ace/src/theme-monokai.js
  57. +1 −0 client/ace/src/theme-pastel_on_dark.js
  58. +1 −0 client/ace/src/theme-solarized_dark.js
  59. +1 −0 client/ace/src/theme-solarized_light.js
  60. +1 −0 client/ace/src/theme-textmate.js
  61. +1 −0 client/ace/src/theme-tomorrow.js
  62. +1 −0 client/ace/src/theme-tomorrow_night.js
  63. +1 −0 client/ace/src/theme-tomorrow_night_blue.js
  64. +1 −0 client/ace/src/theme-tomorrow_night_bright.js
  65. +1 −0 client/ace/src/theme-tomorrow_night_eighties.js
  66. +1 −0 client/ace/src/theme-twilight.js
  67. +1 −0 client/ace/src/theme-vibrant_ink.js
  68. +1 −0 client/ace/src/worker-coffee.js
  69. +1 −0 client/ace/src/worker-css.js
  70. +1 −0 client/ace/src/worker-javascript.js
  71. +116 −0 client/ace/textarea/ChangeLog.txt
  72. +476 −0 client/ace/textarea/LICENSE
  73. +186 −0 client/ace/textarea/Readme.md
  74. +138 −0 client/ace/textarea/editor.html
  75. +18,401 −0 client/ace/textarea/src/ace-uncompressed.js
  76. +1 −0 client/ace/textarea/src/ace.js
  77. +1 −0 client/ace/textarea/src/mode-c_cpp.js
  78. +1 −0 client/ace/textarea/src/mode-clojure.js
  79. +1 −0 client/ace/textarea/src/mode-coffee.js
  80. +1 −0 client/ace/textarea/src/mode-coldfusion.js
  81. +1 −0 client/ace/textarea/src/mode-csharp.js
  82. +1 −0 client/ace/textarea/src/mode-css.js
  83. +1 −0 client/ace/textarea/src/mode-groovy.js
  84. +1 −0 client/ace/textarea/src/mode-html.js
  85. +1 −0 client/ace/textarea/src/mode-java.js
  86. +1 −0 client/ace/textarea/src/mode-javascript.js
  87. +1 −0 client/ace/textarea/src/mode-json.js
  88. +1 −0 client/ace/textarea/src/mode-latex.js
  89. +1 −0 client/ace/textarea/src/mode-lua.js
  90. +1 −0 client/ace/textarea/src/mode-markdown.js
  91. +1 −0 client/ace/textarea/src/mode-ocaml.js
  92. +1 −0 client/ace/textarea/src/mode-perl.js
  93. +1 −0 client/ace/textarea/src/mode-php.js
  94. +1 −0 client/ace/textarea/src/mode-powershell.js
  95. +1 −0 client/ace/textarea/src/mode-python.js
  96. +1 −0 client/ace/textarea/src/mode-ruby.js
  97. +1 −0 client/ace/textarea/src/mode-scad.js
  98. +1 −0 client/ace/textarea/src/mode-scala.js
  99. +1 −0 client/ace/textarea/src/mode-scss.js
  100. +1 −0 client/ace/textarea/src/mode-sql.js
  101. +1 −0 client/ace/textarea/src/mode-svg.js
  102. +1 −0 client/ace/textarea/src/mode-textile.js
  103. +1 −0 client/ace/textarea/src/mode-xml.js
  104. +1 −0 client/ace/textarea/src/theme-clouds.js
  105. +1 −0 client/ace/textarea/src/theme-clouds_midnight.js
  106. +1 −0 client/ace/textarea/src/theme-cobalt.js
  107. +1 −0 client/ace/textarea/src/theme-crimson_editor.js
  108. +1 −0 client/ace/textarea/src/theme-dawn.js
  109. +1 −0 client/ace/textarea/src/theme-eclipse.js
  110. +1 −0 client/ace/textarea/src/theme-idle_fingers.js
  111. +1 −0 client/ace/textarea/src/theme-kr_theme.js
  112. +1 −0 client/ace/textarea/src/theme-merbivore.js
  113. +1 −0 client/ace/textarea/src/theme-merbivore_soft.js
  114. +1 −0 client/ace/textarea/src/theme-mono_industrial.js
  115. +1 −0 client/ace/textarea/src/theme-monokai.js
  116. +1 −0 client/ace/textarea/src/theme-pastel_on_dark.js
  117. +1 −0 client/ace/textarea/src/theme-solarized_dark.js
  118. +1 −0 client/ace/textarea/src/theme-solarized_light.js
  119. +1 −0 client/ace/textarea/src/theme-textmate.js
  120. +1 −0 client/ace/textarea/src/theme-tomorrow.js
  121. +1 −0 client/ace/textarea/src/theme-tomorrow_night.js
  122. +1 −0 client/ace/textarea/src/theme-tomorrow_night_blue.js
  123. +1 −0 client/ace/textarea/src/theme-tomorrow_night_bright.js
  124. +1 −0 client/ace/textarea/src/theme-tomorrow_night_eighties.js
  125. +1 −0 client/ace/textarea/src/theme-twilight.js
  126. +1 −0 client/ace/textarea/src/theme-vibrant_ink.js
  127. +230 −0 client/ace/textarea/style.css
  128. BIN ui_demo/topRight.gif → client/favicon.ico
  129. +248 −0 client/scripts/EventEmitter.js
  130. +53 −0 client/scripts/mio.actions.js
  131. +42 −0 client/scripts/mio.console.js
  132. +30 −0 client/scripts/mio.debug.js
  133. +53 −0 client/scripts/mio.editor.js
  134. +133 −0 client/scripts/mio.main.js
  135. 0 {src/static → client}/scripts/mio.modul.js
  136. +293 −0 client/scripts/mio.ui.js
  137. +4 −0 client/scripts/mio.userpanels.js
  138. +41 −7 {src/static → client}/scripts/mio.util.js
  139. +288 −0 client/scripts/mio.world.js
  140. BIN client/styles/font/modulicons/modulicons-webfont.eot
  141. +100 −0 client/styles/font/modulicons/modulicons-webfont.svg
  142. BIN client/styles/font/modulicons/modulicons-webfont.ttf
  143. BIN client/styles/font/modulicons/modulicons-webfont.woff
  144. BIN client/styles/font/modulicons/modulicons2218-webfont.eot
  145. +102 −0 client/styles/font/modulicons/modulicons2218-webfont.svg
  146. BIN client/styles/font/modulicons/modulicons2218-webfont.ttf
  147. BIN client/styles/font/modulicons/modulicons2218-webfont.woff
  148. BIN client/styles/i/logo_198x38.png
  149. BIN client/styles/i/logo_200x38.png
  150. +29 −0 client/styles/mio.css
  151. +57 −0 client/styles/web.css
  152. +52 −0 doc/api.md
  153. +7 −0 doc/coding-style.md
  154. +30 −0 doc/install.md
  155. +34 −0 package.json
  156. 0 README → scripts/install.js
  157. +9 −0 scripts/start.js
  158. +9 −0 scripts/stop.js
  159. +2 −0 server/data/.gitignore
  160. +84 −0 server/fixtures/aude-default.modul
  161. +84 −0 server/fixtures/caroline-default.modul
  162. +92 −0 server/fixtures/default-automove.modul
  163. +83 −0 server/fixtures/default-default.modul
  164. +37 −0 server/fixtures/load-fixtures.js
  165. +343 −0 server/fixtures/pierre-default.modul
  166. +255 −0 server/fixtures/raphael-default.modul
  167. +439 −0 server/fixtures/raphael-test.modul
  168. +175 −0 server/lib/client-display.js
  169. +129 −0 server/lib/data-manager.js
  170. 0 server/lib/errors.js
  171. +17 −3 {src → server}/lib/ground.js
  172. +98 −0 server/lib/logger.js
  173. +234 −0 server/lib/modul.js
  174. +143 −0 server/lib/web.js
  175. +165 −0 server/lib/world.js
  176. +92 −0 server/modul.io.js
  177. 0 {src → server}/views/404.ejs
  178. 0 {src → server}/views/500.ejs
  179. +19 −0 server/views/create-modul.ejs
  180. +51 −0 server/views/index.ejs
  181. 0 {src → server}/views/layout.ejs
  182. +13 −6 {src → server}/views/modul.ejs
  183. +0 −91 src/fixtures/pierre.modul
  184. +0 −73 src/fixtures/raphael.modul
  185. +0 −88 src/lib/modul.js
  186. +0 −121 src/lib/world.js
  187. +0 −162 src/server.js
  188. +0 −24 src/static/scripts/mio.actions.js
  189. +0 −29 src/static/scripts/mio.debug.js
  190. +0 −51 src/static/scripts/mio.main.js
  191. +0 −81 src/static/scripts/mio.ui.js
  192. +0 −161 src/static/scripts/mio.world.js
  193. +0 −31 src/static/scripts/mio.ws.js
  194. +0 −7 src/static/styles/mio.css
  195. BIN ui_demo/{bottomLeft.gif → favicon.ico}
  196. +1 −1 ui_demo/index.html
  197. BIN ui_demo/modul2.gif
  198. BIN ui_demo/modul_zero.png
  199. +11 −4 ui_demo/styles/advanced.css
  200. +4 −8 ui_demo/styles/base.css
  201. +12 −5 ui_demo/styles/default.css
  202. BIN ui_demo/styles/font/envy/envy-webfont.eot
  203. +236 −0 ui_demo/styles/font/envy/envy-webfont.svg
  204. BIN ui_demo/styles/font/envy/envy-webfont.ttf
  205. BIN ui_demo/styles/font/envy/envy-webfont.woff
  206. BIN ui_demo/styles/font/inconsolata/inconsolata-webfont.eot
  207. +228 −0 ui_demo/styles/font/inconsolata/inconsolata-webfont.svg
  208. BIN ui_demo/styles/font/inconsolata/inconsolata-webfont.ttf
  209. BIN ui_demo/styles/font/inconsolata/inconsolata-webfont.woff
  210. +16 −0 ui_demo/styles/font/inconsolata/stylesheet.css
  211. BIN ui_demo/styles/font/modulicons/modulicons-webfont.eot
  212. +100 −0 ui_demo/styles/font/modulicons/modulicons-webfont.svg
  213. BIN ui_demo/styles/font/modulicons/modulicons-webfont.ttf
  214. BIN ui_demo/styles/font/modulicons/modulicons-webfont.woff
  215. BIN ui_demo/styles/font/modulicons/modulicons2218-webfont.eot
  216. +102 −0 ui_demo/styles/font/modulicons/modulicons2218-webfont.svg
  217. BIN ui_demo/styles/font/modulicons/modulicons2218-webfont.ttf
  218. BIN ui_demo/styles/font/modulicons/modulicons2218-webfont.woff
  219. BIN ui_demo/styles/i/logo.png
  220. +11 −4 ui_demo/styles/ice.css
View
@@ -0,0 +1,2 @@
+node_modules
+.DS_Store
File renamed without changes.
View
@@ -0,0 +1,4 @@
+modul.io
+========
+
+See doc/install.md
View
@@ -0,0 +1,6 @@
+#!/usr/bin/env node
+
+// Uncomment this line to launch modul.io in dev mode
+// process.env.NODE_ENV = 'dev';
+
+require("../server/modul.io.js").start();
@@ -0,0 +1,116 @@
+2011.08.02, Version 0.2.0
+
+* Split view (Julian Viereck)
+ - split editor area horizontally or vertivally to show two files at the same
+ time
+
+* Code Folding (Julian Viereck)
+ - Unstructured code folding
+ - Will be the basis for language aware folding
+
+* Mode behaviours (Chris Spencer)
+ - Adds mode specific hooks which allow transformations of entered text
+ - Autoclosing of braces, paranthesis and quotation marks in C style modes
+ - Autoclosing of angular brackets in XML style modes
+
+* New language modes
+ - Clojure (Carin Meier)
+ - C# (Rob Conery)
+ - Groovy (Ben Tilford)
+ - Scala (Ben Tilford)
+ - JSON
+ - OCaml (Sergi Mansilla)
+ - Perl (Panagiotis Astithas)
+ - SCSS/SASS (Andreas Madsen)
+ - SVG
+ - Textile (Kelley van Evert)
+ - SCAD (Jacob Hansson)
+
+* Live syntax checks
+ - Lint for Css using CSS Lint <http://csslint.net/>
+ - CoffeeScript
+
+* New Themes
+ - Crimson Editor (iebuggy)
+ - Merbivore (Michael Schwartz)
+ - Merbivore soft (Michael Schwartz)
+ - Solarized dark/light <http://ethanschoonover.com/solarized> (David Alan
+ Hjelle)
+ - Vibrant Ink (Michael Schwartz)
+
+* Small Features/Enhancements
+ - Lots of render performance optimizations (Harutyun Amirjanyan)
+ - Improved Ruby highlighting (Chris Wanstrath, Trent Ogren)
+ - Improved PHP highlighting (Thomas Hruska)
+ - Improved CSS highlighting (Sean Kellogg)
+ - Clicks which cause the editor to be focused don't reset the selection
+ - Make padding text layer specific so that print margin and active line
+ highlight are not affected (Irakli Gozalishvili)
+ - Added setFontSize method
+ - Improved vi keybindings (Trent Ogren)
+ - When unfocused make cursor transparent instead of removing it (Harutyun
+ Amirjanyan)
+ - Support for matching groups in tokenizer with arrays of tokens (Chris
+ Spencer)
+
+* Bug fixes
+ - Add support for the new OSX scroll bars
+ - Properly highlight JavaScript regexp literals
+ - Proper handling of unicode characters in JavaScript identifiers
+ - Fix remove lines command on last line (Harutyun Amirjanyan)
+ - Fix scroll wheel sluggishness in Safari
+ - Make keyboard infrastructure route keys like []^$ the right way (Julian
+ Viereck)
+
+2011.02.14, Version 0.1.6
+
+* Floating Anchors
+ - An Anchor is a floating pointer in the document.
+ - Whenever text is inserted or deleted before the cursor, the position of
+ the cursor is updated
+ - Usesd for the cursor and selection
+ - Basis for bookmarks, multiple cursors and snippets in the future
+* Extensive support for Cocoa style keybindings on the Mac <https://github.com/ajaxorg/ace/issues/closed#issue/116/comment/767803>
+* New commands:
+ - center selection in viewport
+ - remove to end/start of line
+ - split line
+ - transpose letters
+* Refator markers
+ - Custom code can be used to render markers
+ - Markers can be in front or behind the text
+ - Markers are now stored in the session (was in the renderer)
+* Lots of IE8 fixes including copy, cut and selections
+* Unit tests can also be run in the browser
+ <https://github.com/ajaxorg/ace/blob/master/lib/ace/test/tests.html>
+* Soft wrap can adapt to the width of the editor (Mike Ratcliffe, Joe Cheng)
+* Add minimal node server server.js to run the Ace demo in Chrome
+* The top level editor.html demo has been renamed to index.html
+* Bug fixes
+ - Fixed gotoLine to consider wrapped lines when calculating where to scroll to (James Allen)
+ - Fixed isues when the editor was scrolled in the web page (Eric Allam)
+ - Highlighting of Python string literals
+ - Syntax rule for PHP comments
+
+2011.02.08, Version 0.1.5
+
+* Add Coffeescript Mode (Satoshi Murakami)
+* Fix word wrap bug (Julian Viereck)
+* Fix packaged version of the Eclipse mode
+* Loading of workers is more robust
+* Fix "click selection"
+* Allow tokizing empty lines (Daniel Krech)
+* Make PageUp/Down behavior more consistent with native OS (Joe Cheng)
+
+2011.02.04, Version 0.1.4
+
+* Add C/C++ mode contributed by Gastón Kleiman
+* Fix exception in key input
+
+2011.02.04, Version 0.1.3
+
+* Let the packaged version play nice with requireJS
+* Add Ruby mode contributed by Shlomo Zalman Heigh
+* Add Java mode contributed by Tom Tasche
+* Fix annotation bug
+* Changing a document added a new empty line at the end
Oops, something went wrong. Retry.

0 comments on commit eeeaacf

Please sign in to comment.