IRC log of dig on 2012-03-07
Timestamps are in UTC.
- 00:22:17 [github]
- github (~github@sh2.rs.github.com) has joined #dig
- 00:22:17 [github]
- [tabulator] timbl pushed 2 new commits to master: http://git.io/b690VA
- 00:22:17 [github]
- [tabulator/master] The Multiline text input will now save automatically if you lose focus of an edit text field even if you haven't pressed the Submit button - Tim Berners-Lee
- 00:22:17 [github]
- [tabulator/master] Merge branch 'ui-tweaks' - Tim Berners-Lee
- 00:22:17 [github]
- github has left #dig
- 00:44:34 [scor]
- scor has quit (Quit: scor)
- 00:47:36 [bblfish]
- bblfish has quit (Remote host closed the connection)
- 00:53:16 [scor]
- scor (~scor@drupal.org/user/52142/view) has joined #dig
- 00:58:05 [timbl]
- bblfish, licence, yes
- 01:13:00 [timbl]
- Just did git pull and now the tabulator-firefox fails silently
- 01:27:43 [cheater_]
- cheater_ (~cheater@dslb-084-057-041-216.pools.arcor-ip.net) has joined #dig
- 01:30:29 [cheater]
- cheater has quit (Ping timeout: 265 seconds)
- 01:36:03 [scor]
- scor has quit (Quit: scor)
- 01:36:37 [tlr_]
- tlr_ (~tlr@88.207.145.44) has joined #dig
- 01:38:23 [tlr]
- tlr has quit (Ping timeout: 245 seconds)
- 01:38:23 [tlr_]
- tlr_ is now known as tlr
- 01:42:40 [timbl]
- timbl has quit (Quit: timbl)
- 01:52:05 [scor]
- scor (~scor@drupal.org/user/52142/view) has joined #dig
- 01:57:40 [scor]
- scor has quit (Quit: scor)
- 02:00:58 [timbl]
- timbl (~timbl@c-24-62-225-11.hsd1.ma.comcast.net) has joined #dig
- 02:41:24 [timbl]
- Error: $ is not defined
- 02:41:24 [timbl]
- Source File: chrome://tabulator/content/js/tab/outline.js
- 02:41:24 [timbl]
- Line: 561
- 02:45:36 [kennyluck]
- kennyluck has quit (Read error: Connection reset by peer)
- 02:45:50 [kennyluck]
- kennyluck (~kennyluck@114-43-126-158.dynamic.hinet.net) has joined #dig
- 04:20:28 [rszeno]
- rszeno has quit (Quit: Leaving.)
- 04:32:31 [tlr]
- tlr has quit (Quit: tlr)
- 06:26:55 [melvster]
- melvster (~melvin@p4FF96EB7.dip.t-dialin.net) has joined #dig
- 07:37:18 [tlr]
- tlr (~tlr@80.187.200.0) has joined #dig
- 07:44:29 [tlr]
- tlr has quit (Quit: tlr)
- 08:06:59 [cheater__]
- cheater__ (~cheater@dslb-084-057-039-160.pools.arcor-ip.net) has joined #dig
- 08:09:01 [cheater_]
- cheater_ has quit (Ping timeout: 252 seconds)
- 08:59:02 [bblfish]
- bblfish (~bblfish@AAubervilliers-651-1-340-214.w83-114.abo.wanadoo.fr) has joined #dig
- 09:41:41 [mhausenblas]
- mhausenblas (~mhausenbl@wlan-nat.fwgal01.deri.ie) has joined #dig
- 10:00:40 [rszeno]
- rszeno (~rszeno@79.114.98.40) has joined #dig
- 10:01:11 [mhausenblas]
- mhausenblas has quit (Quit: brb)
- 10:01:45 [mhausenblas]
- mhausenblas (~mhausenbl@wlan-nat.fwgal01.deri.ie) has joined #dig
- 10:38:32 [rszeno]
- rszeno has quit (Quit: Leaving.)
- 11:18:41 [melvster1]
- melvster1 (~melvin@p4FF97B84.dip.t-dialin.net) has joined #dig
- 11:21:57 [melvster]
- melvster has quit (Ping timeout: 248 seconds)
- 12:16:40 [bblfish]
- betehess_: no TLS support in Play it seems https://groups.google.com/d/topic/play-framework/DvD8iqmIwE4/discussion
- 12:55:57 [Ralph]
- Ralph (Ralph@30-7-118.wireless.csail.mit.edu) has joined #dig
- 12:55:58 [Ralph]
- Ralph is now known as RalphS
- 13:44:30 [bblfish]
- betehess_: tu est quand a www2012? Quels jours?
- 13:53:55 [mhausenblas]
- mhausenblas has quit (Quit: brb)
- 14:04:10 [mhausenblas]
- mhausenblas (~mhausenbl@wlan-nat.fwgal01.deri.ie) has joined #dig
- 14:26:01 [timbl]
- timbl has quit (Ping timeout: 244 seconds)
- 15:01:02 [scor]
- scor (~scor@drupal.org/user/52142/view) has joined #dig
- 15:06:10 [melvster1]
- presbrey: im thinking about demos for tabulator ... putting simple little tabulator demos together ... what do you think tabulator.org/demo or tabulator.org/demos ? maybe I'll start with /play ?
- 15:07:31 [melvster1]
- i wonder if we should have a tabulator blog too ...
- 15:08:20 [mhausenblas]
- mhausenblas has quit (Quit: brb)
- 15:08:52 [melvster1]
- then we could maybe do a tabulator story each week (or more frequently) and have it syndicated out to planet rdf
- 15:16:26 [timbl]
- timbl (~timbl@31-34-255.wireless.csail.mit.edu) has joined #dig
- 15:27:25 [timbl]
- timbl has quit (Remote host closed the connection)
- 15:27:34 [timbl]
- timbl (~timbl@w3cdhcp5.w3.org) has joined #dig
- 15:43:03 [presbrey]
- melvster1, re. tabulator blog, we have the breadcrumbs blog already
- 15:44:04 [presbrey]
- a blog based on in pure JS, LD + ACL would be a nice demo
- 15:44:07 [timbl]
- can we give you an account on it?
- 15:44:09 [melvster1]
- this one? http://dig.csail.mit.edu/breadcrumbs/
- 15:44:48 [timbl]
- Would be cool of course to do a blog in LD
- 15:45:08 [timbl]
- we would need to make sure the whole system works will wiht embedded HTML
- 15:45:16 [melvster1]
- i was thinking of maybe doing a mini project / enhancement to tabulator, say once a week, then we have pointers to all this functionality
- 15:45:20 [timbl]
- which would be a really useful excercise anywya IMHO
- 15:45:21 [presbrey]
- read the graph index under /blog/; read the owners(authors) from .meta
- 15:45:29 [melvster1]
- toby used to develop demiblog
- 15:45:37 [timbl]
- I think the embedded xHTML data type is an important one
- 15:45:38 [melvster1]
- which is all LD
- 15:45:56 [melvster1]
- but i havent seen toby around in a while
- 15:46:13 [melvster1]
- there was an LD plugin announced for wordpress last week
- 15:46:35 [timbl]
- Can we skin the tabulator issue tracker I wonder
- 15:46:42 [melvster1]
- http://wordpress.org/extend/plugins/rdface/
- 15:46:50 [presbrey]
- http://tabulator.org/blog/.json-ld
- 15:47:10 [melvster1]
- the thing about a blog is, it attracts spammers like crazy
- 15:47:14 [timbl]
- I have this problem that $ (ie jQuery is not defined in outline mode, after pulling the latest
- 15:47:18 [timbl]
- anyone any ideas?
- 15:47:23 [melvster1]
- that can eat into your dev time if you're not careful
- 15:47:50 [presbrey]
- timbl, sounds like jQuery.noConflict is called?
- 15:48:00 [timbl]
- melvster, we had the dig blg set do only friends of friends of friends of DIG people could comment.
- 15:48:38 [melvster1]
- oh yes i saw that ... i meant if you're building one on tabulator.org ... then the wrong sort might find their way to the data etc.
- 15:48:51 [melvster1]
- i know we can protect it all
- 15:49:34 [melvster1]
- it's kind of nice that it's an open data wiki right now for dev tho ... as tabulator grows we'll have to tighten things up I guess
- 15:50:14 [timbl]
- How does $.NoConflict() remove $ from the symbol table? If so how?
- 15:50:24 [presbrey]
- yes I agree melvster1, I think 1 line: acl:ownerClass WebID; could last us several years :)
- 15:51:10 [presbrey]
- I'm not sure about noConflict
- 15:51:30 [presbrey]
- but I have used it with prototype.js like that before
- 15:51:32 [timbl]
- I think Oshani's code uses it
- 15:51:58 [presbrey]
- just change $ to jQuery
- 15:52:08 [timbl]
- tabulator-firefox/content/js/tab/semclip.js
- 15:52:22 [presbrey]
- its better to be explicit
- 15:52:36 [presbrey]
- and then if we ever want to change all the jQuery bits all at once it will be easier to do
- 15:54:01 [presbrey]
- eg. like to drop jQuery when our ajax is better :)
- 15:54:17 [timbl]
- jQuery('#queryButton').removeAttr('style');
- 15:54:29 [timbl]
- ->
- 15:54:31 [timbl]
- Error: jQuery is not defined
- 15:54:31 [timbl]
- Source File: chrome://tabulator/content/js/tab/outline.js
- 15:54:31 [timbl]
- Line: 561
- 15:54:45 [presbrey]
- that just needs to check if queryButton really exists first before calling removeAttr
- 15:56:18 [timbl]
- For coding the UI, some people have said they don't want to work on the project f we don't have jQuery
- 15:56:20 [presbrey]
- so we can put a fake jQuery function that checks if (arg0[0]=='#') { return document.getElementById(arg0.substr(1)); }
- 15:56:40 [presbrey]
- or we can change it back to vanilla and check for queryButton first
- 15:56:49 [timbl]
- What I want to know is why in this version is jQuery undefined?
- 15:57:16 [timbl]
- Did someone add that $ line?
- 15:57:47 [melvster1]
- timbl: jquery with twitter bootstrap 2 seems to be becoming a really popular way for making nice looking UIs ... bootstrap is responsive too, so can work on any screen resolution
- 15:58:04 [presbrey]
- I assume jQuery or at least Prototype in JS-mode too
- 15:59:36 [presbrey]
- I must have put the $ in by mistake when fixing skin version (w/o queryButton)
- 15:59:39 [timbl]
- Just now I need to get this stupid thing working again so I can use it
- 15:59:58 [timbl]
- Maybe I should re-checout the whole tree again in case git is misbehaving
- 16:00:14 [presbrey]
- which version are you trying
- 16:00:21 [timbl]
- origin master
- 16:00:32 [presbrey]
- chrome firefox or skin?
- 16:00:50 [timbl]
- firefox
- 16:04:25 [rszeno]
- rszeno (~rszeno@79.114.63.247) has joined #dig
- 16:05:20 [github]
- github (~github@sh1-ext.rs.github.com) has joined #dig
- 16:05:20 [github]
- [rdflib.js] presbrey pushed 1 new commit to master: http://git.io/FwWQ2Q
- 16:05:20 [github]
- [rdflib.js/master] Makefile: add status target - Joe Presbrey
- 16:05:20 [github]
- github has left #dig
- 16:05:38 [github]
- github (~github@sh2.rs.github.com) has joined #dig
- 16:05:38 [github]
- [tabulator] presbrey pushed 1 new commit to master: http://git.io/_ywz3A
- 16:05:38 [github]
- [tabulator/master] Makefile: add status target - Joe Presbrey
- 16:05:38 [github]
- github has left #dig
- 16:07:00 [melvster1]
- maybe we should tag stable versions in each tree
- 16:07:14 [melvster1]
- then we can just jump back to a known working point
- 16:07:35 [melvster1]
- a tag is just a pointer to a particular commit
- 16:08:05 [timbl]
- The changes I pulled in were lots of stuff in rdf/example, but nothing I remember noticing higher up
- 16:08:06 [melvster1]
- could be of the format stable <date> or something like that ...
- 16:08:19 [timbl]
- yes, tagging works for me veriosn is a godo idea -- wish I had
- 16:09:04 [Pipian_]
- Pipian_ (~pipian@31-35-177.wireless.csail.mit.edu) has joined #dig
- 16:09:44 [github]
- github (~github@sh2.rs.github.com) has joined #dig
- 16:09:44 [github]
- [tabulator] presbrey pushed 1 new commit to master: http://git.io/wqe0Lw
- 16:09:44 [github]
- [tabulator/master] use latest rdflib - Joe Presbrey
- 16:09:44 [github]
- github has left #dig
- 16:09:44 [melvster1]
- each commit actually has the tag which is it's own sha1 ... but of course they are not very human memorable, but they can still be checked out
- 16:10:24 [github]
- github (~github@sh1-ext.rs.github.com) has joined #dig
- 16:10:25 [github]
- [tabulator-firefox] presbrey pushed 1 new commit to master: http://git.io/v7rHVA
- 16:10:25 [github]
- [tabulator-firefox/master] Makefile: add status target - Joe Presbrey
- 16:10:25 [github]
- github has left #dig
- 16:11:40 [presbrey]
- try to run `make status`
- 16:13:14 [timbl]
- yes, that saves typing - thanks
- 16:14:15 [timbl]
- I have gone back to ui-tweakes fo rtabulator and to a random rdf 39f6a7d
- 16:14:23 [timbl]
- for the rdf lib
- 16:14:31 [timbl]
- don't see any problem
- 16:15:15 [timbl]
- even without running make -- though the libs are now checked in as built and will switch automatically, or I still have to rebuild them with make?
- 16:15:39 [melvster1]
- timbl, presbrey: I'd be happy to do a tabulator oriented blog on breadcrumbs .... I was thinking maybe 1 blog post a week roughly to introduce people to tabulator, show what things we have working, saying the new things that have just been developed ... hopefully I can spend at least the rest of the year helping with tabulator ... but I dont mind doing it on another blog, or on my own personal one ... would just like to share it with some linked
- 16:15:52 [presbrey]
- I can't see the ui-tweaks branch, can you push that?
- 16:17:03 [presbrey]
- thats a jQuery bug I think
- 16:17:11 [presbrey]
- we shoudn't have jquery in our branch
- 16:17:16 [timbl]
- git push origin ui-tweaks
- 16:17:24 [melvster1]
- presbrey: re the change I made to sparqlUpdate.js I've pushed that to rdflib, tabulator and gh-pages ... I didnt push it as far as tabulator-firefox or -chrome yet ... but it should not effect anything
- 16:17:28 [timbl]
- * [new branch] ui-tweaks -> ui-tweaks
- 16:17:39 [timbl]
- why no IRC echo o fthe push?
- 16:18:35 [melvster1]
- im not sure irc reports *every* repo
- 16:19:08 [mattl]
- mattl has quit (Ping timeout: 240 seconds)
- 16:19:16 [presbrey]
- I heard github has some bugs too :\
- 16:19:21 [timbl]
- $ git diff origin master
- 16:19:21 [timbl]
- $
- 16:19:38 [timbl]
- :-) bugs .. IRC must have been fun to watch then
- 16:20:55 [timbl]
- I heard it was an interesting story, that someone complained about a security bug that the security wasn't on by default and was ignored in the rails project so he hacked it just to show that it was indeed a problem.
- 16:21:57 [melvster1]
- yes ... that was a popular story this week :)
- 16:23:44 [timbl]
- Ok, I checkout the ui-weaks branch and it works.
- 16:24:01 [presbrey]
- diff like: git diff origin/master
- 16:24:03 [timbl]
- I switch to master and it does not
- 16:24:17 [presbrey]
- I think this is a jquery 1.4.2 bug, I am checking their current: 1.7.1 now
- 16:24:35 [presbrey]
- I got the $/jQuery undefined bug but I see above:
- 16:24:38 [presbrey]
- Error: r is null
- 16:24:38 [presbrey]
- Source File: chrome://tabulator/content/js/jquery/jquery-1.4.2.min.js
- 16:24:38 [presbrey]
- Line: 112
- 16:24:46 [timbl]
- $ git diff origin/master
- 16:24:46 [timbl]
- usage: git diff [--no-index] <path> <path>
- 16:25:08 [melvster1]
- no /
- 16:25:13 [melvster1]
- you can do just
- 16:25:15 [melvster1]
- git diff
- 16:25:16 [melvster1]
- i think
- 16:25:21 [timbl]
- That "r is null has been there for ages, no stack trace o r debugger, so hard to find it'
- 16:25:21 [presbrey]
- I am in master rightnow
- 16:25:27 [timbl]
- $ git diff origin/master
- 16:25:27 [timbl]
- usage: git diff [--no-index] <path> <path>
- 16:25:40 [presbrey]
- this works from master too: git diff origin/ui-tweaks
- 16:26:35 [timbl]
- What version of git do you have?
- 16:26:48 [presbrey]
- content]$ git --version
- 16:26:48 [presbrey]
- git version 1.7.6.4
- 16:26:59 [timbl]
- git version 1.7.6
- 16:27:35 [timbl]
- Was the .4 really fixing the diff command?
- 16:28:33 [timbl]
- help git diff is full of cgood things
- 16:29:23 [melvster1]
- you can do
- 16:29:26 [melvster1]
- git diff
- 16:29:29 [melvster1]
- git diff HEAD
- 16:29:56 [timbl]
- $ git diff
- 16:29:56 [timbl]
- usage: git diff [--no-index] <path> <path>
- 16:29:56 [timbl]
- $ git diff HEAD
- 16:29:57 [timbl]
- usage: git diff [--no-index] <path> <path>
- 16:29:57 [timbl]
- $
- 16:30:29 [timbl]
- It looks as though git diff is being dispatched to the diff command diff uses on files not the high level diff
- 16:31:09 [melvster1]
- ah yes
- 16:31:47 [melvster1]
- you can choose what tool you want to display the diff
- 16:31:56 [melvster1]
- i had some visual tool once that handled conflicts
- 16:35:13 [melvster1]
- timbl: which directory are you in?
- 16:36:18 [timbl]
- good question -- i had slipped into a non-git directory and so the tool then changed to a file diff tool
- 16:36:25 [timbl]
- http://stackoverflow.com/questions/3127888/why-doesnt-git-diff-work-on-the-command-line-for-me
- 16:36:34 [melvster1]
- ah!
- 16:36:58 [melvster1]
- the web of documents to the rescue again :)
- 16:37:20 [timbl]
- If you checkout I assume that does not become recurive
- 16:38:12 [timbl]
- $ git diff master
- 16:38:12 [timbl]
- diff --git a/js/rdf b/js/rdf
- 16:38:13 [timbl]
- index aa28203..39f6a7d 160000
- 16:38:13 [timbl]
- --- a/js/rdf
- 16:38:13 [timbl]
- +++ b/js/rdf
- 16:38:14 [timbl]
- @@ -1 +1 @@
- 16:38:14 [timbl]
- -Subproject commit aa282039f840710192dd012bc49470593d01a40c
- 16:38:14 [timbl]
- +Subproject commit 39f6a7d85b2cb14fb64ebe800c7e064324b96adf
- 16:38:14 [timbl]
- $
- 16:38:47 [melvster1]
- submodule is essentially a pointer to a commit in another git repo
- 16:39:32 [timbl]
- So when you commit a modue, it just record the submodule commit, but doe not check out the right one?
- 16:40:58 [melvster1]
- submodules can be tricky, but I think it checks out whatever HEAD is pointing to
- 16:41:11 [melvster1]
- or the current branch
- 16:41:40 [melvster1]
- all branches including HEAD are just pointers to somewhere in the commit tree
- 16:41:57 [melvster1]
- tags are static pointers ... branches move
- 16:42:13 [melvster1]
- im not sure if i answered your question there :)
- 16:42:55 [mattl]
- mattl (mattl@gateway/shell/gnu/x-dygigashmfuoyhtg) has joined #dig
- 16:43:21 [mattl]
- mattl is now known as Guest64028
- 16:43:27 [timbl]
- There i sno checkout --recursive so I can switch branches in the supermodule and the submodule independently
- 16:43:28 [melvster1]
- this is quite good http://longair.net/blog/2010/06/02/git-submodules-explained/
- 16:43:55 [timbl]
- NoW i am getting the bug, that $ is not defined, on the master branch
- 16:44:04 [melvster1]
- i think since version 1.7 --recursive works in a more intuitie way
- 16:44:21 [timbl]
- and many more of teh "r is null" errors
- 16:44:51 [melvster1]
- i meant git version 1.7 rather than jquery version 1.7 which just got added i think
- 16:48:52 [presbrey]
- think I found the r is null
- 16:49:29 [presbrey]
- it is easier with the non-min jQuery
- 16:51:50 [presbrey]
- you're right getOutlinerHTML is not used anymore
- 16:52:56 [timbl]
- did getOutlinerHTML have the jQuery load in it?
- 16:54:00 [timbl]
- The lastest master has a copy of mashlib in it?
- 16:55:32 [timbl]
- the mashlib was deleted
- 16:55:47 [melvster1]
- i think you might need to do a make
- 16:56:16 [timbl]
- Whta would I be missing?
- 16:56:53 [presbrey]
- mashlib is in the gh-pages branch?
- 16:56:54 [timbl]
- jquery maybe ... a load failed sliently
- 16:57:15 [presbrey]
- I'm getting something else:
- 16:57:17 [presbrey]
- Error: uncaught exception: [Exception... "Component returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]" nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)" location: "JS frame :: chrome://tabulator/content/js/tab/browserInit.js :: <TOP_LEVEL> :: line 3" data: no]
- 16:59:02 [melvster1]
- presbrey: i get that sometimes ... it's a weird one
- 16:59:21 [presbrey]
- line 3? var tabulator = getService()...
- 16:59:22 [melvster1]
- something to do with creating a new profile searches I did said
- 16:59:30 [melvster1]
- yeah that's where it hit me
- 16:59:42 [melvster1]
- advice was to restart firefox as root or reboot
- 16:59:59 [presbrey]
- that seems like an xp com thing to me
- 17:00:03 [timbl]
- That weird erroe - is that the tabulator component craetion has crashed, and the bug is when soemone tried to load tabulator as a compondent
- 17:00:16 [timbl]
- basically then the extension doesn't exists
- 17:00:27 [melvster1]
- ive had that error for a while in FF but have been mainly working with mashlib on chrome
- 17:00:41 [melvster1]
- i made a sepearate profile like you did presbrey
- 17:00:47 [melvster1]
- let me try rebooting ... brb
- 17:01:03 [timbl]
- The problem is that th firefox won't tell you whythe tabulator code crashed
- 17:03:01 [melvster1]
- melvster1 has quit (Quit: Leaving.)
- 17:06:21 [timbl]
- presbrey, if you get that "tabulator doesn't exist" worth checking you haven't just makde a typo and a js file won't parse .. just trythe code you have been editin on the command line
- 17:06:28 [timbl]
- like iwth node or Rhino
- 17:06:50 [timbl]
- I use alias js='CLASSPATH="/devel/rhino/rhino1_7R3/js.jar" java org.mozilla.javascript.tools.shell.Main'
- 17:07:21 [timbl]
- and just do js rdflib.js to check it is OK
- 17:08:09 [melvster]
- melvster (~melvin@p4FF97B84.dip.t-dialin.net) has joined #dig
- 17:09:16 [melvster]
- just rebooted
- 17:09:22 [melvster]
- Error: Component returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]
- 17:09:22 [melvster]
- Source file: chrome://tabulator/content/js/tab/browserInit.js Line: 3
- 17:09:35 [melvster]
- maybe because I'm using ubuntu
- 17:09:41 [melvster]
- i could never work out why that was
- 17:10:02 [presbrey]
- I found mine; alert() I put in init.js
- 17:11:20 [timbl]
- There is no alert() available there?
- 17:11:34 [presbrey]
- not on line1 apparently
- 17:11:38 [timbl]
- you missed member:presbrey, if you get that "tabulator doesn't exist" worth checking you haven't just makde a typo and a js file won't parse .. just trythe code you have been editin on the command line
- 17:12:14 [timbl]
- You can use dump() to output to stdout when alert() isn't available
- 17:12:30 [presbrey]
- also loading jquery from init.js with loadScript also causes the component error
- 17:16:11 [timbl]
- Stupid that we don't get the error. ..did you check stderr? maybe with extensions.logging turned on
- 17:16:17 [timbl]
- it would dump it there
- 17:19:30 [presbrey]
- in tabulator.xul I put dump(jQuery) at the bottom; that sends to stderr: function(selector,context)...morejQuery...
- 17:19:39 [melvster]
- $ firefox -jsconsole -P Tabulator
- 17:19:39 [melvster]
- @@ Loading js/tab/log-ext.js
- 17:19:39 [melvster]
- @@@ init.js Inital setting of tabulator.log
- 17:19:39 [melvster]
- @@ Loading js/rdf/dist/rdflib.js
- 17:20:08 [presbrey]
- but when you go to error console on tabulator, window.jQuery() throws "is not a function"
- 17:20:29 [presbrey]
- but window says: [object ChromeWindow]
- 17:21:19 [presbrey]
- crazy that I added it to the outline template too, view source shows it after tabbedtab.css and js/widgets/style.css
- 17:25:52 [presbrey]
- so which window is that?
- 17:54:03 [presbrey]
- tabulator.xul has many $jq() already
- 17:55:11 [timbl]
- I don't know how all these namespaces can and cannot connect .. you mean we could in tabulator.xul load jQuery and tehn set tabulator.jq = jQuery and then pick it anywheer?
- 17:55:54 [timbl]
- But jQuery is connected to a specific window, and you can't just call an arbitary jQuery surely in the code when you need a useful function like ajax.
- 17:56:16 [presbrey]
- some parts are document-bound too
- 17:56:45 [timbl]
- outline mode is document-bound, should hav no trouble having a jQ
- 17:56:45 [presbrey]
- from outlne.js, $jq is jambo inserting jquery
- 17:57:53 [timbl]
- Yes, he never got that working as fas as I know
- 17:58:11 [presbrey]
- oshani has jQ in semclip.js
- 17:58:29 [presbrey]
- so whats special about outline.js?
- 18:00:51 [timbl]
- semclib is called from tabulator.xul ../../tabulator.xul: <script type="application/x-javascript" src="js/tab/semclip.js"/> <!-- For the Semantic Clipboard -->
- 18:01:37 [timbl]
- so it is in this tabulator compontnt spcae
- 18:01:38 [presbrey]
- is ffox using mashlib?
- 18:01:58 [timbl]
- outline is called from the page itself
- 18:02:20 [timbl]
- no, ffox is not using mashlib, it includes all the bits of mashlib except the init.js
- 18:02:47 [timbl]
- which is specific for mashup and or extension
- 18:03:06 [presbrey]
- outline must be loaded too early
- 18:03:16 [timbl]
- Were is the page template at the moment?
- 18:03:39 [timbl]
- IIRC it used to load jquery into the page
- 18:04:00 [timbl]
- but that disappeared .. maybe attempts to speed everything up
- 18:05:03 [bblfish]
- betehess_: just discovered that Option(null) == None
- 18:05:21 [timbl]
- If you just load jquery in init.js it crashes, you say -- any idea what the problem is?
- 18:05:43 [timbl]
- (I would guess that it needs window and stuff which are notavailable there)
- 18:05:47 [presbrey]
- no; no error messages + no stack trace = nightmare
- 18:05:55 [timbl]
- +1
- 18:06:10 [presbrey]
- I wish we knew how to get at them
- 18:06:28 [timbl]
- maybe like I do when you load a pane: ctach any errors and print your own stack race
- 18:06:56 [timbl]
- I find that very handy . just puts the error message in place of hte pane
- 18:07:07 [timbl]
- good for students making panes too
- 18:08:07 [timbl]
- pre.appendChild(myDocument.createTextNode(tabulator.Util.stackString(e)));
- 18:08:58 [timbl]
- in outline.js
- 18:09:29 [timbl]
- can we rename util-nonlib.js ?
- 18:10:05 [timbl]
- it looks like a lib to my search hack
- 18:10:11 [timbl]
- and so is ignored
- 18:10:17 [timbl]
- minor thing
- 18:11:38 [presbrey]
- sure I usually call that 'common.js'
- 18:11:51 [timbl]
- wfm
- 18:12:39 [presbrey]
- this is the startup error fix:
- 18:12:54 [presbrey]
- --- a/js/jquery/jquery-1.7.1.js
- 18:12:54 [presbrey]
- +++ b/js/jquery/jquery-1.7.1.js
- 18:12:54 [presbrey]
- @@ -6330,7 +6330,7 @@ jQuery.extend({
- 18:12:54 [presbrey]
- div.insertBefore( context.createTextNode( rleadingWhitespace.exec(elem)[0] ), div.firstChild );
- 18:12:54 [presbrey]
- }
- 18:12:55 [presbrey]
-
- 18:12:57 [presbrey]
- - elem = div.childNodes;
- 18:13:01 [presbrey]
- + elem = div ? div.childNodes : [];
- 18:13:03 [presbrey]
- }
- 18:13:05 [presbrey]
- }
- 18:13:07 [presbrey]
-
- 18:13:21 [presbrey]
- the startup error changes from 'r is null' to 'div is undefined' with 1.7.1
- 18:13:34 [timbl]
- cool!
- 18:13:53 [presbrey]
- so something is trying to traverse the dom before it exists
- 18:15:12 [timbl]
- suppose try { init.js code } catch(e) { dump(tabulator.Util.stackString(e)} ?
- 18:15:28 [timbl]
- after the util has been loaded
- 18:17:09 [timbl]
- or just copy the code
- 18:18:34 [presbrey]
- rdf]$ git push origin master
- 18:18:34 [presbrey]
- ERROR: Hi presbrey, it's GitHub. We're doing an SSH key audit.
- 18:18:45 [presbrey]
- haha
- 18:19:07 [github]
- github (~github@sh1-ext.rs.github.com) has joined #dig
- 18:19:07 [github]
- [rdflib.js] presbrey pushed 1 new commit to master: http://git.io/h5Ya4Q
- 18:19:07 [github]
- [rdflib.js/master] Makefile: drop versioned jquery core from dist - Joe Presbrey
- 18:19:07 [github]
- github has left #dig
- 18:19:19 [timbl]
- No one expects the SSH key audit
- 18:19:39 [melvster]
- :)
- 18:26:37 [timbl]
- outlineTemplate is not used?
- 18:34:47 [presbrey]
- nope
- 18:35:00 [presbrey]
- and I can't find reference to getOutlinerHTML in xpcom.js either
- 18:35:37 [timbl]
- So where is the HTML defined?
- 18:40:07 [timbl]
- tabulator.xul:$jq('body', doc).append("<div class=\"TabulatorOutline\" id=\"DummyUUID\">\n"+
- 18:41:45 [timbl]
- Why i sthe script in cdata in that file insteda of pulled in from a .js file which wold be easier to manage? because of the order of things to be run I guess.
- 18:42:22 [presbrey]
- arg just noticed I have only ffox8 today
- 18:43:00 [timbl]
- hope it won't make any difference
- 18:45:05 [timbl]
- (that creation of TabulatorOutline was in pumpRDFa which is a red herring at the moment)
- 18:45:19 [bblfish]
- this is how one gets the key signature for the audit
- 18:45:20 [bblfish]
- ssh-keygen -lf ~/.ssh/id_rsa.pub
- 18:45:28 [timbl]
- maybe the file content/outliner.html ?
- 18:48:44 [presbrey]
- http://forums.mozillazine.org/viewtopic.php?f=19&t=2105087
- 18:49:56 [github]
- github (~github@sh1-ext.rs.github.com) has joined #dig
- 18:49:57 [github]
- [tabulator-firefox] presbrey pushed 1 new commit to master: http://git.io/9EGXGw
- 18:49:57 [github]
- [tabulator-firefox/master] bump maxVersion for sub-versions too - Joe Presbrey
- 18:49:57 [github]
- github has left #dig
- 18:59:50 [timbl]
- Ok, there is an html file outliner.html but I can't find any reference to it
- 19:00:09 [presbrey]
- please please help me drop extra stuff
- 19:00:14 [timbl]
- Where TF is the HTML do originally initialised
- 19:00:43 [timbl]
- I'll drop it when we dinf wher the actual vlue of that html is
- 19:01:07 [presbrey]
- init.js ~158
- 19:03:18 [timbl]
- onStopeRequest
- 19:04:17 [presbrey]
- yes
- 19:05:07 [github]
- github (~github@sh2.rs.github.com) has joined #dig
- 19:05:08 [github]
- [tabulator] presbrey pushed 2 new commits to master: http://git.io/C2JcuQ
- 19:05:08 [github]
- [tabulator/master] outline: avoid jQuery until its fixed - Joe Presbrey
- 19:05:08 [github]
- [tabulator/master] Merge branch 'master' of github.com:linkeddata/tabulator - Joe Presbrey
- 19:05:08 [github]
- github has left #dig
- 19:07:36 [timbl]
- Not clear how I push the deletion of outline.html
- 19:07:59 [presbrey]
- git rm outline.htm
- 19:08:03 [presbrey]
- git push origin master
- 19:08:11 [presbrey]
- oh you have to add it too
- 19:08:33 [github]
- github (~github@sh2.rs.github.com) has joined #dig
- 19:08:33 [github]
- [tabulator] timbl pushed 1 new commit to master: http://git.io/khFHjA
- 19:08:33 [github]
- [tabulator/master] This file's contents is in init*.js and so outline.html is not actually used - Tim Berners-Lee
- 19:08:33 [github]
- github has left #dig
- 19:08:57 [presbrey]
- https://developer.mozilla.org/en/Setting_up_extension_development_environment#Development_extensions
- 19:09:55 [rszeno]
- presbrey this doesn't help? https://developer.mozilla.org/En/Firefox_addons_developer_guide/Using_XPCOM%E2%80%94Implementing_advanced_processes#Frequently_used_XPCOM_functions
- 19:10:48 [rszeno]
- nsIWindowMediator
- 19:12:41 [timbl]
- Bug firebug for example doesn't work inside the extension does it, and anyway last time I lookied it needed firefox n where n << 10
- 19:13:07 [timbl]
- so is extension developer
- 19:17:56 [timbl]
- renaming util-nonlin.js to common.js
- 19:19:41 [github]
- github (~github@sh2.rs.github.com) has joined #dig
- 19:19:42 [github]
- [tabulator] timbl pushed 1 new commit to master: http://git.io/NoTn7w
- 19:19:42 [github]
- [tabulator/master] Rename util-nonlib.js to common.js and a clean up unsed html - Tim Berners-Lee
- 19:19:42 [github]
- github has left #dig
- 19:23:42 [presbrey]
- rszeno, not really we want the window of the current tab for jquery use
- 19:24:54 [rszeno]
- afaik the window is specific to the xul window wich is loaded
- 19:25:11 [rszeno]
- before that there is no dom
- 19:25:26 [presbrey]
- yes all this stuff is loading too early imo
- 19:25:40 [presbrey]
- well not all of it, but outline especially
- 19:25:51 [rszeno]
- and xul use xpcom, is the only place you can get a window
- 19:25:51 [presbrey]
- happy to take your patch rszeno :)
- 19:26:20 [presbrey]
- tabulator has been fighting firefox for years
- 19:26:59 [timbl]
- Maybe we should push on the ff people for letting nothing fail silently
- 19:28:49 [rszeno]
- i'll be glad to help but i can't find my way in tabulator code, tried two or three times
- 19:29:37 [timbl]
- Really? It is clear as a bell, no?
- 19:30:13 [timbl]
- The extension styff is werid, but if you are intersted in adding views or panes or widgets or parses, then it is fairly straightforward
- 19:30:21 [rszeno]
- probably, yes
- 19:30:24 [timbl]
- the bell bit was a jok
- 19:30:42 [presbrey]
- you could probably work on it in chrome or skin with no problem
- 19:31:23 [presbrey]
- timbl, can we move common.js higher in the load? we want the stackString func as early as possible
- 19:33:55 [timbl]
- done
- 19:34:01 [timbl]
- committing in a bit
- 19:34:32 [timbl]
- hmmm what about rdflib
- 19:34:55 [timbl]
- This must load AFTER the rdflib.js and log-ext.js (or log.js).
- 19:35:53 [timbl]
- Oh yes there was weirdnessa round rdf the logging functions not being loaed or being overloaded, so I won't touchthat right now
- 19:37:58 [github]
- github (~github@sh1-ext.rs.github.com) has joined #dig
- 19:37:58 [github]
- [tabulator] timbl pushed 1 new commit to master: http://git.io/Qpg2sg
- 19:37:58 [github]
- [tabulator/master] Add try catch around some loadds - Tim Berners-Lee
- 19:37:58 [github]
- github has left #dig
- 19:39:02 [timbl]
- Maybe ishould have put it around the whole of the rest of the file
- 19:41:47 [github]
- github (~github@sh2.rs.github.com) has joined #dig
- 19:41:47 [github]
- [tabulator] timbl pushed 1 new commit to master: http://git.io/BJSwUw
- 19:41:47 [github]
- [tabulator/master] Wrap try catch around all of the rets fo the file - Tim Berners-Lee
- 19:41:47 [github]
- github has left #dig
- 19:44:18 [danbri]
- danbri (~danbri@cable-146-255-149-19.dynamic.telemach.ba) has joined #dig
- 19:48:58 [timbl]
- moved up
- 19:49:29 [presbrey]
- thx
- 19:50:39 [timbl]
- Now stuck on Error: jQuery is not defined Source File: chrome://tabulator/content/js/rdf/dist/rdflib.js Line: 7335
- 19:52:37 [presbrey]
- did you push the patch to make it optional in rdflib?
- 19:53:20 [presbrey]
- that doesn't really help though
- 19:53:34 [presbrey]
- because still no one can use jquery in chrome or skin because of firefox
- 20:01:53 [presbrey]
- at the end of init.js, ~306: tabulator.log.error("@@ init.js test 90 tabulator.log.error: $rdf.log.error)"+$rdf.log.error)
- 20:01:59 [presbrey]
- this log message never prints for me
- 20:04:56 [timbl]
- There is omething weird about the logger
- 20:06:00 [timbl]
- It seems to get set up many times, as though all the init code is called in different contexts, and that leaves the logger not working ... never got to the bottom of it
- 20:06:05 [timbl]
- hence dumps ike xpcom.js test 94 $rdf.log.error)function (msg) {
- 20:06:05 [timbl]
- this.msg(msg, this.TERROR, "eror", arguments);
- 20:06:21 [timbl]
- to chac that at that opoint there was a log function
- 20:07:44 [timbl]
- Suppose we add jQuery to the page
- 20:07:52 [timbl]
- the HTML template
- 20:09:39 [presbrey]
- I want to start the firefox loader from scratch
- 20:10:18 [presbrey]
- we dont need the background init its doing; we dont have that in chrome extension or mashlib anyway
- 20:10:54 [presbrey]
- so to have something that works in all 3, we still can't use what firefox is doing now; there needs to be a new background service transport, if any, that does not involve xpcom that all 3 can use
- 20:15:37 [presbrey]
- "Just some notes about jQuery in Add-ons:
- 20:15:37 [presbrey]
- Don't include jQuery and other public libraries directly in your overlay.xul.
- 20:15:37 [presbrey]
- Public libraries typically declare objects with well known names. All javascript included in browser overlays share one namespace. So all javascript in overlay context of all extensions share the same space."
- 20:16:24 [presbrey]
- "Also note that when you include jQuery in such a way your add-on might not pass the review on AMO because namespace pollution is one of the criteria which is checked.
- 20:16:24 [presbrey]
- "
- 20:16:29 [presbrey]
- http://forums.mozillazine.org/viewtopic.php?f=19&t=989465
- 20:17:31 [Guest64028]
- Guest64028 is now known as mattl
- 20:17:39 [mattl]
- mattl has quit (Changing host)
- 20:17:40 [mattl]
- mattl (mattl@fsf/staff/mattl) has joined #dig
- 20:18:16 [timbl]
- all extensions share the same space.
- 20:18:20 [timbl]
- really
- 20:19:05 [rszeno]
- is about overlay only
- 20:19:09 [presbrey]
- if you believe that then we need some big changes to tabulator.xul
- 20:19:30 [presbrey]
- tabulator.xul is our overlay with tons of "addons"
- 20:21:20 [rszeno]
- imo in this case adding jquery to tabulator.xul and removing in the rest where is loaded will make it available in all code
- 20:21:52 [presbrey]
- we already have it in tabulator.xul
- 20:22:41 [timbl]
- what windo will it operate in?
- 20:23:20 [timbl]
- I am trying a script link in the HTML template
- 20:23:21 [timbl]
- " <link rel=\"stylesheet\" href=\"chrome://tabulator/content/js/widgets/style.css\" type=\"text/css\" />\n"+
- 20:23:21 [timbl]
- " <script type=\"text/javascript\" src=\"chrome://tabulator/content/js/jquery/jquery-1.4.2.min.js\" />\n"+
- 20:23:21 [timbl]
- " </head>\n"+
- 20:23:21 [timbl]
-
- 20:23:42 [presbrey]
- I tried that too with no luck
- 20:23:57 [presbrey]
- you are missing </script> too; check view source
- 20:25:11 [rszeno]
- html:script ? https://developer.mozilla.org/en/Introduction_to_XUL#Scripting
- 20:25:30 [timbl]
- added explict end tag
- 20:25:43 [timbl]
- view source looks the same
- 20:25:52 [timbl]
- page is blank
- 20:27:07 [timbl]
- for my URI, but get some dat in tab tracker, but ne pane complans ReferenceError: jQuery is not defined
- 20:27:07 [timbl]
- chrome://tabulator/content/js/panes/internalPane.js:46
- 20:27:07 [timbl]
- function([object Object],[object Proxy]) chrome://tabulator/content/js/tab/outline.js:1596
- 20:27:07 [timbl]
- TabulatorMousedown([object MouseEvent]) chrome://tabulator/content/js/tab/outline.js:1349
- 20:27:08 [timbl]
- function([object MouseEvent]) undefined
- 20:27:33 [timbl]
- When that used to work, and I haev ADDED a jquery not removed one
- 20:29:06 [timbl]
- At some uncaptured point in the recent past, this was working
- 20:29:50 [github]
- github (~github@sh2.rs.github.com) has joined #dig
- 20:29:50 [github]
- [rdflib.js] presbrey pushed 1 new commit to master: http://git.io/K6Ns1g
- 20:29:50 [github]
- [rdflib.js/master] web.js: make jQuery.ajax optional - Joe Presbrey
- 20:29:50 [github]
- github has left #dig
- 20:30:42 [presbrey]
- I gave up! :)
- 20:30:49 [presbrey]
- try that one
- 20:35:26 [timbl]
- No complains about jQury
- 20:35:48 [timbl]
- oh yes there is, in a pane.
- 20:36:01 [presbrey]
- panes should be able to use jQuery
- 20:36:04 [timbl]
- have we disturbed the jQuery in tabulator.xul?
- 20:36:33 [presbrey]
- no it probably never worked in firefox
- 20:36:37 [timbl]
- they used to be able to use jQuery!
- 20:36:44 [presbrey]
- that internalPane bug is my addition
- 20:36:51 [presbrey]
- of the Editable indicator
- 20:36:56 [timbl]
- ah
- 20:37:00 [presbrey]
- which uses jQuery
- 20:37:16 [timbl]
- Ah I se
- 20:37:23 [presbrey]
- 46 jQuery(div).append('<tr><td>Editable</td><td>'+tabulator.sparql.editable(subject.uri)+'</td></tr>');$
- 20:37:24 [timbl]
- but you have seen it work, right?
- 20:37:29 [timbl]
- At least I have I thought
- 20:37:33 [presbrey]
- I have seen it work in chrome and mashlib
- 20:37:34 [timbl]
- Editable: WEBDAV
- 20:37:45 [timbl]
- I can't be sure
- 20:37:47 [presbrey]
- you saw that on the skin via data.fm
- 20:37:56 [timbl]
- ok.
- 20:38:08 [presbrey]
- I think, thats where I know I've seen it
- 20:38:38 [timbl]
- If there any jq in outline now been added?
- 20:39:05 [timbl]
- It won't run any panes except for the default ones
- 20:39:11 [timbl]
- no error message though
- 20:49:22 [presbrey]
- its true about the overlay via tabulator.xul; I can see the namespace issue via venkman
- 20:49:50 [presbrey]
- jquery ends up loaded inside the top @ browser.xul
- 20:50:53 [rszeno]
- i guess the rest of js is loaded before tabulator.xul
- 20:51:21 [timbl]
- So now we have no data because the fetch fails
- 20:51:33 [presbrey]
- where do you see the fetch fail?
- 20:51:42 [timbl]
- well, i don't see any data - do you?
- 20:52:19 [timbl]
- I see a default pane with no dat aand internal pane with a bug
- 20:54:49 [github]
- github (~github@sh2.rs.github.com) has joined #dig
- 20:54:49 [github]
- [rdflib.js] presbrey pushed 1 new commit to master: http://git.io/iFDMyg
- 20:54:49 [github]
- [rdflib.js/master] web.js: really make jQuery.ajax optional - Joe Presbrey
- 20:54:49 [github]
- github has left #dig
- 20:54:50 [timbl]
- If I switch the tabulator project to ui-tweaks then I see theat tehe HTTP request was sent but nothing was received as a response, probably just a bug from erpatching to use the XHTML factory -- did you put in the xhr.send() ?
- 20:56:16 [github]
- github (~github@sh2.rs.github.com) has joined #dig
- 20:56:16 [github]
- [rdflib.js] presbrey force-pushed gh-pages from ced6562 to f5c3ec0: http://git.io/rfmeFA
- 20:56:16 [github]
- [rdflib.js/gh-pages] gh-pages: add dist - Joe Presbrey
- 20:56:16 [github]
- github has left #dig
- 21:00:22 [presbrey]
- can't we have the stackString if rdflib.js fails?
- 21:00:48 [presbrey]
- if you forget to 'make', that still fails silently
- 21:01:13 [presbrey]
- like after I just pushed gh-pages
- 21:02:05 [presbrey]
- yes; there was a missing xhr.send, nicely done :)
- 21:02:22 [presbrey]
- whats left on the ui-tweaks branch?
- 21:05:13 [timbl]
- I have put th esend in and a timeout
- 21:05:58 [timbl]
- Ok, basically works
- 21:06:15 [presbrey]
- jQuery is still needed for the internals pane / editable indicator?
- 21:08:02 [timbl]
- Somehow the remote got reset to a readonly one for rdflib.js
- 21:08:29 [timbl]
- I'm on the branch which doens't have the internals mod yet do doesn't use jq
- 21:10:34 [timbl]
- Could you just remove that ref to jq from internal pane?
- 21:10:43 [presbrey]
- haha
- 21:10:53 [presbrey]
- sure
- 21:10:56 [presbrey]
- but panes should be able to use jQuery
- 21:12:03 [github]
- github (~github@sh2.rs.github.com) has joined #dig
- 21:12:03 [github]
- [rdflib.js] presbrey pushed 1 new commit to master: http://git.io/eJXCWw
- 21:12:03 [github]
- [rdflib.js/master] Makefile: add writable target - Joe Presbrey
- 21:12:03 [github]
- github has left #dig
- 21:13:56 [github]
- github (~github@sh2.rs.github.com) has joined #dig
- 21:13:56 [github]
- [rdflib.js] timbl pushed 2 new commits to master: http://git.io/6kEY3w
- 21:13:56 [github]
- [rdflib.js/master] merge - Tim Berners-Lee
- 21:13:56 [github]
- [rdflib.js/master] Merge branch 'master' of git://github.com/linkeddata/rdflib.js - Tim Berners-Lee
- 21:13:56 [github]
- github has left #dig
- 21:15:19 [timbl]
- ooops we both fixed the send. I also left in a timeout which was set, which is imporatnt to log an error for the user to see (and clear the remaining xhr) if the site nevre responds
- 21:16:10 [timbl]
- Yes, jQuery was kinda written for panes to use but let's leave it for another day
- 21:16:34 [timbl]
- unless you want to figure out how to do it
- 21:17:07 [timbl]
- How many times does tabulator.xul run?
- 21:17:10 [timbl]
- Once?
- 21:17:18 [timbl]
- Once per window?
- 21:17:24 [timbl]
- IOnce.
- 21:17:31 [presbrey]
- just once for the browser
- 21:17:44 [timbl]
- So th exquery in there can only talk to one DOM
- 21:17:58 [timbl]
- I assume.
- 21:18:14 [presbrey]
- yes I assume all the jquery stuff at the top of tabulator.xul is essentially broken
- 21:18:28 [presbrey]
- because of that issue
- 21:18:53 [timbl]
- Is there a way you can ask jquery I wonder to give you a clone of itself for a new window
- 21:19:15 [timbl]
- so that you could use one jquery instance and many windo objects
- 21:19:42 [presbrey]
- not without modification
- 21:20:09 [presbrey]
- we should just wait until the window loads to load jquery like everyone else
- 21:20:43 [timbl]
- and load a copy per window.
- 21:20:50 [timbl]
- Which I tried in that script element
- 21:21:06 [presbrey]
- outline too
- 21:21:26 [presbrey]
- I think its still using the global outline which can't access the local jquery
- 21:22:09 [github]
- github (~github@sh1-ext.rs.github.com) has joined #dig
- 21:22:09 [github]
- [tabulator] presbrey pushed 2 new commits to master: http://git.io/Q8aPgw
- 21:22:09 [github]
- [tabulator/master] init.js: add dump@EOF - Joe Presbrey
- 21:22:09 [github]
- [tabulator/master] Makefile: add writable target - Joe Presbrey
- 21:22:09 [github]
- github has left #dig
- 21:22:15 [timbl]
- We should clone a different outline object then for every window.... how does that work now?
- 21:22:30 [timbl]
- I think tabulator creates a global outline object
- 21:22:34 [RalphS]
- RalphS has quit ()
- 21:22:52 [presbrey]
- now you can try 'make writable' after you checkout a read-only copy
- 21:23:21 [timbl]
- for each project?
- 21:23:41 [timbl]
- Why not just fix the push URL as writable by default
- 21:23:48 [timbl]
- and leave th read URL the same
- 21:24:03 [presbrey]
- I'm not sure how to do that for submodules but please go ahead
- 21:24:16 [presbrey]
- so I'm also getting $rdf.rdfa errors, are you?
- 21:24:25 [presbrey]
- Error: $rdf.rdfa is undefined
- 21:24:25 [presbrey]
- Source File: chrome://tabulator/content/js/rdf/dist/rdflib.js
- 21:24:25 [presbrey]
- Line: 6580
- 21:24:41 [timbl]
- yes
- 21:25:00 [timbl]
- well, i gues that is because we are using the rdflib without te rdfa
- 21:25:07 [timbl]
- because rdfa parser uses jquery
- 21:25:17 [presbrey]
- in default outline mode with no rdfa
- 21:26:47 [timbl]
- MAybe we could ask the jquery author about this
- 21:27:16 [timbl]
- john Ressig is local
- 21:27:28 [timbl]
- Resig
- 21:33:48 [timbl]
- Do you think he actually coded it all in terms of the winow and document global variables?
- 21:34:20 [presbrey]
- yes
- 21:34:25 [presbrey]
- the last line says:
- 21:34:34 [presbrey]
- })(window);
- 21:35:07 [presbrey]
- so we could hack it up a bit to have it pre-loaded but not worth it I think. just defer the load
- 21:35:55 [timbl]
- Hack it to make a jQuery Factory and put THAT in the magic global space
- 21:36:17 [presbrey]
- first I would check prototype.js to see if its any better
- 21:37:30 [timbl]
- it does the same things?
- 21:37:52 [presbrey]
- basically but addons are different
- 21:38:12 [timbl]
- does it do window-realetd things or just ajax?
- 21:38:13 [presbrey]
- so the jquery.curie etc. we would need our own or different
- 21:38:22 [timbl]
- http://prototypejs.org/
- 21:38:26 [presbrey]
- thats the one
- 21:39:23 [timbl]
- When it coems to freidnly developer volunteers, jQuery has the mindshare it seems to me'
- 21:39:44 [presbrey]
- yes it would be ideal to just make what we have work
- 21:40:09 [timbl]
- Could we actually make a jQueryFactory by wrapping the jw code?
- 21:40:13 [timbl]
- jq
- 21:41:44 [presbrey]
- think so; how do we insert it into the window before outline starts running?
- 21:41:46 [timbl]
- jqf = function(document, window) { ... jqcode here})(window) .. } ?
- 21:42:15 [presbrey]
- also all the addons have to load /after/ the factory runs
- 21:42:32 [presbrey]
- so we are not saving much work it seems
- 21:43:05 [timbl]
- why not put them inside the factory?
- 21:43:28 [timbl]
- well, we are compiling the thing once insreadof pulling in the source each time
- 21:44:04 [presbrey]
- some compilers have a cache, but yes
- 21:45:40 [timbl]
- jQuery = tabulator.jQueryFactory(document, window);
- 21:45:59 [presbrey]
- where is it safe to write that?
- 21:46:18 [timbl]
- In the default HTML template page?
- 21:47:08 [timbl]
- Maybe we do (if !window.jq) window.jq = tabulator.jQueryFactory(document, window);
- 21:47:25 [timbl]
- or maybe hang it on document
- 21:48:11 [presbrey]
- but the pane still can't access the local window jQuery from the global scope
- 21:48:24 [presbrey]
- unless the pane also runs in the local window
- 21:48:40 [presbrey]
- right now it is running global and manipulating the dom remotely
- 21:49:04 [timbl]
- The pane has acecss to the einwo and document
- 21:49:30 [timbl]
- The pane runs as a result of an event handler stuck on the local document.
- 21:49:56 [presbrey]
- then why can't it find it when you add <script> to onStopRequest ?
- 21:50:01 [timbl]
- t does DOM things etc so it should be able to pick up the documnet's jq
- 21:50:55 [timbl]
- why can't it. Maybe because there are so many people, trying to define a global jQuery that it all gets messed up
- 21:51:09 [timbl]
- Like jQuery end sup typing into the gobal one whcih it can see
- 21:51:33 [presbrey]
- so next we should clean out all the stuff that isn't working
- 21:55:05 [presbrey]
- esp. tabulator.xul
- 21:57:54 [timbl]
- yes
- 21:58:43 [timbl]
- I don't thinkpumpRDFa is used
- 22:00:05 [timbl]
- Oshani wrote that
- 22:01:04 [timbl]
- tabulatorShowMetadata is important
- 22:11:09 [rszeno]
- i'm curious if using byob of mozilla is a good idea?
- 22:27:39 [timbl]
- bring your own beer?
- 22:27:41 [timbl]
- http://forum.jquery.com/topic/jquery-1-4-2-inside-a-firefox-extension
- 22:56:58 [scor]
- scor has quit (Quit: scor)
- 23:09:39 [presbrey]
- whats the best for html5 slides?
- 23:09:44 [presbrey]
- library I mean
- 23:13:55 [presbrey]
- Slidy must be
- 23:34:40 [timbl]
- timbl has quit (Ping timeout: 246 seconds)