From 5a0bd89c79f77068a400ca6d97a3d275df42d8ea Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Wed, 2 Feb 2011 13:34:14 +0100 Subject: [PATCH 1/4] update pilot --- support/pilot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/pilot b/support/pilot index 67a38030..c0cab19c 160000 --- a/support/pilot +++ b/support/pilot @@ -1 +1 @@ -Subproject commit 67a380309e5b139a9603334ad9d9f917659f04bc +Subproject commit c0cab19cbb5d44df98bae0060c782a6f30464afe From 534c08ba89b5f9aeea0e878b9876b9d3ff38c3b9 Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Wed, 2 Feb 2011 13:43:42 +0100 Subject: [PATCH 2/4] ignore cloud9 project file --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 3417a1bf..49639ae5 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ .project .settings/ .settings.xml +.c9settiongs.xml .settings.xml.old .*.gz From 4010fad25436e382031def599271f2a9125c6a54 Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Wed, 2 Feb 2011 18:10:42 +0100 Subject: [PATCH 3/4] use objects instead of sparse arrays --- lib/ace/edit_session.js | 4 ++-- lib/ace/layer/gutter.js | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/lib/ace/edit_session.js b/lib/ace/edit_session.js index 3d630ce3..4f31f39a 100644 --- a/lib/ace/edit_session.js +++ b/lib/ace/edit_session.js @@ -214,7 +214,7 @@ var EditSession = function(text, mode) { * } */ this.setAnnotations = function(annotations) { - this.$annotations = []; + this.$annotations = {}; for (var i=0; i Date: Wed, 2 Feb 2011 18:11:03 +0100 Subject: [PATCH 4/4] small worker fixes --- lib/ace/worker/worker.js | 3 ++- lib/ace/worker/worker_client.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/ace/worker/worker.js b/lib/ace/worker/worker.js index cb449ffd..a7a555d9 100644 --- a/lib/ace/worker/worker.js +++ b/lib/ace/worker/worker.js @@ -19,9 +19,10 @@ var require = function(id) { var chunks = id.split("/"); chunks[0] = require.tlns[chunks[0]] || chunks[0]; - path = require.baseUrl + "/" + chunks.join("/") + ".js" + path = /*require.baseUrl + "/" +*/ chunks.join("/") + ".js" require.id = id; +// console.log("require " + path + " " + id) importScripts(path); return require(id); }; diff --git a/lib/ace/worker/worker_client.js b/lib/ace/worker/worker_client.js index f98e5a1e..44cb453b 100644 --- a/lib/ace/worker/worker_client.js +++ b/lib/ace/worker/worker_client.js @@ -42,6 +42,7 @@ var WorkerClient = function(baseUrl, topLevelNamespaces, packagedJs, module, cla var _self = this; this.$worker.onerror = function(e) { + console.log(e); throw e; }; this.$worker.onmessage = function(e) {