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

138 Commits

Author SHA1 Message Date
Witold Filipczyk
3c8e625956 [exmode] Allow spaces after semicolon. Refs #196 2022-11-23 08:14:03 +01:00
Witold Filipczyk
4d1d4f173d [exmode] ; is delimiter for macro commands . Refs #196
For example:
set macro.0 = "set ui.show_title_bar = 0;set ui.show_status_bar = 0;redraw"
2022-11-22 19:07:34 +01:00
Witold Filipczyk
f85b22d9ad [exmode] go out instead of return to free strings 2022-11-16 09:00:17 +01:00
Witold Filipczyk
2688fb83eb [exmode] Decode \" . Refs #196 2022-11-15 22:48:56 +01:00
Witold Filipczyk
5fa0552ab0 [exmode] Introduced 10 macro config options. macro.0 to macro.9 . Refs #196
They can be bind to keys. For example

set macro.0 = "set ui.show_title_bar = 0"
set macro.1 = "set ui.show_title_bar = 1"
bind "main" "z" = "macro-0"
bind "main" "Z" = "macro-1"
2022-11-13 17:45:42 +01:00
Witold Filipczyk
c086cbe26e [color] Removed code related to draw_text_node
This idea failed. Code was slow.
2022-10-16 15:18:34 +02:00
Witold Filipczyk
361b8f661d [long] long -> intptr_t . Refs #8304
AFAIK on Windows long is sizeof 4, while void * is sizeof 8.
intptr_t is the same sizeof as void *.
2022-08-17 20:48:58 +02:00
Witold Filipczyk
172c32a64c [cpp] All files suspected for any C++ relation renamed to cpp
Now (in meson) .c files are compiled by C compiler and .cpp by C++ compiler.
2022-07-31 16:44:11 +02:00
Witold Filipczyk
dcadc0cc5b [dialogs] Removed unused function 2022-03-19 10:25:15 +01:00
Witold Filipczyk
b2c7566544 [dialogs] _node 2022-03-18 19:22:38 +01:00
Witold Filipczyk
da183d94f6 [menu] cast to void * 2022-02-21 16:13:40 +01:00
Witold Filipczyk
e432fc8c91 [bfu] cast in call of add_dlg_button 2022-02-21 16:03:31 +01:00
Witold Filipczyk
b0e93a9eab [intl] const in get_cp_config_name 2022-02-18 15:39:59 +01:00
Witold Filipczyk
d2d519f5d1 [menu] cast to char * 2022-02-18 14:54:32 +01:00
Witold Filipczyk
1264cb944d [dialogs] const stylename 2022-02-17 21:24:45 +01:00
Witold Filipczyk
2c10ae2b21 [dialogs] const separator in progress 2022-02-17 21:14:36 +01:00
Witold Filipczyk
eac4271696 [intl] const get_cp_name 2022-02-15 17:53:24 +01:00
Witold Filipczyk
be2e79b0b0 [menu] const in add_cmdline_bool_option 2022-02-08 18:08:53 +01:00
Witold Filipczyk
5ef839cf18 [term] enum term_env_type -> term_env_type_T 2022-01-28 17:37:43 +01:00
Witold Filipczyk
44f0adb1cb [cache] enum cache_mode -> cache_mode_T 2022-01-28 17:32:27 +01:00
Witold Filipczyk
cd49b315d9 [action] enum main_action -> main_action_T 2022-01-28 15:26:43 +01:00
Witold Filipczyk
4a4997c57b [menu] enum pass_uri_type -> pass_uri_type_T 2022-01-28 15:20:30 +01:00
Witold Filipczyk
3f29dada0a [bfu] enum menu_item_flags -> menu_item_flags_T 2022-01-28 14:35:18 +01:00
Witold Filipczyk
723bc935d2 [dialogs] cast 2022-01-25 17:42:04 +01:00
Witold Filipczyk
881f896e85 [mem_calloc] Cast 2022-01-16 21:08:50 +01:00
Witold Filipczyk
20c161559c [mem_alloc] cast return value 2022-01-16 19:09:27 +01:00
Witold Filipczyk
0e8ee7876a [uri] 0 -> URI_NONE in get_uri to decrease number of warnings 2022-01-14 20:52:17 +01:00
Witold Filipczyk
7b2179be1f [status] window_status unconditional. Refs #128 2021-09-22 15:01:52 +02:00
Witold Filipczyk
66305fcb50 [gettext] try system gettext. Refs #62
Now, only meson was changed.
-Dnls=true -Dgettext=true
2021-08-08 21:25:08 +02:00
Witold Filipczyk
172184aed5 [command] Forgotten mem_free. 2021-03-22 09:54:41 +01:00
sgerwk
69d52ced31 option for running external commands in the foreground 2021-03-22 08:48:59 +01:00
Witold Filipczyk
36aa04ed12 [time.h] time.h can be included unconditionally 2021-03-19 14:22:04 +01:00
Witold Filipczyk
acbcfd2eba [char] More casts to unsigned char 2021-02-27 09:51:23 +01:00
Witold Filipczyk
0fea79cc8f [cflags] Removed -Wno-pointer-sign
Likely some new bugs were introduced by this change.
The long term goal is clean compilation by g++.
2021-01-02 16:20:27 +01:00
Witold Filipczyk
434ce282ce [uri] Try to get frame uri with #fragment. Refs #75 2020-10-29 20:40:08 +01:00
Witold Filipczyk
d1f8248a0c [uri] pass to tab-external-command uri with #fragment . Refs #75 2020-10-29 19:21:14 +01:00
Witold Filipczyk
d1ecd45828 [mozjs52] It compiles, but often segfaults. No idea yet how to fix it. 2020-10-27 14:53:24 +01:00
Witold Filipczyk
1f57e72212 [mozjs24] Allow build elinks with g++
SpiderMonkey was updated to mozjs24. If you want to build elinks
with ecmascript support, you must compile using g++ with -fpermissive .
There is a lot of warnings.
There are some memleaks in ecmascript code, especially related to JSAutoCompartment.
I don't know yet, where and how to free it.

