/[eiffelstudio]/branches/eth/eve/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
ViewVC logotype

Log of /branches/eth/eve/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 88379 - (view) (annotate) - [select for diffs]
Modified Fri Mar 9 09:40:16 2012 UTC (7 years, 7 months ago) by jasonw
File length: 252380 byte(s)
Diff to previous 88353
<<Merged from trunk#88377.>>

Revision 88353 - (view) (annotate) - [select for diffs]
Modified Fri Mar 2 09:14:34 2012 UTC (7 years, 7 months ago) by jasonw
File length: 252331 byte(s)
Diff to previous 88333
<<Merged from trunk#88352.>>

Revision 88333 - (view) (annotate) - [select for diffs]
Modified Fri Feb 24 08:14:29 2012 UTC (7 years, 7 months ago) by jasonw
File length: 251541 byte(s)
Diff to previous 88317
<<Merged from trunk#88332.>>

Revision 88317 - (view) (annotate) - [select for diffs]
Modified Fri Feb 17 11:09:12 2012 UTC (7 years, 8 months ago) by jasonw
File length: 249025 byte(s)
Diff to previous 88292
<<Merged from trunk#88316.>>

Revision 88292 - (view) (annotate) - [select for diffs]
Modified Fri Feb 10 08:55:50 2012 UTC (7 years, 8 months ago) by jasonw
File length: 249285 byte(s)
Diff to previous 88274
<<Merged from trunk#88291.>>

Revision 88274 - (view) (annotate) - [select for diffs]
Modified Mon Feb 6 16:05:31 2012 UTC (7 years, 8 months ago) by jasonw
File length: 249193 byte(s)
Diff to previous 87305
<<Merged from trunk#88273.>>


Revision 87305 - (view) (annotate) - [select for diffs]
Modified Fri Sep 23 08:21:01 2011 UTC (8 years ago) by jasonw
File length: 240008 byte(s)
Diff to previous 87220
<<Merged from trunk#87304.>>

Revision 87220 - (view) (annotate) - [select for diffs]
Modified Thu Sep 15 08:09:35 2011 UTC (8 years, 1 month ago) by jasonw
File length: 240030 byte(s)
Diff to previous 87104
<<Merged from trunk#87219.>>

Revision 87104 - (view) (annotate) - [select for diffs]
Modified Fri Aug 26 08:16:29 2011 UTC (8 years, 1 month ago) by jasonw
File length: 239976 byte(s)
Diff to previous 87069
<<Merged from trunk#87102.>>

Revision 87069 - (view) (annotate) - [select for diffs]
Modified Fri Aug 19 18:04:34 2011 UTC (8 years, 2 months ago) by jasonw
File length: 239910 byte(s)
Diff to previous 86265
<<Merged from trunk#87065.>>

Revision 86265 - (view) (annotate) - [select for diffs]
Modified Fri Apr 15 12:40:05 2011 UTC (8 years, 6 months ago) by jasonw
File length: 239816 byte(s)
Diff to previous 85914
<<Merged from trunk#86264.>>

Revision 85914 - (view) (annotate) - [select for diffs]
Modified Fri Mar 18 10:15:05 2011 UTC (8 years, 7 months ago) by jasonw
File length: 238299 byte(s)
Diff to previous 85847
<<Merged from trunk#85913.>>

Revision 85847 - (view) (annotate) - [select for diffs]
Modified Fri Mar 11 10:18:42 2011 UTC (8 years, 7 months ago) by jasonw
File length: 238365 byte(s)
Diff to previous 85362
<<Merged from trunk#85845.>>

Revision 85362 - (view) (annotate) - [select for diffs]
Modified Sat Jan 15 14:00:47 2011 UTC (8 years, 9 months ago) by jasonw
File length: 238248 byte(s)
Diff to previous 84757
<<Merged from trunk#85361.>>

Revision 84757 - (view) (annotate) - [select for diffs]
Modified Fri Oct 29 18:56:40 2010 UTC (8 years, 11 months ago) by jasonw
File length: 238222 byte(s)
Diff to previous 83441
<<Merged from trunk#84753.>>

Revision 83441 - (view) (annotate) - [select for diffs]
Modified Sat Jun 5 13:52:53 2010 UTC (9 years, 4 months ago) by jasonw
File length: 236836 byte(s)
Diff to previous 83331
Renamed branch eve3 to eve. The eve branch serves as the new branch for the EVE project.

Revision 83331 - (view) (annotate) - [select for diffs]
Modified Wed May 26 18:49:35 2010 UTC (9 years, 4 months ago) by jasonw
Original Path: branches/eth/eve3/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 236836 byte(s)
Diff to previous 82933
<<Breanched from trunk@83330>> Created a branch to upgrade Eiffel Transform library to trunk.

