1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 11:18:00 +01:00
Commit Graph

102 Commits

Author SHA1 Message Date
Kris Maglione
7a6365b54f Merge.
--HG--
branch : testing
2010-08-26 15:18:49 -04:00
Kris Maglione
a0cb07e7d7 Some smallish fixes.
--HG--
branch : testing
2010-08-26 11:40:59 -04:00
Kris Maglione
cb4cc87272 Fix xmlToDom in Gecko 2.
--HG--
branch : testing
2010-08-15 08:57:18 -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
3fa5bb5cea More Gecko 2 fixes.
--HG--
branch : testing
2010-08-10 01:40:58 -04:00
Kris Maglione
0e3b5ca121 Some Gecko 2 fixes.
--HG--
branch : testing
2010-08-08 22:03:42 -04:00
Kris Maglione
1210bc574a Only open files rather than URLs for full or relative path names.
--HG--
branch : testing
2010-06-20 11:25:50 -04:00
Kris Maglione
a6f90714e4 Fix broken JS completion.
--HG--
branch : testing
2010-06-03 20:24:16 -04:00
Kris Maglione
34574f43bb Fix sanitizer.
--HG--
branch : testing
2010-05-14 14:37:56 -04:00
Kris Maglione
bf5fb6d44e Finish adding missing copyright notices.
--HG--
branch : testing
2009-12-01 07:08:05 -05:00
Doug Kearns
4ed5f85eab Remove util.isArray which is made redundant by isarray.
--HG--
extra : rebase_source : 59b8cb2d2e12ebd92b78e95ae16860f6e570841e
2009-11-20 01:53:29 +11:00
Doug Kearns
49bedfa5c2 Fix some JS warnings. 2009-11-17 15:13:10 +11:00
Doug Kearns
01a04a9d9f Move Command's property definitions outside init.
--HG--
extra : rebase_source : 2237c2350957975938140d4f4c556898763ef7d3
2009-11-16 02:32:28 +11:00
Kris Maglione
f0c87aeae5 Properly quote strings. 2009-11-15 02:43:53 -05:00
Kris Maglione
cdaa26f968 Add 'javascript' module. Misc fixes along the way. 2009-11-15 02:08:10 -05:00
Kris Maglione
cd17b12177 Fix stringToURLArray for file: URIs. Closes issue #154. 2009-11-14 22:48:51 -05:00
Kris Maglione
91fd0e1169 Get rid of absurd strict JS warnings. 2009-11-14 04:38:36 -05:00
Kris Maglione
a8f8ebaeb5 Allow :setcomm /dev/null <(js -Cv180 options.js |& grep .) all& 2009-11-13 22:04:50 -05:00
Doug Kearns
41b9c8e9a1 Formatting fixes. 2009-11-14 04:20:09 +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
Kris Maglione
d4b818b7d7 Yay XPCSafeJSObjectWrapper. 2009-11-03 06:11:53 -05:00
Kris Maglione
8224540d26 Check for existence of base64(1) before 'make dist' 2009-11-02 16:49:52 -05:00
Kris Maglione
108f467fe4 Completely HTML-ize help transforms. Add intentionally undocumented :exporthelp. 2009-11-02 00:18:58 -05:00
Kris Maglione
7a9889b18c Add IO#File.
New review:
owner: dougkearns
I like this for the most part, except that it has to go to lengths
to wrap the original nsIFile correctly, an that it can't be passed
directly to other XPCOM components. It makes most operations on
files a lot cleaner, though.
2009-10-31 17:40:16 -04:00
Kris Maglione
1350701eec Update util.generateHelp. 2009-10-28 17:38:06 -04:00
Kris Maglione
18e414f180 Take a crack at killing security warnings. Fail miserably. Keep the new code because it's a bit nicer.
--HG--
branch : xslt
2009-10-26 04:31:54 -04:00
Kris Maglione
2add32c3f2 Fix completion preview error in 3.6a2
--HG--
extra : rebase_source : 33da194d4dc35758f42183b0969132289d9594cc
2009-10-24 05:49:45 -04:00
Kris Maglione
9ef122da08 Simplify feed auto-detection code.
--HG--
extra : rebase_source : 70d362bc1b442c52336a34038fc2facc2f460c8c
2009-10-15 18:09:55 -04:00
Doug Kearns
9b0e6ac28b Move an inline style from util.objectToString to a new Key highlight group. 2009-10-16 00:28:27 +11:00
Martin Stubenschrott
3910c0604b Move all files to a MIT license 2009-10-03 00:32:29 +02:00
Doug Kearns
4daa9ace53 Add util.makeXPath for constructing XPath expressions.
--HG--
extra : transplant_source : G%A7_%1B%9B%7BN%9C%FF%14%A9g%BA%04%99%B3%8B%23%ED%F2
2009-09-25 15:57:20 +10:00
Doug Kearns
dbc99ad956 Revert "Move util.Array to modules.Array_."
This reverts commit d6cdda48a18c9fa05365b50046470fec9935fd3c.

Array_ method chaining needs fixing.
2009-09-15 13:20:06 +10:00
Doug Kearns
7c66dc2b17 Move util.Array to modules.Array_. 2009-09-14 15:19:56 +10:00
Doug Kearns
c958616337 Formatting fixes. 2009-08-27 14:46:30 +10:00
Doug Kearns
7e7e68e1eb Formatting fixes. 2009-08-21 23:57:40 +10:00
Kris Maglione
9d77c018ca Fix something to do with <a>. 2009-08-19 14:03:14 -04:00
Doug Kearns
b6d3f7ef99 Remove some trailing commas. 2009-08-10 02:21:47 +10:00
Doug Kearns
77458e5b8a Whitespace and semicolon fixes. 2009-08-10 02:15:23 +10:00
Doug Kearns
c82140ca51 Missing semicolon. 2009-07-23 00:34:19 +10:00
Kris Maglione
842dd61f4c Add [c]:toolbaropen[c], [c]:toolbarclose[c], and [c]:toolbartoggle[c]. 2009-07-21 22:18:15 -04:00
Kris Maglione
a7de8b8cd0 Add favicons to :ba and :fo 2009-07-21 14:48:40 -04:00
Conrad Irwin
4a70d7c097 ":set urloperator=" will turn off splitting
used to go into infinite loop
2009-07-12 13:54:58 +01:00
Doug Kearns
f9ffc9138a Cleanup and add some documention. 2009-06-29 19:22:09 +10:00
Doug Kearns
e2e31528e2 Normalise the use of "func" vs "fn" for function references.
"func" had the numbers.
2009-06-29 19:09:08 +10:00
Kris Maglione
3628ff8803 Fix 'hinttags'. 2009-06-28 23:57:24 -04:00
Kris Maglione
7c7710b23d Cleanup default 'hinttags' definition a bit 2009-06-28 14:46:23 -04:00
Kris Maglione
55164325df Don't save storage objects while in private mode, restore them on exit. 2009-06-28 14:37:23 -04:00
Doug Kearns
776f9bb425 Cleanup some references to "Firefox" in common/*. 2009-06-28 16:03:23 +10:00
Doug Kearns
6d7b94daa6 Add missing semicolons. 2009-06-02 16:59:24 +10:00
Doug Kearns
95dffaf95a Add util.Math.constrain. 2009-06-02 16:58:20 +10:00