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
Laurent MONIN
11564e255c
Trim trailing whitespaces.
2005-10-20 10:09:19 +02:00
Laurent MONIN
6cc441f34a
Introduce set_screen_char_color() and reduce code redundancy.
2005-10-20 10:07:50 +02:00
Jonas Fonseca
c88afeb1c2
path_to_top -> top_builddir
2005-10-20 04:00:35 +02:00
Jonas Fonseca
db99a74777
Add support for out-of-tree builds
...
Involves prefixing with $(srcdir) to some of the build rule variables. For
the builddir we create Makefiles which simply include the srcdir Makefile.
Add list make rule to get list of Makefiles to generate (find will get it
wrong for builddirs nested in srcdir).
There are still a few minor issues like the file paths echoed during make
install ...
2005-10-20 03:49:40 +02:00
Jonas Fonseca
b72ab2268e
Move RELPATH variable setup to Makefile.config.in and fix srcdir
...
The fix involves detecting of relative vs absolute paths. Should probably
be done at configure time, but keep it dynamic for now.
2005-10-20 03:44:23 +02:00
Jonas Fonseca
81384fbdaa
Make [CC] lines show the .o files
...
This will make more sense for out-of-tree builds, and we already use $@ for
[LD] and [LINK], so ...
2005-10-20 03:41:27 +02:00
Jonas Fonseca
dad4a54232
Fix the magic linking of subdir lib.o files
...
Make will 'expand' all variables at initialization so we cannot rely on
checking subdir/lib.o since it might not have been build yet. Instead
use 'test && echo' on the ld command line.
2005-10-20 03:39:59 +02:00
Jonas Fonseca
a617d5b140
Convert to new suffix rule and make install-local depend on all-local
2005-10-20 03:33:35 +02:00
Jonas Fonseca
6b2d12c1fe
Normalize path_to_top declaration
2005-10-20 03:22:31 +02:00
Jonas Fonseca
b2b2012386
Always address configure.in and other autotools file with $(top_srcdir)
2005-10-20 01:14:53 +02:00
Jonas Fonseca
e39a4342d6
Include $(top_srcdir)/Makefile.lib instead of $(path_to_top)/Makefile.lib
...
A step towards out of tree builds ...
2005-10-20 01:11:47 +02:00
Laurent MONIN
7392b8c503
Attempt to improve sub/sup rendering. Now 2<sup>2<sup>2</sup></sup> is
...
rendered as 2^2^2 and mixed sub/sup should be rendered in a better way.
A bit hacky though.
2005-10-19 23:11:27 +02:00
Laurent MONIN
80af673860
More sub/sup tests.
2005-10-19 23:05:41 +02:00
Laurent MONIN
9841316755
Use bitfields for on/off flags in struct renderer_context.
2005-10-19 11:56:26 +02:00
Laurent MONIN
65f4cfcb30
Add a field did_superscript to struct renderer_context and use it instead
...
of a local static variable.
2005-10-19 11:49:00 +02:00
Laurent MONIN
73150589c4
Store the list of files to pass to xgettext through -f files in file named
...
'potfiles.list'.
2005-10-19 11:09:41 +02:00
Laurent MONIN
8fd7b64dff
Support for make install PO=<lang>.
2005-10-18 12:16:12 +02:00
Laurent MONIN
dd3702ca5f
Use $(lang) instead of less explicit $(C).
2005-10-18 12:14:38 +02:00
Laurent MONIN
0407633145
Simplify update-po target.
2005-10-18 12:11:55 +02:00
Laurent MONIN
246e321848
Clean up and simplify check-po rule.
2005-10-18 11:52:29 +02:00
Laurent MONIN
ffceacbd7d
Fix po files installation with make 3.79.1, related code was simplified.
2005-10-18 11:18:05 +02:00
Jonas Fonseca
c6f6717a79
Re-commit the rest of the changes which was reverted in the recent 'funny merge'
2005-10-17 23:20:53 +02:00
Laurent MONIN
083bce589c
Use make's internal $(foreach) instead of 'for file in ...' loop
...
Should hopefully fix problems with older make versions (3.79.1, 3.80, and 3.81beta3) reported by zas.
Re-committed.
2005-10-17 15:39:40 +02:00
Marti Raudsepp
e31a66745a
Fix a bug in the KiB and MiB computation in add_xnum_to_string
...
where the fractional part overflowed to 0 before the integer part
was incremented.
Thanks to Marti Raudsepp for finding this bug and Marti and pasky
for the fix.
2005-10-16 01:53:06 +00:00
Jonas Fonseca
6dbc95aad5
Merge with git+ssh://pasky/srv/git/elinks.git
2005-10-15 18:11:44 +02:00
Jonas Fonseca
7fa3de1704
Use make's internal $(foreach) instead of 'for file in ...' loop
...
Should hopefully fix problems with older make versions (3.79.1, 3.80, and
3.81beta3) reported by zas.
2005-10-15 18:10:19 +02:00
Laurent MONIN
a90feb00e0
French translation was updated.
2005-10-13 14:21:04 +02:00
Petr Baudis
4ce737379f
Call option_changed() on two more appropriate places
...
This should fix the bug with toggled options not getting saved, and
changehooks wouldn't be called on certain circumstances (if there were
any to be called, anyway - but it is more correct now).
2005-10-12 09:50:41 +02:00
Petr Baudis
d34fe568cd
Introduce option_changed() for marking the options as modified
...
This just bundles the touching and calling change hooks.
2005-10-12 09:49:40 +02:00
Varga Balazs
dea63f3103
Hungarian translation updated.
2005-10-11 19:07:39 +00:00
Jonas Fonseca
d672ecf8f7
draw_border_cross(): Simplify lookup and describe the magic
2005-10-11 15:51:18 +02:00
Jonas Fonseca
9735520297
add_border_cross(): Add missing BORDER_S{D,U}TEE values
2005-10-11 15:36:45 +02:00