/[eiffelstudio]/FreeELKS/tags/EiffelSoftware/Eiffel_72/library/kernel/string_8.e
ViewVC logotype

Log of /FreeELKS/tags/EiffelSoftware/Eiffel_72/library/kernel/string_8.e

Parent Directory Parent Directory | Revision Log Revision Log


Sticky Revision:
(Current path doesn't exist after revision 92316)

Revision 92171 - (view) (annotate) - [select for diffs]
Modified Thu Feb 7 20:27:54 2013 UTC (7 years ago) by manus_eiffel
File length: 45550 byte(s)
Diff to previous 92167
Merged from rev#747:
Added `item' to READABLE_STRING_GENERAL and proper definition in READABLE_STRING_8 descendans. So that it is easier to migrate from compatible to regular mode.


Revision 92167 - (view) (annotate) - [select for diffs]
Modified Mon Feb 4 21:05:19 2013 UTC (7 years ago) by manus_eiffel
File length: 45520 byte(s)
Diff to previous 92156
New 7.2 release of FreeELKS for EiffelStudio

Revision 92156 - (view) (annotate) - [select for diffs]
Modified Wed Jan 30 23:12:29 2013 UTC (7 years, 1 month ago) by manus_eiffel
Original Path: FreeELKS/trunk/library/kernel/string_8.e
File length: 45520 byte(s)
Diff to previous 91987
Made code of gobo compile in both regular and compatible mode by adding `append_substring' and `prepend_substring' to STRING_8.


Revision 91987 - (view) (annotate) - [select for diffs]
Modified Thu Jun 28 23:45:11 2012 UTC (7 years, 8 months ago) by manus_eiffel
Original Path: FreeELKS/trunk/library/kernel/string_8.e
File length: 43380 byte(s)
Diff to previous 91915
Added `prepend' to STRING_GENERAL to match the void-safe version and to help some code to migrate easily between the two.


Revision 91915 - (view) (annotate) - [select for diffs]
Modified Tue Nov 30 00:16:14 2010 UTC (9 years, 3 months ago) by manus_eiffel
Original Path: FreeELKS/trunk/library/kernel/string_8.e
File length: 43088 byte(s)
Diff to previous 91870
Added deferred `keep_head' and `keep_tail' on STRING_GENERAL.


Revision 91870 - (view) (annotate) - [select for diffs]
Modified Tue Mar 23 10:11:37 2010 UTC (9 years, 11 months ago) by kwaxer
Original Path: FreeELKS/trunk/library/kernel/string_8.e
File length: 43439 byte(s)
Diff to previous 91828
Added feature {RESIZABLE}.trim that allows to minimize allocated storage.

Revision 91828 - (view) (annotate) - [select for diffs]
Modified Tue Dec 1 21:45:32 2009 UTC (10 years, 3 months ago) by manus_eiffel
Original Path: FreeELKS/trunk/library/kernel/string_8.e
File length: 43246 byte(s)
Diff to previous 91804
Merge rev#404 from trunk:
Fixed typo in `is_immutable' description.
Fixed bug in `remove_substring' which was not changing the `hash_code'.


Revision 91804 - (view) (annotate) - [select for diffs]
Modified Tue Oct 6 19:13:09 2009 UTC (10 years, 4 months ago) by manus_eiffel
Original Path: FreeELKS/trunk/library/kernel/string_8.e
File length: 43218 byte(s)
Diff to previous 91801
Follow the new conversion rules that requires to only have attached type in a conversion clause,
  and made sure that a type is not repeated in the list of types.


Revision 91801 - (view) (annotate) - [select for diffs]
Modified Tue Sep 29 00:15:54 2009 UTC (10 years, 5 months ago) by manus_eiffel
Original Path: FreeELKS/trunk/library/kernel/string_8.e
File length: 43347 byte(s)
Diff to previous 91703
Merged from rev#378 void-safe:
* Added "+" operator in READABLE_STRING_GENERAL to satisfy customer requests. 


Revision 91703 - (view) (annotate) - [select for diffs]
Modified Sun Mar 15 16:53:42 2009 UTC (10 years, 11 months ago) by manus_eiffel
Original Path: FreeELKS/trunk/library/kernel/string_8.e
File length: 43116 byte(s)
Diff to previous 91693
Use syntax_updater tool to update  to the new syntax of object test, and attached/detachable types.


Revision 91693 - (view) (annotate) - [select for diffs]
Modified Tue Feb 10 23:47:03 2009 UTC (11 years ago) by manus_eiffel
Original Path: FreeELKS/trunk/library/kernel/string_8.e
File length: 43027 byte(s)
Diff to previous 91690
Because we have an issue with conversion not ignoring attachment marks we specify them so that we can
  perform conversion from and to ?SYSTEM_STRING. Adapted code accordingly to the change. This is temporary
  until the EiffelStudio compiler is fixed (prior to 6.4 release).


Revision 91690 - (view) (annotate) - [select for diffs]
Modified Fri Feb 6 23:00:32 2009 UTC (11 years ago) by manus_eiffel
Original Path: FreeELKS/trunk/library/kernel/string_8.e
File length: 42945 byte(s)
Diff to previous 91679
To make transition easier, we are preserving `make_from_c' as creation procedure in the STRING classes
  and therefore we should use it instead of `make_from_c_pointer', now obsolete.
For the time being added conversion to detachable version of READABLE_STRING_xx in STRING_xx. It is
  necessary because to preserve backward compatibility in EiffelBase, append_string and prepend_string
  allow a detachable argument and there was quite a lot of code that did not compile once the detachable
  mark was added.
In C_STRING, split `share_with_pointer' into `make_shared_from_pointer' and `set_shared_from_pointer'
  and obsoleted `share_from_pointer'; same with `share_with_pointer_and_count'. This is required for
  performance reason since originally `share_from_pointer' could do both efficiently but this is not
  possible in Void safe mode.
Removed `default_create' as a creation procedure of CELL since it makes impossible to have an attached
  version of `item' in CELL otherwise.


Revision 91679 - (view) (annotate) - [select for diffs]
Modified Tue Jan 13 17:25:34 2009 UTC (11 years, 1 month ago) by manus_eiffel
Original Path: FreeELKS/trunk/library/kernel/string_8.e
File length: 42912 byte(s)
Diff to previous 91676
Efficient memory implementation of IMMUTABLE_STRINGs by sharing the internal area
  when calling `shared_substring'. It required the addition of `area_lower' to 
  READABLE_STRINGs to ensure that all string processing access the right location
  of an immutable string.
Changed postcondition of `substring_index_in_bounds' to use `same_string' in place
  of ~ as you may have as input a STRING_8, but actually substring returns an
  IMMUTABLE_STRING_8.
Changed implementation and postcondition of `is_string_8' and `is_string_32' in 
  READABLE_STRING_GENERAL to work properly with  IMMUTABLE_STRINGx.
Added some conversions from and to IMMUTABLE_STRINGx.
No loss of performance was noticed.

Revision 91676 - (view) (annotate) - [select for diffs]
Modified Mon Dec 29 19:36:38 2008 UTC (11 years, 2 months ago) by manus_eiffel
Original Path: FreeELKS/trunk/library/kernel/string_8.e
File length: 42758 byte(s)
Diff to previous 91671
Removal of `is' keyword.
Replacement of `is' by `=' for constant definitions.
Replaced `indexing' by `note'.


Revision 91671 - (view) (annotate) - [select for diffs]
Modified Wed Dec 17 07:26:23 2008 UTC (11 years, 2 months ago) by manus_eiffel
Original Path: FreeELKS/trunk/library/kernel/string_8.e
File length: 42762 byte(s)
Diff to previous 91669
Use ~ instead of is_equal and equal to avoid catcalls at runtime.
Enforced postcondition of `is_equal' to hold `other ~ Current' when result is true, that is to say
  that `is_equal' can only return True if both objects have the exact same type. This could be a breaking
  change.


Revision 91669 - (view) (annotate) - [select for diffs]
Modified Mon Dec 15 05:10:14 2008 UTC (11 years, 2 months ago) by manus_eiffel
Original Path: FreeELKS/trunk/library/kernel/string_8.e
File length: 42794 byte(s)
Diff to previous 91651
Use the alias name rather than infix/prefix to match the ECMA implementation.
In the process added [] operator to STRING.


Revision 91651 - (view) (annotate) - [select for diffs]
Modified Tue Nov 11 19:14:12 2008 UTC (11 years, 3 months ago) by kwaxer
Original Path: FreeELKS/trunk/library/kernel/string_8.e
File length: 42839 byte(s)
Diff to previous 91639
Changed `make_from_string' so that it is void-safe and can be used as a creation procedure in a void-safe mode.

Revision 91639 - (view) (annotate) - [select for diffs]
Modified Thu Nov 6 13:22:41 2008 UTC (11 years, 3 months ago) by kwaxer
Original Path: FreeELKS/trunk/library/kernel/string_8.e
File length: 42864 byte(s)
Diff to previous 91638
Added new features to separate creation of an object and its modification that allows to avoid errors related to initialization of attributes in void-safe mode.

Revision 91638 - (view) (annotate) - [select for diffs]
Modified Wed Oct 29 23:44:18 2008 UTC (11 years, 4 months ago) by manus_eiffel
Original Path: FreeELKS/trunk/library/kernel/string_8.e
File length: 42805 byte(s)
Diff to previous 91628
Fixed an error in previous version of `make_from_cil' which forgot to set the `count' when creating
  an Eiffel string from a .NET one.


Revision 91628 - (view) (annotate) - [select for diffs]
Modified Thu Oct 23 10:22:22 2008 UTC (11 years, 4 months ago) by kwaxer
Original Path: FreeELKS/trunk/library/kernel/string_8.e
File length: 42781 byte(s)
Diff to previous 91615
Changed implementation of `make_from_cil' to call feature `make' on the top level of compound so that the compiler can figure out the required attributes are properly initialized.

Revision 91615 - (view) (annotate) - [select for diffs]
Modified Sat Sep 27 03:59:33 2008 UTC (11 years, 5 months ago) by manus_eiffel
Original Path: FreeELKS/trunk/library/kernel/string_8.e
File length: 42838 byte(s)
Diff to previous 91608
Added IMMUTABLE_STRING_8 and IMMUTABLE_STRING_32 to ELKS which caused some features of STRING_X to
  be moved to READABLE_STRING_X. 
Added `same_string' to READABLE_STRING_GENERAL.
Made clear that `is_real' is using the real variation even if currently this variation is the same as
  for a double.
Added and fixes some postconditions.


Revision 91608 - (view) (annotate) - [select for diffs]
Modified Tue Aug 12 20:46:45 2008 UTC (11 years, 6 months ago) by manus_eiffel
Original Path: FreeELKS/trunk/library/kernel/string_8.e
File length: 43475 byte(s)
Diff to previous 91592
Redesgined the STRING_XX classes so that we introduce the notion of strings that can only
  be read (READABLE_XTRING_XX) and the notion of immutable strings (not yet present).
  The only known issue is that because most of the type of arguments taking a STRING_XX have
  been changed to accept a READABLE_STRING_XX, some code might not compile out of the box
  (usually code using agents, as otherwise we have added some conversion routines to help).


Revision 91592 - (view) (annotate) - [select for diffs]
Modified Sat May 24 00:24:07 2008 UTC (11 years, 9 months ago) by manus_eiffel
Original Path: FreeELKS/trunk/library/kernel/string_8.e
File length: 70086 byte(s)
Diff to previous 91537
Merged the changes made to the EiffelSoftware branch to trunk.


Revision 91537 - (view) (annotate) - [select for diffs]
Modified Fri Oct 26 23:10:11 2007 UTC (12 years, 4 months ago) by manus_eiffel
Original Path: FreeELKS/trunk/library/kernel/string_8.e
File length: 70027 byte(s)
Diff to previous 91535
Fixed postcondition to avoid error when compiling inheriting features in descendants of STRING_XX.


Revision 91535 - (view) (annotate) - [select for diffs]
Modified Thu Oct 25 00:27:55 2007 UTC (12 years, 4 months ago) by manus_eiffel
Original Path: FreeELKS/trunk/library/kernel/string_8.e
File length: 70021 byte(s)
Diff to previous 91531
Added `starts_with' and `ends_with' per Peter Gummer suggestion.


Revision 91531 - (view) (annotate) - [select for diffs]
Modified Fri Oct 12 23:20:35 2007 UTC (12 years, 4 months ago) by manus_eiffel
Original Path: FreeELKS/trunk/library/kernel/string_8.e
File length: 68863 byte(s)
Diff to previous 91517
Optimized `to_xxx' routines by not doing the overflow checking since the precondition guarantees it.
Minor other optimizations. Overall we go from about 16s down to 9s on my machine doing 20M call to
`to_integer' on the same strings. Other optimizations are possible, but they would required some
code duplication. For information, the simple implementation of 5.6 was only taking 2s for the same test.


Revision 91517 - (view) (annotate) - [select for diffs]
Modified Wed May 23 23:20:50 2007 UTC (12 years, 9 months ago) by manus_eiffel
Original Path: FreeELKS/trunk/library/kernel/string_8.e
File length: 68052 byte(s)
Diff to previous 91511
Removed additional postcondition on `substring' from STRING_8 and STRING_32 since they duplicate
  the one inherted from STRING_GENERAL.


Revision 91511 - (view) (annotate) - [select for diffs]
Modified Mon May 14 21:24:44 2007 UTC (12 years, 9 months ago) by manus_eiffel
Original Path: FreeELKS/trunk/library/kernel/string_8.e
File length: 68269 byte(s)
Diff to previous 91505
Fixed some insufficiently exported routine.


Revision 91505 - (view) (annotate) - [select for diffs]
Modified Mon Mar 19 19:36:18 2007 UTC (12 years, 11 months ago) by manus_eiffel
Original Path: FreeELKS/trunk/library/kernel/string_8.e
File length: 68276 byte(s)
Diff to previous 91477
Fixed incorrect comments.


Revision 91477 - (view) (annotate) - [select for diffs]
Modified Sun Jan 14 09:47:13 2007 UTC (13 years, 1 month ago) by ericb
Original Path: FreeELKS/trunk/library/kernel/string_8.e
File length: 68276 byte(s)
Copied from: FreeELKS/trunk/library/kernel/string.e revision 91475
Diff to previous 91475
Synchronized with ISE 6.0.65740

Revision 91475 - (view) (annotate) - [select for diffs]
Modified Fri Mar 3 10:19:32 2006 UTC (14 years ago) by ericb
Original Path: FreeELKS/trunk/library/kernel/string.e
File length: 68928 byte(s)
Diff to previous 91471
Synchronized with ISE 5.7.0726


Revision 91471 - (view) (annotate) - [select for diffs]
Modified Sun Feb 26 10:39:32 2006 UTC (14 years ago) by ericb
Original Path: FreeELKS/trunk/library/kernel/string.e
File length: 68648 byte(s)
Diff to previous 91454
Fixed bug in `resize'


Revision 91454 - (view) (annotate) - [select for diffs]
Modified Sat Feb 4 16:56:42 2006 UTC (14 years ago) by ericb
Original Path: FreeELKS/trunk/library/kernel/string.e
File length: 68725 byte(s)
Diff to previous 91448
Synchronized with ISE 5.7.0414.


Revision 91448 - (view) (annotate) - [select for diffs]
Modified Tue Jan 10 13:22:50 2006 UTC (14 years, 1 month ago) by ericb
Original Path: FreeELKS/trunk/library/kernel/string.e
File length: 62611 byte(s)
Diff to previous 91438
Updated INTEGER classes to be in sync with ISE Eiffel
and to use "built_in" external features.


Revision 91438 - (view) (annotate) - [select for diffs]
Modified Thu Oct 28 22:23:37 2004 UTC (15 years, 4 months ago) by manus_eiffel
Original Path: FreeELKS/trunk/library/kernel/string.e
File length: 54679 byte(s)
Diff to previous 91434
Removed comments after `end' keyword.


Revision 91434 - (view) (annotate) - [select for diffs]
Modified Wed Oct 27 19:58:22 2004 UTC (15 years, 4 months ago) by manus_eiffel
Original Path: FreeELKS/trunk/library/kernel/string.e
File length: 54695 byte(s)
Diff to previous 91424
Updated indexing clause to match Eiffel Forum license and the copyright.


Revision 91424 - (view) (annotate) - [select for diffs]
Added Tue Oct 26 18:39:32 2004 UTC (15 years, 4 months ago) by manus_eiffel
Original Path: FreeELKS/trunk/library/kernel/string.e
File length: 55463 byte(s)
Initial revision


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.23