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

105 Commits

Author SHA1 Message Date
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
a6f90714e4 Fix broken JS completion.
--HG--
branch : testing
2010-06-03 20:24:16 -04:00
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
Kris Maglione
61002641a3 Context-specific completer options. Option refactoring.
New review
Owner: dougkearns
Hopefully the changeset hash will actually be linked this time. If
not, it's the tip of the testing branch, presumably r4161.
I've been meaning to do this for a while. It allows case matching,
sorting, and auto completion options to be assigned on a per context
basis, with fine grained control. It also adds builtin regex support
to options since it's used fairly extensively. There are definitely
other options that would benefit from the regexlist type, if I can
dig them up. The interface (and perhaps the doc wording) is the only
place I'm really ambivalent.

--HG--
branch : testing
2009-11-20 15:37:39 -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
41b9c8e9a1 Formatting fixes. 2009-11-14 04:20:09 +11:00
Kris Maglione
a72068c9f7 Refactor modules.config. 2009-11-09 03:12:27 -05:00
Kris Maglione
b117f6749a Just explicitly check bookmark node URIs for nullness. How does this even happen? 2009-11-08 20:58:43 -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
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
c159cf6efa Minor cleanup. 2009-11-02 22:05:03 -05:00
Kris Maglione
9b32154909 Add note to TODO. 2009-11-01 00:32:27 -04:00
Kris Maglione
9bb01ce7ef Change Storage#newObject signature. 2009-10-29 20:30:24 -04:00
Kris Maglione
77beb82f45 Filter :u completions based on text and description.
--HG--
branch : xslt
2009-10-26 17:19:08 -04:00
Kris Maglione
537c0e0d51 Minor help fixes. Almost time to merge. Need to get rid of these silly security warnings flooding the console.
--HG--
branch : xslt
2009-10-26 03:54:29 -04:00
Kris Maglione
9e531ca343 Fix Xulmus, etc.
--HG--
branch : xslt
2009-10-25 13:43:25 -04:00
Kris Maglione
fa9b118aad Cleanup more crufty, stolen Gecko code. Aren't these people supposed to be professionals?
--HG--
extra : rebase_source : 288a8a5f8479dda0c16c1a66132682e71f9a8eba
2009-10-21 04:42:04 -04:00
Kris Maglione
e32cabe61b Fix Bookmarks#getSearchURL typo.
--HG--
extra : rebase_source : 739c42e7b3e06be1d4193d4fb0c4a40760f068a4
2009-10-13 01:40:22 -04:00
Kris Maglione
cf2fdf8300 Clean up funky stolen firefox code. 2009-10-09 00:53:32 -04:00
Kris Maglione
8b7b290e65 Don't report live bookmark items as bookmarked. 2009-10-09 00:17:57 -04:00
Martin Stubenschrott
3910c0604b Move all files to a MIT license 2009-10-03 00:32:29 +02:00
Doug Kearns
e8ab304cbc Add some cheap documentation for QuickMarks. 2009-09-27 21:56:26 +10:00
Kris Maglione
adc201f445 Fix bookmarks.isBookmark yet again. Check manually, this time. 2009-09-26 20:16:13 -04:00
Kris Maglione
383d4b635a Fix bookmarks.isBookmarked so we don't get spurious hearts in the status line. 2009-09-21 16:30:41 -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
66f86d2da4 Don't mark quickmarks as private data.
Quickmarks are essentially bookmarks and Firefox doesn't consider these
private data.
2009-09-15 13:20:04 +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
bc1163c0c7 Remove some invalid comments. 2009-08-27 14:46:36 +10:00
Doug Kearns
c958616337 Formatting fixes. 2009-08-27 14:46:30 +10:00
Kris Maglione
9d77c018ca Fix something to do with <a>. 2009-08-19 14:03:14 -04:00
Doug Kearns
eca673911e Fix #335 (Escape quotes in page title when adding bookmarks with 'a' command). 2009-08-10 13:56:10 +10:00
Doug Kearns
ab6eaeff29 Fix typo in history -max option definition. 2009-08-10 02:16:10 +10:00
Doug Kearns
77458e5b8a Whitespace and semicolon fixes. 2009-08-10 02:15:23 +10:00
Doug Kearns
a8001baa03 Fix bookmark tag editing via :bmark.
Places transactions are essentially irrelevant given the current
bookmark interface, though could perhaps be supported in the future.
2009-08-09 23:53:41 +10:00
Doug Kearns
2392a2841f Only use a single exact URL match to prefill a :bmark command line. 2009-08-09 23:51:21 +10:00
Doug Kearns
58c9041beb Fill the :bmark command line generated by <a> with any existing data.
Fixes #237 (The "a" key should fill command line with existing data on
bookmarked).
2009-08-09 02:06:18 +10:00
Doug Kearns
415db95601 Add a ! bang version of :delbmarks to delete all bookmarks. 2009-08-09 01:50:59 +10:00
Kris Maglione
a7de8b8cd0 Add favicons to :ba and :fo 2009-07-21 14:48:40 -04:00
Kris Maglione
773814c985 Make :ba and :fo generally more consistent and less annoying. 2009-07-21 14:48:39 -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
6f2eb2d1ef Split Map.flags into individual properties of Map. 2009-06-28 16:03:21 +10:00
Kris Maglione
8a34f5f60d Revert "Remove unneeded sleep const in Cache."
The bookmark cache is not window specific, and when the first window
disappears, so too does its liberator object.

This reverts commit 4f0154de457464ac7ffa64a6e9a7076e8af8964d.
2009-06-21 11:55:34 -04:00