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

Log of /trunk/Src/build2

View Directory Listing Directory Listing


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

Revision 39066 - Directory Listing
Modified Tue Sep 16 00:52:01 2003 UTC (16 years, 5 months ago) by rogers
Initial versions of newly generated files.


Revision 39065 - Directory Listing
Modified Tue Sep 16 00:48:24 2003 UTC (16 years, 5 months ago) by rogers
Latest generated version with three new pixmap constants required for
the new component viewer dialog.


Revision 39064 - Directory Listing
Modified Tue Sep 16 00:46:28 2003 UTC (16 years, 5 months ago) by rogers
Latest version with component viewer dialog added.


Revision 39040 - Directory Listing
Modified Sat Sep 13 00:00:51 2003 UTC (16 years, 5 months ago) by rogers
Latest version generated by EiffelBuild, with connection of a key press
action to the constants list.


Revision 39039 - Directory Listing
Modified Fri Sep 12 23:59:24 2003 UTC (16 years, 5 months ago) by rogers
Added latest change, which is the addition of a new action sequence to
`constants_list' for handling pressing of the delete key.


Revision 39038 - Directory Listing
Modified Fri Sep 12 23:54:07 2003 UTC (16 years, 5 months ago) by rogers
Added handling for deletion of constants via the keyboard.


Revision 39037 - Directory Listing
Modified Fri Sep 12 23:40:10 2003 UTC (16 years, 5 months ago) by rogers
Fixed bug in `process_xml_string' which was messing up text by adding an
extra %N character when the contents of the CDATA tag had an '/' character.
We now check if we are in a CDATA tag before processing the '/' characters.


Revision 39033 - Directory Listing
Modified Fri Sep 12 19:00:12 2003 UTC (16 years, 5 months ago) by rogers
Removed obsolete FIXME.


Revision 39032 - Directory Listing
Modified Fri Sep 12 18:54:28 2003 UTC (16 years, 5 months ago) by rogers
Removed all FIXME's as they are out of date/resolved.


Revision 39018 - Directory Listing
Modified Fri Sep 12 00:10:51 2003 UTC (16 years, 5 months ago) by rogers
Removed inheritance from XM_CALLBACKS_NULL as it is no longer required.


Revision 39004 - Directory Listing
Modified Thu Sep 11 22:16:21 2003 UTC (16 years, 5 months ago) by rogers
Removed FIXME from `initialize_split_areas' as it is no longer required,
as the change has been made in a different fashion.


Revision 39003 - Directory Listing
Modified Thu Sep 11 22:11:32 2003 UTC (16 years, 5 months ago) by rogers
Removed FIXME, as `internal_type' has now been renamed to
`internal_property' which is a more correct name, and has a comment.


Revision 39002 - Directory Listing
Modified Thu Sep 11 21:50:28 2003 UTC (16 years, 5 months ago) by rogers
Added tip regarding loading of constants.


Revision 39000 - Directory Listing
Modified Thu Sep 11 21:15:18 2003 UTC (16 years, 5 months ago) by rogers
Updated `generate_drop_actions' so that it does not use the layout
item anymore where not necessary.


Revision 38999 - Directory Listing
Modified Thu Sep 11 21:12:43 2003 UTC (16 years, 5 months ago) by rogers
Removed unused local.


Revision 38998 - Directory Listing
Modified Thu Sep 11 21:10:01 2003 UTC (16 years, 5 months ago) by rogers
Latest generated version. Re-generated as GB_HISTORY_DIALOG has now
been added to the system.


Revision 38997 - Directory Listing
Modified Thu Sep 11 21:08:43 2003 UTC (16 years, 5 months ago) by rogers
Removed, as we now use a dialog generated by EiffelBuild.


Revision 38996 - Directory Listing
Modified Thu Sep 11 21:07:52 2003 UTC (16 years, 5 months ago) by rogers
Initial versions.


Revision 38994 - Directory Listing
Modified Thu Sep 11 20:55:05 2003 UTC (16 years, 5 months ago) by rogers
The implementation of `cancel_edited_name' no longer calls `set_name'
directly, as this violates a precondition of `set_name'.


Revision 38993 - Directory Listing
Modified Thu Sep 11 18:45:22 2003 UTC (16 years, 5 months ago) by rogers
Protected displaying of seleted pixmap, as if the pixmap combo box item
is selected, then `modify_constant' is Void.


Revision 38992 - Directory Listing
Modified Thu Sep 11 18:39:49 2003 UTC (16 years, 5 months ago) by rogers
Added `retrieve_all_paths' which is now used to retrieve all pixmap
paths upon creation of `Current'. This is used, so that when selecting
pixmaps, only pixmaps that are not already in the system are checked.
The others are unchecked. This makes it easy to add pixmaps that
have been added to a directory, without getting repeated pixmaps in your
system.
Also now wipe out the selected list when selecting a directory or an
individual pixmap.


Revision 38991 - Directory Listing
Modified Thu Sep 11 17:25:10 2003 UTC (16 years, 5 months ago) by rogers
Modified `pixmap_item_selected' so that the selected pixmap is displayed in
the `value' field.


Revision 38924 - Directory Listing
Modified Fri Sep 5 23:52:22 2003 UTC (16 years, 5 months ago) by rogers
`build_new_object' no longer queries `layout_item' to find the number
of children contained, and instead uses `children', which is now the
correct method of performing this.


Revision 38923 - Directory Listing
Modified Fri Sep 5 23:44:15 2003 UTC (16 years, 5 months ago) by rogers
`build_new_object' no longer uses `layout_item', and instead uses
`children' which is the correect method to retrieve the count.


Revision 38922 - Directory Listing
Modified Fri Sep 5 23:39:26 2003 UTC (16 years, 5 months ago) by rogers
Fixed previous commit to `all_children_recursive', including the removal
of unused local.


Revision 38919 - Directory Listing
Modified Fri Sep 5 23:08:59 2003 UTC (16 years, 5 months ago) by rogers
Removed usage of `layout_item' to find children of an object, wherever
possible, as `children' is now available.


Revision 38912 - Directory Listing
Modified Fri Sep 5 21:56:15 2003 UTC (16 years, 5 months ago) by rogers
Removed update of name representation that was unecessary, as one of
the previous calls performed this step.


Revision 38911 - Directory Listing
Modified Fri Sep 5 21:51:56 2003 UTC (16 years, 5 months ago) by rogers
Removed use of `layout_item' to find children of `Current', whenever
possible, as `children' is now available, and is the correct way to
perform this.


Revision 38910 - Directory Listing
Modified Fri Sep 5 19:59:28 2003 UTC (16 years, 5 months ago) by rogers
Re-implemented `generate_xml' to use `children', instead of `layout_item'
which is the correct way to perform this, as it decouples the visual
representation from the actual structure.


Revision 38909 - Directory Listing
Modified Fri Sep 5 18:48:40 2003 UTC (16 years, 5 months ago) by rogers
`delete_object' now no longer uses the layout item to determine the
position of the object in its parent.


Revision 38908 - Directory Listing
Modified Fri Sep 5 18:45:15 2003 UTC (16 years, 5 months ago) by rogers
Added `ensure_names_unique' which is now used by `add_new_component'
and `add_new_component_in_parent', ensuring that the names used in
added components are unique. Previously, this had stopped working, I
believe at the point that naming was performed on the scope of a window.


Revision 38907 - Directory Listing
Modified Fri Sep 5 18:39:52 2003 UTC (16 years, 5 months ago) by rogers
Removed `ensure_names_unique' and the call to it within `object' as
it was no useless when used in this fashion. This is beacuse, the
objects scope is only checked locally (EV_WINDOW and children)
and at this point, the object is not parented, so no renaming is
performed. This functionality has now been moved into GB_OBJECT.


Revision 38906 - Directory Listing
Modified Fri Sep 5 18:34:28 2003 UTC (16 years, 5 months ago) by rogers
Removed explicit calls to set text on an objects layout item, as this is
now performed during `set_name'.
Removed unecessary usage of `layout_item' within `textual_representation'.


Revision 38905 - Directory Listing
Modified Fri Sep 5 18:32:13 2003 UTC (16 years, 5 months ago) by rogers
When retrieving `position' we now use `children', instead of `layout_item'.


Revision 38900 - Directory Listing
Modified Fri Sep 5 01:15:07 2003 UTC (16 years, 5 months ago) by rogers
Modified `execute', so that the expanded state of the original item
in a box is maintained. This means that if you replace the type of an
object, the expanded state is not lost.


Revision 38899 - Directory Listing
Modified Fri Sep 5 01:13:36 2003 UTC (16 years, 5 months ago) by rogers
Modified `add_child_object' so that we no longer check that the layout
item is contained, otherwise add it. We no longer keep the same layout
object during a type change, and therefore there is no longer a need
for this check.


Revision 38898 - Directory Listing
Modified Fri Sep 5 01:12:41 2003 UTC (16 years, 5 months ago) by rogers
replaced the code in `add_child_object' which disables expansion on
box items. This had been removed in error.


Revision 38897 - Directory Listing
Modified Fri Sep 5 01:11:30 2003 UTC (16 years, 5 months ago) by rogers
Updated export status of all inherited features.


Revision 38896 - Directory Listing
Modified Fri Sep 5 01:11:15 2003 UTC (16 years, 5 months ago) by rogers
Removed `unparent' and `unparent_during_type_change' as the recent
refactoring has made these redundent.


Revision 38895 - Directory Listing
Modified Fri Sep 5 01:09:58 2003 UTC (16 years, 5 months ago) by rogers
Updated `move_object_contents' and `replace_object' to reflect the fact
that the layout item is no longer queried to find the children, and
the layout item is not kept when re-setting an object. The reason it was
kept before was a hack, as there was no way to identify it before ID's
were introduced to objects.


Revision 38883 - Directory Listing
Modified Thu Sep 4 19:28:07 2003 UTC (16 years, 5 months ago) by rogers
Post loading, the project is now added to the recent projects. This
ensures that if Build crashes, or execution is stopped without closing,
the recent projects are up to date. Restricted export of inherited
features that should not be exported.


Revision 38882 - Directory Listing
Modified Thu Sep 4 19:25:59 2003 UTC (16 years, 5 months ago) by rogers
Calling `add_project_to_recent_projects' now saves the resources
immediately.


Revision 38879 - Directory Listing
Modified Thu Sep 4 18:42:19 2003 UTC (16 years, 5 months ago) by rogers
Re-ordered calling of `add_child', to ensure that the consitency check
postcondition is not violated.


Revision 38869 - Directory Listing
Modified Thu Sep 4 01:32:24 2003 UTC (16 years, 5 months ago) by rogers
Simplified `clear_all_objects' which was previously resetting the window
object. There is no longer any need to perform this processing, as due
to the fact that we now have multiple window support, new windows are
created each time one is selected, removing the need to reset the
original version.


Revision 38868 - Directory Listing
Modified Thu Sep 4 01:10:20 2003 UTC (16 years, 5 months ago) by rogers
`add_child_object' now calls `add_child' which ensures that `children'
are up to date for the object.


Revision 38867 - Directory Listing
Modified Thu Sep 4 01:09:48 2003 UTC (16 years, 5 months ago) by rogers
Removed `add_child_object' as there is no longer the need for a specific
version, as it has now been implemented in the parent, as a general version.


Revision 38866 - Directory Listing
Modified Thu Sep 4 01:08:04 2003 UTC (16 years, 5 months ago) by rogers
Removed `add_child_object' as it is now inherited.


Revision 38865 - Directory Listing
Modified Thu Sep 4 01:07:39 2003 UTC (16 years, 5 months ago) by rogers
`add_child_object' now calls `add_child'.


Revision 38864 - Directory Listing
Modified Thu Sep 4 00:50:31 2003 UTC (16 years, 5 months ago) by rogers
Added `add_child_object', which replaces most of the custo implementations
which were previously implemented in descendent versions.


Revision 38863 - Directory Listing
Modified Thu Sep 4 00:49:25 2003 UTC (16 years, 5 months ago) by rogers
`add_child_object' now calls `add_child' within its body, which ensures
that `children' of the object area updated.


Revision 38862 - Directory Listing
Modified Thu Sep 4 00:48:07 2003 UTC (16 years, 5 months ago) by rogers
`add_child_object' now calls `add_child' on the parent.


Revision 38861 - Directory Listing
Modified Thu Sep 4 00:47:10 2003 UTC (16 years, 5 months ago) by rogers
`add_child_object' now calls `add_child'.


Revision 38860 - Directory Listing
Modified Thu Sep 4 00:43:18 2003 UTC (16 years, 5 months ago) by rogers
Removed redefinition of `add_child_object' as it is no longer needed.
The version used is now a general version, inherited.


Revision 38859 - Directory Listing
Modified Thu Sep 4 00:37:17 2003 UTC (16 years, 5 months ago) by rogers
Removed `add_child_object' as a custom implementation is no longer needed,
and the version used is now inherited.


Revision 38858 - Directory Listing
Modified Thu Sep 4 00:36:27 2003 UTC (16 years, 5 months ago) by rogers
Updated `add_child_object' to handle children correctly.


Revision 38857 - Directory Listing
Modified Thu Sep 4 00:34:58 2003 UTC (16 years, 5 months ago) by rogers
When removing a child, we now use `remove_child' instead of unparent.


Revision 38856 - Directory Listing
Modified Thu Sep 4 00:34:01 2003 UTC (16 years, 5 months ago) by rogers
When removing child from its parent, now use `remove_child', instead
of unparent.


Revision 38855 - Directory Listing
Modified Thu Sep 4 00:31:48 2003 UTC (16 years, 5 months ago) by rogers
Resetting and creation of objects, now takes into account `children'
from GB_OBJECT, and ensures it is up to date.


Revision 38854 - Directory Listing
Modified Thu Sep 4 00:26:40 2003 UTC (16 years, 5 months ago) by rogers
Made `parent' an attribute, so that it is no longer determined through
the layout item. Added `children' which contains all children of `Current'.
Removed `unparent' as it is no longer used. Added `add_child', `remove_child_from_children' and `layout_items_consitent_with_children',
for handling of `children'.


Revision 38853 - Directory Listing
Modified Thu Sep 4 00:21:03 2003 UTC (16 years, 5 months ago) by rogers
When enabling assertion checking post disabling, we only enable them
if they were enabled previously. This fixes problems with nested assertion
disabling.


Revision 38811 - Directory Listing
Modified Tue Sep 2 18:42:39 2003 UTC (16 years, 5 months ago) by rogers
Removed `default_pixmaps'.


Revision 38781 - Directory Listing
Modified Fri Aug 29 21:49:22 2003 UTC (16 years, 5 months ago) by rogers
Minor formatting.


Revision 38780 - Directory Listing
Modified Fri Aug 29 21:48:31 2003 UTC (16 years, 5 months ago) by rogers
Removed a lot of the implementation from the child positioning code, as
it is now performed by the new class GB_TABLE_POSITIONER.


Revision 38779 - Directory Listing
Modified Fri Aug 29 21:46:26 2003 UTC (16 years, 5 months ago) by rogers
Initial version.


Revision 38778 - Directory Listing
Modified Fri Aug 29 21:44:45 2003 UTC (16 years, 5 months ago) by rogers
Added the new table positioner dialog, and imporved formatting of
the fixed positioner dialog.


Revision 38777 - Directory Listing
Modified Fri Aug 29 21:44:07 2003 UTC (16 years, 5 months ago) by rogers
Latest version.


Revision 38776 - Directory Listing
Modified Fri Aug 29 21:43:09 2003 UTC (16 years, 5 months ago) by rogers
Latest version with imporoved spacing around widgets.


Revision 38772 - Directory Listing
Modified Fri Aug 29 18:57:05 2003 UTC (16 years, 5 months ago) by rogers
Added `update_object_expansion'.


Revision 38771 - Directory Listing
Modified Fri Aug 29 18:56:15 2003 UTC (16 years, 5 months ago) by rogers
Now really fixed this class, so that it compiles correctly with the
Vision2 tour.


Revision 38767 - Directory Listing
Modified Fri Aug 29 17:44:15 2003 UTC (16 years, 5 months ago) by rogers
Further fix to handling of non expanded objects while running under the
tour. `object.children' is always `Void' during execution of the tour, so
we must handle this case, and perform nothing if this is True.


Revision 38766 - Directory Listing
Modified Fri Aug 29 17:33:41 2003 UTC (16 years, 5 months ago) by rogers
Re-implemented the handling of objects that are non expanded in a box, so
that it will compile on the vision2 tour.


Revision 38765 - Directory Listing
Modified Fri Aug 29 17:32:07 2003 UTC (16 years, 5 months ago) by rogers
Re-implemented the handling of items that are disabled in a box. This
new implementation will work correctly with the Vision2 tour.


Revision 38764 - Directory Listing
Modified Fri Aug 29 17:31:03 2003 UTC (16 years, 5 months ago) by rogers
Added `children'. This will permit us to remove the reliance on the
structure of the layout item to determine the children of an object.
When the change is completed, the structure displayed in the layout
constructor may in theory be completely independent from the actual
obejct structure.


Revision 38763 - Directory Listing
Modified Fri Aug 29 17:09:53 2003 UTC (16 years, 5 months ago) by rogers
Added `blocking_window' which was missing from this version.


Revision 38760 - Directory Listing
Modified Fri Aug 29 02:07:30 2003 UTC (16 years, 5 months ago) by rogers
Exported `default_state' to GB_OBJECT_EDITOR, as it is required.


Revision 38758 - Directory Listing
Modified Fri Aug 29 01:46:03 2003 UTC (16 years, 5 months ago) by rogers
Temporarily commented out the previous changes, as they are incompatible
with the Vision2 tour. Must re-implement as soon as possible in a fashion
that does not break the tour.


Revision 38757 - Directory Listing
Modified Fri Aug 29 01:44:59 2003 UTC (16 years, 5 months ago) by rogers
Temporarily commented out the previous commit changes, as they break
the Vision2 tour. Must re-implement a full solution as soon as possible.


Revision 38748 - Directory Listing
Modified Thu Aug 28 00:21:18 2003 UTC (16 years, 5 months ago) by rogers
Initial version.


Revision 38747 - Directory Listing
Modified Thu Aug 28 00:17:04 2003 UTC (16 years, 5 months ago) by rogers
Changed all calls to `set_x_position' and `set_y_position' to
`set_item_x_position' and `set_item_y_position'.


Revision 38746 - Directory Listing
Modified Thu Aug 28 00:16:27 2003 UTC (16 years, 5 months ago) by rogers
Removed almost all handling of children positioning, as this is now
performed in the new class GB_FIXED_POSITIONER which is an EiffelBuild
generated class, and contains all logic for this handling.


Revision 38745 - Directory Listing
Modified Thu Aug 28 00:14:35 2003 UTC (16 years, 5 months ago) by rogers
Added new dialog to project, GB_FIXED_POSITIONER which is used
to position children of an EV_FIXED. Now that it is a true EiffelBuild
dialog, interface modifications will be trivial.


Revision 38740 - Directory Listing
Modified Wed Aug 27 21:42:20 2003 UTC (16 years, 5 months ago) by rogers
Clicking on a representation of a widget within the viewer will select it.
This does not change the existing behaviour, which is when an item is
sleected in the list, it will be higlighted, just provides more flexibility
for the user.


Revision 38734 - Directory Listing
Modified Wed Aug 27 19:09:08 2003 UTC (16 years, 5 months ago) by rogers
Removed `icon_path', and replaced all usage with `pixmap_suffix', as
we no longer use .ICO files with EiffelBuild, and png are used on both
platforms.


Revision 38730 - Directory Listing
Modified Wed Aug 27 18:57:59 2003 UTC (16 years, 5 months ago) by rogers
Updated to handle named constant files when we are geenrating using Windows
as clients.


Revision 38729 - Directory Listing
Modified Wed Aug 27 18:57:18 2003 UTC (16 years, 5 months ago) by rogers
Split `window_access_as_dialog' into `window_access_as_dialog_part1' and
`window_access_as_dialog_part2', permitting the actual constant name to be
inserted between the two parts during generation.


Revision 38728 - Directory Listing
Modified Wed Aug 27 18:47:39 2003 UTC (16 years, 5 months ago) by rogers
`set_attributes' now creates `referers' which was previously causing an
invariant to fail, and would invariably lead to problems.


Revision 38727 - Directory Listing
Modified Wed Aug 27 18:46:15 2003 UTC (16 years, 5 months ago) by rogers
Split `window_inheritance' into two parts, `window_inheritance_part1' and
`window_inheritance_part2' which permits us to insert a value for the
constants class name, in the middle.


Revision 38726 - Directory Listing
Modified Wed Aug 27 18:44:15 2003 UTC (16 years, 5 months ago) by rogers
Updated generation to reflect fact that a user may now select the
name of the constants file to be generated. Instead of using the
hard coded value "constants", we query the project settings to get this
value.


Revision 38723 - Directory Listing
Modified Wed Aug 27 17:42:30 2003 UTC (16 years, 5 months ago) by rogers
Latest generated versions. Minor changes, and added a constants class
name field to the system window.


Revision 38722 - Directory Listing
Modified Wed Aug 27 17:40:18 2003 UTC (16 years, 5 months ago) by rogers
Updated handling of enabled/disabled control as project/class options
are selected. No longer use `class_naming_frame', but instead use
`project_specific_name_holder'.
Added saving of new attribute, the constants class name field.


Revision 38721 - Directory Listing
Modified Wed Aug 27 17:38:05 2003 UTC (16 years, 5 months ago) by rogers
Added `directory_addition' tip.


Revision 38720 - Directory Listing
Modified Wed Aug 27 17:37:37 2003 UTC (16 years, 5 months ago) by rogers
Added handling of a constant class name to the project, including
`constants_class_name' and `set_constants_class_name'.


Revision 38716 - Directory Listing
Modified Tue Aug 26 23:24:53 2003 UTC (16 years, 5 months ago) by rogers
`reset_object' now calls `delete' on the object which performs any
necessary processing for the object to be deleted. This fixes a bug
where radio groupings were not reset, as other containers still had
the old version of the reset object in their groups.


Revision 38715 - Directory Listing
Modified Tue Aug 26 23:21:38 2003 UTC (16 years, 5 months ago) by rogers
Fixed bug in `delete' which was not removing all radio button groups.


Revision 38704 - Directory Listing
Modified Tue Aug 26 19:18:59 2003 UTC (16 years, 5 months ago) by rogers
`Current' will no longer crash if a file with the correct extension
is attempted to be loaded. There are two cases:
1. An individual pixmap is selected, so we warn, and prompt the user to
select a new image.
2. A directory of images is selected, so we ignore any that cannot be
read, and continue.


Revision 38691 - Directory Listing
Modified Tue Aug 26 17:28:39 2003 UTC (16 years, 5 months ago) by rogers
Removed actual width text boxes which were used for displaying the
current minimum dimensions. These were not needed, as the main text
entry box always displays the current setting.


Revision 38690 - Directory Listing
Modified Tue Aug 26 17:17:11 2003 UTC (16 years, 5 months ago) by rogers
`set_text' now calls `update_editors' which ensures that the minimum
size attributes are updated for a widget. This was perviously performed,
but was lost during the update to the new interface that supports
constants.


Revision 38678 - Directory Listing
Modified Mon Aug 25 23:28:00 2003 UTC (16 years, 5 months ago) by rogers
Added tooltips to the associated tool bar buttons.


Revision 38672 - Directory Listing
Modified Mon Aug 25 21:14:14 2003 UTC (16 years, 5 months ago) by rogers
Added `expanded_in_box', `disable_expanded_in_box' and
`enable_expanded_in_box', for handling of a widgets resizing behaviour
when parented in an EV_BOX. The expanded state of the widget is now
maintained as it is moved between boxes.


Revision 38671 - Directory Listing
Modified Mon Aug 25 20:02:10 2003 UTC (16 years, 5 months ago) by rogers
Modified `update_widget_expanded' to modify the `expanded_in_box' flag.
This permits widgets to retain their expanded state when moved between
boxes.


Revision 38670 - Directory Listing
Modified Mon Aug 25 19:37:46 2003 UTC (16 years, 5 months ago) by rogers
Updated `modify_from_xml_after_build' so that if an item is disabled
in a box, the object will be flagged as disabled. This permits the
expanded state of an item to be maintained, as it is moved from box to
box.


Revision 38669 - Directory Listing
Modified Mon Aug 25 19:35:29 2003 UTC (16 years, 5 months ago) by rogers
Modified `add_child_object', so that if `Current' is a box, the expanded
state of the child is updated, based on its `expanded_in_box' flag.


Revision 38668 - Directory Listing
Modified Mon Aug 25 17:14:25 2003 UTC (16 years, 5 months ago) by rogers
`add_default_names' now flags the project as modified, permitting saving.


Revision 38667 - Directory Listing
Modified Mon Aug 25 16:45:24 2003 UTC (16 years, 5 months ago) by rogers
Now, performing a ctrl-right click on `Current' will display a new object
editor containing `object'. Before, ctrl-right click performed no function.


Revision 38666 - Directory Listing
Modified Mon Aug 25 16:32:23 2003 UTC (16 years, 5 months ago) by rogers
Fixed bug in `add_default_names' which was not displaying the new name if
any of the objects that were just named were displayed in object editors.
The name was set, but the object editors were not updated.


Revision 38664 - Directory Listing
Modified Sat Aug 23 00:59:20 2003 UTC (16 years, 6 months ago) by rogers
Removed call to `initialize_preferences' within `execute' as it is no
longer required, as the preferences call this as part of their newly
modified version of `default_create'.


Revision 38663 - Directory Listing
Modified Sat Aug 23 00:57:59 2003 UTC (16 years, 6 months ago) by rogers
Redefined `default_create'. to call `reset_generation_constants'. This
permits the addition of class invariants, ensuring that these attributes
are never Void. This ensures the the behaviour of these attributes
during generation is known. Previously, there were checks for some of them
being Void, when this was never the case. Any of these checks, have now
been updated to checking for `is_empty', and this ensures that paticular
generated comments are no longer lost which was the case before this change.
For example, the "build widget structure" was lost, due to this bug.


Revision 38662 - Directory Listing
Modified Sat Aug 23 00:54:55 2003 UTC (16 years, 6 months ago) by rogers
Redefined `default_create' to call `initialize_preferences', as this
simplifies client usage, as there is no need for them to create the
preferences, and then call `initialize_preferences' explicitly.


Revision 38661 - Directory Listing
Modified Sat Aug 23 00:53:58 2003 UTC (16 years, 6 months ago) by rogers
Fixed bug in `initialize'. Creation of `Current' would fail, as it would
call itself back through the interface during `initialize', and as
`is_initialized' was not set until `initialize' had completed, it would
fail. By moving this to the start, the call back no longer fails.


Revision 38660 - Directory Listing
Modified Sat Aug 23 00:51:44 2003 UTC (16 years, 6 months ago) by rogers
Fixed `default_object_by_type' to turn assertion checking off before
creating a new instance of an EV_ANY, as it would fail with full assertions
on. Exported inherited features to {NONE}.


Revision 38659 - Directory Listing
Modified Fri Aug 22 22:53:53 2003 UTC (16 years, 6 months ago) by rogers
Updated `modify_from_xml' to call `set_name', instead of setting `name'
directly. This ensures that `edited_name' is also set, ensuring that the
object is set into its correct initial state.


Revision 38657 - Directory Listing
Modified Fri Aug 22 22:51:38 2003 UTC (16 years, 6 months ago) by rogers
Added `renaming_window' tip.


Revision 38656 - Directory Listing
Modified Fri Aug 22 22:50:37 2003 UTC (16 years, 6 months ago) by rogers
Updated `Eiffel_preferences' to look in Eiffel54\build which is the
location that will be created during the installation for this information.


Revision 38655 - Directory Listing
Modified Fri Aug 22 22:49:29 2003 UTC (16 years, 6 months ago) by rogers
Fixed bug in `name_and_type' from object which was causing an objects
name to not be updated correctly in all representations when edited to
a length smaller than its original. We now compare `output_name' and
`name' to ensure they are not equal before deciding which to take, instead
of comparing the length.


Revision 38654 - Directory Listing
Modified Fri Aug 22 20:02:35 2003 UTC (16 years, 6 months ago) by rogers
Fixed bug in `update_recent_projects' which was not disabling the
menu if there were no recent projects.


Revision 38651 - Directory Listing
Modified Fri Aug 22 17:06:40 2003 UTC (16 years, 6 months ago) by rogers
Corrected bad behaviour during saving/restoring of tool positions.
The multiple split area informs us that an itme is minimized while
another one is maximized, although this is not strictly the case.
In `store_tool_positions', we now check if one is maximized, and if so,
we do not store other tools as minimized. This is a mush better solution
until the multiple split area can restore correct information.


Revision 38643 - Directory Listing
Modified Fri Aug 22 01:22:20 2003 UTC (16 years, 6 months ago) by rogers
Updated to reflect the new three states of the attributes local flag.
Not all three are handled yet, but a satisfactory 2 state solution is
now in place. At some point in the future, this should be updated so an
option is available for all three states.


Revision 38625 - Directory Listing
Modified Thu Aug 21 23:49:52 2003 UTC (16 years, 6 months ago) by rogers
Modified `set_default_values' so that optimal is used. Without this
setting, running EiffelBuild in wizard mode caused it to crash.


Revision 38624 - Directory Listing
Modified Thu Aug 21 23:32:24 2003 UTC (16 years, 6 months ago) by rogers
Fixed bug when each local was to be placed on a seperate line, the feature
clause was not generated.


Revision 38623 - Directory Listing
Modified Thu Aug 21 23:31:24 2003 UTC (16 years, 6 months ago) by rogers
Removed unused local.


Revision 38622 - Directory Listing
Modified Thu Aug 21 23:31:05 2003 UTC (16 years, 6 months ago) by rogers
Latest versions. Improved layout of system dialog, and used the
new generation flag which only exports named attributes.


Revision 38621 - Directory Listing
Modified Thu Aug 21 23:30:14 2003 UTC (16 years, 6 months ago) by rogers
Updated to reflect the fact the `project_settings.attributes_local' is
no logner a boolean, and instead, three states must be handled.


Revision 38620 - Directory Listing
Modified Thu Aug 21 23:10:02 2003 UTC (16 years, 6 months ago) by rogers
Added `optimal_string'.


Revision 38619 - Directory Listing
Modified Thu Aug 21 23:09:29 2003 UTC (16 years, 6 months ago) by rogers
Removed code from `ouput_attributes' which generated a name into the XML
if the object was not already named. This is no longer performed, as it
is now performed by the GB_CODE_GENERATOR while prepassing the XML.


Revision 38618 - Directory Listing
Modified Thu Aug 21 23:05:20 2003 UTC (16 years, 6 months ago) by rogers
Removed useless code which was probably there for debugging purposes.


Revision 38617 - Directory Listing
Modified Thu Aug 21 23:04:31 2003 UTC (16 years, 6 months ago) by rogers
Removed extra spaces.


Revision 38616 - Directory Listing
Modified Thu Aug 21 23:04:19 2003 UTC (16 years, 6 months ago) by rogers
Added `generated_name' and setting `enable_generated_name', permitting
querying of whether a name has generated by EiffelBuild for the purposes
of generation only.


Revision 38615 - Directory Listing
Modified Thu Aug 21 23:02:53 2003 UTC (16 years, 6 months ago) by rogers
Re-implemented generation to permit the ordering of named/unnamed
objects locally or exported. Added `generated_names', required to stop
identical names being generated. The step of generating names for unnamed
objects is now performed in this class, instead of at the previous step.
This lets us determine if an object was named or not, and add this
information as a flag in the generated info.


Revision 38614 - Directory Listing
Modified Thu Aug 21 22:56:59 2003 UTC (16 years, 6 months ago) by rogers
Changed type of `attributes_local' to STRING, instead of BOOLEAN.
This permits a third option, "Optimal" to be added while retaining backwards
compatibility. Removed `enable_attributes_local' and `disable_attributes_local',
and replaced with `set_attributes_locality'.


Revision 38611 - Directory Listing
Modified Wed Aug 20 19:14:39 2003 UTC (16 years, 6 months ago) by rogers
Fixed `load' so that the menu bar of `main_window' is disabled before
the load begins, and enabled again after the load is completed.
This stops somebody loading a large project, and while it is loading,
selecting a different menu option, thereby crashing EiffelBuild.


Revision 38610 - Directory Listing
Modified Wed Aug 20 19:08:31 2003 UTC (16 years, 6 months ago) by rogers
Renamed `a_menu_bar' to `main_menu_bar', as the name is more appropriate.
Added `disable_menus', `enabled_menus' and the supporting procedure
`update_menu_sensitivity' which permits all menu items to be disabled
or enabled as necessary.


Revision 38609 - Directory Listing
Modified Wed Aug 20 18:30:14 2003 UTC (16 years, 6 months ago) by rogers
Within `load', if a window must be marked as the root, the status is then
modified, so that the project does not show up as modified.


Revision 38608 - Directory Listing
Modified Wed Aug 20 18:16:38 2003 UTC (16 years, 6 months ago) by rogers
Modified `open_named_project', so that it does not crash if the project
is no longer on disk, but instead will display a warning dialog.


Revision 38607 - Directory Listing
Modified Wed Aug 20 17:52:58 2003 UTC (16 years, 6 months ago) by rogers
Added `name_in_use', used for checking the name is valid. Previously,
the checking which was performed in 4 different places was more messy.
This now ensures that you do not try to name an object that clashes
with a constant, which was previsouly permitted.
Fixed bug when setting the name to a reserved word, such as "once", and
then selecting a different object in the layout constructor. The invalid
name was previously set as the new name, instead of being rejected.


Revision 38605 - Directory Listing
Modified Wed Aug 20 01:22:28 2003 UTC (16 years, 6 months ago) by rogers
Slight tidying of `object' and updated export status from inherited
classes.


Revision 38604 - Directory Listing
Modified Wed Aug 20 01:19:03 2003 UTC (16 years, 6 months ago) by rogers
`add_new_component' now flattens the constants in the XML, as components
may not use constants for now.


Revision 38603 - Directory Listing
Modified Wed Aug 20 01:17:16 2003 UTC (16 years, 6 months ago) by rogers
Added `flatten_constants' which takes an XM_ELEMENT as an argument,
and flattens any constants stored (recursively), to manifest values.


Revision 38602 - Directory Listing
Modified Wed Aug 20 01:14:06 2003 UTC (16 years, 6 months ago) by rogers
Re-implemented `value_as_string' so that it returns the complete path
if the pixmap is not absolute.


Revision 38597 - Directory Listing
Modified Tue Aug 19 18:58:02 2003 UTC (16 years, 6 months ago) by rogers
If one or more template files are missing, it will no longer crash.
A dialog is now displayed, warning of the missing files, and notifying
you that the generation has failed.


Revision 38573 - Directory Listing
Modified Mon Aug 18 22:44:12 2003 UTC (16 years, 6 months ago) by rogers
Added `currently_selected_type', used internally, to stop rebuilding of all
types, when an item is selected in the list. Also improved appearence of
`rebuild_for_selected_type' on Windows by using `lock_update'.


Revision 38566 - Directory Listing
Modified Mon Aug 18 19:17:39 2003 UTC (16 years, 6 months ago) by rogers
Updated to reflect name change of `unique_name' to
`unique_name_from_array'.


Revision 38565 - Directory Listing
Modified Mon Aug 18 19:15:31 2003 UTC (16 years, 6 months ago) by rogers
Updated to correctly handle repeated names being used for constants
when selecting whoel directories.


Revision 38564 - Directory Listing
Modified Mon Aug 18 19:10:40 2003 UTC (16 years, 6 months ago) by rogers
Updated to reflect name change of `unique_name', to
`unique_name_from_array'.


Revision 38563 - Directory Listing
Modified Mon Aug 18 19:10:00 2003 UTC (16 years, 6 months ago) by rogers
Renamed `unique_name' as `unique_name_from_array', and added
`unique_name_from_hash_table'.


Revision 38535 - Directory Listing
Modified Sat Aug 16 01:41:11 2003 UTC (16 years, 6 months ago) by rogers
`as_multi_column_list_row' now ensures that its result has three items,
instead of two. Without this, the searching would crash in the constants
dialog, as it would attempt to search a Void entry.


Revision 38534 - Directory Listing
Modified Sat Aug 16 01:36:22 2003 UTC (16 years, 6 months ago) by rogers
A comparator used for searching with a DS_ARRAY_QUICK_SORTER with items
of type EV_MULTI_COLUMN_LIST_ROW.


Revision 38533 - Directory Listing
Modified Sat Aug 16 01:32:53 2003 UTC (16 years, 6 months ago) by rogers
Clicking on the title of the constants list now sorts the list based
on the contents of that column. The feature `perform_sort' was added
for this.


Revision 38515 - Directory Listing
Modified Fri Aug 15 01:23:25 2003 UTC (16 years, 6 months ago) by rogers
Added two new constants for referencing paticular preferences.


Revision 38514 - Directory Listing
Modified Fri Aug 15 01:22:46 2003 UTC (16 years, 6 months ago) by rogers
Added support for deleting windows and dialogs via the keyboard.
Quite a major update, as three different types of warning dialogs must
be displayed, and both windows and dialogs must be handled.


Revision 38509 - Directory Listing
Modified Thu Aug 14 22:33:55 2003 UTC (16 years, 6 months ago) by rogers
Added `check_for_component_delete' which checks if the delete key was
pressed, and then deletes the component.
The delete component warning is no longer shown, as there is a warning
when you perform this via the keyboard, and as it is not possible
to pick and drop by accident, there is no need for this original warning.


Revision 38508 - Directory Listing
Modified Thu Aug 14 22:21:09 2003 UTC (16 years, 6 months ago) by rogers
Simplified arguments to `make'. The client is no longer responsible
for passing the objects parent, and its positions. It simply needs to
pass the object, and teh rest may be calculated.


Revision 38507 - Directory Listing
Modified Thu Aug 14 22:20:16 2003 UTC (16 years, 6 months ago) by rogers
Updated `delete_object' to reflect simplified arguments required by
`make' of `GB_COMMAND_DELETE_WINDOW_OBJECT'.


Revision 38506 - Directory Listing
Modified Thu Aug 14 22:11:44 2003 UTC (16 years, 6 months ago) by rogers
Added `check_for_object_delete' and `delete_object' so that if a user
presses the delete key while an item is sleected, it will be deleted.


Revision 38505 - Directory Listing
Modified Thu Aug 14 22:09:51 2003 UTC (16 years, 6 months ago) by rogers
Added `show_deleting_keyboard_warning'.


Revision 38504 - Directory Listing
Modified Thu Aug 14 22:08:57 2003 UTC (16 years, 6 months ago) by rogers
Added do not delete warning directory constants.


Revision 38500 - Directory Listing
Modified Thu Aug 14 17:53:48 2003 UTC (16 years, 6 months ago) by rogers
Fixed bug in `ok_button_pressed'. When selecting multiple pixmaps,
and unselecting a number of them, it would go into an infinite loop.
This is due to the fact the call to `forth' was performed in the
processing for a selected pixmap. Therefore, the loop would never exit.


Revision 38498 - Directory Listing
Modified Thu Aug 14 17:36:39 2003 UTC (16 years, 6 months ago) by manus
Removed inheritance to MEMORY and call to `collection_off' as the mistery of
crashing was solved (due to `deep_clone' called in SEQUENCE.append when
you merge radio buttons twice b1.merge (b2) and then b2.merge (b1)).


Revision 38497 - Directory Listing
Modified Thu Aug 14 17:35:09 2003 UTC (16 years, 6 months ago) by manus
Updated to match current version of WEL to get resources.


Revision 38492 - Directory Listing
Modified Thu Aug 14 00:49:03 2003 UTC (16 years, 6 months ago) by rogers
Latest generated versions.


Revision 38491 - Directory Listing
Modified Thu Aug 14 00:48:28 2003 UTC (16 years, 6 months ago) by rogers
Implemented `return_pressed' to accept the setting, and close the dialog.
Removed commented code.


Revision 38490 - Directory Listing
Modified Thu Aug 14 00:47:49 2003 UTC (16 years, 6 months ago) by rogers
Latest generated version. Added `return_pressed'.


Revision 38489 - Directory Listing
Modified Thu Aug 14 00:39:16 2003 UTC (16 years, 6 months ago) by rogers
Upated to keep in line with another bug in dialogs that was fixed, but
not updated in this class. See Revision 1.20 of EV_DIALOG_IMP_COMMON in
EiffelVision2.


Revision 38488 - Directory Listing
Modified Wed Aug 13 23:48:21 2003 UTC (16 years, 6 months ago) by rogers
`close_button' is now also the default push button, so pressing either
enter or escape closes `Current'.


Revision 38487 - Directory Listing
Modified Wed Aug 13 23:37:41 2003 UTC (16 years, 6 months ago) by rogers
`window_shown' now centers `Current' on its blocking window.


Revision 38486 - Directory Listing
Modified Wed Aug 13 23:33:52 2003 UTC (16 years, 6 months ago) by rogers
Added `blocking_window' which keeps this modified version of the
dialog in line with the actual EiffelVision2 version.


Revision 38481 - Directory Listing
Modified Wed Aug 13 22:14:27 2003 UTC (16 years, 6 months ago) by rogers
Latest versions generated by EiffelBuild.


Revision 38480 - Directory Listing
Modified Wed Aug 13 22:11:13 2003 UTC (16 years, 6 months ago) by rogers
Initial version.


Revision 38479 - Directory Listing
Modified Wed Aug 13 22:03:17 2003 UTC (16 years, 6 months ago) by rogers
Changed `Component_invalid_name_warning' so that it reads better.


Revision 38478 - Directory Listing
Modified Wed Aug 13 22:02:17 2003 UTC (16 years, 6 months ago) by rogers
now inherits GB_NAMING_UTILITIES, and uses GB_NAMING_DIALOG instead of
GB_COMPONENT_NAMER_DIALOG for retreiving the name of the new component.


Revision 38477 - Directory Listing
Modified Wed Aug 13 22:01:02 2003 UTC (16 years, 6 months ago) by rogers
Now inherits GB_NAMING_UTILITIES, and when creating a new directory, the
new dialog GB_NAMING_DIALOG is used instead of GB_COMPONENT_NAMER_DIALOG
which was too specific.


Revision 38452 - Directory Listing
Modified Wed Aug 13 18:20:47 2003 UTC (16 years, 6 months ago) by rogers
added `remove_root_window'.


Revision 38451 - Directory Listing
Modified Wed Aug 13 18:20:23 2003 UTC (16 years, 6 months ago) by rogers
`perform_close' now sets the root window back to Void. This fixes a bug
where you had an old EiffelBuild project that did not have a root window
(no notion in these old projects), and you open it, close it and open it
again. It would cause problems, as EiffelBuild believed that it had found
a root window as it was the one set from the first project usage, and
due to this, it woudl crash.


Revision 38449 - Directory Listing
Modified Wed Aug 13 17:44:27 2003 UTC (16 years, 6 months ago) by rogers
Added preconditions to `constant_removed', `constant_changed' and
`constant_added'. Fixed bug in `constant_removed' which was only removing
the pixmap from the list if constants were selected. This was incorrect as
the list is static (not rebuilt when shown), and should be always updated.


Revision 38440 - Directory Listing
Modified Wed Aug 13 00:08:59 2003 UTC (16 years, 6 months ago) by rogers
Now inherts GB_RECENT_PROJECTS instead of GB_SHARED_SYSTEM_STATUS.
This change facilitates the updating of the recent projects when the
project is closed.


Revision 38439 - Directory Listing
Modified Wed Aug 13 00:07:54 2003 UTC (16 years, 6 months ago) by rogers
Initial.


Revision 38438 - Directory Listing
Modified Wed Aug 13 00:07:34 2003 UTC (16 years, 6 months ago) by rogers
Now inherits GB_RECENT_PROJECTS instead of GB_SHARED_SYSTEM_STATUS.
Added `update_recent_projects' and `open_named_project', permitting the
opening of recent projects.


Revision 38437 - Directory Listing
Modified Wed Aug 13 00:06:27 2003 UTC (16 years, 6 months ago) by rogers
Added `referenced_close_agents' and
`register_preference_window_post_display_event'. This permits immediate
response to preferences that have been changed.


Revision 38391 - Directory Listing
Modified Fri Aug 8 01:30:24 2003 UTC (16 years, 6 months ago) by rogers
Changed project location changed warning dialogs to discardable dialogs.


Revision 38390 - Directory Listing
Modified Fri Aug 8 01:29:46 2003 UTC (16 years, 6 months ago) by rogers
Added `show_project_location_changed_warning'.


Revision 38305 - Directory Listing
Modified Tue Aug 5 00:08:49 2003 UTC (16 years, 6 months ago) by rogers
Fixed bug in `generate_code' which now adds a creation procedure for
`internal_font', before each setting. This is due to a bug in the Windows
implementation of font handling, where the log font is not cloned
internally.


Revision 38304 - Directory Listing
Modified Tue Aug 5 00:06:00 2003 UTC (16 years, 6 months ago) by rogers
Removed second removal of internal font line, as there is now only one
in the template file.


Revision 38258 - Directory Listing
Modified Thu Jul 31 18:54:06 2003 UTC (16 years, 6 months ago) by rogers
Removed unused locals.


Revision 38257 - Directory Listing
Modified Thu Jul 31 18:53:17 2003 UTC (16 years, 6 months ago) by rogers
Now stores the restore position for all external docked tools. This means
that if you dock a tool out, close Build, restart Build, and close
the dockable dialog, the tool will be restored back to its original place.


Revision 38256 - Directory Listing
Modified Thu Jul 31 18:51:00 2003 UTC (16 years, 6 months ago) by rogers
Corrected postcondition of `add_constant_context'.


Revision 38255 - Directory Listing
Modified Thu Jul 31 18:49:15 2003 UTC (16 years, 6 months ago) by rogers
Commented out unused locals in line with commented code in this class.


Revision 38254 - Directory Listing
Modified Thu Jul 31 17:55:29 2003 UTC (16 years, 6 months ago) by rogers
Fixed postcondition of `add_referer'.


Revision 38253 - Directory Listing
Modified Thu Jul 31 17:54:48 2003 UTC (16 years, 6 months ago) by rogers
Removed unused locals.


Revision 38252 - Directory Listing
Modified Thu Jul 31 17:54:29 2003 UTC (16 years, 6 months ago) by rogers
Corrected postcondition og `add_cross_referer' and removed unused locals.


Revision 38251 - Directory Listing
Modified Thu Jul 31 17:45:06 2003 UTC (16 years, 6 months ago) by rogers
Removed unused constants, and fixed postcondition of
`make_with_name_and_value'.


Revision 38250 - Directory Listing
Modified Thu Jul 31 17:44:14 2003 UTC (16 years, 6 months ago) by rogers
Removed unused locals.


Revision 38248 - Directory Listing
Modified Thu Jul 31 00:43:08 2003 UTC (16 years, 6 months ago) by rogers
`generate_xml' now encloses the data in a CDATA tag, which was removed in
error during a previous change. This permits multiple lines of text
to be entered without corrupting the XML file.


Revision 38242 - Directory Listing
Modified Wed Jul 30 18:50:10 2003 UTC (16 years, 6 months ago) by rogers
Fixed bug when exiting EiffelBuild while a project is open. The
positions of the multiple split area tools were not recorded.


Revision 38241 - Directory Listing
Modified Wed Jul 30 17:57:57 2003 UTC (16 years, 6 months ago) by rogers
Removed misleading commented which no longer holds, from
`initialize_agents'.


Revision 38240 - Directory Listing
Modified Wed Jul 30 17:56:33 2003 UTC (16 years, 6 months ago) by rogers
Removed some unused and commented out constants, and added
`select_directory_location_modify_string'.


Revision 38239 - Directory Listing
Modified Wed Jul 30 17:55:26 2003 UTC (16 years, 6 months ago) by rogers
Latest version.


Revision 38238 - Directory Listing
Modified Wed Jul 30 17:54:19 2003 UTC (16 years, 6 months ago) by rogers
latest version of generated file.


Revision 38237 - Directory Listing
Modified Wed Jul 30 17:51:29 2003 UTC (16 years, 6 months ago) by rogers
Removed commented out code which was the feature `file_name_item_selected'
which is not used.
Added a meaningful title to the directory dialog displayed during
modification of an existing directroy location.


Revision 38236 - Directory Listing
Modified Wed Jul 30 17:47:43 2003 UTC (16 years, 6 months ago) by rogers
`make_in_modify_mode' now blocks the `select_actions' of the text fields,
before setting their names, which prevents the "OK" button from being
sensitive, as it should not as a pixmap has not yet been selected.
Before this change, the "OK" button would be sensitive immediately
after being displayed, and selecting it caused a crash.


Revision 38233 - Directory Listing
Modified Wed Jul 30 01:32:50 2003 UTC (16 years, 6 months ago) by rogers
Temporarily commented out implementation of `get_unique_pixmap_name'
due to recent changes that must be finished. This ensures that it will
compile temporarily.


Revision 38215 - Directory Listing
Modified Mon Jul 28 16:22:41 2003 UTC (16 years, 6 months ago) by rogers
Changed type of `build_reserved_words' to a HASH_TABLE for quicker
access to name clash checks.


Revision 38214 - Directory Listing
Modified Mon Jul 28 16:21:33 2003 UTC (16 years, 6 months ago) by rogers
Changed reserved words to a HASH_TABLE for quicker checking.


Revision 38213 - Directory Listing
Modified Mon Jul 28 16:20:34 2003 UTC (16 years, 6 months ago) by rogers
Undefined `on_mouse_wheel' from WEL.


Revision 38212 - Directory Listing
Modified Mon Jul 28 15:37:45 2003 UTC (16 years, 6 months ago) by manus
Removed `const' clusters since it is now empty.


Revision 38176 - Directory Listing
Modified Wed Jul 23 23:18:58 2003 UTC (16 years, 7 months ago) by rogers
Changed type of `build_Reserved_words' to a HASH_TABLE instead of
an ARRAYED_LIST. This speeds up the searching to see if a name is included.
Added a number of missing words that should not be permitted.


Revision 38175 - Directory Listing
Modified Wed Jul 23 21:58:37 2003 UTC (16 years, 7 months ago) by rogers
The peoject name is now inserted as lowercase, to stop all compiled
projects from having an executable name in uppercase.


Revision 38174 - Directory Listing
Modified Wed Jul 23 21:37:04 2003 UTC (16 years, 7 months ago) by rogers
Fixed bug in `modify_buton_selected'. We now update all pixmap
representations relying on the modified directory in `constants_list'.


Revision 38172 - Directory Listing
Modified Wed Jul 23 17:34:40 2003 UTC (16 years, 7 months ago) by rogers
Latest generated versions.


Revision 38140 - Directory Listing
Modified Tue Jul 22 18:34:41 2003 UTC (16 years, 7 months ago) by rogers
Modified `generate_code' to return an ARRAYED_LIST [STRING], one for
each line, instead of a STRING containing all lines. This simplifies
the code generation, and fixes bugs when you had three or more properties
set on a window. Thsi change offsets the formatting to the code generator
which is where it should be.


Revision 38139 - Directory Listing
Modified Tue Jul 22 18:31:05 2003 UTC (16 years, 7 months ago) by rogers
Re-implemented `generate_setting' to handle new return type from
`geenrate_code' of GB_EV_ANY.


Revision 38138 - Directory Listing
Modified Tue Jul 22 18:24:42 2003 UTC (16 years, 7 months ago) by rogers
Changed return type of `generate_code' to ARRAYED_LIST [STRING] instead
of a STRING. This offsets the formatting of multiple lines of code to
the generator, and both simplifies what must be performed within
`generate_code', and fixes existing bugs where if you select three or
more properties applied to a window, the geenrated code would not compile.
Rmeoved unused locals.


Revision 38137 - Directory Listing
Modified Tue Jul 22 17:19:38 2003 UTC (16 years, 7 months ago) by rogers
Added generation for loading constants from file, and generation of
this file. At the moment, only String and Integer constants are loaded in
this fashion.


Revision 38136 - Directory Listing
Modified Tue Jul 22 17:18:23 2003 UTC (16 years, 7 months ago) by rogers
Corrected name and tooltip displayed for `Current'.


Revision 38135 - Directory Listing
Modified Tue Jul 22 17:17:44 2003 UTC (16 years, 7 months ago) by rogers
Added `show_hide_constants_window_menu_text'.


Revision 38122 - Directory Listing
Modified Mon Jul 21 18:23:52 2003 UTC (16 years, 7 months ago) by rogers
Added a minimum height.


Revision 38121 - Directory Listing
Modified Mon Jul 21 18:23:40 2003 UTC (16 years, 7 months ago) by rogers
Added a minimum height. Removed useless events from `pointer_enter_actions'
and `pointer_leave_actions' which were setting the minimum width. This
is left over from the initial implementation which was to have tools
expand when the mouse was moved over them.


Revision 38120 - Directory Listing
Modified Mon Jul 21 18:20:04 2003 UTC (16 years, 7 months ago) by rogers
Added `tool_minimum_height'.


Revision 38114 - Directory Listing
Modified Fri Jul 18 23:25:11 2003 UTC (16 years, 7 months ago) by rogers
Latest version generated by EiffelBuild.


Revision 38113 - Directory Listing
Modified Fri Jul 18 23:24:30 2003 UTC (16 years, 7 months ago) by rogers
Latest version.


Revision 38112 - Directory Listing
Modified Fri Jul 18 23:23:09 2003 UTC (16 years, 7 months ago) by rogers
major update. Added workaround for bug on Gtk with combo box delay
on event. Updated button handling for all cases for each diffferent
constant type.


Revision 38111 - Directory Listing
Modified Fri Jul 18 23:21:37 2003 UTC (16 years, 7 months ago) by rogers
Latest generated version. Now has a "New" button constantly.


Revision 38110 - Directory Listing
Modified Fri Jul 18 23:19:03 2003 UTC (16 years, 7 months ago) by rogers
Now inherits CONSTANTS.


Revision 38109 - Directory Listing
Modified Fri Jul 18 23:18:03 2003 UTC (16 years, 7 months ago) by rogers
Removed `remove_button_text' as it is now available from CONSTANTS
generated by the EiffelBuild project containing the dialogs.


Revision 38098 - Directory Listing
Modified Thu Jul 17 19:11:23 2003 UTC (16 years, 7 months ago) by rogers
Fixed bug in `replace_object' which was executing `move_object_contents'
when it should not have been. The error was due to an offset bracket in the
expression.

To reproduce, try to replace an empty EV_CELL with an EV_BUTTON.


Revision 38094 - Directory Listing
Modified Thu Jul 17 01:09:07 2003 UTC (16 years, 7 months ago) by rogers
Latest versions of generated files.


Revision 38093 - Directory Listing
Modified Thu Jul 17 01:06:21 2003 UTC (16 years, 7 months ago) by rogers
Added latest constant.


Revision 38092 - Directory Listing
Modified Thu Jul 17 01:03:59 2003 UTC (16 years, 7 months ago) by rogers
Added `new_gb_ev_any' which returns an instance of GB_EV_ANY based on a
GB_CONSTANT_CONTEXT. This may then be used to modify properties through
its list of validation and execution features.


Revision 38091 - Directory Listing
Modified Thu Jul 17 01:02:06 2003 UTC (16 years, 7 months ago) by rogers
Added `modify_value' for modification of `Current'.


Revision 38090 - Directory Listing
Modified Thu Jul 17 00:59:26 2003 UTC (16 years, 7 months ago) by rogers
Added `can_modify_to_value' and `modify_value' for modification of
`Current'.


Revision 38089 - Directory Listing
Modified Thu Jul 17 00:58:44 2003 UTC (16 years, 7 months ago) by rogers
Added `update' which rebuild representations of `Current' in system. This
does not update representations in object editors, so whoever calls
`update' must update all object editors also.


Revision 38088 - Directory Listing
Modified Thu Jul 17 00:55:55 2003 UTC (16 years, 7 months ago) by rogers
Constants are no longer undoable. This is because we cannot guarante that
traversing through the history will not cause state problems. This class
is still used for executing the command, however it is not added to
the histORY list.


Revision 38087 - Directory Listing
Modified Thu Jul 17 00:49:43 2003 UTC (16 years, 7 months ago) by rogers
Removed debugging code.


Revision 38086 - Directory Listing
Modified Thu Jul 17 00:47:49 2003 UTC (16 years, 7 months ago) by rogers
Added `constant_changed', which must be called when a constant has changed,
to update its appearence in `Current'. At the moment, only pixmap constants
must do anything.


Revision 38085 - Directory Listing
Modified Thu Jul 17 00:46:50 2003 UTC (16 years, 7 months ago) by rogers
Added `initialize_agents', `validate_agents' and execution_agents'
required for constant modification to modify an object's property.


Revision 38084 - Directory Listing
Modified Thu Jul 17 00:42:26 2003 UTC (16 years, 7 months ago) by rogers
Added `initialize_agents'.


Revision 38083 - Directory Listing
Modified Thu Jul 17 00:42:10 2003 UTC (16 years, 7 months ago) by rogers
Added `validate_agents' and `execution_agents' which permit a property
to be modified.


Revision 38082 - Directory Listing
Modified Thu Jul 17 00:37:52 2003 UTC (16 years, 7 months ago) by rogers
Added `constant_changed', so that the representation of a constant may be
updated as the constant changes.


Revision 38049 - Directory Listing
Modified Tue Jul 15 01:24:52 2003 UTC (16 years, 7 months ago) by rogers
Moved call to `populate_constants' until after `create pixmap_container'
within `attribute_editor' as this was causing crashes when a pixmap
constant was selected, and a new object was selected in the editor.


Revision 38048 - Directory Listing
Modified Tue Jul 15 00:19:40 2003 UTC (16 years, 7 months ago) by rogers
Removed temporary change in `pixmap_file_name' which was causing png's
to be loaded on all platforms. This is the goal, but it was committed in
error, as testing is still underway.


Revision 38047 - Directory Listing
Modified Tue Jul 15 00:07:22 2003 UTC (16 years, 7 months ago) by rogers
Renamed `warning_dialog' to `pixmap_warning_dialog'.


Revision 38039 - Directory Listing
Modified Mon Jul 14 16:50:10 2003 UTC (16 years, 7 months ago) by rogers
Updated in line with recent Build changes to make compileable.


Revision 38038 - Directory Listing
Modified Mon Jul 14 16:33:53 2003 UTC (16 years, 7 months ago) by rogers
Added more required constants.


Revision 38037 - Directory Listing
Modified Mon Jul 14 16:33:14 2003 UTC (16 years, 7 months ago) by rogers
Added more tips.


Revision 38036 - Directory Listing
Modified Mon Jul 14 16:29:00 2003 UTC (16 years, 7 months ago) by rogers
After we display the warning dialog, we store the preferences, so that if
a user requested that the dialog is no longer shown, it will not be.


Revision 38035 - Directory Listing
Modified Mon Jul 14 16:12:40 2003 UTC (16 years, 7 months ago) by rogers
A warning dialog is now displayed when the contents of the
field are not valid.


Revision 38031 - Directory Listing
Modified Sat Jul 12 22:44:43 2003 UTC (16 years, 7 months ago) by manus
Removed `line_generation' which causes problem while debugging C code.


Revision 37984 - Directory Listing
Modified Wed Jul 9 20:03:52 2003 UTC (16 years, 7 months ago) by rogers
Re-implemented `build_constants_file' so that each constant is implemented
as a once. This permits redefinition in descendents.


Revision 37983 - Directory Listing
Modified Wed Jul 9 19:57:07 2003 UTC (16 years, 7 months ago) by rogers
Removed unecessary inheritance from CONSTANTS.


Revision 37982 - Directory Listing
Modified Wed Jul 9 19:56:17 2003 UTC (16 years, 7 months ago) by rogers
Latest version. Now each constant is a function, permitting redefinition
in descendents.


Revision 37981 - Directory Listing
Modified Wed Jul 9 19:55:33 2003 UTC (16 years, 7 months ago) by rogers
latest version.


Revision 37980 - Directory Listing
Modified Wed Jul 9 19:54:37 2003 UTC (16 years, 7 months ago) by rogers
Re-ordering to include a pixmap.


Revision 37979 - Directory Listing
Modified Wed Jul 9 19:53:58 2003 UTC (16 years, 7 months ago) by rogers
Now inherits GB_SHARED_PIXMAPS, providing a Build specific version of
`png_location' to retrieve the pixmap constants defined.


Revision 37978 - Directory Listing
Modified Wed Jul 9 19:52:25 2003 UTC (16 years, 7 months ago) by rogers
Added `png_location' which returns the directory of the PNG files as
a string. This is used when a png must be referenced from a Build project
in Build, as the location is dependent on this value.


Revision 37974 - Directory Listing
Modified Tue Jul 8 23:25:46 2003 UTC (16 years, 7 months ago) by rogers
Added tip of the day option to the help menu, and added `show_tip_of_day'
feature to support this option.


Revision 37973 - Directory Listing
Modified Tue Jul 8 23:24:55 2003 UTC (16 years, 7 months ago) by rogers
Added `tip_of_day_index'.


Revision 37972 - Directory Listing
Modified Tue Jul 8 23:24:30 2003 UTC (16 years, 7 months ago) by rogers
Initial. Contains all EiffelBuild tips.


Revision 37971 - Directory Listing
Modified Tue Jul 8 23:22:52 2003 UTC (16 years, 7 months ago) by rogers
Added `Gb_help_tip_of_day_menu_text'.


Revision 37970 - Directory Listing
Modified Tue Jul 8 23:22:09 2003 UTC (16 years, 7 months ago) by rogers
Latest version with new changes to the gb_tip_of_the_day_dialog.


Revision 37969 - Directory Listing
Modified Tue Jul 8 23:21:10 2003 UTC (16 years, 7 months ago) by rogers
Latest version. Added full support for displaying tips based on information
in the registry.


Revision 37967 - Directory Listing
Modified Tue Jul 8 21:49:15 2003 UTC (16 years, 7 months ago) by rogers
No inherits GB_SHARED_PREFERENCES for tip of the day handling which is
displayed via a new feature `display_tip_of_the_day'.


Revision 37966 - Directory Listing
Modified Tue Jul 8 21:46:43 2003 UTC (16 years, 7 months ago) by rogers
Added `show_tip_of_the_day'.


Revision 37965 - Directory Listing
Modified Tue Jul 8 21:46:13 2003 UTC (16 years, 7 months ago) by rogers
Latest versions, slight interface modifications.


Revision 37964 - Directory Listing
Modified Tue Jul 8 21:45:34 2003 UTC (16 years, 7 months ago) by rogers
Initial version.


Revision 37958 - Directory Listing
Modified Tue Jul 8 18:28:08 2003 UTC (16 years, 7 months ago) by rogers
Removed manifest values and replaced with constants.


Revision 37957 - Directory Listing
Modified Tue Jul 8 18:27:44 2003 UTC (16 years, 7 months ago) by rogers
Removed temporary pixmap handling.


Revision 37956 - Directory Listing
Modified Tue Jul 8 18:26:39 2003 UTC (16 years, 7 months ago) by rogers
Converted manifest values to constants, and corrected updating of
buttons.


Revision 37955 - Directory Listing
Modified Tue Jul 8 18:25:45 2003 UTC (16 years, 7 months ago) by rogers
Removed temporary pixmap location code.


Revision 37954 - Directory Listing
Modified Tue Jul 8 18:25:00 2003 UTC (16 years, 7 months ago) by rogers
Updated to use constants, and also now remove any absolute pixmap that
is set when the constants button is selected.


Revision 37953 - Directory Listing
Modified Tue Jul 8 18:22:45 2003 UTC (16 years, 7 months ago) by rogers
Added new constants required for pixmap handling.


Revision 37947 - Directory Listing
Modified Tue Jul 8 00:21:47 2003 UTC (16 years, 7 months ago) by rogers
Latest version of generated interface files. Now use constants.


Revision 37946 - Directory Listing
Modified Tue Jul 8 00:20:23 2003 UTC (16 years, 7 months ago) by rogers
Major tidy up.


Revision 37945 - Directory Listing
Modified Mon Jul 7 23:55:17 2003 UTC (16 years, 7 months ago) by rogers
Now only lets you delete constants that are not required as dependencies
in the system, i.e. still referenced by objects or other constants.


Revision 37944 - Directory Listing
Modified Mon Jul 7 23:53:03 2003 UTC (16 years, 7 months ago) by rogers
`add_pixmap' now adds a cross reference to the directory the pixmap relies
on if any. `remove_constant_no_update' now handles updating of directory/
pixmap cross references.


Revision 37943 - Directory Listing
Modified Mon Jul 7 23:49:45 2003 UTC (16 years, 7 months ago) by rogers
Added `cross_referers', `add_cross_referer' and `remove_cross_referer'
for handling information regarding which pixmap constants rely on
`Current'.


Revision 37942 - Directory Listing
Modified Mon Jul 7 23:48:25 2003 UTC (16 years, 7 months ago) by rogers
Minor comment improvement.


Revision 37933 - Directory Listing
Modified Wed Jul 2 01:20:44 2003 UTC (16 years, 7 months ago) by rogers
Added `remove_real_target' in line with interface change.


Revision 37916 - Directory Listing
Modified Tue Jul 1 19:02:18 2003 UTC (16 years, 7 months ago) by rogers
Removed repeated inheritance from EV_CONTAINABLE in line with the
Vision2 version.


Revision 37915 - Directory Listing
Modified Tue Jul 1 18:16:15 2003 UTC (16 years, 7 months ago) by rogers
Removed most of the implementation from this class, as it is now inherited
from the parent class.


Revision 37913 - Directory Listing
Modified Tue Jul 1 18:15:16 2003 UTC (16 years, 7 months ago) by rogers
Removed most of the implementation as it is now inherited. This reduces
the repeated code, as it now only defined once in a parent.


Revision 37912 - Directory Listing
Modified Tue Jul 1 18:13:35 2003 UTC (16 years, 7 months ago) by rogers
Removed a large part of the implementation of this class as it is now
inherited.


Revision 37911 - Directory Listing
Modified Tue Jul 1 18:12:48 2003 UTC (16 years, 7 months ago) by rogers
Initial, a sub type for all pixmapable editor constructors.


Revision 37910 - Directory Listing
Modified Tue Jul 1 18:05:17 2003 UTC (16 years, 7 months ago) by rogers
Added `all_integer_input_fields', `all_string_input_fields' and
`all_pixmap_editors' which permit quick access to the fields that
contain constants. These are registered during creation of the obejct
editor items. This permits the object editor to be updated when constants
in the system change.


Revision 37909 - Directory Listing
Modified Tue Jul 1 18:02:10 2003 UTC (16 years, 7 months ago) by rogers
Added missing comment.


Revision 37908 - Directory Listing
Modified Tue Jul 1 18:01:26 2003 UTC (16 years, 7 months ago) by rogers
Added `constant_added' and `constant_removed' which are called when
a constant is updated.


Revision 37902 - Directory Listing
Modified Tue Jul 1 17:50:05 2003 UTC (16 years, 7 months ago) by rogers
Added `select_named_combo_item' which selects a combo item with matching
text, and `list_item_with_matching_text' which returns an item from
a list with matching text.


Revision 37901 - Directory Listing
Modified Tue Jul 1 17:48:19 2003 UTC (16 years, 7 months ago) by rogers
Minor spelling fix in comment.


Revision 37900 - Directory Listing
Modified Tue Jul 1 17:39:03 2003 UTC (16 years, 7 months ago) by rogers
Added `selected_constant_string' and removed unused constants.


Revision 37899 - Directory Listing
Modified Mon Jun 30 22:38:10 2003 UTC (16 years, 7 months ago) by rogers
Undid previous change which was breaking.


Revision 37898 - Directory Listing
Modified Mon Jun 30 22:37:08 2003 UTC (16 years, 7 months ago) by rogers
When creating `show_hide_history_command' we now use `default_create'
followed by `make', as it is necessary due to the creation of once
features.


Revision 37858 - Directory Listing
Modified Sat Jun 28 00:40:59 2003 UTC (16 years, 7 months ago) by rogers
Latest version of files geenrated by EiffelBuild.


Revision 37857 - Directory Listing
Modified Sat Jun 28 00:39:46 2003 UTC (16 years, 7 months ago) by rogers
Initial.


Revision 37856 - Directory Listing
Modified Sat Jun 28 00:39:19 2003 UTC (16 years, 7 months ago) by rogers
Initial. generated by EiffelBuild.


Revision 37855 - Directory Listing
Modified Sat Jun 28 00:38:18 2003 UTC (16 years, 7 months ago) by rogers
Initial. Generated by EiffelBuild.


Revision 37854 - Directory Listing
Modified Sat Jun 28 00:15:43 2003 UTC (16 years, 7 months ago) by rogers
Removed as it is now in a seperate subdirectory as with all build
generated directories.


Revision 37853 - Directory Listing
Modified Sat Jun 28 00:13:37 2003 UTC (16 years, 7 months ago) by rogers
Removed all references to GB_FILENAME_CONSTANT as they are not yet used in
the system.


Revision 37852 - Directory Listing
Modified Sat Jun 28 00:12:26 2003 UTC (16 years, 7 months ago) by rogers
Removed all references to GB_FILENAME_CONSTANT as they are not yet used
in EiffelBuild.


Revision 37851 - Directory Listing
Modified Sat Jun 28 00:07:37 2003 UTC (16 years, 7 months ago) by rogers
Initial.


Revision 37850 - Directory Listing
Modified Sat Jun 28 00:01:43 2003 UTC (16 years, 7 months ago) by rogers
Now inherits GB_SHARED_PIXMAPS.


Revision 37849 - Directory Listing
Modified Sat Jun 28 00:01:23 2003 UTC (16 years, 7 months ago) by rogers
Added a number of new constants required by the constant handling routines.


Revision 37848 - Directory Listing
Modified Sat Jun 28 00:00:41 2003 UTC (16 years, 7 months ago) by rogers
Major update to handle loading of deferred constants, and new constant
types that were not previously supported.


Revision 37847 - Directory Listing
Modified Fri Jun 27 23:58:06 2003 UTC (16 years, 7 months ago) by rogers
Updated `as_multi_column_list_row' so that the name is displayed in the
first column.


Revision 37846 - Directory Listing
Modified Fri Jun 27 23:57:21 2003 UTC (16 years, 7 months ago) by rogers
Added `Icon_string', `Icon_integer' and `Icon_missing_pixmap_small'.


Revision 37845 - Directory Listing
Modified Fri Jun 27 23:55:09 2003 UTC (16 years, 7 months ago) by rogers
At the end of `create_system', deferred constants are built. Some constants
must be deferred as they rely on other constants which must be initialized
first.


Revision 37844 - Directory Listing
Modified Fri Jun 27 23:53:48 2003 UTC (16 years, 7 months ago) by rogers
Initial.


Revision 37843 - Directory Listing
Modified Fri Jun 27 23:48:34 2003 UTC (16 years, 7 months ago) by rogers
Updated to handle all currently supported constant types.
Added notification handling, which informs each object editor that
constants have been modified, and that they may need to update
accordingly.


Revision 37842 - Directory Listing
Modified Fri Jun 27 23:47:14 2003 UTC (16 years, 7 months ago) by rogers
Updated to use constants.


Revision 37841 - Directory Listing
Modified Fri Jun 27 23:46:07 2003 UTC (16 years, 7 months ago) by rogers
Updated to handle selection of constants.


Revision 37840 - Directory Listing
Modified Fri Jun 27 23:44:22 2003 UTC (16 years, 7 months ago) by rogers
Updated so that geenrate code handles constants.


Revision 37839 - Directory Listing
Modified Fri Jun 27 23:43:40 2003 UTC (16 years, 7 months ago) by rogers
Updated so that generated code will compile succesfully to use constants.


Revision 37838 - Directory Listing
Modified Fri Jun 27 23:42:03 2003 UTC (16 years, 7 months ago) by rogers
Now generates code that compiles when constants are selected.


Revision 37837 - Directory Listing
Modified Fri Jun 27 23:41:43 2003 UTC (16 years, 7 months ago) by rogers
Removed repeated inheritance from GB_GENERAL_UTILITIES.


Revision 37836 - Directory Listing
Modified Fri Jun 27 23:41:15 2003 UTC (16 years, 7 months ago) by rogers
Now generates code that compiles when constants are used.


Revision 37835 - Directory Listing
Modified Fri Jun 27 23:40:52 2003 UTC (16 years, 7 months ago) by rogers
Now generates code that will compile correctly using constants.


Revision 37834 - Directory Listing
Modified Fri Jun 27 23:39:36 2003 UTC (16 years, 7 months ago) by rogers
Updated constant hanlding, so that code is now generated which will
reference the constant if any.


Revision 37833 - Directory Listing
Modified Fri Jun 27 23:38:46 2003 UTC (16 years, 7 months ago) by rogers
Updated To handle use of pixmap constants, this required the use
of `modify_from_xml_after_build' so that the building was performed at the
end of the creation cycle.


Revision 37832 - Directory Listing
Modified Fri Jun 27 23:36:15 2003 UTC (16 years, 7 months ago) by rogers
Added support for constant handling.


Revision 37830 - Directory Listing
Modified Fri Jun 27 23:31:34 2003 UTC (16 years, 7 months ago) by rogers
Added geenration of constants into constants class file.


Revision 37829 - Directory Listing
Modified Fri Jun 27 23:28:59 2003 UTC (16 years, 7 months ago) by rogers
Added `retrieve_string_setting', `retrieve_integer_setting' and
`atribute_set', all for handling code generation of constants.


Revision 37828 - Directory Listing
Modified Fri Jun 27 23:25:54 2003 UTC (16 years, 7 months ago) by rogers
Now export `add_constant_context' to GB_EV_EDITOR_CONSTRUCTOR.


Revision 37820 - Directory Listing
Modified Fri Jun 27 19:40:43 2003 UTC (16 years, 7 months ago) by rogers
Added `constant_added' and `constant_removed' which are executed when
constants are added or removed from the system, so that `Current' may
be updated. Not yet implemented.


Revision 37818 - Directory Listing
Modified Fri Jun 27 19:32:39 2003 UTC (16 years, 7 months ago) by rogers
Added `string_used_globally_as_object_or_feature_name' and
`all_object_and_event_names'.


Revision 37817 - Directory Listing
Modified Fri Jun 27 19:30:17 2003 UTC (16 years, 7 months ago) by rogers
Added `load_constants' which determines if constant values will be loaded
from an external file or not, along with the setting features
`enable_constant_loading' and `disable_constant_loading'.
Updated loading and saving to handle both cases.


Revision 37816 - Directory Listing
Modified Fri Jun 27 19:27:58 2003 UTC (16 years, 7 months ago) by rogers
Removed, as the window is now part of the Build project located in the
"dialogs" directory.


Revision 37815 - Directory Listing
Modified Fri Jun 27 19:26:46 2003 UTC (16 years, 7 months ago) by rogers
Minor formatting.


Revision 37814 - Directory Listing
Modified Fri Jun 27 19:26:18 2003 UTC (16 years, 7 months ago) by rogers
Added `pixmap_file_title' which converts the title of a file to a default
feature name.


Revision 37813 - Directory Listing
Modified Fri Jun 27 19:25:35 2003 UTC (16 years, 7 months ago) by rogers
Added `scaled_pixmap' which takes a pixamp and dimensions, and returns
a scaled version. The aspect ration of the pixmap is preserved.


Revision 37812 - Directory Listing
Modified Fri Jun 27 19:23:21 2003 UTC (16 years, 7 months ago) by rogers
Removed call to `make' for creation of tuple.


Revision 37755 - Directory Listing
Modified Mon Jun 16 17:33:26 2003 UTC (16 years, 8 months ago) by rogers
Updated to use constants.


Revision 37754 - Directory Listing
Modified Mon Jun 16 17:32:59 2003 UTC (16 years, 8 months ago) by rogers
Minor formatting.


Revision 37748 - Directory Listing
Modified Fri Jun 13 21:53:01 2003 UTC (16 years, 8 months ago) by rogers
Updated to use constants.


Revision 37747 - Directory Listing
Modified Fri Jun 13 21:45:08 2003 UTC (16 years, 8 months ago) by rogers
Updated to use constants for border and padding widths.


Revision 37746 - Directory Listing
Modified Fri Jun 13 21:40:10 2003 UTC (16 years, 8 months ago) by rogers
Optimized `make' which was accessing an object of type
GB_EV_EDITOR_CONSTRUCTOR which was Void when we were dealing with
GB_EV_WINDOW. Not only was this unecessary, but it would also cause a
crash. We now retrieve the object from an GB_EV_ANY.


Revision 37745 - Directory Listing
Modified Fri Jun 13 21:38:23 2003 UTC (16 years, 8 months ago) by rogers
`modify_from_xml' now correctly prunes CDATA tags. This will only show
up as a problem when the object is reset internally.


Revision 37744 - Directory Listing
Modified Fri Jun 13 21:36:33 2003 UTC (16 years, 8 months ago) by rogers
Updated to use constants.


Revision 37742 - Directory Listing
Modified Fri Jun 13 19:34:38 2003 UTC (16 years, 8 months ago) by rogers
Updated to handle constants.


Revision 37741 - Directory Listing
Modified Fri Jun 13 18:07:29 2003 UTC (16 years, 8 months ago) by rogers
Updated to use `uses_consant' which simplifies constant handling.


Revision 37740 - Directory Listing
Modified Fri Jun 13 18:06:59 2003 UTC (16 years, 8 months ago) by rogers
Removed `valid_value' as we now rely on `validate_true' which is
inherited.


Revision 37739 - Directory Listing
Modified Fri Jun 13 18:01:06 2003 UTC (16 years, 8 months ago) by rogers
Updated to use constants.


Revision 37738 - Directory Listing
Modified Fri Jun 13 18:00:02 2003 UTC (16 years, 8 months ago) by rogers
Added `validate_true' which takes a single STRING argument, and always
returns True. Used when no validation is to be applied.


Revision 37737 - Directory Listing
Modified Fri Jun 13 17:59:08 2003 UTC (16 years, 8 months ago) by rogers
Updated to complete constant handling.


Revision 37736 - Directory Listing
Modified Fri Jun 13 17:54:30 2003 UTC (16 years, 8 months ago) by rogers
Added `uses_constant' which queries if an attribute is using a constant.


Revision 37735 - Directory Listing
Modified Fri Jun 13 17:09:31 2003 UTC (16 years, 8 months ago) by rogers
Fixed bug in `make' and `make_without_label' which would case a check
to fail when you were creating the input field as a client of a window,
which does not confrom to GB_EV_EDITOR_CONSTRUCTOR. We now always
retrieve the `obejct' from the GB_EV_ANY instead as it is now available.


Revision 37731 - Directory Listing
Modified Fri Jun 13 01:01:52 2003 UTC (16 years, 8 months ago) by rogers
Now `make' takes an extra argument, specifying whether single or multiple
lines of text may be entered. Added a minimum height to the text entry
control if it is displaying multiple lines.


Revision 37730 - Directory Listing
Modified Fri Jun 13 00:58:25 2003 UTC (16 years, 8 months ago) by rogers
Now builds the string input field with a new boolean argument,
specifying if it must be multiple or single line.


Revision 37729 - Directory Listing
Modified Fri Jun 13 00:57:10 2003 UTC (16 years, 8 months ago) by rogers
Added `multiple_line_entry' and `single_line_entry'.


Revision 37728 - Directory Listing
Modified Fri Jun 13 00:34:00 2003 UTC (16 years, 8 months ago) by rogers
Addded `retrieve_and_set_string_value' and `add_string_element'
for handling of constants.


Revision 37727 - Directory Listing
Modified Fri Jun 13 00:33:07 2003 UTC (16 years, 8 months ago) by rogers
Exported `add_constant_context' to GB_STRING_INPUT_FIELD.


Revision 37726 - Directory Listing
Modified Fri Jun 13 00:31:50 2003 UTC (16 years, 8 months ago) by rogers
Exported `object' to GB_STRING_INPUT_FIELD as well as
GB_INTEGER_INPUT_FIELD.


Revision 37725 - Directory Listing
Modified Fri Jun 13 00:31:07 2003 UTC (16 years, 8 months ago) by rogers
Updated to handle constants correctly.


Revision 37724 - Directory Listing
Modified Fri Jun 13 00:30:29 2003 UTC (16 years, 8 months ago) by rogers
Removed extra line.


Revision 37723 - Directory Listing
Modified Fri Jun 13 00:30:03 2003 UTC (16 years, 8 months ago) by rogers
Initial version. Permits a STRING entry to be entered via a user, and
also displays all STRING constants from which they may select.


Revision 37720 - Directory Listing
Modified Thu Jun 12 19:28:02 2003 UTC (16 years, 8 months ago) by rogers
Major re-working for supporting constants. All integer constants are now
displayed in a combo box, and you may toggle between using constanTS and
actual values via a toggle button.


Revision 37719 - Directory Listing
Modified Thu Jun 12 19:26:29 2003 UTC (16 years, 8 months ago) by rogers
Added `object' and `set_object' so that Current knows which object it is
currently referencing. Added `retrieve_and_set_integer_value',
`add_integer_element' and `full_information' which are now required to
support the handling of constants.


Revision 37718 - Directory Listing
Modified Thu Jun 12 19:25:13 2003 UTC (16 years, 8 months ago) by rogers
Added `constants' which contains all constant contexts referenced by
`Current', and `the supporting' add `constant_context'.


Revision 37717 - Directory Listing
Modified Thu Jun 12 19:24:20 2003 UTC (16 years, 8 months ago) by rogers
Now associate the obejct with each insatnce of GB_EV_ANY.


Revision 37716 - Directory Listing
Modified Thu Jun 12 19:23:52 2003 UTC (16 years, 8 months ago) by rogers
Nos associate an object withn instances of GB_EV_ANY after they are
created.


Revision 37715 - Directory Listing
Modified Thu Jun 12 19:23:11 2003 UTC (16 years, 8 months ago) by rogers
Removed `full_information' wherever it appeared in a local declaration,
as it is now inherited.


Revision 37714 - Directory Listing
Modified Thu Jun 12 19:22:36 2003 UTC (16 years, 8 months ago) by rogers
Removed all local instances of `full_information' as they are no longer
required. If GB_INTEGER_INPUT_FIELD's were used, then the creation has been
updated to pass the name of the associated field.


Revision 37713 - Directory Listing
Modified Thu Jun 12 19:19:09 2003 UTC (16 years, 8 months ago) by rogers
Removed `full_information' as a local, as it is now inherited.


Revision 37712 - Directory Listing
Modified Thu Jun 12 19:18:43 2003 UTC (16 years, 8 months ago) by rogers
Update to handle constants. Upper and lower not yet handled correctly.


Revision 37711 - Directory Listing
Modified Thu Jun 12 18:51:11 2003 UTC (16 years, 8 months ago) by rogers
Updated to reflect new arguments required for GB_INTEGER_INPUT_FIELD.


Revision 37710 - Directory Listing
Modified Thu Jun 12 18:49:25 2003 UTC (16 years, 8 months ago) by rogers
Updated to store all constants.


Revision 37709 - Directory Listing
Modified Thu Jun 12 18:48:49 2003 UTC (16 years, 8 months ago) by rogers
Added `add_element_containing_integer_constant' which will do exactly
what its name implies into an XM_ELEMENT. Updated `get_unique_full_info'
so that it handles constants.


Revision 37708 - Directory Listing
Modified Thu Jun 12 18:45:40 2003 UTC (16 years, 8 months ago) by rogers
`modify_from_xml' and `internal_build_window' now associate the object
with the newly created GB_EV_ANY.


Revision 37707 - Directory Listing
Modified Thu Jun 12 18:44:05 2003 UTC (16 years, 8 months ago) by rogers
Added `is_constant' and `set_as_constant' which provides status of
regarding whether the current information is referencing a constant.


Revision 37706 - Directory Listing
Modified Thu Jun 12 18:42:11 2003 UTC (16 years, 8 months ago) by rogers
Added `referers', `add_referer' and `remove_referer' which allows a
constant to track in how many places it is used.


Revision 37705 - Directory Listing
Modified Thu Jun 12 18:41:21 2003 UTC (16 years, 8 months ago) by rogers
Added `constant_string'.


Revision 37704 - Directory Listing
Modified Thu Jun 12 18:40:55 2003 UTC (16 years, 8 months ago) by rogers
Changed type of `all_constants' from an ARRAYED_LIST to a HASH_TABLE
for speed of access.


Revision 37703 - Directory Listing
Modified Thu Jun 12 18:39:52 2003 UTC (16 years, 8 months ago) by rogers
Now creates `referers'.


Revision 37702 - Directory Listing
Modified Thu Jun 12 18:39:37 2003 UTC (16 years, 8 months ago) by rogers
Now create `referers' and fixed class heading.


Revision 37701 - Directory Listing
Modified Thu Jun 12 18:39:04 2003 UTC (16 years, 8 months ago) by rogers
Initial version. A context for a constant which is information regarding
the object and property which relies on a constant.


Revision 37634 - Directory Listing
Modified Fri Jun 6 19:53:09 2003 UTC (16 years, 8 months ago) by rogers
Now inherits CDATA_HANDLER abd writes all text to disk enclosed in
CDATA handles. This permits names with spaces to be correctly retrieved.

Before this change, every time you loaded a file that had spaces in its
path, it would tell you that the location had changed, and ask if you
wich to update the path.


Revision 37633 - Directory Listing
Modified Fri Jun 6 19:24:01 2003 UTC (16 years, 8 months ago) by rogers
Corrected value of `Ev_frame_rasied_string' so that it is spelt correctly.


Revision 37630 - Directory Listing
Modified Fri Jun 6 18:14:00 2003 UTC (16 years, 8 months ago) by rogers
`recursive_do_all' now restores the original cursor position of
`layout_item' if possible. This stops crashes occuring, when we are
using this feature in a nested fashion.


Revision 37627 - Directory Listing
Modified Fri Jun 6 17:16:13 2003 UTC (16 years, 8 months ago) by rogers
Updated so that `parent_editor.object' is no logner called, and instead,
access is gained through a call to the new function `object' which performs
the query for us.


Revision 37626 - Directory Listing
Modified Fri Jun 6 17:15:16 2003 UTC (16 years, 8 months ago) by rogers
Added `obejct' so that you do not have to explicity call
`parent_editor.object' anymore.


Revision 37622 - Directory Listing
Modified Fri Jun 6 01:26:01 2003 UTC (16 years, 8 months ago) by rogers
Updated to reflect latest changes in layout.


Revision 37612 - Directory Listing
Modified Fri Jun 6 00:29:54 2003 UTC (16 years, 8 months ago) by rogers
Initial version. Build generated files representing the constants dialog.


Revision 37611 - Directory Listing
Modified Fri Jun 6 00:29:18 2003 UTC (16 years, 8 months ago) by rogers
Initial version of the EiffelBuild project files used to generate a
number of Builds dialogs.


Revision 37610 - Directory Listing
Modified Fri Jun 6 00:25:41 2003 UTC (16 years, 8 months ago) by rogers
Updated inheritance structure to reflect modification of GB_CONSTANTS.


Revision 37609 - Directory Listing
Modified Fri Jun 6 00:24:59 2003 UTC (16 years, 8 months ago) by rogers
Added undefinition of `default_create' from GB_CONSTANTS.


Revision 37608 - Directory Listing
Modified Fri Jun 6 00:24:36 2003 UTC (16 years, 8 months ago) by rogers
Updated to reflect new tuple creation.


Revision 37607 - Directory Listing
Modified Fri Jun 6 00:24:04 2003 UTC (16 years, 8 months ago) by rogers
Updated to reflect the no longer undefined `default_create' from
GB_CONSTANTS, and updated inerited export.


Revision 37606 - Directory Listing
Modified Fri Jun 6 00:22:55 2003 UTC (16 years, 8 months ago) by rogers
Modified `generate' so that nothing is performed if a constant is
encountered in the xml.


Revision 37605 - Directory Listing
Modified Fri Jun 6 00:18:47 2003 UTC (16 years, 8 months ago) by rogers
Added the constants dialog tool bar item.


Revision 37604 - Directory Listing
Modified Fri Jun 6 00:17:11 2003 UTC (16 years, 8 months ago) by rogers
Small tidying of `update_visual_representations_on_name_change'.


Revision 37602 - Directory Listing
Modified Fri Jun 6 00:16:00 2003 UTC (16 years, 8 months ago) by rogers
Added `valid_constant_name' which checks that a constants name is valid.


Revision 37601 - Directory Listing
Modified Fri Jun 6 00:15:27 2003 UTC (16 years, 8 months ago) by rogers
Added `constants_dialog' to shared tools, and removed unused local.


Revision 37600 - Directory Listing
Modified Fri Jun 6 00:14:41 2003 UTC (16 years, 8 months ago) by rogers
Updated to reflect change in definition of GB_CONSTANTS.


Revision 37599 - Directory Listing
Modified Fri Jun 6 00:13:50 2003 UTC (16 years, 8 months ago) by rogers
Updated inheritance clause so not all features are exported.


Revision 37598 - Directory Listing
Modified Fri Jun 6 00:13:03 2003 UTC (16 years, 8 months ago) by rogers
Updated export status of inheritance clause.


Revision 37597 - Directory Listing
Modified Fri Jun 6 00:12:41 2003 UTC (16 years, 8 months ago) by rogers
features from GB_CONSTANTS are now exported to {NONE}.


Revision 37596 - Directory Listing
Modified Fri Jun 6 00:12:08 2003 UTC (16 years, 8 months ago) by rogers
Removed repeated inheritance from GB_CONSTANTS.


Revision 37595 - Directory Listing
Modified Fri Jun 6 00:11:22 2003 UTC (16 years, 8 months ago) by rogers
Fixed bug in handling of updating representations when a user typed in
the builder window. We now only perform processing if the widget really
was being typed in (checked by has foucs) and if the text has changed.


Revision 37594 - Directory Listing
Modified Fri Jun 6 00:09:49 2003 UTC (16 years, 8 months ago) by rogers
Updated to generate code that uses the "pixmap_location" fixed constant.
This is a temporary step in the process of full constant integration.


Revision 37593 - Directory Listing
Modified Fri Jun 6 00:08:36 2003 UTC (16 years, 8 months ago) by rogers
Updated export clauses of inheritance.


Revision 37592 - Directory Listing
Modified Fri Jun 6 00:07:50 2003 UTC (16 years, 8 months ago) by rogers
Updated export clauses, and redefinitions of features from GB_CONSTANTS.


Revision 37591 - Directory Listing
Modified Fri Jun 6 00:07:10 2003 UTC (16 years, 8 months ago) by rogers
Now inherits GB_SHARED_CONSTANTS, and will habdle the loading of constants.


Revision 37590 - Directory Listing
Modified Fri Jun 6 00:06:46 2003 UTC (16 years, 8 months ago) by rogers
Now inherits GB_SHARED_CONSTANTS and stores all constants in the project.


Revision 37589 - Directory Listing
Modified Fri Jun 6 00:05:21 2003 UTC (16 years, 8 months ago) by rogers
Initial.


Revision 37588 - Directory Listing
Modified Fri Jun 6 00:04:37 2003 UTC (16 years, 8 months ago) by rogers
Now inherits GB_SHARED_CONSTANTS, and will now both hide the constants
dialog, and reset it upon closing.


Revision 37586 - Directory Listing
Modified Thu Jun 5 23:55:48 2003 UTC (16 years, 8 months ago) by rogers
Added `show_hide_constants_dialog_command'.


Revision 37584 - Directory Listing
Modified Thu Jun 5 23:54:51 2003 UTC (16 years, 8 months ago) by rogers
Initial versions.


Revision 37583 - Directory Listing
Modified Thu Jun 5 23:54:03 2003 UTC (16 years, 8 months ago) by rogers
Added a number of for the handling of constants by EiffelBuild.


Revision 37582 - Directory Listing
Modified Thu Jun 5 23:53:35 2003 UTC (16 years, 8 months ago) by rogers
Added `type_string'.


Revision 37581 - Directory Listing
Modified Thu Jun 5 23:53:13 2003 UTC (16 years, 8 months ago) by rogers
Added Icon format onces.


Revision 37528 - Directory Listing
Modified Tue Jun 3 19:19:14 2003 UTC (16 years, 8 months ago) by rogers
Updated `show_hide_history_command'.


Revision 37520 - Directory Listing
Modified Tue Jun 3 17:20:04 2003 UTC (16 years, 8 months ago) by rogers
`perform_close' now ensures that the project is no longer flagged as
modified. Before, if you loaded a project, closed it and then exited Build
directly, you would get a warning saying that the project was modified.
However, you had no project open anymore.


Revision 37519 - Directory Listing
Modified Tue Jun 3 17:17:28 2003 UTC (16 years, 8 months ago) by rogers
Corrected header.


Revision 37518 - Directory Listing
Modified Tue Jun 3 17:16:40 2003 UTC (16 years, 8 months ago) by rogers
Removed `default_create' and added `make' instead.


Revision 37501 - Directory Listing
Modified Sat May 31 04:32:12 2003 UTC (16 years, 8 months ago) by manus
Unix implementation should be using non-windows implementation for preferences.


Revision 37488 - Directory Listing
Modified Fri May 30 17:42:04 2003 UTC (16 years, 8 months ago) by rogers
Corrected code generation. We now use `Directory_separator' instead of
'\', so that it works on all platforms.


Revision 37487 - Directory Listing
Modified Fri May 30 17:40:51 2003 UTC (16 years, 8 months ago) by rogers
Corrected handling of code generation, we now use `Directory_separator'
instead of '\', so that it works on all platforms.


Revision 37486 - Directory Listing
Modified Fri May 30 17:39:48 2003 UTC (16 years, 8 months ago) by rogers
Added `directory_separator', and removed `gb_ev_directory' which was not
used.


Revision 37477 - Directory Listing
Modified Fri May 30 01:17:11 2003 UTC (16 years, 8 months ago) by rogers
Initial.


Revision 37476 - Directory Listing
Modified Fri May 30 01:16:11 2003 UTC (16 years, 8 months ago) by rogers
Added `constants_template_file_name'.


Revision 37475 - Directory Listing
Modified Fri May 30 01:15:51 2003 UTC (16 years, 8 months ago) by rogers
Updated constants which are used as part of the generated code from Build,
to reflect the inehritance of the constants class.


Revision 37474 - Directory Listing
Modified Fri May 30 01:15:06 2003 UTC (16 years, 8 months ago) by rogers
Updated to reflect renaming/changes in the name checking facilities of
GB_OBJECT_HANDLER.


Revision 37473 - Directory Listing
Modified Fri May 30 01:12:46 2003 UTC (16 years, 8 months ago) by rogers
Updated code generation so that all pixmaps are loaded with the
"pixmap_location" constant.


Revision 37472 - Directory Listing
Modified Fri May 30 01:11:11 2003 UTC (16 years, 8 months ago) by rogers
Updated code generation so that it will be performed using the
"pixmap_location" constant.


Revision 37471 - Directory Listing
Modified Fri May 30 01:09:42 2003 UTC (16 years, 8 months ago) by rogers
Added `build_constants_file' and updated geenration to reflect the
inheritance of the constants class.


Revision 37470 - Directory Listing
Modified Fri May 30 01:08:52 2003 UTC (16 years, 8 months ago) by rogers
Updated call to `object_handler.string_is_object_name' to reflect new
signature.


Revision 37469 - Directory Listing
Modified Fri May 30 01:08:14 2003 UTC (16 years, 8 months ago) by rogers
Now inheriTs GB_STORABLE_TOOL, and restricted the exporting of many
features that should not be available to clients.


Revision 37468 - Directory Listing
Modified Fri May 30 01:07:28 2003 UTC (16 years, 8 months ago) by rogers
Now inherits GB_STORABLE_TOOL.


Revision 37467 - Directory Listing
Modified Fri May 30 01:07:10 2003 UTC (16 years, 8 months ago) by rogers
Updated all loading and saving of tool positions to use GB_STORABLE_TOOL.


Revision 37466 - Directory Listing
Modified Fri May 30 01:06:37 2003 UTC (16 years, 8 months ago) by rogers
Added `top_levevl_parent_obejct' and removed `accept_edited_name' which
is no longer used.


Revision 37465 - Directory Listing
Modified Fri May 30 01:05:11 2003 UTC (16 years, 8 months ago) by rogers
Removed calls to `accept_edited_name' before execution of name change
commands as it was unecessary, as the command performed exactly the
same steps again.


Revision 37464 - Directory Listing
Modified Fri May 30 01:03:09 2003 UTC (16 years, 8 months ago) by rogers
Rewrote name checking routines, so that the scope of names is taken into
account. Previously, names had to be unique in the whole system, even
though for compilation purposes, they only had to be unique per
generated class.


Revision 37463 - Directory Listing
Modified Fri May 30 00:54:25 2003 UTC (16 years, 8 months ago) by rogers
Updated so that all feature for retrieval of tools now use
GB_STORABLE_TO0L instead of hard coded implementations. Added
`all_storable_tools'.


Revision 37460 - Directory Listing
Modified Fri May 30 00:50:19 2003 UTC (16 years, 8 months ago) by rogers
Now inherits GB_STORABLE_TOOL.


Revision 37458 - Directory Listing
Modified Fri May 30 00:48:42 2003 UTC (16 years, 8 months ago) by rogers
Corrected "lower_bar" spelling in reserved words.


Revision 37438 - Directory Listing
Modified Wed May 28 23:32:33 2003 UTC (16 years, 8 months ago) by rogers
Fixed `initialize_preferences' so that the correct path is used to
locate the files.


Revision 37392 - Directory Listing
Modified Tue May 27 22:45:42 2003 UTC (16 years, 8 months ago) by rogers
Updated export status of features to permit VAPE checking to pass
correctly.


Revision 37391 - Directory Listing
Modified Tue May 27 22:43:11 2003 UTC (16 years, 8 months ago) by rogers
made VAPE compilable.


Revision 37390 - Directory Listing
Modified Tue May 27 22:38:48 2003 UTC (16 years, 8 months ago) by rogers
Imporved handling of `multiple_split_area'. When all items are
removed from the split area, the split area is now hidden. Added
`widget_removed_from_multiple_split_area' and
`widget_inserted_into_multiple_split_area' to handle this change. Many
other small miscellaneous changes to handle this correctly.


Revision 37389 - Directory Listing
Modified Tue May 27 22:36:30 2003 UTC (16 years, 8 months ago) by rogers
Updated to pass VAPE checking.


Revision 37388 - Directory Listing
Modified Tue May 27 22:23:25 2003 UTC (16 years, 8 months ago) by rogers
Made compatible with VAPE checking.


Revision 37387 - Directory Listing
Modified Tue May 27 22:16:40 2003 UTC (16 years, 8 months ago) by rogers
Exported `has' to {ANY} so that VAPE checking may be fulfilled.


Revision 37386 - Directory Listing
Modified Tue May 27 22:15:54 2003 UTC (16 years, 8 months ago) by rogers
Removed precondition on `build' which was not passing VAPE checking,
as  it was uneeded, as there is already a class invariant specifying
exactly the same condition.


Revision 37385 - Directory Listing
Modified Tue May 27 22:09:12 2003 UTC (16 years, 8 months ago) by rogers
Changed precondition of `retrieve_new_object' so that VAPE checking is
enforced.


Revision 37350 - Directory Listing
Modified Thu May 22 00:37:13 2003 UTC (16 years, 9 months ago) by rogers
Added `real_target' and `set_real_target' in line with the changes in
the Vision2 library.


Revision 37345 - Directory Listing
Modified Thu May 22 00:20:48 2003 UTC (16 years, 9 months ago) by rogers
Removed unused local.


Revision 37344 - Directory Listing
Modified Thu May 22 00:20:27 2003 UTC (16 years, 9 months ago) by rogers
Added mising postconditions.


Revision 37343 - Directory Listing
Modified Thu May 22 00:20:15 2003 UTC (16 years, 9 months ago) by rogers
Removed unused locals.


Revision 37327 - Directory Listing
Modified Wed May 21 17:58:24 2003 UTC (16 years, 9 months ago) by rogers
`initialize_preferences' is no longer dependent on the settings of my
machine. The file locations are now correctly initialized.


Revision 37326 - Directory Listing
Modified Wed May 21 16:59:26 2003 UTC (16 years, 9 months ago) by rogers
Added `multiple_split_area' as a once, allowing it to be accessed from
any descendents.


Revision 37325 - Directory Listing
Modified Wed May 21 16:58:52 2003 UTC (16 years, 9 months ago) by rogers
Added `external_tool_order' which is used to locate the external tools
within the registry.


Revision 37324 - Directory Listing
Modified Wed May 21 16:57:54 2003 UTC (16 years, 9 months ago) by rogers
Added `initialize_external_tool_positions', used to restore all tools
that have been displayed as external, in their own dockable dialogs.


Revision 37323 - Directory Listing
Modified Wed May 21 16:56:54 2003 UTC (16 years, 9 months ago) by rogers
Now wipe_out `multiple_split_area' during closing. This removes all
floating tools.


Revision 37307 - Directory Listing
Modified Mon May 19 23:41:39 2003 UTC (16 years, 9 months ago) by rogers
Now handles the restoration of maximized and minimized items.


Revision 37306 - Directory Listing
Modified Mon May 19 19:25:07 2003 UTC (16 years, 9 months ago) by rogers
Fixed bug in `initialize_tool_positions' which was not correctly
retrieving the width of the tool.


Revision 37303 - Directory Listing
Modified Mon May 19 18:59:16 2003 UTC (16 years, 9 months ago) by rogers
Added `name_by_tool', `storable_name_by_tool', `tool_name_as_storable',
`tool_by_name' and tool name constants for accessing STRING representations
of the tools that may be handled by the preferences.


Revision 37302 - Directory Listing
Modified Mon May 19 18:57:52 2003 UTC (16 years, 9 months ago) by rogers
Added `initialize_tool_positions' and `store_tool_positions' which
stores and retrives the tools from the registry.


Revision 37301 - Directory Listing
Modified Mon May 19 18:57:00 2003 UTC (16 years, 9 months ago) by rogers
Added `tool_order'.


Revision 37300 - Directory Listing
Modified Fri May 16 23:04:57 2003 UTC (16 years, 9 months ago) by rogers
Added patterns library.


Revision 37299 - Directory Listing
Modified Fri May 16 22:35:09 2003 UTC (16 years, 9 months ago) by rogers
Corrected previous change to library additions which was using a back
instead of a forewards slash.


Revision 37298 - Directory Listing
Modified Fri May 16 22:32:44 2003 UTC (16 years, 9 months ago) by rogers
Corrected recent additions to new libararies which were using back
slashes instead of foreward slashes.


Revision 37297 - Directory Listing
Modified Fri May 16 22:29:17 2003 UTC (16 years, 9 months ago) by rogers
Initial.


Revision 37296 - Directory Listing
Modified Fri May 16 22:16:21 2003 UTC (16 years, 9 months ago) by rogers
The preferences are now initialized post launch.


Revision 37295 - Directory Listing
Modified Fri May 16 22:14:02 2003 UTC (16 years, 9 months ago) by rogers
Now integrates the new MULTIPLE_SPLIT_AREA_CONTROL for holding the tools
in the lef thand column.


Revision 37294 - Directory Listing
Modified Fri May 16 22:11:33 2003 UTC (16 years, 9 months ago) by rogers
Fixed bug wihch allowed you to drop a window int a cell, which was a
definite no no.


Revision 37293 - Directory Listing
Modified Fri May 16 22:10:45 2003 UTC (16 years, 9 months ago) by rogers
Added `Eiffel_preferences' which returns the location of the preferences.


Revision 37292 - Directory Listing
Modified Fri May 16 22:10:03 2003 UTC (16 years, 9 months ago) by rogers
Added `set_split_position' which permits you to set the position of a
splitter, bounded to the maximum and minimum supported by the split
area.


Revision 37281 - Directory Listing
Modified Thu May 15 17:38:08 2003 UTC (16 years, 9 months ago) by rogers
Added `view_object_button', `highlight_object' and `object_highlightable'
which provides support for highlighting a specific object within `Current'.


Revision 37280 - Directory Listing
Modified Thu May 15 17:37:19 2003 UTC (16 years, 9 months ago) by rogers
Removed unecessary inheritance from GB_DEFAULT_STATE, and added the
`view_object_button' from the layout constructor to the interface.


Revision 37279 - Directory Listing
Modified Thu May 15 17:36:30 2003 UTC (16 years, 9 months ago) by rogers
`retrieve_pebble' will now check for ctrl shift click, and if so,
higlight the object in the layout constructor.


Revision 37278 - Directory Listing
Modified Thu May 15 17:35:27 2003 UTC (16 years, 9 months ago) by rogers
Removed, as there is now a version within the Vision2 contrib that is used
instead.


Revision 37277 - Directory Listing
Modified Thu May 15 17:30:39 2003 UTC (16 years, 9 months ago) by rogers
Removed unused locals.


Revision 37276 - Directory Listing
Modified Thu May 15 17:16:46 2003 UTC (16 years, 9 months ago) by rogers
Removed useless second addition of `retrieve_pebble' to the pebble function
within `build_display_object'. This caused the pebble to be calculated
twice for no reason.


Revision 37273 - Directory Listing
Modified Thu May 15 16:42:37 2003 UTC (16 years, 9 months ago) by rogers
Fixed `process_class' as, so that it no longer assumes that the inhedited
implementation class name is the first. This means that if a user has
inherited from other classes, these will be untouched by the renaming.


Revision 37271 - Directory Listing
Modified Thu May 15 01:02:24 2003 UTC (16 years, 9 months ago) by rogers
`update_class_files_of_window' now renames the final end class name
comment, so that it matches the new name of the class.


Revision 37270 - Directory Listing
Modified Thu May 15 00:59:44 2003 UTC (16 years, 9 months ago) by rogers
Added `replace_final_class_name_comment'.


Revision 37269 - Directory Listing
Modified Wed May 14 22:30:11 2003 UTC (16 years, 9 months ago) by rogers
Initial version. Used when parsing for a name change, to retrieve the
index of the class names that must be changed.


Revision 37268 - Directory Listing
Modified Wed May 14 22:27:50 2003 UTC (16 years, 9 months ago) by rogers
Removed call to `default_create' from `generate_xml' as the call to
`default_object_by_type' will return an already created gauge object.


Revision 37267 - Directory Listing
Modified Wed May 14 22:11:27 2003 UTC (16 years, 9 months ago) by rogers
`update_class_files_of_window' will now parse the contents of the file,
and replace the class names as appropriate.


Revision 37266 - Directory Listing
Modified Wed May 14 22:06:09 2003 UTC (16 years, 9 months ago) by rogers
Updated to include the eiffel parser.


Revision 37265 - Directory Listing
Modified Wed May 14 19:03:14 2003 UTC (16 years, 9 months ago) by rogers
We only update the actual class files if the name has changed. Not just
a change in case, but a real change.


Revision 37259 - Directory Listing
Modified Tue May 13 19:15:07 2003 UTC (16 years, 9 months ago) by rogers
Removed last change, as the functionailty was actually required. When
you drop an existing window, it moves it to the root/out of any directory
that exists.


Revision 37257 - Directory Listing
Modified Tue May 13 19:10:02 2003 UTC (16 years, 9 months ago) by rogers
`can_add_child' now returns `False' if the child is of type
EV_TITLED_WINDOW. This prevents a window from being added to another
window.


Revision 37256 - Directory Listing
Modified Tue May 13 19:03:27 2003 UTC (16 years, 9 months ago) by rogers
Updated veto pebble function so that a window that is already created
may not be inserted. Only windows that are being picked from the type
selector, and hence not yet built, may be dropped in here. All others
will already be contained.


Revision 37255 - Directory Listing
Modified Tue May 13 18:58:38 2003 UTC (16 years, 9 months ago) by rogers
If the window that is being deleted is the root window, then we now
select the next window as the root window.


Revision 37254 - Directory Listing
Modified Tue May 13 18:57:50 2003 UTC (16 years, 9 months ago) by rogers
Refactored part of `remove_directory' into `mark_next_window_as_root'.


Revision 37252 - Directory Listing
Modified Tue May 13 18:40:08 2003 UTC (16 years, 9 months ago) by rogers
Fixed progress setting in `build_main_window_implementation' which
was incorrectly computing the progress, and attempting to set a progress
that was invalid. We now use the correct calculation, but also restrict it
to a maximum of 1, in case of rounding errors.


Revision 37208 - Directory Listing
Modified Sat May 10 01:33:30 2003 UTC (16 years, 9 months ago) by rogers
Fixed `component_filename' so that it no longer appends "wizards\build" as
this is not required anymore.


Revision 37207 - Directory Listing
Modified Sat May 10 01:32:42 2003 UTC (16 years, 9 months ago) by rogers
Updated to handle three arguments which will be passed when a bpr file
is double clicked in the solution explorer of VisualStudio.


Revision 37206 - Directory Listing
Modified Sat May 10 01:24:28 2003 UTC (16 years, 9 months ago) by rogers
Updated to handle the case when launched with four arguments (as the result
of a double click on the bpr file from VisualStudio).


Revision 37205 - Directory Listing
Modified Sat May 10 01:21:56 2003 UTC (16 years, 9 months ago) by rogers
Modified `build' to handle the loading of the project when there are
four arguments, which is in the case of VisualStudio double clicking on
a bpr file.


Revision 37202 - Directory Listing
Modified Fri May 9 18:44:54 2003 UTC (16 years, 9 months ago) by rogers
`select_main_window' now calls `update_display_and_builder_windows' to
ensure that they are up to date.


Revision 37201 - Directory Listing
Modified Fri May 9 18:41:45 2003 UTC (16 years, 9 months ago) by rogers
We now force a process event after first setting th eloading message. As
a lot of heavy computation is then performed, this is required for the
display to be updated as it should.


Revision 37200 - Directory Listing
Modified Fri May 9 18:13:45 2003 UTC (16 years, 9 months ago) by rogers
Added `select_main_window' which will ensure that the root window object
is fully initialized, and selected in `Current'.


Revision 37199 - Directory Listing
Modified Fri May 9 18:12:57 2003 UTC (16 years, 9 months ago) by rogers
`load' will now call `select_main_window' which ensures that the main
window of the project is selected.


Revision 37194 - Directory Listing
Modified Fri May 9 16:56:14 2003 UTC (16 years, 9 months ago) by rogers
Minor change to format of implementation for `modify_from_xml'.


Revision 37193 - Directory Listing
Modified Fri May 9 16:54:43 2003 UTC (16 years, 9 months ago) by rogers
Fixed bug in `generate_from_xml'. We now only set the font if a font
was actually stored in the XML.


Revision 37191 - Directory Listing
Modified Thu May 8 22:28:03 2003 UTC (16 years, 9 months ago) by rogers
The solution in the previous commit was not complete, and this fixes
the case where we are generating code for a standard widget.


Revision 37181 - Directory Listing
Modified Thu May 8 19:32:38 2003 UTC (16 years, 9 months ago) by rogers
Applied fix to `generate_code' for the case when we are a root window, and
also a client of the window.


Revision 37180 - Directory Listing
Modified Thu May 8 19:02:15 2003 UTC (16 years, 9 months ago) by rogers
Fixed bug in `generate_code' which was causing generated code to not
compile when the object was a window, and you were not a client.
See FIXME in features for details of a more permanent fix.


Revision 37179 - Directory Listing
Modified Thu May 8 18:34:08 2003 UTC (16 years, 9 months ago) by rogers
Minor formatting of code generated by `generate_code' which was missing
a space that should have been inserted.


Revision 37177 - Directory Listing
Modified Thu May 8 17:30:30 2003 UTC (16 years, 9 months ago) by rogers
Modifed `pixmap_file_name' so that \wizards\build is no longer appended to
`wizard_installation_path' when Build is running in Visual Studio mode.


Revision 37176 - Directory Listing
Modified Thu May 8 17:28:56 2003 UTC (16 years, 9 months ago) by rogers
Now inherits EXECUTION_ENVIRONMENT so that `wizard_installation_path' may
retrieve the installation location of Build from the command line
arguments, instead of querying the registry directly. This approach is
more flexible, as Build no longer has to have this "hard wired".


Revision 37175 - Directory Listing
Modified Thu May 8 17:24:43 2003 UTC (16 years, 9 months ago) by rogers
Modified `wizard_source' to reflect the fact the full path to the root
directory of Build, is passed to Build as one of the command line options.
We no longer need to append "wizards\build".


Revision 37174 - Directory Listing
Modified Thu May 8 17:23:05 2003 UTC (16 years, 9 months ago) by rogers
Improved comments for arguments passed to Build when running in
Visual Studio mode.


Revision 37173 - Directory Listing
Modified Thu May 8 17:21:20 2003 UTC (16 years, 9 months ago) by rogers
Removed addition of "wizards\build" to locations retrieved for the
Visual studio operation. This is because `wizard_installation_path' will
now include the full path to the root of this directory. Fixed bug in
`build_application_file' which was still using the main window project
settings for specifying the root window. We now correctly use the name of
the real root window.


Revision 37071 - Directory Listing
Modified Thu May 1 16:20:25 2003 UTC (16 years, 9 months ago) by rogers
Fixed problem with the exclude clause of Build which was causing
compilation to fail.


Revision 37034 - Directory Listing
Modified Mon Apr 28 23:22:44 2003 UTC (16 years, 9 months ago) by rogers
Specified the override cluster as "preferences".


Revision 37033 - Directory Listing
Modified Mon Apr 28 23:22:10 2003 UTC (16 years, 9 months ago) by king
Updated to compile on linux


Revision 37032 - Directory Listing
Modified Mon Apr 28 23:19:34 2003 UTC (16 years, 9 months ago) by rogers
Now correctly excluded the files replaced in the demo version from
the Build2 directory.


Revision 37031 - Directory Listing
Modified Mon Apr 28 23:13:10 2003 UTC (16 years, 9 months ago) by rogers
Changed override cluster from build2_demo_version to preferences.


Revision 37030 - Directory Listing
Modified Mon Apr 28 22:55:37 2003 UTC (16 years, 9 months ago) by rogers
Updated to reflect the change to the new GOBO library instead of EXML.


Revision 37029 - Directory Listing
Modified Mon Apr 28 22:50:27 2003 UTC (16 years, 9 months ago) by rogers
Updated to reflect the fact that we now use the new GOBO for XML instead
of EXML.


Revision 37002 - Directory Listing
Modified Fri Apr 25 19:25:53 2003 UTC (16 years, 9 months ago) by rogers
`save' will now register a callback for displaying the save progress by
calling the new feature `display_save_progress' as XML STORE no longer
performs this.


Revision 37001 - Directory Listing
Modified Fri Apr 25 19:24:30 2003 UTC (16 years, 9 months ago) by rogers
Removed reporting of saving. This is now performed externally, through the
`obejct_written_agent' by any class that wishes to report this information.


Revision 37000 - Directory Listing
Modified Fri Apr 25 18:57:10 2003 UTC (16 years, 9 months ago) by rogers
Updated progress handling. As we now support multiple windows, the old
progress was incorrect. We use the new notification mechanism provided by
GB_XML_STORE as part of this process.


Revision 36999 - Directory Listing
Modified Fri Apr 25 18:55:36 2003 UTC (16 years, 9 months ago) by rogers
Added `register_object_written_agent' and `object_written_agent' which
allows you to assign an agent which will be called back whenever an object
is written, with two arguments, the total number of objects to write, and
the  current count of the written object.


Revision 36995 - Directory Listing
Modified Fri Apr 25 18:03:20 2003 UTC (16 years, 9 months ago) by king
Updated to remove GEL and override preferences cluster


Revision 36994 - Directory Listing
Modified Fri Apr 25 17:56:40 2003 UTC (16 years, 9 months ago) by rogers
Fixed `generate' which was crashing. This was due to the way that we were
retrieving the application node. Previously, we were using `root_element',
but now we are using the XML from GOBO, we call `first'.


Revision 36993 - Directory Listing
Modified Fri Apr 25 16:55:34 2003 UTC (16 years, 9 months ago) by rogers
Updated to reflect change to new GOBO library instead of using exml.


Revision 36990 - Directory Listing
Modified Fri Apr 25 01:21:19 2003 UTC (16 years, 10 months ago) by rogers
Updated to reflect the fact that we now use GOBO, and no longer exml or
ucstring.


Revision 36989 - Directory Listing
Modified Fri Apr 25 01:13:28 2003 UTC (16 years, 10 months ago) by rogers
Removed, as now we use the new GOBO XML, we no longer need this library.


Revision 36988 - Directory Listing
Modified Fri Apr 25 01:09:15 2003 UTC (16 years, 10 months ago) by rogers
Removed as we now use the release version of GOBO.


Revision 36985 - Directory Listing
Modified Fri Apr 25 00:37:23 2003 UTC (16 years, 10 months ago) by rogers
Removed, as we are now using the XML library from GOBO, and this is no
longer required.


Revision 36984 - Directory Listing
Modified Fri Apr 25 00:24:32 2003 UTC (16 years, 10 months ago) by rogers
Removed all references to UCSTRING as they are no longer required.


Revision 36983 - Directory Listing
Modified Fri Apr 25 00:22:43 2003 UTC (16 years, 10 months ago) by rogers
Removed references to UCSTRING as it is no longer required.


Revision 36977 - Directory Listing
Modified Thu Apr 24 23:34:50 2003 UTC (16 years, 10 months ago) by rogers
Updated to use the XML library from GOBO.


Revision 36976 - Directory Listing
Modified Thu Apr 24 23:32:23 2003 UTC (16 years, 10 months ago) by rogers
Removed unused local variable.


Revision 36975 - Directory Listing
Modified Thu Apr 24 23:26:14 2003 UTC (16 years, 10 months ago) by rogers
minor formatting.


Revision 36974 - Directory Listing
Modified Thu Apr 24 23:26:01 2003 UTC (16 years, 10 months ago) by rogers
Updated to use the GOBO XML library.


Revision 36973 - Directory Listing
Modified Thu Apr 24 23:15:15 2003 UTC (16 years, 10 months ago) by rogers
Updated to use the new GOBO XML library.


Revision 36972 - Directory Listing
Modified Thu Apr 24 23:14:39 2003 UTC (16 years, 10 months ago) by rogers
Updated to use the XML library from GOBO.


Revision 36971 - Directory Listing
Modified Thu Apr 24 23:12:56 2003 UTC (16 years, 10 months ago) by rogers
Updated to use the GOBO xml library.


Revision 36970 - Directory Listing
Modified Thu Apr 24 23:07:13 2003 UTC (16 years, 10 months ago) by rogers
Updated to use the XML library from GOBO.


Revision 36969 - Directory Listing
Modified Thu Apr 24 23:06:41 2003 UTC (16 years, 10 months ago) by rogers
Updated to use the GOBO xml library.


Revision 36968 - Directory Listing
Modified Thu Apr 24 23:06:15 2003 UTC (16 years, 10 months ago) by rogers
Changed type of `type_string' to STRING from UCSTRING.


Revision 36967 - Directory Listing
Modified Thu Apr 24 23:05:12 2003 UTC (16 years, 10 months ago) by rogers
Updated to use the new GOBO xml library.


Revision 36966 - Directory Listing
Modified Thu Apr 24 23:04:19 2003 UTC (16 years, 10 months ago) by rogers
Converted to use the XML libraries from GOBO.


Revision 36964 - Directory Listing
Modified Thu Apr 24 22:57:25 2003 UTC (16 years, 10 months ago) by rogers
Updated to use the GOBO xml libraries.


Revision 36962 - Directory Listing
Modified Thu Apr 24 22:52:38 2003 UTC (16 years, 10 months ago) by rogers
Fixed bug in `add_boolean_data'.


Revision 36961 - Directory Listing
Modified Thu Apr 24 22:51:54 2003 UTC (16 years, 10 months ago) by rogers
Updated to use the GOBO library for all XML handling.


Revision 36941 - Directory Listing
Modified Thu Apr 24 22:01:20 2003 UTC (16 years, 10 months ago) by rogers
Removed commented lines of code.


Revision 36940 - Directory Listing
Modified Thu Apr 24 21:59:36 2003 UTC (16 years, 10 months ago) by rogers
Removed inheritance from TOE_TREE_FACTORY as it is no longer in the system.
Updated to use XML classes from GOBO.


Revision 36939 - Directory Listing
Modified Thu Apr 24 21:57:45 2003 UTC (16 years, 10 months ago) by rogers
Removed `ucstring_to_latin_1' and `new_root_element' as they are no longer
needed, now that we use the new GOBO library. Updated all XML class
references to use the classes from GOBO.


Revision 36932 - Directory Listing
Modified Wed Apr 23 17:01:54 2003 UTC (16 years, 10 months ago) by rogers
Removed unused locals.


Revision 36908 - Directory Listing
Modified Tue Apr 22 22:03:53 2003 UTC (16 years, 10 months ago) by rogers
After loading we now mark a window as the root window if one is not set.
This situation occurs when we load an old EiffelBuild Project.


Revision 36907 - Directory Listing
Modified Tue Apr 22 22:02:57 2003 UTC (16 years, 10 months ago) by rogers
Changed generic type of `objects' to GB_TITLED_WINDOW instead of
GB_OBJECT. Added `mark_first_window_as_root' which is only exported to
GB_XML_LOAD.


Revision 36906 - Directory Listing
Modified Tue Apr 22 21:50:54 2003 UTC (16 years, 10 months ago) by rogers
Fixed `accepts_child' so that it does not allow windows and dialogs to
be inserted in a container.


Revision 36905 - Directory Listing
Modified Tue Apr 22 21:40:29 2003 UTC (16 years, 10 months ago) by rogers
We now flag the project as loading dugin the load.


Revision 36904 - Directory Listing
Modified Tue Apr 22 21:35:06 2003 UTC (16 years, 10 months ago) by rogers
Added some missing preconditions.


Revision 36903 - Directory Listing
Modified Tue Apr 22 21:34:40 2003 UTC (16 years, 10 months ago) by rogers
Added `loading_project', `enable_loading_project' and
`disable_loading_project'.


Revision 36902 - Directory Listing
Modified Tue Apr 22 21:33:36 2003 UTC (16 years, 10 months ago) by rogers
Updated `selected_window_changed' so that it does nothing if a project
is loading. Without this change, Build would parent every window in the
layout constructor one by one as they were parented. Added
`udpate_display_and_builder_windows' which is a refactoring from
`selected_window_changed'.


Revision 36901 - Directory Listing
Modified Tue Apr 22 21:27:14 2003 UTC (16 years, 10 months ago) by rogers
We now protect expansion on `layout_item' by checking that it is first exandable.


Revision 36900 - Directory Listing
Modified Tue Apr 22 21:25:50 2003 UTC (16 years, 10 months ago) by rogers
Removed checking of new line charater in `valid_data' this fixes a bug
which would cause Build to crash, if you were to save the `text' of an
EV_TEXT which was simply a new line character.


Revision 36832 - Directory Listing
Modified Thu Apr 17 21:45:57 2003 UTC (16 years, 10 months ago) by rogers
`execute' will now flag the project as modified, so a user may perform a
save.


Revision 36831 - Directory Listing
Modified Thu Apr 17 21:34:36 2003 UTC (16 years, 10 months ago) by rogers
Modified `move_files_between_directories' so that it does not do anything
of the two directories are identical. This stops Build crashing when you
attempt to insert a window back in its current directory.


Revision 36830 - Directory Listing
Modified Thu Apr 17 21:31:55 2003 UTC (16 years, 10 months ago) by rogers
Added expansion of `directory_item' when a window is inserted, during
`undo'. This means that the directory will remain open, rather than
reappear closed.


Revision 36829 - Directory Listing
Modified Thu Apr 17 21:24:37 2003 UTC (16 years, 10 months ago) by rogers
`add_new_object' will now update the project, so a user may save the
change.


Revision 36828 - Directory Listing
Modified Thu Apr 17 19:28:22 2003 UTC (16 years, 10 months ago) by rogers
Modified behaviour of `rename_file_exists' which now does nothing if
the old name and the new name are identical. This prevents Build from
crashing when you reset a windoW, as it would delete the file (effectively
by renaming), which it should have not.


Revision 36827 - Directory Listing
Modified Thu Apr 17 19:12:54 2003 UTC (16 years, 10 months ago) by rogers
Added `window_access_as_dialog'.


Revision 36826 - Directory Listing
Modified Thu Apr 17 19:12:19 2003 UTC (16 years, 10 months ago) by rogers
We now use `window_access_as_dialog' instead of `window_access' when we
are geenrating code for a dialog.


Revision 36825 - Directory Listing
Modified Thu Apr 17 18:39:30 2003 UTC (16 years, 10 months ago) by rogers
We now replace all instances of EV_TITLED_WINDOW from the template, with
EV_DIALOG for both the window and the window implementation, when we are
generating an EV_DIALOG.


Revision 36824 - Directory Listing
Modified Thu Apr 17 17:31:24 2003 UTC (16 years, 10 months ago) by rogers
Formatting.


Revision 36823 - Directory Listing
Modified Thu Apr 17 17:31:03 2003 UTC (16 years, 10 months ago) by rogers
Rather than check for an object being equivalent to an EV_TITLED_WINDOW
for code generation, we check that an object `is_root_object' which allows
us to handle dialogs correctly.


Revision 36820 - Directory Listing
Modified Thu Apr 17 00:45:44 2003 UTC (16 years, 10 months ago) by rogers
Added `ev_dialog_string' for referencing dialogs, and replaced all hard
coded instances of "EV_TITLED_WINDOW" with `ev_titled_window_string'.


Revision 36819 - Directory Listing
Modified Thu Apr 17 00:44:21 2003 UTC (16 years, 10 months ago) by rogers
`internal_build_window' now uses the actual type stored in the XML,
rather than simply assuming that it was always a titled window. This is
needed, as we now support dialogs.


Revision 36818 - Directory Listing
Modified Thu Apr 17 00:42:17 2003 UTC (16 years, 10 months ago) by rogers
In `generate_document', we now use the `type' of the object to store the
type of window, object instead of the old hard coded titled window
string. This allows us to support the saving of dialogs.


Revision 36817 - Directory Listing
Modified Thu Apr 17 00:37:27 2003 UTC (16 years, 10 months ago) by rogers
Added redefinition of `object' and added creation routines listing.


Revision 36816 - Directory Listing
Modified Thu Apr 17 00:36:23 2003 UTC (16 years, 10 months ago) by rogers
`add_root_window' now takes a single argument, a STRING correpsonding to
the type of the obejct to Build. `build_object_from_string' now supports
GB_DIALOG_OBJECT.


Revision 36815 - Directory Listing
Modified Thu Apr 17 00:28:54 2003 UTC (16 years, 10 months ago) by rogers
Now limited handling of dialog generation via replacing instances of
EV_TITLED_WINDOW with EV_DIALOG in the strings to be inserted into the
code. There must be a better way to perform this. Refactor when possible
/ necessary.


Revision 36814 - Directory Listing
Modified Wed Apr 16 23:04:03 2003 UTC (16 years, 10 months ago) by rogers
`add_selector_item' now calls `expand' to that the window added to the node
is visible in `Current'.


Revision 36813 - Directory Listing
Modified Wed Apr 16 22:57:02 2003 UTC (16 years, 10 months ago) by rogers
We no longer store the directory layout items, but instead, now store a
string representation of them. This allows us to actually retrieve the
layout item by its name as necessary, and stop Build crashing in certain
situations. The following woudl have caused a crash previously:

Load a build project with multiple windows and directories.
Move a window from the root into a directory.
delete the directory
repreatedly undo until you cannot undo any more
redo -> CRASH!


Revision 36812 - Directory Listing
Modified Wed Apr 16 22:09:24 2003 UTC (16 years, 10 months ago) by rogers
`make' now calls `cut_off_at_current_position' on the history.


Revision 36811 - Directory Listing
Modified Wed Apr 16 21:28:26 2003 UTC (16 years, 10 months ago) by rogers
Removed explicit cutting off for the history, as it is now performed by
all commands.


Revision 36810 - Directory Listing
Modified Wed Apr 16 21:27:30 2003 UTC (16 years, 10 months ago) by rogers
Removed prvious commit which should have never been added, as it modified
the editor for debugging purposes.


Revision 36809 - Directory Listing
Modified Wed Apr 16 21:24:19 2003 UTC (16 years, 10 months ago) by rogers
Removed explicit cutting off for the history, as it is now performed by
all commands.


Revision 36808 - Directory Listing
Modified Wed Apr 16 21:22:22 2003 UTC (16 years, 10 months ago) by rogers
We no longer explicitly call `cut_off_at_current_position' on the history,
as it is now performed in all commands.


Revision 36805 - Directory Listing
Modified Wed Apr 16 20:01:01 2003 UTC (16 years, 10 months ago) by rogers
`Remove directory' now no longer unparents the layout item, as this is performed by the command.


Revision 36804 - Directory Listing
Modified Wed Apr 16 19:59:25 2003 UTC (16 years, 10 months ago) by rogers
The history is now cut off during `make'. This means that we do not have
to perform this externally, which may have been required in multiple places
wherever the command is created.


Revision 36803 - Directory Listing
Modified Wed Apr 16 19:28:03 2003 UTC (16 years, 10 months ago) by rogers
Removed history cutting off, as it causes problems when you go back and
forewards multiple times in the history. You must only perform the cut off
once when the command is created. The removal of the directory item from
the window selector is now performed in here as well.


Revision 36802 - Directory Listing
Modified Wed Apr 16 19:25:22 2003 UTC (16 years, 10 months ago) by rogers
Fixed bug in `execute' which was cutting off the history. This was fine,
until you attempted to go bacK and forewards in the history multiple times,
Upon which build would crash.
The cutting of the history must be performed once before the command is executed.


Revision 36800 - Directory Listing
Modified Wed Apr 16 19:00:48 2003 UTC (16 years, 10 months ago) by rogers
Removed `directory_deleted' as we now always restore the directory if it
does not exist. Fixed bug in `execute' which would crash Build when you
attempted to delete a directory that had additional files in. We now
onyl actually delete the directory if it is empty.


Revision 36799 - Directory Listing
Modified Wed Apr 16 18:42:50 2003 UTC (16 years, 10 months ago) by rogers
Added `directory_exists' which takes a STRING, and returns True if
the corresponding directory exists. Added preconditions to move_file_between_directories'.


Revision 36798 - Directory Listing
Modified Wed Apr 16 18:41:05 2003 UTC (16 years, 10 months ago) by rogers
Added `silent_add_named_directory' which will add a directory layout item
without modifying the command history. The addition of directories is
now performed using a GB_COMMAND_ADD_DIRECTORY within `add_directory_item'.


Revision 36797 - Directory Listing
Modified Wed Apr 16 18:37:58 2003 UTC (16 years, 10 months ago) by rogers
Modified `add_window_object' so that the files are not not moved from
within its body. The moving of the files will be handled by the command
system.


Revision 36796 - Directory Listing
Modified Wed Apr 16 18:36:14 2003 UTC (16 years, 10 months ago) by rogers
Corrected bug in `undo' as we were passing the old and new directories to
`update_class_files_location' in the wrong order.


Revision 36795 - Directory Listing
Modified Wed Apr 16 18:33:07 2003 UTC (16 years, 10 months ago) by rogers
Fixed bug in `undo'. As the addition of directories is now a command, when
we called `add_named_directory' a new command was created in the history
which was unwanted, as this should have been hidden from the user. To fix
this, we now use `silent_add_named_directory' which does not create a
command.


Revision 36794 - Directory Listing
Modified Wed Apr 16 18:30:52 2003 UTC (16 years, 10 months ago) by rogers
Initial.


Revision 36792 - Directory Listing
Modified Wed Apr 16 00:48:08 2003 UTC (16 years, 10 months ago) by rogers
Initial.


Revision 36791 - Directory Listing
Modified Wed Apr 16 00:47:36 2003 UTC (16 years, 10 months ago) by rogers
`update_class_files_of_window' now allows empty names for the old and new
window files. We do not perform the physical move though, if the names are
empty. What to do in this case is still under consideration.


Revision 36790 - Directory Listing
Modified Wed Apr 16 00:29:14 2003 UTC (16 years, 10 months ago) by rogers
`add_new_object' now uses GB_COMMAND_MOVE_WINDOW when the new object was
already existing. Must add a command for the insertion of windows into
the project.


Revision 36789 - Directory Listing
Modified Wed Apr 16 00:27:29 2003 UTC (16 years, 10 months ago) by rogers
`add_selector_item'now uses GB_COMMAND_MOVE_WINDOW for its implementation.


Revision 36788 - Directory Listing
Modified Wed Apr 16 00:26:25 2003 UTC (16 years, 10 months ago) by rogers
Protected `unparent' against removing the final item.


Revision 36787 - Directory Listing
Modified Wed Apr 16 00:22:31 2003 UTC (16 years, 10 months ago) by rogers
Updated `internal_build_window' so that it no longer uses
`add_selector_item' on the directory item. The parenting is now performed
here, as `add_selector_item' has been modified.


Revision 36785 - Directory Listing
Modified Tue Apr 15 22:09:30 2003 UTC (16 years, 10 months ago) by rogers
Changed export status of `delete' to match changes in deletion code.


Revision 36784 - Directory Listing
Modified Tue Apr 15 22:06:31 2003 UTC (16 years, 10 months ago) by rogers
Fixed bug in `add_window_object' which was assuming that the window was
an already existing window, with a `window_selector_item', meaning that
if you were to try adding a new window in a directory from the type
selector, it would crash.


Revision 36783 - Directory Listing
Modified Tue Apr 15 21:56:35 2003 UTC (16 years, 10 months ago) by rogers
Removed `update_for_delete' and `update_object_editors_for_delete' as these
features are now defined in GB_OBJECT_HANDLER, and we simply call them
on the handler instead. Stops repeated definitions.


Revision 36782 - Directory Listing
Modified Tue Apr 15 21:54:40 2003 UTC (16 years, 10 months ago) by rogers
Added `update_for_delete' and `update_object_editors_for_delete' which
was previously defined in GB_COMMAND_DELETE_OBJECT, but needs to be accessed
by other parts of EiffelBuild.


Revision 36781 - Directory Listing
Modified Tue Apr 15 21:29:48 2003 UTC (16 years, 10 months ago) by rogers
Changed signatures of a number of the features in this class so that they
actuaqlly take DIRECTORY instead of FILE_NAME when referencing directories.


Revision 36780 - Directory Listing
Modified Tue Apr 15 21:22:02 2003 UTC (16 years, 10 months ago) by rogers
Updated to reflect changes in signatures for many procedures inherited
from GB_FILE_UTILITIES.


Revision 36779 - Directory Listing
Modified Tue Apr 15 21:20:53 2003 UTC (16 years, 10 months ago) by rogers
Updated to reflect change of types required by features inheriting
from GB_FILE_UTILTITIES. Many of these features were using FILE_NAME when
they should have been using DIRECTORY.


Revision 36778 - Directory Listing
Modified Tue Apr 15 21:01:14 2003 UTC (16 years, 10 months ago) by rogers
We now onyl attempt to delte and restore the directory if it existed.
This is perfroemd through the addition of the "directory_deleted" flag.


Revision 36777 - Directory Listing
Modified Tue Apr 15 19:23:20 2003 UTC (16 years, 10 months ago) by rogers
Added `restore_file', `delete_directory' and `create_directory'.


Revision 36776 - Directory Listing
Modified Tue Apr 15 19:18:18 2003 UTC (16 years, 10 months ago) by rogers
Simplified implementation of `unparent_tree_node', and ensured that
the index of the `parent' is not modified during the unparenting.


Revision 36775 - Directory Listing
Modified Tue Apr 15 19:13:45 2003 UTC (16 years, 10 months ago) by rogers
Removed unused locals.


Revision 36774 - Directory Listing
Modified Tue Apr 15 19:13:23 2003 UTC (16 years, 10 months ago) by rogers
Refactored `add_new_directory' so that it now relies on
`add_named_directory' which we need to call directly when we undo the
deletion of a directory in the history.


Revision 36773 - Directory Listing
Modified Tue Apr 15 19:12:07 2003 UTC (16 years, 10 months ago) by rogers
`unparent' now restores the inedx within the parent.


Revision 36772 - Directory Listing
Modified Tue Apr 15 19:10:19 2003 UTC (16 years, 10 months ago) by rogers
The physical files associated with `Current' are now removed from
the disk, when `execute' is called, and restored when `undo' is called.


Revision 36771 - Directory Listing
Modified Tue Apr 15 19:07:33 2003 UTC (16 years, 10 months ago) by rogers
Removed unused local.


Revision 36770 - Directory Listing
Modified Tue Apr 15 19:07:09 2003 UTC (16 years, 10 months ago) by rogers
Initial.


Revision 36765 - Directory Listing
Modified Mon Apr 14 18:50:11 2003 UTC (16 years, 10 months ago) by rogers
`remove_directory' now physically removes the directory and its
contetns from the disk.


Revision 36764 - Directory Listing
Modified Mon Apr 14 18:49:37 2003 UTC (16 years, 10 months ago) by rogers
Added `delete_file' and `delete_directory_and_content'.


Revision 36761 - Directory Listing
Modified Mon Apr 14 17:47:09 2003 UTC (16 years, 10 months ago) by rogers
`remove_directory' now updates the project settings, so a user may save the
project.


Revision 36760 - Directory Listing
Modified Mon Apr 14 17:42:07 2003 UTC (16 years, 10 months ago) by rogers
Added `remove_directory' which allows a directory to be deleted.


Revision 36759 - Directory Listing
Modified Mon Apr 14 17:39:38 2003 UTC (16 years, 10 months ago) by rogers
Added `delete_directory' which is in the drop actions of `Current',
meaning that when a user drops a GB_WIDNOW_SELECTOR_DIRECTORY_ITEM object
on `Current', it will be deleted.


Revision 36758 - Directory Listing
Modified Mon Apr 14 17:38:21 2003 UTC (16 years, 10 months ago) by rogers
Removed extra lines.


Revision 36757 - Directory Listing
Modified Mon Apr 14 17:37:52 2003 UTC (16 years, 10 months ago) by rogers
Made pickable for pick and drop with the pebble corresponding to
`Current'.


Revision 36750 - Directory Listing
Modified Fri Apr 11 23:01:28 2003 UTC (16 years, 10 months ago) by rogers
Updated to reflect name change within GB_WINDOW_SELECTOR.


Revision 36749 - Directory Listing
Modified Fri Apr 11 23:01:02 2003 UTC (16 years, 10 months ago) by rogers
Performed name changes:
`assign_main_window_button' -> `assign_root_window_button'.
`change_root_window_on_drop' -> `change_root_window_to'.


Revision 36748 - Directory Listing
Modified Fri Apr 11 22:52:17 2003 UTC (16 years, 10 months ago) by rogers
Added `change_root_window_on_drop' which will change the titled window
object passed as argument to the root object of the of system. This is
connected to the drop actions of `assign_main_window_button'.


Revision 36747 - Directory Listing
Modified Fri Apr 11 22:49:01 2003 UTC (16 years, 10 months ago) by rogers
Fixed case where you attempted to undo the deletion of a window that
was originally parented in the root, and not in a directory. Previously,
this case would crash Build.


Revision 36746 - Directory Listing
Modified Fri Apr 11 22:36:29 2003 UTC (16 years, 10 months ago) by rogers
Removed debugging output which was committed by mistake.


Revision 36745 - Directory Listing
Modified Fri Apr 11 22:33:51 2003 UTC (16 years, 10 months ago) by rogers
Renamed `change_main_window' -> `change_root_window' and fixed it so that
it will update the project, and allow you to save the change.


Revision 36744 - Directory Listing
Modified Fri Apr 11 22:26:13 2003 UTC (16 years, 10 months ago) by rogers
Exported `set_as_root_window' to GB_OBJECT_HANDLER.


Revision 36743 - Directory Listing
Modified Fri Apr 11 22:25:18 2003 UTC (16 years, 10 months ago) by rogers
`add_initial_window' now sets the new window as the root window for the
project.


Revision 36742 - Directory Listing
Modified Fri Apr 11 22:14:37 2003 UTC (16 years, 10 months ago) by rogers
Redefined `generate_xml' and `modify_from_xml' so that we can load/retrieve
the root window for the project.


Revision 36741 - Directory Listing
Modified Fri Apr 11 22:13:07 2003 UTC (16 years, 10 months ago) by rogers
Added preconditions to `generate_xml'and `modify_from_xml', and corrected
their comments.


Revision 36740 - Directory Listing
Modified Fri Apr 11 22:12:11 2003 UTC (16 years, 10 months ago) by rogers
Added `root_window_string' which is the tag used in the XML to identify
the window that is the root of the system.


Revision 36737 - Directory Listing
Modified Fri Apr 11 21:46:34 2003 UTC (16 years, 10 months ago) by rogers
Removed unused locals.


Revision 36736 - Directory Listing
Modified Fri Apr 11 21:46:04 2003 UTC (16 years, 10 months ago) by rogers
Removed inheritance from GB_OBJECT_HANDLER, and instead we now inherit
GB_SHARED_OBJECT_HANDLER which provides once access. Added
`set_as_root_window'and `update_as_root_window_changing' which are used
when the root window of the project changes.


Revision 36735 - Directory Listing
Modified Fri Apr 11 21:33:19 2003 UTC (16 years, 10 months ago) by rogers
Added `root_window_object' and `set_root_window' which are used to keep
track the root window object for the project.


Revision 36734 - Directory Listing
Modified Fri Apr 11 21:31:30 2003 UTC (16 years, 10 months ago) by rogers
Added `change_main_window' which is called by the
`assign_main_window_button' and changes the current root window.


Revision 36733 - Directory Listing
Modified Fri Apr 11 21:28:00 2003 UTC (16 years, 10 months ago) by rogers
Removed unused locals.


Revision 36732 - Directory Listing
Modified Fri Apr 11 19:54:38 2003 UTC (16 years, 10 months ago) by rogers
exported `build_display_object' to GB_TITLED_WINDOW_OBJECT, as it is
required by the menu handling. GB_TITLED_WINDOW_OBJECT directly inherited
GB_OBJECT_HANDLER before which meant that it was available, but this has
bveen changed.


Revision 36730 - Directory Listing
Modified Fri Apr 11 19:36:53 2003 UTC (16 years, 10 months ago) by rogers
Added `root_item' which returns a GB_LAYOUT_CONSTRUCTOR_ITEM corresponding
to the root item of `Current'.


Revision 36728 - Directory Listing
Modified Fri Apr 11 19:23:42 2003 UTC (16 years, 10 months ago) by rogers
Removed unused locals.


Revision 36727 - Directory Listing
Modified Fri Apr 11 19:23:03 2003 UTC (16 years, 10 months ago) by rogers
Added `icon_titled_window_main'.


Revision 36722 - Directory Listing
Modified Fri Apr 11 17:47:07 2003 UTC (16 years, 10 months ago) by rogers
Added `unparent_tree_node' which will remove a tree node from its
parent, if parented.


Revision 36721 - Directory Listing
Modified Fri Apr 11 17:46:21 2003 UTC (16 years, 10 months ago) by rogers
Modified `veto_drop' and `add_new_object' so that we now permit a drop
from an existing window object to move it to the root (so it is no longer
in a directory).


Revision 36719 - Directory Listing
Modified Fri Apr 11 17:44:10 2003 UTC (16 years, 10 months ago) by rogers
Now inherits GB_WIDGET_UTILITIES so that the feature `unparent_tree_node'
may be used in `add_selector_item' which simplifies its body.


Revision 36718 - Directory Listing
Modified Fri Apr 11 16:53:14 2003 UTC (16 years, 10 months ago) by rogers
Fixed bug in `update_clas_files_location'. Whenever `current_directory' or
`new_directory' is Void, it means that the files are not in a directory.
We now handle this case which was crashing the system.


Revision 36712 - Directory Listing
Modified Fri Apr 11 01:43:45 2003 UTC (16 years, 10 months ago) by rogers
Added `move_file_between_directories' which moves a file from one directory
to another.


Revision 36711 - Directory Listing
Modified Fri Apr 11 01:43:09 2003 UTC (16 years, 10 months ago) by rogers
`Added update_class_files_location' which will move the generated files
based on the items that are passed as arguments. This allows us to
physically move the files as a result of a restructuring.


Revision 36710 - Directory Listing
Modified Fri Apr 11 01:41:15 2003 UTC (16 years, 10 months ago) by rogers
Added inheritance from GB_SHARED_TOOLS as `add_window_object' now
notifies the window selector that the files have changed, which allows
us to really move the files.


Revision 36701 - Directory Listing
Modified Thu Apr 10 23:39:10 2003 UTC (16 years, 10 months ago) by rogers
Initial version of class representing standard file operations required
by Build.


Revision 36700 - Directory Listing
Modified Thu Apr 10 23:36:55 2003 UTC (16 years, 10 months ago) by rogers
Now inherits GB_SHARED_TOOLS so that when we call `execute' or `undo',
we can force `window_selector' to rename the generated file names
associated with a window object.


Revision 36699 - Directory Listing
Modified Thu Apr 10 23:34:06 2003 UTC (16 years, 10 months ago) by rogers
Very minor formatting and comment changes.


Revision 36698 - Directory Listing
Modified Thu Apr 10 23:33:29 2003 UTC (16 years, 10 months ago) by rogers
Fixed bug in `execute' so that if you cancel the renaming of the objects,
it will no longer go ahead and perform the generation. Updated export
status of many inheited features.


Revision 36697 - Directory Listing
Modified Thu Apr 10 23:29:56 2003 UTC (16 years, 10 months ago) by rogers
Added `directory_of_window' which takes a window selector item and returns
a directory item.
Added `update_class_files_of_window' which will change the names of the
generated files as the result of a name change on a window object.


Revision 36691 - Directory Listing
Modified Thu Apr 10 19:19:38 2003 UTC (16 years, 10 months ago) by rogers
Added `create_command_string' and `not_all_windows_named_string'.


Revision 36690 - Directory Listing
Modified Thu Apr 10 19:19:02 2003 UTC (16 years, 10 months ago) by rogers
Added `is_root_object' and `set_as_root_object' which allows us to know
if the object will be generated in a seperate class. This is now necessary
due to the implementation of multiple windows. We can now assume less, and
have to actually record which objects will be geenrated individually.


Revision 36689 - Directory Listing
Modified Thu Apr 10 19:17:17 2003 UTC (16 years, 10 months ago) by rogers
Added `assign_main_window_button' used for modifying the current main
window of the project.
Added `objects' which returns all objects contained in `Current'.
Of course, directory elements are ignored, as they do not correspond to
an object.


Revision 36688 - Directory Listing
Modified Thu Apr 10 19:15:44 2003 UTC (16 years, 10 months ago) by rogers
Now inherits GB_NAMING_UTILITIES and GB_GENERAL_UTILITIES.
Added `objects_all_named' and `add_default_names', both of which take a
list of GB_OBJECT. These were required for the automatic naming before
generation of a project.


Revision 36687 - Directory Listing
Modified Thu Apr 10 19:13:57 2003 UTC (16 years, 10 months ago) by rogers
Added the assign main window button to the window selector tool bar.


Revision 36686 - Directory Listing
Modified Thu Apr 10 19:13:13 2003 UTC (16 years, 10 months ago) by rogers
Modified precondition of `generate_code' as the code generation has changed
now that we support multiple windows. Updated export status of inherited
classes that had not been considered.


Revision 36685 - Directory Listing
Modified Thu Apr 10 19:08:46 2003 UTC (16 years, 10 months ago) by rogers
In `ensure_names_unique' we now use the feature `name_and_type_from_object'
to set the text of the layout item. This stops us from having the
processing to generate this text within `Current', and it is only defined
in one place instead. Added contracts to `make_with_name'.


Revision 36684 - Directory Listing
Modified Thu Apr 10 19:03:46 2003 UTC (16 years, 10 months ago) by rogers
Major refactoring to handle generation now that we allow multiple windows
to be generated. All of the previously existing features still exist, but
there have been many small changes in a lot of these for the multiple
window support.


Revision 36661 - Directory Listing
Modified Tue Apr 8 21:53:28 2003 UTC (16 years, 10 months ago) by rogers
Updated exported status of all inherited features that should not have
been exported.


Revision 36660 - Directory Listing
Modified Tue Apr 8 21:51:05 2003 UTC (16 years, 10 months ago) by rogers
Removed level of indirection in constant access, which was pointless as
`Current' already inherits the constant.


Revision 36659 - Directory Listing
Modified Tue Apr 8 19:44:39 2003 UTC (16 years, 10 months ago) by rogers
Fixed ANOTHER :) bug in `reset_object' where if we are rebuilding a
window that does not have an item contained, we correctly handle it.
Previously, Build would crash in this situation.


Revision 36658 - Directory Listing
Modified Tue Apr 8 19:35:28 2003 UTC (16 years, 10 months ago) by rogers
Fixed bug in `reset_object'. If the object is a titled window, then we
copy the menus across. Previously, they were lost.


Revision 36653 - Directory Listing
Modified Tue Apr 8 19:18:09 2003 UTC (16 years, 10 months ago) by rogers
Fixed bug in `reset_object'. We now show the display and builder windows
according to the current settings of the project. Before, we always used
`show', when `show_modal_to_window' was also a possible option.


Revision 36649 - Directory Listing
Modified Tue Apr 8 18:22:30 2003 UTC (16 years, 10 months ago) by rogers
Added `highlighted_width' which is used to determine the line width
for drawing the selected widget. This makes the tool easier to use for
those who are color blind.


Revision 36648 - Directory Listing
Modified Tue Apr 8 18:06:05 2003 UTC (16 years, 10 months ago) by rogers
`build_window' has been renamed into `internal_build_window' and added
two new features, `rebuild_window' and `build_window' which both rely on
`internal_build_window'. This fixes problems with rebuilding windows using
the old `build_window'.


Revision 36647 - Directory Listing
Modified Tue Apr 8 18:04:34 2003 UTC (16 years, 10 months ago) by rogers
Fixed bugs in `reset_object'. When the object was of type
GB_TITLED_WINDOW_OBJECT, the poperties of the window were not correctly
rebuilt, and a new window selector was added which was not needed.
We now call `rebuild_window' instead of `build_window' which is optimized
especially for this sitution, and does not have unwanted side effects
which occurred when we called `build_window'.


Revision 36646 - Directory Listing
Modified Tue Apr 8 18:01:42 2003 UTC (16 years, 10 months ago) by rogers
Exported `set_window_selector_item' to GB_OBJECT_HANDLER as it is required
by `reset_object'.


Revision 36641 - Directory Listing
Modified Tue Apr 8 01:32:29 2003 UTC (16 years, 10 months ago) by rogers
Changed the way in which we expand the layout items during `create_system'
to reflect the changes in the design of this processing.


Revision 36640 - Directory Listing
Modified Tue Apr 8 01:29:08 2003 UTC (16 years, 10 months ago) by rogers
Removed `update_representations' and associated implementation features
as you may now perform this by calling
`update_expanded_state_from_root_object' on GB_LAYOUT_CONSTRUCTOR which
performs the function that this was originally added for, but is a better
design.


Revision 36639 - Directory Listing
Modified Tue Apr 8 01:26:57 2003 UTC (16 years, 10 months ago) by rogers
Added `update_expanded_state_from_root_object' which is only exported
to GB_XML_LOAD and allows the loader to expand the root node of `Current'.
The reason that the root node must be expanded, is that when we load
a new project, the item gets added to the tree before the data is
retrieved.


Revision 36637 - Directory Listing
Modified Tue Apr 8 00:33:42 2003 UTC (16 years, 10 months ago) by rogers
Removed call to `update_representations' on `titled_window_object' as there
is no longer a need to perform this.


Revision 36636 - Directory Listing
Modified Mon Apr 7 23:54:27 2003 UTC (16 years, 10 months ago) by rogers
Added update_representations.


Revision 36635 - Directory Listing
Modified Mon Apr 7 23:52:46 2003 UTC (16 years, 10 months ago) by rogers
Removed commented out line of code.


Revision 36634 - Directory Listing
Modified Mon Apr 7 23:52:03 2003 UTC (16 years, 10 months ago) by rogers
Removed unused local.


Revision 36633 - Directory Listing
Modified Mon Apr 7 23:51:25 2003 UTC (16 years, 10 months ago) by rogers
Added `tool_holder' as an attribute, and therefore renamed local variables
with clashing name.


Revision 36632 - Directory Listing
Modified Mon Apr 7 23:50:46 2003 UTC (16 years, 10 months ago) by rogers
Added `expand_all_button' which reutns a tool bar button correctly
initialized to recursively expand `Current' when selected.


Revision 36631 - Directory Listing
Modified Mon Apr 7 23:50:01 2003 UTC (16 years, 10 months ago) by rogers
Whenever `Current' is expanded, or collapsed, we now call the new features
`register_expand' or `register_collapse' which records this with the
associated object.


Revision 36630 - Directory Listing
Modified Mon Apr 7 23:48:50 2003 UTC (16 years, 10 months ago) by rogers
Added the expand all button toolbar for the layout constructor.


Revision 36629 - Directory Listing
Modified Mon Apr 7 23:48:06 2003 UTC (16 years, 10 months ago) by rogers
Added `is_expanded' which corresponds to whether its layout item is
expanded or not. This means that the object now knows about the expanded
state of the layout items, and we no logner have to iterate all of the
items when somewthing changes.


Revision 36628 - Directory Listing
Modified Mon Apr 7 23:45:49 2003 UTC (16 years, 10 months ago) by rogers
Removed `window_unselected' as we no longer need to use it when the
window is unselcted. The actual GB_OBECT know knows its expanded state,
and this will not change.


Revision 36627 - Directory Listing
Modified Mon Apr 7 21:19:21 2003 UTC (16 years, 10 months ago) by rogers
Added `expand_all_button' which is a tool bar button used to expand all
nodes in `Current'. We also now update the layout constructor when
the sleected item is changed, which means the the constructor will be
lai out exactly as it was left during the last edit of a paticular window.


Revision 36626 - Directory Listing
Modified Mon Apr 7 21:14:00 2003 UTC (16 years, 10 months ago) by rogers
Added `expand_tree_recursive' and `collapse_tree_recursive' along with
necessary implementation procedures.


Revision 36625 - Directory Listing
Modified Mon Apr 7 21:12:49 2003 UTC (16 years, 10 months ago) by rogers
Simplified implementation. We use the facilities now inherited from
GB_WIDGET_UTILITIES for adjusting the state of `Current'.


Revision 36624 - Directory Listing
Modified Sat Apr 5 01:20:45 2003 UTC (16 years, 10 months ago) by rogers
Removed unused locals.


Revision 36620 - Directory Listing
Modified Sat Apr 5 00:55:10 2003 UTC (16 years, 10 months ago) by rogers
Now inherits DEFAULT_OBJECT_STATE_CHECKER which prevents us from having
to create a new widget every time that we generate XML.


Revision 36619 - Directory Listing
Modified Sat Apr 5 00:54:16 2003 UTC (16 years, 10 months ago) by rogers
We no longer rebuild new Widgets each time that we wish to check the
default colors for restoration purposes, as we can now just call
`defult_object_by_type' which is defined as deferred. This saves us from creating many objects every time.


Revision 36618 - Directory Listing
Modified Sat Apr 5 00:50:17 2003 UTC (16 years, 10 months ago) by rogers
We now update the project settings to indicate that a change has occurred,
and the user may now save the change.


Revision 36613 - Directory Listing
Modified Sat Apr 5 00:33:19 2003 UTC (16 years, 10 months ago) by rogers
Initial version of class used to cache Vision2 widgets in their default
state.


Revision 36609 - Directory Listing
Modified Fri Apr 4 22:56:07 2003 UTC (16 years, 10 months ago) by rogers
`Add_selector_item' now expands `Current', meaning that whenever a new
item is inserted, the directory will be opened.


Revision 36608 - Directory Listing
Modified Fri Apr 4 22:55:03 2003 UTC (16 years, 10 months ago) by rogers
Further improved `name_and_type_from_object', which was not properly
returning the correct name after a project has been loaded. This is because
`output_name' was not set, but `name' was. We now check both when
determining the result.


Revision 36607 - Directory Listing
Modified Fri Apr 4 21:04:37 2003 UTC (16 years, 10 months ago) by rogers
We now update the window selector at the end of a call to `create_system'
which ensures that the names are displayed correctly. Previously, the
names of windows were not displayed after a load.


Revision 36606 - Directory Listing
Modified Fri Apr 4 20:59:48 2003 UTC (16 years, 10 months ago) by rogers
Added `update_displayed_names' which refreshes the names displayed for
all items from the objects. Now inherits GB_GENERAL_UTILITIES for
supporting this functionality.


Revision 36599 - Directory Listing
Modified Fri Apr 4 02:15:41 2003 UTC (16 years, 10 months ago) by rogers
In `validate_name_change', we now update the project, to allow saving, if
the key press results in a new valid namebeing displayed in the text field.


Revision 36598 - Directory Listing
Modified Fri Apr 4 01:37:56 2003 UTC (16 years, 10 months ago) by rogers
Added `unparent'.


Revision 36597 - Directory Listing
Modified Fri Apr 4 01:37:34 2003 UTC (16 years, 10 months ago) by rogers
Removed `unparent_layout_item' as this is more a property of the layout
item, and as we have access to the item, you should just call `unparent'
on the item.


Revision 36596 - Directory Listing
Modified Fri Apr 4 01:36:52 2003 UTC (16 years, 10 months ago) by rogers
Added `unparent' which is only exporteed to
GB_COMMAND_DELETE_WINDOW_OBEJCT.


Revision 36595 - Directory Listing
Modified Fri Apr 4 01:36:13 2003 UTC (16 years, 10 months ago) by rogers
Updated to reflect that `unparent_layout_item' and
`unparent_window_selector_item' are no longer available on a titled window
object. We now directly call it on the layout item and
window_selector_item.


Revision 36587 - Directory Listing
Modified Fri Apr 4 00:36:26 2003 UTC (16 years, 10 months ago) by rogers
Added `set_window_selector_item', `set_object', `build_display_object'
 and `set_display_object', all required now that we can have multiple
windows in a system. Exported many inerhtied features to {NONE}.


Revision 36585 - Directory Listing
Modified Fri Apr 4 00:10:34 2003 UTC (16 years, 10 months ago) by rogers
Initial version. Simply inherits GB_TITLED_WINDOW_OBJECT with no
implementation. Additional features specific to dialogs may be added
later, but for now, it is used to seperate between windows and dialogs.


Revision 36581 - Directory Listing
Modified Thu Apr 3 23:49:45 2003 UTC (16 years, 10 months ago) by rogers
Fixed `redefined_creation' which now uses "ensure then" as it should which
was now caught by the compiler from a later 5.3 version onwards.


Revision 36579 - Directory Listing
Modified Thu Apr 3 23:22:22 2003 UTC (16 years, 10 months ago) by rogers
Added `name_and_type_from_object' returns both the name and type of
and object seperated by a colon, if the name is not empty.


Revision 36578 - Directory Listing
Modified Thu Apr 3 23:13:30 2003 UTC (16 years, 10 months ago) by rogers
Removed commented lines.


Revision 36577 - Directory Listing
Modified Thu Apr 3 23:11:44 2003 UTC (16 years, 10 months ago) by rogers
Added missing comment.


Revision 36576 - Directory Listing
Modified Thu Apr 3 23:11:21 2003 UTC (16 years, 10 months ago) by rogers
Changed `make_with_names' to accept names, a text, a title and an invalid
message. This allows this dialog to be much more flexible, and used for
naming things that are not components.


Revision 36574 - Directory Listing
Modified Thu Apr 3 23:06:14 2003 UTC (16 years, 10 months ago) by rogers
Updated to handle directories and multiple windows. Will behave as before
if you have no directories and only a single window. Exported all
inherited features to {NONE}.


Revision 36573 - Directory Listing
Modified Thu Apr 3 23:03:54 2003 UTC (16 years, 10 months ago) by rogers
Added support for directories and multiple windows. If you have no
directories and a single window it will behave as before. Therefore this
change is backwards compatible with older save files.


Revision 36572 - Directory Listing
Modified Thu Apr 3 22:59:45 2003 UTC (16 years, 10 months ago) by rogers
Added `icon_directory' pixmap array.


Revision 36571 - Directory Listing
Modified Thu Apr 3 22:59:13 2003 UTC (16 years, 10 months ago) by rogers
Added `directory_string' and `spacing_to_holder_tool_bar'.


Revision 36570 - Directory Listing
Modified Thu Apr 3 22:58:23 2003 UTC (16 years, 10 months ago) by rogers
Exported all inherited features to {NONE}.


Revision 36569 - Directory Listing
Modified Thu Apr 3 22:55:46 2003 UTC (16 years, 10 months ago) by rogers
Now inherits GB_GENERAL_UTILITIES so that we can use
`name_and_type_from_object' in the command. We also update the
representations of windows in the window selector.


Revision 36568 - Directory Listing
Modified Thu Apr 3 22:53:08 2003 UTC (16 years, 10 months ago) by rogers
`delete_object' will now check the type of object, and if it is a window,
create a command of type GB_COMMAND_DELETE_WINDOW_OBJECT. We have two
different commands for windows and non windows, as their operation is
fundamentally different.


Revision 36567 - Directory Listing
Modified Thu Apr 3 22:50:43 2003 UTC (16 years, 10 months ago) by rogers
Now inherits GB_SHARED_OBJECT_HANDLER, so that we can call
object_handler.add_intitial_window after creating the new project.


Revision 36566 - Directory Listing
Modified Thu Apr 3 22:47:48 2003 UTC (16 years, 10 months ago) by rogers
`make' now uses `window' instead of `builder_window'. Both work, but this
is now more correct, as if the implementation of `window' changes, only one change will be required.


Revision 36565 - Directory Listing
Modified Thu Apr 3 22:42:38 2003 UTC (16 years, 10 months ago) by rogers
Added support for EV_TITLED_WINDOW and EV_DIALOG.


Revision 36564 - Directory Listing
Modified Thu Apr 3 22:41:11 2003 UTC (16 years, 10 months ago) by rogers
Added `add_command_tool_bar' which allows the tool holder to display
a tool bar in its header.


Revision 36561 - Directory Listing
Modified Thu Apr 3 22:26:12 2003 UTC (16 years, 10 months ago) by rogers
exported `is_empty' to {ANY}.


Revision 36560 - Directory Listing
Modified Thu Apr 3 21:00:43 2003 UTC (16 years, 10 months ago) by rogers
Added `window_selector'.


Revision 36559 - Directory Listing
Modified Thu Apr 3 21:00:03 2003 UTC (16 years, 10 months ago) by rogers
Added `add_initial_window', `add_root_windoW' and `add_new_window' all
now required due to our handling of multiple windows.


Revision 36558 - Directory Listing
Modified Thu Apr 3 20:51:22 2003 UTC (16 years, 10 months ago) by rogers
`update_visual_representations_on_name_change' now updates the
representation of a window in `window_selector'.


Revision 36554 - Directory Listing
Modified Thu Apr 3 20:49:42 2003 UTC (16 years, 10 months ago) by rogers
Modified the export status of a number of features.


Revision 36553 - Directory Listing
Modified Thu Apr 3 20:47:29 2003 UTC (16 years, 10 months ago) by rogers
Updated to reflect the fact that we now display three controls vertically.


Revision 36552 - Directory Listing
Modified Thu Apr 3 20:44:40 2003 UTC (16 years, 10 months ago) by rogers
Removed `make_root' as it is no longer require by Build due to the
support of multiple windows.


Revision 36551 - Directory Listing
Modified Thu Apr 3 20:43:18 2003 UTC (16 years, 10 months ago) by rogers
Added `add_root_window' and `set_root_window' which are neccessary now that
EiffelBuild supports multiple windows.


Revision 36550 - Directory Listing
Modified Thu Apr 3 20:40:34 2003 UTC (16 years, 10 months ago) by rogers
Updated to reflect changes to GB_COMPONENT_NAMER_DIALOG which is now
more flexible.


Revision 36549 - Directory Listing
Modified Thu Apr 3 20:38:58 2003 UTC (16 years, 10 months ago) by rogers
Initial support for handling multiple windows. Not yet complete. Now
iterates all window in the project, and generates the imp file into the
correct directory, although the interface file is not yet generated
correctly.


Revision 36548 - Directory Listing
Modified Thu Apr 3 20:33:13 2003 UTC (16 years, 10 months ago) by rogers
Initial version. An item that represents an item for a GB_WINDOW_SELECTOR.
Directories are handled seperately by the class
GB_WINDOW_SELECTOR_DIRECTORY_ITEM.


Revision 36547 - Directory Listing
Modified Thu Apr 3 20:31:46 2003 UTC (16 years, 10 months ago) by rogers
Initial version. Represents a directory, and may be inserted into a
GB_WINDOW_SELECTOR.


Revision 36546 - Directory Listing
Modified Thu Apr 3 20:30:49 2003 UTC (16 years, 10 months ago) by rogers
Initial version. Holds all windows and directories for a project.


Revision 36545 - Directory Listing
Modified Thu Apr 3 20:30:05 2003 UTC (16 years, 10 months ago) by rogers
Initial version. Not complete with regards to maximizing and minimizing,
but it does correctly hodl three widgets as required by Build. This needs
more work, but for now, we can just use it.


Revision 36544 - Directory Listing
Modified Thu Apr 3 20:28:41 2003 UTC (16 years, 10 months ago) by rogers
Initial version. We need a seperate class for handling the deletion
of windows, as they require special processing that normal objects do
not.


Revision 36485 - Directory Listing
Modified Fri Mar 21 22:50:32 2003 UTC (16 years, 11 months ago) by rogers
Removed inheritence from INTERNAL, GB_SHARED_OBJECT_HANDLER and
GB_SHARED_SYSTEM_STATUS as these classes are already inherited indirectly.


Revision 36484 - Directory Listing
Modified Fri Mar 21 22:49:29 2003 UTC (16 years, 11 months ago) by rogers
Removed inheritence from GB_SHARED_TOOLS as it is already inherited
through another class.


Revision 36477 - Directory Listing
Modified Fri Mar 21 19:15:52 2003 UTC (16 years, 11 months ago) by rogers
Refactored implementation of `track_movement' with regards to improving
the way in which we resize items in the table. Previously, if you
were adjusting both horizontally and vertically, we would re-position
the item in the table twice which we no longer do, as we perform this once
at the end. Also we will only reposition and redraw the window if the
size or position has really changed. In the previous version, we would
reposition and redraw every time that the mouse had moved which is slow.


Revision 36468 - Directory Listing
Modified Fri Mar 21 03:17:00 2003 UTC (16 years, 11 months ago) by rogers
Corrected the way we handle the resizing of widgets in `track_movement'.
The calculation for the new size of the widget was not correct in the case
where `x_offset' or `y_offset' were not 0. This means when we were resizing
vertically from the bottom of a widget or horizontally from the right
side of the widget.

Previously, the calculated cells for the widget to span were not computed
correctly unless the widget was at position 0, 0. The calculation now
correctly handles all possible widget positions.


Revision 36451 - Directory Listing
Modified Thu Mar 20 02:05:00 2003 UTC (16 years, 11 months ago) by rogers
Initial. Provides support for the restoring of the layout constructor items
after a project has been loaded. This allows us to save the state of the
layout constructor with a project, and restor it upon loading.


Revision 36449 - Directory Listing
Modified Thu Mar 20 02:03:03 2003 UTC (16 years, 11 months ago) by rogers
Now inherits GB_POST_LOAD_OBJECT_EXPANDER. This allows us to restore the
state of the layout constructor after a project has been reloaded.
To perform this, we now call `expand_all_registered_objects' towards the
end of `load'.


Revision 36448 - Directory Listing
Modified Thu Mar 20 02:00:42 2003 UTC (16 years, 11 months ago) by rogers
Protected call to update on the docked object editor from within
`update_docked_object_editor', as it appears that select actions are
fired in some unexpected cases. We now only perform the selection if
there is a project open.


Revision 36446 - Directory Listing
Modified Thu Mar 20 01:59:04 2003 UTC (16 years, 11 months ago) by rogers
Now inherits GB_POST_OBJECT_EXPANDER to allow the expanded state of
the layout constructor to be saved and restored from the save file.

The reason that we must introduce a new class for this, is that GB_OBJECT
is the only class that knows how to read the XML file directly, but other
classes must perform the loading and rebvuilding. Therefore we need a
common class which may be used by these different classes.

`generate_xml' and `modify_from_xml' have been modified to allow this
restoration.


Revision 36442 - Directory Listing
Modified Thu Mar 20 00:47:12 2003 UTC (16 years, 11 months ago) by rogers
Added missing comment, and removed extra lines.


Revision 36441 - Directory Listing
Modified Wed Mar 19 23:46:44 2003 UTC (16 years, 11 months ago) by rogers
Now inherits GB_GENERAL_UTILITIES and CDATA_HANDLER to fix two bugs :-

A tooltip with special characters was not escaped properly, so generated
code would not compile.

Special characters in the save file were not protected by CDATA tags, this
meant that the loading and saving of projects could becoms corrupted.


Revision 36440 - Directory Listing
Modified Wed Mar 19 23:11:50 2003 UTC (16 years, 11 months ago) by rogers
Corrected postconditions on `strip_cdata' and `strip_cdata_strict'.


Revision 36439 - Directory Listing
Modified Wed Mar 19 23:04:00 2003 UTC (16 years, 11 months ago) by rogers
in `make', we no longer load the first state as this is now performed after
the creation of the window.


Revision 36438 - Directory Listing
Modified Wed Mar 19 23:03:22 2003 UTC (16 years, 11 months ago) by rogers
`first_window' now loads the first state after creation, to fix a problem
introduced by the creation ordering as fixed recently in the compiler.


Revision 36437 - Directory Listing
Modified Wed Mar 19 19:26:11 2003 UTC (16 years, 11 months ago) by rogers
Corrected postconditions of `strip_cdata' and `strip_cdata_strict' which
were checking the original string and not `Result'.


Revision 36436 - Directory Listing
Modified Wed Mar 19 19:16:55 2003 UTC (16 years, 11 months ago) by rogers
Now inherits CDATA_HANDLER and uses its facilities to enclose text ready
for storing to XML. This allow special characters such as '<' to be saved
without corrupting the save file.


Revision 36435 - Directory Listing
Modified Wed Mar 19 19:15:10 2003 UTC (16 years, 11 months ago) by rogers
Now inherits CDATA_HANDLER and uses this class to handle the CDATA tags
in the XML.


Revision 36434 - Directory Listing
Modified Wed Mar 19 19:13:47 2003 UTC (16 years, 11 months ago) by rogers
Initial version. A class for adding/removing CDATA tags from strings to
be used in XML. Inherit this class to use these features.


Revision 36378 - Directory Listing
Modified Mon Mar 17 20:23:12 2003 UTC (16 years, 11 months ago) by rogers
Added a step of 12 to `scroll_bar' which ensures that when a user clicks on
one of the arrows of the scroll bar, the scrolling is moved at a reasonable
rate, instead of one pixel at a time which was the default.


Revision 36377 - Directory Listing
Modified Mon Mar 17 19:55:54 2003 UTC (16 years, 11 months ago) by rogers
Now inherits GB_WIDGET_UTILITIES. `reset_object' now locks the update on
the main window so that the rebuilding of the layout constructor is no
longer visible.


Revision 36376 - Directory Listing
Modified Mon Mar 17 19:36:00 2003 UTC (16 years, 11 months ago) by rogers
Exported `selected_item'.


Revision 36375 - Directory Listing
Modified Mon Mar 17 19:29:58 2003 UTC (16 years, 11 months ago) by rogers
We now store and restore the selected layout_item.


Revision 36374 - Directory Listing
Modified Mon Mar 17 19:29:28 2003 UTC (16 years, 11 months ago) by rogers
Added `selected', `enable_selected' and `disable_selected' so that the
selected state can also be recorded.


Revision 36372 - Directory Listing
Modified Mon Mar 17 18:32:00 2003 UTC (16 years, 11 months ago) by rogers
`actual_minimum_width' and `actual_minimum_height' are no loner editable.
We also set their background color back to white, so that it is not grey.


Revision 36371 - Directory Listing
Modified Mon Mar 17 18:30:19 2003 UTC (16 years, 11 months ago) by rogers
Initial version allowing you to store and rebuild the state of the
`layout_constructor'.


Revision 36369 - Directory Listing
Modified Mon Mar 17 18:14:11 2003 UTC (16 years, 11 months ago) by rogers
Initial version of a tree item for use in a GB_BOOLEAN_TREE. Each node
has a BOOLEAN state.


Revision 36368 - Directory Listing
Modified Mon Mar 17 18:13:11 2003 UTC (16 years, 11 months ago) by rogers
Initial version of a tree structure to hold BOOLEAN values.


Revision 36367 - Directory Listing
Modified Mon Mar 17 18:01:05 2003 UTC (16 years, 11 months ago) by rogers
Now inherits GB_LAYOUT_CONSTRUCTOR_STATE_HANDLER, so that in `reset_object'
we can store and restore `layout_constructor'. This means that even though
it is rebuilt, the expanded state of all items will be unchanged.


Revision 36365 - Directory Listing
Modified Mon Mar 17 17:44:34 2003 UTC (16 years, 11 months ago) by rogers
Modified `process_xml_string' so that it takes into account CDATA tags.
This ensures that the formatting we apply comes out as many levels as it
goes in.


Revision 36312 - Directory Listing
Modified Wed Mar 12 18:17:44 2003 UTC (16 years, 11 months ago) by rogers
Undid previous change, as it was not correct, and caused problems while
rebuilding tables. The previous implementation worked, but I was trying
to make it a little cleaner.


Revision 36311 - Directory Listing
Modified Wed Mar 12 18:01:06 2003 UTC (16 years, 11 months ago) by rogers
During `reset_object' we now prune the object from `objects' after we
have generated the XML. This is because GB_EV_TABLE was referencing `objects'
during its generation, and required that it had not been removed.
GB_EV_TABLE has been fixed so that it no longer does this, but as there is
no consequence to removing after, we do this in case other widget types
are performing something similar.


Revision 36310 - Directory Listing
Modified Wed Mar 12 17:57:02 2003 UTC (16 years, 11 months ago) by rogers
Modified `generate_xml' which was previsouly finding the object, and
traversing the layout items. This is no longer necessary due to the
change in EV_TABLE, and we can simply traverse the table referenced
by `first'.


Revision 36304 - Directory Listing
Modified Wed Mar 12 01:42:09 2003 UTC (16 years, 11 months ago) by rogers
Updated to reflect the fact that we can now reset a minimum size on a
widget. There is a reset control.


Revision 36303 - Directory Listing
Modified Wed Mar 12 01:41:15 2003 UTC (16 years, 11 months ago) by rogers
Fixed `modify_from_xml' so that it will strip out CDATA tags. This was
never a problem when we loaded XML from the document processor, as it
stripped them automatically, but now we generate and rebuild objects
from XML internally, we must ensure that there are no CDATA tags in the
text.


Revision 36302 - Directory Listing
Modified Wed Mar 12 01:39:46 2003 UTC (16 years, 11 months ago) by rogers
Added `build_non_once_windows' which creates the display and builder
windows as they are no longer once functions, but may be changed. We
must now build them before anything attempts to use them.


Revision 36301 - Directory Listing
Modified Wed Mar 12 01:38:59 2003 UTC (16 years, 11 months ago) by rogers
Now exported `build' to GB_OBJECT_HANDLER.


Revision 36300 - Directory Listing
Modified Wed Mar 12 01:38:22 2003 UTC (16 years, 11 months ago) by rogers
Removed `restore_to_default' as it is no longer used. Build will now simply
rebuild a new window and replace the existing one when required.


Revision 36299 - Directory Listing
Modified Wed Mar 12 01:37:20 2003 UTC (16 years, 11 months ago) by rogers
`move_object_contents' now takes a BOOLEAN  argument which allows it
to process wether it is in a type change or not. Slightly different
processing is now performed based on this.
Added `deep_object_from_id' which returns an object based on a given id,
which checks `deleted_objects' as well as `objects'.
Added `reset_object' which will rebuild a given object, by generating XML
and then building from that XML. This now allows us to reset the minimum
size on a widget, which is not possible in Vision2. This feature will take
care of updating all objects so that from a users perspective, nothing has
really changed.


Revision 36298 - Directory Listing
Modified Wed Mar 12 01:33:21 2003 UTC (16 years, 11 months ago) by rogers
Corrected comment which was referncing a now non existant feature.


Revision 36297 - Directory Listing
Modified Wed Mar 12 01:32:54 2003 UTC (16 years, 11 months ago) by rogers
Added `set_display_window', `set_builder_window', `display_window_cell' and
`builder_window_cell' which allow the windows referenced by
`display_window' and `builder_window' to be changed during the execution
of Build.


Revision 36296 - Directory Listing
Modified Wed Mar 12 01:31:51 2003 UTC (16 years, 11 months ago) by rogers
Added support for GB_EV_PROGRESS_BAR.


Revision 36295 - Directory Listing
Modified Wed Mar 12 01:31:15 2003 UTC (16 years, 11 months ago) by rogers
Added `reset_minimum_width' and `reset_minimum_height' which allows us
to record if a user resets any minimum dimension settings.


Revision 36294 - Directory Listing
Modified Wed Mar 12 01:30:33 2003 UTC (16 years, 11 months ago) by rogers
Added `update_objects' which allows the widgets referenced by `Current' to
be updated with new windows.


Revision 36293 - Directory Listing
Modified Wed Mar 12 01:27:06 2003 UTC (16 years, 11 months ago) by rogers
Added `set_child' which is only exported to GB_TITLED_WINDOW_OBJECT and
is used to change the actual child widget. This is now required as we
can rebuild windows, and display child must be updated whenever this is
performed.


Revision 36292 - Directory Listing
Modified Wed Mar 12 01:25:49 2003 UTC (16 years, 11 months ago) by rogers
Added `make_without_label' which allows you to create an integer input
field that behaves as normal, but does not display a label above the text
field. Refactored the implementation of `make' to allow common parts to
be reused by both implementations.


Revision 36291 - Directory Listing
Modified Wed Mar 12 01:23:55 2003 UTC (16 years, 11 months ago) by rogers
Removed `restore_titled_window' as it is no longer used. Build is now able
to rebuild the windows with new objects, and hence there is no longer any
need to restore them. We simply build new ones between projects.


Revision 36290 - Directory Listing
Modified Wed Mar 12 01:22:39 2003 UTC (16 years, 11 months ago) by rogers
Removed `id_compressor' as it was not used.


Revision 36289 - Directory Listing
Modified Wed Mar 12 01:21:44 2003 UTC (16 years, 11 months ago) by rogers
Commented out unused locals. We no longer call `restore_to_defaults' on
the `builder_window' and `display_window' as this is now unecessary. These
windows are properly reset via the call fo `clear_all_objects' on
`object_handler'.


Revision 36288 - Directory Listing
Modified Wed Mar 12 01:19:44 2003 UTC (16 years, 11 months ago) by rogers
Refactored to rely only on object ids instead of layout items. This is the
correct approach, and fixes problems introduced by the rebuilding of
objects which is now permitted.


Revision 36287 - Directory Listing
Modified Wed Mar 12 01:16:05 2003 UTC (16 years, 11 months ago) by rogers
Added protection in `make' for when `builder_window' is Void, which may
now happen, due to the refactoring of how the windows are built.


Revision 36286 - Directory Listing
Modified Wed Mar 12 01:14:23 2003 UTC (16 years, 11 months ago) by rogers
Refactored part of the implementation of `build_new_object' into the new
feature `modify_from_xml'. Added `retreive_new_object' which will build a
new object based on XML data, and return this object. The implementation
of this feature uses the new refactoring.


Revision 36285 - Directory Listing
Modified Wed Mar 12 01:12:06 2003 UTC (16 years, 11 months ago) by rogers
Exported `add_new_object_to_output' and `output_attributes' to
GB_OBJECT_HANDLER as they are now used when resetting an object.


Revision 36244 - Directory Listing
Modified Fri Mar 7 23:13:30 2003 UTC (16 years, 11 months ago) by rogers
Updated `update_editors_for_property_change' so that it will update
the properties for widgets on every object editor, every time that it
is called. The overhead of doing this is not great, but it means that
the minimum size of objects are always displayed correctly.

For example, if you are typing a text for a textable object, its minimum
size, and that of its parents will all be updated.


Revision 36141 - Directory Listing
Modified Thu Feb 20 07:00:11 2003 UTC (17 years ago) by manus
Fixed incorrect path.


Revision 36140 - Directory Listing
Modified Thu Feb 20 02:55:36 2003 UTC (17 years ago) by rogers
Corrected address.


Revision 36139 - Directory Listing
Modified Thu Feb 20 02:53:41 2003 UTC (17 years ago) by rogers
fixed `escape_special_characters' which now escapes '%N' as well.


Revision 36138 - Directory Listing
Modified Thu Feb 20 02:53:06 2003 UTC (17 years ago) by rogers
Fixed bug in `generate_code' which was still including the cdata
information from the XML. This is now stripped out.


Revision 36136 - Directory Listing
Modified Thu Feb 20 02:52:25 2003 UTC (17 years ago) by rogers
Removed unused locals.


Revision 36132 - Directory Listing
Modified Thu Feb 20 02:24:10 2003 UTC (17 years ago) by rogers
Removed extra line from `modify_from_xml' which was used for debugging, and
had no ill effects except for performance.


Revision 36128 - Directory Listing
Modified Thu Feb 20 02:02:48 2003 UTC (17 years ago) by rogers
Initial version of ace file used for evaluation version.


Revision 36126 - Directory Listing
Modified Thu Feb 20 01:59:37 2003 UTC (17 years ago) by rogers
We now set the data iteratively. This is because if we have a multi line
text, each line is considered to be a different element by the parser.
This allows us to correctly retrieve multi line texts, as before only
the last line was retrieved.


Revision 36125 - Directory Listing
Modified Thu Feb 20 01:58:12 2003 UTC (17 years ago) by rogers
Fixed description.


Revision 36124 - Directory Listing
Modified Thu Feb 20 01:57:47 2003 UTC (17 years ago) by rogers
Added "evalution version" to the output.


Revision 36123 - Directory Listing
Modified Thu Feb 20 01:57:29 2003 UTC (17 years ago) by rogers
Now displays a message informing the user that it is not possible to
generate from the evlaution version.


Revision 36122 - Directory Listing
Modified Thu Feb 20 01:56:48 2003 UTC (17 years ago) by rogers
Removed implementation for this class, to prevent hacking.


Revision 36121 - Directory Listing
Modified Thu Feb 20 01:56:10 2003 UTC (17 years ago) by rogers
Fixed `generate_xml'. We now protect invalid characters in a CDATA tag.
Before, if you used & or <> in a text, you would be unable to load the
project again.


Revision 36101 - Directory Listing
Modified Wed Feb 19 23:07:38 2003 UTC (17 years ago) by rogers
Updated `add_local_on_grouped_line' to reflect the fact that %R is no
longer used, but %N instead.


Revision 36100 - Directory Listing
Modified Wed Feb 19 23:06:45 2003 UTC (17 years ago) by rogers
Fixed `indent_less_two' which now no longer uses %R%N, but instead uses
%N.


Revision 36096 - Directory Listing
Modified Wed Feb 19 19:41:50 2003 UTC (17 years ago) by rogers
Initial versions of files ready for demo version. These are still identical
to their normal counterparts.


Revision 36095 - Directory Listing
Modified Wed Feb 19 19:40:55 2003 UTC (17 years ago) by rogers
Now exclude "demo_version".


Revision 36093 - Directory Listing
Modified Wed Feb 19 19:40:01 2003 UTC (17 years ago) by rogers
Now exclude "demo_version" which contains files used for building the
demo version of Build.


Revision 36091 - Directory Listing
Modified Wed Feb 19 19:27:54 2003 UTC (17 years ago) by rogers
Latest version with arguments removed.


Revision 36071 - Directory Listing
Modified Wed Feb 19 00:39:36 2003 UTC (17 years ago) by rogers
We no longer use `wipe_out' to remove the added event output agents from
the action sequences. We now use the new feature `remove_only_added' which
will only remove procedures who's target type conforms to
GB_EV_ACTION_SEQUENCE. This allows use to leave other agents contained in
the action sequence untouched.


Revision 36070 - Directory Listing
Modified Wed Feb 19 00:37:31 2003 UTC (17 years ago) by rogers
Added remove_only_added, which given an EV_ACTION_SEQUENCE, will only
remove procedures who's target type conformS TO GB_EV_ACTION_SEQUENCE.
This allows us to add and remove the event output connection, without
impacting the other procedures that may have been inserted into an
action sequence.


Revision 35922 - Directory Listing
Modified Wed Feb 12 01:17:21 2003 UTC (17 years ago) by king
Accounted for change from linux to unix


Revision 35921 - Directory Listing
Modified Wed Feb 12 01:16:28 2003 UTC (17 years ago) by king
Renamed from linux to unix name of ace file


Revision 35909 - Directory Listing
Modified Tue Feb 11 23:25:59 2003 UTC (17 years ago) by king
Made Windows constant uppercase to match Delivery template directory


Revision 35871 - Directory Listing
Modified Tue Feb 11 01:14:59 2003 UTC (17 years ago) by rogers
In make, the minimum size of the image is now set to the height of the
image, instead of 200 pixels. This means that the whole image is
correctly displayed in the dialog.


Revision 35869 - Directory Listing
Modified Tue Feb 11 00:44:38 2003 UTC (17 years ago) by rogers
Protected `extract_event_information' as the current element retrieved
from the node may be Void. Previously it crashed if this was the case.


Revision 35728 - Directory Listing
Modified Mon Feb 3 23:18:30 2003 UTC (17 years ago) by rogers
We now process the generated XML so that it is formatted when edited
by a tool that will not automatically format it.


Revision 35727 - Directory Listing
Modified Mon Feb 3 23:08:25 2003 UTC (17 years ago) by rogers
Added `process_xml_string' and `add_tabs' which are used for formatting
the XML so that it is displayed correctly in editors that do not format
XML.


Revision 35726 - Directory Listing
Modified Mon Feb 3 22:36:26 2003 UTC (17 years ago) by rogers
Added `ucstring_to_latin_1' which converts a ucstring into the latin-1
format. This is user to ensure that the extended ascii characters
(up to 255) can be correctly stored and retrieved by Build.


Revision 35684 - Directory Listing
Modified Fri Jan 31 18:49:03 2003 UTC (17 years ago) by rogers
Removed invariant and placed it as a postcondition of `attribute_editor'


Revision 35657 - Directory Listing
Modified Thu Jan 30 23:37:16 2003 UTC (17 years ago) by rogers
Corrected `connect_event_output' which now does not connet to
`select_actions' which was a mistake.


Revision 35656 - Directory Listing
Modified Thu Jan 30 23:25:19 2003 UTC (17 years ago) by rogers
Added support for checkable list action sequences.


Revision 35655 - Directory Listing
Modified Thu Jan 30 23:20:59 2003 UTC (17 years ago) by rogers
Initial version. Used for supporting events on an EV_CHECKABLE_LIST.


Revision 35654 - Directory Listing
Modified Thu Jan 30 23:20:23 2003 UTC (17 years ago) by rogers
Removed unused local.


Revision 35645 - Directory Listing
Modified Thu Jan 30 22:30:00 2003 UTC (17 years ago) by rogers
`record_string' now replaces all `%N' with "   " instead of simply removing
it. This formats the text better.


Revision 35644 - Directory Listing
Modified Thu Jan 30 20:57:56 2003 UTC (17 years ago) by rogers
`internal_display_agent' now correctly displays "column" instead of "row".


Revision 35643 - Directory Listing
Modified Thu Jan 30 20:45:53 2003 UTC (17 years ago) by rogers
Added `display_agent' and `internal_display_agent' which are used to output
the event data of the action sequence represented by `Current'.


Revision 35642 - Directory Listing
Modified Thu Jan 30 20:45:01 2003 UTC (17 years ago) by rogers
Implemented `connect_event_output_agent' which adds/removes events from
the action sequences of an EV_LIST_ITEM_LIST.


Revision 35641 - Directory Listing
Modified Thu Jan 30 20:44:13 2003 UTC (17 years ago) by rogers
Implemented `connect_event_output_agent' which connects/unconnects events
from the action sequences of an EV_MULTI_COLUMN_LIST.


Revision 35640 - Directory Listing
Modified Thu Jan 30 20:42:46 2003 UTC (17 years ago) by rogers
Added `connect_event_output_agent' which is used for connected/unconnecting
output from the events of a MULTI_COLUMN_LIST_ROW.


Revision 35639 - Directory Listing
Modified Thu Jan 30 20:40:13 2003 UTC (17 years ago) by rogers
Implemented `display_agent' and `internal_display_agent' for displaying
the event data.


Revision 35638 - Directory Listing
Modified Thu Jan 30 20:39:05 2003 UTC (17 years ago) by rogers
Implemented `connect_event_output_agent'.


Revision 35588 - Directory Listing
Modified Wed Jan 29 00:12:01 2003 UTC (17 years ago) by rogers
Removed unused local.


Revision 35587 - Directory Listing
Modified Wed Jan 29 00:11:24 2003 UTC (17 years ago) by rogers
Removed unused locals.


Revision 35581 - Directory Listing
Modified Tue Jan 28 17:29:40 2003 UTC (17 years ago) by rogers
Protected call to `ensure_item_visible' in `record_string' which now
checks that the internal list is displayed.


Revision 35580 - Directory Listing
Modified Mon Jan 27 23:51:12 2003 UTC (17 years ago) by rogers
Updated to use `linear_representation' instead of `item_list' which has
now been made obsolete.


Revision 35579 - Directory Listing
Modified Mon Jan 27 23:49:23 2003 UTC (17 years ago) by rogers
FIxed `modify_from_xml_after_build' so that it no longer uses `item_list'
which is now obsolete. We now use `linear_representation' instead.


Revision 35578 - Directory Listing
Modified Mon Jan 27 20:45:37 2003 UTC (17 years ago) by rogers
Modified `generate_ace_file' so that it now generates both a Windows and
a Linux ace file each time, and no longer depends on the current platform.


Revision 35577 - Directory Listing
Modified Mon Jan 27 20:43:47 2003 UTC (17 years ago) by rogers
Added description, and two new attributes, `linux_ace_name'and
`windows_ace_name'.


Revision 35576 - Directory Listing
Modified Mon Jan 27 20:03:02 2003 UTC (17 years ago) by rogers
We now use `text_entry' or `text_field_entry' for inputting the new `text'
of the object. `text_entry' is used when we have an object that allows
multiple lines of text to be entered, and `text_field_entry' is used when
the textable only allows one line of text.


Revision 35575 - Directory Listing
Modified Mon Jan 27 19:35:03 2003 UTC (17 years ago) by rogers
Initial version. Contains information about all action sequences defined
in EV_TITLED_WINDOW_ACTION_SEQUENCES.


Revision 35574 - Directory Listing
Modified Mon Jan 27 19:33:57 2003 UTC (17 years ago) by rogers
Added support for GB_EV_PROGRESS_BAR.


Revision 35573 - Directory Listing
Modified Mon Jan 27 19:33:20 2003 UTC (17 years ago) by rogers
Now added GB_EV_TITLED_WINDOW_ACTION_SEQUENCES to supported events.


Revision 35572 - Directory Listing
Modified Mon Jan 27 19:32:39 2003 UTC (17 years ago) by rogers
Added constants for progress bars. All Build error messages now use
EiffelBuild, instead of Build for correctness.


Revision 35569 - Directory Listing
Modified Mon Jan 27 19:16:10 2003 UTC (17 years ago) by rogers
Swapped images over.


Revision 35568 - Directory Listing
Modified Mon Jan 27 18:58:55 2003 UTC (17 years ago) by rogers
Initial version of editor constructor for EV_PROGRESS_BAR.


Revision 35567 - Directory Listing
Modified Mon Jan 27 18:58:11 2003 UTC (17 years ago) by rogers
Initial version of class which handles settings of EV_PROGRESS_BAR.


Revision 35565 - Directory Listing
Modified Mon Jan 27 18:20:13 2003 UTC (17 years ago) by rogers
The areas which display the current foreground and background colors are
now pickable. This means that you can copy colors from one object
editor to another, using pick and drop, rather than having to re-build the
color from the color selection dialog.


Revision 35564 - Directory Listing
Modified Mon Jan 27 18:15:13 2003 UTC (17 years ago) by rogers
The feature `make' is now exported to GB_COMMAND_HANDLER. This fixes a bug
that appeared when the creation of objects was fixed for the 5.3 compiler.


Revision 35563 - Directory Listing
Modified Mon Jan 27 18:14:22 2003 UTC (17 years ago) by rogers
Updated four commands to do the following:

create Result
Result.make

This is now necessary to match the way in which the commands may be
created. Fixes a bug now caught by the latest compiler (5.3) change.


Revision 35558 - Directory Listing
Modified Sat Jan 25 01:02:27 2003 UTC (17 years ago) by rogers
Corrected bugs in `load_file' which would attempt to load the file even
if it was a directory. Problems with the Gtk file dialogs allow you to
enter directories, if you type them by hand, and this caused the problem.


Revision 35444 - Directory Listing
Modified Mon Jan 20 00:04:36 2003 UTC (17 years, 1 month ago) by manus
Fixed unseen VDRD3 errors that compiler was incorrectly not reporting.


Revision 35374 - Directory Listing
Modified Wed Jan 15 19:31:00 2003 UTC (17 years, 1 month ago) by king
Removed as modification is unnecessary


Revision 35373 - Directory Listing
Modified Wed Jan 15 19:28:18 2003 UTC (17 years, 1 month ago) by king
Removed exclusion of dialog imp from vision2


Revision 35372 - Directory Listing
Modified Wed Jan 15 18:31:33 2003 UTC (17 years, 1 month ago) by rogers
`valid_file_name' is no longer True, if the file name correpsonds to a
directory.


Revision 35353 - Directory Listing
Modified Tue Jan 14 18:33:04 2003 UTC (17 years, 1 month ago) by rogers
Fixed `execute' so that it will check to see if the selected directory
exists. If it does not, then a dialog is displayed, providing the option
of creating the directory, or cancelling it.


Revision 35352 - Directory Listing
Modified Tue Jan 14 18:31:40 2003 UTC (17 years, 1 month ago) by rogers
Added `directory_exists_warning' for when you attempt to create a new
project in a directory that does not exist.


Revision 35351 - Directory Listing
Modified Tue Jan 14 17:37:04 2003 UTC (17 years, 1 month ago) by rogers
We now display all items in a LIST, and therefore, there is no need
for use to use a CIRCULAR_ARRAY internally anymore.


Revision 35337 - Directory Listing
Modified Sat Jan 11 02:53:44 2003 UTC (17 years, 1 month ago) by rogers
Removed debugging output.


Revision 35335 - Directory Listing
Modified Sat Jan 11 02:45:23 2003 UTC (17 years, 1 month ago) by rogers
Corrected code generation to use `put_at_position' instead of `put', to
match interface change of EV_TABLE.


Revision 35334 - Directory Listing
Modified Sat Jan 11 02:01:34 2003 UTC (17 years, 1 month ago) by rogers
Initial version. Allows you to display a set number of STRING on an
EV_TEXT. As new strings are added, old ones are automatically removed.


Revision 35333 - Directory Listing
Modified Sat Jan 11 01:41:00 2003 UTC (17 years, 1 month ago) by rogers
The display agents no longer use an EV_TEXTABLE, but an
ORDERED_STRING_HANDLER which will handle and manipulate all texts as
necessary. This approach is much more flexible. By plugging in different
types of ORDERED_STRING_HANDLER's, you could store the output on anything
you desired.


Revision 35294 - Directory Listing
Modified Thu Jan 9 18:44:22 2003 UTC (17 years, 1 month ago) by rogers
Now that EV_TABLE is correctly extendible, we no longer need to
redefine `is_full' or implement `first_free_coordinate'. We can simply
call `extend' directly on the table. This greatly simplifies the
implementation in this class.


Revision 35291 - Directory Listing
Modified Thu Jan 9 17:43:38 2003 UTC (17 years, 1 month ago) by rogers
Updated to reflect change in EV_TABLE. We now use `item_at_position'
instead of `item'.


Revision 35290 - Directory Listing
Modified Thu Jan 9 17:42:04 2003 UTC (17 years, 1 month ago) by rogers
Updated to reflect interface changes of EV_TABLE.


Revision 35197 - Directory Listing
Modified Tue Dec 24 00:54:21 2002 UTC (17 years, 2 months ago) by rogers
Added `connect_event_output' if not already there. Most are not yet
implemented.


Revision 35196 - Directory Listing
Modified Tue Dec 24 00:53:25 2002 UTC (17 years, 2 months ago) by rogers
Added preconditions to `connect_event_output_agent'.


Revision 35195 - Directory Listing
Modified Tue Dec 24 00:51:24 2002 UTC (17 years, 2 months ago) by rogers
Protected output against a "%R" in `connect_event_output_agent'.


Revision 35194 - Directory Listing
Modified Tue Dec 24 00:50:22 2002 UTC (17 years, 2 months ago) by rogers
Implemented `connect_event_output_agent'.


Revision 35193 - Directory Listing
Modified Tue Dec 24 00:47:23 2002 UTC (17 years, 2 months ago) by rogers
Added `display_agent' and `internal_display_agent'.


Revision 35192 - Directory Listing
Modified Tue Dec 24 00:46:35 2002 UTC (17 years, 2 months ago) by rogers
Renamed `actions_agent' -> connect_event_output_agent, and corrected
types used for the pointer button presses.


Revision 35190 - Directory Listing
Modified Mon Dec 23 22:14:54 2002 UTC (17 years, 2 months ago) by rogers
Removed redefinition of `display_agent'.


Revision 35189 - Directory Listing
Modified Mon Dec 23 22:14:28 2002 UTC (17 years, 2 months ago) by rogers
Removed `display_agent' as it was never used.


Revision 35188 - Directory Listing
Modified Mon Dec 23 22:13:59 2002 UTC (17 years, 2 months ago) by rogers
Removed `display_agents'.


Revision 35187 - Directory Listing
Modified Mon Dec 23 22:13:27 2002 UTC (17 years, 2 months ago) by rogers
Added `display_agent' and `internal_display_agent'.


Revision 35186 - Directory Listing
Modified Mon Dec 23 22:10:18 2002 UTC (17 years, 2 months ago) by rogers
Updated `actions_agent' to use GB_EV_* classes exclusively.


Revision 35185 - Directory Listing
Modified Mon Dec 23 20:24:07 2002 UTC (17 years, 2 months ago) by rogers
Added `display_agent' and `internal_display_agent'.


Revision 35175 - Directory Listing
Modified Mon Dec 23 19:54:32 2002 UTC (17 years, 2 months ago) by rogers
Initial versions of modifications which allow agents to be added/removed
from an associated action sequence in an executing system.


Revision 35164 - Directory Listing
Modified Fri Dec 20 19:30:45 2002 UTC (17 years, 2 months ago) by rogers
Added support for Ev_CHECKABLE_LIST, and adjusted EV_DRAWING_AREA so that
it is displayed in the correct position in primitives (alphabetical).


Revision 35135 - Directory Listing
Modified Tue Dec 17 18:38:11 2002 UTC (17 years, 2 months ago) by rogers
Protected all calls to "objects @ 2" as in some external systems,
this may be Void.


Revision 35133 - Directory Listing
Modified Tue Dec 17 18:29:34 2002 UTC (17 years, 2 months ago) by rogers
Protected all calls on "objects @ 2" as it may be Void in other systems.


Revision 35128 - Directory Listing
Modified Tue Dec 17 17:56:58 2002 UTC (17 years, 2 months ago) by rogers
Now inherits GB_EV_PIXMAP_HANDLER, and removed `valid_file_extension' as
it is now inherited.


Revision 35127 - Directory Listing
Modified Tue Dec 17 17:54:47 2002 UTC (17 years, 2 months ago) by rogers
Initial version of file providing routines common for pixmap handling.


Revision 35120 - Directory Listing
Modified Mon Dec 16 22:25:23 2002 UTC (17 years, 2 months ago) by rogers
Updated to allow VAPE to be correctly checked.


Revision 35119 - Directory Listing
Modified Mon Dec 16 22:22:58 2002 UTC (17 years, 2 months ago) by rogers
Updated to ensure VAPE is correctly enforced.


Revision 35118 - Directory Listing
Modified Mon Dec 16 20:05:56 2002 UTC (17 years, 2 months ago) by rogers
Now inherits GB_SHARED_OBJECT_HANDLER.


Revision 35117 - Directory Listing
Modified Mon Dec 16 20:05:28 2002 UTC (17 years, 2 months ago) by rogers
No longer inherits GB_SHARED_OBJECT_HANDLER.


Revision 35116 - Directory Listing
Modified Mon Dec 16 20:04:13 2002 UTC (17 years, 2 months ago) by rogers
We no longer call `parent_window' on `parent_editor' as it is unecessary.


Revision 35115 - Directory Listing
Modified Mon Dec 16 19:53:36 2002 UTC (17 years, 2 months ago) by rogers
In `layout_window' we now call `set_default_icon_pixmap' instead
of directly accessing the default pixmaps.


Revision 35114 - Directory Listing
Modified Mon Dec 16 18:15:53 2002 UTC (17 years, 2 months ago) by rogers
Updated `attribute_editor' to no longer assume that `objects' will contain
two items. Removed `retrieve_pebble' as it is now inherited.


Revision 35113 - Directory Listing
Modified Mon Dec 16 18:14:57 2002 UTC (17 years, 2 months ago) by rogers
Added `retrieve_pebble' which was previously defined in
GB_EV_BOX_EDITOR_CONSTRUCTOR but had tto many dependencies on Build
classes.


Revision 35112 - Directory Listing
Modified Mon Dec 16 18:13:33 2002 UTC (17 years, 2 months ago) by rogers
Changed export status to GB_EV_EDITOR_CONSTRUCTOR instead of
GB_EV_BOX_EDITOR_CONSTRUCTOR.


Revision 35108 - Directory Listing
Modified Sat Dec 14 00:07:53 2002 UTC (17 years, 2 months ago) by rogers
Initial versions of newly extracted attribute editor classes.


Revision 35107 - Directory Listing
Modified Fri Dec 13 23:46:54 2002 UTC (17 years, 2 months ago) by rogers
Removed all code for handling of the attribute editors, as it is now
inherited from the GB_EV_*_EDITOR_CONSTRUCTOR classes.


Revision 35106 - Directory Listing
Modified Fri Dec 13 23:26:02 2002 UTC (17 years, 2 months ago) by rogers
Now inherits GB_FILE_CONSTANTS.


Revision 35105 - Directory Listing
Modified Fri Dec 13 23:25:13 2002 UTC (17 years, 2 months ago) by rogers
Initial version, containing constants all moved from GB_CONSTANTS.


Revision 35104 - Directory Listing
Modified Fri Dec 13 23:24:40 2002 UTC (17 years, 2 months ago) by rogers
Removed constants associated with file names, as they have been moved into
a new class, GB_FILE_CONSTANTS.


Revision 35103 - Directory Listing
Modified Fri Dec 13 23:21:27 2002 UTC (17 years, 2 months ago) by rogers
Changed signature of `make' so that first argument is now EV_ANY,
instead of GB_EV_ANY. This has been performed as part of the change to
make the attribute editors accessible from a different system, with the
minimum of Build classes. As `Current' is used extensively in the
attribute editors, it allows us to use a different version of this class,
without the dependency on GB_EV_ANY.
In this case, we now simply do a reverse assignment to a GB_EV_ANY from
the EV_ANY.


Revision 35102 - Directory Listing
Modified Fri Dec 13 23:16:41 2002 UTC (17 years, 2 months ago) by rogers
Now inherits GB_FILE_CONSTANTS.


Revision 35101 - Directory Listing
Modified Fri Dec 13 23:16:20 2002 UTC (17 years, 2 months ago) by rogers
Now inherits GB_XML_UTILTITES so that all descendents do not have to.
Added `initialize_attribute_editor' and made `ev_type' a deferred
feature.

These changes were made in order to allow each attribute editor to be
compiled into a non Build system, with as little dependence on Build
classes as possible.


Revision 35100 - Directory Listing
Modified Fri Dec 13 23:10:34 2002 UTC (17 years, 2 months ago) by rogers
Now inherits GB_FILE_CONSTANTS.


Revision 35099 - Directory Listing
Modified Fri Dec 13 22:59:32 2002 UTC (17 years, 2 months ago) by rogers
Exported implementation to GB_EV_EDITOR_CONSTRUCTOR instead of NONE.


Revision 35098 - Directory Listing
Modified Fri Dec 13 22:58:29 2002 UTC (17 years, 2 months ago) by rogers
Changed export status to GB_EV_BOX_EDITOR_CONSTRUCTOR instead of GB_EV_BOX
to fit in with attribute editor modifications.


Revision 35097 - Directory Listing
Modified Fri Dec 13 22:48:22 2002 UTC (17 years, 2 months ago) by rogers
Now inherits GB_FILE_CONSTANTS.


Revision 35033 - Directory Listing
Modified Mon Dec 9 17:46:02 2002 UTC (17 years, 2 months ago) by rogers
Now inherits EV_DOCKABLE_SOURCE to remain consistent with Vision2.


Revision 34926 - Directory Listing
Modified Wed Nov 27 23:09:57 2002 UTC (17 years, 2 months ago) by manus
Fixed `ptr_move' that does not work on 64 bits platform.


Revision 34912 - Directory Listing
Modified Tue Nov 26 19:24:00 2002 UTC (17 years, 2 months ago) by king
Now not using dynamically linked libpng


Revision 34877 - Directory Listing
Modified Sat Nov 16 00:57:20 2002 UTC (17 years, 3 months ago) by rogers
Fixed bug in code generation when the project settings were using the
attributes as local. The <attribute> tag was not being remove correctly.


Revision 34869 - Directory Listing
Modified Wed Nov 13 03:26:53 2002 UTC (17 years, 3 months ago) by manus
Fixed incorrect C external specification for libpng and zlib.


Revision 34804 - Directory Listing
Modified Thu Nov 7 02:06:12 2002 UTC (17 years, 3 months ago) by rogers
We now check that the component file is writeable before attempting to
write to it. If it is not, then we display a dialog informing the user.


Revision 34802 - Directory Listing
Modified Thu Nov 7 00:57:53 2002 UTC (17 years, 3 months ago) by rogers
Fixed bug in `veto_merge' which allowed you to drop a container picked
from the type selector directly into the merged radio buttons group, which
would crash Build.


Revision 34792 - Directory Listing
Modified Thu Nov 7 00:27:12 2002 UTC (17 years, 3 months ago) by rogers
Added check in `set_current_push_button'.


Revision 34791 - Directory Listing
Modified Thu Nov 7 00:26:49 2002 UTC (17 years, 3 months ago) by rogers
Updated to match changes in Vision2. Added `set_current_push_button'.


Revision 34660 - Directory Listing
Modified Tue Oct 22 00:23:25 2002 UTC (17 years, 4 months ago) by rogers
Fixed bug in `add_generated_string' which was introduced by the change
from RAW_FILE to PLAIN_TEXT_FILE. The index used for pruning the %N is
now 1 character off.


Revision 34657 - Directory Listing
Modified Mon Oct 21 23:54:35 2002 UTC (17 years, 4 months ago) by rogers
We now use PLAIN_TEXT_FILE instead of RAW_FILE which fixes problems on
Gtk.


Revision 34640 - Directory Listing
Modified Wed Oct 16 07:09:13 2002 UTC (17 years, 4 months ago) by manus
Made compilable.


Revision 34583 - Directory Listing
Modified Sat Oct 5 00:02:57 2002 UTC (17 years, 4 months ago) by rogers
Added version number.


Revision 34578 - Directory Listing
Modified Fri Oct 4 19:51:49 2002 UTC (17 years, 4 months ago) by rogers
Fixed typo in `generate_code' which was generating code that would not
compile when you enabled homogenuity on the box.


Revision 34549 - Directory Listing
Modified Mon Sep 30 17:48:28 2002 UTC (17 years, 4 months ago) by rogers
Added `resize_to_accomodate' which will automatically resize the table
representations of `Current' so they will contain a certain number of
widgets.


Revision 34548 - Directory Listing
Modified Mon Sep 30 17:37:17 2002 UTC (17 years, 4 months ago) by rogers
Fixed bug when replacing a container with multiple children, with a new
object of type EV_TABLE. The table would allow the drop, no matter how many
children were contained in the original container, but then cause Build
to crash, as the table was only sized to 1x1. Modified `replace_object' so
that we automatically resize the new table to accomodate the number
of children.


Revision 34547 - Directory Listing
Modified Mon Sep 30 17:34:10 2002 UTC (17 years, 4 months ago) by rogers
Fixed bug in `modify_from_xml_after_build' which was retrieving the items
from the table, using `item_list'. This was retrieving them from left to
right, rather than up to down which is the way we use them in Buidl.
Therefore, I added `table_items' which retrieves the table items in this
order.
This fix means that when you save and load a table, its items are
saved in the correct locations.


Revision 34369 - Directory Listing
Modified Wed Sep 4 23:11:47 2002 UTC (17 years, 5 months ago) by rogers
Fixed bug in `update_object_editors_for_delete'. In the case where we were
destroying an editor, we would still then attempt to update the current
obejct afterwards. This was not necessary. We now check `is_destroyed'
before attempting to update any editors at the end.


Revision 34368 - Directory Listing
Modified Wed Sep 4 23:05:02 2002 UTC (17 years, 5 months ago) by rogers
Exported `is_destroyed' to {ANY}.


Revision 34358 - Directory Listing
Modified Tue Sep 3 22:01:56 2002 UTC (17 years, 5 months ago) by rogers
`ensure_names_unique' now only executes its body if the name of the
object is not empty.


Revision 34357 - Directory Listing
Modified Tue Sep 3 21:35:54 2002 UTC (17 years, 5 months ago) by rogers
Re-implemented. The dialog is now much better looking, will dissapear
on its own, and a delayed message is displayed in the status bar.


Revision 34356 - Directory Listing
Modified Tue Sep 3 21:34:35 2002 UTC (17 years, 5 months ago) by rogers
Added `ensure_names_unique' which is executed at the end of building a
component, and updates any names, to ensure that they do not clash
with any other names or feature names in the system.


Revision 34355 - Directory Listing
Modified Tue Sep 3 21:33:01 2002 UTC (17 years, 5 months ago) by rogers
We no longer display the confirm exit dialog as people found it annoying.


Revision 34354 - Directory Listing
Modified Tue Sep 3 21:32:26 2002 UTC (17 years, 5 months ago) by rogers
Added missing comment on feature.


Revision 34353 - Directory Listing
Modified Tue Sep 3 21:31:39 2002 UTC (17 years, 5 months ago) by rogers
We now display the window centered on the screen.


Revision 34352 - Directory Listing
Modified Tue Sep 3 21:29:57 2002 UTC (17 years, 5 months ago) by rogers
We now output the main_window class name as lowercase, for the ENViSioN!
build script.


Revision 34070 - Directory Listing
Modified Tue Aug 27 18:44:55 2002 UTC (17 years, 5 months ago) by rogers
Updated to use a modified version of wizard_initial_state_window.e


Revision 34069 - Directory Listing
Modified Tue Aug 27 18:44:30 2002 UTC (17 years, 5 months ago) by rogers
Updated to use a modified version of wizard_intial_state_window.e


Revision 34068 - Directory Listing
Modified Tue Aug 27 18:39:47 2002 UTC (17 years, 5 months ago) by rogers
Modified version that does not display the little icon on top of the large
image to the left hand side of the window.


Revision 34066 - Directory Listing
Modified Tue Aug 27 18:11:50 2002 UTC (17 years, 5 months ago) by rogers
Fixed bug which showed up if we created a pixmap, saved the project,
loaded the project and then attempted to view the object editor of the
pixmap.


Revision 34065 - Directory Listing
Modified Tue Aug 27 18:10:51 2002 UTC (17 years, 5 months ago) by rogers
Fixed `generate_events' so that if a feature name is used twice, we do
not generate the feature twice. Before this fix, we were succesfully
storing the names, that had already been generated, but were not doing
anything with this information.


Revision 34064 - Directory Listing
Modified Tue Aug 27 18:07:11 2002 UTC (17 years, 5 months ago) by rogers
`wizard_source' now always queries the registry to find out where the
source is. This has the effect of rendernig the fist argument of Build
obsolete, when running as a new build wizard, but we will not change this,
as it will upset too many things right now.


Revision 33876 - Directory Listing
Modified Wed Aug 21 18:17:52 2002 UTC (17 years, 6 months ago) by rogers
We now generate a debug and a release ace file when running for
Visual studio.


Revision 33732 - Directory Listing
Modified Fri Aug 16 23:27:24 2002 UTC (17 years, 6 months ago) by rogers
Added further reserved words.


Revision 33730 - Directory Listing
Modified Fri Aug 16 23:19:41 2002 UTC (17 years, 6 months ago) by rogers
Added all features from EV_TITLED_WINDOW to `build_reserved_words'.


Revision 33729 - Directory Listing
Modified Fri Aug 16 22:33:44 2002 UTC (17 years, 6 months ago) by rogers
Initial.


Revision 33728 - Directory Listing
Modified Fri Aug 16 22:33:20 2002 UTC (17 years, 6 months ago) by rogers
`reserved_words' is now a `once'.


Revision 33727 - Directory Listing
Modified Fri Aug 16 22:32:52 2002 UTC (17 years, 6 months ago) by rogers
Now inherits BUILD_RESERVED_WORDS, and we also check validity of names
against `build_reserved_words'.


Revision 33724 - Directory Listing
Modified Fri Aug 16 21:37:39 2002 UTC (17 years, 6 months ago) by rogers
Fixed `generate_declarations' so that we do not create the window when
we are a client of the window instead of inheriting. There is no need
to perform this creation in the generated code, as `default_create' and
`make_with_window' both create the window.


Revision 33723 - Directory Listing
Modified Fri Aug 16 21:29:48 2002 UTC (17 years, 6 months ago) by rogers
Added `events' and `add_new_event' so that applicable events may be
stored.


Revision 33722 - Directory Listing
Modified Fri Aug 16 21:21:28 2002 UTC (17 years, 6 months ago) by rogers
`prepass_xml' now stores events, and re-wrote `generate_events' to use
this information which is quicker than the previous implementation.
Minor fixes in the way that the code was generated.


Revision 33720 - Directory Listing
Modified Fri Aug 16 17:31:28 2002 UTC (17 years, 6 months ago) by rogers
If we are a client of a window, we no longer have to generate
"create window" seperately, as the name is included in the names generated,
so the creation is performed as with any other widget. However, as the
window name is now in the names of the system, we have to ignore it as when
generating attribtues, we do not want to include it, as a special attribute
is added for this, at the top of the file.


Revision 33719 - Directory Listing
Modified Fri Aug 16 17:29:32 2002 UTC (17 years, 6 months ago) by rogers
Strengthened preconditions on `generate_code'.


Revision 33718 - Directory Listing
Modified Fri Aug 16 17:27:40 2002 UTC (17 years, 6 months ago) by rogers
Added `client_window_string'.


Revision 33712 - Directory Listing
Modified Fri Aug 16 01:20:38 2002 UTC (17 years, 6 months ago) by rogers
Added `clear' which resets `Current', and ensures that it is empty.


Revision 33711 - Directory Listing
Modified Fri Aug 16 01:19:47 2002 UTC (17 years, 6 months ago) by rogers
When the project is now closed, we clear the component viewer.


Revision 33707 - Directory Listing
Modified Fri Aug 16 01:02:44 2002 UTC (17 years, 6 months ago) by rogers
Added `pixmap_exists', `enable_pixmap_exists', `disable_pixmap_exists' and
`set_pixmap_path'. All these features are required for the handling of
the pixmap image in GB_EV_PIXMAP.


Revision 33706 - Directory Listing
Modified Fri Aug 16 01:00:27 2002 UTC (17 years, 6 months ago) by rogers
Added handling for when the pixmap location specified cannot be found.
We now display an error message.


Revision 33705 - Directory Listing
Modified Thu Aug 15 23:44:11 2002 UTC (17 years, 6 months ago) by rogers
Updated so that when the pixmap does not exist, the modify button is
displayed as a remove button, and you can then remove the pixmap.


Revision 33704 - Directory Listing
Modified Thu Aug 15 22:39:31 2002 UTC (17 years, 6 months ago) by rogers
Added ev_pixmap.e to excluded files from Vision2, as we now have a version
unique to Build.


Revision 33703 - Directory Listing
Modified Thu Aug 15 22:35:47 2002 UTC (17 years, 6 months ago) by rogers
Initial. We need a specialised version of Ev_PIXMAP for Build, as otherwise
we have no way of querying the current image location, which this version
provides.


Revision 33702 - Directory Listing
Modified Thu Aug 15 22:25:49 2002 UTC (17 years, 6 months ago) by rogers
Removed unused code. Implemented `generate_xml'.


Revision 33701 - Directory Listing
Modified Thu Aug 15 22:19:00 2002 UTC (17 years, 6 months ago) by rogers
Initial version. Supports adding an image to he pixmap.


Revision 33700 - Directory Listing
Modified Thu Aug 15 22:17:50 2002 UTC (17 years, 6 months ago) by rogers
Removed extra space.


Revision 33699 - Directory Listing
Modified Thu Aug 15 22:16:41 2002 UTC (17 years, 6 months ago) by rogers
Added `gb_ev_pixmap_pixmap' and `gb_ev_pixmap_pixmap_tooltip' which are
used in the newly added GB_EV_PIXMAP.


Revision 33698 - Directory Listing
Modified Thu Aug 15 22:15:45 2002 UTC (17 years, 6 months ago) by rogers
`execute' now calls `restore_to_default' on `builder_window' and
`display_window' so that settings to the windows form the current project
are not reflected in the next project that is loaded.


Revision 33697 - Directory Listing
Modified Thu Aug 15 22:14:41 2002 UTC (17 years, 6 months ago) by rogers
Added `restore_titled_window' which will restore a titled window back to
its default settings. Not all attributes are supported, but only those
that may be modified by Build. At this time, GB_BUILDER_WINDOW and
GB_DISPLAY_WINDOW use this class.


Revision 33696 - Directory Listing
Modified Thu Aug 15 22:13:25 2002 UTC (17 years, 6 months ago) by rogers
Added support for gb_ev_pixmap.


Revision 33695 - Directory Listing
Modified Thu Aug 15 22:12:22 2002 UTC (17 years, 6 months ago) by rogers
Added support for GB_EV_PIXMAP.


Revision 33694 - Directory Listing
Modified Thu Aug 15 22:12:01 2002 UTC (17 years, 6 months ago) by rogers
Added missing comment on feature.


Revision 33693 - Directory Listing
Modified Thu Aug 15 22:11:45 2002 UTC (17 years, 6 months ago) by rogers
Added `restore_to_default', exported to {GB_CLOSE_PROJECT_COMMAND} so that
we can restore the defaults of these windows after editing a system and
the closing the project. We do not rebuild these windows, so we wish
to ensure that any previous attributes that were st on them are removed.


Revision 33692 - Directory Listing
Modified Thu Aug 15 22:09:01 2002 UTC (17 years, 6 months ago) by rogers
Modified `load' so that it no longer hides and then shows the display
window and builder window, as there is no need, as now they can never
be displayed at this point. Added a check to ensure this.


Revision 33637 - Directory Listing
Modified Tue Aug 13 19:02:42 2002 UTC (17 years, 6 months ago) by rogers
Updated `layout_window' so that if an object is named, the name will be
displayed in the list of items.


Revision 33636 - Directory Listing
Modified Tue Aug 13 18:50:08 2002 UTC (17 years, 6 months ago) by rogers
Modified `layout_window' so that object names are displayed in the list
of widgets, if there is a name. Now inherits GB_SHARED_OBJECT_HANDLER for
the implementation of this.


Revision 33618 - Directory Listing
Modified Tue Aug 13 01:01:08 2002 UTC (17 years, 6 months ago) by rogers
`project_settings' is no longer a local, as it needs to be available
to `cancel_update_location' as if we are cancelling while a modify wizard
system, we need to destroy Build.


Revision 33616 - Directory Listing
Modified Tue Aug 13 00:58:50 2002 UTC (17 years, 6 months ago) by rogers
Added `directory_of_file' which returns the current directory of a full
path name.


Revision 33615 - Directory Listing
Modified Tue Aug 13 00:58:08 2002 UTC (17 years, 6 months ago) by rogers
Added `open_with_name' used when we are a modify wizard. This is a slight
refactoring of the way we open a project in this situation, as we now
correctly take into account updating the .bpr file, if the location
has changed.


Revision 33614 - Directory Listing
Modified Tue Aug 13 00:55:34 2002 UTC (17 years, 6 months ago) by rogers
If we are a modify wixard system, then we do not want to set the project
settings that were already loaded, as this will now be performed later
by the file open command when it executes.


Revision 33613 - Directory Listing
Modified Mon Aug 12 23:34:43 2002 UTC (17 years, 6 months ago) by rogers
Fixed `execute_with_name' to behave in the same fashion as `execute'
when the .bpr file has moved/and or the system interface file is not there.


Revision 33611 - Directory Listing
Modified Mon Aug 12 19:53:23 2002 UTC (17 years, 6 months ago) by rogers
Added a new dialog which appears when the .bpr file has been moved from
its old location to the new location. This gixes the option of allowing
the user to update the project_location stored in the .bpr file, or
cancelling the load. This is very useful in cases where the project
location changes, or the directory containing the project is re-named.


Revision 33594 - Directory Listing
Modified Mon Aug 12 16:55:43 2002 UTC (17 years, 6 months ago) by rogers
Now inherit GB_GENERAL_UTILITES. This is done so that we can fix a bug in
`generate_code'. If the users enter a '%' ot a '"', we need to escape it,
so that the generated code will compile.


Revision 33593 - Directory Listing
Modified Mon Aug 12 16:47:59 2002 UTC (17 years, 6 months ago) by rogers
Added `escape_special_characters' which takes a string, and converts it
into an escaped version that can be used in the geenerated code. At the
moment, it handles '%' and '"' as I believe these are the only
characters that will give us problems.


Revision 33592 - Directory Listing
Modified Mon Aug 12 16:21:20 2002 UTC (17 years, 6 months ago) by rogers
Redefined `show_modal_to_window' so that we can now save/restore the
windows size and position between displays.


Revision 33572 - Directory Listing
Modified Sat Aug 10 00:24:35 2002 UTC (17 years, 6 months ago) by rogers
Major re-building of dialogs re-sizing. The dialog now may be re-sized by
by the uiser, and therefore, we needed to handle all the possible
resizing cases correctly.


Revision 33557 - Directory Listing
Modified Fri Aug 9 17:11:59 2002 UTC (17 years, 6 months ago) by rogers
Fixed bug in `existing_feature_matches' which was comparing the references
of the type strings at the end. We now use `equal' which correctly
compares the objects. Thsi fixes a bug where the same feature name in two
identical action sequences was not allowed.


Revision 33555 - Directory Listing
Modified Fri Aug 9 16:47:53 2002 UTC (17 years, 6 months ago) by rogers
Modified `attribute_editor' so that it places the propagate button in
the attribute editor of GB_EV_COLORZIABLE. This did this previsouly, but
as the colorizable layout has changed we had to update.


Revision 33554 - Directory Listing
Modified Fri Aug 9 16:45:14 2002 UTC (17 years, 6 months ago) by rogers
Updated `attribute_editor' so that it has a new layout, and there is also
a new button, the restore button which restores a color back to its
riginal.


Revision 33553 - Directory Listing
Modified Fri Aug 9 16:43:49 2002 UTC (17 years, 6 months ago) by rogers
We no longer disable all the floating windows, as this really does mess
with the state. For example, we were generating grey as the background
color for all text fields, as they were disabled. This is definitely
not good.


Revision 33552 - Directory Listing
Modified Fri Aug 9 16:42:47 2002 UTC (17 years, 6 months ago) by rogers
Added `gb_ev_colorizable_restore_color'.


Revision 33535 - Directory Listing
Modified Thu Aug 8 19:41:55 2002 UTC (17 years, 6 months ago) by rogers
Fixed bug in `geenrate_xml'. We now wrap the font name in ", as it should
be, otherwise, it would not compile.


Revision 33531 - Directory Listing
Modified Thu Aug 8 18:05:36 2002 UTC (17 years, 6 months ago) by rogers
Inserted gb_ev_fontable into the supported list earlier, so it is not the
last item in the object editor any more.


Revision 33529 - Directory Listing
Modified Thu Aug 8 17:51:26 2002 UTC (17 years, 6 months ago) by rogers
Initial.


Revision 33528 - Directory Listing
Modified Thu Aug 8 17:33:30 2002 UTC (17 years, 6 months ago) by rogers
Fixed bug in `modify_from_xml_after_build' which would crash, as it was not
correctly taking into account the case where there are no children.


Revision 33527 - Directory Listing
Modified Thu Aug 8 17:31:49 2002 UTC (17 years, 6 months ago) by rogers
`generate_code' now calls `enable_pixmaps_set' on `info'. This records the
fact that a local variable is required for the pixmap.


Revision 33526 - Directory Listing
Modified Thu Aug 8 17:30:24 2002 UTC (17 years, 6 months ago) by rogers
Removed the accelerator shortcut, as Ctrl-C is used a a copy keyboard
shortcut.


Revision 33525 - Directory Listing
Modified Thu Aug 8 17:28:23 2002 UTC (17 years, 6 months ago) by rogers
Added `remove_line_containing' which is used to remove local pixmap
and font declarations if not required. The generation of these has been
altered. Instead of adding them as needed, the window implementation
template has these included, so now we remove these if they are not used.
We also now query `document_info' to find if they are required.


Revision 33524 - Directory Listing
Modified Thu Aug 8 17:21:46 2002 UTC (17 years, 6 months ago) by rogers
Added support for GB_EV_FONTABLE.


Revision 33523 - Directory Listing
Modified Thu Aug 8 17:19:03 2002 UTC (17 years, 6 months ago) by rogers
Added "gb_ev_fontable" to supported types.


Revision 33522 - Directory Listing
Modified Thu Aug 8 17:18:39 2002 UTC (17 years, 6 months ago) by rogers
Added `fonts_set', `pixmaps_set', `enable_fonts_set', `enable_pixmaps_set'
and `reset_after_generation'. These are used every time that we need a
local font for setting of attributes.


Revision 33493 - Directory Listing
Modified Wed Aug 7 19:18:27 2002 UTC (17 years, 6 months ago) by rogers
Fixed bug in `set_item_height' by changing the behaviour so that
EV_COMBO_BOX will not be resized. This is due to a Vision2 Windows
implementation bug.


Revision 33490 - Directory Listing
Modified Wed Aug 7 16:38:37 2002 UTC (17 years, 6 months ago) by rogers
`layout_window' now has the default icon, so that when all windows are
displayed relative/modal, it does not affect the icons of the other
windows due to the Windows bug.


Revision 33489 - Directory Listing
Modified Wed Aug 7 16:29:50 2002 UTC (17 years, 6 months ago) by rogers
Fixed bug in `track_movement' which was causing Build to crash, when
`moving_widget' as `widget' was Void, when it should not have been.


Revision 33457 - Directory Listing
Modified Tue Aug 6 22:53:43 2002 UTC (17 years, 6 months ago) by rogers
We now insert the file name of the window implementation class into
the generation complete file. This is so that "Build launcher" knows
which one is the implementation file, without having a more complicated
algorithm. The .bpr file is now included in an Envision system, and we
need to send the implementation file as the next file to be included in the
project, as the system will now treat the next file added to the project
after the .bpr file, as a special case, and place it in a subdirectory
with the .bpr file.


Revision 33456 - Directory Listing
Modified Tue Aug 6 22:49:08 2002 UTC (17 years, 6 months ago) by rogers
Exported `parent' to {ANY}.


Revision 33455 - Directory Listing
Modified Tue Aug 6 22:48:52 2002 UTC (17 years, 6 months ago) by rogers
Fixed bug in `build_widget_structure' related to envision wizard mode.
See extensive comment in feature, for more information.


Revision 33440 - Directory Listing
Modified Tue Aug 6 18:36:48 2002 UTC (17 years, 6 months ago) by rogers
Fixed bug in `make_and_launch_as_modify_wizard'. We now `enable_maximize'
on the window, from the post lunch actions, as otherwise, the window
is not maximizable, which is a pain for users, as Build is best used in
as large a window as possible.


Revision 33433 - Directory Listing
Modified Tue Aug 6 17:06:42 2002 UTC (17 years, 6 months ago) by rogers
We now only display the window, if we are not an Envision modification
wizard. This helps to reduce flicker when used in this mode.


Revision 33432 - Directory Listing
Modified Tue Aug 6 17:05:04 2002 UTC (17 years, 6 months ago) by rogers
Fixed bug in `generate_interface'. We now only call
`ensure_top_item_visible' on the type selector, if we are not a modify
envision project, as in this case, it needs to be performed later, to avoid
a crash, as the window will not be displayed at this time.


Revision 33425 - Directory Listing
Modified Tue Aug 6 00:38:42 2002 UTC (17 years, 6 months ago) by rogers
Updated texts of all states to reflect recent Wizard review outcomes.


Revision 33424 - Directory Listing
Modified Tue Aug 6 00:37:33 2002 UTC (17 years, 6 months ago) by rogers
renamed `build_wizard_title' to `envision_build_wizard_title'


Revision 33423 - Directory Listing
Modified Tue Aug 6 00:37:01 2002 UTC (17 years, 6 months ago) by rogers
Updated to reflect change from `build_wizard_title' to
`envision_build_wizard_title'.


Revision 33406 - Directory Listing
Modified Sat Aug 3 01:25:28 2002 UTC (17 years, 6 months ago) by rogers
Now exclude wizard_shared.


Revision 33404 - Directory Listing
Modified Sat Aug 3 01:24:20 2002 UTC (17 years, 6 months ago) by rogers
When creating all template files, we append a "\" between
wizard_installation_path and "wizards\build". This fixes the paths which
were missing this slash.


Revision 33403 - Directory Listing
Modified Sat Aug 3 01:22:35 2002 UTC (17 years, 6 months ago) by rogers
Added `execute_with_name' for use when a .bpr file is double clicked,
and we need to load it immediately in Build.


Revision 33396 - Directory Listing
Modified Fri Aug 2 23:49:50 2002 UTC (17 years, 6 months ago) by rogers
Updated to reflect name change in PROJECT_SETTINGS, from
`make_with_default_values' to `make_stand_alone_with_default_values'.


Revision 33395 - Directory Listing
Modified Fri Aug 2 23:48:24 2002 UTC (17 years, 6 months ago) by rogers
Removed `visual_studio_information' as it is now inherited from
GB_SYSTEM_SHARED.


Revision 33394 - Directory Listing
Modified Fri Aug 2 23:47:41 2002 UTC (17 years, 6 months ago) by rogers
Comments.


Revision 33393 - Directory Listing
Modified Fri Aug 2 23:46:18 2002 UTC (17 years, 6 months ago) by rogers
Updated to handle the case where it is the modify envision wizard. In
this case, the wizard will start and stop on the fourth page.


Revision 33391 - Directory Listing
Modified Fri Aug 2 22:44:02 2002 UTC (17 years, 6 months ago) by rogers
We now use `visual_studio_information' to retrieve the location
of the tmpelate files, instead of the first argument. This is beacuse
we cannot guarantee that we always have a first argument that
corresponds to the pixmap location, as a double click will not pass
that information.


Revision 33390 - Directory Listing
Modified Fri Aug 2 20:18:54 2002 UTC (17 years, 6 months ago) by rogers
Removed `visual_studio_information' as it is now inherited from
`GB_SHARED_SYSTEM_STATUS'.


Revision 33389 - Directory Listing
Modified Fri Aug 2 20:17:33 2002 UTC (17 years, 6 months ago) by rogers
Added `visual_studio_information' for general queries regarding the
Envision installation.


Revision 33388 - Directory Listing
Modified Fri Aug 2 20:06:50 2002 UTC (17 years, 6 months ago) by rogers
We now store whether the project is an Envision or regular Build
project. The only thing this is used for is when we double click on the
.bpr file, and we must launch Build or envision modification wizard.
This new value is saved. Added `make_envision_with_default_values',
`project_type', `is_stand_alone_project' and `is_envision_project'.


Revision 33387 - Directory Listing
Modified Fri Aug 2 19:55:40 2002 UTC (17 years, 6 months ago) by rogers
Modified `execute'. We now support one argument which is the name of
the .bpr file to be loaded. If there is one argument, we load this file,
and look inside to see what type of project it is, and then launch Build
in an appropriate manner.


Revision 33386 - Directory Listing
Modified Fri Aug 2 19:43:49 2002 UTC (17 years, 6 months ago) by rogers
Initial version of modified class. We needed to modify it, so that
`wizard_source' does not always return the first command line argument.
This is necesary, as when someone double clicks on a .bpr file, we need
to launch the modify wizard, and the only argument passed, is the file
name, meaning it is impossible to pass the location of the wizard pixmaps
as the firts argument.s


Revision 33385 - Directory Listing
Modified Fri Aug 2 19:32:22 2002 UTC (17 years, 6 months ago) by rogers
Now inherits GB_SHARED_XML_HANDLER. Added
`make_and_launch_as_modify_wizard' for when an Envision .bpr file is
double clicked.


Revision 33384 - Directory Listing
Modified Fri Aug 2 18:41:21 2002 UTC (17 years, 6 months ago) by rogers
Updated `make' and `load_first_state' to handle the case where we are
being launched as a modification wiazrd for Envision.


Revision 33350 - Directory Listing
Modified Thu Aug 1 17:44:46 2002 UTC (17 years, 6 months ago) by rogers
Fixed bug in `on_wm_ctlcolordialog' which was using a brush created from
`wel_background_color'. We now use `background_brush' as this will
correctly draw a pixmap if one has been set. Before, the dialog was drawn
as grey when there should have been a pixmap displayed.


Revision 33348 - Directory Listing
Modified Thu Aug 1 01:07:10 2002 UTC (17 years, 6 months ago) by rogers
Updated text displayed as per Manus suggestions.


Revision 33343 - Directory Listing
Modified Thu Aug 1 00:36:17 2002 UTC (17 years, 6 months ago) by rogers
Fixed bug in `copy_from_real_dialog'. We were not copying
`show_actions_internal'.


Revision 33342 - Directory Listing
Modified Thu Aug 1 00:04:01 2002 UTC (17 years, 6 months ago) by rogers
We now use `disable_edit' instead of `disable_sensitive' to disable
the text field displaying the project location. Both have a similar greyed
out effect, but if we disable edit, then this allows the user to scroll to
the right of the text, using the cursor.
Added a tooltip on project location which informs the user why they cannot
edit the value.


Revision 33341 - Directory Listing
Modified Thu Aug 1 00:01:55 2002 UTC (17 years, 6 months ago) by rogers
Removed redefinition of `show_modal_to_window' as we now do the extra
processing in the redefiniton, from the `show_actions'.


Revision 33340 - Directory Listing
Modified Wed Jul 31 22:47:53 2002 UTC (17 years, 6 months ago) by rogers
Removed `extend_button' as we now inherit `extend_no_expand' from
GB_WIDGET_UTILITIES which performs exactly the same function.


Revision 33331 - Directory Listing
Modified Wed Jul 31 18:17:38 2002 UTC (17 years, 6 months ago) by rogers
Added `rebuild_ace_file' setting, and associated enable/disable features.
Updated saving and loading to take into account these settings.


Revision 33329 - Directory Listing
Modified Wed Jul 31 18:14:46 2002 UTC (17 years, 6 months ago) by rogers
We now only re-generate the ace file if it does not exist, or the
rebuild ace file project settings option is not checked. This enables
you to rebuild a new project, with a different main window class name,
without loosing any ace file modifications.


Revision 33328 - Directory Listing
Modified Wed Jul 31 18:01:03 2002 UTC (17 years, 6 months ago) by rogers
Added `rebuild_ace_file' which matches the new project settings option.


Revision 33321 - Directory Listing
Modified Mon Jul 29 17:47:10 2002 UTC (17 years, 6 months ago) by rogers
Fixed bug in `build_interface'. When large fonts was enabled, the minimum
size that we were setting on the notebook was too small, so we only now set
the minimum size if it is not too small.


Revision 33320 - Directory Listing
Modified Mon Jul 29 17:40:47 2002 UTC (17 years, 6 months ago) by rogers
Corrected description.


Revision 33281 - Directory Listing
Modified Fri Jul 26 23:58:18 2002 UTC (17 years, 6 months ago) by rogers
Connected `execute' with `add_agent' during `make'. This fixes the
keyboard shortcut which was doing nothing previously.


Revision 33279 - Directory Listing
Modified Fri Jul 26 23:08:42 2002 UTC (17 years, 6 months ago) by rogers
Exported `accelerators' to ANY, thsi is now needed, as we add an
accelerator to the GB_TOOLS_ALWAYS_ON_TOP_COMMAND.


Revision 33278 - Directory Listing
Modified Fri Jul 26 23:07:34 2002 UTC (17 years, 6 months ago) by rogers
Added a keyboard shortcut corresponding to "Ctrl - T".


Revision 33277 - Directory Listing
Modified Fri Jul 26 23:06:35 2002 UTC (17 years, 6 months ago) by rogers
Added a shortcut to `Show_tool_windows_modeless_text'.


Revision 33276 - Directory Listing
Modified Fri Jul 26 21:59:30 2002 UTC (17 years, 6 months ago) by rogers
Added Ctrl-C keyboard shortcut.


Revision 33258 - Directory Listing
Modified Fri Jul 26 16:36:53 2002 UTC (17 years, 6 months ago) by rogers
All show/hide menu commands now use an uppercase character for the start
of the name.


Revision 33257 - Directory Listing
Modified Fri Jul 26 16:20:34 2002 UTC (17 years, 6 months ago) by rogers
`item_selected' now calls `update' on the command handler. This stops
the following bug:

open history window when history is empty.
click the back button to go back.
go forewards, by selecting the item in the history window.
click the forewards history button.

Everything now dies.


Revision 33247 - Directory Listing
Modified Thu Jul 25 22:41:58 2002 UTC (17 years, 6 months ago) by rogers
Fixed bug in `force_object_to_component'. We now wipe out the drop actions
of the builder object and its child. This stops the bug in which you can
drop another object into a component which was displayed in the builder
view, crashing ths system.


Revision 33239 - Directory Listing
Modified Thu Jul 25 21:24:22 2002 UTC (17 years, 6 months ago) by rogers
Fixed `unix_ace_file_name' which was not using the correct case when
appending 'unix' to the name, we now use an upper case U so - 'Unix'.


Revision 33237 - Directory Listing
Modified Thu Jul 25 18:25:53 2002 UTC (17 years, 6 months ago) by rogers
Updated so that we set the menu name to use an uppercase "G" as all menu
item texts shoudl start with an uppercase letter.


Revision 33236 - Directory Listing
Modified Thu Jul 25 18:12:47 2002 UTC (17 years, 6 months ago) by rogers
We now wrap the project name in double quotes, so that we can now
use any name for the project, and not have to worry about using an
ace file commaned, such as library.


Revision 33235 - Directory Listing
Modified Thu Jul 25 18:11:10 2002 UTC (17 years, 6 months ago) by rogers
We now set the pixmap name to the type as lowercase, as on some platforms,
the name of the file is case sensitive.


Revision 33233 - Directory Listing
Modified Thu Jul 25 17:22:27 2002 UTC (17 years, 6 months ago) by rogers
When we set the pixmap of the component, we now ensure that the type we
use is all in lower, as some platforms will not find the files otherwise.


Revision 33217 - Directory Listing
Modified Wed Jul 24 01:15:25 2002 UTC (17 years, 7 months ago) by rogers
We now convert `type' to lowercase before passing it to `pixmaps_by_name'.
This fixes the case sensitivity problems on Unix which were stopping the
png files form being loaded.


Revision 33216 - Directory Listing
Modified Wed Jul 24 01:02:53 2002 UTC (17 years, 7 months ago) by rogers
Updated text of `Current' to reflect change from Interactive Software
Engineering to Eiffel Software.


Revision 33215 - Directory Listing
Modified Wed Jul 24 00:36:50 2002 UTC (17 years, 7 months ago) by rogers
Corrected icon used on `builder_button'.


Revision 33212 - Directory Listing
Modified Tue Jul 23 23:49:14 2002 UTC (17 years, 7 months ago) by rogers
Fixed bug in `execute'. As we were disabling all windows before the
generation, when we queried the current state of the window for the
generation, it returned that it was disabled and hence the generated
code had a disabled main window.

This has been fixed by disabling the sensitivity by going through the
implementation which does not affect the query in the interface.


Revision 33210 - Directory Listing
Modified Tue Jul 23 23:44:19 2002 UTC (17 years, 7 months ago) by rogers
Added missing comment to `create_widget_instance'.


Revision 33209 - Directory Listing
Modified Tue Jul 23 23:41:12 2002 UTC (17 years, 7 months ago) by rogers
Exported `implementation' to GB_GENERATION_COMMAND.


Revision 33203 - Directory Listing
Modified Tue Jul 23 18:51:11 2002 UTC (17 years, 7 months ago) by rogers
Fixed bug in `object' which was leading to an infinite loop.
While we iterate through `values', we now need to step `forth', after
performing a replace, as otherwise, the loop is never exited.


Revision 33202 - Directory Listing
Modified Tue Jul 23 17:35:03 2002 UTC (17 years, 7 months ago) by rogers
We now use `prune_all' to remove the cancel button in `new_object_editor'.


Revision 33201 - Directory Listing
Modified Tue Jul 23 17:33:28 2002 UTC (17 years, 7 months ago) by rogers
Fixed bug in `initialize'. We were not calling the Precursor, and hence
the cancel actions of the dialog were never executed, meaning it was not
possible to close `Current'.


Revision 33193 - Directory Listing
Modified Tue Jul 23 00:32:25 2002 UTC (17 years, 7 months ago) by rogers
Added `parent_dialog' which returns the top level parent of a widget,
if it is a dialog, or `Void' otherwise.


Revision 33192 - Directory Listing
Modified Tue Jul 23 00:30:55 2002 UTC (17 years, 7 months ago) by rogers
Added inheritance from GB_SHARED_OBJECT_EDITORS and GB_WIDGET_UTILITES.
These are required so that during `execute', we can now update all floating
object editors which was not done before.


Revision 33191 - Directory Listing
Modified Tue Jul 23 00:27:12 2002 UTC (17 years, 7 months ago) by rogers
Now inherits GB_SHARED_SYSTEM_STATUS so that we can redefine `initialize'
and set the icon pixmap correctly depending on the state of
`tools_always_on_top'. This stops all tools that are displayed relative
from having their icon change to the default, and then change back after
`Current' is displayed.


Revision 33190 - Directory Listing
Modified Mon Jul 22 23:14:25 2002 UTC (17 years, 7 months ago) by rogers
Initial.


Revision 33189 - Directory Listing
Modified Mon Jul 22 23:11:49 2002 UTC (17 years, 7 months ago) by rogers
We now set the default icon to be the Build icon, as it was not set
previously.


Revision 33188 - Directory Listing
Modified Mon Jul 22 23:10:52 2002 UTC (17 years, 7 months ago) by rogers
Redefined `initialize' to display the build icon in `Current'.


Revision 33187 - Directory Listing
Modified Mon Jul 22 23:07:36 2002 UTC (17 years, 7 months ago) by rogers
Modified `new_object_editor' so that the new editor is displayed relative
to the main window if "tools always on top".


Revision 33182 - Directory Listing
Modified Mon Jul 22 21:47:42 2002 UTC (17 years, 7 months ago) by rogers
Fixed bug when we visit the final page of the wizard more than once. All
the floating tools were not hidden.


Revision 33148 - Directory Listing
Modified Sat Jul 20 00:16:40 2002 UTC (17 years, 7 months ago) by rogers
Now inherits GB_SHARED_STATUS_BAR so that we can display output on the
status bar while we are loading.


Revision 33147 - Directory Listing
Modified Sat Jul 20 00:00:08 2002 UTC (17 years, 7 months ago) by rogers
Modified so that there is a status bar displayed even when there is no
project open. This allows us to display a loading message as previously,
the system appeared to lock up if you were loading a large interface.
Added `status_bar' which has been refactored out of the old code.


Revision 33136 - Directory Listing
Modified Fri Jul 19 18:52:47 2002 UTC (17 years, 7 months ago) by rogers
Initial version. We cannot use the version from Vision2, as it keeps
setting the pointer style, in some very erratic ways. We do not want this
to be changed while we are dragging or resizing.


Revision 33135 - Directory Listing
Modified Fri Jul 19 17:41:55 2002 UTC (17 years, 7 months ago) by rogers
Fixed `valid_maximum_width' and `valid_maximum_height' to take into account
the upper limit on the setting. This fixes a crash when somebody attempts
to set a value greater than {EV_WINDOW}.maximum_dimension.


Revision 33134 - Directory Listing
Modified Fri Jul 19 16:30:07 2002 UTC (17 years, 7 months ago) by rogers
Updated to reflect the fact that we now use a modified version of
EV_PIXMAP_PROJECTOR. This version has had the setting of the cursor
removed, as it seems to be broken, and was affecting the cursor badly
while resizing or moving a widget representation.


Revision 33133 - Directory Listing
Modified Fri Jul 19 16:28:38 2002 UTC (17 years, 7 months ago) by rogers
Fixed `track_movement' so that we only now update the pointer style
when we are not `resizing_widget' and not `moving_widget'.


Revision 33121 - Directory Listing
Modified Thu Jul 18 23:43:44 2002 UTC (17 years, 7 months ago) by rogers
`track_movement' now only updates the pointer styles if we are not
`resizing_widget' and not `moving_widget' as this was causing us to loose
the correct cursor.


Revision 33105 - Directory Listing
Modified Thu Jul 18 23:18:58 2002 UTC (17 years, 7 months ago) by rogers
Updated our address to 356 from 360.


Revision 33104 - Directory Listing
Modified Thu Jul 18 23:14:12 2002 UTC (17 years, 7 months ago) by rogers
Fixed bug in `set_object'. We now add the new component wrapper to
`drop_actions' which allows us to drop a valid component into the window,
as well as an object


Revision 33103 - Directory Listing
Modified Thu Jul 18 23:02:55 2002 UTC (17 years, 7 months ago) by rogers
Added checks in `execute' to ensure that the system was not compiled
with command line options for both Visual Studio and stand alone versions
available.


Revision 33093 - Directory Listing
Modified Thu Jul 18 18:03:38 2002 UTC (17 years, 7 months ago) by rogers
We now use the version of wel_dialog from WEL, instead fo a modified
version.


Revision 33092 - Directory Listing
Modified Thu Jul 18 17:57:15 2002 UTC (17 years, 7 months ago) by rogers
No longer needed.


Revision 33085 - Directory Listing
Modified Thu Jul 18 00:50:44 2002 UTC (17 years, 7 months ago) by rogers
We now inherit GB_SHARED_SYSTEM_STATUS, so we only output the saving
information when we are not a wizard. This fixes a crash due to the
way that Build running in Wizard mode creates the application.


Revision 33084 - Directory Listing
Modified Wed Jul 17 23:44:29 2002 UTC (17 years, 7 months ago) by rogers
Updated warning dialg displayed when pixmaps are missing. Instead of
using multiple dialogs, one for each pixmap, we append each missing pixmap
to the output of one dialog.


Revision 33078 - Directory Listing
Modified Wed Jul 17 19:33:19 2002 UTC (17 years, 7 months ago) by rogers
Fixed `modify_from_xml_after_build' so that we now set the offsets after
setting the item size, to avoid a crash.


Revision 33077 - Directory Listing
Modified Wed Jul 17 18:55:24 2002 UTC (17 years, 7 months ago) by rogers
Added as missing from CVS.


Revision 33027 - Directory Listing
Modified Mon Jul 15 22:42:11 2002 UTC (17 years, 7 months ago) by rogers
Added `set_timer_status_text' which adds a text to the status bar, and
automatically removes it after a period of time.


Revision 33025 - Directory Listing
Modified Mon Jul 15 20:52:02 2002 UTC (17 years, 7 months ago) by manus
Removed `dev' cluster
Added `base' exclusion from Gobo
Revisited the external parts to match Unix specification and have a simpler
 and more portable reference to expat and EXML.


Revision 33024 - Directory Listing
Modified Mon Jul 15 20:47:17 2002 UTC (17 years, 7 months ago) by manus
Use platform independent Makefile.SH for Unix.


Revision 33021 - Directory Listing
Modified Mon Jul 15 19:23:39 2002 UTC (17 years, 7 months ago) by rogers
Added `is_saving', `enable_is_saving' and `disable_is_saving'. This is
added so that the code generator can query whether to output save
information or not.


Revision 33020 - Directory Listing
Modified Mon Jul 15 19:21:43 2002 UTC (17 years, 7 months ago) by rogers
Removed debugging output committed by mistake.


Revision 33019 - Directory Listing
Modified Mon Jul 15 19:20:59 2002 UTC (17 years, 7 months ago) by rogers
Now inherits GB_SHARED_STATUS_BAR. Now added support for outputting save
status to the toolbar.


Revision 33018 - Directory Listing
Modified Mon Jul 15 19:19:01 2002 UTC (17 years, 7 months ago) by rogers
Fixed crash in generatino when table contained no children. We only now
try to position them when there is at least one.


Revision 32988 - Directory Listing
Modified Fri Jul 12 23:49:10 2002 UTC (17 years, 7 months ago) by rogers
Added `maximize_tooltip', `minimize_tooltip' and `restore_tooltip'.


Revision 32987 - Directory Listing
Modified Fri Jul 12 23:48:23 2002 UTC (17 years, 7 months ago) by rogers
Now inherits GB_CONSTANTS. We now have tooltips on the minimize and
maximize buttons.


Revision 32986 - Directory Listing
Modified Fri Jul 12 23:33:56 2002 UTC (17 years, 7 months ago) by rogers
Removed unused local.


Revision 32982 - Directory Listing
Modified Fri Jul 12 23:22:21 2002 UTC (17 years, 7 months ago) by rogers
Modified to make compilable for the Scripts.


Revision 32978 - Directory Listing
Modified Fri Jul 12 22:56:46 2002 UTC (17 years, 7 months ago) by rogers
Added `is_relative' in conjunction with changes in Vision2.


Revision 32977 - Directory Listing
Modified Fri Jul 12 22:56:12 2002 UTC (17 years, 7 months ago) by rogers
Updated in conjunction with changes in Vision2.


Revision 32951 - Directory Listing
Modified Fri Jul 12 17:14:27 2002 UTC (17 years, 7 months ago) by rogers
Added `is_relative' which is missing.


Revision 32950 - Directory Listing
Modified Fri Jul 12 17:13:47 2002 UTC (17 years, 7 months ago) by rogers
Updated to match changes in Vision2 interface.


Revision 32940 - Directory Listing
Modified Fri Jul 12 01:23:23 2002 UTC (17 years, 7 months ago) by rogers
Added default build pixmap so that when we have multiple tools shown
relative, the icon doe snot become messed up due to Windows limitation.
`start_generation' is now called from the show_actions. This was changed
as the dialog is now modal for the entire life of its display.


Revision 32939 - Directory Listing
Modified Fri Jul 12 01:11:37 2002 UTC (17 years, 7 months ago) by rogers
The dialog is now shown modal to `main_windo' for the duration of its life.
All other floating windows are disabled while the generation dialog is
open.


Revision 32938 - Directory Listing
Modified Fri Jul 12 00:45:05 2002 UTC (17 years, 7 months ago) by rogers
Redefined `window_on_wm_activate' so that we can call the
`focus_out_actions'. This is not perfect, but better than nothing.


Revision 32922 - Directory Listing
Modified Thu Jul 11 19:03:13 2002 UTC (17 years, 7 months ago) by rogers
Added the build icon to all these dialogs. Even though the icon is not
displayed, it is necessary, as when all tools are shown relative to
the main window, they all share the same icon.


Revision 32915 - Directory Listing
Modified Thu Jul 11 18:19:41 2002 UTC (17 years, 7 months ago) by rogers
Updated for name change of `history' to `history_dialog' in
GB_GLOBAL_HISTORY.


Revision 32914 - Directory Listing
Modified Thu Jul 11 18:19:04 2002 UTC (17 years, 7 months ago) by rogers
No longer inherits GB_SHARED_HISTORY as this class has been removed.
We can now access `history_dialog' through GB_SHARED_TOOLS.


Revision 32913 - Directory Listing
Modified Thu Jul 11 18:17:58 2002 UTC (17 years, 7 months ago) by rogers
All floating tools are now disabled when the project settings window is
displayed. We also modify the pixmap of the project settings window,
dependent on whether all other tools are always on top or not. We must
give the generic Build icon when all tools are floating, as on windows,
they all share the same icon.


Revision 32912 - Directory Listing
Modified Thu Jul 11 18:14:46 2002 UTC (17 years, 7 months ago) by rogers
No longer inherits fromGB_SHARED_HISTORY, as this was only to get access
to the history dialog, which is now also available from GB_SHARED_TOOLS.
Refactored `update_tool' to use `all_floating_tools'.


Revision 32911 - Directory Listing
Modified Thu Jul 11 18:13:05 2002 UTC (17 years, 7 months ago) by rogers
Removed unused locals.


Revision 32910 - Directory Listing
Modified Thu Jul 11 18:12:50 2002 UTC (17 years, 7 months ago) by rogers
Renamed `dialog' into `history_dialog'.


Revision 32909 - Directory Listing
Modified Thu Jul 11 18:11:12 2002 UTC (17 years, 7 months ago) by rogers
Removed extra empty line.


Revision 32908 - Directory Listing
Modified Thu Jul 11 18:10:53 2002 UTC (17 years, 7 months ago) by rogers
Added `history_dialog' which is the same object as `history_dialog'
from GB_SHARED_HISTORY. Added `all_floating_tools'.


Revision 32896 - Directory Listing
Modified Thu Jul 11 00:38:28 2002 UTC (17 years, 7 months ago) by rogers
Added `on_wm_ctlcolordialog' for processing the `Wm_ctlcolordialog'
message. This enables the colors that had been set in `Current' to be
actually displayed.


Revision 32879 - Directory Listing
Modified Wed Jul 10 19:01:26 2002 UTC (17 years, 7 months ago) by manus
Made Ace file compilable.


Revision 32878 - Directory Listing
Modified Wed Jul 10 19:01:13 2002 UTC (17 years, 7 months ago) by manus
Fixed call on void target when we cannot load a pixmap because file does not
exist.


Revision 32876 - Directory Listing
Modified Wed Jul 10 18:53:41 2002 UTC (17 years, 7 months ago) by manus
Makefile that works.


Revision 32872 - Directory Listing
Modified Wed Jul 10 18:35:18 2002 UTC (17 years, 7 months ago) by rogers
Initial.


Revision 32871 - Directory Listing
Modified Wed Jul 10 18:15:19 2002 UTC (17 years, 7 months ago) by rogers
Removed setting of icon in `build_interface' as we must now do it
when `Current' is shown, depending on status of other tool windows.


Revision 32870 - Directory Listing
Modified Wed Jul 10 18:12:45 2002 UTC (17 years, 7 months ago) by rogers
`make_with_names' now sets the icon pixmap of `Current' to the Build
pixmap. If we do not do this, then when we display `Current', all other
windows relative to the main window, will get the default Vision2 icon.


Revision 32869 - Directory Listing
Modified Wed Jul 10 18:11:07 2002 UTC (17 years, 7 months ago) by rogers
Removed inheritence from GB_SHARED_COMPONENT_VIEWER.


Revision 32868 - Directory Listing
Modified Wed Jul 10 18:09:48 2002 UTC (17 years, 7 months ago) by rogers
Removed as component viewer is now defined in GB_SHARED_TOOLS.


Revision 32867 - Directory Listing
Modified Wed Jul 10 18:08:18 2002 UTC (17 years, 7 months ago) by rogers
Removed inheritence from GB_COMPONENT_SELECTOR_ITEM as it is now being
removed from Build.


Revision 32866 - Directory Listing
Modified Wed Jul 10 18:06:34 2002 UTC (17 years, 7 months ago) by rogers
Added `component_viewer'. It was previously defined in
GB_SHARED_COMPONENT_VIEWER.


Revision 32865 - Directory Listing
Modified Wed Jul 10 17:19:21 2002 UTC (17 years, 7 months ago) by rogers
Redefined `is_show_requested' to handle the case where we upgrade the
implementation. In this case, `Current' has been destroyed, so we
query interface.implementation to find out if `Current' has been shown.


Revision 32864 - Directory Listing
Modified Wed Jul 10 17:18:24 2002 UTC (17 years, 7 months ago) by rogers
Removed unused local from `copy_from_real_dialog'.


Revision 32841 - Directory Listing
Modified Tue Jul 9 21:41:04 2002 UTC (17 years, 7 months ago) by rogers
Initial.


Revision 32840 - Directory Listing
Modified Tue Jul 9 21:39:15 2002 UTC (17 years, 7 months ago) by rogers
We now display `Icon_cmd_history_title' on `Current', instead of
`Icon_cmd_history'. This gives a better appearence, as the title bar
of `Current' is blue.


Revision 32839 - Directory Listing
Modified Tue Jul 9 21:37:53 2002 UTC (17 years, 7 months ago) by rogers
Added `Icon_cmd_history_title' which is used on title bar of history
dialog.


Revision 32836 - Directory Listing
Modified Tue Jul 9 19:09:38 2002 UTC (17 years, 7 months ago) by rogers
Modified `execute' so that it uses GB_ICONABLE_TOOL to modify the
icons displayed. This ensures that when multiple tools are displayed
relative to a window, they all share a common icon, matching that of the
main Build icon.


Revision 32835 - Directory Listing
Modified Tue Jul 9 19:07:52 2002 UTC (17 years, 7 months ago) by rogers
Modified `update_tool' so that it uses GB_ICONABLE_TOOL to modify the
icons displayed. This ensures that when multiple tools are displayed
relative to a window, they all share a common icon, matching that of the
main Build icon.


Revision 32834 - Directory Listing
Modified Tue Jul 9 19:05:32 2002 UTC (17 years, 7 months ago) by rogers
Now inherits GB_ICONABLE_TOOL and implements `icon'.


Revision 32833 - Directory Listing
Modified Tue Jul 9 19:03:22 2002 UTC (17 years, 7 months ago) by rogers
Initial.


Revision 32830 - Directory Listing
Modified Tue Jul 9 17:37:21 2002 UTC (17 years, 7 months ago) by rogers
Modified `copy_from_real_dialog' to handle menu bars correctly. The menu
bar was lost when certain implementation upgrades were undertaken. See
comment in Vision2 EV_DIALOG_IMP commit log for full explanation.


Revision 32812 - Directory Listing
Modified Mon Jul 8 23:41:17 2002 UTC (17 years, 7 months ago) by rogers
We now include GOBO_16 through the Build2 installation, not seperately.


Revision 32805 - Directory Listing
Modified Mon Jul 8 23:10:38 2002 UTC (17 years, 7 months ago) by rogers
Updated to use EIFFEL_SRC, ready for script.


Revision 32804 - Directory Listing
Modified Mon Jul 8 23:05:38 2002 UTC (17 years, 7 months ago) by rogers
Initial.


Revision 32803 - Directory Listing
Modified Mon Jul 8 22:59:56 2002 UTC (17 years, 7 months ago) by rogers
Initial.


Revision 32802 - Directory Listing
Modified Mon Jul 8 22:27:10 2002 UTC (17 years, 7 months ago) by rogers
Initial.


Revision 32801 - Directory Listing
Modified Mon Jul 8 22:07:46 2002 UTC (17 years, 7 months ago) by rogers
Tidied up for addition of EXML to modified libraries.


Revision 32798 - Directory Listing
Modified Mon Jul 8 19:52:52 2002 UTC (17 years, 7 months ago) by rogers
Added show/hide menu constants.


Revision 32797 - Directory Listing
Modified Mon Jul 8 19:20:54 2002 UTC (17 years, 7 months ago) by rogers
Initial.


Revision 32796 - Directory Listing
Modified Mon Jul 8 19:20:30 2002 UTC (17 years, 7 months ago) by rogers
The menu texts are now consistent, without "hide" or "show" and are
defined using constants from GB_CONSTANTS.


Revision 32795 - Directory Listing
Modified Mon Jul 8 19:19:15 2002 UTC (17 years, 7 months ago) by rogers
We now display the window in a different fashion, dependent on the
tools always on top system setting.


Revision 32794 - Directory Listing
Modified Mon Jul 8 19:18:23 2002 UTC (17 years, 7 months ago) by rogers
Added `tools_always_on_top_command'.


Revision 32793 - Directory Listing
Modified Mon Jul 8 19:17:34 2002 UTC (17 years, 7 months ago) by rogers
Re-factored menus. All show/hide tools are under a tools menu. Added
`preferences' which has the show tools always on top command.


Revision 32792 - Directory Listing
Modified Mon Jul 8 19:16:48 2002 UTC (17 years, 7 months ago) by rogers
We now enable tools always on top in `system_status' as default. Any
other defaults can be set here.


Revision 32791 - Directory Listing
Modified Mon Jul 8 19:16:01 2002 UTC (17 years, 7 months ago) by rogers
Added `tools_always_on_top', `enable_tools_always_on_top' and
`disable_tools_always_on_top'.


Revision 32790 - Directory Listing
Modified Mon Jul 8 19:15:10 2002 UTC (17 years, 7 months ago) by rogers
Updated to reflect fix in Vision2 interface.


Revision 32736 - Directory Listing
Modified Fri Jul 5 22:45:11 2002 UTC (17 years, 7 months ago) by rogers
Modifed class to match recent change in actual Vision2 dialog class.


Revision 32698 - Directory Listing
Modified Wed Jul 3 18:52:38 2002 UTC (17 years, 7 months ago) by rogers
Added tooltip to propagate buttons.


Revision 32694 - Directory Listing
Modified Wed Jul 3 18:37:29 2002 UTC (17 years, 7 months ago) by rogers
Updated `attribute_editor' to use constanst instead of fixed string values.


Revision 32693 - Directory Listing
Modified Wed Jul 3 18:36:50 2002 UTC (17 years, 7 months ago) by rogers
Added `gb_ev_window_title' and associated tooltip constants.


Revision 32681 - Directory Listing
Modified Wed Jul 3 00:54:55 2002 UTC (17 years, 7 months ago) by rogers
We now use object editor properties constants for input prompts, and the
newly added tooltips.


Revision 32680 - Directory Listing
Modified Wed Jul 3 00:53:02 2002 UTC (17 years, 7 months ago) by rogers
Added all object editor properties constants. They are now easy to keep
in track, as they are defined together.


Revision 32679 - Directory Listing
Modified Wed Jul 3 00:52:14 2002 UTC (17 years, 7 months ago) by rogers
`make' now also takes a tooltip as an argument which is displayed on
all widgets used to build `Current'.


Revision 32647 - Directory Listing
Modified Mon Jul 1 23:05:37 2002 UTC (17 years, 7 months ago) by rogers
Initial version.


Revision 32646 - Directory Listing
Modified Mon Jul 1 23:02:17 2002 UTC (17 years, 7 months ago) by rogers
Removed as a version already exists with the correct name.


Revision 32645 - Directory Listing
Modified Mon Jul 1 23:01:10 2002 UTC (17 years, 7 months ago) by rogers
Removed tru color image and replaced with 256 color.


Revision 32640 - Directory Listing
Modified Mon Jul 1 22:32:20 2002 UTC (17 years, 7 months ago) by rogers
Initial version.


Revision 32639 - Directory Listing
Modified Mon Jul 1 22:27:32 2002 UTC (17 years, 7 months ago) by rogers
Added pixmaps to items in tree that were missing pixmaps. i.e.
containers, items, primitives and widgets.


Revision 32638 - Directory Listing
Modified Mon Jul 1 22:26:44 2002 UTC (17 years, 7 months ago) by rogers
Added a pixmap to `Current' which is set during call to `make_root'.


Revision 32493 - Directory Listing
Modified Fri Jun 14 21:48:01 2002 UTC (17 years, 8 months ago) by rogers
We now allow leading and trailing spaces to be parsed correctly. If there
are any, they are now removed before processing.


Revision 32492 - Directory Listing
Modified Fri Jun 14 21:47:22 2002 UTC (17 years, 8 months ago) by rogers
Added `remove_leading_and_trailing_spaces' which deos exactly what it
says.


Revision 32476 - Directory Listing
Modified Thu Jun 13 19:25:01 2002 UTC (17 years, 8 months ago) by rogers
Added, and implemented `enable_maximize' and `disable_maximize'.


Revision 32475 - Directory Listing
Modified Thu Jun 13 19:24:10 2002 UTC (17 years, 8 months ago) by rogers
Added `enable_maximize' and `disable_maximize' with no implementation,
as they are only required by the visual studio wizard, and hence will
never be calle don Gtk.


Revision 32474 - Directory Listing
Modified Thu Jun 13 19:20:37 2002 UTC (17 years, 8 months ago) by rogers
We now call `enable_maximize' on `first_window' when building `Current',
as we want to allow the user to maximize the window.


Revision 32473 - Directory Listing
Modified Thu Jun 13 19:18:40 2002 UTC (17 years, 8 months ago) by rogers
We now call `disable_user_maximize' and `disable_maximize' on
`first_window' when building `Current' as we do not want these properties
on the window, unless we are the interface building stage.


Revision 32472 - Directory Listing
Modified Thu Jun 13 19:17:06 2002 UTC (17 years, 8 months ago) by rogers
We now call `disable_maximize' on `first_window' when building `Current',
as only the builder window should be maximizable.


Revision 32467 - Directory Listing
Modified Thu Jun 13 16:33:59 2002 UTC (17 years, 8 months ago) by rogers
Containers are now displayed before primitives in `Current' as
requested.


Revision 32434 - Directory Listing
Modified Wed Jun 12 00:51:25 2002 UTC (17 years, 8 months ago) by rogers
This command now inherits GB_RESTORABLE_WINDOW_COMMAND, so that every time
that it is shown, it is restored to its last known position. Updated
export status of inherited features. Implemented `window'.


Revision 32433 - Directory Listing
Modified Wed Jun 12 00:47:58 2002 UTC (17 years, 8 months ago) by rogers
Now inherits from EV_DIALOG instead of EV_TITLED_WINDOW.


Revision 32432 - Directory Listing
Modified Wed Jun 12 00:23:41 2002 UTC (17 years, 8 months ago) by rogers
Updated export status of inherited classes.


Revision 32431 - Directory Listing
Modified Wed Jun 12 00:20:19 2002 UTC (17 years, 8 months ago) by rogers
Modified `perfrom_close' to take into the new behaviour of the history
dialog.


Revision 32429 - Directory Listing
Modified Tue Jun 11 21:47:48 2002 UTC (17 years, 8 months ago) by rogers
Updated for name change of `show_history_command' to
`show_hide_history_command'.


Revision 32428 - Directory Listing
Modified Tue Jun 11 21:33:54 2002 UTC (17 years, 8 months ago) by rogers
Updated for name change from show_history_command to
show_hide_history_command.


Revision 32427 - Directory Listing
Modified Tue Jun 11 19:51:50 2002 UTC (17 years, 8 months ago) by rogers
changed type of `show_history_command' to GB_SHOW_HIDE_HISTORY_COMMAND.
Removed `show_history_command' from `all_commands' as it does not
include two state commands.


Revision 32426 - Directory Listing
Modified Tue Jun 11 19:50:16 2002 UTC (17 years, 8 months ago) by rogers
Initial version. Used to be GB_SHOW_HISTORY_COMMAND, but the command
has now been updated to be a GB_TWO_STATE_COMMAND, hence the name change.


Revision 32425 - Directory Listing
Modified Tue Jun 11 19:48:27 2002 UTC (17 years, 8 months ago) by rogers
Removed as we now have GB_SHOW_HIDE_HISTORY_COMMAND as the command has
been updated to a two state command.


Revision 32424 - Directory Listing
Modified Tue Jun 11 19:39:45 2002 UTC (17 years, 8 months ago) by rogers
Removed `close_window' as it is no longer used.


Revision 32423 - Directory Listing
Modified Tue Jun 11 17:45:52 2002 UTC (17 years, 8 months ago) by rogers
Added `fake_cancel_button' which takes a dialog, and the action that
you wish to be connected to the cancel.


Revision 32422 - Directory Listing
Modified Tue Jun 11 17:45:13 2002 UTC (17 years, 8 months ago) by rogers
Updated export status of inherited features.


Revision 32421 - Directory Listing
Modified Tue Jun 11 17:44:42 2002 UTC (17 years, 8 months ago) by rogers
Now inherits GB_RESTORABLE_WINDOW_COMMAND instead of GB_TWO_STATE_COMMAND.
Implemented `window' and removed `execute' as it is now inherited.


Revision 32420 - Directory Listing
Modified Tue Jun 11 17:41:08 2002 UTC (17 years, 8 months ago) by rogers
Now inherits GB_RESTORABLE_WINDOW_COMMAND. Implemented `window', and
removed `execute' as it is now inherited.


Revision 32419 - Directory Listing
Modified Tue Jun 11 17:39:59 2002 UTC (17 years, 8 months ago) by rogers
Added `safe_disable_select' and `reverse_is_selected'. Renamed
`set_selected' to `update_controls', and modified behaviour. Previously,
when `set_selected' was called, execute was called three times. This was
horribly inefficient. Now, you must call `reverse_is_selected' yourself
at the start of `execute', and then `update_controls' at the end of
`execute'. This is much nicer, and more effecient with no (known) side
effects.


Revision 32418 - Directory Listing
Modified Tue Jun 11 17:29:40 2002 UTC (17 years, 8 months ago) by rogers
Initial. This class contains implementation for showing/hiding two state
comamnds that are used to display windows. This is a common implementation,
as previously, each command needed to repeat the implementation in this
class.


Revision 32417 - Directory Listing
Modified Tue Jun 11 17:27:34 2002 UTC (17 years, 8 months ago) by rogers
Initial.


Revision 32416 - Directory Listing
Modified Tue Jun 11 17:26:06 2002 UTC (17 years, 8 months ago) by rogers
`hide_all_floating_tools' now uses `safe_disable_selected' which ensures
that the commands are only executed once if they must be executed.


Revision 32415 - Directory Listing
Modified Tue Jun 11 17:22:58 2002 UTC (17 years, 8 months ago) by rogers
Now inherits GB_WIDGET_UTILITES, as the faking of the cancel button that
was performed in `initialize' has been implemented generally as
`fake_cancel_button' in GB_WIDGET_UTILITIES.


Revision 32413 - Directory Listing
Modified Mon Jun 10 21:58:55 2002 UTC (17 years, 8 months ago) by rogers
Fixed bug which was causing a crash. We only now set a menu bar when
there is one.


Revision 32407 - Directory Listing
Modified Mon Jun 10 19:54:24 2002 UTC (17 years, 8 months ago) by rogers
Updated to reflect recent fix which allows a dialog shown modally to
a window to have a menu.


Revision 32383 - Directory Listing
Modified Wed Jun 5 19:50:59 2002 UTC (17 years, 8 months ago) by rogers
Fixed `can_add_child' to take into account the case where we attempt
to add a new menu bar while one is already contained, either by an object
or a component.


Revision 32373 - Directory Listing
Modified Wed Jun 5 01:59:28 2002 UTC (17 years, 8 months ago) by rogers
Fixed `redefined_creation' and `default_create_redefinition' as the
formatting was messed up which was causing generated code which was client
of window to fail.


Revision 32355 - Directory Listing
Modified Tue Jun 4 00:51:30 2002 UTC (17 years, 8 months ago) by rogers
Removed debugging output.


Revision 32354 - Directory Listing
Modified Tue Jun 4 00:32:03 2002 UTC (17 years, 8 months ago) by rogers
Updated `generate_structure' to use information generated during `prepass_xml'.


Revision 32315 - Directory Listing
Modified Fri May 31 22:51:53 2002 UTC (17 years, 8 months ago) by rogers
Re-wrote `generate_declarations' to make use of information retrieved
during prepass stage of code generation. This will be a lot quicker as
we do not have to iterate through all the XML again.


Revision 32307 - Directory Listing
Modified Fri May 31 02:00:12 2002 UTC (17 years, 8 months ago) by rogers
Updated text displayed with `client_of_window' option.


Revision 32306 - Directory Listing
Modified Fri May 31 01:55:00 2002 UTC (17 years, 8 months ago) by rogers
Added `client_of_window' check button which is connected to the client
setting of the project.


Revision 32305 - Directory Listing
Modified Fri May 31 01:26:17 2002 UTC (17 years, 8 months ago) by rogers
Redefined `initialize' which now adds a default cancel button temporarily.
This has the effect of adding a cross to the dialog, which enables you
to exit, by performing the same event as if the cancel button was
selected.


Revision 32304 - Directory Listing
Modified Fri May 31 01:23:25 2002 UTC (17 years, 8 months ago) by rogers
`update_style_and_minimum_size' has the `hide' and `show' implementation
commented out, as it does not seem to be necessary.


Revision 32303 - Directory Listing
Modified Fri May 31 01:20:41 2002 UTC (17 years, 8 months ago) by rogers
Replaced usage of `item_by_data' on EV_LIST with `retrieve_item_by_data'
due to a change in the Vision2 interface.


Revision 32302 - Directory Listing
Modified Fri May 31 01:19:45 2002 UTC (17 years, 8 months ago) by rogers
We now disable resizing of `first_window' when we reach this page, and
update the size of `Current', so that it is the regular wizard page
size.


Revision 32301 - Directory Listing
Modified Fri May 31 01:18:39 2002 UTC (17 years, 8 months ago) by rogers
We now force the wizard back to its smallest size when proceeding, and
we set a large minimum size on `first_window' during `build'. We also
make `first_window' resizeable during the build page display (Current).


Revision 32300 - Directory Listing
Modified Fri May 31 01:15:59 2002 UTC (17 years, 8 months ago) by rogers
`build' now forces window to be back to its smallest allowable size,
which is the default size of the regular wizard pages. This is necessary
as the build page is now resizeable.


Revision 32272 - Directory Listing
Modified Wed May 29 19:11:03 2002 UTC (17 years, 8 months ago) by rogers
Updated export status of inherited classes.


Revision 32270 - Directory Listing
Modified Wed May 29 19:02:42 2002 UTC (17 years, 8 months ago) by rogers
Removed unused locals.


Revision 32269 - Directory Listing
Modified Wed May 29 19:02:19 2002 UTC (17 years, 8 months ago) by rogers
Removed `clear_status_during_transport' and `clear_status_after_transport'
as they are now implemented in GB_SHARED_STATUS_BAR, and hence inherited
in `Current'.


Revision 32268 - Directory Listing
Modified Wed May 29 19:01:32 2002 UTC (17 years, 8 months ago) by rogers
Added `clear_status_during_transport' and `clear_status_after_transport'
which can only be accessed through inheritance. It is added to this class,
as there are two possible instances of EV_APPLICATION that require these
features, WIZARD_PROJECT_MANAGER and GB.


Revision 32267 - Directory Listing
Modified Wed May 29 18:59:25 2002 UTC (17 years, 8 months ago) by rogers
Now inherits GB_SHARED_STATUS_BAR, and we connect `clear_status_during_transport' and `clear_status_after_transport' to the
necessary application action sequences. This fixes the bug in which the
status bar was not updated corretly when running in Visual studio mode,
as the application is not GB.


Revision 32266 - Directory Listing
Modified Wed May 29 18:54:39 2002 UTC (17 years, 8 months ago) by rogers
Removed unused locals.


Revision 32265 - Directory Listing
Modified Wed May 29 18:53:57 2002 UTC (17 years, 8 months ago) by rogers
Minor formatting.


Revision 32264 - Directory Listing
Modified Wed May 29 18:32:15 2002 UTC (17 years, 8 months ago) by rogers
Fixed `build_widget_structure' which was failing when we were running
in Visual studio mode. We were inserting the toolbar into the wrong
toolholder which was Void, causing the system to crash.


Revision 32257 - Directory Listing
Modified Wed May 29 17:36:34 2002 UTC (17 years, 8 months ago) by rogers
The project status is now modified after a new gruping is made, or a
container is removed from the current group. This allows the project to
be saveable.


Revision 32254 - Directory Listing
Modified Wed May 29 01:14:41 2002 UTC (17 years, 8 months ago) by rogers
Fixed `modify_from_xml'. This was reproducable, by creating a
component, with the root type as an EV_ITEM that was selected, and
attempting to build a new object from it. As the component is
converted into an object before being inserted in the parent, it
is not possible to select the item. I think that nobody will ever
notice this small anomonaly in the interface. But if necessary,
a fix could be devised, although not easy.


Revision 32248 - Directory Listing
Modified Wed May 29 00:15:57 2002 UTC (17 years, 8 months ago) by rogers
Updated generation to reflect the new project settings which enables
you to use EV_WINDOW as a client instead of through inheritance.


Revision 32247 - Directory Listing
Modified Wed May 29 00:13:55 2002 UTC (17 years, 8 months ago) by rogers
Updated export status of inherited features.


Revision 32245 - Directory Listing
Modified Wed May 29 00:06:32 2002 UTC (17 years, 8 months ago) by rogers
Added `inheritance_tag', `precursor_tag', `creation_tag',
`custom_feature_tag', `redefined_creation', `default_create_redefinition',
`show_feature', `window_inheritance' and `window_access'.
All these new features are required as we can now generate classes which
are clients of EV_WINDOW, instead of inheriting from a window.


Revision 32244 - Directory Listing
Modified Wed May 29 00:03:38 2002 UTC (17 years, 8 months ago) by rogers
Updated to relfect the fact that the generated classes may use EV_WINDOW
 as a client instead of through inheritance if desired.


Revision 32240 - Directory Listing
Modified Sat May 25 00:45:30 2002 UTC (17 years, 9 months ago) by rogers
Removed one extra line of spacing.


Revision 32238 - Directory Listing
Modified Sat May 25 00:42:25 2002 UTC (17 years, 9 months ago) by rogers
Updated `execute' to take into account the fact that we can now convert
old BPR files to the new values. This required some faily major changes.


Revision 32237 - Directory Listing
Modified Sat May 25 00:34:51 2002 UTC (17 years, 9 months ago) by rogers
Added `invalid_bpr_file'.


Revision 32236 - Directory Listing
Modified Sat May 25 00:33:57 2002 UTC (17 years, 9 months ago) by rogers
Now inherits GB_SHARED_TOOLS. We now have error handling, so that if you
attempt to load an old BPR file which does not have all the necessary
information contained, then it will ask you if you wish to continue
with just the default build settings. Added new feature `load_cancelled'
which is used after a call to `load' and holds the result of a
load/cancellation. Added `enable_client_of_window' and
`disable_client_of_window'.


Revision 32235 - Directory Listing
Modified Sat May 25 00:31:14 2002 UTC (17 years, 9 months ago) by rogers
Added `client_check_button' and necessary handling.


Revision 32225 - Directory Listing
Modified Fri May 24 16:50:50 2002 UTC (17 years, 9 months ago) by rogers
Fixed bug in `add_set'. We now add an indent after adding the comment
string. The code that was generated, put the first line of setting on
the smae line as the comment.


Revision 32218 - Directory Listing
Modified Fri May 24 01:20:15 2002 UTC (17 years, 9 months ago) by rogers
Fixed bug in `can_add_child'. When shift is pressed, then we must call
`override_drop_on_child' on `parent_object', before, we were calling it
on `an_object' which was giving strange results. Exported
`override_drop_on_child' to GB_OBJECT to enable this fix.


Revision 32209 - Directory Listing
Modified Thu May 23 22:29:14 2002 UTC (17 years, 9 months ago) by rogers
Removed all variables of type EV_ENVIRONMENT as we can just directly
query GB_CONSTANTS to get the environment and application information,
without creating new objects.


Revision 32207 - Directory Listing
Modified Thu May 23 22:26:54 2002 UTC (17 years, 9 months ago) by rogers
`display_invalid_drop_message' no takes into account shift being pressed,
and will prepend "Parent of" to the start of the status text that is
displayed, so that the message informs the user about the parent of the
pointed target.


Revision 32206 - Directory Listing
Modified Thu May 23 22:25:35 2002 UTC (17 years, 9 months ago) by rogers
Added `application' and `environment' as they will never change during the
course of Builds execution, it is quicker to just retrieve them from the
constants which are already inherited by most classes.


Revision 32202 - Directory Listing
Modified Thu May 23 22:03:50 2002 UTC (17 years, 9 months ago) by rogers
renamed `display_object' to `clear_status_during_transport' and
`clear_status' to `clear_status_after_transport'.


Revision 32201 - Directory Listing
Modified Thu May 23 21:53:58 2002 UTC (17 years, 9 months ago) by rogers
Initial version.


Revision 32200 - Directory Listing
Modified Thu May 23 21:50:14 2002 UTC (17 years, 9 months ago) by rogers
Moved `display_invalid_drop_message' and `display_parent_in_child_message'
into {NONE} implementation feature clause.


Revision 32199 - Directory Listing
Modified Thu May 23 21:47:09 2002 UTC (17 years, 9 months ago) by rogers
Now inherits GB_SHARED_STATUS_BAR. Modified `can_add_child' so that
output is displayed on the status bar, informing the user of why they
cannot drop there. `display_invalid_drop_message' and
`display_parent_in_child_message' have been added for this purpose.


Revision 32198 - Directory Listing
Modified Thu May 23 21:36:25 2002 UTC (17 years, 9 months ago) by rogers
Moved features that were added at the start of the class, before the
creation routines, to an appropriate position within the class.


Revision 32197 - Directory Listing
Modified Thu May 23 21:34:32 2002 UTC (17 years, 9 months ago) by rogers
Now inherits GB_SHARED_STATUS_BAR. Added `display_object' and
`clear_status' so that the status bar will be cleared when the pick
and drop is cancelled, or over an item that does not have anything in the
drop actions.


Revision 32196 - Directory Listing
Modified Thu May 23 21:25:04 2002 UTC (17 years, 9 months ago) by rogers
We now create a status bar for the window.


Revision 32195 - Directory Listing
Modified Thu May 23 21:21:24 2002 UTC (17 years, 9 months ago) by rogers
Renamed `wizard_title' as `build_wizard_title'.


Revision 32194 - Directory Listing
Modified Thu May 23 21:20:50 2002 UTC (17 years, 9 months ago) by rogers
Replaced instances of `wizard_title' with `Build_wizard_title'.


Revision 32193 - Directory Listing
Modified Thu May 23 21:19:38 2002 UTC (17 years, 9 months ago) by rogers
Redefined `accepts_child' from GB_OBJECT, is that now returns False by
default.


Revision 32192 - Directory Listing
Modified Thu May 23 21:13:46 2002 UTC (17 years, 9 months ago) by rogers
Redefined `accepts_child' as the version from GB_OBJECT now returns
False, as by default objects do not.


Revision 32191 - Directory Listing
Modified Thu May 23 19:11:37 2002 UTC (17 years, 9 months ago) by rogers
Now inherits GB_CONSTANTS, and the title is set to
`Build_wizard_title'.


Revision 32190 - Directory Listing
Modified Thu May 23 19:02:30 2002 UTC (17 years, 9 months ago) by rogers
Updated to reflect change in Vison2 interface.


Revision 32135 - Directory Listing
Modified Tue May 21 17:34:05 2002 UTC (17 years, 9 months ago) by rogers
Added minimum_width to `scrollable_area', and modified `full_prompt'.


Revision 32134 - Directory Listing
Modified Tue May 21 17:27:06 2002 UTC (17 years, 9 months ago) by rogers
Fixed `attribute_editor' so that we now call `editor_item_by_type' with
the correct argument.


Revision 32133 - Directory Listing
Modified Tue May 21 17:26:03 2002 UTC (17 years, 9 months ago) by rogers
Updated `layout_window'. You can now select an item by clicking on it in
a list of widgets. The table is also resizeable from the layout window.
Improved mesaging to user, as we now inform them when the widget is full,
with one child.


Revision 32131 - Directory Listing
Modified Tue May 21 17:11:28 2002 UTC (17 years, 9 months ago) by rogers
Fixed `editor_item_by_type'. It now actually returns the correct item,
whereas previously, it was only returning the first item. Added
precondition to this feature.


Revision 32127 - Directory Listing
Modified Mon May 20 19:59:38 2002 UTC (17 years, 9 months ago) by rogers
Modified `layout_window'. We now use a split area, so that the width of
the list of windows can be adjusted.


Revision 32126 - Directory Listing
Modified Mon May 20 19:10:13 2002 UTC (17 years, 9 months ago) by rogers
Exported `delete' to GB_COMMAND_CHANGE_TYPE.


Revision 32125 - Directory Listing
Modified Mon May 20 19:09:13 2002 UTC (17 years, 9 months ago) by rogers
`execute' now calls `delete' on the object that is being deleted.


Revision 32120 - Directory Listing
Modified Mon May 20 16:25:13 2002 UTC (17 years, 9 months ago) by rogers
We now `disable_item_expand' on the propagate butons. This gives a
better look to the controls.


Revision 32117 - Directory Listing
Modified Sat May 18 01:10:32 2002 UTC (17 years, 9 months ago) by rogers
We now insert the propagate buttons into the existing object editor
created by GB_EV_COLORIZABLE. This provides a much nicer interface,
with all the color controls grouped together.


Revision 32116 - Directory Listing
Modified Sat May 18 01:09:09 2002 UTC (17 years, 9 months ago) by rogers
Modified `attribute_editor', so that the color settings control are
more flexible with regards to re-sizing. We no place a cell in the end
position, instead of disabling the first. This allows us to easily
remove the cell, and replace with another button, which is now performed
by GB_EV_CONTAINER.


Revision 32115 - Directory Listing
Modified Sat May 18 01:07:23 2002 UTC (17 years, 9 months ago) by rogers
Refactored part of internals of `replace_object_editor_item' into
`editor_item_by_type'. This is a general use function which is now
avaialable in the system.


Revision 32114 - Directory Listing
Modified Fri May 17 23:03:39 2002 UTC (17 years, 9 months ago) by rogers
Further fixed bug in `new_merge'. Although the last fix was generating the
correct radio merge items, we were forgetting to add them to the list.
We now do this.


Revision 32113 - Directory Listing
Modified Fri May 17 22:51:19 2002 UTC (17 years, 9 months ago) by rogers
Fixed `new_merge' so that it actually adds new items to the merged list
when `other' is already part of a radio group.
Initial implementation of `propagate_foregound_color' and
`propagate_background_color' controls.


Revision 32110 - Directory Listing
Modified Fri May 17 18:32:02 2002 UTC (17 years, 9 months ago) by rogers
Added `check_unselect' which is connected to the deselect actions of
each list item. This now allows us to remove the highlighted display
from the digram when no item is selected.


Revision 32109 - Directory Listing
Modified Fri May 17 17:52:01 2002 UTC (17 years, 9 months ago) by rogers
Added a status bar to `layout_window' which helps prompt the user how to
use the dialog.


Revision 32107 - Directory Listing
Modified Fri May 17 17:51:00 2002 UTC (17 years, 9 months ago) by rogers
Added event parameted information to `start_animation'. We now only
start an animation if the left button is clicked. This stops an animation
from beginning when a pick starts.


Revision 32102 - Directory Listing
Modified Thu May 16 21:46:37 2002 UTC (17 years, 9 months ago) by rogers
Added title to dialog.


Revision 32091 - Directory Listing
Modified Wed May 15 23:51:49 2002 UTC (17 years, 9 months ago) by rogers
`execute' now calls `update_all_editors_by_calling_feature' which in this
case, calls `update_merged_containers'. This updates all merged radio
button groups displayed in the object editor of a container.


Revision 32090 - Directory Listing
Modified Wed May 15 23:48:59 2002 UTC (17 years, 9 months ago) by rogers
Modified `update_object_editor'. It is now "smarter". If we call it, and
the number of items is equal to the number of merged groups, then we do
an update of the names, usgin the new feature `update_linked_names'.
This is quicker, and has less flicker then just performing the standard
update which re-builds the whole list.

Also added `veto_merge' which will now only allow you to link objects
that are containers, are not the current container, and are not already
merged to the current group.


Revision 32089 - Directory Listing
Modified Wed May 15 23:40:27 2002 UTC (17 years, 9 months ago) by rogers
Added `ensure_object_visible' which takes a GB_OBJECT as argument and
(no suprise) ensures that it is visible.


Revision 32088 - Directory Listing
Modified Wed May 15 23:39:37 2002 UTC (17 years, 9 months ago) by rogers
Added `is_animated', `enable_animation' and `disable_animation'. The
animation is controlled from the GB_RADIO_GROUP_LINK, but this could be
updated to be executed in `Current' if necessary.


Revision 32087 - Directory Listing
Modified Wed May 15 23:38:08 2002 UTC (17 years, 9 months ago) by rogers
Added `update_merged_containers'.


Revision 32086 - Directory Listing
Modified Wed May 15 23:33:16 2002 UTC (17 years, 9 months ago) by rogers
Added facilities for animating the pimxap of the layout item referenced
by `object'. Also added `update_displayed_text' which allows us to update
the text of `Current' to that of the object.


Revision 32085 - Directory Listing
Modified Wed May 15 23:30:56 2002 UTC (17 years, 9 months ago) by rogers
Added `update_all_editors_by_calling_feature', which is very similar to
`update_editors_by_calling_feature', except that all editos are called,
not only the once that reference the same object.


Revision 32063 - Directory Listing
Modified Tue May 14 19:20:45 2002 UTC (17 years, 9 months ago) by rogers
Added `names_by_id' and `generated_info_by_id' which provide quick access
to other parts of tree represented by `Current'. Refactored `make' and
`make_root' to use the new initialization feature `common_make'.


Revision 32062 - Directory Listing
Modified Tue May 14 19:12:44 2002 UTC (17 years, 9 months ago) by rogers
Removed unused code, `parent_child' and `generated_info_by_id'.
`child_names' has also been removed.


Revision 32060 - Directory Listing
Modified Tue May 14 19:10:53 2002 UTC (17 years, 9 months ago) by rogers
Implemented `generate_code'. Now inherit GB_GENERAL_UTILITIES.
Updated export clauses so that features that should not be exported,
are exported to {NONE}.


Revision 32051 - Directory Listing
Modified Tue May 14 17:43:37 2002 UTC (17 years, 9 months ago) by rogers
Initial. Used by the prepassing stage of the generation.


Revision 32050 - Directory Listing
Modified Tue May 14 17:36:31 2002 UTC (17 years, 9 months ago) by rogers
Removed useless step from `prepass_xml' and improved comments.


Revision 32049 - Directory Listing
Modified Tue May 14 17:29:58 2002 UTC (17 years, 9 months ago) by rogers
Initial.


Revision 32048 - Directory Listing
Modified Tue May 14 17:28:17 2002 UTC (17 years, 9 months ago) by rogers
Modified version, to enable us to access the an _I feature in class
GB_EV_SENSITIVE.


Revision 32047 - Directory Listing
Modified Tue May 14 17:27:17 2002 UTC (17 years, 9 months ago) by rogers
Updated to reflect fact that we now use custom versions of
EV_SENSITIVE and EV_SENSITIVE_I.


Revision 32046 - Directory Listing
Modified Tue May 14 17:24:52 2002 UTC (17 years, 9 months ago) by rogers
Added `default_window_dimension'.


Revision 32045 - Directory Listing
Modified Tue May 14 17:24:31 2002 UTC (17 years, 9 months ago) by rogers
Updated to reflect change in arguments in features of GB_XML_STORE.


Revision 32044 - Directory Listing
Modified Tue May 14 17:23:35 2002 UTC (17 years, 9 months ago) by rogers
`generate_document' now takes an instance of GB_GENERATION_SETTINGS as
an argument rather than a boolean. This allows us to specify many settings
as required,without passing lots of arguments. This is cleaner and easier
for expansion.


Revision 32043 - Directory Listing
Modified Tue May 14 17:21:36 2002 UTC (17 years, 9 months ago) by rogers
We now use `default_window_dimension' for the sizes of the windows.


Revision 32041 - Directory Listing
Modified Tue May 14 17:20:50 2002 UTC (17 years, 9 months ago) by rogers
Updated to reflect signature change of `generate_code'.


Revision 32040 - Directory Listing
Modified Tue May 14 17:19:08 2002 UTC (17 years, 9 months ago) by rogers
Updated to reflect signature change of `generate_code'. Also fixed
bug which would manifest when a widget was disabled sensitive by its
parent being disabled. If you then saved the project and re-loaded,
you would have to enable_sensitive on all children of widgets.


Revision 32039 - Directory Listing
Modified Tue May 14 17:14:56 2002 UTC (17 years, 9 months ago) by rogers
Updated `generate_code' for new signature.


Revision 32038 - Directory Listing
Modified Tue May 14 17:14:41 2002 UTC (17 years, 9 months ago) by rogers
Updated `generate_code' for new signature. Fixed bug when editing
`value' which did not permit 0.


Revision 32037 - Directory Listing
Modified Tue May 14 17:12:59 2002 UTC (17 years, 9 months ago) by rogers
Added `prepass_xml' which prepasses the xml and generates a tree of
FV_GENERATED_INFO which represents the XML. Also generated as a result
of the prepass, are the new features - `geenrated_info_by_id',
`id_by_name' and `all_ids'.
`generate_setting' is now implemented with the prepassed information, and
no longer iterates through the XML again. Other setting features can
now be updated to this implementation.


Revision 32036 - Directory Listing
Modified Tue May 14 17:04:03 2002 UTC (17 years, 9 months ago) by rogers
`generate_code' now has the follow arguments:

	element: XML_ELEMENT; info: GB_GENERATED_INFO

previously it had these arguments:

	element: XML_ELEMENT; a_name, a_type: STRING; children_names ARRAYED_LIST [STRING]

The change was made to allow more information to be passed, without
having to keep adding new arguments ever time a new piece of information
was required by a certain type.

GB_GENERATED_INFO is a new class, specifically for this purpose, and
is part of a tree structure generated in a prepass stage of the
generation.

Added preconditions which did not exists before and improved comment.


Revision 31996 - Directory Listing
Modified Fri May 10 18:07:56 2002 UTC (17 years, 9 months ago) by rogers
Added `update_for_delete', which was previously defined in GB_OBJECT.
We use this version now.


Revision 31995 - Directory Listing
Modified Fri May 10 18:05:34 2002 UTC (17 years, 9 months ago) by rogers
Removed `update_for_delete'. This is now implemented in
GB_COMMAND_DELETE_OBJECT, where it should be.


Revision 31992 - Directory Listing
Modified Fri May 10 17:25:57 2002 UTC (17 years, 9 months ago) by rogers
Fixed bug in `compress_all_id'. As the user may open an old file which
does not have an ids, we now need to assign a new id to all objects that
have an id of 0, after id compression.


Revision 31990 - Directory Listing
Modified Fri May 10 17:22:59 2002 UTC (17 years, 9 months ago) by rogers
`assign_id' is now exported to GB_ID_COMPRESSOR.


Revision 31982 - Directory Listing
Modified Fri May 10 17:09:40 2002 UTC (17 years, 9 months ago) by rogers
Fixed bug in `update_object_editors_for_delete' which would crash if
the docked object editor contained an EV_CONTAINER that was being
deleted by a parent of that object being dropped.


Revision 31977 - Directory Listing
Modified Fri May 10 16:57:33 2002 UTC (17 years, 9 months ago) by rogers
Corrected crash, which would occur if the referenced system_interface file
did not exist in the expected location. We now display a dialog, warning
the user of the situation, and how to remedy it.


Revision 31966 - Directory Listing
Modified Thu May 9 19:28:39 2002 UTC (17 years, 9 months ago) by rogers
Fixed bug in `compress_all_id'. If we are loading an old system, that
had no ids, then we handle this case.


Revision 31965 - Directory Listing
Modified Thu May 9 18:34:23 2002 UTC (17 years, 9 months ago) by rogers
Initial.


Revision 31964 - Directory Listing
Modified Thu May 9 18:30:06 2002 UTC (17 years, 9 months ago) by rogers
Added `gb_ev_container', `merged_groups_string' and `id_string'.


Revision 31963 - Directory Listing
Modified Thu May 9 18:29:32 2002 UTC (17 years, 9 months ago) by rogers
Removed unused variables.


Revision 31962 - Directory Listing
Modified Thu May 9 18:29:02 2002 UTC (17 years, 9 months ago) by rogers
We now ensure that all object ids are stored into the XML.


Revision 31961 - Directory Listing
Modified Thu May 9 18:23:03 2002 UTC (17 years, 9 months ago) by rogers
Now inherits `GB_SHARED_ID', so that we can now reset the id counter
when the current project is closed.


Revision 31960 - Directory Listing
Modified Thu May 9 18:21:56 2002 UTC (17 years, 9 months ago) by rogers
updated exported status of inherited features. We now call
`update_for_delete' on the object to be deleted, before we actually
perform the delete. We also now update all object editors that contain
an EV_CONTAINER.


Revision 31959 - Directory Listing
Modified Thu May 9 18:17:31 2002 UTC (17 years, 9 months ago) by rogers
Added `delete_radio_merge' which is now added to the drop_actions. This
now allows you to delete an EV_CONTAINER radio group merge.


Revision 31958 - Directory Listing
Modified Thu May 9 18:16:19 2002 UTC (17 years, 9 months ago) by rogers
Added `id_compressor' which is now used to compress all ids in the
system, so they are contiguous, after the project has been opened.


Revision 31957 - Directory Listing
Modified Thu May 9 18:15:19 2002 UTC (17 years, 9 months ago) by rogers
Initial.


Revision 31956 - Directory Listing
Modified Thu May 9 18:00:08 2002 UTC (17 years, 9 months ago) by rogers
`generate_structure' now calls build_object_from_string_and_assign_id
instead of build_object_from_string.


Revision 31955 - Directory Listing
Modified Thu May 9 17:54:52 2002 UTC (17 years, 9 months ago) by rogers
Now inherites GB_SHARED_ID, GB_GENERAL_UTILITIES and GB_XML_UTILTIES.
Modified `object' to now compress object ids that are stored in the xml,
so they are contiguous in the new objects, and compatible with the obejcts
currently in the system. Added `id_compressor', for access to
GB_ID_COMPRESSOR.


Revision 31954 - Directory Listing
Modified Thu May 9 17:50:17 2002 UTC (17 years, 9 months ago) by rogers
Removed `clear_deferred' as it is obsolete. Exported basic operations
to GB_COMPONENT.


Revision 31953 - Directory Listing
Modified Thu May 9 17:48:24 2002 UTC (17 years, 9 months ago) by rogers
No longer export inherited features that should not have been exported.


Revision 31952 - Directory Listing
Modified Thu May 9 17:46:15 2002 UTC (17 years, 9 months ago) by rogers
All objects now have an associated id. This is to allow implementation
of radio groupings, and other features, where two parts of the system may
be linked purely by an id reference. Added `assign_id', `set_id',
`update_internal_id_references' and `id'. Now inherits GB_SHARED_ID.

Added `all_children_recursive', `update_for_delete' and `delete' which is
to be called just before the object is deleted. Redefine in descendents
that need special processing for this.

Removed `xml_storage_required' as we always need to store the internal
data now, as the id will always be saved to xml.


Revision 31951 - Directory Listing
Modified Thu May 9 17:41:21 2002 UTC (17 years, 9 months ago) by rogers
Added `object_from_display_widget', and `object_from_id' which allows you
to easily access an object, when all you know is the associated widget
or id. Fixed `clear_all_objects' so that it really wipes out the objects
that really are no longer needed in the system.


Revision 31950 - Directory Listing
Modified Thu May 9 17:37:32 2002 UTC (17 years, 9 months ago) by rogers
`update_editors_for_property_change' now uses local version of item which
has already been computed anyway.


Revision 31949 - Directory Listing
Modified Thu May 9 17:34:52 2002 UTC (17 years, 9 months ago) by rogers
Added support for GB_EV_CONTAINER.


Revision 31948 - Directory Listing
Modified Thu May 9 17:30:42 2002 UTC (17 years, 9 months ago) by rogers
`generate_transportable', now generates a new object with an id set.
Previously, no objects had ids.


Revision 31947 - Directory Listing
Modified Thu May 9 17:25:58 2002 UTC (17 years, 9 months ago) by rogers
Removed code that wiped out the deferred builder, as components do
have deferred building features.


Revision 31946 - Directory Listing
Modified Thu May 9 17:23:47 2002 UTC (17 years, 9 months ago) by rogers
Implemented delete to remove any radio groupings of `Current'. This is
necessary, as when we delete a container, it must be removed from any
radio groupings to which it is currently attached.


Revision 31945 - Directory Listing
Modified Thu May 9 17:21:27 2002 UTC (17 years, 9 months ago) by rogers
Removed `display_object_window'.


Revision 31944 - Directory Listing
Modified Thu May 9 17:19:01 2002 UTC (17 years, 9 months ago) by rogers
Added GB_EV_CONTAINER to supported types.


Revision 31812 - Directory Listing
Modified Thu May 2 00:36:13 2002 UTC (17 years, 9 months ago) by rogers
Corrected error in `generate_code' which would crash when there were
no children in the box.


Revision 31810 - Directory Listing
Modified Wed May 1 17:54:54 2002 UTC (17 years, 9 months ago) by rogers
Fixed `set_component' which was creating new objects twice if the
component was a regular widget.


Revision 31809 - Directory Listing
Modified Wed May 1 17:46:06 2002 UTC (17 years, 9 months ago) by rogers
Fixed `generate_pebble'. We no longer create a new object from the
component. This will be done by the viewer itself, which was causing it
to be done twice. As this conversion is fairly slow, this is a good
speed improvement.


Revision 31770 - Directory Listing
Modified Fri Apr 26 23:10:52 2002 UTC (17 years, 9 months ago) by rogers
Added missing comments on attributes. No longer add `locals_grouped'
to the visible controls, as for now, we do not include it in the wizard.
To be reviewed.


Revision 31769 - Directory Listing
Modified Fri Apr 26 22:52:10 2002 UTC (17 years, 9 months ago) by rogers
Fixed handling of EV_MENU_BAR. The system would work corretly with
assertions turned off previously, but was causing requires to fail
internally. The failure was correct, but had not forseen the way
a window holds an EV_MENU_BAR during original design. There is now a
correct implementation which does not cause anything to fail.


Revision 31758 - Directory Listing
Modified Fri Apr 26 16:43:14 2002 UTC (17 years, 9 months ago) by rogers
Added a modified version of EV_DIALOG, Which does not check that the
cancel button is actually contained in the dialog, before calling
the actions. Same modification has been done to the windows version.
This allows us to have dialogs without cancel buttons, but having
a close icon (cross).


Revision 31757 - Directory Listing
Modified Fri Apr 26 16:34:18 2002 UTC (17 years, 9 months ago) by rogers
`Select_string' now contains three dots.


Revision 31756 - Directory Listing
Modified Fri Apr 26 16:33:24 2002 UTC (17 years, 9 months ago) by rogers
`Event_Selection_text' and `Event_modification_text' now include
three dots as the buttons that display these texts, will display a
dialog.


Revision 31755 - Directory Listing
Modified Fri Apr 26 16:31:59 2002 UTC (17 years, 9 months ago) by rogers
Children positioning button now has threee dots to represent that it
opens a dialog.


Revision 31753 - Directory Listing
Modified Fri Apr 26 00:58:40 2002 UTC (17 years, 9 months ago) by rogers
Updated select buttons so that there is spacing between them and the
color display. Added three dots on each to indicate that a dialog will
be launched when they are clicked.


Revision 31752 - Directory Listing
Modified Fri Apr 26 00:51:00 2002 UTC (17 years, 9 months ago) by rogers
Updated so that hogeneous control is now a check button, instead of
a regular button. This brings it in line with GB_EV_BOX, and looks better.
Fixed `attribute_editor' so that it really reflects the current state of
is_homogeneous.
FIxed bug in `update_attribute_editor' which was causing infinite
recursion when multiple editors were targetted to the table, and the
homogeneous state was modified.


Revision 31750 - Directory Listing
Modified Fri Apr 26 00:00:27 2002 UTC (17 years, 9 months ago) by rogers
Refactored execute, so that we do not have a series of ifelse when checking
for arguments. As each one is now a seperate if statement, then we can
easily comment out the section we do not need when compiling.
For example, when compiling an executable for VisualStudio, you should
not be allowed to launch Build with no arguments, as it may only
run in Build mode. Therefore, you need to comment out the code that will
launch Build normally.


Revision 31749 - Directory Listing
Modified Thu Apr 25 23:56:22 2002 UTC (17 years, 9 months ago) by rogers
Removed io.putstring in check_state. This was there purely for
debugging, and should never have been committed in the first place.


Revision 31748 - Directory Listing
Modified Thu Apr 25 23:54:50 2002 UTC (17 years, 9 months ago) by rogers
Each floating object editor is now a dialog. This allows us to show it
relative to the main window, which we now do when running in
VisualStudio mode. This keeps all floating object editors always displayed
above the main window.


Revision 31747 - Directory Listing
Modified Thu Apr 25 20:09:04 2002 UTC (17 years, 9 months ago) by rogers
Added `component_filename', which used to be inherited, and also added
`visual_studio_information' which provides access to the new
VISUAL_STUDIO_INFORMATION class. This means that the component file is
now correctly acessed when Build is running as a Visual studio wizard.


Revision 31746 - Directory Listing
Modified Thu Apr 25 20:07:04 2002 UTC (17 years, 9 months ago) by rogers
Modified all visual studio pixmap access to use the new class,
VISUAL_STUDIO_INFORMATION, instead of the now removed, PIXMAP_LOCATER.


Revision 31745 - Directory Listing
Modified Thu Apr 25 20:04:14 2002 UTC (17 years, 9 months ago) by rogers
Fixed bug in `project_location_wrapped'. We now perform the wrapping on
a clone of the project location. Not the original. Previously, if
the location had to be wrapped, then it would invalidate the
location, and generation would fail.


Revision 31744 - Directory Listing
Modified Thu Apr 25 20:02:21 2002 UTC (17 years, 9 months ago) by rogers
Initial. Functional replacement to the old class, PIXMAP_LOCATER.


Revision 31743 - Directory Listing
Modified Thu Apr 25 19:59:59 2002 UTC (17 years, 9 months ago) by rogers
Removed, as functionality now replaced with VISUAL_STUDIO_INFORMATION.


Revision 31742 - Directory Listing
Modified Thu Apr 25 17:42:21 2002 UTC (17 years, 9 months ago) by rogers
Removed `component_filename'.


Revision 31741 - Directory Listing
Modified Thu Apr 25 17:40:46 2002 UTC (17 years, 9 months ago) by rogers
Added comments detailing VisualStudio arguments.


Revision 31722 - Directory Listing
Modified Mon Apr 22 23:40:28 2002 UTC (17 years, 10 months ago) by rogers
Fixed bug in `generate_transportable'. We now wipe out the drop actions
for all the type selector items. Previously, it was possible to crash Build
due to the fact that this was not done, and therfore Build was allowing a
drop that it should have caught. To reproduce:

Load an existing Build system.
Replace an existing type in the interface.
Pick an item from the type selector, and drop on itself.
Boom.


Revision 31721 - Directory Listing
Modified Mon Apr 22 23:38:01 2002 UTC (17 years, 10 months ago) by rogers
Modified `set_up_drop_actions' so that if `an_object' is Void, we will
wipe out the drop actions.


Revision 31719 - Directory Listing
Modified Mon Apr 22 23:06:22 2002 UTC (17 years, 10 months ago) by rogers
Fixed bug in `retrieve_pebble'. We now update the type selector to
enable type changing. Previously, you could not load an existing project,
and then repace the type of an obejct by picking from the builder view.


Revision 31711 - Directory Listing
Modified Mon Apr 22 21:33:11 2002 UTC (17 years, 10 months ago) by rogers
Modified `attribute_editor' so that when there are no items in the
notebook, `item text' is not displayed, as this was just confusing.


Revision 31710 - Directory Listing
Modified Mon Apr 22 19:22:03 2002 UTC (17 years, 10 months ago) by rogers
Now exclude dialog and dialog_imp from Vision2, as there are versions
in the modified libraries directories.


Revision 31709 - Directory Listing
Modified Mon Apr 22 19:21:14 2002 UTC (17 years, 10 months ago) by rogers
Now shown relative to the main window if we are in Visual studio wizard
mode. Also, we now ensure that the display and layout windows are not
displayed in exactly the same screen position, as this is confusing.


Revision 31708 - Directory Listing
Modified Mon Apr 22 19:20:11 2002 UTC (17 years, 10 months ago) by rogers
Now inherit EV_DIALOG, so when launched from VisualStudio, they
can be shown relative to the window.


Revision 31707 - Directory Listing
Modified Mon Apr 22 19:00:11 2002 UTC (17 years, 10 months ago) by rogers
Fixed bug in line with change to EV_DIALOG_IMP in Vision2. See that log
for more info.


Revision 31703 - Directory Listing
Modified Mon Apr 22 17:51:55 2002 UTC (17 years, 10 months ago) by rogers
More hacking, to enable the close_request_actions for an EV_DIALOG to
be fired, even if the cancel button is not displayed in the window.


Revision 31702 - Directory Listing
Modified Mon Apr 22 17:50:44 2002 UTC (17 years, 10 months ago) by rogers
Added `project_location_wrapped', so we can wrap the location, and
therefore, avoid having a very wide window displayed. We also update
the width of the window during `project_location_wrapped', as we know
that this will be executed every time that the window is displayed.


Revision 31701 - Directory Listing
Modified Mon Apr 22 17:48:09 2002 UTC (17 years, 10 months ago) by rogers
`proceed_with_current_info' no longer adjusts the size of the window.
This is now performed during ths final statge of the wizard, so that it
is executed every time the last page is displayed. When it was executed
here, it only occurred the first time, due to the wizards navigational
methods.


Revision 31698 - Directory Listing
Modified Mon Apr 22 17:06:33 2002 UTC (17 years, 10 months ago) by rogers
`generate_interface' now initializes the split areas and ensures that the
top item of the layout constructor is visible.


Revision 31697 - Directory Listing
Modified Mon Apr 22 17:05:12 2002 UTC (17 years, 10 months ago) by rogers
Added postconditions to all tools accessible in `Current'.


Revision 31696 - Directory Listing
Modified Mon Apr 22 17:04:51 2002 UTC (17 years, 10 months ago) by rogers
Added `ensure_top_item_visible'.


Revision 31649 - Directory Listing
Modified Fri Apr 19 17:59:26 2002 UTC (17 years, 10 months ago) by rogers
`initialize' now calls `user_initialization' before completing.


Revision 31648 - Directory Listing
Modified Fri Apr 19 17:58:47 2002 UTC (17 years, 10 months ago) by rogers
Added `user_intialization' for custom user intialization.


Revision 31647 - Directory Listing
Modified Fri Apr 19 16:31:32 2002 UTC (17 years, 10 months ago) by rogers
Retrieves the pixmap location, using the registry. Used when Build is
launched from VisualStudio, so we can correctly find the pixmaps,
based on the installation.


Revision 31646 - Directory Listing
Modified Fri Apr 19 16:30:02 2002 UTC (17 years, 10 months ago) by rogers
Initial version. This class does nothing on Gtk, as it is used for
looking up the pixmap locations from the registry when Build is launched
from EiffelStudio. It must be in the system though, otherwise the system
would never get called. Note that there is a check to ensure that it never
gets executed.


Revision 31645 - Directory Listing
Modified Fri Apr 19 16:26:59 2002 UTC (17 years, 10 months ago) by rogers
Refactored `pixmap_file_name'. We now check for a Visualstudio launch,
and if so, retrieve the file location from the registry.


Revision 31644 - Directory Listing
Modified Fri Apr 19 01:33:46 2002 UTC (17 years, 10 months ago) by rogers
Added `all_generated_events' which is used to stop multiple generation
of any features that are connected to more than one action sequence.
This is used within `generate_events', so if the feature has been
generated already, then we do not re-generate it.


Revision 31643 - Directory Listing
Modified Fri Apr 19 01:31:06 2002 UTC (17 years, 10 months ago) by rogers
Re-factored `name_in_use' to reply on the following two new features
which have just been added - `string_is_object_name', and
`string_is_feature_name'. This does not change the operation of
`name_in_use', but gives us more flexibility to query these two features
seperately, which is required as we now support multiple action
sequences being connected to the same event.


Revision 31642 - Directory Listing
Modified Fri Apr 19 01:27:44 2002 UTC (17 years, 10 months ago) by rogers
Big rewriting of `update_object_and_destroy'. This was done in order
to provide support for having multiple action sequences linked to one
feature. As well as providing this functionality, we now provide specific
messages for each different error condition, whereas before, we would
give a single generic message.


Revision 31641 - Directory Listing
Modified Fri Apr 19 01:24:55 2002 UTC (17 years, 10 months ago) by rogers
Added `argument_types_as_string' for easy comparison of the event
data for the action sequence.


Revision 31609 - Directory Listing
Modified Wed Apr 17 21:50:12 2002 UTC (17 years, 10 months ago) by rogers
Modified `pixmap_file_content' so that if Build was launched from
VisualStudio, then we look for the pixmaps relative to the current
directory. Added `is_visual_studio_wizard' for this purpose.


Revision 31604 - Directory Listing
Modified Wed Apr 17 17:40:45 2002 UTC (17 years, 10 months ago) by rogers
Updated header comments.


Revision 31522 - Directory Listing
Modified Mon Apr 15 22:14:37 2002 UTC (17 years, 10 months ago) by rogers
Added `comment_start_string'.


Revision 31521 - Directory Listing
Modified Mon Apr 15 22:14:06 2002 UTC (17 years, 10 months ago) by rogers
Updated export status of inherited classes.


Revision 31520 - Directory Listing
Modified Mon Apr 15 22:13:24 2002 UTC (17 years, 10 months ago) by rogers
Fixed bug when a new component was targetted in builder_mode.
`set_component' was always adding the new component in display mode, and
not taking into account the current view.


Revision 31471 - Directory Listing
Modified Fri Apr 12 19:10:32 2002 UTC (17 years, 10 months ago) by rogers
Added `text_background_color' for easy setting of the background.
Implemented correct sizing of the widgets withing this window, dependent
on the size of the window. This should allow the window to be correctly
formatted on differetn paltforms where text sizig differs.


Revision 31470 - Directory Listing
Modified Fri Apr 12 19:09:01 2002 UTC (17 years, 10 months ago) by rogers
Added `x_position_relative_to_window' and `y_position_relative_to_window'.


Revision 31447 - Directory Listing
Modified Fri Apr 12 00:16:59 2002 UTC (17 years, 10 months ago) by rogers
We now set the focus to the text field that has just been displayed.


Revision 31446 - Directory Listing
Modified Fri Apr 12 00:00:15 2002 UTC (17 years, 10 months ago) by rogers
Further rebuilding of the event selection dialog. The controls are
now displayed on a white background.


Revision 31445 - Directory Listing
Modified Thu Apr 11 23:59:10 2002 UTC (17 years, 10 months ago) by rogers
Corrected type in one of the comments.


Revision 31431 - Directory Listing
Modified Thu Apr 11 21:39:55 2002 UTC (17 years, 10 months ago) by rogers
Removed unused local variables.


Revision 31430 - Directory Listing
Modified Thu Apr 11 21:39:27 2002 UTC (17 years, 10 months ago) by rogers
Removed unused locals.


Revision 31429 - Directory Listing
Modified Thu Apr 11 21:38:45 2002 UTC (17 years, 10 months ago) by rogers
Corrected export status of inherited classes.


Revision 31428 - Directory Listing
Modified Thu Apr 11 21:29:16 2002 UTC (17 years, 10 months ago) by rogers
Updated export statsu of inherited classes.


Revision 31427 - Directory Listing
Modified Thu Apr 11 21:26:34 2002 UTC (17 years, 10 months ago) by rogers
exported all features inherited from GB_CONSTANTS to {NONE}.


Revision 31426 - Directory Listing
Modified Thu Apr 11 21:25:55 2002 UTC (17 years, 10 months ago) by rogers
Exported all features from GB_CONSTANTS to {NONE}


Revision 31425 - Directory Listing
Modified Thu Apr 11 21:17:22 2002 UTC (17 years, 10 months ago) by rogers
Updated export status of inherited classes.


Revision 31416 - Directory Listing
Modified Thu Apr 11 19:51:25 2002 UTC (17 years, 10 months ago) by rogers
Updated export status of all inherited classes. Exported
`initialize_split_areas' to {NONE}.


Revision 31415 - Directory Listing
Modified Thu Apr 11 19:20:12 2002 UTC (17 years, 10 months ago) by rogers
Updated export status of inherited classes an feature in `Current' as
previously, it was a mess. Renamed `display_view' as `display_view_enabled'
and add `build_view_enabled'.


Revision 31408 - Directory Listing
Modified Thu Apr 11 19:05:35 2002 UTC (17 years, 10 months ago) by rogers
All inherited classes are now exported to {NONE}.


Revision 31407 - Directory Listing
Modified Thu Apr 11 19:05:00 2002 UTC (17 years, 10 months ago) by rogers
Updated export statuses.


Revision 31406 - Directory Listing
Modified Thu Apr 11 18:48:29 2002 UTC (17 years, 10 months ago) by rogers
Moved `vision2_object_from_type' into the implementation features. Modifed
export status of all inherited classes, so before, everything was
exported with abandon.


Revision 31405 - Directory Listing
Modified Thu Apr 11 18:47:38 2002 UTC (17 years, 10 months ago) by rogers
Modified export statuses so only things that really should be exported are.
Made `update_event_selection_button_text' exported to {NONE} as this is
part of the implementation only.


Revision 31404 - Directory Listing
Modified Thu Apr 11 18:46:14 2002 UTC (17 years, 10 months ago) by rogers
Tidied, and modified export statuses.


Revision 31403 - Directory Listing
Modified Thu Apr 11 17:59:24 2002 UTC (17 years, 10 months ago) by rogers
Now inherits EV_sTOCK_COLORS, so no need for inline color creation
everytime a color needs to be accessed. Updated export status of
inherited feature clauese. Far too much stuff that should not be exported,
was.


Revision 31402 - Directory Listing
Modified Thu Apr 11 17:58:14 2002 UTC (17 years, 10 months ago) by rogers
Exported all constants to {NONE}.


Revision 31401 - Directory Listing
Modified Thu Apr 11 17:57:33 2002 UTC (17 years, 10 months ago) by rogers
Removed `red' and `black' as we now inherit EV_STOCK_COLORS to access
these colors.


Revision 31400 - Directory Listing
Modified Thu Apr 11 17:37:11 2002 UTC (17 years, 10 months ago) by rogers
Added a vertical scroll bar to the dialog, so that when the action
sequences are expanded, they do not enlarge the window anymore. General
formatting of display has been undertaken, although it is not quite
finished.


Revision 31385 - Directory Listing
Modified Wed Apr 10 23:41:19 2002 UTC (17 years, 10 months ago) by rogers
ordered Vision2 components so they are displayed in alphabetical order.
Removed now redundent FIXME in `containers'.


Revision 31372 - Directory Listing
Modified Wed Apr 10 18:44:32 2002 UTC (17 years, 10 months ago) by rogers
Added `pixmaps_by_name' for quick retrieval of pixmaps already loaded by
`pixmap_by_name'. This means that `pixmap_by_name' will no longer load the
pixmap every time it is called, but simple retrieve it if it has already
been loaded.


Revision 31367 - Directory Listing
Modified Wed Apr 10 01:22:13 2002 UTC (17 years, 10 months ago) by rogers
`undo' and `execute' now call `update_pixmap' on `layout_item'. This
enables us to keep the displayed pixmap up to date when changing types.


Revision 31366 - Directory Listing
Modified Wed Apr 10 01:21:08 2002 UTC (17 years, 10 months ago) by rogers
Added `update_pixmap' which is exported to GB_COMMAND_CHANGE_TYPE.
This allows the pixmap to be updated when we perform a type change.


Revision 31365 - Directory Listing
Modified Wed Apr 10 00:43:17 2002 UTC (17 years, 10 months ago) by rogers
`make' now sets the pixmap to represent the type of the item represented
by `Current'.


Revision 31364 - Directory Listing
Modified Wed Apr 10 00:40:25 2002 UTC (17 years, 10 months ago) by rogers
`make_with_text' now inititalizes the pixmap to represent `type' of
`Current'.


Revision 31363 - Directory Listing
Modified Wed Apr 10 00:38:36 2002 UTC (17 years, 10 months ago) by rogers
`make_with_name' now initializes the pixmap on `Current' to match the
root type of the component that is represented.


Revision 31362 - Directory Listing
Modified Wed Apr 10 00:32:19 2002 UTC (17 years, 10 months ago) by rogers
Added `pixmap_by_name' and fixed test for platform in
`pixmap_file_content'.


Revision 31319 - Directory Listing
Modified Thu Apr 4 22:38:27 2002 UTC (17 years, 10 months ago) by rogers
Fixed bug in `build_object' which would caush the system to crash if you
built a component usiNG widgets that had events.


Revision 31299 - Directory Listing
Modified Thu Apr 4 17:31:15 2002 UTC (17 years, 10 months ago) by rogers
Added `object' and `set_object'. This allows us to set up the
drop actions on the window. Previously, you could not drop an
object directly into `Current'.


Revision 31298 - Directory Listing
Modified Thu Apr 4 17:29:57 2002 UTC (17 years, 10 months ago) by rogers
`make_root' now calls set_object on the builder_window, with the
new object passed as an argument.


Revision 31244 - Directory Listing
Modified Tue Apr 2 23:11:54 2002 UTC (17 years, 10 months ago) by rogers
We now only create the interface of the window if it does not exist.
If it exists, do nothing. This allows you to add code to the interface
of the window, go back into Build and modify the look, and then
re-generate without loosing your hand written code.


Revision 31243 - Directory Listing
Modified Tue Apr 2 23:07:54 2002 UTC (17 years, 10 months ago) by rogers
Now include all root_cluster.


Revision 31242 - Directory Listing
Modified Tue Apr 2 23:07:10 2002 UTC (17 years, 10 months ago) by rogers
Modified so we now include all root_cluster.


Revision 31241 - Directory Listing
Modified Tue Apr 2 22:31:33 2002 UTC (17 years, 10 months ago) by rogers
Now generate the main window into a file named identically to
the class name contained.


Revision 31240 - Directory Listing
Modified Tue Apr 2 21:05:26 2002 UTC (17 years, 10 months ago) by rogers
We now make sure that all "floating" windows in Build are hidden
when WIZARD_FOURTH_STATE is exited.


Revision 31239 - Directory Listing
Modified Tue Apr 2 21:03:30 2002 UTC (17 years, 10 months ago) by rogers
Added `hide_all_floating_tools' which hides all tools shown.
`generate_interface' now executes an update on `command_handler'
which ensures that the commands are now correctly enabled/disabled
at the start.


Revision 31238 - Directory Listing
Modified Tue Apr 2 21:00:02 2002 UTC (17 years, 10 months ago) by rogers
Added `disable_selected' which hides the history dialog.


Revision 31236 - Directory Listing
Modified Tue Apr 2 19:00:26 2002 UTC (17 years, 10 months ago) by rogers
Added Ev_spin_button_string.


Revision 31235 - Directory Listing
Modified Tue Apr 2 19:00:01 2002 UTC (17 years, 10 months ago) by rogers
Now inherits GB_CONSTANTS. Added `modified_action_sequence_name'
which takes action sequence information and returns the name
repective to the class type passed. This is needed as some classes in
the vision2 interface rename action sequences.


Revision 31234 - Directory Listing
Modified Tue Apr 2 18:57:51 2002 UTC (17 years, 10 months ago) by rogers
Fixed bug in `build_events_for_an_action_sequence'. We now modify the
name of the action sequence dependent on the current class name to takeinto account renamed action sequences in the Vision2 interface.


Revision 31233 - Directory Listing
Modified Tue Apr 2 18:56:35 2002 UTC (17 years, 10 months ago) by rogers
Fixed bug in `generate_events'. We now modify the name of the action
sequence dependent on the current class name to take into account
renamed action sequences in the Vision2 interface. Without this
change, it was possible to generate code which did not compile.


Revision 31211 - Directory Listing
Modified Mon Apr 1 17:40:09 2002 UTC (17 years, 10 months ago) by rogers
Fixed bugs in `set_x_position' and `set_y_position'. We were checking
the x_position of the EV_FIXED was not equal to the new x_position
of the widget before moving the widget. We now check the x_position
of the widget against the new x_position of the widget.


Revision 31187 - Directory Listing
Modified Fri Mar 29 18:32:34 2002 UTC (17 years, 10 months ago) by rogers
Modified `attribute_editor' so the position children button is disabled
when there are no children.


Revision 31186 - Directory Listing
Modified Fri Mar 29 18:26:18 2002 UTC (17 years, 10 months ago) by rogers
Added `select_widget_prompt', `resize_widget_prompt' and
`widget_size_prompt' for use in GB_EV_fIXED.


Revision 31185 - Directory Listing
Modified Fri Mar 29 18:25:33 2002 UTC (17 years, 10 months ago) by rogers
Added `pre_close_tidy' which performs necessary clean up before
`layout_window' is destroyed. This fixes bug which was causing crashing
when window was shown a second time.


Revision 31184 - Directory Listing
Modified Fri Mar 29 18:13:38 2002 UTC (17 years, 10 months ago) by rogers
Implemented a status bar, which prompts user, giving instructions.
This also allows the user to enlarge a selected widget if it has a
size of 0x0. Before, it was too confusing, what was happening.


Revision 31182 - Directory Listing
Modified Fri Mar 29 01:08:39 2002 UTC (17 years, 10 months ago) by rogers
`Modify_from_xml_after_build' now does nothing if there are no children.
Previously, it would crash, if you loaded an empty table.


Revision 31181 - Directory Listing
Modified Fri Mar 29 00:15:13 2002 UTC (17 years, 10 months ago) by rogers
Initial.


Revision 31180 - Directory Listing
Modified Fri Mar 29 00:14:00 2002 UTC (17 years, 10 months ago) by rogers
Moved from within interface directory.


Revision 31179 - Directory Listing
Modified Fri Mar 29 00:09:14 2002 UTC (17 years, 10 months ago) by rogers
Removed as moved into modified_libraries.


Revision 31178 - Directory Listing
Modified Fri Mar 29 00:08:23 2002 UTC (17 years, 10 months ago) by rogers
Removed as removed into modified_libraries.


Revision 31171 - Directory Listing
Modified Thu Mar 28 23:01:49 2002 UTC (17 years, 10 months ago) by rogers
Fixed bug in generation when a pixmap is added to a window, but there
are no other widgets contained. We were appedning to a string which was
Void. We now create it if so.


Revision 31170 - Directory Listing
Modified Thu Mar 28 22:58:00 2002 UTC (17 years, 10 months ago) by rogers
Updated for recent changes to modified_libraries directory structure.


Revision 31169 - Directory Listing
Modified Thu Mar 28 22:55:33 2002 UTC (17 years, 10 months ago) by rogers
Taken into account recetn changes with modified_libraries directory.


Revision 31168 - Directory Listing
Modified Thu Mar 28 22:46:45 2002 UTC (17 years, 10 months ago) by rogers
Initial. Slightly modified versions from WEL. To be included so that
we can show our window modal to another Hwnd.


Revision 31145 - Directory Listing
Modified Thu Mar 28 02:33:27 2002 UTC (17 years, 10 months ago) by rogers
Now use 'wizard_completion_file_name' inherited from GB_CONSTANTS for the
output file name.


Revision 31144 - Directory Listing
Modified Thu Mar 28 02:31:48 2002 UTC (17 years, 10 months ago) by rogers
Added `wizard_completion_file_name'.


Revision 31143 - Directory Listing
Modified Thu Mar 28 02:23:45 2002 UTC (17 years, 10 months ago) by rogers
When the wizard is completed, we now geenrate a file named
"completion_status.txt" which allows other processes external to Build
(i.e. Visual Studio) to determine the exit status of Build (Finish pressed
or cancelled).


Revision 31142 - Directory Listing
Modified Thu Mar 28 02:22:00 2002 UTC (17 years, 10 months ago) by rogers
Implemented user prompts.


Revision 31141 - Directory Listing
Modified Thu Mar 28 02:21:01 2002 UTC (17 years, 10 months ago) by rogers
Re-structured `build_main_window_implementation' in order to fix the
problems in the generated code when a pixmap had been selected for
use in the project. When the option to generate the declarations locally
as attributes was implemented, this broke the handling of the pixmaps.
Also, we no longer call `process_events' when in wizard mode. This is
due to the "hack" to Vision2 in order to make it display modally to
another Hwnd. Basically, we cannot access our application using
EV_ENVIRONMENT.application.


Revision 31133 - Directory Listing
Modified Tue Mar 26 01:12:39 2002 UTC (17 years, 10 months ago) by rogers
Implementation of EV_DIALOG that can be shown modal to a Hwnd, through
the addition of `show_modal_to_hwnd' in the interface. This is not a
complete implementation, but enough for the needs of Build.


Revision 31132 - Directory Listing
Modified Tue Mar 26 01:10:51 2002 UTC (17 years, 10 months ago) by rogers
Version for Gtk, in which `show_modal_to_hwnd' does nothing. It will
never be called, but is required to be in the class for the compilation.


Revision 31131 - Directory Listing
Modified Tue Mar 26 01:07:17 2002 UTC (17 years, 10 months ago) by rogers
Updated to take into account the new Vision2_modified directory.


Revision 31130 - Directory Listing
Modified Tue Mar 26 01:06:47 2002 UTC (17 years, 10 months ago) by rogers
Updated to take into account Vision2_modified directory.


Revision 31129 - Directory Listing
Modified Tue Mar 26 01:04:39 2002 UTC (17 years, 10 months ago) by rogers
Removed `graphically_replace_window' as it is no longer used in Build.


Revision 31128 - Directory Listing
Modified Tue Mar 26 01:03:54 2002 UTC (17 years, 10 months ago) by rogers
Added an extra argument for when launching from visual studio. `Build'
will now be displayed modally to the window associated with the new
argument, Hwnd .


Revision 31127 - Directory Listing
Modified Tue Mar 26 01:02:55 2002 UTC (17 years, 10 months ago) by rogers
No longer inherits WIZARD_STATE_MANAGER as `Current' is no longer displayed
in the Wizard. The interface of Build is now built into the wizard window,
though the use of `generate_interface' which has also been added.


Revision 31126 - Directory Listing
Modified Tue Mar 26 01:01:25 2002 UTC (17 years, 10 months ago) by rogers
Redefined `display' in order to resize the wizard window, so it is back to
its default size. It will be bigger as the previous wizard state requires
a larger window.


Revision 31125 - Directory Listing
Modified Tue Mar 26 00:59:57 2002 UTC (17 years, 10 months ago) by rogers
Redefined `build_frame' as we need a custom build of the frame to include
the Build2 interface.


Revision 31124 - Directory Listing
Modified Tue Mar 26 00:58:46 2002 UTC (17 years, 10 months ago) by rogers
Removed building of `main_window' interface when the wizard is launched.
This is no longer required, as `main_window' is only used to extract the
Build interface into the wizard window now.


Revision 31123 - Directory Listing
Modified Tue Mar 26 00:57:33 2002 UTC (17 years, 10 months ago) by rogers
Removed call to `graphically_replace_window' as no longer needed. The
Build tools are now integrated into the wizard window, instead of
hiding/showing different windows. This simplifies things, and provides a
much cleaner display for the user.


Revision 31113 - Directory Listing
Modified Sat Mar 23 01:06:39 2002 UTC (17 years, 11 months ago) by rogers
If Build is running in wizard mode, we now look for the templates
relative to the first argument. This allows us to have a different ace
file when launched from VisualStudio. Without this, the generation would
fail from VisualStudio as ISE_EIFFEL may not be installed on the machine,
and it is this that the regular Build uses to determine the location
of files.


Revision 31109 - Directory Listing
Modified Thu Mar 21 19:37:41 2002 UTC (17 years, 11 months ago) by rogers
Fixed bug in `process_info'. We now generate the code before saving
the current project settings. This was causing a crash when launched
from VisualStudio, as the required directory did not exist when we
tried to save the project settings. The code generation creates this
directory.


Revision 30987 - Directory Listing
Modified Wed Mar 6 19:40:14 2002 UTC (17 years, 11 months ago) by rogers
Changed text displayed on `local_check_button'.


Revision 30981 - Directory Listing
Modified Wed Mar 6 19:05:36 2002 UTC (17 years, 11 months ago) by rogers
Nmaes used for display of commands now use uppercase P for project.


Revision 30972 - Directory Listing
Modified Wed Mar 6 17:51:26 2002 UTC (17 years, 11 months ago) by rogers
Chnaged text of button to "Done", from "close".


Revision 30971 - Directory Listing
Modified Wed Mar 6 17:41:46 2002 UTC (17 years, 11 months ago) by rogers
The close button is now constructed so that it is a fixed size, and will
not expand when the window is enlarged.


Revision 30970 - Directory Listing
Modified Wed Mar 6 17:40:51 2002 UTC (17 years, 11 months ago) by rogers
The close button is no longer resized vertically.


Revision 30969 - Directory Listing
Modified Wed Mar 6 17:27:00 2002 UTC (17 years, 11 months ago) by rogers
Modified `layout_window', so that the button used to close the dialog no
longer fills the bottom of the screen.


Revision 30968 - Directory Listing
Modified Wed Mar 6 01:51:06 2002 UTC (17 years, 11 months ago) by rogers
Fixed bug in `set_up_drop_actions' when picking a window. We now check that the object that is picked has a parent.


Revision 30966 - Directory Listing
Modified Wed Mar 6 01:40:17 2002 UTC (17 years, 11 months ago) by rogers
Minor message modification.


Revision 30965 - Directory Listing
Modified Wed Mar 6 01:39:15 2002 UTC (17 years, 11 months ago) by rogers
`grpahically_replace_window' will now position the new window to a
minimum of 0x0.


Revision 30964 - Directory Listing
Modified Wed Mar 6 01:34:19 2002 UTC (17 years, 11 months ago) by rogers
`display_state_text' now displays an initial message.


Revision 30963 - Directory Listing
Modified Wed Mar 6 01:25:21 2002 UTC (17 years, 11 months ago) by rogers
We now ouput information regarding the settings chosen by the user for
their Vision2 project.


Revision 30960 - Directory Listing
Modified Wed Mar 6 01:04:37 2002 UTC (17 years, 11 months ago) by rogers
Now inherits GB_SHARED_SYSTEM_STATUS and GB_SHARED_XML_HANDLER. This is
so we can now save the project and the interface during `process_info'.


Revision 30959 - Directory Listing
Modified Wed Mar 6 01:03:02 2002 UTC (17 years, 11 months ago) by rogers
We no longer use a subdirectory ofr generating the code into. The code
is now generated directly into the project directory.


Revision 30958 - Directory Listing
Modified Wed Mar 6 01:02:21 2002 UTC (17 years, 11 months ago) by rogers
Removed use of `generation_directory' as there is no such thing anymore.
The code is generated into the same directory as the project.


Revision 30957 - Directory Listing
Modified Wed Mar 6 01:01:21 2002 UTC (17 years, 11 months ago) by rogers
Removed `Generation_directory'.


Revision 30955 - Directory Listing
Modified Wed Mar 6 00:47:22 2002 UTC (17 years, 11 months ago) by rogers
Replced inheritence of ARGUMENTS with EXECUTION_ENVIRONMENT. Accounted
for the four arguments that are now required.


Revision 30954 - Directory Listing
Modified Wed Mar 6 00:46:22 2002 UTC (17 years, 11 months ago) by rogers
Replaced `Visual_studio_argument' with `Visual_studio_project_argument' and
removed `project_argument' as it is no longer used.


Revision 30953 - Directory Listing
Modified Wed Mar 6 00:45:13 2002 UTC (17 years, 11 months ago) by rogers
Minor change of text.


Revision 30952 - Directory Listing
Modified Wed Mar 6 00:44:49 2002 UTC (17 years, 11 months ago) by rogers
We now directly launch to the second state. The first state is not
currently required with the command line arguments that we support.
We will need the second state in the near future, so it remains in the
project.


Revision 30951 - Directory Listing
Modified Wed Mar 6 00:41:25 2002 UTC (17 years, 11 months ago) by rogers
Commented out `project_name'. The currently supported options do
not require this, but future ones will, so it has been left commented.


Revision 30950 - Directory Listing
Modified Tue Mar 5 23:32:47 2002 UTC (17 years, 11 months ago) by rogers
Replaced all calls to `update_editors_for_name_change' with calls
to `update_editors_by_calling_feature'.


Revision 30949 - Directory Listing
Modified Tue Mar 5 23:30:49 2002 UTC (17 years, 11 months ago) by rogers
When the events are modified, we then update all object editors in order
to change the text on the event dialog button. Implemented
`update_editors_for_name_change' in `Current', as it used to be inherited.


Revision 30948 - Directory Listing
Modified Tue Mar 5 23:26:38 2002 UTC (17 years, 11 months ago) by rogers
Replaced `update_editors_for_name_change' with the more general purpose
feature, `update_editors_by_calling_feature' which takes a procedure as
an argument.


Revision 30945 - Directory Listing
Modified Tue Mar 5 19:31:31 2002 UTC (17 years, 11 months ago) by rogers
Added `Event_selection_text' and `Event_modification_text'.


Revision 30944 - Directory Listing
Modified Tue Mar 5 19:31:04 2002 UTC (17 years, 11 months ago) by rogers
Added `update_event_selection_button_text' as we now display different
text in this button dependent on whether there are any events connected
or not.


Revision 30943 - Directory Listing
Modified Tue Mar 5 18:04:49 2002 UTC (17 years, 11 months ago) by rogers
When in wizard mode, we now correctly resize the split areas.


Revision 30942 - Directory Listing
Modified Tue Mar 5 02:07:44 2002 UTC (17 years, 11 months ago) by rogers
`process_info' now generates code, and we also update the progress bar
while this is being performed.


Revision 30941 - Directory Listing
Modified Tue Mar 5 01:59:48 2002 UTC (17 years, 11 months ago) by rogers
We now store the selected location during `update_state_information', and
`build' uses the selected location if there is one.


Revision 30940 - Directory Listing
Modified Tue Mar 5 01:23:26 2002 UTC (17 years, 11 months ago) by rogers
Now when generating the ace file, we replace `project_name_tag' with the
name selected in the project settings.


Revision 30939 - Directory Listing
Modified Tue Mar 5 01:22:38 2002 UTC (17 years, 11 months ago) by rogers
Added `project_name_tag'.


Revision 30936 - Directory Listing
Modified Tue Mar 5 00:24:53 2002 UTC (17 years, 11 months ago) by rogers
Corrected text.


Revision 30935 - Directory Listing
Modified Tue Mar 5 00:21:58 2002 UTC (17 years, 11 months ago) by rogers
`proceed_with_current_info', now takes the text of `directory' and sets it
into the project settings.


Revision 30934 - Directory Listing
Modified Tue Mar 5 00:20:37 2002 UTC (17 years, 11 months ago) by rogers
Removed preconditions from `graphically_replace_window' as there is no real
side effect in calling it when the windows are already in the desired
state, and it will simplify the calling code.


Revision 30933 - Directory Listing
Modified Tue Mar 5 00:18:59 2002 UTC (17 years, 11 months ago) by rogers
Fixed bug in `build_main_window_implementation'. When building the file
name for the window implementation, we now ensure that the name is
lowercase.


Revision 30932 - Directory Listing
Modified Mon Mar 4 23:44:39 2002 UTC (17 years, 11 months ago) by rogers
Added titles and subtitles.


Revision 30931 - Directory Listing
Modified Mon Mar 4 23:43:09 2002 UTC (17 years, 11 months ago) by rogers
Now inherits GB_SHARED_XML_HANDLER, and loads the components during
`make'.


Revision 30930 - Directory Listing
Modified Mon Mar 4 23:41:10 2002 UTC (17 years, 11 months ago) by rogers
Removed custom wigets used for interface, and replaced with one
WIZARD_SMART_TEXT_FIELD, which has the directory browser enabled.


Revision 30929 - Directory Listing
Modified Mon Mar 4 23:39:46 2002 UTC (17 years, 11 months ago) by rogers
We no longer load the components here, as this takes time. All loading is
now performed when Build is launched.


Revision 30928 - Directory Listing
Modified Mon Mar 4 23:36:58 2002 UTC (17 years, 11 months ago) by rogers
Added `wizard_title'.


Revision 30902 - Directory Listing
Modified Fri Mar 1 01:43:50 2002 UTC (17 years, 11 months ago) by rogers
Implemented `title' and `message'.


Revision 30901 - Directory Listing
Modified Fri Mar 1 01:21:41 2002 UTC (17 years, 11 months ago) by rogers
Now inherits GB_SHARED_XML_HANDLER and loads the components when displaying
the main window, if they are not already loaded.


Revision 30900 - Directory Listing
Modified Fri Mar 1 01:20:29 2002 UTC (17 years, 11 months ago) by rogers
Added `components_loaded'.


Revision 30897 - Directory Listing
Modified Thu Feb 28 23:54:11 2002 UTC (17 years, 11 months ago) by rogers
We now inherit GB_SHARED_COMMAND_HANDLER. `build' updates the commands,
so they are enabled as necessary.


Revision 30896 - Directory Listing
Modified Thu Feb 28 23:51:24 2002 UTC (17 years, 11 months ago) by rogers
We now only display the project_menu if we are not a wizard system.


Revision 30891 - Directory Listing
Modified Thu Feb 28 02:27:40 2002 UTC (17 years, 11 months ago) by rogers
Initial.


Revision 30890 - Directory Listing
Modified Thu Feb 28 02:26:47 2002 UTC (17 years, 11 months ago) by rogers
Initial implementation of the classes required to run Build as a wizard.


Revision 30889 - Directory Listing
Modified Thu Feb 28 02:11:50 2002 UTC (17 years, 11 months ago) by rogers
Added `graphically_replace_window' which hides one window, and replaces
with another, aligned to the bottom right hand corner.


Revision 30888 - Directory Listing
Modified Thu Feb 28 02:10:44 2002 UTC (17 years, 11 months ago) by rogers
Added command line argument constants.


Revision 30887 - Directory Listing
Modified Thu Feb 28 02:08:00 2002 UTC (17 years, 11 months ago) by rogers
Now inherits ARGUMENTS, so we can check the command line arguments. If
the correct arguments are specified, we now start in wizard mode, which
runs Build as a wizard.


Revision 30886 - Directory Listing
Modified Thu Feb 28 02:04:40 2002 UTC (17 years, 11 months ago) by rogers
Now inherits WIZARD_STATE_MANAGER, as `Current' can behave as a wizard
window. Interface building that was performed in `initialize' is now in
`build_interface'. Certain interface components are not parented if
we are in wizard mode. For example, you do not want to be able to open or
close files, or exit the system, so we do not display the file menu. When
in wizard mode, we add navigation buttons to the bottom right hand side
of the window.


Revision 30885 - Directory Listing
Modified Thu Feb 28 01:59:27 2002 UTC (17 years, 11 months ago) by rogers
Added `is_wizard_system' and `enable_wizard_system' as Build can now be
started in a wizard mode, if the correct command line arguments are
passed.


Revision 30872 - Directory Listing
Modified Tue Feb 26 01:06:53 2002 UTC (17 years, 11 months ago) by rogers
`save_attributes' now saves the class names as upper.


Revision 30871 - Directory Listing
Modified Tue Feb 26 01:02:22 2002 UTC (17 years, 11 months ago) by rogers
Added `project_name_prompt'.


Revision 30870 - Directory Listing
Modified Tue Feb 26 01:01:58 2002 UTC (17 years, 11 months ago) by rogers
Added `project_name_field' and connected to validation and user interface.
We now can retrieve a project name.


Revision 30869 - Directory Listing
Modified Tue Feb 26 00:39:46 2002 UTC (17 years, 11 months ago) by rogers
Added `set_string_attribute' and `set_boolean_attribute' for use in
`load' which has been refactored for simplicities sake.


Revision 30868 - Directory Listing
Modified Mon Feb 25 23:48:53 2002 UTC (17 years, 11 months ago) by rogers
Added `project_name', `set_project_name' and `project_name_string'.
`make_with_default_values' now instantiates the project name.


Revision 30865 - Directory Listing
Modified Mon Feb 25 22:59:27 2002 UTC (17 years, 11 months ago) by rogers
Modified `set_x_position', `set_y_position', `set_item_height' and
`set_item_width' to only perform the setting if it has changed.


Revision 30864 - Directory Listing
Modified Mon Feb 25 22:40:29 2002 UTC (17 years, 11 months ago) by rogers
Modified `set_item_span' and `set_item_position_and_span' to only
perform settings on widgets when the values have actually changed.


Revision 30863 - Directory Listing
Modified Mon Feb 25 22:30:38 2002 UTC (17 years, 11 months ago) by rogers
When the positions or sizes of children are modified, we now update
the project, to reflect this. This allows the user to then save the
project if desired.


Revision 30862 - Directory Listing
Modified Mon Feb 25 22:29:08 2002 UTC (17 years, 11 months ago) by rogers
Added `enable_project_modified'. For easier updating in descendents.


Revision 30836 - Directory Listing
Modified Sat Feb 23 02:12:18 2002 UTC (18 years ago) by rogers
Removed unused locals.


Revision 30835 - Directory Listing
Modified Sat Feb 23 02:11:33 2002 UTC (18 years ago) by rogers
Removed extra lines.


Revision 30834 - Directory Listing
Modified Sat Feb 23 02:11:03 2002 UTC (18 years ago) by rogers
Removed extra line.


Revision 30833 - Directory Listing
Modified Sat Feb 23 02:07:38 2002 UTC (18 years ago) by rogers
Implemented `update_attribute_editor' and set up necessary event connection
to correctly work with multiple windows on the same object when positioning
and re-sizing widgets.


Revision 30832 - Directory Listing
Modified Sat Feb 23 01:23:25 2002 UTC (18 years ago) by rogers
Fixed `set_x_position', `set_y_position' and `set_item_width' and
`set_item_height' so they modify the objects in the builder window as
well as those in the display window.


Revision 30831 - Directory Listing
Modified Sat Feb 23 01:22:02 2002 UTC (18 years ago) by rogers
Slight comment change.


Revision 30828 - Directory Listing
Modified Sat Feb 23 00:20:58 2002 UTC (18 years ago) by rogers
Implemented `update_editors'. Now, if there are multiple table editors
all referencing the same table, any positioning or sizing of widgets will
be reflected in all editors.


Revision 30827 - Directory Listing
Modified Fri Feb 22 23:19:01 2002 UTC (18 years ago) by rogers
Replaced "BUILD_APPLICATION" with "<APPLICATION>" as the application
class name is now specified in the project settings.


Revision 30826 - Directory Listing
Modified Fri Feb 22 23:16:46 2002 UTC (18 years ago) by rogers
Replaced "BUILD_APPLICATION" WITH "<APPLICATION>" as the application
class name is now specified in the project settings.


Revision 30825 - Directory Listing
Modified Fri Feb 22 23:10:08 2002 UTC (18 years ago) by rogers
Modified to reflect the fact that the class name is now set by user.
i.e.added <APPLICATION> tags.


Revision 30824 - Directory Listing
Modified Fri Feb 22 21:26:41 2002 UTC (18 years ago) by rogers
`Class_invalid_name_warning' now starts with '. Added `Reserved_word_warning'.


Revision 30823 - Directory Listing
Modified Fri Feb 22 21:25:35 2002 UTC (18 years ago) by rogers
Now inherits EIFFEL_RESERVED_WORDS. Modified `validate' so that
we now validate the names against the Eiffel reserved words.


Revision 30821 - Directory Listing
Modified Fri Feb 22 20:19:35 2002 UTC (18 years ago) by rogers
Fixed a couple of code generator bugs. The application clas name
generated in the application file, is now always in upper case, and the
file it is generated in is now always lower case. Previously, the cases
were reversed.


Revision 30776 - Directory Listing
Modified Wed Feb 20 22:19:13 2002 UTC (18 years ago) by rogers
Added new constants to represent the EV_ interface classes.


Revision 30775 - Directory Listing
Modified Wed Feb 20 22:18:09 2002 UTC (18 years ago) by rogers
Replaced manifest strings with new string constants declared in
GB_STRING_CONSTANTS.


Revision 30774 - Directory Listing
Modified Wed Feb 20 22:16:04 2002 UTC (18 years ago) by rogers
Replaced manifest strings with new string constants declared in
GB_CONSTANTS.


Revision 30765 - Directory Listing
Modified Wed Feb 20 19:42:26 2002 UTC (18 years ago) by rogers
Now use `ev_widget_string' instead of "EV_WIDGET".


Revision 30764 - Directory Listing
Modified Wed Feb 20 19:40:16 2002 UTC (18 years ago) by rogers
Added `Ev_widget_string'.


Revision 30763 - Directory Listing
Modified Wed Feb 20 19:24:19 2002 UTC (18 years ago) by rogers
Added `Ev_menu_bar_string'.


Revision 30762 - Directory Listing
Modified Wed Feb 20 19:23:24 2002 UTC (18 years ago) by rogers
Fixed bug which would not allow you to drop an EV_MENU_BAR component
into the window, if it had a child.


Revision 30753 - Directory Listing
Modified Wed Feb 20 18:30:07 2002 UTC (18 years ago) by rogers
Removed all local declarations of `project_Settings' and replaced with
a new feature, `project_settings'.


Revision 30752 - Directory Listing
Modified Wed Feb 20 18:02:22 2002 UTC (18 years ago) by rogers
Replaced all ".e" extensions in code with `eiffel_class_extension'.


Revision 30751 - Directory Listing
Modified Wed Feb 20 18:00:21 2002 UTC (18 years ago) by rogers
Added `eiffel_class_extension'.


Revision 30750 - Directory Listing
Modified Wed Feb 20 17:55:19 2002 UTC (18 years ago) by rogers
Modified `build_application_file' to replace the two application tags
that are now contained in there.


Revision 30748 - Directory Listing
Modified Wed Feb 20 17:53:21 2002 UTC (18 years ago) by rogers
Replaced `main_window_file_name' with `application_class_name' and
updated the names of all associated setting features.


Revision 30747 - Directory Listing
Modified Wed Feb 20 17:52:40 2002 UTC (18 years ago) by rogers
Updated to allow entry of an application class name, instead of a window
file name. The file names now always match the class names. We also now
disable the application class name field when a class is selected, and
enable it again when a project is selected.


Revision 30746 - Directory Listing
Modified Wed Feb 20 17:47:40 2002 UTC (18 years ago) by rogers
We now ignor `Events' in the XML during `new_object'. This fixes a crash
when dropping a component which was created from an object with events,
into an object. When/if we support events in components, then this needs to
be modified.


Revision 30745 - Directory Listing
Modified Wed Feb 20 17:42:47 2002 UTC (18 years ago) by rogers
Added `application_tag', `application_class_name_prompt',
`window_class_name_prompt' and
`Matching_class_and_application_names_warning'.


Revision 30738 - Directory Listing
Modified Tue Feb 19 19:38:38 2002 UTC (18 years ago) by rogers
Removed grouped locals option, as this is now in GB_SYSTEM_GENERATION_TAB.


Revision 30737 - Directory Listing
Modified Tue Feb 19 19:18:11 2002 UTC (18 years ago) by rogers
Renamed `attribute_tab' to `attribute_tag'.


Revision 30736 - Directory Listing
Modified Tue Feb 19 19:17:35 2002 UTC (18 years ago) by rogers
We now correctly generate attributes as locals or not. Before, they were
always generated as locals.


Revision 30735 - Directory Listing
Modified Tue Feb 19 19:16:19 2002 UTC (18 years ago) by rogers
Removed local declaation, as this is now added if required during the
generation. Added attribute tag.


Revision 30734 - Directory Listing
Modified Tue Feb 19 18:18:59 2002 UTC (18 years ago) by rogers
Removed comments as they are now hard coded. This allows us to easily
avoid displaying the comment when a generated section of code is empty.


Revision 30733 - Directory Listing
Modified Tue Feb 19 17:17:44 2002 UTC (18 years ago) by rogers
Modified features which connect generated code to template. The
comments are now hard coded in GB_CONSTANTS.


Revision 30732 - Directory Listing
Modified Tue Feb 19 17:10:20 2002 UTC (18 years ago) by rogers
Removed unused locals.


Revision 30731 - Directory Listing
Modified Tue Feb 19 17:09:45 2002 UTC (18 years ago) by rogers
Removed unused local.


Revision 30728 - Directory Listing
Modified Tue Feb 19 02:08:58 2002 UTC (18 years ago) by rogers
Removed unused locals.


Revision 30727 - Directory Listing
Modified Tue Feb 19 02:07:53 2002 UTC (18 years ago) by rogers
Added `connect_events_comment', `build_widgets_comment',
`create_widgets_comment', `set_widgets_comment' as onces.


Revision 30724 - Directory Listing
Modified Mon Feb 18 22:55:34 2002 UTC (18 years ago) by rogers
Added `add_generated_string'. This is now used to connect all generated
code to the class texts, as it protects against Void strings, which were
not protected against previously. Also simpler and easier.


Revision 30723 - Directory Listing
Modified Mon Feb 18 20:04:56 2002 UTC (18 years ago) by rogers
Added `attribute_tab' and `connect_events_comment'.


Revision 30722 - Directory Listing
Modified Mon Feb 18 20:04:14 2002 UTC (18 years ago) by rogers
The code generation comment is now generated by Build, and is no longer
part of the template. Modified `add_event_connection' to reflect this.


Revision 30721 - Directory Listing
Modified Mon Feb 18 19:51:55 2002 UTC (18 years ago) by rogers
Added protection in `build_main_window' and `build_main_window_imp' for
the case where no events were selected in the project. In this case,
all constructed strings for the code generation will be `Void'.


Revision 30720 - Directory Listing
Modified Mon Feb 18 19:32:12 2002 UTC (18 years ago) by rogers
Added `attributes_local', `enable_attributes_local' and
`disable_attributes_local'.


Revision 30719 - Directory Listing
Modified Mon Feb 18 19:31:32 2002 UTC (18 years ago) by rogers
Removed all commented code. Added handling of local attributes from
the project settings.


Revision 30713 - Directory Listing
Modified Mon Feb 18 18:48:15 2002 UTC (18 years ago) by rogers
Within `Generate_events', we now only generate the debugging information
if the project settings specify that we should.


Revision 30712 - Directory Listing
Modified Mon Feb 18 18:39:31 2002 UTC (18 years ago) by rogers
Added `debugging_output', `enable_debugging_output' and
`disable_debugging_output'. `debugging_output' is now loaded and saved
with the existing settings.


Revision 30711 - Directory Listing
Modified Mon Feb 18 18:38:17 2002 UTC (18 years ago) by rogers
Connected events to `debugginG_check_button'. This is now checked when
requires, and checking/unchecking will update the project settings.


Revision 30709 - Directory Listing
Modified Mon Feb 18 18:21:14 2002 UTC (18 years ago) by rogers
Connected `local_check_button' to project settings.


Revision 30708 - Directory Listing
Modified Mon Feb 18 18:01:52 2002 UTC (18 years ago) by rogers
Replaced all "~" with agent.


Revision 30707 - Directory Listing
Modified Mon Feb 18 18:00:11 2002 UTC (18 years ago) by rogers
Removed debugging code.  Fixed bug in `add_local_on_grouped_line'. If a
local had been added, we were not accounting for the counter becoming
zero when searching for %R. We now exit the loop if the counter ever
reaches 0.


Revision 30706 - Directory Listing
Modified Sat Feb 16 02:21:41 2002 UTC (18 years ago) by rogers
Initial. Not complete by any means. Still has a lot of commented code.


Revision 30705 - Directory Listing
Modified Sat Feb 16 02:19:26 2002 UTC (18 years ago) by rogers
Added `generation_tab' which is a new project tab which will hold code
generation options.


Revision 30704 - Directory Listing
Modified Sat Feb 16 02:02:46 2002 UTC (18 years ago) by rogers
Added `class_implementation_extension'.


Revision 30703 - Directory Listing
Modified Sat Feb 16 02:02:15 2002 UTC (18 years ago) by rogers
Moved class implementation extension into GB_CONSTANTS and replaced all
strings used with this new constant.


Revision 30702 - Directory Listing
Modified Sat Feb 16 01:51:12 2002 UTC (18 years ago) by rogers
We now check for duplicate names entered for feature names, and display
a dialog with an error message if duplicates are encountered. Added
`repeated_name' for the new implementation of this.


Revision 30701 - Directory Listing
Modified Sat Feb 16 01:49:29 2002 UTC (18 years ago) by rogers
Added `Duplicate_event_feature_name_warning'.


Revision 30700 - Directory Listing
Modified Sat Feb 16 00:35:49 2002 UTC (18 years ago) by rogers
Fixed bug in `update_object_and_destroy'. We now pass the text of the text
fields converted to lowercase.


Revision 30699 - Directory Listing
Modified Sat Feb 16 00:31:48 2002 UTC (18 years ago) by rogers
Modified `dupliace_name_warning_part1' and `duplicate_name_warning_part2'
to reflect the fact that reserved words and feature names are now checked
also.


Revision 30698 - Directory Listing
Modified Sat Feb 16 00:14:30 2002 UTC (18 years ago) by rogers
Now inherits EIFFEL_RESERVED_WORDS. This allwos us to fix the naming bug
which allows reserved words to be used as object names. If this was done,
then the code gernation would produce uncompliable code.


Revision 30697 - Directory Listing
Modified Fri Feb 15 23:36:18 2002 UTC (18 years ago) by rogers
Initial implementation of class which provides access to Eiffel
reserved words.


Revision 30696 - Directory Listing
Modified Fri Feb 15 23:34:24 2002 UTC (18 years ago) by rogers
Added `Event_feature_name_warning'.


Revision 30695 - Directory Listing
Modified Fri Feb 15 23:33:10 2002 UTC (18 years ago) by rogers
Now inherits EIFFEL_RESERVED_wORDS and GB_CONSTANTS. We now check
the feature names against the Eiffel reserved words.  Added `red' and
`black' for quick lookup of current text field color when validating. This
is quicker than re-checking validity of text for all text fields.


Revision 30694 - Directory Listing
Modified Fri Feb 15 19:57:26 2002 UTC (18 years ago) by rogers
Now inherits GB_NAMING_UTILITIES. `validate_name_change' will now only
allow valid feature names.


Revision 30693 - Directory Listing
Modified Fri Feb 15 19:45:01 2002 UTC (18 years ago) by rogers
`update_visual_representations_on_name_change' now calls
`undo_last_character' from GB_WIDGET_UTILITIES, instead of having its own
implementation.


Revision 30692 - Directory Listing
Modified Fri Feb 15 19:43:27 2002 UTC (18 years ago) by rogers
Added `undo_last_character' which takes an EV_TEXT_FIELD as an argument
and removes the last character added (Dependent on caret position).


Revision 30691 - Directory Listing
Modified Fri Feb 15 19:11:05 2002 UTC (18 years ago) by rogers
Now inherits GB_SHARED_OBJECT_HANDLER, needed for name validation.
Added `validate_name_change' which is called whenever one of the text
fields is edited. This allwos us to highlight the text in red when it is an invalid name. We also wipe out the events of `object' when the dialog is instantiated. This make it easier for the checking of the valid names.


Revision 30690 - Directory Listing
Modified Fri Feb 15 19:06:05 2002 UTC (18 years ago) by rogers
Updated to take into account name change of `named_object_exists' from
GB_OBJECT_HANDLER to `name_in_use'.


Revision 30689 - Directory Listing
Modified Fri Feb 15 19:05:28 2002 UTC (18 years ago) by rogers
Update to take into account name change of `named_object_exists' from
GB_OBEJCT_HANDLER to `name_in_use'.


Revision 30688 - Directory Listing
Modified Fri Feb 15 19:04:10 2002 UTC (18 years ago) by rogers
Renamed `named_object_exists' to `name_in_use'. Implementation of this
feature now checks `obejct_name' against all the event feature names in
the system. As these are also generated into features, they may not be
identical to a name used by an attribute. This would caush a problem
if the attributes are not generated as local (naming_clash).


Revision 30687 - Directory Listing
Modified Fri Feb 15 17:38:49 2002 UTC (18 years ago) by rogers
Refactored `named_object_exisits'. It is now simpler and has better
comments.


Revision 30669 - Directory Listing
Modified Fri Feb 15 01:59:11 2002 UTC (18 years ago) by rogers
Now inherits GB_WIDGET_UTILITIES. `check_button_selected' now converts
any string to lowercase upon selected the option.


Revision 30668 - Directory Listing
Modified Fri Feb 15 00:51:27 2002 UTC (18 years ago) by rogers
More fixes to `generate_events'. Now correctly displays debugging
information. Still need to turn this off as an option though.


Revision 30667 - Directory Listing
Modified Fri Feb 15 00:49:45 2002 UTC (18 years ago) by rogers
Added `debugging_info' which outputs a string which will display
information about all arguments of `Current'.


Revision 30666 - Directory Listing
Modified Thu Feb 14 22:57:40 2002 UTC (18 years ago) by rogers
Fixed bug in `clear_all_objects'. We now wipe out the events from
the window object. Before this, when you closed and opened a new
project, the events from the window of the previous project were
added to the new project window events.


Revision 30665 - Directory Listing
Modified Thu Feb 14 19:32:09 2002 UTC (18 years ago) by rogers
Now exclude EIFGEN and templates directory.


Revision 30664 - Directory Listing
Modified Thu Feb 14 19:31:25 2002 UTC (18 years ago) by rogers
Added `window_template_imp_file_name', `inherited_class_name_tag',
`indent_less_one', `indent_less_two'.


Revision 30663 - Directory Listing
Modified Thu Feb 14 19:22:16 2002 UTC (18 years ago) by rogers
Generated code is now compilable, although all generation is not
complete. We now successfully generate an _imp and interface class.


Revision 30662 - Directory Listing
Modified Thu Feb 14 19:21:04 2002 UTC (18 years ago) by rogers
Implemented `parameter_list'.


Revision 30661 - Directory Listing
Modified Thu Feb 14 19:15:31 2002 UTC (18 years ago) by rogers
Contents used to be in build_class_temeplate.e


Revision 30660 - Directory Listing
Modified Thu Feb 14 19:09:06 2002 UTC (18 years ago) by rogers
Added. This is a different version to the old one, which is now the imp temp.


Revision 30659 - Directory Listing
Modified Thu Feb 14 19:07:32 2002 UTC (18 years ago) by rogers
Removed as renamed. New class name to be commited soon.


Revision 30655 - Directory Listing
Modified Wed Feb 13 21:06:05 2002 UTC (18 years ago) by rogers
We now partially generate the features added to the action sequences.
Not yet deferred, and they need there arguments filling in.


Revision 30653 - Directory Listing
Modified Wed Feb 13 01:24:53 2002 UTC (18 years ago) by rogers
Fixed bug in `build_window'. We now create the window object at the
very start of the feature, and the event loading is now connected.
Previously, window events were not created.


Revision 30652 - Directory Listing
Modified Wed Feb 13 00:38:03 2002 UTC (18 years ago) by rogers
Strengthened pre and postconditions on
`action_sequence_info_to_string' and `string_to_action_sequence_info'.


Revision 30651 - Directory Listing
Modified Wed Feb 13 00:36:06 2002 UTC (18 years ago) by rogers
Added <EVENT_CONNECTION> tag and <EVENT_DECLARATION_TAG>.


Revision 30650 - Directory Listing
Modified Wed Feb 13 00:35:01 2002 UTC (18 years ago) by rogers
Added `generate_events' which generates the selected events that
the user has addded. This is not complete, we still need to add the
deferred features, and implement the interface class, but this will be
comin in the next day or two.


Revision 30649 - Directory Listing
Modified Wed Feb 13 00:04:51 2002 UTC (18 years ago) by rogers
Removed "EV_PICK_AND_DROPABLE_ACTION_SEQUENCES" from
`action_sequences_list' as these are complex types, and there is
no need to currently support them in this simple way.


Revision 30648 - Directory Listing
Modified Wed Feb 13 00:02:05 2002 UTC (18 years ago) by rogers
Added `event_connection_tag' and `event_declaration_tag'.


Revision 30647 - Directory Listing
Modified Wed Feb 13 00:01:21 2002 UTC (18 years ago) by rogers
Modified `types' to reflect the interface change in Vision2.


Revision 30646 - Directory Listing
Modified Wed Feb 13 00:00:32 2002 UTC (18 years ago) by rogers
Implemented `open_arguments' and added `parameter_list' to be
implemented.


Revision 30644 - Directory Listing
Modified Tue Feb 12 19:52:54 2002 UTC (18 years ago) by rogers
Now inherits GB_SHARED_SYSTEM_STATUS and GB_SHARED_COMMAND_HANDLER.
When a check box is selected/unselected, we now informt the
system that the project has been modified. This allows us to
enable the save button for the user.


Revision 30643 - Directory Listing
Modified Tue Feb 12 19:01:10 2002 UTC (18 years ago) by rogers
Renamed `argument_type' to `argument_types' and
`argument_name' to `argument_names'.


Revision 30636 - Directory Listing
Modified Tue Feb 12 18:42:04 2002 UTC (18 years ago) by rogers
Initial.


Revision 30635 - Directory Listing
Modified Tue Feb 12 18:38:25 2002 UTC (18 years ago) by rogers
Renamed `action_sequences' to `action_sequences_list'. Added the
action sequence types to `included_types'.


Revision 30624 - Directory Listing
Modified Tue Feb 12 01:33:49 2002 UTC (18 years ago) by rogers
Removed unused local variables.


Revision 30620 - Directory Listing
Modified Tue Feb 12 00:57:49 2002 UTC (18 years ago) by rogers
Unused local removed.


Revision 30619 - Directory Listing
Modified Tue Feb 12 00:44:38 2002 UTC (18 years ago) by rogers
Removed unused local.


Revision 30618 - Directory Listing
Modified Tue Feb 12 00:44:03 2002 UTC (18 years ago) by rogers
Removed unused locals.


Revision 30617 - Directory Listing
Modified Tue Feb 12 00:42:19 2002 UTC (18 years ago) by rogers
Updated to take into account name change. `action_sequences' is
now called `action_sequences_list'.


Revision 30604 - Directory Listing
Modified Mon Feb 11 21:40:28 2002 UTC (18 years ago) by rogers
Commented out assertion as once functions are not executed
during assertions.


Revision 30603 - Directory Listing
Modified Mon Feb 11 20:52:14 2002 UTC (18 years ago) by rogers
Fixed bug in `generate_xml'. We now prune the leading 0s in the positions
that have been stored. This means we no longer have 4 digit string
representations of our number represented in the generated code.


Revision 30601 - Directory Listing
Modified Mon Feb 11 18:44:55 2002 UTC (18 years ago) by rogers
Initial implementation.


Revision 30600 - Directory Listing
Modified Mon Feb 11 18:42:02 2002 UTC (18 years ago) by rogers
Initial.


Revision 30599 - Directory Listing
Modified Mon Feb 11 18:34:43 2002 UTC (18 years ago) by rogers
Initial.


Revision 30598 - Directory Listing
Modified Mon Feb 11 18:30:01 2002 UTC (18 years ago) by rogers
Now inherits GB_EVENT_UTILITIES. Added `extract_event_information' which
is called during `build_new_object' when event data is found.


Revision 30597 - Directory Listing
Modified Mon Feb 11 18:25:42 2002 UTC (18 years ago) by rogers
Now inherits GB_EVENT_UTILITIES. Modified `output_attributes' to store
the events for each object.


Revision 30596 - Directory Listing
Modified Mon Feb 11 18:18:19 2002 UTC (18 years ago) by rogers
Modification to account for name change of GB_EV_EVENTS to
GB_SUPPORTED_EVENTS.


Revision 30595 - Directory Listing
Modified Mon Feb 11 18:14:14 2002 UTC (18 years ago) by rogers
Initial implementation


Revision 30594 - Directory Listing
Modified Mon Feb 11 18:05:52 2002 UTC (18 years ago) by rogers
Initial implementation.


Revision 30593 - Directory Listing
Modified Mon Feb 11 18:00:34 2002 UTC (18 years ago) by rogers
Initial implementation.


Revision 30592 - Directory Listing
Modified Mon Feb 11 17:39:44 2002 UTC (18 years ago) by rogers
Added `Events_string' and `Event_string'.


Revision 30591 - Directory Listing
Modified Mon Feb 11 17:38:07 2002 UTC (18 years ago) by rogers
Added `events' which is a list of all events currently connected to
`Current'. It is initialized as empty when an object is created.


Revision 30590 - Directory Listing
Modified Mon Feb 11 17:37:22 2002 UTC (18 years ago) by rogers
Added `event_selection_button' which, when clicked, will display the
event selection dialog.


Revision 30557 - Directory Listing
Modified Wed Feb 6 20:18:24 2002 UTC (18 years ago) by rogers
Implemented setting of `value', `step' and `leap' using
GB_INTEGER_INPUT_FIELD. This simplifies the implementation and also allows
tabbing to set the values.


Revision 30553 - Directory Listing
Modified Wed Feb 6 02:08:58 2002 UTC (18 years ago) by rogers
Updated copyright notice for 2002.


Revision 30551 - Directory Listing
Modified Wed Feb 6 01:45:11 2002 UTC (18 years ago) by rogers
Comments and formatting.


Revision 30550 - Directory Listing
Modified Wed Feb 6 01:43:09 2002 UTC (18 years ago) by rogers
Implemented `generate_code'.


Revision 30549 - Directory Listing
Modified Wed Feb 6 01:39:39 2002 UTC (18 years ago) by rogers
Modified `generate_structure' so that one of the arguments is now
`parent_type'. We need to handle tables differently, as we cannot just
insert the items and then move them into position. With the information
provided by this new argument, we can delay the insertion of the
arguments from this point, until the point when we know the positions to
place them. This means we can do it in one step.


Revision 30548 - Directory Listing
Modified Tue Feb 5 20:03:06 2002 UTC (18 years ago) by rogers
Implemented the commented out code in `track_movement' and `button_pressed'
which deals with the resizing of widgets on one axis. This works now.


Revision 30547 - Directory Listing
Modified Tue Feb 5 19:45:50 2002 UTC (18 years ago) by rogers
Added `draw_greyed_widget' and correspoding new coordinates. Now, when
attempting to position a widget, that cannot be placed at the current
position, we draw a grey outline of the desired position.


Revision 30546 - Directory Listing
Modified Tue Feb 5 19:07:04 2002 UTC (18 years ago) by rogers
More re-sizing bug fixes in `track_movmement'.


Revision 30545 - Directory Listing
Modified Tue Feb 5 01:14:31 2002 UTC (18 years ago) by rogers
Fixed bug in `modify_from_xml_after_build'. Disabling the assertions was
not the correct solution. So we now have to remove all the widgets, and
then replace them again.


Revision 30536 - Directory Listing
Modified Mon Feb 4 20:20:18 2002 UTC (18 years ago) by rogers
Fixed bug in `modify_from_xml_after_build'. We now disable assertion
checking while setting the item positions and spans.


Revision 30534 - Directory Listing
Modified Mon Feb 4 20:09:57 2002 UTC (18 years ago) by rogers
optimized some calculations that were rpeated unecessarily in the loop
within `modify_from_xml_after_build'.


Revision 30533 - Directory Listing
Modified Mon Feb 4 20:08:27 2002 UTC (18 years ago) by rogers
Implemented `modify_from_xml_after_build' and modified `generate_xml', so
that we now store/retrieve the item positions.


Revision 30523 - Directory Listing
Modified Fri Feb 1 21:03:22 2002 UTC (18 years ago) by rogers
Added `diagram_border' which controls the distance of the diagram from
the edge of the scrollable area used. More general tidying up.


Revision 30522 - Directory Listing
Modified Fri Feb 1 19:54:01 2002 UTC (18 years ago) by rogers
Position button text now reads "Position children", instead of
"Position items".


Revision 30521 - Directory Listing
Modified Fri Feb 1 19:52:11 2002 UTC (18 years ago) by rogers
Fixed ANOTHER bug in `track_movement'. Removed unused attributes connected
with the scrolling.


Revision 30520 - Directory Listing
Modified Fri Feb 1 18:21:36 2002 UTC (18 years ago) by rogers
Fixed bug in `track_movement'. We now record the inital size and
position of `selected_item' during `button_press'. This means that when we
move and resize during `track_movement', the new positions can be correctly
calculated against the original positions. Removed commented code for
scrolling.


Revision 30502 - Directory Listing
Modified Fri Feb 1 00:10:25 2002 UTC (18 years ago) by rogers
We now store/reload the information about the widget through
`generate_xml' and `modify_from_xml'.


Revision 30501 - Directory Listing
Modified Thu Jan 31 23:46:04 2002 UTC (18 years ago) by rogers
Removed `set_item_position' and `move_and_resize'. These have
been replaced with set_item_position_and_span.


Revision 30500 - Directory Listing
Modified Thu Jan 31 23:15:37 2002 UTC (18 years ago) by rogers
Finished implementing the resizing code in `track_movement'. You can now
resize from any corner. Added `first_filled_vertical_space' and
`first_filled_horizontal_space.


Revision 30481 - Directory Listing
Modified Wed Jan 30 22:50:49 2002 UTC (18 years ago) by rogers
Fixed resizing bug when a widget in the diagram did not have a position
of 0, 0.


Revision 30480 - Directory Listing
Modified Wed Jan 30 20:10:10 2002 UTC (18 years ago) by rogers
Corrected bug in `button_pressed'. When selecting a widget, we now ensure
that we only use valid coordinates for the table when querying.
Enabled the capture when moving/resizing. Removed debug information and
some now redundent and commented code.


Revision 30479 - Directory Listing
Modified Wed Jan 30 19:37:51 2002 UTC (18 years ago) by rogers
`first_free_coordinate' now uses `item' instead of `area_clear' in its
implementation. `area_clear' calls `item' anyway, and just added another
level of overhead to the calculations.


Revision 30478 - Directory Listing
Modified Wed Jan 30 19:36:20 2002 UTC (18 years ago) by rogers
Partial implementation of moving/resizing code. Is still a work in
progress, but wanted to get it nice and safe in CVS.


Revision 30434 - Directory Listing
Modified Mon Jan 28 19:07:48 2002 UTC (18 years ago) by rogers
Initial implementation. Controls for basi operations.


Revision 30433 - Directory Listing
Modified Mon Jan 28 19:06:19 2002 UTC (18 years ago) by rogers
Added support for EV_TABLE through the use of GB_eV_TABLE.


Revision 30432 - Directory Listing
Modified Mon Jan 28 19:05:34 2002 UTC (18 years ago) by rogers
Modifed `add_child_object' postcondition as EV_TABLE requires slightly
different checking.


Revision 30431 - Directory Listing
Modified Mon Jan 28 19:04:24 2002 UTC (18 years ago) by rogers
Started real implementation. You can now add children, which are always
added to the first free slot.


Revision 30430 - Directory Listing
Modified Mon Jan 28 18:58:43 2002 UTC (18 years ago) by rogers
Added viewport and table to `supported_types'.


Revision 30392 - Directory Listing
Modified Wed Jan 23 23:04:25 2002 UTC (18 years, 1 month ago) by rogers
Minor comment change.


Revision 30387 - Directory Listing
Modified Wed Jan 23 22:27:35 2002 UTC (18 years, 1 month ago) by rogers
Fixed `set_upper' and `set_lower' so they record the modification.
This enables us to know that the system has been modified.


Revision 30386 - Directory Listing
Modified Wed Jan 23 22:21:40 2002 UTC (18 years, 1 month ago) by rogers
Added EV_VIEWPORT to supported widgets.


Revision 30385 - Directory Listing
Modified Wed Jan 23 22:20:42 2002 UTC (18 years, 1 month ago) by rogers
Fixed bug in `Add_local_on_grouped_line'. Ww would sometimes check for
the newline character outside of the bounds of the string, if a match
was found at the last position in the string we were checking.
Have added a check which stops this.


Revision 30383 - Directory Listing
Modified Wed Jan 23 22:17:24 2002 UTC (18 years, 1 month ago) by rogers
Initial build.


Revision 30381 - Directory Listing
Modified Wed Jan 23 20:13:54 2002 UTC (18 years, 1 month ago) by rogers
Commented out uncheckable check in `generate_code' with a description of
why it is not checkable.


Revision 30374 - Directory Listing
Modified Wed Jan 23 18:28:56 2002 UTC (18 years, 1 month ago) by rogers
Fixed check in `load' to take into account new total of data.


Revision 30372 - Directory Listing
Modified Tue Jan 22 23:42:47 2002 UTC (18 years, 1 month ago) by rogers
Removed EV_OPTION_BUTTON from supported widgets.


Revision 30367 - Directory Listing
Modified Tue Jan 22 19:39:47 2002 UTC (18 years, 1 month ago) by rogers
Added `grouped_locals', `enabled_grouped_locals' and
`disable_grouped_locals'. We now save `grouped_locals' with the rest of
the project settings.


Revision 30366 - Directory Listing
Modified Tue Jan 22 19:38:39 2002 UTC (18 years, 1 month ago) by rogers
Added first code generation option through `local_check_button'.


Revision 30365 - Directory Listing
Modified Tue Jan 22 19:36:05 2002 UTC (18 years, 1 month ago) by rogers
Renamed `add_local' to `add_local_on_single_line' and added
`add_local_on_grouped_line'. This allows us to generate the local
declarations with all locals of the same type defined in the same line,
or to have a line and type declared individually for each one.


Revision 30352 - Directory Listing
Modified Tue Jan 22 00:19:26 2002 UTC (18 years, 1 month ago) by rogers
Removed debugging output string.


Revision 30348 - Directory Listing
Modified Mon Jan 21 22:50:32 2002 UTC (18 years, 1 month ago) by rogers
`layout_window' now has `snap_button' enabled as default, so the grid is
automatically snapped to.


Revision 30347 - Directory Listing
Modified Mon Jan 21 20:02:52 2002 UTC (18 years, 1 month ago) by rogers
Modified `generate_code' to add comment before positioning children.


Revision 30346 - Directory Listing
Modified Mon Jan 21 19:57:52 2002 UTC (18 years, 1 month ago) by rogers
Modified `generate_code' to use the real child names in the generated
code, rather than accessing the widget through the current position in
the parent. This is simpler in the code, and more like how you would hand
code it.


Revision 30345 - Directory Listing
Modified Mon Jan 21 19:46:42 2002 UTC (18 years, 1 month ago) by rogers
Modified `generate_setting' to take into account the change in signature of
`generate_code' from GB_EV_ANY.


Revision 30344 - Directory Listing
Modified Mon Jan 21 19:44:50 2002 UTC (18 years, 1 month ago) by rogers
Added a_type: STRING to the signature of `generate_code'. We pass the
type of the current widget, as we sometimes need this information during
the generation of the code. See `generate_code' from GB_EV_PIXMAPABLE for
one use.


Revision 30343 - Directory Listing
Modified Mon Jan 21 19:41:08 2002 UTC (18 years, 1 month ago) by rogers
Modified signature of `generate_code' to reflect change in GB_EV_ANY. We
now pass a string representation of the current type.


Revision 30342 - Directory Listing
Modified Mon Jan 21 19:39:07 2002 UTC (18 years, 1 month ago) by rogers
Implemented `generate_xml' to generate the appropriate source code.


Revision 30341 - Directory Listing
Modified Mon Jan 21 19:36:33 2002 UTC (18 years, 1 month ago) by rogers
Fixed bug in `generate_code'. We need to distinguish between the type
of the pixmapable. This is because `set_pixmap' is redefined in
EV_CONTAINER as `set_background_pixmap'. We need to know if we are a
container or not, so we can correctly generate the code.


Revision 30336 - Directory Listing
Modified Mon Jan 21 17:55:35 2002 UTC (18 years, 1 month ago) by rogers
Implemented `modify_from_xml_after_build' which enables the saved XML
data to be loaded in and the widgets manipulated to the correct geometry.


Revision 30249 - Directory Listing
Modified Sat Jan 19 00:24:12 2002 UTC (18 years, 1 month ago) by rogers
Added vertical scrolling. Removed unused variables.


Revision 30248 - Directory Listing
Modified Fri Jan 18 23:12:56 2002 UTC (18 years, 1 month ago) by rogers
Almost finished implementaation of automatic horizontal scrolling.


Revision 30247 - Directory Listing
Modified Thu Jan 17 23:30:40 2002 UTC (18 years, 1 month ago) by rogers
Removed `snap_button_selected' and `grid_control_holder'. All grid controls
are now placed within an EV_FRAME and are now independent of each other.


Revision 30246 - Directory Listing
Modified Thu Jan 17 23:00:59 2002 UTC (18 years, 1 month ago) by rogers
Added grid support, tidying, comments.


Revision 30216 - Directory Listing
Modified Tue Jan 15 20:11:33 2002 UTC (18 years, 1 month ago) by rogers
Initial. Not complete by any means.


Revision 30215 - Directory Listing
Modified Tue Jan 15 20:10:38 2002 UTC (18 years, 1 month ago) by rogers
Added support for GB_EV_FIXED.


Revision 30214 - Directory Listing
Modified Tue Jan 15 20:10:13 2002 UTC (18 years, 1 month ago) by rogers
Added GB_EV_FIXED to supported widgets.


Revision 30152 - Directory Listing
Modified Thu Jan 10 18:31:07 2002 UTC (18 years, 1 month ago) by rogers
Fixed bug in `maximize_tool'. If you minimized the other tool and then
called maximize, the other tool would be in an odd state. This modification
fixes this.


Revision 30137 - Directory Listing
Modified Wed Jan 9 23:06:32 2002 UTC (18 years, 1 month ago) by rogers
Fixed bug when minimizing tool, then maximizing. When the tool was then
re-sized, the tool would imediately minimized, although it should be
maximized. We now wipe out the resize actions when maximizing, if the old
state was minimized.


Revision 30136 - Directory Listing
Modified Wed Jan 9 22:59:28 2002 UTC (18 years, 1 month ago) by rogers
When the tool is minimized, we now keep the splitter in the maximum split
position when `Current' is resized.


Revision 30135 - Directory Listing
Modified Wed Jan 9 22:26:37 2002 UTC (18 years, 1 month ago) by rogers
Removed unused local.


Revision 30134 - Directory Listing
Modified Wed Jan 9 22:26:21 2002 UTC (18 years, 1 month ago) by rogers
Updated to use `insert_string' instead of `insert' following Elks standard
change.


Revision 29891 - Directory Listing
Modified Fri Dec 21 19:12:04 2001 UTC (18 years, 2 months ago) by rogers
Simplified `generate_drop_actions'. We were using constructor_item.object
everywhere, but this is an identical object to the passed argument
`object' which is now used instead.


Revision 29890 - Directory Listing
Modified Fri Dec 21 18:59:59 2001 UTC (18 years, 2 months ago) by rogers
Fixed bug in `generate_frop_actions' which would allow the replacement
of a box with a menu_bar. This was not allowed, and would cause the
system to crash.


Revision 29889 - Directory Listing
Modified Fri Dec 21 18:06:38 2001 UTC (18 years, 2 months ago) by rogers
Added support for menu bars.


Revision 29851 - Directory Listing
Modified Thu Dec 20 01:55:42 2001 UTC (18 years, 2 months ago) by rogers
Added support for menu items in `set_component'.


Revision 29846 - Directory Listing
Modified Thu Dec 20 00:46:03 2001 UTC (18 years, 2 months ago) by rogers
Removed check in `generate_pebble' which checked that component was a
widget. We now support items being components.


Revision 29844 - Directory Listing
Modified Thu Dec 20 00:13:41 2001 UTC (18 years, 2 months ago) by rogers
Fixed bug that cause project to be shown as modified when displaying
a component in `Current'. Modified `set_component' to handle some of the
basic item types.


Revision 29775 - Directory Listing
Modified Tue Dec 18 19:44:01 2001 UTC (18 years, 2 months ago) by rogers
Refactored repeated code in `set_component'.


Revision 29771 - Directory Listing
Modified Tue Dec 18 19:12:12 2001 UTC (18 years, 2 months ago) by rogers
Exported `update_drop_actions_for_all_children' to GB_EV_BOX.


Revision 29770 - Directory Listing
Modified Tue Dec 18 19:08:48 2001 UTC (18 years, 2 months ago) by rogers
Added `retrieve_pebble' so that we can target the child object to an
object editor when a pick is started while Ctrl is pressed.


Revision 29763 - Directory Listing
Modified Tue Dec 18 18:24:51 2001 UTC (18 years, 2 months ago) by rogers
Removed `update_shift_drop_actions_for_all_children', as this is no longer
used in the system. The old, messier use of pick and drop which had to
modify all targets all the time used to use this feature.


Revision 29762 - Directory Listing
Modified Tue Dec 18 18:19:51 2001 UTC (18 years, 2 months ago) by rogers
Modified `attribute_editor' so that the labels representing child
objects now generate the object as a pebble.


Revision 29757 - Directory Listing
Modified Tue Dec 18 00:47:48 2001 UTC (18 years, 2 months ago) by rogers
Fixed `modify_pixmap' so that when a pixmap is removed, we then resize
the associated object editor. Also we now set the pixmap path back to
`Void' when we remove the pixmap.


Revision 29756 - Directory Listing
Modified Tue Dec 18 00:45:43 2001 UTC (18 years, 2 months ago) by rogers
Added `rebuild_associated_editors' which will completely rebuild all
editors associated with the vision2 object passed as an argument.


Revision 29755 - Directory Listing
Modified Tue Dec 18 00:43:50 2001 UTC (18 years, 2 months ago) by rogers
Added protection in `make_empty' for calls to `lock_update'.


Revision 29752 - Directory Listing
Modified Mon Dec 17 19:01:39 2001 UTC (18 years, 2 months ago) by rogers
Removed unused locals.


Revision 29751 - Directory Listing
Modified Mon Dec 17 19:00:57 2001 UTC (18 years, 2 months ago) by rogers
Removed unreferenced locals.


Revision 29750 - Directory Listing
Modified Mon Dec 17 18:18:07 2001 UTC (18 years, 2 months ago) by rogers
Further modification to `modify_pixmap'. It appears that we only need to
pass a clone of `new_pixmap' to `add_pixmap_to_pixmap_container'.
I think the streching of the pixmap corrupted the displayed pixmap in
the container.


Revision 29749 - Directory Listing
Modified Mon Dec 17 18:12:32 2001 UTC (18 years, 2 months ago) by rogers
Corected bug when setting pixmap on an EV_CONTAINER. `Modify_pixmap'
now passes a clone of `new_pixmap' to `set_pixmap'. Before, the pixmap
that was set was completely black.


Revision 29729 - Directory Listing
Modified Sat Dec 15 00:05:20 2001 UTC (18 years, 2 months ago) by rogers
Fixed bug in `add_pixmap_to_pixmap_container'. When a pixmap was higher
than it was wide, then it was incorrectly scaled horizontally to
fit the width of the object editor. It is now scaled to remain its original
proportions.


Revision 29726 - Directory Listing
Modified Fri Dec 14 23:36:34 2001 UTC (18 years, 2 months ago) by rogers
Added `Windows_unsupported_pixmap_type' and `Unix_unsupported_pixmap_type'.


Revision 29725 - Directory Listing
Modified Fri Dec 14 23:35:11 2001 UTC (18 years, 2 months ago) by rogers
`execute' now checks the extension of the file that is being opened
in order to see if it is valid. We display a dialog if a user attempts
to open an unsupported file type. Added `valid_file_extension' to
support this.


Revision 29723 - Directory Listing
Modified Fri Dec 14 20:19:37 2001 UTC (18 years, 2 months ago) by rogers
Modified to use ISE_RUNTIME when disabling the assertions.


Revision 29692 - Directory Listing
Modified Fri Dec 14 01:21:57 2001 UTC (18 years, 2 months ago) by rogers
Fixed bugs in `minimize_tool' and `maximize' tool which would cause the
tool holder to display the pixmaps on the minimize and maximize buttons
incorrectly when selecting maximize when minimized or minimize when
maximized.


Revision 29690 - Directory Listing
Modified Fri Dec 14 01:09:52 2001 UTC (18 years, 2 months ago) by rogers
Added `icon_restore'.


Revision 29689 - Directory Listing
Modified Fri Dec 14 01:09:19 2001 UTC (18 years, 2 months ago) by rogers
Initial.


Revision 29688 - Directory Listing
Modified Fri Dec 14 01:07:45 2001 UTC (18 years, 2 months ago) by rogers
Modified `build_widget_structure' to reflect the change to
`horizontal_split_area' and `vertical_split_area' whose types have been
changed to GB_HORIZONTAL_SPLIT_AREA_TOOL_HOLDER and
GB_VERTICAL_SPLIT_AREA_TOOL_HOLDER.


Revision 29687 - Directory Listing
Modified Fri Dec 14 01:05:02 2001 UTC (18 years, 2 months ago) by rogers
Fixed bugs by redesigning implementation. `minimize' and `maximize'
now defered the processing into `tool_holder_parent'. This allows us
to have different behaviour in different holders. Before, the
implementation assumed that we were parented in a split_area and attempted
to do all the work of modifying the other tool holder. This was messy, and
not appropriate.


Revision 29686 - Directory Listing
Modified Fri Dec 14 01:01:12 2001 UTC (18 years, 2 months ago) by rogers
Removed excess empty lines.


Revision 29627 - Directory Listing
Modified Tue Dec 11 23:14:09 2001 UTC (18 years, 2 months ago) by rogers
Initial.


Revision 29625 - Directory Listing
Modified Tue Dec 11 21:00:35 2001 UTC (18 years, 2 months ago) by rogers
Initial.


Revision 29624 - Directory Listing
Modified Tue Dec 11 20:59:19 2001 UTC (18 years, 2 months ago) by rogers
Added `Icon_minimize', `Icon_maximize' and `Icon_close'.


Revision 29623 - Directory Listing
Modified Tue Dec 11 20:58:46 2001 UTC (18 years, 2 months ago) by rogers
We now add minimize and maximize buttons to the control.


Revision 29621 - Directory Listing
Modified Tue Dec 11 20:33:51 2001 UTC (18 years, 2 months ago) by rogers
Initial.


Revision 29620 - Directory Listing
Modified Tue Dec 11 20:32:07 2001 UTC (18 years, 2 months ago) by rogers
For the main structure, we now use GB_VERTICAL_SPLIT_AREA and
GB_HORIZONTAL_SPLIT_AREA instead of EV_VERTICAL_SPLIT_AREA and
EV_HORIZONTAL_SPLIT_AREA. These new areas are flat, so we now get the
appearence that we require.
The three main tools are now created and added to GB_TOOL_HOLDERs. This
allows us to display a title, and when implemented, maximize, minimize
buttons.


Revision 29609 - Directory Listing
Modified Tue Dec 11 18:10:02 2001 UTC (18 years, 2 months ago) by rogers
Formatting.


Revision 29608 - Directory Listing
Modified Tue Dec 11 18:09:44 2001 UTC (18 years, 2 months ago) by rogers
Added `Component_tool_button_warning'.


Revision 29607 - Directory Listing
Modified Tue Dec 11 18:09:06 2001 UTC (18 years, 2 months ago) by rogers
Now inherits GB_CONSTANTS. Added dialog for when the component button
is clicked on, which describes correct usage.


Revision 29605 - Directory Listing
Modified Tue Dec 11 17:48:08 2001 UTC (18 years, 2 months ago) by rogers
Removed as obsolete. This button has been replaced by a commmand.


Revision 29604 - Directory Listing
Modified Tue Dec 11 17:41:31 2001 UTC (18 years, 2 months ago) by rogers
Added tooltips to buttons in `Current'.


Revision 29602 - Directory Listing
Modified Tue Dec 11 17:22:42 2001 UTC (18 years, 2 months ago) by rogers
Re-ordered listing of `items' so that all menu items are grouped together.


Revision 29601 - Directory Listing
Modified Tue Dec 11 17:18:28 2001 UTC (18 years, 2 months ago) by rogers
We now display the type of the component to the right of the tool bar.
This gives the appearence that it is part of the tool bar.


Revision 29590 - Directory Listing
Modified Tue Dec 11 00:35:06 2001 UTC (18 years, 2 months ago) by rogers
Commented `root_element_type'.


Revision 29589 - Directory Listing
Modified Tue Dec 11 00:16:08 2001 UTC (18 years, 2 months ago) by rogers
`generate_xml' now checks `pixmap_path' instead of `pixmap' when
executing. This handles the case where a pixmap referenced in the XML no
longer exists, and is loaded. When we save the XML, we still wish to
reference the pixmap, and therefore restore the file name.


Revision 29588 - Directory Listing
Modified Mon Dec 10 23:39:12 2001 UTC (18 years, 2 months ago) by rogers
Fixed `close_current_project' so that it calls
`disable_projecT_modified'.


Revision 29587 - Directory Listing
Modified Mon Dec 10 23:20:38 2001 UTC (18 years, 2 months ago) by rogers
We now display error information if the pixmap file referenced by the
XML is no longer available.


Revision 29585 - Directory Listing
Modified Mon Dec 10 20:12:10 2001 UTC (18 years, 2 months ago) by rogers
Added checking to `modify_from_xml'. If the file does not exist then
we do not load it, and Build behaves as if no file existed.


Revision 29583 - Directory Listing
Modified Mon Dec 10 18:42:33 2001 UTC (18 years, 2 months ago) by rogers
Added tooltip to `modify_button'.


Revision 29582 - Directory Listing
Modified Mon Dec 10 18:21:12 2001 UTC (18 years, 2 months ago) by rogers
Added tooltips top buttons which allow you to select the color.


Revision 29581 - Directory Listing
Modified Mon Dec 10 18:16:53 2001 UTC (18 years, 2 months ago) by rogers
Removed `location_field' as we no longer display the location. Added
tooltips to display the location when the mouse is over the pixmap or
the area just above th button, to the right of the pixmap, simulated
with the addition of a label.


Revision 29580 - Directory Listing
Modified Mon Dec 10 18:12:57 2001 UTC (18 years, 2 months ago) by rogers
Removed `tool_bar_items' as they are now included in `items'.


Revision 29579 - Directory Listing
Modified Mon Dec 10 18:11:42 2001 UTC (18 years, 2 months ago) by rogers
Modified `initialize' so that it no longer has a seperate tree item for
tool bar items. All items are now at the same level in the tree.


Revision 29576 - Directory Listing
Modified Fri Dec 7 23:34:15 2001 UTC (18 years, 2 months ago) by rogers
`build_display_object' is no longer deferred, but now implemented in
`Current'. This has been changed as most of the descendents used the
version that is now implemented. This stops repeated code. Any descendent
that wishes to have a different imp, i.e. containers, just need to
inherit and redefine.


Revision 29575 - Directory Listing
Modified Fri Dec 7 23:30:56 2001 UTC (18 years, 2 months ago) by rogers
Removed `build_display_object' as it is now inherited from GB_OBJECT.


Revision 29574 - Directory Listing
Modified Fri Dec 7 23:30:26 2001 UTC (18 years, 2 months ago) by rogers
Added redefinition for `build_display_object' as it is no longer
deferred from GB_OBEJCT.


Revision 29572 - Directory Listing
Modified Fri Dec 7 23:27:45 2001 UTC (18 years, 2 months ago) by rogers
Removed `build_display_object' as it is now inherited from
GB_OBJECT.


Revision 29571 - Directory Listing
Modified Fri Dec 7 23:25:59 2001 UTC (18 years, 2 months ago) by rogers
Removed `build_display_object' as we now inherit this from
EV_OBJECT.


Revision 29570 - Directory Listing
Modified Fri Dec 7 23:24:57 2001 UTC (18 years, 2 months ago) by rogers
Removed `build_display_object' as it is now inherited from version in
GB_OBJECT.


Revision 29562 - Directory Listing
Modified Fri Dec 7 18:05:23 2001 UTC (18 years, 2 months ago) by rogers
We now ensure that the project is marked as not modified at the end
of `create_sytem'. It should only be flagged as modified when the
user has made a change.


Revision 29556 - Directory Listing
Modified Fri Dec 7 01:10:30 2001 UTC (18 years, 2 months ago) by rogers
Initial.


Revision 29555 - Directory Listing
Modified Fri Dec 7 01:08:22 2001 UTC (18 years, 2 months ago) by rogers
Initial version required by Build.


Revision 29554 - Directory Listing
Modified Fri Dec 7 01:05:25 2001 UTC (18 years, 2 months ago) by rogers
We now exclude EV_PIXMAPABLE from Vision2, as we have our own version
for Build. This has access to the file name of a pixmap.


Revision 29553 - Directory Listing
Modified Fri Dec 7 01:03:28 2001 UTC (18 years, 2 months ago) by rogers
We now initialize the pixmap necessary for setting pixmaps within
`build_main_window'.


Revision 29552 - Directory Listing
Modified Fri Dec 7 00:58:40 2001 UTC (18 years, 2 months ago) by rogers
Removed unusued local.


Revision 29551 - Directory Listing
Modified Fri Dec 7 00:55:49 2001 UTC (18 years, 2 months ago) by rogers
Added GB_EV_PIXMAPABLE to supported widgets.


Revision 29550 - Directory Listing
Modified Fri Dec 7 00:53:55 2001 UTC (18 years, 2 months ago) by rogers
Added `pixmap_name'.


Revision 29549 - Directory Listing
Modified Fri Dec 7 00:53:24 2001 UTC (18 years, 2 months ago) by rogers
Added "gb_ev_pixmapable" to supported_types.


Revision 29548 - Directory Listing
Modified Fri Dec 7 00:52:05 2001 UTC (18 years, 2 months ago) by rogers
Fixed `attribute_editor', we now call the Precursor from GB_EV_ANY,
instead of just creating `Result'. This ensures that the necessary
initialization is called.


Revision 29547 - Directory Listing
Modified Fri Dec 7 00:29:11 2001 UTC (18 years, 2 months ago) by rogers
Added missing comment.


Revision 29514 - Directory Listing
Modified Wed Dec 5 22:17:34 2001 UTC (18 years, 2 months ago) by rogers
Modified `build_new_object' so that we do not have to handle a menu
bar specifically.


Revision 29513 - Directory Listing
Modified Wed Dec 5 21:01:53 2001 UTC (18 years, 2 months ago) by rogers
Removed now useless precondition from `add_child_object' as it is now
inherited from GB_PARENT_OBJECT. Modified post condition also.


Revision 29512 - Directory Listing
Modified Wed Dec 5 20:55:59 2001 UTC (18 years, 2 months ago) by rogers
Modified precondition of `add_child_object', as the precondition is
now inherited from GB_PARENT_OBEJCT.


Revision 29511 - Directory Listing
Modified Wed Dec 5 20:53:55 2001 UTC (18 years, 2 months ago) by rogers
Now inherits INTERNAL. Added precondition to `add_child_object' and
added `accepts_child' as deferred.


Revision 29510 - Directory Listing
Modified Wed Dec 5 20:51:52 2001 UTC (18 years, 2 months ago) by rogers
Removed `add_menu_bar', and redefined `accepts_child' to handle this
special case.


Revision 29509 - Directory Listing
Modified Wed Dec 5 19:41:16 2001 UTC (18 years, 2 months ago) by rogers
Removed check in `build_display_object' for type being EV_TITLED_WINDOW.
This is no longer necessary as we have a GB_TITLED_WINDOW_OBJECT which
now is used instead.


Revision 29480 - Directory Listing
Modified Tue Dec 4 23:11:34 2001 UTC (18 years, 2 months ago) by rogers
The layout item is now expanded automatically when a menu bar is added.


Revision 29479 - Directory Listing
Modified Tue Dec 4 22:47:25 2001 UTC (18 years, 2 months ago) by rogers
Greatly simplified `add_object_to_output'. We no longer need to do an
explicit reverse assignment to each type, but use the new class
GB_PARENT_OBJECT. This enables us to do one reverse assignment and handle
all the parent objects in the same way.


Revision 29478 - Directory Listing
Modified Tue Dec 4 22:45:47 2001 UTC (18 years, 2 months ago) by rogers
Added `layout_item' as deferred.


Revision 29471 - Directory Listing
Modified Tue Dec 4 20:21:12 2001 UTC (18 years, 2 months ago) by rogers
Initial version of common ancestor for all objects that contain children.


Revision 29470 - Directory Listing
Modified Tue Dec 4 20:18:22 2001 UTC (18 years, 2 months ago) by rogers
Now inherits GB_PARENT_OBJECT.


Revision 29469 - Directory Listing
Modified Tue Dec 4 20:17:55 2001 UTC (18 years, 2 months ago) by rogers
Now inherits GB_PARENT_OBJECT. Changed signature of `add_child_object'
so that it takes a position. This is necessary, as `add_child_object' is
deferred in GB_PARENT_OBJECT.


Revision 29468 - Directory Listing
Modified Tue Dec 4 20:13:52 2001 UTC (18 years, 2 months ago) by rogers
Modified `add_object'. Implementation of this feature is now greatly
reduced as we make use of GB_PARENT_OBJECT class, instead of having
to do a reverse assignment to every type which contained children.


Revision 29467 - Directory Listing
Modified Tue Dec 4 20:12:05 2001 UTC (18 years, 2 months ago) by rogers
Exported creation features to GB_OBJECT_HANDLER.


Revision 29466 - Directory Listing
Modified Tue Dec 4 19:16:42 2001 UTC (18 years, 2 months ago) by rogers
Modified `add_new_object_to_output' to handle trees and tree items.


Revision 29465 - Directory Listing
Modified Tue Dec 4 18:59:09 2001 UTC (18 years, 2 months ago) by rogers
Comment.


Revision 29464 - Directory Listing
Modified Tue Dec 4 18:53:31 2001 UTC (18 years, 2 months ago) by rogers
Added support for tree items and trees.


Revision 29463 - Directory Listing
Modified Tue Dec 4 18:52:55 2001 UTC (18 years, 2 months ago) by rogers
Added support for EV_TREE_ITEM.


Revision 29462 - Directory Listing
Modified Tue Dec 4 18:52:12 2001 UTC (18 years, 2 months ago) by rogers
Initial.


Revision 29461 - Directory Listing
Modified Tue Dec 4 18:05:29 2001 UTC (18 years, 2 months ago) by rogers
Removed unused local variables.


Revision 29459 - Directory Listing
Modified Tue Dec 4 17:56:13 2001 UTC (18 years, 2 months ago) by rogers
Removed check for type in `build_display_object'. We now have the class
GB_TITLED_WINDOW_OBJECT which means that this check is no longer
necessary, as if we are a window, we will be an object of that type
instead.


Revision 29458 - Directory Listing
Modified Tue Dec 4 17:53:44 2001 UTC (18 years, 2 months ago) by rogers
Initial.


Revision 29457 - Directory Listing
Modified Tue Dec 4 17:45:50 2001 UTC (18 years, 2 months ago) by rogers
Modified `build_new_object' to handle menu bars and menus.


Revision 29456 - Directory Listing
Modified Tue Dec 4 17:44:38 2001 UTC (18 years, 2 months ago) by rogers
Modified `add_new_object_to_output' so that it correctly handles menus.


Revision 29455 - Directory Listing
Modified Tue Dec 4 17:42:42 2001 UTC (18 years, 2 months ago) by rogers
Modified `generate_structure' to correctly add the text for the extension
of a menu bar into a window. This is not the best place for this check.


Revision 29454 - Directory Listing
Modified Tue Dec 4 17:41:18 2001 UTC (18 years, 2 months ago) by rogers
object type in `make_root' is now GB_TITLED_wINDOW_OBJECT instead of
GB_CELL_OBJECT.


Revision 29453 - Directory Listing
Modified Tue Dec 4 17:39:39 2001 UTC (18 years, 2 months ago) by rogers
Exported `create_object_from_type' to GB_OBJECT as this is necessary
for dealing with menus.


Revision 29452 - Directory Listing
Modified Tue Dec 4 17:38:30 2001 UTC (18 years, 2 months ago) by rogers
Added support for EV_MENU_BAR, EV_MENU and EV_MENU_ITEM.


Revision 29451 - Directory Listing
Modified Tue Dec 4 17:37:58 2001 UTC (18 years, 2 months ago) by rogers
Added `add_object_to_objects' which is exported to GB_TITLED_WINDOW_OBJECT
and used when adding a menu bar, which is a special case addition.
Modified class to handle menu bars, menus and menu items.


Revision 29447 - Directory Listing
Modified Tue Dec 4 02:24:59 2001 UTC (18 years, 2 months ago) by rogers
Added redefinition of `is_in_default_state'.


Revision 29446 - Directory Listing
Modified Tue Dec 4 02:22:18 2001 UTC (18 years, 2 months ago) by rogers
Fixed `unparent_ev_object' to take into account menu bars.


Revision 29437 - Directory Listing
Modified Mon Dec 3 23:11:04 2001 UTC (18 years, 2 months ago) by rogers
Removed old and commeted drop actions setting in `load'.


Revision 29396 - Directory Listing
Modified Thu Nov 29 01:26:44 2001 UTC (18 years, 2 months ago) by rogers
Modified `initialize' to give a 3 pixel border width around the editor.


Revision 29388 - Directory Listing
Modified Wed Nov 28 19:40:47 2001 UTC (18 years, 2 months ago) by rogers
Fixed indent so it includes %R%N instead of %N. This means that the
generated output will now consistently use %N%R throughout the whole
file.


Revision 29387 - Directory Listing
Modified Wed Nov 28 19:39:27 2001 UTC (18 years, 2 months ago) by rogers
Now inherits EV_ANY_HANDLER so can call `default_create' on Vision2
objects.


Revision 29386 - Directory Listing
Modified Wed Nov 28 19:38:50 2001 UTC (18 years, 2 months ago) by rogers
Initial. Added top reflect changes in the Vision2 interface.


Revision 29385 - Directory Listing
Modified Wed Nov 28 19:37:34 2001 UTC (18 years, 2 months ago) by rogers
Now inherit EV_ANY_HANDLER so they can call `default_create' on a
Vision2 object.


Revision 29383 - Directory Listing
Modified Wed Nov 28 18:43:41 2001 UTC (18 years, 2 months ago) by rogers
Removed all setting and handling of the text alignment, as this is now
handled by GB_Ev_TEXT_ALIGNABLE. This change was made to reflect the
change in the Vision2 interface.


Revision 29382 - Directory Listing
Modified Wed Nov 28 18:41:24 2001 UTC (18 years, 2 months ago) by rogers
Removed handling of text attribute. This is now handled in GB_EV_TEXTABLE
as EV_TEXT_COMPONENT now inherits EV_TEXTABLE.


Revision 29381 - Directory Listing
Modified Wed Nov 28 18:39:20 2001 UTC (18 years, 2 months ago) by rogers
Added gb_ev_text_alignable to `supported_types'.


Revision 29380 - Directory Listing
Modified Wed Nov 28 18:37:02 2001 UTC (18 years, 2 months ago) by rogers
Removed EV_OPTION_BUTTON and added GB_EV_TEXT_ALIGNABLE.


Revision 29290 - Directory Listing
Modified Fri Nov 23 20:06:05 2001 UTC (18 years, 3 months ago) by rogers
Refactored `add_new_object_to_output'. It is now simpler.


Revision 29289 - Directory Listing
Modified Fri Nov 23 19:59:45 2001 UTC (18 years, 3 months ago) by rogers
Removed unused local.


Revision 29286 - Directory Listing
Modified Thu Nov 22 02:10:01 2001 UTC (18 years, 3 months ago) by rogers
Initial.


Revision 29285 - Directory Listing
Modified Thu Nov 22 02:08:42 2001 UTC (18 years, 3 months ago) by rogers
Added `Gb_cell_object_class_name' and `Gb_container_object_class_name'.


Revision 29284 - Directory Listing
Modified Thu Nov 22 02:07:43 2001 UTC (18 years, 3 months ago) by rogers
Added `component_root_element_type'.


Revision 29283 - Directory Listing
Modified Thu Nov 22 02:06:39 2001 UTC (18 years, 3 months ago) by rogers
Modified `add_new_object_to_output' to support items.


Revision 29282 - Directory Listing
Modified Thu Nov 22 02:03:05 2001 UTC (18 years, 3 months ago) by rogers
Added `unparent_ev_object'.


Revision 29281 - Directory Listing
Modified Thu Nov 22 02:02:33 2001 UTC (18 years, 3 months ago) by rogers
Added comments, removed commented lines that really were uneeded.


Revision 29280 - Directory Listing
Modified Thu Nov 22 02:01:38 2001 UTC (18 years, 3 months ago) by rogers
Modified the order of the calls within `execute' to fix a bug with item
objects being included in `objects' more than once.


Revision 29279 - Directory Listing
Modified Thu Nov 22 02:00:37 2001 UTC (18 years, 3 months ago) by rogers
Fixed bug in `execute' so that only the object being replaced is marked
as deleted, not all of its children.


Revision 29278 - Directory Listing
Modified Thu Nov 22 01:58:03 2001 UTC (18 years, 3 months ago) by rogers
Added `root_element_type' which allows us to query the root elemtn of the
component without having to build the complete object representation.


Revision 29277 - Directory Listing
Modified Thu Nov 22 01:57:15 2001 UTC (18 years, 3 months ago) by rogers
Modified to support items. `Can_add_child' has been quite radically altered
for this.


Revision 29276 - Directory Listing
Modified Thu Nov 22 01:56:19 2001 UTC (18 years, 3 months ago) by rogers
Added `items' and `tool_bar_items' as we now support various, but not
all items.


Revision 29275 - Directory Listing
Modified Thu Nov 22 01:55:28 2001 UTC (18 years, 3 months ago) by rogers
`Initialize' now builds entries for the newly supported items.


Revision 29274 - Directory Listing
Modified Thu Nov 22 01:54:27 2001 UTC (18 years, 3 months ago) by rogers
Modified `generate_drop_actions' to support items.


Revision 29273 - Directory Listing
Modified Thu Nov 22 01:52:05 2001 UTC (18 years, 3 months ago) by rogers
Modified to support items. Main changes are to `add_object' and
`build_object_from_string'.


Revision 29251 - Directory Listing
Modified Tue Nov 20 22:44:34 2001 UTC (18 years, 3 months ago) by rogers
Fixed bug in `update_scroll_bar'. We now only lock the update and
release it again if there is no loced window when we enter the feature.


Revision 29250 - Directory Listing
Modified Tue Nov 20 22:43:21 2001 UTC (18 years, 3 months ago) by rogers
Fixed `build_display_object' so that the builder window representation
of the cell will actually accept a drop in it.


Revision 29249 - Directory Listing
Modified Tue Nov 20 22:25:20 2001 UTC (18 years, 3 months ago) by rogers
Fixed bug in `build_display_object'. You can now drop into the container.


Revision 29246 - Directory Listing
Modified Tue Nov 20 20:17:40 2001 UTC (18 years, 3 months ago) by rogers
Comments.


Revision 29245 - Directory Listing
Modified Tue Nov 20 20:08:16 2001 UTC (18 years, 3 months ago) by rogers
Improved display, by locking the update of the window during
`update_scroll_bar' when the scroll bar is being shown. As this caused
the resizing twice, it was noticeably not nice.


Revision 29243 - Directory Listing
Modified Tue Nov 20 19:36:44 2001 UTC (18 years, 3 months ago) by rogers
`execute' now shrinks the size of the window back down if the window is
being hidden.


Revision 29242 - Directory Listing
Modified Tue Nov 20 19:16:59 2001 UTC (18 years, 3 months ago) by rogers
Removed `type_string' as now inherited from GB_CONSTANTS.


Revision 29241 - Directory Listing
Modified Tue Nov 20 19:15:41 2001 UTC (18 years, 3 months ago) by rogers
Added `type_string'.


Revision 29240 - Directory Listing
Modified Tue Nov 20 19:09:11 2001 UTC (18 years, 3 months ago) by rogers
Now inherit GB_SHARED_TOOLS instead of GB_SHARED_SYSTEM_STATUS for
access to the main window.


Revision 29239 - Directory Listing
Modified Tue Nov 20 19:08:27 2001 UTC (18 years, 3 months ago) by rogers
Access to the main window is now through GB_SHARED_TOOLS, instead of
GB_SYSTEM_STATUS.


Revision 29238 - Directory Listing
Modified Tue Nov 20 19:07:39 2001 UTC (18 years, 3 months ago) by rogers
Now inherit GB_SHARED_TOOLS, and `main_window' is no longer defined in
`Current' as it is now inherited.


Revision 29237 - Directory Listing
Modified Tue Nov 20 19:06:57 2001 UTC (18 years, 3 months ago) by rogers
Added `main_window'. This used to be accessible from GB_SYSTEM_SETTINGS,
but this is the appropriate place.


Revision 29236 - Directory Listing
Modified Tue Nov 20 19:06:05 2001 UTC (18 years, 3 months ago) by rogers
No longer set the main window for `system_status', as it is no longer
stored in the system status.


Revision 29235 - Directory Listing
Modified Tue Nov 20 19:04:36 2001 UTC (18 years, 3 months ago) by rogers
Removed `main_window' and `set_main_window'.


Revision 29234 - Directory Listing
Modified Tue Nov 20 18:50:29 2001 UTC (18 years, 3 months ago) by rogers
Added warning dialogs to `close_requested'.


Revision 29233 - Directory Listing
Modified Tue Nov 20 18:49:16 2001 UTC (18 years, 3 months ago) by rogers
Added `Exit_warning' and `Exit_save_warning'.


Revision 29229 - Directory Listing
Modified Tue Nov 20 17:54:29 2001 UTC (18 years, 3 months ago) by rogers
Removed useless argument to `update_object_editors_for_delete'. We now
just directly use `all_editors'.


Revision 29228 - Directory Listing
Modified Tue Nov 20 17:48:51 2001 UTC (18 years, 3 months ago) by rogers
We now store the original object that was replaced, so that when we
perform an undo, we can restore it. This means we do not loose the
properties.


Revision 29227 - Directory Listing
Modified Tue Nov 20 17:46:16 2001 UTC (18 years, 3 months ago) by rogers
Added `replace_object'. The implementation of `replace_object_type' now
calls `replace_object'.


Revision 29226 - Directory Listing
Modified Tue Nov 20 17:21:24 2001 UTC (18 years, 3 months ago) by rogers
Removed unused and commented line of code.


Revision 29225 - Directory Listing
Modified Tue Nov 20 17:19:45 2001 UTC (18 years, 3 months ago) by rogers
Simplified execution of `Current'. The old implementation was more
complicated than it needed to be.


Revision 29224 - Directory Listing
Modified Tue Nov 20 01:53:38 2001 UTC (18 years, 3 months ago) by rogers
Modified for name changes. We now use 'shared' instead of 'accessible'.


Revision 29223 - Directory Listing
Modified Tue Nov 20 01:51:59 2001 UTC (18 years, 3 months ago) by rogers
Removed unused local.


Revision 29222 - Directory Listing
Modified Tue Nov 20 01:51:35 2001 UTC (18 years, 3 months ago) by rogers
Removed unusued locals.


Revision 29221 - Directory Listing
Modified Tue Nov 20 00:42:09 2001 UTC (18 years, 3 months ago) by rogers
gb_accessible_handler.e


Revision 29219 - Directory Listing
Modified Mon Nov 19 23:38:51 2001 UTC (18 years, 3 months ago) by rogers
Removed as no longer required by system. The pick and drop mechanism has been redone so that we no longer need to rebuild the drop actions for all the
objects when shift is pressed. This makes `Current' obsolete.


Revision 29218 - Directory Listing
Modified Mon Nov 19 23:36:19 2001 UTC (18 years, 3 months ago) by rogers
Implementation of `make_from_object' now relies on `make_with_name'.


Revision 29217 - Directory Listing
Modified Mon Nov 19 23:34:42 2001 UTC (18 years, 3 months ago) by rogers
Removed inheritence from GB_PICK_AND_DROP_SHIFT_MODIFIER.
Removed `initialize_pick_actions'. Pick and drop does no longer need
to be rebuilt constantly when the shift key is pressed, so this is why
we have been able to simplify `Current'.d


Revision 29216 - Directory Listing
Modified Mon Nov 19 23:32:17 2001 UTC (18 years, 3 months ago) by rogers
Removed inheritence from `GB_PICK_AND_DROP_SHIFT_MODIFIER'. Removed
`set_up_drop_actions_for_all_objects', as no longer needed now that
the pick and drop has been simplified.


Revision 29215 - Directory Listing
Modified Mon Nov 19 23:30:27 2001 UTC (18 years, 3 months ago) by rogers
Added `add_new_component_wrapper', `add_new_object_wrapper' and
`can_add_child'. Pick and drop has been optimized so that the drop actions
do not need to be rebuilt all the time. Removed
`build_drop_action_for_new_object' and
`build_shift_drop_action_for_new_object'.


Revision 29214 - Directory Listing
Modified Mon Nov 19 23:08:50 2001 UTC (18 years, 3 months ago) by rogers
Updated to reflect the fact that `add_new_object_shift_wrapper' and
`add_new_object_in_parent_shift_wrapper' have been replaced with one
feature, `add_new_object_wrapper'.
`add_new_component_shift_wrapper' and `add_new_component_in_parent_shift_wrapper' have been replaced with
`add_new_component_wrapper'.


Revision 29212 - Directory Listing
Modified Mon Nov 19 22:44:27 2001 UTC (18 years, 3 months ago) by rogers
Fixed bug in `initialize'. `is_initialized' is set to `True' before
we disable the items and align the labels.


Revision 29211 - Directory Listing
Modified Mon Nov 19 22:42:02 2001 UTC (18 years, 3 months ago) by rogers
Removed inheritence from GB_PICK_AND_DROP_SHIFT_MODIFIER.


Revision 29210 - Directory Listing
Modified Mon Nov 19 22:37:18 2001 UTC (18 years, 3 months ago) by rogers
Removed `set_up_drop_actions_dor_all_objects',
`for_all_objects_build_drop_actions_for_new_object' and
`for_all_objects_build_shift_drop_actions_for_new_objects'.
These features are no longer required as they were used to rebuild the drop
actions for all the objects during a pick and drop when shift was pressed.
This is no longer required as we no longer modifiy the drop actions
during the drop. We are just more smart with the veto pebble function.
This is a great performance increase and simplifies the code.


Revision 29208 - Directory Listing
Modified Mon Nov 19 22:32:26 2001 UTC (18 years, 3 months ago) by rogers
Removed `build_drop_action_for_new_object', and re-implemented `is_full'.


Revision 29207 - Directory Listing
Modified Mon Nov 19 22:29:23 2001 UTC (18 years, 3 months ago) by rogers
Removed redefinition of `build_drop_action_for_new_object'.


Revision 29206 - Directory Listing
Modified Mon Nov 19 22:26:43 2001 UTC (18 years, 3 months ago) by rogers
Removed redefinition of `build_drop_action_for_new_object'. This is
no longer required, as drop actions are no longer rebuilt during
the execution of a pick and drop. We now perform all necessary
processing within the veto pebble function.


Revision 29205 - Directory Listing
Modified Mon Nov 19 22:24:23 2001 UTC (18 years, 3 months ago) by rogers
Removed implementation of `add_child_object'.


Revision 29184 - Directory Listing
Modified Fri Nov 16 19:25:09 2001 UTC (18 years, 3 months ago) by rogers
Weakened precondition on `add_object' in the case of split areas.


Revision 29183 - Directory Listing
Modified Fri Nov 16 19:24:11 2001 UTC (18 years, 3 months ago) by rogers
Fixed `add_child_object' to handle shit inserts on the first child.


Revision 29162 - Directory Listing
Modified Thu Nov 15 22:14:13 2001 UTC (18 years, 3 months ago) by rogers
Fixed bug on Windows where the scroll bar was hidden. More information
in comments of new features.


Revision 29160 - Directory Listing
Modified Thu Nov 15 20:03:20 2001 UTC (18 years, 3 months ago) by rogers
Modified `supported_types' so that it is static. This avoids the need
for us to release all the gb_ev_classes. See comment in feature for
more information.


Revision 29159 - Directory Listing
Modified Thu Nov 15 19:34:01 2001 UTC (18 years, 3 months ago) by rogers
Now inherits GB_CONSTANTS. Updated information.


Revision 29158 - Directory Listing
Modified Thu Nov 15 19:33:26 2001 UTC (18 years, 3 months ago) by rogers
We now set the title from `Product_name'.


Revision 29157 - Directory Listing
Modified Thu Nov 15 19:32:53 2001 UTC (18 years, 3 months ago) by rogers
Added `Product_name' and removed `Gb_main_window_title'.


Revision 29135 - Directory Listing
Modified Thu Nov 15 01:42:24 2001 UTC (18 years, 3 months ago) by rogers
Added support for the lower and upper values of the gauge.


Revision 29134 - Directory Listing
Modified Thu Nov 15 01:41:44 2001 UTC (18 years, 3 months ago) by rogers
Added `text' which provides access to the currently entered text.


Revision 29128 - Directory Listing
Modified Thu Nov 15 00:07:11 2001 UTC (18 years, 3 months ago) by rogers
Fixed `Modify_from_xml'. Previously, we were attempting to create one
of the new agents on an EV_TEXTABLE, instead of an
EV_TEXT_COMPONENT. This caused a segmentation violation at run time.


Revision 29122 - Directory Listing
Modified Wed Nov 14 20:13:38 2001 UTC (18 years, 3 months ago) by rogers
Fixed bug in `update_widget_expanded'. We now notify the project that
something has changed. Added missing comment.


Revision 29101 - Directory Listing
Modified Wed Nov 14 01:53:00 2001 UTC (18 years, 3 months ago) by rogers
Added inheritence from GB_ACCESSIBLE_HISTORY.
Fixed bugs with hiding the display, builder and component windows. Before,
if they were shown when `Current' was executed, when you started a new
project, their tool bar buttons still reflected the fact that they were
shown, even though they were hidden. You then also had to hit the button
twice to make them visible. We now hide the history window if it is
displayed, and wipe_out the history.


Revision 29100 - Directory Listing
Modified Wed Nov 14 01:51:02 2001 UTC (18 years, 3 months ago) by rogers
Removed old commented code.


Revision 29099 - Directory Listing
Modified Wed Nov 14 01:50:37 2001 UTC (18 years, 3 months ago) by rogers
Added `wipe_out'.


Revision 29097 - Directory Listing
Modified Wed Nov 14 00:53:44 2001 UTC (18 years, 3 months ago) by rogers
Initial.


Revision 29096 - Directory Listing
Modified Wed Nov 14 00:53:21 2001 UTC (18 years, 3 months ago) by rogers
Minor change.


Revision 29094 - Directory Listing
Modified Wed Nov 14 00:49:29 2001 UTC (18 years, 3 months ago) by rogers
Updated `Minimum_width_of_object_editor'.


Revision 29093 - Directory Listing
Modified Wed Nov 14 00:49:02 2001 UTC (18 years, 3 months ago) by rogers
Added the two commands for expanding the layout tree.


Revision 29090 - Directory Listing
Modified Wed Nov 14 00:33:38 2001 UTC (18 years, 3 months ago) by rogers
Added collapse/expand menu commands in the view menu.


Revision 29089 - Directory Listing
Modified Wed Nov 14 00:32:32 2001 UTC (18 years, 3 months ago) by rogers
Modified `set_title_from_name' so that either the type or the name is
displayed, but not both.


Revision 29085 - Directory Listing
Modified Tue Nov 13 23:18:41 2001 UTC (18 years, 3 months ago) by rogers
Modified `initialize' so that the primitives/containers are expanded
as default.


Revision 29084 - Directory Listing
Modified Tue Nov 13 23:11:33 2001 UTC (18 years, 3 months ago) by rogers
We now give some default sizing to the split areas.


Revision 29083 - Directory Listing
Modified Tue Nov 13 23:08:07 2001 UTC (18 years, 3 months ago) by rogers
Added `default_height_of_type_selector'.


Revision 29080 - Directory Listing
Modified Tue Nov 13 22:56:49 2001 UTC (18 years, 3 months ago) by rogers
Added `default_width_of_type_selector'.


Revision 29079 - Directory Listing
Modified Tue Nov 13 22:56:14 2001 UTC (18 years, 3 months ago) by rogers
Modified `perform_close' to hide the builder_window, display_window
and component viewer.


Revision 29077 - Directory Listing
Modified Tue Nov 13 22:45:14 2001 UTC (18 years, 3 months ago) by rogers
Fixed crash when saving/reloading an empty title.


Revision 29070 - Directory Listing
Modified Tue Nov 13 20:45:16 2001 UTC (18 years, 3 months ago) by rogers
in `build_new_object' and `new_object', removed the component check
before calling `add_object' to gb_ev_any. This was causing the display
view to not include properties of widgets when a component was dropped in
an object.


Revision 29069 - Directory Listing
Modified Tue Nov 13 20:16:05 2001 UTC (18 years, 3 months ago) by rogers
Removed commented undefine.


Revision 29068 - Directory Listing
Modified Tue Nov 13 19:59:55 2001 UTC (18 years, 3 months ago) by rogers
Added `clear_deferred' which is exported to GB_XML_OBJECT_BUILDER.
This is used stops a crash you could reproduce by picking a couple of
components, with boxes in, cancelling the pick. Saving your project and
opening a new project, which would cause a crash.


Revision 29067 - Directory Listing
Modified Tue Nov 13 19:58:24 2001 UTC (18 years, 3 months ago) by rogers
Now inherit GB_ACCESSIBLE_DEFERRED_BUILDER. `new_object' now
clears the deferred building objects generated if we are creating a
component.


Revision 29059 - Directory Listing
Modified Tue Nov 13 17:59:06 2001 UTC (18 years, 3 months ago) by rogers
Minor modification to reflect change in GB_ACCESSIBLE_OBJECT_EDITOR.


Revision 29058 - Directory Listing
Modified Tue Nov 13 17:58:27 2001 UTC (18 years, 3 months ago) by rogers
Now ignore CVS directories.


Revision 29057 - Directory Listing
Modified Tue Nov 13 17:57:26 2001 UTC (18 years, 3 months ago) by rogers
Modifications to reflect that GB_ACCESSBILE_OBJECT_EDITOR now inherits
GB_CONSTANTS, and therefore there is no need to undefine certain
features any more.


Revision 29056 - Directory Listing
Modified Tue Nov 13 17:55:24 2001 UTC (18 years, 3 months ago) by rogers
Now inherits GB_CONSTANTS.


Revision 29054 - Directory Listing
Modified Tue Nov 13 17:53:44 2001 UTC (18 years, 3 months ago) by rogers
Added `default_floating_object_editor'. Modified components directory and
file name.


Revision 29053 - Directory Listing
Modified Tue Nov 13 17:29:25 2001 UTC (18 years, 3 months ago) by rogers
Comments, renaming. Gneral tidying.


Revision 29046 - Directory Listing
Modified Tue Nov 13 04:04:50 2001 UTC (18 years, 3 months ago) by rogers
Fixed `textual_representation' to use names if objects are named.


Revision 29045 - Directory Listing
Modified Tue Nov 13 04:02:11 2001 UTC (18 years, 3 months ago) by rogers
Updated `textual_representation' to use names if the objects are named.


Revision 29044 - Directory Listing
Modified Tue Nov 13 03:40:16 2001 UTC (18 years, 3 months ago) by rogers
Modified comment at top.


Revision 29043 - Directory Listing
Modified Tue Nov 13 03:10:55 2001 UTC (18 years, 3 months ago) by rogers
Fixed bug in `add_set'. If we were working with an EV_TITLED_WINDOW, then
when attempting to modify the setting accorodingly, we break the
pre condition  on the 'string @ 1'. This will work correctly with out
assertions however.


Revision 29042 - Directory Listing
Modified Tue Nov 13 03:01:22 2001 UTC (18 years, 3 months ago) by rogers
Removed unsupported containers.


Revision 29039 - Directory Listing
Modified Tue Nov 13 02:28:43 2001 UTC (18 years, 3 months ago) by rogers
Fixed bug in `valid_file_name'. We only try to create `file' if
`file_name' is not empty. We know that an empty file name is not valid.


Revision 29038 - Directory Listing
Modified Tue Nov 13 02:09:38 2001 UTC (18 years, 3 months ago) by rogers
Fixed bug in `execute'. If you cancelled, before the dialog would keep
being re-shown. This was not good.


Revision 29036 - Directory Listing
Modified Tue Nov 13 01:11:13 2001 UTC (18 years, 3 months ago) by rogers
Modified minimu width of object editor.


Revision 29035 - Directory Listing
Modified Tue Nov 13 01:10:45 2001 UTC (18 years, 3 months ago) by rogers
Test attempt at scrollbar.


Revision 29034 - Directory Listing
Modified Tue Nov 13 00:50:19 2001 UTC (18 years, 3 months ago) by king
Updated to include expat statically


Revision 29028 - Directory Listing
Modified Mon Nov 12 17:23:14 2001 UTC (18 years, 3 months ago) by rogers
Removed accelerator.


Revision 28976 - Directory Listing
Modified Fri Nov 9 23:58:27 2001 UTC (18 years, 3 months ago) by rogers
Temporary fix for name change bug in
`update_visual_representations_on_name_change'.


Revision 28975 - Directory Listing
Modified Fri Nov 9 23:46:16 2001 UTC (18 years, 3 months ago) by rogers
When you change a type, the name is now a valid name for other components.


Revision 28974 - Directory Listing
Modified Fri Nov 9 23:00:16 2001 UTC (18 years, 3 months ago) by rogers
Changed `object' to GB_OBJECT from EV_WIDGET.


Revision 28973 - Directory Listing
Modified Fri Nov 9 22:59:30 2001 UTC (18 years, 3 months ago) by rogers
Removed `force_object_to_component'.


Revision 28972 - Directory Listing
Modified Fri Nov 9 22:58:57 2001 UTC (18 years, 3 months ago) by rogers
Added `force_object_to_component'.


Revision 28971 - Directory Listing
Modified Fri Nov 9 22:58:11 2001 UTC (18 years, 3 months ago) by rogers
Modified to take account changes required for calls to `new_object'.


Revision 28970 - Directory Listing
Modified Fri Nov 9 22:56:52 2001 UTC (18 years, 3 months ago) by rogers
We now pass a boolean argument to `new_object' which specifies whether
or not we are building a component.


Revision 28969 - Directory Listing
Modified Fri Nov 9 22:54:33 2001 UTC (18 years, 3 months ago) by rogers
Fixed bug in `recursive_do_all' which was not doing all correctly.


Revision 28954 - Directory Listing
Modified Fri Nov 9 17:55:37 2001 UTC (18 years, 3 months ago) by rogers
gb_component_selector.e


Revision 28943 - Directory Listing
Modified Fri Nov 9 03:25:16 2001 UTC (18 years, 3 months ago) by rogers
Added `show_usage_dialog' which is used when a user clicks on a toolbar
item representation of the current command. As they are supposed to
drop on this, and not click, we need to inform them the correct usage
of the button.


Revision 28942 - Directory Listing
Modified Fri Nov 9 03:24:09 2001 UTC (18 years, 3 months ago) by rogers
Added `Object_editor_button_warning'.


Revision 28941 - Directory Listing
Modified Fri Nov 9 03:13:52 2001 UTC (18 years, 3 months ago) by rogers
Changed name to be displayed in window ro `EiffelBuild'.


Revision 28940 - Directory Listing
Modified Fri Nov 9 03:08:47 2001 UTC (18 years, 3 months ago) by rogers
Removed old reference to GB_CODE_GENERERATION_TOOL_BAR_BUTTON


Revision 28939 - Directory Listing
Modified Fri Nov 9 03:04:01 2001 UTC (18 years, 3 months ago) by rogers
Removed as no longer needed.


Revision 28937 - Directory Listing
Modified Fri Nov 9 03:02:57 2001 UTC (18 years, 3 months ago) by rogers
We now use generation_command from `command_handler' when generating
menu items and tool bar items. This fixes the problem with a command
that was not correctly linked in both implementations.


Revision 28936 - Directory Listing
Modified Fri Nov 9 03:01:36 2001 UTC (18 years, 3 months ago) by rogers
Modified an export clause to reflect the change of usage in build
from GB_CODE_GENERATION_TOOL_BAR_BUTTON to GB_GENERATION_COMMAND.


Revision 28935 - Directory Listing
Modified Fri Nov 9 03:00:34 2001 UTC (18 years, 3 months ago) by rogers
Added `execute_if_executable' which is now linked to accelerators. Fixes bug.


Revision 28934 - Directory Listing
Modified Fri Nov 9 02:59:54 2001 UTC (18 years, 3 months ago) by rogers
Added `generation_command'.


Revision 28933 - Directory Listing
Modified Fri Nov 9 02:59:29 2001 UTC (18 years, 3 months ago) by rogers
Initial.


Revision 28932 - Directory Listing
Modified Fri Nov 9 02:29:01 2001 UTC (18 years, 3 months ago) by rogers
In `make', we now clone the about dialog, so that next time we create the
dialog, we can place a new pixmap in. this stops a crash when showing the
window more than once.


Revision 28931 - Directory Listing
Modified Fri Nov 9 02:26:06 2001 UTC (18 years, 3 months ago) by rogers
Added `assign_command_accelerators_to_window' which is executed while
initializing `Current'. This adds all of the accelerator commands
to `Current'.


Revision 28930 - Directory Listing
Modified Fri Nov 9 02:24:56 2001 UTC (18 years, 3 months ago) by rogers
Added accelerators.


Revision 28929 - Directory Listing
Modified Fri Nov 9 02:24:36 2001 UTC (18 years, 3 months ago) by rogers
Exported `all_commands' to GB_MAIN_WINDOW.


Revision 28928 - Directory Listing
Modified Fri Nov 9 02:18:52 2001 UTC (18 years, 3 months ago) by rogers
Added close request actions which destroy the application.


Revision 28927 - Directory Listing
Modified Fri Nov 9 02:05:48 2001 UTC (18 years, 3 months ago) by rogers
Added a comfirmation dialog if you are creating a project over one
that already exists.


Revision 28926 - Directory Listing
Modified Fri Nov 9 01:49:05 2001 UTC (18 years, 3 months ago) by rogers
About dialog text now has threee dots. Modified `project_filename'.
Added `project_exists_warning'.


Revision 28925 - Directory Listing
Modified Fri Nov 9 01:47:10 2001 UTC (18 years, 3 months ago) by king
Updated unix ace


Revision 28922 - Directory Listing
Modified Fri Nov 9 00:45:02 2001 UTC (18 years, 3 months ago) by rogers
Fixed bug in `generate_xml'. We only now add the names string if it
is not empty. Without this, a crash was occuring during code generation.


Revision 28911 - Directory Listing
Modified Fri Nov 9 00:22:55 2001 UTC (18 years, 3 months ago) by rogers
Fixed bug in `set_object'. Where we have implemented the hack to fix the
name change, we were not using a history command, so the change was never
added to the history. We now use a command, so if this is executes,
we do get the new history command added.


Revision 28902 - Directory Listing
Modified Thu Nov 8 23:14:13 2001 UTC (18 years, 3 months ago) by rogers
We now return the user back to the open dialog when an invalid project is selec.


Revision 28901 - Directory Listing
Modified Thu Nov 8 23:13:24 2001 UTC (18 years, 3 months ago) by rogers
Load now only assigns values if the file really was loaded successfully.


Revision 28900 - Directory Listing
Modified Thu Nov 8 23:03:56 2001 UTC (18 years, 3 months ago) by rogers
Handling for invalid project files added.


Revision 28899 - Directory Listing
Modified Thu Nov 8 23:02:32 2001 UTC (18 years, 3 months ago) by rogers
Minor modification to add more color.


Revision 28890 - Directory Listing
Modified Thu Nov 8 20:32:10 2001 UTC (18 years, 3 months ago) by rogers
Added `invalid_project_warning.


Revision 28889 - Directory Listing
Modified Thu Nov 8 20:31:44 2001 UTC (18 years, 3 months ago) by rogers
Added `last_load_successful' for querying whether the last call to
`load_file' was successful. We now display an error dialog if the
file was not correct.


Revision 28879 - Directory Listing
Modified Thu Nov 8 18:21:03 2001 UTC (18 years, 3 months ago) by rogers
Fixed bug in `generate_drop_actions'. We now check that the object
being picked is not a window. If it is, then we do not allow the drop.
Now inherits GB_CONSTANTS.


Revision 28878 - Directory Listing
Modified Thu Nov 8 18:13:52 2001 UTC (18 years, 3 months ago) by rogers
Updated to give more user feedback.


Revision 28877 - Directory Listing
Modified Thu Nov 8 18:11:53 2001 UTC (18 years, 3 months ago) by rogers
Added `progress_bar' and `set_progress_bar'. During generation, the
progress bar is updated automatically to show a rough estimation of
the current progress.


Revision 28876 - Directory Listing
Modified Thu Nov 8 18:10:32 2001 UTC (18 years, 3 months ago) by rogers
Rebuilt, so it is now a progress and successful indicator, rather than
an option selection dialog. The options which were previously selected from
 here are now in the project settings dialog.


Revision 28866 - Directory Listing
Modified Thu Nov 8 01:18:06 2001 UTC (18 years, 3 months ago) by rogers
Fixed bug in `add_object' so that it only adds an object to `objects'
if it is not already contained. Strengthened postcondition on `add_object'
to check for this.


Revision 28864 - Directory Listing
Modified Thu Nov 8 01:04:45 2001 UTC (18 years, 3 months ago) by rogers
Generated path is now completely lowercase.


Revision 28863 - Directory Listing
Modified Thu Nov 8 01:02:54 2001 UTC (18 years, 3 months ago) by rogers
Fixed so that object editors referencing `Current' are modified
when the command is executed.


Revision 28862 - Directory Listing
Modified Thu Nov 8 01:02:01 2001 UTC (18 years, 3 months ago) by rogers
Removed now obsolete warning message.


Revision 28861 - Directory Listing
Modified Thu Nov 8 00:25:13 2001 UTC (18 years, 3 months ago) by rogers
Fixed bug where when deleting an object, parent representations were
not rebuilt in the object editors. This is necessary for containers
such as boxes, where their representations in the object editors are
dependent on their items.


Revision 28859 - Directory Listing
Modified Wed Nov 7 23:29:32 2001 UTC (18 years, 3 months ago) by rogers
Changed `Generation_directory' to lower_case.


Revision 28857 - Directory Listing
Modified Wed Nov 7 22:55:26 2001 UTC (18 years, 3 months ago) by rogers
Removed commented code.


Revision 28856 - Directory Listing
Modified Wed Nov 7 22:39:51 2001 UTC (18 years, 3 months ago) by rogers
renamed `remove_editor' to `remove_floating_object_editor' and modified
`Current' accorsingly. Added `destroy_floating_editors' which removes
all floating object editors.


Revision 28855 - Directory Listing
Modified Wed Nov 7 22:37:09 2001 UTC (18 years, 3 months ago) by rogers
Removed `window_parent' as we now inherit `parent_window' from
GB_WIDGET_UTILITIES which is the general purpose version. Updated `Current'
to reflect this.


Revision 28854 - Directory Listing
Modified Wed Nov 7 22:34:29 2001 UTC (18 years, 3 months ago) by rogers
Fixed a bug in `parent_window'. Previously, passing a widget that
was not parented in a window would cause a crash to occur. Now we
return `Void' as a Result.


Revision 28852 - Directory Listing
Modified Wed Nov 7 22:32:36 2001 UTC (18 years, 3 months ago) by rogers
When showing a dialog modally from `Current', we have updated to reflect
the fact that an object editor does not have a command to find its
window parent any more. We use the inherited version from
GB_WIDGET_UTILITIES from within this class and pass the editor as an
argument.


Revision 28851 - Directory Listing
Modified Wed Nov 7 22:29:38 2001 UTC (18 years, 3 months ago) by rogers
Fixed `perform_close'. We now call `destroy_floating_editors' which
really removes the editor from the list of floating editors, destroys the
editor and destroys the window. Previously, we just pruned the editor
from our internal list which was leading to problems and was not really
what we wanted.


Revision 28850 - Directory Listing
Modified Wed Nov 7 22:26:56 2001 UTC (18 years, 3 months ago) by rogers
Fixed bug in `update_object_editors_for_delete'. We now remove the
deleted editor from `floating_object_editors' and destroy the editor
and also the window containing it.


Revision 28847 - Directory Listing
Modified Wed Nov 7 20:38:13 2001 UTC (18 years, 3 months ago) by rogers
Comments.


Revision 28846 - Directory Listing
Modified Wed Nov 7 20:30:59 2001 UTC (18 years, 3 months ago) by rogers
Removed empty feature clauses.


Revision 28832 - Directory Listing
Modified Wed Nov 7 18:38:42 2001 UTC (18 years, 3 months ago) by rogers
Initial.


Revision 28831 - Directory Listing
Modified Wed Nov 7 18:35:47 2001 UTC (18 years, 3 months ago) by rogers
Removed as replaced by build_class_template.


Revision 28830 - Directory Listing
Modified Wed Nov 7 18:03:09 2001 UTC (18 years, 3 months ago) by rogers
Committed to compile. CUrrently being modified still.


Revision 28829 - Directory Listing
Modified Wed Nov 7 17:49:34 2001 UTC (18 years, 3 months ago) by rogers
Initial.


Revision 28827 - Directory Listing
Modified Wed Nov 7 17:46:40 2001 UTC (18 years, 3 months ago) by rogers
Removed unecessary fixme's.


Revision 28826 - Directory Listing
Modified Wed Nov 7 17:40:51 2001 UTC (18 years, 3 months ago) by rogers
Added `select_current_history_position' which will select the item
representing the current history position.


Revision 28818 - Directory Listing
Modified Wed Nov 7 02:07:29 2001 UTC (18 years, 3 months ago) by rogers
Initial.


Revision 28817 - Directory Listing
Modified Wed Nov 7 02:06:28 2001 UTC (18 years, 3 months ago) by rogers
Made `set_up_user_events' and associated features exported to {NONE}.


Revision 28816 - Directory Listing
Modified Wed Nov 7 02:05:24 2001 UTC (18 years, 3 months ago) by rogers
Added GB_EV_TEXT_COMPONENT.


Revision 28815 - Directory Listing
Modified Wed Nov 7 01:53:23 2001 UTC (18 years, 3 months ago) by rogers
Fixed bug in `names_from_string' when all names empty, there infinite loop.


Revision 28805 - Directory Listing
Modified Wed Nov 7 00:02:11 2001 UTC (18 years, 3 months ago) by rogers
Improved `textual_representation' to give a better message when a name
is removed.


Revision 28804 - Directory Listing
Modified Tue Nov 6 23:59:04 2001 UTC (18 years, 3 months ago) by rogers
Fixed bug in `update_name_when_return_pressed'. We now only store the
name if it has changed. Before, we had a history entry every time, even
though the name had not changed.


Revision 28803 - Directory Listing
Modified Tue Nov 6 23:51:37 2001 UTC (18 years, 3 months ago) by rogers
`ok_action' now saves the edited settings to disk. Previously, we never
actually saved the settings which was a bug.


Revision 28802 - Directory Listing
Modified Tue Nov 6 23:45:31 2001 UTC (18 years, 3 months ago) by rogers
Removed unused features.


Revision 28801 - Directory Listing
Modified Tue Nov 6 23:31:43 2001 UTC (18 years, 3 months ago) by rogers
Added `template_file_location'. Other paths where applicable are now
built using this location.


Revision 28800 - Directory Listing
Modified Tue Nov 6 23:26:25 2001 UTC (18 years, 3 months ago) by rogers
We now actually go ahaead and generate directly from `Current'. A dialog
is also displayed.


Revision 28799 - Directory Listing
Modified Tue Nov 6 23:25:14 2001 UTC (18 years, 3 months ago) by rogers
Initial.


Revision 28798 - Directory Listing
Modified Tue Nov 6 23:24:52 2001 UTC (18 years, 3 months ago) by rogers
Added new constants associated with template files.


Revision 28797 - Directory Listing
Modified Tue Nov 6 23:23:54 2001 UTC (18 years, 3 months ago) by rogers
Now inherit GB_ACCESSIBLE_OBJECT_EDITOR. `Execute' now calls
`force_name_change_completion_on_all_editors', which fixes a saving bug
where clicking save while editing a name would not save the currently
edited name.


Revision 28796 - Directory Listing
Modified Tue Nov 6 23:22:19 2001 UTC (18 years, 3 months ago) by rogers
Modified so that XML saving and code generation is smarter.
We do not save or generate values that are default.


Revision 28795 - Directory Listing
Modified Tue Nov 6 23:22:00 2001 UTC (18 years, 3 months ago) by rogers
Removed redundent check button.


Revision 28794 - Directory Listing
Modified Tue Nov 6 23:21:30 2001 UTC (18 years, 3 months ago) by rogers
Fixed width setting, that was actually calling the height setting.


Revision 28793 - Directory Listing
Modified Tue Nov 6 23:17:51 2001 UTC (18 years, 3 months ago) by rogers
Completed implementation. Values are now stored/retrieved and code gen.


Revision 28792 - Directory Listing
Modified Tue Nov 6 23:15:12 2001 UTC (18 years, 3 months ago) by rogers
Added `force_name_change_completion_on_all_editor' which forces
all editors to either accept or reject the currently edited name if any.


Revision 28791 - Directory Listing
Modified Tue Nov 6 23:14:17 2001 UTC (18 years, 3 months ago) by rogers
Extracted code from `generate' into seperate features. Comments,
formatting.


Revision 28790 - Directory Listing
Modified Tue Nov 6 23:13:21 2001 UTC (18 years, 3 months ago) by rogers
Comments.


Revision 28789 - Directory Listing
Modified Tue Nov 6 23:12:54 2001 UTC (18 years, 3 months ago) by rogers
Added `has_object' and moved `end_name_change_on_object' to a different
feature clause so it is exported to GB_ACCESSIBLE_OBJECT_EDITOR.


Revision 28788 - Directory Listing
Modified Tue Nov 6 22:49:52 2001 UTC (18 years, 3 months ago) by king
Corrected Ace for external dependancies


Revision 28787 - Directory Listing
Modified Tue Nov 6 22:22:28 2001 UTC (18 years, 3 months ago) by rogers
Added GB_EV_NOTEBOOK to supported widgets.


Revision 28761 - Directory Listing
Modified Mon Nov 5 17:44:13 2001 UTC (18 years, 3 months ago) by rogers
Now inherit GB_COMMAND_HANDLER, and update the associated command
when shown using ctrl right click.


Revision 28760 - Directory Listing
Modified Mon Nov 5 17:26:54 2001 UTC (18 years, 3 months ago) by rogers
New icons


Revision 28759 - Directory Listing
Modified Mon Nov 5 17:20:13 2001 UTC (18 years, 3 months ago) by rogers
Modified to use new icon.


Revision 28758 - Directory Listing
Modified Mon Nov 5 17:19:17 2001 UTC (18 years, 3 months ago) by rogers
Modified to use new icons.


Revision 28757 - Directory Listing
Modified Mon Nov 5 17:18:21 2001 UTC (18 years, 3 months ago) by rogers
`cancel_edited_name' and `accept_edited_name' now both modify the
text of `layout_item'.


Revision 28756 - Directory Listing
Modified Mon Nov 5 17:17:05 2001 UTC (18 years, 3 months ago) by rogers
Fixed a bug by modifying `set_object'. See comment in feature for more
information.


Revision 28755 - Directory Listing
Modified Mon Nov 5 17:11:41 2001 UTC (18 years, 3 months ago) by rogers
Modified icon used. Added a default cancel button.


Revision 28754 - Directory Listing
Modified Mon Nov 5 17:10:59 2001 UTC (18 years, 3 months ago) by rogers
Removed commented pixmaps, and added new ones that are used now.


Revision 28752 - Directory Listing
Modified Mon Nov 5 17:10:14 2001 UTC (18 years, 3 months ago) by rogers
Updated to use new icon.


Revision 28751 - Directory Listing
Modified Mon Nov 5 17:09:59 2001 UTC (18 years, 3 months ago) by rogers
Removed redefinition of `execute' and `executable' as we no longer
do anything when the button is clicked on, only when an object is
dropped on it. Updated to use new icon.


Revision 28750 - Directory Listing
Modified Mon Nov 5 17:04:01 2001 UTC (18 years, 3 months ago) by rogers
Fixed bug in `remove_slection'. There may not be anything selected in
the history dialog if we are currently at the very first place in
the history. This would cause a call to `remove_selection' to fail.


Revision 28734 - Directory Listing
Modified Fri Nov 2 19:09:49 2001 UTC (18 years, 3 months ago) by rogers
Initial.


Revision 28733 - Directory Listing
Modified Fri Nov 2 19:08:28 2001 UTC (18 years, 3 months ago) by rogers
Added `Duplicate_name_warning_part1' and `Duplicate_name_warning_part2'.


Revision 28732 - Directory Listing
Modified Fri Nov 2 19:07:43 2001 UTC (18 years, 3 months ago) by rogers
Removed now unecessary undefinition.


Revision 28731 - Directory Listing
Modified Fri Nov 2 19:07:11 2001 UTC (18 years, 3 months ago) by rogers
Removed now unecessary undefinitaions.


Revision 28730 - Directory Listing
Modified Fri Nov 2 19:06:28 2001 UTC (18 years, 3 months ago) by rogers
We now mark the object as deleted or not deleted as appropriate.
This is required for the history to work correctly.


Revision 28729 - Directory Listing
Modified Fri Nov 2 19:05:37 2001 UTC (18 years, 3 months ago) by rogers
Now exlicitly inherits ANY.


Revision 28728 - Directory Listing
Modified Fri Nov 2 19:04:13 2001 UTC (18 years, 3 months ago) by rogers
Modified redefinitions to account for minor changes to some of the accessible classes.


Revision 28727 - Directory Listing
Modified Fri Nov 2 19:03:20 2001 UTC (18 years, 3 months ago) by rogers
Improved comment.


Revision 28726 - Directory Listing
Modified Fri Nov 2 19:02:55 2001 UTC (18 years, 3 months ago) by rogers
Added `edited_name', `cancel_edited_name', `accept_edited_name' and
`output_name'. These are used for when a name is being edited, and
an incorrect name is entered, we need to be able to easily restore the
name to the name at the start of the edit.


Revision 28725 - Directory Listing
Modified Fri Nov 2 19:01:30 2001 UTC (18 years, 3 months ago) by rogers
Updated to now fix the bug where objects could all be named to the
same name. When you start to edit in the name field of `Current',
the text turns red when the text is not currently a valid name.
When the text field looses the foucs, we assign the name if it is valid.
If it is not, then restore the old name. Pressing return, now brings up
a dialog if the name is invalid.


Revision 28722 - Directory Listing
Modified Fri Nov 2 18:52:01 2001 UTC (18 years, 3 months ago) by rogers
Added `mark_as_deleted', `mark_existing', `named_object_exists' and
`deleted_objects'. All objects are now held in `deleted_objects' when
they have been deleted, instead of `objects'. `mark_as_deleted' moves
an object and all its children into ``deleted_objects' and
`mark_existing' restores them to `objects'. This functionality was added
for the history to work correctly, as we need to be able to distinguish
when an object really was deleted.


Revision 28678 - Directory Listing
Modified Thu Nov 1 17:17:27 2001 UTC (18 years, 3 months ago) by rogers
Added `set_title_from_name' which stes the title of the containing
window to the current name and type. Fixed bug in
`update_visual_representations_on_name_change' where we were setting
the caret position too high.


Revision 28673 - Directory Listing
Modified Thu Nov 1 00:26:41 2001 UTC (18 years, 3 months ago) by rogers
We now use GB_INTEGER_INPUT_FIELD for integer values.


Revision 28672 - Directory Listing
Modified Thu Nov 1 00:21:22 2001 UTC (18 years, 3 months ago) by rogers
Initial.


Revision 28660 - Directory Listing
Modified Wed Oct 31 18:50:19 2001 UTC (18 years, 3 months ago) by rogers
Changed order of destruction in `update_object_editors_for_delete.  Fixs V2 bug.


Revision 28659 - Directory Listing
Modified Wed Oct 31 18:48:59 2001 UTC (18 years, 3 months ago) by rogers
`all_editors' now uses clone instead of make_from_array.


Revision 28648 - Directory Listing
Modified Wed Oct 31 17:25:12 2001 UTC (18 years, 3 months ago) by rogers
Fixed `ad_child_object' to take into the account the case when we fill
the split area, remove the first, and then add another


Revision 28610 - Directory Listing
Modified Wed Oct 31 01:14:26 2001 UTC (18 years, 3 months ago) by rogers
Removed as we now use a command for this.


Revision 28608 - Directory Listing
Modified Wed Oct 31 01:10:16 2001 UTC (18 years, 3 months ago) by rogers
Removed unused locals from `tool_bar'.


Revision 28607 - Directory Listing
Modified Wed Oct 31 00:29:33 2001 UTC (18 years, 3 months ago) by rogers
We now call update the command handler instead of updating the button
sensitivity on the history.


Revision 28606 - Directory Listing
Modified Wed Oct 31 00:28:43 2001 UTC (18 years, 3 months ago) by rogers
Removed `redo_button' and `undo_button' as they are no longer needed now
that wwe have commands to represent undo and redo.


Revision 28605 - Directory Listing
Modified Wed Oct 31 00:23:58 2001 UTC (18 years, 3 months ago) by rogers
`tool_bar' has been updated now that undo and redo are commands instead of
just buttons.


Revision 28604 - Directory Listing
Modified Wed Oct 31 00:22:05 2001 UTC (18 years, 3 months ago) by rogers
Initial.


Revision 28603 - Directory Listing
Modified Wed Oct 31 00:21:40 2001 UTC (18 years, 3 months ago) by rogers
`undo' now updates th command handler.


Revision 28602 - Directory Listing
Modified Wed Oct 31 00:18:32 2001 UTC (18 years, 3 months ago) by rogers
Added `redo_command' and `undo_command'.


Revision 28600 - Directory Listing
Modified Tue Oct 30 23:33:18 2001 UTC (18 years, 3 months ago) by rogers
Modified export status of certain features.


Revision 28599 - Directory Listing
Modified Tue Oct 30 23:32:45 2001 UTC (18 years, 3 months ago) by rogers
Initial.


Revision 28598 - Directory Listing
Modified Tue Oct 30 23:32:18 2001 UTC (18 years, 3 months ago) by rogers
Removed `update_object_editors_for_delete'. `delete_object' now creates
a GB_COMMAND_DELETE_OBJECT and works with that as deleting an object is
now an undoable command.


Revision 28597 - Directory Listing
Modified Tue Oct 30 20:56:03 2001 UTC (18 years, 3 months ago) by rogers
`attribute_editor' now calls `update_attribute_editor' which fixes a bug
where the wrong frame style was displayed initially.


Revision 28596 - Directory Listing
Modified Tue Oct 30 20:27:54 2001 UTC (18 years, 3 months ago) by rogers
`set_up_drop_actions' is now also exported to GB_TYPE_SELECTOR_ITEM.
Fixed bug in `Set_up_drop_actions'. We now wipe out the drop actions
for an item, if `an_object' obejct is void. i.e. a pick occurred from a
type, not an object.


Revision 28595 - Directory Listing
Modified Tue Oct 30 20:24:11 2001 UTC (18 years, 3 months ago) by rogers
Now inherits GB_ACCESSIBLE. `generate_transportable' now updates the
drop actions for all the children of the type selector. This fixes a bug
when replacing a container object with a container, and then picking
from the container type. You could then drop the type on another type, as
the previous pick from the container object had set the drop actions for
all the layout items, which had not been reset when the pick on the type
started.


Revision 28592 - Directory Listing
Modified Tue Oct 30 19:28:33 2001 UTC (18 years, 3 months ago) by rogers
We now only allow the dialog to be closed when cancel was pressed,
or a filename that exists was entered. If a file name that does not exist
was entered then we show the dialog again. Added `valid_file_name' used
for checking if the file exists.


Revision 28591 - Directory Listing
Modified Tue Oct 30 18:35:53 2001 UTC (18 years, 3 months ago) by rogers
Added missing comment.


Revision 28589 - Directory Listing
Modified Tue Oct 30 18:10:19 2001 UTC (18 years, 3 months ago) by rogers
Frame style combo box is now non editable.


Revision 28588 - Directory Listing
Modified Tue Oct 30 18:08:41 2001 UTC (18 years, 3 months ago) by rogers
The alignment combo box is now disabled.


Revision 28587 - Directory Listing
Modified Tue Oct 30 18:01:29 2001 UTC (18 years, 3 months ago) by rogers
Added `Delete_component_warning'.


Revision 28586 - Directory Listing
Modified Tue Oct 30 18:00:49 2001 UTC (18 years, 3 months ago) by rogers
load now hides and then shows the builder window and display window.


Revision 28585 - Directory Listing
Modified Tue Oct 30 17:56:10 2001 UTC (18 years, 3 months ago) by rogers
Added `remove_component' which removes a named component from
`component_document'.


Revision 28584 - Directory Listing
Modified Tue Oct 30 17:53:46 2001 UTC (18 years, 3 months ago) by rogers
Added `delete_component'. Comments.


Revision 28583 - Directory Listing
Modified Tue Oct 30 17:53:00 2001 UTC (18 years, 3 months ago) by rogers
Now inherits GB_ACCESSIBLE_SYSTEM_STATUS and
GB_ACCESSIBLE_XML_HANDLER. Added `delete_component' which removes a
named component.


Revision 28574 - Directory Listing
Modified Tue Oct 30 01:53:50 2001 UTC (18 years, 3 months ago) by rogers
Added inheritence from GB_PICK_AND_DROP_SHIFT_MODIFIER.
You can now perform a shift pick from `Current'.


Revision 28573 - Directory Listing
Modified Tue Oct 30 01:46:28 2001 UTC (18 years, 3 months ago) by rogers
Closing the window now calls `execute' on the hide/show command.


Revision 28572 - Directory Listing
Modified Tue Oct 30 01:32:19 2001 UTC (18 years, 3 months ago) by rogers
`execute' no longer calls command_handler.update.


Revision 28571 - Directory Listing
Modified Mon Oct 29 23:56:15 2001 UTC (18 years, 3 months ago) by rogers
Now inherits GB_PICK_AND_DROP_SHIFT_MODIFIER. Added
`initialize_pick_actions'.


Revision 28570 - Directory Listing
Modified Mon Oct 29 23:55:02 2001 UTC (18 years, 3 months ago) by rogers
Removed `set_up_drop_actions_for_all_objects' as this has now been
implemented in GB_OBJECT_HANDLER. Added `add_new_component_in_parent'.


Revision 28569 - Directory Listing
Modified Mon Oct 29 23:53:45 2001 UTC (18 years, 3 months ago) by rogers
Added set_up_drop_actions_for_all_objects which was previously
defined in GB_OBJECT.


Revision 28568 - Directory Listing
Modified Mon Oct 29 23:52:48 2001 UTC (18 years, 3 months ago) by rogers
Modified `build_display_object' to account for change to `GB_OBJECT'.


Revision 28559 - Directory Listing
Modified Mon Oct 29 22:53:38 2001 UTC (18 years, 3 months ago) by rogers
Initial.


Revision 28558 - Directory Listing
Modified Mon Oct 29 22:53:05 2001 UTC (18 years, 3 months ago) by rogers
Initial


Revision 28557 - Directory Listing
Modified Mon Oct 29 22:52:03 2001 UTC (18 years, 3 months ago) by rogers
`xml_element_representing_named_component' is now exported to
GB_COMPONENT.


Revision 28556 - Directory Listing
Modified Mon Oct 29 22:48:29 2001 UTC (18 years, 3 months ago) by rogers
Initial.


Revision 28555 - Directory Listing
Modified Mon Oct 29 22:48:15 2001 UTC (18 years, 3 months ago) by rogers
Added menu and tool bar buttons to show teh component viewer.


Revision 28554 - Directory Listing
Modified Mon Oct 29 22:47:43 2001 UTC (18 years, 3 months ago) by rogers
`generate_pebble' now returns a GB_COMPONENT, instead of a GB_OBJECT.
This is faster as we do not need to build the object when somebody
starts a pick and drop, only when the drop occurs. It also allows us
to distinguis between objects and components for transport.


Revision 28553 - Directory Listing
Modified Mon Oct 29 22:45:35 2001 UTC (18 years, 3 months ago) by rogers
Added `add_new_component'.


Revision 28552 - Directory Listing
Modified Mon Oct 29 22:39:23 2001 UTC (18 years, 3 months ago) by rogers
`build_drop_action_for_new_object' now adds `add_new_component' to the
drop actions to allow insertion of components.


Revision 28546 - Directory Listing
Modified Mon Oct 29 17:58:05 2001 UTC (18 years, 3 months ago) by rogers
Added `show_hide_component_view_command'.


Revision 28545 - Directory Listing
Modified Mon Oct 29 17:57:18 2001 UTC (18 years, 3 months ago) by rogers
`xml_element_representing_named_component' is now exported to GB_COMPONENT.


Revision 28544 - Directory Listing
Modified Mon Oct 29 17:56:18 2001 UTC (18 years, 3 months ago) by rogers
Modified export status of `xml_handler' to COMPONENT.


Revision 28494 - Directory Listing
Modified Fri Oct 26 22:20:26 2001 UTC (18 years, 3 months ago) by rogers
Fixed bug in `cut_off_at_current_position', when the position was at the
very start of the history.


Revision 28492 - Directory Listing
Modified Fri Oct 26 22:18:27 2001 UTC (18 years, 3 months ago) by rogers
Added remove_all_items and added missing comment.


Revision 28487 - Directory Listing
Modified Fri Oct 26 20:05:44 2001 UTC (18 years, 3 months ago) by rogers
Tidying, comments.


Revision 28486 - Directory Listing
Modified Fri Oct 26 20:03:02 2001 UTC (18 years, 3 months ago) by rogers
Menus are now hidden/shown as necessary.


Revision 28484 - Directory Listing
Modified Fri Oct 26 19:30:03 2001 UTC (18 years, 3 months ago) by rogers
`show_tools' and `hide_tools' both now use `lock_update' for reduced flicker.


Revision 28483 - Directory Listing
Modified Fri Oct 26 19:26:17 2001 UTC (18 years, 3 months ago) by rogers
All operations are now only performed on the display window, not
the builder window.


Revision 28481 - Directory Listing
Modified Fri Oct 26 19:05:07 2001 UTC (18 years, 3 months ago) by rogers
Removed debugging output and added missing comment.


Revision 28480 - Directory Listing
Modified Fri Oct 26 19:04:35 2001 UTC (18 years, 3 months ago) by rogers
Removed debugging output.


Revision 28479 - Directory Listing
Modified Fri Oct 26 19:02:32 2001 UTC (18 years, 3 months ago) by rogers
When the window is closed, we now prune the editor from `all_editors'
within a new feature, `remove_editor'.


Revision 28478 - Directory Listing
Modified Fri Oct 26 18:58:21 2001 UTC (18 years, 3 months ago) by rogers
Tidied up a little. Removed old redundent code. Modified to
reflect the fact that the hide/show window toolbar buttons are
now derived from a command.


Revision 28477 - Directory Listing
Modified Fri Oct 26 18:55:58 2001 UTC (18 years, 3 months ago) by rogers
Initial.


Revision 28476 - Directory Listing
Modified Fri Oct 26 18:55:22 2001 UTC (18 years, 3 months ago) by rogers
Added `show_hide_builder_window_command' and
`show_hide_display_window_command'.


Revision 28473 - Directory Listing
Modified Fri Oct 26 18:15:28 2001 UTC (18 years, 3 months ago) by rogers
Added `Help_about_pixmap'.


Revision 28472 - Directory Listing
Modified Fri Oct 26 18:14:32 2001 UTC (18 years, 3 months ago) by rogers
We now use GB_SHARED_PIXMAPS to retrieve the pixmap.


Revision 28471 - Directory Listing
Modified Fri Oct 26 16:53:42 2001 UTC (18 years, 3 months ago) by rogers
Fixed bug in `modify_from_xml'. We now set the text of the layout
item to `name' + `short_type'. We were previsouly setting it to
`name' + layout_item.text which was fine, until we repeatedly
opened and closed a project, as the layout item text was not just equal to the type, but the old name and the type.


Revision 28465 - Directory Listing
Modified Fri Oct 26 16:25:56 2001 UTC (18 years, 3 months ago) by rogers
No longer needed, we now use a command instead.


Revision 28464 - Directory Listing
Modified Fri Oct 26 16:25:15 2001 UTC (18 years, 3 months ago) by rogers
No longer needed, now we have commands.


Revision 28463 - Directory Listing
Modified Fri Oct 26 16:24:27 2001 UTC (18 years, 3 months ago) by rogers
We now use commands for this.


Revision 28462 - Directory Listing
Modified Fri Oct 26 16:23:29 2001 UTC (18 years, 3 months ago) by rogers
Dead. We now use a command for this.


Revision 28447 - Directory Listing
Modified Thu Oct 25 23:45:19 2001 UTC (18 years, 3 months ago) by rogers
Fixed problem with dropping on a toolbar button representation and
having a new object_editor created. Added a new feature `update_object_editor' which fixes this problem, as we insert it in
the drop actions of a tool bar we create, and this decides the correct
behaviour automatically.


Revision 28445 - Directory Listing
Modified Thu Oct 25 22:59:30 2001 UTC (18 years, 3 months ago) by rogers
We now only show the tools if a new project directory was correctly
chosen.


Revision 28444 - Directory Listing
Modified Thu Oct 25 22:56:52 2001 UTC (18 years, 3 months ago) by rogers
`execute' now performs more necessary cleaning.


Revision 28443 - Directory Listing
Modified Thu Oct 25 22:48:27 2001 UTC (18 years, 3 months ago) by rogers
Minor change to account for name change in GB_OBJECT_EDITOR.


Revision 28442 - Directory Listing
Modified Thu Oct 25 22:47:22 2001 UTC (18 years, 3 months ago) by rogers
Now inherits GB_ACCESSIBLE_SYSTEM_STATUS. We use this to tell the
system that a modification has taken place when editing the name.
Renamed `vertical_box2' to `attribute_editor_box' for readablity.


Revision 28437 - Directory Listing
Modified Thu Oct 25 20:21:16 2001 UTC (18 years, 3 months ago) by king
Made eiffel compilable, externals need updating


Revision 28436 - Directory Listing
Modified Thu Oct 25 18:52:21 2001 UTC (18 years, 3 months ago) by rogers
We now show the tools of the main window from `execute'.


Revision 28435 - Directory Listing
Modified Thu Oct 25 18:51:45 2001 UTC (18 years, 3 months ago) by rogers
We now hide the tools of the main window from `execute'.


Revision 28434 - Directory Listing
Modified Thu Oct 25 18:51:11 2001 UTC (18 years, 3 months ago) by rogers
Added `show_tools' and `hide_tools'. We now use a filler when the
tools are not to be displayed.


Revision 28433 - Directory Listing
Modified Thu Oct 25 18:50:33 2001 UTC (18 years, 3 months ago) by rogers
Changed type of main_window from EV_WINDOW to GB_MAIN_WINDOW.


Revision 28431 - Directory Listing
Modified Thu Oct 25 17:47:34 2001 UTC (18 years, 3 months ago) by rogers
Modified `add_new_object' so that the layout item of `Current' is
always expanded.


Revision 28430 - Directory Listing
Modified Thu Oct 25 17:46:14 2001 UTC (18 years, 3 months ago) by rogers
Fixed `gb_ev_directory' to point towards the Eiffel50 installation.


Revision 28427 - Directory Listing
Modified Thu Oct 25 16:07:52 2001 UTC (18 years, 3 months ago) by rogers
Initial.


Revision 28425 - Directory Listing
Modified Thu Oct 25 01:30:08 2001 UTC (18 years, 3 months ago) by rogers
Initial.


Revision 28424 - Directory Listing
Modified Thu Oct 25 01:29:24 2001 UTC (18 years, 3 months ago) by rogers
We now use a GB_OBJECT_EDITOR_COMMAND instead of the
GB_NEW_OBJECT_EDITOR_BUTTON which we used before.


Revision 28423 - Directory Listing
Modified Thu Oct 25 01:28:25 2001 UTC (18 years, 3 months ago) by rogers
Instead of creating a custom toolbar item, we now use a tool bar
button generated from a GB_OBJECT_EDITOR_COMMAND.


Revision 28422 - Directory Listing
Modified Thu Oct 25 01:26:51 2001 UTC (18 years, 3 months ago) by rogers
Added object_editor_command.


Revision 28420 - Directory Listing
Modified Thu Oct 25 01:05:45 2001 UTC (18 years, 3 months ago) by rogers
Initial.


Revision 28419 - Directory Listing
Modified Thu Oct 25 01:05:13 2001 UTC (18 years, 3 months ago) by rogers
Added `delete_object_command'.


Revision 28418 - Directory Listing
Modified Thu Oct 25 01:04:47 2001 UTC (18 years, 3 months ago) by rogers
When building the toolbar, we now use a real delete command, instead
of an instance of GB_DELETE_TOOL_BAR_BUTTON which is no longer used
in the system.


Revision 28417 - Directory Listing
Modified Thu Oct 25 01:03:50 2001 UTC (18 years, 3 months ago) by rogers
Changed applicable export status's to reference
GB_DELETE_OBJECT_COMMAND instead of GB_DELETE_TOOL_BAR_BUTTON.


Revision 28416 - Directory Listing
Modified Thu Oct 25 00:27:05 2001 UTC (18 years, 3 months ago) by rogers
`unparent_during_type_change' and `unparent' now both notify the
system that the user has modified something. We use this mechanism
to enabke/disable commands as necessary.


Revision 28415 - Directory Listing
Modified Thu Oct 25 00:26:00 2001 UTC (18 years, 3 months ago) by rogers
`add_object' now notifies the system that the user has modified something.


Revision 28414 - Directory Listing
Modified Thu Oct 25 00:25:15 2001 UTC (18 years, 3 months ago) by rogers
We only now show the save dialog if the system has been modified by the user.


Revision 28410 - Directory Listing
Modified Wed Oct 24 23:29:24 2001 UTC (18 years, 3 months ago) by rogers
`executable' now checks that the system is not up to date.
`execute' now also notifys the system that we are now up to date.
This implements enabling/disabling of the visual representations of
`Current' when a user has modified the system.


Revision 28409 - Directory Listing
Modified Wed Oct 24 23:27:43 2001 UTC (18 years, 3 months ago) by rogers
We no longer perform `is_sensitive' on all items in `objects', just
the first, using `for_first_object'.


Revision 28408 - Directory Listing
Modified Wed Oct 24 23:26:35 2001 UTC (18 years, 3 months ago) by rogers
We now use `for_first_object' for modifications.


Revision 28407 - Directory Listing
Modified Wed Oct 24 23:24:50 2001 UTC (18 years, 3 months ago) by rogers
Added inheritence from GB_ACCESSIBLE_SYSTEM_STATUS and
GB_ACCESSIBLE_COMMAND_HANDLER. Also added `for_first_object' which
allows us to now inform the system that we are no longer up to date
with a saved version or the default version.


Revision 28405 - Directory Listing
Modified Wed Oct 24 22:44:11 2001 UTC (18 years, 3 months ago) by rogers
Fixed bug in `clear_all_objects'. If the root window object has no
children, then the system will no longer crash upon calling.


Revision 28404 - Directory Listing
Modified Wed Oct 24 22:42:27 2001 UTC (18 years, 3 months ago) by rogers
Now use a constant for the file name, inherited from GB_CONSTANTS.


Revision 28402 - Directory Listing
Modified Wed Oct 24 22:41:41 2001 UTC (18 years, 3 months ago) by rogers
We now set a filter for the dialog to be displayed in `execute'.


Revision 28401 - Directory Listing
Modified Wed Oct 24 22:40:30 2001 UTC (18 years, 3 months ago) by rogers
Added `project_filename' and `project_file_filter.


Revision 28387 - Directory Listing
Modified Wed Oct 24 22:10:34 2001 UTC (18 years, 3 months ago) by rogers
Removed unused tool_bar_button.


Revision 28386 - Directory Listing
Modified Wed Oct 24 22:10:06 2001 UTC (18 years, 3 months ago) by rogers
Added new comments, and re-ordered some old ones.


Revision 28385 - Directory Listing
Modified Wed Oct 24 22:08:35 2001 UTC (18 years, 3 months ago) by rogers
Uncommented `Icon_system_window'.


Revision 28378 - Directory Listing
Modified Wed Oct 24 22:03:42 2001 UTC (18 years, 3 months ago) by rogers
Added `disable_all_items' and `align_labels_left'.


Revision 28376 - Directory Listing
Modified Wed Oct 24 22:03:02 2001 UTC (18 years, 3 months ago) by rogers
Now inherits GB_ACCESSIBLE_COMMAND_HANDLER. Added `close_window'.


Revision 28375 - Directory Listing
Modified Wed Oct 24 22:01:59 2001 UTC (18 years, 3 months ago) by rogers
Initial.


Revision 28373 - Directory Listing
Modified Wed Oct 24 22:00:31 2001 UTC (18 years, 3 months ago) by rogers
Comments.


Revision 28371 - Directory Listing
Modified Wed Oct 24 22:00:01 2001 UTC (18 years, 3 months ago) by rogers
Added `project_settings_window'.


Revision 28370 - Directory Listing
Modified Wed Oct 24 21:59:36 2001 UTC (18 years, 3 months ago) by rogers
Modified `build' so that it wipes out `all_gb_ev' and `all_element'. This
fixes a bug when closing and re-loading a file, as all the existing
deferred builder information was not removed. Strengthened contracts.


Revision 28366 - Directory Listing
Modified Wed Oct 24 21:57:58 2001 UTC (18 years, 3 months ago) by rogers
Added inheritence from GB_WIDGET_UTILITIES. Removed `disable_all_items'
and `align_labels_left',as they are now inherited from GB_WIDGET_UTILITIES.


Revision 28365 - Directory Listing
Modified Wed Oct 24 21:56:33 2001 UTC (18 years, 3 months ago) by rogers
Added `is_empty'.


Revision 28364 - Directory Listing
Modified Wed Oct 24 21:56:09 2001 UTC (18 years, 3 months ago) by rogers
Modified to take into account the changes of most menu and tool bar items
into commands.


Revision 28361 - Directory Listing
Modified Wed Oct 24 21:50:12 2001 UTC (18 years, 3 months ago) by rogers
Added `clear_all_objects' which removes all objects except the root window.


Revision 28359 - Directory Listing