1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-19 23:07:58 +01:00
Commit Graph

98 Commits

Author SHA1 Message Date
Kris Maglione
67e2a23c5a Fix zoom level display for fractional percentages. 2011-01-14 23:32:27 -05:00
Kris Maglione
d661d60cb6 Make buffer.UR[LI] nsIURI objects. Fix bug in chrome-data:. 2011-01-03 22:00:53 -05:00
Kris Maglione
91f02c9763 Allow multiple patterns for :autocommands. 2011-01-02 15:27:14 -05:00
Kris Maglione
c671cc84e0 Allow using heredocs with :abbr/:au/:com/:map. 2010-12-30 14:24:18 -05:00
Kris Maglione
dca9f2df86 Merge changes from bootstrapped. 2010-12-25 16:00:56 -05:00
Kris Maglione
556c5b1903 Pass proper objects to -js autocommands rather than stringified imitations. 2010-12-17 13:21:55 -05:00
Kris Maglione
f07f067309 Rename util.(escapeRegexp|regexpSource) to util.regexp.(escape|getSource). 2010-12-15 06:06:42 -05:00
Štěpán Němec
a219601931 Provide util.regexpSource to avoid escaping slash when not necessary. 2010-12-06 03:54:22 +01:00
Štěpán Němec
b765c5e96c Typos and whitespace fixes. 2010-12-06 02:29:52 +01:00
Doug Kearns
c89df81725 Typo fixes. 2010-10-23 23:14:08 +11:00
Doug Kearns
4f14857d66 Normalise regex -> regexp.
This is what JS uses and using both is confusing.
2010-10-22 12:03:03 +11:00
Doug Kearns
377f8b01d4 Replace use of <b>arg</b> in API docs with *arg*.
--HG--
extra : rebase_source : f127ac4f494053e4306074f5acded34b2d363eef
2010-10-21 22:55:15 +11:00
Doug Kearns
48dd94773e Employ dactyl.assert where appropriate in Melodactyl. 2010-10-21 15:25:54 +11:00
Kris Maglione
cd60cf81f6 Don't show the "all" item in the sanitize dialog. 2010-10-14 04:18:00 -04:00
Kris Maglione
4351bb675b Make "all" toggle other items in "activate", "eventignore", "newtab", and "sanitizeitems". 2010-10-12 14:29:11 -04:00
Kris Maglione
4efc6a3972 Allow things like :com! foo\n \ echo 1\n \ echo 2 2010-10-11 02:47:07 -04:00
Kris Maglione
7f574a512f Preserve file/line information with saved ex commands (:au, :com, :map -ex). 2010-10-05 15:29:18 -04:00
Kris Maglione
c747734f1e Allow negating the regular expression in :autocmd. 2010-10-04 23:48:19 -04:00
Kris Maglione
69ed86178d Take focus from elements when they collapse. Small naming fix for Doug's sake. Closes issue #36.
--HG--
extra : rebase_source : aa0f776bafdeddc8a8b45ca3430de18ab535babc
2010-10-03 10:24:01 -04:00
Kris Maglione
634a26c98d Fix :macros. 2010-09-30 14:54:42 -04:00
Doug Kearns
87b29aa609 Camel-case array#{iteritems,itervalues}. 2010-09-26 11:54:28 +10:00
Doug Kearns
0d2b1b6dfd Whitespace fixes. 2010-09-24 16:26:08 +10:00
Doug Kearns
defa81b3d5 Camel-case some identifiers gone rogue.
Do not free a camel of the burden of his hump; you may be freeing him from
being a camel.
- G. K. Chesterton
2010-09-23 20:01:50 +10:00
Doug Kearns
cce6bb653e Add missing semicolons.
...let the good times roll.
2010-09-22 23:44:04 +10:00
Kris Maglione
1557b70f45 Major documentation updates and formatting fixes, and many, many other changes thanks to an MQ glitch, including:
* Significant completion speed improvements
 * Significantly improve startup speed, in large part by lazily
   instantiating Options and Commands, lazily installing highlight
   stylesheets, etc.
 * Update logos and icons, fix atrocious about page
 * Fix Teledactyl
 * JavaScript completion now avoids accessing property values
 * Add Option#persist to define which options are saved with :mkp
 * Add new Dactyl component which holds add-on-specific configuration
   information and removes need for separate components for each dactyl
   host
 * Several fixes for latest nightlies
 * Significant code cleanup and many bug fixes

