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

90 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
5bd7b6b0fc Focus ancestor link (but not input boxes) of rangefinder selections.
--HG--
branch : testing
2010-06-10 02:19:35 -04:00
Kris Maglione
535293a53e Fix finding from caret.
--HG--
branch : testing
2010-06-10 01:30:03 -04:00
Kris Maglione
a6f90714e4 Fix broken JS completion.
--HG--
branch : testing
2010-06-03 20:24:16 -04:00
Kris Maglione
b6267c4f19 Add a docstring to RangeFind class.
--HG--
branch : testing
2010-05-14 18:59:41 -04:00
Kris Maglione
3da3d903a8 Replace Finder with RangeFinder.
--HG--
branch : testing
2010-05-14 18:46:10 -04:00
Kris Maglione
bf5fb6d44e Finish adding missing copyright notices.
--HG--
branch : testing
2009-12-01 07:08:05 -05: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
dcedb36e9b Be slightly paranoid about memory leaks. 2009-11-14 02:19:51 -05:00
Kris Maglione
86142105a1 Add config.browser, config.tabbrowser. Fix mailbird. &c. 2009-11-14 01:04:53 -05:00
Kris Maglione
00697620ca Clear highlighting on page unload, etc. 2009-11-13 19:17:34 -05:00
Doug Kearns
41b9c8e9a1 Formatting fixes. 2009-11-14 04:20:09 +11:00
Kris Maglione
d749340ef3 Resurrect my range finder, Part IV: Links only, match case, and all that stuff no one uses. 2009-11-13 04:22:11 -05:00
Kris Maglione
12012af693 More RangeFind work. 2009-11-13 03:00:46 -05:00
Kris Maglione
5c3d06f141 More RangeFind stuff. 2009-11-12 15:58:03 -05:00
Kris Maglione
7f0a8a9ede Remove debugging dump statement. 2009-11-12 06:04:14 -05:00
Kris Maglione
b607764012 Add Classeditor.jssetTimeout. Fix some broken timeouts. 2009-11-11 19:18:04 -05:00
Kris Maglione
f8ddb3e9c3 Resurrect my range finder, Part III: Search highlighting. 2009-11-11 06:09:26 -05:00
Kris Maglione
0f4598fcd6 Resurrect my range finder, Part II: Make things works sensibly with frames. 2009-11-11 02:35:51 -05:00
Kris Maglione
e6cbf92ddb Get rid of some selfs 2009-11-10 13:30:52 -05:00
Doug Kearns
efaba491cd Fix "pattern not found" text search error message. 2009-11-10 18:28:20 +11:00
Kris Maglione
95fa7a4037 Resurrect my range finder, Part I. 2009-11-09 23:00:56 -05:00
Kris Maglione
9bcbc473fa Fix finder. 2009-11-09 12:33:23 -05: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
Kris Maglione
1ce498401e Add liberator.assert. 2009-11-03 02:36:48 -05:00
Martin Stubenschrott
3910c0604b Move all files to a MIT license 2009-10-03 00:32:29 +02:00
Kris Maglione
4b43c2b3e5 Fix /find error message on submit with 'incsearch' 2009-09-17 11:07:54 -04:00
Doug Kearns
2b7e4dcb67 Remove redundant semicolons. 2009-09-04 21:58:43 +10:00
Doug Kearns
a60f744b7a Fix #333 (Incremental search: /<CR> doesn't work; but n/N does). 2009-08-21 23:57:42 +10:00
Doug Kearns
519908eb2e Fix #285 (Find next doesn't highlight after refresh). 2009-08-10 06:29:11 +10:00
Doug Kearns
c062cf48df Move liberator.{register,trigger}Callback to CommandLine. 2009-07-11 00:43:16 +10:00
Doug Kearns
3f5dd13453 Fix typo in finder.openPrompt refactoring. 2009-06-28 17:22:16 +10:00
Doug Kearns
f3fd72b776 Refactor finder.openPrompt. 2009-06-28 16:03:24 +10:00
Doug Kearns
6d7b94daa6 Add missing semicolons. 2009-06-02 16:59:24 +10:00
Doug Kearns
26dabbfd0d Change multiline error message guard clauses to single line formatting.
Also apply similar formattng fixes to conditional blocks as per
standard.
2009-05-22 10:53:17 +10:00
Doug Kearns
cb0a352454 Fix an old call to snapshotItem in highlightObj.highlightDoc.
Spans are now stored in an array.
2009-05-22 10:52:59 +10:00
Doug Kearns
7fc37fe79c Remove some old/invalid FIXME comments. 2009-05-13 01:34:09 +10:00
Doug Kearns
cb0f542e94 Rename Search to Finder.
Search generally refers to web searches in this domain and mixing
"search" and "find" within the same module is very confusing.
2009-05-11 17:53:33 +10:00