0
0
mirror of https://github.com/rkd77/elinks.git synced 2025-06-30 22:19:29 -04:00

7421 Commits

Author SHA1 Message Date
Witold Filipczyk
3012ad04ad [draw] Second if removed
I guess there is off-by-one here.
2025-01-16 11:20:32 +01:00
Witold Filipczyk
b54ce58c57 [draw] One if less 2025-01-16 10:42:28 +01:00
Witold Filipczyk
50692a9fdc [margin] Set box from the begining 2025-01-15 15:39:21 +01:00
Witold Filipczyk
821a0ecbbb [margin] Try to draw frame lines
It ought to be simpler.
2025-01-15 11:34:24 +01:00
Witold Filipczyk
4b979b47ed [meson] Try to set TERM=dumb for js tests. Refs #361 2025-01-13 19:48:31 +01:00
Witold Filipczyk
765ccd406f [meson] Added bool test-js. Refs #361
Default enabled, but requires also Dtest=true
Not every test environment has access to terminal.
AFAIK, elinks needs terminal, js tests depend on elinks binary.
2025-01-13 18:42:19 +01:00
Witold Filipczyk
e66e00d469 Revert "Revert "[draw] Set margin also for frames""
This reverts commit f0fb1584f9316bb392460ad41dcdf4734b312797.
2025-01-13 17:26:36 +01:00
Witold Filipczyk
f0fb1584f9 Revert "[draw] Set margin also for frames"
This reverts commit b9348af7e086e77b015bc630cf3518eb75256936.
2025-01-13 17:10:26 +01:00
Witold Filipczyk
b9348af7e0 [draw] Set margin also for frames
Tested on test/frames.html
2025-01-13 16:33:01 +01:00
Witold Filipczyk
7d4f8ce0b1 [win32] el.bat as suggested in #363 2025-01-13 10:02:28 +01:00
Witold Filipczyk
d5e88f6924 [url] Removed suspicious mem_free_if 2025-01-12 20:13:52 +01:00
Witold Filipczyk
b4fc111982 [url] get_uri in quickjs 2025-01-12 20:11:35 +01:00
Witold Filipczyk
4750770259 [url] get_uri instead of parse_uri in spidermonkey URL implementation 2025-01-12 19:56:42 +01:00
Witold Filipczyk
2c4c31a084 [html] compress_empty_lines also in documents rewritten by js 2025-01-12 15:16:44 +01:00
Witold Filipczyk
f8e158309e [js] Group variables together and change type for Spidermonkey 2025-01-11 20:27:40 +01:00
Witold Filipczyk
31be553392 [mem] calloc -> mem_calloc. Refs #362 2025-01-11 15:01:18 +01:00
Witold Filipczyk
c68f7e2ab6 [html] Added option document.html.compress_empty_lines. Refs #362
It was not tested too much.
2025-01-11 14:36:37 +01:00
Witold Filipczyk
95d204a0b5 [sixel] Move to the right by box->x pixels 2025-01-11 10:20:11 +01:00
Witold Filipczyk
1171457eca [draw] inefficient colorization conditions
They must prevent drawing outside document area.
2025-01-10 19:44:52 +01:00
Witold Filipczyk
02aeda8bc1 [browse] Added bool option document.browse.margin_auto . Refs #360
When set together with document.browse.preferred_document_width
and document.browse.use_preferred_document_width margins are set
automatically.
2025-01-10 15:40:19 +01:00
Witold Filipczyk
5de7ef17e3 [draw] margin is already known 2025-01-10 15:27:08 +01:00
Witold Filipczyk
8a2513abc1 [mouse] Commented out assertion related to box. Refs #360
Conditions changed, and assertion would be too complicated.
2025-01-10 08:34:29 +01:00
Witold Filipczyk
f4589dc7f6 [margins] Hard margins. Refs #360
Before there were "soft" margins, and some pages have not been displayed correctly.
Now, there are hard margins. So the document has margin 0.
And while displayed, document text if offset by option's margin.
Also document->width is calculated as term->width - 2 * margin if not
set preferred document width. There are some issues with scrolling, frames, etc,
but they can be resolved later.
2025-01-09 18:45:33 +01:00
Witold Filipczyk
94c6cd0767 [libdom] Replace & by & . Refs #356 2025-01-09 12:19:56 +01:00
Witold Filipczyk
8e2074d463 [gopher] Typo. Refs #358 2025-01-08 17:03:50 +01:00
Witold Filipczyk
fe4ebb6464 [gopher] Changes. Refs #358
There were at 3 least bugs in it.
Port number was read from string "\r\n8".
Selector issue.
Added null char to read buffer, because was strange string printed.
2025-01-08 15:23:00 +01:00
Witold Filipczyk
81051df9cf [string] Allow the '\000' character in add_char_to_string. Refs #357
When testing integrity \000 was added to strings.
2025-01-08 09:00:42 +01:00
Witold Filipczyk
b84becca81 [tabs] Removed dead code 2025-01-06 16:17:54 +01:00
Witold Filipczyk
0e00280d92 [tabs] tab browser per terminal 2025-01-06 11:00:47 +01:00
Witold Filipczyk
ade077aeb2 [tabs] free_tabs_data 2025-01-06 08:49:24 +01:00
Witold Filipczyk
3f15a3756e [dialogs] Increment ACTION_BOX_SIZE. Refs #355 2025-01-05 08:15:57 +01:00
Witold Filipczyk
dc81f37010 [tabs] do not save state 2025-01-04 19:28:51 +01:00
Witold Filipczyk
45b438c48c [tabs] Add to list end 2025-01-04 18:23:40 +01:00
Witold Filipczyk
b29a135f24 [po] POTFILES. Update for #353 2025-01-04 14:29:53 +01:00
Witold Filipczyk
ff14caac84 [tabs] tab_manager
Needs more work. User must assign key for it.
2025-01-04 14:24:33 +01:00
Witold Filipczyk
90a7a2c5f8 [win32] 64U in prefix 2025-01-03 18:22:32 +01:00
Witold Filipczyk
b261c93a77 [win32] script for ucrt build 2025-01-03 18:20:13 +01:00
Witold Filipczyk
0c7b50499d [marks] another try for #352
If uri contains fragment (anchor), try to strip it.
Previous version stripped it from all copies of uri AFAIK.
2025-01-02 16:56:30 +01:00
Witold Filipczyk
0faa6b1f7a [marks] Reset uri->fragmentlen. Refs #352
I don't know if I don't break something this way.
Mark and goto_mark with and without anchors seem to work.
2025-01-02 16:16:09 +01:00
Witold Filipczyk
edca1d9b9b [docker] bump Fedora version 2025-01-01 15:46:20 +01:00
Witold Filipczyk
2ff248f2ac [meson] Shorter 2024-12-31 11:13:48 +01:00
Witold Filipczyk
1e383b54d1 [links] Added reverse_link_lookup. Refs #346
Now goto_link_number ought to work with and without tabindex.
2024-12-30 18:59:28 +01:00
Witold Filipczyk
806f95bd46 [meson] -Dgettext=true requires -Dnls=true 2024-12-30 09:54:15 +01:00
Witold Filipczyk
1f2929fa04 [meson] Require spidermonkey when sm-scripting was enabled. Refs #350
sm-scripting worked without -Dspidermonkey=true, but now is failing,
so instead of fixing it, I enforce to enable -Dspidermonkey=true
2024-12-30 09:04:35 +01:00
Witold Filipczyk
f3cdea37e2 [select] Define SOCK_SHIFT once 2024-12-29 18:46:56 +01:00
rkd77
5997d44a5c
Merge pull request #349 from aelmahmoudy/define-SOCKS_SHIFT
Add missing definition for SOCKS_SHIFT
2024-12-29 18:41:40 +01:00
rkd77
1be9427e7e
Merge pull request #348 from aelmahmoudy/fix-dfltlibdomdeps
Fix default value for libdomdeps to empty list instead of false
2024-12-29 18:38:42 +01:00
أحمد المحمودي (Ahmed El-Mahmoudy)
cf2f33b1a5 Add missing definition for SOCKS_SHIFT 2024-12-29 18:34:16 +01:00
أحمد المحمودي (Ahmed El-Mahmoudy)
7bce7c2032 Fix default value for libdomdeps to empty list instead of false
When it was false, meson complained that it shouldn't be a boolean
value, see: https://salsa.debian.org/aelmahmoudy/elinks/-/jobs/6836245/raw
2024-12-29 18:14:47 +01:00
Witold Filipczyk
2aed70baf5 [html] line break after footer and header. Refs #347 2024-12-29 14:35:10 +01:00