Witold Filipczyk
f62eca8d92
move-link-up-line and others: changed mode to NAVIGATE_CURSOR_ROUTING when
...
there is no link.
(cherry picked from commit 7db2f8c629ab4ab84016466813d38670bb4b3108)
2007-11-25 22:28:18 +02:00
Witold Filipczyk
3a87ec55fc
New action: move-cursor-line-start.
...
It moves cursor to the start of the line.
(cherry picked from commit 5ee1d3b2b39ea958f2a77300d326117e88f80c7a)
2007-11-25 22:28:18 +02:00
Witold Filipczyk
64c385f0db
move-link-prev(next)-line: Typo with cut-n-paste. s/line/last/.
...
(cherry picked from commit 848852b75f93aae3d86c565f09283bc3e579fb2b)
2007-11-25 22:28:17 +02:00
Witold Filipczyk
9561d8d0fd
move-link-up-line: segfault when cursor was below last line.
...
(cherry picked from commit c646c860cdb4ba641bd36f0469b752fec93962fd)
2007-11-25 22:28:17 +02:00
Witold Filipczyk
1a9112945b
move-link-prev-line: Really fixed.
...
(cherry picked from commit 052f7a93bb4548b858bf8832a87a595f9d630b48)
2007-11-25 22:28:17 +02:00
Witold Filipczyk
27361d141a
move-link-prev-line .. move-link-down-line: Fixed.
...
(cherry picked from commit bb0166279f6db9692b67914f334dc1a463ef4b4d)
2007-11-25 22:28:17 +02:00
Witold Filipczyk
8863f4335f
Fixed the issue with multiline links.
...
(cherry picked from commit 3555f68059035c786211a2bad38718d0c462033b)
2007-11-25 22:28:16 +02:00
Witold Filipczyk
1cbd02c141
Avoid segfault.
...
Go to the page with a few lines. Follow a link to a page with more lines.
Move cursor down, do not stay on a link.
Go back and do move-link-prev-line. This caused a segmentation fault.
(cherry picked from commit 888ba8751674471768d846ff3443aa7bb71ecf82)
2007-11-25 22:28:16 +02:00
Witold Filipczyk
a594b2a002
move-link-down-line, move-link-prev-line, etc.:
...
Change mode to NAVIGATE_LINKWISE to preserve the link position when
going back.
(cherry picked from commit 14b37d0362f9963cb2803d08d2c3e6e84574cdbe)
2007-11-25 22:28:16 +02:00
Witold Filipczyk
02af6696f5
actions: Fixed moving in frames.
...
(cherry picked from commit 2045574edca170a47b1e9f1e05cd210bdae8a49a)
2007-11-25 22:28:16 +02:00
Witold Filipczyk
2eb3532416
viewer: Added new four actions requested by Ligesh.
...
move-link-down-line moves the cursor down to the line with a link.
move-link-up-line moves the cursor up to the line with a link.
move-link-prev-line moves to the previous link horizontally.
move-link-next-line moves to the next link horizontally.
(cherry picked from commit 8259a56e99ca135961719bb72a7dd585ec96e68a)
2007-11-25 22:28:15 +02:00
Laurent MONIN
b3cfede1c1
Drop @safe parameter of create_download_file().
...
Use new flag DOWNLOAD_EXTERNAL instead.
2007-11-07 13:33:04 +01:00
Laurent MONIN
71ccbe0f8d
Replace resume parameter by more generic flags.
...
Type download_flags_T and enum download_flag were introduced.
2007-11-07 12:57:13 +01:00
Laurent MONIN
f150f22ac9
Use color.background instead of bgcolor in struct document too.
...
Not useful but coherent with other changes.
2007-10-12 16:50:47 +02:00
Laurent MONIN
e2a5696f76
active_link.(fg|bg) -> active_link.color.(foreground|background)
2007-10-12 12:24:53 +02:00
Laurent MONIN
8df72685ce
Rename struct active_link_options field color to enable_color.
...
It matches the corresponding option name better.
2007-10-12 12:19:27 +02:00
Laurent MONIN
6564aec93f
Add a new entry Link Info under Link main menu.
...
It also adds a Link info entry in the link contextual menu.
No key is associated for now, action was named ACT_MAIN_LINK_INFO.
2007-10-10 10:47:24 +02:00
Miciah Dashiel Butler Masters
7033247905
Introduce start_document_refreshes()
...
start_document_refreshes() performs the NULL-pointer checks that
previously all callers to start_document_refresh() must perform
and then calls start_document_refresh().
2007-09-14 16:44:04 +02:00
Jonas Fonseca
8e3c2d6042
Move find_tag to document/document
2007-09-14 16:29:13 +02:00
Jonas Fonseca
0240c469b7
Merge branch 'elinks-0.12'
...
Conflicts:
src/document/dom/renderer.c
2007-09-09 18:25:49 +02:00
Miciah Dashiel Butler Masters
a1a8696cce
Introduce start_document_refreshes
...
start_document_refreshes performs the NULL-pointer checks that previously all callers to start_document_refresh must perform and then calls start_document_refresh.
2007-09-06 18:52:23 +00:00
Miciah Dashiel Butler Masters
596b9b4d72
Fix compiler warning
...
Initialise @td to NULL in textarea_edit. Assert @td in done_textarea_data while we're at it.
2007-09-01 23:46:37 +00:00
Miciah Dashiel Butler Masters
e0f0112de9
Fix -dump with multicell characters
2007-09-01 17:04:58 +00:00
Miciah Dashiel Butler Masters
e1f0c10926
Drop unneeded #include "util/lists.h" from viewer/text/textarea.c
2007-09-01 12:55:02 +00:00
Miciah Dashiel Butler Masters
312a48a24a
Merge branch 'master' of ssh://pasky.or.cz/srv/git/elinks
2007-09-01 12:50:57 +00:00
Miciah Dashiel Butler Masters
14af901277
In free_textarea_data, set term->textarea_data to NULL
2007-09-01 12:49:02 +00:00
Miciah Dashiel Butler Masters
a66f6f8c90
Make the textarea_data member of struct terminal opaque
...
Move the definition of struct textarea_data back to src/viewer/text/textarea.c.
2007-09-01 12:02:21 +00:00
Miciah Dashiel Butler Masters
ac230ebc08
Add free_textarea_data wrapper for done_textarea_data and use in destroy_terminal
...
Unexport done_textarea_data.
2007-09-01 11:58:29 +00:00
Miciah Dashiel Butler Masters
6469344727
Export done_textarea_data and call in destroy_terminal to prevent leak
...
Previously, if a terminal crashed with an external editor open, the struct textarea_data would never be freed
2007-09-01 09:45:56 +00:00
Miciah Dashiel Butler Masters
8dc000e313
Set term_->textarea_data = NULL when taking the pointer in textarea_edit
2007-09-01 09:42:54 +00:00
Miciah Dashiel Butler Masters
d384f93522
Factor done_textarea_data out of textarea_edit
2007-09-01 09:24:22 +00:00
Miciah Dashiel Butler Masters
8c5dc2d161
Factor init_textarea_data out of textarea_edit
2007-09-01 09:20:40 +00:00
Miciah Dashiel Butler Masters
cc67edbe1c
Drop @textarea_editor global
2007-09-01 09:10:54 +00:00
Miciah Dashiel Butler Masters
d4c262694b
Move pointers to struct textarea_data from linked-list to terminal structure
2007-09-01 09:02:01 +00:00
Miciah Dashiel Butler Masters
1000f88748
bug 181: Allow edit textareas using an external editor on slave terminals.
...
Added EVENT_TEXTAREA used to notify the master terminal
about end of execution of an external program on a slave terminal.
The format of data sent to the master terminal by exec_on_slave_terminal
has changed. Now after 0, fg the value of term is sent.
Therfore this release of ELinks is incompatible with previous releases.
Patch by Witold Filipczyk, taken from his witekfl branch.
Conflicts:
src/viewer/text/textarea.c
2007-09-01 09:00:33 +00:00
Jonas Fonseca
8489f04cc9
renderer: Fix unnecessary inclusions of document/html/renderer
2007-08-31 15:43:56 +02:00
Jonas Fonseca
5d34b4bff6
Move find_tag to document/document
2007-08-31 15:43:54 +02:00
Miciah Dashiel Butler Masters
d9ee9464f4
If it still doesn't work, I'll try compiling it before committing the next attempt.
2007-08-30 21:48:58 +00:00
Miciah Dashiel Butler Masters
7a96a2eda9
Fix a build error from the last change to textarea_edit
...
Just a silly thinko.
2007-08-30 21:48:03 +00:00
Miciah Dashiel Butler Masters
bfe6243bc1
Allow session- or domain-specific settings for document.brose.forms.editor
2007-08-30 21:32:21 +00:00
Miciah Dashiel Butler Masters
0e0bacf0d3
Merge branch 'master' of ssh://pasky.or.cz/srv/git/elinks
...
Conflicts:
src/document/options.c
2007-08-30 21:13:43 +00:00
Miciah Dashiel Butler Masters
91947860f2
Check session- and domain-specific settings for many options
...
Pass the session with some get_opt_* calls. These are the low-hanging fruit. Some places will be difficult because we don't have the session or for other reasons.
2007-08-30 21:11:51 +00:00
Miciah Dashiel Butler Masters
360b4ebfee
textarea_edit: convert unnecessary checks to assertions
...
If @op == 0, then @fs_, @doc_view_, @link_, and @term_ should all be set. Assert them instead of checking them with if statements.
2007-08-30 21:09:14 +00:00
Kalle Olavi Niemitalo
78f733c6c1
More doc comments about coordinates.
2007-08-29 09:57:18 +03:00
Petr Baudis
6b05ddb762
Remove unnecessary document/html/parser.h includes
2007-08-29 00:08:05 +02:00
Miciah Dashiel Butler Masters
ea372bd0cd
get_opt_*: Add ses parameter
...
Add a session parameter to get_opt_ and its wrappers in preparation for session-specific and domain-specific options.
2007-08-28 17:24:59 +00:00
Miciah Dashiel Butler Masters
3975d28bce
Merge commit 'origin/elinks-0.12'
...
Conflicts:
doc/Doxyfile.in
src/protocol/bittorrent/common.h
2007-08-28 14:47:39 +00:00
Kalle Olavi Niemitalo
40afaae7d6
Doc comments about coordinate systems.
...
So that I may better understand Witek's patches.
2007-08-28 09:52:37 +03:00
Miciah Dashiel Butler Masters
1fd2a77416
Update comment: html_form_control -> html_special_form_control
...
Update a comment in encode_multipart, which refers to html_form_control, which has since been renamed to html_special_form_control.
The comment was added with this commit:
commit b4dee890a61a6c8a27a8e4cd1dc3b3b93f1cdb08
Author: Petr Baudis <pasky@ucw.cz>
Date: Fri May 10 13:26:55 2002 +0000
Don't decode and back encode hidden form items (by mikulas, from 0.97).
The function was renamed with this commit:
commit c9d72739c715b3b0c7c6fec582780c1e8f444fc4
Author: Petr Baudis <pasky@ucw.cz>
Date: Sat Dec 18 02:22:28 2004 +0000
html_(tag|form*) -> html_special_\1, to naming prevent conflicts with HTML element handlers. As suggested by Jonas.
2007-08-12 11:23:49 +00:00
Kalle Olavi Niemitalo
3fac1bc421
Doxygen: document text parameter of format_text{,utf8}
2007-07-27 19:01:07 +03:00