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
Pavol Babincak
31f2c28c06
Correction of b0e2840f0d
. Do not correct main menu when utf-8 is not used.
2006-05-07 00:51:27 +02:00
Pavol Babincak
c0d20d8420
UTF-8 support for html form textarea. Changed displaying of textarea.
...
Including double-width glyph support.
Note: textarea is now drawn with blank collumn at end of lines. It seems
that this is more intuitive for users. It behaves similar as textareas in
graphical interfaces. I hope it will hold your interest.
+----+ +----+ +----+
|aaA | [right] |aaa_| [right] |aaa |
|aaa | |aaa | |Aaa |
|bb | |bb | |bb |
+----+ +----+ +----+
+----+ +----+ +----+
|Aaa | [end] |aaa_| [c] |aaa |
|aaa | |aaa | |Caa |
|bb | |bb | |abb |
+----+ +----+ +----+
A, _, C - cursor positions.
[right] - right arrow
[end] - ACT_END (End button)
[c] - Letter c.
Now this code:
<textarea rows="3" cols="3">aaaaaabb</textarea>
represents textarea with 3x3 positions for chars.
Before this texteare behaved some kind of weirdly. That code above was
rendered like this:
+----+
|aaaa|
|aabb|
|_ |
+----+
2006-05-07 00:51:26 +02:00
Pavol Babincak
aedc5459ef
UTF-8 support for html form elements: text, password, select and file.
...
Including double-width glyphs. Without support for textarea.
2006-05-07 00:51:26 +02:00
Pavol Babincak
bbd24d7bf4
Corrected computing cell count for html select in UTF-8.
2006-05-07 00:51:25 +02:00
Pavol Babincak
546539b25e
Changed type uint16_t to unicode_val_T.Changed var x and xi to xbase and x.
2006-05-07 00:51:25 +02:00
Pavol Babincak
f515f14e08
Renamed variables utf8_pos to state_cell and char_cnt to chars_cells.
2006-05-07 00:51:24 +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
Pavol Babincak
9d1008c523
Added utf8_prevchar for moving throught UTF-8 string to left.
2006-05-01 22:58:51 +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
Witold Filipczyk
a558fe67b9
OnClick test
2006-04-30 16:56:40 +02:00
Miciah Dashiel Butler Masters
3f6a3cb4e5
Merge with git+ssh://pasky.or.cz/srv/git/elinks.git
2006-04-30 04:22:53 +00: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
15caf0ff0c
I didn't know that the tarball has generated html docs :)
2006-04-29 18:09:23 +02:00
Witold Filipczyk
54009b217c
Polish translation was updated
2006-04-28 19:42:29 +02:00
Kalle Olavi Niemitalo
daaed3912b
doc: Always refer to elinks.cz rather than elinks.or.cz.
2006-04-27 00:13:33 +03:00
Kalle Olavi Niemitalo
a19f271a8b
doc: CVS is no longer used. Mention static accel checking.
2006-04-27 00:09:23 +03:00
Kalle Olavi Niemitalo
c3f5c34dd3
doc: More AsciiDoc compatibility.
2006-04-27 00:08:22 +03:00