Debian does not support mozjs24, so I'm going to gradually update SpiderMonkey version.
2020-10-05 20:14:55 +02:00
sgerwk
70b8e214a9 do not display downloads of protocol "data:" 2020-09-19 10:11:09 +02:00
Witold Filipczyk
5dc8c56b2d [meson] Fixed bittorrent build 2020-09-13 16:12:57 +02:00
Witold Filipczyk
5f87bdbcb2 [meson] meson build scripts.
Not finished yet, but I added to motivate myself and others.
The goal is to get a few seconds faster builds.

autotools still will be available.
2020-09-05 22:06:01 +02:00
Witold Filipczyk
3d96b0d7d7 Revert "Compile with C++."
This reverts commit 4f4df33638.
2019-04-21 12:27:40 +02:00
Witold Filipczyk
4f4df33638 Compile with C++.
Weak points:
- alignof
- js problems

Todo:
- make js work with C++ and mozjs-17
- then mozjs-24
- then mozjs-52
- then mozjs-60
- decrease number of warnings
2019-02-17 20:46:16 +01:00
Witold Filipczyk
d8be2c505e Rename struct box to struct el_box.
In the future I want to copy some code from netsurf, so I'm preparing.
2018-09-09 19:14:56 +02:00
Witold Filipczyk
257422f28c Reorganisation of code to make C++ happy 2016-04-20 22:21:31 +02:00
Witold Filipczyk
8cf00fa61c delete -> delete_ for C++ compatibility 2016-04-20 18:57:32 +02:00
Petr Baudis
b9fb1d3c7d menu_keys(): Do not compare different enums 2011-09-24 02:10:54 +02:00
Miciah Dashiel Butler Masters
3334efb32c Add support for ECMA-48 SGR italic
Add 'Italic' checkbox to Terminal options dialog box.

Enable italic text by default for rxvt-unicode (and also enable
frames, 88-colour mode, and underline).
2009-05-22 19:48:59 +00:00
Kalle Olavi Niemitalo
e3ce7e4274 Bug 1070: Add fbterm to terminal options dialog box 2009-04-26 18:43:53 +03:00
Kalle Olavi Niemitalo
8acf2e36c3 big dialogs: Always show help in terminal options dialog
We now have scrollable dialog boxes so the height check is no longer
necessary.
2009-04-26 17:07:03 +03:00