Revision 82933 - (view) (annotate) - [select for diffs]
Modified Fri Apr 23 20:37:44 2010 UTC (9 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 236836 byte(s)
Diff to previous 82914
Fixed previous patch for void safety.

Revision 82914 - (view) (annotate) - [select for diffs]
Modified Thu Apr 22 22:50:40 2010 UTC (9 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 236828 byte(s)
Diff to previous 82581
Added fix from bug#16676

Revision 82581 - (view) (annotate) - [select for diffs]
Modified Tue Mar 16 03:07:44 2010 UTC (9 years, 7 months ago) by manus
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 236727 byte(s)
Diff to previous 82078
Moved the experimental branch to be the default for libraries.


Revision 82078 - (view) (annotate) - [select for diffs]
Modified Thu Jan 14 20:05:42 2010 UTC (9 years, 9 months ago) by manus
Original Path: trunk/Src/experimental/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 236727 byte(s)
Diff to previous 79450
Added `depth_in_tree' to find out how deep a row is in a tree.


Revision 79450 - (view) (annotate) - [select for diffs]
Modified Thu Jun 25 00:16:32 2009 UTC (10 years, 3 months ago) by manus
Original Path: trunk/Src/experimental/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 236464 byte(s)
Diff to previous 79371
Reverted arrayed list insertion code back to rev#79073 as it assumes filled arrayed list.
This fixes bug#15949.


Revision 79371 - (view) (annotate) - [select for diffs]
Modified Fri Jun 19 19:49:26 2009 UTC (10 years, 4 months ago) by king
Original Path: trunk/Src/experimental/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 236595 byte(s)
Diff to previous 79241
Fixed previous_header_item_from_column_index that was broken when converting columns to a detachable index.

Revision 79241 - (view) (annotate) - [select for diffs]
Modified Fri Jun 12 19:01:48 2009 UTC (10 years, 4 months ago) by king
Original Path: trunk/Src/experimental/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 236591 byte(s)
Diff to previous 79206
Made classes compatible with new special implementation.

Revision 79206 - (view) (annotate) - [select for diffs]
Modified Thu Jun 11 05:05:18 2009 UTC (10 years, 4 months ago) by manus
Original Path: trunk/Src/experimental/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 234445 byte(s)
Diff to previous 79073
Although the code is not working, I'm integrating it anyway so that people can compile the experimental library.

Revision 79073 - (view) (annotate) - [select for diffs]
Modified Thu Jun 4 00:11:49 2009 UTC (10 years, 4 months ago) by king
Original Path: trunk/Src/experimental/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 234740 byte(s)
Diff to previous 79072
Integrated void-safety implementation for vision2 and vision2_extension.

Revision 79072 - (view) (annotate) - [select for diffs]
Modified Wed Jun 3 23:37:10 2009 UTC (10 years, 4 months ago) by manus
Original Path: trunk/Src/experimental/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 229159 byte(s)
Diff to previous 76889
Copy of $EIFFEL_SRC/library that will contain the void-safe SPECIAL changes.


Revision 76889 - (view) (annotate) - [select for diffs]
Modified Thu Jan 29 22:35:50 2009 UTC (10 years, 8 months ago) by manus
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 229159 byte(s)
Diff to previous 76822
Removed precondition for `xxx_at_virtual_position' since the interface does not have them anyway.


Revision 76822 - (view) (annotate) - [select for diffs]
Modified Sat Jan 24 17:29:08 2009 UTC (10 years, 8 months ago) by manus
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 229467 byte(s)
Diff to previous 76420
Fixed bug#15314 when `computed_visible_row_count' is not properly updated until the next call to
  `perform_vertical_computation' is called, thus now `visible_row_count' calls it before querying
  `computed_visible_row_count'.


Revision 76420 - (view) (annotate) - [select for diffs]
Modified Mon Dec 29 20:27:11 2008 UTC (10 years, 9 months ago) by manus
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 229434 byte(s)
Diff to previous 75820
Removal of `is' keyword.
Replacement of `is' by `=' for constant definitions.
Replaced `indexing' by `note'.


Revision 75820 - (view) (annotate) - [select for diffs]
Modified Thu Nov 20 23:10:36 2008 UTC (10 years, 10 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 230223 byte(s)
Diff to previous 75786
Now suppressing any selection handling should Alt key be pressed

Revision 75786 - (view) (annotate) - [select for diffs]
Modified Wed Nov 19 22:29:54 2008 UTC (10 years, 10 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 230123 byte(s)
Diff to previous 75784
Improved vertical scrollbar optimization for remove_rows to reuse what was done in perform_vertical_computation.

Revision 75784 - (view) (annotate) - [select for diffs]
Modified Wed Nov 19 22:04:01 2008 UTC (10 years, 10 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 230192 byte(s)
Diff to previous 75783
Added protection to recompute_vertical_scroll_bar as it is now done on idle in remove_rows.

Revision 75783 - (view) (annotate) - [select for diffs]
Modified Wed Nov 19 21:58:11 2008 UTC (10 years, 10 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 230080 byte(s)
Diff to previous 74968
Now when rows are removed we do the scrollbar computation on idle, this speeds up repeated calls to remove_row which is what happens with Studio's error list.

Revision 74968 - (view) (annotate) - [select for diffs]
Modified Sat Oct 4 00:26:04 2008 UTC (11 years ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 229768 byte(s)
Diff to previous 74965
Added code supplied in bug#14404 to fix bug in pixels_displayed_after_final_row with locked rows.

Revision 74965 - (view) (annotate) - [select for diffs]
Modified Sat Oct 4 00:18:29 2008 UTC (11 years ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 229882 byte(s)
Diff to previous 74963
Formatting

Revision 74963 - (view) (annotate) - [select for diffs]
Modified Sat Oct 4 00:06:23 2008 UTC (11 years ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 229883 byte(s)
Diff to previous 74547
Refactored existing full client redraw before full invalidation to extend from items to all grid graphical objects (items/rows/columns).  This fixes the performance issue mentioned in bug#14855

Revision 74547 - (view) (annotate) - [select for diffs]
Modified Fri Aug 22 21:29:47 2008 UTC (11 years, 1 month ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 229335 byte(s)
Diff to previous 74511
Now correctly calling item update_for_removal so that the hash_code gets reset correctly and invariants are fully satisfied, this fixes bug#14756

Revision 74511 - (view) (annotate) - [select for diffs]
Modified Wed Aug 20 23:24:47 2008 UTC (11 years, 1 month ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 229325 byte(s)
Diff to previous 74509
Now correctly unlocking rows and columns before wipeout

Revision 74509 - (view) (annotate) - [select for diffs]
Modified Wed Aug 20 23:08:03 2008 UTC (11 years, 1 month ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 229095 byte(s)
Diff to previous 74454
Corrected default step size for implementation as this should always be one with the grid implementation using its own stepping code

Revision 74454 - (view) (annotate) - [select for diffs]
Modified Tue Aug 12 21:31:09 2008 UTC (11 years, 2 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 229096 byte(s)
Diff to previous 74039
Added ensure_visible handling during keyboard selection of tree items.

Revision 74039 - (view) (annotate) - [select for diffs]
Modified Wed Jul 9 17:10:29 2008 UTC (11 years, 3 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 228837 byte(s)
Diff to previous 74038
Fixed typo in last commit

Revision 74038 - (view) (annotate) - [select for diffs]
Modified Wed Jul 9 17:05:51 2008 UTC (11 years, 3 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 228833 byte(s)
Diff to previous 74037
Updated comment for previous fix.

Revision 74037 - (view) (annotate) - [select for diffs]
Modified Wed Jul 9 17:00:59 2008 UTC (11 years, 3 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 228930 byte(s)
Diff to previous 74028
Fixed bug #13997 where dynamic content was not being refreshed due to insert_rows not taking this in to account when determining whether a refresh was needed.

Revision 74028 - (view) (annotate) - [select for diffs]
Modified Tue Jul 8 01:02:55 2008 UTC (11 years, 3 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 228893 byte(s)
Diff to previous 74027
Slightly improved step and leap default setting code.

Revision 74027 - (view) (annotate) - [select for diffs]
Modified Mon Jul 7 20:55:29 2008 UTC (11 years, 3 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 228689 byte(s)
Diff to previous 74024
Made default scrollbar leap from 1 to the default row height as 1 is too restrictive for fixed row height grids.

Revision 74024 - (view) (annotate) - [select for diffs]
Modified Mon Jul 7 16:32:40 2008 UTC (11 years, 3 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 228688 byte(s)
Diff to previous 73427
Added improved behavior for tree navigation with item selection. Now parent tree navigation is handled by default via left arrow and backspace key.

Revision 73427 - (view) (annotate) - [select for diffs]
Modified Fri May 9 01:53:34 2008 UTC (11 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 227105 byte(s)
Diff to previous 73006
Changed buffered_drawable_size from 32000 to 30000, this fixes an issue with certain configurations not handling the viewport item correctly relative to the screen dimensions, the value of 30000 is large enough for a 1900 pixel size.  It must be noted that this bug only occurs with certain X Server configurations, possibly without XRender being enabled.
bug#13976


Revision 73006 - (view) (annotate) - [select for diffs]
Modified Fri Apr 11 03:55:50 2008 UTC (11 years, 6 months ago) by manus
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 227105 byte(s)
Diff to previous 71569
Made `initial_collapse_node_pixmap' and `initial_expand_node_pixmap' onces to avoid creating
  too many pixmaps when you have many grids. Fixes bug#14196.


Revision 71569 - (view) (annotate) - [select for diffs]
Modified Thu Dec 20 01:50:38 2007 UTC (11 years, 10 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 227101 byte(s)
Diff to previous 71269
Now setting displayed_column_count to zero immediately so that invariant is obeyed.  This fixes bug#13795.

Revision 71269 - (view) (annotate) - [select for diffs]
Modified Wed Nov 28 20:20:28 2007 UTC (11 years, 10 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 227023 byte(s)
Diff to previous 71010
Removed redundant redraw code

Revision 71010 - (view) (annotate) - [select for diffs]
Modified Fri Nov 2 03:35:53 2007 UTC (11 years, 11 months ago) by manus
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 227095 byte(s)
Diff to previous 70978
Removed non-used locals.


Revision 70978 - (view) (annotate) - [select for diffs]
Modified Thu Nov 1 01:36:13 2007 UTC (11 years, 11 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 227128 byte(s)
Diff to previous 70977
Removed redundant check.

Revision 70977 - (view) (annotate) - [select for diffs]
Modified Thu Nov 1 00:47:01 2007 UTC (11 years, 11 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 227250 byte(s)
Diff to previous 70389
Integrated submitted changes for recompute_row_offsets.

Revision 70389 - (view) (annotate) - [select for diffs]
Modified Thu Sep 20 17:14:25 2007 UTC (12 years ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 226665 byte(s)
Diff to previous 70313
Corrected boolean equality statement.

Revision 70313 - (view) (annotate) - [select for diffs]
Modified Tue Sep 11 23:39:55 2007 UTC (12 years, 1 month ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 226673 byte(s)
Diff to previous 68616
Integrated fix for bug#13393
bug#13393


Revision 68616 - (view) (annotate) - [select for diffs]
Modified Wed May 23 18:13:00 2007 UTC (12 years, 4 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 226074 byte(s)
Diff to previous 68232
Added fix from bug#12746 where recompute_row_offsets was not working with hidden rows

Revision 68232 - (view) (annotate) - [select for diffs]
Modified Thu May 10 21:27:10 2007 UTC (12 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 225726 byte(s)
Diff to previous 68066
Added fix from bug#12671 relating to a crash from hidden row calculation

Revision 68066 - (view) (annotate) - [select for diffs]
Modified Wed May 2 22:22:32 2007 UTC (12 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 225611 byte(s)
Diff to previous 67984
Fixed issue reported in bug#12569

Revision 67984 - (view) (annotate) - [select for diffs]
Modified Thu Apr 26 02:37:03 2007 UTC (12 years, 5 months ago) by tedf
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 225605 byte(s)
Diff to previous 67956
Made contextual menu work correctly in EV_GRID. Probably Drag and Drop as well.
But pick_end_actions is still not called when canceling contextual menu.

Revision 67956 - (view) (annotate) - [select for diffs]
Modified Mon Apr 23 17:11:26 2007 UTC (12 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 224569 byte(s)
Diff to previous 67945
Removed redundant code from recompute_row_offsets

Revision 67945 - (view) (annotate) - [select for diffs]
Modified Sat Apr 21 00:31:05 2007 UTC (12 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 224790 byte(s)
Diff to previous 67720
Added fix reported in bug#12504

Revision 67720 - (view) (annotate) - [select for diffs]
Modified Tue Apr 3 23:04:29 2007 UTC (12 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 225015 byte(s)
Diff to previous 67633
Corrected invariant as mentioned in bug#12426

Revision 67633 - (view) (annotate) - [select for diffs]
Modified Thu Mar 29 22:11:23 2007 UTC (12 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 224977 byte(s)
Diff to previous 67368
Added protection for button press actions in case item has been removed during call to pointer_button_press_actions

Revision 67368 - (view) (annotate) - [select for diffs]
Modified Mon Mar 19 16:13:51 2007 UTC (12 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 224932 byte(s)
Diff to previous 67357
Fixed check in last_pointed_item when querying parent

Revision 67357 - (view) (annotate) - [select for diffs]
Modified Sat Mar 17 23:48:11 2007 UTC (12 years, 7 months ago) by manus
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 224933 byte(s)
Diff to previous 67090
Make sure that `l_item' is parented before trying to figure out its column or row.


Revision 67090 - (view) (annotate) - [select for diffs]
Modified Wed Mar 7 02:17:57 2007 UTC (12 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 224905 byte(s)
Diff to previous 66884
Fixed behavior with prev_sel_item when a key action has subsequently destroyed the item during the call to key_press_received

Revision 66884 - (view) (annotate) - [select for diffs]
Modified Fri Feb 23 22:04:59 2007 UTC (12 years, 7 months ago) by manus
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 224838 byte(s)
Diff to previous 66844
Fixed assertions violations because we are trying to access `destroyed' items or
  items belonging to a `destroyed' grid. This was visible when changing the compilation
  type in EiffelStudio (from C to .NET or conversly), because the action sequences
  was destroying the grid and after that the items of the destroyed grid should not
  be accessed.


Revision 66844 - (view) (annotate) - [select for diffs]
Modified Thu Feb 22 18:44:05 2007 UTC (12 years, 7 months ago) by manus
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 224598 byte(s)
Diff to previous 66788
Prevented a precondition violation when setting the leap in case `width' is 0.


Revision 66788 - (view) (annotate) - [select for diffs]
Modified Tue Feb 20 20:06:14 2007 UTC (12 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 224590 byte(s)
Diff to previous 66777
Reverted back item size call to use the interface of static_fixed

Revision 66777 - (view) (annotate) - [select for diffs]
Modified Tue Feb 20 01:00:38 2007 UTC (12 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 224605 byte(s)
Diff to previous 66517
Fixed issues reported by bug#12072

Revision 66517 - (view) (annotate) - [select for diffs]
Modified Wed Feb 7 23:21:47 2007 UTC (12 years, 8 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 224577 byte(s)
Diff to previous 66513
Now result returned for viewable_row_indexes matches the number of visible rows

Revision 66513 - (view) (annotate) - [select for diffs]
Modified Wed Feb 7 22:00:40 2007 UTC (12 years, 8 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 224408 byte(s)
Diff to previous 66164
Added check to last_pointed_item on motion to check that the parent is still the grid to which to motion event was propagated to

Revision 66164 - (view) (annotate) - [select for diffs]
Modified Wed Jan 24 01:44:13 2007 UTC (12 years, 8 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 224275 byte(s)
Diff to previous 65898
Integrated bug#11887 fix

Revision 65898 - (view) (annotate) - [select for diffs]
Modified Fri Jan 12 22:41:12 2007 UTC (12 years, 9 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 224268 byte(s)
Diff to previous 65778
Fixed bug#11832 bug#11831 bug#11825 bug#11824 bug#11783 bug#11782

Revision 65778 - (view) (annotate) - [select for diffs]
Modified Fri Dec 29 22:00:01 2006 UTC (12 years, 9 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 224084 byte(s)
Diff to previous 65670
Fixed bug#11777 where iterating locked row indexes was not resetting index

Revision 65670 - (view) (annotate) - [select for diffs]
Modified Wed Dec 20 23:35:20 2006 UTC (12 years, 9 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 222645 byte(s)
Diff to previous 65668
Reverted previous is_sensitive change has it has been fixed elsewhere

Revision 65668 - (view) (annotate) - [select for diffs]
Modified Wed Dec 20 22:53:54 2006 UTC (12 years, 9 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 222737 byte(s)
Diff to previous 65658
Now pointer actions check whether grid is sensitive, this fixes bug#11139

Revision 65658 - (view) (annotate) - [select for diffs]
Modified Wed Dec 20 18:08:20 2006 UTC (12 years, 9 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 222645 byte(s)
Diff to previous 65406
Added flag setting of interface initialize to fix bug#11105

Revision 65406 - (view) (annotate) - [select for diffs]
Modified Wed Dec 6 19:19:17 2006 UTC (12 years, 10 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 222374 byte(s)
Diff to previous 64556
Accounted for is_displayed inconsistencies

Revision 64556 - (view) (annotate) - [select for diffs]
Modified Tue Oct 24 23:23:52 2006 UTC (12 years, 11 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 222324 byte(s)
Diff to previous 64185
Refactored a static_fixed_x_offset and static_fixed_y_offset that can be redefined for gtk 1.2 backport due to a bug in fixed when containing viewports

Revision 64185 - (view) (annotate) - [select for diffs]
Modified Thu Oct 5 18:58:52 2006 UTC (13 years ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 221960 byte(s)
Diff to previous 64055
Improved selection key handling behavior when the row/item has been expanded/collapsed in the key actions

Revision 64055 - (view) (annotate) - [select for diffs]
Modified Mon Oct 2 20:49:32 2006 UTC (13 years ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 221530 byte(s)
Diff to previous 63921
Commented out check that no longer holds due to last_row_count_in_recompute_row_offsets fix, this needs investigating

Revision 63921 - (view) (annotate) - [select for diffs]
Modified Wed Sep 27 18:47:27 2006 UTC (13 years ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 221391 byte(s)
Diff to previous 63735
Integrated fix for correctly recomputing row offsets

Revision 63735 - (view) (annotate) - [select for diffs]
Modified Wed Sep 20 19:21:46 2006 UTC (13 years ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 221171 byte(s)
Diff to previous 63732
Fixed issue with display corruption when removing rows for a grid tree that has been vertically scrolled

Revision 63732 - (view) (annotate) - [select for diffs]
Modified Wed Sep 20 17:09:29 2006 UTC (13 years ago) by patrickr
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 221210 byte(s)
Diff to previous 63730
removed unused local

Revision 63730 - (view) (annotate) - [select for diffs]
Modified Wed Sep 20 16:54:50 2006 UTC (13 years ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 221234 byte(s)
Diff to previous 63574
Now redirecting default_key_processing_handler to drawable, updated remove_row to call remove_rows so there is a single consistent implementation, now only using fixed on Windows as for gtk this adds an extra X resource that slows display down due to extra window data having to be scrolled, it is only needed for a custom Mswin implementation

Revision 63574 - (view) (annotate) - [select for diffs]
Modified Thu Sep 14 22:06:48 2006 UTC (13 years, 1 month ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 222076 byte(s)
Diff to previous 63523
Now checking whether previously stored selection items have been removed from the grid

Revision 63523 - (view) (annotate) - [select for diffs]
Modified Tue Sep 12 22:52:31 2006 UTC (13 years, 1 month ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 221606 byte(s)
Diff to previous 63185
Fixed bug when hiding a column the code was not taking in to account that the index may not be the same as the header index, fixed some issues with activation windows not being deactivated for operations such as wipeout

Revision 63185 - (view) (annotate) - [select for diffs]
Modified Thu Aug 31 19:46:42 2006 UTC (13 years, 1 month ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 221483 byte(s)
Diff to previous 63173
Added missing uses_row_offsets and is_show_requested implementation

Revision 63173 - (view) (annotate) - [select for diffs]
Modified Thu Aug 31 16:40:33 2006 UTC (13 years, 1 month ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 221187 byte(s)
Diff to previous 63151
Removed previous commented out recompute_row_offsets implementation

Revision 63151 - (view) (annotate) - [select for diffs]
Modified Wed Aug 30 23:38:14 2006 UTC (13 years, 1 month ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 227080 byte(s)
Diff to previous 63025
Added missing code needed for row hiding, removed redundant implementation

Revision 63025 - (view) (annotate) - [select for diffs]
Modified Mon Aug 28 20:35:48 2006 UTC (13 years, 1 month ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 221159 byte(s)
Diff to previous 62955
Added default_key_process_handler so that arrow keys will not lose the focus of the drawable

Revision 62955 - (view) (annotate) - [select for diffs]
Modified Fri Aug 25 18:56:44 2006 UTC (13 years, 1 month ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 220978 byte(s)
Diff to previous 62890
Added enable_tabable_from and enable_tabable_to to the grid drawable

Revision 62890 - (view) (annotate) - [select for diffs]
Modified Wed Aug 23 17:47:16 2006 UTC (13 years, 1 month ago) by jfiat
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 220916 byte(s)
Diff to previous 62889
cosmetic

Revision 62889 - (view) (annotate) - [select for diffs]
Modified Wed Aug 23 17:41:11 2006 UTC (13 years, 1 month ago) by jfiat
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 220917 byte(s)
Diff to previous 62882
Fixed an issue (similar to bug#11049) where `prev_sel_item' could be invalid in case the row has been unparented.

Revision 62882 - (view) (annotate) - [select for diffs]
Modified Wed Aug 23 00:52:30 2006 UTC (13 years, 1 month ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 220846 byte(s)
Diff to previous 62795
Added is_locked optimization to all drawing routines, added new implementation for pixels_displayed_after_final_row, slightly improved row navigation to query item instead of row

Revision 62795 - (view) (annotate) - [select for diffs]
Modified Sun Aug 20 06:01:57 2006 UTC (13 years, 2 months ago) by manus
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 221075 byte(s)
Diff to previous 62719
Fixed bug#11049 where `prev_sel_item' could be invalid in case the row has
  been unparented.


Revision 62719 - (view) (annotate) - [select for diffs]
Modified Fri Aug 18 04:12:22 2006 UTC (13 years, 2 months ago) by manus
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 221040 byte(s)
Diff to previous 62628
Use constant access to get the `max_value' value. This is faster and it currently
  avoids a crash when compiled with new compiler (see eweasel test#exec254).


Revision 62628 - (view) (annotate) - [select for diffs]
Modified Wed Aug 16 21:12:33 2006 UTC (13 years, 2 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 221022 byte(s)
Diff to previous 61402
Integrating new drawing code for row hiding mechanism, added better support for tree node navigation using left and right keys, if expansion status is changed then no scrolling occurs

Revision 61402 - (view) (annotate) - [select for diffs]
Modified Tue Jul 18 00:09:59 2006 UTC (13 years, 3 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 218731 byte(s)
Diff to previous 61253
Integrated fix for bug#10631 regarding viewable row indexes not being correct for parent tree nodes

Revision 61253 - (view) (annotate) - [select for diffs]
Modified Wed Jul 12 22:15:52 2006 UTC (13 years, 3 months ago) by manus
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 218361 byte(s)
Diff to previous 61186
Use EV_POINTER_STYLE instead of EV_CURSOR.


Revision 61186 - (view) (annotate) - [select for diffs]
Modified Tue Jul 11 21:31:03 2006 UTC (13 years, 3 months ago) by manus
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 218338 byte(s)
Diff to previous 59971
Use EV_POINTER_STYLE instead of EV_CURSOR so that EiffelStudio can compile. Remains the rest of vision2 to update.


Revision 59971 - (view) (annotate) - [select for diffs]
Modified Mon Jun 19 22:41:45 2006 UTC (13 years, 4 months ago) by manus
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 218310 byte(s)
Diff to previous 59891
Replace call to `prune_all' by call to `prune' since we are sure there is only one element
  to remove. Moreover it fixes a side effect of setting the cursor off, which prevented
  in some cases iteration over Vision2 containers.


Revision 59891 - (view) (annotate) - [select for diffs]
Modified Fri Jun 16 18:43:16 2006 UTC (13 years, 4 months ago) by patrickr
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 218322 byte(s)
Diff to previous 59888
undid accidental commit

Revision 59888 - (view) (annotate) - [select for diffs]
Modified Fri Jun 16 18:35:14 2006 UTC (13 years, 4 months ago) by patrickr
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 218328 byte(s)
Diff to previous 59419
moved CONF_HASH_TABLE (a hash table which has an is_equal implementation that checks the values) into base_extension library

Revision 59419 - (view) (annotate) - [select for diffs]
Modified Mon Jun 5 20:50:47 2006 UTC (13 years, 4 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 218322 byte(s)
Diff to previous 59376
Optimized widget_at_position calls to use gtk optimized widget_at_mouse_pointer

Revision 59376 - (view) (annotate) - [select for diffs]
Modified Fri Jun 2 16:23:40 2006 UTC (13 years, 4 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 218407 byte(s)
Diff to previous 59353
Moved scrollbar definitions next to header

Revision 59353 - (view) (annotate) - [select for diffs]
Modified Thu Jun 1 22:01:47 2006 UTC (13 years, 4 months ago) by manus
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 218407 byte(s)
Diff to previous 59343
Fixed a bug with `insert_rows_at' where if you insert new row in the middle of rows,
  the rows below won't be refreshed properly.


Revision 59343 - (view) (annotate) - [select for diffs]
Modified Thu Jun 1 16:43:13 2006 UTC (13 years, 4 months ago) by manus
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 218171 byte(s)
Diff to previous 59289
Revisited `tooltip' handling as revision 59000 introduced a problem where if a grid
  does not have a tooltip set, and that an item has one, it displays it, but if you
  move to another item which does not have a tooltip it will still display the previous
  tooltip.


Revision 59289 - (view) (annotate) - [select for diffs]
Modified Tue May 30 23:11:22 2006 UTC (13 years, 4 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 218311 byte(s)
Diff to previous 59280
Reinstated leave enter and motion events for auxilliary controls

Revision 59280 - (view) (annotate) - [select for diffs]
Modified Tue May 30 20:20:22 2006 UTC (13 years, 4 months ago) by manus
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 217675 byte(s)
Diff to previous 59226
To have the same behavior as trees and lists where pressing the down key on a grid which has the
  focus but no item selected would select the first visible item in the list.


Revision 59226 - (view) (annotate) - [select for diffs]
Modified Fri May 26 16:27:32 2006 UTC (13 years, 4 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 217446 byte(s)
Diff to previous 59215
Changed selection behavior so that ensure_visible is no longer called when an item or row is clicked upon

Revision 59215 - (view) (annotate) - [select for diffs]
Modified Thu May 25 23:17:46 2006 UTC (13 years, 4 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 217355 byte(s)
Diff to previous 59125
Changed is_item_navigatable to return false for items whose parent row height is set to zero pixels

Revision 59125 - (view) (annotate) - [select for diffs]
Modified Mon May 22 20:06:57 2006 UTC (13 years, 4 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 217268 byte(s)
Diff to previous 59000
Removed now redundant code

Revision 59000 - (view) (annotate) - [select for diffs]
Modified Tue May 16 16:11:30 2006 UTC (13 years, 5 months ago) by raphaels
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 217256 byte(s)
Diff to previous 58973
`tooltip' now defers its implementation to the drawable.

Revision 58973 - (view) (annotate) - [select for diffs]
Modified Tue May 16 00:28:03 2006 UTC (13 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 217257 byte(s)
Diff to previous 58390
Removed button actions from scrollbars as they aren't really part of the grid and are currently impossible to filter out using the current grid interface, ideally the scrollbars should be exported, also prevented a crash due to use of do_once_idle_actions where the grid has been destroyed during the time from adding the agent to calling the agent

Revision 58390 - (view) (annotate) - [select for diffs]
Modified Fri Apr 21 18:23:22 2006 UTC (13 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 229872 byte(s)
Diff to previous 57641
Fixed pixels_displayed_after_final_row and set_row_height to satisfy postconditions

Revision 57641 - (view) (annotate) - [select for diffs]
Modified Thu Mar 23 07:29:03 2006 UTC (13 years, 6 months ago) by manus
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 229938 byte(s)
Diff to previous 57547
Made WEL and Vision2 Unicode based, however two areas haven't been fully tested:
- WEL_RICH_EDIT and EV_RICH_EDIT.
- The unix version of Vision2.


Revision 57547 - (view) (annotate) - [select for diffs]
Modified Mon Mar 20 21:40:17 2006 UTC (13 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 229916 byte(s)
Diff to previous 57003
Added fix from Julian of AXA for tooltip handling and fixed, optimized tree redrawing by not iterating previous nodes for expansion, set minimum height of fixed to buffer size to avoid recalculations

Revision 57003 - (view) (annotate) - [select for diffs]
Modified Sat Feb 11 00:53:34 2006 UTC (13 years, 8 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 229822 byte(s)
Diff to previous 56901
Added fixes from Julian of AXA for bug#10159, added calls to set text selection color, renamed viewable_row_indexes to viewable_row_indexes_in_tree_structure

Revision 56901 - (view) (annotate) - [select for diffs]
Modified Fri Feb 3 20:10:01 2006 UTC (13 years, 8 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 221201 byte(s)
Diff to previous 56840
Fixed header item indexing bug which was previously returning the incorrect header item index when showing a column that had columns before it hidden

Revision 56840 - (view) (annotate) - [select for diffs]
Modified Thu Feb 2 22:22:59 2006 UTC (13 years, 8 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 221128 byte(s)
Diff to previous 56696
Integrated locked rows and columns implementation from Julian Rogers of AXA

Revision 56696 - (view) (annotate) - [select for diffs]
Modified Tue Jan 24 23:18:27 2006 UTC (13 years, 8 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 208800 byte(s)
Diff to previous 56675
Added viewable_row_indexes that may be called from the debugger without accessing the internal data directly

Revision 56675 - (view) (annotate) - [select for diffs]
Modified Mon Jan 23 02:25:44 2006 UTC (13 years, 8 months ago) by manus
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 208309 byte(s)
Diff to previous 56525
Added Eiffel Forum License Version 2 and missing copyright statments.


Revision 56525 - (view) (annotate) - [select for diffs]
Modified Fri Jan 13 19:29:16 2006 UTC (13 years, 9 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 208642 byte(s)
Diff to previous 56524
Fixed previous commit for header resize so that there is no side effect should the column that has been resized be hidden

Revision 56524 - (view) (annotate) - [select for diffs]
Modified Fri Jan 13 19:20:36 2006 UTC (13 years, 9 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 208594 byte(s)
Diff to previous 56522
Fixed crash when calling set width on a column that has been hidden

Revision 56522 - (view) (annotate) - [select for diffs]
Modified Fri Jan 13 17:54:58 2006 UTC (13 years, 9 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 208418 byte(s)
Diff to previous 56491
Integrated change from Julian Rogers of axaros so that multiply selected items keep selection on right click, this matches Windows behavior in Explorer

Revision 56491 - (view) (annotate) - [select for diffs]
Modified Tue Jan 10 17:54:17 2006 UTC (13 years, 9 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 208311 byte(s)
Diff to previous 56488
Fixed bug when calling remove_column on a column that was already hidden, the grid would attempt to remove the corresponding header item which does not exist

Revision 56488 - (view) (annotate) - [select for diffs]
Modified Tue Jan 10 17:44:17 2006 UTC (13 years, 9 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 208310 byte(s)
Diff to previous 56477
Fixed bug in wipe_out when attempting to remove columns that have been hidden by the user

Revision 56477 - (view) (annotate) - [select for diffs]
Modified Tue Jan 10 00:41:20 2006 UTC (13 years, 9 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 208259 byte(s)
Diff to previous 56324
Added enable_selection_on_single_button_click, fixed bug in veto pnd implementation where drop actions on the item where not being checked

Revision 56324 - (view) (annotate) - [select for diffs]
Modified Thu Dec 22 18:28:08 2005 UTC (13 years, 9 months ago) by manus
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 206943 byte(s)
Diff to previous 56030
Made it compile with `gelint'.


Revision 56030 - (view) (annotate) - [select for diffs]
Modified Tue Dec 6 18:37:03 2005 UTC (13 years, 10 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 206942 byte(s)
Diff to previous 55996
Added queries around enable and disable tree so that no unnecessary calculations are performed should the grid already be in that state

Revision 55996 - (view) (annotate) - [select for diffs]
Modified Sat Dec 3 01:53:03 2005 UTC (13 years, 10 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 206847 byte(s)
Diff to previous 55901
Now item_accepts_pebble returns False if the grid item is Void, this fixes a bug with drop actions not being called in all circumstances

Revision 55901 - (view) (annotate) - [select for diffs]
Modified Mon Nov 28 13:55:01 2005 UTC (13 years, 10 months ago) by jfiat
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 206836 byte(s)
Diff to previous 55844
exported is_header_item_resizing to EV_GRID since it is possible to change the width of the header's column from EV_GRID
the user should be able to know if it is inside a header item resizing.
(otherwise, this may leads to header resizing issues)

Revision 55844 - (view) (annotate) - [select for diffs]
Modified Tue Nov 22 19:06:09 2005 UTC (13 years, 10 months ago) by neilc
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 206827 byte(s)
Diff to previous 55349
Fix to prevent trying to remove rows that don't exist due to usage of partial_dynamic_content function


Revision 55349 - (view) (annotate) - [select for diffs]
Modified Sat Oct 22 00:24:37 2005 UTC (13 years, 11 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 207401 byte(s)
Diff to previous 55277
Added bounds checking on move_rows_to_parent precondition where previously if i was equal to row count, an extra row would be created internally


Revision 55277 - (view) (annotate) - [select for diffs]
Modified Thu Oct 20 22:19:21 2005 UTC (13 years, 11 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 207357 byte(s)
Diff to previous 55276
Updated precondition from implies to use and then as it is used as part of an or statement


Revision 55276 - (view) (annotate) - [select for diffs]
Modified Thu Oct 20 22:13:54 2005 UTC (13 years, 11 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 207356 byte(s)
Diff to previous 55245
Altered preconditions to allow for easier flattening of tree structures


Revision 55245 - (view) (annotate) - [select for diffs]
Modified Thu Oct 20 16:42:50 2005 UTC (14 years ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 207086 byte(s)
Diff to previous 55217
Updated current_subrow_index code in move_rows_to_parent to handle case when appending to a tree and the row before was not a direct subnode of the new parent row


Revision 55217 - (view) (annotate) - [select for diffs]
Modified Mon Oct 17 19:45:40 2005 UTC (14 years ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 206892 byte(s)
Diff to previous 55199
Added missing precondition to `insert_new_rows_parented'.


Revision 55199 - (view) (annotate) - [select for diffs]
Modified Sat Oct 15 01:21:58 2005 UTC (14 years ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 206859 byte(s)
Diff to previous 55196
Fixed j_valid_for_move_to_a_parent_row precondition


Revision 55196 - (view) (annotate) - [select for diffs]
Modified Sat Oct 15 01:12:29 2005 UTC (14 years ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 206830 byte(s)
Diff to previous 55142
Fixed issue with shift add_subrows_internal that was relying on the old semantic of move_items, improved preconditions, fixed move_rows_to_parent to use the new move_rows behavior when dealing with subrows


Revision 55142 - (view) (annotate) - [select for diffs]
Modified Fri Oct 14 01:42:50 2005 UTC (14 years ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 207091 byte(s)
Diff to previous 55079
Changed semantic of move rows and columns to use insertion indexes instead of object indexes, this makes inserting between two rows or columns much easier to comprehend and gives consistent behavior for insertion whether insertion item is above or below insertion point


Revision 55079 - (view) (annotate) - [select for diffs]
Modified Wed Oct 12 21:12:48 2005 UTC (14 years ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 208923 byte(s)
Diff to previous 55078
Better formatting of move_rows post condition


Revision 55078 - (view) (annotate) - [select for diffs]
Modified Wed Oct 12 21:10:12 2005 UTC (14 years ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 208919 byte(s)
Diff to previous 55075
Added post condition to move_rows


Revision 55075 - (view) (annotate) - [select for diffs]
Modified Wed Oct 12 20:07:21 2005 UTC (14 years ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 208667 byte(s)
Diff to previous 55073
Corrected precondition of `move_row_to_parent' which permitted you to move
to the same index as the parent row, when it really should have been the
index of the parent row + 1.


Revision 55073 - (view) (annotate) - [select for diffs]
Modified Wed Oct 12 19:05:24 2005 UTC (14 years ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 208669 byte(s)
Diff to previous 55072
Corrected precondition of `move_rows_to_parent' to correctly handle all cases
i.e. `a_parent_row' Void and non Void.


Revision 55072 - (view) (annotate) - [select for diffs]
Modified Wed Oct 12 18:35:27 2005 UTC (14 years ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 208043 byte(s)
Diff to previous 55071
Further fix to `move_rows_to_parent'. In the case where you were specifying
the same index, but changing the parent of a row (possible in cases
immediately after a subrow structure), then we were incorrectly computing
the subrow index for insertion and the grid crashed internally.


Revision 55071 - (view) (annotate) - [select for diffs]
Modified Wed Oct 12 18:17:11 2005 UTC (14 years ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 207833 byte(s)
Diff to previous 55070
Simplified preconditions and we now also correctly handle the difference
in cases between moving within the same parent or moving to a new parent.
If moving within the same parent, the available indexes are one less.


Revision 55070 - (view) (annotate) - [select for diffs]
Modified Wed Oct 12 18:11:22 2005 UTC (14 years ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 207908 byte(s)
Diff to previous 55068
Fixed two bugs in `move_rows_to_parent':
1. If you were moving a row and specified equal indices (i = j so no move
actually performed), the implementation crashed as the new subrow index
was calculated incorrectly.
2. If you were moving a subtree structure, all rows that were not at the
root of that structure did not have their depth updated correctly. We
now update the depth of every row based on that of its parent after the
parent has been moved.


Revision 55068 - (view) (annotate) - [select for diffs]
Modified Wed Oct 12 17:55:55 2005 UTC (14 years ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 207623 byte(s)
Diff to previous 55064
Reverted back previous insertion code for rows and columns and updated grid arrayed list to handle moves that are out of bounds


Revision 55064 - (view) (annotate) - [select for diffs]
Modified Wed Oct 12 17:15:41 2005 UTC (14 years ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 208029 byte(s)
Diff to previous 55017
Initial implementation of `move_rows_to_parent'. There are still bugs, but
it is needed for testing right now.


Revision 55017 - (view) (annotate) - [select for diffs]
Modified Tue Oct 11 20:09:37 2005 UTC (14 years ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 205978 byte(s)
Diff to previous 55014
Fixed bug in `move_rows' which was not doing anything in the case where
you moved the final row in a tree structure to its current position.
This should have "flattened" the row so that it was no longer part
of the tree structure.
Also added missing preconditions.


Revision 55014 - (view) (annotate) - [select for diffs]
Modified Tue Oct 11 17:32:42 2005 UTC (14 years ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 205570 byte(s)
Diff to previous 55013
Placed an upper limit on the indexes permitted for `insert_new_column'.


Revision 55013 - (view) (annotate) - [select for diffs]
Modified Tue Oct 11 17:27:06 2005 UTC (14 years ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 205528 byte(s)
Diff to previous 55011
Restricted the upper insertion limit to `row_count' + 1 for
`insert_new_row' and `insert_new_rows' which prevents an internal crash.
Simplified the implementation of the preconditions for these features to
aid readability.


Revision 55011 - (view) (annotate) - [select for diffs]
Modified Mon Oct 10 22:17:47 2005 UTC (14 years ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 205732 byte(s)
Diff to previous 55010
Fixed bug in move_rows and move_columns where implementation would fail if the specified move of j plus n was greater than the particular row or column count


Revision 55010 - (view) (annotate) - [select for diffs]
Modified Mon Oct 10 19:46:08 2005 UTC (14 years ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 205303 byte(s)
Diff to previous 54967
Updated implementation of `move_rows' to handle rows that are parented
within a tree structure.


Revision 54967 - (view) (annotate) - [select for diffs]
Modified Thu Oct 6 16:40:54 2005 UTC (14 years ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 203633 byte(s)
Diff to previous 54916
Corrected new precondition of `insert_new_rows_parented'.


Revision 54916 - (view) (annotate) - [select for diffs]
Modified Wed Oct 5 23:57:03 2005 UTC (14 years ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 203637 byte(s)
Diff to previous 54891
Revmoed `insert_new_row_parented' as the implementation simply uses
`inserT_new_rows_parented' instead.


Revision 54891 - (view) (annotate) - [select for diffs]
Modified Wed Oct 5 19:16:26 2005 UTC (14 years ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 204358 byte(s)
Diff to previous 54885
Removed all inline creation of INTEGER_INTERVAL objects as we now simply
use `reszie_exactly' instead of `adapt' to modify our intervals. This
prevents the need for object creation.


Revision 54885 - (view) (annotate) - [select for diffs]
Modified Wed Oct 5 17:35:53 2005 UTC (14 years ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 204503 byte(s)
Diff to previous 54858
Fixed both `insert_new_row_parented' and `insert_new_rows_parented'
which were always passing the subrow_count + 1 as the subrow index for
insertion. This was incorrect and we now correctly compute the subrow
index for insertion. This was reported by Jocelyn.
`insert_new_row_parented' is now implemented directly via
`insert_new_rows_parented' which reduces code duplication and simplifies things.


Revision 54858 - (view) (annotate) - [select for diffs]
Modified Tue Oct 4 18:03:03 2005 UTC (14 years ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 204286 byte(s)
Diff to previous 54839
Added missing "not_inserting_within_existing_subrow_structure" preconditions
to `insert_new_row_parented' and `insert_new_rows_parented'. Previously, there
was no checking that you were providing an index not within a subtree of
a current subrow.


Revision 54839 - (view) (annotate) - [select for diffs]
Modified Mon Oct 3 20:23:53 2005 UTC (14 years ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 203954 byte(s)
Diff to previous 54836
Fixed bug in `pixels_displayed_after_final_row' which could fail with
a feature call on a `Void' target when both dynamic content and tree
functionality was enabled. This was reported by Hector Macias and is
reproducable as follows:

	create grid
	grid.set_minimum_size (300, 300)
	grid.enable_partial_dynamic_content
	grid.enable_tree
	grid.set_row_count_to (100000)
	grid.set_column_count_to (3)
	grid.set_dynamic_content_function (agent compute_item)
	...
compute_item (column_index, row_index: INTEGER): EV_GRID_ITEM is
		-- `grid' has been scrolled so an item at `column_index'
		-- `row_index' is visible. Compute and return this item.
	do
		create {EV_GRID_LABEL_ITEM} Result.make_with_text ("Item "
		+ column_index.out + ", " + row_index.out)
		if row_index \\ 100 = 1 and column_index = 1 then
			grid.row (row_index).insert_subrow (1)
		end
	end


Revision 54836 - (view) (annotate) - [select for diffs]
Modified Fri Sep 30 23:12:34 2005 UTC (14 years ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 203951 byte(s)
Diff to previous 54707
Fixed bug in grid which caused rows to be hidden/drawn over each other
as reported by Jocelyn and found in the debugger.
To reproduce:
	grid.enable_tree
	add_items (1, 2)
	grid.row (1).insert_subrows (6, 1)
	grid.pointer_double_press_item_actions.extend (agent update_row)
	...
	update_row (an_x, a_y, a_button: INTEGER; an_item: EV_GRID_ITEM) is
			--
		local
			row: EV_GRID_ROW
		do
			row := grid.row (1)
	grid.remove_rows (row.index + 1, row.index + row.subrow_count_recursive)
		end

You must expand and collapse the first row before double clicking on the
grid. There are two rows left in the grid, but you will see that they
appear to be drawn on top of one another and chaning the selection gives
an indication of this.


Revision 54707 - (view) (annotate) - [select for diffs]
Modified Thu Sep 22 16:21:16 2005 UTC (14 years ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 203391 byte(s)
Diff to previous 54688
Removed commented out code which is no longer used.


Revision 54688 - (view) (annotate) - [select for diffs]
Modified Tue Sep 20 21:18:06 2005 UTC (14 years ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 203460 byte(s)
Diff to previous 54591
Removed commented line which was no longer needed. It was commented by Manu
to correct a bug I introduced, and then during a later cleanup, it was forgotten
and left in the code.


Revision 54591 - (view) (annotate) - [select for diffs]
Modified Thu Sep 1 18:25:41 2005 UTC (14 years, 1 month ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 203525 byte(s)
Diff to previous 54487
Added features for supressing the scroll bars. This is useful in cases
where you wish to control the scrolling of a grid externally from
another control and you do not want the scroll bars to be shown.


Revision 54487 - (view) (annotate) - [select for diffs]
Modified Fri Aug 26 18:27:28 2005 UTC (14 years, 1 month ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 201270 byte(s)
Diff to previous 54483
Fixed bug in `remove_rows' which was redrawing the items individually which
cause a runtine failure as a result of executing the postcondition
of `virtual_y_position'. The problem stems from the fact that `row_count'
queries the count of `internal_row_data'. However, as `remove_rows' is
optimized for speed, `internal_row_data' is only resized once at the end of
the function and is queried during a redraw leading to the crash.

To reproduce:

CHeck Out Src/examples/vision2/grid with this date.
Run the example.
Click the "Build Default Item Structure" button.
Check the "Is partially dynamic" check button.
Check the "Resize columns to button".
Check the "Resize rows to button" - This shows the crash.


Revision 54483 - (view) (annotate) - [select for diffs]
Modified Fri Aug 26 00:16:51 2005 UTC (14 years, 1 month ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 201116 byte(s)
Diff to previous 54455
Fixed `not_row_height_variable_and_vertical_scrolling_per_pixel'
precondition of `enable_partial_dynamic_content' as it was incorrect.


Revision 54455 - (view) (annotate) - [select for diffs]
Modified Thu Aug 25 00:08:16 2005 UTC (14 years, 1 month ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 201112 byte(s)
Diff to previous 54445
Removed all references to completely dynamic content is at has been
removed from the interface as we could not implement it.


Revision 54445 - (view) (annotate) - [select for diffs]
Modified Wed Aug 24 21:04:50 2005 UTC (14 years, 1 month ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 202448 byte(s)
Diff to previous 54412
Improved comment of `is_tree_enabled' to describe how to enable the tree.


Revision 54412 - (view) (annotate) - [select for diffs]
Modified Mon Aug 22 16:38:07 2005 UTC (14 years, 1 month ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 202311 byte(s)
Diff to previous 54353
Added `screen' as a once which prevents the need for creating a new object
each time we need to query the screen.


Revision 54353 - (view) (annotate) - [select for diffs]
Modified Wed Aug 17 00:31:18 2005 UTC (14 years, 2 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 202317 byte(s)
Diff to previous 54352
Improved handling of `pointer_enter_actions' and `pointer_leave_actions'
on an Ev_GRID_ITEM. If you inserted a number 10, 10 items in a grid so
that no vertical scroll bar is displayed and the items are wider than the grid,
moving the mouse in and out of the grid at the right hand side was not
correctly firing the events at the item level.


Revision 54352 - (view) (annotate) - [select for diffs]
Modified Tue Aug 16 22:55:41 2005 UTC (14 years, 2 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 202069 byte(s)
Diff to previous 54350
Removed unused query to the final row to be removed from within
`remove_rows'.


Revision 54350 - (view) (annotate) - [select for diffs]
Modified Tue Aug 16 22:40:42 2005 UTC (14 years, 2 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 202113 byte(s)
Diff to previous 54330
Updated preconditions of `set_row_count_to' and `set_column_count_to' in
line with the recent changes in the implementation. Fixed implementation
of `set_row_count_to' which was previously broken in the case where you
were removing rows. We were not clearing the rows.


Revision 54330 - (view) (annotate) - [select for diffs]
Modified Tue Aug 16 16:36:19 2005 UTC (14 years, 2 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 201979 byte(s)
Diff to previous 54293
Added `set_default_colors' which is now used in the initialization.
This fixes a bug in which calling `set_default_colors' did not force the
grid to redraw.d


Revision 54293 - (view) (annotate) - [select for diffs]
Modified Mon Aug 15 20:59:28 2005 UTC (14 years, 2 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 201853 byte(s)
Diff to previous 54261
Minor spelling correction.


Revision 54261 - (view) (annotate) - [select for diffs]
Modified Fri Aug 12 17:03:27 2005 UTC (14 years, 2 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 201852 byte(s)
Diff to previous 54224
Redefined `has_capture' which was not working.


Revision 54224 - (view) (annotate) - [select for diffs]
Modified Thu Aug 11 17:12:16 2005 UTC (14 years, 2 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 201730 byte(s)
Diff to previous 54214
Fixed bug in handling of selection with dynamic content. To reproduce:
Set the grid to partially dynamic content with a large number of rows
Select an item in the grid with the mouse.
Press shift and hold down.
Select one of the last visible items without scrolling to select the block.
Now scroll down to the botom of the grid very quickly with the scrollbar.
Not all items are created as a result of performing this.
Now click the bottom item.

All items should have been selected, but as we were not calling the
dynamic function, only those that had been visible in the grid
were selected.


Revision 54214 - (view) (annotate) - [select for diffs]
Modified Thu Aug 11 00:46:33 2005 UTC (14 years, 2 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 200882 byte(s)
Diff to previous 54201
Redefined `enable_capture' and `disable_capture' to work on
`drawable'. Previously, `Current' was captured which was not paticularly
useful.


Revision 54201 - (view) (annotate) - [select for diffs]
Modified Wed Aug 10 19:29:14 2005 UTC (14 years, 2 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 200660 byte(s)
Diff to previous 54182
Implemented tooltip functionality at the grid level. Previously, only
items were tooltipable. Items take precedence over the grid tooltip.


Revision 54182 - (view) (annotate) - [select for diffs]
Modified Tue Aug 9 18:47:12 2005 UTC (14 years, 2 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 199858 byte(s)
Diff to previous 54176
Fixed bug in `set_virtual_position' which was checking if
`row_indexes_to_visible_indexes' was not void before calculating the
new scroll bar position. This was incorrect as if you enabled and then
disabled the tree, scrolling down did not update the position of the
vertical scroll bar anymore.


Revision 54176 - (view) (annotate) - [select for diffs]
Modified Tue Aug 9 17:20:52 2005 UTC (14 years, 2 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 199853 byte(s)
Diff to previous 54153
Added `insert_rows_at' and `insert_new_rows_parented'.


Revision 54153 - (view) (annotate) - [select for diffs]
Modified Mon Aug 8 22:05:59 2005 UTC (14 years, 2 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 198257 byte(s)
Diff to previous 54150
Added comments to move_rows and move_columns about overlapping moves


Revision 54150 - (view) (annotate) - [select for diffs]
Modified Mon Aug 8 18:28:25 2005 UTC (14 years, 2 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 197803 byte(s)
Diff to previous 54133
Refactored `add_row_at' into `insert_row_at' and `add_row_at' as the
old implementation was somewhat confusing. This remoces the need for
a BOOLEAN to be passed and simplifies the code from a readability
perspective.
Added `reset_internal_grid_attributes', which is used to reset the
attributes used for handling selection and other such internals which
need a reference to a grid object. We have to be sure to set the attribute
to `Void' otherwise this can keep objects around unecessarily.


Revision 54133 - (view) (annotate) - [select for diffs]
Modified Fri Aug 5 19:11:25 2005 UTC (14 years, 2 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 197128 byte(s)
Diff to previous 54129
Initial implementation of `remove_rows'.


Revision 54129 - (view) (annotate) - [select for diffs]
Modified Fri Aug 5 18:12:21 2005 UTC (14 years, 2 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 194096 byte(s)
Diff to previous 54127
Corrected bug in previous commit as `item_implementation' seems to be
Void.


Revision 54127 - (view) (annotate) - [select for diffs]
Modified Fri Aug 5 17:33:43 2005 UTC (14 years, 2 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 194100 byte(s)
Diff to previous 54098
Optimized `internal_set_item' for the case where we are setting the
item to Void. In cases where we were clearing large areas of the grid,
this was called and we were computing the size of the item to be computed
exactly. This was not necessary. As the redraw is performed on idle,
we now call `redraw_item'. The main benefit of this is that it stops
refreshing individual items after a threshold has been met which is a huge
optimization in speed for cases where many thousands of items are removed.


Revision 54098 - (view) (annotate) - [select for diffs]
Modified Thu Aug 4 22:43:07 2005 UTC (14 years, 2 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 194392 byte(s)
Diff to previous 54062
Fixed bug when using the keyboard to navigate the selection in
partially dynamic content. If the height of the grid aligned perfectly
with the height of the final item, then pressing the down key would
not scroll down to the next item as it had not yet been computed. Now
`find_next_item_in_column' and `find_next_item_in_row' call the dynamic
content function as required.


Revision 54062 - (view) (annotate) - [select for diffs]
Modified Thu Aug 4 01:22:45 2005 UTC (14 years, 2 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 192939 byte(s)
Diff to previous 54005
Added extra check to make sure that the item to be selected is not deselected before hand


Revision 54005 - (view) (annotate) - [select for diffs]
Modified Wed Aug 3 00:52:21 2005 UTC (14 years, 2 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 192847 byte(s)
Diff to previous 53985
Optimized is_item_navigatable_to to avoid calling through interface objects


Revision 53985 - (view) (annotate) - [select for diffs]
Modified Tue Aug 2 20:14:19 2005 UTC (14 years, 2 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 192814 byte(s)
Diff to previous 53978
Fixed bug in `recompute_vertical_scroll_bar' which was testing to
see if `row_indexes_to_visible_indexes' was not Void. This is incorrect
in the case where a tree is enabled and then disabled again. Now
we perform the correct query to determine if we should calculate offsets
of look them up. This was showing up in the new implementation of
the profile query window (not yet committed). To reproduce, switch to
the nested view and then switch back.


Revision 53978 - (view) (annotate) - [select for diffs]
Modified Tue Aug 2 17:31:33 2005 UTC (14 years, 2 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 192810 byte(s)
Diff to previous 53957
Now when Shift block selecting, only keyboard navigatable items get selected, fixed crash when no shift key was originally set for a block shift


Revision 53957 - (view) (annotate) - [select for diffs]
Modified Tue Aug 2 00:28:02 2005 UTC (14 years, 2 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 192406 byte(s)
Diff to previous 53928
Fixed Ctrl Shift behavior and optimized selection item tracking
Fixed bug where row_counter was not being increased after creation of a row
Removed use of do_once_on_idle for activation to prevent any bugs due to latency


Revision 53928 - (view) (annotate) - [select for diffs]
Modified Sat Jul 30 00:23:02 2005 UTC (14 years, 2 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 188948 byte(s)
Diff to previous 53926
Corrected previous commit which failed when the grid was empty.


Revision 53926 - (view) (annotate) - [select for diffs]
Modified Fri Jul 29 23:52:12 2005 UTC (14 years, 2 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 188944 byte(s)
Diff to previous 53907
Fixed bug in `set_row_count_to' which was resetting the required row to
be computed back to 1. Therefore if you added rows in order and called
`ensure_expandable' or some other function that forced a redraw, the
performance was poor. This bug was introduced with revision 1.288.


Revision 53907 - (view) (annotate) - [select for diffs]
Modified Fri Jul 29 02:00:59 2005 UTC (14 years, 2 months ago) by manus
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 188894 byte(s)
Diff to previous 53704
Removed non-needed `is_parented' precondition in `clear' and `wipe_out'.


Revision 53704 - (view) (annotate) - [select for diffs]
Modified Fri Jul 22 18:32:17 2005 UTC (14 years, 2 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 188976 byte(s)
Diff to previous 53590
Now showing activate window on an idle so that all pending events have been dealt with, fixed issue where multiple items couldnt be Ctrl unselected if item_always_selected was True


Revision 53590 - (view) (annotate) - [select for diffs]
Modified Wed Jul 20 20:23:04 2005 UTC (14 years, 3 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 188823 byte(s)
Diff to previous 53583
Now inherits EV_SHARED_APPLICATION for access to EV_APPLICATION. This
removes the need for inline creation of EV_ENVIRONMENT objects which
was slowing down performance. In a test case where 10,000 rows were inserted,
the virtual y position set to its maximum and then the rows were removed
one by one from the final position, the removal of the rows was 3% faster
with this optimization.


Revision 53583 - (view) (annotate) - [select for diffs]
Modified Wed Jul 20 18:55:24 2005 UTC (14 years, 3 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 188862 byte(s)
Diff to previous 53555
Updated `set_virtual_position' so that it actually updates the range of
the scroll bar before explicitly setting its value. If this is not performed,
it is possible that the value exceeded the current range as the resizing of
the scroll bar was normally performed on idle. To reproduce:

add a large number of items to the grid
set the virtual position to the maximum virtual position

A further optimization is to make sure that the scroll bars are only updated
if their range really does not permit the value to be set. This however,
is for later versions.

Also updated `perform_vertical_computation' and
`perform_horizontal_computation' so that the idle actions are extended in the
case where there are no rows or columns. Without this, it is possible that
wiping out the grid may not correctly resize the area that was occupied by
the scroll bars.


Revision 53555 - (view) (annotate) - [select for diffs]
Modified Wed Jul 20 00:53:39 2005 UTC (14 years, 3 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 188610 byte(s)
Diff to previous 53539
Fixed bug in `set_virtual_position' which was not correctly setting
the value of the scroll bar when there were no rows in the grid. It was simply
leaving the value where it was. To reproduce this bug in EiffelStudio,
autocomplete with a large number of items, scroll to the bottom of the window,
close the autocomplete and then autocomplete again. The scroll bar position
was not in synch with the virtual position.


Revision 53539 - (view) (annotate) - [select for diffs]
Modified Tue Jul 19 02:32:04 2005 UTC (14 years, 3 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 188456 byte(s)
Diff to previous 53529
Improved multiple selection handling for click, fixed issue where trying to navigate to a void item would mess up the previous selection


Revision 53529 - (view) (annotate) - [select for diffs]
Modified Tue Jul 19 00:51:46 2005 UTC (14 years, 3 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 188204 byte(s)
Diff to previous 53528
Minor formatting.


Revision 53528 - (view) (annotate) - [select for diffs]
Modified Tue Jul 19 00:46:47 2005 UTC (14 years, 3 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 188174 byte(s)
Diff to previous 53522
Optimized `recompute_row_offsets' which is now approx 20% faster
by assigning all objects to locals before accessing them within the
main loop.


Revision 53522 - (view) (annotate) - [select for diffs]
Modified Mon Jul 18 23:57:58 2005 UTC (14 years, 3 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 187316 byte(s)
Diff to previous 53505
Changed default internal window sizes to 32000.


Revision 53505 - (view) (annotate) - [select for diffs]
Modified Mon Jul 18 19:16:14 2005 UTC (14 years, 3 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 187315 byte(s)
Diff to previous 53484
`recompute_vertical_scroll_bar' and `recompute_horizontal_scroll_bar'
now perform the computation if required. Without this, it was possible
for `ensure_visible' to failas it called these features directly and if
this was performed at a time where the computation was up to date an
internal precondition was violated. This was showing up in the debugger
as reported by Jocelyn and Manu.


Revision 53484 - (view) (annotate) - [select for diffs]
Modified Sun Jul 17 01:40:01 2005 UTC (14 years, 3 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 187245 byte(s)
Diff to previous 53483
Fixed issue with multiple selection when trying to undo the previously selected item


Revision 53483 - (view) (annotate) - [select for diffs]
Modified Sun Jul 17 00:05:14 2005 UTC (14 years, 3 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 186979 byte(s)
Diff to previous 53474
Now only calling grid pick and drop actions if the item drop actions are not called


Revision 53474 - (view) (annotate) - [select for diffs]
Modified Sat Jul 16 04:36:31 2005 UTC (14 years, 3 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 186805 byte(s)
Diff to previous 53465
Reimplemented selected_columns to use i_th for speed, now calling deselection events for rows and columns should an item be added in a Void position


Revision 53465 - (view) (annotate) - [select for diffs]
Modified Sat Jul 16 01:13:31 2005 UTC (14 years, 3 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 185893 byte(s)
Diff to previous 53457
`wipe_out' now resets `hidden_noce_count' and `displayed_column_count'.
This previously crashed the grid, if using the grid tester, you
"build default structure", "wipe_out" and then add 10x10 items.


Revision 53457 - (view) (annotate) - [select for diffs]
Modified Fri Jul 15 23:48:56 2005 UTC (14 years, 3 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 185837 byte(s)
Diff to previous 53428
Now preventing ensure_*_visible from being called should the item be already activated, fixed issue with wipeout when a column that contains no void items isn't reset, fixed issue when column selection actions where not being fired when the item being replaced was void


Revision 53428 - (view) (annotate) - [select for diffs]
Modified Thu Jul 14 20:08:40 2005 UTC (14 years, 3 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 184939 byte(s)
Diff to previous 53419
Actually fixed the bug detailed in the last two commits, where an area
of the grid was not redrawn correctly.


Revision 53419 - (view) (annotate) - [select for diffs]
Modified Thu Jul 14 02:38:28 2005 UTC (14 years, 3 months ago) by manus
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 184922 byte(s)
Diff to previous 53410
Commented out previous changes as it break the wheel scrolling in the debugger and
  in the completion dialog in EiffelStudio, and that I needed to do a working release
  candidate tonight.


Revision 53410 - (view) (annotate) - [select for diffs]
Modified Wed Jul 13 23:08:44 2005 UTC (14 years, 3 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 184914 byte(s)
Diff to previous 53406
Corrected a few comments.


Revision 53406 - (view) (annotate) - [select for diffs]
Modified Wed Jul 13 22:45:47 2005 UTC (14 years, 3 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 184914 byte(s)
Diff to previous 53360
Fixed resizing issue which prevented part of the grid to be redrawn
when it should have done. This could be reproduced in EiffelStudio as
follows:

Target a class such as STRING which has many features into the editor.
Autocomplete a feature with no typed text.
scroll to the very bottom of the list.
Close the autcomplete.
Perform another autocomplete.
Now resize the window to have a greater height, by dragging down on the bottom
of the window.

The newly exposed area is displayed as grey. This is because we were not always
keeping our last vertical and horizontal scroll bar positions up to date with
all change to the scroll bar values.


Revision 53360 - (view) (annotate) - [select for diffs]
Modified Tue Jul 12 16:52:40 2005 UTC (14 years, 3 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 184653 byte(s)
Diff to previous 53342
Made `extra_text_spacing' deferred.


Revision 53342 - (view) (annotate) - [select for diffs]
Modified Tue Jul 12 01:26:10 2005 UTC (14 years, 3 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 184662 byte(s)
Diff to previous 53319
Added left side clipping to activate popup window, added an extra text spacing routine that is returns the number of pixel of a default row height not including the text


Revision 53319 - (view) (annotate) - [select for diffs]
Modified Mon Jul 11 22:53:01 2005 UTC (14 years, 3 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 184059 byte(s)
Diff to previous 53281
Moved the platform indpendent color settings here from the imp. This fixes
it on Windows.


Revision 53281 - (view) (annotate) - [select for diffs]
Modified Mon Jul 11 17:51:53 2005 UTC (14 years, 3 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 184153 byte(s)
Diff to previous 53216
Renamed `visible_column_count' to `displayed_column_count' and
`visible_column' to `displayed_column'. Re-implemented
`set_first_visible_row' to use `maximum_virtual_y_position'.


Revision 53216 - (view) (annotate) - [select for diffs]
Modified Fri Jul 8 19:01:23 2005 UTC (14 years, 3 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 183945 byte(s)
Diff to previous 53170
Now enabling selection keyboard handling by default


Revision 53170 - (view) (annotate) - [select for diffs]
Modified Fri Jul 8 00:07:28 2005 UTC (14 years, 3 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 183907 byte(s)
Diff to previous 53164
Added `lock_update', `unlock_update' and `is_locked'.


Revision 53164 - (view) (annotate) - [select for diffs]
Modified Thu Jul 7 23:10:58 2005 UTC (14 years, 3 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 183309 byte(s)
Diff to previous 53159
Fixed bug in `pointer_motion_received' which was not removing the tooltip
if you moved over another item that did not have a tooltip.


Revision 53159 - (view) (annotate) - [select for diffs]
Modified Thu Jul 7 20:27:24 2005 UTC (14 years, 3 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 183243 byte(s)
Diff to previous 53158
Corrected precondition of `insert_new_row_parented'.


Revision 53158 - (view) (annotate) - [select for diffs]
Modified Thu Jul 7 19:58:26 2005 UTC (14 years, 3 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 183242 byte(s)
Diff to previous 53157
Fixed bug in recent commit.


Revision 53157 - (view) (annotate) - [select for diffs]
Modified Thu Jul 7 19:57:15 2005 UTC (14 years, 3 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 183242 byte(s)
Diff to previous 53113
Protected a number of features that had side effects.


Revision 53113 - (view) (annotate) - [select for diffs]
Modified Thu Jul 7 01:34:44 2005 UTC (14 years, 3 months ago) by neilc
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 182937 byte(s)
Diff to previous 53104
Made sure not to process default selection handling when `is_selection_keyboard_handling_enabled' is disabled


Revision 53104 - (view) (annotate) - [select for diffs]
Modified Wed Jul 6 22:32:19 2005 UTC (14 years, 3 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 182826 byte(s)
Diff to previous 53088
Corrected selected_rows so that it now doesn't create a row as a result of calling row_internal


Revision 53088 - (view) (annotate) - [select for diffs]
Modified Wed Jul 6 21:14:40 2005 UTC (14 years, 3 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 182811 byte(s)
Diff to previous 53063
Fixed a number of bugs in the code that dealt with the virtual
height computations.


Revision 53063 - (view) (annotate) - [select for diffs]
Modified Wed Jul 6 17:34:46 2005 UTC (14 years, 3 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 182603 byte(s)
Diff to previous 53044
Fixed bug in `last_first_row_in_per_item_scrolling' which was failing
if the viewable width was 0 or 1. This manifested on Gtk when in
EiffelStudio, you displayed the preferences.


Revision 53044 - (view) (annotate) - [select for diffs]
Modified Wed Jul 6 01:03:32 2005 UTC (14 years, 3 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 181994 byte(s)
Diff to previous 52788
Re-implemented virtual size handling. Now the overscroll may be turned
on and off and is not dependent on the per-pixel item scrolling modes.
Added the maximum virtual position queries.


Revision 52788 - (view) (annotate) - [select for diffs]
Modified Thu Jun 30 01:58:00 2005 UTC (14 years, 3 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 172881 byte(s)
Diff to previous 52755
Abstracted a default_row_height that reflects the default row height of native gtk widgets


Revision 52755 - (view) (annotate) - [select for diffs]
Modified Wed Jun 29 18:45:32 2005 UTC (14 years, 3 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 172505 byte(s)
Diff to previous 52574
Now destroying activate_window after deactivate events have been called


Revision 52574 - (view) (annotate) - [select for diffs]
Modified Fri Jun 24 01:01:02 2005 UTC (14 years, 3 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 172435 byte(s)
Diff to previous 52564
Added PND redefinition from cell so that they now hookup to drawable


Revision 52564 - (view) (annotate) - [select for diffs]
Modified Thu Jun 23 18:11:08 2005 UTC (14 years, 3 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 170771 byte(s)
Diff to previous 52454
Added `string_size' as deferred, which permits each implementation to
perform a more optimized version as required.
Fixed bug in `recompute_vertical_scroll_bar' which was storing the last
set total row height as an optimization. Unfortunately, if you were
resizing the grid, we needed to perform the computation but it was being
ignored as the row heights had not changed. This bug was showing in the
debugger and the autocomplete tool in EiffelStudio. The optimization is
no longer required now, as `recompute_vertical_scroll_bar' is only
called when really required.


Revision 52454 - (view) (annotate) - [select for diffs]
Modified Tue Jun 21 23:02:44 2005 UTC (14 years, 3 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 170537 byte(s)
Diff to previous 52424
Removed use of column_internal


Revision 52424 - (view) (annotate) - [select for diffs]
Modified Tue Jun 21 16:51:05 2005 UTC (14 years, 3 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 171121 byte(s)
Diff to previous 52423
Fixed bug in `move_rows'. We were not flagging vertical computation
as required. To reproduce add a first row with 3 subrows and then a 5th
row. expand and collapse the first row and then move the 5th row to the 1st
position. This was reported by Jocelyn in bug 4945.


Revision 52423 - (view) (annotate) - [select for diffs]
Modified Tue Jun 21 16:30:01 2005 UTC (14 years, 3 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 171071 byte(s)
Diff to previous 52395
Remoed unused locals.


Revision 52395 - (view) (annotate) - [select for diffs]
Modified Tue Jun 21 01:15:16 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 171090 byte(s)
Diff to previous 52394
Minor optimization in `drop_action_intermediary.


Revision 52394 - (view) (annotate) - [select for diffs]
Modified Tue Jun 21 01:01:26 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 171024 byte(s)
Diff to previous 52393
Minor optimization in `set_column_count_to'.


Revision 52393 - (view) (annotate) - [select for diffs]
Modified Tue Jun 21 00:52:20 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 170969 byte(s)
Diff to previous 52390
Added missing preconditions.


Revision 52390 - (view) (annotate) - [select for diffs]
Modified Tue Jun 21 00:27:04 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 170666 byte(s)
Diff to previous 52387
Implemented missing precondition on `insert_new_row_parented'.


Revision 52387 - (view) (annotate) - [select for diffs]
Modified Tue Jun 21 00:12:14 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 170651 byte(s)
Diff to previous 52381
Implemented `set_first_visible_row'.


Revision 52381 - (view) (annotate) - [select for diffs]
Modified Mon Jun 20 23:15:21 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 170496 byte(s)
Diff to previous 52380
Removed fixed fixme, and re-implemented `internal_set_item' to get rid of
the old fixme.


Revision 52380 - (view) (annotate) - [select for diffs]
Modified Mon Jun 20 23:09:54 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 170775 byte(s)
Diff to previous 52379
Updated `viewport_resized' so that it does not invalidate the column
and row indexes from 1, but instead the row count and column count. This
will reduce the CPU overhead while resizing an EV_GRID, although the difference
has not been measured.


Revision 52379 - (view) (annotate) - [select for diffs]
Modified Mon Jun 20 22:55:32 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 170952 byte(s)
Diff to previous 52375
Re-implemented `redraw_item' giving approx a 25% speed increase for
items that are in a subrow. This optimization was performed by avoiding
calling `item_indent' twice (indirectly) which occured with the last
code path.


Revision 52375 - (view) (annotate) - [select for diffs]
Modified Mon Jun 20 22:13:12 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 170698 byte(s)
Diff to previous 52374
Removed a number of fixme's that are no longer required.


Revision 52374 - (view) (annotate) - [select for diffs]
Modified Mon Jun 20 20:53:57 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 171071 byte(s)
Diff to previous 52373
Replaced calls to `row' with `row_internal' for performance reasons.


Revision 52373 - (view) (annotate) - [select for diffs]
Modified Mon Jun 20 20:51:17 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 171065 byte(s)
Diff to previous 52369
All queries to `column' that could be replaced with `column_internal'
have been replaced as this is a performance improvement as we do not
need to keep going through the interface and back to the implementation.


Revision 52369 - (view) (annotate) - [select for diffs]
Modified Mon Jun 20 20:45:15 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 171042 byte(s)
Diff to previous 52360
Reverted back to implementation where rows are only created when queried.
This prevents a long pause while all rows are created when resizing a
grid with a dynamic content function.


Revision 52360 - (view) (annotate) - [select for diffs]
Modified Mon Jun 20 17:28:57 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 169608 byte(s)
Diff to previous 52357
Undid previous post condition changes. However, there is a fix added
to one for `insert_new_column'.


Revision 52357 - (view) (annotate) - [select for diffs]
Modified Mon Jun 20 17:15:22 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 169647 byte(s)
Diff to previous 52335
Simplified postconditions on `insert_new_row' and `insert_new_column'.
Fixed `insert_new_column' which was broken by the change in revision
1.147 and failed if you used an index less than `column_count'.


Revision 52335 - (view) (annotate) - [select for diffs]
Modified Sat Jun 18 01:26:10 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 169680 byte(s)
Diff to previous 52333
Fixed bug in `wipe_out' which was not correctly wiping out selected rows
if a selected row had no items contained.


Revision 52333 - (view) (annotate) - [select for diffs]
Modified Sat Jun 18 00:40:32 2005 UTC (14 years, 4 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 169243 byte(s)
Diff to previous 52328
Changed column remove_parent_i to update_for_removal


Revision 52328 - (view) (annotate) - [select for diffs]
Modified Fri Jun 17 22:39:22 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 169380 byte(s)
Diff to previous 52320
Updated all `fixme' to use Once strings as this greatly increases the
performance of the grid as thousands of string are not being created.


Revision 52320 - (view) (annotate) - [select for diffs]
Modified Fri Jun 17 18:18:23 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 169313 byte(s)
Diff to previous 52309
Optimized `redraw_item' so that if it is called multiple times between
refreshes, at some point, we stop performing the calculation and simply
invalidate the entire client area. When calling `set_item' 200,000 times,
this reduced the time taken by 40%


Revision 52309 - (view) (annotate) - [select for diffs]
Modified Fri Jun 17 17:00:08 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 168119 byte(s)
Diff to previous 52291
Performed minor optimizations for features called more than once within
`Current'.


Revision 52291 - (view) (annotate) - [select for diffs]
Modified Fri Jun 17 01:27:20 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 167974 byte(s)
Diff to previous 52289
Optimized `redraw_from_row_to_end' which was querying the virtual y position
of the row twice. We now assign it to a local and use the local each time.


Revision 52289 - (view) (annotate) - [select for diffs]
Modified Fri Jun 17 01:08:42 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 167916 byte(s)
Diff to previous 52279
Updated to reflect recent name change in rows.


Revision 52279 - (view) (annotate) - [select for diffs]
Modified Thu Jun 16 23:38:30 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 167917 byte(s)
Diff to previous 52250
Re-implemented `wipe_out' to be faster. It seems to be approx 30-50
times faster for grids containing large numbers of items.


Revision 52250 - (view) (annotate) - [select for diffs]
Modified Thu Jun 16 18:24:49 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 166501 byte(s)
Diff to previous 52197
Fixed `internal_set_item' so that `last_pointed_item' is really cleared.


Revision 52197 - (view) (annotate) - [select for diffs]
Modified Thu Jun 16 00:38:32 2005 UTC (14 years, 4 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 166502 byte(s)
Diff to previous 52187
Updated column and row comments, removed redundant post conditions regarding column and row querying


Revision 52187 - (view) (annotate) - [select for diffs]
Modified Wed Jun 15 22:30:35 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 166668 byte(s)
Diff to previous 52186
Renamed `total_header_width' to `total_column_width' and optimized
as the old iteration was slow and had to iterate all of the items in
the grid. Now we simply look up the value from our pre-computed values.


Revision 52186 - (view) (annotate) - [select for diffs]
Modified Wed Jun 15 22:23:25 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 166695 byte(s)
Diff to previous 52113
Fixed performance slow-down when resizing columns in a grid that had a
large number of rows (say 100,000, although it was visible in the 1000's).
Basically, the amount of CPU usage increased while resizing columns as the
number of rows increased. As during the resize, the items have already
been re-computed, the CPU usage should have been consistent irrespective
of the number of rows contained. This is now the case. This bug was also
visible in the debugger if you opened a large number of tree items.


Revision 52113 - (view) (annotate) - [select for diffs]
Modified Tue Jun 14 17:05:00 2005 UTC (14 years, 4 months ago) by manus
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 165146 byte(s)
Diff to previous 52109
Use `item' instead of `call'.


Revision 52109 - (view) (annotate) - [select for diffs]
Modified Tue Jun 14 16:24:02 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 165190 byte(s)
Diff to previous 52072
Updated `internal_set_item' so that it sets `last_pointed_item' to Void
if the item is being removed. This was reported by Jocelyn as memory
leak problem within the debugger.


Revision 52072 - (view) (annotate) - [select for diffs]
Modified Mon Jun 13 17:47:51 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 164938 byte(s)
Diff to previous 52062
While re-sizing columns, we now redraw from the last non-zero width
column if there are column separators set as we must draw part
of the border on this item.


Revision 52062 - (view) (annotate) - [select for diffs]
Modified Mon Jun 13 16:36:59 2005 UTC (14 years, 4 months ago) by jfiat
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 163536 byte(s)
Diff to previous 51988
fixed issue with missplaced argument for `a_button'


Revision 51988 - (view) (annotate) - [select for diffs]
Modified Fri Jun 10 01:20:42 2005 UTC (14 years, 4 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 163536 byte(s)
Diff to previous 51963
Added move_columns implementation


Revision 51963 - (view) (annotate) - [select for diffs]
Modified Thu Jun 9 20:25:33 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 163998 byte(s)
Diff to previous 51943
`disable_tree' now flattens the tree structure.


Revision 51943 - (view) (annotate) - [select for diffs]
Modified Thu Jun 9 01:15:35 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 163768 byte(s)
Diff to previous 51940
Fixed bug in `recompute_row_offsets'. If a row was added and we had to
recompute from a row offset that was not already computed, we retrieved the
incorrect offset. To reproduce, create the default item structure from
the EV_GRID EiffelVision2 example and then add new items at position
1, 400 with 1 column and 100 new rows. As you scroll vertically, the
vertical offsets are messed up.


Revision 51940 - (view) (annotate) - [select for diffs]
Modified Thu Jun 9 00:31:43 2005 UTC (14 years, 4 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 163329 byte(s)
Diff to previous 51938
Comments for previous accidental commit

Now rows and columns are never stored in the array as Void
Removed column_internal and row_internal as the array can now be accessed directly
Updated set_row_count and set_column_count to be used by new implementation to avoid duplicated code
Wipe_out is now more optimized columns and rows are removed from the end instead of the start eradicating the need for a memcopy
set_row_count and set_column_count can be optimized to handle when the row and column counts are zero


Revision 51938 - (view) (annotate) - [select for diffs]
Modified Thu Jun 9 00:24:03 2005 UTC (14 years, 4 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 163133 byte(s)
Diff to previous 51909
ev_grid_i.e


Revision 51909 - (view) (annotate) - [select for diffs]
Modified Wed Jun 8 17:24:20 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 163277 byte(s)
Diff to previous 51866
Removed useless code from `recompute_row_offsets' which was not doing anything.


Revision 51866 - (view) (annotate) - [select for diffs]
Modified Wed Jun 8 00:04:50 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 163474 byte(s)
Diff to previous 51854
Slight optimization to `item_internal' as we simply assign the
returned item directly to `Result'.


Revision 51854 - (view) (annotate) - [select for diffs]
Modified Tue Jun 7 20:52:23 2005 UTC (14 years, 4 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 163518 byte(s)
Diff to previous 51844
Now passing in activate_window to item activate_actions_internal


Revision 51844 - (view) (annotate) - [select for diffs]
Modified Tue Jun 7 19:00:56 2005 UTC (14 years, 4 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 163505 byte(s)
Diff to previous 51791
Corrected optimization for moving rows


Revision 51791 - (view) (annotate) - [select for diffs]
Modified Tue Jun 7 00:34:15 2005 UTC (14 years, 4 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 163504 byte(s)
Diff to previous 51789
Now setting column physical index before parent to satisfy invariant


Revision 51789 - (view) (annotate) - [select for diffs]
Modified Tue Jun 7 00:27:52 2005 UTC (14 years, 4 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 163504 byte(s)
Diff to previous 51784
Accounted for default_create change to grid_arrayed_list


Revision 51784 - (view) (annotate) - [select for diffs]
Modified Mon Jun 6 21:58:55 2005 UTC (14 years, 4 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 163695 byte(s)
Diff to previous 51781
Optimized move_rows


Revision 51781 - (view) (annotate) - [select for diffs]
Modified Mon Jun 6 20:44:38 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 165366 byte(s)
Diff to previous 51722
Added `is_full_redraw_on_virtual_position_change_enabled'.


Revision 51722 - (view) (annotate) - [select for diffs]
Modified Sat Jun 4 01:16:56 2005 UTC (14 years, 4 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 164172 byte(s)
Diff to previous 51669
Implemented move_rows


Revision 51669 - (view) (annotate) - [select for diffs]
Modified Fri Jun 3 00:06:12 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 162492 byte(s)
Diff to previous 51660
The default row height of the grid is now based on the height of the text.
That means that if you change the DPI, the item heights are still proportioned.


Revision 51660 - (view) (annotate) - [select for diffs]
Modified Thu Jun 2 20:34:42 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 162456 byte(s)
Diff to previous 51568
Optimized `item_cell_indent' as there is no need to perform the recursion
if the item is in the first column.


Revision 51568 - (view) (annotate) - [select for diffs]
Modified Wed Jun 1 04:04:53 2005 UTC (14 years, 4 months ago) by manus
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 162050 byte(s)
Diff to previous 51555
Removed unused locals.


Revision 51555 - (view) (annotate) - [select for diffs]
Modified Tue May 31 23:56:30 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 162355 byte(s)
Diff to previous 51544
Added item_cell_indent' and re-implemented indent code correctly.


Revision 51544 - (view) (annotate) - [select for diffs]
Modified Tue May 31 20:58:47 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 159982 byte(s)
Diff to previous 51522
Fixed bug in `redraw_row' which was not redrawing the correct row
height when the rows were fixed within the grid.


Revision 51522 - (view) (annotate) - [select for diffs]
Modified Tue May 31 16:15:40 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 159847 byte(s)
Diff to previous 51499
Removed incorrect precondition from `select_row'.


Revision 51499 - (view) (annotate) - [select for diffs]
Modified Fri May 27 18:38:59 2005 UTC (14 years, 4 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 159893 byte(s)
Diff to previous 51429
Now clearing column when it gets removed from grid to reset item values


Revision 51429 - (view) (annotate) - [select for diffs]
Modified Thu May 26 17:37:28 2005 UTC (14 years, 4 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 159886 byte(s)
Diff to previous 51403
Added custom row and column type handling, added wipe_out, corrected typo in comment


Revision 51403 - (view) (annotate) - [select for diffs]
Modified Thu May 26 01:16:39 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 159367 byte(s)
Diff to previous 51388
Fixed bug in `update_index_of_first_item_dirty_row_flags' which crashed
if there were Void rows contained. This is the case when you resized the
grid for dynamic content.


Revision 51388 - (view) (annotate) - [select for diffs]
Modified Wed May 25 18:11:28 2005 UTC (14 years, 4 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 159291 byte(s)
Diff to previous 51386
Implemented boundary clipping for activation popup window


Revision 51386 - (view) (annotate) - [select for diffs]
Modified Wed May 25 18:03:10 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 158726 byte(s)
Diff to previous 51383
Optimized `redraw_column' which was invalidating the entire height of
`drawable'. We now only invalidate the viewable potion. We no longer
query `drawable.height' in here which is where the optimization comes from.
The speed increase from the invalidated area being smaller is up to
the operating system, and there may be no performance gain from this.


Revision 51383 - (view) (annotate) - [select for diffs]
Modified Wed May 25 17:48:23 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 158710 byte(s)
Diff to previous 51381
Converted `viewable_width' and `viewable_height' to attributes for speed,
and removed `internal_client_width' and `internal_client_height' as they
are no longer needed.
The speed improvement from performing this is great for cases where you
query virtual positions a lot. Performing 1000 iterations of the ball
demo with 10 balls used to take 10 seconds before this change, and with it,
it is now down to 6, 40% saving.


Revision 51381 - (view) (annotate) - [select for diffs]
Modified Wed May 25 17:23:18 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 158851 byte(s)
Diff to previous 51362
All calls to `viewport.width' and `viewport.height' have been replaced
with calls to `viewable_width' and `viewable_height' ready for
optimization.


Revision 51362 - (view) (annotate) - [select for diffs]
Modified Tue May 24 19:55:02 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 158851 byte(s)
Diff to previous 51347
Fixed bug in `set_virtual_position' which was messing up when the drawable
was flipped internally. This is due to the recent fix to
`items_spanning_vertical_span' which now actually takes a real virtual
position. The code in this feature had not been updated to reflect the change.


Revision 51347 - (view) (annotate) - [select for diffs]
Modified Tue May 24 17:01:51 2005 UTC (14 years, 4 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 158851 byte(s)
Diff to previous 51346
Accounted for change to attribute of column_i index


Revision 51346 - (view) (annotate) - [select for diffs]
Modified Tue May 24 16:47:18 2005 UTC (14 years, 4 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 158868 byte(s)
Diff to previous 51334
Accounted from row change of internal_index to index


Revision 51334 - (view) (annotate) - [select for diffs]
Modified Tue May 24 01:10:53 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 158982 byte(s)
Diff to previous 51325
Added `redraw_from_column_to_end' which is now used by `header_item_resizing'
which reduces the amount of drawing required, as we now no longer redraw
the entire client area.


Revision 51325 - (view) (annotate) - [select for diffs]
Modified Mon May 23 23:18:26 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 158319 byte(s)
Diff to previous 51317
Added `redraw'.


Revision 51317 - (view) (annotate) - [select for diffs]
Modified Mon May 23 22:23:42 2005 UTC (14 years, 4 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 158219 byte(s)
Diff to previous 51312
Now selection handling occurs on right click for context menus


Revision 51312 - (view) (annotate) - [select for diffs]
Modified Mon May 23 21:12:58 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 158214 byte(s)
Diff to previous 51311
Improved comment.


Revision 51311 - (view) (annotate) - [select for diffs]
Modified Mon May 23 21:08:26 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 158041 byte(s)
Diff to previous 51303
Implemented the pointer enter and pointer leave actions at all levels.


Revision 51303 - (view) (annotate) - [select for diffs]
Modified Mon May 23 18:07:08 2005 UTC (14 years, 4 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 153299 byte(s)
Diff to previous 51274
Implemented the pointer enter and pointer leave actions at the item level.


Revision 51274 - (view) (annotate) - [select for diffs]
Modified Sat May 21 00:42:39 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 152133 byte(s)
Diff to previous 51264
Added features for setting the focused and non-focused selection colors.


Revision 51264 - (view) (annotate) - [select for diffs]
Modified Fri May 20 20:48:02 2005 UTC (14 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 151511 byte(s)
Diff to previous 51255
Updated selection handling comment to be more readable


Revision 51255 - (view) (annotate) - [select for diffs]
Modified Fri May 20 16:32:53 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 151744 byte(s)
Diff to previous 51242
Removed the call to `set_focus' from `pointer_button_press_received'
as it causes problems when picking and dropping and setting the focus.
This should be performed at the implementation level before any user
connectable actions are fired, preventing it from messing with the
users actions.


Revision 51242 - (view) (annotate) - [select for diffs]
Modified Fri May 20 00:33:28 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 151765 byte(s)
Diff to previous 51227
Implemented `has_focus' and `set_focus'.


Revision 51227 - (view) (annotate) - [select for diffs]
Modified Thu May 19 19:36:39 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 151497 byte(s)
Diff to previous 51216
Fixed bug in `viewable_y_offset' which was not taking into account the
visible status of the header.


Revision 51216 - (view) (annotate) - [select for diffs]
Modified Thu May 19 17:10:04 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 151502 byte(s)
Diff to previous 51214
Added tooltip handling within `pointer_motion_received".


Revision 51214 - (view) (annotate) - [select for diffs]
Modified Thu May 19 16:38:05 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 151551 byte(s)
Diff to previous 51201
Fixed bug in `recompute_row_offsets' which was introduced with the recent
change causing it to be called when the grid has no rows. This was reported
by Jocelyn.


Revision 51201 - (view) (annotate) - [select for diffs]
Modified Thu May 19 01:00:17 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 150853 byte(s)
Diff to previous 51174
Added features for modification of separators and colors.


Revision 51174 - (view) (annotate) - [select for diffs]
Modified Wed May 18 23:39:16 2005 UTC (14 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 149287 byte(s)
Diff to previous 51164
Updated to use is_always_selected, now using EV_GRID_HEADER, added individual item event handling for pnd and activation


Revision 51164 - (view) (annotate) - [select for diffs]
Modified Wed May 18 22:09:59 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 148921 byte(s)
Diff to previous 51156
Updated `visible_row_indexes' and `visible_column_indexes' to reflect the
recent fixing of the features used in their implementation.


Revision 51156 - (view) (annotate) - [select for diffs]
Modified Wed May 18 18:42:34 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 149010 byte(s)
Diff to previous 51152
Added a "not_parented" precondition to `set_item'. Also added some missing
comments.


Revision 51152 - (view) (annotate) - [select for diffs]
Modified Wed May 18 16:44:08 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 148714 byte(s)
Diff to previous 51128
Fixed handling of row offset computation. If you enabled the tree and
put nothing in it and then moved the mouse pointer of the grid, it
failed during the computation of row offsets. This was reported by
Jocelyn.


Revision 51128 - (view) (annotate) - [select for diffs]
Modified Wed May 18 00:50:25 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 148359 byte(s)
Diff to previous 51106
Exported `column_internal' to EV_GRID_DRAWER_I.


Revision 51106 - (view) (annotate) - [select for diffs]
Modified Tue May 17 16:19:03 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 148359 byte(s)
Diff to previous 51104
Fixed bug in `set_row_height'. If you were scrolled to the very bottom of the
viewable area and you reduced the row height, the virtual y position was
no longer valid. We now scroll to a valid position.


Revision 51104 - (view) (annotate) - [select for diffs]
Modified Tue May 17 00:42:43 2005 UTC (14 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 148429 byte(s)
Diff to previous 51100
Improved selection handling to not query selected_rows on each call to remove selected, added enable_item_always_selected mode


Revision 51100 - (view) (annotate) - [select for diffs]
Modified Mon May 16 22:23:53 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 146959 byte(s)
Diff to previous 51098
Fixed bug in resizing of header which was hard coded to be 16 pixels high.
Now we actually use the height of `header' for this.


Revision 51098 - (view) (annotate) - [select for diffs]
Modified Mon May 16 20:58:40 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 147031 byte(s)
Diff to previous 51096
Fixed bug in `virtual_height'. If the grid had not yet been displayed and
therefore had a height of 0, if an item is contained, the postcondition
of `item.virtual_y_position' would fail.


Revision 51096 - (view) (annotate) - [select for diffs]
Modified Mon May 16 19:08:05 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 147100 byte(s)
Diff to previous 51069
Calling `enable_tree' now redraws the control as the first column must be
indented.


Revision 51069 - (view) (annotate) - [select for diffs]
Modified Fri May 13 22:43:43 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 147078 byte(s)
Diff to previous 51044
Corrected handling of `pointer_double_press_item_actions' and
`pointer_button_release_item_actions as they were incorrectly querying
the versions inherited from EV_WIDGET instead of themselves before
being fired.


Revision 51044 - (view) (annotate) - [select for diffs]
Modified Fri May 13 17:15:31 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 147058 byte(s)
Diff to previous 51041
Added features for querying the first and last row and columns and all
visible rows and columns.

Optimized previous fix for the recalculation of scroll bars. We were
performing some recomputation all the time that should only be required
if the viewport had resized.


Revision 51041 - (view) (annotate) - [select for diffs]
Modified Fri May 13 16:36:32 2005 UTC (14 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 143039 byte(s)
Diff to previous 51019
Updated code to use column_i is_displayed directly as this is now an attribute


Revision 51019 - (view) (annotate) - [select for diffs]
Modified Thu May 12 20:53:34 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 143023 byte(s)
Diff to previous 51017
Fixed bug in `set_column_count_to' which was failing if you called it
with an empty grid.


Revision 51017 - (view) (annotate) - [select for diffs]
Modified Thu May 12 19:49:35 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 142899 byte(s)
Diff to previous 51011
Added `restrict_virtual_x_position_to_maximum' and
`restrict_virtual_y_position_to_maximum' which are used when removing
columns or rows to fix the bug reported by Jocelyn where when removing,
the virtual position is not shifted to be within the new bounds.
Further fixed `recompute_column_offsets' and `recompute_row_offsets' so that
when switching from per-item scrolling while past the final item, the
new position is correctly bounded to the new maximum size.


Revision 51011 - (view) (annotate) - [select for diffs]
Modified Thu May 12 16:53:21 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 141466 byte(s)
Diff to previous 50988
Fixed the same bug in `recompute_horizontal_scroll_bar' and
`recompute_vertical_scroll_bar'. When switching from per item scrolling where
the virtual position was past the edge of the last item, we were not restricting
the new virtual position to the edge of the last item.


Revision 50988 - (view) (annotate) - [select for diffs]
Modified Thu May 12 00:32:52 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 140868 byte(s)
Diff to previous 50980
Added `redraw_Resizing_line' which is used to restore the currently
drawn resizing line after a redraw has occurred. Without this fix, it was
possible to get the resizing line left on the client area of `Current'.
To reproduce:
1. create a grid with items in
2. Disable immediate column update.
3. Show the resizing line.
4. Resize a column header so that the horizontal and scroll bar is hidden
and shown as a result of the resizing.


Revision 50980 - (view) (annotate) - [select for diffs]
Modified Thu May 12 00:18:55 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 140071 byte(s)
Diff to previous 50978
Re-implemented code which draws the resizing line so that it is no longer
set on the screen, but the drawable instead. This ensures that we do not
perform overdraw onto the task bar if the grid is partially displayed off
to the bottom of the screen.


Revision 50978 - (view) (annotate) - [select for diffs]
Modified Wed May 11 23:26:03 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 140262 byte(s)
Diff to previous 50973
Fixed bug in `recompute_vertical_scroll_bar'. This was due to the fact that
we were attempting to access `row_offsets' in all cases while switching from
per item-per pixel vertical scrolling. In the case where
`row_offsets' is not used, we now compute the position instead of attempting
to look it up, which was causing the crash.


Revision 50973 - (view) (annotate) - [select for diffs]
Modified Wed May 11 23:13:54 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 140100 byte(s)
Diff to previous 50969
Exported `column_offsets' to EV_GRID_COLUMN_I.


Revision 50969 - (view) (annotate) - [select for diffs]
Modified Wed May 11 22:52:08 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 140054 byte(s)
Diff to previous 50968
Converted `column_offsets' from ARRAYED_LIST to EV_GRID_ARRAYED_LIST.


Revision 50968 - (view) (annotate) - [select for diffs]
Modified Wed May 11 22:37:25 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 140061 byte(s)
Diff to previous 50964
Added `is_column_resize_immediate' and supporting functions. Implemented
this functionality in `Current'.


Revision 50964 - (view) (annotate) - [select for diffs]
Modified Wed May 11 20:09:30 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 139330 byte(s)
Diff to previous 50963
Added `is_header_item_resizing' which will be used to prevent redrawing
occurring while a header item is resized. `add_column_at' no longer
calls `header_item_resizing' as it is unecessary.


Revision 50963 - (view) (annotate) - [select for diffs]
Modified Wed May 11 19:39:43 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 138897 byte(s)
Diff to previous 50962
Updated code so that the scroll bars are correctly hidden and shown during
resizing.


Revision 50962 - (view) (annotate) - [select for diffs]
Modified Wed May 11 15:55:07 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 138416 byte(s)
Diff to previous 50934
Undid previous change as it appears this is not the correct fix.


Revision 50934 - (view) (annotate) - [select for diffs]
Modified Tue May 10 23:56:55 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 138480 byte(s)
Diff to previous 50912
Fixed bug in `header_item_resizing'. The recomputation of the horizontal scroll
bar is now performed upon idle. Without this fix, the scroll bar may be
shown or hidden during another resize, causing it to remain hidden.


Revision 50912 - (view) (annotate) - [select for diffs]
Modified Tue May 10 18:40:36 2005 UTC (14 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 138416 byte(s)
Diff to previous 50911
Implemented row index_of_first_item dirty handling, fixed previous last selected item issue due to change of selected items from arrayed list to hash table


Revision 50911 - (view) (annotate) - [select for diffs]
Modified Tue May 10 18:36:16 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 136807 byte(s)
Diff to previous 50888
Corrected precondition of `insert_row' which did not fail, but was incorrect
as if you passed i as 1 it accessed row 0.


Revision 50888 - (view) (annotate) - [select for diffs]
Modified Tue May 10 16:51:54 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 136791 byte(s)
Diff to previous 50872
Renamed `selection_color' and added additional color queries for selection
based on state of `Current'.


Revision 50872 - (view) (annotate) - [select for diffs]
Modified Tue May 10 01:14:36 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 136451 byte(s)
Diff to previous 50866
Implemented `focus_in_actions', `focus_out_actions' and enabled tabbing
to and from the grid.


Revision 50866 - (view) (annotate) - [select for diffs]
Modified Mon May 9 22:36:19 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 136306 byte(s)
Diff to previous 50863
Connected the mouse wheel actions.


Revision 50863 - (view) (annotate) - [select for diffs]
Modified Mon May 9 21:05:40 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 135984 byte(s)
Diff to previous 50858
Connected the key press, release and key_string actions.


Revision 50858 - (view) (annotate) - [select for diffs]
Modified Mon May 9 20:47:20 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 135614 byte(s)
Diff to previous 50847
Added support for the standard and item events for pointer motion,
press, release and double press. All widgets comprising `Current' now
fire these events.


Revision 50847 - (view) (annotate) - [select for diffs]
Modified Mon May 9 17:17:50 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 121137 byte(s)
Diff to previous 50783
Updated to reflect recent renaming of events.


Revision 50783 - (view) (annotate) - [select for diffs]
Modified Fri May 6 00:00:35 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 121993 byte(s)
Diff to previous 50770
Default background colors are now set.


Revision 50770 - (view) (annotate) - [select for diffs]
Modified Thu May 5 19:13:35 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 121924 byte(s)
Diff to previous 50768
Fixed `displayed_background_color' so that it handles
`are_column_drawn_above_rows' correctly.


Revision 50768 - (view) (annotate) - [select for diffs]
Modified Thu May 5 19:02:38 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 121666 byte(s)
Diff to previous 50756
Added `are_columns_drawn_above_rows'.


Revision 50756 - (view) (annotate) - [select for diffs]
Modified Thu May 5 17:58:34 2005 UTC (14 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 120826 byte(s)
Diff to previous 50754
Updated activate code to use new item_activate_actions, improved selection handling so that clicking on a Void area removes the selection, added missing preconditions of index update routines


Revision 50754 - (view) (annotate) - [select for diffs]
Modified Thu May 5 17:40:03 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 120184 byte(s)
Diff to previous 50673
Added `displayed_background_color' and changed `activate_window' from
EV_WINDOW to EV_POPUP_WINDOW.


Revision 50673 - (view) (annotate) - [select for diffs]
Modified Tue May 3 23:49:32 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 119528 byte(s)
Diff to previous 50661
Fixed postcondition of `recompute_row_offsets' which was incorrect. Improved
comment also to detail this behavior.


Revision 50661 - (view) (annotate) - [select for diffs]
Modified Tue May 3 18:28:58 2005 UTC (14 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 119366 byte(s)
Diff to previous 50632
Improved positioning code


Revision 50632 - (view) (annotate) - [select for diffs]
Modified Tue May 3 01:10:51 2005 UTC (14 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 119428 byte(s)
Diff to previous 50628
Updated internal_remove_row to not check for Void as it is unnecessary, changed color queries to onces


Revision 50628 - (view) (annotate) - [select for diffs]
Modified Tue May 3 00:42:37 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 119487 byte(s)
Diff to previous 50598
Fixed bug in `recompute_row_offsets' which was incorrect when you
had a row with a different height from all rows around it that had a
`subrow_count_recursive' that was greater than 0.
Also updated `recompute_row_offsets' to restore the index to `rows' as this
was causing the bug reported by Jocelyn.


Revision 50598 - (view) (annotate) - [select for diffs]
Modified Sat Apr 30 00:27:51 2005 UTC (14 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 119145 byte(s)
Diff to previous 50590
Added item pnd accept and deny cursor agent callback functions


Revision 50590 - (view) (annotate) - [select for diffs]
Modified Fri Apr 29 21:02:31 2005 UTC (14 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 117682 byte(s)
Diff to previous 50578
Improved keyboard navigation for hidden items


Revision 50578 - (view) (annotate) - [select for diffs]
Modified Fri Apr 29 16:59:00 2005 UTC (14 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 117255 byte(s)
Diff to previous 50576
Removed remove_item_pebble_function as the set routine can now take Void


Revision 50576 - (view) (annotate) - [select for diffs]
Modified Fri Apr 29 16:39:23 2005 UTC (14 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 117466 byte(s)
Diff to previous 50575
Improved row horizontal scrolling navigation


Revision 50575 - (view) (annotate) - [select for diffs]
Modified Fri Apr 29 16:37:53 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 117416 byte(s)
Diff to previous 50539
Re-implemented `virtual_width' and `virtual_height' which were failing if
the computation had not been required as a call on a Void target occurred.
To reproduce, simply start the grid tester and sleect the position tab
before any items are added.


Revision 50539 - (view) (annotate) - [select for diffs]
Modified Fri Apr 29 00:54:49 2005 UTC (14 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 117300 byte(s)
Diff to previous 50521
Corrected call to disable_select_internal on item removal, slightly optimized clear


Revision 50521 - (view) (annotate) - [select for diffs]
Modified Thu Apr 28 23:41:29 2005 UTC (14 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 117196 byte(s)
Diff to previous 50520
Added redraw_column


Revision 50520 - (view) (annotate) - [select for diffs]
Modified Thu Apr 28 23:27:20 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 116901 byte(s)
Diff to previous 50509
Removed a few unecessary pre and post conditions from the conversion
routineS.


Revision 50509 - (view) (annotate) - [select for diffs]
Modified Thu Apr 28 21:09:25 2005 UTC (14 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 117075 byte(s)
Diff to previous 50508
Added remove_item_pebble_function so that PND can be reset


Revision 50508 - (view) (annotate) - [select for diffs]
Modified Thu Apr 28 20:42:18 2005 UTC (14 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 116917 byte(s)
Diff to previous 50507
Updated selection mode comments


Revision 50507 - (view) (annotate) - [select for diffs]
Modified Thu Apr 28 19:24:16 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 116475 byte(s)
Diff to previous 50506
Fixed bug in `redraw_item' which was not taking into account the indent
of an item contained in a tree structure. This caused the item to the right
of the current tree structure to also get invalidated as the width we passed
spread into this item.


Revision 50506 - (view) (annotate) - [select for diffs]
Modified Thu Apr 28 17:27:57 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 116450 byte(s)
Diff to previous 50496
Corrected "internal_viewport_positions_equal_to_viewports" class invariant.


Revision 50496 - (view) (annotate) - [select for diffs]
Modified Thu Apr 28 16:40:26 2005 UTC (14 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 116450 byte(s)
Diff to previous 50491
Added is_initialized to invariants where needed to prevent crashes upon creation


Revision 50491 - (view) (annotate) - [select for diffs]
Modified Thu Apr 28 00:35:43 2005 UTC (14 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 116402 byte(s)
Diff to previous 50488
Improved pick and drop handling for items


Revision 50488 - (view) (annotate) - [select for diffs]
Modified Thu Apr 28 00:24:22 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 115203 byte(s)
Diff to previous 50481
Removed useless or wrong class invariants.


Revision 50481 - (view) (annotate) - [select for diffs]
Modified Wed Apr 27 19:39:05 2005 UTC (14 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 115672 byte(s)
Diff to previous 50473
Updated to use put as extend isn't in hash table imp used by studio


Revision 50473 - (view) (annotate) - [select for diffs]
Modified Wed Apr 27 17:05:13 2005 UTC (14 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 115678 byte(s)
Diff to previous 50472
Now redirecting drop_actions to drawable


Revision 50472 - (view) (annotate) - [select for diffs]
Modified Wed Apr 27 17:01:13 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 115509 byte(s)
Diff to previous 50462
Moved computation of column offsets to a caluclate when required model
in the same way as the row offsets.
Fixed bug in `virtual_width' when in per item scrolling. We were not taking
into account the extra space that was permitted.


Revision 50462 - (view) (annotate) - [select for diffs]
Modified Wed Apr 27 00:37:46 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 113199 byte(s)
Diff to previous 50459
Connected the  `virtual_position_changed_actions' and `virtual_size_changed_actions'.


Revision 50459 - (view) (annotate) - [select for diffs]
Modified Wed Apr 27 00:32:58 2005 UTC (14 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 112463 byte(s)
Diff to previous 50455
Added basic row left right navigation, added loop optimizations for item searching


Revision 50455 - (view) (annotate) - [select for diffs]
Modified Tue Apr 26 20:30:31 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 111811 byte(s)
Diff to previous 50419
Finished implementing `remove_column'. We now remove the header item
and perform internal recomputation as required.
Added missing precondition and comment to `internal_remove_row'.


Revision 50419 - (view) (annotate) - [select for diffs]
Modified Tue Apr 26 01:11:28 2005 UTC (14 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 111671 byte(s)
Diff to previous 50417
Now tree keyboard navigation is only performed on the root node


Revision 50417 - (view) (annotate) - [select for diffs]
Modified Tue Apr 26 00:58:33 2005 UTC (14 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 111527 byte(s)
Diff to previous 50416
Renamed item pnd functions to match interface


Revision 50416 - (view) (annotate) - [select for diffs]
Modified Tue Apr 26 00:21:00 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 111529 byte(s)
Diff to previous 50409
Calls to `add_subrow_internal' now pass a new INTEGER argument.


Revision 50409 - (view) (annotate) - [select for diffs]
Modified Mon Apr 25 22:59:59 2005 UTC (14 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 111456 byte(s)
Diff to previous 50401
Now calling item drop actions on drop


Revision 50401 - (view) (annotate) - [select for diffs]
Modified Mon Apr 25 20:47:48 2005 UTC (14 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 111367 byte(s)
Diff to previous 50398
Removed row list as internal_row_data can be used directly


Revision 50398 - (view) (annotate) - [select for diffs]
Modified Mon Apr 25 19:54:51 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 111825 byte(s)
Diff to previous 50389
Added `clear' and corrected precondition of `set_item'.


Revision 50389 - (view) (annotate) - [select for diffs]
Modified Mon Apr 25 18:10:28 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 111385 byte(s)
Diff to previous 50368
Removed `remove_item' as the interface now calls `seT_item' directly.


Revision 50368 - (view) (annotate) - [select for diffs]
Modified Sat Apr 23 00:22:28 2005 UTC (14 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 111641 byte(s)
Diff to previous 50355
Made items and rows hashable so that the selected items can be placed in a hash table for faster access


Revision 50355 - (view) (annotate) - [select for diffs]
Modified Fri Apr 22 18:20:55 2005 UTC (14 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 111945 byte(s)
Diff to previous 50330
Optimized selection handling
Added redraw_row to only redraw a row in row selection mode
Added initial item PND handling, still work in progress


Revision 50330 - (view) (annotate) - [select for diffs]
Modified Fri Apr 22 01:55:19 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 107792 byte(s)
Diff to previous 50305
Updated export status of the redraw routines.


Revision 50305 - (view) (annotate) - [select for diffs]
Modified Thu Apr 21 23:23:58 2005 UTC (14 years, 5 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 107667 byte(s)
Diff to previous 50287
Corrected checks.
Fixed handling of subrows when an item is removed by calling
`update_for_item_removal' from a row'.


Revision 50287 - (view) (annotate) - [select for diffs]
Modified Thu Apr 21 17:44:31 2005 UTC (14 years, 5 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 107042 byte(s)
Diff to previous 50263
Improved postcondition for remove_selection to handle the current selection mode it is in


Revision 50263 - (view) (annotate) - [select for diffs]
Modified Thu Apr 21 01:52:53 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 106972 byte(s)
Diff to previous 50262
Corrected drawing of the expand node pixmap which was drawing one of
the cross lines in gray instead of black.


Revision 50262 - (view) (annotate) - [select for diffs]
Modified Thu Apr 21 01:40:53 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 106972 byte(s)
Diff to previous 50261
Added preconditions to `enable_tree' and `enable_complete_dynamic_content'
which prevent them from both being enabled at once.


Revision 50261 - (view) (annotate) - [select for diffs]
Modified Thu Apr 21 01:36:53 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 106836 byte(s)
Diff to previous 50260
Updated multiple selection comments to mention keyboard


Revision 50260 - (view) (annotate) - [select for diffs]
Modified Thu Apr 21 01:35:16 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 106760 byte(s)
Diff to previous 50259
Updated export status of `row_internal' so that it may be use by the grid
drawer. Fixed recomputation of rows when tree is enabled and in dynamic
content mode.


Revision 50259 - (view) (annotate) - [select for diffs]
Modified Thu Apr 21 01:24:58 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 106749 byte(s)
Diff to previous 50246
Completely refactored selection code to be more manageable


Revision 50246 - (view) (annotate) - [select for diffs]
Modified Wed Apr 20 20:32:44 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 106613 byte(s)
Diff to previous 50242
Added `tree_node_connector_color' and `set_tree_node_connector_color'.


Revision 50242 - (view) (annotate) - [select for diffs]
Modified Wed Apr 20 16:48:14 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 105871 byte(s)
Diff to previous 50220
Fixed bug in tree selection/click handling. If you clicked on the empty
space of a root level tree item then the item became selected. This
is no longer the case.


Revision 50220 - (view) (annotate) - [select for diffs]
Modified Wed Apr 20 00:50:15 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 105592 byte(s)
Diff to previous 50209
Added `redraw_from_row_to_end' for optimization of redrawing routines.


Revision 50209 - (view) (annotate) - [select for diffs]
Modified Tue Apr 19 18:55:44 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 105027 byte(s)
Diff to previous 50108
Corrected `item_indent' in line with the recent changes in the tree drawing.
The previous code was not correct for the case where the item was a subrow
that had spanned into another row.


Revision 50108 - (view) (annotate) - [select for diffs]
Modified Tue Apr 19 01:27:33 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 105347 byte(s)
Diff to previous 50103
Added call to column deselect actions


Revision 50103 - (view) (annotate) - [select for diffs]
Modified Tue Apr 19 01:19:38 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 105477 byte(s)
Diff to previous 50101
Changed `build_collapse_node_pixmap' so that it is no longer a once.


Revision 50101 - (view) (annotate) - [select for diffs]
Modified Mon Apr 18 21:04:13 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 105483 byte(s)
Diff to previous 50063
Added initial deselection implementation for rows and items, optimized physical_column_indexes so that it is only recalculated when needed


Revision 50063 - (view) (annotate) - [select for diffs]
Modified Sat Apr 16 01:08:38 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 103885 byte(s)
Diff to previous 50061
Updated preconditions of `insert_new_row_parented'.


Revision 50061 - (view) (annotate) - [select for diffs]
Modified Fri Apr 15 23:11:25 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 103748 byte(s)
Diff to previous 50040
Fixed preconfition of `insert_new_row'.


Revision 50040 - (view) (annotate) - [select for diffs]
Modified Thu Apr 14 20:38:59 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 103695 byte(s)
Diff to previous 50037
Improved comment on `remove_row' and added a to implement postcondition.
There is no easy method of writing this right now.


Revision 50037 - (view) (annotate) - [select for diffs]
Modified Thu Apr 14 19:41:08 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 103451 byte(s)
Diff to previous 50034
Updated postcondition to reflect name of argument.


Revision 50034 - (view) (annotate) - [select for diffs]
Modified Thu Apr 14 18:32:33 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 103439 byte(s)
Diff to previous 50033
Added precondition to `insert_row' which prevents you from inserting
a row within an existing tree structure.


Revision 50033 - (view) (annotate) - [select for diffs]
Modified Thu Apr 14 17:54:46 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 103328 byte(s)
Diff to previous 50024
Added additional postconditions to the removal of rows.


Revision 50024 - (view) (annotate) - [select for diffs]
Modified Thu Apr 14 00:23:39 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 103040 byte(s)
Diff to previous 50018
Refactored `remove_row' into `internal_remove_row' and added support
for the removal of all subrows when a row is removed.


Revision 50018 - (view) (annotate) - [select for diffs]
Modified Wed Apr 13 19:22:28 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 102247 byte(s)
Diff to previous 50014
Updated for recent name changes of removal features.


Revision 50014 - (view) (annotate) - [select for diffs]
Modified Wed Apr 13 17:07:50 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 102241 byte(s)
Diff to previous 50008
Reinstated count preconditions for row and column access to avoid side effect with row_count, improved key navigation with trees


Revision 50008 - (view) (annotate) - [select for diffs]
Modified Wed Apr 13 02:01:40 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 101973 byte(s)
Diff to previous 50005
Added "valid_tree_structure" precondition to `set_item' and fixed comment.


Revision 50005 - (view) (annotate) - [select for diffs]
Modified Wed Apr 13 01:26:15 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 101840 byte(s)
Diff to previous 50004
Fixed bug in `redraw_item' which was not correctly computing the height
based on `is_row_height_fixed'.


Revision 50004 - (view) (annotate) - [select for diffs]
Modified Wed Apr 13 01:00:09 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 101709 byte(s)
Diff to previous 50001
Fixed bug in `set_vertical_computation_required' which was not permitting
an index of `count+1' which is necessary if you perform something such
as `set_row_height' before any items are added.


Revision 50001 - (view) (annotate) - [select for diffs]
Modified Wed Apr 13 00:41:23 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 101435 byte(s)
Diff to previous 49993
Fixed bugs in indetation of items that are within a tree but have a
different column parent. Their indent must always be 0. The implementation
is starting to get very messy, so some work needs to be done to simplify
this, which should be performed at the smae time the fix to the tree appearence
is implemented.


Revision 49993 - (view) (annotate) - [select for diffs]
Modified Tue Apr 12 18:54:27 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 100818 byte(s)
Diff to previous 49990
Removed count restriction for row and column queries


Revision 49990 - (view) (annotate) - [select for diffs]
Modified Tue Apr 12 17:56:30 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 100552 byte(s)
Diff to previous 49988
Fixed bug in `internal_set_item' as reported by Jocelyn. If you added a
subrow with the grid and then built the items into that row, the display
of the row was corrupted. We now recompute the properties for that subrow
within `internal_set_item' so that it displays correctly.


Revision 49988 - (view) (annotate) - [select for diffs]
Modified Tue Apr 12 17:08:34 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 100114 byte(s)
Diff to previous 49985
Fixed bug in `item_indent' which was incorrect for tree subrows that
did not have subrows of their own.


Revision 49985 - (view) (annotate) - [select for diffs]
Modified Tue Apr 12 16:13:55 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 99931 byte(s)
Diff to previous 49984
`initialize_grid' now sets the `invalid_row_index'. Before this fix,
calling `enable_tree' before inserting any items caused
`recompute_row_offsets' to fail as the implementation attempted to look up
`invalid_row_index' row which was still 0 and the first row is 1.


Revision 49984 - (view) (annotate) - [select for diffs]
Modified Tue Apr 12 01:37:49 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 99879 byte(s)
Diff to previous 49983
Actually added the override.


Revision 49983 - (view) (annotate) - [select for diffs]
Modified Tue Apr 12 01:37:27 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 99881 byte(s)
Diff to previous 49982
Started to implement more efficient handling for tree structures within
`recompute_row_offsets'. There are still issues, so have added an override
which currently keeps the old behavior.


Revision 49982 - (view) (annotate) - [select for diffs]
Modified Tue Apr 12 01:22:11 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 99616 byte(s)
Diff to previous 49977
Improved keyboard navigation for row selection, now handling item indent when setting size of activate window


Revision 49977 - (view) (annotate) - [select for diffs]
Modified Mon Apr 11 22:38:18 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 99002 byte(s)
Diff to previous 49976
Fixed bug in `internal_set_item' which was not correctly computing the area
that must be drawn when an item has been removed and the virtual page has
been flipped.


Revision 49976 - (view) (annotate) - [select for diffs]
Modified Mon Apr 11 22:17:26 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 98918 byte(s)
Diff to previous 49972
Corrected postconditions of the client conversion routines.


Revision 49972 - (view) (annotate) - [select for diffs]
Modified Mon Apr 11 20:26:37 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 98975 byte(s)
Diff to previous 49971
Fixed check at end of `item_indent'.


Revision 49971 - (view) (annotate) - [select for diffs]
Modified Mon Apr 11 20:20:06 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 98942 byte(s)
Diff to previous 49970
Corrected last commit.


Revision 49970 - (view) (annotate) - [select for diffs]
Modified Mon Apr 11 20:10:05 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 98941 byte(s)
Diff to previous 49968
The buffered vertical computation now keeps an `invalid_row_index' which
enables the optimization of insertions in order.
For example, as items are added, we invalidate the area of the item and
this causes a computation to be called within `virtual_x_position' when
determining where the item is. By keeping an invalid index, we can optimize
the case where rows are added in order from 1 to `row_count'. This is still
maybe 20%-30% slower than without a redraw at all (although this case is
not correct). Adding a `lock_update' and `unlock_update' should be performed
so that users can get the addition of itemsas fast as possible.


Revision 49968 - (view) (annotate) - [select for diffs]
Modified Mon Apr 11 18:13:16 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 97991 byte(s)
Diff to previous 49967
Added `fixme' to `handle_newly_selected_item' regarding the
row selection mode.


Revision 49967 - (view) (annotate) - [select for diffs]
Modified Mon Apr 11 18:11:01 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 97882 byte(s)
Diff to previous 49958
Updated `handle_newly_selected_item' to perform the visibility on a
per-item basis.


Revision 49958 - (view) (annotate) - [select for diffs]
Modified Mon Apr 11 17:34:25 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 98012 byte(s)
Diff to previous 49948
Removed unused local in `handle_newly_selected_item' and added code
to ensure that the column is visible.


Revision 49948 - (view) (annotate) - [select for diffs]
Modified Sat Apr 9 00:15:43 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 97992 byte(s)
Diff to previous 49943
Added code which ensures that as an item becomes selected via the
mouse or keyboard, it becomes visible within the client area.


Revision 49943 - (view) (annotate) - [select for diffs]
Modified Fri Apr 8 17:33:37 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 97869 byte(s)
Diff to previous 49942
Corrected event handling, as we were not using `item_at_position_strict'
which meant an item was always returned and passed to the action sequence
even when we were over the tree part of the item.


Revision 49942 - (view) (annotate) - [select for diffs]
Modified Fri Apr 8 17:27:59 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 97794 byte(s)
Diff to previous 49932
Corrected the pointer press actions so that they are fired before the
tree expansion or selection events.


Revision 49932 - (view) (annotate) - [select for diffs]
Modified Fri Apr 8 16:06:18 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 97693 byte(s)
Diff to previous 49931
Moved vertical scroll bar re-computation to idle actions so it only
occurs once at the end of processing.


Revision 49931 - (view) (annotate) - [select for diffs]
Modified Fri Apr 8 01:02:46 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 97333 byte(s)
Diff to previous 49914
Improved keyboard navigation handling to deal with Void items


Revision 49914 - (view) (annotate) - [select for diffs]
Modified Thu Apr 7 18:57:01 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 95255 byte(s)
Diff to previous 49911
Updated comments, made post-condition for set_item and remove_item to use the same method of item access


Revision 49911 - (view) (annotate) - [select for diffs]
Modified Thu Apr 7 17:25:49 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 95076 byte(s)
Diff to previous 49910
Updated comments, remove unused local


Revision 49910 - (view) (annotate) - [select for diffs]
Modified Thu Apr 7 17:17:22 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 95065 byte(s)
Diff to previous 49908
Updated comment to account for Void items


Revision 49908 - (view) (annotate) - [select for diffs]
Modified Thu Apr 7 17:02:58 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 95051 byte(s)
Diff to previous 49907
Added protection for Void items on selection keyboard navigation


Revision 49907 - (view) (annotate) - [select for diffs]
Modified Thu Apr 7 16:30:58 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 95007 byte(s)
Diff to previous 49903
Protected item for Void items


Revision 49903 - (view) (annotate) - [select for diffs]
Modified Thu Apr 7 02:12:09 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 94919 byte(s)
Diff to previous 49898
Removed default focus out actions handling for windows


Revision 49898 - (view) (annotate) - [select for diffs]
Modified Thu Apr 7 01:49:16 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 94990 byte(s)
Diff to previous 49893
Added column index updating, added Void item handling


Revision 49893 - (view) (annotate) - [select for diffs]
Modified Thu Apr 7 00:21:05 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 94803 byte(s)
Diff to previous 49892
Updated comments


Revision 49892 - (view) (annotate) - [select for diffs]
Modified Thu Apr 7 00:18:43 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 94799 byte(s)
Diff to previous 49891
Now correctly passing in deactivated item to item_deactivate_actions


Revision 49891 - (view) (annotate) - [select for diffs]
Modified Thu Apr 7 00:16:38 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 94797 byte(s)
Diff to previous 49884
Added initial activate implementation, renamed unset_item to remove_item


Revision 49884 - (view) (annotate) - [select for diffs]
Modified Wed Apr 6 23:49:42 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 94217 byte(s)
Diff to previous 49880
Fixed pointer button press handling. We were checking the wrong
action sequence before firing the actions.


Revision 49880 - (view) (annotate) - [select for diffs]
Modified Wed Apr 6 22:30:06 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 94216 byte(s)
Diff to previous 49877
Improved `item_event' and changed export status.


Revision 49877 - (view) (annotate) - [select for diffs]
Modified Wed Apr 6 20:11:09 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 93768 byte(s)
Diff to previous 49874
Connected the pointer press and release actions.


Revision 49874 - (view) (annotate) - [select for diffs]
Modified Wed Apr 6 19:28:25 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 92931 byte(s)
Diff to previous 49868
Performed renaming to avoid name clashes with inherited action sequences.


Revision 49868 - (view) (annotate) - [select for diffs]
Modified Wed Apr 6 18:31:26 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 92347 byte(s)
Diff to previous 49865
Added `client_x_to_virtual_x' and `client_y_to_virtual_y' which are now
used to simplify the conversion for event handling.


Revision 49865 - (view) (annotate) - [select for diffs]
Modified Wed Apr 6 17:40:41 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 91743 byte(s)
Diff to previous 49862
Conencted the double press actions.


Revision 49862 - (view) (annotate) - [select for diffs]
Modified Wed Apr 6 16:37:22 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 90891 byte(s)
Diff to previous 49855
Added `redraw_item'. Corrected the flipping code for `drawable' so that
it only flips when less than zero. This fixes the bug where scolling down a
line and then back up a line causes `drawable' to flip as it is back to zero.


Revision 49855 - (view) (annotate) - [select for diffs]
Modified Wed Apr 6 16:30:19 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 90424 byte(s)
Diff to previous 49852
Now destroying popup window on focus out actions


Revision 49852 - (view) (annotate) - [select for diffs]
Modified Wed Apr 6 15:44:03 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 90374 byte(s)
Diff to previous 49847
Added initial activate implementation


Revision 49847 - (view) (annotate) - [select for diffs]
Modified Tue Apr 5 22:39:41 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 89633 byte(s)
Diff to previous 49838
Updated visible_physical_column_indexes, to physical_column_indexes that includes all grid logical to physical index mapping, added disable_selection_keyboard_handling


Revision 49838 - (view) (annotate) - [select for diffs]
Modified Tue Apr 5 19:55:51 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 89203 byte(s)
Diff to previous 49836
Added `viewport_x_offset' and `viewport_y_offset' which are used to query
the current viewport positions without having to go through the viewport.
This has been done simply for speed.
Also fixed bug in `pointer_motion_received' which was not correctly
computing the virtual positions when the drawable buffer was not at
position 0,0.


Revision 49836 - (view) (annotate) - [select for diffs]
Modified Tue Apr 5 18:54:33 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 88209 byte(s)
Diff to previous 49833
A little tidying up, including adding missing postconditions to
`visible_physical_column_indexes'.


Revision 49833 - (view) (annotate) - [select for diffs]
Modified Tue Apr 5 18:25:19 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 88293 byte(s)
Diff to previous 49831
Refactored `pointer_button_press_received' into `item_indent' which will
be useful for other event propagation. Implemented the hiding and showing
of columns.


Revision 49831 - (view) (annotate) - [select for diffs]
Modified Tue Apr 5 00:59:16 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 87705 byte(s)
Diff to previous 49823
Now removing the selection of columns in clear selection


Revision 49823 - (view) (annotate) - [select for diffs]
Modified Tue Apr 5 00:27:05 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 87496 byte(s)
Diff to previous 49822
Fixed incorrect call in visible_physical_column_indexes


Revision 49822 - (view) (annotate) - [select for diffs]
Modified Tue Apr 5 00:05:16 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 87496 byte(s)
Diff to previous 49821
Removed unused local


Revision 49821 - (view) (annotate) - [select for diffs]
Modified Tue Apr 5 00:04:35 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 87524 byte(s)
Diff to previous 49818
Corrected visible_physical_column_indexes to not go out of bounds, improved selection key handling


Revision 49818 - (view) (annotate) - [select for diffs]
Modified Mon Apr 4 22:25:14 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 85822 byte(s)
Diff to previous 49817
Fixed `move_column' so that it now actually moves the column header.


Revision 49817 - (view) (annotate) - [select for diffs]
Modified Mon Apr 4 22:20:00 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 85769 byte(s)
Diff to previous 49810
Re-implemented `recompute_column_offsets' so that it uses an INTEGER
for an index instead of iterating the actual structure.


Revision 49810 - (view) (annotate) - [select for diffs]
Modified Mon Apr 4 19:00:44 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 85608 byte(s)
Diff to previous 49806
Fixed bug in `vertical_scroll_bar_changed' which caused the vertical
scrolling to not work correctly when a tree was enabled and rows had
differing heights. `visible_indexes_to_row_indexes' has been added to
enable this functionality.


Revision 49806 - (view) (annotate) - [select for diffs]
Modified Mon Apr 4 16:07:18 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 84493 byte(s)
Diff to previous 49731
Fixed bug in `vertical_scroll_bar_changed' which was accessing `row_offsets'
at index 0 which is invalid in the case that you had scrolled to the very
top of the scroll bar.


Revision 49731 - (view) (annotate) - [select for diffs]
Modified Fri Apr 1 23:27:57 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 84415 byte(s)
Diff to previous 49659
Added `item_at_virtual_position', `viewable_x_offset' and `viewable_y_offset'.
Also connected motion actions.


Revision 49659 - (view) (annotate) - [select for diffs]
Modified Thu Mar 31 01:57:00 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 82843 byte(s)
Diff to previous 49647
Added initial keyboard selection handling with new event code


Revision 49647 - (view) (annotate) - [select for diffs]
Modified Wed Mar 30 17:43:22 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 81381 byte(s)
Diff to previous 49641
Connect events to `drawable' ready for event propagation.


Revision 49641 - (view) (annotate) - [select for diffs]
Modified Wed Mar 30 00:52:24 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 78608 byte(s)
Diff to previous 49639
Improved comments.


Revision 49639 - (view) (annotate) - [select for diffs]
Modified Wed Mar 30 00:37:01 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 78473 byte(s)
Diff to previous 49627
Fixed bug in `recompute_row_offsets' which was not taking into account
the actual row height when in fixed row height mode. Fixed bug in
`set_row_height' which was not forcing a re-computation before the
drawing began.


Revision 49627 - (view) (annotate) - [select for diffs]
Modified Tue Mar 29 20:48:52 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 78150 byte(s)
Diff to previous 49555
Implemented `set_virtual_position'. Moved all vertical recomputation
to an "as is" basis, meaning that it is only recomputed once when
strictly necessary. i.e. before a re-draw or when querying something
such as the virtual height.


Revision 49555 - (view) (annotate) - [select for diffs]
Modified Mon Mar 28 19:27:01 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 73077 byte(s)
Diff to previous 49553
Added `virtual_x_position', `virtual_y_position', virtual_width' and
`virtual_height'.


Revision 49553 - (view) (annotate) - [select for diffs]
Modified Mon Mar 28 19:05:44 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 72282 byte(s)
Diff to previous 49501
Fixed bug in `grid_pressed' which was not correctly selecting items/
expanding or collapsing tree items.


Revision 49501 - (view) (annotate) - [select for diffs]
Modified Fri Mar 25 22:23:17 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 72157 byte(s)
Diff to previous 49476
Now creating row_data with a zero count so that it denotes an empty row for the drawer


Revision 49476 - (view) (annotate) - [select for diffs]
Modified Fri Mar 25 17:48:37 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 72157 byte(s)
Diff to previous 49473
Updated for recent name changes in EV_GRID_ITEM_I. Fixed selection
so that it does not select items if you click to the left-hand side
of a tree node.


Revision 49473 - (view) (annotate) - [select for diffs]
Modified Fri Mar 25 03:00:20 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 72274 byte(s)
Diff to previous 49462
Updated `grid_pressed' so that it only expands tree nodes
if you actually click on them rather than anywhere in the row which
was the previous behavior.


Revision 49462 - (view) (annotate) - [select for diffs]
Modified Fri Mar 25 00:32:54 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 71017 byte(s)
Diff to previous 49461
Now parent of column is set to Void on removal before removal from parent structure to satisfy selection invariant


Revision 49461 - (view) (annotate) - [select for diffs]
Modified Fri Mar 25 00:24:00 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 71017 byte(s)
Diff to previous 49459
Added selection_on_click functionality, selection queriesnow have the is prefix to match the rest of the queries


Revision 49459 - (view) (annotate) - [select for diffs]
Modified Fri Mar 25 00:06:46 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 70453 byte(s)
Diff to previous 49456
Added features for hiding and showing tree node connectors.


Revision 49456 - (view) (annotate) - [select for diffs]
Modified Thu Mar 24 23:43:37 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 69771 byte(s)
Diff to previous 49409
Minor comments. Also updated `recompute_row_offsets' so that it always
starts from the first index. This is a temporary fix to avoid the case where
you call this with a row index that is contained within a non-expanded tree.


Revision 49409 - (view) (annotate) - [select for diffs]
Modified Wed Mar 23 02:26:45 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 69280 byte(s)
Diff to previous 49398
Improved selection handling when changing selection


Revision 49398 - (view) (annotate) - [select for diffs]
Modified Tue Mar 22 23:35:24 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 67960 byte(s)
Diff to previous 49394
Updated pixmaps used internally so they are attributes and may be
both queried and set.


Revision 49394 - (view) (annotate) - [select for diffs]
Modified Tue Mar 22 20:05:12 2005 UTC (14 years, 6 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 66612 byte(s)
Diff to previous 49378
Added `expand_pixmap' and `collapse_pixmap' along with the new indent
featuers matching those added to the interface.


Revision 49378 - (view) (annotate) - [select for diffs]
Modified Tue Mar 22 02:05:10 2005 UTC (14 years, 6 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 64091 byte(s)
Diff to previous 49369
Added is_item_set, refactored existing item handling code to add unset_item


Revision 49369 - (view) (annotate) - [select for diffs]
Modified Mon Mar 21 19:51:37 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 61900 byte(s)
Diff to previous 49365
Fixed bug in `recompute_row_offsets' which was not resizing the
`row_offsets' if you added a single row as the check for whether to
resize `row_offsets' was off by 1.


Revision 49365 - (view) (annotate) - [select for diffs]
Modified Mon Mar 21 19:35:07 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 62054 byte(s)
Diff to previous 49311
Corrected the "row_heights_fixed" invariant and ensure that enabling
and disable the tree causes the offsets and scroll bars to be recomputed.


Revision 49311 - (view) (annotate) - [select for diffs]
Modified Sat Mar 19 02:17:36 2005 UTC (14 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 61889 byte(s)
Diff to previous 49309
Added selected_columns that need implementing, now if ctrl is pressed previous selection will not wipe out grid


Revision 49309 - (view) (annotate) - [select for diffs]
Modified Sat Mar 19 01:32:29 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 61601 byte(s)
Diff to previous 49306
Renamed `grid_columns' to `columns' and `grid_rows' to `rows'.


Revision 49306 - (view) (annotate) - [select for diffs]
Modified Sat Mar 19 01:17:07 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 61922 byte(s)
Diff to previous 49302
Added `visible_row_count' which returns the number of rows that are
actually visible in `Current'. This permits us to now correctly update
the scroll bars when tree nodes are expanded or collapsed.


Revision 49302 - (view) (annotate) - [select for diffs]
Modified Fri Mar 18 18:07:50 2005 UTC (14 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 60731 byte(s)
Diff to previous 49291
Swapped row and column arguments for item to match set_item


Revision 49291 - (view) (annotate) - [select for diffs]
Modified Fri Mar 18 00:19:20 2005 UTC (14 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 60728 byte(s)
Diff to previous 49289
Changed name from clear_selection to remove_selection


Revision 49289 - (view) (annotate) - [select for diffs]
Modified Fri Mar 18 00:11:41 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 60701 byte(s)
Diff to previous 49286
Re-implemented `recompute_row_offsets' so that expanded tree nodes
are handled correctly. Changed `row_offsets' to an EV_GRID_ARRAYED_LIST
for speed of resizing.


Revision 49286 - (view) (annotate) - [select for diffs]
Modified Fri Mar 18 00:05:12 2005 UTC (14 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 59977 byte(s)
Diff to previous 49268
Added clear_selection imp and initial item selection implementation


Revision 49268 - (view) (annotate) - [select for diffs]
Modified Thu Mar 17 02:48:00 2005 UTC (14 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 58006 byte(s)
Diff to previous 49265
Fixed column parent setting, added selection invariants, removed inheritance from EV_STOCK_COLORS to remove the overhead of the needless invariants it brings


Revision 49265 - (view) (annotate) - [select for diffs]
Modified Thu Mar 17 01:14:46 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 57528 byte(s)
Diff to previous 49232
Implemented the expand/collapse functionality when clicking on items
that haev subnodes.


Revision 49232 - (view) (annotate) - [select for diffs]
Modified Wed Mar 16 02:04:18 2005 UTC (14 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 57267 byte(s)
Diff to previous 49229
Added comment for remove, formatting


Revision 49229 - (view) (annotate) - [select for diffs]
Modified Wed Mar 16 01:15:36 2005 UTC (14 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 57188 byte(s)
Diff to previous 49222
Implemented row selection handling


Revision 49222 - (view) (annotate) - [select for diffs]
Modified Tue Mar 15 23:56:25 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 56311 byte(s)
Diff to previous 49217
Implemented `enable_tree' and added `disable_tree'.


Revision 49217 - (view) (annotate) - [select for diffs]
Modified Tue Mar 15 20:09:09 2005 UTC (14 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 56181 byte(s)
Diff to previous 49213
Implemented initial selection mode handling


Revision 49213 - (view) (annotate) - [select for diffs]
Modified Tue Mar 15 19:44:48 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 55791 byte(s)
Diff to previous 49210
Added `internal_client_width' and `internal_client_height'.


Revision 49210 - (view) (annotate) - [select for diffs]
Modified Tue Mar 15 19:29:05 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 55402 byte(s)
Diff to previous 49208
Renamed `virtual_x_position' to `internal_client_x' and `virtual_y_position'
to `internal_client_y'.


Revision 49208 - (view) (annotate) - [select for diffs]
Modified Tue Mar 15 18:54:34 2005 UTC (14 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 55174 byte(s)
Diff to previous 49203
Abstracted item internal to be able to query for items without creating them


Revision 49203 - (view) (annotate) - [select for diffs]
Modified Tue Mar 15 18:45:52 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 54337 byte(s)
Diff to previous 49192
Added `selection_color' and started inital impleemntation for selection.


Revision 49192 - (view) (annotate) - [select for diffs]
Modified Tue Mar 15 02:07:13 2005 UTC (14 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 53760 byte(s)
Diff to previous 49191
Replaced use of row_list with internal_row_data in assertions


Revision 49191 - (view) (annotate) - [select for diffs]
Modified Tue Mar 15 02:02:15 2005 UTC (14 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 53750 byte(s)
Diff to previous 49185
Implemented set_column_count_to so that it removes columns if a shrink is requested


Revision 49185 - (view) (annotate) - [select for diffs]
Modified Tue Mar 15 01:38:19 2005 UTC (14 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 53599 byte(s)
Diff to previous 49183
Now calling set_parents when adding items, this sets the parent grid, column and row for the item as an optimization


Revision 49183 - (view) (annotate) - [select for diffs]
Modified Tue Mar 15 01:13:14 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 53522 byte(s)
Diff to previous 49182
Fixed precondition of `resize_row_lists' as the precondition failed
whenever you reduced the count of the lists.


Revision 49182 - (view) (annotate) - [select for diffs]
Modified Tue Mar 15 00:47:15 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 53534 byte(s)
Diff to previous 49179
Implemented `is_item_height_changing' and updated
`recompute_vertical_scroll_bar' so that when changing the height of
the rows while per item scolling is in effect, the same item stays
selected in the control.


Revision 49179 - (view) (annotate) - [select for diffs]
Modified Mon Mar 14 23:39:08 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 53591 byte(s)
Diff to previous 49176
Fixed bug in the enable dynamic content features which were not
removing the other dynamic mode. Added class invariant to support this.


Revision 49176 - (view) (annotate) - [select for diffs]
Modified Mon Mar 14 21:33:51 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 53404 byte(s)
Diff to previous 49171
Added `dynamic_content_function' and `set_dynamic_contenT_function'.


Revision 49171 - (view) (annotate) - [select for diffs]
Modified Mon Mar 14 20:02:11 2005 UTC (14 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 52693 byte(s)
Diff to previous 49167
Implemented resize_row_lists to allow shrinking as well as enlarging


Revision 49167 - (view) (annotate) - [select for diffs]
Modified Mon Mar 14 18:44:27 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 52692 byte(s)
Diff to previous 49129
Initial implementation of `set_column_count_to' and `set_row_count_to'
which only increase for now. Awaiting functionality for reducing these
structures to be added.


Revision 49129 - (view) (annotate) - [select for diffs]
Modified Sat Mar 12 03:00:18 2005 UTC (14 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 52458 byte(s)
Diff to previous 49126
Now row lists count are guaranteed to be equal, added enlarge_row_lists, added update_grid_row_indices to store the index of each row for speed


Revision 49126 - (view) (annotate) - [select for diffs]
Modified Sat Mar 12 02:07:36 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 51344 byte(s)
Diff to previous 49123
Started to implement the dynamic item settings.


Revision 49123 - (view) (annotate) - [select for diffs]
Modified Fri Mar 11 21:22:24 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 51284 byte(s)
Diff to previous 49122
Fixed typo.


Revision 49122 - (view) (annotate) - [select for diffs]
Modified Fri Mar 11 21:22:02 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 51285 byte(s)
Diff to previous 49120
Added `redraw_client_area' which is used everywhere instead of
`drawable.redraw'.


Revision 49120 - (view) (annotate) - [select for diffs]
Modified Fri Mar 11 21:16:58 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 51154 byte(s)
Diff to previous 49104
Started to implement the fixed row height.


Revision 49104 - (view) (annotate) - [select for diffs]
Modified Fri Mar 11 02:35:28 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 50268 byte(s)
Diff to previous 49100
Added new features for the handling of dynamic content.


Revision 49100 - (view) (annotate) - [select for diffs]
Modified Fri Mar 11 00:41:48 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 47107 byte(s)
Diff to previous 49098
Fixed bug in `recompute_row_offsets' which was not correctly working
when called multipl times with the same row, as it always added a new item
to the count.
Fixed bug in `column_internal' so that it adds the columns if they do not
already exist. This permits you to add item at any position in the grid, not
just subsequent columns.


Revision 49098 - (view) (annotate) - [select for diffs]
Modified Thu Mar 10 19:55:52 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 46920 byte(s)
Diff to previous 49069
Updated export status for drawable items.


Revision 49069 - (view) (annotate) - [select for diffs]
Modified Thu Mar 10 01:44:54 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 46895 byte(s)
Diff to previous 49063
Removed `vertical_item_offset' as it is no longer used.


Revision 49063 - (view) (annotate) - [select for diffs]
Modified Thu Mar 10 01:17:47 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 46960 byte(s)
Diff to previous 49055
Added support for vertical scrolling.


Revision 49055 - (view) (annotate) - [select for diffs]
Modified Wed Mar 9 20:17:54 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 46159 byte(s)
Diff to previous 49054
Further optimization to `column_internal' and `row_internal'. We no longer
need the local variables and can simply use `Result' instead.


Revision 49054 - (view) (annotate) - [select for diffs]
Modified Wed Mar 9 20:14:29 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 46278 byte(s)
Diff to previous 49035
Updated `column_internal' and `row_internal' to return the implementation
object. In almost all cases where they are used we were querying the
implementation object, so this is a slight optimization.


Revision 49035 - (view) (annotate) - [select for diffs]
Modified Wed Mar 9 03:16:15 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 46358 byte(s)
Diff to previous 49030
Started to add preliminary implementation for vertical scrolling.


Revision 49030 - (view) (annotate) - [select for diffs]
Modified Wed Mar 9 01:47:52 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 40099 byte(s)
Diff to previous 49029
Updated horizontal scroll bar handling to support per grid item or
per pixel scrolling.


Revision 49029 - (view) (annotate) - [select for diffs]
Modified Tue Mar 8 23:45:48 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 38012 byte(s)
Diff to previous 49027
Refactored the way in which horizontal scrolling is performed and as a result,
added `recompute_horizontal_scroll_bar'.


Revision 49027 - (view) (annotate) - [select for diffs]
Modified Tue Mar 8 23:18:38 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 37900 byte(s)
Diff to previous 49025
Added features for controlling the scrolling behavior.


Revision 49025 - (view) (annotate) - [select for diffs]
Modified Tue Mar 8 22:49:35 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 36185 byte(s)
Diff to previous 49024
Now inherits EV_STOCK_COLORS and the default background color is set to white.


Revision 49024 - (view) (annotate) - [select for diffs]
Modified Tue Mar 8 21:09:34 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 36105 byte(s)
Diff to previous 49021
Updated so that `column_offsets' always contains the width of the final item.


Revision 49021 - (view) (annotate) - [select for diffs]
Modified Tue Mar 8 20:40:27 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 36044 byte(s)
Diff to previous 49019
Added `column_offsets' which contains all of the column offsets in
order.


Revision 49019 - (view) (annotate) - [select for diffs]
Modified Tue Mar 8 19:47:06 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 35458 byte(s)
Diff to previous 49015
Temporary implementation for enabling the grid horizontal drawing.


Revision 49015 - (view) (annotate) - [select for diffs]
Modified Tue Mar 8 19:12:16 2005 UTC (14 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 34756 byte(s)
Diff to previous 48995
Added data implementation for row and column removal


Revision 48995 - (view) (annotate) - [select for diffs]
Modified Tue Mar 8 01:17:35 2005 UTC (14 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 34229 byte(s)
Diff to previous 48979
Changed storage of row data to arrayed list internal_row_data, special container can still be accessed as before, began column and row move implementations


Revision 48979 - (view) (annotate) - [select for diffs]
Modified Mon Mar 7 18:03:32 2005 UTC (14 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 32368 byte(s)
Diff to previous 48948
Added EV_GRID_ROW_I to export clause of internal data


Revision 48948 - (view) (annotate) - [select for diffs]
Modified Sat Mar 5 01:52:51 2005 UTC (14 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 32353 byte(s)
Diff to previous 48943
Fixed issues with creating new columns or rows from queries, before a new row or column was inserted, increasing the count, now the new column or row replaces the Void item in the appropriate array


Revision 48943 - (view) (annotate) - [select for diffs]
Modified Sat Mar 5 01:07:20 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 30319 byte(s)
Diff to previous 48942
Removed some magic numbers and replaced with constants. Simplified
implementation of `viewport_resized'.


Revision 48942 - (view) (annotate) - [select for diffs]
Modified Sat Mar 5 00:36:14 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 30367 byte(s)
Diff to previous 48928
Added a seperate viewport for the header, the queries
`virtual_x_position' and `virtual_y_position' and a number of class
invariants relating to these.


Revision 48928 - (view) (annotate) - [select for diffs]
Modified Fri Mar 4 23:45:50 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 29051 byte(s)
Diff to previous 48907
Fixed bug in `viewport_resized' which was not correctly resizing the
height ov the drawable to match that of the viewport.


Revision 48907 - (view) (annotate) - [select for diffs]
Modified Fri Mar 4 01:54:53 2005 UTC (14 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 29104 byte(s)
Diff to previous 48906
Added basic functions for visible column lookup


Revision 48906 - (view) (annotate) - [select for diffs]
Modified Fri Mar 4 01:36:58 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 28849 byte(s)
Diff to previous 48903
Added support for the different line drawing modes.


Revision 48903 - (view) (annotate) - [select for diffs]
Modified Fri Mar 4 01:17:24 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 27910 byte(s)
Diff to previous 48901
Added support for a vertical divider line to be drawn during resizing.


Revision 48901 - (view) (annotate) - [select for diffs]
Modified Thu Mar 3 23:52:31 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 25117 byte(s)
Diff to previous 48900
Simplifed implementation of `viewport_resized' as some of the code is now redundent since the initial testing phase and added a postcondition.


Revision 48900 - (view) (annotate) - [select for diffs]
Modified Thu Mar 3 23:47:24 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 25606 byte(s)
Diff to previous 48899
Implemented the handling of the horizontal scroll bar in relationship
to the size fo the viewport and the positioning of the header items.


Revision 48899 - (view) (annotate) - [select for diffs]
Modified Thu Mar 3 23:36:54 2005 UTC (14 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 20476 byte(s)
Diff to previous 48891
Reimplemented row and grid handling


Revision 48891 - (view) (annotate) - [select for diffs]
Modified Thu Mar 3 02:34:53 2005 UTC (14 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 19423 byte(s)
Diff to previous 48884
Implemented visible_column list item addition routines


Revision 48884 - (view) (annotate) - [select for diffs]
Modified Thu Mar 3 00:59:32 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 17900 byte(s)
Diff to previous 48883
Updated `insert_new_column' to reflect the fact that each column now
keeps a reference to it's item. Also optimized the body of this feature
by assignment to a local EV_COLUMN_I.


Revision 48883 - (view) (annotate) - [select for diffs]
Modified Thu Mar 3 00:50:16 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 17844 byte(s)
Diff to previous 48881
Started to implement the header control handling within `insert_new_column'.


Revision 48881 - (view) (annotate) - [select for diffs]
Modified Thu Mar 3 00:14:03 2005 UTC (14 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 17434 byte(s)
Diff to previous 48878
Now internal structures hold the row and column implementation objects


Revision 48878 - (view) (annotate) - [select for diffs]
Modified Thu Mar 3 00:04:23 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 17150 byte(s)
Diff to previous 48877
Further update to export clauses as required by EV_GRID_DRAWER_I


Revision 48877 - (view) (annotate) - [select for diffs]
Modified Thu Mar 3 00:01:52 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 17102 byte(s)
Diff to previous 48875
Exported a number of the implementation features to EV_GRID_DRAWER_I.


Revision 48875 - (view) (annotate) - [select for diffs]
Modified Wed Mar 2 23:53:42 2005 UTC (14 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 17084 byte(s)
Diff to previous 48868
Now taking physical column index in to account


Revision 48868 - (view) (annotate) - [select for diffs]
Modified Wed Mar 2 23:43:41 2005 UTC (14 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 17049 byte(s)
Diff to previous 48857
Added beginnings of item structure


Revision 48857 - (view) (annotate) - [select for diffs]
Modified Wed Mar 2 02:46:09 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 14729 byte(s)
Diff to previous 48856
Re-implemented to use vertical and horizontal boxes in the parenting structure.


Revision 48856 - (view) (annotate) - [select for diffs]
Modified Wed Mar 2 02:11:39 2005 UTC (14 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 15073 byte(s)
Diff to previous 48850
Updated interface to allow for grid to be a factory of grids and columns


Revision 48850 - (view) (annotate) - [select for diffs]
Modified Wed Mar 2 01:54:19 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 14719 byte(s)
Diff to previous 48844
Now inherits EV_CELL_I. Also added preliminary widget structure.


Revision 48844 - (view) (annotate) - [select for diffs]
Modified Tue Mar 1 19:00:58 2005 UTC (14 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 12077 byte(s)
Diff to previous 48835
Now creating row_list, now exporting interface to rows and columns


Revision 48835 - (view) (annotate) - [select for diffs]
Modified Tue Mar 1 18:44:46 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 12020 byte(s)
Diff to previous 48831
Updated invariants to check `is_initialized' before determining that the
widgets are not Void.


Revision 48831 - (view) (annotate) - [select for diffs]
Modified Tue Mar 1 18:37:02 2005 UTC (14 years, 7 months ago) by king
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 11974 byte(s)
Diff to previous 48825
Added row_list


Revision 48825 - (view) (annotate) - [select for diffs]
Modified Tue Mar 1 18:22:45 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 11884 byte(s)
Diff to previous 48813
Added `initialize_grid', `drawable' and `drawer'.


Revision 48813 - (view) (annotate) - [select for diffs]
Added Tue Mar 1 01:34:19 2005 UTC (14 years, 7 months ago) by rogers
Original Path: trunk/Src/library/vision2/implementation/implementation_interface/widgets/primitives/ev_grid_i.e
File length: 11703 byte(s)
Initial.


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

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.23