--HG--
rename : muttator/AUTHORS => teledactyl/AUTHORS
rename : muttator/Donors => teledactyl/Donors
rename : muttator/Makefile => teledactyl/Makefile
rename : muttator/NEWS => teledactyl/NEWS
rename : muttator/TODO => teledactyl/TODO
rename : muttator/chrome.manifest => teledactyl/chrome.manifest
rename : muttator/components/commandline-handler.js => teledactyl/components/commandline-handler.js
rename : muttator/components/protocols.js => teledactyl/components/protocols.js
rename : muttator/content/addressbook.js => teledactyl/content/addressbook.js
rename : muttator/content/compose/compose.js => teledactyl/content/compose/compose.js
rename : muttator/content/compose/compose.xul => teledactyl/content/compose/compose.xul
rename : muttator/content/compose/dactyl.dtd => teledactyl/content/compose/dactyl.dtd
rename : muttator/content/compose/dactyl.xul => teledactyl/content/compose/dactyl.xul
rename : muttator/content/config.js => teledactyl/content/config.js
rename : muttator/content/dactyl.dtd => teledactyl/content/dactyl.dtd
rename : muttator/content/logo.png => teledactyl/content/logo.png
rename : muttator/content/mail.js => teledactyl/content/mail.js
rename : muttator/content/muttator.xul => teledactyl/content/pentadactyl.xul
rename : muttator/contrib/vim/Makefile => teledactyl/contrib/vim/Makefile
rename : muttator/contrib/vim/ftdetect/muttator.vim => teledactyl/contrib/vim/ftdetect/muttator.vim
rename : muttator/contrib/vim/mkvimball.txt => teledactyl/contrib/vim/mkvimball.txt
rename : muttator/contrib/vim/syntax/muttator.vim => teledactyl/contrib/vim/syntax/muttator.vim
rename : muttator/install.rdf => teledactyl/install.rdf
rename : muttator/locale/en-US/Makefile => teledactyl/locale/en-US/Makefile
rename : muttator/locale/en-US/all.xml => teledactyl/locale/en-US/all.xml
rename : muttator/locale/en-US/autocommands.xml => teledactyl/locale/en-US/autocommands.xml
rename : muttator/locale/en-US/gui.xml => teledactyl/locale/en-US/gui.xml
rename : muttator/locale/en-US/intro.xml => teledactyl/locale/en-US/intro.xml
rename : muttator/skin/icon.png => teledactyl/skin/icon.png
2010-09-17 06:21:33 -04:00
Kris Maglione
47083c5b66 Don't use the word eval for fear that it may break "use strict" mode later. 2010-09-17 06:15:13 -04:00
Kris Maglione
a5213c3760 Precompute completion string matching function. 2010-09-17 06:15:13 -04:00
Kris Maglione
8b0d9586b2 Merge testing.
--HG--
rename : common/content/base.js => common/modules/base.jsm
rename : common/content/services.js => common/modules/services.jsm
rename : common/content/style.js => common/modules/styles.jsm
rename : common/content/template.js => common/modules/template.jsm
rename : common/content/util.js => common/modules/util.jsm
2010-08-31 21:09:13 -04:00
Kris Maglione
5632e14721 Prepare for merge with testing branch. 2010-08-28 15:47:45 -04:00
Kris Maglione
f1ca59a83d Use Object.keys/getOwnPropertyNames (and provide them if they don't exist). 2010-08-28 18:57:59 -04:00
Kris Maglione
4e40abe6b0 Lots of rangefinder and Gecko 2 tabbing fixes. 2010-08-28 18:02:03 -04: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
Kris Maglione
7a6365b54f Merge.
--HG--
branch : testing
2010-08-26 15:18:49 -04:00
Kris Maglione
2375a00fb4 Replace 'focuscontent' with 'strictfocus'.
--HG--
branch : testing
2010-08-26 13:26:34 -04:00
Kris Maglione
daa2d5dcc5 Use JS5's strict mode. But, alas! it outlaws octal! Oh the inanity...
--HG--
branch : testing
2010-08-15 07:49:52 -04:00
Kris Maglione
bf5fb6d44e Finish adding missing copyright notices.
--HG--
branch : testing
2009-12-01 07:08:05 -05:00
anekos
a8f985081c Smart :autocmd completer 2009-11-23 11:41:11 +09:00
Kris Maglione
cdaa26f968 Add 'javascript' module. Misc fixes along the way. 2009-11-15 02:08:10 -05:00
Doug Kearns
52749d6722 Remove some redundant uses of "new". 2009-11-14 23:07:56 +11:00
Doug Kearns
6cc43ad29a Formatting fixes. 2009-11-14 21:57:32 +11:00
Kris Maglione
91fd0e1169 Get rid of absurd strict JS warnings. 2009-11-14 04:38:36 -05:00
Kris Maglione
a9e8d9d691 Make Option.validateCompleter the default validator: look out for minor breakage. 2009-11-13 21:50:06 -05:00
Doug Kearns
0d2d1bd6e9 Fix autocommands.
Update calls to AutoCommands#matchAutoCmd.
2009-11-14 05:03:17 +11:00
Doug Kearns
41b9c8e9a1 Formatting fixes. 2009-11-14 04:20:09 +11:00
Kris Maglione
e6cbf92ddb Get rid of some selfs 2009-11-10 13:30:52 -05:00
anekos
2e173d3e2e Fix a wrong reference. 2009-11-10 18:42:27 +09:00
Kris Maglione
a72068c9f7 Refactor modules.config. 2009-11-09 03:12:27 -05: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