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

448 Commits

Author SHA1 Message Date
Miciah Dashiel Butler Masters
4806005c21 Delete the socket file on the penultimate try in bind_to_af_unix,
restoring the behaviour that was inadvertently lost in CVS revision 1.48.
2005-10-30 04:23:04 +00:00
Miciah Dashiel Butler Masters
a7e0fa38cc Re-arrange. 2005-10-30 04:16:19 +00:00
Miciah Dashiel Butler Masters
00b12197a5 Re-arrange. 2005-10-30 04:13:59 +00:00
Miciah Dashiel Butler Masters
9b6dd7f087 Re-arrange. 2005-10-30 04:13:12 +00:00
Miciah Dashiel Butler Masters
17827a5edf Indent the new while loop. 2005-10-30 04:11:59 +00:00
Miciah Dashiel Butler Masters
dc7a7c6e1a In bind_to_af_unix, convert the goto loop to a while loop. 2005-10-30 04:11:23 +00:00
Jonas Fonseca
aa07c4d848 Tidy up a bit 2005-10-26 22:39:12 +02:00
Jonas Fonseca
d7f002c8a1 Move code for the SEE object interface 2005-10-26 22:11:34 +02:00
Jonas Fonseca
a5d205c047 Add missing host variable and fix installation of charset.alias
Add variable expanded from @host@ and use $(host) instead of @host@
in the gettext Makefile.

Reported by zas.
2005-10-26 19:06:30 +02:00
Jonas Fonseca
9096886a67 @USE_INCLUDED_LIBINTL@ -> $(CONFIG_NLS), @GLIBC21@ -> $(GLIBC21)
Should remove all @Makefile.in@ variable traces except for @host@ also in
src/intl/gettext/Makefile (which zas will hopefully fix :).
2005-10-26 14:26:35 +02:00
Jonas Fonseca
e82de325a0 @USE_INCLUDED_LIBINTL@ -> CONFIG_NLS 2005-10-26 14:19:32 +02:00
Miciah Dashiel Butler Masters
811f458ef4 Merge with git+ssh://pasky.or.cz/srv/git/elinks.git 2005-10-26 09:41:31 +00:00
Miciah Dashiel Butler Masters
c313b2877a In change_hook_html, instead of redrawing the current tab,
set the resize flag on all tabs so that they will all be redrawn
to reflect the new setting.
2005-10-26 09:40:52 +00:00
Jonas Fonseca
44cf54f0fc Fix out-of-tree build when srcdir has no Makefile.config
By recursively 'bootstrapping' the builddir specific Makefiles we no longer
depend on running make in the srcdir.

The problem was pointed out by zas.
2005-10-26 00:34:13 +02:00
Jonas Fonseca
1c8f2a3d19 Enter all directories and print all Makefiles for 'make list' 2005-10-25 23:41:26 +02:00
Jonas Fonseca
1f69d4b931 Add support for navigator.preference() and navigator.savePreferences()
It required that the 'context' session was saved in see_ses (similarly to
the lua_ses variable)

