1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
Commit Graph

2952 Commits

Author SHA1 Message Date
Kalle Olavi Niemitalo
0afe741ac0 Doxygen: Define CONFIG_ECMASCRIPT and CONFIG_ECMASCRIPT_SEE. 2007-07-30 18:59:25 +02:00
Witold Filipczyk
cd8008225c bug 968: fixed. 2007-07-29 16:17:11 +02:00
Kalle Olavi Niemitalo
3dbf4d3d1d NEWS: mention bugs 723, 869 2007-07-29 15:45:23 +02:00
Kalle Olavi Niemitalo
8ff098573d Doxygen: more links in terminal/screen.c 2007-07-29 15:45:17 +02:00
Kalle Olavi Niemitalo
f0c32905de TAGS: recognize static INIT_LIST_OF 2007-07-29 15:45:11 +02:00
Kalle Olavi Niemitalo
3eb4b8cecb Doxygen: expand INIT_LIST_OF 2007-07-29 15:45:05 +02:00
Kalle Olavi Niemitalo
d524b6ee6d const in css_appliers[] 2007-07-28 12:56:08 +02:00
Kalle Olavi Niemitalo
880747575a Doxygenate src/document/css/ 2007-07-28 12:56:02 +02:00
Kalle Olavi Niemitalo
9254af74ed Doxygenate src/document/ (but not subdirs)
[ With some adjustments for my branch --witekfl ]
2007-07-28 12:55:55 +02:00
Witold Filipczyk
91e143efb2 Removed one line to let the patch apply. 2007-07-28 12:55:52 +02:00
Witold Filipczyk
0e2d5fadbc Ecmascript: Use LIST_OF for timeouts. 2007-07-28 12:43:05 +02:00
Kalle Olavi Niemitalo
61b0fd7d97 Doxygen: minor fixes in handle_trm 2007-07-28 12:29:43 +02:00
Kalle Olavi Niemitalo
00946a4d61 Doxygen: rename struct key to reduce spurious links
Rename struct key to struct named_key, use more const, change the num
member from int to term_event_key_T, and put a KBD_UNDEF at the end of
the array (even though it won't be read).
2007-07-27 20:23:17 +02:00
Kalle Olavi Niemitalo
403d6bdbd0 Doxygen: document text parameter of format_text{,utf8} 2007-07-27 20:23:12 +02:00
Kalle Olavi Niemitalo
faa2790700 Doxygenate src/terminal/ 2007-07-27 20:23:05 +02:00
Kalle Olavi Niemitalo
87189c33f9 Doxygen: Define CONFIG_UTF8. 2007-07-27 20:22:58 +02:00
Witold Filipczyk
5eb3c3274e Compilation fix. 2007-07-27 19:05:43 +02:00
Kalle Olavi Niemitalo
6beb55c145 Doxygen: @relates 2007-07-27 18:55:26 +02:00
Kalle Olavi Niemitalo
7dba2fd844 Doxygenate src/viewer/text/ 2007-07-27 18:55:11 +02:00
Kalle Olavi Niemitalo
d3cd3cace6 Doxygenate src/util/ 2007-07-27 18:54:49 +02:00
Kalle Olavi Niemitalo
35a0e25fe1 Doxygen: Disable many slow features. 2007-07-27 18:54:41 +02:00
Kalle Olavi Niemitalo
aeee1b70b0 Add src/Doxyfile for the whole ELinks. 2007-07-27 18:54:33 +02:00
Kalle Olavi Niemitalo
012674d8eb Doxygenate src/session/ 2007-07-27 18:54:26 +02:00
Kalle Olavi Niemitalo
646e6b5c49 Declare element types of lists. 2007-07-27 18:54:13 +02:00
Kalle Olavi Niemitalo
93f8ea24f7 New macro LIST_OF for better Doxygen support. 2007-07-27 18:53:58 +02:00
Kalle Olavi Niemitalo
a08d74042e Delete unused keybinding_dialog_list. 2007-07-27 18:53:49 +02:00
Witold Filipczyk
499cdfd842 buttons: Fixed all issues related to buttons.
Forms are not submitted when clicking on normal buttons.
Button's value is not added to the URI.
2007-07-27 12:39:38 +02:00
Kalle Olavi Niemitalo
31dc46544d Doxygen syntax fixes
Fix warnings:
dom/stack.h:70: Warning: explicit link request to 'pop_dom_node' could not be resolved
dom/stack.h:71: Warning: explicit link request to 'pop_dom_nodes' could not be resolved
dom/stack.h:71: Warning: explicit link request to 'pop_dom_state' could not be resolved
dom/stack.h:115: Warning: explicit link request to 'done_dom_node' could not be resolved

Use @returns instead of \return in src/document/css/parser.c,
and other such things.
2007-07-26 20:04:08 +02:00
Jonas Fonseca
b2b11886d9 Bug 723: Always get the current frame when loading frame files
This cleans up and changes the calling convention of
load_additional_file(), so that it now grab its own doc_view using
current_frame() and the struct session pointer in the file_to_load
object. By always looking up the current frame, corruption of doc_view
due to rerendering of the upper frame document is avoided.

The fix extends commit 6afdbf608f by
Witold, which moved the getting of doc_view in the other caller of
load_additional_file(). The additional clean up ensures that any future
users of load_additional_file() will not reintroduce a similar bug.

A possible future optimization would be to change load_additional_file()
to take the referrer as an argument.

[ One hunk removed, because it did not apply. --witekfl ]
2007-07-26 20:03:52 +02:00
Jonas Fonseca
8911b9283c Bug 896: use safe_strncpy when initializing the program field
This cleans up the previous fix and also fixes the problem mentioned
regarding ELinks still crashing when the first character is removed.
2007-07-26 19:56:05 +02:00
Witold Filipczyk
07b0598064 scan_http_equiv: Added missing CRLF to the header.
Noticed when viewing Russian docs of the flac.
2007-07-26 13:14:20 +02:00
Witold Filipczyk
d83989343a configure.in, lua: check for lua51 first. When both lua50 and lua51
are installed lua51 is preferred.
2007-07-22 22:43:24 +02:00
Kalle Olavi Niemitalo
ef198d2105 CSS: Count nested blocks when skipping.
When skipping "@media print { #foo {bar: baz} pre {white-space: normal} }",
the previous code would look for the first "{" and then the first "}", and
fail to skip the "pre" rule.  Seen at support.microsoft.com.

I originally posted this change as part of attachment 383 to bug 722.
2007-07-22 18:32:07 +02:00
Kalle Olavi Niemitalo
175e26c4ea Preserve underlines in links when justifying. 2007-07-20 21:12:58 +02:00
Kalle Olavi Niemitalo
d070c8338f Rewrote contrib/mkdist.
* All arguments must now be given as options.
* Documented.
* chmod +x in Git.
* Do not distribute files whose contents should depend on what the
  configure script found: config.h, config.log, config.status,
  features.log, Makefile.config, contrib/conv/w3m2links.awk,
  contrib/lua/hooks.lua, doc/man/man1/elinks.1.
* Do not distribute other files that configure will rebuild anyway:
  src/intl/gettext/ref-add.sed, src/intl/gettext/ref-del.sed.
  But do distribute contrib/elinks.spec, because it specifies how
  to run configure, and only the @VERSION@ varies in it.
* Do not distribute the empty directory po/.deps.
* Save the commit ID into .git/HEAD in the tar file.
* Compress the *.tar.gz and *.tar.bz2 from the same *.tar file.
* Instead of *.tar.gz.md5 and *.tar.bz2.md5, generate a *.md5 file
  that contains md5sums for *.tar, *.tar.gz, and *.tar.bz2.
* Use md5sum --binary for the sake of Windows.
2007-07-19 21:21:42 +02:00
Kalle Olavi Niemitalo
4c8cf822dd autogen.sh: Also remove autom4te.cache.
To stop it from getting in elinks-*.tar.gz.
2007-07-19 21:21:38 +02:00
Kalle Olavi Niemitalo
92e003450e NEWS: mention bug 744 2007-07-19 18:26:04 +02:00
Kalle Olavi Niemitalo
54178b189f Bug 744: Consume semicolons and fix parameters of stubs.
Most stub protocol handlers were protocol_external_handler_T when they
should have been protocol_handler_T.
2007-07-19 18:25:58 +02:00
Jonas Fonseca
22cfb0b71c Add stub.o to cleaned files and more protocol module and handler stubs 2007-07-19 18:25:52 +02:00
Kalle Olavi Niemitalo
fd9468f0b6 Bug 744: More tests and fix failures. 2007-07-19 18:25:47 +02:00
Kalle Olavi Niemitalo
fa289ee12a Bug 744: Add tests. There are four failures. 2007-07-19 18:25:42 +02:00
Jonas Fonseca
fa786070f0 Remove normalization of "//" to "/"
This patch changes normalize_uri() to no replace "//" with "/" in URIs. This
fixed this bug but will also lead to possibility that duplicate entries can
exist in ELinks' cache. ELinks might be able to detect in another way by
hashing the content or something.

[ From attachment 310 of bug 744.  --KON ]
2007-07-19 18:25:38 +02:00
Kalle Olavi Niemitalo
d5e57fc2dd Added TODO comments about TERM_EXEC_NEWWIN. 2007-07-18 20:37:40 +02:00
Kalle Olavi Niemitalo
2f30e63ed2 doc: Don't generate HTML for po/perl/ 2007-07-18 20:37:31 +02:00
Kalle Olavi Niemitalo
20fb01fa51 NEWS: mention MinGW 2007-07-18 20:37:23 +02:00
Kalle Olavi Niemitalo
44fb868897 Win32: Get socklen_t from <ws2tcpip.h>. 2007-07-18 20:37:15 +02:00
Kalle Olavi Niemitalo
5b08cc5a5b Win32: Put .elinks in Application Data if %HOME% is undefined. 2007-07-18 20:37:10 +02:00
Kalle Olavi Niemitalo
fa33920da2 Win32: Don't check file_is_dir if name ends with backslash. 2007-07-18 20:37:04 +02:00
Kalle Olavi Niemitalo
b787dc49d0 Win32: End local subdir HREFs with "/" not "\".
The href attribute is supposed to be URL and so the directory
separator should not depend on the conventions of the local operating
system.
2007-07-18 20:36:59 +02:00
Kalle Olavi Niemitalo
313e7f48f8 proxy: Ignore files created via Makefile.
gen.c wrote "%d.txt" files, but adding "*.txt" to .gitignore might
cause future documentation to be ignored.  Rename to "%d.http".
2007-07-17 18:30:20 +02:00