Doug Kearns
af550c3839
Run style bot.
...
--HG--
extra : rebase_source : 3661ea16c48258e44239734cdad6bc18abc70b5f
2011-03-19 15:00:46 +11:00
Doug Kearns
35e0ab9cf4
Add experimental Mozmill functional tests.
...
--HG--
extra : rebase_source : eb8095f9d17f9c97706f93f670dd880c2b56f050
2011-01-25 22:17:52 +11:00
Doug Kearns
76549faacc
Remove vague and untrue coding style recommendations.
2010-10-22 16:14:20 +11:00
Kris Maglione
924863cd61
imported patch dactylify
...
--HG--
rename : common/content/liberator-overlay.js => common/content/dactyl-overlay.js
rename : common/content/liberator.js => common/content/dactyl.js
rename : common/content/liberator.xul => common/content/dactyl.xul
rename : common/skin/liberator.css => common/skin/dactyl.css
rename : muttator/content/compose/liberator.dtd => muttator/content/compose/dactyl.dtd
rename : muttator/content/compose/liberator.xul => muttator/content/compose/dactyl.xul
rename : muttator/content/liberator.dtd => muttator/content/dactyl.dtd
rename : vimperator/AUTHORS => pentadactyl/AUTHORS
rename : vimperator/Donors => pentadactyl/Donors
rename : vimperator/Makefile => pentadactyl/Makefile
rename : vimperator/NEWS => pentadactyl/NEWS
rename : vimperator/TODO => pentadactyl/TODO
rename : vimperator/chrome.manifest => pentadactyl/chrome.manifest
rename : vimperator/components/about-handler.js => pentadactyl/components/about-handler.js
rename : vimperator/components/commandline-handler.js => pentadactyl/components/commandline-handler.js
rename : vimperator/components/protocols.js => pentadactyl/components/protocols.js
rename : vimperator/content/about.html => pentadactyl/content/about.html
rename : vimperator/content/about_background.png => pentadactyl/content/about_background.png
rename : vimperator/content/config.js => pentadactyl/content/config.js
rename : vimperator/content/liberator.dtd => pentadactyl/content/dactyl.dtd
rename : vimperator/content/logo.png => pentadactyl/content/logo.png
rename : vimperator/content/vimperator.svg => pentadactyl/content/pentadactyl.svg
rename : vimperator/content/vimperator.xul => pentadactyl/content/pentadactyl.xul
rename : vimperator/contrib/vim/Makefile => pentadactyl/contrib/vim/Makefile
rename : vimperator/contrib/vim/ftdetect/vimperator.vim => pentadactyl/contrib/vim/ftdetect/pentadactyl.vim
rename : vimperator/contrib/vim/mkvimball.txt => pentadactyl/contrib/vim/mkvimball.txt
rename : vimperator/contrib/vim/syntax/vimperator.vim => pentadactyl/contrib/vim/syntax/pentadactyl.vim
rename : vimperator/install.rdf => pentadactyl/install.rdf
rename : vimperator/locale/en-US/all.xml => pentadactyl/locale/en-US/all.xml
rename : vimperator/locale/en-US/autocommands.xml => pentadactyl/locale/en-US/autocommands.xml
rename : vimperator/locale/en-US/liberator.dtd => pentadactyl/locale/en-US/dactyl.dtd
rename : vimperator/locale/en-US/gui.xml => pentadactyl/locale/en-US/gui.xml
rename : vimperator/locale/en-US/intro.xml => pentadactyl/locale/en-US/intro.xml
rename : vimperator/locale/en-US/options.xml => pentadactyl/locale/en-US/options.xml
rename : vimperator/locale/en-US/tutorial.xml => pentadactyl/locale/en-US/tutorial.xml
rename : vimperator/vimperatorrc.example => pentadactyl/pentadactylrc.example
rename : vimperator/regressions.js => pentadactyl/regressions.js
rename : vimperator/skin/about.css => pentadactyl/skin/about.css
rename : vimperator/skin/icon.png => pentadactyl/skin/icon.png
rename : xulmus/content/liberator.dtd => xulmus/content/dactyl.dtd
rename : xulmus/locale/en-US/liberator.dtd => xulmus/locale/en-US/dactyl.dtd
2010-08-28 18:02:03 -04:00
Doug Kearns
52749d6722
Remove some redundant uses of "new".
2009-11-14 23:07:56 +11:00
Kris Maglione
6a25312c7d
Recfactoring:
...
* Standard module format. All modules are explicitly declared
as modules, they're created via a constructor and
instantiated automatically. They're dependency aware. They
stringify properly.
* Classes are declared the same way (rather like Structs
already were). They also stringify properly. Plus, each
instance has a rather nifty closure member that closes all
of its methods around 'this', so you can pass them to map,
forEach, setTimeout, etc. Modules are themselves classes,
with a special metaclass, as it were.
* Doug Crockford is dead, metaphorically speaking.
Closure-based classes just don't fit into any of the common
JavaScript frameworks, and they're inefficient and
confusing. Now, all class and module members are accessed
explicitly via 'this', which makes it very clear that
they're class members and not (e.g.) local variables,
without anything nasty like Hungarian notation.
* Strictly one module per file. Classes that belong to a
module live in the same file.
* For the moment, there are quite a few utility functions
sitting in base.c, because my class implementation used
them, and I haven't had the time or inclination to sort them
out. I plan to reconcile them with the current mess that is
the util namespace.
* Changed bracing style.
2009-11-08 20:54:31 -05:00
Doug Kearns
5141995f97
Revert removal of "new" usage recommendations in HACKING.
...
The entire code base follows this recommendation and removing it implicitly
contradicts the primary rule of matching the existing style.
2009-10-15 23:59:49 +11:00
Martin Stubenschrott
3e984c776d
clean up HACKING file a little, and rename canonKeys method
2009-06-01 14:45:57 +02:00
Martin Stubenschrott
16673f3e90
Add some info to the coding style
2009-05-06 00:51:46 +02:00
Doug Kearns
c4c21db118
Fix a typo in HACKING.
2009-01-12 15:32:53 +11:00
Doug Kearns
01b7a39a5b
Whitespace fixes.
2009-01-12 15:32:52 +11:00
Doug Kearns
5dbcd6f7e0
Add some rough source documentation for IO.
2009-01-11 01:12:30 +11:00
Doug Kearns
a98edd9767
Ramble on in HACKING.
2009-01-08 16:03:05 +11:00
Kris Maglione
15a64a0085
Comment on 'new' in HACKING
2009-01-07 16:41:44 -05:00
Martin Stubenschrott
d2a96e4475
added comment to HACKING about new
2009-01-07 21:06:31 +01:00
Kris Maglione
9b53463bbb
Comment on 'new' in HACKING
2009-01-07 14:12:36 -05:00
Ted Pavlic
5050b6fee3
HACKING comment about using 'new'
2009-01-07 09:07:00 -05:00
Ted Pavlic
b900132133
First stab at HACKING filetype (asciidoc?)
2009-01-07 09:00:33 -05:00
Ted Pavlic
4459827556
Moved SCM HACKING disc to vimp/TODO and added to it.
2009-01-07 08:57:55 -05:00
Kris Maglione
64f7bfae48
Comment on SCM section in HACKING
2009-01-07 00:22:03 -05:00
Doug Kearns
4d45627f88
Comment on 'new' in HACKING.
2009-01-07 14:48:15 +11:00
Kris Maglione
0cb74ad157
Comment on 'new' in HACKING
2009-01-06 21:56:50 -05:00
Martin Stubenschrott
7b37b4d1c8
added my opinion about new in HACKING, please respond
2009-01-07 03:10:00 +01:00
Ted Pavlic
db97184fa4
Added comment about modeline to HACKING
2009-01-06 19:12:09 -05:00
Ted Pavlic
ed1b052a25
HACKING modeline
2009-01-06 19:09:45 -05:00
Ted Pavlic
7485dbba4d
Added TODO: document remote git branches in HACKING
2009-01-06 19:06:14 -05:00
anekos
cefc994115
s/\t/ /
2009-01-07 09:00:49 +09:00
Ted Pavlic
318dd6a5a6
Change contition to condition in HACKING
2009-01-06 16:56:50 -05:00
Kris Maglione
5004614ab0
Add comment about 'new' to HACKING
2009-01-06 12:45:27 -05:00
Kris Maglione
850722d335
Add to HACKING
2009-01-06 11:48:29 -05:00
Kris Maglione
ffd69033f7
Add to HACKING
2009-01-06 11:40:12 -05:00
Ted Pavlic
025c85e576
Added MDC link to HACKING explaining JS1.7's let
2009-01-06 12:11:02 -05:00
Doug Kearns
54bc277231
Finish resolving HACKING conflicts.
2009-01-05 22:04:56 +11:00
Doug Kearns
ea04b2b2be
Add a couple of points to the style guide.
2009-01-05 21:10:55 +11:00
Ted Pavlic
166d60abd0
Added lines to HACKING and vimp/TODO requesting testing/optimization info.
2009-01-04 22:02:26 -05:00
Ted Pavlic
b644259f83
HACKING spelling stuff
2009-01-04 21:55:49 -05:00
Martin Stubenschrott
7bf0481345
added 2 more things to the style guide
2009-01-03 14:49:16 +01:00
Martin Stubenschrott
b20f740d30
added simple style guide in HACKING file
2009-01-03 14:45:49 +01:00