1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00
Commit Graph

3019 Commits

Author SHA1 Message Date
Jonas Fonseca
ee46003a12 Ignore tags file 2007-08-08 19:05:58 +02:00
Jonas Fonseca
6ac4daad07 Fix doxygen warning about list end marker 2007-08-08 19:05:54 +02:00
Jonas Fonseca
2a638f08cd Integrate Doxygen better in the build system
This change:

 - Adds a check for the doxygen program to configure.
 - Moves the Doxyfile from src/Doxyfile to doc/Doxyfile.in.
 - Generates a doc/Doxyfile from doc/Doxyfile.in inserting
   an absolute path to the source directory, so that it
   also works when builddir != srcdir.
 - Adds `make api` rule for running doxygen; it depends on
   api/doxygen file which is never created to force the rule
   to always run.
2007-08-08 19:05:44 +02:00
Nerijus Baliunas
9bb5e20bc9 Fix misleading texts about elapsed/estimated time 2007-08-08 18:59:44 +02:00
Jonas Fonseca
a8d9e95473 Doxygenate main header files of src/protocol/bittorrent 2007-08-08 18:59:39 +02:00
Jonas Fonseca
ecaae71b9b Update hierbox comments and make them ready for Doxygen
Noticed by kon.
2007-08-08 18:59:34 +02:00
Witold Filipczyk
61415bc08a bug 534: Part II. 2007-08-02 15:16:30 +02:00
Witold Filipczyk
b3845a7998 bug 534: Fixed (?) 2007-08-02 11:07:55 +02:00
Jonas Fonseca
4cccedabc9 Doxify bfu/style
Also fixes an old misleading comment noticed by kon.
2007-07-31 18:44:58 +02:00
Jonas Fonseca
4b63be8092 Fix dom_node_attribute comment mentioning non-existant struct
Noticed by kon.
2007-07-31 18:44:49 +02:00
Kalle Olavi Niemitalo
57fb761c82 itrm: Don't mention bug 776 which was already fixed. 2007-07-31 18:44:43 +02:00
Kalle Olavi Niemitalo
82979b8ce2 Doxygen: minor changes in src/terminal/itrm.h 2007-07-31 18:44:33 +02:00
Kalle Olavi Niemitalo
8cbfbe5f56 Doxygen: Escape some HTML tags. 2007-07-31 18:44:26 +02:00
Kalle Olavi Niemitalo
491f09246b Doxygen: Begin commands with @ not \. 2007-07-31 18:44:17 +02:00
Kalle Olavi Niemitalo
042f9bade4 Rewrite wiki to en.wikipedia.org, avoid server bug.
<http://www.wikipedia.org/w/wiki.phtml?search=sue%20lawley>
incorrectly redirects to
<http://en.wikipedia.org/w/wiki.phtml?search=sue%2520lawley>
which searches for "sue%20lawley" rather than "sue lawley".
By using en.wikipedia.org directly, we avoid the server bug.
Prompted by an elinks-users post on 2007-07-27.

I asked on #wikimedia-tech, and www.wikipedia.org does always
redirect to en.wikipedia.org; it does not guess any other
language based on headers or IP addresses or such.  Also, the
redirection exists only for compatibility, and skipping it
avoids a few roundtrips to the server.  So this change is good
even if the server is eventually fixed.
2007-07-31 18:44:09 +02:00
Kalle Olavi Niemitalo
db13653fb0 Bug 968: Don't use copy_chars in justify_line.
All the needed memory has been allocated before the loop so we can use
copy_screen_chars() directly.  This avoids the assertion failure in
copy_chars() for width==0 and should be a bit faster too.  According
to ISO/IEC 9899:1999 7.21.1p2, memcpy() doesn't copy anything if n==0
(but the pointers must be valid).
2007-07-30 19:00:42 +02:00
Witold Filipczyk
eecba4a96c Revert "bug 968: fixed."
This reverts commit cd8008225c.
2007-07-30 19:00:21 +02:00
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