Anyway, now you can use

	var opt_value = navigator.preference("ui.window_title)
	navigator.preference("ui.window_title", false)
	navigator.savePreferences()

to get and set optinos + save the changes.
2005-10-25 19:13:33 +02:00
Jonas Fonseca
a317dd71fb Print the invalid option value 2005-10-25 19:10:30 +02:00
Jonas Fonseca
7659f284ac Try to comply to the client-side javascript interface and not our own
Renames the following things:
ELinks.write() -> alert() or navigator.alert()
ELinks.version -> navigator.appVersion
ELinks.home    -> navigator.appHome

The last one is not defined by the client-side javascript interface.
2005-10-25 17:43:33 +02:00
Jonas Fonseca
eaee3d5f44 Simplify the creation of out-of-tree Makefiles
They now always use the absolute path to the src Makefile.
Silence the mkinstalldir call.
2005-10-25 17:33:01 +02:00
Laurent MONIN
9d4ed7ab99 Make some Makefile.lib commands quiet since we use echo. 2005-10-24 14:06:04 +02:00
Miciah Dashiel Butler Masters
bf7eec2570 Merge with git+ssh://pasky.or.cz/srv/git/elinks.git 2005-10-24 00:39:05 +00:00
Jonas Fonseca
b73cb9d8d0 Cleanup and add gitweb() lambda
It will handle searching and going to the different views (summary, log,
tree, etc)
2005-10-24 02:35:28 +02:00
Miciah Dashiel Butler Masters
dcbb9cf909 Merge with git+ssh://pasky.or.cz/srv/git/elinks.git 2005-10-24 00:32:42 +00:00
Andrzej Zaborowski
4fe6e19dc6 Fix a memory-corruption bug in the line justification algorithm. 2005-10-24 00:30:36 +00:00
Jonas Fonseca
28f615138c Add some smart lambda derived prefixes: gmane, bugzilla 2005-10-24 02:07:51 +02:00
Miciah Dashiel Butler Masters
5ce3f23a2e In justify_line, rename the variable 'insert' to 'diff'. 2005-10-23 23:30:12 +00:00
Jonas Fonseca
9f104bca07 Add a sample hooks.js file based on treats from lua
Only localhost detection plus dumb- and smartprefixes for now.
2005-10-24 00:59:40 +02:00
Jonas Fonseca
bc0cc67fd9 Cleanup and improve error messaging
Script errors are now reported either with WDBG() at startup, ERROR()
if SEE decides to abort and using info_box() for everything else, including
script runtime errors.
2005-10-24 00:57:47 +02:00
Miciah Dashiel Butler Masters
82c4d457d6 Add a boolean option ecmascript.ignore_noscript, default off,
that when enabled causes ELinks to ignore any content enclosed
with <noscript> tags.
2005-10-23 21:59:05 +00:00
Jonas Fonseca
9e97a100e2 Introduce 'make cleanall' and run it in the build dir when configuring
... but only if Makefile.config exists. cleanall will cause make to enter
even SUBDIR-no dirs and clean OBJS-no files. This should fix the linking
problem report by zas when running:

	./configure --enable-fastmem ; make ; \
	./configure --enable-debug ; make
2005-10-22 13:25:28 +02:00
Jonas Fonseca
01f9c9f1f6 Make all paths relative to top_{build,src}dir 2005-10-22 12:54:39 +02:00
Laurent MONIN
7a2735357f Makefy Makefile.lib even more. 2005-10-21 15:58:36 +02:00
Laurent MONIN
792e4c4355 html_special(): move va_end() call outside the switch and make variables
more local.
2005-10-21 10:15:03 +02:00
Laurent MONIN
728014118d Since is_drawing_subs_or_sups() macro is only used by put_chars(),
defined it in this function.
2005-10-21 09:46:13 +02:00
Laurent MONIN
df065ead80 Remove now useless $Id: lines. 2005-10-21 09:14:07 +02:00
Jonas Fonseca
03118059ee Move and make sense of the common code 2005-10-21 04:07:43 +02:00
Jonas Fonseca
1812e20212 Add simple AsciiDoc markup to NEWS and rework a few entries 2005-10-21 03:38:26 +02:00
Jonas Fonseca
0ba773e7a5 Add the basics for _browser_ (ecma)scripting ELinks with SEE
SEE is David Leonard's Simple Ecmascript Engine.  The SEE scripting backend
is very raw and not tested very much. The idea was to see what kind of
creature SEE is (and contradict pasky's aired opinion that no new features
are added anymore ;).

echo 'function goto_url() { return 'localhost'; }' > ~/.elinks/hooks.js
and get local for maximum security ...

FYI: SEE is smaller than Spidermonkey but doesn't have the same kind of
data-driven interface, although it looks like it is possible to build that.
2005-10-20 20:38:01 +02:00
Jonas Fonseca
c4c034804b Merge with git+ssh://pasky/srv/git/elinks.git 2005-10-20 20:20:21 +02:00
Jonas Fonseca
128ddc77b2 Make lib.o depend on any subdir lib.o so it will be relinked 2005-10-20 20:18:29 +02:00
Laurent MONIN
956484cf57 Drop dead commented code and tidy up. 2005-10-20 17:26:22 +02:00
Laurent MONIN
d54f76bec8 Re-order code in a more logical fashion. 2005-10-20 17:23:18 +02:00
Laurent MONIN
2f8ed27eab No need to initialize @end and @start. 2005-10-20 17:22:15 +02:00
Laurent MONIN
e47f8068d9 Declare variable in inner block. 2005-10-20 17:21:17 +02:00
Laurent MONIN
c17940044c Move table cache stuff outside local renderer_context. 2005-10-20 17:17:25 +02:00
Laurent MONIN
23f7fc1b78 Move code from new_link() to new init_link_event_hooks().
Make code cleaner, and reduce indentation.
2005-10-20 11:43:42 +02:00
Laurent MONIN
d5e6110711 html_special_tag(): reduce indentation. 2005-10-20 11:21:02 +02:00
Laurent MONIN
ca27359131 Cast void * to struct tag *, instead the opposite. 2005-10-20 11:20:13 +02:00
Laurent MONIN
ee476c6eb6 shift_chars(): let it use alloca() if possible (--fastmem mode only). 2005-10-20 11:13:10 +02:00
Laurent MONIN
f28df73348 Fix a missing space. 2005-10-20 10:21:09 +02:00