Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Activity (RSS)

Monday, March 29 2010
141 Multiplely included files, functions in dist/env.js was updated
  • Thatcher
    Thatcher commented at 3:22 PM

    Theres really not a good reason to include a file more than 10 line twice.
    In fact all of the file included mutliple times might as well become methods
    of envjs...

142 Results of strict mode on 'env.js' was updated
  • nickg
    nickg commented at 11:57 AM

    @steve: re: I haven't mentioned it, but I kinda don't like the single mother of all closures

    I more or less agree. I have to run but let's talk later on this.

  • nickg
    nickg commented at 11:56 AM

    well I committed some easy fixes between meeting. Only 482 to go. Actually, I don't care about 100% "correct" in jslint's eyes, but it's better than nothing. Ce...

  • Steven Parkes
    Steven Parkes commented at 11:22 AM

    I haven't mentioned it, but I kinda don't like the single mother of all closures. Having closures span files confuses some tools and I find it makes it easy to ...

  • nickg
    nickg commented at 10:46 AM

    Executive summary! 592 total errors, with a very loose set of options for jslint, and the HTMLParser stuff ripped out.

    $ ./jslintparser.py < lintout.txt
    Missin...
  • nickg
    nickg commented at 10:29 AM

    ok attached jslint output.

    A lot of these could be avoided by better ordering of the code. I post my script that generated this later...

1 earlier change…
  • nickg
    nickg commented at 9:58 AM

    yeah crockford ain't too keen on adding support for getters/setters, huh? I saw your post to the group too. He's been cranky about them for years. Oh well.

    I at...

more fixes for ticket 142. Done from... was committed by nickg at 11:44 AM
143 run-code-run dies on april 15 -- remove from README was created
Sunday, March 28 2010
142 Results of strict mode on 'env.js' was updated
ticket 142 - some major strict warnin... was committed by Nick at 6:41 PM
139 Dead code/apis for Envjs? was updated
  • nickg
    nickg commented at 5:14 PM

    yeah using a normal object model would make sense and prob be more self-documenting.

    chris what do you think?

  • Steven Parkes
    Steven Parkes commented at 4:33 PM

    I tend to agree with the external/platform object as a switch point. I'd actually prefer to derive (in the javascript sense) the platform object from the base v...

  • nickg
    nickg commented at 12:50 PM

    Hi,

    I think single file is fine. I don't see really the value in the multiple file approach to be honest. Plus, some of the items are debatable which file they ...

  • Thatcher
    Thatcher commented at 10:07 AM

    Yeah I know its confusing, I'm not happy with the way the plaftorm
    implementation stuff is broken up and its not clear what is required and
    what is optional. I ...

138 doco Envjs.defaultEventBehaviors was updated
  • Steven Parkes
    Steven Parkes commented at 4:33 PM

    Should it not just create a new window?

  • Thatcher
    Thatcher commented at 9:46 AM

    This is unfinished work. Its basically the hook system for behaviors like
    form.submit and click for links. I've got the form submission code
    basically finished ...

141 Multiplely included files, functions in dist/env.js was created
  • nickg
    nickg created the ticket at 12:53 PM

    Hola,

    Right now in the final env.X.js file.... urlparse.js is include twice. entend.js is include 5? times. I think Aspect.js will want to be included in multip...

135 typo in "dom.js" in __toDomNode__ L: 3112 was updated
  • Thatcher
    Thatcher commented at 10:20 AM

    wow just catching up on this thread. I wasnt sure e4x was supported in V8
    but I'm thrilled to hear it is now! Nice work guys!

136 Documenting obsoleted event interface names was updated
  • Thatcher
    Thatcher commented at 10:16 AM

    Thanks actually the Envjs site is under construction now to enable a wiki editing interface to make this a simpler process for the community. I hope to have the...

78 createRange doesn't exist was updated
  • Thatcher
    Thatcher commented at 9:50 AM

    I didnt get much past the research phase to be honest. It's a complex DOM
    interface and because I hadnt used it directly much it took me a couple
    reads of the s...

  • Roland Swingler
    Roland Swingler commented at 6:11 AM

    I should have this done soon and will add the tests as I go.

    Was wondering if you have stuff done for this, just not committed to github? I'd be happy to do s...

