/[eiffelstudio]/trunk/Src/library
ViewVC logotype

Log of /trunk/Src/library

View Directory Listing Directory Listing


Sticky Revision:

Revision 103860 - Directory Listing
Modified Mon Jan 20 09:26:07 2020 UTC (3 days, 10 hours ago) by jfiat
Escape any non ASCII characters.

Revision 103853 - Directory Listing
Modified Wed Jan 15 14:24:22 2020 UTC (8 days, 5 hours ago) by alexk
Used `escaped_...` versions of features to convert between STRING_32 and STRING_8 (when there is a counterpart already using an `escaped_...` version).
Made .NET versions of expception classes similar to classic ones.


Revision 103852 - Directory Listing
Modified Wed Jan 15 14:11:52 2020 UTC (8 days, 6 hours ago) by jfiat
removed uuid from redirection.

Revision 103830 - Directory Listing
Modified Mon Jan 6 11:10:28 2020 UTC (2 weeks, 3 days ago) by jfiat
Fixed typo in description note.

Revision 103773 - Directory Listing
Modified Thu Dec 19 09:34:30 2019 UTC (5 weeks ago) by alexk
Removed a redefinition that violates VDRS(4) when a feature is effected rather than redefined.

Revision 103762 - Directory Listing
Modified Mon Dec 16 09:24:01 2019 UTC (5 weeks, 3 days ago) by jfiat
Fixed the hidden item dialog population.
bug#19598


Revision 103751 - Directory Listing
Modified Thu Dec 12 17:38:37 2019 UTC (6 weeks ago) by jfiat
Fixed typo 

Revision 103750 - Directory Listing
Modified Thu Dec 12 17:32:15 2019 UTC (6 weeks ago) by jfiat
Removed useless uuid in the redirection ecf file.

Revision 103735 - Directory Listing
Modified Wed Dec 11 13:43:09 2019 UTC (6 weeks, 1 day ago) by alexk
Supported selection of a single value in a choice preference by adding two new features at the top level:
	- `is_valid_string_for_selection` - tells whether a given string can be used to specify a value (this is identical to `is_string_value_validated` for single-valued preferences, and verifies that the value is in the list of specified values in multi-valued preferences);
	- `select_value_from_string` - updates the current value (this is identical to `set_from_string` for single-valued preferences, and updates the selected index for multi-valued ones).


Revision 103734 - Directory Listing
Modified Wed Dec 11 10:21:02 2019 UTC (6 weeks, 1 day ago) by alexk
Fixed a long lasting bug introduced when features that handle lists were added in rev#89889: when the iterable argument was not a list, the computed list was always empty because the iteration was performed on a newly created empty list rather than on the iterable argument.
Removed obsolete features.


Revision 103733 - Directory Listing
Modified Wed Dec 11 10:11:20 2019 UTC (6 weeks, 1 day ago) by alexk
Removed obsolete feature `string_value`.
Rearranged feature clauses to group features more precisely.


Revision 103726 - Directory Listing
Modified Mon Dec 9 18:07:49 2019 UTC (6 weeks, 3 days ago) by alexk
Changed settings to report all obsolete feature calls.

Revision 103722 - Directory Listing
Modified Mon Dec 9 13:48:44 2019 UTC (6 weeks, 3 days ago) by alexk
Changed date stamps of obsolete messages to the next release when the features obtained a replacement only in the current one.

Revision 103705 - Directory Listing
Modified Fri Dec 6 09:53:39 2019 UTC (6 weeks, 6 days ago) by jfiat
Added warning comment to `get_last_error`, and recommend to get the GetLastError directly in the same related C external.


Revision 103700 - Directory Listing
Modified Thu Dec 5 20:09:58 2019 UTC (7 weeks ago) by alexk
Updated to the most recent version of ECF schema to use new values for warnings.

Revision 103694 - Directory Listing
Modified Mon Dec 2 15:52:12 2019 UTC (7 weeks, 3 days ago) by alexk
Corrected value of the attribute `warning` of element `option` to match the specified ECF schema.

Revision 103693 - Directory Listing
Modified Mon Dec 2 15:46:43 2019 UTC (7 weeks, 3 days ago) by alexk
Rolled the version of the ECF to the previous one because the new one uses different syntax for `obsolete_feature` warning.

Revision 103677 - Directory Listing
Modified Wed Nov 13 14:17:45 2019 UTC (2 months, 1 week ago) by alexk
Changed singatures of features to accept READABLE_STRING_8 instead of STRING_8 to avoid potential conversion at the client side.
Removed features marked as obsolete on 2017-05-31.


Revision 103673 - Directory Listing
Modified Tue Nov 12 10:08:58 2019 UTC (2 months, 1 week ago) by jfiat
Ensure the `last_string.count` has the expected value when using `read_stream`.
(fixed regression introduced by rev#103315)

Revision 103628 - Directory Listing
Modified Tue Oct 29 11:52:59 2019 UTC (2 months, 3 weeks ago) by javierv
enhancement of Vision2 gtk drag and drop implementation.

Revision 103619 - Directory Listing
Modified Mon Oct 28 11:48:01 2019 UTC (2 months, 3 weeks ago) by alexk
Used iteration forms of loops and removed obsolete features.

Revision 103618 - Directory Listing
Modified Mon Oct 28 09:32:14 2019 UTC (2 months, 3 weeks ago) by alexk
Simplified a boolean expression in `build_structured`.

Revision 103603 - Directory Listing
Modified Thu Oct 17 14:21:44 2019 UTC (3 months ago) by javierv
Updated readme with cURL tool command line options and how to generate libcurl c code from a curl command.


Revision 103601 - Directory Listing
Modified Thu Oct 17 12:58:44 2019 UTC (3 months, 1 week ago) by javierv
Updated cURL constants with tcp_keep_alive, header_data, tlsv1_2 and tlsv1_3.



Revision 103592 - Directory Listing
Modified Tue Oct 15 12:49:33 2019 UTC (3 months, 1 week ago) by alexk
Made sure the code in `undo` is void-safe.

Revision 103589 - Directory Listing
Modified Tue Oct 15 10:01:23 2019 UTC (3 months, 1 week ago) by alexk
Preserved cursor position when performing "Undo".
Removed obsolete feature `string_selection`.
Cosmetics.


Revision 103588 - Directory Listing
Modified Tue Oct 15 09:18:57 2019 UTC (3 months, 1 week ago) by alexk
Marked `new_boolean_preference_value` as a class feature.

Revision 103519 - Directory Listing
Modified Wed Sep 25 19:54:53 2019 UTC (3 months, 4 weeks ago) by jfiat
Removed infix/prefix support from various Eiffel (lexer) scanner.
Updated the syntax_updater parser as well.

Revision 103470 - Directory Listing
Modified Thu Sep 5 08:20:21 2019 UTC (4 months, 2 weeks ago) by jfiat
Do not apply shrink workaround when width and height are not positive.

Revision 103466 - Directory Listing
Modified Wed Sep 4 12:28:10 2019 UTC (4 months, 2 weeks ago) by jfiat
Added missing "real_32" and "real_64" features (in addition to the "real" and "double" ones).
bug#19579


Revision 103449 - Directory Listing
Modified Sat Aug 31 07:55:40 2019 UTC (4 months, 3 weeks ago) by alexk
Replaced an obsolete call to `as_string_8` with conversion to UTF-8.

Revision 103438 - Directory Listing
Modified Thu Aug 29 20:16:55 2019 UTC (4 months, 3 weeks ago) by alexk
Made default operator color slightly darker.

Revision 103423 - Directory Listing
Modified Wed Aug 28 11:03:16 2019 UTC (4 months, 3 weeks ago) by alexk
Updated feature signatures to accept READABLE_STRING_8 instead of STRING.

Revision 103422 - Directory Listing
Modified Mon Aug 26 15:54:41 2019 UTC (4 months, 4 weeks ago) by jfiat
Replaced calls to the obsolete 'as_string_8' with proper conversion, and light improvement on unicode support.

Revision 103418 - Directory Listing
Modified Fri Aug 16 17:46:32 2019 UTC (5 months, 1 week ago) by alexk
Changed feature signatures to avoid calls to obsolete feature `as_string_8`.

Revision 103417 - Directory Listing
Modified Fri Aug 16 15:48:46 2019 UTC (5 months, 1 week ago) by alexk
Changed signatures to support Unicode paths.

Revision 103416 - Directory Listing
Modified Fri Aug 16 15:47:44 2019 UTC (5 months, 1 week ago) by alexk
Removed an unnecessary local variable.

Revision 103415 - Directory Listing
Modified Fri Aug 16 15:39:26 2019 UTC (5 months, 1 week ago) by alexk
Avoided a call to obsolete feature `as_string_8`.

Revision 103414 - Directory Listing
Modified Fri Aug 16 14:25:34 2019 UTC (5 months, 1 week ago) by alexk
Changed signatures to support Unicode library names.

Revision 103412 - Directory Listing
Modified Fri Aug 16 13:19:15 2019 UTC (5 months, 1 week ago) by alexk
Changed feature signatures to support Unicode file names and environment variables.

Revision 103411 - Directory Listing
Modified Fri Aug 16 13:17:35 2019 UTC (5 months, 1 week ago) by alexk
Removed an unnecessary local variable.

Revision 103410 - Directory Listing
Modified Fri Aug 16 13:14:34 2019 UTC (5 months, 1 week ago) by alexk
Changed result type of implementation feature `maximum_width_string` to avoid an obsolete call to `as_string_8`.

Revision 103409 - Directory Listing
Modified Fri Aug 16 13:13:22 2019 UTC (5 months, 1 week ago) by alexk
Cosmetics.

Revision 103408 - Directory Listing
Modified Fri Aug 16 13:08:28 2019 UTC (5 months, 1 week ago) by alexk
Changed signatures to support Unicode library names.

Revision 103407 - Directory Listing
Modified Fri Aug 16 11:29:04 2019 UTC (5 months, 1 week ago) by alexk
Replaced an obsolete call to `as_string_8` with conversion to UTF-8.

Revision 103406 - Directory Listing
Modified Fri Aug 16 11:26:57 2019 UTC (5 months, 1 week ago) by alexk
Removed unused code with an obsolete call to `as_string_8`.

Revision 103405 - Directory Listing
Modified Fri Aug 16 11:26:14 2019 UTC (5 months, 1 week ago) by alexk
Avoided a call to `as_string_8` by changing the type of feature `message`.

Revision 103404 - Directory Listing
Modified Wed Aug 7 14:46:32 2019 UTC (5 months, 2 weeks ago) by jfiat
Replaced calls to the obsolete 'as_string_8' with proper conversion.

Revision 103403 - Directory Listing
Modified Wed Aug 7 14:46:12 2019 UTC (5 months, 2 weeks ago) by jfiat
Replaced calls to the obsolete 'as_string_8' with proper conversion.

Revision 103402 - Directory Listing
Modified Wed Aug 7 14:33:26 2019 UTC (5 months, 2 weeks ago) by jfiat
Replaced calls to the obsolete 'as_string_8' with proper conversion.

Revision 103401 - Directory Listing
Modified Wed Aug 7 13:21:50 2019 UTC (5 months, 2 weeks ago) by jfiat
Replaced calls to the obsolete 'as_string_8' with proper conversion.

Revision 103400 - Directory Listing
Modified Wed Aug 7 13:16:02 2019 UTC (5 months, 2 weeks ago) by jfiat
Light improvement on unicode class path support.

Revision 103398 - Directory Listing
Modified Tue Aug 6 07:02:23 2019 UTC (5 months, 2 weeks ago) by jfiat
Replaced calls to the obsolete 'as_string_8' with proper conversion.


Revision 103396 - Directory Listing
Modified Mon Aug 5 12:12:30 2019 UTC (5 months, 2 weeks ago) by jfiat
Made {LEX_BUILDER}.store_analyzer accept READABLE_STRING_GENERAL for file name argument.

Revision 103394 - Directory Listing
Modified Mon Aug 5 08:14:33 2019 UTC (5 months, 2 weeks ago) by jfiat
Replaced calls to the obsolete 'as_string_8' with proper conversion.

Revision 103393 - Directory Listing
Modified Mon Aug 5 08:11:48 2019 UTC (5 months, 2 weeks ago) by jfiat
Replaced calls to the obsolete 'as_string_8' with proper conversion.

Revision 103392 - Directory Listing
Modified Mon Aug 5 07:13:01 2019 UTC (5 months, 2 weeks ago) by jfiat
Replaced calls to the obsolete 'as_string_8' with proper conversion.

Revision 103391 - Directory Listing
Modified Fri Aug 2 17:24:47 2019 UTC (5 months, 3 weeks ago) by jfiat
Replaced calls to the obsolete 'as_string_8' with proper conversion.

Revision 103389 - Directory Listing
Modified Fri Aug 2 17:17:39 2019 UTC (5 months, 3 weeks ago) by jfiat
Replaced calls to the obsolete 'as_string_8' with proper conversion.

Revision 103388 - Directory Listing
Modified Fri Aug 2 16:52:37 2019 UTC (5 months, 3 weeks ago) by jfiat
Replaced calls to the obsolete 'as_string_8' with proper conversion.

Revision 103387 - Directory Listing
Modified Fri Aug 2 16:46:18 2019 UTC (5 months, 3 weeks ago) by jfiat
Replaced calls to the obsolete 'as_string_8' with proper conversion.

Revision 103386 - Directory Listing
Modified Fri Aug 2 16:31:24 2019 UTC (5 months, 3 weeks ago) by jfiat
Updated signature to accept READABLE_STRING_8.

Revision 103385 - Directory Listing
Modified Fri Aug 2 16:25:53 2019 UTC (5 months, 3 weeks ago) by jfiat
Replaced calls to the obsolete 'as_string_8' with proper conversion.

Revision 103384 - Directory Listing
Modified Fri Aug 2 15:19:20 2019 UTC (5 months, 3 weeks ago) by jfiat
Removed usage of as_string_8 in testing.

Revision 103380 - Directory Listing
Modified Fri Aug 2 08:08:17 2019 UTC (5 months, 3 weeks ago) by alexk
Marked `as_string_8` as obsolete to avoid hidden conversion from 32-bit strings to 8-bit ones and from immutable 8-bit strings to mutable ones.
Changed signature of `put_string` and associated features to accept READABLE_STRING_8 instead of STRING_8.
Replaced calls to the obsolete `as_string_8 ` with proper conversion.
Marked {INTERNAL}.type_name as obsolete with a suggestion to use `type_name_32` instead.
Marked {EG_LINKABLE}.link_name as obsolete with a suggestion to use `link_name_32` instead.
Marked {EG_ITEM}.(set_)name as obsolete with a suggestion to use `(set_)name_32` instead.


Revision 103379 - Directory Listing
Modified Fri Aug 2 07:59:03 2019 UTC (5 months, 3 weeks ago) by alexk
Avoided a call to `as_string_8`.

Revision 103378 - Directory Listing
Modified Fri Aug 2 07:54:51 2019 UTC (5 months, 3 weeks ago) by alexk
Used `same_string_general` instead of `same_string` to avoid string conversion.

Revision 103375 - Directory Listing
Modified Fri Aug 2 04:03:18 2019 UTC (5 months, 3 weeks ago) by alexk
Replaced a sequence of calls `goto_i_th`, `remove` with a single call to `remove_i_th`.

Revision 103362 - Directory Listing
Modified Mon Jul 29 18:28:32 2019 UTC (5 months, 3 weeks ago) by alexk
Removed ECF for gexace that is no longer available.

Revision 103361 - Directory Listing
Modified Mon Jul 29 18:27:50 2019 UTC (5 months, 3 weeks ago) by alexk
Updated UUIDs to reflect changes in Gobo.

Revision 103353 - Directory Listing
Modified Wed Jul 24 11:08:47 2019 UTC (6 months ago) by jfiat
Added support for manifest immutable strings, once manifest immutable strings, and immutable string constants.
ex:
  {IMMUTABLE_STRING_32} "Unicode string..."
  once {IMMUTABLE_STRING_8} "once value"
  id: IMMUTABLE_STRING_8 = "abc"
  ...

Revision 103350 - Directory Listing
Modified Tue Jul 23 15:09:46 2019 UTC (6 months ago) by manus
Fix C++ compilation error


Revision 103349 - Directory Listing
Modified Mon Jul 22 14:42:22 2019 UTC (6 months ago) by manus
Fix missing cast causing warnings at C compilation time


Revision 103348 - Directory Listing
Modified Mon Jul 22 14:38:54 2019 UTC (6 months ago) by manus
Defines enums necessary to use the High-DPI API


Revision 103345 - Directory Listing
Modified Thu Jul 18 13:03:50 2019 UTC (6 months ago) by alexk
Replaced obsolete calls with contemporary ones.

Revision 103344 - Directory Listing
Modified Wed Jul 17 22:28:49 2019 UTC (6 months, 1 week ago) by alexk
Removed features used for debugging.

Revision 103340 - Directory Listing
Modified Mon Jul 15 13:05:22 2019 UTC (6 months, 1 week ago) by alexk
Used explicit string conversion instead of implicit one.

Revision 103337 - Directory Listing
Modified Fri Jul 12 10:42:05 2019 UTC (6 months, 1 week ago) by alexk
Replaced regular loops with iteration ones.

Revision 103336 - Directory Listing
Modified Thu Jul 11 20:37:40 2019 UTC (6 months, 1 week ago) by jfiat
Removed uuid in ecf redirection.

Revision 103325 - Directory Listing
Modified Fri Jul 5 15:26:16 2019 UTC (6 months, 2 weeks ago) by alexk
Added Unicode aliases to features `has`, `is_subset` and `is_superset`.

Revision 103324 - Directory Listing
Modified Thu Jul 4 08:33:30 2019 UTC (6 months, 2 weeks ago) by alexk
Removed preconditions that were relaxing inherited ones with the wrong assumption that the combined precondition would be stonger.
Cosmetics.


Revision 103320 - Directory Listing
Modified Sat Jun 29 12:33:09 2019 UTC (6 months, 3 weeks ago) by alexk
Relaxed a precondition of the feature `remove` to restore the contract of the feature before adding the inheritance link to DYNAMIC_TABLE (this fixes test#table014).

Revision 103316 - Directory Listing
Modified Tue Jun 25 14:21:54 2019 UTC (6 months, 4 weeks ago) by jfiat
Do not include the registry storage on non Windows platform.

Revision 103315 - Directory Listing
Modified Mon Jun 24 14:45:24 2019 UTC (7 months ago) by manus
Avoid string creations in read_stream


Revision 103311 - Directory Listing
Modified Mon Jun 24 08:05:31 2019 UTC (7 months ago) by jfiat
Removed previous duplication with preferences_xml.ecf and preferences_reg.ecf that was causing conflicts.
 - Now the default preferences storage is XML, except on Windows where it is Registry keys.
 - It is possible to override that default for Windows, using the custom variable <custom name="pref_default_storage" value="xml"/>
Also fixed potential cat call for header pointer press action.

Revision 103310 - Directory Listing
Modified Fri Jun 21 05:57:52 2019 UTC (7 months ago) by alexk
Corrected export status of `remove_i_th`.

Revision 103306 - Directory Listing
Modified Thu Jun 20 20:43:33 2019 UTC (7 months ago) by alexk
Added a class DYNAMIC_TABLE with a feature `remove` that is implemented by descendants supporting removal of table items.

Revision 103295 - Directory Listing
Modified Fri Jun 14 17:07:58 2019 UTC (7 months, 1 week ago) by alexk
Replaced assignment attempts with calls on type objects.

Revision 103289 - Directory Listing
Modified Fri Jun 14 11:59:23 2019 UTC (7 months, 1 week ago) by alexk
Added missing separate marks.

Revision 103288 - Directory Listing
Modified Fri Jun 14 11:39:52 2019 UTC (7 months, 1 week ago) by alexk
Replaced obsolete calls with contemporary ones.

Revision 103287 - Directory Listing
Modified Fri Jun 14 11:38:49 2019 UTC (7 months, 1 week ago) by alexk
Replaced assignment attempts with calls on type objects.

Revision 103286 - Directory Listing
Modified Fri Jun 14 11:36:55 2019 UTC (7 months, 1 week ago) by alexk
Replaced assignment attempts with calls on type objects.

Revision 103285 - Directory Listing
Modified Fri Jun 14 11:24:00 2019 UTC (7 months, 1 week ago) by alexk
Removed empty brackets.

Revision 103284 - Directory Listing
Modified Fri Jun 14 11:14:00 2019 UTC (7 months, 1 week ago) by alexk
Fixed a bug when a pointer value was compared against `Void` instead of `default_pointer`.

Revision 103283 - Directory Listing
Modified Fri Jun 14 10:38:34 2019 UTC (7 months, 1 week ago) by alexk
Replaced FILE_NAME with PATH.

Revision 103282 - Directory Listing
Modified Fri Jun 14 09:17:30 2019 UTC (7 months, 1 week ago) by alexk
Removed unknown class names from an export list.

Revision 103281 - Directory Listing
Modified Fri Jun 14 09:16:13 2019 UTC (7 months, 1 week ago) by alexk
Replaced obsolete calls with contemporary ones.

Revision 103280 - Directory Listing
Modified Fri Jun 14 08:46:01 2019 UTC (7 months, 1 week ago) by alexk
Replaced obsolete calls with contemporary ones.

Revision 103279 - Directory Listing
Modified Fri Jun 14 08:38:30 2019 UTC (7 months, 1 week ago) by alexk
Replaced obsolete calls with contemporary ones.

Revision 103278 - Directory Listing
Modified Fri Jun 14 08:27:30 2019 UTC (7 months, 1 week ago) by alexk
Replaced assignment attempts with calls on type objects.

Revision 103277 - Directory Listing
Modified Fri Jun 14 08:25:17 2019 UTC (7 months, 1 week ago) by alexk
Marked a feature using obsolete class FILE_NAME as obsolete.

Revision 103276 - Directory Listing
Modified Fri Jun 14 08:22:07 2019 UTC (7 months, 1 week ago) by alexk
Replaced an obsolete feature call with a contemporary one.

Revision 103275 - Directory Listing
Modified Fri Jun 14 07:31:52 2019 UTC (7 months, 1 week ago) by alexk
Replaced an infix feature name with an alias.

Revision 103274 - Directory Listing
Modified Fri Jun 14 07:31:12 2019 UTC (7 months, 1 week ago) by alexk
Replaced assignment attempts with calls on type objects.

Revision 103273 - Directory Listing
Modified Fri Jun 14 07:15:24 2019 UTC (7 months, 1 week ago) by alexk
Replaced an infix feature name with an alias.

Revision 103272 - Directory Listing
Modified Fri Jun 14 07:10:42 2019 UTC (7 months, 1 week ago) by alexk
Replaced an obsolete feature call with a contemporary one.

Revision 103271 - Directory Listing
Modified Fri Jun 14 07:08:10 2019 UTC (7 months, 1 week ago) by alexk
Removed an unused local variable.

Revision 103270 - Directory Listing
Modified Fri Jun 14 07:05:09 2019 UTC (7 months, 1 week ago) by alexk
Removed an unused local variable.

Revision 103269 - Directory Listing
Modified Fri Jun 14 07:04:49 2019 UTC (7 months, 1 week ago) by alexk
Marked a feature using obsolete class FILE_NAME as obsolete.

Revision 103268 - Directory Listing
Modified Thu Jun 13 10:39:40 2019 UTC (7 months, 1 week ago) by alexk
Marked a test feature as obsolete due to the (transitive) use of the obsolete class FILE_NAME.

Revision 103263 - Directory Listing
Modified Thu Jun 13 08:29:01 2019 UTC (7 months, 1 week ago) by alexk
Changed warning level to 'error' to catch any regression immediately.

Revision 103262 - Directory Listing
Modified Thu Jun 13 08:22:03 2019 UTC (7 months, 1 week ago) by alexk
Marked features using obsolete class FILE_NAME as obsolete.

Revision 103261 - Directory Listing
Modified Tue Jun 11 15:17:04 2019 UTC (7 months, 1 week ago) by alexk
Removed unused local variables.

Revision 103260 - Directory Listing
Modified Tue Jun 11 09:38:38 2019 UTC (7 months, 1 week ago) by alexk
Marked the class as obsolete to make use clients are notified about the obsolete library.

Revision 103259 - Directory Listing
Modified Tue Jun 11 09:28:30 2019 UTC (7 months, 1 week ago) by alexk
Fixed a bug causing assertion violation when the estimated size of the input data in `make_from_iterable` is imprecise.

Revision 103257 - Directory Listing
Modified Fri Jun 7 15:12:34 2019 UTC (7 months, 2 weeks ago) by jfiat
Added missing closing curly brace in .h code.

Revision 103256 - Directory Listing
Modified Tue Jun 4 05:10:43 2019 UTC (7 months, 2 weeks ago) by alexk
Added synonyms `put_real_32`, `put_real_64`, `read_real_32`, `read_real_64`.

Revision 103251 - Directory Listing
Modified Sun Jun 2 12:32:28 2019 UTC (7 months, 3 weeks ago) by alexk
Changed warning level to 'error' to catch any regression immediately.

Revision 103212 - Directory Listing
Modified Fri May 24 16:28:19 2019 UTC (8 months ago) by alexk
Enabled warnings.

Revision 103211 - Directory Listing
Modified Fri May 24 16:27:38 2019 UTC (8 months ago) by alexk
Added synonyms `put_real_32`, `put_real_64`, `read_real_32`, `read_real_64`.

Revision 103210 - Directory Listing
Modified Fri May 24 14:24:30 2019 UTC (8 months ago) by alexk
Added synonyms `put_real_32`, `put_real_64`, `read_real_32`, `read_real_64`.

Revision 103209 - Directory Listing
Modified Fri May 24 12:50:14 2019 UTC (8 months ago) by alexk
Added synonyms `put_real_32`, `put_real_64`, `read_real_32`, `read_real_64`, `last_real_32`, `last_real_64`.

Revision 103207 - Directory Listing
Modified Fri May 24 12:42:40 2019 UTC (8 months ago) by javierv
Updated `WEL_SCALING_EXTERNALS` check if the context for a window named Per Monitor v2 is defined, available since the Creators Update of Windows 10.

Revision 103206 - Directory Listing
Modified Fri May 24 12:40:36 2019 UTC (8 months ago) by alexk
Updated to the most recent version of ECF schema to use new defaults.

Revision 103204 - Directory Listing
Modified Fri May 24 12:10:35 2019 UTC (8 months ago) by alexk
Removed unused local variables.

Revision 103203 - Directory Listing
Modified Thu May 23 10:06:23 2019 UTC (8 months ago) by alexk
Marked the library as completely void-safe.

Revision 103200 - Directory Listing
Modified Wed May 22 20:43:40 2019 UTC (8 months ago) by javierv
Updated wel_scaling_api.h header to include Windows Scaling Context API
Updated WEL_SCALING_EXTERNAL to use scaling context API.

Revision 103198 - Directory Listing
Modified Wed May 22 19:51:07 2019 UTC (8 months ago) by javierv
Reverted changes to rev 103182

Revision 103196 - Directory Listing
Modified Wed May 22 19:38:21 2019 UTC (8 months ago) by javierv
Updated EiffelStudio About dialog to show the current monitor dpi.

Revision 103190 - Directory Listing
Modified Wed May 22 14:27:00 2019 UTC (8 months ago) by javierv
Updated WEL_SCALING_EXTERNALS features  `c_get_dpi_for_monitor`, `c_set_process_dpi_awareness` and `c_get_process_dpi_awareness` to check if the `DPI_ENUMS_DECLARED` are defined to avoid issues
with older versions of Windows that does not support Windows Scaling API. (shellscalingapi.h). https://docs.microsoft.com/en-us/windows/desktop/api/_hidpi/

Revision 103186 - Directory Listing
Modified Mon May 20 18:25:00 2019 UTC (8 months ago) by jfiat
Updated inline Eiffel externals, and removed unneeded wel_scaling_utility.e.

Revision 103185 - Directory Listing
Modified Mon May 20 17:59:00 2019 UTC (8 months ago) by javierv
Added new wel_scaling_api.h header 
Updated class WEL_SCALING_EXTERNALS to use the new wel_scaling_api.h header, to avoid issues with Mingw.

Revision 103183 - Directory Listing
Modified Mon May 20 14:56:34 2019 UTC (8 months ago) by jfiat
Fixed Windows C call convention for function pointer. Mostly critical for 32bits.

Revision 103182 - Directory Listing
Modified Mon May 20 13:46:30 2019 UTC (8 months ago) by jfiat
Code improvements for dpi scaling facilities, especially when the functionality is not available.

Revision 103179 - Directory Listing
Modified Sat May 18 14:57:37 2019 UTC (8 months ago) by javierv
Updated WEL_SCALING_EXTERNALS default_create with a rescue clause to avoid issues with HighDPI on Windows 32.

Revision 103156 - Directory Listing
Modified Mon May 13 13:51:16 2019 UTC (8 months, 1 week ago) by alexk
Made creation procedures generally available (as in 18.07 and earlier) to support the use case when an object is created by its type ID and needs to be initialized before use.

Revision 103145 - Directory Listing
Modified Thu May 9 12:58:18 2019 UTC (8 months, 2 weeks ago) by jfiat
Replaced obsolete reverse assignment attempts by object tests.

Revision 103143 - Directory Listing
Modified Thu May 9 08:38:36 2019 UTC (8 months, 2 weeks ago) by jfiat
Improved comments.
(suggestion from https://github.com/EiffelSoftware/EiffelStudio/pull/48)

Revision 103140 - Directory Listing
Modified Wed May 8 16:21:04 2019 UTC (8 months, 2 weeks ago) by jfiat
Removed extra spaces.

See https://github.com/EiffelSoftware/EiffelStudio/pull/47/

Revision 103123 - Directory Listing
Modified Thu May 2 12:35:24 2019 UTC (8 months, 3 weeks ago) by javierv
Updated EiffelBase classes `ISE_RUNTIME`, `REFLECTED_COPY_SEMANTICS_OBJECT`, `REFLECTOR` implemented with built-in routines instead of external `C.




Revision 103113 - Directory Listing
Modified Tue Apr 30 09:01:55 2019 UTC (8 months, 3 weeks ago) by alexk
Added IEEE-754-compliant comparison features.

Revision 103082 - Directory Listing
Modified Fri Apr 19 12:59:32 2019 UTC (9 months ago) by javierv
Added features `hue_as_segments` and `hue_as_degrees` to EV_COLOR.

Revision 103068 - Directory Listing
Modified Wed Apr 10 13:08:00 2019 UTC (9 months, 2 weeks ago) by jfiat
Better integration of IDN hostname with previous URI and IRI design.


Revision 103064 - Directory Listing
Modified Tue Apr 9 17:07:55 2019 UTC (9 months, 2 weeks ago) by jfiat
Use {STRING_32}.insert_character (...) instead of unknown insert_code (...).

Revision 103063 - Directory Listing
Modified Tue Apr 9 07:06:44 2019 UTC (9 months, 2 weeks ago) by jfiat
Updated comments and notes.

Revision 103062 - Directory Listing
Modified Mon Apr 8 19:33:52 2019 UTC (9 months, 2 weeks ago) by jfiat
Added support for IDNA (Internationalized Domain Names in Applications), using Punycode encoding.


Revision 102994 - Directory Listing
Modified Thu Mar 21 10:31:08 2019 UTC (10 months ago) by javierv
Updated HighDPI implementation with a new dpi event to handle it for every widget.
Updated Vision2 implementations with the new event dpi.
Added class EV_DPI_ACTION_SEQUENCE 
Updated class EV_MONITOR_DPI_DETECTOR with a new feature to scale value to the current monitor dpi and updated features to be instance-free.



Revision 102984 - Directory Listing
Modified Wed Mar 20 17:08:56 2019 UTC (10 months ago) by jfiat
Removed `curr` parameter from `RTDBGAL` macro.

Revision 102962 - Directory Listing
Modified Mon Mar 18 08:37:36 2019 UTC (10 months, 1 week ago) by jfiat
Removed redefinitions that violate VDRS(4) when a deferred feature is effected in the class, not redefined.

Revision 102950 - Directory Listing
Modified Mon Mar 11 13:20:02 2019 UTC (10 months, 2 weeks ago) by jfiat
Removed redefinitions that violate VDRS(4) when a deferred feature is effected in the class, not redefined.

Revision 102925 - Directory Listing
Modified Tue Mar 5 10:05:09 2019 UTC (10 months, 2 weeks ago) by alexk
Removed a class invariant that depends on external software and cannot be guaranteed.
Removed unused local variables.


Revision 102919 - Directory Listing
Modified Mon Mar 4 14:01:15 2019 UTC (10 months, 3 weeks ago) by javierv
Fixed issue loading Scaling API.

Revision 102879 - Directory Listing
Modified Fri Mar 1 14:27:18 2019 UTC (10 months, 3 weeks ago) by javierv
Updated WEL_SCALING_EXTERNALS and WEL_SCALING_UTILITY removing the dependency to api_wrapper to load the dynamic library Schore.dll
Updated wel.ecf to remove the api_wrapper dependency 
Updated Vision2 classs EV_APPLICATION_IMP to use the new  WEL_SCALING_EXTERNALS code to set the process as dpi aware
Updated Vision2 classs EV_MONITOR_DPI_DETECTOR_IMP to use the new  WEL_SCALING_EXTERNALS code to get the current monitor dpi.

Revision 102869 - Directory Listing
Modified Fri Mar 1 14:07:20 2019 UTC (10 months, 3 weeks ago) by alexk
Removed an unnecessary object test.

Revision 102868 - Directory Listing
Modified Fri Mar 1 14:05:50 2019 UTC (10 months, 3 weeks ago) by alexk
Enabled warnings.

Revision 102867 - Directory Listing
Modified Fri Mar 1 14:05:26 2019 UTC (10 months, 3 weeks ago) by alexk
Enabled warnings.

Revision 102866 - Directory Listing
Modified Fri Mar 1 14:02:08 2019 UTC (10 months, 3 weeks ago) by alexk
Added postconditions that specify status of elements.

Revision 102865 - Directory Listing
Modified Fri Mar 1 12:44:29 2019 UTC (10 months, 3 weeks ago) by javierv
Added basic computation of monitor dpi for GTK2 using EV_SCREEN_IMP.horizontal_resolution that internally uses gdk_screen_get_resolution

Revision 102864 - Directory Listing
Modified Thu Feb 28 12:06:45 2019 UTC (10 months, 3 weeks ago) by javierv
Updated WEL_SCALING_EXTERNALS, check if the externals functions exists in the dll before to call it.

Revision 102862 - Directory Listing
Modified Thu Feb 28 09:48:07 2019 UTC (10 months, 3 weeks ago) by alexk
Removed dependency on GDI+ header files that are not always available, e.g. in old MinGW distributions.

Revision 102860 - Directory Listing
Modified Wed Feb 27 12:28:06 2019 UTC (10 months, 3 weeks ago) by javierv
Updated WEL library to load the Windows scaling API dynamically.
Added two new classes WEL_SCALING_UTILITY and WEL_SCALING_EXTERNALS using api-wrapper library to load and wrap Scaling functions used by High-DPI.
Updated Vision2 code (Windows) to set the process as dpi per monitor aware iff the Windows Scaling API is available.


Revision 102853 - Directory Listing
Modified Wed Feb 20 15:19:53 2019 UTC (11 months ago) by jfiat
Fixed void-safe compilation.

Revision 102852 - Directory Listing
Modified Mon Feb 18 14:33:50 2019 UTC (11 months ago) by jfiat
Use new `EXECUTION_ENVIRONMENT.temporary_directory_path` to create filename in temporary directory location.

Revision 102848 - Directory Listing
Modified Mon Feb 18 11:07:51 2019 UTC (11 months ago) by jfiat
Harmonized implementation of `EXECUTION_ENVIRONMENT.temporary_directory_name` with other similar functions (home_directory_path, ...).

Revision 102846 - Directory Listing
Modified Fri Feb 15 21:36:35 2019 UTC (11 months, 1 week ago) by javierv
Updated C code to get tempoary directory path, fixed the way to get temporary directory on VMS.
Added feature `temporary_directory_path` to class `EXECUTION_ENVIRONMENT`. 
Updated testing code for temporary directory path.

Revision 102844 - Directory Listing
Modified Wed Feb 13 23:18:09 2019 UTC (11 months, 1 week ago) by javierv
Updated test case for temporary directory path for Linux

Revision 102842 - Directory Listing
Modified Wed Feb 13 22:40:16 2019 UTC (11 months, 1 week ago) by javierv
Fixed bad indentation.

Revision 102841 - Directory Listing
Modified Wed Feb 13 22:38:24 2019 UTC (11 months, 1 week ago) by javierv
Added a new feature `temporary_directory_path` to `OPERATING_ENVIRONMENT` class to get the temporary directory path.
Added a test case for `OPERATING_ENVIRONMENT.temporary_directory_path`

Revision 102836 - Directory Listing
Modified Wed Feb 13 15:31:20 2019 UTC (11 months, 1 week ago) by jfiat
Updated comment of `Directory_separator`.


Revision 102829 - Directory Listing
Modified Tue Feb 12 14:27:15 2019 UTC (11 months, 1 week ago) by javierv
Updated feature name to `set_process_per_monitor_dpi_aware`.

Revision 102809 - Directory Listing
Modified Fri Feb 8 07:45:05 2019 UTC (11 months, 2 weeks ago) by jfiat
Removed ecf_support as now Gobo Eiffel tools has native support for ECF files.

Revision 102808 - Directory Listing
Modified Thu Feb 7 23:00:53 2019 UTC (11 months, 2 weeks ago) by jfiat
Updated to Gobo Eiffel version 4.3 (with minor changes)

Revision 102804 - Directory Listing
Modified Thu Feb 7 19:14:08 2019 UTC (11 months, 2 weeks ago) by javierv
Updated api_wrapper library: updated obsolete call, using PATH instead obsolete class FILE_NAME in class: DYNAMIC_API_LOADER feature: load_library.
Updated cURL simple example: updated obsolete call using is_api_available instead of is_dynamic_library_exists.


Revision 102802 - Directory Listing
Modified Thu Feb 7 13:09:31 2019 UTC (11 months, 2 weeks ago) by jfiat
Removed redefinitions that violate VDRS(4) when a deferred feature is effected in the class, not redefined.

Revision 102800 - Directory Listing
Modified Thu Feb 7 11:58:51 2019 UTC (11 months, 2 weeks ago) by javierv
Added the constant Wm_dpichanged to class wel_wm_constants.e
Updated {WEL_WINDOW}.window_process_message feature to handle WM_DPICHANGED message
Added a new feature to class {WEL_WINDOW}.on_dpi_changed
Added a new feature {WEL_API}.enable_non_client_dpi_scaling,called during the intialization of a window.

Revision 102780 - Directory Listing
Modified Mon Feb 4 18:24:36 2019 UTC (11 months, 2 weeks ago) by javierv
Fixed header comment in FILE.eif_temp_file

Revision 102770 - Directory Listing
Modified Sat Feb 2 17:01:46 2019 UTC (11 months, 2 weeks ago) by javierv
Added EV_MONITOR_DPI_DETECTOR implementations to cocoa and gtk34.

Revision 102762 - Directory Listing
Modified Sat Feb 2 07:49:15 2019 UTC (11 months, 2 weeks ago) by jfiat
Removed redefine declarations raising VDRS errors.

Revision 102755 - Directory Listing
Modified Fri Feb 1 13:44:09 2019 UTC (11 months, 3 weeks ago) by javierv
Added support class to detect Monitor DPI.

Revision 102749 - Directory Listing
Modified Thu Jan 31 22:16:47 2019 UTC (11 months, 3 weeks ago) by javierv
Updated ev_application_imp.e to be process dpi aware per monitor.


Revision 102748 - Directory Listing
Modified Thu Jan 31 22:14:26 2019 UTC (11 months, 3 weeks ago) by javierv
Updated WEL_API with HighDPI support 
Added the header ShellScalingAPI.h to wel.h
Updated ecf with the needed library shcore.lib


Revision 102745 - Directory Listing
Modified Thu Jan 31 11:17:45 2019 UTC (11 months, 3 weeks ago) by javierv
Fixed FILE_INFO feature `pointer_to_file_name_32` encode file names.
Fixed FILE feature `make_open_temporary_file_with_prefix` using FILE_INFO's knowdledge to encode file names.

Revision 102744 - Directory Listing
Modified Wed Jan 30 21:31:12 2019 UTC (11 months, 3 weeks ago) by javierv
Updated {FILE}.make_open_temporary_with_prefix, on windows the returned template names is represented
as a wide character type encoded as UTF-16LE.
Added test cases for temporary files with spaces and templates with a path like '/tmp/eif_'
Updated default temporary prefix to 'eiftmp' to make an easier connection with an eiffel program.

Revision 102743 - Directory Listing
Modified Wed Jan 30 11:35:36 2019 UTC (11 months, 3 weeks ago) by jfiat
Removed redefinitions that violate VDRS

Revision 102742 - Directory Listing
Modified Wed Jan 30 11:27:16 2019 UTC (11 months, 3 weeks ago) by jfiat
Fixed VDRS error due to unwanted 'redefine' declaration

Revision 102741 - Directory Listing
Modified Wed Jan 30 11:03:48 2019 UTC (11 months, 3 weeks ago) by jfiat
removed unwanted redefine on deferred feature

Revision 102739 - Directory Listing
Modified Mon Jan 28 04:58:01 2019 UTC (11 months, 3 weeks ago) by manus
Improve code for new `eif_file_mkstemp` C external and usage in FILE

Revision 102737 - Directory Listing
Modified Sun Jan 27 00:36:51 2019 UTC (11 months, 3 weeks ago) by javierv
Updated class FILE to fix validity error.

Revision 102736 - Directory Listing
Modified Fri Jan 25 23:40:01 2019 UTC (11 months, 4 weeks ago) by javierv
Updated class FILE_NAME to avoid the call to tempnam that causes C compiler to report security warning, using the new feature FILE.make_open_temporary.
Updated class FILE and Runtime eif_file.h and file.c files to add Unicode support to create temporary files.


Revision 102735 - Directory Listing
Modified Fri Jan 25 17:02:17 2019 UTC (11 months, 4 weeks ago) by jfiat
fixed signature of gtk_widget_is_focus

Revision 102734 - Directory Listing
Modified Fri Jan 25 11:29:18 2019 UTC (11 months, 4 weeks ago) by jfiat
Use grab focus if gtk_window_set_focus does not get the focus right away.
Added gtk_widget_is_focus, gtk_window_get_focus.

Revision 102733 - Directory Listing
Modified Thu Jan 24 15:26:26 2019 UTC (11 months, 4 weeks ago) by javierv
Updated file.c code, added header share.h and removed constant `_SH_DENYRW`
and `rt_temp_file` now is only available on Windows.
Updated base library test cases, remove obsolete feature calls.


Revision 102731 - Directory Listing
Modified Mon Jan 21 21:13:48 2019 UTC (12 months ago) by javierv
Updated FILE class: moved C code to create temporary files to the runtime.



Revision 102728 - Directory Listing
Modified Mon Jan 21 10:30:29 2019 UTC (12 months ago) by alexk
Fixed bug#19513 caused by a bug during refactoring in rev#102516 that resulted in discarding image data when no mask is used (reproducible with example#vision2/edraw).

Revision 102725 - Directory Listing
Modified Wed Jan 16 13:04:46 2019 UTC (12 months, 1 week ago) by javierv
Updated external code to create a temporary file
Using _O_BINARY mode for RAW_FILE and _O_TEXT mode for PLAT_TEXT_FILE
Using the modifiers  SH_DENYWR that denies write access to file and _O_NOINHERI that prevents creation of a shared file descriptor.


Revision 102724 - Directory Listing
Modified Wed Jan 16 11:01:13 2019 UTC (12 months, 1 week ago) by javierv
Removed header `share.h` from eif_temp_file external feature that's only available on Windows.

Revision 102722 - Directory Listing
Modified Tue Jan 15 15:59:51 2019 UTC (12 months, 1 week ago) by javierv
Removed unneeded local variables.
Updated make_open_temporary_with_prefix feature to use the feature fd_open_read_write (l_fd) instead of open_read_write
Updated eif_temp_file code 

Revision 102704 - Directory Listing
Modified Tue Jan 15 08:41:13 2019 UTC (12 months, 1 week ago) by alexk
Relaxed a precondition of `required_width_of_item_span` to allow calling the feature when there are no rows.

Revision 102703 - Directory Listing
Modified Fri Jan 11 15:18:22 2019 UTC (12 months, 1 week ago) by javierv
Removed unneeded local variables.
Updated C external code for eif_temp_file feature.


Revision 102702 - Directory Listing
Modified Fri Jan 11 11:15:01 2019 UTC (12 months, 1 week ago) by javierv
Updated {FILE}.eif_temp_file 
  * Added MingGW support for mkstemp function to generate a unique temporary file name.
  * Fixed bad identation. 

Revision 102701 - Directory Listing
Modified Fri Jan 11 07:22:59 2019 UTC (12 months, 1 week ago) by alexk
Removed empty note tags.

Revision 102700 - Directory Listing
Modified Thu Jan 10 14:55:46 2019 UTC (12 months, 1 week ago) by javierv
Added new creations procedures make_open_temporary and make_open_temporary_with_prefix to the class FILE on base library and .Net base library.
FILE_NAME marked as obsolete because it does not support Unicode and PATH should be used instead.
Added unit test cases for temporary files.


Revision 102699 - Directory Listing
Modified Thu Jan 10 10:51:22 2019 UTC (12 months, 1 week ago) by javierv
Updated null device support, FILE class on .Net, set the internal stream with STREAM.null when null devide is used.


Revision 102695 - Directory Listing
Modified Wed Jan 9 16:48:49 2019 UTC (12 months, 2 weeks ago) by javierv
Added new class features  null_name  and  null_path  for null file names ( /dev/null  on Linux,  null  on Windows) to the class FILE on .Net

Revision 102693 - Directory Listing
Modified Mon Jan 7 18:09:42 2019 UTC (12 months, 2 weeks ago) by javierv
Added new class features  null_name  and  null_path  for null file names ( /dev/null  on Linux,  null  on Windows, etc.) to the class FILE.

Revision 102632 - Directory Listing
Modified Wed Dec 19 13:12:21 2018 UTC (13 months ago) by alexk
Removed redefinitions that violate VDRS(4) when a deferred feature is effected in the class, not redefined.

Revision 102630 - Directory Listing
Modified Wed Dec 19 11:24:18 2018 UTC (13 months ago) by alexk
Marked the test class as obsolete to avoid obsolete warnings because the test is for an obsolete class.

Revision 102628 - Directory Listing
Modified Tue Dec 18 18:07:47 2018 UTC (13 months ago) by alexk
Removed redefinitions that violate VDRS(4) when a deferred feature is effected in the class, not redefined.

Revision 102624 - Directory Listing
Modified Tue Dec 18 11:03:05 2018 UTC (13 months ago) by alexk
Removed redefinitions that violate VDRS(4) when a deferred feature is effected in the class, not redefined.

Revision 102623 - Directory Listing
Modified Tue Dec 18 10:46:58 2018 UTC (13 months ago) by alexk
Removed redefinitions that violate VDRS(4) when a deferred feature is effected in the class, not redefined.

Revision 102608 - Directory Listing
Modified Sat Dec 15 18:06:16 2018 UTC (13 months, 1 week ago) by alexk
Removed redefinitions that violate VDRS(4) when a deferred feature is effected in the class, not redefined.

Revision 102607 - Directory Listing
Modified Sat Dec 15 18:01:30 2018 UTC (13 months, 1 week ago) by alexk
Removed an obsolete feature `move`.
Removed redefinitions that violate VDRS(4) when a deferred feature is effected in the class, not redefined.


Revision 102599 - Directory Listing
Modified Sat Dec 15 09:43:06 2018 UTC (13 months, 1 week ago) by alexk
Removed an obsolete feature `register_preference_widget`.
Avoided creation of intermetiate objects with all preferences when no filter is specified (the corresponding search table is used directly).
Removed unnecessary voidness checks.
Simplified code.


Revision 102587 - Directory Listing
Modified Thu Dec 13 04:56:32 2018 UTC (13 months, 1 week ago) by alexk
Added a type cast in the 3rd argument to `syslog` to avoid warnings.

Revision 102582 - Directory Listing
Modified Wed Dec 12 13:54:38 2018 UTC (13 months, 1 week ago) by alexk
Fixed a call to `syslog` on Linux to avoid vulnerability caused by passing a string with format specifiers (see https://stackoverflow.com/questions/53743360/).


Revision 102579 - Directory Listing
Modified Mon Dec 10 21:45:52 2018 UTC (13 months, 1 week ago) by jfiat
Reverted for now rev#102575 as it breaks C compilation of Eiffel bindings such as zeromq, openssl, ...

Revision 102578 - Directory Listing
Modified Mon Dec 10 14:39:27 2018 UTC (13 months, 1 week ago) by alexk
Removed dependency of EV_POINTER_STYLE and EV_POINTER_STYLE_I from the obsolete class EV_CURSOR.
Moved conversion of EV_CURSOR to EV_POINTER_STYLE from EV_POINTER_STYLE to EV_CURSOR.


Revision 102575 - Directory Listing
Modified Mon Dec 10 09:41:41 2018 UTC (13 months, 2 weeks ago) by jfiat
Include winsock.h instead of just winsock2.h .
- winsock.h includes winsock2.h
- in recent Windows SDK 8.1, it is directly part of winsock.h (so winsock2.h is not enough).
bug#19508


Revision 102553 - Directory Listing
Modified Mon Dec 3 19:01:09 2018 UTC (13 months, 2 weeks ago) by jfiat
Marked UUID_GENERATOR.seed as instance-free .
bug#19505


Revision 102548 - Directory Listing
Modified Fri Nov 30 11:40:30 2018 UTC (13 months, 3 weeks ago) by alexk
Added LINKED_TREE_ITERATION_CURSOR that conforms to both TREE_ITERATION_CURSOR and LINKED_LIST_ITERATION_CURSOR.

Revision 102547 - Directory Listing
Modified Fri Nov 30 11:38:16 2018 UTC (13 months, 3 weeks ago) by alexk
Cosmetics.

Revision 102546 - Directory Listing
Modified Thu Nov 29 13:44:34 2018 UTC (13 months, 3 weeks ago) by alexk
Added TWO_WAY_TREE_ITERATION_CURSOR that conforms to both TREE_ITERATION_CURSOR and TWO_WAY_LIST_ITERATION_CURSOR.

Revision 102545 - Directory Listing
Modified Thu Nov 29 13:42:19 2018 UTC (13 months, 3 weeks ago) by alexk
Used an anchored type in the creation procedure to simplify redeclaration in descendants.

Revision 102544 - Directory Listing
Modified Thu Nov 29 11:17:45 2018 UTC (13 months, 3 weeks ago) by alexk
Excluded LINKED_TREE and TWO_WAY_TREE because after recent changes they violate VDRD-2 (detected by Gobo compiler) for the selected version of `new_cursor`.

Revision 102530 - Directory Listing
Modified Fri Nov 23 15:41:53 2018 UTC (14 months ago) by alexk
Added a feature to enable/disable anti-aliasing.

Revision 102517 - Directory Listing
Modified Fri Nov 23 12:32:18 2018 UTC (14 months ago) by alexk
Added an attribute that indicates whether anti-aliasing should be used and enabled it by default.

Revision 102516 - Directory Listing
Modified Fri Nov 23 12:21:48 2018 UTC (14 months ago) by alexk
Added a feature to enable/disable anti-aliasing and provided an implementation on Windows.

Revision 102512 - Directory Listing
Modified Thu Nov 22 14:17:56 2018 UTC (14 months ago) by jfiat
Replaced "Flat" by "Search" in preferences tool.

Revision 102503 - Directory Listing
Modified Tue Nov 20 10:57:38 2018 UTC (14 months ago) by alexk
Marked `is_valid_uuid` as a class feature to allow using it without the need to create an object.

Revision 102500 - Directory Listing
Modified Tue Nov 20 10:20:32 2018 UTC (14 months ago) by alexk
Marked features returning predefined encodings as class ones.

Revision 102463 - Directory Listing
Modified Wed Nov 14 15:15:17 2018 UTC (14 months, 1 week ago) by alexk
Marked the following features as obsolete:
	- duplicate (HEAP_PRIORITY_QUEUE, SUBSET, TREE and descendants)
	- duplicate_all (ARRAYED_TREE, BINARY_TREE, DYNAMIC_TREE, FIXED_TREE)
	- fill (TREE)
	- fill_subtree (TREE and descendants)
	- new_chain (DYNAMIC_CHAIN, MULTIARRAY_LIST, TWO_WAY_TREE and descendants)
	- new_filled_list (ARRAYED_LIST and descendants)
	- new_node (ARRAYED_TREE, FIXED_TREE)
	- new_tree (BINARY_TREE, DYNAMIC_TREE, LINKED_TREE, TWO_WAY_TREE)


Revision 102462 - Directory Listing
Modified Wed Nov 14 14:55:55 2018 UTC (14 months, 1 week ago) by alexk
Removed unnecessary local variables.

Revision 102461 - Directory Listing
Modified Wed Nov 14 14:54:22 2018 UTC (14 months, 1 week ago) by alexk
Commented out code that is never executed.

Revision 102457 - Directory Listing
Modified Wed Nov 14 14:41:36 2018 UTC (14 months, 1 week ago) by alexk
Disabled code analyzer rules that are not applicable to the particular classes.

Revision 102456 - Directory Listing
Modified Wed Nov 14 14:40:16 2018 UTC (14 months, 1 week ago) by alexk
Removed unneeded parentheses.

Revision 102449 - Directory Listing
Modified Tue Nov 13 12:58:34 2018 UTC (14 months, 1 week ago) by alexk
Marked the feature `duplicate` as obsolete.
Added a new creation procedure `make_from_iterable`.
Updated code that used `duplicate` to avoid calling it.


Revision 102447 - Directory Listing
Modified Tue Nov 13 12:47:32 2018 UTC (14 months, 1 week ago) by alexk
Enabled warnings.

Revision 102444 - Directory Listing
Modified Tue Nov 13 12:21:41 2018 UTC (14 months, 1 week ago) by alexk
Enabled warnings.

Revision 102443 - Directory Listing
Modified Tue Nov 13 12:21:21 2018 UTC (14 months, 1 week ago) by alexk
Removed an unused local variable.

Revision 102425 - Directory Listing
Modified Tue Nov 13 05:53:16 2018 UTC (14 months, 1 week ago) by alexk
Replaced a call to an obsolete feature `duplicate` with explicit code to record items in another structure.

Revision 102413 - Directory Listing
Modified Thu Nov 8 13:45:55 2018 UTC (14 months, 2 weeks ago) by jfiat
Cleaned ecf files from unwanted options.

Revision 102405 - Directory Listing
Modified Tue Nov 6 12:23:36 2018 UTC (14 months, 2 weeks ago) by jfiat
Fixed regression introduced by rev#102348, and replaced hash table by a stack for the locked_windows value.

Revision 102404 - Directory Listing
Modified Mon Nov 5 20:22:52 2018 UTC (14 months, 2 weeks ago) by jfiat
Fixed the windows unlocking mechanism by removing by key instead of assuming it is always at position 0 !

Revision 102396 - Directory Listing
Modified Sat Nov 3 09:01:52 2018 UTC (14 months, 2 weeks ago) by alexk
Supported iteration cursor on file for .NET.

Revision 102395 - Directory Listing
Modified Sat Nov 3 08:58:17 2018 UTC (14 months, 2 weeks ago) by alexk
Closed input stream when reading is finished.

Revision 102394 - Directory Listing
Modified Sat Nov 3 08:57:20 2018 UTC (14 months, 2 weeks ago) by alexk
Returned `{detachable NONE}` from `type_of` for `Void`.

Revision 102371 - Directory Listing
Modified Tue Oct 23 14:02:41 2018 UTC (15 months ago) by alexk
Passed void safety status as expected by the current creation procedure of CONF_STATE.

Revision 102348 - Directory Listing
Modified Fri Oct 19 10:43:51 2018 UTC (15 months ago) by alexk
Removed unnecessary voidness tests.
Replaced regular loops with across loops.


Revision 102347 - Directory Listing
Modified Fri Oct 19 10:41:25 2018 UTC (15 months ago) by alexk
Simplified code by using loop expressions.

Revision 102345 - Directory Listing
Modified Fri Oct 19 07:51:32 2018 UTC (15 months ago) by jfiat
Fixed typo in docking lib, and also update code to use ohject test, across loop, ...

Revision 102330 - Directory Listing
Modified Tue Oct 16 20:12:53 2018 UTC (15 months, 1 week ago) by javierv
Added support for ODBC  
 
Database.affected_row_count: INTEGER
            -- The number of rows changed, deleted, or inserted by the last statement.

Implemented using the ODBC function

SQLRETURN SQLRowCount(  
      SQLHSTMT   StatementHandle,  
      SQLLEN *   RowCountPtr);  

Introduced in ODBC 1.0 Standards Compliance: ISO 92.



Revision 102322 - Directory Listing
Modified Tue Oct 16 11:04:24 2018 UTC (15 months, 1 week ago) by alexk
Avoided `check then` instructions.
Fixed a loop iteration in `set_column_editable` that skipped an item after removing another one.
Cosmetics.


Revision 102320 - Directory Listing
Modified Mon Oct 15 19:48:58 2018 UTC (15 months, 1 week ago) by jfiat
Removed obsolete reverse assignment attempts.



Revision 102318 - Directory Listing
Modified Fri Oct 12 13:01:40 2018 UTC (15 months, 1 week ago) by jfiat
Removed obsolete reverse assignment attempts.


Revision 102317 - Directory Listing
Modified Fri Oct 12 08:22:36 2018 UTC (15 months, 1 week ago) by alexk
Relaxed a precondition of `put` to allow inserting a new item.

Revision 102310 - Directory Listing
Modified Wed Oct 10 14:25:24 2018 UTC (15 months, 1 week ago) by jfiat
Removed obsolete reverse assignment attempts.
And using local variables.

Revision 102306 - Directory Listing
Modified Wed Oct 10 07:59:35 2018 UTC (15 months, 2 weeks ago) by alexk
Redefined `TABLE.valid_key` in `HASH_TABLE` to `has` to be consistent with the use of `valid_key` in other containers.
Marked `HASH_TABLE.valid_key` as obsolete with a recommendation to remove calls to it or to replace with with calls to `has`.
Removed calls to `HASH_TABLE.valid_key` or replaced them with calls to `HASH_TABLE.has` where appropriate.
Replaced calls to obsolete features with calls to contemporary ones.
Cosmetics:
	- replaces some reverse assignments with object calls
	- removed unnecessary code and local variables
	- replaced some regular loops with across loops
	- combined nested conditionals


Revision 102270 - Directory Listing
Modified Wed Oct 3 16:56:23 2018 UTC (15 months, 2 weeks ago) by alexk
Removed an inheritance link from ARGUMENTS_32.

Revision 102269 - Directory Listing
Modified Wed Oct 3 16:55:08 2018 UTC (15 months, 2 weeks ago) by alexk
Cosmetics: replaced a test `count = 0` with a query `is_empty`.

Revision 102268 - Directory Listing
Modified Wed Oct 3 16:40:13 2018 UTC (15 months, 2 weeks ago) by alexk
Added an iteration cursor for NS_ARRAY.

Revision 102265 - Directory Listing
Modified Wed Oct 3 14:39:27 2018 UTC (15 months, 2 weeks ago) by alexk
Made any container ITERABLE.
Made creation procedures of the following classes generally unavailable:
	- ARRAYED_QUEUE
	- BINARY_SEARCH_TREE_SET
	- HEAP_PRIORITY_QUEUE
	- LINKED_TREE
	- TWO_WAY_TREE
Replaced some regular loops with across ones.


Revision 102264 - Directory Listing
Modified Wed Oct 3 14:25:14 2018 UTC (15 months, 2 weeks ago) by alexk
Maded creation procedures generally unavailable.

Revision 102263 - Directory Listing
Modified Wed Oct 3 14:24:07 2018 UTC (15 months, 2 weeks ago) by alexk
Removed an unnecessary local variable.

Revision 102262 - Directory Listing
Modified Wed Oct 3 14:22:31 2018 UTC (15 months, 2 weeks ago) by alexk
Restored a precondition to `same_keys` mistakenly removed by the previous commit.

Revision 102261 - Directory Listing
Modified Wed Oct 3 14:21:03 2018 UTC (15 months, 2 weeks ago) by alexk
Changed inheritance to UNBOUNDED and TABLE to use `G` as an actual generic paramater instead of `detachable G`.
Made creation procedure unavailable for regular use.
Added a feature `definite_item` that expects an existing key and returns an existing item.
Changed signature of the following features to take `G` instead of `detachable G`:
	- `has_item`
	- `occurrences`
	- `prune`
Replaced a regular loop with an across one.


Revision 102260 - Directory Listing
Modified Wed Oct 3 13:41:17 2018 UTC (15 months, 3 weeks ago) by alexk
Added a feature `new_cursor` and treated the classes as an implementation of ITERATION_CURSOR.

Revision 102259 - Directory Listing
Modified Wed Oct 3 13:36:23 2018 UTC (15 months, 3 weeks ago) by alexk
Cosmetics:
	- replaced regular loops with across ones
	- removed unneeded local variables


Revision 102258 - Directory Listing
Modified Wed Oct 3 13:34:30 2018 UTC (15 months, 3 weeks ago) by alexk
Added keys to access registry keys from 32-bit and 64-bit versions of the registry.

Revision 102257 - Directory Listing
Modified Wed Oct 3 13:31:49 2018 UTC (15 months, 3 weeks ago) by alexk
Replaced repeated inheritance with a call to a non-selected version of a feature `search` from the selected version of the feature with single inheritance and a call to the precursor.

Revision 102246 - Directory Listing
Modified Tue Oct 2 14:12:14 2018 UTC (15 months, 3 weeks ago) by alexk
Added an iteration cursor for an ITERABLE without any elements.

Revision 102245 - Directory Listing
Modified Tue Oct 2 14:09:21 2018 UTC (15 months, 3 weeks ago) by alexk
Cosmetics: removed a duplicated blank line.

Revision 102212 - Directory Listing
Modified Sat Sep 22 10:10:29 2018 UTC (16 months ago) by alexk
Corrected evaluation of a bounding box that did not take into account arrows.

Revision 102208 - Directory Listing
Modified Fri Sep 21 13:30:46 2018 UTC (16 months ago) by alexk
Supported setting dash styles and line joins for a pen.

Revision 102207 - Directory Listing
Modified Fri Sep 21 13:29:14 2018 UTC (16 months ago) by alexk
Added an enumeration for pen line joins.

Revision 102206 - Directory Listing
Modified Fri Sep 21 13:28:42 2018 UTC (16 months ago) by alexk
Added an enumeration for pen dash styles.

Revision 102205 - Directory Listing
Modified Fri Sep 21 13:19:13 2018 UTC (16 months ago) by alexk
Added new features for drawing:
	- draw_lines
	- draw_polygon
	- fill_polygon
Supported anti-aliasing when drawing.


Revision 102204 - Directory Listing
Modified Fri Sep 21 13:12:43 2018 UTC (16 months ago) by alexk
Added enumeration for anti-aliasing modes for drawing.

Revision 102203 - Directory Listing
Modified Fri Sep 21 13:06:47 2018 UTC (16 months ago) by alexk
Made feature `is_valid` instance-free.

Revision 102202 - Directory Listing
Modified Fri Sep 21 13:05:10 2018 UTC (16 months ago) by alexk
Cosmetics: fixed a grammar error in a comment.

Revision 102195 - Directory Listing
Modified Wed Sep 19 08:09:05 2018 UTC (16 months ago) by alexk
Simplified implementation of `to_hex_character`.
Used `make_filled` instead of a sequence of calls to `make` and `fill_blank`.


Revision 102176 - Directory Listing
Modified Mon Sep 17 08:23:10 2018 UTC (16 months ago) by alexk
Updated generated character properties to Unicode 11.0.0 (http://www.unicode.org/Public/11.0.0/ucd/UnicodeData.txt).

Revision 102097 - Directory Listing
Modified Tue Aug 28 17:44:05 2018 UTC (16 months, 3 weeks ago) by alexk
Renamed `owner` as `owner_thread_id` and made it unavailable because it is an implementation and debugging detail.

Revision 102072 - Directory Listing
Modified Sun Aug 26 06:27:58 2018 UTC (16 months, 4 weeks ago) by alexk
Fixed bug#19422 (test#lib047) by testing that an array is not empty before retrieving items in `balanced_linear_search` and `binary_search`.

Revision 101999 - Directory Listing
Modified Thu Aug 2 17:21:10 2018 UTC (17 months, 3 weeks ago) by javierv
Updated cURL library.
Forgot to commit curl_externals.e class.

Revision 101998 - Directory Listing
Modified Thu Aug 2 13:37:47 2018 UTC (17 months, 3 weeks ago) by javierv
Eiffel cURL library updated:

Added support to send mime emails.
Added example to show how to use it.

Revision 101988 - Directory Listing
Modified Thu Jul 26 11:38:15 2018 UTC (17 months, 4 weeks ago) by alexk
Used passive regions for random generator and associated counter.

Revision 101987 - Directory Listing
Modified Thu Jul 26 11:36:31 2018 UTC (17 months, 4 weeks ago) by alexk
Marked `generate_uuid` as a class feature and made code SCOOP-compatible.

Revision 101986 - Directory Listing
Modified Thu Jul 26 11:26:40 2018 UTC (17 months, 4 weeks ago) by alexk
Removed duplicate description element.

Revision 101905 - Directory Listing
Modified Mon Jul 2 16:07:31 2018 UTC (18 months, 3 weeks ago) by jfiat
Updated to 1-18-0 to use new standard manifest array.

Revision 101901 - Directory Listing
Modified Mon Jul 2 15:18:58 2018 UTC (18 months, 3 weeks ago) by jfiat
Updated to 1-18-0 to use new standard manifest array.

Revision 101852 - Directory Listing
Modified Mon Jun 25 12:45:31 2018 UTC (18 months, 4 weeks ago) by alexk
Updated to the latest compiler defaults to avoid getting an error for manifest array type mismatch.

Revision 101851 - Directory Listing
Modified Mon Jun 25 12:31:43 2018 UTC (18 months, 4 weeks ago) by alexk
Marked `system_encodings_i` as a class feature.

Revision 101839 - Directory Listing
Modified Fri Jun 22 16:11:44 2018 UTC (19 months ago) by alexk
Added explicit types for manifest arrays when needed.

Revision 101794 - Directory Listing
Modified Mon May 28 08:23:56 2018 UTC (19 months, 3 weeks ago) by jfiat
Renamed `oem_cp` as `oem_code_page`, and `a_cp` as `ansi_code_page`.

Revision 101784 - Directory Listing
Modified Thu May 24 08:59:38 2018 UTC (20 months ago) by alexk
Used default console code page in `console_code_page` if there is no current console code page that may happen when running a GUI application on Windows 10.

Revision 101783 - Directory Listing
Modified Thu May 24 08:54:21 2018 UTC (20 months ago) by alexk
Marked all features as class ones.

Revision 101782 - Directory Listing
Modified Thu May 24 08:41:05 2018 UTC (20 months ago) by alexk
Added functions for GetACP and GetOEMCP.

Revision 101780 - Directory Listing
Modified Wed May 23 15:42:26 2018 UTC (20 months ago) by alexk
Marked all features as class ones.

Revision 101779 - Directory Listing
Modified Wed May 23 15:41:54 2018 UTC (20 months ago) by alexk
Marked `developer_exception_name` and `is_developer_exception_of_name` as class features.

Revision 101778 - Directory Listing
Modified Wed May 23 14:35:05 2018 UTC (20 months ago) by alexk
Relaxed a precondition of `subarray` to allow for calling it on empty arrays.

Revision 101766 - Directory Listing
Modified Mon May 21 08:45:38 2018 UTC (20 months ago) by alexk
Enabled warnings.

Revision 101756 - Directory Listing
Modified Sun May 20 11:03:08 2018 UTC (20 months ago) by alexk
Removed unused local variables.

Revision 101752 - Directory Listing
Modified Sat May 19 10:51:46 2018 UTC (20 months ago) by alexk
Added a feature `force_and_fill` that works like `force`, but inserts a specified value instead of the default one for missing items.

Revision 101750 - Directory Listing
Modified Fri May 18 16:46:50 2018 UTC (20 months ago) by alexk
Reverted previous commit that marked `developer_exception_name` and `is_developer_exception_of_name` as class features because this is still incompatible with currently limited rules for assertions inherited by class features.

Revision 101749 - Directory Listing
Modified Fri May 18 08:50:43 2018 UTC (20 months, 1 week ago) by alexk
Marked remaining features as class ones that became possible after recent changes in the rules for redeclarations into class features.

Revision 101748 - Directory Listing
Modified Fri May 18 08:47:58 2018 UTC (20 months, 1 week ago) by alexk
Marked all features as class ones.

Revision 101747 - Directory Listing
Modified Thu May 17 18:48:59 2018 UTC (20 months, 1 week ago) by javierv
Update cURL library to use proper calling convention for dynamic module.

Revision 101740 - Directory Listing
Modified Mon May 14 14:21:58 2018 UTC (20 months, 1 week ago) by jfiat
Updated for instance free features.

Revision 101739 - Directory Listing
Modified Mon May 14 13:56:32 2018 UTC (20 months, 1 week ago) by jfiat
Updated for instance free nature.

Revision 101718 - Directory Listing
Modified Mon May 7 09:03:05 2018 UTC (20 months, 2 weeks ago) by jfiat
Fixed wrong usage of {CHARACTER_32}.out .
Replaced (obsolete) reverse assignment attempts with better code.



Revision 101705 - Directory Listing
Modified Mon Apr 30 13:24:30 2018 UTC (20 months, 3 weeks ago) by jfiat
Fixed typo in the feature comment of `ARRAY.force`.

Contributed by Bertrand.Meyer

Revision 101704 - Directory Listing
Modified Sun Apr 29 05:08:53 2018 UTC (20 months, 3 weeks ago) by alexk
Marked built-in features of `{ARGUMENTS_32}` as static because they are class ones.

Revision 101701 - Directory Listing
Modified Sat Apr 28 20:54:31 2018 UTC (20 months, 3 weeks ago) by alexk
Marked selected features as class ones.

Revision 101699 - Directory Listing
Modified Sat Apr 28 20:50:36 2018 UTC (20 months, 3 weeks ago) by alexk
Marked all features except for `pin_to_thread` as class ones.

Revision 101698 - Directory Listing
Modified Sat Apr 28 20:49:45 2018 UTC (20 months, 3 weeks ago) by alexk
Marked `retrieved` and `retrieve_by_name` as class ones.

Revision 101697 - Directory Listing
Modified Sat Apr 28 20:48:52 2018 UTC (20 months, 3 weeks ago) by alexk
Marked `memory_alloc` and `memory_calloc` as class ones.

Revision 101696 - Directory Listing
Modified Sat Apr 28 20:47:46 2018 UTC (20 months, 3 weeks ago) by alexk
Marked all features except for `dispose` as class ones.

Revision 101695 - Directory Listing
Modified Sat Apr 28 20:47:11 2018 UTC (20 months, 3 weeks ago) by alexk
Marked all features as class ones.

Revision 101694 - Directory Listing
Modified Sat Apr 28 20:43:20 2018 UTC (20 months, 3 weeks ago) by alexk
Marked all features except for `new_cursor` as class ones.

Revision 101693 - Directory Listing
Modified Sat Apr 28 20:41:50 2018 UTC (20 months, 3 weeks ago) by alexk
Marked all features except for `developer_exception_name` and `is_developer_exception_of_name` as class ones.

Revision 101692 - Directory Listing
Modified Sat Apr 28 20:39:51 2018 UTC (20 months, 3 weeks ago) by alexk
Marked `exception_manager` as a class feature.

Revision 101691 - Directory Listing
Modified Sat Apr 28 20:36:37 2018 UTC (20 months, 3 weeks ago) by alexk
Marked all features as class ones.
Marked `abs`, `sign` and `rsign` as obsolete.


Revision 101689 - Directory Listing
Modified Sat Apr 28 20:34:01 2018 UTC (20 months, 3 weeks ago) by alexk
Used `{INTEGER}.abs` directly instead of a function from `{BASIC_ROUTINES}`.

Revision 101652 - Directory Listing
Modified Thu Apr 12 12:54:07 2018 UTC (21 months, 1 week ago) by alexk
Fixed a bug that may cause GC in multithreaded environment to hang because ReadFile and WriteFile were not marked as blocking.

Revision 101649 - Directory Listing
Modified Wed Apr 11 14:00:16 2018 UTC (21 months, 1 week ago) by alexk
Fixed multiple issues in the imeplemntation of `is_valid_utf_16` (bug#19436, test#utf003) by
	- changing exit condition to make sure the iteration index is within the bounds
	- removing the comparison to 0
	- making sure the index is increased with every iteration


Revision 101570 - Directory Listing
Modified Mon Mar 26 14:46:38 2018 UTC (21 months, 4 weeks ago) by jfiat
If hosts file is not correct, it could occur `create_from_name (..)` return Void, even with the expected local hostname,
as a (void-safe) security, use "localhost" as an alternative local hostname if previous attempt fails.

Revision 101523 - Directory Listing
Modified Wed Mar 21 08:54:53 2018 UTC (22 months ago) by alexk
Replaced sequential calls to `left_adjust` and `right_adjust` with a single call to `adjust`.

Revision 101512 - Directory Listing
Modified Fri Mar 16 10:50:16 2018 UTC (22 months, 1 week ago) by alexk
Changed EOL to LF so that the batch file can be run unmodified even when the native EOL is different (this is convenient when running the script in WSL on Windows).

Revision 101478 - Directory Listing
Modified Sun Mar 11 11:49:24 2018 UTC (22 months, 2 weeks ago) by jfiat
Added function EXECUTION_ENVIRONMENT.available_cpu_count: NATURAL_32 .

Revision 101463 - Directory Listing
Modified Wed Mar 7 14:56:40 2018 UTC (22 months, 2 weeks ago) by jfiat
Updated available_cpu_count C externals, and removed other unwanted changes committed by mistake.

Revision 101462 - Directory Listing
Modified Wed Mar 7 13:41:52 2018 UTC (22 months, 2 weeks ago) by jfiat
Added function EXECUTION_ENVIRONMENT.available_cpu_count: NATURAL_32 .
note: new eif_system.h file in the runtime.

Revision 101440 - Directory Listing
Modified Wed Feb 28 11:40:50 2018 UTC (22 months, 3 weeks ago) by alexk
Avoided string conversion by using features that accept STRING_GENERAL.

Revision 101438 - Directory Listing
Modified Mon Feb 26 11:08:33 2018 UTC (22 months, 3 weeks ago) by jfiat
Removed MS compiler specific options. Made compilable with mingw gcc

Revision 101435 - Directory Listing
Modified Sun Feb 25 17:35:32 2018 UTC (22 months, 3 weeks ago) by manus
Remove DOS specific commands and casing issue


Revision 101431 - Directory Listing
Modified Fri Feb 16 14:35:13 2018 UTC (23 months ago) by alexk
Moved a check for the value of `timeout` from the class invariant to the postcondition of the feature to avoid an obsolete feature call.

Revision 101403 - Directory Listing
Modified Thu Feb 8 20:06:03 2018 UTC (23 months, 2 weeks ago) by jfiat
Fixed invariant related to timeout, as now 0 is a valid value.
Converted SOCKET_TIMEOUT_UTILITIES functions to be instance-free.

Revision 101397 - Directory Listing
Modified Thu Feb 8 13:28:35 2018 UTC (23 months, 2 weeks ago) by alexk
Replaced an attribute with a body with its initialization in the default creation procedure to make sure the behavior is the same in void-safe and void-unsafe modes.

Revision 101387 - Directory Listing
Modified Wed Feb 7 19:28:07 2018 UTC (23 months, 2 weeks ago) by alexk
Supported Unicode file names.

Revision 101373 - Directory Listing
Modified Wed Feb 7 14:35:04 2018 UTC (23 months, 2 weeks ago) by alexk
Corrected required header file.

Revision 101358 - Directory Listing
Modified Mon Feb 5 14:58:39 2018 UTC (23 months, 2 weeks ago) by jfiat
fixed cURL.ecf for dynamic module on Linux

Revision 101356 - Directory Listing
Modified Mon Feb 5 14:12:29 2018 UTC (23 months, 2 weeks ago) by jfiat
Added a common abstract interface for externals relying on dynamic module.

Revision 101355 - Directory Listing
Modified Mon Feb 5 08:47:20 2018 UTC (23 months, 2 weeks ago) by jfiat
Use DYNAMIC_MODULE from api_wrapper to implement the dynamic mode of Eiffel Curl.

Revision 101354 - Directory Listing
Modified Mon Feb 5 08:45:02 2018 UTC (23 months, 2 weeks ago) by jfiat
Reverted unwanted previous changes on api_wrapper.

Revision 101352 - Directory Listing
Modified Sun Feb 4 06:28:49 2018 UTC (23 months, 2 weeks ago) by manus
Add static linking of cURL C library

Extended the library to allow at compile time to choose between using the shared library
version (default so far) or using the static library version (not provided).


Revision 101332 - Directory Listing
Modified Wed Jan 31 10:29:44 2018 UTC (23 months, 3 weeks ago) by alexk
Disabled SCOOP when compiling to CIL.

Revision 101331 - Directory Listing
Modified Wed Jan 31 09:11:09 2018 UTC (23 months, 3 weeks ago) by alexk
Disabled SCOOP when compiling to CIL.

Revision 101330 - Directory Listing
Modified Wed Jan 31 08:56:39 2018 UTC (23 months, 3 weeks ago) by alexk
Disabled SCOOP when compiling to CIL.

Revision 101329 - Directory Listing
Modified Wed Jan 31 08:55:09 2018 UTC (23 months, 3 weeks ago) by alexk
Added class postconditions to internal features so that they can be merged with an external one.

Revision 101326 - Directory Listing
Modified Mon Jan 29 15:30:08 2018 UTC (23 months, 3 weeks ago) by alexk
Disabled SCOOP when compiling to CIL.

Revision 101325 - Directory Listing
Modified Mon Jan 29 12:25:48 2018 UTC (23 months, 3 weeks ago) by alexk
Used 32-bit versions of strings to avoid obsolete feature calls.

Revision 101324 - Directory Listing
Modified Mon Jan 29 12:24:57 2018 UTC (23 months, 3 weeks ago) by alexk
Used object tests instead of calls to `attempted` that compared the result to void.

Revision 101323 - Directory Listing
Modified Mon Jan 29 12:23:36 2018 UTC (23 months, 3 weeks ago) by alexk
Added an explicit type to a manifest string to make sure the manifest array has an expected type.

Revision 101322 - Directory Listing
Modified Mon Jan 29 10:23:33 2018 UTC (23 months, 3 weeks ago) by alexk
Split an external feature into 2: internal and external to avoid errors related to class status of external features.

Revision 101321 - Directory Listing
Modified Mon Jan 29 10:22:16 2018 UTC (23 months, 3 weeks ago) by alexk
Marked a feature `valid_file_descriptor` used in assertions of external features as class one.

Revision 101320 - Directory Listing
Modified Mon Jan 29 10:20:35 2018 UTC (23 months, 3 weeks ago) by alexk
Used 32-bit versions of strings to avoid obsolete feature calls.

Revision 101318 - Directory Listing
Modified Fri Jan 26 15:02:13 2018 UTC (23 months, 3 weeks ago) by alexk
Added a class postcondition to a deferred feature defined as an external one in descendants.

Revision 101317 - Directory Listing
Modified Fri Jan 26 14:38:11 2018 UTC (23 months, 3 weeks ago) by alexk
Removed an obsolete mark from `eif_current_object_id` like it was done for Windows version.

Revision 101313 - Directory Listing
Modified Fri Jan 26 11:16:26 2018 UTC (23 months, 3 weeks ago) by alexk
Replaced a call to an obsolete feature `force_extend` with a call to `extend`.

Revision 101310 - Directory Listing
Modified Fri Jan 26 08:27:11 2018 UTC (23 months, 3 weeks ago) by alexk
Replaced a call to an obsolete feature `force_extend` with a call to `extend`.

Revision 101309 - Directory Listing
Modified Fri Jan 26 07:51:54 2018 UTC (23 months, 3 weeks ago) by alexk
Replaced a call to an obsolete feature `force_extend` with a call to `extend`.

Revision 101308 - Directory Listing
Modified Thu Jan 25 13:29:58 2018 UTC (23 months, 4 weeks ago) by alexk
Used 32-bit versions of strings to avoid obsolete feature calls.

Revision 101307 - Directory Listing
Modified Thu Jan 25 12:56:54 2018 UTC (23 months, 4 weeks ago) by alexk
Added a class postcondition to a deferred feature defined as an external one in descendants.

Revision 101306 - Directory Listing
Modified Thu Jan 25 12:55:43 2018 UTC (23 months, 4 weeks ago) by alexk
Used 32-bit versions of strings to avoid obsolete feature calls.

Revision 101305 - Directory Listing
Modified Thu Jan 25 12:55:04 2018 UTC (23 months, 4 weeks ago) by alexk
Replaced an obsolete feature call with a contemporary one.

Revision 101304 - Directory Listing
Modified Thu Jan 25 12:54:12 2018 UTC (23 months, 4 weeks ago) by alexk
Removed an unused local variable.

Revision 101303 - Directory Listing
Modified Thu Jan 25 12:53:07 2018 UTC (23 months, 4 weeks ago) by alexk
Added explicit types for manifest arrays when needed.

Revision 101302 - Directory Listing
Modified Thu Jan 25 12:44:57 2018 UTC (23 months, 4 weeks ago) by alexk
Added explicit types for manifest arrays when needed.

Revision 101301 - Directory Listing
Modified Thu Jan 25 12:41:50 2018 UTC (23 months, 4 weeks ago) by alexk
Used 32-bit versions of strings to avoid obsolete feature calls.

Revision 101300 - Directory Listing
Modified Thu Jan 25 12:41:02 2018 UTC (23 months, 4 weeks ago) by alexk
Removed unused local variables.

Revision 101299 - Directory Listing
Modified Thu Jan 25 12:40:03 2018 UTC (23 months, 4 weeks ago) by alexk
Used encoding library for localized output.

Revision 101298 - Directory Listing
Modified Thu Jan 25 12:11:25 2018 UTC (23 months, 4 weeks ago) by alexk
Used 32-bit versions of strings to avoid obsolete feature calls.

Revision 101297 - Directory Listing
Modified Wed Jan 24 20:46:04 2018 UTC (23 months, 4 weeks ago) by alexk
Replaced obsolete calls with contemporary ones.

Revision 101296 - Directory Listing
Modified Wed Jan 24 20:31:15 2018 UTC (23 months, 4 weeks ago) by alexk
Used full agent signatures to avoid obsolete feature calls.

Revision 101295 - Directory Listing
Modified Wed Jan 24 17:09:52 2018 UTC (23 months, 4 weeks ago) by alexk
Used 32-bit versions of strings to avoid obsolete feature calls.

Revision 101294 - Directory Listing
Modified Wed Jan 24 16:51:14 2018 UTC (23 months, 4 weeks ago) by alexk
Added explicit types for manifest arrays when needed.

Revision 101293 - Directory Listing
Modified Wed Jan 24 15:52:40 2018 UTC (23 months, 4 weeks ago) by alexk
Used 32-bit versions of strings to avoid obsolete feature calls.

Revision 101292 - Directory Listing
Modified Wed Jan 24 15:26:13 2018 UTC (23 months, 4 weeks ago) by alexk
Used 32-bit versions of strings to avoid obsolete feature calls.

Revision 101291 - Directory Listing
Modified Wed Jan 24 15:17:52 2018 UTC (23 months, 4 weeks ago) by alexk
Removed an unused local variable.

Revision 101290 - Directory Listing
Modified Tue Jan 23 20:24:11 2018 UTC (23 months, 4 weeks ago) by alexk
Added a class postcondition to a deferred feature `c_strlen` defined as an external one in descendants.

Revision 101257 - Directory Listing
Modified Mon Jan 22 13:13:03 2018 UTC (2 years ago) by alexk
Marked `cwin_show_window` as a class feature because it is expected to be implemented as an external one.
Selectively exported `cwin_invalidate_rect` so that it can be called directly without the need to duplicate external alias.
Avoided an error with the new class feature rules for `set_pointer_position` by calling an external feature from an internal one instead of merging internal and external.


Revision 101256 - Directory Listing
Modified Mon Jan 22 13:07:09 2018 UTC (2 years ago) by alexk
Split `cwin_get_next_dlgtabitem` into 2 features (internal and external) to avoid errors related to class status of the external version and to allow for redeclaration into an internal feature.
Used external version of `cwin_get_next_dlgtabitem` from WEL_CONTROL to avoid duplication of external features.


Revision 101255 - Directory Listing
Modified Mon Jan 22 12:53:58 2018 UTC (2 years ago) by alexk
Split `structure_size` into two features (internal and external) so that it can be redefined into an internal feature if necessary.

Revision 101254 - Directory Listing
Modified Mon Jan 22 11:21:50 2018 UTC (2 years ago) by alexk
Used a wrapper for C implementation of `hash_code_of` because the parent feature is not marked as a class one.

Revision 101253 - Directory Listing
Modified Mon Jan 22 11:18:17 2018 UTC (2 years ago) by alexk
Split feature `process_id` into two: a wrapper and an external feature because external features are automatically class ones, but `process_id` is redeclared into an attribute in some implementations.

Revision 101252 - Directory Listing
Modified Mon Jan 22 11:15:04 2018 UTC (2 years ago) by alexk
Split `exit` into 2 features: an external one and a wrapper to be able to specify the precondition that depends on an attribute in the feature `exit`.
Marked `is_exit_supported` as a class feature because it is used as a precondition in an external feature (that is now automatically a class one).


Revision 101251 - Directory Listing
Modified Mon Jan 22 11:11:17 2018 UTC (2 years ago) by alexk
Marked `c_free` as a class feature because it is expected to be redeclared into an external feature.

Revision 101250 - Directory Listing
Modified Mon Jan 22 10:58:16 2018 UTC (2 years ago) by alexk
Marked `is_valid_timeout_ns` as a class routine because it is used in assertions of external features (that are considered class ones).

Revision 101248 - Directory Listing
Modified Mon Jan 22 10:48:04 2018 UTC (2 years ago) by alexk
Corrected feature adaptation of `get_sock_familily` that is a redeclaration rather than an undefinition.

Revision 101237 - Directory Listing
Modified Mon Jan 15 09:26:02 2018 UTC (2 years ago) by jfiat
Marked features used in non-object calls as class ones.

Revision 101236 - Directory Listing
Modified Mon Jan 15 08:58:17 2018 UTC (2 years ago) by jfiat
Marked features used in non-object calls as class ones.

Revision 101233 - Directory Listing
Modified Fri Jan 12 12:08:16 2018 UTC (2 years ago) by jfiat
Use interface using nanoseconds as timeout unit.
Added SOCKET_TIMEOUT_UTILITIES to ease usage of nanoseconds timeout.

Revision 101230 - Directory Listing
Modified Fri Jan 12 08:14:43 2018 UTC (2 years ago) by jfiat
reverted previous change related to EV_GTK_TEXT_ITER_STRUCT, to be able to free memory as soon as possible.

Revision 101228 - Directory Listing
Modified Thu Jan 11 15:05:23 2018 UTC (2 years ago) by jfiat
Use directly EV_GTK_TEXT_ITER_STRUCT rather than allocating pointer using the EV_GTK_TEXT_ITER_STRUCT.structure_size information.

Revision 101225 - Directory Listing
Modified Wed Jan 10 11:45:02 2018 UTC (2 years ago) by alexk
Removed class postconditions mistakenly added to external code.

Revision 101223 - Directory Listing
Modified Tue Jan 9 09:25:28 2018 UTC (2 years ago) by jfiat
Reverted changes and restored override cluster to ecf_support folder.

Revision 101220 - Directory Listing
Modified Fri Jan 5 12:14:37 2018 UTC (2 years ago) by jfiat
Removed useless generated override clusters for Gobo apps.

Revision 101219 - Directory Listing
Modified Tue Dec 26 18:48:23 2017 UTC (2 years ago) by alexk
Marked features used in non-object calls as class ones.

Revision 101218 - Directory Listing
Modified Tue Dec 26 18:40:36 2017 UTC (2 years ago) by alexk
Marked features used in non-object calls as class ones.

Revision 101217 - Directory Listing
Modified Tue Dec 26 18:35:31 2017 UTC (2 years ago) by alexk
Marked `structure_size` as a class feature because some versions of it in descendants are used in non-object calls.

Revision 101206 - Directory Listing
Modified Mon Dec 25 09:53:13 2017 UTC (2 years ago) by alexk
Added class postconditions to external features used in non-object calls.

Revision 101205 - Directory Listing
Modified Mon Dec 25 09:49:56 2017 UTC (2 years ago) by alexk
Added a class postcondition to `default_pointer` that is used in some class routines.

Revision 101161 - Directory Listing
Modified Sun Dec 17 15:35:08 2017 UTC (2 years, 1 month ago) by alexk
Added explicit types for manifest arrays when needed.

Revision 101134 - Directory Listing
Modified Mon Dec 11 21:42:27 2017 UTC (2 years, 1 month ago) by jfiat
Adopt nanosecond as timeout unit precision in EiffelNet.
 - used for select, recv and send timeouts
 - marked obsolete timeout features based on seconds.
Now `set_timeout (0)` really sets the timeout to 0 and not to the default timeout (20 seconds).

Note: even if Eiffel features now accept timeout expressed in nanoseconds, the precision still relies on underlying C API (it could still be milliseconds, microseconds, but in the future it should use C API that supports nanosecond precision).
(Warning: the EiffelNet C APIs are now based on nanosecond (not anymore on seconds), as no Eiffel code (apart EiffelNet) should call directly those C functions, this should be transparent for users.)

Revision 101093 - Directory Listing
Modified Mon Dec 4 10:09:50 2017 UTC (2 years, 1 month ago) by alexk
Removed an obsolete feature call to `ROUTINE.empty_operands` by using `flexible_call` instead.

Revision 101091 - Directory Listing
Modified Mon Dec 4 05:01:16 2017 UTC (2 years, 1 month ago) by manus
Add missing `flexible_call` and `flexible_item` in .NET version


Revision 101089 - Directory Listing
Modified Sun Dec 3 17:18:24 2017 UTC (2 years, 1 month ago) by alexk
Removed an obsolete call.

Revision 101059 - Directory Listing
Modified Wed Nov 22 10:09:24 2017 UTC (2 years, 2 months ago) by jfiat
Removed unwanted committed .rc files.

Revision 101044 - Directory Listing
Modified Wed Nov 15 11:06:25 2017 UTC (2 years, 2 months ago) by javierv
Updated CURL library to get a human readable error string from a given Curlcode number.

Revision 101038 - Directory Listing
Modified Mon Nov 13 11:22:39 2017 UTC (2 years, 2 months ago) by jfiat
Made EMAIL supporting multiple recipients from `add_*_address` argument.
  Indeed, internally the EMAIL and SMTP_PROTOCOL, consider than a header entry should have a unique address
  however, in the SMTP protocol it accepts multiple addresses, and the SMTP_PROTOCOL is indeed merging same headers when sending to server.
  but user may use the EMAIL interface having in mind the smtp protocol.


Revision 101024 - Directory Listing
Modified Wed Nov 8 13:31:28 2017 UTC (2 years, 2 months ago) by javierv
Initial import event driven example.

Revision 101000 - Directory Listing
Modified Thu Nov 2 04:35:15 2017 UTC (2 years, 2 months ago) by manus
Fix incorrect precondition of enumerate_keys

Cosmetics and exported `enumerate_value` to NONE as callers should be using `enumerate_values` instead.


Revision 100987 - Directory Listing
Modified Tue Oct 31 09:17:33 2017 UTC (2 years, 2 months ago) by alexk
Fixed a typo.

Revision 100959 - Directory Listing
Modified Thu Oct 26 10:17:04 2017 UTC (2 years, 2 months ago) by alexk
Avoided a precondition violation by checking if content is in the zone before pruning it.

Revision 100944 - Directory Listing
Modified Fri Oct 20 14:21:22 2017 UTC (2 years, 3 months ago) by manus
Fix typo causing a useless postcondition in `set_description`


Revision 100936 - Directory Listing
Modified Wed Oct 18 10:51:56 2017 UTC (2 years, 3 months ago) by javierv
Merge frameworks patterns library into library patterns library.
Updated code to use the library patterns library instead of the old framework patterns library.


Revision 100911 - Directory Listing
Modified Sat Oct 14 15:04:04 2017 UTC (2 years, 3 months ago) by manus
Temporarily remove obsolete messages to C externals

End users are in no position to fix this and still we report the message. Rewrite of Vision2 is required
to use `eif_id_object` and `eif_object_id`.


Revision 100910 - Directory Listing
Modified Sat Oct 14 15:02:03 2017 UTC (2 years, 3 months ago) by manus
Remove usage of ROUTINE.empty_operands

Use valid_operands instead to validate the TUPLE object and use
the `flexible_` versions of `call` and `item` to avoid any safe catcall
reporting.


Revision 100789 - Directory Listing
Modified Mon Sep 25 15:53:33 2017 UTC (2 years, 3 months ago) by jfiat
Added precondition `a_medium.support_storable` in SED routines using directly medium as arguments.

Revision 100776 - Directory Listing
Modified Tue Sep 19 11:57:57 2017 UTC (2 years, 4 months ago) by alexk
Fixed two bugs (reported in the user mailing list by Larry Rix) related to drawing text with a selected font and causing invalid postscript output:
	- Removed white space in font names because it is not allowed.
	- Removed unnecessary closing parenthesis after the command "show".


Revision 100765 - Directory Listing
Modified Fri Sep 15 03:15:45 2017 UTC (2 years, 4 months ago) by manus
Revert back to use ccflags for targetting .NET


Revision 100756 - Directory Listing
Modified Wed Sep 13 13:16:04 2017 UTC (2 years, 4 months ago) by javierv
Updated cURL library 
Added needed constants to support SMTP to send e-emails.
Updated CURL_EASY_EXTERNALS.setopt_slist to accept curlopt_mail_rcpt.
Added a simple smpt example to show how to use it.


Revision 100752 - Directory Listing
Modified Wed Sep 13 09:06:52 2017 UTC (2 years, 4 months ago) by jfiat
`process_launcher (..)` now accepts for `args` ITERABLE of strings, rather than just LIST of strings.

Revision 100749 - Directory Listing
Modified Tue Sep 12 05:44:23 2017 UTC (2 years, 4 months ago) by manus
Cannot compile WEL C library for .NET with mtccflags

Because we would rely on `wel_thr_context` which only makes sense for our classic code generation.
Meaning that on .NET WEL is not thread safe.


Revision 100747 - Directory Listing
Modified Mon Sep 11 18:55:19 2017 UTC (2 years, 4 months ago) by alexk
Fixed bug#19373 by removing division operators that might cause it on integer underflow.
Cosmetics:
	- removed unneeded local variables
	- removed comparison of boolean values to constants
	- removed unnecessary parentheses
	- combined nested conditional instructions
	- removed voidness tests that are always true


Revision 100745 - Directory Listing
Modified Mon Sep 11 17:02:59 2017 UTC (2 years, 4 months ago) by alexk
Fixed bug#19388 by applying a slightly optimized version of the patch provided by the submitter:
	- Recorded a new pixmap in the table of recently used pixmaps.
	- Increased the table size from 20 to 200.


Revision 100716 - Directory Listing
Modified Fri Sep 1 19:00:55 2017 UTC (2 years, 4 months ago) by alexk
Fixed bugs when a feature name was used as a name of a local variable.
Cosmetics.


Revision 100696 - Directory Listing
Modified Tue Aug 29 12:02:36 2017 UTC (2 years, 4 months ago) by jfiat
Fixed issue introduced recently when curl header file location changed, but here it should use eiffel_curl.h and not curl/curl.h .

Revision 100666 - Directory Listing
Modified Thu Aug 24 21:37:34 2017 UTC (2 years, 4 months ago) by jfiat
Always use the curl/curl.h include instruction.
Do not try to copy typedef declaration here.
Update the Makefile(-win).SH to build the eiffel_curl C library.


Revision 100665 - Directory Listing
Modified Thu Aug 24 08:03:16 2017 UTC (2 years, 5 months ago) by jfiat
Use <curl/curl.h> instead of relative path ../../../../C_library/curl/include/curl/curl.h as now clibs_libcurl.ecf includes the C_library curl include location.

Revision 100660 - Directory Listing
Modified Wed Aug 23 16:15:31 2017 UTC (2 years, 5 months ago) by jfiat
Fixed ecf syntax for curl.ecf.

Revision 100658 - Directory Listing
Modified Wed Aug 23 16:07:30 2017 UTC (2 years, 5 months ago) by jfiat
added clibs_libcurl C_library Eiffel library, and use it from Eiffel cURL library.

Revision 100657 - Directory Listing
Modified Wed Aug 23 15:53:27 2017 UTC (2 years, 5 months ago) by jfiat
copied CURL and curl_infotype type declarations from curl.h into eiffel_curl.h to avoid including curl.h from C_library location

Revision 100634 - Directory Listing
Modified Wed Aug 2 20:57:02 2017 UTC (2 years, 5 months ago) by javierv
Updated Eiffel cURL library to use curl header from C_library\curl to avoid duplication.

Revision 100623 - Directory Listing
Modified Mon Jul 24 11:00:31 2017 UTC (2 years, 6 months ago) by alexk
Used new manifest array syntax with an explicit type when required.

Revision 100610 - Directory Listing
Modified Mon Jul 17 15:10:21 2017 UTC (2 years, 6 months ago) by alexk
Used new manifest array syntax with an explicit type when required.

Revision 100609 - Directory Listing
Modified Mon Jul 17 12:28:03 2017 UTC (2 years, 6 months ago) by alexk
Used new manifest array syntax with an explicit type when required.

Revision 100584 - Directory Listing
Modified Thu Jul 6 13:45:01 2017 UTC (2 years, 6 months ago) by alexk
Updated generated character properties to Unicode 10.0.0 (http://www.unicode.org/Public/10.0.0/ucd/UnicodeData.txt).

Revision 100578 - Directory Listing
Modified Wed Jul 5 16:33:24 2017 UTC (2 years, 6 months ago) by ericb
Fixed C compilation error in finalized mode (because of the use of the C flag -DWIN32_LEAN_AND_MEAN).
See bug#19374.

Revision 100543 - Directory Listing
Modified Fri Jun 23 09:31:11 2017 UTC (2 years, 7 months ago) by jfiat
Improved handling of end of input cases, and avoid calling rewind_character when end of input is reached.

Revision 100518 - Directory Listing
Modified Mon Jun 19 18:53:08 2017 UTC (2 years, 7 months ago) by alexk
Changed type of `name` to be READABLE_STRING_32 instead of STRING_32, so that it's possible to use more string objects to set it without conversion.

Revision 100486 - Directory Listing
Modified Thu Jun 15 20:13:16 2017 UTC (2 years, 7 months ago) by manus
Add `set_rout_disp_final` as a creation procedure in .NET too

Although not used it helps in having the .NET agent classes similar to their classic counterpart.


Revision 100471 - Directory Listing
Modified Wed Jun 14 15:50:37 2017 UTC (2 years, 7 months ago) by alexk
Fixed test#lib046 by avoiding putting a space before argument 0 (program name).

Revision 100470 - Directory Listing
Modified Wed Jun 14 15:45:57 2017 UTC (2 years, 7 months ago) by ericb
Fixed external routines due to the use of the C flag -DWIN32_LEAN_AND_MEAN.
See bug#19357.

Revision 100467 - Directory Listing
Modified Tue Jun 13 15:52:27 2017 UTC (2 years, 7 months ago) by ericb
Fixed external routines due to the use of the C flag -DWIN32_LEAN_AND_MEAN.
See bug#19357.

Revision 100442 - Directory Listing
Modified Thu Jun 1 10:00:02 2017 UTC (2 years, 7 months ago) by ericb
Removed the note about the singleton property of TYPE.

Revision 100441 - Directory Listing
Modified Thu Jun 1 08:23:47 2017 UTC (2 years, 7 months ago) by ericb
* Marked class TYPE as frozen. This seems necessary based on the assumption made in the implementation of the built-in features in this class (see eif_built_in.h) that the current object is of generic type whose first actual generic parameter is supposed to represent the Eiffel type being handled.
* Added a note to clarify that {ANY} and {ANY} are the same object.

See https://github.com/EiffelSoftware/EiffelStudio/pull/3

Revision 100440 - Directory Listing
Modified Thu Jun 1 07:24:49 2017 UTC (2 years, 7 months ago) by ericb
Added built-in features in Agent classes, so that the same code can be compiled by ISE and Gobo even if they have different compilation techniques.
See https://github.com/EiffelSoftware/EiffelStudio/pull/8

Revision 100436 - Directory Listing
Modified Thu May 25 15:02:28 2017 UTC (2 years, 7 months ago) by manus
Allow usage of synchronization objects in non-multithreaded model/ev_model.e

It addresses bug#19360 by defining proper values for boolean queries and by ensuring preconditions are always met in non-multithreaded mode.

Revision 100428 - Directory Listing
Modified Tue May 23 12:29:02 2017 UTC (2 years, 8 months ago) by javierv
Get rid off obsolete calls.
Added encoding library.
Updated obsolete messages without a deadline date.

Revision 100426 - Directory Listing
Modified Fri May 19 13:25:48 2017 UTC (2 years, 8 months ago) by alexk
Added description.

Revision 100425 - Directory Listing
Modified Fri May 19 13:24:49 2017 UTC (2 years, 8 months ago) by alexk
Changed description so that it is different from the one used by AutoTest.

Revision 100424 - Directory Listing
Modified Fri May 19 13:23:43 2017 UTC (2 years, 8 months ago) by alexk
Corrected description to list appropriate library name.

Revision 100423 - Directory Listing
Modified Fri May 19 13:18:35 2017 UTC (2 years, 8 months ago) by alexk
Mentioned in the description that the library is obsolete.

Revision 100421 - Directory Listing
Modified Fri May 19 12:37:20 2017 UTC (2 years, 8 months ago) by jfiat
Fixed previous changes on some package.iron files

Revision 100420 - Directory Listing
Modified Fri May 19 12:24:35 2017 UTC (2 years, 8 months ago) by jfiat
Updated package.iron files, removed -safe.ecf entries.

Revision 100418 - Directory Listing
Modified Fri May 19 10:31:56 2017 UTC (2 years, 8 months ago) by jfiat
Do not process the xml_declaration in XML_DOCUMENT.process_to_events as it is processed by ML_TREE_TO_EVENTS.

Revision 100406 - Directory Listing
Modified Wed May 17 09:22:32 2017 UTC (2 years, 8 months ago) by jfiat
URL Encode unsafe characters.
Add a way to add a self-encoded query parameter (could be used to pass unsafe character if required).

Revision 100404 - Directory Listing
Modified Tue May 16 14:53:04 2017 UTC (2 years, 8 months ago) by jfiat
Improved URI building by handling query name, query value and path segment encoding rules.

Revision 100388 - Directory Listing
Modified Fri May 12 16:59:49 2017 UTC (2 years, 8 months ago) by manus
Merged contribution https://github.com/EiffelSoftware/EiffelStudio/pull/16

Thanks to https://github.com/DomSoftware to contributing this patch that allows concurrent reading and writing to the same socket object.


Revision 100359 - Directory Listing
Modified Thu May 11 14:52:55 2017 UTC (2 years, 8 months ago) by manus
Introduce missing correct_mismatch

It should have been introduced in 14.05 but wasn't. It will help users retrieve old storables containing agents.


Revision 100352 - Directory Listing
Modified Thu May 11 04:18:57 2017 UTC (2 years, 8 months ago) by manus
Fix `put_real` to use big endian order to send over the network

It fixes github issue https://github.com/EiffelSoftware/EiffelStudio/issues/15


Revision 100343 - Directory Listing
Modified Fri May 5 17:18:47 2017 UTC (2 years, 8 months ago) by jfiat
Removed unused local variable.

Revision 100342 - Directory Listing
Modified Fri May 5 17:08:38 2017 UTC (2 years, 8 months ago) by jfiat
Updated or added timestamp to obsolete message.
Removed a few obsolete calls.


Revision 100336 - Directory Listing
Modified Thu May 4 20:03:35 2017 UTC (2 years, 8 months ago) by jfiat
Updated or added timestamp to obsolete messages.
Removed a few obsolete calls , and use utf-8 instead of truncating unicode value to STRING_8.

Revision 100327 - Directory Listing
Modified Thu May 4 06:38:30 2017 UTC (2 years, 8 months ago) by ericb
Fixed bug in EiffelThread when the attribute {THREAD}.terminated is renamed in descendant classes (see bug#19356 and test#thread025).

Revision 100320 - Directory Listing
Modified Wed May 3 20:09:21 2017 UTC (2 years, 8 months ago) by jfiat
Removed obsolete call.

Revision 100318 - Directory Listing
Modified Wed May 3 19:17:49 2017 UTC (2 years, 8 months ago) by jfiat
Removed obsolete calls, and improved code.

Revision 100317 - Directory Listing
Modified Wed May 3 15:56:14 2017 UTC (2 years, 8 months ago) by jfiat
Updated or added timestamp to obsolete message.

Revision 100315 - Directory Listing
Modified Wed May 3 14:51:35 2017 UTC (2 years, 8 months ago) by jfiat
Removed obsolete calls, updated obsolete messages timestamp.
Changed EQA_PARTIAL_RESULT.tag result type from READABLE_STRING_8 to READABLE_STRING_32.
note: it remains two main obsolete calls:
  - in EAQ_EXTRACTED_TEST_SET: still using ROUTINE.empty_operands 
  - in EQA_FILE_SYSTEM: a call to as_string_8_conversion for `copy_file` with env var substitution.

Revision 100312 - Directory Listing
Modified Wed May 3 12:07:31 2017 UTC (2 years, 8 months ago) by jfiat
Removed uneeded use of local variable for Result.
Removed an obsolete call.

Revision 100311 - Directory Listing
Modified Wed May 3 11:56:25 2017 UTC (2 years, 8 months ago) by jfiat
Removed obsolete calls, updated obsolete messages timestamp.

Revision 100309 - Directory Listing
Modified Wed May 3 10:10:38 2017 UTC (2 years, 8 months ago) by jfiat
Removed obsolete calls, updated obsolete messages timestamp.

Revision 100308 - Directory Listing
Modified Wed May 3 08:43:46 2017 UTC (2 years, 8 months ago) by jfiat
Removed obsolete calls, and improved code.

Revision 100303 - Directory Listing
Modified Tue May 2 04:16:42 2017 UTC (2 years, 8 months ago) by manus
Fix C compilation error due to missing `winspool.h`.


Revision 100302 - Directory Listing
Modified Tue May 2 04:16:21 2017 UTC (2 years, 8 months ago) by manus
Fix C compilation error due to missing `oleaut.h` header


Revision 100297 - Directory Listing
Modified Mon May 1 23:21:37 2017 UTC (2 years, 8 months ago) by manus
Fix wrong header files in C externals.

Now that we use WIN32_LEAN_AND_MEAN we need to include the proper headers.


Revision 100296 - Directory Listing
Modified Mon May 1 23:12:37 2017 UTC (2 years, 8 months ago) by manus
To use `struct timeval` on Windows, you need to include `winsock2.h`


Revision 100295 - Directory Listing
Modified Mon May 1 23:06:22 2017 UTC (2 years, 8 months ago) by manus
Add missing <winspool.h> header required for compilation with WIN32_LEAN_AND_MEAN


Revision 100294 - Directory Listing
Modified Mon May 1 23:06:00 2017 UTC (2 years, 8 months ago) by manus
Add missing headers required to compile WEL with WIN32_LEAN_AND_MEAN


Revision 100292 - Directory Listing
Modified Mon May 1 22:26:00 2017 UTC (2 years, 8 months ago) by manus
Made code compile with WIN32_LEAN_AND_MEAN by adding reference to `ole2.h`


Revision 100291 - Directory Listing
Modified Mon May 1 22:23:35 2017 UTC (2 years, 8 months ago) by manus
Adapt to the fact we are using WIN32_LEAN_AND_MEAN now


Revision 100290 - Directory Listing
Modified Mon May 1 22:16:50 2017 UTC (2 years, 8 months ago) by manus
Remove borland and use $(ISE_C_COMPILER) instead of msc

Note, that the C++ code doesn't compile regardless of this change.


Revision 100281 - Directory Listing
Modified Mon May 1 21:21:45 2017 UTC (2 years, 8 months ago) by manus
Define ccflags/mtccflags after optimize

This allows setting up ISE_CFLAGS to be taken into account while compiling our C libraries


Revision 100280 - Directory Listing
Modified Mon May 1 21:10:53 2017 UTC (2 years, 8 months ago) by manus
Use winsock2.h for consistency


Revision 100272 - Directory Listing
Modified Mon May 1 19:36:09 2017 UTC (2 years, 8 months ago) by manus
Do not define _WINSOCKAPI_

This would prevent inclusion of the winsock2 headers when using cUrl.


Revision 100257 - Directory Listing
Modified Thu Apr 27 12:51:52 2017 UTC (2 years, 8 months ago) by jfiat
Fixed postcondition `valid_result` for `is_case_insensitive_equal` of READABLE_STRING_{8|32} .
  - as_lower returns an instance of `like Current` and then `as_lower` and `other.as_lower` 
    may have not have the same type, for instance STRING_8 and IMMUTABLE_STRING_8 .
  - See bug report #19352 by Eric Bezault.

Revision 100246 - Directory Listing
Modified Fri Apr 21 15:08:58 2017 UTC (2 years, 9 months ago) by alexk
Fixed test#array009 by avoiding overflow when lower or upper boundary is a minimum or maximum INTEGER.

Revision 100243 - Directory Listing
Modified Thu Apr 20 16:16:38 2017 UTC (2 years, 9 months ago) by javierv
Reverted changes in WEL_WINDOW, at the moment is not possible to remove obsolete calls.

Revision 100241 - Directory Listing
Modified Thu Apr 20 14:00:43 2017 UTC (2 years, 9 months ago) by javierv
Fixed obsolete feature calls.
Updated code, mmissing date in obsolete messages, put [2017-05-31]. 


Revision 100240 - Directory Listing
Modified Thu Apr 20 12:47:17 2017 UTC (2 years, 9 months ago) by javierv
Updated code, mmissing date in obsolete messages, put [2017-05-31]. 

Revision 100238 - Directory Listing
Modified Wed Apr 19 14:57:14 2017 UTC (2 years, 9 months ago) by javierv
Updated code, mmissing date in obsolete messages, put [2017-05-31] 

Revision 100235 - Directory Listing
Modified Wed Apr 19 14:40:07 2017 UTC (2 years, 9 months ago) by javierv
Updated code, mmissing date in obsolete messages, put [2017-05-31] 

Revision 100231 - Directory Listing
Modified Tue Apr 18 20:54:32 2017 UTC (2 years, 9 months ago) by javierv
Fixed obsolete feature calls.


Revision 100230 - Directory Listing
Modified Tue Apr 18 19:36:17 2017 UTC (2 years, 9 months ago) by javierv
Fixed obsolete feature calls.


Revision 100229 - Directory Listing
Modified Tue Apr 18 18:36:56 2017 UTC (2 years, 9 months ago) by alexk
Fixed bug#19341 by correcting equality operator in `is_all_tools`.
Merged nested conditionals.
Removed unnecessary types in object tests.


Revision 100228 - Directory Listing
Modified Tue Apr 18 18:33:52 2017 UTC (2 years, 9 months ago) by alexk
Simplified `save_editor_minimized_data`.

Revision 100227 - Directory Listing
Modified Tue Apr 18 18:32:50 2017 UTC (2 years, 9 months ago) by alexk
Removed unnecessary local variable.

Revision 100226 - Directory Listing
Modified Tue Apr 18 18:31:15 2017 UTC (2 years, 9 months ago) by alexk
Simplified `prune_zone_by_content`.
Merges nested conditionals.
Removed unnecessary type in an object test.


Revision 100223 - Directory Listing
Modified Tue Apr 18 18:22:38 2017 UTC (2 years, 9 months ago) by alexk
Removed `internal_shared` that sometimes was not restored when creating state objects indirectly and used either inheritance from SD_SHARED or direct access to static queries.
Simplified `{SD_DOCKING_STATE}.restore` by setting direction at creation time.


Revision 100222 - Directory Listing
Modified Tue Apr 18 18:15:24 2017 UTC (2 years, 9 months ago) by alexk
Removed `internal_content` that was used instead of `content`.
Added debug output.
Combined nested conditionals.


Revision 100221 - Directory Listing
Modified Tue Apr 18 18:13:07 2017 UTC (2 years, 9 months ago) by alexk
Simplified `set_editor_width`.
Cosmetics:
	- removed unnecessary parentheses
	- removed comparison to boolean constants
	- removed unused assignments
	- removed unnecessary local variables


Revision 100210 - Directory Listing
Modified Mon Apr 17 11:29:45 2017 UTC (2 years, 9 months ago) by alexk
Reverted mistakenly committed change that removed comparison of `area` against Void in feature `copy` that may be called by `twin` without all attributes properly set.

Revision 100208 - Directory Listing
Modified Sun Apr 16 14:27:03 2017 UTC (2 years, 9 months ago) by alexk
Removed comparison of `area` to Void becaue it is of an attached type.
Cosmetics:
	- used inherited comments for features with precursors
	- added trailing periods in feature comments


Revision 100207 - Directory Listing
Modified Sat Apr 15 12:05:54 2017 UTC (2 years, 9 months ago) by alexk
Fixed pr#19346:
	- added invariant to class SPECIAL: `consistent_count: count = upper - lower + 1`
	- moved invariant `count_less_than_capacity` from SPECIAL to ABSTRACT_SPECIAL
	- simplified invariant `consistent_boundaries` of class READABLE_INDEXABLE
Made .NET version of class SPECIAL similar to the classic version:
	- used same assertions
	- added feature `new_cursor`


Revision 100205 - Directory Listing
Modified Fri Apr 14 18:24:01 2017 UTC (2 years, 9 months ago) by alexk
Used a string table instead of a hash table to avoid potential issues with different string types used for comparison.
Cosmetics.


Revision 100203 - Directory Listing
Modified Fri Apr 14 18:05:46 2017 UTC (2 years, 9 months ago) by alexk
Added a date stamp to obsolete messages.
Replaced calls to obsolete features with calls to contemporary ones.
Removed unnecessary local variables.
Removed unnecessary types in object tests.
Simplified boolean expressions.
Restricted feature export of creation procedures.
Corrected a bug in `SD_TOOL_BAR_DRAWER_IMP.draw_item` that used a wrong rectangle to draw button background.
Used 32-bit strings to store splitter positions.
Cosmetics:
	- removed comparison ob boolean values with constants
	- added trailing periods in comments
	- removed unused code
	- removed unnecessary parentheses
	- added feature clause comments


Revision 100202 - Directory Listing
Modified Fri Apr 14 16:56:26 2017 UTC (2 years, 9 months ago) by alexk
Corrected comment for `internal_name_32`.
Changed conversion feature for ...STRING_GENERAL to `to_string_32` to use Unicode names for .NET types by default.
Added missing feature `attempted`.
Corrected `to_string_32` to use `name_32` instead of `name`.
Cosmetics: made obsolete messages idetical to classic version.


Revision 100201 - Directory Listing
Modified Fri Apr 14 16:49:18 2017 UTC (2 years, 9 months ago) by alexk
Corrected comment for `internal_name_32`.
Changed conversion feature for ...STRING_GENERAL to `to_string_32` to match .NET version.


Revision 100196 - Directory Listing
Modified Fri Apr 14 12:25:33 2017 UTC (2 years, 9 months ago) by alexk
Fixed a bug in `swap_tabs_and_contents` that mistakenly checked only whether the first tab index was valid, but not the second one.

Revision 100194 - Directory Listing
Modified Fri Apr 14 10:59:28 2017 UTC (2 years, 9 months ago) by alexk
Added a date stamp to obsolete messages.
Removed unnecessary local variables.
Restricted feature export status of creation procedures.
Cosmetics: added trailing periods, combined feature clauses.


Revision 100192 - Directory Listing
Modified Fri Apr 14 10:01:19 2017 UTC (2 years, 9 months ago) by alexk
Replaced calls to an obsolete feature `TYPE.attempt` with object tests.

Revision 100191 - Directory Listing
Modified Fri Apr 14 09:58:10 2017 UTC (2 years, 9 months ago) by alexk
Added a date stamp to obsolete messages.
Restricted feature export status of creation procedures.
Removed unnecessary local variables.
Cosmetics: removed unnecessary parentheses, added trailing period to comments.


Revision 100188 - Directory Listing
Modified Fri Apr 14 08:36:44 2017 UTC (2 years, 9 months ago) by alexk
Removed unnecessary local variables.
Merged nested conditionals.
Replaced internal-cursor-based loops with across loops.
Cosmetics: added trailing periods in comments.


Revision 100187 - Directory Listing
Modified Fri Apr 14 08:31:31 2017 UTC (2 years, 9 months ago) by alexk
Added a date stamp to obsolete messages.
Removed unnecessary local variables.
Merged nested conditionals.
Merged identical feature clauses.
Replaced internal-cursor-based loops with across loops.
Changed `ARGUMENT_ENVIRONMENT_TERMINAL_SOURCE.make` to take READABLE_STRING_32 instead of READABLE_STRING_8.
Cosmetics: added trailing periods to comments, removed unnecessary parentheses.


Revision 100186 - Directory Listing
Modified Fri Apr 14 08:20:41 2017 UTC (2 years, 9 months ago) by alexk
Added a date stamp to obsolete messages.
Cosmetics: added trailing periods.


Revision 100181 - Directory Listing
Modified Thu Apr 13 17:31:56 2017 UTC (2 years, 9 months ago) by alexk
Returned STRING_32 instead of STRING_8 as a string value.

Revision 100180 - Directory Listing
Modified Thu Apr 13 17:28:51 2017 UTC (2 years, 9 months ago) by alexk
Made creation procedures secret to avoid memory leaks if they were called as regular features.

Revision 100179 - Directory Listing
Modified Thu Apr 13 17:22:44 2017 UTC (2 years, 9 months ago) by alexk
Returned READABLE_STRING_32 instead of STRING_8 as a message.

Revision 100178 - Directory Listing
Modified Thu Apr 13 16:48:42 2017 UTC (2 years, 9 months ago) by alexk
Supported retrieval of data using READABLE_STRING_GENERAL instead of STRING_8.
Changed `name` to be of type STRING_32 rather than STRING_8.


Revision 100177 - Directory Listing
Modified Thu Apr 13 16:44:06 2017 UTC (2 years, 9 months ago) by alexk
Replaced a call to obsolete `ARRAY.make` with a call to `make_filled`.

Revision 100176 - Directory Listing
Modified Thu Apr 13 16:41:07 2017 UTC (2 years, 9 months ago) by alexk
Removed an unnecessary local variable.

Revision 100175 - Directory Listing
Modified Thu Apr 13 16:40:01 2017 UTC (2 years, 9 months ago) by alexk
Cosmetics.

Revision 100174 - Directory Listing
Modified Thu Apr 13 15:42:42 2017 UTC (2 years, 9 months ago) by alexk
Used an object-test variable to access a value multiple times.

Revision 100173 - Directory Listing
Modified Thu Apr 13 15:30:09 2017 UTC (2 years, 9 months ago) by alexk
Allowed READABLE_STRING_GENERAL to be used to initialize GUIDs.
Used a query if a character is a hexadecimal one instead of using custom checks.
Changed to_string to return STRING_32 instead of STRING_8.


Revision 100165 - Directory Listing
Modified Thu Apr 13 12:42:37 2017 UTC (2 years, 9 months ago) by jfiat
Implemented cursor_obverser removal in `TEXT_OBSERVER_MANAGER.remove_observer (..)` from the editor library.

Revision 100151 - Directory Listing
Modified Thu Apr 13 08:59:35 2017 UTC (2 years, 9 months ago) by alexk
Replaced implicit conversion involving obsolete features with explicit calls to non-obsolete ones.
Recommended to use TYPE.name_32 instead of TYPE.name because on .NET there is no guarantee that the name will fit into STRING_8.
Added name_32 and related features to .NET version of TYPE class.


Revision 100150 - Directory Listing
Modified Wed Apr 12 13:15:47 2017 UTC (2 years, 9 months ago) by alexk
Replaced implicit obsolete conversions from TYPE to STRING with explicit calls to features that return a type name.

Revision 100143 - Directory Listing
Modified Tue Apr 11 23:29:39 2017 UTC (2 years, 9 months ago) by manus
Fix void-safe signature of `attached_less_than`


Revision 100140 - Directory Listing
Modified Tue Apr 11 19:05:38 2017 UTC (2 years, 9 months ago) by manus
Define attached_less_than instead of less_than per Gobo 4.1 requirements


Revision 100138 - Directory Listing
Modified Tue Apr 11 18:41:26 2017 UTC (2 years, 9 months ago) by manus
Updated to work with version 4.1 of Gobo


Revision 100124 - Directory Listing
Modified Mon Apr 10 12:16:09 2017 UTC (2 years, 9 months ago) by javierv
Updated postconditions for consistency, (using `l_spec.target_index * 2 + 1' instead of `(l_spec.target_index + 1) * 2 - 1`) 

Revision 100121 - Directory Listing
Modified Mon Apr 10 08:03:05 2017 UTC (2 years, 9 months ago) by jfiat
Use single `feature_name' syntax instead of ``feature_name'' .
Added or updated date stamp to obsolete messages.

Revision 100120 - Directory Listing
Modified Mon Apr 10 07:58:49 2017 UTC (2 years, 9 months ago) by jfiat
Removed precondition `has_panel` to make `remove_panel` easier to use.

Revision 100119 - Directory Listing
Modified Mon Apr 10 07:37:21 2017 UTC (2 years, 9 months ago) by jfiat
Use single `feature_name' syntax instead of ``feature_name'' .

Revision 100118 - Directory Listing
Modified Mon Apr 10 07:13:39 2017 UTC (2 years, 9 months ago) by jfiat
Undo previous change to keep mapping REAL <-> REAL_32 and DOUBLE <-> REAL_64.

Reported by Eric Bezault.

Revision 100111 - Directory Listing
Modified Fri Apr 7 14:02:44 2017 UTC (2 years, 9 months ago) by jfiat
Move a few character-agnostic features up to STRING_GENERAL.

Revision 100107 - Directory Listing
Modified Thu Apr 6 12:42:34 2017 UTC (2 years, 9 months ago) by javierv
Updated assertions (Postconditions) using target_index instead of cursor_index. 

Revision 100099 - Directory Listing
Modified Wed Apr 5 14:23:32 2017 UTC (2 years, 9 months ago) by javierv
EiffelStudio GUI Add contextual menu to restore: recently closed tabs.
Added shortcut in the contextual menu for Close tabs 'Ctrl + F4'.

Revision 100095 - Directory Listing
Modified Mon Apr 3 13:11:25 2017 UTC (2 years, 9 months ago) by jfiat
Removed unwanted tests.

Revision 100094 - Directory Listing
Modified Mon Apr 3 12:38:13 2017 UTC (2 years, 9 months ago) by jfiat
Added new creation procedure for IMMUTABLE_STRING_8 and STRING_8
	make_from_c_substring (c_string: POINTER; start_pos, end_pos: INTEGER)
			-- Initialize from substring of `c_string',
			-- between `start_pos' and `end_pos',
			-- `c_string' created by some C function.


Revision 100093 - Directory Listing
Modified Mon Apr 3 12:00:24 2017 UTC (2 years, 9 months ago) by jfiat
Check `has_content` function before accessing `content`.
Removed a few obsolete calls "{TYPE} + string" .

Revision 100092 - Directory Listing
Modified Mon Apr 3 03:58:24 2017 UTC (2 years, 9 months ago) by manus
Removed unused locals


Revision 100090 - Directory Listing
Modified Fri Mar 31 16:59:33 2017 UTC (2 years, 9 months ago) by jfiat
Added or updated date stamp to obsolete messages.

Revision 100087 - Directory Listing
Modified Fri Mar 31 16:06:31 2017 UTC (2 years, 9 months ago) by jfiat
Fixed compilation in void-safe mode by adding `attached` before `like interface` in `old_make`.

Revision 100086 - Directory Listing
Modified Fri Mar 31 13:03:02 2017 UTC (2 years, 9 months ago) by alexk
Added date stamp to obsolete messages.
Replaced generic feature clause comments with more specific.
Removed comparison to boolean constants.
Removed unnecessary local variables.
Merged nested conditional instructions.


Revision 100085 - Directory Listing
Modified Fri Mar 31 12:58:07 2017 UTC (2 years, 9 months ago) by alexk
Added date stamp to obsolete messages.
Replaced generic feature clause comments with more specific.
Removed comparison to boolean constants.
Merged nested conditional instructions.
Removed unnecessary local variables.
Replaced internal-cursor-based loops with iterative forms of a loop.
Restricted export status of some creation procedures (it was mistakenly put on feature clause rather then on creation clause).


Revision 100084 - Directory Listing
Modified Fri Mar 31 09:21:18 2017 UTC (2 years, 9 months ago) by jfiat
Check `has_content` function before accessing `content`.

Revision 100083 - Directory Listing
Modified Fri Mar 31 08:26:11 2017 UTC (2 years, 9 months ago) by jfiat
Fixed compilation in void-safe mode by adding `attached` before `like interface` in `old_make`.

Revision 100082 - Directory Listing
Modified Thu Mar 30 20:16:48 2017 UTC (2 years, 9 months ago) by jfiat
Added or updated date stamp to obsolete messages.

Revision 100080 - Directory Listing
Modified Thu Mar 30 20:05:15 2017 UTC (2 years, 9 months ago) by jfiat
Replaced obsolete calls to EXCEPTION.message with EXCEPTION.description .

Revision 100070 - Directory Listing
Modified Thu Mar 30 11:54:40 2017 UTC (2 years, 9 months ago) by alexk
Added timestamps to obsolete messages.
Corrected feature names (used "children" instead of "childrens").
Removed unnecessary local variables.


Revision 100065 - Directory Listing
Modified Wed Mar 29 12:26:46 2017 UTC (2 years, 9 months ago) by alexk
Replaced calls to obsolete features with contemporary ones.
Added a date stamp to obsolete messages.
Removed unnecessary local variables.
Removed unnecessary parentheses.
Added missing feature clause comments.
Combined feature clauses with the same comment into one.


Revision 100064 - Directory Listing
Modified Tue Mar 28 12:36:24 2017 UTC (2 years, 9 months ago) by alexk
Added date stamp to obsolete messages.
Removed unnecessary local variables.
Removed unnecessary parentheses.
Added missing feature clause comments.


Revision 100061 - Directory Listing
Modified Tue Mar 28 07:56:35 2017 UTC (2 years, 9 months ago) by jfiat
Fixed crash when resetting docking layout.
Added assertion and condition to protect access to `SD_ZONE.content` .

Revision 100059 - Directory Listing
Modified Mon Mar 27 20:47:24 2017 UTC (2 years, 9 months ago) by jfiat
Fixed gtk34 compilation in void-safe mode by adding `attached` before `like interface` in `old_make`.

Revision 100058 - Directory Listing
Modified Mon Mar 27 20:31:29 2017 UTC (2 years, 9 months ago) by jfiat
Fixed compilation in void-safe mode by adding 'attached' before 'like interface' in 'old_make'.

Revision 100057 - Directory Listing
Modified Mon Mar 27 19:55:59 2017 UTC (2 years, 9 months ago) by jfiat
Improved void-safe code 
- adding `attached` before `like interface` in `old_make` and a couple of other features;
- making an argument of `set_text` attached.
Fixed void-safe compilation for cocoa platform.

Revision 100056 - Directory Listing
Modified Mon Mar 27 17:23:22 2017 UTC (2 years, 9 months ago) by alexk
Fixed compilation in void-safe mode by
- adding `attached` before `like interface` in `old_make` and a couple of other features;
- making an argument of `set_text` attached.


Revision 100039 - Directory Listing
Modified Thu Mar 23 21:17:37 2017 UTC (2 years, 10 months ago) by alexk
Removed unnecessary temporary variables.
Replaced obsolete feature calls with contemporary ones.
Corrected comment style.
Removed unnecessary parentheses.


Revision 100037 - Directory Listing
Modified Thu Mar 23 20:46:07 2017 UTC (2 years, 10 months ago) by alexk
Fixed test#lib045 by stopping parsing as soon as an overflow is detected. The original code was almost correct except that it assigned a new value to a state variable after earlier assignment of the overflow state. The bug was found by inspecting warnings from the code analyzer.

Revision 100036 - Directory Listing
Modified Thu Mar 23 20:42:57 2017 UTC (2 years, 10 months ago) by alexk
Cosmetics: sightly simplified code.

Revision 100033 - Directory Listing
Modified Thu Mar 23 19:18:26 2017 UTC (2 years, 10 months ago) by alexk
Added date to obsolete messages.
Removed varibles that are used only once.
Removed useless assignments to variables.
Removed unneeded parentheses.
Combined nested conditional expressions into single ones.
Fixed comment style.
Avoided creation of a target of a call when the called feature is static.
Merged the same feature clauses.
Removed comparison with a boolean constant.
Removed object test type when not needed.
Replaced loop that use inner cursors with iteration forms.


Revision 100012 - Directory Listing
Modified Tue Mar 21 18:35:03 2017 UTC (2 years, 10 months ago) by manus
Made code compilable with 17.05

Add checks for arguments to be attached as it is already captured by precondition.


Revision 100010 - Directory Listing
Modified Tue Mar 21 16:31:32 2017 UTC (2 years, 10 months ago) by jfiat
Improved debugging experience for docking code.
(+fixed a few typo, and remove an obsolete reverse assignment attempt.)

Revision 99944 - Directory Listing
Modified Thu Mar 9 20:11:30 2017 UTC (2 years, 10 months ago) by javierv
Updated Vision2 Clib load_pixmap.c to use the latest libpng library version 1.6.28 
Added a new required header and updated to the new names used in the png_struct_def, jmpbuf is not used anymore, the new name is jmp_buf_local.
Replacing `png_set_gray_1_2_4_to_8' it was removed as deprecated, using now `png_set_expand_gray_1_2_4_to_8'.

Revision 99878 - Directory Listing
Modified Wed Mar 1 09:17:46 2017 UTC (2 years, 10 months ago) by alexk
Fixed test#reflection010 by comparing an attached version of a type in the postcondition of `new_instance_of`.

Revision 99873 - Directory Listing
Modified Mon Feb 27 13:20:16 2017 UTC (2 years, 10 months ago) by alexk
Fixed a postcondition violation in test#iteration001 related to `cursor_index` by taking `step` into account.

Revision 99871 - Directory Listing
Modified Mon Feb 27 11:47:14 2017 UTC (2 years, 10 months ago) by alexk
Made sure auto-hide panels are properly initialized with a docking manager after creation (this fixes an issue with EiffelRibbon tool not showing auto-hide panels after library update).

Revision 99870 - Directory Listing
Modified Mon Feb 27 11:43:05 2017 UTC (2 years, 10 months ago) by alexk
Restricted creation procedure to docking manager only to ensure initialization is correctly completed.

Revision 99869 - Directory Listing
Modified Sun Feb 26 19:07:36 2017 UTC (2 years, 10 months ago) by alexk
Redefined cursor_index that cannot be computed directly using target index (as done in the precursor implementation) because some items can be deleted. Together with rev#99868 this fixes test#lib044 (bug#19277).

Revision 99868 - Directory Listing
Modified Sun Feb 26 19:02:44 2017 UTC (2 years, 10 months ago) by alexk
Fixed previous_iteration_position that compared result to 0 instead of -1 that caused spurious items to be produced by a backward cursor in test#lib044 (bug#19277).

Revision 99867 - Directory Listing
Modified Sun Feb 26 18:51:18 2017 UTC (2 years, 10 months ago) by alexk
Used Unicode strings in debug output.

Revision 99865 - Directory Listing
Modified Sun Feb 26 18:10:11 2017 UTC (2 years, 10 months ago) by alexk
Fixed a precondition violation for dropping items into a widget caused by calling {ARRAYED_LIST}.make_filled when the actual generic parameter is not self-initializing.

Revision 99858 - Directory Listing
Modified Sun Feb 26 14:18:00 2017 UTC (2 years, 10 months ago) by alexk
Made docking library completely void-safe.

Revision 99846 - Directory Listing
Modified Sun Feb 19 09:31:54 2017 UTC (2 years, 11 months ago) by alexk
Replaced obsolete calls to TYPE.plus with calls to TYPE.name and STRING.plus.

Revision 99845 - Directory Listing
Modified Sun Feb 19 09:29:01 2017 UTC (2 years, 11 months ago) by alexk
Replaced an obsolete call to HASH_TABLE.clear_all with HASH_TABLE.wipe_out.

Revision 99812 - Directory Listing
Modified Thu Feb 9 17:20:23 2017 UTC (2 years, 11 months ago) by manus
Set attributes before calling creation routine to avoid potential VEVI error


Revision 99809 - Directory Listing
Modified Thu Feb 9 12:11:51 2017 UTC (2 years, 11 months ago) by alexk
Fixed test#lib043 by changing signature of `new_cursor` to `like Current` so that specific cursor types are preserved, in particular, for HASH_TABLE_ITERATION_CURSOR, when a new cursor is created from a given one.

Revision 99792 - Directory Listing
Modified Tue Feb 7 14:17:22 2017 UTC (2 years, 11 months ago) by alexk
Supported redirection of standard output and error into streams that can be read on the launcher side.
Added procedures to perform blocking reading from standard output and error streams, and queries that tell if the operations are successful. (test#lib042)
Corrected processing of command-line arguments in .NET where every second argument was removed from the command line passed to the newly created process. (The issue is also reproducible with test#lib042.)


Revision 99791 - Directory Listing
Modified Tue Feb 7 12:43:07 2017 UTC (2 years, 11 months ago) by alexk
Added a procedure to read data into a buffer of type SPECIAL.

Revision 99786 - Directory Listing
Modified Wed Feb 1 22:47:10 2017 UTC (2 years, 11 months ago) by manus
Remove empty directories that are not in use anymore.


Revision 99782 - Directory Listing
Modified Wed Feb 1 14:21:00 2017 UTC (2 years, 11 months ago) by javierv
Initial Import, test cases for EiffelStore with NULL values (SQL statemens and store procedures)-


Revision 99755 - Directory Listing
Modified Tue Jan 24 19:43:58 2017 UTC (2 years, 11 months ago) by javierv
Added support to send Null values (Void) in EiffelStore SQL statements and store procedures.
Documented DB_PROC.store feature.

Revision 99748 - Directory Listing
Modified Tue Jan 24 17:11:43 2017 UTC (2 years, 11 months ago) by manus
Add `is_64_bits` convenient feature


Revision 99747 - Directory Listing
Modified Tue Jan 24 17:10:22 2017 UTC (2 years, 11 months ago) by manus
Remove non-used local in `put_data`


Revision 99744 - Directory Listing
Modified Fri Jan 20 16:27:05 2017 UTC (3 years ago) by manus
Fix comments


Revision 99730 - Directory Listing
Modified Thu Jan 19 17:31:32 2017 UTC (3 years ago) by manus
Fix comment on `last_subtree_function_call_time`.


Revision 99720 - Directory Listing
Modified Fri Jan 13 13:16:55 2017 UTC (3 years ago) by jfiat
Converted memory_analyzer library to complete Void-safety.

Revision 99714 - Directory Listing
Modified Thu Jan 12 13:12:45 2017 UTC (3 years ago) by alexk
Changed export status of temporary handles that are used only during process initialization and should not be accessible in other classes.

Revision 99713 - Directory Listing
Modified Thu Jan 12 13:11:12 2017 UTC (3 years ago) by alexk
Added features for file input/output.

Revision 99712 - Directory Listing
Modified Thu Jan 12 13:08:40 2017 UTC (3 years ago) by alexk
Added parenthesis aliases for agent call features to match the interface of a classic version.

Revision 99704 - Directory Listing
Modified Mon Jan 9 09:35:35 2017 UTC (3 years ago) by alexk
Used SHARED_EXECUTION_ENVIRONMENT instead of adding a once function.

Revision 99702 - Directory Listing
Modified Thu Jan 5 17:52:29 2017 UTC (3 years ago) by jfiat
Converted EiffelGraph to full Void-safety (and also the egraph example).

One minor breaking change is the removal of `EG_VECTOR2D.default_create`, now always use `make (.., ..)`

Revision 99689 - Directory Listing
Modified Mon Jan 2 16:23:50 2017 UTC (3 years ago) by alexk
Implemented OS-independent version of `wait_for_exit_with_timeout` that does not require multithreading.

Revision 99688 - Directory Listing
Modified Mon Jan 2 10:56:08 2017 UTC (3 years ago) by jfiat
Fixed code by handling the case where choice preference string value is empty.

Revision 99662 - Directory Listing
Modified Thu Dec 8 10:30:24 2016 UTC (3 years, 1 month ago) by alexk
Removed unused feature.

Revision 99631 - Directory Listing
Modified Mon Dec 5 17:39:47 2016 UTC (3 years, 1 month ago) by manus
Replace REAL by REAL_32 and DOUBLE by REAL_64


Revision 99620 - Directory Listing
Modified Sat Dec 3 05:13:47 2016 UTC (3 years, 1 month ago) by manus
Remove unused local in `subtree_function_item`


Revision 99619 - Directory Listing
Modified Sat Dec 3 05:11:57 2016 UTC (3 years, 1 month ago) by manus
Fix incorrect exclusion of ev_thread_worker.e


Revision 99618 - Directory Listing
Modified Sat Dec 3 05:10:56 2016 UTC (3 years, 1 month ago) by manus
Add debug output to UUID


Revision 99606 - Directory Listing
Modified Fri Dec 2 19:10:31 2016 UTC (3 years, 1 month ago) by manus
Fix bug introduced at rev#99195

The effect of the bug was to not show a hidden tab when we selected it from the drop down menu. It was because removing the call to `force_extend` we were calling `on_label_selected` with the number of items when selecting the item instead of the item position at the time of creation.


Revision 99605 - Directory Listing
Modified Fri Dec 2 19:07:06 2016 UTC (3 years, 1 month ago) by manus
Use default capabilities since it compiles in SCOOP mode now


Revision 99604 - Directory Listing
Modified Fri Dec 2 19:06:34 2016 UTC (3 years, 1 month ago) by manus
Use default capabilities now since it compiles in SCOOP mode


Revision 99603 - Directory Listing
Modified Fri Dec 2 19:06:06 2016 UTC (3 years, 1 month ago) by manus
Remove separate once

This will cause to have a HASH_TABLE per thread, but we can revisit this at a later time.


Revision 99602 - Directory Listing
Modified Fri Dec 2 19:04:18 2016 UTC (3 years, 1 month ago) by manus
Make class SCOOP compliant


Revision 99598 - Directory Listing
Modified Fri Dec 2 18:06:54 2016 UTC (3 years, 1 month ago) by manus
Use default capability for concurrency


Revision 99597 - Directory Listing
Modified Fri Dec 2 18:05:17 2016 UTC (3 years, 1 month ago) by manus
Revert rev#99546 by adding back library_target

This is important as our goal is to collect all the testing ECFs
in one project under Src/testing and run all our available tests
in a single project.


Revision 99596 - Directory Listing
Modified Fri Dec 2 17:44:10 2016 UTC (3 years, 1 month ago) by manus
Only use the thread library when requested

Exclude the EV_THREAD_WORKER class when not compiled in thread mode. This class is only
used by 2 classes from EiffelSoftware which are not public.


Revision 99578 - Directory Listing
Modified Thu Dec 1 14:24:09 2016 UTC (3 years, 1 month ago) by jfiat
Fixed compilation of cocoa tests.
Fixed compilation of objc_base library.

Revision 99566 - Directory Listing
Modified Wed Nov 30 17:28:34 2016 UTC (3 years, 1 month ago) by alexk
Disabled warning messages for obsolete feature calls in WEL_WINDOW because there is no good replacement for obsolete features `eif_is_object_id_of_current` and `eif_current_object_id` that are called before `Current` is completely initialized. Refactoring may be required to move calls to them to the place after complete object initialization.

Revision 99565 - Directory Listing
Modified Wed Nov 30 16:42:24 2016 UTC (3 years, 1 month ago) by alexk
Removed support for obsolete SED_INDEPENDENT_DESERIALIZER to avoid obsolete messages when compiling Base.

Revision 99547 - Directory Listing
Modified Mon Nov 28 14:18:06 2016 UTC (3 years, 1 month ago) by jfiat
Assertions should be disabled by default in all EiffelStudio libraries. 
A user would use "Supplier Precondition" setting to check that all input are correct.

Revision 99546 - Directory Listing
Modified Mon Nov 28 13:44:48 2016 UTC (3 years, 1 month ago) by jfiat
Removed library_target from test and app projects to avoid including them into potential library (in Add Library dialog).

Revision 99545 - Directory Listing
Modified Mon Nov 28 06:16:24 2016 UTC (3 years, 1 month ago) by manus
Made EV_DYNAMIC_TREE_ITEM work under OpenBSD

We used some non-portable C externals to measure time difference. Now we include the EiffelTime library to compute it.


Revision 99542 - Directory Listing
Modified Mon Nov 28 04:00:50 2016 UTC (3 years, 1 month ago) by manus
Fix typo.


Revision 99541 - Directory Listing
Modified Mon Nov 28 03:57:18 2016 UTC (3 years, 1 month ago) by manus
Use gettimeofday instead of ftime.

This is a merge of github PR#2 (https://github.com/EiffelSoftware/EiffelStudio_old/pull/2) with additional code to make it compile under windows too (by providing an implementation of `gettimeofday`).


Revision 99539 - Directory Listing
Modified Sun Nov 27 03:39:40 2016 UTC (3 years, 1 month ago) by manus
Excluded sendfile from macOS, FreeBSD and OpenBSD


Revision 99538 - Directory Listing
Modified Sat Nov 26 07:41:27 2016 UTC (3 years, 1 month ago) by manus
Fix initial version of script

Fix properties and output


Revision 99537 - Directory Listing
Modified Sat Nov 26 07:32:53 2016 UTC (3 years, 1 month ago) by manus
Add configuration for EiffelNet C compilation

This is requires as some platform requires some include/libraries to use sendfile.


Revision 99536 - Directory Listing
Modified Sat Nov 26 06:02:34 2016 UTC (3 years, 1 month ago) by manus
Drop support for sendfile on macOS

Although it shares the same name as the Linux implementation, the macOS sendfile has a different number of parameter. For the time being we are disabling it on macOS until we build the macOS implementation.


Revision 99511 - Directory Listing
Modified Thu Nov 24 18:08:35 2016 UTC (3 years, 1 month ago) by jfiat
Updated ENVIRONMENT_ARGUMENTS to use pseudo once per object, instead of once per thread.
This allows multiple occurences of descendants of ENVIRONMENT_ARGUMENTS in the same process.

Revision 99500 - Directory Listing
Modified Wed Nov 23 23:06:54 2016 UTC (3 years, 2 months ago) by manus
Let use the EiffelThread library on single threaded system as it used to be the case.


Revision 99498 - Directory Listing
Modified Wed Nov 23 22:59:01 2016 UTC (3 years, 2 months ago) by jfiat
Converted to latest ecf version 1-16-0 supporting notion of capability.



Revision 99493 - Directory Listing
Modified Wed Nov 23 22:09:45 2016 UTC (3 years, 2 months ago) by jfiat
Converted to latest ecf version 1-16-0 supporting notion of capability.



Revision 99485 - Directory Listing
Modified Wed Nov 23 20:41:02 2016 UTC (3 years, 2 months ago) by jfiat
Converted $ISE_LIBRARY/library to latest ecf version 1-16-0 supporting notion of capability.
Replaced the two ecfs with a single one, and redirect the ___-safe.ecf to the normal ___.ecf file.

Revision 99474 - Directory Listing
Modified Tue Nov 22 12:58:09 2016 UTC (3 years, 2 months ago) by jfiat
Converted code to void-safety.

Revision 99473 - Directory Listing
Modified Tue Nov 22 12:28:07 2016 UTC (3 years, 2 months ago) by jfiat
Fixed void-safety code.

Revision 99472 - Directory Listing
Modified Tue Nov 22 12:27:06 2016 UTC (3 years, 2 months ago) by jfiat
Reduce dependency on EQA_SYSTEM_TEST_SET.

Revision 99471 - Directory Listing
Modified Tue Nov 22 09:59:17 2016 UTC (3 years, 2 months ago) by alexk
Used updated ECF format with new defaults that enable SCOOP.

Revision 99470 - Directory Listing
Modified Tue Nov 22 09:52:59 2016 UTC (3 years, 2 months ago) by alexk
Used updated ECF format with capabilities specified in a dedicated element.

Revision 99469 - Directory Listing
Modified Tue Nov 22 09:38:49 2016 UTC (3 years, 2 months ago) by alexk
Used updated ECF format with capabilities specified in a dedicated element.

Revision 99467 - Directory Listing
Modified Mon Nov 21 13:59:22 2016 UTC (3 years, 2 months ago) by jfiat
Integrated sendfile and TransmitFile into EiffelNet Clib.
  - to disable: set the EiffelNet Clib with EIF_HAS_SENDFILE set to 0 (see network.c), and recompile.

Revision 99445 - Directory Listing
Modified Fri Nov 18 17:49:23 2016 UTC (3 years, 2 months ago) by jfiat
Added docking layout import settings support.

Revision 99422 - Directory Listing
Modified Thu Nov 10 16:06:09 2016 UTC (3 years, 2 months ago) by alexk
Added a note clause about performance.

Revision 99415 - Directory Listing
Modified Tue Nov 8 16:24:55 2016 UTC (3 years, 2 months ago) by alexk
Recorded if a process is still running after calling `wait_for_process` because otherwise this feature is called for the second time, process status gets overridden and exit code is reported incorrectly (this fixes test#valid259 on Linux).

Revision 99413 - Directory Listing
Modified Tue Nov 8 12:55:32 2016 UTC (3 years, 2 months ago) by jfiat
Adding iron package to obsolete libraries.
For now, there is no plan to upload those as iron packages.

Revision 99408 - Directory Listing
Modified Sun Nov 6 15:59:04 2016 UTC (3 years, 2 months ago) by alexk
Fixed a bug caused by previous refactoring when an index of arguments in a list is not incremented (this should fix test#valid259).

Revision 99403 - Directory Listing
Modified Sun Nov 6 12:56:37 2016 UTC (3 years, 2 months ago) by alexk
Added a feature `close` to {BASE_PROCESS} to release allocated resources if a client is not going to wait for the process termination.
Changed {WEL_PROCESS_LAUNCHER} to release allocated process handles if they are not closed explicitly:
	- Removed `process_info` from its interface.
	- Added `process_handle`, `thread_handle` and `process_id` instead.
Updated clients of `WEL_PROCESS_LAUNCHER`.
Removed obsolete Windows API functions from `WEL_PROCESS_LAUNCHER` because they are accessible from `WEL_API`.


Revision 99402 - Directory Listing
Modified Sun Nov 6 12:48:37 2016 UTC (3 years, 2 months ago) by alexk
Added a class to manage Windows HANDLE that has to be closed.

Revision 99401 - Directory Listing
Modified Sun Nov 6 12:41:27 2016 UTC (3 years, 2 months ago) by alexk
Replaced INTEGER with INTEGER_32 because process and thread IDs are of type DWORD that is 32-bit unsigned int. Ideally NATURAL_32 should be used but that could break existing code.


Revision 99395 - Directory Listing
Modified Sat Nov 5 10:25:57 2016 UTC (3 years, 2 months ago) by alexk
Removed unused features.

Revision 99394 - Directory Listing
Modified Sat Nov 5 10:22:14 2016 UTC (3 years, 2 months ago) by alexk
Replaced calls to {FILE_HANDLE}.close with direct calls to {WEL_API} to avoid code duplication and prepare for implementation of `dispose` where qualified calls are not allowed.

Revision 99369 - Directory Listing
Modified Tue Nov 1 14:36:09 2016 UTC (3 years, 2 months ago) by jfiat
Fixed ecf syntax.

Revision 99368 - Directory Listing
Modified Tue Nov 1 13:58:54 2016 UTC (3 years, 2 months ago) by jfiat
Removed direct dependency on thread library. 

Revision 99367 - Directory Listing
Modified Tue Nov 1 13:52:24 2016 UTC (3 years, 2 months ago) by jfiat
Made a few libraries ecf compilable in scoop concurrency mode by default.

Revision 99361 - Directory Listing
Modified Mon Oct 31 12:39:26 2016 UTC (3 years, 2 months ago) by alexk
Removed commented out library.

Revision 99359 - Directory Listing
Modified Mon Oct 31 09:55:47 2016 UTC (3 years, 2 months ago) by alexk
Added separate marks for arguments and results to match TUPLE interface of a classic version.

Revision 99358 - Directory Listing
Modified Mon Oct 31 09:43:03 2016 UTC (3 years, 2 months ago) by alexk
Corrected .NET class name because Base library uses different prefixes for .NET assemblies compared to Process library.

Revision 99350 - Directory Listing
Modified Sun Oct 30 14:10:59 2016 UTC (3 years, 2 months ago) by alexk
Updated ECFs to most recent version with capabilities.

Revision 99349 - Directory Listing
Modified Sun Oct 30 13:55:08 2016 UTC (3 years, 2 months ago) by alexk
Supported SCOOP mode.

Revision 99348 - Directory Listing
Modified Sun Oct 30 13:51:47 2016 UTC (3 years, 2 months ago) by alexk
Updated ECFs to most recent version with capabilities.

Revision 99347 - Directory Listing
Modified Sun Oct 30 13:47:44 2016 UTC (3 years, 2 months ago) by alexk
Updated ECFs to most recent version with capabilities.

Revision 99344 - Directory Listing
Modified Fri Oct 28 10:24:13 2016 UTC (3 years, 2 months ago) by jfiat
Added a new dialog to import settings from previous installation of EiffelStudio.
  See menu "tools>Import Settings"

Added a convenient feature to the execution parameter dialog, to update a profile title based on the profile parameters.
  Indeed often, it is named "Profile #1", not always convenient.


Revision 99337 - Directory Listing
Modified Wed Oct 26 14:14:42 2016 UTC (3 years, 2 months ago) by alexk
Removed unused dependency on vision2_extension.

Revision 99336 - Directory Listing
Modified Wed Oct 26 13:43:56 2016 UTC (3 years, 2 months ago) by alexk
Moved synchronization classes from Thread to Base to make them accessible in code not using Thread (i.e., in monothreaded and SCOOP code).

Revision 99334 - Directory Listing
Modified Tue Oct 25 13:58:37 2016 UTC (3 years, 2 months ago) by alexk
Removed unused local.

Revision 99310 - Directory Listing
Modified Wed Oct 19 13:15:39 2016 UTC (3 years, 3 months ago) by jfiat
Replace "link" by "text" in the quoted feature text color preference name.

Revision 99309 - Directory Listing
Modified Wed Oct 19 12:07:13 2016 UTC (3 years, 3 months ago) by jfiat
Added support for quoted feature in comment using two backticks such as `foo`  in addition to previous backtick and single quote `foo'.

Revision 99305 - Directory Listing
Modified Mon Oct 17 16:17:09 2016 UTC (3 years, 3 months ago) by alexk
Used new process library because UNIX_UNNAMED_PIPE is now there.

Revision 99303 - Directory Listing
Modified Mon Oct 17 10:22:28 2016 UTC (3 years, 3 months ago) by alexk
Splitted process library into 2 libraries: one that requires threading and one that does not require it.
Removed unused dependency on Time library.
Replaced `to_agent` redirection kind with `to_stream` because single-threaded library does not support asynchronous agents.
Removed unnecessary inheritance links to THREAD_CONTROL.
Supported blocked writing to standard input of a child process.
Optimized asynchronous `put_string` on Posix by using block copying of data instead of char-by-char copying.
Supported arguments of type ITERABLE instead of LIST.
Added detection of write errors on Posix when writing to child standard input.
Simplified logic of argument processing.
Refactored code to avoid duplication across different platforms, but mostly for single-threaded version. Similar refactoring can be done for multithreaded version.
Replaced accessor functions with attributes they accessed.
Removed unused attributes.


Revision 99300 - Directory Listing
Modified Mon Oct 17 06:47:20 2016 UTC (3 years, 3 months ago) by alexk
Added missing SDK WAIT constants.

Revision 99297 - Directory Listing
Modified Thu Oct 13 17:32:14 2016 UTC (3 years, 3 months ago) by manus
Fix eweasel test#reflection009 and bug#19269

Some features of REFLECTOR and their corresponding implementation in `eif_internal.h` where not taking into account that the ID they get was an encoded one, so we need to make sure that we decode it as some of our C API only accepts EIF_TYPE_INDEX.

See https://github.com/EiffelSoftware/EiffelStudio/pull/4


Revision 99293 - Directory Listing
Modified Wed Oct 12 19:34:17 2016 UTC (3 years, 3 months ago) by jfiat
Fixed `replay_left_to_first` implementation.

Revision 99290 - Directory Listing
Modified Wed Oct 12 09:20:16 2016 UTC (3 years, 3 months ago) by alexk
Removed duplicated assignment instructions.

Revision 99289 - Directory Listing
Modified Wed Oct 12 04:38:57 2016 UTC (3 years, 3 months ago) by manus
Changed signature of `veto_pebble_function_result' to be attached

All callers are already making sure of that, so no need to be relaxed. This solves a compilation error in void-safe mode that was hidden before our previous commit when using {TUPLE}.put instead of the label.


Revision 99288 - Directory Listing
Modified Tue Oct 11 22:30:45 2016 UTC (3 years, 3 months ago) by manus
Better portability of TUPLE's implementation

Replace external C features by built-in features, we allow the same code to be compiled by ISE and Gobo.
Remove non-used macros from `eif_rout_obj.h` now that we have builtins.
Add spaces after commas in the infix "+" feature to workaround a limitation of the Gobo compiler.

See github PR#https://github.com/EiffelSoftware/EiffelStudio/pull/6


Revision 99284 - Directory Listing
Modified Tue Oct 11 15:44:49 2016 UTC (3 years, 3 months ago) by manus
Use labeled tuples

They are more efficient and safer for the type system.


Revision 99279 - Directory Listing
Modified Tue Oct 11 15:30:16 2016 UTC (3 years, 3 months ago) by manus
Fix missing semicolon in C inline code

See https://github.com/EiffelSoftware/EiffelStudio/pull/5.


Revision 99275 - Directory Listing
Modified Mon Oct 10 16:49:41 2016 UTC (3 years, 3 months ago) by jfiat
Added helper procedures to add sender, to, cc, and bcc recipients.

Revision 99274 - Directory Listing
Modified Mon Oct 10 16:28:14 2016 UTC (3 years, 3 months ago) by jfiat
Added `make_server_by_address_and_port` as new creation procedure, and reuse it in `make_server_by_port` and `make_loopback_server_by_port`.

Revision 99273 - Directory Listing
Modified Mon Oct 10 16:26:00 2016 UTC (3 years, 3 months ago) by jfiat
Fixed C warning related to local variable `int len` which was overriden later in the same function.

Revision 99272 - Directory Listing
Modified Mon Oct 10 16:24:50 2016 UTC (3 years, 3 months ago) by jfiat
Added C functions in the EiffelNet clib source code that do NOT raise exception on network error (as opposed the error as exception design of current EiffelNet).
Removed unused Clib/network.c functions, such as c_send_char_to, ..., c_put_char, ... and c_read_char, ... (They were used by the obsolete EiffelNet, but that one has its own Clib).

Added some Eiffel routines to use those C functions ending by _noexception, but not all of them for now. 
However right now, the EiffelWeb source code will already use the `..._noexception` functions.

Review: see https://github.com/EiffelSoftware/EiffelStudio/pull/7

Revision 99265 - Directory Listing
Modified Sat Oct 8 07:11:39 2016 UTC (3 years, 3 months ago) by alexk
Fixed bug#19278 (test#store044) by using new dynamic type IDs for expanded types instead of retrieved ones.

Revision 99260 - Directory Listing
Modified Tue Oct 4 17:22:16 2016 UTC (3 years, 3 months ago) by jfiat
Fixed C code for recv and send timeout setter function on Linux.


Revision 99218 - Directory Listing
Modified Mon Oct 3 11:35:24 2016 UTC (3 years, 3 months ago) by alexk
Fixed test#array012 (together with the previous commit rev#99217):
- `force` now puts a new value to an empty array correctly when the index is below original `lower`;
- `remove_head` now updates `lower` instead of `upper` to satisfy its postcondition.


Revision 99217 - Directory Listing
Modified Mon Oct 3 11:29:29 2016 UTC (3 years, 3 months ago) by alexk
Fixed postcondition of `index_set' that did not take into account that an empty range always has lower=1 and upper=0.

Revision 99212 - Directory Listing
Modified Thu Sep 29 16:13:13 2016 UTC (3 years, 3 months ago) by jfiat
Fixed typo SO_RCV_TIMEO vs SO_RCVTIMEO.

Revision 99200 - Directory Listing
Modified Wed Sep 28 18:56:11 2016 UTC (3 years, 3 months ago) by manus
Merge info from rev#99199


Revision 99199 - Directory Listing
Modified Wed Sep 28 18:51:44 2016 UTC (3 years, 3 months ago) by manus
Merge from GTK 2.0 code: Allow usage of EV_PIXEL_BUFFER without an EV_APPLICATION

Extracted the routines we needed from EV_APPLICATION_IMP into a new EV_GTK_ENVIRONMENT class which does not rely on a display to be active. Useful for image processing on a server.


Revision 99198 - Directory Listing
Modified Wed Sep 28 18:45:08 2016 UTC (3 years, 3 months ago) by manus
Allow usage of EV_PIXEL_BUFFER without an EV_APPLICATION

Extracted the routines we needed from EV_APPLICATION_IMP into a new EV_GTK_ENVIRONMENT class which does not rely on a display to be active. Useful for image processing on a server.


Revision 99195 - Directory Listing
Modified Tue Sep 27 17:02:00 2016 UTC (3 years, 3 months ago) by manus
Remove obsolete calls to `force_extend'


Revision 99194 - Directory Listing
Modified Tue Sep 27 16:37:27 2016 UTC (3 years, 3 months ago) by manus
Avoid full bridge pattern for action sequences

Continuation of rev#99192 for gtk34: to avoid code duplication between our various platforms we move all the code from the _IMP classes to the _I and updated callers accordingly.



Revision 99193 - Directory Listing
Modified Tue Sep 27 16:18:33 2016 UTC (3 years, 3 months ago) by manus
Replace obsolete calls to `upper_bar' and `lower_bar' via the interface by direct calls


Revision 99192 - Directory Listing
Modified Tue Sep 27 15:50:48 2016 UTC (3 years, 3 months ago) by manus
Avoid full bridge pattern for action sequences

To avoid code duplication between our various platforms we move all the code from the _IMP classes to the _I and updated callers accordingly.


Revision 99187 - Directory Listing
Modified Fri Sep 23 17:05:41 2016 UTC (3 years, 4 months ago) by manus
Improve comment of `hue`.


Revision 99186 - Directory Listing
Modified Fri Sep 23 16:43:39 2016 UTC (3 years, 4 months ago) by manus
Speed up `string_between_cursor` to avoid 2 traversals of the strings being copied.


Revision 99177 - Directory Listing
Modified Wed Sep 21 08:22:33 2016 UTC (3 years, 4 months ago) by alexk
Added an EIS link to online documentation.

Revision 99128 - Directory Listing
Modified Tue Sep 13 10:19:48 2016 UTC (3 years, 4 months ago) by javierv
Initial import of code templates, inline edition and code templates examples.

Revision 99125 - Directory Listing
Modified Tue Sep 6 13:22:20 2016 UTC (3 years, 4 months ago) by jfiat
Added recv and send timeout to the socket interface.

Revision 99123 - Directory Listing
Modified Tue Sep 6 10:41:34 2016 UTC (3 years, 4 months ago) by jfiat
Updated editor library and related components:
- Replaced a few reverse assignment attempts by object tests.
- Minor improvement related to void-safe design or code.

Revision 99121 - Directory Listing
Modified Wed Aug 24 15:23:06 2016 UTC (3 years, 5 months ago) by jfiat
Fixed code for void-safety.

Revision 99120 - Directory Listing
Modified Wed Aug 24 09:04:59 2016 UTC (3 years, 5 months ago) by jfiat
Use interface text from string constants, rather than manifest string in the code.

Revision 99119 - Directory Listing
Modified Wed Aug 24 09:01:37 2016 UTC (3 years, 5 months ago) by jfiat
Display a popup window when importing preferences.
This way the user see the progress, especially if it takes a long time.

Revision 99117 - Directory Listing
Modified Mon Aug 22 14:06:45 2016 UTC (3 years, 5 months ago) by alexk
Made library completely void-safe and added a void-safe ECF.

Revision 99116 - Directory Listing
Modified Sat Aug 20 03:21:28 2016 UTC (3 years, 5 months ago) by manus
Safer implementation of `g_object_set_xxx' and `g_object_get_xxx' routines

Add more properties to GTK_PROPERTIES to be used with all variants of `g_object_get_xxx/g_object_set_xxx' routines


Revision 99104 - Directory Listing
Modified Tue Aug 2 14:04:27 2016 UTC (3 years, 5 months ago) by manus
Safer implementation of `g_object_set_integer' and `g_object_get_integer'

We have also added the GTK_PROPERTIES class to list all GTK properties that can be used with GTK.


Revision 99103 - Directory Listing
Modified Tue Aug 2 13:57:07 2016 UTC (3 years, 5 months ago) by manus
Add support for dashed line drawings


Revision 99102 - Directory Listing
Modified Tue Aug 2 13:53:48 2016 UTC (3 years, 5 months ago) by manus
Use object tests instead of assignment attempts


Revision 99101 - Directory Listing
Modified Tue Aug 2 13:45:42 2016 UTC (3 years, 5 months ago) by manus
Cosmetics


Revision 99100 - Directory Listing
Modified Tue Aug 2 13:40:36 2016 UTC (3 years, 5 months ago) by manus
Removed C externals that don't work anymore in GTK 3.0 and are actually not used.


Revision 99099 - Directory Listing
Modified Tue Aug 2 13:30:30 2016 UTC (3 years, 5 months ago) by manus
Cosmetics


Revision 99096 - Directory Listing
Modified Sun Jul 31 13:36:17 2016 UTC (3 years, 5 months ago) by manus
Add gtk_text_view_new_with_buffer as we might be using it in the future.


Revision 99095 - Directory Listing
Modified Sun Jul 31 13:35:43 2016 UTC (3 years, 5 months ago) by manus
Fix crash after flush_buffer

Because we forgot to keep a reference of `text_buffer` when getting it from GTK, after calling `flush_buffer` any attempts to use the new buffer would crash. Not sure why it was not already failing in GTK 2.0.

This allows the rich_edit sample to load the `welcome.rtf` file.


Revision 99094 - Directory Listing
Modified Sun Jul 31 12:48:02 2016 UTC (3 years, 5 months ago) by manus
Revert back to GTK 2.0 implementation

We will start from there to see what actually needs to be fixed


Revision 99093 - Directory Listing
Modified Sun Jul 31 12:47:34 2016 UTC (3 years, 5 months ago) by manus
Fix setting of backround color to take into account 16-bit values and not 8-bit values


Revision 99092 - Directory Listing
Modified Sun Jul 31 11:33:21 2016 UTC (3 years, 5 months ago) by manus
Remove setting of background color to white to avoid white selection too

The GTK 3 code for setting the background color is using a GTK 3.0 API that should not be used anymore. While we are still using it, looks like there is no need to set the background to white in the initialization of the EV_TEXT_IMP, as this is not done in the Windows version too.


Revision 99091 - Directory Listing
Modified Sun Jul 31 11:17:29 2016 UTC (3 years, 5 months ago) by manus
Fix conversion to GdkRGBA struct

Unlike GdkColor that used 8-bit component, GdkRGBA uses 64-bit floating point values between 0 and 1. Updated all code to take this into account and add some externals to import from rgb24, bgr23 and 8-bit components.

This fixes the EiffelVision demo missing background color.


Revision 99090 - Directory Listing
Modified Sun Jul 31 03:20:33 2016 UTC (3 years, 5 months ago) by manus
Add PANGO class needed for compiling docking library against either GTK 2.0 or GTK 3.0.


Revision 99089 - Directory Listing
Modified Sun Jul 31 01:29:11 2016 UTC (3 years, 5 months ago) by manus
Optimize path for drawing non-rotated text in `draw_text_internal`.


Revision 99088 - Directory Listing
Modified Sun Jul 31 01:22:31 2016 UTC (3 years, 5 months ago) by manus
Update to use new PANGO class to access Pango externals


Revision 99087 - Directory Listing
Modified Sun Jul 31 01:14:48 2016 UTC (3 years, 5 months ago) by manus
Move Pango externals to PANGO class and updated callers


Revision 99086 - Directory Listing
Modified Sun Jul 31 01:13:57 2016 UTC (3 years, 5 months ago) by manus
Add GTK 3.0 targets so that it gets tested


Revision 99085 - Directory Listing
Modified Sun Jul 31 00:51:41 2016 UTC (3 years, 5 months ago) by manus
Fix memory leaks in `draw_text_internal`

Made sure that the pango layout and the iter structure if allocated are freed.
Remove some useless code


Revision 99084 - Directory Listing
Modified Sun Jul 31 00:27:53 2016 UTC (3 years, 5 months ago) by manus
Export `draw_rotated_text'

This is now implemented in GTK 3 and Windows.


Revision 99083 - Directory Listing
Modified Sun Jul 31 00:27:03 2016 UTC (3 years, 5 months ago) by manus
Implement `draw_rotated_text' for GTK 3

Revisit `draw_text_internal' so that it supports rotated text. Rotation is based on the bottom left corner of the rendered text.


Revision 99082 - Directory Listing
Modified Sun Jul 31 00:14:40 2016 UTC (3 years, 5 months ago) by manus
Better context saving management

Each draw operations should be surrounded by {CAIRO}.save/{CAIRO}.restore. This way one can change the pencil color between draw operation, not doing so would use the last pencil color for all previous draws.
Better saving of context for an EV_DRAWING_AREA when drawing outside of an expose action, since a cairo context has to be created for each call, it means that we need to restore all set settings that we performed before.

Revision 99081 - Directory Listing
Modified Sat Jul 30 10:20:48 2016 UTC (3 years, 5 months ago) by manus
Partial fix for drawing ellipses

We were using the wrong starting angle for drawing. However this is still not perfect as drawing an EV_MODEL_ROUNDED_RECTANGLE has gaps at the bottom left, and bottom right.

Revision 99080 - Directory Listing
Modified Sat Jul 30 10:06:34 2016 UTC (3 years, 5 months ago) by manus
Add checks for non-implemented features for dashed lines

Revision 99079 - Directory Listing
Modified Sat Jul 30 10:04:20 2016 UTC (3 years, 5 months ago) by manus
Fix drawings of lines, rectangles and images

Because Cairo is not pixel perfect, we have to add an extra offset of 0.5 to have the drawing aligned with our pixel perfect rendering.
Those fixes helps EV_GRID to properly render lines and its off-screen pixmaps in the drawing area.



Revision 99078 - Directory Listing
Modified Sat Jul 30 09:55:25 2016 UTC (3 years, 5 months ago) by manus
Change setting of drawing mode and add non-aliasing for lines

Change the way we set the drawing mode, we now use a function to convert the Vision mode to the Cairo mode.
Ensure that when we draw lines they are pixel perfect (i.e. no extra rounded or squared extra pixel at the end of lines).

Revision 99077 - Directory Listing
Modified Sat Jul 30 09:49:56 2016 UTC (3 years, 5 months ago) by manus
Follow new guideline to query for style in GTK 3.0

Added new C GTK API to get/save/set/restore the style of a widget to follow the guidelines in GTK 3.0 to get colors of a widget.

Revision 99076 - Directory Listing
Modified Sat Jul 30 09:44:45 2016 UTC (3 years, 5 months ago) by manus
Made `default_x_offset` and `default_y_offset` empty function

This avoids having 2 useless extra attributes in EV_DRAWABLE instances as this is only useful for EV_SCREEN.

Revision 99075 - Directory Listing
Modified Sat Jul 30 09:38:59 2016 UTC (3 years, 5 months ago) by manus
Fix invalid default colors for grid selection

When using a text field for the selection, we get invalid colors back from GTK (black on black for selection). Instead of using a text field, we are now using a tree which is actually closer to a grid than a text field with respect to selections. Now we get a nice bluish color and white text.

Revision 99072 - Directory Listing
Modified Sat Jul 30 09:19:11 2016 UTC (3 years, 5 months ago) by manus
Fix invalid check location.

We assume that there is a pixmap, when there is no pixmap this is a mistake.


Revision 99069 - Directory Listing
Modified Fri Jul 29 23:22:55 2016 UTC (3 years, 5 months ago) by manus
Update to new EV_MODEL_DRAWER implementation where world is not an attribute but an argument to `draw_grid`.


Revision 99067 - Directory Listing
Modified Fri Jul 29 14:36:21 2016 UTC (3 years, 5 months ago) by manus
Undefine `default_colors' from EV_MODEL_DRAWER to avoid conflict introduced in rev#99061.


Revision 99063 - Directory Listing
Modified Fri Jul 29 13:57:19 2016 UTC (3 years, 5 months ago) by manus
Update to new EV_MODEL_DRAWER implementation where world is not an attribute but an argument to `draw_grid`.


Revision 99062 - Directory Listing
Modified Fri Jul 29 13:55:57 2016 UTC (3 years, 5 months ago) by manus
Add new test for EV_GRID for virtual_height and minimum_height.


Revision 99061 - Directory Listing
Modified Fri Jul 29 13:54:48 2016 UTC (3 years, 5 months ago) by manus
Let EV_MODEL_DRAWER be used as a helper class to draw EV_MODELs in an EV_DRAWABLE

So far this was restricting the class to model projectors, and that was quite unfortunate.


Revision 99054 - Directory Listing
Modified Sun Jul 24 02:17:25 2016 UTC (3 years, 6 months ago) by manus
Implementation of {EV_DRAWABLE_IMP}.set_clip_rectangle

Refactored the CAIRO routines to drop the `cairo_` prefix.
Added GDK_CAIRO which corresponds to the set of Cairo helpers from gdk.


Revision 99044 - Directory Listing
Modified Sat Jul 23 08:41:05 2016 UTC (3 years, 6 months ago) by manus
Fix invalid postcondition of `case_insensitive_hash_code`

It was using `hash_code` instead of `case_insensitive_hash_code`.


Revision 99043 - Directory Listing
Modified Sat Jul 23 08:37:57 2016 UTC (3 years, 6 months ago) by manus
Fix missing reset of case_insensitive_hash_code when string is modified

Introduce a new routine `reset_hash_codes`, make `set_internal_hash_code` obsolete.
Fix bug#19258 and updated test#string001.


Revision 99028 - Directory Listing
Modified Sun Jul 17 00:56:03 2016 UTC (3 years, 6 months ago) by manus
Move GTK C externals into externals subfolder


Revision 99027 - Directory Listing
Modified Sun Jul 17 00:49:48 2016 UTC (3 years, 6 months ago) by manus
Replace deprecated GTK calls in GTK 3.20

Start refactoring of externals to avoid big fat GTK and GTK2 external classes. Add GDK externals.
Add some helpers written in C to avoid some heaviness in our code (e.g. to get default display, screen, ...)


Revision 99026 - Directory Listing
Modified Sun Jul 17 00:23:54 2016 UTC (3 years, 6 months ago) by manus
Fix non-working scrollable area on GTK3

The reason was that we have to redefine gtk_insert_i_th to insert the child in the parent box, we cannot use the inherited one from EV_VIEWPORT_IMP has the parent is not a box but a layout. On GTK2 it seems to have worked by chance but not in GTK3.


Revision 99025 - Directory Listing
Modified Sat Jul 16 04:44:59 2016 UTC (3 years, 6 months ago) by manus
Fix invalid implementation of `before`

To provide a proper definition of `before` we actually use indices in the range 1..count and only when we query the pixel do we substract -1. Remove the need of column_value and row_value. Update code accordingly to the above change.

The only breaking change is `index` which is now returning +1 compared to before.


Revision 99024 - Directory Listing
Modified Sat Jul 16 04:05:59 2016 UTC (3 years, 6 months ago) by manus
Remove useless precondition for non-negative values for NATURAL_32 type


Revision 99022 - Directory Listing
Modified Fri Jul 15 15:02:28 2016 UTC (3 years, 6 months ago) by manus
Remove un-used features that are not present in GTK+3


Revision 99021 - Directory Listing
Modified Fri Jul 15 14:46:32 2016 UTC (3 years, 6 months ago) by manus
Merged all GTK changes back to GTK3 implementation (rev#93824 to rev#98997)


Revision 99004 - Directory Listing
Modified Sat Jul 9 07:24:57 2016 UTC (3 years, 6 months ago) by manus
New `set_position` feature to avoid recreating a buffer to read/write on the same buffer.

Improve comments and swap `buffer_position` and `count` implementation.


Revision 99003 - Directory Listing
Modified Sat Jul 9 01:47:20 2016 UTC (3 years, 6 months ago) by manus
Report an error when encountering an unknown storable type.


Revision 99002 - Directory Listing
Modified Fri Jul 8 13:11:47 2016 UTC (3 years, 6 months ago) by manus
Remove postcondition that is not satisfied on .NET or finalized mode.


Revision 98998 - Directory Listing
Modified Thu Jul 7 13:15:16 2016 UTC (3 years, 6 months ago) by manus
Fix typo from previous commit in name of argument in inlined C code.


Revision 98997 - Directory Listing
Modified Thu Jul 7 13:13:47 2016 UTC (3 years, 6 months ago) by manus
Simplify RT_DEBUGGER to just the bare essential

Remove all unused C externals, hides the fact that internally the good values are 0 and 1, we only keep True and False from the Eiffel side.
Rename `discard_debug` into `disable_debug`, and `restore_debug_state` into `set_debug_state`.
Update callers.
Fixes C compilation warning due in `wait_for_debugger`.

NOTE: THIS IS A BREAKING CHANGE on non-exported routines, it is ok.

Revision 98996 - Directory Listing
Modified Wed Jul 6 14:15:38 2016 UTC (3 years, 6 months ago) by javierv
Updared zmq headers to version 4.0.4. 
Updated ZMQ API with zmq_msg_recv, this function is identical to zmq_recvmsg, but
it will be deprecated soon.
Deleted wrap zmq_recvmsg because this feature is deprecated in favor of zmq_msg_recv.
Updated ecf to use the version 4.0.4


Revision 98995 - Directory Listing
Modified Wed Jul 6 11:57:48 2016 UTC (3 years, 6 months ago) by manus
Add {TYPE}.is_deferred

Improve `{REFLECTOR}.new_instance_of` to prevent creation of deferred types
via a new precondition.


Revision 98972 - Directory Listing
Modified Wed Jun 29 16:35:32 2016 UTC (3 years, 6 months ago) by alexk
Corrected typos in feature header comments.

Revision 98961 - Directory Listing
Modified Tue Jun 28 12:42:41 2016 UTC (3 years, 6 months ago) by manus
Fix regression when building headers of an email (we previously added an extra space before : which caused emails to be rejected)
Refactored the code:
* Obsoleted features which did not do much
* Collect all recipients under one array (no need to differentiate them)
* Remove check..then statement as we have preconditions


Revision 98959 - Directory Listing
Modified Tue Jun 28 10:14:44 2016 UTC (3 years, 6 months ago) by javierv
Updated SMTP protocol to send emails with bcc headers fields.  
Remove bcc_mode and related code.


Revision 98924 - Directory Listing
Modified Thu Jun 16 10:00:55 2016 UTC (3 years, 7 months ago) by alexk
Fixed bug#19245 (test#directory002) by using unicode-capable features to retrieve directory entries.
Fixed a bug when `delete_content_with_action' could call an action agent even when its argument `file_number' was not positive (see test#directory002).
Avoided calls to an action agent from `delete_content_with_action' with duplicate arguments because the agent is also called by `recursive_delete_with_action' (see test#directory002).
Changed `recursive_delete_with_action' to avoid calling an agent when its argument `file_number' is not positive (see test#directory002).


Revision 98918 - Directory Listing
Modified Wed Jun 15 19:34:38 2016 UTC (3 years, 7 months ago) by alexk
Fixed test#agent015 by decreasing in `open_operand_type' an index used to retrive a type of an argument tuple by 1 because there is no target parameter anymore.
Simplified `target' by removing unnecessary object test.
Simplified `valid_operands' by removing temporary variables that are immediately used just once.
Simplified `open_operand_type' by removing an object test variable.


Revision 98908 - Directory Listing
Modified Wed Jun 15 11:10:51 2016 UTC (3 years, 7 months ago) by manus
Fix invalid precondition of `create_istream_from_memory`.


Revision 98901 - Directory Listing
Modified Fri Jun 10 09:32:33 2016 UTC (3 years, 7 months ago) by alexk
Fixed bug#19241 (Infinite recursion in flat version of `show`) by replacing replication of {WEL_WINDOW}.show with merging (the feature is never called, but C compiler issues a warning about infinite recursion when flat code is generated).

Revision 98897 - Directory Listing
Modified Tue Jun 7 18:16:29 2016 UTC (3 years, 7 months ago) by alexk
Replaced once features with attributes to avoid unnecessary creation of EV_COLOR objects.

Revision 98896 - Directory Listing
Modified Tue Jun 7 13:10:07 2016 UTC (3 years, 7 months ago) by alexk
Made code void-safe by
	- changing initialization order;
	- changing parameters of CELL types to attached and providing default initialization.


Revision 98895 - Directory Listing
Modified Tue Jun 7 13:07:40 2016 UTC (3 years, 7 months ago) by alexk
Made code void-safe by changing attribute type to attached and adding corresponding initialization.

Revision 98894 - Directory Listing
Modified Tue Jun 7 13:05:49 2016 UTC (3 years, 7 months ago) by alexk
Changed type of `Tool_bar_font_cell' to store attached values only.

Revision 98893 - Directory Listing
Modified Tue Jun 7 13:03:42 2016 UTC (3 years, 7 months ago) by alexk
Removed duplicate call to `wipe_out'.

Revision 98892 - Directory Listing
Modified Tue Jun 7 13:02:29 2016 UTC (3 years, 7 months ago) by alexk
Made code void-safe by reordering initialization steps.

Revision 98891 - Directory Listing
Modified Tue Jun 7 13:01:15 2016 UTC (3 years, 7 months ago) by alexk
Made code void-safe by reordering initialization steps.

Revision 98890 - Directory Listing
Modified Tue Jun 7 12:56:58 2016 UTC (3 years, 7 months ago) by alexk
Made code void-safe by rearranging conditional instructions.

Revision 98889 - Directory Listing
Modified Tue Jun 7 12:55:52 2016 UTC (3 years, 7 months ago) by alexk
Made code void-safe by replacing checks with conditional instructions.

Revision 98888 - Directory Listing
Modified Tue Jun 7 12:53:12 2016 UTC (3 years, 7 months ago) by alexk
Made code void-safe by rearranging conditional instructions.

Revision 98887 - Directory Listing
Modified Tue Jun 7 12:50:14 2016 UTC (3 years, 7 months ago) by alexk
Fixed a bug when a wrong argument value has been passed to {SD_PANEL}.make.

Revision 98886 - Directory Listing
Modified Tue Jun 7 12:46:16 2016 UTC (3 years, 7 months ago) by alexk
Made code void-safe by replacing checks with conditional instructions.

Revision 98885 - Directory Listing
Modified Tue Jun 7 12:45:45 2016 UTC (3 years, 7 months ago) by alexk
Made code void-safe by replacing checks with conditional instructions.

Revision 98884 - Directory Listing
Modified Tue Jun 7 12:44:16 2016 UTC (3 years, 7 months ago) by alexk
Made code void-safe by replacing checks with conditional instructions.

Revision 98883 - Directory Listing
Modified Tue Jun 7 12:42:35 2016 UTC (3 years, 7 months ago) by alexk
Made code void-safe by adding a voidness test.

Revision 98882 - Directory Listing
Modified Tue Jun 7 12:39:54 2016 UTC (3 years, 7 months ago) by alexk
Made code void-safe by replacing checks with conditional instructions.

Revision 98881 - Directory Listing
Modified Tue Jun 7 12:36:53 2016 UTC (3 years, 7 months ago) by alexk
Cosmetics: missing period in a comment.

Revision 98880 - Directory Listing
Modified Tue Jun 7 12:35:39 2016 UTC (3 years, 7 months ago) by alexk
Added a test that a region has been allocated before using it and removed a check that the operation always succeeds because in practice sometimes it fails (though it is not clear what conditions lead to this behavior).

Revision 98879 - Directory Listing
Modified Tue Jun 7 12:31:19 2016 UTC (3 years, 7 months ago) by alexk
Made code void-safe by
	- changing order of initialization;
	- replacing voidness checks with conditional instructions.


Revision 98878 - Directory Listing
Modified Tue Jun 7 12:28:06 2016 UTC (3 years, 7 months ago) by alexk
Removed commented code.

Revision 98877 - Directory Listing
Modified Tue Jun 7 12:24:42 2016 UTC (3 years, 7 months ago) by alexk
Made code void-safe by checking whether item is attached rather than testing for its presence first and then retrieving its value.

Revision 98876 - Directory Listing
Modified Tue Jun 7 12:20:27 2016 UTC (3 years, 7 months ago) by alexk
Added tags to tuple elements.

Revision 98875 - Directory Listing
Modified Tue Jun 7 12:13:25 2016 UTC (3 years, 7 months ago) by alexk
Relaxed preconditions of `set_item_size' family of features by allowing 0 arguments because the implementation and postconditions take care of 0.

Revision 98874 - Directory Listing
Modified Tue Jun 7 12:09:13 2016 UTC (3 years, 7 months ago) by alexk
Marked `as_attached' as obsolete to simplify removal of calls to it when transition to void-safe code is finished.

Revision 98860 - Directory Listing
Modified Fri Jun 3 15:48:53 2016 UTC (3 years, 7 months ago) by jfiat
Fixed mysql store ecf. Missing end tag on the non void-safe ecf

Revision 98857 - Directory Listing
Modified Fri Jun 3 06:56:12 2016 UTC (3 years, 7 months ago) by jfiat
On linux, compile with -lmysqlclient instead of -lmysqlclient_r .
    Before libmysqlclient_r was the thread-safe version of libmysqlclient.
    But since MySQL 5.5 (end of 2009), libmysqlclient and libmysqlclient_r are the same file, and lately on recent linux distribution the _r version does not exist anymore.
    So it is now safe to use only libmysqlclient. And for project using version prior to MySQL 5.5, the .ecf file will need to be updated manually.

Updated README.

Revision 98852 - Directory Listing
Modified Wed Jun 1 16:30:55 2016 UTC (3 years, 7 months ago) by alexk
Replaced a local variable with a default value with a call to `default_pointer'.

Revision 98833 - Directory Listing
Modified Fri May 27 12:51:27 2016 UTC (3 years, 7 months ago) by alexk
Avoided duplicates in `available_locales' by comparing objects rather than references.

Revision 98799 - Directory Listing
Modified Wed May 18 12:58:37 2016 UTC (3 years, 8 months ago) by alexk
Fixed a bug that caused a window to remain registered when unregister_window was called because {ARRAYED_LIST}.prune was called not at the start position (the issue could be reproduced with docking_simple example by docking and undocking windows).

Revision 98783 - Directory Listing
Modified Mon May 16 14:52:01 2016 UTC (3 years, 8 months ago) by manus
Ensure that id argument in CreateWindowEx is indeed a pointer.
Fix C signature of SetTime and KillTime to use UINT_PTR per spec, the Eiffel counterpart is still using an integer for now.


Revision 98782 - Directory Listing
Modified Mon May 16 14:50:55 2016 UTC (3 years, 8 months ago) by manus
Fix usage of MAKELONG to avoid C compilation warning by using an intermediate `rt_uint_ptr' for converting an integer to a pointer.


Revision 98781 - Directory Listing
Modified Mon May 16 14:48:54 2016 UTC (3 years, 8 months ago) by manus
Fix conversion from integer to pointer to go through the intermediate `rt_uint_ptr' to avoid C compilation warning.


Revision 98777 - Directory Listing
Modified Mon May 16 12:51:48 2016 UTC (3 years, 8 months ago) by manus
Use zmq.h instead of errno.h as ZeroMQ defines constants that are not defined on Windows.


Revision 98775 - Directory Listing
Modified Sun May 15 14:02:58 2016 UTC (3 years, 8 months ago) by manus
Revert to expected version (previous version was integrated by mistake)


Revision 98774 - Directory Listing
Modified Sun May 15 14:01:36 2016 UTC (3 years, 8 months ago) by manus
Added ignoring of new msc_vc140 folder when targetting VS 2015 


Revision 98773 - Directory Listing
Modified Sun May 15 13:52:01 2016 UTC (3 years, 8 months ago) by manus
Remove calls to obsolete queries `upper_bar' and `lower_bar' in invariant since this was useless as they are attached queries.


Revision 98762 - Directory Listing
Modified Sun May 15 10:43:38 2016 UTC (3 years, 8 months ago) by manus
Update generated files to new version of gelex and geyacc


Revision 98750 - Directory Listing
Modified Sat May 14 04:52:35 2016 UTC (3 years, 8 months ago) by manus
Vision2 extension supporting library should not be read-only since we work on both the extension and the library


Revision 98712 - Directory Listing
Modified Tue May 10 12:25:18 2016 UTC (3 years, 8 months ago) by jfiat
Fixing compilation of obsolete xml parser with respect to recent changes in Gobo.

Revision 98710 - Directory Listing
Modified Tue May 10 11:48:55 2016 UTC (3 years, 8 months ago) by manus
Update incorrect obsolete clause for `fill_with_strings_8'.


Revision 98703 - Directory Listing
Modified Mon May 9 15:23:36 2016 UTC (3 years, 8 months ago) by manus
Remove non-used locals


Revision 98688 - Directory Listing
Modified Sun May 8 04:04:36 2016 UTC (3 years, 8 months ago) by manus
Updated to new version of Gobo (aka 4.0d) on 2016/05/06


Revision 98677 - Directory Listing
Modified Fri May 6 16:12:10 2016 UTC (3 years, 8 months ago) by manus
Removed introduced debug C compiler flags from previous commit


Revision 98676 - Directory Listing
Modified Fri May 6 14:49:13 2016 UTC (3 years, 8 months ago) by manus
Remove cleanup of files that are never generated

Revision 98672 - Directory Listing
Modified Fri May 6 07:27:03 2016 UTC (3 years, 8 months ago) by alexk
Replaced calls to `index_set' with calls to `lower' and `upper'.

Revision 98670 - Directory Listing
Modified Fri May 6 07:22:56 2016 UTC (3 years, 8 months ago) by alexk
Replaced an index-based loop using `index_set' with an iteration loop on the structure.
Replaced calls to `index_set' with calls to `lower' and `upper'.


Revision 98669 - Directory Listing
Modified Fri May 6 07:16:39 2016 UTC (3 years, 8 months ago) by alexk
Replaced an index-based loop using `index_set' with an iteration loop on the structure.

Revision 98665 - Directory Listing
Modified Fri May 6 06:44:28 2016 UTC (3 years, 8 months ago) by alexk
Removed an invariant clause that is already part of a feature postcondition.

Revision 98660 - Directory Listing
Modified Thu May 5 07:59:13 2016 UTC (3 years, 8 months ago) by alexk
Used a passive region for an application cell to avoid creating a new thread for no reason.

Revision 98659 - Directory Listing
Modified Thu May 5 07:56:28 2016 UTC (3 years, 8 months ago) by alexk
Removed features `register' and `unregister' from EV_WINDOW and replaced them with direct calls to updated versions of registration features in application object to avoid breaking code if users have features of the same names in their code.

Revision 98640 - Directory Listing
Modified Wed Apr 27 12:58:02 2016 UTC (3 years, 8 months ago) by jfiat
Added xml declaration process for XML Document in the tree to events visitor.

Revision 98638 - Directory Listing
Modified Tue Apr 26 12:55:31 2016 UTC (3 years, 8 months ago) by alexk
Added registration and unregistration of windows on show/hide actions to prevent them from being GC'ed if there are no references to window objects.

Revision 98637 - Directory Listing
Modified Tue Apr 26 12:30:57 2016 UTC (3 years, 8 months ago) by alexk
Added features to register and unregister windows to protect them from GC when a window is shown and there is no reference to its object.

Revision 98623 - Directory Listing
Modified Sat Apr 16 10:44:12 2016 UTC (3 years, 9 months ago) by alexk
Renamed "structure" into "target" to follow naming convention of other iteration cursor classes.


Revision 98619 - Directory Listing
Modified Wed Apr 13 13:29:38 2016 UTC (3 years, 9 months ago) by alexk
Provided specialized versions of iteration cursors for SPECIAL, ARRAY, ARRAYED_LIST, READABLE_STRING_8, READABLE_STRING_32 to improve performance of across loops for these containers.


Revision 98615 - Directory Listing
Modified Tue Apr 12 14:53:06 2016 UTC (3 years, 9 months ago) by alexk
Fixed bug#19213 by replacing an incorrect external signature in `cwel_hd_notify_get_p_item' with a correct one that returns EIF_POINTER instead of EIF_INTEGER.

Revision 98611 - Directory Listing
Modified Tue Apr 12 14:24:50 2016 UTC (3 years, 9 months ago) by alexk
Removed unnecessary voidness test.

Revision 98603 - Directory Listing
Modified Wed Apr 6 11:57:38 2016 UTC (3 years, 9 months ago) by alexk
Fixed a bug that caused Vision applications to stop working correctly in SCOOP mode: SCOOP run-time assumed that WEL data `wel_per_thread_data' was initialized at thread initialization time and overwrote the new value with 0 because of impersonated calls, restoring the data back did not work because no previous data was been saved.
Moved WEL memory allocation to run-time so that both allocation and deallocation are at the same run-time part (before it was allocated by WEL library and freed by Eiffel run-time).
Added registration of newly allocated per-thread WEL memory block for SCOOP run-time so that its invariant that `stored_wel_per_thread_data' corresponds to the pointer to the memory allocated for the associated thread is satisfied.
Avoided allocation of WEL per-thread data when there is a query to current manager or when its address is set to 0 that may happen when `dispose' is called. This fixes a memory leak that might happen if an application continues running after releasing a manager object.


Revision 98586 - Directory Listing
Modified Wed Mar 23 13:29:48 2016 UTC (3 years, 10 months ago) by alexk
Removed `index_set' that is now defined in READABLE_INDEXABLE and a postcondition of SPECIAL.upper that follows now from the class invariant.

Revision 98584 - Directory Listing
Modified Tue Mar 22 11:55:27 2016 UTC (3 years, 10 months ago) by manus
Fix invalid computation of `null_terminated_strings'

The computation done to advance the pointer was based on a buffer length expressed in characters but it is already in bytes, so no need to multiply it by the size of characters.


Revision 98557 - Directory Listing
Modified Wed Mar 2 21:15:09 2016 UTC (3 years, 10 months ago) by alexk
Merged `upper' with `count' when `lower = 1' and removed `upper' from classes that did not have it before adding `lower' and `upper' to {READABLE_INDEXABLE}.

Revision 98555 - Directory Listing
Modified Wed Mar 2 18:03:36 2016 UTC (3 years, 10 months ago) by alexk
Added `lower' and `upper' to {READABLE_INDEXABLE} to be used instead of `index_set' by iteration cursor.
Marked `{READABLE_INDEXABLE}.index_set' as obsolete in favor of `lower' and `upper' to avoid object creation, especially when implementing external cursors for iterative forms of a loop.
Provided implementation of `index_set' in {READABLE_INDEXABLE} so that it can be removed in descendants.
Made `lower_defined' and `upper_defined' in {INTEGER_INTERVAL} always True because this was the case for all created objects and clients almost never checked if boundaries were defined.


Revision 98514 - Directory Listing
Modified Fri Feb 12 11:22:25 2016 UTC (3 years, 11 months ago) by jfiat
Adapted to use the Src/C_library iron package, especially the Src/C_library/libpng and Src/C_library/zlib projects 
   to include the related libpng and zlib C libs.


Revision 98506 - Directory Listing
Modified Fri Feb 12 08:12:16 2016 UTC (3 years, 11 months ago) by jfiat
Restored original iron package name to "gobo_extension".

Revision 98504 - Directory Listing
Modified Thu Feb 11 21:42:01 2016 UTC (3 years, 11 months ago) by jfiat
Added and updated a few package.iron files .

Revision 98458 - Directory Listing
Modified Mon Feb 1 16:03:17 2016 UTC (3 years, 11 months ago) by jfiat
Updated package.iron files for Src/library.

Revision 98445 - Directory Listing
Modified Wed Jan 27 12:25:26 2016 UTC (3 years, 11 months ago) by jfiat
Fixed Usage generation issue with unix style and long name.

Revision 98412 - Directory Listing
Modified Fri Jan 22 09:57:54 2016 UTC (4 years ago) by alexk
Added assertions to make code of functions without implementation completely void-safe.

Revision 98411 - Directory Listing
Modified Fri Jan 22 09:46:03 2016 UTC (4 years ago) by alexk
Removed unused variable.

Revision 98410 - Directory Listing
Modified Fri Jan 22 09:34:21 2016 UTC (4 years ago) by alexk
Made library completely void-safe.
Removed unused variables.
Replaced assignment attempts with object tests.
Replaced obsolete declarations of once-per-process with the standard ones.
Replaced an obsolete call to `{TYPE}.as_lower' with `{TYPE}.name.as_lower'.
Removed empty "author" note tags.


Revision 98409 - Directory Listing
Modified Fri Jan 22 09:04:47 2016 UTC (4 years ago) by alexk
Refactored SD_HUFFMAN_ALGORITHM to make `item_width' attribute attached.

Revision 98408 - Directory Listing
Modified Fri Jan 22 08:24:31 2016 UTC (4 years ago) by alexk
Removed settings that are set by default.

Revision 98384 - Directory Listing
Modified Wed Jan 13 20:45:27 2016 UTC (4 years ago) by jfiat
Added mysql compilation for geant compile in /home/eiffel/trunk/Src/library/store

Revision 98373 - Directory Listing
Modified Mon Jan 11 12:49:19 2016 UTC (4 years ago) by manus
Made code compile after removal of `extra_minimum_height' in parent.

Previous commit rev#98372 removed `extra_minimum_height' and `extra_minimum_width' which were replaced by `extra_minimum_rect' which works regardless of the type of window, so no need to redefine it in descendants.


Revision 98372 - Directory Listing
Modified Sun Jan 10 16:11:44 2016 UTC (4 years ago) by manus
Fix minimum size computation of windows with Aero Glass

When using a later version of the Microsoft C compiler (version 2012 or later), it uses version 6.0 which triggers Windows assuming our application is Aero Glass. The end result is that if a window contains a widget of minimum height of 25, our computation would yield a height of 15 for that widget, having the effect of being truncated. The solution is to actually query the client rect and the window rect to Window and deduce from there the extra width and height required to size the window so that it can accommodate our widget.

See about the Microsoft linker flag about C compiler and versioning
https://msdn.microsoft.com/en-us/library/fcc1zstk(v=vs.110).aspx

See The following discussion about GetWindowRect computation which helped in resolving the issue.
https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/6c1c67a9-5548-4e9b-989f-c7dbac0b1375/getwindowrect-on-nonresizable-windows-under-aero-glass



Revision 98371 - Directory Listing
Modified Sun Jan 10 15:52:31 2016 UTC (4 years ago) by manus
Made `upper_bar' and `lower_bar' obsolete

Because they complicate the implementation and they can easily be simulated by users.


Revision 98370 - Directory Listing
Modified Sun Jan 10 14:42:44 2016 UTC (4 years ago) by manus
Add wrapper for AdjustWindowRectEx

This is used to find out the required size of the window to accommodate a certain client size.

Revision 98343 - Directory Listing
Modified Tue Dec 29 18:23:52 2015 UTC (4 years ago) by jfiat
Fixing URI issue on Linux when building URI by adding unencoded path segment. Updated autotest cases

Revision 98318 - Directory Listing
Modified Thu Dec 24 18:23:01 2015 UTC (4 years, 1 month ago) by alexk
Applied Jocelyn's patch to process arguments retrieved from an environment variable before processing command-line arguments.

Revision 98316 - Directory Listing
Modified Wed Dec 23 09:06:12 2015 UTC (4 years, 1 month ago) by jfiat
Fixed CDATA parsing with ]] content.
(which is useful to embed CDATA... into a CDATA using the workaround to have multiple CDATA to encode the ]]> text.)
Added related autotest cases.

Revision 98279 - Directory Listing
Modified Thu Dec 17 13:34:17 2015 UTC (4 years, 1 month ago) by manus
Eiffel code and ECFs update to support new agent notations.

Use the syntax_updater to use the new declaration of agent types.
No hand modification of the Eiffel code was necessary. The summary is:
- 251 ECFs modified
- 894 Eiffel classes updated

For ECFs there were a few problems:
- ECFs that are redirections are replaced by their redirected content (3 had to be reverted)
- ECFs that are located in a child directory of a project/library containing no Eiffel classes but whose project has Eiffel classes updated to use the new agent type declaration are not updated by a design decision to not use the syntax_updater to update all ECFs (8 had to be manually converted).


Revision 98274 - Directory Listing
Modified Wed Dec 16 19:42:15 2015 UTC (4 years, 1 month ago) by alexk
Added FIXME tags to comments that describe what has to be done in the future.

Revision 98237 - Directory Listing
Modified Thu Dec 10 14:21:13 2015 UTC (4 years, 1 month ago) by manus
Updated Eiffel syntax to the latest supported one.


Revision 98199 - Directory Listing
Modified Sun Dec 6 09:12:34 2015 UTC (4 years, 1 month ago) by manus
Exported `read_to_string'.


Revision 98198 - Directory Listing
Modified Sun Dec 6 08:54:17 2015 UTC (4 years, 1 month ago) by manus
Committed temporary workaround for SCOOP because `{ANY}.generating_type' is not SCOOP safe at the time being.


Revision 98173 - Directory Listing
Modified Tue Dec 1 14:15:19 2015 UTC (4 years, 1 month ago) by jfiat
Added readme files under gobo/override/generated/library folders, so that the directories are preserved in git repository as well.

Revision 98094 - Directory Listing
Modified Mon Nov 9 16:14:49 2015 UTC (4 years, 2 months ago) by alexk
Changed type of preference values to READABLE_STRING_32 to avoid conversion when the values are loaded from XML where values are returned as READABLE_STRING_32.

Revision 98093 - Directory Listing
Modified Mon Nov 9 16:10:04 2015 UTC (4 years, 2 months ago) by alexk
Added a creation procedure to pass a preference grid control explicitly in case some fine-tuning is needed.

Revision 98091 - Directory Listing
Modified Mon Nov 9 15:52:24 2015 UTC (4 years, 2 months ago) by alexk
Added a precondition to `add_parent_structure_preference_row' and `formatted_name' that a preference name cannot be empty (this might be the case when preference names get erroneously converted from non-ASCII strings, e.g. as it was with incorrect implementation of code analysis preferences).
Avoided automatic formatting of a preference name if it has whitespace to allow for preference names with underscore characters or those that are pre-formatted.


Revision 98047 - Directory Listing
Modified Sun Oct 25 21:48:34 2015 UTC (4 years, 2 months ago) by manus
Adapted signature of ROUTINE/PROCEDURE/FUNCTION to drop the first formal generic parameter as done in classic.


Revision 98043 - Directory Listing
Modified Sun Oct 25 04:29:56 2015 UTC (4 years, 3 months ago) by manus
Commit on behalf of alexk.
Updated runtime and EiffelBase code with the removal of the first formal generic parameter in the routine classes.


Revision 98023 - Directory Listing
Modified Wed Oct 21 11:27:49 2015 UTC (4 years, 3 months ago) by alexk
Made sure `current_pos' is always positive as otherwise there is a recurring precondition violation for a call to `index_of' in `finish_reading_string' (e.g. as an agent in GUI mode EiffelStudio, so that an exception trace cannot be produced).

Revision 97909 - Directory Listing
Modified Mon Sep 7 15:32:55 2015 UTC (4 years, 4 months ago) by jfiat
Provided a basic implementation to output character data as <[!CDATA[ ... ]]> for xml printer.
Until now, it was output as pure xml escaped code (and thus no CDATA).

Revision 97908 - Directory Listing
Modified Fri Sep 4 17:57:02 2015 UTC (4 years, 4 months ago) by jfiat
Fixed xml parsing issue with CDATA endings with ]]]
For instance <![CDATA[Foo bar ref [1]]]>

Revision 97877 - Directory Listing
Modified Fri Aug 21 14:58:15 2015 UTC (4 years, 5 months ago) by jfiat
Updated a few result types from READABLE_STRING_.. to STRING_.. 

Revision 97876 - Directory Listing
Modified Fri Aug 21 14:25:02 2015 UTC (4 years, 5 months ago) by jfiat
Fixed issue with xml source file having CR character  (%R) for the custom parser, that can ignore such characters.

Revision 97849 - Directory Listing
Modified Wed Aug 19 17:13:29 2015 UTC (4 years, 5 months ago) by manus
Use `same_string' instead of `is_equal' to compare strings to avoid potential catcalls.
Use `is_case_insensitive_equal' to avoid creating a new upper version of a string.


Revision 97844 - Directory Listing
Modified Wed Aug 19 05:52:35 2015 UTC (4 years, 5 months ago) by manus
Use ~ instead of `is_equal' to avoid catcalls.


Revision 97843 - Directory Listing
Modified Wed Aug 19 05:51:04 2015 UTC (4 years, 5 months ago) by manus
Use `generating_type.name' instead of relying on conversion from TYPE to STRING.


Revision 97842 - Directory Listing
Modified Wed Aug 19 05:50:31 2015 UTC (4 years, 5 months ago) by manus
Made code of `plus' safer with respect to typing by adding an object test to verify that if Current has no actual generic parameters then it is safe to return a twin of the tuple passed as argument.


Revision 97841 - Directory Listing
Modified Wed Aug 19 05:48:59 2015 UTC (4 years, 5 months ago) by manus
Made `attempt' obsolete and replaced it by `attempted'.


Revision 97840 - Directory Listing
Modified Wed Aug 19 05:39:49 2015 UTC (4 years, 5 months ago) by manus
Use ~ instead of `is_equal' to avoid catcalls.

Revision 97838 - Directory Listing
Modified Wed Aug 19 05:18:55 2015 UTC (4 years, 5 months ago) by manus
Use ~ instead of `is_equal' to avoid catcalls.

Revision 97837 - Directory Listing
Modified Wed Aug 19 05:18:15 2015 UTC (4 years, 5 months ago) by manus
Use `like feature' for arguments of setter routines. This will reduce the code change when moving to catcall safe.

Revision 97836 - Directory Listing
Modified Wed Aug 19 05:16:03 2015 UTC (4 years, 5 months ago) by manus
Use ~ instead of `is_equal' to avoid catcalls.

Revision 97835 - Directory Listing
Modified Wed Aug 19 01:01:57 2015 UTC (4 years, 5 months ago) by manus
Use ~ instead of `is_equal' to avoid catcalls.

Revision 97834 - Directory Listing
Modified Wed Aug 19 01:01:07 2015 UTC (4 years, 5 months ago) by manus
Use `like Current' in signature of `is_equal' to match what we are usually expecting.

Revision 97833 - Directory Listing
Modified Wed Aug 19 00:59:46 2015 UTC (4 years, 5 months ago) by manus
Use `same_string' instead of `is_equal' to compare strings to avoid potential catcalls.

Revision 97821 - Directory Listing
Modified Mon Aug 17 23:21:22 2015 UTC (4 years, 5 months ago) by manus
Provided more flexibility in descendants that want to redefine `set_background_color' by ensuring equality, not necessarly reference equality in the postcondition.


Revision 97804 - Directory Listing
Modified Tue Aug 11 04:36:38 2015 UTC (4 years, 5 months ago) by manus
Fixed incorrect precondition of `delete_content_with_action' to allow a zero number of files to delete.
Updated interface to match the one from classic EiffelBase.


Revision 97775 - Directory Listing
Modified Tue Aug 4 22:52:52 2015 UTC (4 years, 5 months ago) by manus
Fixed bug introduced at rev#97568 which prevented move handle to work when the Ctrl key was not pressed.


Revision 97763 - Directory Listing
Modified Tue Aug 4 00:18:55 2015 UTC (4 years, 5 months ago) by manus
Added `resolved_entries' which is similar to `entries' but a path which is constructed from the current directory and the entry itself. Usefull for callers to get the full path of entries in a directory (not this does not necessarly means absolute_path), and thus one needs to use {PATH}.entry to get the entry name.


Revision 97751 - Directory Listing
Modified Tue Jul 21 21:38:25 2015 UTC (4 years, 6 months ago) by javierv
Fix issue with Mysql to retrieve large data

Revision 97569 - Directory Listing
Modified Thu Jun 25 22:47:35 2015 UTC (4 years, 6 months ago) by manus
Added export of `ev_application' and `shared_environment' as they are now required in some precondition.


Revision 97568 - Directory Listing
Modified Thu Jun 25 22:41:43 2015 UTC (4 years, 6 months ago) by manus
* Removed the separateness of `ev_application' in EV_SHARED_APPLICATION. Added `ev_separate_application' to be used in SCOOP program. Added a precondition to `ev_application' which needs to be used in the GUI processor.
* Added explaination how SCOOP and Vision2 works together in EV_APPLICATION_HANDLER and removed EV_ENVIRONMENT_HANDLER.
* Removed the ability to extend using a separate widget in EV_CONTAINER as it seems a single case when all vision2 would need to be updated.
* Updated all the Vision2 code to not use an object test on the ev_application instance.
* Removed useless code from EV_ENVIRONMENT which I don't know where it was actually used.

See review#5671790122631168


Revision 97553 - Directory Listing
Modified Wed Jun 24 21:59:20 2015 UTC (4 years, 7 months ago) by manus
Speed up {ODBC}.put_data by using the new {MANAGED_POINTER}.read_into_special_character_8 feature instead of copying bytes one by one.


Revision 97552 - Directory Listing
Modified Wed Jun 24 21:53:41 2015 UTC (4 years, 7 months ago) by manus
* Added memcpy based routines in MANAGED_POINTER to efficiently copy from and to a SPECIAL [CHARACTER_8] and SPECIAL [NATURAL_8]: read_special_natural_8, read_special_character_8, read_into_special_natural_8, read_into_special_character_8, put_special_natural_8 and put_special_character_8.
* Updated {MANAGED_POINTER}.read_array to use the new `read_into_special_natural_8' routine.
* Updated .NET version of {MANAGED_POINTER} to match the classic version. Looks like they have been out of sync for a while.
* Updated {C_STRING}.read_substring_into_character_8_area to use the `read_into_special_character_8' new feature.
* Added new TEST_MANAGED_POINTER class to test the new routines.


Revision 97551 - Directory Listing
Modified Wed Jun 24 20:57:07 2015 UTC (4 years, 7 months ago) by manus
Removed trace of TEST_UTF_CONVERTER testing, this class should be modified but changes should not be committed.


Revision 97529 - Directory Listing
Modified Tue Jun 23 14:13:21 2015 UTC (4 years, 7 months ago) by alexk
Allowed for a separate argument of `dynamic_type' because the underlying implementation supports this.

Revision 97528 - Directory Listing
Modified Tue Jun 23 14:10:29 2015 UTC (4 years, 7 months ago) by alexk
Taken into account that {TUPLE}.item is separate.

Revision 97458 - Directory Listing
Modified Thu Jun 11 09:29:55 2015 UTC (4 years, 7 months ago) by romanschmocker
This commit adds a new class ISE_SCOOP_RUNTIME
to EiffelBase with some useful externals to access
and control behaviour of the SCOOP runtime.
Furthermore the patch adds calls in the GUI libraries
to suppress impersonation, as they cannot handle it
at the moment.


Revision 97437 - Directory Listing
Modified Tue Jun 9 05:58:21 2015 UTC (4 years, 7 months ago) by manus
Using 100 instead of 10 for maximum number of descriptors, which let users use more than 10 simultaneous queries.


Revision 97388 - Directory Listing
Modified Thu May 28 14:03:53 2015 UTC (4 years, 7 months ago) by manus
Made all classes from figures cluster and classes using figures obsolete as users should really be using the EV_MODEL classes instead.


Revision 97364 - Directory Listing
Modified Mon May 25 22:20:50 2015 UTC (4 years, 8 months ago) by manus
Made it compilable with new validity rules on assigners.


Revision 97362 - Directory Listing
Modified Mon May 25 21:12:36 2015 UTC (4 years, 8 months ago) by manus
Changes required to match the new generic conformance implementation committed at rev#97361.


Revision 97357 - Directory Listing
Modified Sun May 24 10:17:43 2015 UTC (4 years, 8 months ago) by manus
Fixed warnings about using {ARRAY}.make by using {ARRAY}.make_empty.


Revision 97343 - Directory Listing
Modified Fri May 22 09:17:25 2015 UTC (4 years, 8 months ago) by manus
Added missing definition for DisplayHTMLStr which is defined in our C code.


Revision 97313 - Directory Listing
Modified Tue May 19 09:08:35 2015 UTC (4 years, 8 months ago) by manus
Added GetSystemMetrics to WEL_API. Added missing constants SM_CXMENUCHECK and SM_CYMENUCHECK in WEL_SM_CONSTANTS.


Revision 97309 - Directory Listing
Modified Tue May 19 08:12:35 2015 UTC (4 years, 8 months ago) by jfiat
Fixing issue with URI parsing when @ appears after first path slash.

Revision 97210 - Directory Listing
Modified Wed Apr 29 14:18:56 2015 UTC (4 years, 8 months ago) by manus
Fixed bug#19063 where replacing an element of a multicolumn list using `put_i_th' would mess up the list. This was because we were calling `update_child' on the wrong `row'.


Revision 97206 - Directory Listing
Modified Tue Apr 28 21:46:57 2015 UTC (4 years, 8 months ago) by manus
Fixed typo in comments.


Revision 97143 - Directory Listing
Modified Mon Apr 20 20:28:46 2015 UTC (4 years, 9 months ago) by manus
Removed previsous commit at rev#96592 as the Eiffel runtime is entirely written in C mode now, so we won't have the mismatch again in the future.


Revision 97064 - Directory Listing
Modified Mon Apr 13 08:21:05 2015 UTC (4 years, 9 months ago) by manus
Use an object test to get the width and height of the pointer.


Revision 97063 - Directory Listing
Modified Mon Apr 13 08:20:02 2015 UTC (4 years, 9 months ago) by manus
Minor code refactoring.


Revision 97049 - Directory Listing
Modified Thu Apr 9 13:18:27 2015 UTC (4 years, 9 months ago) by jfiat
Improved signature of NETWORK_STREAM_SOCKET to make it easier for eventual descendant classes.

Revision 97044 - Directory Listing
Modified Wed Apr 8 09:22:55 2015 UTC (4 years, 9 months ago) by manus
Use bitwise or instead of + to remove comment from `set_pitch'.


Revision 97016 - Directory Listing
Modified Fri Apr 3 09:25:44 2015 UTC (4 years, 9 months ago) by manus
Use the `item' query from FUNCTION instead of using `call' followed by `last_result'.

Revision 97009 - Directory Listing
Modified Thu Apr 2 21:37:56 2015 UTC (4 years, 9 months ago) by manus
Use the `item' query from FUNCTION instead of using `call' followed by `last_result' but introduced a breaking change in `subtree_function_call' which became `subtree_function_item', a non-exported function since it was only called from the implementation.


Revision 97008 - Directory Listing
Modified Thu Apr 2 21:32:56 2015 UTC (4 years, 9 months ago) by manus
Use the `item' query from FUNCTION instead of using `call' followed by `last_result'.
For pebble_function calls which used to clear `last_result', this is not needed anymore. The only thing needed now is reset pebble to Void or its previous value (depending on the widget we are handling).

Revision 97007 - Directory Listing
Modified Thu Apr 2 21:26:15 2015 UTC (4 years, 9 months ago) by manus
Use the `item' query from FUNCTION instead of using `call' followed by `last_result'.


Revision 97006 - Directory Listing
Modified Thu Apr 2 21:01:04 2015 UTC (4 years, 9 months ago) by manus
Use the `item' query from FUNCTION instead of using `call' followed by `last_result'.


Revision 97005 - Directory Listing
Modified Thu Apr 2 20:57:10 2015 UTC (4 years, 9 months ago) by manus
Use the `item' query from FUNCTION instead of using `call' followed by `last_result'. This should make the code more robust since there was a case we could call `last_result' on a previously computed agent.


Revision 97004 - Directory Listing
Modified Thu Apr 2 20:42:44 2015 UTC (4 years, 9 months ago) by manus
Added `default_create' as creation procedure to ensure better API compatibility with EV_TOOL_BAR and EV_TOOL_BAR_BUTTON.


Revision 96984 - Directory Listing
Modified Wed Apr 1 22:05:58 2015 UTC (4 years, 9 months ago) by manus
Ensure we free the cursor when we do not use it anymore.


Revision 96983 - Directory Listing
Modified Wed Apr 1 21:56:50 2015 UTC (4 years, 9 months ago) by manus
Made implementation of `on_veto_pebble_function' more efficient by doing nothing if toolbar is not displayed, in this case, it means it cannot receive a pebble. Also do not set accept/deny cursor there since it should be done when we build the pebble in `on_pebble_function' which we now do.


Revision 96982 - Directory Listing
Modified Wed Apr 1 20:39:22 2015 UTC (4 years, 9 months ago) by manus
Ensured that argument of `set_accept_cursor' and `set_deny_cursor' is detachable. Since the `accept|deny_cursor' queries are attached, there are callers that don't need to check for voidness anymore.
Restored attach status of `accept|deny_cursor' in EV_ABSTRACT_PICK_AND_DROPABLE which was removed at previous commit.


Revision 96981 - Directory Listing
Modified Wed Apr 1 20:26:38 2015 UTC (4 years, 9 months ago) by manus
Fixed void-safety issue because in previous commit `go_to (cur)' was incorrectly left at its level instead of being nested in the new if of `accepts_pebble'.


Revision 96980 - Directory Listing
Modified Wed Apr 1 20:21:30 2015 UTC (4 years, 9 months ago) by manus
Optimized action sequence by preventing going over all agents if `veto_pebble_function' returns False.


Revision 96979 - Directory Listing
Modified Wed Apr 1 20:19:01 2015 UTC (4 years, 9 months ago) by manus
Made sure that `set_accept_cursor' and `set_deny_cursor' allows for detachable arguments like it is done in descendants.


Revision 96978 - Directory Listing
Modified Wed Apr 1 20:13:34 2015 UTC (4 years, 9 months ago) by manus
Fixed regression from rev#79022 where `disable_debugger' had no effect since it was calling itself recursively (luckily with a protection to avoid overflow) instead of calling `discard_debug'.


Revision 96970 - Directory Listing
Modified Wed Apr 1 12:08:51 2015 UTC (4 years, 9 months ago) by manus
Allowed detachable arguments to `set_accept_cursor' and `set_deny_cursor' since the implementation has supported this for a long time.


Revision 96932 - Directory Listing
Modified Fri Mar 27 19:43:46 2015 UTC (4 years, 9 months ago) by manus
Made code compile in void-safe mode by making the `value_mapping' attribute stable since we never reset it.


Revision 96920 - Directory Listing
Modified Fri Mar 27 12:35:41 2015 UTC (4 years, 9 months ago) by manus
Fixed a check and postcondition violation in `tab_at' since it is possible there will be no tabs, e.g. when there is not yet a tab created. The code actually always checked the result of `tab_at' for Void, so it was an oversight.


Revision 96919 - Directory Listing
Modified Fri Mar 27 12:30:27 2015 UTC (4 years, 9 months ago) by manus
Added `is_empty' to query to find out if an editor had some history or not. Useful to find out if a loaded text was ever modified.


Revision 96910 - Directory Listing
Modified Thu Mar 26 10:08:45 2015 UTC (4 years, 10 months ago) by manus
Fixed a bug for choice preferences where if you had setup a nice display name for the choices they were not used if the mapping given as argument to set_displayed_value was not a descendant of HASH_TABLE [STRING_32, STRING_32] which was mostly the cases in the code of EiffelStudio because we forgot to assign `value_mapping' after creating the proper type of hashtable. The fix is now using STRING_TABLE for `value_mapping' and if the argument is not of that type, we create `value_mapping' directly instead of using a local variable that caused the bug in the first place.


Revision 96908 - Directory Listing
Modified Thu Mar 26 09:09:13 2015 UTC (4 years, 10 months ago) by manus
Fixed issue where font preferences would be stored back to disk even when not changed. This was because the new code added at rev#96595 would modify the string argument, so when you started with "Courrier New-r-regular-8-modern" you ended up creating the right font object (which was good) but the string value stored in the preference was just "Courrier New". Now we do not modify the string argument, we use 2 indices and `substring' to extract the values.


Revision 96901 - Directory Listing
Modified Tue Mar 24 20:07:14 2015 UTC (4 years, 10 months ago) by manus
Fixed a bug where most lookup or action sequences were applied to hidden figures.


Revision 96900 - Directory Listing
Modified Tue Mar 24 10:59:58 2015 UTC (4 years, 10 months ago) by manus
Fixed issue where a hidden figure of a group would be drawn when it shouldn't. 
Added corresponding test.


Revision 96851 - Directory Listing
Modified Tue Mar 17 12:35:33 2015 UTC (4 years, 10 months ago) by alexk
Removed a postcondition that `options_of_name' never returns an empty result that is not true because there could be no such options at all.

Revision 96849 - Directory Listing
Modified Tue Mar 17 10:12:25 2015 UTC (4 years, 10 months ago) by manus
Cosmetics on assertion tag.


Revision 96810 - Directory Listing
Modified Wed Mar 11 11:25:38 2015 UTC (4 years, 10 months ago) by alexk
Removed a reference to the SCOOP run-time cluster that is no longer available.

Revision 96803 - Directory Listing
Modified Tue Mar 10 14:43:35 2015 UTC (4 years, 10 months ago) by alexk
Removed ISE_SCOOP_MANAGER and associated helper classes that are no longer required by the new SCOOP run-time.

Revision 96790 - Directory Listing
Modified Fri Mar 6 14:22:59 2015 UTC (4 years, 10 months ago) by alexk
Made comments follow guidelines, improved their wording (fixed bug#19045), fixed some typos and made `sign' more precise as it cannot be negative for natural numbers.

Revision 96769 - Directory Listing
Modified Thu Mar 5 08:13:33 2015 UTC (4 years, 10 months ago) by alexk
Fixed a bug that caused a postcondition violation in `trim' because `area.capacity' was set 1 less than expected (see test#string001/test_trim).

Revision 96768 - Directory Listing
Modified Thu Mar 5 08:08:43 2015 UTC (4 years, 10 months ago) by alexk
Fixed a typo.

Revision 96669 - Directory Listing
Modified Tue Feb 24 16:42:43 2015 UTC (4 years, 10 months ago) by romanschmocker
Separate managed pointers in SOCKET.

The patch adds the features put_separate_managed_pointer
and read_to_separate_managed_pointer in class SOCKET (and
its descendants).

The change is needed to send some serialized/deserialized
data over a SCOOP enabled EiffelNet.



Revision 96665 - Directory Listing
Modified Fri Feb 20 11:20:05 2015 UTC (4 years, 11 months ago) by manus
Integrated a new projection mechanism based on a visitor pattern. Users who are adding their own figures, should redefine simply redefine project.
To ensure backward compatibility with `register_figure' if a figure is registered this way, it will take precedence over the `project' redefinition.
Most features associated with `register_figure', i.e. draw_routines, draw_id, ... are not marked obsolete as it would cause obsolete warnings in vision2 since we are forced to use them during the migration period.

Revision 96664 - Directory Listing
Modified Fri Feb 20 10:54:44 2015 UTC (4 years, 11 months ago) by manus
Use `a_address' instead of `l_address' for argument name in `do_accept'.


Revision 96661 - Directory Listing
Modified Thu Feb 19 14:45:10 2015 UTC (4 years, 11 months ago) by manus
Added missing `project' redefinition.


Revision 96660 - Directory Listing
Modified Thu Feb 19 10:40:11 2015 UTC (4 years, 11 months ago) by manus
Extended the test test_text_inverst_selection to select more characters to better see the range of selection.


Revision 96659 - Directory Listing
Modified Thu Feb 19 10:36:33 2015 UTC (4 years, 11 months ago) by manus
Removed too strict contracts requiring the range to always have minimum less than maximum. This is not actually required, especially if you want to perform a reverse selection in a text field. This full fixes bug#19037 on Windows.
Added `make_full' which is a special range that selects all the text.


Revision 96658 - Directory Listing
Modified Thu Feb 19 10:30:47 2015 UTC (4 years, 11 months ago) by manus
Added revert selection based on region for test_text_invert_selection.


Revision 96657 - Directory Listing
Modified Thu Feb 19 10:29:56 2015 UTC (4 years, 11 months ago) by manus
Fixed bug#19037 where postcondition of set_selection would fail if the starting position was greater than the ending position.


Revision 96656 - Directory Listing
Modified Thu Feb 19 10:05:53 2015 UTC (4 years, 11 months ago) by manus
Added test for bug#19037 for selecting an area of text where the starting pos is greater than the ending pos.


Revision 96648 - Directory Listing
Modified Tue Feb 17 11:56:14 2015 UTC (4 years, 11 months ago) by manus
Added `project' visitor routines for all figures. This is a first step in removing the usage of `register_figure' to perform projection.


Revision 96646 - Directory Listing
Modified Tue Feb 17 10:37:06 2015 UTC (4 years, 11 months ago) by manus
Changed signature of creation routines to use `like world' instead of EV_MODEL_WORLD for safer covariance.

Revision 96645 - Directory Listing
Modified Tue Feb 17 10:35:54 2015 UTC (4 years, 11 months ago) by manus
Cosmetics:whitespace

Revision 96640 - Directory Listing
Modified Mon Feb 16 16:16:26 2015 UTC (4 years, 11 months ago) by romanschmocker
Refactored close_socket in NETWORK_STREAM.

This commit changes {NETWORK_STREAM}.close_socket
such that the state changes to the Eiffel object
are done in a small helper feature.



Revision 96639 - Directory Listing
Modified Mon Feb 16 16:08:46 2015 UTC (4 years, 11 months ago) by romanschmocker
Made accept handling in EiffelNet SCOOP-friendly.

This patch adds a new creation procedure `make_empty'
and the  feature `accept_to' in NETWORK_STREAM_SOCKET.
These two features are required to support EiffelNet
in a SCOOP context.

It also adds a creation procedure `make_from_separate'
to the address classes and widenes the argument
type of {SOCKET}.set_peer_address to accept separate
addresses. Those changes were necessary to implement
the `accept_to' feature.



Revision 96638 - Directory Listing
Modified Mon Feb 16 15:52:57 2015 UTC (4 years, 11 months ago) by romanschmocker
Simple test suite for EiffelNet.

This patch adds a test folder and a set
of AutoTest test cases for EiffelNet.

Currently there are only tests for accept
handling and some tests ported over
from the eweasel test suite.



Revision 96595 - Directory Listing
Modified Mon Feb 9 11:00:12 2015 UTC (4 years, 11 months ago) by jfiat
Fixed issue with font preference, where the face name has a dash character 
  (ex with pref font string value: DigitalSerial-Xbold-r-regular-8-screen)

Revision 96592 - Directory Listing
Modified Fri Feb 6 12:31:55 2015 UTC (4 years, 11 months ago) by manus
Added -D_ALLOW_MSC_VER_MISMATCH so that the code compiles with any versions of the Microsoft C++ compiler. This should be safe since we do not use any C++ standard libraries.


Revision 96585 - Directory Listing
Modified Thu Feb 5 09:47:00 2015 UTC (4 years, 11 months ago) by manus
* Fixed bug when moving a figures using a move handle where the x and y coordinates have been constrained by calling `set_minimum_x|y' or `set_maximum_x|y'. The issue is that we should use the center to perform the computations and updates which makes the code simpler to read and understand along fixing it.
* Added corresponding test to reproduce the original problem.


Revision 96577 - Directory Listing
Modified Tue Feb 3 22:14:33 2015 UTC (4 years, 11 months ago) by manus
Renamed database specific SQL_STRING classes to hold the database name. That way it is possible to include in a project multiple databases implementation and use their low level implementations.


Revision 96521 - Directory Listing
Modified Thu Jan 22 20:24:30 2015 UTC (5 years ago) by manus
Cosmetics.


Revision 96520 - Directory Listing
Modified Thu Jan 22 20:23:30 2015 UTC (5 years ago) by manus
Added new test cases for the EV_MODEL classes.


Revision 96519 - Directory Listing
Modified Thu Jan 22 20:22:40 2015 UTC (5 years ago) by manus
Made it compile in void-safe mode.


Revision 96516 - Directory Listing
Modified Thu Jan 22 15:32:08 2015 UTC (5 years ago) by manus
Removed unused local.


Revision 96515 - Directory Listing
Modified Thu Jan 22 15:18:08 2015 UTC (5 years ago) by manus
Added ability to see the physical sizes and deep physical sizes of objects in the grid, but only upon request as it is too expensive to compute it all the time.


Revision 96514 - Directory Listing
Modified Thu Jan 22 14:31:42 2015 UTC (5 years ago) by manus
Clarified description to show the real purpose of the class.

Revision 96497 - Directory Listing
Modified Tue Jan 20 11:02:43 2015 UTC (5 years ago) by manus
Removed reference to specific version of EiffelStudio used to generate the class.


Revision 96479 - Directory Listing
Modified Sat Jan 17 22:15:51 2015 UTC (5 years ago) by manus
Fixed an issue in recursive deletion where if a file cannot be deleted it will exit the routine (via an exception) but would not close the open directory until the GC kicks in.


Revision 96401 - Directory Listing
Modified Fri Dec 19 10:01:11 2014 UTC (5 years, 1 month ago) by jfiat
Removed unwanted and useless dependencies on C_library.

Revision 96390 - Directory Listing
Modified Thu Dec 18 22:44:19 2014 UTC (5 years, 1 month ago) by jfiat
Removed unwanted and uneeded dependencies on C_library.

Revision 96351 - Directory Listing
Modified Tue Dec 16 09:15:10 2014 UTC (5 years, 1 month ago) by manus
Removed __LCC__ and __WIN__ flags which are not used at all since we are adding winsock2.h before including mysql.h now.


Revision 96350 - Directory Listing
Modified Tue Dec 16 09:09:46 2014 UTC (5 years, 1 month ago) by manus
Added inclusion of `winsock2.h' before anything else that might include `windows.h' otherwise code does not compile on Windows.


Revision 96230 - Directory Listing
Modified Wed Dec 3 11:13:03 2014 UTC (5 years, 1 month ago) by jfiat
Changed SCOOP debugger support to use RT_EXTENSION instead of ISE_SCOOP_MANAGER interface.

review#5336036255203328

Revision 96196 - Directory Listing
Modified Mon Dec 1 13:35:03 2014 UTC (5 years, 1 month ago) by manus
Added a new test for checking the virtual height behavior.


Revision 96156 - Directory Listing
Modified Tue Nov 25 20:51:29 2014 UTC (5 years, 1 month ago) by manus
* Removed INDEPENDENT_STORE_14_11 and `eif_is_discarding_qat' as we will not have time to implement those for 14.11.
* Refactored the code that convert type arrays containing qualified anchored type and generate a new one without any if it can into `rt_canonical_types' which is also used during retrieval to eliminate them as well before comparing the attributes for a potential mismatch. This fixes eweasel test#store040.
* In previous revisions, the type array does not include a dummy first entry anymore, so in `attribute_types_matched' we do not need to copy the same array, we can just use it directly before callign `eif_compound_id'.


Revision 96150 - Directory Listing
Modified Mon Nov 24 23:02:57 2014 UTC (5 years, 2 months ago) by manus
Refactoring:
* Remove exporting of context structures for storables and traversal. It makes it easier to keep things just in store.c and not have to export them to the EiffelNet storable.c file. Now those are using a very simplified version of `eif_store_object' which only asks the low level routine to write data onto. All the other functions used for storable are not anymore under the control of clients.
* Avoided using global variables to stores most of the function used in storable. Only two remains `char_write_func' and `store_write_func'. This makes the code easier to maintain.


Revision 96148 - Directory Listing
Modified Mon Nov 24 10:11:34 2014 UTC (5 years, 2 months ago) by manus
Refactoring: used a store context and a traversal context to avoid having to rely on global state. Updated callers accordingly (store, copy and EiffelNet store).


Revision 96146 - Directory Listing
Modified Fri Nov 21 20:38:15 2014 UTC (5 years, 2 months ago) by manus
Fixed C compilation warnings under Microsoft by first defining the posix error constants after including all the header files so that they mapped to their WSA error code.
Made sure to use winsock2 (winsock is from prior to Win 95).


Revision 96145 - Directory Listing
Modified Fri Nov 21 20:27:57 2014 UTC (5 years, 2 months ago) by manus
Cosmetics: use `winsock2.h' without any capitalization.

Revision 96144 - Directory Listing
Modified Fri Nov 21 14:23:03 2014 UTC (5 years, 2 months ago) by manus
Hard code constants that were previously exported in `eif_traverse.h'. This is a temporary fix until next set of changes regarding the storable mechanism.


Revision 96096 - Directory Listing
Modified Sun Nov 16 09:20:29 2014 UTC (5 years, 2 months ago) by manus
Removed unused locals of `odbc_start_order' since previous commit removed a lot of unused code.


Revision 96095 - Directory Listing
Modified Sun Nov 16 09:17:47 2014 UTC (5 years, 2 months ago) by manus
Improved ODBC support on Unix when using unixODBC and FreeTDS:
* Replaced obsolete calls to SQLSetConnectOption by SQLSetConnectAtr since the former one are not supported by FreeTDS.
* Removed unused code that was broken any since it was using the wrong way to get the statement in `odbc_start_order' when trying to get column information
* Call to SQLDescribeCol to get the length of the column name is not working on FreeTDS if you do not provide a buffer. So now we provide a 2-character buffer for that competion. Hopefully FreeTDS will fix this.
* Removed unused functions: odbc_set_col_flag, odbc_set_tab_flag, odbc_set_proc_flag and odbc_unset_catalog_flag.
* Fixed a bug in `odbc_put_data' when retrieving a GUID, on windows passing just the length of the string not including the null terminating character was fine, but not on Unix. So the buffer length to snprintf has to include the null terminating character (i.e. 37 vs 36)


Revision 96094 - Directory Listing
Modified Sat Nov 15 09:15:08 2014 UTC (5 years, 2 months ago) by manus
Fixed missing semicolon in front of Uid in the connection string which caused connection failure when not using a trusted connection.


Revision 96041 - Directory Listing
Modified Thu Nov 6 22:09:42 2014 UTC (5 years, 2 months ago) by manus
Fixed a memory corruption when setting up `storedProc' and `CreateStoredProc' because we copied what we thought be `indColName' characters, when actually `indColName' represented bytes. There was no reason for using an intermediary to fill them, so now we are filling them directly.


Revision 96028 - Directory Listing
Modified Fri Oct 31 16:07:47 2014 UTC (5 years, 2 months ago) by manus
Switch routines that stores/retrieves to use SED instead of the C storable.


Revision 96023 - Directory Listing
Modified Thu Oct 30 23:22:56 2014 UTC (5 years, 2 months ago) by manus
Added new tests showing a bug when inserting or replacing characters near a newline in a EV_TEXT. The bug was in actual_position_from_caret_position where we would incorrectly count the position where we would stop at %R in %R%N and thus keeping the %N, when we should have counted %R%N as just one character.


Revision 96022 - Directory Listing
Modified Thu Oct 30 23:19:25 2014 UTC (5 years, 2 months ago) by manus
Previous commit for getting pasting content was incorrect since we are using a text control we know for sure it will only contain %R%N.


Revision 96015 - Directory Listing
Modified Thu Oct 30 10:16:50 2014 UTC (5 years, 2 months ago) by manus
Added skeleton for letting users chose to raise an exception if the object they want to store contains some attributes defined using a qualified anchored type. Added corresponding setting in STORABLE.
Added new constants to define 2 new formats of storable which are not used yet: INDEPENDENT_STORE_14_11 when implemented will support qualified anchored types; SED_STORE when implemented will use the Eiffel SED serialization to perform store/retrieve.


Revision 96014 - Directory Listing
Modified Thu Oct 30 09:25:56 2014 UTC (5 years, 2 months ago) by manus
Added `store_in_medium' and `retrieved_from_medium' helper function to make client code easier to use.


Revision 96013 - Directory Listing
Modified Wed Oct 29 23:49:44 2014 UTC (5 years, 2 months ago) by manus
Fixed `clipboard_content' so that the `copy_selection''s postcondition violation would not be violated when selected text had newlines. The clipboard content would only keep the first line because we were pasting in a single edit control, not a multiline one.


Revision 95940 - Directory Listing
Modified Fri Oct 17 10:29:19 2014 UTC (5 years, 3 months ago) by manus
* Removed general store implementation, we default it to independent store now. Moved some general store specific routine from store.c to retrieve.c since we are still able to retrieve old general store storables. This fixes eweasel test#store030 which was failing on general store as it does not support transient attributes.
* Fixed bench/pstore.c and EiffelNet implementation for calling `rt_init_store' they were passing `make_header' as argument for basic store, but basic store doesn't do any headers.


Revision 95906 - Directory Listing
Modified Sun Oct 12 07:02:50 2014 UTC (5 years, 3 months ago) by manus
Updated header to match declaration of ccom_hresult which now takes `const char *' as argument.


Revision 95905 - Directory Listing
Modified Sat Oct 11 21:45:08 2014 UTC (5 years, 3 months ago) by manus
Fixed C compiler warning for using a `int' when a `size_t' should have been used.


Revision 95904 - Directory Listing
Modified Sat Oct 11 21:41:38 2014 UTC (5 years, 3 months ago) by manus
Fixed C compilation error since now  `echtag' is a `const char *' so we cannot cast it to a `char *'. We updated the signature of `ccom_hresult' to take a `const char *' which was already implicitely the case.
Fixed type warning for using a `int' instead of `size_t' to get the result of `strlen'.


Revision 95903 - Directory Listing
Modified Sat Oct 11 21:37:27 2014 UTC (5 years, 3 months ago) by manus
Removed non-used locals.


Revision 95902 - Directory Listing
Modified Sat Oct 11 21:37:07 2014 UTC (5 years, 3 months ago) by manus
Fixed C compilation warning for `result' not being initialized when rasing an exception in `ccom_is_compound_file'.


Revision 95901 - Directory Listing
Modified Sat Oct 11 21:36:22 2014 UTC (5 years, 3 months ago) by manus
Removed useless call to EIF_GET_CONTEXT.


Revision 95900 - Directory Listing
Modified Sat Oct 11 21:29:33 2014 UTC (5 years, 3 months ago) by manus
Removed non-used locals.


Revision 95899 - Directory Listing
Modified Sat Oct 11 21:27:09 2014 UTC (5 years, 3 months ago) by manus
Fixed unused local and wrong type for computing `size' which should be size_t and not int.


Revision 95897 - Directory Listing
Modified Fri Oct 10 13:16:36 2014 UTC (5 years, 3 months ago) by jfiat
Debugger: replaced usage of INTERNAL by REFLECTOR 
Debugger: fixed bug#18950 related to object internal viewer
Eiffel Base: added `{RT_EXTENSION_GENERAL}.object_runtime_info' in order to ease implementation of debugger "object internal viewer" functionality.

review#6024180898201600 (http://patchreview.eiffel.com/6024180898201600/)


Revision 95864 - Directory Listing
Modified Tue Oct 7 14:29:57 2014 UTC (5 years, 3 months ago) by manus
Fixed void-safety issue where new signature of external {ISE_RUNTIME}.storable_version_of_type should have been detachable.


Revision 95860 - Directory Listing
Modified Tue Oct 7 12:24:52 2014 UTC (5 years, 3 months ago) by manus
Fixed C warning about casting 2nd argument of iconv. We simply assign the &inptr to a `char **' local and use this instead in the call to iconv. When `iconv' 2nd argument is `char **' then it is fine, when it is (const char **) it will also be fine. That way we do not need to worry about wrong declaration of `iconv' anymore.


Revision 95853 - Directory Listing
Modified Mon Oct 6 13:20:54 2014 UTC (5 years, 3 months ago) by manus
Updated signature to return a STRING and thus avoid warnings at C compilation from trying to convert a `const char *' into a `EIF_POINTER'. Ideally, the C routine to create Eiffel strings should be able to create IMMUTABLE_STRINGs to avoid the conversion.


Revision 95782 - Directory Listing
Modified Mon Sep 22 14:56:16 2014 UTC (5 years, 4 months ago) by alexk
Replaced explicit TUPLE creation with manifest tuple (review#11039056).

Revision 95781 - Directory Listing
Modified Mon Sep 22 14:55:45 2014 UTC (5 years, 4 months ago) by alexk
Replaced explicit TUPLE creation with manifest tuple (review#11039056).

Revision 95780 - Directory Listing
Modified Mon Sep 22 14:53:31 2014 UTC (5 years, 4 months ago) by alexk
Replaced explicit TUPLE creation with manifest tuple (review#11039056).

Revision 95779 - Directory Listing
Modified Mon Sep 22 13:12:29 2014 UTC (5 years, 4 months ago) by manus
Fixed freeing non-allocated memory issue that occurred when creating a new memory stream. The GInputStream we create has been allocated by some other memory manager and this resource is freed explicitely when we close it (via dispose) or implicitely when we are done reading the stream. The solution is to ensure that we do not take ownership of the allocated memory in MANAGED_POINTER and let the other means of freeing the resource to handle this.


Revision 95585 - Directory Listing
Modified Thu Aug 7 17:06:52 2014 UTC (5 years, 5 months ago) by manus
Fixed bug#18935 where recent changes to `environment_arguments' which used to hold all arguments, to just holding the extra one broke the invariant.


Revision 95513 - Directory Listing
Modified Fri Jul 25 12:10:22 2014 UTC (5 years, 6 months ago) by alexk
Improved wording of the error for missing non-switched arguments.

Revision 95407 - Directory Listing
Modified Sat Jul 12 17:27:18 2014 UTC (5 years, 6 months ago) by manus
Fixed bug#18180 where menus were truncated on Windows with some themes enabled. This was mostly because after computed our required width we removed the width of 2 Bs which is completely arbitrary and is sometimes too much. Now we do not do that, we have a fixed `plain_text_position' for the text, then spacing + accelerato if any, and then a final spacing. Updating drawing code accordingly with minor optimization to not draw the accelerator text if it is empty.


Revision 95335 - Directory Listing
Modified Fri Jun 27 18:49:57 2014 UTC (5 years, 6 months ago) by manus
Updated to match the classic version which now inherits from PART_COMPARABLE.
Added `is_attached'.
Cosmetics.


Revision 95282 - Directory Listing
Modified Wed Jun 18 10:48:08 2014 UTC (5 years, 7 months ago) by jfiat
Improved comment on RT_DEBUGGER.rt_workbench_wait_for_debugger

Revision 95209 - Directory Listing
Modified Fri May 30 21:37:55 2014 UTC (5 years, 7 months ago) by manus
Hiding the header shows a failure.


Revision 95208 - Directory Listing
Modified Fri May 30 21:06:37 2014 UTC (5 years, 7 months ago) by manus
Added `tab_index_at_screen_position' to retrieve the tab index at a give screen coordinates. Non Windows version will actually move the cursor to find out this information using `pointed_tab_index'. Windows version will query it directly.

Revision 95207 - Directory Listing
Modified Fri May 30 21:01:52 2014 UTC (5 years, 7 months ago) by manus
Fixed wrong inheritance.

Revision 95196 - Directory Listing
Modified Thu May 29 21:34:42 2014 UTC (5 years, 7 months ago) by manus
Fixed syntax warning about the usage of empty () or [].


Revision 95195 - Directory Listing
Modified Thu May 29 21:34:27 2014 UTC (5 years, 7 months ago) by manus
Fixed syntax warning about the usage of empty () or [].


Revision 95194 - Directory Listing
Modified Thu May 29 20:42:01 2014 UTC (5 years, 7 months ago) by manus
Removed scripts that we haven't used the past 12 years.


Revision 95193 - Directory Listing
Modified Thu May 29 20:39:17 2014 UTC (5 years, 7 months ago) by manus
Removed empty folder.


Revision 95169 - Directory Listing
Modified Fri May 23 22:51:07 2014 UTC (5 years, 8 months ago) by manus
Avoid check violation while evaluating postcondition when calling `replace' or `put' on a EV_CELL when there is nothing yet in it. The exception was generated while evaluation `old item' since if called when `readable' is False (case of nothing inserted yet in the EV_CELL). The exception was ok since caught by the generated code for evaluating the postcondition but still caught by EiffelStudio and preventing a smooth debug experience.


Revision 95168 - Directory Listing
Modified Fri May 23 22:40:14 2014 UTC (5 years, 8 months ago) by manus
Fixed `internal_files_end_with' to respect `a_levels' so that if you specify 0 it only scan for the current working directory instead of all directories and subdirectories. This speeds up the profiler wizard in EiffelStudio on very large project where it would have to iterate through 15000 files instead of just a 200 hundreds (taking about 4s to display the dialog).


Revision 95158 - Directory Listing
Modified Thu May 22 04:00:02 2014 UTC (5 years, 8 months ago) by manus
Added script that lets you run an executable under the iOS simulator.


Revision 95157 - Directory Listing
Modified Thu May 22 03:58:50 2014 UTC (5 years, 8 months ago) by manus
Made cocoa version of the docking library compile.


Revision 95156 - Directory Listing
Modified Wed May 21 19:34:40 2014 UTC (5 years, 8 months ago) by manus
Added Mac OS X target to test compilation.


Revision 95154 - Directory Listing
Modified Wed May 21 19:28:59 2014 UTC (5 years, 8 months ago) by manus
Fixed syntax error.


Revision 95153 - Directory Listing
Modified Wed May 21 19:27:19 2014 UTC (5 years, 8 months ago) by manus
Added dummy implementation for Macintosh.


Revision 95152 - Directory Listing
Modified Wed May 21 19:26:28 2014 UTC (5 years, 8 months ago) by javierv
Update Logging Library.
Set the default log level in the creation procedure.

Revision 95150 - Directory Listing
Modified Wed May 21 14:39:52 2014 UTC (5 years, 8 months ago) by javierv
Update Logging Library.
Keep default_create feature to avoid breaking existing code.
Set default logging level at ERROR.

Revision 95143 - Directory Listing
Modified Wed May 21 06:32:45 2014 UTC (5 years, 8 months ago) by manus
Added `remove' to remove a cursor.


Revision 95141 - Directory Listing
Modified Wed May 21 06:22:18 2014 UTC (5 years, 8 months ago) by manus
Use an object test to get the action sequences that way we keep the proper type and make the code compile with the catcall checker enabled.

Revision 95139 - Directory Listing
Modified Wed May 21 05:44:20 2014 UTC (5 years, 8 months ago) by manus
Made cocoa compile with latest Vision2 changes.


Revision 95138 - Directory Listing
Modified Wed May 21 05:31:22 2014 UTC (5 years, 8 months ago) by manus
Made `internal_set_pointer_style' take an attached argument since this is what we have all the time on Windows and almost all the time on GTK. This fixes some potential catcalls since callers could provide Void when descendants did not expect it on Windows.
Updated callers to use an object test on the cursor they want to set to avoid a compilation error.


Revision 95137 - Directory Listing
Modified Wed May 21 04:02:32 2014 UTC (5 years, 8 months ago) by manus
Fixed improper redefinition of `internal_set_pointer_style' which requires the argument to be detachable to avoid catcalls at runtime.


Revision 95135 - Directory Listing
Modified Wed May 21 03:47:55 2014 UTC (5 years, 8 months ago) by manus
Use `~' instead of `is_equal' to avoid catcalls.

Revision 95134 - Directory Listing
Modified Wed May 21 03:47:15 2014 UTC (5 years, 8 months ago) by manus
Fixed signature of `set_pebble_function' to match the parent one which states that we accept an agent that returns a Void pebble.

Revision 95133 - Directory Listing
Modified Wed May 21 03:46:17 2014 UTC (5 years, 8 months ago) by manus
Use `extend' instead of `force_extend' and provide all the arguments to `on_mouse_move' to satisfy typing.

Revision 95132 - Directory Listing
Modified Wed May 21 03:44:55 2014 UTC (5 years, 8 months ago) by manus
Fixed improper redefinition of `notify_change' which redefined the `child' argument to a more precise type but this could cause a catcall at runtime. We instead perform an object test in the implementation.


Revision 95131 - Directory Listing
Modified Wed May 21 03:43:47 2014 UTC (5 years, 8 months ago) by manus
Use `same_color' instead of `is_equal' to compare colors to avoid catcalls at runtime.
Removed inheritance to WEL_COLOR_REF in EV_PIXMAP_IMP_STATE since a EV_PIXMAP is not a color.

Revision 95130 - Directory Listing
Modified Wed May 21 03:41:34 2014 UTC (5 years, 8 months ago) by manus
Avoid using `force_extend' for action sequences which is in effect bypassing the type system.
Use `same_string' instead of `is_equal' to avoid catcall at runtime when comparing different kind of strings.


Revision 95129 - Directory Listing
Modified Wed May 21 03:34:06 2014 UTC (5 years, 8 months ago) by manus
Introduced `same_color' which only compares the `item' attribute which holds the color information. This is better than `is_equal' which compares everything and it also avoid catcalls in descendants of WEL_COLOR_REF such as EV_COLOR_IMP on Windows for Vision2.


Revision 95122 - Directory Listing
Modified Mon May 19 23:21:21 2014 UTC (5 years, 8 months ago) by manus
Removed `equal_evaluation' which was supposed to be removed in version 6.6.


Revision 95117 - Directory Listing
Modified Mon May 19 21:26:14 2014 UTC (5 years, 8 months ago) by manus
Avoid using conversion function to go from a _REF to its corresponding basic type, we use `.item' instead.


Revision 95098 - Directory Listing
Modified Mon May 19 13:20:12 2014 UTC (5 years, 8 months ago) by jfiat
Removed unwanted information in package.iron (text remaining from iron testings).

Revision 95094 - Directory Listing
Modified Fri May 16 22:45:00 2014 UTC (5 years, 8 months ago) by manus
Made `attribute_info' attached and added contracts to say that it cannot be called since it is only used for typing purposes.


Revision 95092 - Directory Listing
Modified Fri May 16 19:43:30 2014 UTC (5 years, 8 months ago) by javierv
Initial Commit Added Logging Roller and support log levels setups.
Patch Review http://patchreview.eiffel.com/6585869515358208

Revision 95083 - Directory Listing
Modified Fri May 16 05:11:49 2014 UTC (5 years, 8 months ago) by manus
Ensured that fix from rev#95082 works on GTK by taking the version of `update_for_pick_and_drop' from EV_WINDOW_I and not the one from EV_CELL_IMP.


Revision 95082 - Directory Listing
Modified Fri May 16 04:58:04 2014 UTC (5 years, 8 months ago) by manus
Made sure that `update_for_pick_and_drop' is called on the upper and lower bar of the window, otherwise we won't update the toolbar of the default generated vision2 application if user add pick and drop.


Revision 95081 - Directory Listing
Modified Fri May 16 04:56:58 2014 UTC (5 years, 8 months ago) by manus
Fixed a bug with pick and drop when a disabled toolbar button is configured to accept a pebble, when pick and drop is completed, the disabled toolbar button becomes sensitive automatically. The code was complicated mentionning the possible side effects of changing the state of the toolbar button during pick and drop which is very unlikely. So now we simply store the state before pick and drop for sensitive items that might not accept the pebble (which therefore are disabled during pick and drop) and restore the state after pick and drop is completed.


Revision 95080 - Directory Listing
Modified Fri May 16 04:12:36 2014 UTC (5 years, 8 months ago) by manus
Fixed a bug where pick and drop was allowed on items which were not sensitive.
Made sure to restore sensitivity if the button was sensitive to begin with, to be consistent with the new code from EV_TOOL_BAR_BUTTON_I.update_for_pick_and_drop.


Revision 95077 - Directory Listing
Modified Fri May 16 00:13:02 2014 UTC (5 years, 8 months ago) by manus
Formatting.


Revision 95076 - Directory Listing
Modified Fri May 16 00:09:00 2014 UTC (5 years, 8 months ago) by manus
Added new test which for now checks the invariants/postconditions of showing/hiding a standard dialog.


Revision 95075 - Directory Listing
Modified Fri May 16 00:08:04 2014 UTC (5 years, 8 months ago) by manus
Protected the invariant with is_usable as `file_paths' cannot be called once it is destroyed.


Revision 95074 - Directory Listing
Modified Fri May 16 00:07:27 2014 UTC (5 years, 8 months ago) by manus
Fixed autotest#TEST_EV_STANDARD_DIALOG and bug#18877 where if you call destroy on a dialog after closing it, it will violate its postcondition on Windows. We fixed this by ensuring that in addition of the WEL call to release the dialog structure we also call the Vision2 destroy routine.
To implement autotest#TEST_EV_STANDARD_DIALOG automatically, we added {EV_STANDARD_DIALOG}.hide which is already implemented on GTK and on Windows, is implemented by iterating through all windows and find the dialog window and sending a WM_CLOSE message.

Revision 95073 - Directory Listing
Modified Thu May 15 23:57:22 2014 UTC (5 years, 8 months ago) by manus
Added `GetWindow' and `FindWindowEx' wrapper.


Revision 95072 - Directory Listing
Modified Thu May 15 23:56:54 2014 UTC (5 years, 8 months ago) by manus
Added `hwnd_parent' to get the parent of a standard dialog by symetry to setting it when dialog is activated.


Revision 95071 - Directory Listing
Modified Thu May 15 23:56:04 2014 UTC (5 years, 8 months ago) by manus
Added more features to enumerate windows using either a WEL_WINDOW or a HWND, and the ability to enumerate all windows, not just a child window.


Revision 95068 - Directory Listing
Modified Thu May 15 17:32:43 2014 UTC (5 years, 8 months ago) by manus
Fixed previous commit that did not compile in void-safe mode.


Revision 95062 - Directory Listing
Modified Thu May 15 06:08:26 2014 UTC (5 years, 8 months ago) by manus
Fixed bug#18716 where if a menu entry is of the form `my_entry' it will remove the `_' and make the `e' an underlined letter. The issue is that on GTK we need to replace _ by __ and the & by _.
Updated `real_text' computation to use an Eiffel string rather than keeping a C string.


Revision 95061 - Directory Listing
Modified Thu May 15 05:22:02 2014 UTC (5 years, 8 months ago) by manus
Removed the `then' part in the `ensure then' clause of the postcondition of `has' which does not need it since this feature is being introduced in READABLE_STRING_8.


Revision 95060 - Directory Listing
Modified Thu May 15 05:21:19 2014 UTC (5 years, 8 months ago) by manus
Removed postcondition to `has' which was a duplicate of the inherited one


Revision 95032 - Directory Listing
Modified Tue May 13 05:44:30 2014 UTC (5 years, 8 months ago) by manus
Fixed autotest#TEST_EV_NOTEBOOK.test_wipe_out:
* first by making sure that the inherited `count' from WEL_TAB_CONTROL is not redefined using the `ev_children.count' implementation but keeps the windows implementation. This avoids a mismatch between cached copy in `ev_children' and what Windows actually has
* second by disabling invariant monitoring while inserting an element in a notebook.


Revision 95031 - Directory Listing
Modified Tue May 13 05:42:05 2014 UTC (5 years, 8 months ago) by manus
Improved test and comments.


Revision 95030 - Directory Listing
Modified Mon May 12 23:25:19 2014 UTC (5 years, 8 months ago) by manus
New test for EV_NOTEBOOK.


Revision 95029 - Directory Listing
Modified Mon May 12 23:16:33 2014 UTC (5 years, 8 months ago) by manus
Fixed invariant violations that occurs whenever you query `selected_item' or `selected_item_index' while modifying the notebook. See autotest#TEST_EV_NOTEBOOK.


Revision 95026 - Directory Listing
Modified Mon May 12 18:40:02 2014 UTC (5 years, 8 months ago) by manus
Applied patch from Anders Persson to fix postcondition violation in `make'.


Revision 95002 - Directory Listing
Modified Tue May 6 19:12:18 2014 UTC (5 years, 8 months ago) by manus
Fixed autotest#TEST_EV_DIALOG issues with showing/hiding the different kinds of dialogs:
* The first issue was an invariant violation when going from MODAL/MODELESS to normal. We prevented the violation by making the EV_DIALOG_IMP not initialized while we copy the other dialog properties.
* The second issue was a precondition violation in `{EV_BUTTON}.disable_default_push_button' called from `{EV_DIALOG_IMP}.set_current_push_button' because when we convert the MODAL/MODELESS to a normal dialog, we were copying all the properties before we were done with the MODAL/MODELESS, as a result some properties were still changed but not reflected anymore in the EV_DIALOG_IMP. To avoid that, we do the copy in 2 steps. The first one is to move all the UI elements to the new implementation, and when we are done with the MODAL/MODELESS implementation we copy all the remaining attributes that have been properly updated.

Revision 95001 - Directory Listing
Modified Tue May 6 17:15:55 2014 UTC (5 years, 8 months ago) by manus
If the `show_actions' of a dialog close the dialog then the postconditions of `show_relative_to_window' cannot be met, so we just protect them with `not show_actions.is_empty implies'.

Revision 95000 - Directory Listing
Modified Tue May 6 14:57:03 2014 UTC (5 years, 8 months ago) by alexk
Corrected description note clause to be really multi-line as otherwise it was displayed in a clickable view without proper whitespaces/new lines.

Revision 94995 - Directory Listing
Modified Mon May 5 22:36:30 2014 UTC (5 years, 8 months ago) by manus
Fixed an issue on Mac OS X where often calls to `iconv_imp' fails in which cases we always raise an exception but that's not so great since it is ok to simply report that the conversion failed via `last_conversion_successful'. This will actually make reporting of error faster on Mac OS X.


Revision 94990 - Directory Listing
Modified Mon May 5 21:27:00 2014 UTC (5 years, 8 months ago) by manus
Added test showing that there are some invariants and preconditions violated when showing / hinding a dialog under its 3 different forms: normal, modeless, modal.


Revision 94989 - Directory Listing
Modified Mon May 5 21:24:30 2014 UTC (5 years, 8 months ago) by manus
Updated to the latest ECF schema version.


Revision 94988 - Directory Listing
Modified Mon May 5 21:13:14 2014 UTC (5 years, 8 months ago) by manus
To avoid any catcalls or conversions, `report_error' now takes `READABLE_STRING_GENERAL' as argument.


Revision 94979 - Directory Listing
Modified Fri May 2 04:46:50 2014 UTC (5 years, 8 months ago) by manus
Added missing svn:eol-style native property.

Revision 94956 - Directory Listing
Modified Wed Apr 30 18:10:09 2014 UTC (5 years, 8 months ago) by manus
Added a new test case showing a failure of the parser when parsing a file without calling `start' on the input stream.


Revision 94951 - Directory Listing
Modified Wed Apr 30 15:56:43 2014 UTC (5 years, 8 months ago) by alexk
Corrected attachment status of a type of a local variable.

Revision 94949 - Directory Listing
Modified Wed Apr 30 13:21:29 2014 UTC (5 years, 8 months ago) by alexk
Removed explicit tuple creation.

Revision 94930 - Directory Listing
Modified Wed Apr 30 08:13:18 2014 UTC (5 years, 8 months ago) by alexk
Forced all messages in the editor panel to be displayed as is, i.e. assuming that they do not use any special encoding (i.e. are in STRING_32/UTF-32).

Revision 94927 - Directory Listing
Modified Wed Apr 30 05:56:56 2014 UTC (5 years, 8 months ago) by manus
* Avoided code duplication for descendants of {EV_TEXT_COMPONENT_IMP} with respect to most Win32 messages to get positions and text (select_region, set_selection, start_selection, end_selection, caret_position and set_caret_position) by introducing:
** a new `wel_text_item: POINTER' query. In most cases `wel_item' is the same as `wel_text_item' except in the case of the combo box and spin button.
** a new query `is_replacing_nl_by_crnl' which we can use to offset the Eiffel character or caret position by the number of extra %R added by Windows.

* The above changes let us fixed most of the autest#TEST_EV_TEXT where if the input contains Unicode characters beyond 65535 all our positioning was incorrect because there is no more correspondence between code units and character positions

* Renamed `internal_(set_)caret_position' to be `wel_(set)_caret_position' as this was always using the WEL position systems (starting at 0 and not 1).

* Relaxed the requirements for querying bounds of a selection, if there is no selection, the upper and lower bounds of the selection are the same and correspond to the caret position. 

* Updated WEL_RICH_EDIT to show the caret when calling `set_caret_position' as it is done in parent WEL_EDIT if `scroll_caret_at_selection' is set.

* Because querying text could be expensive and also because we do not always need the full text, we added {WEL_WINDOW}.text_substring which returns a WEL_STRING instance containing the first n-characters of the text. With this you can actually count the number of actual Unicode characters, or find the number of occurrences of a Unicode character without having to create a STRING_32.

* Added new WEL_TEXT_RANGE to retrieve a substring of a WEL_RICH_EDIT (used to implement new `text_substring' from WEL_WINDOW}.
* Various optimizations to use the WEL positioning when we need to save and restore some positions/selections in EV_RICH_TEXT_IMP.
* Optimized query to `selection' in EV_RICH_TEXT_IMP to reuse the same WEL_CHARACTER_RANGE object.
* Optimized query `text' in EV_RICH_TEXT_IMP to avoid using a WEL_RICH_EDIT_BUFFER_SAVER which is slower. Now we use our new `text_substring' from WEL_WINDOW which is about 3 times faster.



Revision 94926 - Directory Listing
Modified Wed Apr 30 05:51:13 2014 UTC (5 years, 8 months ago) by manus
* Optimized WEL_RICH_EDIT_BUFFER_SAVER so that we do not perform a conversion each time `write_buffer' is called. Instead we use a MANAGED_POINTER to store the data directly (no conversion, just a copy) and at the very end we convert using a WEL_STRING or a C_STRING depending if we are retrieving Unicode or not.
* Updated EV_RICH_TEXT_IMP so that it calls `text' before we release the stream.


Revision 94925 - Directory Listing
Modified Wed Apr 30 05:23:29 2014 UTC (5 years, 8 months ago) by manus
Added name of widgets being tested in the window title used for testing.


Revision 94924 - Directory Listing
Modified Wed Apr 30 03:56:12 2014 UTC (5 years, 8 months ago) by manus
* Fixed improper postconditions for `select_all', `selection_start' and `selection_end', and invalid invariant where the upper bound for positioning was incorrectly possibly greater than the length of the text which is not possible. It was from rev 1.9 in CVS and at the time it looks like selecting beyond the end of text (which is still doable) was not producing text_length as maximum caret position but it does now.

* Relaxed precondition of `selection_start' and `selection_end' since it is always ok to ask this even if there is no selection, in which case it is just the caret position.

Revision 94923 - Directory Listing
Modified Wed Apr 30 03:26:28 2014 UTC (5 years, 8 months ago) by manus
Updated to latest schema revision.


Revision 94922 - Directory Listing
Modified Tue Apr 29 23:43:52 2014 UTC (5 years, 8 months ago) by manus
Updated to latest schema.
Made sure EiffelBase is not in readonly mode.

Revision 94921 - Directory Listing
Modified Tue Apr 29 23:42:30 2014 UTC (5 years, 8 months ago) by manus
Reduced number of iterations when iterating over a large text as it is quite slow as we have to retrieve the whole text to properly compute positions.

Revision 94920 - Directory Listing
Modified Tue Apr 29 21:26:38 2014 UTC (5 years, 8 months ago) by manus
Relaxed all preconditions about the incoming buffer being big enough. This is not needed since we do resize the code internally. However made sure that the offset is non-negative. This simplifies the code of clients.
Added test showing that providing a smaller buffer that would violate the precondition before is ok now.

Revision 94919 - Directory Listing
Modified Tue Apr 29 21:05:52 2014 UTC (5 years, 8 months ago) by manus
Removed useless invariant that `text' is not Void since it is attached by default.
Moved invariants involving `text' as postconditions of routines as they are more definitions of the behavior.
The benefit is that enabling invariants on large text manipulation is not so expensive anymore.


Revision 94916 - Directory Listing
Modified Sat Apr 26 06:36:04 2014 UTC (5 years, 8 months ago) by manus
Ignore both 0x2028 and 0x2029 because Windows replace them by %N so there is no roundtrip.


Revision 94915 - Directory Listing
Modified Sat Apr 26 05:55:11 2014 UTC (5 years, 8 months ago) by manus
Fixed typo from last commit.


Revision 94914 - Directory Listing
Modified Sat Apr 26 05:49:18 2014 UTC (5 years, 8 months ago) by manus
Extended testing for EV_TEXT_COMPONENT with more ASCII/Unicode testing for each control.


Revision 94913 - Directory Listing
Modified Thu Apr 24 04:23:51 2014 UTC (5 years, 9 months ago) by manus
Removed precondition `is_allocatable' or `descriptor_available' or `descriptor_is_available'. We simply perform a check after trying to allocate a descriptor if it is successful or not. This fixes some issue with the interface of DATABASE_MANAGER which never checked that precondition anyway.


Revision 94912 - Directory Listing
Modified Thu Apr 24 04:12:17 2014 UTC (5 years, 9 months ago) by manus
Added a new test to show some issue with repeating many times a selection without terminating it.


Revision 94898 - Directory Listing
Modified Sat Apr 19 19:29:47 2014 UTC (5 years, 9 months ago) by manus
* Fixed issues with the handling of the Unicode escape character. If the escaped UTF-32 string contains the escape sequence and that it is trying to escape something that could fit the UTF-16 or UTF-8 encoding, then we store the content as is. This is to avoid the case for UTF-16 where if you have: "?61" would yield "a" after roundtriping.  Now if the UTF-16 or UTF-8, contains the escape character, the resulting string would have it twice, which again preventing proper roundtriping. See review#6283628036227072 and autotest#TEST_UTF_CONVERTER.
* Moved the bytes count routine to the top of the class and added new `utf_16_characters_count_from_pointer' to compute the actual number of Unicode characters a UTF-16 stream makes. It is useful on Windows for example where we do not want to convert the UTF-16 stream in STRING_32 just to get the count.


Revision 94897 - Directory Listing
Modified Sat Apr 19 07:16:36 2014 UTC (5 years, 9 months ago) by manus
Added `occurrences' which lets you calculate the occurrences of a character in a WEL_STRING without having to create the Eiffel string instance.


Revision 94889 - Directory Listing
Modified Fri Apr 18 13:56:13 2014 UTC (5 years, 9 months ago) by jfiat
Updated package.iron to include the compile_library instructions.
And adapted a few iron packages.

Revision 94888 - Directory Listing
Modified Thu Apr 17 22:19:54 2014 UTC (5 years, 9 months ago) by manus
* Made `selection_start' and `selection_end' obsolete as `selection_end' was returning a character position and not a caret position which is counter-intuitive since `set_selection' is using caret positions. Introduced `start_selection' and `end_selection' instead that returns the selection start and end in caret positions. This fixes autotest#TEST_EV_TEXT with respected to `has_selection', `set_selection', `selected_text', `start_selection' and `end_selection'.
* Made it possible to query `start_selection' and `end_selection' even when there is no selection, in which case they return the same value as `caret_position'. Same for `selected_text' and returning an empty string when there is no selection.
* Updated clients accordingly.


Revision 94887 - Directory Listing
Modified Thu Apr 17 20:26:25 2014 UTC (5 years, 9 months ago) by manus
Fixed a precondition violation in the implementation of `get_pixel' where the C memory was shared with a size too small we need 4 extra-bytes to read our pixel integer data. This fixes autotest#TEST_EV_SCREEN.text_pixel_color_relative_to.


Revision 94886 - Directory Listing
Modified Thu Apr 17 20:06:47 2014 UTC (5 years, 9 months ago) by manus
Augmented test to check against new `start_selection' and `end_selection' queries.
Checked for empty selections too now.


Revision 94883 - Directory Listing
Modified Thu Apr 17 03:37:42 2014 UTC (5 years, 9 months ago) by manus
Made argument of `set_pebble_function' attached otherwise it does not compile in void-safe mode.


Revision 94882 - Directory Listing
Modified Thu Apr 17 00:43:52 2014 UTC (5 years, 9 months ago) by manus
* Fixed `{EV_DRAWABLE}.draw_sub_pixel_buffer' because when the rectangle provided is larger than the image it causes a seg fault on GTK. Now we make sure to only use the area that is common to the pixbuffer and the requested area and perform various shifts to draw the pixbuf at the right place.
* Fixed `{EV_PIXEL_BUFFER}.sub_pixel_buffer' which also failed if the provided area was larger than the image.
* Avoided a pixbuf duplication in `stretched' since the `gdk_pixbuf_scale_simple' already generates a copy.
* Speed up initialization of {EV_PIXEL_BUFFER}.make_with_size by calling `gdk_pixbuf_fill' a new external of {GTK}.
* Added `actual_implementation' in EV_PIXEL_BUFFER of type EV_PIXEL_BUFFER_IMP so that the implementation doesn't have to perform any object tests. It is also makes this faster by avoiding some dynamic binding.
* Made `{EV_PIXEL_BUFFER_IMP.reusable_managed_pointer' attached since this was already the case eventhough it was declared detachable.
* Added convenience query `{EV_PIXEL_BUFFER}.area' that returns the dimension of the image as a EV_RECTANGLE.


Revision 94881 - Directory Listing
Modified Thu Apr 17 00:21:10 2014 UTC (5 years, 9 months ago) by manus
Removed useless redefinition of `old_make' since they simply call precursor and also because `old_make' is never called anyway in the new vision2 since it has been marked obsolete for a while now.


Revision 94880 - Directory Listing
Modified Wed Apr 16 23:57:30 2014 UTC (5 years, 9 months ago) by manus
Added `contains' which is useful to know if a rectangle is inside another one.


Revision 94879 - Directory Listing
Modified Wed Apr 16 23:53:46 2014 UTC (5 years, 9 months ago) by manus
Added a new drawing operation in `draw_sub_pixel_buffer.
Added comments.


Revision 94878 - Directory Listing
Modified Wed Apr 16 18:21:04 2014 UTC (5 years, 9 months ago) by manus
Fixed autotest#TEST_EV_SCREEN where creating an EV_SCREEN without creating an EV_APPLICATION instance would not work, so now we create it as part of the initialization of EV_SCREEN.


Revision 94876 - Directory Listing
Modified Wed Apr 16 17:54:04 2014 UTC (5 years, 9 months ago) by manus
Fixed an issue that happens once in a while where on Linux tests would fail with "Evaluator Died" and when debugging them it would not connect to the socket created by EiffelStudio because on IPv6-able systems, even if we say to create both the IPv6 and IPv4 address (automatically done by the EiffelNet implementation), only the IPv4 address is created. So to workaround this limitation, we try to connect again in IPv4 mode only.
This fixes bug#18078.


Revision 94872 - Directory Listing
Modified Wed Apr 16 17:36:08 2014 UTC (5 years, 9 months ago) by manus
Use `like pebble_function' in `set_pebble_function' so that the signature of the function matches what `pebble_function' handles (in this case allowing for function returning a Void pebble).


Revision 94871 - Directory Listing
Modified Wed Apr 16 17:06:42 2014 UTC (5 years, 9 months ago) by manus
Fixed `selected_text' on EV_TEXT and descendants on GTK where we would take the UTF-8 verbatim instead of converting it to its Unicode counterpart. This fixes autotest#TEST_EV_TEXT.


Revision 94870 - Directory Listing
Modified Wed Apr 16 17:04:19 2014 UTC (5 years, 9 months ago) by manus
Removed EV_SPIN_BUTTON from the Unicode test since it can only contains number on most platforms.
Updated comments.


Revision 94860 - Directory Listing
Modified Wed Apr 16 15:47:09 2014 UTC (5 years, 9 months ago) by manus
Added test to verify that when we are beyond UTF-8 and UTF-16 one code unot = one character, the selection and various positionning in an EV_TEXT_COMPONENT is messed up.


Revision 94859 - Directory Listing
Modified Wed Apr 16 15:36:03 2014 UTC (5 years, 9 months ago) by manus
To avoid confusion renamed `set_selection' as `wel_set_selection' in the Windows implementation and no need to rename `set_selection' into `text_component_imp_set_selection' anymore. It is important to know when we call the Windows implementation since it is actually not using the same range (it starts at 0 instead of 1) but also the positions are in UTF-16 code units not in character positions (but this is another story since we do not handle this conversion yet).


Revision 94851 - Directory Listing
Modified Wed Apr 16 11:10:41 2014 UTC (5 years, 9 months ago) by jfiat
Updated a few iron package files.

Revision 94850 - Directory Listing
Modified Wed Apr 16 09:47:15 2014 UTC (5 years, 9 months ago) by jfiat
updated package.iron for objc_base

Revision 94846 - Directory Listing
Modified Sat Apr 12 05:05:23 2014 UTC (5 years, 9 months ago) by manus
Added more coverage for also testing against STRING_8 output of UTF-8 and UTF-16.


Revision 94845 - Directory Listing
Modified Sat Apr 12 04:43:04 2014 UTC (5 years, 9 months ago) by manus
Added eweasel testing cases to the class.
Added more testing showing more issues without roundtrip when the STRING_32 input contains escaping sequence that should not have been there in the first place since the value that was escaped was in no need of escaping.


Revision 94844 - Directory Listing
Modified Sat Apr 12 04:11:04 2014 UTC (5 years, 9 months ago) by manus
Minor optimization in `is_valid_utf_8_string_8'

Revision 94842 - Directory Listing
Modified Fri Apr 11 23:52:36 2014 UTC (5 years, 9 months ago) by manus
Fixed postcondition of `escaped_utf_32_substring_into_utf_16_0_pointer' where we forgot the `negation' on whether the source string has a %U character or not. As a consequence we never checked that the output string would roundtrip.

Revision 94841 - Directory Listing
Modified Fri Apr 11 22:37:18 2014 UTC (5 years, 9 months ago) by manus
Use proper way to reference the EiffelBase library.
Added new TEST_UTF_CONVERTER class to test into more details the conversions from and to various UTF encodings.

Revision 94838 - Directory Listing
Modified Fri Apr 11 20:32:20 2014 UTC (5 years, 9 months ago) by manus
* Minor speed improvements to avoid creating too many temporary objects whenever we query `selection' for our internal implementation. We are now using `internal_selection' a once whenever we need to query the current selection. 
* And to update the content, we added `update_with_rich_edit'.

Revision 94837 - Directory Listing
Modified Fri Apr 11 20:29:30 2014 UTC (5 years, 9 months ago) by manus
Added missing precondition.

Revision 94836 - Directory Listing
Modified Fri Apr 11 19:31:11 2014 UTC (5 years, 9 months ago) by manus
Fixed autotest#TEST_WEL_STRING where if you have Unicode characters above the 65535 value, the result of the conversion to UTF-16 requires more space and when you have to replace %N into %R%N we forgot to resize the content before inserting the %R%N characters.


Revision 94835 - Directory Listing
Modified Fri Apr 11 18:33:04 2014 UTC (5 years, 9 months ago) by manus
Added more precise comment.


Revision 94834 - Directory Listing
Modified Fri Apr 11 18:09:53 2014 UTC (5 years, 9 months ago) by manus
Added a new test for string conversions showing that our implementation for removing %R or handling %N is broken.


Revision 94833 - Directory Listing
Modified Fri Apr 11 18:02:20 2014 UTC (5 years, 9 months ago) by manus
Upgraded ECF to latest format.


Revision 94824 - Directory Listing
Modified Fri Apr 11 00:08:06 2014 UTC (5 years, 9 months ago) by manus
Fixed a bug when storing a random string into a binary column in the database, because we would convert the database type from binary to longvarchar and that would cause a mismatch.
For stored procedures and prepared statements, improved the behavior of storing binary data by not imposing the user to convert its binary stream in hexadecimal. This is a breaking change as now it will store whatever you provide as is. For traditional SQL statements it remains the same and binary data needs to be converted.


Revision 94823 - Directory Listing
Modified Thu Apr 10 23:57:30 2014 UTC (5 years, 9 months ago) by manus
Updated the test to show that for storing binary, we use the raw content of the string. There is no need to work around the previous limitation


Revision 94822 - Directory Listing
Modified Thu Apr 10 22:22:43 2014 UTC (5 years, 9 months ago) by manus
Moved the type constants from DATABASE to a class DB_TYPES that can be used from the support classes of EiffelStore and thus letting us use an inspect statement instead of many if/elseif statement which are usually slower.
The former class TYPES [G] is made obsolete since one can use DB_TYPES directly. The reason for that is that DB_TYPES is not generic and doesn't need to be generic.

Revision 94820 - Directory Listing
Modified Thu Apr 10 20:51:56 2014 UTC (5 years, 9 months ago) by manus
Removed note clause on `ht' and `ht_order' now that they are actually attached attributes.
Removed useless precondition checking for non-voidness of `ht' and `ht_order'.
Added invariant stating that `ht' and `ht_order' should have the exact same count.

Revision 94819 - Directory Listing
Modified Thu Apr 10 20:50:34 2014 UTC (5 years, 9 months ago) by manus
Added test showing that binary data is not nicely handled currently. In ODBC with SQL server, the binary data has to be converted in its hexadecimal representation which is not ideal. We want EiffelStore to store it as is without conversion.

Revision 94818 - Directory Listing
Modified Thu Apr 10 20:49:15 2014 UTC (5 years, 9 months ago) by manus
Removed non-used locals.

Revision 94813 - Directory Listing
Modified Thu Apr 10 19:47:14 2014 UTC (5 years, 9 months ago) by jfiat
Fixed usage display when is_using_unix_switch_style is True.
(i.e  it displays for switch "v|verbose",   "-v --verbose"  (instead of previous "-v -verbose")

Revision 94809 - Directory Listing
Modified Thu Apr 10 15:28:38 2014 UTC (5 years, 9 months ago) by alexk
Removed unused assignments to local variables.

Revision 94801 - Directory Listing
Modified Wed Apr 9 14:37:28 2014 UTC (5 years, 9 months ago) by jfiat
Renamed PERCENT_ENCODER to URI_PERCENT_ENCODER , in order to avoid potential class name issues.

Revision 94795 - Directory Listing
Modified Wed Apr 9 10:32:39 2014 UTC (5 years, 9 months ago) by jfiat
Make URI.append_to_string (..) accepts STRING_8 and STRING_32 output string.
This is mainly to avoid creating a temporary string object, to append a uri to a STRING_32 value.

Revision 94776 - Directory Listing
Modified Fri Apr 4 03:40:54 2014 UTC (5 years, 9 months ago) by manus
Fixed an issue when storing large strings (e.g. of type varchar(max) in database) using a prepared statement or stored procedure. It will only store up to 4000 bytes, the issue being that the SQL data type we were using was wrong, we should have used SQL_LONGVARCHAR instead of SQL_CHAR. Now instead of finding out a type we use SQLDescribeParam to tell us the type expected by the database based on the SQL query. It works most of the time and for all the various Eiffel types. One restriction though is that for varchar(max) we were still not getting SQL_LONGVARCHAR, so we are using a behavior where by if `l_param_size' is 0, it means it is not bounded and we generate the proper SQL datatype (see updated TEST_LARGE_VALUES and TEST_NULL tests)
Better handling of REAL_32 and REAL_64 to decimal when the associated column is a decimal (see updated TEST_NUMERIC_TYPES test).


Revision 94775 - Directory Listing
Modified Fri Apr 4 03:31:05 2014 UTC (5 years, 9 months ago) by manus
Updated various tests to better:
- test dynamic SQL queries for large values and for insertion of NULL values. Our ODBC implementation would fail because we did not call SQLBindParameter with the proper datatype and size.
- Improved numerical test to check for the REAL_32 to DECIMAL mapping as well.


Revision 94759 - Directory Listing
Modified Tue Apr 1 22:05:21 2014 UTC (5 years, 9 months ago) by jfiat
Fixed PATH_URI for absolute path, and string conversion when a path_uri is used to create a new uri with make_from_uri.
Added test for {URI}.make_from_uri

Revision 94756 - Directory Listing
Modified Tue Apr 1 09:17:47 2014 UTC (5 years, 9 months ago) by jfiat
updated link to use http://dev.eiffel.com/... instead of obsolete origo's link

Revision 94750 - Directory Listing
Modified Tue Apr 1 00:23:31 2014 UTC (5 years, 9 months ago) by manus
Made code compile under iOS.


Revision 94742 - Directory Listing
Modified Fri Mar 28 16:23:30 2014 UTC (5 years, 9 months ago) by manus
Fixed typos.


Revision 94729 - Directory Listing
Modified Thu Mar 27 04:30:52 2014 UTC (5 years, 9 months ago) by manus
Fixed typos.


Revision 94721 - Directory Listing
Modified Wed Mar 26 21:49:40 2014 UTC (5 years, 9 months ago) by manus
Improved code from results of Inspector Eiffel.


Revision 94717 - Directory Listing
Modified Wed Mar 26 03:46:54 2014 UTC (5 years, 10 months ago) by manus
Improved code from results of Inspector Eiffel.


Revision 94699 - Directory Listing
Modified Tue Mar 25 03:40:11 2014 UTC (5 years, 10 months ago) by manus
We never ignore EIFGENs.


Revision 94680 - Directory Listing
Modified Mon Mar 24 18:52:21 2014 UTC (5 years, 10 months ago) by manus
Removed empty actual generic argument for TUPLE since this is not valid Eiffel syntax.


Revision 94667 - Directory Listing
Modified Fri Mar 21 23:16:05 2014 UTC (5 years, 10 months ago) by manus
Removed non-used local.

Revision 94666 - Directory Listing
Modified Fri Mar 21 23:15:45 2014 UTC (5 years, 10 months ago) by manus
Changed processing of display of non-switched arguments by first showing the options and then the non-switched arguments. That is to say:
  tool -v -b <argument>
instead of
  tool <argument> -v -b 
which goes pretty much all the typical usage of such tool.

Revision 94661 - Directory Listing
Modified Fri Mar 21 00:24:20 2014 UTC (5 years, 10 months ago) by manus
Fixed new test TEST_LARGE_VALUES where is the large data was ASCII, then the first character was missing, it was due to the fact that we took the Unicode character size for the NULL character, not the ASCII size.


Revision 94660 - Directory Listing
Modified Fri Mar 21 00:22:49 2014 UTC (5 years, 10 months ago) by manus
Updated tests to show that retrieval of large data, being Unicode or ASCII works properly.


Revision 94659 - Directory Listing
Modified Fri Mar 21 00:21:48 2014 UTC (5 years, 10 months ago) by manus
Removed requirement that `is_ok' to terminate since DB_SELECTION has no such requirements. The underlying database should handle the case where the order has not been started.


Revision 94658 - Directory Listing
Modified Thu Mar 20 23:35:35 2014 UTC (5 years, 10 months ago) by manus
Added a test showing that for large data, the first character retrieved is missing.


Revision 94648 - Directory Listing
Modified Wed Mar 19 21:24:43 2014 UTC (5 years, 10 months ago) by jfiat
removed unused local variable.

Revision 94639 - Directory Listing
Modified Wed Mar 19 16:53:29 2014 UTC (5 years, 10 months ago) by jfiat
Fixed compilation error

Revision 94637 - Directory Listing
Modified Wed Mar 19 16:11:21 2014 UTC (5 years, 10 months ago) by jfiat
Added make_from_general_string to be create a PATH_URI from a unicode path string.

Revision 94635 - Directory Listing
Modified Wed Mar 19 15:59:07 2014 UTC (5 years, 10 months ago) by jfiat
Exclude unwanted folder from cluster.
and logging library is void-safe complete

Revision 94634 - Directory Listing
Modified Wed Mar 19 15:57:56 2014 UTC (5 years, 10 months ago) by jfiat
Added support for PATH in log writer file to handle unicode file name.


Revision 94633 - Directory Listing
Modified Wed Mar 19 14:36:10 2014 UTC (5 years, 10 months ago) by jfiat
Using is_substring_whitespace instead of across + is_space for *adjust routines

review#5634146386837504

Revision 94632 - Directory Listing
Modified Wed Mar 19 14:23:40 2014 UTC (5 years, 10 months ago) by jfiat
Moved string iterations cursor from TEST_ADJUST_STRING to TEST_STRING_ITERATOR 

Revision 94631 - Directory Listing
Modified Wed Mar 19 13:54:01 2014 UTC (5 years, 10 months ago) by jfiat
Reverted "test" folder to previous state (as a library , and not autotest cases)
Moved autotests cases under "testing" and added other tests related to string classes.


Revision 94630 - Directory Listing
Modified Wed Mar 19 13:27:01 2014 UTC (5 years, 10 months ago) by javierv
Added adjust feature, Remove leading and/or trailing whitespaces.
issue="17007003'

Revision 94629 - Directory Listing
Modified Wed Mar 19 12:57:12 2014 UTC (5 years, 10 months ago) by jfiat
Updated to EOF semantic for end_of_input, 
Added improvement related to xml content truncation handling.

review#6293586605768704

Revision 94626 - Directory Listing
Modified Wed Mar 19 00:55:26 2014 UTC (5 years, 10 months ago) by manus
Reverted `title' to STRING_8.
Updated assertions to reflect that attributes are detachable.


Revision 94625 - Directory Listing
Modified Wed Mar 19 00:54:02 2014 UTC (5 years, 10 months ago) by manus
Do not use `text' datatype because depending on the database it is either Unicode or ASCII, we now choose just varchar which is ascii by default.


Revision 94624 - Directory Listing
Modified Tue Mar 18 23:54:13 2014 UTC (5 years, 10 months ago) by manus
To make test TEST_NULL work with MySQL we needed to change the type of `title' to be a STRING_32.
MySQL does not support dynamic SQL so that part testing it is not executed when running against MySQL.


Revision 94623 - Directory Listing
Modified Tue Mar 18 21:51:30 2014 UTC (5 years, 10 months ago) by manus
Removed non-used locals.


Revision 94622 - Directory Listing
Modified Tue Mar 18 21:48:24 2014 UTC (5 years, 10 months ago) by manus
Made it possible to bind null argument values in ODBC. This fixes test TEST_NULL.test_null.
Changed the constant value for EIF_C_UNKNOWN_TYPE and EIF_C_NULL_TYPE to be more consistent (-1 being the lowest value and the unknown value too).


Revision 94621 - Directory Listing
Modified Tue Mar 18 21:43:42 2014 UTC (5 years, 10 months ago) by manus
Added more data types.


Revision 94620 - Directory Listing
Modified Tue Mar 18 21:39:12 2014 UTC (5 years, 10 months ago) by manus
Added TEST_NULL which test the ability to store null values when using a SQL query with bind arguments.
Added BOOK5, which is a BOOK class with detachable attributes.
Ensure that we check for warnings in the ECF.


Revision 94613 - Directory Listing
Modified Tue Mar 18 04:59:54 2014 UTC (5 years, 10 months ago) by manus
Updated C code interface for all bindings to use the same constants values for the various Eiffel data types. It makes it easier to reason about the various handles and their C implementation.


Revision 94612 - Directory Listing
Modified Tue Mar 18 04:25:34 2014 UTC (5 years, 10 months ago) by manus
Table names are case sensitive on MySQL so make sure to always use the same case.


Revision 94611 - Directory Listing
Modified Tue Mar 18 04:25:12 2014 UTC (5 years, 10 months ago) by manus
Maximum size for table and column name is 64 characters in MySQL, so we need to adapt the class accordingly.


Revision 94610 - Directory Listing
Modified Tue Mar 18 04:24:13 2014 UTC (5 years, 10 months ago) by manus
Maximum size for table and column name is 64 characters in MySQL, so we need to adapt the class accordingly.


Revision 94592 - Directory Listing
Modified Thu Mar 13 07:06:44 2014 UTC (5 years, 10 months ago) by jfiat
Added iron package files for upcoming iron functionalities (local file system iron repository)

Revision 94591 - Directory Listing
Modified Wed Mar 12 21:36:10 2014 UTC (5 years, 10 months ago) by manus
Fixed TEST_LENGTH_OF_COLUMN_NAME test which was recently updated to create a table whose name is greater than 50 characters.


Revision 94590 - Directory Listing
Modified Wed Mar 12 21:35:13 2014 UTC (5 years, 10 months ago) by manus
Increased the length of some table name and column name to go beyond 50 characters, this shows a failure in ODBC C code with a off by one error in allocation causing a memory corruption.


Revision 94564 - Directory Listing
Modified Fri Feb 28 22:02:50 2014 UTC (5 years, 10 months ago) by manus
Added support to display HTML code provided in a string. This partially fix bug#18828 until the GTK side is updated.


Revision 94563 - Directory Listing
Modified Fri Feb 28 21:56:18 2014 UTC (5 years, 10 months ago) by manus
Removed non-Unicode specific C code since we always compile in Unicode for Windows.

Revision 94518 - Directory Listing
Modified Tue Feb 25 08:01:22 2014 UTC (5 years, 10 months ago) by jfiat
Fix XML parser when the input file is exactly the same size as the xml file input stream chunk size.
Improved parser to catch earlier issue related with end of input.
Added related tests.

review#6293586605768704

Revision 94504 - Directory Listing
Modified Mon Feb 24 15:16:59 2014 UTC (5 years, 10 months ago) by jfiat
Added support for more dospath, such as "\\server\share\My Documents" as well as absolute path "\foo\bar".

Revision 94503 - Directory Listing
Modified Mon Feb 24 14:33:18 2014 UTC (5 years, 10 months ago) by jfiat
URI improved with new routines such as add_unencoded_path_segment. Fixed issue related to path_segments implementation. Added PATH_URI as a way to convert local PATH to and from file URI. review#6367887929376768

Revision 94484 - Directory Listing
Modified Sat Feb 22 00:51:29 2014 UTC (5 years, 11 months ago) by manus
Added some routines to make some sample compile on Windows.


Revision 94483 - Directory Listing
Modified Sat Feb 22 00:47:40 2014 UTC (5 years, 11 months ago) by manus
Ensured that EVENT_UNBLOCK_NAMED_PIPE is present on both Unix and Windows, even if on Windows it doesn't do anything, contract wise it is ok.


Revision 94417 - Directory Listing
Modified Thu Feb 20 15:54:52 2014 UTC (5 years, 11 months ago) by manus
Removed `utility' library and move the only class to the utility cluster of the new XML library.


Revision 94410 - Directory Listing
Modified Thu Feb 20 15:17:35 2014 UTC (5 years, 11 months ago) by manus
Added platform setting for ECF that can only be compiled for Windows.


Revision 94407 - Directory Listing
Modified Thu Feb 20 10:18:37 2014 UTC (5 years, 11 months ago) by jfiat
Fixed geant script (no Clib compilation on non Windows platforms).

Revision 94405 - Directory Listing
Modified Thu Feb 20 08:22:07 2014 UTC (5 years, 11 months ago) by manus
Removed unix target since we can compile it using the `-platform xx' command line option.


Revision 94404 - Directory Listing
Modified Thu Feb 20 08:21:40 2014 UTC (5 years, 11 months ago) by manus
Removed unix target since we can compile it using the `-platform xx' command line option.


Revision 94403 - Directory Listing
Modified Thu Feb 20 08:21:19 2014 UTC (5 years, 11 months ago) by manus
Removed unix target since we can compile it using the `-platform xx' command line option.


Revision 94402 - Directory Listing
Modified Thu Feb 20 08:20:52 2014 UTC (5 years, 11 months ago) by manus
Removed unix target since we can compile it using the `-platform xx' command line option.


Revision 94401 - Directory Listing
Modified Thu Feb 20 08:20:03 2014 UTC (5 years, 11 months ago) by manus
Removed `docking_unix' target since we can compile it using the `-platform xx' command line option.


Revision 94400 - Directory Listing
Modified Thu Feb 20 08:07:05 2014 UTC (5 years, 11 months ago) by manus
Added new test for row_count and last_visible_row in an EV_GRID.


Revision 94399 - Directory Listing
Modified Thu Feb 20 08:06:33 2014 UTC (5 years, 11 months ago) by manus
Resizing only occurs when visible so we modified the test to show the windows.


Revision 94398 - Directory Listing
Modified Thu Feb 20 08:05:01 2014 UTC (5 years, 11 months ago) by manus
Previous commit was issued from a merge that did not trigger a conflict and caused us to have twice the same setting.


Revision 94397 - Directory Listing
Modified Thu Feb 20 08:02:49 2014 UTC (5 years, 11 months ago) by manus
The ribbon can only be compiled on Windows.


Revision 94394 - Directory Listing
Modified Thu Feb 20 07:46:38 2014 UTC (5 years, 11 months ago) by manus
While waiting for all ECFs including WEL are properly conditionally included we need to add the external flags only if we are on Windows.


Revision 94390 - Directory Listing
Modified Thu Feb 20 06:04:57 2014 UTC (5 years, 11 months ago) by manus
Removed unix target since now we can compile it easily by adding `-platform unix' from the command line.


Revision 94389 - Directory Listing
Modified Thu Feb 20 06:04:25 2014 UTC (5 years, 11 months ago) by manus
Set the platform for the cocoa target otherwise it would not compile on other platforms.


Revision 94387 - Directory Listing
Modified Thu Feb 20 05:48:46 2014 UTC (5 years, 11 months ago) by manus
Ensures that the code only compiles for Windows as it doesn't otherwise.


Revision 94383 - Directory Listing
Modified Thu Feb 20 04:51:15 2014 UTC (5 years, 11 months ago) by manus
Copy/paste error wel should be included on Windows of course.


Revision 94382 - Directory Listing
Modified Thu Feb 20 01:46:24 2014 UTC (5 years, 11 months ago) by manus
Removed condition for inclusion of WEL since it has to be compiled on Windows no matter what.


Revision 94381 - Directory Listing
Modified Thu Feb 20 01:43:29 2014 UTC (5 years, 11 months ago) by manus
For ECFs that can only be used on Windows, removed the condition for externals, it is up to the user to selectively control the inclusion for the ECF (e.g. Vision2 only includes WEL on Windows).
For ECFs using WEL without a condition added the condition.
It should make most of our ECF compiles on Unix or Windows regardless.


Revision 94380 - Directory Listing
Modified Thu Feb 20 01:40:30 2014 UTC (5 years, 11 months ago) by manus
Added protection against inclusion of WEL which should only be included on Windows.


Revision 94379 - Directory Listing
Modified Thu Feb 20 01:26:40 2014 UTC (5 years, 11 months ago) by manus
Made sure to exclude wel not on Windows.


Revision 94352 - Directory Listing
Modified Tue Feb 18 12:13:21 2014 UTC (5 years, 11 months ago) by jfiat
Added is_whitespace and is_substring_whitespace

review#6745382805569536

Revision 94340 - Directory Listing
Modified Mon Feb 17 10:37:12 2014 UTC (5 years, 11 months ago) by alexk
Restored the note section that describes how to use core features of the class.

Revision 94319 - Directory Listing
Modified Fri Feb 14 22:07:04 2014 UTC (5 years, 11 months ago) by manus
Made `content_by_title' detachable and remove preconditions since it was easily violated if you have the editor maximized when restoring layout.


Revision 94308 - Directory Listing
Modified Fri Feb 14 17:19:12 2014 UTC (5 years, 11 months ago) by manus
Made it compile in full void-safe mode.


Revision 94306 - Directory Listing
Modified Fri Feb 14 08:08:31 2014 UTC (5 years, 11 months ago) by manus
Update all ECFs to standard syntax.


Revision 94305 - Directory Listing
Modified Fri Feb 14 08:07:52 2014 UTC (5 years, 11 months ago) by manus
Fixed void-safety error by ensuring that `set_attribute' accepts detachable entities.


Revision 94304 - Directory Listing
Modified Fri Feb 14 08:02:33 2014 UTC (5 years, 11 months ago) by manus
Updated to new code generation of ribbon.
Made it compile by adding missing RIBBON_APPLICATION class.


Revision 94303 - Directory Listing
Modified Fri Feb 14 07:51:30 2014 UTC (5 years, 11 months ago) by manus
Updated to standard syntax.


Revision 94302 - Directory Listing
Modified Fri Feb 14 07:50:25 2014 UTC (5 years, 11 months ago) by manus
Made it compile due to changes in ENVIRONMENT_ARGUMENTS from base_extension at rev#93803. All `arguments' are now ARRAYED_LIST too, it simplify code and even make it more efficient by reducing amount of copying being done.


Revision 94301 - Directory Listing
Modified Fri Feb 14 07:49:22 2014 UTC (5 years, 11 months ago) by manus
Updated to standard syntax.


Revision 94265 - Directory Listing
Modified Tue Feb 11 23:53:35 2014 UTC (5 years, 11 months ago) by manus
Void-safety improvements by avoiding using an object test when we know that entity is already attached.
Use ARRAYED_LIST instead of LIST to avoid catcall compilation errors.


Revision 94263 - Directory Listing
Modified Tue Feb 11 23:25:22 2014 UTC (5 years, 11 months ago) by manus
Removed useless type in object tests since target is already of the right type.


Revision 94262 - Directory Listing
Modified Tue Feb 11 21:52:54 2014 UTC (5 years, 11 months ago) by manus
No need to specify the type in object test.


Revision 94260 - Directory Listing
Modified Tue Feb 11 21:16:46 2014 UTC (5 years, 11 months ago) by manus
Made it compile with highest level of void-safety.


Revision 94251 - Directory Listing
Modified Mon Feb 10 19:12:40 2014 UTC (5 years, 11 months ago) by manus
Fixed by one error when mapping a caret position to the actual caret position of the underlying Windows implementation that has %R%N and not just %N. This fixes vision2 test {TEST_EV_TEXT}.test_test_caret_positioning.


Revision 94250 - Directory Listing
Modified Mon Feb 10 19:06:18 2014 UTC (5 years, 11 months ago) by manus
Added tests for caret_position bug when you have %N in the text.


Revision 94243 - Directory Listing
Modified Sun Feb 9 07:03:07 2014 UTC (5 years, 11 months ago) by tedf
Added values for CURLOPT_HTTP_VERSION. These values can be used when forcing http version.

Revision 94230 - Directory Listing
Modified Fri Feb 7 09:03:41 2014 UTC (5 years, 11 months ago) by jfiat
Added EIS entry to link to XML specification 

Revision 94229 - Directory Listing
Modified Fri Feb 7 08:41:04 2014 UTC (5 years, 11 months ago) by jfiat
Made XML_FORWARD_CALLBACKS inherits from XML_CALLBACKS

Revision 94197 - Directory Listing
Modified Wed Feb 5 23:23:06 2014 UTC (5 years, 11 months ago) by manus
Formatting C code.


Revision 94196 - Directory Listing
Modified Wed Feb 5 23:16:26 2014 UTC (5 years, 11 months ago) by manus
Fixed a memory corruption that was introduced in previous revision rev#93824 where some GTK routines were not creating a 4 channel image as we expected but just RGB. So we needed to add the alpha channel as well.
Optimized draw_mask_on_pixbuf and added precondition that requires both pixbuffer to have the alpha channel.
M    properties/ev_drawable_imp.e


Revision 94144 - Directory Listing
Modified Fri Jan 31 14:29:35 2014 UTC (5 years, 11 months ago) by alexk
Removed `default_create' and marked class as obsolete.

Revision 94125 - Directory Listing
Modified Wed Jan 29 20:44:20 2014 UTC (5 years, 11 months ago) by manus
Made tests compile in the highest level of void-safety.


Revision 94124 - Directory Listing
Modified Wed Jan 29 20:35:52 2014 UTC (5 years, 11 months ago) by manus
Updated to highest level of void-safety.


Revision 94121 - Directory Listing
Modified Wed Jan 29 20:04:31 2014 UTC (5 years, 11 months ago) by manus
Updated to highest level of void-safety.


Revision 94109 - Directory Listing
Modified Tue Jan 28 22:35:23 2014 UTC (5 years, 11 months ago) by manus
* Replaced all occurrences of the RTxx2 macros to the original name RTxx. This means that after this commit, you need a new compiler to compile workbench code. I've also removed the old routines that were not in use after this change.

* Lookup all occurrences of offset/origin and replaced by routine_id/dynamic type to perform feature/attribute offset lookups:
 - for finding the root creation procedure.
 - for creating agent on melted code, this impacted the code of ROUTINE/PROCEDURE/FUNCTION for agent creation and call. 
   with a special case for inline agents for which we cannot do the dynamic dispatch.
 - changed the definition of struct cnode.
 - change `dynamic_eval' to reflect that change (debugger code has been changed but not yet tested).
 - calling creation procedure of expanded attributes. 
 
* Removed ecall and all the supporting code to initialize it (i.e. routine ID arrays files, egc_fcall and egc_fcall_init) since we do not use them anymore.

* Updated makefile generators to reflect the fact that we do not generate the feature table routine ID arrays file.


Revision 94090 - Directory Listing
Modified Fri Jan 24 07:12:42 2014 UTC (6 years ago) by manus
Made it really compile in highest level of void-safety.


Revision 94084 - Directory Listing
Modified Wed Jan 22 23:00:26 2014 UTC (6 years ago) by manus
Made code compile in SCOOP mode (broken since 13.11 release).


Revision 94082 - Directory Listing
Modified Wed Jan 22 21:42:27 2014 UTC (6 years ago) by manus
Fixed incorrect signatures of wrapping for PostMessage, GetCurrentProcessId and GetWindowThreadProcessID which do not return a pointer but a specific type. Adapted callers according to the new signature.


Revision 94079 - Directory Listing
Modified Wed Jan 22 19:21:05 2014 UTC (6 years ago) by manus
Removed obsolete syntax TUPLE [] as the empty [] is not allowed by the ECMA standard.


Revision 94051 - Directory Listing
Modified Fri Jan 17 19:50:59 2014 UTC (6 years ago) by manus
Fixed cosmetics on `export {NONE} all'.
Fixed missing `all' keywords syntax warning.

Revision 94047 - Directory Listing
Modified Fri Jan 17 16:38:43 2014 UTC (6 years ago) by manus
Added postcondition to make it clearer on what `detect' does.


Revision 94035 - Directory Listing
Modified Fri Jan 17 00:45:14 2014 UTC (6 years ago) by manus
Use setter routine instead of assigner to assign into `default_key_processing_handler'.

Revision 94023 - Directory Listing
Modified Thu Jan 16 01:35:27 2014 UTC (6 years ago) by tedf
Added missing Oracle specific classes for testing.

Revision 94022 - Directory Listing
Modified Thu Jan 16 00:39:00 2014 UTC (6 years ago) by manus
Removed cycle in gobo library which is not needed.


Revision 94016 - Directory Listing
Modified Wed Jan 15 22:45:38 2014 UTC (6 years ago) by manus
Removed the settings that have the value we set by default.


Revision 94015 - Directory Listing
Modified Wed Jan 15 22:31:54 2014 UTC (6 years ago) by manus
Use anchor so that we create the right type if `application' is redefined.


Revision 94014 - Directory Listing
Modified Wed Jan 15 22:27:47 2014 UTC (6 years ago) by manus
Updated test to use new EV_VISION2_TEST_SET class to reuse most of the exisitng framework to test vision2.
Updated to highest level of void-safety.


Revision 94013 - Directory Listing
Modified Wed Jan 15 22:24:55 2014 UTC (6 years ago) by manus
Removed UTF-8 specific encoding since not required.


Revision 94011 - Directory Listing
Modified Wed Jan 15 19:41:38 2014 UTC (6 years ago) by manus
Moved VISION2_TEST_SET into EV_VISION2_TEST_SET to the actual library so that other libraries based on Vision2 can benefit from those helper function used for testing.


Revision 94010 - Directory Listing
Modified Wed Jan 15 19:25:02 2014 UTC (6 years ago) by manus
Updated library to highest level of void-safety.


Revision 94009 - Directory Listing
Modified Wed Jan 15 19:03:39 2014 UTC (6 years ago) by manus
Updated to highest level of void-safety.


Revision 94008 - Directory Listing
Modified Wed Jan 15 18:43:14 2014 UTC (6 years ago) by manus
Added Unix compilation target.
Updated to highest level of void-safety.


Revision 94007 - Directory Listing
Modified Wed Jan 15 18:36:17 2014 UTC (6 years ago) by manus
Made signature of `retrieve_analyzer' more flexible by taking a READABLE_STRING_GENERAL.


Revision 94005 - Directory Listing
Modified Wed Jan 15 18:28:29 2014 UTC (6 years ago) by manus
Added void-safe version of the dataview library.


Revision 94004 - Directory Listing
Modified Wed Jan 15 18:27:37 2014 UTC (6 years ago) by manus
Made EiffelStore compile in the highest level of void-safety:
- For converter cluster, added creation procedure where `default_create' was used, used ARRAYED_LIST instead of ARRAY.
- Only use `check ... then' when needed (i.e. for function that returns an attached result) otherwise use simple `if ... then' and the precondition is there to catch when this is not the case.
- Made a few functions that are public return a detachable type. This should not cause much issue since it is mostly used internally.
- Added `set_connection_string_information' to DB_TABLE_MANAGER as it is practical for ODBC.


Revision 93994 - Directory Listing
Modified Wed Jan 15 01:38:11 2014 UTC (6 years ago) by manus
Due to a bug in code generation of the compiler (see eweasel test#exec359) and to improve code with respect to void-safety and efficiency, we changed the code to use the object test directly rather than going through a function to find out about the type of the object. It makes things faster and easier to read.


Revision 93993 - Directory Listing
Modified Wed Jan 15 01:35:33 2014 UTC (6 years ago) by manus
Fixed Autotest test#test_numeric_types and test#test_numeric_types_use_decimal_mode by ensuring that a decimal read from the database (almost like a string representation) is converted to a REAL_64 the same way it is done in class {STRING}.to_real_64, otherwise we get different rounding.
Simplified implementation of `strhextoval' to read bytes per bytes.


Revision 93991 - Directory Listing
Modified Tue Jan 14 20:55:46 2014 UTC (6 years ago) by manus
Added `is_trusted' query.

Revision 93990 - Directory Listing
Modified Tue Jan 14 20:55:10 2014 UTC (6 years ago) by manus
Show how one can easily test manually in a normal execution.

Revision 93989 - Directory Listing
Modified Tue Jan 14 20:54:33 2014 UTC (6 years ago) by manus
Use a new way to login for ODBC either using Windows authentification or windows login.
Updated test.config file to add windows authentification (aka trusted).
Fixed `test_multiple_thread' by ensuring that all books are created with the same year, otherwise using `make_now' for the year would cause different values being reported since we have multiple updates going on.

Revision 93988 - Directory Listing
Modified Tue Jan 14 20:50:44 2014 UTC (6 years ago) by manus
Make sure to use the same precision and scale as the table definition otherwise we get stuff that does not compare properly.
Take into account REAL_64 to DECIMAL conversion not keeping the original string digits of the REAL_64 as there is some precision loss that is kept as is in the decimal field.

Revision 93987 - Directory Listing
Modified Tue Jan 14 20:47:44 2014 UTC (6 years ago) by manus
To insert Unicode string in an SQL statement we need to use the N prefix, otherwise it gets converted in the current locale.

Revision 93986 - Directory Listing
Modified Tue Jan 14 20:46:37 2014 UTC (6 years ago) by manus
Make sure to use the same string that we inserted to compare with the string we get back.

Revision 93985 - Directory Listing
Modified Tue Jan 14 18:32:56 2014 UTC (6 years ago) by manus
Made it possible to run a test case outside of EiffelStudio AutoTest framework. It makes it easier to debug certain tests. The idea here is that if some environment variables are not set, then it means it hasn't been launched from EiffelStudio in which case we do not try to create/delete any testing directory.


Revision 93984 - Directory Listing
Modified Tue Jan 14 18:25:48 2014 UTC (6 years ago) by manus
Removed unused local.


Revision 93975 - Directory Listing
Modified Tue Jan 14 00:07:41 2014 UTC (6 years ago) by manus
Removed all `set_from_array' routines as they were not void-safe and never actually used.


Revision 93958 - Directory Listing
Modified Sat Jan 11 00:13:27 2014 UTC (6 years ago) by manus
Made code compile in highest level of void-safety by passing `para' as argument to `bind_args_value' instead of fetching it as an attribute.


Revision 93936 - Directory Listing
Modified Wed Jan 8 22:42:56 2014 UTC (6 years ago) by manus
From tedf: Added support for dynamic SQL for ODBC, MySQL and Oracle.
See review#5593404964601856.


Revision 93935 - Directory Listing
Modified Wed Jan 8 22:29:50 2014 UTC (6 years ago) by manus
Made internationalization library compile with highest level of void-safety:
- Changed pattern `has'/`found_item' by `item'
- Made some attributes attached
- Added just a few check .. then .. end


Revision 93934 - Directory Listing
Modified Wed Jan 8 19:30:00 2014 UTC (6 years ago) by manus
Use `internal_child_window' instead of `item' which returns `internal_child_window' to avoid a compilation error in the highest level of void-safety.


Revision 93928 - Directory Listing
Modified Wed Jan 8 05:44:16 2014 UTC (6 years ago) by manus
Make sure to save the files where they are read from. If we overwrite them, that's ok we have source control to tell us what might have changed.


Revision 93927 - Directory Listing
Modified Wed Jan 8 05:40:38 2014 UTC (6 years ago) by manus
Added more files specific to Unix.


Revision 93926 - Directory Listing
Modified Wed Jan 8 05:40:22 2014 UTC (6 years ago) by manus
Updated to new currency name.


Revision 93924 - Directory Listing
Modified Wed Jan 8 00:39:07 2014 UTC (6 years ago) by manus
Updated values of currency most likely due to recent updates in currency representation.


Revision 93921 - Directory Listing
Modified Tue Jan 7 18:39:35 2014 UTC (6 years ago) by manus
Updated to highest level of void-safety.


Revision 93920 - Directory Listing
Modified Tue Jan 7 18:37:35 2014 UTC (6 years ago) by manus
Updated to highest level of void-safety.


Revision 93919 - Directory Listing
Modified Tue Jan 7 18:33:53 2014 UTC (6 years ago) by manus
Added auto color preference for recently added colors: link color and mouse over link color.


Revision 93918 - Directory Listing
Modified Tue Jan 7 18:33:00 2014 UTC (6 years ago) by manus
Updated preference XML void-safe version to highest level.


Revision 93917 - Directory Listing
Modified Tue Jan 7 17:56:21 2014 UTC (6 years ago) by manus
Made code compile with highest level of void-safety:
- replaced some has-found_item pattern in MANAGED_SHORTCUT by just `item' and checking it is attached
- Added very very check .. then end.
- In agent callbacks, and in some routine with require else preconditions, I've adapted the code so that if the stuff that is supposed to be attached is not, then we do nothing.
- Changed order of creation to ensure all attributes are set before doing anything.


Revision 93915 - Directory Listing
Modified Tue Jan 7 17:09:47 2014 UTC (6 years ago) by manus
Restored minimum height of 50 that was removed by mistake at previous commit.


Revision 93913 - Directory Listing
Modified Tue Jan 7 06:32:56 2014 UTC (6 years ago) by manus
Updated to new code generation of EiffelBuild.


Revision 93912 - Directory Listing
Modified Tue Jan 7 01:28:14 2014 UTC (6 years ago) by manus
Regenerated using latest EiffelBuild.


Revision 93909 - Directory Listing
Modified Tue Jan 7 00:05:11 2014 UTC (6 years ago) by manus
Updated to 1-12 format.


Revision 93908 - Directory Listing
Modified Tue Jan 7 00:00:30 2014 UTC (6 years ago) by manus
Updated to highest level of void-safety.


Revision 93906 - Directory Listing
Modified Mon Jan 6 20:10:38 2014 UTC (6 years ago) by manus
Removed self-initializing attribute since we can initialize them in the creation procedure easily.


Revision 93904 - Directory Listing
Modified Mon Jan 6 18:45:09 2014 UTC (6 years ago) by manus
Made Lex compile with the higher level of void-safety:
- Removed inheritance of PDFA to ARRAY
- Added some missing precondition
- Perform if conditional instead of checks since no contract is there to support a check.
- Removed some attributes that we access only within just a few routines and replace it either by argument or function.


Revision 93903 - Directory Listing
Modified Mon Jan 6 18:08:01 2014 UTC (6 years ago) by manus
Removed manual set of bold font for keyword, this should be done from the preferences.


Revision 93902 - Directory Listing
Modified Mon Jan 6 18:03:51 2014 UTC (6 years ago) by manus
Made keyword bolds by default.


Revision 93901 - Directory Listing
Modified Mon Jan 6 18:01:47 2014 UTC (6 years ago) by manus
We cannot strenghten the precondition, so we adapted the code `execute' to not do anything is `analyzer' hasn't been set.


Revision 93900 - Directory Listing
Modified Mon Jan 6 18:00:29 2014 UTC (6 years ago) by manus
Cosmetics.


Revision 93888 - Directory Listing
Modified Fri Jan 3 22:26:20 2014 UTC (6 years ago) by manus
Removed obsolete clause of `item_code'. It is actually very harsh to be forced to update old code working on STRING_8 to use `code' when we know that the values can only be between 0 and 255 in STRING_8.
Use `code' from CHARACTER_8 directly to implement it.


Revision 93887 - Directory Listing
Modified Fri Jan 3 18:21:26 2014 UTC (6 years ago) by manus
Updated to the highest level of void-safety.


Revision 93886 - Directory Listing
Modified Fri Jan 3 18:17:43 2014 UTC (6 years ago) by manus
Updated to highest level of void-safety.
Added errors when what used to be a check for void-safety could not actually be guaranteed.


Revision 93883 - Directory Listing
Modified Fri Jan 3 01:18:44 2014 UTC (6 years ago) by manus
Remove ignore of EIFGENs, they should never be ignored.


Revision 93882 - Directory Listing
Modified Fri Jan 3 01:16:54 2014 UTC (6 years ago) by manus
Updated to the highest level of void-safety.


Revision 93881 - Directory Listing
Modified Fri Jan 3 01:15:26 2014 UTC (6 years ago) by manus
Used highest level of void-safety.


Revision 93880 - Directory Listing
Modified Fri Jan 3 01:15:11 2014 UTC (6 years ago) by manus
Removed non-used local.


Revision 93879 - Directory Listing
Modified Fri Jan 3 00:56:44 2014 UTC (6 years ago) by manus
Fixed typo from previous commit.


Revision 93878 - Directory Listing
Modified Fri Jan 3 00:54:19 2014 UTC (6 years ago) by manus
Added argument to `put_hot_tool_bar' to find our if mediator is in resizing mode or not, this avoids having to check again that internal_mediator is set.


Revision 93877 - Directory Listing
Modified Fri Jan 3 00:52:06 2014 UTC (6 years ago) by manus
Fixed void-safety error when compiled with the highest level of void-safety.


Revision 93875 - Directory Listing
Modified Fri Jan 3 00:14:28 2014 UTC (6 years ago) by manus
Removed ignore of EIFGENs, we should never ignore them!!


Revision 93874 - Directory Listing
Modified Fri Jan 3 00:12:31 2014 UTC (6 years ago) by manus
Updated to the highest level of void-safety.


Revision 93873 - Directory Listing
Modified Thu Jan 2 22:50:29 2014 UTC (6 years ago) by manus
Updated to latest ECF version.


Revision 93872 - Directory Listing
Modified Thu Jan 2 22:50:05 2014 UTC (6 years ago) by manus
Upgraded to latest ECF format.


Revision 93871 - Directory Listing
Modified Thu Jan 2 22:49:25 2014 UTC (6 years ago) by manus
Upgraded to highest level of void-safety.


Revision 93869 - Directory Listing
Modified Thu Jan 2 18:35:23 2014 UTC (6 years ago) by manus
Upgraded to highest level of void-safety.


Revision 93868 - Directory Listing
Modified Thu Jan 2 18:10:24 2014 UTC (6 years ago) by manus
Upgraded to highest level of void-safet.


Revision 93865 - Directory Listing
Modified Wed Jan 1 12:33:47 2014 UTC (6 years ago) by alexk
Removed obsolete creation procedure `make' (review#10971097).

Revision 93863 - Directory Listing
Modified Tue Dec 31 22:21:36 2013 UTC (6 years ago) by manus
Fixed typo.


Revision 93862 - Directory Listing
Modified Tue Dec 31 22:19:14 2013 UTC (6 years ago) by manus
Made the unix side of EiffelNet compile also with the highest level of Void-safety.


Revision 93855 - Directory Listing
Modified Tue Dec 31 00:54:49 2013 UTC (6 years ago) by manus
Preserved order for declaring machine_epsilon and epsilon as in REAL_64.


Revision 93854 - Directory Listing
Modified Tue Dec 31 00:49:34 2013 UTC (6 years ago) by manus
Added missing min_value and max_value from the .NET version of REAL_32 and REAL_64.
Added epsilon and machine_epsilon queries as requested by users.


Revision 93846 - Directory Listing
Modified Tue Dec 31 00:14:18 2013 UTC (6 years ago) by manus
Fixed an incorrect query for the weight, we were incorrectly asking for the shape to find out if we should not use bold font.


Revision 93839 - Directory Listing
Modified Mon Dec 30 11:51:36 2013 UTC (6 years ago) by tedf
Updated to the latest MySQL test results.

Revision 93838 - Directory Listing
Modified Mon Dec 30 11:51:13 2013 UTC (6 years ago) by tedf
Updated to the latest ODBC - SQL Server test results.

Revision 93837 - Directory Listing
Modified Mon Dec 30 11:47:25 2013 UTC (6 years ago) by tedf
Added the latest test result for Oracle (Oracle 11g).

Revision 93836 - Directory Listing
Modified Mon Dec 30 11:46:19 2013 UTC (6 years ago) by tedf
Excluded Oracle from test of question mark style dynamic SQL. Because Oracle does not support this, instead Oracle supports the colon style.

Revision 93835 - Directory Listing
Modified Mon Dec 30 11:43:58 2013 UTC (6 years ago) by tedf
Added target for Oracle tests. Added Oracle testing configuration.

Revision 93834 - Directory Listing
Modified Mon Dec 30 03:53:22 2013 UTC (6 years ago) by tedf
Reduced the inserted text for Oracle because Oracle's limits. Put missing table creation SQL for Oracle.

Revision 93826 - Directory Listing
Modified Fri Dec 27 11:07:39 2013 UTC (6 years ago) by tedf
Added specific stored procedure test for Oracle.

Revision 93824 - Directory Listing
Modified Fri Dec 27 05:06:46 2013 UTC (6 years ago) by manus
Partial workaround for the crash of bug#18782 by ensuring that if tany of the conversion function to extract a pixbuf from a drawable fails we always return a pixbuf. The result is that it does not look good but at least EiffelStudio won't fail. Note that the GTK 3.4 implementation of the same routine is much simpler.


Revision 93822 - Directory Listing
Modified Fri Dec 27 01:25:42 2013 UTC (6 years ago) by manus
Made code compile with highest level of void-safety.


Revision 93821 - Directory Listing
Modified Fri Dec 27 01:05:23 2013 UTC (6 years ago) by manus
Made code compile using the highest level of void-safety.
For the .NET implementation, I've made sure the preconditions of `write_input_stream', `read_output_stream' and `read_error_stream' to match the Unix and Windows counterpart which also simplify the implementation since only one case if redirection is accepted. Same for `start_listening_threads'. And removed `process_instance_name' which is not part of the interface of PROCESS.


Revision 93820 - Directory Listing
Modified Fri Dec 27 00:51:49 2013 UTC (6 years ago) by manus
Changed `test_failing' to show the difference in behavior between Unix and Windows as Unix will always create a process before executing it, and if it fails to execute it because of an error, we always return 127 in our implementation.


Revision 93819 - Directory Listing
Modified Fri Dec 27 00:49:41 2013 UTC (6 years ago) by manus
Use `eiffel_echo' on Unix and `eiffel_echo.exe' on Windows.
Fixed comment.


Revision 93818 - Directory Listing
Modified Fri Dec 27 00:46:31 2013 UTC (6 years ago) by manus
There is no reason to not allowing the `--nologo' switch on Unix as otherwise it prevents command lines to be ported even if on Linux no copyright is ever shown by default.


Revision 93810 - Directory Listing
Modified Wed Dec 25 10:03:54 2013 UTC (6 years, 1 month ago) by tedf
Create testing table for Oracle.
Shortened the length of string inserted to 4000, which is the limit of Oracle.

Revision 93809 - Directory Listing
Modified Wed Dec 25 09:19:48 2013 UTC (6 years, 1 month ago) by tedf
Added some comments.

Revision 93808 - Directory Listing
Modified Wed Dec 25 09:17:20 2013 UTC (6 years, 1 month ago) by tedf
Separated the big assert into smaller ones to make debugging easier.

Revision 93807 - Directory Listing
Modified Wed Dec 25 09:15:58 2013 UTC (6 years, 1 month ago) by tedf
Excluded the test for Oracle, as Oracle has a very short limit of identifier.

Revision 93806 - Directory Listing
Modified Wed Dec 25 05:27:17 2013 UTC (6 years, 1 month ago) by tedf
Call `reset' to reset the reused selection object to avoid issues that were caused by previous operations which returned error.

Revision 93804 - Directory Listing
Modified Wed Dec 25 00:33:29 2013 UTC (6 years, 1 month ago) by manus
Fixed a bug on Unix when you set the standard error output to a file, it would go to the standard output one. This fixes some of the existing autotests on Unix.


Revision 93803 - Directory Listing
Modified Wed Dec 25 00:29:29 2013 UTC (6 years, 1 month ago) by manus
Fixed a crash when using `--sync' argument in EiffelStudio. The issue is that `base_arguments' starts with N + 1 argument, but then GTK remove the --sync argument so the count changes but using an ARRAY and a lower computed from the time where `base_arguments' was N + 1 caused an index out of bound violaiton. Using an ARRAYED_LIST and using `base_arguments.count' to access `environment_arguments' solved this issue.


Revision 93795 - Directory Listing
Modified Tue Dec 24 04:28:49 2013 UTC (6 years, 1 month ago) by tedf
Changed the test of the dynamic SQL with question mark style to have two arguments. And the arguments are ordered by the order when they are set.

Revision 93794 - Directory Listing
Modified Tue Dec 24 02:31:08 2013 UTC (6 years, 1 month ago) by tedf
Added a test to ensure that dynamic SQL with question mark argument holders works.

Revision 93779 - Directory Listing
Modified Fri Dec 20 02:35:08 2013 UTC (6 years, 1 month ago) by tedf
Bug fix.

Bug description:
Copy and paste texts with multiple lines with some leading tabs into the editor.
The cursor in the end is positioned N characters before the place it used to be.
(N is the number of lines of the pasted text)

The bug was caused by the fact that `text' read from clipboard  does not contain
%R anymore, which lead to wrong number of inserted characters counting. (Missing
the number of %R)

review#5154506417373184

Revision 93768 - Directory Listing
Modified Thu Dec 19 17:27:30 2013 UTC (6 years, 1 month ago) by manus
Fixed a bug with `set_string_with_newline_conversion' where if the input string had only one character after the last %N, that character would be discarded. That is to say "%Na" would yield "%R%N" instead of "%R%Na".


Revision 93756 - Directory Listing
Modified Wed Dec 18 01:15:07 2013 UTC (6 years, 1 month ago) by manus
Fixed an issue where if a preference needed to be removed from the registry because it went back to its default value, we would not remove the key because we did not use the right naming which depends on `is_format_version_1_0'.
In EiffelStudio, it was visible because once you set a boolean preference to True, you could never go back to False, the default value. For example, force debug mode would always be active once set, same for linking the editor and the context tool and many others.


Revision 93693 - Directory Listing
Modified Wed Dec 11 05:49:52 2013 UTC (6 years, 1 month ago) by tedf
Added tests for dynamic SQL selection and modification.

Revision 93689 - Directory Listing
Modified Tue Dec 10 23:37:55 2013 UTC (6 years, 1 month ago) by manus
Cosmetics on void-safety.
Added postcondition to `spawn' routines showing that `process_info' is attached after their execution.


Revision 93687 - Directory Listing
Modified Tue Dec 10 17:59:35 2013 UTC (6 years, 1 month ago) by king
Added gdk event workaround for mac gtkdrawing area which does not propagate any single button events at all.  This should hopefully be removed in later versions as it should be handled by gdk correctly

Revision 93686 - Directory Listing
Modified Tue Dec 10 17:55:29 2013 UTC (6 years, 1 month ago) by king
Corrected rectangle drawing to encorporate line_width

Revision 93677 - Directory Listing
Modified Tue Dec 10 01:30:06 2013 UTC (6 years, 1 month ago) by romanschmocker
Fixed a bug and added an additional test in OBJECT_GRAPH_FACTORY.

Revision 93658 - Directory Listing
Modified Sat Dec 7 06:12:38 2013 UTC (6 years, 1 month ago) by manus
Use `like foreground_color' in signature of `set_foreground_color' to better support covariant redefinition of `foreground_color'.


Revision 93657 - Directory Listing
Modified Sat Dec 7 06:11:55 2013 UTC (6 years, 1 month ago) by manus
Added a note to a Microsoft URL explaining how to configure some properties of the embedded browser. For example by default it will have an IE 7.0 behavior which means that most of the recent javascrip or CSS wont' be properly supported, by changing some registry key settings, one can easily modify the embedded IE behavior.


Revision 93623 - Directory Listing
Modified Wed Dec 4 20:14:17 2013 UTC (6 years, 1 month ago) by manus
Fixed invalid name for the gobo_gelex and gobo_geyacc library.


Revision 93617 - Directory Listing
Modified Wed Dec 4 01:09:18 2013 UTC (6 years, 1 month ago) by manus
* Made sure that EiffelNet compiles with the highest level of void-safety. The conversion is not great as I've used a lot of `check .. then end' to get rid of the errors. I tried to avoid them as much as possible, especially when there was no contracts before I've used `if .. then'.
* Modified error handling in SOCKET by making `was_error' a function rather than an attribute.

See review#5710606233501696.


Revision 93610 - Directory Listing
Modified Tue Dec 3 17:50:17 2013 UTC (6 years, 1 month ago) by manus
We shall not ignore EIFGENs.


Revision 93538 - Directory Listing
Modified Tue Nov 26 03:12:40 2013 UTC (6 years, 1 month ago) by tedf
Added comments and used constant instead of hard coded value.

Revision 93537 - Directory Listing
Modified Tue Nov 26 02:35:39 2013 UTC (6 years, 1 month ago) by tedf
Added a test that was used to check that used memory does not increase after some statement executions.

Revision 93533 - Directory Listing
Modified Mon Nov 25 23:54:09 2013 UTC (6 years, 1 month ago) by manus
Added new void-safe ECFs for Gobo, only arguments, test, tools, xml are not void-safe.


Revision 93497 - Directory Listing
Modified Thu Nov 21 17:43:00 2013 UTC (6 years, 2 months ago) by manus
Made code compile by adding the missing objc_base library reference.


Revision 93494 - Directory Listing
Modified Thu Nov 21 15:35:50 2013 UTC (6 years, 2 months ago) by tedf
Formatting.

Revision 93493 - Directory Listing
Modified Thu Nov 21 15:35:06 2013 UTC (6 years, 2 months ago) by tedf
Use WC_NO_BEST_FIT_CHARS flag to disallow similar character conversion. When
there is no mapped character in one encoding, `last_conversion_lost_data' is
set, a default character `?' is used as replacement on Windows.

This fixed the bug that `“' was replaced by `"' silently when saving text in ES
editor.

review#6566071913938944

Revision 93466 - Directory Listing
Modified Wed Nov 20 01:34:28 2013 UTC (6 years, 2 months ago) by manus
Formatting on revisions tag.


Revision 93464 - Directory Listing
Modified Wed Nov 20 01:13:35 2013 UTC (6 years, 2 months ago) by manus
Fixed formatting on revisions.


Revision 93461 - Directory Listing
Modified Wed Nov 20 01:00:03 2013 UTC (6 years, 2 months ago) by manus
Formatting on revisions.


Revision 93456 - Directory Listing
Modified Wed Nov 20 00:39:45 2013 UTC (6 years, 2 months ago) by manus
Formatting on revisions.


Revision 93442 - Directory Listing
Modified Tue Nov 19 21:41:44 2013 UTC (6 years, 2 months ago) by manus
* Rewrote `internal_traverse' to fix an issue with objects with expanded fields where we would not recurse into them. Added support for SPECIAL of expanded as well. We still have restrictions for TUPLE with expanded for which a copy be done.
* Added new callbacks `on_processing_object_action' and `on_processing_reference_action' each time a new object is traversed, that help building a graph of objects. Feature added for the ABEL library. 
* Added `has_failed' to find if the traversal succeeded or not.
* Added the ability to trigger or not an exception when a copy of an expanded object is done when we do not want any. Also we let user choose if exceptions will be raised to callers.

Revision 93441 - Directory Listing
Modified Tue Nov 19 21:36:40 2013 UTC (6 years, 2 months ago) by manus
Added missing routines from the classic implementation `new_tuple_from_tuple' and `new_tuple_from_special'.


Revision 93439 - Directory Listing
Modified Tue Nov 19 21:31:09 2013 UTC (6 years, 2 months ago) by manus
Created a .NET version of OBJECT_GRAPH_MARKER so that we can use $ in classic.
Removed the preconditions for marking objects, there is nothing that really prevents us from marking or unmarking twice.

Revision 93438 - Directory Listing
Modified Tue Nov 19 21:24:17 2013 UTC (6 years, 2 months ago) by manus
Fixed typo on `is_uniform_character_32'. 
Fixed .NET TUPLE interface to match the classic version as well as added iteration facility and new + operator.


Revision 93401 - Directory Listing
Modified Fri Nov 15 18:25:47 2013 UTC (6 years, 2 months ago) by manus
Added SCOOP target to make it easy to verify that EiffelBase compiles in SCOOP mode.


Revision 93387 - Directory Listing
Modified Fri Nov 15 10:29:51 2013 UTC (6 years, 2 months ago) by tedf
Fixed the bug that Features tool or PND does not work after some editing. This is reproducible on Windows:
1. Open a class.
2. Load flat view of a feature in Feature tool.
3. Edit the text in the editor and save.
4. Now click features in Features tool.

Because EDITOR_SCANNER is shared between all editors, and
`is_windows_eol_preferred' is changed to Unix style when loading flat views or
other editor based tools, whenever the editor starts to load text again, or
rebuild new lines, Unix style EOL are appended. This causes offsets of
feature positions between the editor text and the source code. Thus wrong PND or
feature positions are pointed in the editor.

Removed `is_windows_eol_preferred' from the EDITOR_SCANNER, as I still
want to keep it shared. Instead, added new features to the EDITOR_LINE to pass
EOL style as parameter which read values directly from the editor.

Changed `is_unix_style' to `is_windows_eol_style' to be more consistent.

review#5145623686807552

Revision 93386 - Directory Listing
Modified Fri Nov 15 02:37:50 2013 UTC (6 years, 2 months ago) by tedf
Fixed a precondition violation which caused text loading failure when the first character is '%N'.

Revision 93382 - Directory Listing
Modified Thu Nov 14 23:39:05 2013 UTC (6 years, 2 months ago) by manus
Added missing svn:eol-style native property.


Revision 93376 - Directory Listing
Modified Thu Nov 14 12:51:43 2013 UTC (6 years, 2 months ago) by tedf
Draw a symbol for new lines when formatting marks are displayed.
"¯" is used for Unix style new line.
"¬" is used for Windows style new line.

Since all formatting marks were chosen from ISO8859-1 (Latin-1), the new lines marks are following this rule. Otherwise we might use Unicode character like U+23CE, but this symbol is not displayable by default font of the ES editor.

Showing this also helps when debugging some editor issues.

Revision 93356 - Directory Listing
Modified Wed Nov 13 21:44:48 2013 UTC (6 years, 2 months ago) by alexk
Added parenthesis alias for PROCEDURE.call and FUNCTION.item.

Revision 93343 - Directory Listing
Modified Wed Nov 13 00:28:20 2013 UTC (6 years, 2 months ago) by manus
Use the objective C library to compile for Cocoa.


Revision 93342 - Directory Listing
Modified Wed Nov 13 00:26:34 2013 UTC (6 years, 2 months ago) by manus
Removed attributes with body since they are created in the creation procedure.


Revision 93340 - Directory Listing
Modified Wed Nov 13 00:20:33 2013 UTC (6 years, 2 months ago) by manus
Dropped usage of `empty_operands' to get the type of the TUPLE instances, we use the type object of the agent itself to get it instead.


Revision 93339 - Directory Listing
Modified Wed Nov 13 00:19:50 2013 UTC (6 years, 2 months ago) by manus
No reason not to export creation procedures.


Revision 93338 - Directory Listing
Modified Wed Nov 13 00:19:11 2013 UTC (6 years, 2 months ago) by manus
No reason to restrict creation of shared_from_pointer.


Revision 93337 - Directory Listing
Modified Wed Nov 13 00:18:27 2013 UTC (6 years, 2 months ago) by manus
Use `objc_base' as a library and not as a cluster.


Revision 93336 - Directory Listing
Modified Wed Nov 13 00:01:35 2013 UTC (6 years, 2 months ago) by manus
Removed non-used local.


Revision 93335 - Directory Listing
Modified Wed Nov 13 00:00:28 2013 UTC (6 years, 2 months ago) by manus
Made Cocoa code compile with the complete void-safety level. It uses the same solution as for GTK and Windows which is not great but makes it fast.


Revision 93331 - Directory Listing
Modified Tue Nov 12 22:01:56 2013 UTC (6 years, 2 months ago) by manus
Added missing `stretched' implementation for Cocao which is for the time being the same as `set_sub_pixel'.


Revision 93330 - Directory Listing
Modified Tue Nov 12 22:01:23 2013 UTC (6 years, 2 months ago) by manus
Updated to compile with the highest level of void-safety.


Revision 93329 - Directory Listing
Modified Tue Nov 12 22:00:40 2013 UTC (6 years, 2 months ago) by manus
Updated to compile with the highest level of void-safety.


Revision 93328 - Directory Listing
Modified Tue Nov 12 21:32:46 2013 UTC (6 years, 2 months ago) by manus
Removed the carbon wrapper since from now one we will only use the cocoa wrapper for the Mac version.


Revision 93327 - Directory Listing
Modified Tue Nov 12 21:30:58 2013 UTC (6 years, 2 months ago) by manus
Renamed the gobo_sample.ecf as this is just a sample for someone who wants to use gobo in their code.


Revision 93322 - Directory Listing
Modified Tue Nov 12 19:59:33 2013 UTC (6 years, 2 months ago) by manus
Fixed missing final new line.


Revision 93317 - Directory Listing
Modified Tue Nov 12 15:42:43 2013 UTC (6 years, 2 months ago) by jfiat
added README.txt to keep the folder during checkout

Revision 93313 - Directory Listing
Modified Tue Nov 12 11:43:30 2013 UTC (6 years, 2 months ago) by jfiat
Added README.txt

Mainly to give a chance to git-svn to create the folder.

Revision 93310 - Directory Listing
Modified Tue Nov 12 00:58:14 2013 UTC (6 years, 2 months ago) by romanschmocker
Added a subdirectory to EiffelBase testing which contains a lot of different test objects.
The tests are targeted at anything that processes object graphs via reflection (i.e. ABEL, SED)
and contain a lot of tricky objects such as SPECIAL, expanded types, or copy-semantics references.



Revision 93303 - Directory Listing
Modified Mon Nov 11 09:39:42 2013 UTC (6 years, 2 months ago) by tedf
Corrected the character to be "“" instead of "。".

Revision 93301 - Directory Listing
Modified Mon Nov 11 03:48:06 2013 UTC (6 years, 2 months ago) by tedf
Added test to detect silent character replacement.

Revision 93241 - Directory Listing
Modified Thu Nov 7 08:21:30 2013 UTC (6 years, 2 months ago) by jfiat
Added concatenation function on TUPLE.
This allows to do  [1,2,True,"abc"] + ["def", 3.14] and get [1,2,True,"abc","def",3.14]
statically this is known as TUPLE [INTEGER, INTEGER, STRING_8], and dynamically TUPLE [INTEGER, INTEGER, STRING_8, STRING_8, REAL_32]
This function has poor performance and must be used only when no other solution is available.

review#26317001

Revision 93238 - Directory Listing
Modified Thu Nov 7 06:36:48 2013 UTC (6 years, 2 months ago) by tedf
Removed special %R handling in ES_CLASS_TEXT_MODIFIER, since now we keep %R as
it is in the editor. Otherwise %R are all removed in the editor when saving.
This causes major offsets that appear strange to the user.

Made new line token creation code obsolete, instead start using the one
requires windows/unix style argument. Doing this to maintain original EOL
style.

Added a new query `character_length' in EDITOR_TOKEN which is mostly `length'
except for EDITOR_TOKEN_EOL, which has a variant character length 1 or 2 but
treated as one character in the editor for visual effects.

Optimized some code in TEXT_CURSOR.

review#28657004

Revision 93235 - Directory Listing
Modified Thu Nov 7 04:59:16 2013 UTC (6 years, 2 months ago) by manus
Updated to latest version of gobo.


Revision 93224 - Directory Listing
Modified Thu Nov 7 00:53:12 2013 UTC (6 years, 2 months ago) by manus
Updated to new code generation of gobo. 


Revision 93214 - Directory Listing
Modified Wed Nov 6 09:43:09 2013 UTC (6 years, 2 months ago) by jfiat
Made TUPLE an ITERABLE structure.
So that one can use it directly in across loop.

Revision 93213 - Directory Listing
Modified Tue Nov 5 23:38:22 2013 UTC (6 years, 2 months ago) by king
Removed local from previous implementation of processor_wake_up_and_wait.  Added comment saying why faster implementation is commented out

Revision 93210 - Directory Listing
Modified Tue Nov 5 22:17:46 2013 UTC (6 years, 2 months ago) by manus
Updated to latest void-safety levels and ECF version.


Revision 93180 - Directory Listing
Modified Tue Oct 29 08:09:45 2013 UTC (6 years, 2 months ago) by king
Fixed uncontrolled detection to iterate parent request chains.  Prior to this a new chain would be created even though the processor was controlled in a parent routine, leading to inevitable deadlock

Revision 93150 - Directory Listing
Modified Mon Oct 21 07:14:46 2013 UTC (6 years, 3 months ago) by tedf
* Do not ignore %R in the scanner, but keep them as tokens in the editor, so
that the positions can be calculated exactly the same as the source on disk.

* Removed duty code of handling the difference caused by %R's removal in the
search tool and click/complete tool.

* Doing this also fixes a potential issue that inconsistency new line in a file
might cause offset when PND. As `file_standard_is_windows' was used and
consistent new lines was assumed.

* Uncommented the code in search tool to support partial Unicode Regex search
(Gobo does not fully support Unicode Regex search)

* Removed %R handling in EB_DEVELOPMENT_WINDOW. Use Unicode positions from the
parser instead of UNICODE_POSITION_MAPPER.

* With this patch, search result offset and PND selection offset issues are
fixed. It seems to me that the EIS entry display issue is also not reproducible
anymore, but I need to verify.

* Possible breaking change in the editor is that, the  clients needed to do what
we did to translate source positions to editor positions. Especially needed to
pay attention when using {KEYBOARD_SELECTABLE_TEXT_PANEL}.select_region. With
old code, it will not work anymore, as now the clients only need to provide
source positions without any translation.

review#13060003

Revision 93077 - Directory Listing
Modified Mon Oct 7 19:18:28 2013 UTC (6 years, 3 months ago) by alexk
Removed bracket alias from function `item' to avoid breaking code when parenthesis alias is added later.

Revision 93069 - Directory Listing
Modified Mon Oct 7 04:56:44 2013 UTC (6 years, 3 months ago) by king
Commented out testing mutex code that is windows only

Revision 93068 - Directory Listing
Modified Sat Oct 5 02:55:24 2013 UTC (6 years, 3 months ago) by king
Fixed lock passing creation of separate processor from non root processors.  Added temporary win32 condition variable code for benchmarking until a dynamic solution is implemented

Revision 93052 - Directory Listing
Modified Thu Oct 3 17:28:40 2013 UTC (6 years, 3 months ago) by manus
Reverted the code back to use `other.area.item' instead of `other.item' as a temporary way to fix eweasel test#scoop032. I've created a new eweasel test#scoop034 that shows the problem in a way that is not specific to EiffelBase.


Revision 93024 - Directory Listing
Modified Fri Sep 27 22:22:54 2013 UTC (6 years, 3 months ago) by manus
Use UTF-8 encoding for properly encoding the Zero symbol used in ZMQ.


Revision 93023 - Directory Listing
Modified Fri Sep 27 22:22:07 2013 UTC (6 years, 3 months ago) by manus
Fixed typo for `ht_impossible_position' in header comments of `indexes_map'.


Revision 93010 - Directory Listing
Modified Wed Sep 25 21:04:23 2013 UTC (6 years, 3 months ago) by manus
Removed creation of REFLECTOR instance in `valid_arguments' since we now inherit from REFLECTOR.


Revision 93000 - Directory Listing
Modified Tue Sep 24 15:26:56 2013 UTC (6 years, 4 months ago) by jfiat
Added CURLOPT_NOSIGNAL to the Eiffel cURL wrapper's constants.

This could be used on linux system to handle timeout problem like "cURL Error (28): Timeout was reached".

The problem is that on (Li|U)nix, when libcurl uses the standard name resolver, a SIGALRM is raised during name resolution which libcurl thinks is the timeout alarm.

The solution is to disable signals using CURLOPT_NOSIGNAL.

Revision 92998 - Directory Listing
Modified Tue Sep 24 15:16:38 2013 UTC (6 years, 4 months ago) by jfiat
Updating the "dotnet" interface of RT_DEBUGGER to match its "classic" interface

Revision 92993 - Directory Listing
Modified Tue Sep 24 12:52:04 2013 UTC (6 years, 4 months ago) by jfiat
Now the 2 routines `redirect_*_to_file' accept READABLE_STRING_GENERAL instead of `like *_file_name' (which are IMMUTABLE_STRING_32)

Revision 92992 - Directory Listing
Modified Tue Sep 24 12:48:59 2013 UTC (6 years, 4 months ago) by jfiat
Fixed wrong indentation (missing a tab)

Revision 92962 - Directory Listing
Modified Thu Sep 19 21:22:24 2013 UTC (6 years, 4 months ago) by king
Removed redundant obsolete externals

Revision 92960 - Directory Listing
Modified Thu Sep 19 17:30:27 2013 UTC (6 years, 4 months ago) by manus
In the event of a mismatch, it is possible that the value of `control' is invalid (as noted in bug#18670 we went from values 1,2,3,4,5,... to 1,2,4,8,16,...), so we reset it to 0. It should be ok, since `control' is a flag that will be checked after each operation and thus usually you only check it after an operation not right after a retrieval.


Revision 92959 - Directory Listing
Modified Thu Sep 19 17:03:48 2013 UTC (6 years, 4 months ago) by manus
Because some header files of WebKit do not compile in some platforms out of the box, I've simplified the header file to just define WebKitWebView. Then there were many C compilation warnings so I've fixed them (mostly wrong type between the signature declaration and the argument passing cast. 
Cosmetics: removed non-necessary alias verbatim strings to make code more readable.


Revision 92949 - Directory Listing
Modified Tue Sep 17 18:17:13 2013 UTC (6 years, 4 months ago) by alexk
Changed code of `apply' to avoid a bug that causes EiffelStudio compiler to generate incorrect C code in finalized mode.

Revision 92948 - Directory Listing
Modified Tue Sep 17 17:03:18 2013 UTC (6 years, 4 months ago) by manus
Fixed comment as `linear_representation' is actually able to get Unicode entries, it is just that they might not be very readable as STRING_8 since we will take the raw bytes sequence of the name on Unix and the multibyte version on Windows.


Revision 92945 - Directory Listing
Modified Tue Sep 17 12:52:43 2013 UTC (6 years, 4 months ago) by jfiat
Fixed typo in the comment of DIRECTORY.linear_representation

bug#18683 : Incorrect comments in feature {DIRECTORY}.linear_representation

Revision 92943 - Directory Listing
Modified Tue Sep 17 11:15:21 2013 UTC (6 years, 4 months ago) by tedf
is_browser_usable query Linux implementation.

Revision 92942 - Directory Listing
Modified Tue Sep 17 11:04:40 2013 UTC (6 years, 4 months ago) by tedf
Added `is_browser_usable' interface to web browser. Commit windows part.

Revision 92935 - Directory Listing
Modified Thu Sep 12 04:18:26 2013 UTC (6 years, 4 months ago) by tedf
Added webkit directory as webkit.h requires. Made it compile on ubuntu 2.6.24-26-server.

Revision 92934 - Directory Listing
Modified Thu Sep 12 04:14:40 2013 UTC (6 years, 4 months ago) by tedf
Added an old version of webkit headers came from libwebkitgtk-dev_0~svn29752-1_all.deb.

Revision 92933 - Directory Listing
Modified Thu Sep 12 04:10:22 2013 UTC (6 years, 4 months ago) by tedf
Removed webkit headers that are not old enough. It requires recent glib-2.0, but ubuntu 2.6.24-26 does not go with it.

Revision 92932 - Directory Listing
Modified Thu Sep 12 04:06:23 2013 UTC (6 years, 4 months ago) by tedf
Removed headers that older webkit header files do not require.

Revision 92918 - Directory Listing
Modified Sat Sep 7 04:55:41 2013 UTC (6 years, 4 months ago) by alexk
Marked `empty_operands' as obsolete to be ready for removal in the future as non-void-safe.
Added features `flexible_call' and `flexible_item' that accept argument tuples whose type should not exactly match the type of the routine as soon as the types of arguments match.
review#10971097


Revision 92917 - Directory Listing
Modified Sat Sep 7 04:45:47 2013 UTC (6 years, 4 months ago) by alexk
Added functions to create new tuple of a given type from array or tuple of values (review#10971097).

Revision 92913 - Directory Listing
Modified Thu Sep 5 10:29:24 2013 UTC (6 years, 4 months ago) by alexk
Added inheritance to PART_COMPARABLE to look at conformance relation is a partial order. Added implementation for the corresponding conformance queries.

Revision 92912 - Directory Listing
Modified Thu Sep 5 05:06:51 2013 UTC (6 years, 4 months ago) by tedf
Removed pkg-config way to get header file location. As we cannot assume the header files exist on target system. Instead we include the header files for webkit in our tree.

Revision 92898 - Directory Listing
Modified Fri Aug 30 14:41:24 2013 UTC (6 years, 4 months ago) by jfiat
Fixed XML cases where we have   <foo att/> or <foo att> ...
take into account the attribute `att' but report missing value for attribute `att'.

Add report_unsupported_bom_value routine to report unsupported BOM value error.

Revision 92893 - Directory Listing
Modified Mon Aug 26 09:09:06 2013 UTC (6 years, 4 months ago) by jfiat
Added compilation of C library for web_browser to geant scripts

Revision 92890 - Directory Listing
Modified Fri Aug 23 13:15:56 2013 UTC (6 years, 5 months ago) by jfiat
Fixed issue with end of attribute value when no double or single quote is used.
This should not be allowed in XML, so in the future we should restrict this and/or having strict/flexible behavior.
The bad cases fixed by this commit is   <foo abc=123>   the value followed by a > symbol.

Provided specific error reporting for attribute without any value.


Revision 92885 - Directory Listing
Modified Mon Aug 19 10:04:47 2013 UTC (6 years, 5 months ago) by tedf
Support for link-style tokens. 
Added way to set links for a given text range.


Revision 92884 - Directory Listing
Modified Mon Aug 19 09:12:03 2013 UTC (6 years, 5 months ago) by tedf
Added `utf_8_to_string_32_count' as missing part of rev#92883.

Revision 92882 - Directory Listing
Modified Fri Aug 16 21:54:39 2013 UTC (6 years, 5 months ago) by king
Updated drag_offset to 3 pixels as 1 results in too many unwanted drags when all you wanted to do was click on the panel

Revision 92881 - Directory Listing
Modified Fri Aug 16 21:53:20 2013 UTC (6 years, 5 months ago) by king
Removed redundant events mask setting

Revision 92880 - Directory Listing
Modified Fri Aug 16 21:35:43 2013 UTC (6 years, 5 months ago) by king
Reimplemented dialogs to new gtk3 style.  Added various fixes and improvements to drawing and application handling

Revision 92879 - Directory Listing
Modified Fri Aug 16 21:30:18 2013 UTC (6 years, 5 months ago) by king
Now setting c_object in grid imp instead of cell precursor so that default color selection works correctly

Revision 92878 - Directory Listing
Modified Fri Aug 16 21:28:30 2013 UTC (6 years, 5 months ago) by king
Fixed ecf to correctly work with gtk3 now that the config mechanism that was previously broken has been fixed when handling multiple custom values

Revision 92864 - Directory Listing
Modified Wed Aug 7 18:55:28 2013 UTC (6 years, 5 months ago) by manus
Added code protection to find out about paragraphs as we would get an out of bound acess if the last character was a %N. This solved the case where copy/pasting some text from Word would save incorrectly, and thus the RTF being created was invalid and was losing some formatting info.


Revision 92863 - Directory Listing
Modified Wed Aug 7 12:17:18 2013 UTC (6 years, 5 months ago) by manus
Fixed a bug introduced at rev#90517 with `new_line_string' that became TN instead of %N.
Fixed a bug retrieving font in a font table to allow spaces between the componant of a font entry in the table. 


Revision 92862 - Directory Listing
Modified Wed Aug 7 11:45:56 2013 UTC (6 years, 5 months ago) by manus
Fixed a crash with retrieving a RTF file containing a color or a font whose index is not starting at 1, or that it is refering to a non-defined index. This is done by using a HASH_TABLE rather than an ARRAY.
Void-safety changes: use object test more often to access the stable attributes.


Revision 92861 - Directory Listing
Modified Wed Aug 7 11:44:38 2013 UTC (6 years, 5 months ago) by manus
Fixed a crash when using inherited `internal_caret_position' from EV_TEXT_IMP because the message EM_CHARFROMPOS takes a combined X,Y into a LPARAM value whereas a rich edit takes a WEL_POINT structure pointer. This fixes for example doing `Ctrl+A' in a rich edit control that would cause a crash.


Revision 92860 - Directory Listing
Modified Wed Aug 7 11:23:14 2013 UTC (6 years, 5 months ago) by manus
Added wrapper around MAKELPARAM as it might be better suited than MAKELONG for future new code in WEL.


Revision 92859 - Directory Listing
Modified Wed Aug 7 01:44:48 2013 UTC (6 years, 5 months ago) by tedf
Shortened the long directory name. As they caused errors when creating the packages for the EiffelStudio delivery.

Revision 92855 - Directory Listing
Modified Mon Aug 5 19:48:48 2013 UTC (6 years, 5 months ago) by alexk
Added bracket alias for `item' (review#11349038).

Revision 92852 - Directory Listing
Modified Sat Aug 3 00:31:04 2013 UTC (6 years, 5 months ago) by king
Updated return signature of available_cpus to NATURAL_32 to avoid c compilation warning on Windows

Revision 92851 - Directory Listing
Modified Fri Aug 2 17:57:30 2013 UTC (6 years, 5 months ago) by jfiat
Fixed parsing for url like http://foo.com?q=bar  (with empty path)

Revision 92850 - Directory Listing
Modified Fri Aug 2 15:41:25 2013 UTC (6 years, 5 months ago) by manus
Added a check there is no error when setting up the subscribe channel of the SUB socket.


Revision 92849 - Directory Listing
Modified Fri Aug 2 15:40:06 2013 UTC (6 years, 5 months ago) by manus
Fixed compilation errors that were previously missed in `new_sub_socket'.


Revision 92848 - Directory Listing
Modified Fri Aug 2 15:39:36 2013 UTC (6 years, 5 months ago) by manus
Commented out constants that only appears in version 3.3 of ZMQ.


Revision 92847 - Directory Listing
Modified Fri Aug 2 15:30:22 2013 UTC (6 years, 5 months ago) by manus
Added all constants to get/set socket options.
Fixed new signature of `new_sub_socket' to use a filter as argument as otherwise this is completely useless.


Revision 92845 - Directory Listing
Modified Fri Aug 2 14:41:20 2013 UTC (6 years, 5 months ago) by manus
Added recording of socket type when creating a ZMQ_SOCKET.


Revision 92841 - Directory Listing
Modified Fri Aug 2 09:42:56 2013 UTC (6 years, 5 months ago) by manus
Fixed missing svn:eol-style native property.


Revision 92836 - Directory Listing
Modified Fri Aug 2 06:12:12 2013 UTC (6 years, 5 months ago) by tedf
Removed obsolete call, used FILE_UTILITIES instead. Avoided precondition violation which was caused by empty `l_syntax_definition'.

Revision 92832 - Directory Listing
Modified Thu Aug 1 21:34:26 2013 UTC (6 years, 5 months ago) by king
Added various optimizations to reduce massive latency over call logging and waiting due to overhead from operating system synchronization primitives and scoop call cleanup.  Improved lock passing client supplier synchronization speed by a factor of 60 due to removing latency from condition variable use.  Refactored lock passing in to its own routine for easier understanding and the future benefit of exception handling that was missing in the previous code.  This will be added in the next update when an existing problem is fixed

Revision 92829 - Directory Listing
Modified Thu Aug 1 13:36:45 2013 UTC (6 years, 5 months ago) by manus
Added a simple ZMQ broker pattern that can be useful to implement basic ZMQ systems.


Revision 92828 - Directory Listing
Modified Thu Aug 1 13:35:13 2013 UTC (6 years, 5 months ago) by manus
Fixed invalid name for `new_dealer' socket which should have been `new_dealer_socket'.


Revision 92827 - Directory Listing
Modified Thu Aug 1 12:51:02 2013 UTC (6 years, 5 months ago) by manus
Added precondition that URL needs to be just extended ASCII string.


Revision 92826 - Directory Listing
Modified Thu Aug 1 10:18:41 2013 UTC (6 years, 5 months ago) by manus
Renamed ZMQ_API -> ZMQ and removed `zmq_' prefix to all names as recommended by the ZeroMQ binding recommandations.
Added support for polling using agents.
Made ZMQ_SOCKET hashable. Added `is_closed' to ZMQ_SOCKET to create more robust contracts. Added ZMQ_SOCKET preconditions to all operations.


Revision 92825 - Directory Listing
Modified Thu Aug 1 07:47:26 2013 UTC (6 years, 5 months ago) by manus
Added exclusion of `spec' folder.


Revision 92824 - Directory Listing
Modified Wed Jul 31 23:25:04 2013 UTC (6 years, 5 months ago) by manus
Changed title for EIS entry.


Revision 92823 - Directory Listing
Modified Wed Jul 31 23:24:33 2013 UTC (6 years, 5 months ago) by manus
Added more constants about polling and non-blocking.


Revision 92822 - Directory Listing
Modified Wed Jul 31 23:24:08 2013 UTC (6 years, 5 months ago) by manus
Added EIS url for the root of the API man pages.


Revision 92821 - Directory Listing
Modified Wed Jul 31 23:23:25 2013 UTC (6 years, 5 months ago) by manus
Added license file for Eiffel Forum License v2.


Revision 92819 - Directory Listing
Modified Wed Jul 31 17:02:23 2013 UTC (6 years, 5 months ago) by manus
Added support for all type of ZMQ sockets. Added more comments based on the ZMQ man pages. Added EIS to the ZMQ man page for sockets.


Revision 92817 - Directory Listing
Modified Tue Jul 30 13:50:28 2013 UTC (6 years, 5 months ago) by manus
Proper display of 0 symbol.


Revision 92813 - Directory Listing
Modified Fri Jul 26 10:01:30 2013 UTC (6 years, 5 months ago) by manus
Updated license to Eiffel Forum License v2.


Revision 92812 - Directory Listing
Modified Fri Jul 26 09:51:10 2013 UTC (6 years, 5 months ago) by manus
Updated some APIs to the 3.x levels. Added error code for errno (we might want to add this in EiffelBase to facilitate interfacing with C APIs). Revised WRAPPER_BASE to simplify descendants. Added missing preconditions.


Revision 92810 - Directory Listing
Modified Fri Jul 26 01:49:43 2013 UTC (6 years, 6 months ago) by king
Added a_logical_id argument to thread main, this can be used in the debugger in scoop mode to determine the scoop context that the thread is launched in.  It also matches the signature for the scoop callback so that no side effects occur

Revision 92805 - Directory Listing
Modified Wed Jul 24 15:38:28 2013 UTC (6 years, 6 months ago) by manus
Added support for ZeroMQ on Unix.


Revision 92804 - Directory Listing
Modified Wed Jul 24 07:55:32 2013 UTC (6 years, 6 months ago) by manus
Replaced `other.area.item (i)' by `other.item (i + 1)' to make the call more efficient for SCOOP, as the first one, requires 2 queries to the same SCOOP processor instead of just one.


Revision 92790 - Directory Listing
Modified Fri Jul 19 22:57:35 2013 UTC (6 years, 6 months ago) by manus
Initial import of zeroMQ from https://github.com/jvelilla/eZMQ with formatting update. Added support for simple zmq_send and zmq_recv that are simply mapped into `put_string' and `read_string' as in traditional I/O handling in EiffelBase.
Unix side not tested nor supported as external sections of the ECF are incomplete.


Revision 92787 - Directory Listing
Modified Wed Jul 17 17:26:33 2013 UTC (6 years, 6 months ago) by king
Removed multiple instantiation of drawer_internal that was introduced during full void safety conversion

Revision 92759 - Directory Listing
Modified Mon Jul 1 01:33:43 2013 UTC (6 years, 6 months ago) by tedf
Removed unused `gobo_utility' library to avoid cycled dependency. (gobo_math, gobo_utility, gobo_string were a cycle).

Revision 92751 - Directory Listing
Modified Fri Jun 28 07:57:48 2013 UTC (6 years, 6 months ago) by tedf
Always convert UTF-32 to UTF-8. 
Fixed bug#18614 that one could not move Unicode text in EDITABLE_TEXT_PANEL.

Revision 92746 - Directory Listing
Modified Thu Jun 27 12:21:14 2013 UTC (6 years, 6 months ago) by manus
Fixed bug#18625 where using SED_INDEPENDENT_SERIALIZER/SED_INDEPENDENT_DESERIALIZER would not work because deserializer only supports the old format, so we had to change the serializer to emit the old format by forcing version in that particular case to a very specific version of storable.
In the process, removed the inheritance of SED_RECOVERABLE classes to SED_INDEPENDENT as it made some changes more difficult in the recoverable case, especially as we might need to evolve this format.


Revision 92738 - Directory Listing
Modified Tue Jun 25 14:04:06 2013 UTC (6 years, 7 months ago) by jfiat
Fixing bug#18537: Polynom Parse Example has void target call on file in lex library TEXT_FILLER

And fixed a few wrong void-safety code.

review#11040030

Revision 92727 - Directory Listing
Modified Fri Jun 21 12:47:19 2013 UTC (6 years, 7 months ago) by jfiat
Added STRING_COMPARATOR (to be use with SORTER on string containers for instance)
Added related autotest entries (and converted tests.ecf to void-safety)

review#10945050

Revision 92716 - Directory Listing
Modified Wed Jun 19 10:01:39 2013 UTC (6 years, 7 months ago) by jfiat
Added more tests to EiffelTime (converted from eweasel tests)

Revision 92715 - Directory Listing
Modified Wed Jun 19 09:49:35 2013 UTC (6 years, 7 months ago) by jfiat
Added more tests to EiffelTime (converted from eweasel tests)

Revision 92714 - Directory Listing
Modified Wed Jun 19 09:21:05 2013 UTC (6 years, 7 months ago) by jfiat
Fixing {DATE_TIME}.make_from_string (..., ...)
Fixing test_accuracy.e (and bug#18241 "DATE_TIME creation from string not always accurate enough when involving milliseconds")

review#10968023

Revision 92713 - Directory Listing
Modified Wed Jun 19 09:04:20 2013 UTC (6 years, 7 months ago) by jfiat
Added more tests to Eiffel Time

Revision 92710 - Directory Listing
Modified Tue Jun 18 19:47:27 2013 UTC (6 years, 7 months ago) by manus
Added some renamings so that Gobo tools do not report VSCN errors for classes not in system that could potentially give a conflict if compiled.


Revision 92702 - Directory Listing
Modified Mon Jun 17 09:41:25 2013 UTC (6 years, 7 months ago) by jfiat
Added new manual autotest for Eiffel Time related to code string.

Revision 92698 - Directory Listing
Modified Sat Jun 15 01:30:58 2013 UTC (6 years, 7 months ago) by king
Removed dirty setting of a request chain as this prevents nondetermestic hanging when chains are suddenly closed and a processor is synchronously waiting on a supplier processor that will never service the call.  Added initial code for improved dirty processor handling when dealing with the gc as currently this behavior is undefined and needs to be determined

Revision 92697 - Directory Listing
Modified Sat Jun 15 01:08:01 2013 UTC (6 years, 7 months ago) by king
Now when unsetting column text on addition of a new column we set with an empty text when there is no previous column text set, this prevents a side effect of unsetting a text mask on the wel list view control which doesn't seem to like being reset back when a new column is replacing it when the text mask actually is set.  This fixes bug#18612

Revision 92694 - Directory Listing
Modified Fri Jun 14 06:54:19 2013 UTC (6 years, 7 months ago) by manus
Avoided reallocation of array instance in `as_array' for large interval. We are now back to the performance before the void-safety changes.


Revision 92693 - Directory Listing
Modified Thu Jun 13 21:19:17 2013 UTC (6 years, 7 months ago) by king
Fixed race condition when a chain is created on a processor and then the reference is lost sometimes the chain is ignored and the processor exits.  Fixed infinite loop on a dirty processor chain should previous calls be handled correctly and cleaned up, previous code was not incrementing counter even though the chain at that stage is immutable

Revision 92668 - Directory Listing
Modified Wed Jun 5 06:33:54 2013 UTC (6 years, 7 months ago) by manus
Removed requirement for `process_left_click' to have `cursors' not Void as it is completely safe in the current implementation if it is Void.


Revision 92665 - Directory Listing
Modified Sun Jun 2 04:56:58 2013 UTC (6 years, 7 months ago) by manus
Recent change of signature of `highest_parent_row_within_bounds' to be detachable broke `remove_rows' that assumed it could be Void and thus needed an object test to be compiled in void-safe mode.


Revision 92664 - Directory Listing
Modified Sun Jun 2 04:53:06 2013 UTC (6 years, 7 months ago) by manus
Added `-ldl' to define symbols for dlsym, dlopen and dlclose routines.


Revision 92663 - Directory Listing
Modified Sun Jun 2 04:44:50 2013 UTC (6 years, 7 months ago) by manus
Removed postcondition on `highest_parent_row_within_bounds' as it has always been possible to get a Void result and implementation was adapted in previous commit but forgot to change the contract.


Revision 92662 - Directory Listing
Modified Sat Jun 1 18:57:54 2013 UTC (6 years, 7 months ago) by manus
Relaxed return type of `highest_parent_row_within_bounds' to be detachable as callers are actually assuming this and that I actually got a check violation in EiffelStudio when removing/adding elements in the error tool panel grid.


Revision 92660 - Directory Listing
Modified Sat Jun 1 00:27:26 2013 UTC (6 years, 7 months ago) by king
Added various performance improvements such as better scalability when accessing processor resources, lower latency for failed wait condition calls, fixed processor latency from failed wakeup in certain circumstances.  Also lowered system exit latency when waiting for idle processors to interact with gc execution thread,  Also added dirty processor fixes reported from ETH

Revision 92657 - Directory Listing
Modified Fri May 31 16:25:28 2013 UTC (6 years, 7 months ago) by alexk
Changed code to be completely void-safe (review#10857008).

Revision 92656 - Directory Listing
Modified Fri May 31 10:25:22 2013 UTC (6 years, 7 months ago) by alexk
Changed ECF schema to the latest one to use new defaults and make complete void-safety setting visible.

Revision 92655 - Directory Listing
Modified Fri May 31 09:00:43 2013 UTC (6 years, 7 months ago) by alexk
Changed ECF schema to the latest one to use new defaults and make complete void-safety setting visible.

Revision 92654 - Directory Listing
Modified Fri May 31 08:06:07 2013 UTC (6 years, 7 months ago) by alexk
Changed ECF schema to the latest one to use new defaults and make complete void-safety setting visible.

Revision 92653 - Directory Listing
Modified Thu May 30 21:33:11 2013 UTC (6 years, 7 months ago) by king
Add changes for updated void safety rules

Revision 92652 - Directory Listing
Modified Thu May 30 20:53:24 2013 UTC (6 years, 7 months ago) by king
Add changes for updated void safety rules

Revision 92646 - Directory Listing
Modified Thu May 30 16:32:44 2013 UTC (6 years, 7 months ago) by alexk
Changed code to be completely void-safe (review#10816018).

Revision 92645 - Directory Listing
Modified Thu May 30 16:29:42 2013 UTC (6 years, 7 months ago) by alexk
Changed code to be completely void-safe (review#10780009).

Revision 92644 - Directory Listing
Modified Thu May 30 16:12:55 2013 UTC (6 years, 7 months ago) by alexk
Changed options to complete void safety.

Revision 92643 - Directory Listing
Modified Thu May 30 16:08:03 2013 UTC (6 years, 7 months ago) by alexk
Changed options to complete void safety.

Revision 92642 - Directory Listing
Modified Thu May 30 15:52:25 2013 UTC (6 years, 7 months ago) by alexk
Changed options to complete void safety.

Revision 92638 - Directory Listing
Modified Thu May 30 13:24:45 2013 UTC (6 years, 7 months ago) by alexk
Changed ECF schema to the latest one to use new defaults and make complete void-safety setting visible.

Revision 92584 - Directory Listing
Modified Thu May 23 16:10:59 2013 UTC (6 years, 8 months ago) by jfiat
Provided a way to use a custom executable_name in usage mainly in relation with ARGUMENT_STRING_SOURCE.
This can be used when implementing usage such as 
 prog foo -a -b abc
 prog bar -c -d 123
where the first real argument is used to select with argument parser will be used.

based on review#10526020

Revision 92583 - Directory Listing
Modified Thu May 23 15:00:27 2013 UTC (6 years, 8 months ago) by tedf
Made it compile in SCOOP mode. Use '~' at the moment to go through compilation, but the rule for '~' is not clearly defined yet.

Revision 92569 - Directory Listing
Modified Wed May 22 00:58:33 2013 UTC (6 years, 8 months ago) by tedf
Added `make_from_separate' in PATH.
Made `make_from_separate' creation routine in IMMUTABLE_STRING_32, IMMUTABLE_STRING_8.
Changed {READABLE_STRING_32}.make_from_separate to accept READABLE_STRING_GENERAL.
Some changes are needed to handle separate object in TUPLE. Because `item' in TUPLE has been changed to separate. 

review#10557017

Revision 92560 - Directory Listing
Modified Tue May 21 04:17:12 2013 UTC (6 years, 8 months ago) by tedf
Use faster {EV_GRID}.has_selected_row in EiffelStudio instead of {EV_GRID}.selected_rows all the time.

review#10481019

Revision 92557 - Directory Listing
Modified Mon May 20 23:15:17 2013 UTC (6 years, 8 months ago) by manus
Fixed missing svn:eol-style native property.
Fixed missing svn:keywords property.


Revision 92535 - Directory Listing
Modified Mon May 13 20:34:11 2013 UTC (6 years, 8 months ago) by jfiat
Fixed end of loop condition in make_from_array

Revision 92527 - Directory Listing
Modified Mon May 13 02:41:59 2013 UTC (6 years, 8 months ago) by tedf
Use constants to avoid SYSTEM_STRING object creation.

review#10559004, bug#18593.

Revision 92526 - Directory Listing
Modified Fri May 10 23:01:46 2013 UTC (6 years, 8 months ago) by manus
One more grammar typo.


Revision 92525 - Directory Listing
Modified Fri May 10 22:42:03 2013 UTC (6 years, 8 months ago) by manus
Fixed grammar typo in comment.


Revision 92524 - Directory Listing
Modified Fri May 10 22:40:54 2013 UTC (6 years, 8 months ago) by manus
Replaced `unique' constants by hard coded values.


Revision 92518 - Directory Listing
Modified Mon May 6 04:15:44 2013 UTC (6 years, 8 months ago) by tedf
Added queries to avoid the use of `selected_rows', `selected_columns' and
`selected_items' in some cases that the actual items are not needed.

Use new queries gains efficiency dramatically under such situations. For
example in the Error List tool. Selecting all rows boosted 400%.

review#10290040

Revision 92502 - Directory Listing
Modified Sat Apr 27 05:03:43 2013 UTC (6 years, 8 months ago) by manus
Fixed void-safety error that I missed in previous commit.


Revision 92501 - Directory Listing
Modified Fri Apr 26 23:36:52 2013 UTC (6 years, 8 months ago) by manus
Adapted code to the class version with the introduction of REFLECTED_COPY_SEMANTICS_OBJECT. However the new class is not yet functional, it is mostly a place holder to make EiffelBase compile under .NET mode.


Revision 92500 - Directory Listing
Modified Fri Apr 26 23:28:35 2013 UTC (6 years, 8 months ago) by manus
Extended implementation of {ANY}.generating_type to .NET types:
* Changed signatures of {GENERIC_CONFORANCE}.load_type_of_object to also work with .NET types, not just Eiffel one.
* Made sure that for .NET types, {RT_CLASS_TYPE}.type_name returns the FullName, not just the name, as otherwise it is harder to distinguish from the Eiffel classes (e.g. System.Type would be just Type which is very similar to our TYPE class).
* Changed the assembly loader to also keep track of .NET types so that we can reflect on .NET types which enables us to implement the above.
* Due to the above runtime changes, changed the revision number to 7.3.9.2490

Fixed an issue with handling of expanded/reference version of Eiffel types at runtime:
* Added `has_expanded_mark' and `has_reference_mark' in RT_CLASS_TYPE so that we can easily find out from DOTNET_REFLECTOR the proper type to pick when someone asks just for X. This addresses test#exec354.

With the above changes, we were able to implement ROUTINE/TUPLE argument validity checking using just the TYPE class.

Revision 92497 - Directory Listing
Modified Fri Apr 26 22:38:07 2013 UTC (6 years, 8 months ago) by manus
Create ourself the exception to avoid calling `as_string_8_conversion' which is obsolete.


Revision 92490 - Directory Listing
Modified Thu Apr 25 21:30:35 2013 UTC (6 years, 9 months ago) by manus
Release memory as soon as we do not need it.


Revision 92478 - Directory Listing
Modified Wed Apr 24 18:17:16 2013 UTC (6 years, 9 months ago) by manus
Fixed eweasel test#exec354 and test#incr218 where if you have a non-expanded type X and use `expanded X' in the system, we could not find that type when calling `eiffel_type_from_string'.

Revision 92477 - Directory Listing
Modified Wed Apr 24 18:14:49 2013 UTC (6 years, 9 months ago) by manus
Removed export to INTERNAL since `make_empty' is now called only from DOTNET_REFLECTOR.

Revision 92476 - Directory Listing
Modified Wed Apr 24 18:14:00 2013 UTC (6 years, 9 months ago) by manus
Use `generating_type' to create a TYPE instance instead of using INTERNAL.
Use `type_id' from TYPE to get the dynamic type of an object instead of using INTERNAL.

Revision 92475 - Directory Listing
Modified Wed Apr 24 18:11:43 2013 UTC (6 years, 9 months ago) by manus
In the .NET version of EiffelBase excluded classic version of REFLECTED_REFERENCE_OBJECT and REFLECTED_COPY_SEMANTICS_OBJECT.

Revision 92474 - Directory Listing
Modified Wed Apr 24 18:03:54 2013 UTC (6 years, 9 months ago) by manus
Use REFLECTED_REFERENCE_OBJECT instead of INTERNAL to query the number of fields.

Revision 92470 - Directory Listing
Modified Tue Apr 23 21:49:02 2013 UTC (6 years, 9 months ago) by manus
Made class frozen to match the .NET implementation.


Revision 92469 - Directory Listing
Modified Tue Apr 23 20:11:55 2013 UTC (6 years, 9 months ago) by manus
Fixed partially eweasel test#exec349 and test#melt097 where `generic_parameter_type' was returning the current type, not the type of the i-th generic parameter.


Revision 92467 - Directory Listing
Modified Mon Apr 22 08:49:02 2013 UTC (6 years, 9 months ago) by jfiat
Fixed XML_ELEMENT.joined_content: STRING_32 implementation 
by including all sub nodes instead of just sub elements (which was bad error).

Note that `contents' was well implemented.

Revision 92466 - Directory Listing
Modified Mon Apr 22 08:45:42 2013 UTC (6 years, 9 months ago) by jfiat
Added `append_to_string' feature, so that user can avoid creating an intermediary string is not needed.

Revision 92457 - Directory Listing
Modified Thu Apr 18 21:19:16 2013 UTC (6 years, 9 months ago) by manus
* Added support for reference with copy semantics in SPECIALs and allow them to not be recorded in the OBJECT_GRAPH_TRAVERSAL.
* Revisited support for versioning, now we have only one version for all our storable types that indicate with which version the object was serialized. Only SED_INDEPENDENT_DE/SERIALIZER are actually not using it to not break existing old storable.
* Removed SED_INDEPENDENT_SERIALIZER from the exported choice of serialization, SED_INDEPENDENT_DESERIALIZER is still available but not recommended anymore.
* Various refactoring to avoid code duplication as much as possible. Made many routines frozen to have a better view of what could be redefined by descendants.


Revision 92452 - Directory Listing
Modified Thu Apr 18 04:00:47 2013 UTC (6 years, 9 months ago) by tedf
Added protection to negative x position, added protection to the line number when querying a line instance. Fixed bug#18558: sometime Eiffelstudio freeze when code is selected on Windows.

Revision 92450 - Directory Listing
Modified Thu Apr 18 00:29:09 2013 UTC (6 years, 9 months ago) by tedf
Added protection before calling .line. Fixed bug#18574 where the line number returned 0 in an empty editor.

Revision 92449 - Directory Listing
Modified Tue Apr 16 19:20:43 2013 UTC (6 years, 9 months ago) by manus
Removed externals that are not used and not present in GTK 2.4 our base version for Vision2.


Revision 92445 - Directory Listing
Modified Mon Apr 15 04:22:19 2013 UTC (6 years, 9 months ago) by tedf
With the new call to gtk_window_set_accept_focus (), we disable focus in events
when disconnected from window manager. This fixed bug#18556. And also improves
the behavior for the contract tooltip in the editor and debug tooltip, where
they always grasped focus when shown.

review#10165012

Revision 92442 - Directory Listing
Modified Sat Apr 13 05:42:09 2013 UTC (6 years, 9 months ago) by manus
Added ability to not append an extension if required.
Added possibility to protect retrieval by a rescue clause to avoid an exception to be propagated to the callers (added for improved eweasel test#store012).


Revision 92440 - Directory Listing
Modified Fri Apr 12 23:54:50 2013 UTC (6 years, 9 months ago) by manus
Added `valid_index' query to let us query any kind of SPECIAL for proper bounds.


Revision 92439 - Directory Listing
Modified Fri Apr 12 23:54:13 2013 UTC (6 years, 9 months ago) by manus
Removed C `general_store' and SED `independent_store' as they are old storage mechanism that have not properly been updated to support various new features of Eiffel.


Revision 92435 - Directory Listing
Modified Fri Apr 12 17:42:21 2013 UTC (6 years, 9 months ago) by king
Fixed export of deactivate, this fixes bug#18571

Revision 92433 - Directory Listing
Modified Thu Apr 11 06:45:09 2013 UTC (6 years, 9 months ago) by tedf
Removed useless local.

Revision 92432 - Directory Listing
Modified Thu Apr 11 06:43:21 2013 UTC (6 years, 9 months ago) by tedf
Fixed bug#18570, uncommenting selection ends at the last line crashed EiffelStudio.

Revision 92429 - Directory Listing
Modified Wed Apr 10 10:19:38 2013 UTC (6 years, 9 months ago) by jfiat
Fixed is_valid_host which was badly implemented.
This is not completed, but this does not report invalid name for valid name anymore.

Revision 92422 - Directory Listing
Modified Tue Apr 9 00:12:32 2013 UTC (6 years, 9 months ago) by manus
Refactoring by renaming REFLECTED_OBJECT into REFLECTED_REFERENCE_OBJECT and ABSTRACT_REFLECTED_OBJECT is now REFLECTED_OBJECT. The benefit is that most of the code previously in REFLECTED_OBJECT and REFLECTED_COPY_SEMANTICS_OBJECT (which was very similar) is in just one ancestor to avoid code duplication and enabling code reuse.
With this refactoring, enabled OBJECT_GRAPH_TRAVERSABLE to traverse a graph of object containing references with copy semantics. It still doesn't work when a SPECIAL/TUPLE has such references.

Updated clients accordingly.


Revision 92421 - Directory Listing
Modified Mon Apr 8 23:38:23 2013 UTC (6 years, 9 months ago) by manus
Cosmetics: removed trailing tab.


Revision 92414 - Directory Listing
Modified Sat Apr 6 04:39:59 2013 UTC (6 years, 9 months ago) by manus
Fixed bug#18543 where setting a filename would corrupt some memory because we forgot to update the new file name character counts in the underlying structure.


Revision 92409 - Directory Listing
Modified Fri Apr 5 09:29:40 2013 UTC (6 years, 9 months ago) by jfiat
Fixed same_(*_)characters implementation and assertions.


Revision 92403 - Directory Listing
Modified Thu Apr 4 18:01:19 2013 UTC (6 years, 9 months ago) by manus
Added postcondition to `starting_path'.


Revision 92399 - Directory Listing
Modified Tue Apr 2 16:02:49 2013 UTC (6 years, 9 months ago) by jfiat
Added functions used to compare 2 substrings

 same_characters (other: READABLE_STRING_8; start_pos, end_pos, index_pos: INTEGER): BOOLEAN
 same_caseless_characters (other: READABLE_STRING_8; start_pos, end_pos, index_pos: INTEGER): BOOLEAN
for the _8 _32 and _GENERAL variants for strings.

review#9276084

Revision 92397 - Directory Listing
Modified Tue Apr 2 03:12:09 2013 UTC (6 years, 9 months ago) by tedf
Updated test results to the latest code.

Revision 92396 - Directory Listing
Modified Tue Apr 2 03:08:43 2013 UTC (6 years, 9 months ago) by tedf
Added a space in a string data to cover the issue that we removed trailing space of string data read from database. See rev#92394.

Revision 92395 - Directory Listing
Modified Tue Apr 2 03:06:30 2013 UTC (6 years, 9 months ago) by tedf
Restricted test for GUID type for ODBC only. Made MySQL side simply pass.

Revision 92394 - Directory Listing
Modified Tue Apr 2 02:39:02 2013 UTC (6 years, 9 months ago) by tedf
Removed `right_adjust' to keep the data as it is. This fixed the issue that trailing space was missing.
Changed type mapping for STRING_* from CHAR/NCHAR to VARCHAR/NVARCHAR in ODBC for table allocation.

review#9985034

Revision 92393 - Directory Listing
Modified Mon Apr 1 20:25:04 2013 UTC (6 years, 9 months ago) by manus
Fixed error where we assign an argument rather than comparing it. Found using `clang'.


Revision 92386 - Directory Listing
Modified Thu Mar 28 23:36:35 2013 UTC (6 years, 9 months ago) by manus
Updated AGENT_BASED_EQUALITY_TESTER to the EiffelBase extension EQUALITY_TESTER class.
Made library fully void-safe.


Revision 92367 - Directory Listing
Modified Wed Mar 27 23:19:32 2013 UTC (6 years, 9 months ago) by king
Commit for patch#9923020 that makes maximize and restore behavior for titled windows the same as Windows platform

Revision 92366 - Directory Listing
Modified Wed Mar 27 18:04:40 2013 UTC (6 years, 9 months ago) by manus
Fixed issue with `check_buffer' where if `n + count' is greater than `count + count // 2' we would cause some precondition violation later when reading the content of the memory.


Revision 92365 - Directory Listing
Modified Wed Mar 27 17:54:40 2013 UTC (6 years, 9 months ago) by manus
Fixed bug#18560 where comparing tuple would only care about the last elements, not the first different element.


Revision 92364 - Directory Listing
Modified Wed Mar 27 17:53:53 2013 UTC (6 years, 9 months ago) by manus
Added new test for EQUALITY_TUPLE (see bug#18560).


Revision 92360 - Directory Listing
Modified Wed Mar 27 07:43:57 2013 UTC (6 years, 9 months ago) by alexk
Made classes usable for separate agents (test#scoop030, test#scoop031, review#10017001).

Revision 92359 - Directory Listing
Modified Wed Mar 27 07:34:50 2013 UTC (6 years, 9 months ago) by alexk
Changed TUPLE and depending classes to allow for separate items (review#10013002).

Revision 92357 - Directory Listing
Modified Wed Mar 27 01:48:09 2013 UTC (6 years, 9 months ago) by tedf
Use ODBC valid syntax to create a table for ODBC. 

Revision 92356 - Directory Listing
Modified Wed Mar 27 01:44:51 2013 UTC (6 years, 9 months ago) by tedf
Use the same testing value for different databases.

Revision 92351 - Directory Listing
Modified Tue Mar 26 15:35:02 2013 UTC (6 years, 10 months ago) by alexk
Reverted previous changes to allow using the library in non-void-safe context.

Revision 92347 - Directory Listing
Modified Tue Mar 26 14:46:02 2013 UTC (6 years, 10 months ago) by alexk
Replaced {TUPLE}.item with tuple label to avoid type information loss.

Revision 92346 - Directory Listing
Modified Tue Mar 26 13:12:52 2013 UTC (6 years, 10 months ago) by alexk
Removed an unused local.

Revision 92345 - Directory Listing
Modified Tue Mar 26 13:10:27 2013 UTC (6 years, 10 months ago) by alexk
Changed type of a target parameter for agent types to be attached.

Revision 92337 - Directory Listing
Modified Tue Mar 26 00:10:46 2013 UTC (6 years, 10 months ago) by manus
* Fixed a bug introduced in the new feature `set_starting_path' where we would properly set `str_starting_folder' with the starting path, but failed to associate the new `item' with the structure (i.e. it had no effect).
* Made `str_starting_folder' detachable as there is no point on having it set all the time.


Revision 92336 - Directory Listing
Modified Fri Mar 22 18:29:56 2013 UTC (6 years, 10 months ago) by manus
Forced some sizes on column.
Added ignore of MA_OBJECT_SNAPSHOT.


Revision 92335 - Directory Listing
Modified Fri Mar 22 18:27:44 2013 UTC (6 years, 10 months ago) by manus
Use 80 for DB_MAX_NAME_LEN which is only used for some variable.


Revision 92334 - Directory Listing
Modified Fri Mar 22 16:04:25 2013 UTC (6 years, 10 months ago) by manus
Fixed missing svn:keywords property.


Revision 92323 - Directory Listing
Modified Wed Mar 20 23:43:02 2013 UTC (6 years, 10 months ago) by manus
Removed comment afte `end' which is not part of FreeELKS style rules.


Revision 92322 - Directory Listing
Modified Wed Mar 20 23:39:45 2013 UTC (6 years, 10 months ago) by manus
Updated copyright year.


Revision 92321 - Directory Listing
Modified Wed Mar 20 22:24:14 2013 UTC (6 years, 10 months ago) by manus
Removed ISE specific part since this has been done.


Revision 92206 - Directory Listing
Modified Wed Mar 20 17:19:20 2013 UTC (6 years, 10 months ago) by manus
Removed invalid commit.


Revision 92205 - Directory Listing
Modified Wed Mar 20 17:16:49 2013 UTC (6 years, 10 months ago) by manus
Replaced external link with actual code of FreeELKS for that particular revision.

Revision 92203 - Directory Listing
Modified Wed Mar 20 17:16:37 2013 UTC (6 years, 10 months ago) by manus
Removed external references to FreeELKS.

Revision 92195 - Directory Listing
Modified Wed Mar 20 16:42:45 2013 UTC (6 years, 10 months ago) by jfiat
Try to load libcurl v4 then v3
(instead of just v3)

review#9905056

Revision 92193 - Directory Listing
Modified Wed Mar 20 13:35:35 2013 UTC (6 years, 10 months ago) by jfiat
URI implementation compilable with compiler before 7.2

review#9434195

Revision 92189 - Directory Listing
Modified Wed Mar 20 06:15:29 2013 UTC (6 years, 10 months ago) by manus
Move void-safe FreeELKS inside EiffelBase

Revision 92188 - Directory Listing
Modified Wed Mar 20 06:12:26 2013 UTC (6 years, 10 months ago) by manus
Removed svn externals to FreeELKS. We will now use our own copy.


Revision 91421 - Directory Listing
Modified Wed Mar 20 04:37:06 2013 UTC (6 years, 10 months ago) by manus
Updated to use $obj instead of obj due to change of signature in ISE_RUNTIME from ANY to POINTER to avoid duplicating objects when handling objects with copy semantics.


Revision 91416 - Directory Listing
Modified Tue Mar 19 01:17:04 2013 UTC (6 years, 10 months ago) by tedf
Changed the path to test.config, as in 7.3 tests are executed in current directory.

Revision 91398 - Directory Listing
Modified Sat Mar 16 04:59:30 2013 UTC (6 years, 10 months ago) by manus
Fixed missing svn:eol-style native property.


Revision 91390 - Directory Listing
Modified Fri Mar 15 14:23:56 2013 UTC (6 years, 10 months ago) by alexk
Added migration of newly created objects to SCOOP manager processor to avoid keeping references to unused processors (this fixes test#scoop028, test#scoop029).
Added a new SCOOP manager task to be updated current statistics and invoked at end of full GC.
Added routine placeholders for resource management part that should trigger full GC in an optimal way.


Revision 91380 - Directory Listing
Modified Fri Mar 15 13:24:52 2013 UTC (6 years, 10 months ago) by alexk
Removed references to BIT type that is no longer supported.

Revision 91378 - Directory Listing
Modified Fri Mar 15 07:23:44 2013 UTC (6 years, 10 months ago) by manus
Cosmetics: formatting.


Revision 91377 - Directory Listing
Modified Fri Mar 15 07:22:40 2013 UTC (6 years, 10 months ago) by manus
* Fixed test {TEST_EV_CONTAINER}.test_container_background_pixmap where we would not be able to load a 32bpp image as the background of a container if your screen resolution was set to 16-bit. The main issue was that we did not properly create the WEL_BITMAP_INFO from the WEL_BITMAP/WEL_DC. Before we had a hack in {WEL_BITMAP_HELPER}.info_of_bitmap to make the WEL_BITMAP_INFO to have 3 `rgb_quads' after the HEADER, but that was only working for just some bitmaps, not all. Now, we have added {WEL_BITMAP_INFO_HEADER}.color_count to tell us how many rgb_quads are necessary in WEL_BITMAP_INFO so that we create the structure properly. Thanks to that the `info_of_bitmap' routine is not necessary anymore and we can create the WEL_BITMAP_INFO directly.
* Properly creating the WEL_BITMAP_INFO, helped us fixed a second memory corruption in {WEL_GDIP_BITMAP} so that `make_from_bitmap_with_alpha' were we had to take into account the image bitcount resolution in order to properly copy data (before we assumed always 4 bytes per pixel but that was twice as much as a 16-bit resolution could provide, thus corrupting memory during copy). Although it did not crash most of the time, the effect was obvious where the image would be displayed smaller. Now depending on the input Bitmap format we use the proper GDI+ format to render the image.
* The above simplifies {WEL_DC}.save_bitmap_into and {WEL_DIB}.color_count
See review#9810006.


Revision 91376 - Directory Listing
Modified Fri Mar 15 07:10:48 2013 UTC (6 years, 10 months ago) by manus
Added new test {TEST_EV_CONTAINER}.test_container_background_pixmap which shows an issue when setting the background pixmap of a container using a 32bpp BMP/PNG file and running a 16-bit color resolution. We would violate a few contracts inside Vision2 and also corrupting memory.
Minor improvements:
* Added new images.
* Moved constants to common class TEST_CONSTANTS.
* Added ability to run the application for a given time.


Revision 91375 - Directory Listing
Modified Fri Mar 15 00:42:38 2013 UTC (6 years, 10 months ago) by manus
Use smaller images for testing.


Revision 91374 - Directory Listing
Modified Thu Mar 14 23:45:47 2013 UTC (6 years, 10 months ago) by manus
Fixed improper contracts around `has_active_window' and `active_window'.


Revision 91373 - Directory Listing
Modified Thu Mar 14 23:36:25 2013 UTC (6 years, 10 months ago) by manus
Added some tests for reading bitmaps on Windows.


Revision 91369 - Directory Listing
Modified Thu Mar 14 16:54:10 2013 UTC (6 years, 10 months ago) by alexk
Removed support of BIT type from configuration files.

Revision 91368 - Directory Listing
Modified Thu Mar 14 16:49:44 2013 UTC (6 years, 10 months ago) by alexk
Removed BIT_REF that is no longer required as BIT types have been dropped.

Revision 91362 - Directory Listing
Modified Wed Mar 13 16:20:06 2013 UTC (6 years, 10 months ago) by manus
Removed ignore of EIFGENs directory.


Revision 91360 - Directory Listing
Modified Tue Mar 12 18:23:02 2013 UTC (6 years, 10 months ago) by manus
Fixed C compilation warning for bad casts and missing return statements for all code paths.


Revision 91359 - Directory Listing
Modified Tue Mar 12 18:11:15 2013 UTC (6 years, 10 months ago) by manus
Fixed precondition violation in calling `set_focus' in EiffelStudio that you would get by doing the following steps:
1 - open a class in editor
2 - open the same class in external editor and make a modification
3 - click in the editor of EiffelStudio where that class is opened
4 - you get the precondition.
This is because EiffelStudio reacts to the external modification which loads the new text, while loading we disable the editor, but if we click on it, it is ok to reenable it, and thus we can always call `set_focus'.


Revision 91354 - Directory Listing
Modified Sat Mar 9 00:25:35 2013 UTC (6 years, 10 months ago) by manus
Implemented a faster lookup of objects by first inheriting from HASH_TABLE rather than being a client and then by redefining `hash_code_of' to take into account the fact that values of POINTER are always at least aligned to the size of pointer at the very least. By dividing the POINTER value by its size, we reduce conflicts during insertion (in our benchmark we went from 4.6s down to 3.8s while storing a large set of objects). We further improved `index' by taking into account that there is never a deletion by basically manually simplified and inlining the calls made in {HASH_TABLE}.put. This gave us an additional 0.2s.


Revision 91353 - Directory Listing
Modified Fri Mar 8 21:15:00 2013 UTC (6 years, 10 months ago) by manus
Renamed `meta_field' into `expanded_field' as it is more accurate as this is the query to use to reflect on a statically expanded field.


Revision 91352 - Directory Listing
Modified Fri Mar 8 19:43:36 2013 UTC (6 years, 10 months ago) by manus
Renamed `is_field_expanded' into `is_field_statically_expanded' as it only pertains to the static declaration of the field. It won't handle cases of references with copy semantics.
Use POINTER instead of ANY which requires the usage of $ to pass the object to avoid potential copy of the object.
Use `reference_field' in SED_SESSION_SERIALIZER instead of `field' which is slower since we know that we will only handle a reference.


Revision 91345 - Directory Listing
Modified Thu Mar 7 23:01:41 2013 UTC (6 years, 10 months ago) by manus
Removed definition of constants that are not used in WEL/Vision2 as we used the computed value instead.


Revision 91344 - Directory Listing
Modified Thu Mar 7 22:54:56 2013 UTC (6 years, 10 months ago) by manus
Fixed incorrect signature for C externals `c_ev_save_png' and `c_ev_load_pixmap' to use EIF_FILENAME instead of `char *'.


Revision 91322 - Directory Listing
Modified Tue Mar 5 19:49:54 2013 UTC (6 years, 10 months ago) by manus
Removed `make_for_expanded_field_at' which is not available on .NET.


Revision 91318 - Directory Listing
Modified Mon Mar 4 23:04:45 2013 UTC (6 years, 10 months ago) by manus
* Although not yet obsolete, INTERNAL has now been replaced by 2 classes REFLECTOR and REFLECTED_OBJECT. REFLECTOR replaces all the INTERNAL features that do not operate on an object. REFLECTED_OBJECT provides all the features needed to inspect an object. INTERNAL is now the same class on both .NET and classic.
* Updated all clients to use REFLECTOR/REFLECTED_OBJECT for introspection.


Revision 91317 - Directory Listing
Modified Mon Mar 4 22:57:52 2013 UTC (6 years, 10 months ago) by manus
* Updated the SED serializer/deserializer classes to handle expanded objects without causing a copy.
* Although not yet obsolete, INTERNAL has now been replaced by 2 classes REFLECTOR and REFLECTED_OBJECT. REFLECTOR replaces all the INTERNAL features that do not operate on an object. REFLECTED_OBJECT provides all the features needed to inspect an object. INTERNAL is now the same class on both .NET and classic.
* Updated all clients to use REFLECTOR/REFLECTED_OBJECT for introspection.


Revision 91312 - Directory Listing
Modified Fri Mar 1 22:26:39 2013 UTC (6 years, 10 months ago) by manus
Fixed a bug in `read_read_32|64_le|be' routines where the read value was always 0 (found while debugging eweasel test#store038).


Revision 91309 - Directory Listing
Modified Fri Mar 1 08:39:02 2013 UTC (6 years, 10 months ago) by tedf
* Refactored code, so that it is easier to have `token_at' function.
* Added an `data' field to make it possible to associate some free data to a given editor token. This will be used later to associate expressions to the token.

Revision 91290 - Directory Listing
Modified Mon Feb 25 19:13:07 2013 UTC (6 years, 10 months ago) by manus
Fixed a bug in 64-bit system where the return type of the WNDPROC was incorrectly set to be an INTEGER when it is in fact a POINTER. Meaning that if the Eiffel code computed an address above the 32-bit range, it would be truncated. This was discovered only when compiling WEL code using VC Express 2012 and executing it on Windows 8. Code compiled using WSDK71 was running just fine on Windows 8.


Revision 91279 - Directory Listing
Modified Sat Feb 23 04:33:41 2013 UTC (6 years, 11 months ago) by manus
Added inheritance to the old STORABLE class to access `set_discard_pointers' which is used internally for the `is_pointer_value_stored' query.
Added subset of storable/retrieve mechanism for formats that support correct mismatch, i.e. recoverable.


Revision 91271 - Directory Listing
Modified Fri Feb 22 07:10:26 2013 UTC (6 years, 11 months ago) by manus
Fixed TEST_EV_PIXMAP that would fail when the subpixmap rectangle was not strictly inside the source pixmap. The solution is to ensure that the arguments for that rectangle are properly passed to alpha_blend with proper adaptation. This only affects 32-bit images drawn in the normal mode.


Revision 91270 - Directory Listing
Modified Fri Feb 22 01:10:11 2013 UTC (6 years, 11 months ago) by manus
Added a precondition to `alpha_blend' to check that the source rectangle is strictly within the bound of the selected bitmap of `dc_source' as otherwise the Windows call is guaranteed to fail.


Revision 91269 - Directory Listing
Modified Fri Feb 22 01:07:12 2013 UTC (6 years, 11 months ago) by manus
Added new test `non_truetype_font_size' that shows a failure internally when asking fro the `string_size' of a non-TrueType font.


Revision 91268 - Directory Listing
Modified Fri Feb 22 01:05:12 2013 UTC (6 years, 11 months ago) by manus
Ensures to enable all assertions on all libraries to detect more errors.


Revision 91267 - Directory Listing
Modified Fri Feb 22 00:58:21 2013 UTC (6 years, 11 months ago) by manus
Fixed a precondition violation in `string_size_extended' when unselecting the font or `quick_release' on `screen_dc' when the font is not a true type font. This is because `screen_dc' is shared and used also by `string_size' which calls `unselect_font' and `quick_release'. The solution chosen was to simply inline the implementation of `string_size' instead.


Revision 91266 - Directory Listing
Modified Fri Feb 22 00:18:49 2013 UTC (6 years, 11 months ago) by manus
Added more tests for `sub_pixmap' and `sub_pixel_buffer' to show failure in our implementation when using AlphaBlend under implementation when the source rectangle is actually larger than the bitmap.


Revision 91265 - Directory Listing
Modified Fri Feb 22 00:17:37 2013 UTC (6 years, 11 months ago) by manus
Added WEL on Windows to make it possible to fix WEL as well while testing regressions.


Revision 91263 - Directory Listing
Modified Thu Feb 21 17:23:42 2013 UTC (6 years, 11 months ago) by manus
Previous fix from rev#91251 was not correct because we used `width' instead of `mimimum_width (and `height' instead of `minimum_height'). As a result, the content of a box would never shrink even if it could.


Revision 91261 - Directory Listing
Modified Thu Feb 21 17:13:28 2013 UTC (6 years, 11 months ago) by alexk
Removed unused local.

Revision 91254 - Directory Listing
Modified Sat Feb 16 08:03:37 2013 UTC (6 years, 11 months ago) by manus
Added results for Windows 64-bit.


Revision 91253 - Directory Listing
Modified Sat Feb 16 01:28:27 2013 UTC (6 years, 11 months ago) by manus
Simplified EV_GRID test by not playing too much with exceptions.
Updated `record_exception' to call `assert' when there is a failure.


Revision 91252 - Directory Listing
Modified Sat Feb 16 01:26:35 2013 UTC (6 years, 11 months ago) by manus
Made sure we also test invariants.


Revision 91251 - Directory Listing
Modified Sat Feb 16 01:08:54 2013 UTC (6 years, 11 months ago) by manus
Fixed a resizing bug when you have a vertical/horizontal box with a minimum size set, if one of the item has a minimum size larger than its parent, then in some circumstances the child will be shrinked beyond its minimum size causing some visual glitches. See regression tests TEST_EV_CONTAINER.test_horizontal_box_resizing and TEST_EV_CONTAINER.test_vertical_box_resizing for scenario. See review#9351166.


Revision 91250 - Directory Listing
Modified Sat Feb 16 01:04:56 2013 UTC (6 years, 11 months ago) by manus
Added list of classes we use so that we are sure to compile all test classes.


Revision 91249 - Directory Listing
Modified Sat Feb 16 01:04:34 2013 UTC (6 years, 11 months ago) by manus
Made sure we delete our generated files after testing.


Revision 91248 - Directory Listing
Modified Sat Feb 16 00:57:38 2013 UTC (6 years, 11 months ago) by manus
Refactored all the tests. Moved tests in TEST class to various subclasses.
Added new TEST_EV_CONTAINER which shows a bug we had with the resizing of our boxes.


Revision 91247 - Directory Listing
Modified Sat Feb 16 00:17:40 2013 UTC (6 years, 11 months ago) by manus
Renamed private attribute `execution_directory' into `testing_directory' as it is clearer we are talking about the `Testing' directory under the EIFGENs directory of the project.
Renamed corresponding key `execution_directory_key' into `testing_directory_key'.
In `EQA_TEST_SET' we now do not change the current working directory, we use the one setup by EiffelStudio which is by default the ECF's location.


Revision 91246 - Directory Listing
Modified Sat Feb 16 00:04:43 2013 UTC (6 years, 11 months ago) by manus
Reverted changes made at rev#91244. We still assume the testing directory as argument but we will change its processing shortly so that we do not change the current working directory


Revision 91244 - Directory Listing
Modified Fri Feb 15 23:48:22 2013 UTC (6 years, 11 months ago) by manus
Made library work with both older and newer version of EiffelStudio. In the older, it provides 2 arguments (port + testing directory in EIFGENs), now it only provides only the `port'. We get the current working directory which is by default the one from the ECF used to compile tests.


Revision 91234 - Directory Listing
Modified Fri Feb 15 01:12:35 2013 UTC (6 years, 11 months ago) by manus
Changed implementation of `retrieved_objects' so that it only gives you back objects that could be retrieved. In the case of an error (e.g. exception or detected error) we do not associate an object with the type of storable and thus we can figure out if this is ok to not have anything or not.


Revision 91230 - Directory Listing
Modified Thu Feb 14 19:51:33 2013 UTC (6 years, 11 months ago) by manus
Better name for `retrieve_object' which is now `retrieved_objects'.
Fixed `sed_independent_store' that was actually not really storing in SED_INDEPENDENT_SERIALIZER as the 
 `independent_serializer' from SED_STORABLE_FACILITIES is actually returning a SED_RECOVERABLE_SERIALIZER.


Revision 91229 - Directory Listing
Modified Thu Feb 14 19:01:59 2013 UTC (6 years, 11 months ago) by manus
Simplification of retrieval code by assuming that stored data was always stored using `is_for_fast_retrieval'(a default since 6.7 in June 2010) and an option before that. In the event the retrieved data does not have this set, we raise an error. The benefit is that now the `object_references' can be made attached thus simplifying the code use to reconnect references which does not have to store data to reconnect an object if it hasn't been retrieved yet.
Added `make_for_reading' and `make_for_writing' in SED_MEDIUM_READER_WRITER to make the code required to store/retrieve an object lighter (i.e. one call instead of two `make' followed by `set_for_reading|writing').


Revision 91228 - Directory Listing
Modified Thu Feb 14 18:25:01 2013 UTC (6 years, 11 months ago) by manus
Fixed void-safe ECF which was invalid and incorrect.


Revision 91227 - Directory Listing
Modified Thu Feb 14 18:10:46 2013 UTC (6 years, 11 months ago) by manus
Added some helper class to write serialization tests.


Revision 91224 - Directory Listing
Modified Tue Feb 12 21:00:54 2013 UTC (6 years, 11 months ago) by manus
Changed implementation of `required_width_of_item_span' so that it only takes into account visible items.
See review#9356052.

Revision 91223 - Directory Listing
Modified Tue Feb 12 20:58:29 2013 UTC (6 years, 11 months ago) by manus
Added comment in `vertical_scroll_bar' and `horizontal_scroll_bar' to query `is_(horizontal|vertical)_scroll_bar_show_requested' to find out if the scroll bar might be visible if needed as it might not be obvious at first sight.

Revision 91220 - Directory Listing
Modified Mon Feb 11 20:15:43 2013 UTC (6 years, 11 months ago) by manus
Added some renamings so that Gobo tools do not report VSCN errors for classes not in system that could potentially give a conflict if compiled.

Revision 91208 - Directory Listing
Modified Fri Feb 8 22:32:43 2013 UTC (6 years, 11 months ago) by manus
Added `stretched' to EV_PIXEL_BUFFER for higher quality stretching on Windows platform. See review#9354029.

Revision 91207 - Directory Listing
Modified Fri Feb 8 22:29:30 2013 UTC (6 years, 11 months ago) by manus
Improved default stretching of pixmap on Windows by using the `color on color' mode of StretchBlt.

Revision 91200 - Directory Listing
Modified Thu Feb 7 23:44:47 2013 UTC (6 years, 11 months ago) by manus
Do not use externals for stretching constants but their hardcoded value. Added missing synonyms and missing halftone constant.


Revision 91196 - Directory Listing
Modified Thu Feb 7 18:22:59 2013 UTC (6 years, 11 months ago) by manus
Updated to new URL of FreeELKS svn URL on sourceforge


Revision 91192 - Directory Listing
Modified Thu Feb 7 07:31:17 2013 UTC (6 years, 11 months ago) by manus
Use `same_string' instead of ~ to compare strings.


Revision 91160 - Directory Listing
Modified Mon Feb 4 21:27:38 2013 UTC (6 years, 11 months ago) by manus
Removed all svn:mergeinfo properties are they are useless for the trunk at this point and they cause too much hassle when merging to a release branch.


Revision 91150 - Directory Listing
Modified Mon Feb 4 06:02:53 2013 UTC (6 years, 11 months ago) by manus
Made Unix side compile due to recent unicode changes.


Revision 91149 - Directory Listing
Modified Mon Feb 4 05:01:00 2013 UTC (6 years, 11 months ago) by manus
Removed obsolete clauses because we do not have to make them obsolete anymore since we can have roundtrip on wrongly encoded path names.


Revision 91138 - Directory Listing
Modified Sun Feb 3 21:27:14 2013 UTC (6 years, 11 months ago) by manus
Removed file that was used at some point during development of 7.2.


Revision 91134 - Directory Listing
Modified Sun Feb 3 07:11:28 2013 UTC (6 years, 11 months ago) by manus
Removed remote anchor types to avoid a bug in the compiler under .NET code generation.


Revision 91133 - Directory Listing
Modified Sun Feb 3 07:10:42 2013 UTC (6 years, 11 months ago) by manus
Made it compile in non-void-safe mode at the minimum. There are still about 75 errors in void-safe mode.


Revision 91132 - Directory Listing
Modified Sun Feb 3 06:49:31 2013 UTC (6 years, 11 months ago) by manus
Made it compile with latest changes in FILE_UTILITIES and in this case we decided to use features of RAW_FILE directly.


Revision 91131 - Directory Listing
Modified Sun Feb 3 06:38:41 2013 UTC (6 years, 11 months ago) by manus
Updated to latest version of json.


Revision 91130 - Directory Listing
Modified Sun Feb 3 06:32:24 2013 UTC (6 years, 11 months ago) by manus
Made code compilable in void-safe mode.


Revision 91129 - Directory Listing
Modified Sun Feb 3 06:28:18 2013 UTC (6 years, 11 months ago) by manus
Use `keep_tail' instead of `tail' which became a function from an obsolete procedure.


Revision 91128 - Directory Listing
Modified Sun Feb 3 06:25:19 2013 UTC (6 years, 11 months ago) by manus
Made code compilable under .NET because we changed the argument type of `{I18N_LOCALE_ID}.make_from_string from STRING to READABLE_STRING_GENERAL and there is no conversion from SYSTEM_STRING_ to READABLE_STRING_GENERAL now.


Revision 91127 - Directory Listing
Modified Sun Feb 3 05:42:19 2013 UTC (6 years, 11 months ago) by manus
Copy the old non-Unicode version of ENVIRONMENT_ARGUMENTS to the ARGUMENT parser so that it still compiles out of the box. Removed inclusion of the base extension library since we have our own ENVIRONMENT_ARGUMENTS.


Revision 91126 - Directory Listing
Modified Sat Feb 2 07:19:14 2013 UTC (6 years, 11 months ago) by manus
Ensured that `editor_preferences' are always attached even if not set by user as otherwise we would be forcing all users of this routine to check its precondition and this is simply not feasible. This fixed a precondition violation in EiffelStudio if for some reasons the preferences cannot be loaded.


Revision 91125 - Directory Listing
Modified Sat Feb 2 07:10:15 2013 UTC (6 years, 11 months ago) by manus
Made it compile in void-safe mode by using an object test in postcondition of `set_default_value'.


Revision 91122 - Directory Listing
Modified Sat Feb 2 05:08:27 2013 UTC (6 years, 11 months ago) by manus
Fixed missing namespace resolver which caused a precondition as the XML_CALLBACKS_DOCUMENT expects it to be before.


Revision 91119 - Directory Listing
Modified Sat Feb 2 00:37:08 2013 UTC (6 years, 11 months ago) by manus
Cosmetics.


Revision 91116 - Directory Listing
Modified Fri Feb 1 08:22:10 2013 UTC (6 years, 11 months ago) by jfiat
Added caseless comparison in STRING_EQUALITY_TESTER

Revision 91114 - Directory Listing
Modified Fri Feb 1 08:19:34 2013 UTC (6 years, 11 months ago) by jfiat
By default exclude "." and ".." when iterating on directories.
(descendant of DIRECTORY_ITERATOR can redefine path_excluded if they dislike this).

review#9277059

Revision 91110 - Directory Listing
Modified Fri Feb 1 01:06:23 2013 UTC (6 years, 11 months ago) by manus
Ensured that saving is done using the same version requested by `preferences'.


Revision 91109 - Directory Listing
Modified Fri Feb 1 01:04:03 2013 UTC (6 years, 11 months ago) by manus
Fixed postcondition violations in `make_empty' or `make_with_location' when called from routines specifying a version, the version should be set after calling them, not before.


Revision 91108 - Directory Listing
Modified Fri Feb 1 01:01:33 2013 UTC (6 years, 11 months ago) by manus
Fixed postcondition violation of `set_default_value' as we perform a conversion of the argument it cannot be the same reference but just the same string.


Revision 91102 - Directory Listing
Modified Thu Jan 31 23:27:18 2013 UTC (6 years, 11 months ago) by manus
Removed usage of {SPECIAL}.base_address to access the memory layout of a string because this is unsafe as objects may move. And the callers were actually found to create objects while still handling the POINTER value of {SPECIAL}.base_address which made it very unreliable.
Added `string_32_to_multi_byte' which is the replacement for calling `pointer_to_multi_byte' with {SPECIAL}.base_address, added `string_8_to_wide_string' (replacing `pointer_to_wide_string').
Fixed a bug in `string_16_to_stream' which was always creating an empty string.
Improved performance of `wide_string_to_pointer' by not doing any resizing since we control the creation of the result.
See review#9269085.


Revision 91101 - Directory Listing
Modified Thu Jan 31 23:15:26 2013 UTC (6 years, 11 months ago) by manus
Added missing `objects_instance_of_type' and `execute_without_collection' to match classic implementation.
Removed `mem_free' which has already been removed from classic implementation.
This addresses request from bug#18499.


Revision 91088 - Directory Listing
Modified Wed Jan 30 19:26:42 2013 UTC (6 years, 11 months ago) by king
Fixed tab handling for single column grids with item tab handling enabled

Revision 91087 - Directory Listing
Modified Wed Jan 30 19:26:18 2013 UTC (6 years, 11 months ago) by manus
It is very unsafe to use {SPECIAL}.base_address so removed manipulation of ARRAY [CHARACTER_8] and use the version from WEL_BITMAP_HELPER that gives you a MANAGED_POINTER instead. The other benefit is that this code was not working for .NET and now it does.


Revision 91071 - Directory Listing
Modified Tue Jan 29 01:14:10 2013 UTC (6 years, 11 months ago) by manus
Fixed typo on `separat...'.


Revision 91067 - Directory Listing
Modified Tue Jan 29 00:42:46 2013 UTC (6 years, 11 months ago) by manus
Fixed typo on `relevant'.


Revision 91064 - Directory Listing
Modified Tue Jan 29 00:40:09 2013 UTC (6 years, 11 months ago) by manus
Fixed typo on `referring'.


Revision 91060 - Directory Listing
Modified Tue Jan 29 00:37:35 2013 UTC (6 years, 11 months ago) by manus
Fixed typo on `preferred'.


Revision 91057 - Directory Listing
Modified Tue Jan 29 00:30:01 2013 UTC (6 years, 11 months ago) by manus
Fixed typo on `preferred'. 
Due to some breaking changes in the interface, we kept the bad spelling as obsolete.


Revision 91056 - Directory Listing
Modified Tue Jan 29 00:19:23 2013 UTC (6 years, 11 months ago) by manus
Fixed typo on `request'. It does change the API interface but since it is just for the Windows implementation we deemed it was safe to do so.


Revision 91051 - Directory Listing
Modified Tue Jan 29 00:13:15 2013 UTC (6 years, 11 months ago) by manus
Fixed typo on `receive'.


Revision 91043 - Directory Listing
Modified Tue Jan 29 00:03:14 2013 UTC (6 years, 11 months ago) by manus
Use US conventions for `dependent' & co.


Revision 91041 - Directory Listing
Modified Mon Jan 28 23:57:37 2013 UTC (6 years, 11 months ago) by manus
Fixed typo on `platform'.


Revision 91039 - Directory Listing
Modified Mon Jan 28 23:54:14 2013 UTC (6 years, 11 months ago) by manus
Fixed typo on `hierarchy'.


Revision 91034 - Directory Listing
Modified Mon Jan 28 23:50:29 2013 UTC (6 years, 11 months ago) by manus
Fixed typos on `precede'.


Revision 91030 - Directory Listing
Modified Mon Jan 28 23:44:58 2013 UTC (6 years, 11 months ago) by manus
Fixed typo on `existence' / `existent'.


Revision 91026 - Directory Listing
Modified Mon Jan 28 23:39:57 2013 UTC (6 years, 11 months ago) by manus
Fixed typo on `committed'.


Revision 91023 - Directory Listing
Modified Mon Jan 28 23:37:30 2013 UTC (6 years, 11 months ago) by manus
Fixed typo on `column'.


Revision 91020 - Directory Listing
Modified Mon Jan 28 23:34:19 2013 UTC (6 years, 11 months ago) by manus
Fixed typo on `identifier'.


Revision 91009 - Directory Listing
Modified Mon Jan 28 19:49:13 2013 UTC (6 years, 11 months ago) by manus
Fixed void-safe errors introduced with new FILE class in which `name' is not an attribute anymore but a function. The fix is to introduce `set_string_name' and call it each time the {FILE} instance needs its name changed ({FILE}.set_name is renamed accordingly in descendants).


Revision 90997 - Directory Listing
Modified Mon Jan 28 09:14:26 2013 UTC (6 years, 11 months ago) by tedf
Added a test to test DATABASE_MANAGER for error recovery from duplicated id error.

Revision 90992 - Directory Listing
Modified Sun Jan 27 17:52:08 2013 UTC (6 years, 11 months ago) by manus
Updated preference library to set versions at creation time as doing after has no effect when retrieving values.


Revision 90981 - Directory Listing
Modified Sat Jan 26 08:00:13 2013 UTC (6 years, 11 months ago) by manus
Fixed typo on `reference'.


Revision 90973 - Directory Listing
Modified Sat Jan 26 07:46:02 2013 UTC (6 years, 11 months ago) by manus
Fixed typo on `exists'.


Revision 90969 - Directory Listing
Modified Sat Jan 26 07:42:32 2013 UTC (6 years, 11 months ago) by manus
Fixed typo on `identifier'.


Revision 90963 - Directory Listing
Modified Sat Jan 26 07:38:23 2013 UTC (6 years, 11 months ago) by manus
Fixed typo on occurring.


Revision 90959 - Directory Listing
Modified Sat Jan 26 07:35:41 2013 UTC (6 years, 11 months ago) by manus
Fixed typo on `recorded'.


Revision 90945 - Directory Listing
Modified Sat Jan 26 07:19:42 2013 UTC (6 years, 11 months ago) by manus
Fixed typos on `occurred'.


Revision 90934 - Directory Listing
Modified Sat Jan 26 06:57:33 2013 UTC (6 years, 11 months ago) by manus
Fixed typo on `occurred'.


Revision 90928 - Directory Listing
Modified Sat Jan 26 06:41:49 2013 UTC (6 years, 11 months ago) by manus
Fixed typos.


Revision 90927 - Directory Listing
Modified Sat Jan 26 06:37:34 2013 UTC (6 years, 11 months ago) by manus
Fixed extra `a' in obsolete message for `name'.


Revision 90919 - Directory Listing
Modified Sat Jan 26 06:29:43 2013 UTC (6 years, 11 months ago) by manus
Fixed typo on Unix.


Revision 90917 - Directory Listing
Modified Sat Jan 26 06:17:39 2013 UTC (6 years, 11 months ago) by manus
Fixed typo on `Unix'.


Revision 90916 - Directory Listing
Modified Sat Jan 26 06:12:44 2013 UTC (6 years, 11 months ago) by manus
Removed Unix since console is not Unix specific.


Revision 90910 - Directory Listing
Modified Sat Jan 26 05:59:43 2013 UTC (6 years, 11 months ago) by manus
Fixed typo on `object'.


Revision 90908 - Directory Listing
Modified Sat Jan 26 05:47:29 2013 UTC (6 years, 11 months ago) by manus
Fixed typo on `calculate'.


Revision 90906 - Directory Listing
Modified Sat Jan 26 05:38:58 2013 UTC (6 years, 11 months ago) by manus
Fixed grammar: it should be "a UTF" and not "an UTF".


Revision 90904 - Directory Listing
Modified Sat Jan 26 05:30:25 2013 UTC (6 years, 11 months ago) by manus
Fixed typ on `convert'.


Revision 90893 - Directory Listing
Modified Sat Jan 26 01:29:12 2013 UTC (6 years, 11 months ago) by manus
Fixed call on void target in `is_format_version_1_0'.


Revision 90880 - Directory Listing
Modified Sat Jan 26 00:40:46 2013 UTC (6 years, 11 months ago) by manus
Fixed proper captilization of `Unicode'.


Revision 90879 - Directory Listing
Modified Fri Jan 25 22:32:25 2013 UTC (6 years, 11 months ago) by manus
Fixed typo on `accommodate'. Fixed feature name as well which is ok because they are implementation specific one.


Revision 90878 - Directory Listing
Modified Fri Jan 25 22:30:51 2013 UTC (6 years, 11 months ago) by manus
Found a workaround for a bug in Windows. If you have the code below, then if you have spy++ launched, clicking from one grid item to activate to the next, erase the content of the grid. The reason is that when you get the focus out actions of the text field, we reach the maximum kernel stack and Windows simply returns an empty text instead of reporting some kind of errors. The fix is to simply launch the `deactive' calls on the next idele action.
Added protection to `deactivate' to ensure we never call it when there is no more text field.
class
	GRID_WINDOW
inherit
	EV_TITLED_WINDOW
		redefine
			initialize, is_in_default_state
		end

feature {NONE}-- Initialization

	frozen initialize
			-- Initialize `Current'.
		local
			l_vbox, l_vbox2: EV_VERTICAL_BOX
			i: INTEGER
			l_button: EV_BUTTON
			l_cell, l_cell2: EV_CELL
			l_grid: EV_GRID
		do
			Precursor {EV_TITLED_WINDOW}
				-- Build widget structure.
			create l_vbox
			from
				i := 1
				create l_cell
				l_vbox.extend (l_cell)
			until
				i = 12
			loop
				create l_cell2
				l_cell.extend (l_cell2)
				l_cell := l_cell2
				i := i + 1
			end
			create l_vbox2
			l_cell.extend (l_vbox2)
			l_grid := new_grid
			l_vbox2.extend (new_grid)
			extend (l_vbox)
			set_title ("Display window")
		end

	new_grid: EV_GRID
		local
			l_item: EV_GRID_EDITABLE_ITEM
			i: INTEGER
		do
			create Result
			Result.set_column_count_to (2)
			Result.set_row_count_to (10)
			from
				i := 1
			until
				i = 5
			loop
				create l_item.make_with_text (i.out)
				l_item.pointer_button_press_actions.force_extend (agent l_item.activate)
				Result.set_item (1, i, l_item)
				i := i + 1
			end
		end

feature {NONE} -- Implementation

	is_in_default_state: BOOLEAN = True
			-- Is `Current' in its default state?

end



Revision 90876 - Directory Listing
Modified Fri Jan 25 22:17:30 2013 UTC (6 years, 11 months ago) by manus
Fixed typo on `accessible'.


Revision 90874 - Directory Listing
Modified Fri Jan 25 22:14:06 2013 UTC (6 years, 11 months ago) by manus
Fixed typo `necessary'.


Revision 90873 - Directory Listing
Modified Fri Jan 25 22:11:30 2013 UTC (6 years, 11 months ago) by manus
Made geyacc generate void-safe code (this is a ad-hoc update that tries to minimize the number of changes. It was tested by ensuring that the Eiffel parser is still functionning as expected.


Revision 90872 - Directory Listing
Modified Fri Jan 25 21:57:22 2013 UTC (6 years, 11 months ago) by manus
Prevented truncation of the key value by using STRING_32 in place of STRING_8. The only breaking change is with `typed_change_actions' that will report a compilation error, but so far none of our code is being affected. For creation, the factory takes a TUPLE [..., READABLE_STRING_GENERAL] so that passing either a STRING_8 or STRING_32 type will be ok.
See review#9249095.


Revision 90871 - Directory Listing
Modified Fri Jan 25 19:59:32 2013 UTC (6 years, 11 months ago) by manus
Drop usage of {EV_KEY}.out which is not Unicode in favor or {EV_KEY}.text which is.


Revision 90869 - Directory Listing
Modified Fri Jan 25 06:38:36 2013 UTC (6 years, 11 months ago) by tedf
Added a test for recovery from SQL error.

Revision 90868 - Directory Listing
Modified Fri Jan 25 06:37:10 2013 UTC (6 years, 11 months ago) by tedf
Removed useless redefine.

Revision 90867 - Directory Listing
Modified Thu Jan 24 22:39:11 2013 UTC (6 years, 11 months ago) by manus
Added support for versionning in our preferences storage. So far it will only be used by Windows for registry keys to not store the type of the preference along with its name, as it causes some conflict if you have 2 preferences with different types, you could end up in a situation where it was saving the preference correctly but retrieving the one with a different type.
See review#9254038.


Revision 90866 - Directory Listing
Modified Thu Jan 24 22:23:02 2013 UTC (6 years, 11 months ago) by manus
Removed unused locals.


Revision 90865 - Directory Listing
Modified Thu Jan 24 22:21:36 2013 UTC (6 years, 11 months ago) by manus
Fixed a bug when iterating over a notebook when you reach the Windows nested limit when `get_item' would simply always return NULL even though there are windows. The solution was to simply use our `ev_children' list to iterate through all the items in a notebook.


Revision 90864 - Directory Listing
Modified Thu Jan 24 22:17:45 2013 UTC (6 years, 11 months ago) by manus
Removed obsolete call to {EV_KEY}.out and use {EV_KEY}.text instead.


Revision 90833 - Directory Listing
Modified Wed Jan 23 20:53:40 2013 UTC (7 years ago) by jfiat
new uuid for new arg_parser library

Revision 90821 - Directory Listing
Modified Wed Jan 23 18:18:47 2013 UTC (7 years ago) by manus
Turns out that our `gobo_lexical' and `gobo_parser' library actually contained the source code of gelex and geyacc which we do not care when it is just a matter of compiling code generated by those tools. So now the library only contains the bare minimum and I've added the void-safe version.
Added gobo_gelex and gobo_geyacc that include the gelex and geyacc code and use it in a few ECFs where it was needed.
This refactoring reduces the need of 800+ classes when compiling all reachable classes of EiffelStudio.


Revision 90820 - Directory Listing
Modified Wed Jan 23 18:10:50 2013 UTC (7 years ago) by manus
Match new version of ET_ECF_PARSER in gobo that replaced `set_workbench_build' into `set_finalize_mode'.


Revision 90819 - Directory Listing
Modified Wed Jan 23 17:51:00 2013 UTC (7 years ago) by manus
Made code compile with latest version of configuration library.
Highlighted places where there is a truncation of STRING_32 -> STRING_8.


Revision 90814 - Directory Listing
Modified Wed Jan 23 05:50:21 2013 UTC (7 years ago) by manus
Use new routine `save_xml_document_with_path' to avoid calling the obsolete {FILE}.name routine.


Revision 90796 - Directory Listing
Modified Tue Jan 22 22:19:10 2013 UTC (7 years ago) by manus
Fixed precondition violation by protecting the call to `on_pointer_motion' to ensure we satisfy the precondition.


Revision 90792 - Directory Listing
Modified Tue Jan 22 19:53:18 2013 UTC (7 years ago) by jfiat
removed conversions as_string_8 and limit to_string_8
and various minor correction in signatures using as often as possible READABLE_STRING_.. 

review#9190161

Revision 90791 - Directory Listing
Modified Tue Jan 22 16:49:59 2013 UTC (7 years ago) by alexk
Fixed an issue with launching processes by specifying that Unicode environment is used (review#9241034). The fix allows eweasel to launch Eiffel compiler successfully.

Revision 90777 - Directory Listing
Modified Tue Jan 22 07:20:08 2013 UTC (7 years ago) by manus
Updated to the very latest code generated by geyacc.


Revision 90774 - Directory Listing
Modified Tue Jan 22 05:43:55 2013 UTC (7 years ago) by manus
Added routines that can handle PATH instance.


Revision 90772 - Directory Listing
Modified Tue Jan 22 05:31:38 2013 UTC (7 years ago) by manus
Added void-safe version for the Gobo kernel.


Revision 90756 - Directory Listing
Modified Mon Jan 21 19:04:48 2013 UTC (7 years ago) by manus
Highlighted the place where we do a STRING_32 -> STRING_8 truncation.


Revision 90755 - Directory Listing
Modified Mon Jan 21 19:03:42 2013 UTC (7 years ago) by manus
Use READABLE_STRING_GENERAL for greated flexibility.


Revision 90754 - Directory Listing
Modified Mon Jan 21 19:03:06 2013 UTC (7 years ago) by manus
Highlighted places where we have a STRING_32 -> STRING_8 truncation.


Revision 90748 - Directory Listing
Modified Mon Jan 21 09:25:01 2013 UTC (7 years ago) by jfiat
Using READABLE_STRING_* for return type.
Added IRI.query_items implementation.
Cosmetic

review#9193076

Revision 90744 - Directory Listing
Modified Mon Jan 21 00:43:33 2013 UTC (7 years ago) by manus
Removed all implicit string conversions in the library.
Improved Windows I18N_NLS_LCID_TOOLS class by using a caseless STRING_TABLE which would speed up performance compared to a binary search tree.
Made most API accept READABLE_STRING_GENERAL for greater flexibility.


Revision 90743 - Directory Listing
Modified Mon Jan 21 00:27:22 2013 UTC (7 years ago) by manus
Replaced implicit conversions from STRING_32 to IMMUTABLE_STRING_32.


Revision 90742 - Directory Listing
Modified Sat Jan 19 06:06:15 2013 UTC (7 years ago) by manus
Use `to_string_8' instead of `as_string_8' since we have a checks that tells us it is a STRING_8 instance.

Revision 90741 - Directory Listing
Modified Sat Jan 19 06:05:01 2013 UTC (7 years ago) by manus
Because `raise' cannot be changed to take a READABLE_STRING_GENERAL, we have to truncate the description of the exception. We will need to generate an EiffelStore specific exception in the future.

Revision 90729 - Directory Listing
Modified Fri Jan 18 19:47:18 2013 UTC (7 years ago) by manus
Removed implicit STRING_32 -> STRING_8 conversions:
- in tracing, made sure we generate UTF-8 strings
- whereever there was an implicit one use `as_string_8_conversion. Most of the time it is inside obsolete features, so that's ok. And in the remaining cases, it is something we have to look further.


Revision 90718 - Directory Listing
Modified Fri Jan 18 16:14:02 2013 UTC (7 years ago) by manus
Avoided implicit conversions and used new creation procedure `make_from_string_general' to create STRING_32 instances.


Revision 90717 - Directory Listing
Modified Fri Jan 18 16:13:03 2013 UTC (7 years ago) by manus
Avoided STRING_8 to STRING_32 conversion.


Revision 90714 - Directory Listing
Modified Fri Jan 18 13:58:20 2013 UTC (7 years ago) by jfiat
Better interface for IRI
Optimizations by avoiding creation of intermediate object as much as possible.
Cosmetics

review#9193076

Revision 90704 - Directory Listing
Modified Fri Jan 18 05:46:11 2013 UTC (7 years ago) by manus
Removed obsolete calls to `write_immutable_string_8' and use `write_string_8' instead.


Revision 90703 - Directory Listing
Modified Fri Jan 18 05:45:01 2013 UTC (7 years ago) by manus
Removed obsolete clause to match classic on `linear_representation_32'.


Revision 90690 - Directory Listing
Modified Fri Jan 18 00:35:39 2013 UTC (7 years ago) by manus
Removed many routines that can easily be implemented in RAW_FILE/PLAIN_TEXT_FILE.
Removed never used routines `file_extension' and `internal_indexed_path'.


Revision 90662 - Directory Listing
Modified Thu Jan 17 23:24:06 2013 UTC (7 years ago) by manus
Removed implementation of `out'.
Updated `debug_output' to return a STRING_32 to avoid truncation of `to_string_32'.

Revision 90661 - Directory Listing
Modified Thu Jan 17 23:21:52 2013 UTC (7 years ago) by manus
Dropped usage of FILE_UTILITIES to create FILE instances.

Revision 90660 - Directory Listing
Modified Thu Jan 17 23:21:16 2013 UTC (7 years ago) by manus
Removed STRING_32 to STRING_8 conversion by changing type of target in `update_matches'.

Revision 90659 - Directory Listing
Modified Thu Jan 17 23:18:56 2013 UTC (7 years ago) by manus
While waiting for a complete fix, make an explicit conversion `as_string_8_conversion' that we can easily lookup later for a fix.

Revision 90658 - Directory Listing
Modified Thu Jan 17 23:18:01 2013 UTC (7 years ago) by manus
Allowed passing READABLE_STRING_GENERAL to `make_from_string' for greater flexibility and avoiding conversions.

Revision 90657 - Directory Listing
Modified Thu Jan 17 23:17:13 2013 UTC (7 years ago) by manus
Dropped usage of FILE_UTILITIES to create FILE instances.

Revision 90656 - Directory Listing
Modified Thu Jan 17 23:16:24 2013 UTC (7 years ago) by manus
When printing Unicode text to Postscript we will encode it in UTF-8.

Revision 90655 - Directory Listing
Modified Thu Jan 17 23:15:44 2013 UTC (7 years ago) by manus
Removed routines which were not used at all.

Revision 90654 - Directory Listing
Modified Thu Jan 17 23:12:24 2013 UTC (7 years ago) by manus
Do not use `out' as a way to print a text description of the key which could be truncated. Introduced `text' instead which is a STRING_32.

Revision 90653 - Directory Listing
Modified Thu Jan 17 23:11:05 2013 UTC (7 years ago) by manus
Removed obsolete clauses for routine using STRING_32 as they work fine now that we have roundtrip for badly encoded UTF-16 / UTF-8 filenames.

Revision 90651 - Directory Listing
Modified Thu Jan 17 22:00:16 2013 UTC (7 years ago) by manus
Removed call to `as_string_8' which is not needed for type checking but we might have a precondition violation now. Ideally that printing should not exist in a GUI applications.


Revision 90650 - Directory Listing
Modified Thu Jan 17 21:58:40 2013 UTC (7 years ago) by manus
Removed debug clause that as a truncation and that is not used in practice.


Revision 90649 - Directory Listing
Modified Thu Jan 17 21:57:49 2013 UTC (7 years ago) by manus
Use `to_string_8' since we checked the precondition. Added a comment to highlight this.


Revision 90648 - Directory Listing
Modified Thu Jan 17 19:47:39 2013 UTC (7 years ago) by manus
Added ability to store STRING_32 instances that will actually be stored in UTF-8 format.


Revision 90609 - Directory Listing
Modified Wed Jan 16 22:39:50 2013 UTC (7 years ago) by manus
Allowed Unicode preference name to avoid truncations of STRING_32 into STRING_8.


Revision 90608 - Directory Listing
Modified Wed Jan 16 21:43:15 2013 UTC (7 years ago) by manus
Added `name' to be the same as `out' but provide a Unicode string representation.

Revision 90595 - Directory Listing
Modified Wed Jan 16 19:01:15 2013 UTC (7 years ago) by manus
Added a missing check in `valid_value_string' that verifies that the string is valid as STRING_8. This is critical for `set_value_from_string' in which we have to perform a truncation. Added comment for that truncation.


Revision 90594 - Directory Listing
Modified Wed Jan 16 18:59:06 2013 UTC (7 years ago) by manus
Use `as_string_8_conversion' for the obsolete routine `string_value' as we have no guarantee that the `text_value' will be valid as a STRING_8.


Revision 90593 - Directory Listing
Modified Wed Jan 16 18:57:12 2013 UTC (7 years ago) by manus
Added missing redefinition of `valid_value_string' to ARRAY_PREFERENCE to ensure that the string is not a Unicode string. Added comment to the usage of `to_string_8' in `set_value_from_string' which is ok now that we have the right precondition.


Revision 90592 - Directory Listing
Modified Wed Jan 16 18:55:47 2013 UTC (7 years ago) by manus
Typo: using standard feature clause naming.


Revision 90591 - Directory Listing
Modified Wed Jan 16 18:53:49 2013 UTC (7 years ago) by manus
Added a comment in `to_value' for the usage of `to_string_8' which is OK in this particular caase.


Revision 90590 - Directory Listing
Modified Wed Jan 16 18:53:09 2013 UTC (7 years ago) by manus
Better implementation of `valid_value_string' and `set_value_from_string' that does not involved expensive checking nor conversions.


Revision 90589 - Directory Listing
Modified Wed Jan 16 18:16:21 2013 UTC (7 years ago) by manus
Changed signature of `set_shape', `set_weight' and `set_family' to use READABLE_STRING_GENERAL because callers are using STRING_32 most of the time and we do not want truncation.


Revision 90588 - Directory Listing
Modified Wed Jan 16 17:46:43 2013 UTC (7 years ago) by jfiat
Updated URI library, with IRI support
Check validity of some fields  (not yet 100% covered)
Additional autotests

post review#9193076

Revision 90573 - Directory Listing
Modified Tue Jan 15 02:27:50 2013 UTC (7 years ago) by tedf
Handled Unicode .mo file names. Removed obsolete calls and simplified the implementations.

review#9148127

Revision 90570 - Directory Listing
Modified Mon Jan 14 00:23:36 2013 UTC (7 years ago) by manus
Added Unix target for compiling Unix code on Windows.


Revision 90569 - Directory Listing
Modified Sun Jan 13 23:56:53 2013 UTC (7 years ago) by manus
Made it compile without relying on implicit STRING_32 to STRING_8 conversion (which truncates).


Revision 90544 - Directory Listing
Modified Sun Jan 13 20:32:24 2013 UTC (7 years ago) by manus
Removed implicit conversions from STRING_8 to STRING_32.

Revision 90543 - Directory Listing
Modified Sun Jan 13 20:32:02 2013 UTC (7 years ago) by manus
Removed implicit conversions from STRING_8 to STRING_32.

Revision 90529 - Directory Listing
Modified Sun Jan 13 18:48:40 2013 UTC (7 years ago) by manus
Avoided large strings STRING_8 -> STRING_32 conversion because the RTF format is just STRING_8. Unicode characters are represented using a special encoding (format \uc1).
Updated some data structure to use STRING_8 as keys rather than STRING_32.
Updated old name WIDE_CHARACTER to CHARACTER_32.
Fixed a Windows formatting issue where we used a PLAIN_TEXT_FILE to save RTF files but really it should have been a RAW_FILE since we do generate the %R%N all the time regardless of the platform.
Improved performance of `{EV_RICH_TEXT_BUFFERING_STRUCTURES_I}.generate_complete_rtf_from_buffering' by avoiding twining of large strings.
Protected calls when reading a RTF file that refers to a format that hasn't been defined. Instead of violating the contract, we simply associate it with the default format.

Revision 90528 - Directory Listing
Modified Sun Jan 13 18:35:47 2013 UTC (7 years ago) by manus
Added EV_DIALOG_NAMES which is the equivalent of EV_DIALOG_CONSTANTS but with IMMUTABLE_STRING_32 constants.
Made EV_STANDARD_DIALOG.selected_button obsolete in favor of `selected_buton_name' which is of type IMMUTABLE_STRING_32. Updated implementation for selected_button and internal_accept to use IMMUTABLE_STRING_32. Now we also use EV_DIALOG_NAMES.
This enabled us to remove all explicit conversions using `as_string_32_conversion'.

Revision 90527 - Directory Listing
Modified Sun Jan 13 18:32:27 2013 UTC (7 years ago) by manus
Removed implicit conversions from IMMUTABLE_STRING_32 to STRING_32.

Revision 90526 - Directory Listing
Modified Sun Jan 13 18:30:28 2013 UTC (7 years ago) by manus
Avoided STRING conversions and used new PATH features to analyze extension of images.

Revision 90525 - Directory Listing
Modified Sun Jan 13 03:40:38 2013 UTC (7 years ago) by manus
Removed implicit conversions from IMMUTABLE_STRING_32 to STRING_32.

Revision 90524 - Directory Listing
Modified Sun Jan 13 03:39:52 2013 UTC (7 years ago) by manus
Fixed header of the RTF we generate so that we are explicit in our encoding of Unicode character that we include the corresponding ASCII characters if the reader of the RTF cannot handle Unicode. That is to say we generate \u1032? where 1032 is the Unicode code and ? the ASCII replacement character.

Revision 90523 - Directory Listing
Modified Sun Jan 13 03:38:09 2013 UTC (7 years ago) by manus
Removed implicit conversions from IMMUTABLE_STRING_32 to STRING_32.

Revision 90522 - Directory Listing
Modified Sun Jan 13 03:37:13 2013 UTC (7 years ago) by manus
Allowed creation of UUID based on any kind of strings.
Added `string' query to return a STRING_32 textual instance of the UUID.

Revision 90517 - Directory Listing
Modified Fri Jan 11 18:28:37 2013 UTC (7 years ago) by manus
Removed implicit conversions from STRING_8 to STRING_32 and vice-versa


Revision 90516 - Directory Listing
Modified Fri Jan 11 16:54:46 2013 UTC (7 years ago) by manus
Removed implicit conversions from STRING_8 to STRING_32 and vice-versa


Revision 90515 - Directory Listing
Modified Fri Jan 11 16:42:34 2013 UTC (7 years ago) by manus
Removed implicit conversions from STRING_8 to STRING_32.
Use READABLE_STRING_GENERAL in STRING_HDL.
Reimplemented DB_STRING_HASH_TABLE by simply inheriting from the new STRING_TABLE class.

Revision 90509 - Directory Listing
Modified Fri Jan 11 07:10:35 2013 UTC (7 years ago) by manus
Removed useless string conversions by being smart on which `append' routine we use and not using the + operator on a STRING_8 target.


Revision 90508 - Directory Listing
Modified Fri Jan 11 07:08:26 2013 UTC (7 years ago) by manus
Removed many VTCM warnings when compiling the batch version of the library. Fixed by creating a new class PREFERENCE_EXPORTER for which the UI classes inherit from to get access to the implementation of the preference library.
Fixed a bug in the preference library in `make_empty' from PREFERENCES_STORAGE_REGISTRY so that it is using the Unicode name of the program that launched it.
Removed useless conversions of strings.
See review#9174102.


Revision 90507 - Directory Listing
Modified Fri Jan 11 07:04:23 2013 UTC (7 years ago) by manus
Avoided conversion by expliciting the type of the manifest string.


Revision 90506 - Directory Listing
Modified Fri Jan 11 06:57:00 2013 UTC (7 years ago) by tedf
Enable warnings.

Revision 90500 - Directory Listing
Modified Thu Jan 10 17:12:28 2013 UTC (7 years ago) by manus
Since now HASH_TABLE.is_equal is properly implemented and that we have `make_equal' on HASH_TABLE, there is no need for EQUALITY_HASH_TABLE.  Updated all clients to use `{HASH_TABLE}.make_equal' instead.
See review#9173085.


Revision 90496 - Directory Listing
Modified Thu Jan 10 00:58:11 2013 UTC (7 years ago) by manus
Updated `empty_duplicates' to set `object_comparison' if set as now done in HASH_TABLE ancestor.


Revision 90495 - Directory Listing
Modified Thu Jan 10 00:54:26 2013 UTC (7 years ago) by manus
Enabled warnings.


Revision 90494 - Directory Listing
Modified Thu Jan 10 00:54:15 2013 UTC (7 years ago) by manus
Enabled warnings.


Revision 90471 - Directory Listing
Modified Wed Jan 9 00:09:03 2013 UTC (7 years ago) by manus
Cosmetics on the UI so that in the precompiled wizards for example, the content uses the whole window when resized.


Revision 90470 - Directory Listing
Modified Wed Jan 9 00:08:20 2013 UTC (7 years ago) by manus
Cosmetics.


Revision 90469 - Directory Listing
Modified Wed Jan 9 00:07:50 2013 UTC (7 years ago) by manus
Because now we can represent all paths with READABLE_STRING_GENERAL there is no actual need to force people to use the routine using or returning `path'. Thus we are removing the obsolete clause.


Revision 90464 - Directory Listing
Modified Tue Jan 8 21:49:03 2013 UTC (7 years ago) by manus
Fixed warning in `is_date_code_character' and `is_time_code_character' where comparing an expanded to Void is always True or False, thus there is no need for a comparison.


Revision 90463 - Directory Listing
Modified Tue Jan 8 21:48:04 2013 UTC (7 years ago) by manus
Because now we can represent all paths with READABLE_STRING_GENERAL there is no actual need to force people to use `set_with_named_path'. Thus we are removing the obsolete clause.


Revision 90462 - Directory Listing
Modified Tue Jan 8 21:42:52 2013 UTC (7 years ago) by manus
Added convenience to the open file dialog to start from the existing path if any.


Revision 90461 - Directory Listing
Modified Tue Jan 8 21:41:51 2013 UTC (7 years ago) by manus
Use ARGUMENTS_32 to get the Unicode arguments.


Revision 90460 - Directory Listing
Modified Tue Jan 8 21:40:23 2013 UTC (7 years ago) by manus
Proper printout of the usage since there are no `-arg1' or `-arg2' options.


Revision 90456 - Directory Listing
Modified Tue Jan 8 18:47:50 2013 UTC (7 years ago) by manus
Enabled warnings in most of our libraries as we need to fix obsolete calls there too.


Revision 90455 -