Log of /branches/eth/eve/Src/library/encoding
Directory Listing
Revision
92684 -
Directory Listing
Modified
Fri Jun 7 15:28:53 2013 UTC
(6 years, 6 months ago)
by
jasonw
<<Merged from trunk#92682.>>
Revision
91117 -
Directory Listing
Modified
Fri Feb 1 08:57:09 2013 UTC
(6 years, 10 months ago)
by
jasonw
<<Merged from trunk#91110.>>
Revision
91005 -
Directory Listing
Modified
Mon Jan 28 14:40:26 2013 UTC
(6 years, 10 months ago)
by
jasonw
<<Merged from trunk#90997.>>
Revision
90750 -
Directory Listing
Modified
Mon Jan 21 13:30:30 2013 UTC
(6 years, 10 months ago)
by
jasonw
<<Merged from trunk#90747.>>
Revision
89804 -
Directory Listing
Modified
Fri Nov 2 09:14:04 2012 UTC
(7 years, 1 month ago)
by
jasonw
<<Merged from trunk#89803.>>
Revision
89535 -
Directory Listing
Modified
Fri Oct 5 06:46:18 2012 UTC
(7 years, 2 months ago)
by
jasonw
<<Merged from trunk#89534.>>
Revision
88634 -
Directory Listing
Modified
Fri Apr 20 14:53:03 2012 UTC
(7 years, 7 months ago)
by
jasonw
<<Merged from trunk#88631.>>
Revision
88234 -
Directory Listing
Modified
Fri Jan 27 09:58:45 2012 UTC
(7 years, 10 months ago)
by
jasonw
<<Merged from trunk#88233.>>
Revision
87721 -
Directory Listing
Modified
Fri Nov 4 09:32:23 2011 UTC
(8 years, 1 month ago)
by
jasonw
<<Merged from trunk#87720.>>
Revision
87613 -
Directory Listing
Modified
Wed Oct 26 06:49:40 2011 UTC
(8 years, 1 month ago)
by
jasonw
<<Merged from trunk#87612.>>
Revision
87220 -
Directory Listing
Modified
Thu Sep 15 08:09:35 2011 UTC
(8 years, 2 months ago)
by
jasonw
<<Merged from trunk#87219.>>
Revision
86000 -
Directory Listing
Modified
Fri Mar 25 12:39:38 2011 UTC
(8 years, 8 months ago)
by
jasonw
<<Merged from trunk#85999.>>
Revision
85584 -
Directory Listing
Modified
Fri Feb 11 21:23:26 2011 UTC
(8 years, 9 months ago)
by
jasonw
<<Merged from trunk#85576.>>
Revision
85496 -
Directory Listing
Modified
Fri Jan 28 14:31:42 2011 UTC
(8 years, 10 months ago)
by
jasonw
<<Merged from trunk#85495.>>
Revision
85362 -
Directory Listing
Modified
Sat Jan 15 14:00:47 2011 UTC
(8 years, 10 months ago)
by
jasonw
<<Merged from trunk#85361.>>
Revision
85044 -
Directory Listing
Modified
Fri Dec 3 12:03:12 2010 UTC
(9 years ago)
by
jasonw
<<Merged from trunk#85043.>>
Revision
84836 -
Directory Listing
Modified
Fri Nov 5 12:16:32 2010 UTC
(9 years, 1 month ago)
by
jasonw
<<Merged from trunk#84828.>>
Revision
84757 -
Directory Listing
Modified
Fri Oct 29 18:56:40 2010 UTC
(9 years, 1 month ago)
by
jasonw
<<Merged from trunk#84753.>>
Revision
84470 -
Directory Listing
Modified
Fri Oct 1 14:01:07 2010 UTC
(9 years, 2 months ago)
by
jasonw
<<Merged from trunk#84468.>>
Revision
84076 -
Directory Listing
Modified
Fri Jul 30 14:34:23 2010 UTC
(9 years, 4 months ago)
by
wests
<<Merged from trunk#84075.>>
Revision
83928 -
Directory Listing
Modified
Fri Jul 16 15:21:01 2010 UTC
(9 years, 4 months ago)
by
mpei
<<Merged from trunk#83927>>
Revision
83826 -
Directory Listing
Modified
Wed Jul 7 11:33:55 2010 UTC
(9 years, 5 months ago)
by
mpei
<<Merged from trunk#83825>>
Revision
83740 -
Directory Listing
Modified
Tue Jun 29 10:47:08 2010 UTC
(9 years, 5 months ago)
by
julian
<<Merged from trunk#83736.>>
Revision
83445 -
Directory Listing
Modified
Sat Jun 5 15:29:40 2010 UTC
(9 years, 6 months ago)
by
jasonw
<<Merged from trunk@83442.>>
Revision
83441 -
Directory Listing
Modified
Sat Jun 5 13:52:53 2010 UTC
(9 years, 6 months ago)
by
jasonw
Renamed branch eve3 to eve. The eve branch serves as the new branch for the EVE project.
Revision
80741 -
Directory Listing
Modified
Thu Sep 17 06:07:07 2009 UTC
(10 years, 2 months ago)
by
alexk
Original Path:
trunk/Src/experimental/library/encoding
Corrected `system_code_page' to retrieve code page using
LOCALE_IDEFAULTANSICODEPAGE rather than LOCALE_IDEFAULTCODEPAGE as the
latter stands for MS-DOS console code page.
Fixed bug in extracting locale string when the trailing null characters
were not removed, causing code page mismatch in the clients that as a
result compared, for example, "866%U%U%U" with "866".
Revision
78073 -
Directory Listing
Modified
Sat Apr 4 20:26:26 2009 UTC
(10 years, 8 months ago)
by
manus
Original Path:
trunk/Src/library/encoding
Made it compile on Mac OS X as well since now on Mac the platform value is not unix anymore.
Revision
77475 -
Directory Listing
Modified
Tue Mar 3 12:59:47 2009 UTC
(10 years, 9 months ago)
by
tedf
Original Path:
trunk/Src/library/encoding
* Made `last_converted_string' attached type, since there is already a precondition.
* Corrected postconditions.
Revision
76820 -
Directory Listing
Modified
Sat Jan 24 01:31:43 2009 UTC
(10 years, 10 months ago)
by
fivaa
Original Path:
trunk/Src/library/encoding
Updated all test project files (enabling assertions and adding {ANY}.default_create as creation routine)
Revision
76420 -
Directory Listing
Modified
Mon Dec 29 20:27:11 2008 UTC
(10 years, 11 months ago)
by
manus
Original Path:
trunk/Src/library/encoding
Removal of `is' keyword.
Replacement of `is' by `=' for constant definitions.
Replaced `indexing' by `note'.
Revision
74913 -
Directory Listing
Modified
Thu Oct 2 21:40:31 2008 UTC
(11 years, 2 months ago)
by
manus
Original Path:
trunk/Src/library/encoding
Fixed full class checking errors due to exporting to NONE features of ANY, the solution is
to simply inherit from ANY.
Revision
74645 -
Directory Listing
Modified
Tue Sep 2 08:10:19 2008 UTC
(11 years, 3 months ago)
by
tedf
Original Path:
trunk/Src/library/encoding
- Removed unnecessary check for {CONF_SYSTEM}.is_readonly, and corresponding preconditions.
- Do nothing when source of EIS entry is empty.
- Added code review EIS reference in encoding library.
Revision
74640 -
Directory Listing
Modified
Mon Sep 1 13:35:49 2008 UTC
(11 years, 3 months ago)
by
tedf
Original Path:
trunk/Src/library/encoding
- Fixed eweasel test lib028 failed of the last change of the encoding list that is not complete. Now we try opening the given encoding against UTF-8 to check its availability.
Revision
74623 -
Directory Listing
Modified
Fri Aug 29 07:18:51 2008 UTC
(11 years, 3 months ago)
by
tedf
Original Path:
trunk/Src/library/encoding
- Use MANAGED_POINTER in places instead of allocating memory in C code and freeing in Eiffel.
- Added invariant in SYSTEM_ENCODINGS_IMP, to verify that buffers are indeed small than the max described by MSDN.
- Fixed code page case issue in Unicode conversion implementation.
- Minor code improvement. Fixed typos.
- Added more comments for some implementation routines.
- Update copyright.
Revision
74622 -
Directory Listing
Modified
Fri Aug 29 00:59:01 2008 UTC
(11 years, 3 months ago)
by
tedf
Original Path:
trunk/Src/library/encoding
- Fixed case issue on Unix following the last commit.
- Added full list of code sets that iconv possibly supports. Now `is_valid' is implemented over this list.
- Some improvements of comments.
Revision
74619 -
Directory Listing
Modified
Thu Aug 28 08:36:11 2008 UTC
(11 years, 3 months ago)
by
tedf
Original Path:
trunk/Src/library/encoding
- Use attribute instead of a function of `encoding_i' to make the code simpler.
- Put all keys in lower case in the code page tables and made functions to retrieve them. Fixed the problem code pages were case sensitive.
- Changed name of code page tables to be consistent.
Revision
74601 -
Directory Listing
Modified
Wed Aug 27 10:26:31 2008 UTC
(11 years, 3 months ago)
by
tedf
Original Path:
trunk/Src/library/encoding
- Improved comments according to code review document.
- Added missing assertions according to code review document. Modified clients to fit new assertions.
- Fixed minor problem. Use `=' instead of `is'. Use `Result' instead of an local.
Revision
74600 -
Directory Listing
Modified
Wed Aug 27 06:04:46 2008 UTC
(11 years, 3 months ago)
by
tedf
Original Path:
trunk/Src/library/encoding
- Fixed an error in {UNICODE_CONVERSION} where `a_from_string' was mistakenly put `a_from_code_page'.
- Removed redundant code pages in {CODE_PAGE}. Changed initial number to fix the exact number of elements in the hash tables.
- Fixed typos.
Revision
74498 -
Directory Listing
Modified
Tue Aug 19 07:14:24 2008 UTC
(11 years, 3 months ago)
by
tedf
Original Path:
trunk/Src/library/encoding
- Use Eiffel implementations of Unicode encoding conversion in encoding library. This significantly improves performances when converting between Unicode encodings. (So far only UTF-32<=>UTF-8, UTF-32<=>UTF-16 are implemented)
- Removed hacks that was for the same above purpose from the editor library.
- Changed original `encoding_imp' to once (now `regular_encoding_imp'), since we don't really need one implementation object for each encoding object.
- Lazy evaluation of `last_converted_stream'. So we gain speed when `last_converted_stream' is not used by the user.
- Minor improvements of comment and contract.
Revision
74108 -
Directory Listing
Modified
Fri Jul 18 15:55:05 2008 UTC
(11 years, 4 months ago)
by
tedf
Original Path:
trunk/Src/library/encoding
- Use previous implementation of `string_32_to_pointer' which is safe.
- Use C_STRING to make `multi_byte_to_pointer' safe.
- The fix now actually wipes previous performance improvement out :(
Revision
74105 -
Directory Listing
Modified
Fri Jul 18 09:38:03 2008 UTC
(11 years, 4 months ago)
by
larryl
Original Path:
trunk/Src/library/encoding
- Changed UCS-4 to UTF-32 as code set constants. Since `iconv' returns big endian stream on Linux when converting to UCS-4. This behavior differs on different systems. `UTF-32' does not. And this modification may solve some EILSEQ exception problems.
- Improved STRING_32/STRING_8 to pointer routines by direct use of string pointers instead of creating a new one.
Revision
73981 -
Directory Listing
Modified
Tue Jul 1 07:44:03 2008 UTC
(11 years, 5 months ago)
by
tedf
Original Path:
trunk/Src/library/encoding
- Extended editor library to support Unicode.
- ES
* Integrated new editor library into ES. Now Unicode chars can be correctly rendered in the editor, which is good for some GUI internationalization, Output tool, for example. But before we setup correct way of deciding encoding of source files, all Unicode char will be lost when saving, as for the moment we insist on ISO-8859-1 for compatibility.
* Cleared the ambiguity of Unicode internal representation to be UTF-32. Yet to decide which one Vision2 to take (UTF-32 or UTF-16), as WEL takes UTF-16 while Vision2(Unix) takes UTF-32 as far as I see.
* Changed some components in ES internally, to support Unicode, mostly for search tool and code completion. Searching for Unicode strings are still not available unless we compile against trunk of Gobo. More works are still needed for other components before full Unicode supports.
- Encoding library
* Changed APIs of encoding library to be command/query. Added `last_converted_stream'.
* Made SYSTEM_ENCODINS in encoding library (abstracted from SHARED_LOCALE).
* Added abstract encoding detector in encoding library.
* Moved some useful API into ENCODING_HELPER.
- Changed {CLASS_I}.text to STRING_32 that returns class text in Unicode. Added interface ENCODING_CONVERTER into the compiler. This interface can also be used later to handle encoding conversion without introducing the encoding library.
- Some cosmetics.
Revision
72659 -
Directory Listing
Modified
Sat Mar 8 05:20:54 2008 UTC
(11 years, 9 months ago)
by
manus
Original Path:
trunk/Src/library/encoding
Removed usage of non-conforming inheritance as it causes some issue at code generation time:
- it requires flat checking to ensure it is correct
- some code need proper replication
Revision
72641 -
Directory Listing
Modified
Fri Mar 7 15:58:54 2008 UTC
(11 years, 9 months ago)
by
tedf
Original Path:
trunk/Src/library/encoding
- Use ISE_EXCEPTION_MANAGER instead of EXCEPTION_MANAGER. This fixed bug#14065.
- Use non-conformance inheritance when possible.
- Corrected copyright info.
Revision
71826 -
Directory Listing
Modified
Wed Jan 9 22:28:59 2008 UTC
(11 years, 11 months ago)
by
manus
Original Path:
trunk/Src/library/encoding
Added tabs to empty lines so that verbatim strings processing is done properly (before
the generated code was indented too much to the right).
Revision
71655 -
Directory Listing
Modified
Thu Dec 27 11:19:41 2007 UTC
(11 years, 11 months ago)
by
tedf
Original Path:
trunk/Src/library/encoding
- Improved memory management. Fixed a problem where collected POINTER could be used. Fixed a memory leak that C memory was not freed.
- Removed use of perror. Raise CONVERSION_FAILURE instead.
Revision
71563 -
Directory Listing
Modified
Wed Dec 19 08:19:16 2007 UTC
(11 years, 11 months ago)
by
tedf
Original Path:
trunk/Src/library/encoding
Fix a C memory leak that iconv_close was not call when iconv_open was successfully called. See bug#13779.
Revision
71442 -
Directory Listing
Modified
Mon Dec 10 17:23:46 2007 UTC
(12 years ago)
by
manus
Original Path:
trunk/Src/library/encoding
Commented some calls to `perror' as they are pertinent to the data passed to `iconv' and sometime
we do pass incorrect data thus printing some error messages where we do not expect to (See bug#13309).
Revision
69548 -
Directory Listing
Modified
Thu Jul 19 05:58:17 2007 UTC
(12 years, 4 months ago)
by
tedf
Original Path:
trunk/Src/library/encoding
- Added `encoding' and `full_name' in I18N_LOCALE_ID to keep encoding information, so that a `full_name' without missing encoding part later can be used by `setlocale'. Particularly on Solaris, LL_RR is not recognized by `setlocale', LL_RR.ENC is required. When testing locale's availability, normally id was from .mo files, `guess_proper_locale' was added trying to find out a proper available LL_RR.ENC form on Solaris.
- Redefined `is_equal' in ENCODING.
- Put hacks to conversions between UTF-16 and local locale. If direct conversion fails, UTF-8 is used as intermediate encoding attempt.
Revision
69056 -
Directory Listing
Modified
Wed Jun 13 17:03:28 2007 UTC
(12 years, 6 months ago)
by
tedf
Original Path:
trunk/Src/library/encoding
Fixed the bug#12603.
- Reimplemented is_valid on Unix, leave it to check few things.
- Added a new query `is_conversion_possible' which is now to check convertibility on Unix.
- Added some assertions.
- Added protection in output tools.
Reviewed by Manu.
Revision
68277 -
Directory Listing
Modified
Sat May 12 11:06:35 2007 UTC
(12 years, 7 months ago)
by
tedf
Original Path:
trunk/Src/library/encoding
Handles the problem that implementations of iconv return different endian as their defaults.
Revision
68087 -
Directory Listing
Modified
Thu May 3 17:33:51 2007 UTC
(12 years, 7 months ago)
by
paulb
Original Path:
trunk/Src/library/encoding
Reformatted using resave tool, which mirrors how EiffelStudio's configuration UI save the settings.
Revision
66127 -
Directory Listing
Modified
Tue Jan 23 09:35:15 2007 UTC
(12 years, 10 months ago)
by
tedf
Original Path:
trunk/Src/library/encoding
Added conversion error query on Windows side. Fixed a bug that LE to BE encoding was not correct.