Kalle Olavi Niemitalo
b6447ae26b
UTF-8: New function cp_to_unicode().
2006-08-13 23:35:50 +03:00
Kalle Olavi Niemitalo
143d95e927
UTF-8: Reuse the translation table if it is from the same charset.
...
This change makes ELinks more efficient and causes bug 782 to occur
far less often. (That does not mean the bug should not be fixed.)
2006-08-12 21:10:39 +02:00
Kalle Olavi Niemitalo
a14074a763
try_document_key: Convert the key to UCS-4, resolving the FIXME.
...
This requires compiling cp2u() in even without CONFIG_UTF_8.
I also added an is_kbd_character macro to make try_document_key
more resilient to changes in the definition of term_event_key_T.
2006-08-12 16:04:21 +03:00
Kalle Olavi Niemitalo
f7fd49cf28
UTF-8: New function unicode_fold_label_case and a related script.
2006-08-06 20:02:42 +00:00
Kalle Olavi Niemitalo
8a1d7e2fa3
terminal UTF-8: Translate all input via UCS-4, #ifdef CONFIG_UTF_8.
2006-08-06 20:02:41 +00:00
Witold Filipczyk
5fd284d6a2
The value of UCS_NO_CHAR was bad. There must not be a possibility
...
to encode it using utf_8_to_unicode. If every unicode_val_T value
could be a result of that function then one must add out param
to the utf_8_to_unicode signaling 'true' UCS_NO_CHAR.
2006-07-31 21:23:47 +02:00
Laurent MONIN
1136aefb71
Trim trailing whitespaces.
2006-07-27 09:51:10 +02:00
Witold Filipczyk
d83068ec85
Proper CFLAGS and LDFLAGS for the Python scripting backend.
...
The patch by M. Levinson.
I added DIR to the --with-python
2006-07-26 21:27:57 +02:00
Pavol Babincak
a7a7984d89
Merge with http://www.fi.muni.cz/~xbabinc/elinks/elinks-utf8.git/
...
without ucdata stuff. UTF-8 code cleanup. Added Pavol Babincak
to the AUTHORS
2006-07-25 09:59:12 +02:00
Witold Filipczyk
8c3f931ff0
Wide char could be bigger than 0xffff
2006-07-18 20:33:34 +02:00
Witold Filipczyk
44c74ac389
Refactor is_cp_special to is_cp_utf8
2006-07-18 17:51:03 +02:00
Pavol Babincak
9d1008c523
Added utf8_prevchar for moving throught UTF-8 string to left.
2006-05-01 22:58:51 +02:00
Pavol Babincak
129bd2f444
Added function utf8_ptr2chars for counting number of characters in string.
2006-04-07 22:06:17 +02:00
Pavol Babincak
79d4d74a22
Added functions for manipulating with UTF-8 strings.
2006-03-05 00:10:33 +01:00
Pavol Babincak
c726080def
Double-width glyph support in terminal draw
...
Added unicode_to_cell detect double-width glyphs. Modified terminal draw to
correctly accept double-width glyphs.
2006-02-18 20:28:00 +01:00
Pavol Babincak
f9d67aeb73
Added configure option --enable-utf-8
...
For enabling better UTF-8 support by Witek and Scrool.
2006-02-18 20:28:00 +01:00
Pavol Babincak
0bacd766e2
Added UTF-8 char length lookup table
...
Added lookup table to quick get number of bytes of UTF-8 character from
first byte.
2006-02-18 20:27:50 +01:00
Witold Filipczyk
44a1aa9c87
Witekfl's UTF-8 patch v5.
2006-02-18 20:27:46 +01:00
Jonas Fonseca
2748d043f9
Autogenerate .vimrc files and put the master in config/vimrc
...
This changes the init target to be idempotent: most importantly it will now
never overwrite a Makefile if it exists. Additionally 'make init' will
generate the .vimrc files. Yay, no more stupid 'added fairies' commits! ;)
2006-01-15 18:38:58 +01:00
Laurent MONIN
b7b33bae9b
Fix a memleak that may occur on systems without alloca(), backport from
...
gettext 0.14.5.
2006-01-13 13:58:13 +01:00
Laurent MONIN
f7e435fcf3
Upgrade config.charset to latest version from gnu gettext.
2006-01-13 13:22:09 +01:00
Jonas Fonseca
d2e346436a
Hmm, seem b.delta decided not to become 0x03B4 like it should
2006-01-10 15:39:11 +01:00
Jonas Fonseca
aa75cade23
Reinsert part of comment for nVDash; fixes 8e0eda5e4d
2006-01-03 23:38:37 +01:00
Jonas Fonseca
8f18d1c6c8
Rebuild the entity table with Unicode/gen-ent
2006-01-03 17:14:33 +01:00
Jonas Fonseca
9c50072c97
Fix more problems when $(srcdir) is empty
...
Thanks to Kalle Olavi Niemitalo and Adam Golebiowski.
2006-01-01 22:54:44 +01:00
Jonas Fonseca
748bab64a7
Make the printed install paths simpler for man5 files when srcdir == builddir
2005-12-30 00:49:01 +01:00
Jonas Fonseca
acf2ec806b
Remove empty lines in start of header files
...
A left over from the CVS Id removal. Also, for a few files, normalize the
order in which things are declared in headers.
2005-11-15 11:33:27 +01: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
Laurent MONIN
df065ead80
Remove now useless $Id: lines.
2005-10-21 09:14:07 +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
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
Jonas Fonseca
94ed6fa754
Finalize and cleanup the denser Makefile format
...
Convert remaining conditional file building to use
OBJS-$(CONFIG_FOO) += foo.o
one problem with reverse meaining (in util/) fixed with local 'hack'.
Cleanup and remove stuff which is now default targets.
2005-09-28 12:38:17 +02:00
Jonas Fonseca
c76586e6b8
Simplify the conditional building
...
Use the very cool 'VAR-$(CONFIG_FOO) += foo.o' feature instead of the more
verbose current ifeq($(CONFIG_FOO),yes) wrapping.
2005-09-27 22:49:47 +02:00
Jonas Fonseca
68de9e35d3
Automagically link in subdir lib.o files
...
It is a little ugly since I couldn't get $(wildcard) to expand *.o files
so it just checks if there are any *.c files and then link in the lib.o
based on that.
2005-09-27 22:38:00 +02:00
Jonas Fonseca
1efab31581
Simplify building of and linking with directories
...
Ditch the building of an archive (.a) in favour of linking all objects in a
directory into a lib.o file. This makes it easy to link in subdirectories
and more importantly keeps the build logic in the local subdirectories.
Note: after updating you will have to rm **/*.a if you do not make clean
before updating.
2005-09-27 21:38:58 +02:00
Jonas Fonseca
b30064c0d0
Rename targets: *-l -> *-local
2005-09-27 21:11:28 +02:00
Jonas Fonseca
23497405cb
More installation fixes
...
- Use the mkinstalldirs in $(top_srcdir)/config
- Fix buggy scripting of srcdir which broke the local gettext install
- Add the local uninstall stuff so we have it around
2005-09-23 20:30:56 +02:00
Jonas Fonseca
c2879b655b
Merge with git+ssh://pasky.or.cz/srv/git/elinks.git
2005-09-23 14:51:51 +02:00
Strahinya Radich
f86a009108
Add Serbian translation
2005-09-23 14:51:14 +02:00
Petr Baudis
bd0f5ba60d
We call $(mkinstalldirs) $(MKINSTALLDIRS)
...
Should fix make install.
2005-09-23 09:08:47 +02:00
Jonas Fonseca
baadeebab1
More CVS -> GIT conversions
...
Update INSTALL to both 'cover' GIT checkouts and requirements for the new
build system. Hacking info no more advices to add CVS Id lines.
2005-09-18 18:47:20 +02:00
Petr Baudis
e000fffaa6
Fix linking gettext - actually build libintl.a. ;-)
2005-09-16 14:29:41 +02:00
Petr Baudis
03c2fb116d
ELBuildized intl/. Final nail in automake's coffin.
2005-09-16 13:38:05 +02:00
Petr Baudis
1fd3bff6f3
Converted src/intl/gettext/Makefile to ELBuild
2005-09-16 04:20:14 +02:00
Jonas Fonseca
7462f22635
Remove now obsolete .cvsignore files.
2005-09-15 18:33:20 +02:00
Jonas Fonseca
da11cf325a
Convert more bits from the .cvsignore files. Now cg-status doesn't list
...
anything here. It might do in the future.
2005-09-15 18:25:37 +02:00
Petr Baudis
0f6d4310ad
Initial commit of the HEAD branch of the ELinks CVS repository, as of
...
Thu Sep 15 15:57:07 CEST 2005. The previous history can be added to this
by grafting.
2005-09-15 15:58:31 +02:00