Witold Filipczyk
236f600148
More headers.
...
There was a compilation error on OpenBSD, so I guess more includes are required.
2010-09-17 16:13:22 +02:00
Miciah Dashiel Butler Masters
ece4d3dc2d
fixup_typeahead_match: improve comment
...
Clarify the comment for fixup_typeahead_match and put it closer to the
relevant code.
2010-09-16 02:00:01 +00:00
Miciah Dashiel Butler Masters
b53e8450d1
fixup_typeahead_match: use check_vs
...
Use check_vs instead of set_pos_x and set_pos_y in fixup_typeahead_match.
This saves us a line of code, and in addition, check_vs does not needlessly
scroll when the link is already in view.
2010-09-16 01:56:45 +00:00
Miciah Dashiel Butler Masters
b1422adf20
Move screen update code into set_kbd_repeat_count
...
Make set_kbd_repeat_count update the status bar and link highlighting
iff the repeat count is changed to a different value.
Delete code to do the same updates from do_action and try_prefix_key.
Besides simplifying the code, this change also fixes some issues with
the status bar and link highlighting not being properly updated in some
situations.
2010-09-16 01:40:10 +00:00
Miciah Dashiel Butler Masters
d6bd7987d4
Introduce set_kbd_repeat_count
...
Introduce and use ses_kbd_repeat_count to change
ses->kbdprefix.repeat_count instead of setting it directly.
This change should not cause any change in behaviour.
2010-09-16 01:33:45 +00:00
Fabienne Ducroquet
83945b677c
Add document.browse.scrolling.vertical_overlap
...
Add an option to specify the number of overlapping lines when scrolling
page by page (0 by default because this is ELinks' current behaviour).
Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
2010-09-14 20:42:32 +00:00
Fabienne Ducroquet
6211b8e725
Add half-page-down and half-page-up commands
...
Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
2010-09-14 20:42:32 +00:00
Witold Filipczyk
7f164f8633
strtoll instead of strtol to show the filesize of big files in FTP
...
downloads.
2010-09-08 22:52:59 +02:00
Witold Filipczyk
00ebb8ef4b
SMB directory listing looks like normal directory listing.
2010-09-06 18:38:36 +02:00
Witold Filipczyk
f60d85c4c1
Use long long in place of long in conv.c to allow show size of files bigger
...
than 2GiB in the download dialog. Also let regetting big files.
Previously the Content-Length variable in http.c was int, what is
not enough. Now it is long long.
2010-09-04 14:10:51 +02:00
Witold Filipczyk
79340fa4ac
Better looking symbols for LI elements.
2010-08-11 21:22:21 +02:00
Witold Filipczyk
885ffc9d40
Merge branch 'master' of git+ssh://pasky.or.cz/srv/git/elinks
2010-08-08 09:47:01 +02:00
Witold Filipczyk
16ff310884
One of mailcap tests failed because of changed implementation
...
of copiousoutput. Now tests passed, by I'm not sure whether
they work properly.
2010-08-08 09:44:37 +02:00
Witold Filipczyk
8615e62ffb
Compilation fix. make test failed.
2010-08-08 09:38:39 +02:00
Nils Dagsson Moskopp
2f0d954add
Rudimentary support for HTML5 media elements
...
Make use of the HTML5 media elements, <video> and <audio> by adding
links to the media.
2010-08-07 20:44:44 +00:00
Miciah Dashiel Butler Masters
6cb3d30d09
Add missing include and declarations
...
Add an include for config/options.h to src/ecmascript/spidermonkey.c
and two missing declarations (struct form_view and struct form_state)
to src/ecmascript/spidermonkey.h.
2010-08-07 20:44:02 +00:00
Miciah Dashiel Butler Masters
f113f6a156
field_op: use goto_link
...
Use the newly introduced goto_link instead of goto_current_link in field_op
since field_op already looks up the current link.
2010-08-07 20:44:02 +00:00
Miciah Dashiel Butler Masters
6a91849889
Don't follow wrong link when an event handler changes documents under us
...
When a link had an onClick event handler that changes the current document,
ELinks would follow the current link of the document displayed after
executing the handler.
Factor goto_link out of goto_current_link.
Use goto_link instead of goto_current_link in activate_link to ensure that
the link that is passed in by enter() is followed.
2010-08-07 20:44:02 +00:00
Witold Filipczyk
20eee6f2c8
bug 1097: Restart connection when digest proxy authorization
...
is required for the first time.
2010-08-07 15:51:47 +02:00
Witold Filipczyk
2d906e0886
bug 1097: Better digest proxy authentication.
...
Added nc to the auth_entry. nc is incremented every time new
digest request is sent.
2010-08-07 15:02:51 +02:00
Witold Filipczyk
cbf5ef6680
Allow empty /dev/stdin
...
For example: PAGER=elinks git diff
shows nothing, when repo is not dirty.
2010-07-31 21:48:48 +02:00
Witold Filipczyk
a27e7d95ee
Do not delete temporary files of external handlers.
2010-07-31 21:15:12 +02:00
Witold Filipczyk
2ff9f1a76f
& 15 for foreground.
2010-07-31 20:58:11 +02:00
Witold Filipczyk
17f82a3e21
Decode ESC color sequences in the plain renderer.
...
Added functions for screen_char->color -> color_T conversion.
2010-07-31 20:51:24 +02:00
Witold Filipczyk
6c7fbaeeaa
Unification of protocol handler names.
2010-07-27 10:07:52 +02:00
Witold Filipczyk
98a7ca3635
Silent lua warnings.
2010-07-26 09:30:11 +02:00
Ahmed El-Mahmoudy
dfd399c370
Fixes to make test target to work
2010-07-25 20:32:37 +02:00
Witold Filipczyk
1f98df36a6
copiousoutput: Temporary file is deleted by /bin/rm -f
...
added with ; at the of the command.
I commented also the line with file_download->delete = 0 because
it left temporary files.
2010-07-25 14:40:19 +02:00
Witold Filipczyk
47e5bec81f
Some misleading comments were deleted.
2010-07-25 13:54:34 +02:00
Witold Filipczyk
11f8f65b29
Missing mailcap related files.
2010-07-25 13:50:33 +02:00
Witold Filipczyk
29da031975
Treat /dev/stdin special. Read it in nonblock mode.
...
Previosly ELinks read /dev/stdin in blocking mode.
export PAGER=elinks
and compare git log before and after this commit.
2010-07-24 18:09:16 +02:00
Witold Filipczyk
7dfb20d11f
Handle mailcap's copiousoutput without an external pager.
...
I tested it only on local PDFs.
I don't know if temporary files are deleted or not.
2010-07-24 17:07:18 +02:00
Witold Filipczyk
d74b9b932f
More charsets.
2010-07-24 12:37:29 +02:00
Witold Filipczyk
7c9e858723
Added Shift-JIS charset.
2010-07-24 10:43:42 +02:00
Witold Filipczyk
958cc8dbbc
Treat Big5 as Big5-hkscs.
2010-07-24 10:39:18 +02:00
Witold Filipczyk
90b37ff15f
Reset iconv_cp when switching from Big5 -> UTF-8 to UTF-8 -> UTF-8.
...
After viewing a page with Big5 charset and next a page with UTF-8
charset iconv was used, so slows down a bit.
Now iconv is used only for those charsets, which has the iconv
bitfield set.
2010-07-24 09:57:59 +02:00
Witold Filipczyk
6d567bb8ce
Support for multibyte encodings using iconv.
...
New charsets must be added by analogy to Big5.
2010-07-23 19:59:59 +02:00
Witold Filipczyk
b50fd4e8e2
codepage_desc: added the iconv bitfield.
...
I'm going to use it later for multibyte encodings, such as Big5.
2010-07-23 15:44:12 +02:00
Witold Filipczyk
d157890c0c
lzma code requires xz-4.999beta or later.
2010-07-23 14:12:05 +02:00
Witold Filipczyk
331a4dc62b
Link against lua51, not lua50.
2010-07-21 19:07:49 +02:00
Witold Filipczyk
13f1c878ac
text/plain mime type for pager mode.
2010-07-18 05:11:13 +02:00
Witold Filipczyk
fecb5f1f9d
Compilation fix on Mingw32.
2010-07-03 15:11:54 +02:00
Witold Filipczyk
0ec2f8eaa8
Show IP of the document in the status bar.
...
config options:
ui.show_ip (0/1) default 0
status.showip-text - colors
2010-03-30 14:45:19 +02:00
Witold Filipczyk
d2513cdfbb
Added $(EXEEXT) for executables.
2010-03-22 09:35:15 +01:00
Witold Filipczyk
ef33a13713
Do not #define NO_FG_EXEC for Windows.
...
Editing textareas with external editor works.
There is a possible buffer overflow in mkstemp.
2010-03-21 22:36:01 +01:00
Witold Filipczyk
b10144e5b4
Working implementation of mkstemp on Windows.
2010-03-21 21:44:57 +01:00
Witold Filipczyk
b456fba69f
Compilation fix.
2010-03-21 17:18:32 +01:00
Witold Filipczyk
caaa7b3d13
Force tre-0.8.0 or higher.
...
Functions in the tre-0.8.0 have the "tre_" prefix.
They won't collide with Perl.
2009-11-28 15:45:24 +01:00
Miciah Dashiel Butler Masters
f31cf6f9fe
Heartbeat code using JS_TriggerOperationCallback
...
Implement new heartbeat code to catch runaway execution of document
ECMAScript code. The old code uses JS_SetBranchCallback which is
deprecated in new versions of SpiderMonkey. The new code uses setitimer(2)
and the JS_SetOperationCallback and JS_TriggerOperationCallback interfaces,
introduced in SpiderMonkey 1.8.1. Compatibility with both the old
JS_SetBranchCallback and the new interfaces is maintained.
2009-11-26 00:57:21 +00:00
Witold Filipczyk
5bfeb061db
Bug 1082: mem_free_set in abort_preloading
...
[ From bug 1082 attachment 545. Added a comment and a NEWS reference. --KON ]
2009-07-26 20:49:47 +03:00