URL irc://irc.mozilla.org/devmo Mode +nt Users 7, 4@, 0%, 0+
Topic get your devmo on!
#devmo
[INFO]Channel view for “#devmo” opened.
===1 unknown connection(s)
=-=User mode for Waldo is now +i
nickservThis nickname is registered and protected. If it is your
nick, type /msg NickServ IDENTIFY password. Otherwise,
please choose a different nick.
Password accepted - you are now recognized.
-->|YOU (Waldo) have joined #devmo
=-=Topic for #devmo is “get your devmo on!”
=-=Topic for #devmo was set by shaver on Friday, June 17, 2005 12:03:26
=-=Mode #devmo +oa Waldo Waldo by ChanServ
|<--AlthA has left irc.mozilla.org (Quit: Leaving)
-->|gandalf (rvr@gw.marquard.pl) has joined #devmo
=-=Mode #devmo +oa gandalf gandalf by ChanServ
gandalfhi
Waldodecides Help:Custom Templates needs to be organized more than just by template
-->|Sander (me@CPE-139-168-47-66.vic.bigpond.net.au) has joined #devmo
-->|Straxus (mines@17.speede.mycybernet.net) has joined #devmo
Straxusand I'm sure you're all awaiting with baited breath what my question is
:D
'cept for you, Sander - you already saw the script in the other two channels
anyways
have an article about Mozilla-based drag and drop file upload that I wanted to add to the Mozilla documentation pile
Waldoanyway, let's transfer discussion over to here now :-)
yeah, it probably is the <pre/> elements
Straxusit handles dragging an arbitrary file system file onto the browser window, making it available to the page, and then handling it in the page
Waldoa couple things you'll probably want to know:
Straxuswill have to knock down the size of some of the code then
Waldono, actually you probably won't
what'll likely happen is when it gets published, it'll be put on devmo, which is a wiki
most of the stuff in the wiki is in wikicode, which is simple enough, but isn't really HTML
you can still use HTML in most of it, tho, and <pre/> is one of the elements that carries over
it's not formalized yet, but what'll probably happen is the article will get "cleaned up" a bit
Straxusbut <strong>s and <a>s need to be redone in wiki syntax
k
Waldoyeah, some things will need to be redone, but much of it should be directly transferrable without too much effort
Straxusand part 2 of the article, due Thursday, deals with how to jar up code for Moz to use
so things like permissions calls can be done remotely
'course, the jarring talk there is general - it's done in the context of this example, but it can be used for arbitrary code
Waldo"cleaning up" probably will consist of grammar/spelling nits, if any, comments from the POV of a programmer on how things might be clarified (once again, if necessary), and some sort of code formatting stuff
Straxusdunno if something like that already exists on the site, but I made sure to explain why e.g. you can't use Sun's jarsigner
yeah, everyone in docs has their own set of pet peeves grammar-wise - I'm the same way. :)
WaldoI doubt there's anything yet - code signing in Mozilla is a somewhat foreign topic, unfortunately
Straxushopefully not any longer
Waldothe code formatting stuff hasn't been standardized, but my guess is one aspect which should help with the long line lengths deals with calling methods on objects
StraxusI tried to make this one a cohesive article, explaining the pitfalls and why they happen
the classes.Components lines are all quite long
heh
Waldofor example, if you had |var x = foo.bar.baz.quux();| (where the various sub-objects are really long to type), you'd probably convert it to this:

var x = foo.bar // pretend the dots are lined up
.baz
.quux();
there are better examples in LXR - gimme a sec and I'll find ont
Straxushmm... I think my personal pref would be e.g.:
Waldos/ont/one/
Straxusvar x = foo.bar
.baz
.quux();
to show levels of offset and indentation
but I understand what you mean
Waldoanyway, most of this hasn't been formalized, but my guess is dria's working on it
[INFO]Font family is “monospace”
Straxusk
I'll check back later then, gotta do the lunch and meeting thing anyways
Waldookay - I'll pass on a copy of the conversation next time I see dria
Straxuscool, thanks
|<--Sander has left irc.mozilla.org (Quit: And back he spurred like a madman, shrieking a curse to the sky.)
|<--gandalf has left irc.mozilla.org (Quit: Leaving)
-->|ManoHome_ (ManoR@80.179.33.18.static.012.net.il) has joined #devmo
|<--ManoHome has left irc.mozilla.org (Ping timeout)
=-=ManoHome_ is now known as ManoHome
-->|Callek (Callek@AC87CE90.ipt.aol.com) has joined #devmo
=-=Mode #devmo +oa Callek Callek by ChanServ
|<--ManoHome has left irc.mozilla.org (Quit: Chatzilla 0.9.68.5 [Firefox 1.0+/2005061606])
=-=Callek is now known as Callek_SemiAway