Kalle Olavi Niemitalo
db556e3376
accel-check: Add context info to cookies/dialogs.c (push_add_server_button).
2006-05-21 16:51:07 +03:00
Kalle Olavi Niemitalo
3090e3a250
BOOKMARKS: Tell the user why the Move button didn't work.
...
Thanks to Jonas Fonseca.
2006-05-21 16:46:23 +03:00
Witold Filipczyk
f2a2c69ccc
win32: avoid the segfault introduced by previous commit
2006-05-21 15:18:33 +02:00
Witold Filipczyk
5558284c08
win32: IMHO slightly better select implementation
2006-05-21 12:59:00 +02:00
Witold Filipczyk
af0997c637
win32: keyboard works. Since now IE has a real competitor ;-). ELinks
...
works under Windows at least with local files
2006-05-20 21:45:00 +02:00
Witold Filipczyk
e5edcb8369
Missing NULL
2006-05-20 17:58:13 +02:00
Witold Filipczyk
d87c0d9958
Merge with git+ssh://pasky.or.cz/srv/git/elinks.git
2006-05-20 17:28:57 +02:00
Witold Filipczyk
edcf52582c
win32: fixed colors decoding
2006-05-20 17:27:14 +02:00
Miciah Dashiel Butler Masters
7f312c546c
Create a module for src/viewer, which subsumes some existing modules
...
as submodules
2006-05-20 15:01:24 +00:00
Miciah Dashiel Butler Masters
e91b46de5f
Modularise viewer/text/marks
2006-05-20 15:01:24 +00:00
Miciah Dashiel Butler Masters
a0bcf254ae
Modularise src/terminal
2006-05-20 15:01:24 +00:00
Miciah Dashiel Butler Masters
337958d4e4
Modularise HTTP authentication
2006-05-20 15:01:23 +00:00
Miciah Dashiel Butler Masters
4bb87288f8
Document the difference between builtin_modules and main_modules
2006-05-20 15:01:23 +00:00
Miciah Dashiel Butler Masters
5dcac5c32d
Modularise config/kbdbind
2006-05-20 15:01:22 +00:00
Miciah Dashiel Butler Masters
eee3ecdbbc
BitTorrent: Remove superfluous check and assignment
...
unchoke_bittorrent_peer checks and clears peer->remote.choked,
so do not do so in the caller.
2006-05-20 12:13:32 +00:00
Miciah Dashiel Butler Masters
fe07757574
BitTorrent: Remove a superfluous check and assignment
...
choke_bittorrent_peer checks and sets peer->remote.choked,
so do not do it again in the caller.
2006-05-20 12:13:30 +00:00
Witold Filipczyk
cbb507a6b5
WIN32 port: introduced VT100 decoder. ELinks is able to display first page
...
of the document. Keyboard doesn't work, Windows style path either.
I tested it only under Wine.
2006-05-20 14:05:45 +02:00
Witold Filipczyk
3dc145bde2
Changes related to Win32 port. S_IRWXG and S_IRWXO were undefined
...
under crossmingw32. init_static_version must be called after init_options
because ELinks wanted to read "verbose" option before it was initialized.
2006-05-18 21:46:42 +02:00
Miciah Dashiel Butler Masters
739298b46d
Replace a loop with arithmetic in move_current_tab
2006-05-15 20:00:27 +00:00
Miciah Dashiel Butler Masters
3ee31b956a
Fix wraparound behaviour in switch_to_tab
2006-05-15 19:57:46 +00:00
Kalle Olavi Niemitalo
408f9174a8
Use int_bounds in move_current_tab.
...
Requested by Miciah Dashiel Butler Masters.
2006-05-15 22:20:45 +03:00
Kalle Olavi Niemitalo
1fdd9002cb
BFU: Redraw the terminal when moving the main menu to the bottom.
...
This fixes a bug where choosing e.g. "About" from the menu left
the main menu visible but Ctrl-L in the About dialog hid it again.
2006-05-15 00:30:54 +03:00
Kalle Olavi Niemitalo
ca84c353b5
BFU: Display the main menu immediately when activating it.
...
This fixes two bugs:
1. Pressing F9 did not make the main menu visible, but then pressing
e.g. Right made it visible.
2. Pressing F9 and then Down displayed the first submenu (File) at the
wrong position on the screen.
2006-05-15 00:15:08 +03:00
Kalle Olavi Niemitalo
2e42b2d4df
Fix assertion failure when closing a terminal that has more than one tab.
...
src/terminal/terminal.c (destroy_terminal): Set term->current_tab = 0
before deleting any windows.
2006-05-14 23:13:51 +03:00
Kalle Olavi Niemitalo
39c157389d
Don't let move_current_tab move the tab beyond the main menu.
...
src/terminal/tab.c (get_tab_by_number): Assert that the returned
struct window * actually points to a struct window.
src/terminal/tab.c (move_current_tab): Keep tabs contiguous in the
stack of windows. Obey "ui.tabs.wraparound".
src/terminal/terminal.h (struct terminal): Documented that tabs can
move in the stack.
src/terminal/window.c (assert_window_stacking): Check that the main
menu isn't between tabs.
2006-05-14 22:17:26 +03:00
Kalle Olavi Niemitalo
276f723ab7
New tabs always open below dialogs, never above.
...
This fixes the bug that tabs opened with -remote used to hide existing
dialogs, which then became unusable until the new tabs were closed.
src/terminal/tab.c (init_tab): Put the new tab immediately above
existing ones, or if it's the first one, then at the bottom of the stack.
Added assertions.
src/terminal/terminal.h (struct terminal): Redocumented the stacking
order of windows.
src/terminal/window.c [CONFIG_DEBUG] (assert_window_stacking): New function.
src/terminal/window.h (assert_window_stacking): New function or no-op macro.
2006-05-14 14:03:17 +03:00
Jonas Fonseca
2fcf33541c
Merge with http://www.iki.fi/kon/2006/elinks.git#plausible
2006-05-13 23:15:05 +02:00
Kalle Olavi Niemitalo
eae626a981
doc: Added src/bfu/README.
...
src/bfu/README: This new file currently contains a diagram of how the
various struct types of src/bfu/ and src/terminal/ relate to each
other. More documentation may be added later, although if it is
specific to a particular structure, then it should probably go in the
corresponding header file so that people will remember to update it.
2006-05-13 17:01:20 +03:00
Witold Filipczyk
c4c97a07bd
plain renderer: return when data is invalid in some cases
2006-05-10 18:18:22 +02:00
Witold Filipczyk
82d38ff2be
plain renderer: rewritten change_colors, handling 256 color ESC sequences.
...
TODO: mono mode
2006-05-10 17:46:31 +02:00
Witold Filipczyk
47f3dd0421
copiousoutput: I'm not sure about this. pclose may hang ELinks for long time,
...
fclose should return immediately
2006-05-09 10:12:36 +02:00
Witold Filipczyk
f377e6f4af
copiousoutput: only mark /dev/fd/%d as popen data . I reflect if ELinks may
...
run out of fds
2006-05-09 09:42:00 +02:00
Witold Filipczyk
4dc4ea47f2
copiousoutput: cleanup after copiousoutput handling. Temporary files should
...
be deleted
2006-05-09 09:36:16 +02:00
Witold Filipczyk
c677bc010d
plain renderer: stdio.h is not required
2006-05-08 10:20:37 +02:00
Witold Filipczyk
88c146a395
plain_renderer: cg-log -c | elinks works. The code needs cleanup
2006-05-07 15:49:08 +02:00
Witold Filipczyk
1feab80c13
plain renderer: used switch instead of if, else if, else
2006-05-07 14:39:27 +02:00
Witold Filipczyk
47062531ee
Merge with git+ssh://pasky.or.cz/srv/git/elinks.git
2006-05-06 08:10:57 +02:00
Witold Filipczyk
9c3817675f
set_nonblocking_fd seems to be superfluous
2006-05-06 08:07:38 +02:00
Miciah Dashiel Butler Masters
8147b0f149
MIME: get_mime_handler_option: Eliminate an unnecessary check.
2006-05-05 21:35:02 +00:00
Miciah Dashiel Butler Masters
675fc46987
MIME: Let get_mime_handler_option take the MIME type's option instead
...
of its name.
2006-05-05 21:32:04 +00:00
Miciah Dashiel Butler Masters
e6d35d8f31
MIME: get_mime_handler_default: Rename stuff.
...
Rename local variables opt to type_opt and opt_tree to handler_opt.
2006-05-05 21:28:05 +00:00
Miciah Dashiel Butler Masters
9337a7993d
MIME: get_mime_handler_default: Reflow logic.
2006-05-05 21:25:43 +00:00
Miciah Dashiel Butler Masters
06a541487e
MIME: get_mime_handler_option: More option API usage, less string
...
manipulation.
2006-05-05 21:21:42 +00:00
Miciah Dashiel Butler Masters
8f4b40d4a0
MIME: get_mime_handler_option: Rename local variable opt to type_opt
2006-05-05 21:15:41 +00:00
Miciah Dashiel Butler Masters
386684fe50
MIME: get_mime_type_option: Re-arrange
...
More option API usage, less string manipulation.
2006-05-05 21:09:21 +00:00
Miciah Dashiel Butler Masters
9bc5317b13
MIME: Re-arrange
...
Let get_mime_type_name return an option instead of a name, and rename
it to get_mime_type_option.
2006-05-05 20:58:30 +00:00
Miciah Dashiel Butler Masters
680a1c735b
MIME: Re-arrange
...
Let get_mime_handler_name return an option instead of a name, and rename
it to get_mime_handler_option.
2006-05-05 20:50:45 +00:00
Witold Filipczyk
e56f429c9b
Another workaround related to tcc
2006-05-05 22:18:27 +02:00
Witold Filipczyk
c283f8cfd9
Gradual rendering in pager mode. ELinks is almost as good as less.
...
TODO: cg-log -c | elinks
2006-05-05 21:12:10 +02:00
Witold Filipczyk
6ead4e9c65
Copiousoutput final stage. I doubt that /dev/fd/%d is portable. It works
...
at least under Linux. I didn't test network part of external handlers.
Files in tmpdir must be delete somehow. Maybe make a list of files
to unlink and delete them while quitting ELinks.
2006-05-04 21:19:30 +02:00
Witold Filipczyk
a2c12d7653
int_min instead of int_max. Valgrind said: invalid read
...
copiousoutput III. It works only for local files, but you must remove
| /usr/bin/less
yourself and allow reading special files, and set default mime type
as text/plain for convenience.
2006-05-04 20:44:27 +02:00
Witold Filipczyk
f6115e65ec
Copiousoutput part II. To be continued ...
2006-05-04 18:02:45 +02:00
Witold Filipczyk
8ebcddeff4
Some day in the future ELinks will handle copiousoutput without external
...
pagers. Only a small step for now
2006-05-04 17:42:19 +02:00
Witold Filipczyk
44ae46c8e3
Merge with git+ssh://pasky.or.cz/srv/git/elinks.git
2006-05-03 21:48:00 +02:00
Witold Filipczyk
e0103c2c68
Drop unnecessary cgi_pipes[2]
2006-05-03 21:46:39 +02:00
Miciah Dashiel Butler Masters
d345a3c7cb
Fix a crash when adding a server in the cookie manager
...
Do not add the label for the text field to the memory list (the list of
allocations that should be freed with the dialogue).
Thanks to Kalle Olavi Niemitalo for reporting this bug.
2006-05-03 17:47:28 +00:00
Miciah Dashiel Butler Masters
6ab4eee456
SMJS: Introduce elinks.globhist.
...
Items can be accessed via elinks.globhist["http://www.foo.net/ "]. The
resulting object has title, url, and last_visit properties. last_visit
is the seconds since the epoch. See comments in the code for why I don't
provide a nicer interface for last_visit.
2006-05-03 13:52:58 +00:00
Miciah Dashiel Butler Masters
1377fb0f2e
Global history: fix locking issue
...
Introduce a new list, global_history_reap_list, and a new routine,
reap_deleted_globhist_items, which deletes unused items from that
list. In done_global_history_item, do not free the item; just move it
to that list. Call global_history_reap_list in add_global_history_item
and free_global_history.
2006-05-03 13:50:38 +00:00
Witold Filipczyk
c3f17eadeb
Ecmascript: activate link only when onClick returns true
2006-05-02 13:47:16 +02:00
Witold Filipczyk
9f69170c2a
fixup_select_state was unnecessary
2006-05-02 12:56:05 +02:00
Witold Filipczyk
cdd86d3c20
Ecmascript: write to the variable selectedIndex. Not tested
2006-05-02 11:28:41 +02:00
Witold Filipczyk
d9d6bc23ae
Ecmascript: introduced selectedIndex
2006-05-02 09:36:23 +02:00
Witold Filipczyk
c540a9ed63
Ecmascript: more id checks
2006-05-01 19:55:43 +02:00
Witold Filipczyk
8761bf04a9
Ecmascript: check also id, not only name of form controls. This is required
...
by scripts at http://www.ecs.com.tw/
2006-05-01 19:37:54 +02:00
Witold Filipczyk
ad160766b8
Added id to the form control. id is used by scripts
2006-05-01 19:22:07 +02:00
Witold Filipczyk
79a6fc1905
Pressing button caused not only onclick action, but also
...
"goto current page". See test/ecmascript/onclick.html.
Tell me if this breaks something
2006-04-30 17:02:48 +02:00
Miciah Dashiel Butler Masters
e27596c5dc
SMJS: Add the elinks.load_uri(uri, callback) interface.
...
|callback| will be applied to the cache object when the download of
|uri| completes.
2006-04-30 04:22:11 +00:00
Miciah Dashiel Butler Masters
3b64f2e9e8
Preserve the text when doing a prefix completion.
2006-04-29 22:55:32 +00:00
Miciah Dashiel Butler Masters
6d3b2a97f6
Ignore text after the cursor when performing a completion. The text will
...
be deleted.
2006-04-29 22:30:07 +00:00
Witold Filipczyk
dc8f89e5b1
SEE: see_eval_stringback returns either string when SEE_value is string
...
or NULL otherwise. At www.ecs.com.tw hyperlinks didn't "work".
When document.browse.forms.confirm_submit is 1 there is a problem with
big dialog box.
2006-04-15 19:22:38 +02:00
Witold Filipczyk
2a21b01583
Merge with git+ssh://pasky.or.cz/srv/git/elinks.git
2006-04-15 07:29:44 +02:00
Miciah Dashiel Butler Masters
8adb976885
Add backspace-prefix to the main map, to backspace the last entered
...
digit of the prefix.
2006-04-14 21:55:42 +00:00
Miciah Dashiel Butler Masters
90f71fe6e4
Highlight links as one enters link prefixes.
2006-04-14 21:46:35 +00:00
Witold Filipczyk
3feb4a55a4
SEE: window.navigator is alias for navigator
2006-04-13 22:47:32 +02:00
Witold Filipczyk
6d0fe1e28f
lzma files with end of stream marker are handled by allocating
...
2 MB buffer.
2006-04-07 19:55:07 +02:00
Witold Filipczyk
18280cafbb
Code generated by tcc was broken for those boolean expressions
2006-04-06 22:07:45 +02:00
Witold Filipczyk
4f15dd9a2d
Python.h must be included as last to satisfy tcc, but Python redefines
...
_POSIX_C_SOURCE macro, so #undef here to avoid warnings
2006-04-06 00:52:17 +02:00
Witold Filipczyk
043939806d
Redefined buggy isdigit. ELinks built with tcc works
2006-04-05 23:35:04 +02:00
Witold Filipczyk
8b77bc6617
enum connection_state instead of int to satisfy tcc
2006-04-05 16:27:16 +02:00
Witold Filipczyk
55bd690b88
Files under /usr/share/doc/ncurses-c++-devel-5.5 (directory with
...
+ in filename) were unreachable. This is fix for it
2006-04-04 20:21:20 +02:00
Witold Filipczyk
d50de58af9
s/dump-color_mode/dump-color-mode/ . Made name consistent with other options
2006-04-04 15:27:14 +02:00
Witold Filipczyk
83d0d6f84a
Fixed the memleak
2006-04-02 17:57:12 +02:00
Witold Filipczyk
c571aea567
Ecmascript: 8 last urls opened by window.open() remembered in a safer way.
2006-04-02 17:00:55 +02:00
Witold Filipczyk
9cca645dac
Added the "Add server" option to the cookie manager. It creates new cookie
...
for given server.
2006-04-01 20:22:18 +02:00
Witold Filipczyk
55176d79de
Added info about lzma to the "About" dialog
2006-03-31 20:35:08 +02:00
Kalle Olavi Niemitalo
8fc8a00844
accel-check: add_uri_command_to_menu now wants the title as a parameter.
...
Thus, each caller must now choose the accelerator key and declare the
accelerator contexts (i.e. menus) to which it may add the command.
Also, use only one context for tab_menu.
These changes fix the following bugs in accelerator conflict detection:
* "~Pass frame URI to external command" may be displayed together
with "Pass tab URI to e~xternal command", but that was not
declared.
* "Pass link URI to e~xternal command" was declared as being in
the tab menu, but it is actually displayed in the link menu.
2006-03-26 20:52:11 +00:00
Miciah Dashiel Butler Masters
d7a964efaf
SMJS: fix segfault on exit
...
Create and immediately destroy a context when initialising the SMJS
document scripting module, because SMJS crashes on exit if there has
been no context created since it started, which is the case if one does
not load any documents.
2006-03-26 20:28:25 +00:00
Witold Filipczyk
dd93d35f4c
Missing lzma.h
2006-03-25 11:40:09 +01:00
Witold Filipczyk
7d1a966239
lzma encoding support using LZMA SDK. Original lzma executable decompresses faster than this code. I have no idea why.
2006-03-24 12:30:54 +01:00
Witold Filipczyk
dc075685ae
ECMAScript: better handling of set action
2006-03-21 18:45:40 +01:00
Witold Filipczyk
b3acfd79f2
Fixes cache-control issue. See elinks-users mail from 28 Oct 2005
2006-03-21 16:17:56 +01:00
Witold Filipczyk
1fc28980d7
Parsing filesize on ftp.task.gda.pl
2006-03-16 22:13:40 +01:00
Kalle Olavi Niemitalo
7927fb737a
1. If neither CONFIG_88_COLORS nor CONFIG_256_COLORS is defined,
...
then dump_to_file_256 is defined in dump.c but not used.
If configure --enable-debug was used, then gcc warns about
the unused function, and the warning stops the build.
2. The description of document.dump.color_mode ends with a
newline, provoking a runtime warning from check_description
in src/config/options.c.
3. options.inc has preprocessor directives inside macro arguments.
That is not portable C. xgettext (GNU gettext-tools) 0.14.3 is
not smart enough to figure out the possible combinations, and
copies an incorrect string to elinks.pot.
2006-03-13 19:06:02 +01:00
witekfl
97d7a57b8a
Do not delete main menu while displaying dialogs or when mouse is
...
pressed outside menu bar
2006-03-11 21:08:02 +01:00
witekfl
ab6f4ac818
Lines filled with spaces
2006-03-04 20:33:53 +01:00
witekfl
b08514c7e9
Color mode in dumps. To get color set appropriately document.dump.color or
...
--dump-color_mode. Background isn't set in 256 color mode. I don't know
why.
2006-03-04 14:33:28 +01:00
witekfl
e50581faf3
Menu bar moved at the end of windows queue. bfu_technology activated at the
...
right place.
2006-03-04 11:42:57 +01:00
witekfl
3f01c3d2fe
Display optionally tabs bar at top like other browser do.
...
TODO: input_line_layouter, ACT_MAIN_TAB_MENU
2006-03-04 10:24:37 +01:00
witekfl
a802f0fb3e
Someone, sometime ago wanted always visible menu bar. This is attempt to
...
handle it. I have no idea where to make initialisation call to
activate_bfu_technology.
2006-03-03 19:01:15 +01:00
witekfl
30a60caa12
SpiderMonkey: do not remember context. Maybe this time it won't hung.
2006-03-01 18:17:16 +01:00
witekfl
8f329a9b3c
sysmouse: Selection works after toggle mouse
2006-02-28 22:56:27 +01:00
witekfl
0a8009c63a
mouse: Write disable_mouse sequences only in xterm
2006-02-28 22:52:01 +01:00
witekfl
90c013cbd0
BSD: Decrease indentation level. Treat buttons 4 & 5 as wheel. If you want
...
to use wheel mouse on the console run moused with -z 4 option.
2006-02-28 19:42:58 +01:00
Miciah Dashiel Butler Masters
4b3d88dd6e
Delegate ECMAScript submodule initialisation the right way
...
Replace the ECMAScript module initialisation and de-initialisation
routines that wrapped the SMJS and SEE module initialisation and
de-initialisation routines by having the module system call the SMJS
and SEE routines its own darned self.
2006-02-26 08:51:36 +00:00
Timo Lindfors
212b4a2893
Fix bug #741 : "html comments shouldn't be evaluted inside STYLE elements"
2006-02-22 19:45:14 -05:00
Miciah Dashiel Butler Masters
b64b76a3ce
Revert bad stuff in a3fb98f499
...
Revert stuff that wasn't supposed to have been committed.
2006-02-19 07:31:39 +00:00
Miciah Dashiel Butler Masters
143398f09d
Unwrap a line in query_delete_selected_item.
2006-02-19 07:22:51 +00:00
Miciah Dashiel Butler Masters
b8063709c0
Query whether to delete the selected hierbox item if the user answers
...
no to confirmation to delete the marked item.
2006-02-19 07:19:35 +00:00
Miciah Dashiel Butler Masters
b97508e48a
Simplify query_delete_selected_item
...
Check whether the item can be deleted before allocating the context so
as to save a free in the case that the item cannot be deleted.
2006-02-19 07:15:27 +00:00
Miciah Dashiel Butler Masters
e9799a2265
Reflow the control flow in push_hierbox_delete_button
2006-02-19 07:13:37 +00:00
Miciah Dashiel Butler Masters
6683f14bc1
Factor query_delete_selected_item out of push_hierbox_delete_button.
2006-02-19 07:11:51 +00:00
Miciah Dashiel Butler Masters
d87a90da6b
Drop temporary variables when using listbox_message
2006-02-19 06:46:05 +00:00
Miciah Dashiel Butler Masters
a3fb98f499
src/bfu
...
Inconsequential change to push_hierbox_delete_button
Use item instead of context->item.
2006-02-19 06:22:12 +00:00
Kalle Olavi Niemitalo
4217f2c555
Merge with http://elinks.cz/elinks.git
2006-02-18 12:21:47 +02:00
Miciah Dashiel Butler Masters
190259ca22
mem_alloc_align: drop the obj type parameter
...
Instead use the object itself, i.e., replace typeof(obj) with
typeof(**ptr).
2006-02-17 17:32:59 +00:00
Miciah Dashiel Butler Masters
e6b9093f87
find_form_state: use mem_align_alloc to save some code
2006-02-17 16:52:38 +00:00
witekfl
fae675316b
Let BSD users use DEL on the console
2006-02-15 23:25:54 +01:00
Kalle Olavi Niemitalo
d66ed0e76d
Merge with http://elinks.cz/elinks.git
2006-02-15 22:13:55 +02:00
Eric Wald
3ce3f01f30
Add support for forcing wrapping at the screen boundary
...
This patch modifies ELinks wrapping behavior slightly.
* The wrap command now toggles line wrapping in HTML mode, as well as
text mode. Note that when the HTML view of a page is wrapped, its
source view is unwrapped, and vice versa.
* Tabs in text-mode lines are now handled correctly.
* Wrapping a line that reaches exactly to the edge of the screen will
no longer produce a blank line in text mode.
* Text within extra-wide table cells is now wrapped to less than the
screen width, to eliminate sideways scrolling.
The last point is only enabled by setting TABLE_LINE_PADDING to a
non-negative number, in the src/setup.h header file, because it is a
significant change of behavior from previous versions.
2006-02-15 15:50:29 +01:00
Kalle Olavi Niemitalo
3dcb386b81
Merge with http://elinks.cz/elinks.git
2006-02-12 23:42:05 +02:00
Miciah Dashiel Butler Masters
8ce8740359
SMJS: Return JS_FALSE if one specifies an invalid type of action for
...
a keybinding.
2006-02-12 21:20:36 +00:00
Kalle Olavi Niemitalo
e7dfe6d5da
Merge with http://elinks.cz/elinks.git
2006-02-12 23:15:59 +02:00
Miciah Dashiel Butler Masters
3dfa237982
Include bfu/msgbox.h for info_box.
...
This is clearly unnecessary as the code already builds, but it is more
proper to include the header file explicitely.
2006-02-12 21:07:15 +00:00
Miciah Dashiel Butler Masters
3bd14d8392
SMJS: elinks.alert: drop the extra 'error' text
...
Use info_box directly instead of via report_scripting_error by way of
alert_smjs_error, thereby avoiding the addition of extra text saying
that an error has occurred.
2006-02-12 21:05:35 +00:00
Miciah Dashiel Butler Masters
d5fe12b5f4
Merge script_hook_goto_url and script_hook_follow_url
...
Combine the two into the new script_hook_url and use the hook data field
to store the name of the appropriate ECMAScript routine.
2006-02-12 20:55:25 +00:00
Kalle Olavi Niemitalo
9b9da06eb7
Merge with http://elinks.cz/elinks.git
2006-02-12 19:26:09 +02:00
Miciah Dashiel Butler Masters
c776fab903
Initially place cursor on the current listbox item
...
Introduce the macros before_widgets and foreach_widget_back. Use the
latter in update_all_widgets instead of foreach_widget so that the
widgets are printed in reverse order, which means that any listbox is
drawn last, which allows it to grab the cursor from the selected button
when the dialogue box is initialised or redrawn.
Requested by Kirk Reiser for great usability with screen readers.
2006-02-12 17:11:57 +00:00
Kalle Olavi Niemitalo
a1f26c1f25
Merge with http://elinks.cz/elinks.git
2006-02-12 17:54:22 +02:00
Miciah Dashiel Butler Masters
daad05c055
Don't check is_in_progress_state before calling cancel_download
...
With commit 637f1e82e6
('NET: Merge
change_connection into cancel_download'), cancel_download returns
immediately if the connection is not in a result state, so save some
code by not checking is_in_progress_state before calling cancel_download.
2006-02-12 15:41:21 +00:00
Kalle Olavi Niemitalo
edd087c722
Merge with http://elinks.cz/elinks.git
2006-02-12 17:17:54 +02:00
Miciah Dashiel Butler Masters
2c087e52e7
Revert unstable 'Eval embedded scripts at once'
...
Revert commit 2f0490cb04
('Eval embedded scripts at once') and follow-up commit
997f61bb32
('Use document_view instead of
view_state. It is safer probably') because the change causes crashes on
numerous pages and just looks wrong.
2006-02-12 15:03:12 +00:00
witekfl
cfbe41aa8a
Linux and FreeBSD are not compatible. I prefer Linux
2006-02-12 14:19:39 +01:00
Kalle Olavi Niemitalo
49b70d838b
Merge with http://elinks.cz/elinks.git
2006-02-12 10:03:25 +02:00
Miciah Dashiel Butler Masters
a464157d4d
SEE & SMJS: document.write(ln): use all arguments
...
Additionally add a test to test/ecmascript/document_write.html.
Thanks to Kirk Reiser for observing that ELinks only printed the first.
2006-02-12 04:33:42 +00:00
Miciah Dashiel Butler Masters
7b092af628
SEE: document.writeln: always add new line
...
Add the new-line character even if SEE_value_to_unsigned_char returns
NULL.
2006-02-12 04:25:10 +00:00
Kalle Olavi Niemitalo
416bd01269
Merge with http://elinks.cz/elinks.git
2006-02-12 00:34:53 +02:00
witekfl
791cab91e7
Make ELinks FreeBSD friendly. Defined keys used on FreeBSD console
2006-02-11 21:37:49 +01:00
witekfl
15b52b62e4
REFERRER is back
2006-02-11 19:11:50 +01:00
Petr Baudis
c0f98c34ce
Revert witekfl's e723ddaee6
...
This is utterly silly and breaks plenty of stuff - Witek, you CAN'T append
slashes to all hosts just because some silly referer needs it, everywhere
else we NEED the hosts without slashes!
2006-02-11 17:44:54 +01:00
Kalle Olavi Niemitalo
37bea9cfdb
Merge with /home/kalle/src/MIRROR/elinks/.git
2006-02-11 09:39:41 +02:00
Jonas Fonseca
08b3d997b2
Merge with git+ssh://pasky.or.cz/srv/git/elinks.git
2006-02-10 22:19:16 +01:00
Laurent MONIN
baf7b0e91d
Fix segfaults caused by ruby scripting (gentoo bug #121247 ). Backported
...
from gentoo portage tree.
2006-02-10 21:28:50 +01:00
Laurent MONIN
5860a44b7d
Fix compilation under gcc 4.x. Backported from gentoo portage.
2006-02-10 21:27:25 +01:00
Kalle Olavi Niemitalo
0066214b47
Merge with http://elinks.cz/elinks.git
2006-02-10 09:15:12 +02:00
Jonas Fonseca
1b4bee7a82
DOM: Change struct dom_string length member from size_t to unsigned int
...
Requested-by: Miciah
2006-02-10 01:25:48 +01:00
witekfl
6fe1a431f1
Sometimes scripts submit forms using buttons
2006-02-09 22:53:00 +01:00
witekfl
10589b04eb
Base href was lost while setting form->action by ECMAScript. This is
...
attempt to fix it
2006-02-09 22:50:30 +01:00
witekfl
e723ddaee6
Add slash after host. Required by URI_HTTP_REFERRER_HOST
2006-02-09 22:46:44 +01:00
Jonas Fonseca
e726be3a76
NET: Nullify download->progress when move_download args are in result state
...
This is another follow-up regression fix that made open and save actions in
the WTD-dialog not function correctly when the connection ended before they
were pressed.
Related: 347970988d
2006-02-09 00:32:51 +01:00
Jonas Fonseca
4b91866c84
GOPHER: Blast end_gopher_connection which now only wraps abort_connection
2006-02-08 21:47:54 +01:00