Saturday, March 27 2010
139 Dead code/apis for Envjs? was updated
  • nickg
    nickg commented at 4:21 PM

    Oh I'm happy to keep them around, just figuring out what may or may not need to be ported, and put some of these notes in code.

    I see 'sync' is used (a lot), bu...

  • Thatcher
    Thatcher commented at 3:13 PM

    Some clean up is good, but there are a couple reasons I've kept them around, if only to avoid regression as folks try to port to newer releases.

    Heres my genera...

  • nickg
    nickg commented at 1:55 PM

    found another. Envjs.spawn seems unused and not in core

    src/platform/rhino/timer.js

    try{
        Envjs.sync = sync;
        Envjs.spawn = spawn;
    } catch(e){
        //sync...
  • nickg
    nickg created the ticket at 1:23 PM

    in the src/platform I found the following that don't appear to be used anymore.

    Anyone using these? Or do we need a 'deprecated.js' file for core and rhino?

    The...

140 New api: Envjs.getcwd was created
  • nickg
    nickg created the ticket at 2:02 PM

    This will partially complete the transition from Envjs.uri from being a Java-based function to a near pure javascript function.

    The only callout to java now is ...

whitespace and comments. No function... was committed by Nick at 1:38 PM
138 doco Envjs.defaultEventBehaviors was created
  • nickg
    nickg created the ticket at 12:38 PM

    in src/platform/core/event.js we have a lonely

    /**                                                                                                             ...
whitespace -- something is off in my ... was committed by Nick at 10:07 AM
112 Option is not defined was updated
  • nickg
    nickg commented at 7:16 AM

    part 1 is committed.

    Unfortunately the logic to determine "selectedness" looks fishy, so a lot more unit tests are needed.

    --nickg

part 1 of option element http://githu... was committed by Nick at 7:15 AM
131 DOM events: differences between "interface" names and "feature" names was updated
  • nickg
    nickg commented at 7:01 AM

    @diego -- given my task list, I probably won't get around to writing them, but you can! Patches very welcome for additional event types! Let me know if you need...

  • Steven Parkes
    Steven Parkes commented at 5:01 AM

    Touch events make as much sense as mouse events. A headless browser has no less of a touch interface than it does of a mouse interface.

    I'll end up doing this a...

  • nickg
    • State changed from new to resolved
    • Assigned user changed from Thatcher to nickg
    by nickg at 4:01 AM

    Ok, cleaned it up even more. It's all data-driven now. You can add types (or delete them) on your own without making a patch.

    http://github.com/thatcher/env-js...

137 Support for Named Elements was updated
  • nickg
  • nickg
    • Assigned user set to nickg
    by nickg at 4:49 AM

    wild, lighthouse wiki strikes again. My example was...

    document.foo --> <form name="foo">
    
  • nickg
    nickg created the ticket at 4:45 AM

    Lovely DOM interface for directly getting forms, images and a few others.

    document.NAME

    where NAME comes from name attribute, e.g. document.foo -->

    This is a bu...

remove debug statement committed by m... was committed by Nick at 5:02 AM
whitepsace nit http://github.com/that... was committed by Nick at 4:58 AM
97 add documentation for embedding in java app was updated
124 Make sure 'print' is not used directly in envjs was updated
ticket 124 -- prevent window.print co... was committed by Nick at 4:40 AM
135 typo in "dom.js" in __toDomNode__ L: 3112 was updated
  • nickg
    • State changed from new to resolved
    • Assigned user changed from Thatcher to nickg
    by nickg at 4:34 AM
  • nickg
    nickg commented at 4:17 AM

    take 2

     var __toDomNode__ = function(e4, parent, doc){
    -    var xnode, 
    +    var xnode,
             domnode,
             children,
             target,
             value,
     ...
  • nickg
    nickg commented at 4:16 AM

    Does this look right to you?

    @@ -33,8 +33,9 @@ var __toDomNode__ = function(e4, parent, doc){
             element,
             kind;
         //console.log('converting e...
Ticket 135 -- replace "for each" with... was committed by Nick at 4:34 AM
136 Documenting obsoleted event interface names was updated
  • nickg
    • Tag set to documentation
    • Assigned user changed from nickg to Thatcher
    by nickg at 4:19 AM

    Hi Chris, I'm giving this to you since I don't know where our docs or code examples even are!