Miciah Dashiel Butler Masters
fed0d6bd54
Bookmarks: Include bfu/listbox.h and bfu/hierbox.h
2006-06-16 21:13:31 +00:00
Laurent MONIN
645ee58c83
http_negotiate_get(): only change *is_new on successful allocation.
2006-06-16 16:27:28 +02:00
Laurent MONIN
2217c885b4
http_negotiate: tidy up.
2006-06-16 16:26:20 +02:00
Laurent MONIN
2e0d5aa197
Add forgotten files from negotiate-auth patch.
2006-06-14 20:25:11 +02:00
Laurent MONIN
b373ded19b
Trim trailing whitespaces.
2006-06-14 14:46:30 +02:00
Laurent MONIN
ee8500b1d2
Karel Zak was added to authors, since he wrote negotiate-auth support.
2006-06-14 14:45:34 +02:00
Laurent MONIN
4b04a25b32
Support for negotiate-auth, using GSSAPI. It makes possible to
...
authenticate users by Kerberos. Patch by Karel Zak.
2006-06-14 14:41:59 +02:00
Jonas Fonseca
5f4f4f770b
Sync man pages
2006-06-12 22:30:42 +02:00
Miciah Dashiel Butler Masters
52bd1ea01b
SMJS: Fix crash with elinks.vs and no document loaded
...
Make sure that there really is a view_state before creating a wrapper
object with a bad pointer for it.
2006-06-11 02:33:41 +00:00
Miciah Dashiel Butler Masters
5899c281ce
SMJS: bookmark_folder_get_property: Reflow some code.
2006-06-11 00:37:31 +00:00
Miciah Dashiel Butler Masters
1a3b718f98
SMJS: bookmark_folder_get_property: Reflow some code.
...
Set the return value to JSVAL_NULL up front instead of in every error
handling block.
2006-06-11 00:33:19 +00:00
Miciah Dashiel Butler Masters
ec1ab9fbe9
SMJS: Better handle when the C code tries to call a badly defined method
...
Before, when one assigned a value other than a function to
elinks.preformat_html, elinks.goto_url_hook, or elinks.follow_url_hook,
an assertion failure was triggered (and probably worse happened in
non-DEBUG builds). Now just fail silently.
2006-06-10 18:11:37 +00:00
Miciah Dashiel Butler Masters
355cbebaad
SMJS: Add elinks.vs
...
E.g., elinks.vs.plain = 0; elinks.action.rerender(); forces ELinks to
rerender the current document as HTML.
2006-06-10 18:11:37 +00:00
Miciah Dashiel Butler Masters
1df39d5068
SMJS: Add elinks.action
...
E.g., elinks.action.link_follow(20) follows the twentieth link.
The argument is optional.
2006-06-10 18:11:37 +00:00
Laurent MONIN
b6e6ac96a3
ftp_process_dirlist(): re-introduce else { ERROR() } part, just drop
...
#ifdef/#endif.
2006-06-10 01:28:35 +02:00
Laurent MONIN
de2264f712
ftp_process_dirlist(): minor test optiization.
2006-06-10 01:12:38 +02:00
Laurent MONIN
6960fc8feb
ftp_process_dirlist(): drop stale debug code, spotted by Miciah.
2006-06-10 00:58:50 +02:00
Miciah Dashiel Butler Masters
14595404d1
ftp_process_dirlist: Rename local variable bufp to line_length.
2006-06-09 21:46:47 +00:00
Miciah Dashiel Butler Masters
71ec83c0de
ftp_get_line: Reflow some code.
2006-06-09 21:43:36 +00:00
Miciah Dashiel Butler Masters
2d49225db3
ftp_get_line: Reflow some code.
2006-06-09 21:43:18 +00:00
Miciah Dashiel Butler Masters
e1ea1cf2bb
ftp_get_line: Don't update *@len if returning -1.
2006-06-09 21:42:16 +00:00
Miciah Dashiel Butler Masters
ea5b06c329
ftp_process_dirlist: Drop a silly comment.
2006-06-09 21:39:51 +00:00
Miciah Dashiel Butler Masters
4122a97a03
Factor ftp_get_line out of ftp_process_dirlist.
...
Per Quiznos's suggestion.
2006-06-09 21:38:06 +00:00
Miciah Dashiel Butler Masters
585f7c5f2b
ftp_process_dirlist: check for bufl == 0 earlier.
2006-06-09 20:17:57 +00:00
Miciah Dashiel Butler Masters
dafc209c61
Simplify ftp_process_dirlist via memchr.
2006-06-09 20:16:35 +00:00
Miciah Dashiel Butler Masters
8c3d7a8e72
Fix data: protocol
...
Increment conn->from by the length of the data so that when
abort_connection calls normalize_cache_entry, it doesn't truncate the
cache entry to 0 length.
2006-06-08 17:42:27 +00:00
Jonas Fonseca
a72a0dab08
Fix assertion failure in the charset menu related to special codepages
...
If the codepage option was set to utf-8 (a special codepage) it would
end up being out of range when used for the initialy selected menu item.
2006-06-07 17:35:03 +02:00
Laurent MONIN
3e4bf0cf27
Fix: redraw main menu when one cancels it by clicking outside menu space.
2006-06-07 16:33:14 +02:00
Laurent MONIN
ef37161070
distribute_rows_or_cols(): merge two loops.
2006-06-06 23:10:29 +02:00
Laurent MONIN
824b4374fa
distribute_rows_or_cols(): simplify code.
2006-06-06 23:09:19 +02:00
Jonas Fonseca
7a42d2f41d
Clean out some unused variables
2006-06-06 16:33:16 +02:00
Jonas Fonseca
4433438f92
SMJS: Add execute method to the elinks object
...
It is similar to lua's execute and let's you run a command line in
'non-blocking' mode. Example:
elinks.keymaps.main["F"] = function () {
elinks.execute("firefox " + elinks.location);
};
2006-06-06 16:30:24 +02:00
Jonas Fonseca
97f9b90e27
Fix a typo
2006-06-06 16:26:45 +02:00
Laurent MONIN
9eb8a7aea1
Merge with git+ssh://pasky.or.cz/srv/git/elinks.git
2006-06-06 15:35:19 +02:00
Laurent MONIN
39265fea37
French translation was updated.
2006-06-06 15:25:59 +02:00
Jonas Fonseca
9f3456c872
Add support for parsing space separated CSS class attribute values
...
Sequentially apply style for stuff like class="class1 class2".
2006-06-06 15:21:56 +02:00
Miciah Dashiel Butler Masters
fde874ad35
Remove a useless comment
...
The comment was added in commit 0a44083e7b63cf51c7347a289c6d953cb7c15bcd.
2006-06-06 05:18:40 +00:00
Miciah Dashiel Butler Masters
819ea129af
Bookmarks: Avoid a dangling pointer on malloc failure
...
In memorize_last_searched_bookmark, when malloc of bm_last_searched_url
fails, set bm_last_searched_title to NULL after freeing it.
2006-06-06 05:18:39 +00:00
Miciah Dashiel Butler Masters
9d6ec1ee59
Remove a superfluous check.
...
This thoroughly ridiculous check was added in commit
bfa309e192caf6f1dd1f1bc112490b2f3dad1ebb.
2006-06-06 05:18:39 +00:00
Miciah Dashiel Butler Masters
d3bc3eb7e9
Drop an unnecessary prototype (it is in the header file).
2006-06-06 05:18:38 +00:00
Miciah Dashiel Butler Masters
1a3c8734d4
Utilise mem_free_set.
2006-06-06 05:18:38 +00:00
Miciah Dashiel Butler Masters
551ff4587a
Drop a stale comment.
...
The return value to delete_bookmark was changed to void in commit
7f47389e41a1bd2d9a0e05b74df49c26cd8e155a.
2006-06-06 02:43:00 +00:00
Miciah Dashiel Butler Masters
938d9c860b
Drop an unnecessary prototype (it is in the header file).
2006-06-06 02:41:09 +00:00
Jonas Fonseca
0c2ce62459
When prompting a program for copiousoutput don't show the block checkbox
...
Since (I hope) it has no effect. Instead, inform the user that the output will
be displayed in the current tab.
2006-06-06 01:32:03 +02:00
Jonas Fonseca
ae58ab8fd7
Fix to the new internal copiousoutput handling
2006-06-06 01:15:07 +02:00
Kalle Olavi Niemitalo
ab23505519
cookies: New function init_cookie has a monopoly.
...
All cookies are now constructed with the new function init_cookie.
Requested by Miciah Dashiel Butler Masters.
This also fixes a bug where the "Add cookie" button left cookie->path == NULL,
causing a crash later when deciding whether to send the cookie to the server.
2006-06-05 20:22:55 +00:00
Kalle Olavi Niemitalo
e8233fa06a
cookies: Use strrchr instead of ad-hoc loop.
...
The size and speed of the object code probably don't change much,
but the source becomes easier to read.
2006-06-05 20:22:54 +00:00
Kalle Olavi Niemitalo
3e32131469
cookies: A feeble attempt to support 16-bit int.
...
There are probably other places where it doesn't work, but this one
caught my eye.
2006-06-05 20:22:54 +00:00
Kalle Olavi Niemitalo
23a9a17827
cookies: Check return values of parse_header_param.
...
Mostly this makes set_cookie more complex, as it now distinguishes
between HEADER_PARAM_NOT_FOUND and HEADER_PARAM_OUT_OF_MEMORY, and kills the cookie in the
latter case. However, the cookie->secure check became simpler.
2006-06-05 20:22:54 +00:00
Kalle Olavi Niemitalo
819b6fab80
parse_header_param stores the string via a pointer parameter.
...
Its return value is now an enum that lets callers know whether an
error occurred. However, this commit changes the callers only
minimally, so they do not yet check the return value.
2006-06-05 20:22:53 +00:00