Laurent MONIN
8f2d4860bc
Trim trailing whitespaces.
2006-01-07 21:02:51 +01:00
Laurent MONIN
eda6529ced
check_uri_file(): optimize by not using strlen() more than needed.
2006-01-07 21:00:51 +01:00
Laurent MONIN
9183e0cf04
check_whether_file_exists(): optimize by not using strlen() more than
...
needed.
2006-01-07 20:59:34 +01:00
Jonas Fonseca
d0be89a16c
When requested to open local files with a handler use the file in place
...
Everything else is really stupid, i.e. to go through the callback-infested
download code. A parly fix of bug 238 (caching of local files).
2006-01-07 20:19:37 +01:00
Jonas Fonseca
21f9b59130
Use check_whether_file_exists() when encoding a file URI string
...
The file URI encoding is done in translate_url() immediately after the call
to find_uri_protocol() [which also uses check_whether_file_exists()]. So it
only makes sense to use check_whether_file_exists() also here since this is
a potential ambiguous URL from the user.
This fixes handling of files like 'a?b' given the command line, reported by
rrowan. It broke (for the n-th time ;) in CVS version 1.317->1.318 back in
August. The fix preserves the intend of that patch, namely the intend to
optimize the number of calls to file_exists().
2006-01-07 19:16:51 +01:00
Kalle Olavi Niemitalo
da7d4cfa25
Documented Locale::PO::php_format.
2006-01-07 19:45:54 +02:00
Jonas Fonseca
0c1e8a713d
Merge with git+ssh://pasky/srv/git/elinks.git
2006-01-07 05:19:06 +01:00
Jonas Fonseca
3835bf8449
A handful of fixes related to error detection
...
- Fix assertion failure by breaking the switch if an error token is next
when previous was a processing instruction.
- Fix <!notation parsing by skipping ident chars instead of spaces.
- Improve checking of processing instruction 'target'-end and what error
string is generated.
- For now put all of the processing instruction data in the error token.
- Remove a DBG()-print.
2006-01-07 05:18:43 +01:00
Jonas Fonseca
97f403a9d9
Add a test file for checking detection of errors by the SGML parser
2006-01-07 05:15:16 +01:00
Jonas Fonseca
03ee543e21
Make sgml-parser request error detection when passed --error option
2006-01-07 04:27:08 +01:00
Jonas Fonseca
c993a0012e
Add basic support for detection errors while scanning
...
It mostly uses the checking for incompleteness already in place. Tested
lightly so it will definately need some more work.
2006-01-07 04:26:08 +01:00
Jonas Fonseca
5defc48eb3
Add basic support for requesting error detection; SGML scanner part missing
2006-01-07 04:21:39 +01:00
Jonas Fonseca
a1e5122183
Drop unnneeded URL argument and simplify test helpers
2006-01-07 02:14:45 +01:00
Laurent MONIN
6182b50679
Merge with git+ssh://pasky.or.cz/srv/git/elinks.git
2006-01-07 02:04:04 +01:00
Jonas Fonseca
f1c3c90a4f
Move line counting tests to own file; simplifies a few things
2006-01-07 02:02:21 +01:00
Laurent MONIN
ee0dc57771
exec_on_master_terminal(): tidy up.
2006-01-07 01:57:11 +01:00
Laurent MONIN
2e67ca1df9
exec_on_master_terminal(): drop old commented code.
2006-01-07 01:55:18 +01:00
Laurent MONIN
16e2724c12
exec_on_master_terminal(): move code to caller instead.
2006-01-07 01:54:44 +01:00
Laurent MONIN
df138c775a
exec_on_master_terminal(): reduce code redundancy a bit and use
...
fmem_alloc() instead of mem_alloc().
2006-01-07 01:52:35 +01:00
Laurent MONIN
b09d2c7a3f
exec_on_slave_terminal(): reduce indentation level and use fmem_alloc()
...
instead of mem_alloc().
2006-01-07 01:49:12 +01:00
Jonas Fonseca
dee8ac5b45
Move test for incompleteness to own file
2006-01-07 01:48:51 +01:00
Laurent MONIN
a2b9d8bb78
Explode exec_on_terminal() to new exec_on_master_terminal() and
...
exec_on_slave_terminal().
2006-01-07 01:47:36 +01:00
Jonas Fonseca
7ff2cb2607
Improve a comment a bit
2006-01-07 01:41:07 +01:00
Jonas Fonseca
7c65c06b41
Move up enum sgml_parser_code declaration
2006-01-07 01:29:44 +01:00
Laurent MONIN
450e44a598
exec_on_terminal(): simplify code.
2006-01-07 01:28:54 +01:00
Jonas Fonseca
c9c41e38a2
test_expect_incomplete(): Put sgml-parser output to /dev/null
2006-01-07 01:27:48 +01:00
Jonas Fonseca
f8d44ffe32
scan_sgml_tokens(): Drop local variable and use scanner->current
...
... so lower level scanners can change the next token to use.
2006-01-07 01:25:42 +01:00
Jonas Fonseca
bca330fcbd
Simplify incomplete test helper and fix quoting problem
2006-01-07 01:22:14 +01:00
Jonas Fonseca
2a11525d1a
Fix a few typos
2006-01-06 22:32:07 +01:00
Jonas Fonseca
3fd2828fb0
Add a simple test script of the mailcap cache
...
It has a few nasty hacks to reduce the dependencies on defined symbols.
2006-01-06 22:18:11 +01:00
Jonas Fonseca
215d7ec158
Append memdebug to test dependencies in Makefile.lib
2006-01-06 22:11:45 +01:00
Jonas Fonseca
84f8973720
Make the compile macro use -o and append any 2nd argument
2006-01-06 22:08:49 +01:00
Laurent MONIN
d767650585
check_hotkeys_common(): @res -> @found.
2006-01-06 21:37:36 +01:00
Laurent MONIN
c08d932433
Merge is_hotkey(), is_not_so_hotkey() and check_hotkeys_common() to
...
reduce code redundancy and speed up things.
2006-01-06 21:34:57 +01:00
Jonas Fonseca
5f5c78a87f
Realign the test docs with reality
2006-01-06 18:32:22 +01:00
Jonas Fonseca
b1514c7a35
Check if the test 'trash' directory could be entered
...
Original patch by Alex Riesen <raa.lkml@gmail.com> for GIT.
2006-01-06 17:46:55 +01:00
Petr Baudis
a637349b32
Prevent complaining about leaking clipboard
2006-01-06 17:08:38 +01:00
Kalle Olavi Niemitalo
4e653e8c84
Use fields, and "my Locale::PO" where applicable.
2006-01-06 17:56:08 +02:00
Jonas Fonseca
0c40ff05c9
Fix compilation of get_clipboard_text()
2006-01-06 15:48:15 +01:00
Petr Baudis
f18de1d3f3
Internal clipboard support
2006-01-06 12:02:51 +01:00
Petr Baudis
173e68ccfa
Support for pasting from GNU screen clipboard
2006-01-06 12:00:30 +01:00
Kalle Olavi Niemitalo
35d9107406
Documented some quirks of Locale::PO.
...
- Documented quoting in the msgid, msgid_plural, msgstr, and msgstr_n methods.
- Documented newlines in the comment, automatic, and reference methods.
2006-01-06 03:26:26 +02:00
Kalle Olavi Niemitalo
d3b0178d88
Forked Locale/PO.pm. No real code changes yet.
2006-01-06 03:02:06 +02:00
Kalle Olavi Niemitalo
93714a3e35
Merge with http://elinks.cz/elinks.git
2006-01-06 02:13:11 +02:00
Miciah Dashiel Butler Masters
a645bb2ead
Do return EVENT_NOT_PROCESSED from hierbox_ev_init and hierbox_ev_abort
...
hierbox_ev_init and hierbox_ev_abort must return EVENT_NOT_PROCESSED
so that the generic dialog code runs and initialises the widgets and stuff.
This commit reverts commit f8310de64b
to fix
a segfault and also adds comments to explain the unintuitive return value.
2006-01-05 23:41:18 +00:00
Laurent MONIN
18649c8988
connect_socket(): simplify code a bit.
2006-01-05 18:36:22 +01:00
Laurent MONIN
c6dfce8ad8
connect_socket(): set @pf at appropriate time.
2006-01-05 18:29:42 +01:00
Laurent MONIN
9e55cb0d2a
connect_socket(): cache options values.
2006-01-05 18:28:16 +01:00
Jonas Fonseca
ab8a4b2847
Add more tests based on test/comments.html
2006-01-05 15:36:18 +01:00
Laurent MONIN
77156c021a
Drop unused listbox widget height stuff.
2006-01-05 11:50:42 +01:00