1 2007-10-27 John J. Foerch <jjfoerch@earthlink.net>
5 * conkeror.js (init_frame): pass `event.target' to
6 dom_content_loaded_hook functions.
8 * utils.js (title_format_fn): declare variable.
10 * numbering.js (numbering_default): declare variable.
12 * numbering.js (numbering_get_number, numbering_get_number1)
13 (numbering_get_element, numbering_document_highest): new
16 * numbering.js (numbering_generate): rewrote.
18 * numbering.js (numbering_simple): do not handle `embed' elements.
19 exclude certain elements based on their attributes.
21 * numbering.js (numbering_generate_default): new parameter, `document'.
23 2007-10-25 John J. Foerch <jjfoerch@earthlink.net>
27 * save.js (validateFileName): removed, and removed all calls.
29 * save.js (generate_filename_safely_default)
30 (generate_filename_safely_darwin, generate_filename_safely_winnt):
33 * save.js (generate_filename_safely_fn): new variable, plus
36 * save.js (getDefaultFileName): use generate_filename_safely_fn.
38 * interactive.js (interactive_methods.focused_link_url_s): renamed
39 to focused_link_url. updated all callers.
41 * interactive.js (interactive_methods.image_url_s): renamed to
42 image_url. updated all callers.
44 * interactive.js (interactive_methods.current_url_s): renamed to
45 current_url. updated all callers.
47 * interactive.js (interactive_methods.current_frameset_frame_url_s):
48 renamed to current_frameset_frame_url. updated all callers.
50 * interactive.js (interactive_methods.current_url_o)
51 (interactive_methods.focused_link_url_o)
52 (interactive_methods.image_url_o): removed.
54 * save.js (save-focused-link): use `focused_link_url'.
56 * save.js (save_focused_link, generate_filename, save_image): take
59 * save.js (save-image): use `image_url'.
61 2007-10-25 John J. Foerch <jjfoerch@earthlink.net>
65 * frame.js (download_uri_internal): moved to save.js.
67 * save.js (download_uri_internal): new argument, `post_data_o'.
68 use this instead of calling getPostData.
70 * save.js (download_uri_internal): moved inner function
71 `getPostData' to frame.js.
73 * save.js (save_focused_link, save_image, save_page)
74 (save_page_as_text, save_page_complete): use
75 `download_uri_internal' instead of `this.download_uri_internal'.
76 updated calls to download_uri_internal to pass new argument for
79 * frame.js (download_uri): updated call to download_uri_internal
80 to pass new argument for post_data_o.
82 2007-10-25 John J. Foerch <jjfoerch@earthlink.net>
88 * commands.js (save_focused_link, save-focused-link, save_image)
89 (save-image, save_page, save-page, save_page_as_text)
90 (save-page-as-text, save_page_complete, save-page-complete): moved
93 * interactive.js (interactive_methods.focused_link_url_o): use
94 `makeURL' instead of `this.makeURL'.
96 * utils.js (make_default_file_name_to_save_url): moved to save.js.
97 renamed to `generate_filename'. rewrote.
99 * save.js (maybe_get_filename_extension)
100 (maybe_get_preferred_filename_extension, maybe_get_url_extension)
101 (maybe_get_preferred_url_extension, getDefaultExtension)
102 (getCharsetForSave, validateFileName)
103 (maybe_filename_from_content_disposition, maybe_filename_from_url)
104 (maybe_filename_from_document_title)
105 (maybe_filename_from_url_last_directory)
106 (maybe_filename_from_url_host)
107 (maybe_filename_from_localization_default, getDefaultFileName):
110 2007-10-24 John J. Foerch <jjfoerch@earthlink.net>
114 * frame.js (makeURL, makeFileURL)
115 (get_document_content_disposition)
116 (make_default_file_name_to_save_url): move to utils.js.
118 * frame.js (download_uri_internal): use conkeror.makeURL.
120 * utils.js (make_default_file_name_to_save_url): use get_os
121 instead of navigator.appVersion.
123 * commands.js (save_focused_link, save_image, save_page)
124 (save_page_as_text, save_page_complete): use
125 this.download_uri_internal.
127 2007-10-23 John J. Foerch <jjfoerch@earthlink.net>
131 * frame.js (updateModeline): check if url is null. build
132 mode-line string in a variable.
134 * interactive.js (do_interactive): try blocks around each
135 interaction and callback.
137 2007-10-23 John J. Foerch <jjfoerch@earthlink.net>
141 * commands.js (link_menu, link-menu, renumber_links)
142 (renumber-links, get_buffer_from_name, inject_css): removed.
144 * commands.js (jsconsole): removed function. updated command to
145 use open_url_in directly.
147 * commands.js (makeFrame): renamed to make_frame_command.
149 * commands.js (make-frame-command): updated.
151 * commands.js (browser_next, browser_prev): use this.getBrowser.
153 * commands.js (view_partial_source, view_mathml_source): use
156 * commands.js (print_buffer): use this.window.content.
158 * commands.js (view_source): use this.getWebNavigation. use
161 * bindings.js: remove bindings for link-menu and renumber-links.
163 2007-10-22 John J. Foerch <jjfoerch@earthlink.net>
167 * frame.js, interactive.js, keyboard.js, minibuffer.js,
168 numbering.js: new files.
170 * conkeror.js (Startup): renamed to init_frame
172 * conkeror.js (delayedStartup): renamed to delayed_init_frame, and
175 * conkeror.js (log, console): removed.
177 * conkeror.xml, numberedlinks.js: replaced calls to `log' with `dumpln'
179 * conkeror.xul: use init_frame instead of Startup.
181 * conkeror.xul: load frame.js instead of utils.js
183 * conkeror.xul: use minibuffer.oninput.call
185 * bindings.js (numberedlinks_kmap_predicate)
186 (isearch_kmap_predicate): qualify predicate variables with
189 * bindings.js (minibuffer_kmap_predicate): check classname of
190 element, because direct reference is not available in application
193 * bindings.js (input_kmap_predicate, initKmaps): current_kmap
194 instead of gCurrentKmap.
196 * bindings.js: call initKmaps here, to better modularize this
199 * conkeror.xml: remove nsIAccessibleProvider, split-related, and
200 numberedlinks-related code.
202 * find.js: isearch_active now conkeror.isearch_active.
204 * conkeror.js (conkeror_progress_listener)
205 (conkeror_xul_browser_window): new
207 * conkeror.js (init_frame): There is no try.
209 * conkeror.js (init_frame): hook up conkeror_progress_listener,
210 conkeror_xul_browser_window. remove appCore and appShell. run
211 make_frame_after_hook
213 * conkeror.js (frame_focus_observer, nsBrowserStatusHandler)
214 (top_content): removed.
216 * commands.js (gCommands, gCurrentCommand): removed, and updated
217 all references to conkeror.commands and conkeror.current_command.
219 * commands.js (interactive_methods, do_interactive)
220 (call_interactively, interactive): moved to interactive.js.
222 * commands.js (add_command, beginning_of_line, end_of_line)
223 (go_to_buffer): removed.
225 * commands.js (switch_to_buffer, cmd_scrollTop, cmd_scrollBottom):
228 * commands.js (beginning-of-line, end-of-line): use
231 * application.js (application.quit): moved to commands.js.
233 * commands.js (show_conkeror_version, next_frameset_frame)
234 (next_iframe, copy_location, yankToClipboard, goDoCommand)
235 (set_mark_command): use this.message.
237 * commands.js (unfocus, next_frameset_frame, next_iframe)
238 (scrollHorizComplete, set_mark_command): use this.document.
240 * commands.js (next_frameset_frame, next_iframe): use
241 this.clearTimeout and this.setTimeout.
243 * commands.js (next_frameset_frame, next_iframe): use notify.call.
245 * commands.js (unfocus, next_frameset_frame, next_iframe)
246 (delete_frame, renumber_links): use this.window.
248 * commands.js (goBack, goForward, stopLoading, reload)
249 (open_url_in, find-alternate-url, help_page, tutorial_page)
250 (go_up): use this.getWebNavigation.
252 * commands.js (open_url_in, switch-to-buffer, kill_buffer)
253 (text_reset, text_reduce, text_enlarge): use this.getBrowser.
255 * commands.js (open_url_in): use find_url_new_buffer.
257 * commands.js (open_url_in): use make_frame.
259 * commands.js (stopLoading, reload, open_url_in)
260 (describe_bindings, help_page, tutorial_page, list_buffers): fully
261 qualify nsIWebNavigation.
263 * commands.js (makeFrame): use conkeror.make_frame.
265 * commands.js (open_url_in_prompt, get_buffer_from_name)
266 (webjump_build_url, get_partial_match, getWebJump, web_jump)
267 (get_url_or_webjump, exchange_point_and_mark, get_link_text)
268 (universal_digit, universal_argument_more, univ_arg_to_number)
269 (link_menu, scrolly_document_observer, toggle_eod_space)
270 (mode_line_mode): whitespace
272 * commands.js (isearch_forward, isearch_backward): use
273 conkeror.isearch_active.
275 * commands.js (meta_x): use conkeror.commands.
277 * commands.js (meta_x, eval_expression): use
278 this.readFromMiniBuffer.
280 * commands.js (meta_x): use call_interactively.call.
282 * commands.js (meta_x): use this.abort.
284 * commands.js (goDoCommand): use this.top.
286 * commands.js (cmd_beginLine, cmd_copy, cmd_copyOrDelete, cmd_cut)
287 (cmd_cutOrDelete, cmd_deleteToBeginningOfLine)
288 (cmd_deleteToEndOfLine, cmd_endLine, cmd_moveTop, cmd_moveBottom)
289 (cmd_selectAll, cmd_selectBeginLine, cmd_selectBottom)
290 (cmd_selectEndLine, cmd_selectTop, cmd_scrollBeginLine)
291 (cmd_scrollEndLine): removed functions. rewrote interactive
292 definition to call goDoCommand directly.
294 * commands.js (doCommandNTimes): use goDoCommand.call.
296 * commands.js (cmd_charNext, cmd_charPrevious)
297 (cmd_deleteCharBackward, cmd_deleteCharForward)
298 (cmd_deleteWordBackward, cmd_deleteWordForward, cmd_lineNext)
299 (cmd_linePrevious, cmd_movePageDown, cmd_movePageUp, cmd_redo)
300 (cmd_selectCharNext, cmd_selectCharPrevious, cmd_selectLineNext)
301 (cmd_selectLinePrevious, cmd_selectPageDown, cmd_selectPageUp)
302 (cmd_selectWordNext, cmd_selectWordPrevious, cmd_undo)
303 (cmd_wordNext, cmd_wordPrevious, cmd_scrollPageUp)
304 (cmd_scrollPageDown, cmd_scrollLineUp, cmd_scrollLineDown)
305 (cmd_scrollLeft, cmd_scrollRight, cmd_paste): removed functions.
306 redefined interactive commands to directly call doCommandNTimes.
308 * commands.js (get_link_location): moved to utils.js.
310 * commands.js (source, reinit): use load_rc.
312 * commands.js (go_up): use open_url_in.call.
314 * commands.js (text_reset, text_reduce, text_enlarge): remove call
315 to numberedlinks_resize.
317 * commands.js (use_vi_keys): use conkeror.initViKmaps.
319 * commands.js (use_emacs_keys): use conkeror.initKmaps.
321 * commands.js (renumber_links): use this.removeExistingNLs.
323 * commands.js (renumber_links): use this.createNumberedLinks.call.
325 * commands.js (exit_minibuffer, minibuffer_history_next)
326 (minibuffer_history_previous, minibuffer_abort)
327 (minibuffer_complete, minibuffer_accept_match)
328 (minibuffer_complete_reverse, minibuffer_change)
329 (minibuffer_backspace): move to minibuffer.js.
331 * commands.js (view_source): use dumpln instead of alert.
333 * utils.js (gBrowser, message, minibuffer, readKeyPress)
334 (make_default_filename_to_save_url, abs_point, getAccessibility)
335 (getBrowser, getWebNavigation, getMarkupDocumentViewer)
336 (read_from_minibuffer_internal, gHistory)
337 (minibuffer_history_max_items, getHistory, initHistory)
338 (addHistory, init_minibuffer, miniBufferCompleteStr)
339 (removeWhiteSpace, findCompleteMatch, setInputValue)
340 (readFromMiniBuffer, setFocus, closeInput, gModeLineMode)
341 (showModeLine, updateModeLine, readFromClipboard, clearMessage)
342 (gKeySeq, gKeyTimeout, gCommandLastEvent, addKeyPressHelpTimeout)
343 (formatMods, formatKey, copyEvent, zip2, abort, makeURL)
344 (makeFileURL, get_document_content_disposition, download_uri)
345 (download_uri_internal, make_default_file_name_to_save_url)
346 (add_stringbundle): moved to frame.js.
348 * utils.js (default_directory, set_default_directory, load_rc):
349 moved to application.js.
351 * utils.js (copy_img_location, titleFormatter): removed.
353 * utils.js (metaPressed, keyMatch, getKeyBinding, getMods): moved
356 * frame.js (minibuffer.oninput): use
357 conkeror.call_interactively.call.
359 * utils.js (gCurrentKmap): removed and changed all references to
360 conkeror.current_kmap.
362 * frame.js (readKeyPress): overlay_kmap changed to
363 conkeror.overlay_kmap. top_kmap changed to conkeror.top_kmap.
364 context_kmaps changed to conkeror.context_kmaps. use
365 conkeror.getKeyBinding. use conkeror.call_interactively.call.
366 use conkeror.keyMatch. use conkeror.abort_key.
368 * utils.js (goDoCommand): moved to commands.js.
370 * utils.js (fopen, LocalFile): moved to localfile.js.
372 * frame.js (make_default_filename_to_save_url): use
373 conkeror.default_directory.
375 * frame.js (dumpln): moved to debug.js.
377 2007-10-19 John J. Foerch <jjfoerch@earthlink.net>
381 * debug.js: new file.
383 * localfile.js: new file.
385 * utils.js (dumpln): removed.
387 * utils.js (load_rc): removed.
389 * conkeror.js (Startup): do not load rc anymore. rewrote
390 window.arguments handling.
392 * commands.js (reinit, source): use conkeror.load_rc.
394 2007-10-17 John J. Foerch <jjfoerch@earthlink.net>
398 * conkeror.js (conkeror_version): removed variable.
400 * conkeror.js (gPrefService): removed variable and updated
403 * commands.js (show_conkeror_version): update reference.
405 * commands.js (interactive_methods.pref): updated to use
406 conkeror.preferences.
408 2007-10-17 John J. Foerch <jjfoerch@earthlink.net>
412 * commands.js (interactive_methods): removed duplicated definition
415 2007-08-24 John J. Foerch <jjfoerch@earthlink.net>
419 * conkeror.xml: use getElementsByTagNameNS instead of getElementsByTagName.
421 * conkeror.xml: remove spurious `}' characters from several places.
423 * bindings.js: use DOM_VK_BACK_SPACE instead of DOM_VK_BACK.
425 2007-08-23 John J. Foerch <jjfoerch@earthlink.net>
429 * conkeror.js: new way to set conkeror object.
431 * conkeror.js: do not set conkeror_id.
433 * conkeror.js (Startup): uriToLoad defaults to null, and only load
434 an url if one is explicitly passed in.
436 * commands.js (interactive_methods.current_frameset_frame_url_s)
437 (interactive_methods.current_url_o, interactive_methods.s): new
440 * commands.js (interactive_methods.M): removed.
442 * commands.js (call_interactively): object scope of interactive
443 calls is now the conkeror object.
445 * commands.js (next_frameset_frame): support nested frames.
447 * commands.js (open_url_in): use conkeror object to make new
450 * commands.js (open-frameset-frame-in-current-buffer)
451 (open-frameset-frame-in-new-buffer)
452 (open-frameset-frame-in-new-frame, copy-frameset-frame-location):
455 * commands.js (copyCurrentUrl, copy_link_location): removed
458 * commands.js (copy_location): new function.
460 * commands.js (copy-current-url, copy-link-location)
461 (copy-image-location): redefined in terms of copy_location.
463 * bindings.js (initKmaps): binding for text-reset.
465 * bindings.js (init_frameset_keys): bindings for
466 open-frameset-frame-in-current-buffer,
467 open-frameset-frame-in-new-buffer,
468 open-frameset-frame-in-new-frame, copy-frameset-frame-location.
470 * daemon-mode.js: new file.
472 * context.js (context_methods): copy_frameset_frame_location
474 * utils.js (getMods): fixed bug concerning ctrl and alt being
475 pressed at the same time.
477 2007-06-25 John J. Foerch <jjfoerch@earthlink.net>
481 * commands.js (list_buffers): use A element to get numberedlinks
484 2007-06-23 John J. Foerch <jjfoerch@earthlink.net>
488 * commands.js (interactive_methods.url_or_webjump): error on empty
491 * commands.js (call_interactively): message on error.
493 * commands.js (list_buffers): items in buffer list can be clicked.
495 * commands.js (list_all_buffers): now in inner function of
498 * commands.js (exit_minibuffer): no longer catch errors.
500 * commands.js (view_source): check if already viewing source.
502 * utils.js (set_default_directory): check environment variables
503 present on Win32 platform.
505 2007-06-19 John J. Foerch <jjfoerch@earthlink.net>
509 * commands.js (next_frameset_frame): message instead of notify on
510 error. scrollIntoView focused frame.
512 * commands.js (next_iframe): message instead of notify on error.
515 * conkeror.xul (frameset-notification-label): description element.
517 2007-06-18 John J. Foerch <jjfoerch@earthlink.net>
521 * bindings.js (frameset_kmap, init_frameset_keys): new. bound `f'
524 * bindings.js (init_universal_arg_keys): binding for
527 * commands.js (nextFrame): removed function and command.
529 * commands.js (notification_timer, next_frameset_frame,
530 next_iframe): new global, functions, and commands.
532 * commands.js (follow-link): new command.
534 * commands.js (universal_digit): accomodate negatives.
536 * commands.js (universal_negate): new function and command.
538 * conkeror.xul (frameset-notification): new popup element.
540 2007-06-17 John J. Foerch <jjfoerch@earthlink.net>
544 * commands.js (follow-link-in-new-buffer): new command
546 * bindings.js: top_kmap binding for follow-link-in-new-buffer.
548 2007-05-21 John J. Foerch <jjfoerch@earthlink.net>
552 * commands.js (interactive_methods): prompt specs are now expected
553 to be functions. update interactive_methods and interactive
554 declarations throughout program.
556 * commands.js (interactive_methods): new methods, url_or_webjump and value.
558 * commands.js (new_frame, find_alt_url, open_url, find_url):
561 * commands.js (find-url-other-frame, open-url, find-alternate-url,
562 find-url): rewrote in terms of open_url_in.
564 * gui_context_menu.s (add_contextmenu_submenu): fixed call to
567 2007-05-20 John J. Foerch <jjfoerch@earthlink.net>
571 * commands.js (save_page, save_image, save_page_as_text): do not bypass cache.
573 * context.js: new file
575 * dom-utils.js: new file
577 * gui_context_menu.js: new file
579 * gui_context_menu.xul: new file
581 * bindings.js: added binding for save-page.
583 * commands.js (interactive_methods): new methods, content_charset,
584 content_selection, current_url_s, image_url_s, mathml_node.
586 * commands.js (follow-image): command now defined in terms of
589 * commands.js (init_webjumps): added conkerorwiki webjump.
591 * commands.js (copy-image-location): defined in terms of
594 * commands.js (copy_email_address, view_partial_source,
595 view_mathml_source): new functions and corresponding commands.
597 * conkeror.xul: new stringbundleset, and script element for dom-utils.js.
599 * utils.js (goDoCommand): message on failure.
601 * utils.js (initBookmarkService, add_bookmark): removed.
603 * utils.js (add_stringbundle): new.
605 * utils.js (commandline_flags, commandline_handler):
606 removed (commented for now).
608 2007-05-15 John J. Foerch <jjfoerch@earthlink.net>
612 * utils.js (titleFormatter): new global.
614 * utils.js (default_title_formatter, set_window_title): new
617 * conkeror.js (conkeror, conkeror_id): new globals.
619 * conkeror.js (Startup): default page is now about:blank.
621 * conkeror.js (Startup): accept an url as a single argument.
623 * conkeror.js (Startup): load rc here. call set_window_title.
625 * conkeror.js (delayedStartup): set_window_title at
628 * conkeror.js (delayedStartup): remove loading rc.
630 * conkeror.js (nsBrowserStatusHandler.onLocationChange):
633 * conkeror.xul: contenttitlesetting is now false.
635 * commands.js (quit, extensions, makeFrame, open_url_in): updated
638 * commands.js (customize, preferences): removed commands.
640 2007-05-11 John J. Foerch <jjfoerch@earthlink.net>
644 * bindings.js (init_numberedlinks_keys): bind C-s to
647 * bindings.js: bind minibuffer-accept-match to space
649 * commands.js: new command minibuffer-accept-match.
651 * commands.js (exec_command): renamed to call_interactively.
654 * commands.js (call_interactively): new argument, given_args.
656 * commands.js (do_interactive): new argument, given_args.
658 * commands.js (interactive_methods): initval functions now take as
659 an argument the interactive values collected so far.
661 * commands.js (interactive_methods.F, .focused_link_url_o,
662 .focused_link_url_s): new methods
664 * commands.js (get_link_location): takes arg instead of performing
667 * commands.js (copy_link_location): uses interactive
668 focused_link_url_s now.
670 * commands.js (save_link, save-link): removed.
672 * commands.js (save_focused_link): new command.
674 * commands.js (firefox): removed.
676 * commands.js (exit_minibuffer): interactive spec now includes
679 * bm.js, bookmarks.html: removed files.
681 * commands.js (goto_bookmark, bookmark_current_url, bookmark_doc,
682 bookmark_bmenu_list): removed.
684 * bindings.js: removed bookmarks keys.
686 * bindings.js (input_kmap_predicate): test for buttons.
688 * bindings.js (minibuffer_kmap_predicate, textarea_kmap_predicate,
689 input_kmap_predicate): always return a value.
691 * bindings.js (init_numberedlinks_keys): change binding for
692 numberedlinks-follow-other-frame to C-M-RET.
694 * numberedlinks.js (numberedlinks_do_link): call save-focused-link
695 instead of save-link. updated interactive defs so initval is a
698 * numberedlinks.js (numberedlinks_exit_minibuffer): removed.
699 updated interactive defs to call exit_minibuffer.
701 * commands.js (get_buffer_from_name, getWebJump,
702 univ_arg_to_number): always return a value.
704 * numberedlinks.js (get_numberedlink_in_document,
705 get_numberedlink, doLinkNodes): always return a value.
707 * numberedlinks.js (continueNumberedLinks): rename second var
710 * find.js (getFastFind, highlightFind): always return a value.
712 * bindings.js (match_any_unmodified_key): always return a value.
714 * utils.js (load_rc): declare i.
716 * commands.js (source_file, reinit): removed named functions, and
717 updated interactive spec for `source' and `reinit' commands.
719 * commands.js (interactive_methods.n): corrected wrong variable name.
721 * commands.js (save_page, save_page_as_text, save_page_complete,
722 save_image): rewrote to use interactive.
724 * commands.js (interactive_methods.active_document): new.
726 2007-05-10 John J. Foerch <jjfoerch@earthlink.net>
728 * adblock.js: removed file.
730 * commands.js: removed adblock_add_pattern and adblock_list_patterns.
732 * conkeror.js: handle an url passed by command line argument.
734 * conkeror.xul: remove load of adblock.js.
736 * utils.js (readKeyPress): replace preventBubble call with
739 * url.js: replace preventBubble call with
742 2007-05-10 John J. Foerch <jjfoerch@earthlink.net>
744 * bindings.js (init_numberedlinks_keys): added bindings for
745 numberedlinks-save and numberedlinks-follow-other-frame. removed
746 bindings for numberedlinks-escape.
748 * commands.js (interactive_methods.current_command): new
749 interactive method, along with global gCurrentCommand, and update
750 to exec_command to set the global.
752 * commands.js (interactive_methods.link): new interactive method.
754 * commands.js (interactive_methods.minibuffer_exit): new
757 * commands.js (save_link): new argument, `href'.
759 * commands.js (exit_minibuffer): new argument, `exit'. message
760 instead of alert in catch.
762 * numberedlinks.js: removed gNumberedLinksPrefix,
763 selectNumberedLink_*, selectNthLink, goto_numbered_link,
764 selectNumberedLink, closeNumberedLinkBar, numberedlinks_focus,
765 numberedlinks_follow_other_buffer, numberedlinks_follow,
766 numberedlinks_escape.
768 * numberedlinks.js (numberedlinks_do_link): new (interactive)
769 argument, `prefix'. Message when nl not found. Changed action
770 numbers to string names. Added handling for
771 numbered-links-follow-other-frame, numberedlinks-save. Removed
772 numbered image handling. Added interactive definintions for this
775 * numberedlinks.js (numberedlinks_exit_minibuffer): new function
776 with several interactive commands to call it.
778 * utils.js (minibuffer.exit): new field.
780 2007-03-11 John J. Foerch <jjfoerch@earthlink.net>
782 * components/commandline.js: general improvements
784 * conkeror.js (Startup): handle new command line component.
786 * utils.js (commandline_handler): new function
788 2007-03-09 John J. Foerch <jjfoerch@earthlink.net>
790 * utils.js (dumpln): new function
792 * utils.js (load_rc): new function, replaces load_rc_file
794 * commands.js (source_file): updated to call load_rc
796 * commands.js (reinit): new command
798 * conkeror.js (Startup): updated to call load_rc
800 * components/commandline.js: new file
802 * build.sh (install-debian): new target
804 2007-03-06 John J. Foerch <jjfoerch@earthlink.net>
806 * build.sh: build rule xulrunner and support code.
808 * chrome.manifest: new file.
810 * conkeror.ini: new file.
812 * conkeror.js: comment out initBookmarkService. comment out
813 window.arguments support.
815 * conkeror.xul: comment out bookmark stuff.
817 * defaults/preferences/prefs.js: new file.
819 2007-03-04 John J. Foerch <jjfoerch@earthlink.net>
821 * conkeror.xul: removed bubble-phase keypress handler.
823 * conkeror.js: capture phase keypress handler.
825 2007-03-02 Shawn Betts <sabetts@vcn.bc.ca>
827 * commands.js: swap names of minibuffer_history_next and minibuffer_history_previous
829 * bindings.js: bind C-l to renumber-links.
831 * conkeror.js: create numbered links on DOMContentLoaded event.
833 * commands.js: work with new numbering code
835 * numberedlinks.js: use top level content to store numbered link
836 start number. only number documents not already numbered. add
837 in-progress numbering state. nl_document_observer only updates
838 floater number locations.
840 2007-02-27 John J. Foerch <jjfoerch@earthlink.net>
842 * bindings.js (make_key): renamed to kbd.
844 * bindings.js: changed all calls to make_key.
846 * help.html: changed make_key to kbd.
848 2007-02-27 John J. Foerch <jjfoerch@earthlink.net>
850 * utils.js (minibuffer): new object replaces globals:
851 gFocusedElement, gFocusedWindow, gReadFromMinibufferCallBack,
852 gReadFromMinibufferAbortCallBack, gMiniBufferCompletions,
853 gCurrentCompletion, gCurrentCompletions, gDefaultMatch,
854 gAllowNonMatches, gHistoryPoint, and gHistoryArray.
856 * utils.js (init_minibuffer): new function.
858 * conkeror.js (delayedStartup): call init_minibuffer.
860 * utils.js, commands.js: implemented minibuffer object.
862 * find.js, numberedlinks.js, bindings.js, url.js: implemented
865 * bindings.js (init_minibuffer_keys): binding for backspace.
867 * commands.js (interactive_methods): implemented method `b'.
869 * commands.js (switch_to_buffer): use interactive method `b'.
871 * commands.js (kill_browser): renamed to kill_buffer, and use
872 interactive method `b'.
874 * commands.js (minibuffer_complete): implement new completion.
876 * commands.js (minibuffer_complete_reverse): implement new
879 * commands.js (minibuffer_change): new command for completion.
881 * commands.js (minibuffer_backspace): new command for completion.
883 * conkeror.xul (input-field): added oninput event.
885 * utils.js (readFromMiniBuffer): implemented new completion.
887 * utils.js (readKeyPress): a binding can now have both a
888 fallthrough and a command.
890 2007-02-27 John J. Foerch <jjfoerch@earthlink.net>
892 * commands.js (conkeror-version): new command
894 2007-02-27 John J. Foerch <jjfoerch@earthlink.net>
896 * bindings.js: rename goto-numbered-image to
897 copy-numbered-image-location
899 * commands.js: rename interactive to do_interactive, and rewrote
900 it to support asynchronous interaction, and `interactive_methods'
901 structure. rename add_command to interactive, and place
902 interactive calls next to the function that each is relevant to.
903 removed init_commands. added interactive method, `image'.
904 rewrote exec_command to support asynchronous interactivity.
905 updated the args of many commands to new style. new command
906 save-image (save_image).
908 * conkeror.js: removed call to init_commands
910 * conkeror.xul: swap order of numberedlinks.js and commands.js.
912 * numberedlinks.js: remove variable gOnlyImages. update args of
913 commands. rename goto_numbered_image to
914 copy_numbered_image_location, and rewrote. removed image
915 capabilities from selectNumberedLink. renamed matchLink to
916 get_numberedlink_in_document and rewrote to move out side-effect
917 code. new function get_numberedlink. rewrote
918 numberedlinks_do_link to perform side-effects formerly in
921 2007-02-22 Shawn Betts <sabetts@shitbender.gagrod>
923 * conkeror.js: add conkeror_version
925 2007-02-13 Shawn Betts <sabetts@vcn.bc.ca>
927 * utils.js: restructure minibuffer key events
929 * numberedlinks.js: use readFromMiniBuffer. function renaming.
931 * commands.js: add minibuffer and isearch commands and
932 corresponding functions. Use readFromMiniBuffer.
934 * bindings.js: add context maps. keymap restructuring. All callers updated.
936 2007-01-26 Shawn Betts <sabetts@vcn.bc.ca>
940 2007-01-26 Shawn Betts <sabetts@vcn.bc.ca>
942 * numberedlinks.js: click the image if a link has an image in it.
944 2007-01-23 Shawn Betts <sabetts@vcn.bc.ca>
948 2007-01-23 Shawn Betts <sabetts@vcn.bc.ca>
950 * conkeror.js: remove keypress listener on the window.
952 2006-12-15 Shawn Betts <sabetts@vcn.bc.ca>
956 2006-12-15 Shawn Betts <sabetts@vcn.bc.ca>
958 * bindings.js: fix next/prev word bindings in textarea_map
960 * utils.js: Support code for url downloading
962 * conkeror.js (delayedStartup): set the default directory
964 * commands.js: new commands save-page, save-page-as-text, save-page-complete. fixed save-link.
966 2006-12-01 Shawn Betts <sabetts@shitbender.gagrod>
968 * commands.js (open_url_in): return the browser
970 2006-11-30 Shawn Betts <sabetts@shitbender.gagrod>
974 2006-11-30 Shawn Betts <sabetts@shitbender.gagrod>
976 * conkeror.xul: listen for keypresses on the window
978 2006-11-26 Shawn Betts <sabetts@vcn.bc.ca>
982 2006-11-26 Shawn Betts <sabetts@vcn.bc.ca>
984 * utils.js: use the input keymap for any input that isn't a radio or checkbox
986 * bindings.js: create a numberedlinks_kmap and bind numberedlinks
989 * numberedlinks.js: check numberedlinks_kmap for key bindings.
991 2006-11-07 Shawn Betts <sabetts@vcn.bc.ca>
995 2006-10-19 Shawn Betts <sabetts@vcn.bc.ca>
997 * utils.js: let regular keys slip through for input tags of type "input"
999 2006-10-03 Shawn Betts <sabetts@vcn.bc.ca>
1001 * conkeror.js: set the first browser's link and image visibility
1003 * conkeror.xml: set the link and image numbers state based on
1004 default_show_numbered_links and default_show_numbered_images
1006 * numberedlinks.js: add default_show_numbered_links and default_show_numbered_images
1008 2006-09-26 Shawn Betts <sabetts@vcn.bc.ca>
1012 2006-09-26 Shawn Betts <sabetts@vcn.bc.ca>
1014 * numberedlinks.js (global_numbered_links_mode): new global variable
1016 * conkeror.js (delayedStartup): init web jumps before rc file
1018 * commands.js: turn on everything for the new window in the firefox
1021 2006-06-11 Shawn Betts <sabetts@vcn.bc.ca>
1025 2006-05-31 Shawn Betts <sabetts@vcn.bc.ca>
1027 * commands.js add jsconsole command. add firefox command.
1029 2006-05-30 Shawn Betts <sabetts@vcn.bc.ca>
1031 * commands.js: add cmd_deleteWordForward
1033 * utils.js (readKeyPress): add type "search"
1035 2006-05-29 Shawn Betts <sabetts@vcn.bc.ca>
1039 2006-05-29 Shawn Betts <sabetts@vcn.bc.ca>
1041 * commands.js: web jumps work with or without an argument
1043 2006-04-29 Shawn Betts <sabetts@vcn.bc.ca>
1047 2006-04-29 Shawn Betts <sabetts@vcn.bc.ca>
1049 * conkeror.xml : fix blank screen bug
1051 * commands.js (renumber_links): mark the document as unmarked
1052 before recreating the links.
1054 * numberedlinks.js: tag documents as numbered and only number
1057 2006-04-21 Shawn Betts <sabetts@vcn.bc.ca>
1059 * commands.js (add_command): fix typo
1061 2006-04-15 Shawn Betts <sabetts@vcn.bc.ca>
1063 * utils.js: correct the gReadFromMinibufferCallAbortBack typo.
1065 2006-04-06 Shawn Betts <sabetts@vcn.bc.ca>
1067 * bm.js: return bookmarks from subfolders.
1069 2006-04-04 Shawn Betts <sabetts@vcn.bc.ca>
1073 * conkeror.js (delayedStartup): turn off accesskeys.
1075 * bindings.js (initViKmaps): remove split-window related keybindings
1076 (initKmaps): likewise
1078 * conkeror.xml (killBrowser): focus the new browser before
1079 deleting the old one.
1081 * numberedlinks.js (setNumberedLinksVisibility): take a content argument. callers updated
1082 (nl_document_observer): dont call setNumberedLinksVisibility
1084 2006-04-02 Shawn Betts <sabetts@vcn.bc.ca>
1088 * numberedlinks.js (createNL): properly decide when to hide the
1089 link and when not to.
1093 2006-04-02 Shawn Betts <sabetts@vcn.bc.ca>
1095 * utils.js (readInput): set the collapsed field for widgets.
1096 (miniBufferKeyPress): eat the event when its RET
1097 (miniBufferCompleteKeyPress): likewise
1098 (closeInput): set the collapsed field for widgets. only take a
1099 restoreFocus arg. all callers updated.
1101 * conkeror.xul: use collapsed not hidden
1103 2006-03-28 Shawn Betts <sabetts@vcn.bc.ca>
1107 2006-03-28 Shawn Betts <sabetts@vcn.bc.ca>
1109 * conkeror.xml: load about:blank by default in new browsers. dont
1110 use a timeout to load the url.
1112 * conkeror.js: handle -remote urls
1114 2006-03-28 Shawn Betts <sabetts@vcn.bc.ca>
1118 2006-03-28 Shawn Betts <sabetts@vcn.bc.ca>
1120 * commands.js: fix unfocus so it actually works.
1122 * conkeror.xul: make screenX screenY width height sizemode persistent
1124 * conkeror.xml: use a deck instead of a box. fix focus typo
1125 bug. remove all split related functions.
1126 (getBrowserIndex): new method
1128 * conkeror.js (Startup): give window a default size if it doesn't
1129 have one already. fix loaduri bug.
1131 * commands.js: remove commands switch-to-buffer-other-window,
1132 split-flip delete-other-windows, delete-window, other-window and
1133 split-window. remove corresponding js functions
1135 2006-03-26 Shawn Betts <sabetts@vcn.bc.ca>
1139 2006-03-26 Shawn Betts <sabetts@vcn.bc.ca>
1141 * numberedlinks.js: asynchronously number links. asynchronously update floating links.
1143 * conkeror.js (delayedStartup): add frame_focus_observer to page-end-load
1144 (top_content): new function
1145 (nsBrowserStatusHandler): properly handle when frames are loaded
1147 * commands.js (init_commands): 2 new commands renumber-links and extensions
1148 (customize): use preferences.xul
1149 (extensions): new function
1150 (renumber_links): likewise
1152 * bindings.js (initViKmaps): new binding to textarea_kmap yank-to-clipboard.
1154 2006-03-25 Shawn Betts <sabetts@vcn.bc.ca>
1158 2006-03-25 Shawn Betts <sabetts@vcn.bc.ca>
1160 * utils.js (readinput): fix the field focus bug.
1162 * commands.js (init_commands): new command print-buffer
1163 (print_buffer): new function
1164 (add_command): replace existing commands.
1166 2006-03-17 Shawn Betts <sabetts@vcn.bc.ca>
1170 2006-03-17 Shawn Betts <sabetts@vcn.bc.ca>
1172 * utils.js (http): delay focusing the input box by setting a 0s
1175 * conkeror.js (Startup): do not set the docshell.
1177 * commands.js: use app-startup to quit conkeror.