1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-04-26 08:41:25 +02:00
Commit Graph

372 Commits

Author SHA1 Message Date
Kris Maglione 7a3d35991c Fix some general brokenness.
--HG--
branch : testing
2010-05-11 06:01:02 -04:00
Kris Maglione bf5fb6d44e Finish adding missing copyright notices.
--HG--
branch : testing
2009-12-01 07:08:05 -05:00
Doug Kearns 52749d6722 Remove some redundant uses of "new". 2009-11-14 23:07:56 +11:00
Doug Kearns 90410f2bf6 Fix "G" scroll command.
Broken by 769dad6834.
2009-11-14 22:35:54 +11:00
Kris Maglione 91fd0e1169 Get rid of absurd strict JS warnings. 2009-11-14 04:38:36 -05:00
Kris Maglione 86142105a1 Add config.browser, config.tabbrowser. Fix mailbird. &c. 2009-11-14 01:04:53 -05:00
Kris Maglione a9e8d9d691 Make Option.validateCompleter the default validator: look out for minor breakage. 2009-11-13 21:50:06 -05:00
Kris Maglione 00697620ca Clear highlighting on page unload, etc. 2009-11-13 19:17:34 -05:00
Kris Maglione a4dced6911 Automatically track and remove long-lived event listeners. 2009-11-13 16:12:50 -05:00
Doug Kearns 41b9c8e9a1 Formatting fixes. 2009-11-14 04:20:09 +11:00
Doug Kearns 592305420d Move page load event handlers to the buffer module. 2009-11-14 04:18:34 +11:00
Kris Maglione f03c6e134e Fix :pageinfo. 2009-11-10 19:56:02 -05:00
Kris Maglione a72068c9f7 Refactor modules.config. 2009-11-09 03:12:27 -05:00
Doug Kearns a7925705d7 Finish the Great Opening Brace Correction. 2009-11-09 16:03:00 +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 c1a88e4a31 Reinstate buffer.evaluateXPath for plugins. :( 2009-11-07 01:39:01 -05:00
Kris Maglione 1ce498401e Add liberator.assert. 2009-11-03 02:36:48 -05:00
Kris Maglione d59a85585b Fix storage bins. 2009-11-03 00:19:55 -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 d880d4afcb Cleanup liberator.open a bit; could probably use a bit more. 2009-10-31 17:28:35 -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 382cbe6691 Poke "Stupid, fallable heuristic" in scrolling code.
--HG--
extra : rebase_source : af80ea5701d073993e3e5f0c98c1947f7a9c65cb
2009-10-21 04:41:12 -04:00
Kris Maglione 9ef122da08 Simplify feed auto-detection code.
--HG--
extra : rebase_source : 70d362bc1b442c52336a34038fc2facc2f460c8c
2009-10-15 18:09:55 -04:00
Kris Maglione 1c6e31a73b Take some more jabs at the new scrolling code. Begin crafting a gecko-shaped voodoo doll. 2009-10-11 03:36:42 -04:00
Kris Maglione 5965ee588f Fix bug in f1273c08be5d. 2009-10-09 01:06:21 -04:00
Kris Maglione e62d9f96a5 Minor cleanup. 2009-10-08 23:13:24 -04:00
Kris Maglione 9235500752 Fix some quirks in new scrolling code. 2009-10-08 15:39:48 -04:00
Kris Maglione 81c72d560e Backed out changeset 7b2d94f436ad 2009-10-08 17:19:53 -04:00
Kris Maglione 271e4fdfc1 Fix some quirks in new scrolling code.
--HG--
extra : rebase_source : 85c06e97ddd00cde296d595a99052428dacc15ca
2009-10-08 15:39:48 -04:00
Kris Maglione f374fc981a imported patch quick-cleanup 2009-10-06 20:19:15 -04:00
Kris Maglione f8bbd77356 Scroll any focused scrollable element rather than the entire window. Closes issue #61. 2009-10-06 20:19:12 -04:00
Martin Stubenschrott 3910c0604b Move all files to a MIT license 2009-10-03 00:32:29 +02:00
Doug Kearns 41a1a4cda0 Use | rather than \ for the toggle view-source command.
\ conflicts with the default map-leader.

--HG--
extra : transplant_source : %83%DF%5D2%8FJ%7B%29X%EF%5B%09%AB%84ON%D7%0CEz
2009-09-27 02:06:39 +10:00
Doug Kearns 1dde7029df Add XTML2 support to the Buffer#evaluateXPath namespace resolver.
--HG--
extra : transplant_source : 2v%E9%27%09%0B%23%09%86%96%96h%40v%9B%3D%24%F2%AD%17
2009-09-25 16:00:48 +10: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 5a5e12eb1c Use the default 'hinttags' value when finding "]]" links. 2009-09-20 00:21:15 +10:00
Kris Maglione f6e130a93f Make :viewsource a bit more robust 2009-09-17 14:00:26 -04: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 2b7e4dcb67 Remove redundant semicolons. 2009-09-04 21:58:43 +10:00
Doug Kearns b6a898a5fa Formatting fixes. 2009-08-27 14:46:37 +10:00
Doug Kearns c958616337 Formatting fixes. 2009-08-27 14:46:30 +10:00
Doug Kearns 662bf53d5f Normalise fooID => fooId. 2009-08-16 01:35:03 +10:00
Doug Kearns 04b96235be Clean up some option descriptions. 2009-07-24 21:01:45 +10:00
Doug Kearns c47a0ec1cc Normalise the use of "regexp(s)" vs "regex(es)".
"regex" won the Google battle.
2009-07-11 15:50:48 +10: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 55164325df Don't save storage objects while in private mode, restore them on exit. 2009-06-28 14:37:23 -04:00
Doug Kearns 6f2eb2d1ef Split Map.flags into individual properties of Map. 2009-06-28 16:03:21 +10:00
Doug Kearns a64565e1b6 Remove invalid FIXME regarding "Invalid Date" Date value.
This value is not locale dependant.
2009-06-28 16:03:19 +10:00