/[eiffelstudio]/branches/eth/eve/Src/library/docking
ViewVC logotype

Log of /branches/eth/eve/Src/library/docking

View Directory Listing Directory Listing


Sticky Revision:

Revision 92684 - Directory Listing
Modified Fri Jun 7 15:28:53 2013 UTC (6 years, 8 months ago) by jasonw
<<Merged from trunk#92682.>>

Revision 91117 - Directory Listing
Modified Fri Feb 1 08:57:09 2013 UTC (7 years ago) by jasonw
<<Merged from trunk#91110.>>

Revision 91005 - Directory Listing
Modified Mon Jan 28 14:40:26 2013 UTC (7 years ago) by jasonw
<<Merged from trunk#90997.>>

Revision 90750 - Directory Listing
Modified Mon Jan 21 13:30:30 2013 UTC (7 years, 1 month ago) by jasonw
<<Merged from trunk#90747.>>

Revision 90398 - Directory Listing
Modified Fri Jan 4 09:58:58 2013 UTC (7 years, 1 month ago) by jasonw
<<Merged from trunk#90397.>>

Revision 90189 - Directory Listing
Modified Fri Dec 14 08:06:02 2012 UTC (7 years, 2 months ago) by jasonw
<<Merged from trunk#90188.>>

Revision 90071 - Directory Listing
Modified Sat Dec 1 12:50:45 2012 UTC (7 years, 2 months ago) by jasonw
<<Merged from trunk#90020.>>

Revision 89919 - Directory Listing
Modified Fri Nov 16 11:24:26 2012 UTC (7 years, 3 months ago) by jasonw
<<Merged from trunk#89915.>>

Revision 89804 - Directory Listing
Modified Fri Nov 2 09:14:04 2012 UTC (7 years, 3 months ago) by jasonw
<<Merged from trunk#89803.>>

Revision 89579 - Directory Listing
Modified Fri Oct 12 06:28:37 2012 UTC (7 years, 4 months ago) by jasonw
<<Merged from trunk#89578.>>

Revision 89470 - Directory Listing
Modified Fri Sep 28 12:39:30 2012 UTC (7 years, 4 months ago) by jasonw
<<Merged from trunk#89469.>>

Revision 89082 - Directory Listing
Modified Sat Jul 7 12:23:44 2012 UTC (7 years, 7 months ago) by jasonw
<<Merged from trunk#89081.>>

Revision 88757 - Directory Listing
Modified Fri May 18 15:41:12 2012 UTC (7 years, 9 months ago) by jasonw
<<Merged from trunk#88756.>>


Revision 88664 - Directory Listing
Modified Fri Apr 27 11:09:13 2012 UTC (7 years, 9 months ago) by jasonw
<<Merged from trunk#88663.>>

Revision 88574 - Directory Listing
Modified Fri Apr 13 08:45:15 2012 UTC (7 years, 10 months ago) by jasonw
<<Merged from trunk#88573.>>

Revision 88317 - Directory Listing
Modified Fri Feb 17 11:09:12 2012 UTC (8 years ago) by jasonw
<<Merged from trunk#88316.>>

Revision 88295 - Directory Listing
Modified Sun Feb 12 10:37:44 2012 UTC (8 years ago) by erudel
Updated Cocoa EiffelVision2 implementation and Cocoa wrapper libraries.

Revision 88234 - Directory Listing
Modified Fri Jan 27 09:58:45 2012 UTC (8 years ago) by jasonw
<<Merged from trunk#88233.>>

Revision 88212 - Directory Listing
Modified Fri Jan 20 13:30:20 2012 UTC (8 years, 1 month ago) by jasonw
<<Merged from trunk#88211.>>

Revision 88173 - Directory Listing
Modified Fri Jan 13 02:09:08 2012 UTC (8 years, 1 month ago) by jasonw
<<Merged from trunk#88172.>>

Revision 88099 - Directory Listing
Modified Fri Dec 2 11:05:42 2011 UTC (8 years, 2 months ago) by jasonw
<<Merged from trunk#88098.>>

Revision 88026 - Directory Listing
Modified Fri Nov 25 12:11:03 2011 UTC (8 years, 2 months ago) by jasonw
<<Merged from trunk#88024.>>

Revision 87847 - Directory Listing
Modified Fri Nov 18 09:52:15 2011 UTC (8 years, 3 months ago) by jasonw
<<Merged from trunk#87846.>>

Revision 87613 - Directory Listing
Modified Wed Oct 26 06:49:40 2011 UTC (8 years, 3 months ago) by jasonw
<<Merged from trunk#87612.>>

Revision 87305 - Directory Listing
Modified Fri Sep 23 08:21:01 2011 UTC (8 years, 5 months ago) by jasonw
<<Merged from trunk#87304.>>

Revision 87069 - Directory Listing
Modified Fri Aug 19 18:04:34 2011 UTC (8 years, 6 months ago) by jasonw
<<Merged from trunk#87065.>>

Revision 86946 - Directory Listing
Modified Fri Aug 5 15:34:52 2011 UTC (8 years, 6 months ago) by jasonw
<<Merged from trunk#86945.>>

Revision 86783 - Directory Listing
Modified Fri Jun 24 10:21:15 2011 UTC (8 years, 8 months ago) by jasonw
<<Merged from trunk#86782.>>

Revision 86696 - Directory Listing
Modified Fri Jun 10 11:12:57 2011 UTC (8 years, 8 months ago) by jasonw
<<Merged from trunk#86694.>>

Revision 86498 - Directory Listing
Modified Fri May 20 08:15:46 2011 UTC (8 years, 9 months ago) by jasonw
<<Merged from trunk#86497.>>

Revision 86444 - Directory Listing
Modified Fri May 13 12:30:41 2011 UTC (8 years, 9 months ago) by jasonw
<<Merged from trunk#86443.>>

Revision 86378 - Directory Listing
Modified Fri May 6 11:10:51 2011 UTC (8 years, 9 months ago) by jasonw
<<Merged from trunk#86377.>>

Revision 86354 - Directory Listing
Modified Fri Apr 29 18:23:18 2011 UTC (8 years, 9 months ago) by jasonw
<<Merged from trunk#86353.>>

Revision 86305 - Directory Listing
Modified Fri Apr 22 08:51:57 2011 UTC (8 years, 10 months ago) by jasonw
<<Merged from trunk#86303.>>

Revision 85792 - Directory Listing
Modified Fri Mar 4 13:51:36 2011 UTC (8 years, 11 months ago) by jasonw
<<Merged from trunk#85790.>>

Revision 85524 - Directory Listing
Modified Fri Feb 4 07:23:27 2011 UTC (9 years ago) by jasonw
<<Merged from trunk#85521.>>

Revision 85496 - Directory Listing
Modified Fri Jan 28 14:31:42 2011 UTC (9 years ago) by jasonw
<<Merged from trunk#85495.>>

Revision 85362 - Directory Listing
Modified Sat Jan 15 14:00:47 2011 UTC (9 years, 1 month ago) by jasonw
<<Merged from trunk#85361.>>

Revision 85248 - Directory Listing
Modified Mon Jan 3 09:09:36 2011 UTC (9 years, 1 month ago) by jasonw
<<Merged from trunk#85244.>>

Revision 85186 - Directory Listing
Modified Fri Dec 17 09:24:14 2010 UTC (9 years, 2 months ago) by jasonw
<<Merged from trunk#85185.>>

Revision 84906 - Directory Listing
Modified Fri Nov 12 12:38:36 2010 UTC (9 years, 3 months ago) by jasonw
<<Merged from trunk#84905.>>

Revision 84757 - Directory Listing
Modified Fri Oct 29 18:56:40 2010 UTC (9 years, 3 months ago) by jasonw
<<Merged from trunk#84753.>>

Revision 84583 - Directory Listing
Modified Fri Oct 15 11:57:58 2010 UTC (9 years, 4 months ago) by jasonw
<<Merged from trunk#84581.>>


Revision 84557 - Directory Listing
Modified Mon Oct 11 21:01:52 2010 UTC (9 years, 4 months ago) by jasonw
<<Merged from trunk#84547.>>


Revision 84165 - Directory Listing
Modified Fri Aug 13 11:31:54 2010 UTC (9 years, 6 months ago) by jasonw
<<Merged from trunk#84164>>

Revision 83928 - Directory Listing
Modified Fri Jul 16 15:21:01 2010 UTC (9 years, 7 months ago) by mpei
<<Merged from trunk#83927>>

Revision 83826 - Directory Listing
Modified Wed Jul 7 11:33:55 2010 UTC (9 years, 7 months ago) by mpei
<<Merged from trunk#83825>>

Revision 83740 - Directory Listing
Modified Tue Jun 29 10:47:08 2010 UTC (9 years, 7 months ago) by julian
<<Merged from trunk#83736.>>

Revision 83594 - Directory Listing
Modified Thu Jun 17 09:23:33 2010 UTC (9 years, 8 months ago) by julian
<<Merged from trunk#83593.>>

Revision 83524 - Directory Listing
Modified Fri Jun 11 08:12:14 2010 UTC (9 years, 8 months ago) by jasonw
<<Merged from trunk#83523.>>

Revision 83445 - Directory Listing
Modified Sat Jun 5 15:29:40 2010 UTC (9 years, 8 months ago) by jasonw
<<Merged from trunk@83442.>>

Revision 83441 - Directory Listing
Modified Sat Jun 5 13:52:53 2010 UTC (9 years, 8 months ago) by jasonw
Renamed branch eve3 to eve. The eve branch serves as the new branch for the EVE project.

Revision 83331 - Directory Listing
Modified Wed May 26 18:49:35 2010 UTC (9 years, 8 months ago) by jasonw
Original Path: branches/eth/eve3/Src/library/docking
<<Breanched from trunk@83330>> Created a branch to upgrade Eiffel Transform library to trunk.

Revision 83200 - Directory Listing
Modified Sat May 15 06:29:46 2010 UTC (9 years, 9 months ago) by manus
Original Path: trunk/Src/library/docking
Removed useless creation of EV_ENVIRONMENT object to access to the EV_APPLICATION one.


Revision 83198 - Directory Listing
Modified Sat May 15 06:28:11 2010 UTC (9 years, 9 months ago) by manus
Original Path: trunk/Src/library/docking
Removed unused local.


Revision 83181 - Directory Listing
Modified Fri May 14 12:22:04 2010 UTC (9 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Ignore mouse click action during PnD, otherwise autohide tool would be closed just after a stone dropped on it

Fixed bug#16737: PnD from editor to autohidden tool (diagram tool) is not working

Revision 83055 - Directory Listing
Modified Mon May 3 19:40:29 2010 UTC (9 years, 9 months ago) by jfiat
Original Path: trunk/Src/library/docking
Fixed issue when the last item is a separator

Revision 83048 - Directory Listing
Modified Mon May 3 13:48:57 2010 UTC (9 years, 9 months ago) by jfiat
Original Path: trunk/Src/library/docking
Using same_string or same_string_general instead of other variant (using is_equal or ~ and so on ..)

Revision 82995 - Directory Listing
Modified Thu Apr 29 15:37:40 2010 UTC (9 years, 9 months ago) by jfiat
Original Path: trunk/Src/library/docking
Using local variable to access `contents'
Use same_string instead of ~  in `has'
removed useless `or Result' in `is_at_menu_area'

Revision 82994 - Directory Listing
Modified Thu Apr 29 14:40:48 2010 UTC (9 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Using local var instead of querying `content' every time, using `same_string' instead of `~'

Revision 82877 - Directory Listing
Modified Mon Apr 19 23:32:13 2010 UTC (9 years, 10 months ago) by manus
Original Path: trunk/Src/library/docking
Removed unused local.


Revision 82846 - Directory Listing
Modified Fri Apr 16 09:29:48 2010 UTC (9 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed precondition violation

Revision 82802 - Directory Listing
Modified Mon Apr 12 09:13:08 2010 UTC (9 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Allow users to drag the auto hide zone's title bar to make the tool float or dock anywhere without having to "Disable auto hide"

Revision 82801 - Directory Listing
Modified Mon Apr 12 08:56:01 2010 UTC (9 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed `is_docking_manager_attached' precondition violation when executing {SD_WDIGET_FACTORY}.docking_zone. It happened just after opened a project, then press "shift + ctrl + m"

Revision 82759 - Directory Listing
Modified Mon Apr 5 04:18:00 2010 UTC (9 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
When handling pointer release action, only call `close_actions' when end user has pressed on tab close button

Fixed bug#16680: Double-click to create a new tab closes it

Revision 82680 - Directory Listing
Modified Mon Mar 29 09:21:06 2010 UTC (9 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Handled mouse-middle-click to close pointed editor tab

Revision 82678 - Directory Listing
Modified Mon Mar 29 08:37:16 2010 UTC (9 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Allows end users to double left click on the editor tab ribbon to create a new tab. The tab is created on the right, as that is where users click. Once the tab is opened then the address bar is focused and the contents removed, ready for editing.

Revision 82618 - Directory Listing
Modified Fri Mar 19 18:21:14 2010 UTC (9 years, 11 months ago) by manus
Original Path: trunk/Src/library/docking
Use new syntax for per process once to avoid warnings by compiler. (In one case it was specified for a do end routine, so we simply removed the mark).


Revision 82581 - Directory Listing
Modified Tue Mar 16 03:07:44 2010 UTC (9 years, 11 months ago) by manus
Original Path: trunk/Src/library/docking
Moved the experimental branch to be the default for libraries.


Revision 82563 - Directory Listing
Modified Thu Mar 11 23:47:48 2010 UTC (9 years, 11 months ago) by manus
Original Path: trunk/Src/experimental/library/docking
Fixed assertion violations when if while retrieving a docking layout the name of some toolbars have changed because the old names cannot be found in the new interface.


Revision 82562 - Directory Listing
Modified Thu Mar 11 23:44:46 2010 UTC (9 years, 11 months ago) by manus
Original Path: trunk/Src/experimental/library/docking
Replaced obsolete call to `independent_store' by `store'.


Revision 82265 - Directory Listing
Modified Fri Feb 5 21:54:33 2010 UTC (10 years ago) by manus
Original Path: trunk/Src/experimental/library/docking
Use new syntax for constant.


Revision 82182 - Directory Listing
Modified Thu Jan 28 00:06:24 2010 UTC (10 years ago) by manus
Original Path: trunk/Src/experimental/library/docking
Removed non-used local.


Revision 82130 - Directory Listing
Modified Wed Jan 20 19:03:11 2010 UTC (10 years, 1 month ago) by king
Original Path: trunk/Src/experimental/library/docking
Now using focus prevention from vision2.

Revision 82082 - Directory Listing
Modified Fri Jan 15 15:11:27 2010 UTC (10 years, 1 month ago) by larryl
Original Path: trunk/Src/experimental/library/docking
After tool bar just got focus, set focus back to last focused widget

Fixed bug#16561: SD_TOOLBAR steals focus

Revision 81970 - Directory Listing
Modified Wed Dec 30 00:17:56 2009 UTC (10 years, 1 month ago) by manus
Original Path: trunk/Src/experimental/library/docking
Minor speed up by replacing calls to `is_equal' when both target and argument are basic types.


Revision 81706 - Directory Listing
Modified Tue Dec 1 21:27:24 2009 UTC (10 years, 2 months ago) by manus
Original Path: trunk/Src/experimental/library/docking
Removed useless wrapper by specifying the type of parameters at the agent creation location.


Revision 81702 - Directory Listing
Modified Tue Dec 1 03:02:34 2009 UTC (10 years, 2 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Made {SD_AUTO_HIDE_ANIMATION} can be compiled in void-safe mode 

Revision 81690 - Directory Listing
Modified Mon Nov 30 09:56:02 2009 UTC (10 years, 2 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Now horizontal pointer motions can trigger `drag_actions'. Otherwise if users move pointer in HORIZONTAL direction ONLY (even moved large amount of value, such as 10 pixels), the title bar (notebook tab) would not trigger `drag_acitons'. Same case for pointer vertical motions.

Revision 81668 - Directory Listing
Modified Wed Nov 25 08:13:38 2009 UTC (10 years, 2 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Added comments

Revision 81367 - Directory Listing
Modified Tue Nov 3 04:13:31 2009 UTC (10 years, 3 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Fixed postcondition violation

Revision 81293 - Directory Listing
Modified Tue Oct 27 09:51:34 2009 UTC (10 years, 3 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Minor optimization (using locals when possible)

Revision 81292 - Directory Listing
Modified Tue Oct 27 09:49:58 2009 UTC (10 years, 3 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Fixed Eiffel Studio "Standard toolbar" and "Project toolbar" swapped bug

This bug is due to docking void-safe conversion. More details: In non-void-safe docking lib, it using Gobo DS_QUICK_SORTER to sort all tool bars in same row. In void-safe docking lib, it using SORTED_TWO_WAY_LIST. The difference is, when items are equal, DS_QUICK_SORTER put item at left side of other equal item(s) but SORTED_TWO_WAY_LIST put item at right.

Revision 81240 - Directory Listing
Modified Fri Oct 23 16:12:38 2009 UTC (10 years, 4 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Added check `is_all_editors_valid' to {EB_EDITORS_MAANGER}

This check should be helpful to find out bugs such as "New Tab" button not work



Revision 81201 - Directory Listing
Modified Tue Oct 20 09:27:48 2009 UTC (10 years, 4 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Made {SD_TOOL_BAR_ITEM}.is sensitive care about parent tool bar's sensitive state

Otherwise, if parent tool bar was insensitive, the {SD_TOOL_BAR_ITEM} maybe still was sensitive (at least looks like sensitive)

Revision 81199 - Directory Listing
Modified Tue Oct 20 03:28:19 2009 UTC (10 years, 4 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Fixed auto-hide tab stub not show up during P&D bug (due to revision#80230)

Because when set_capture, if pointer moving at area outside captured widget, the `a_target' parameter in {EV_APPLICATION}.pnd_motion_actions is VOID on both GTK and Windows platforms. Docking lib should handle this case.

Revision 81129 - Directory Listing
Modified Sat Oct 10 04:04:22 2009 UTC (10 years, 4 months ago) by tedf
Original Path: trunk/Src/experimental/library/docking
Removed useless code, since `set_default_cancel_button (cancel_button)' already does the job.

Revision 81077 - Directory Listing
Modified Fri Oct 9 01:14:10 2009 UTC (10 years, 4 months ago) by manus
Original Path: trunk/Src/experimental/library/docking
Made it compile in void-safe mode by adding missing `stable' qualification to `interface' attribute.


Revision 80949 - Directory Listing
Modified Tue Sep 29 07:14:21 2009 UTC (10 years, 4 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Sync non-experimental docking library with experiment docking library for revision#80926

Revision 80926 - Directory Listing
Modified Mon Sep 28 10:12:35 2009 UTC (10 years, 4 months ago) by jfiat
Original Path: trunk/Src/experimental/library/docking
Fixed code to respect assertions.
(Maybe it also fixed an issue I had in the past, where no editors area were showing up)

Revision 80895 - Directory Listing
Modified Fri Sep 25 08:44:25 2009 UTC (10 years, 4 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Fixed {SD_TOOL_BAR}.item_at_position's result type by using detachable result type. Because result maybe void since there are tool bar drag areas at head of tool bar in Eiffel Studio.

Fixed bug#16294: Assertion violated Tag: in {SD_TOOL_BAR}.item_at_position in EiffelStudio

Revision 80867 - Directory Listing
Modified Thu Sep 24 09:08:28 2009 UTC (10 years, 5 months ago) by jfiat
Original Path: trunk/Src/experimental/library/docking
fixed typo introduced during conversion to void-safety

Revision 80860 - Directory Listing
Modified Thu Sep 24 03:53:21 2009 UTC (10 years, 5 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Satisfy postcondition of Vision2

Revision 80771 - Directory Listing
Modified Mon Sep 21 07:52:33 2009 UTC (10 years, 5 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Added if protections against void and destroyed objects

Fixed bug#13201: Violation of precondition `not_destroyed' of {EB_VISION_WINDOW}.set_pointer_style

Revision 80759 - Directory Listing
Modified Fri Sep 18 13:23:49 2009 UTC (10 years, 5 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Added {WEL_WS_CONSTANTS}.Ws_ex_noactivate, so when showing docking feedback indicators and transparent rectangles, end users will feel very smooth. No focus annoyance/flashing anymore

Updated {SD_FEEDBACK_INDICATOR}, {SD_FEEDBACk_RECT} to use bridge pattern like Vision2. Made it easy to adapt them for non-Windows platoforms in future

Revision 80756 - Directory Listing
Modified Fri Sep 18 09:23:53 2009 UTC (10 years, 5 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Added if protection against void parent (when {SD_NOTEBOOK_TAB_BOX} will be destroyed)

Revision 80755 - Directory Listing
Modified Fri Sep 18 09:13:34 2009 UTC (10 years, 5 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Fixed a focus bug on Windows reported by Jocelyn

The reproduce steps are:
1.open STRING, and ANY in 2 tabs
2.CTRL+M
3.try to move the ANY's tab as vertical splitted on the right
4.the layout will unmaximize, but continue the operation to really create the splitted editor
5.then press Ctrl+M ....nothing happen, you need to click on the editors first

Revision 80692 - Directory Listing
Modified Fri Sep 11 13:27:10 2009 UTC (10 years, 5 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Removed Gobo dependency from docking.ecf since it's not needed in experiment/void-safe docking library

Revision 80683 - Directory Listing
Modified Fri Sep 11 08:06:42 2009 UTC (10 years, 5 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Made notebook tab drag action work again

Fixed a bug caused by revision#80621

Revision 80674 - Directory Listing
Modified Thu Sep 10 18:02:43 2009 UTC (10 years, 5 months ago) by dfurrer
Original Path: trunk/Src/experimental/library/docking
Overdue changes from the past weeks

Revision 80661 - Directory Listing
Modified Wed Sep 9 09:46:53 2009 UTC (10 years, 5 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Minor comments' changes

Revision 80659 - Directory Listing
Modified Wed Sep 9 08:54:08 2009 UTC (10 years, 5 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Fulfill precondition of {SD_TOOL_BAR_BUTTON}.has_position (Check if `tool_bar' attached before query `has_position')

Fixed bug#13178: Violation of precondition `setted' of {EB_SD_COMMAND_TOOL_BAR_BUTTON}.has_position

Revision 80648 - Directory Listing
Modified Tue Sep 8 02:23:39 2009 UTC (10 years, 5 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Made postcondition only valid for Windows platform due to inconsistence of Vision2

Revision 80645 - Directory Listing
Modified Mon Sep 7 08:43:22 2009 UTC (10 years, 5 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Made non void-safe {SD_SAVE_CONFIG_MEDIATOR}.save_one_auto_hide_panel_data same as void-safe version's

So bug#13659 and bug#16161 would never happen in released Eiffel Studio. In workbench mode Eiffel Studio, we still can catch the bug (by check).

Fixed bug#13659: Call on Void target in {SD_SAVE_CONFIG_MEDIATOR}.save_one_auto_hide_panel_data

Revision 80621 - Directory Listing
Modified Fri Sep 4 08:43:30 2009 UTC (10 years, 5 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Only after user pointer moved more than 1 pixel after pointer pressed, {SD_TITLE_BAR_TITLE}/{SD_NOTEBOOK_TAB} can call `drag_actions'.Otherwise, it's too sensitive. 

Fixed bug#13038: Double-click on docked window title bar often undocks instead of maximizing

Revision 80620 - Directory Listing
Modified Fri Sep 4 08:22:19 2009 UTC (10 years, 5 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Removed precondition (same as non void safe docking library), otherwise there was precondition violation

Revision 80617 - Directory Listing
Modified Fri Sep 4 05:11:06 2009 UTC (10 years, 5 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Made codes void safe

Revision 80616 - Directory Listing
Modified Fri Sep 4 04:29:54 2009 UTC (10 years, 5 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Use {EV_APPLICATION}.focus_in_actions instead of {EV_POPUP_WINDOW}.focus_out_actions to destroy {SD_MINI_TOOL_BAR_DIALOG} due to Vision2 inconsistence between GTK and Windows platform.

The inconsistence is: just after a {EV_MENU} pop up, Vision2 will call focus_out_actions on original focused widget (the {SD_MINI_TOOL_BAR_DIALOG} in bug#13018) on GTK platforms. But on Windows, the focus out actions will NOT be called after a {EV_MENU} pop up.

Fixed bug#13018: Picking class via context menu does not work in mini-toolbar


Revision 80591 - Directory Listing
Modified Wed Sep 2 09:57:54 2009 UTC (10 years, 5 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Added if protection for GTK platforms

On Windows, {SD_TAB_STATE}.close always works fine. See comments in {SD_TAB_STATE}.close for more details

Revision 80582 - Directory Listing
Modified Wed Sep 2 03:31:27 2009 UTC (10 years, 5 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Added new preference "interface.development_window.undocked_window_lower_than_main_window" which used for setting whether undocked windows can be lower than main development window

Note: After changed the value of preference "undocked_window_lower_than_main_window", end users have to undock floating windows again to take effect.

Fixed bug#4764: Enhancements to how undocked windows work

Revision 80580 - Directory Listing
Modified Wed Sep 2 02:15:00 2009 UTC (10 years, 5 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Fixed postcondition violation

Revision 80554 - Directory Listing
Modified Tue Sep 1 11:36:10 2009 UTC (10 years, 5 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Create fake notebook object for {SD_PLACE_HOLDER_ZONE} like what it did in non void-safe docking library

Fixed bug#16214: Precondition in docking

Fixed bug in {SD_EDITOR_CONFIG_HELPER} which will make editor area missing. The bug happens when restoring a docking data which contain a minimized editor, but the docking layout before restoring doesn't have editor (only the gray editor place holder area)
	

Revision 80553 - Directory Listing
Modified Tue Sep 1 09:46:21 2009 UTC (10 years, 5 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Fixed bug that forgot reset HASH_TABLE position to start position (the loop actually not executed before the fix)

Fixed bug#16213: Precondition in docking

Revision 80532 - Directory Listing
Modified Mon Aug 31 16:34:01 2009 UTC (10 years, 5 months ago) by manus
Original Path: trunk/Src/experimental/library/docking
Fixed precondition violation in KMP_WILD as `make' does not allow for empty pattern and text, we should 
  instead use `make_empty'.


Revision 80411 - Directory Listing
Modified Tue Aug 25 09:05:56 2009 UTC (10 years, 6 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Added automatic license file for docking library

Revision 80388 - Directory Listing
Modified Fri Aug 21 21:40:11 2009 UTC (10 years, 6 months ago) by manus
Original Path: trunk/Src/experimental/library/docking
Made the code immune from whether or not there is a conversion from REAL_64 to REAL_32.


Revision 80352 - Directory Listing
Modified Thu Aug 20 09:01:17 2009 UTC (10 years, 6 months ago) by dfurrer
Original Path: trunk/Src/experimental/library/docking
Reverting unintended changes of previous commit...

Revision 80351 - Directory Listing
Modified Thu Aug 20 08:48:44 2009 UTC (10 years, 6 months ago) by dfurrer
Original Path: trunk/Src/experimental/library/docking
Include the cocoa library on the mac

Revision 80346 - Directory Listing
Modified Thu Aug 20 03:48:57 2009 UTC (10 years, 6 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Check if attached {SD_DOCKING_STATE}.zone really attached since {SD_DOCKING_STATE} is created by {INTERNAL}.new_instance_of when restoring docking layout, otherwise precondition violation when restoring docking layout


Revision 80271 - Directory Listing
Modified Fri Aug 14 10:16:42 2009 UTC (10 years, 6 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Made Smart Docking library void-safe on Linux platforms

Revision 80270 - Directory Listing
Modified Fri Aug 14 09:53:29 2009 UTC (10 years, 6 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Added comments

Revision 80269 - Directory Listing
Modified Fri Aug 14 09:45:12 2009 UTC (10 years, 6 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Added a useful precondition

Revision 80268 - Directory Listing
Modified Fri Aug 14 09:26:57 2009 UTC (10 years, 6 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Fixed bug that forgot set Result value

Fixed bug#16141: Void-safe docking precondition

Revision 80267 - Directory Listing
Modified Fri Aug 14 09:09:12 2009 UTC (10 years, 6 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Check if {SD_STATE}.`is_zone_attached' before query {SD_STATE}.`zone', otherwise there would be precondition violation

Revision 80262 - Directory Listing
Modified Fri Aug 14 07:10:33 2009 UTC (10 years, 6 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Query {SD_STATE}.is_zone_attached before calling {SD_STATE}.zone, otherwise there would be precondition violations

Revision 80261 - Directory Listing
Modified Fri Aug 14 06:25:48 2009 UTC (10 years, 6 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Set docking manager instance for {SD_STATE_VOID} if possible, just like what it did in revision#79072 (before void-safe)

Revision 80260 - Directory Listing
Modified Fri Aug 14 03:52:10 2009 UTC (10 years, 6 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Use {SD_STATE}.is_zone_attached query instead of checking "{SD_STATE}.zone /= Void" directly. Otherwise, there would be precondition violation

Revision 80237 - Directory Listing
Modified Thu Aug 13 09:35:54 2009 UTC (10 years, 6 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Fixed bugs related with {SD_STATE_VOID}.zone when restoring layout (should query if {SD_STATE_VOID}.`is_zone_attached' before query {SD_STATE_VOID}.`zone') 

Revision 80230 - Directory Listing
Modified Thu Aug 13 07:53:17 2009 UTC (10 years, 6 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Made Smart Docking library void safe

Logs during void safe conversion please see:

http://github.com/larryliuming/Docking-Void-Safe/commits/master/

This commit only valid for Windows platform. Linux's commit coming soon

Revision 80069 - Directory Listing
Modified Mon Aug 3 13:10:50 2009 UTC (10 years, 6 months ago) by dfurrer
Original Path: trunk/Src/experimental/library/docking
- Improved Toolbar drawing
- Basic Notebook Tab drawing



Revision 80066 - Directory Listing
Modified Mon Aug 3 08:19:43 2009 UTC (10 years, 6 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Fixed contract issue when width/height equal 0

See http://eiffelstudio.origo.ethz.ch/node/288

Revision 79791 - Directory Listing
Modified Wed Jul 15 23:45:36 2009 UTC (10 years, 7 months ago) by king
Original Path: trunk/Src/experimental/library/docking
Now making sure that when setting fixed minimum size it is at least 1 to satisfy set_item_size precondition

Revision 79518 - Directory Listing
Modified Tue Jun 30 14:07:16 2009 UTC (10 years, 7 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Added comments

Revision 79429 - Directory Listing
Modified Tue Jun 23 20:22:52 2009 UTC (10 years, 8 months ago) by dfurrer
Original Path: trunk/Src/experimental/library/docking
- Primitive initial drawing of tool-bar items



Revision 79415 - Directory Listing
Modified Tue Jun 23 08:43:35 2009 UTC (10 years, 8 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Added drop files action on the editor (or even empty editor area) when users drop an Eiffel class file. The files will be opened in editor

Revision 79289 - Directory Listing
Modified Mon Jun 15 21:59:00 2009 UTC (10 years, 8 months ago) by manus
Original Path: trunk/Src/experimental/library/docking
Fixed incorrect redefinition since EV_SPLIT_AREA defines `first' and `second' as detachable entities.


Revision 79263 - Directory Listing
Modified Fri Jun 12 23:32:25 2009 UTC (10 years, 8 months ago) by manus
Original Path: trunk/Src/experimental/library/docking
Fixed missing closing </option> node.


Revision 79262 - Directory Listing
Modified Fri Jun 12 23:25:45 2009 UTC (10 years, 8 months ago) by manus
Original Path: trunk/Src/experimental/library/docking
Added some missing void-safe ECFs.
Added .NET target for libraries that have .NET specific code or that are using C externals.


Revision 79225 - Directory Listing
Modified Thu Jun 11 22:44:43 2009 UTC (10 years, 8 months ago) by manus
Original Path: trunk/Src/experimental/library/docking
Made code compile under GTK.


Revision 79205 - Directory Listing
Modified Thu Jun 11 05:03:26 2009 UTC (10 years, 8 months ago) by manus
Original Path: trunk/Src/experimental/library/docking
Made code reachable from EiffelStudio compile with the new version of Vision2.


Revision 79150 - Directory Listing
Modified Tue Jun 9 05:07:39 2009 UTC (10 years, 8 months ago) by larryl
Original Path: trunk/Src/experimental/library/docking
Added if protection against void object

Fixed bug#15525: Feature call on void target in {SD_WIDGET_TOOL_BAR}.compute_minimum_size in EiffelStudio.

Revision 79134 - Directory Listing
Modified Mon Jun 8 18:43:34 2009 UTC (10 years, 8 months ago) by king
Original Path: trunk/Src/experimental/library/docking
Updated to void-safe version of vision2

Revision 79072 - Directory Listing
Modified Wed Jun 3 23:37:10 2009 UTC (10 years, 8 months ago) by manus
Original Path: trunk/Src/experimental/library/docking
Copy of $EIFFEL_SRC/library that will contain the void-safe SPECIAL changes.


Revision 78937 - Directory Listing
Modified Fri May 29 09:45:19 2009 UTC (10 years, 8 months ago) by jfiat
Original Path: trunk/Src/library/docking
Cleaned object test local expression.


Revision 78861 - Directory Listing
Modified Tue May 26 06:46:46 2009 UTC (10 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Clear {SD_TOOL_BAR}'s drawing area after hidden tab list items changed. Otherwise, on Windows, after search a text in the dialog, old hidden tab list items' drawing still drawn on screen and mixed with new drawing. 

For GTK platforms, it's ok without this change.

Revision 78770 - Directory Listing
Modified Tue May 19 08:51:17 2009 UTC (10 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Implemented tooltip related features for {SD_TOOL_BAR_WIDGET_ITEM}, now {SD_TOOL_BAR_WIDGET_ITEM}'s tooltip works in the same way as {SD_TOOL_BAR_BUTTON} does.

Fixed bug#15649: Missing tool tip for the disabled combo in the toolbar
	

Revision 78745 - Directory Listing
Modified Mon May 18 16:06:27 2009 UTC (10 years, 9 months ago) by dfurrer
Original Path: trunk/Src/library/docking
- Adding the necessary platform-specific implementations (stubs atm) to build EiffelStudio using the Cocoa Vision2 implementation (without GTK+ dependencies).
- There is a new target "bench_cocoa" in ec.ecf which builds the native Mac version of EiffelStudio 



Revision 78546 - Directory Listing
Modified Thu May 7 15:30:11 2009 UTC (10 years, 9 months ago) by jfiat
Original Path: trunk/Src/library/docking
Fixed Call on void target

Revision 78475 - Directory Listing
Modified Fri May 1 21:42:03 2009 UTC (10 years, 9 months ago) by manus
Original Path: trunk/Src/library/docking
Updated to 1-5-0 schema version of ECFs.


Revision 78323 - Directory Listing
Modified Tue Apr 21 10:06:40 2009 UTC (10 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
For users convenient, when pressing "Ctrl + N", if there is ONE maximized editor (not editor area) maximized, then restore it

Revision 78307 - Directory Listing
Modified Mon Apr 20 03:24:44 2009 UTC (10 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Separated {SD_STATE} `change_title' to `change_long_title' and `change_short_title'. Otherwise, when user set long/short title on a visible docking panel, the title was set on short/long title are also.

Fixed bug#15620: Short title attribute is not effect to the tool after clicking apply changes - Docking test
	

Revision 78286 - Directory Listing
Modified Fri Apr 17 09:38:40 2009 UTC (10 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Added precondition to prevent long title

Fixed bug#15636: Short title field in the attribute tab of control panel is not validated for length - Docking test

Revision 78283 - Directory Listing
Modified Fri Apr 17 01:40:52 2009 UTC (10 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Revised comments



Revision 78215 - Directory Listing
Modified Mon Apr 13 10:26:35 2009 UTC (10 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
In {CODE_COMPLETION_WINDOW}, use {SD_SIZABLE_POPUP_WINDOW} instead of {EV_POPUP_WINDOW}, so the code completion Window is * re-sizable * on Linux. (We can't use native GTK re-sizable window without title bar since it's not supported. So {SD_SIZEABLE_POPUP_WINDOW} do it itself.)

On Windows, end user feels nothing changed.

Revision 78073 - Directory Listing
Modified Sat Apr 4 20:26:26 2009 UTC (10 years, 10 months ago) by manus
Original Path: trunk/Src/library/docking
Made it compile on Mac OS X as well since now on Mac the platform value is not unix anymore.


Revision 77958 - Directory Listing
Modified Mon Mar 30 05:26:16 2009 UTC (10 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
In {SD_STATE} creation method, a_content's state can be {SD_STATE_VOID} if {SD_STATE} didn't updated it before calling {SD_TAB_ZONE}.extend, so when executing {SD_NOTEBOOK}.select_item, the content's `show_actions' will call {SD_STATE_VOID}.set_user_widget but not {SD_TAB_STATE}.set_user_widget which is not expected

Fixed bug#15565: Exception when switching to debug mode

Revision 77760 - Directory Listing
Modified Mon Mar 16 23:29:52 2009 UTC (10 years, 11 months ago) by manus
Original Path: trunk/Src/library/docking
Added safe version of some Eiffel librairies.
Do not use `gobo.ecf' anymore, but one of its smaller subparts.


Revision 77718 - Directory Listing
Modified Fri Mar 13 05:01:54 2009 UTC (10 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
When {SD_EDITOR_CONFIG_HELPER}.restore_editor_state, we should use splitter proportion instead of splitter position. In this way, splitter bar position doesn't effect by minimum splitter position (used for calculate splitter bar position in {EV_SPLIT_AREA_I}).

Otherwise, when saving splitter's position, the item is SD_PLACE_HOLDER_ZONE, but when restoring, the item is SD_DOCKING_ZONE_UPPER (real editor). So,splitter's minimum split position changed! Then the calculated splitter bar position changed a little bit.

Fixed bug#15492: Layout changing after running project
	

Revision 77717 - Directory Listing
Modified Fri Mar 13 04:05:35 2009 UTC (10 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Cosmetic

Revision 77466 - Directory Listing
Modified Tue Mar 3 03:25:16 2009 UTC (10 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Use idle action to refresh title bar just after {SD_TITLE_BAR}.set_title is called. In this way, when calling {SD_TITLE_BAR}.set_title multi times, it only refresh title bar one time in the end (in idle actions). 

This can be useful for Eiffel Studio's Error List tool when there are too many errors/warnings.

Revision 77298 - Directory Listing
Modified Tue Feb 24 23:44:31 2009 UTC (10 years, 11 months ago) by manus
Original Path: trunk/Src/library/docking
Use new syntax for object test and attached/detachable type.


Revision 77254 - Directory Listing
Modified Mon Feb 23 08:55:03 2009 UTC (11 years ago) by larryl
Original Path: trunk/Src/library/docking
Only update a {SD_CONTENT}'s mini-toolbar if the {SD_CONTENT}'s main widget is visible. Otherwise, in tabbed area, when {SD_CONTENT} is invisible, {SD_CONTENT}'s mini toolbar will be shown if {SD_CONTENT} is called.

Fixed bug#15391: Another case of UI issue

Revision 77182 - Directory Listing
Modified Mon Feb 16 22:23:08 2009 UTC (11 years ago) by manus
Original Path: trunk/Src/library/docking
Updated tags, because `attached' is now a keyword we cannot use it as an assertion clause tag.


Revision 77063 - Directory Listing
Modified Mon Feb 9 09:00:58 2009 UTC (11 years ago) by larryl
Original Path: trunk/Src/library/docking
Fixed catcall

Fixed bug#15368: Operating system signal in {SD_TOOL_BAR}.items in EiffelStudio


Revision 76986 - Directory Listing
Modified Thu Feb 5 00:49:12 2009 UTC (11 years ago) by manus
Original Path: trunk/Src/library/docking
Use `put' as creation procedure rather than `default_create' since the later cannot be used for Void safe
 code.


Revision 76948 - Directory Listing
Modified Tue Feb 3 09:25:15 2009 UTC (11 years ago) by larryl
Original Path: trunk/Src/library/docking
Update mini tool bar widget immediately after {SD_CONTENT}.mini_toolbar is called

Revision 76947 - Directory Listing
Modified Tue Feb 3 08:52:02 2009 UTC (11 years ago) by larryl
Original Path: trunk/Src/library/docking
Replaced precondition with if protection

Because while closing Eiffel Studio, {SD_FLOATING_ZONE}'s focus out actions can be called after {SD_DOCKING_MANAGER_AGENTS} destroyed.

Revision 76931 - Directory Listing
Modified Mon Feb 2 09:38:57 2009 UTC (11 years ago) by larryl
Original Path: trunk/Src/library/docking
Cosmetics: 

Replaced all `redefine' with `<Precursor>'
Removed useless commas

Revision 76929 - Directory Listing
Modified Mon Feb 2 04:19:53 2009 UTC (11 years ago) by larryl
Original Path: trunk/Src/library/docking
Moved `editor_helper.is_editor_state_valid' to correct place

Fixed bug#15253: Editor is missing from docking layout

Revision 76828 - Directory Listing
Modified Sat Jan 24 17:39:47 2009 UTC (11 years ago) by manus
Original Path: trunk/Src/library/docking
Fixed invariant violation by creating objects before calling `init'.


Revision 76750 - Directory Listing
Modified Mon Jan 19 09:48:20 2009 UTC (11 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
For bug#15253: Editor is missing from docking layout

Fixed and improved {EB_RESET_LAYOUT_COMMAND}, make sure it works in both normal and corrupted situation

Now when executing {SD_OPEN_CONFIG_MEDIAOTR}.`open_tools_config' or `open_editors_config', `open_tools_config' and `open_editors_config' will add editor place holder automatically if editor missing

Refactored {SD_OPEN_CONFIG_MEDIATOR}, delegate editor related stuffs to new class {SD_EDITOR_CONFIG_HELPER}

Removed {SD_DOCKING_MANAGER}.`reset_all_widgets' since it can be handled within docking library


Revision 76749 - Directory Listing
Modified Mon Jan 19 08:50:07 2009 UTC (11 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Fixed postcondition since precondition has object test ({lt_widget: SD_MIDDLE_CONTAINER} a_widget implies...)

Revision 76729 - Directory Listing
Modified Fri Jan 16 11:04:38 2009 UTC (11 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Twin `internal_tabs' before looping, otherwise `internal_tabs''s cursor will be moved by `item_x'

Revision 76728 - Directory Listing
Modified Fri Jan 16 10:03:24 2009 UTC (11 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Like `add_place_holder', `del_place_holder' should only care about editor type zones

Revision 76727 - Directory Listing
Modified Fri Jan 16 09:40:42 2009 UTC (11 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Moved object test to correct place

This bug is caused by revision#76601, now it works again (same as revision#67267)

Revision 76704 - Directory Listing
Modified Thu Jan 15 14:36:26 2009 UTC (11 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Added {SD_WIDGET_CLEANER} to reset docking widgets

Improved Eiffel Studio `reset tools layout', now it works even editor is missing

Fixed bug in {SD_OPEN_CONFIG_MEDIATOR}.open_editors_config when no editor data to restore

Fixed bug#15253: Editor is missing from docking layout

Revision 76665 - Directory Listing
Modified Tue Jan 13 08:52:27 2009 UTC (11 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Same as revision#76610, using same way as gtkbutton.c does to clear tab stub's background. Now it's looks nice when theme has background pixmaps

Revision 76643 - Directory Listing
Modified Mon Jan 12 02:25:18 2009 UTC (11 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Removed useless `internal_shared_not_used'

Fixed invariants broken in {SD_DOCKING_MANAGER}

Revision 76637 - Directory Listing
Modified Sat Jan 10 05:40:11 2009 UTC (11 years, 1 month ago) by king
Original Path: trunk/Src/library/docking
Removed erroneous effecting of the deferred routine {BOX}.full with another deferred routine {SD_MIDDLE_CONTAINER}.full, the compiler currently allows this but an error should be raised.

Revision 76610 - Directory Listing
Modified Thu Jan 8 08:52:09 2009 UTC (11 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Using same way as gtkbutton.c does to clear tool bar's and title bar's background. Now it's looks nice when theme has background pixmaps (such as Mac OS's theme on Gnome)
 (gtkbutton.c source code: http://www.koders.com/c/fid9492776D9BDB7D4D3D71E4F7A76824E1636CDA1C.aspx?s=mdef%3ainsert)

Using correct notebook style for notebook tabs

Moved all SD_SYSTEM_SETTER to SD_SHARED

Revision 76607 - Directory Listing
Modified Thu Jan 8 02:13:07 2009 UTC (11 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Fixed a bug in {SD_DOCKING_MANAGER_COMMAND}.lock_update, check would fail when pressing on a non-selected notebook tab.

Fixed warnings

Revision 76601 - Directory Listing
Modified Wed Jan 7 01:40:14 2009 UTC (11 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Removed EV_CONTAINER inheritance from SD_ZONE 

Added SD_GENERIC_TOOL_BAR as SD_TOOL_BAR's and SD_WIDGET_TOOL_BAR's ancestor

Fixed bug#13387: SD_WIDGET_TOOL_BAR broken (Windows part)

Linux's commit coming soon

Revision 76564 - Directory Listing
Modified Sun Jan 4 03:50:55 2009 UTC (11 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Made SD_TOOL_BAR_BUTTON can work with pixel buffer ONLY on GTK. So it's consistence with Windows implementations now.


Revision 76420 - Directory Listing
Modified Mon Dec 29 20:27:11 2008 UTC (11 years, 1 month ago) by manus
Original Path: trunk/Src/library/docking
Removal of `is' keyword.
Replacement of `is' by `=' for constant definitions.
Replaced `indexing' by `note'.


Revision 76332 - Directory Listing
Modified Tue Dec 23 03:23:17 2008 UTC (11 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Only record FULL splitter since un-full splitters will be removed by docking library automatically.  This is useful when opening Eiffel Studio, {SD_DOCKING_MANAGER_COMMAND}.remove_empty_split_area is not called yet before resizing.

Revision 76317 - Directory Listing
Modified Mon Dec 22 10:44:13 2008 UTC (11 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Added `a_data_name' to {SD_MUTLI_DOCK_AREA}.save_spliter_position and restore_spliter_position, so save_spliter_position/restore_spliter_position can remember multi data if more than one clients are calling it.

This improvement fixed a bug, when Eiffel Studio docking layout is complex, SD_MULTI_DOCK_AREA.save_spliter_position will be called twice (so the first time saved splitter position data would be forgot before this fix) when executing "ctrl + shift + m".

Revision 76274 - Directory Listing
Modified Thu Dec 18 11:22:27 2008 UTC (11 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Remember split proportion when `set_split_position' is called. So clients of {SD_XXX_SPLIT_AREA} don't need to call `update_proportion' manually.

Revision 76271 - Directory Listing
Modified Thu Dec 18 10:58:14 2008 UTC (11 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Improved resizing policy for bug#15148. Now, we set split area proportion recursively from outside split area to inside split area to avoid generating resize events during resizing, and we only do it once in idle actions.

Otherwise, (at least on Windows) if docking layout is complicated, some resize event will be ignored (which is not expected by end users) because too many resize actions are generated.

Revision 76202 - Directory Listing
Modified Wed Dec 17 08:14:17 2008 UTC (11 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed {SD_DOCKING_ZONE_UPPER}.set_focus_color, ensured notebook border color correct

Fixed bug#15159: Missing editor border when closing tabs

Revision 76178 - Directory Listing
Modified Tue Dec 16 12:32:06 2008 UTC (11 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Use split area's proportion instead of its position

(again) Fixed bug#15148: Improve EiffelStudio resizing policy

Revision 76177 - Directory Listing
Modified Tue Dec 16 09:06:02 2008 UTC (11 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Added proportion related features to EV_SPLIT_AREA

Set split bar position base on proportion when resizing in docking library

Fixed bug#15148: Improve EiffelStudio resizing policy

Revision 76164 - Directory Listing
Modified Mon Dec 15 07:43:41 2008 UTC (11 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Using correct editor parent when there is ONLY EDITOR PLACE HOLDER ZONE exists
Fixed bug that when no editor (only editor place holder), maximize whole editor area, docking layout would be corrupted
This is important fix for docking library since this bug will generate corrupted docking data when saving docking layout if there is only editor place holder zone (no normal editor)
Hopefully this can fix bug#14237: EiffelStudio layout messed up


Revision 76145 - Directory Listing
Modified Fri Dec 12 08:47:33 2008 UTC (11 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
We only draw background for sensitive buttons

Fixed bug#12580: Toolbar button insensitive

Revision 76016 - Directory Listing
Modified Tue Dec 2 07:36:08 2008 UTC (11 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Move Windows specific classes to mswin folder, so docking library can compile on Linux

Revision 76009 - Directory Listing
Modified Tue Dec 2 07:18:29 2008 UTC (11 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Removed useless classes so docking library can compile

Revision 75860 - Directory Listing
Modified Sat Nov 22 05:08:21 2008 UTC (11 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Use alpha blend function if possible in tool bar drawer

Fixed Windows part of bug#15005: Drawing pixel buffers behave different on *nix and Windows

Revision 75776 - Directory Listing
Modified Wed Nov 19 19:51:17 2008 UTC (11 years, 3 months ago) by king
Original Path: trunk/Src/library/docking
Now instead of forcing a draw when either an item's text or pixmap has changed via on_expose, we ask the tab box to redraw instead which is the same as an invalidation.  This speeds up repeatedly calls to set_item_text and set_item_pixmap as the items only get updated when the tab box redraws itself, this speeds up the error list display dramatically when adding or removing items all at once.

Revision 75605 - Directory Listing
Modified Fri Nov 14 19:14:10 2008 UTC (11 years, 3 months ago) by alexk
Original Path: trunk/Src/library/docking
Used creation procedure with explicit argument because it will be available in void-safe mode as well.

Revision 75402 - Directory Listing
Modified Sat Nov 1 03:22:32 2008 UTC (11 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed invariant violation {EV_CONTAINER}.client_width_within_bounds when restore docking layout. And the layout has SD_FLOATING_ZONE data.

Revision 74885 - Directory Listing
Modified Wed Oct 1 06:28:18 2008 UTC (11 years, 4 months ago) by tedf
Original Path: trunk/Src/library/docking
- Improved memory management of agents when destroying docking managers.
- Use `is_destroyed' instead of precondition in {SD_TOOL_BAR_DRAGGING_AGENTS} as protection against being called at bad situation. One typical situation is that registered actions called precedingly destroy the docking managers, which causes the following actions with precondition `not is_destroyed' fail. We can hardly do something else based on current implementation of {ACTION_SEQUENCE}.call in which `call_is_underway' has been set.
- Fixed a typo.

Revision 74564 - Directory Listing
Modified Tue Aug 26 17:46:26 2008 UTC (11 years, 5 months ago) by manus
Original Path: trunk/Src/library/docking
New variant keyword location to match the new ECMA specification.


Revision 74499 - Directory Listing
Modified Tue Aug 19 09:33:19 2008 UTC (11 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Made docking library's saving features return boolean to indicate saving statues

Extracted docking layouts saving/opening features to new class {EB_DOCKING_LAYOUT_MANAGER} (from {EB_DEVELOPMENT_WINDOW} and {EB_DEBUGGER_MANAGER})

Fixed bug#14426: permission denied to save config mediator

Revision 74460 - Directory Listing
Modified Wed Aug 13 10:31:32 2008 UTC (11 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Added `is_destroyed' query if class have `destroy' command

Fixed bug#14726: Docking improvement

Revision 74459 - Directory Listing
Modified Wed Aug 13 09:21:51 2008 UTC (11 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Avoid crash if parameter is void

Revision 74404 - Directory Listing
Modified Mon Aug 11 22:52:24 2008 UTC (11 years, 6 months ago) by manus
Original Path: trunk/Src/library/docking
Relaxed invariant to accept non-negative values.


Revision 74403 - Directory Listing
Modified Mon Aug 11 22:00:42 2008 UTC (11 years, 6 months ago) by manus
Original Path: trunk/Src/library/docking
Better invariant tag name.


Revision 74387 - Directory Listing
Modified Mon Aug 11 12:52:53 2008 UTC (11 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Implemented {SD_SHARED}.notebook_tab_area_menu_items_agent and title_bar_area_menu_items_agent, so end users can configure docking library right click menu dynamically

Changed [EB_DEVELOPMENT_WINDOW_MENU_BUILDER} to use the new docking library agents, fixed menu items memory leaks when close a development window

Revision 74362 - Directory Listing
Modified Thu Aug 7 07:43:22 2008 UTC (11 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed docking library invariant violations

Fixed bug#11904: Docking library violates its invariants

Revision 74360 - Directory Listing
Modified Thu Aug 7 03:36:52 2008 UTC (11 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Made {SD_TOOL_BAR_BUTTON} `set_text', `set_pixmap', `set_pixel_buffer' and `set_tooltip' consistent

Fixed bug#14635: docking: no way to remove a pixel buffer from a SD_TOOL_BAR_BUTTON

Revision 74356 - Directory Listing
Modified Wed Aug 6 13:40:42 2008 UTC (11 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Added ability to real minimize/restore whole editor area

Rearranged Eiffel Studio View menu since the old one is too long

Revision 74349 - Directory Listing
Modified Tue Aug 5 08:37:22 2008 UTC (11 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Improved error handling when opening docking layout:

1. Ignore duplicated place holder content in {SD_OPEN_CONFIG_MEDIATOR}
2. Ignore editor content when opening tools docking layout in {SD_DOCKING_MANAGER_QUERY}
3. Changed {SD_PLACE_HOLDER_ZONE} to make it not crash
4. Removed useless check in {SD_UPPER_ZONE} since the bad case is already handled

Fixed bug#14698: Switching to debug layout produces strange results

Revision 74347 - Directory Listing
Modified Tue Aug 5 03:45:09 2008 UTC (11 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
In {SD_UPPER_ZONE}, extracted zone minimize codes to a separate feature

Fixed bug#14698: Switching to debug layout produces strange results

Revision 74331 - Directory Listing
Modified Fri Aug 1 18:56:47 2008 UTC (11 years, 6 months ago) by manus
Original Path: trunk/Src/library/docking
Fixed VWEQ warning for comparing a SD_ZONE directly to a EV_WINDOW which most of the case
  is False unless the SD_ZONE is a SD_FLOATING_ZONE.


Revision 74327 - Directory Listing
Modified Fri Aug 1 15:32:24 2008 UTC (11 years, 6 months ago) by manus
Original Path: trunk/Src/library/docking
Cosmetics.
Removed special characters that made svn believed it was a binary file and preventing 
  comparison between revisions.


Revision 74324 - Directory Listing
Modified Fri Aug 1 07:36:59 2008 UTC (11 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
If can't find top window for newly created panel,  search top window in another way

Fixed bug#14686: Feature call on void target in [SD_HOT_ZONE_OLD_MAIN.set_pointer_style] in EiffelStudio

Revision 74298 - Directory Listing
Modified Thu Jul 31 12:48:53 2008 UTC (11 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Use {EV_SCREEN} to query current pointer position

Fixed bug#14677: Picking a class stone from class tool, and keep pointer over auto hidden tab has no effect

Revision 74297 - Directory Listing
Modified Thu Jul 31 12:40:35 2008 UTC (11 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Added if protections for calls during zone transforming

Fixed bug#14623: Feature call on void target in [SD_NOTEBOOK.set_item_text] in EiffelStudio.

Revision 74293 - Directory Listing
Modified Thu Jul 31 07:00:20 2008 UTC (11 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
When dragging a floating zone, set mouse cursor to indicate result for end users. On Windows, we can just set pointer style to main window. On GTK, we must set current focused widget top window's pointer style and we have to set all widgets' pointer styles in the dragged window.

Fixed bug#14624: Mouse cursor does not change when moving undocked window or tab within it

Revision 74292 - Directory Listing
Modified Thu Jul 31 02:41:10 2008 UTC (11 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
 We should check if {SD_DOCKER_MEDIATOR} is void since `on_drag_started' will be called multi times when starting dragging on GTK

Revision 74202 - Directory Listing
Modified Fri Jul 25 08:55:55 2008 UTC (11 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
If closing all contents ({SD_DOCKING_MANAGER}.close_all), SD_NOTEBOOK will not give focus to next content just after close a content.

Fixed bug#13796: Crash while exiting EiffelStudio


Revision 74157 - Directory Listing
Modified Wed Jul 23 08:24:59 2008 UTC (11 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection

Revision 74155 - Directory Listing
Modified Wed Jul 23 08:10:55 2008 UTC (11 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection

Revision 74154 - Directory Listing
Modified Wed Jul 23 08:05:26 2008 UTC (11 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed typo

Revision 74153 - Directory Listing
Modified Wed Jul 23 08:02:57 2008 UTC (11 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Use STRING_32 instead of STRING_GENERAL in text functions

Fixed bug#14634: docking: {SD_TOOL_BAR_BUTTON}.text should not return STRING_GENERAL
	

Revision 74104 - Directory Listing
Modified Fri Jul 18 04:15:46 2008 UTC (11 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Draw horizontal/vertical tool bar separator for classic theme

Fixed bug#12577: Toolbar separators are blank, they should have some visible markers

Revision 74081 - Directory Listing
Modified Wed Jul 16 06:18:03 2008 UTC (11 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Don't lock/unlock update if closing all contents

Fixed bug#14455: Quitting EiffelStudio flashes the desktop a few dozen times

Revision 74071 - Directory Listing
Modified Mon Jul 14 13:48:52 2008 UTC (11 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Removed `desaturation' from {SD_TOOL_BAR_DRAWER_I} and removed `dc_to_draw' from {SD_TOOL_BAR_DRAWER_IMP}

Made them simpler and clearer

Revision 74051 - Directory Listing
Modified Thu Jul 10 06:44:15 2008 UTC (11 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
We can't restore tools layout when {EV_WINDOW}.is_minimized since EV_SPLIT_AREA can't be restored if window minimized

Fixed bug#14309: Serious layout bug with docking

Revision 74010 - Directory Listing
Modified Thu Jul 3 15:00:49 2008 UTC (11 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
After restored items data, content items ({SD_TOOL_BAR_SEPARATOR} ignored) should not less than original state items' count (state before restore tool bar data)

Fixed bug#13972: Ability to put tools in standard toolbar is now gone
		

Revision 73983 - Directory Listing
Modified Tue Jul 1 10:03:15 2008 UTC (11 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Added protections and checks where possible

Fixed bug#13970: Feature call on void target in [SD_OPEN_CONFIG_MEDIATOR.open_tools_config] in EiffelStudio

Revision 73979 - Directory Listing
Modified Tue Jul 1 01:53:01 2008 UTC (11 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Disallow dropping a stone to non-editor notebook tab area. Such as dropping a class stone beside Features tab.


Revision 73927 - Directory Listing
Modified Tue Jun 24 06:25:08 2008 UTC (11 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
In some machine (Windows XP), the last error is non-zero, but actually the UpdateLayeredWindow API executed successfully. Strange

In MSDN, "UpdateLayeredWindow Function" page, it says “if function fails, the return value is 0”. So we check the return value instead of the system late error code.



Revision 73922 - Directory Listing
Modified Mon Jun 23 09:27:54 2008 UTC (11 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection for void object.

Fixed bug#13226: Internal Error starting EiffelStudio for the first time

Revision 73133 - Directory Listing
Modified Tue Apr 22 08:37:08 2008 UTC (11 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed bug that when setting a tool bar button's pixel buffer/pixmap after it has been shown does not redraw it. You have to hover the mouse over it in order to get it to refresh.

Revision 73013 - Directory Listing
Modified Sat Apr 12 00:37:13 2008 UTC (11 years, 10 months ago) by paulb
Original Path: trunk/Src/library/docking
Added perform_select to force the action set on the button.

Revision 72963 - Directory Listing
Modified Sun Apr 6 04:15:22 2008 UTC (11 years, 10 months ago) by manus
Original Path: trunk/Src/library/docking
Removed non-used local.


Revision 72883 - Directory Listing
Modified Wed Mar 26 15:48:02 2008 UTC (11 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
In notebook right click menu, first we close others, finally we close selected item. This way is faster than just closing contents one by one.

Revision 72882 - Directory Listing
Modified Wed Mar 26 14:56:21 2008 UTC (11 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Similar to {SD_DOCKING_STATE}.show, we have to do something special for GTK just after showing a window.

Fixed bug#14105: Default size of property window



Revision 72877 - Directory Listing
Modified Wed Mar 26 12:40:25 2008 UTC (11 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Call `show_action' just after content position operation if SD_CONTENT first not shown. Now {SD_CONTENT}.show_actions works as expected.

Fixed bug#14120: Object tool grayed out the first time you put EiffelStudio in debug mode

Revision 72849 - Directory Listing
Modified Tue Mar 25 03:10:45 2008 UTC (11 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection to avoid void crash during exiting Eiffel Studio

Revision 72748 - Directory Listing
Modified Fri Mar 14 08:22:44 2008 UTC (11 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Use existing feature instead of doing it again

Revision 72747 - Directory Listing
Modified Fri Mar 14 08:01:46 2008 UTC (11 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed bug: when end user minimize an maximized editor zone directly all other zones information were lost

Revision 72725 - Directory Listing
Modified Thu Mar 13 14:33:14 2008 UTC (11 years, 11 months ago) by jfiat
Original Path: trunk/Src/library/docking
Fixed call on void, when the idle action are called once the widget is destroyed.

Revision 72724 - Directory Listing
Modified Thu Mar 13 09:27:09 2008 UTC (11 years, 11 months ago) by jfiat
Original Path: trunk/Src/library/docking
Removed useless ! in Object Test locals declaration  
Note: {foo: FOO} can and should be used instead of {foo: !FOO}

Revision 72706 - Directory Listing
Modified Wed Mar 12 14:17:47 2008 UTC (11 years, 11 months ago) by jfiat
Original Path: trunk/Src/library/docking
Fixed catcall about veto_pebble_function (the stone has to be ANY)

Revision 72690 - Directory Listing
Modified Tue Mar 11 12:35:29 2008 UTC (11 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed content mini tool bar not updated bug when select a notebook tab through hidden item list. Simplified the handling of hidden tab list dialog item select actions by reuse notebook tab area tab select actions handler.

Revision 72689 - Directory Listing
Modified Tue Mar 11 12:06:52 2008 UTC (11 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Use EV_PIXEL_BUFFER when possible. So we have nice icons in notebook hidden tab list and `ctrl + tab' contents' list dialog.

Revision 72667 - Directory Listing
Modified Mon Mar 10 08:15:39 2008 UTC (11 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
The minimum height of title bar should be 1 pixel larger, otherwise we can't see the gray separator line.

Revision 72666 - Directory Listing
Modified Mon Mar 10 07:19:55 2008 UTC (11 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed bug floating zone was dockable when `internal_docking_manager'.`is_locked'.

Revision 72642 - Directory Listing
Modified Fri Mar 7 16:01:07 2008 UTC (11 years, 11 months ago) by jfiat
Original Path: trunk/Src/library/docking
Use named tuple declaration when it is possible.
(Optimization by avoiding to use item_integer (i) or var ?= item (i), and similar)

Revision 72631 - Directory Listing
Modified Thu Mar 6 14:37:38 2008 UTC (11 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Added feature `replace_widget' which can fix mini tool bar resize problem. The problem happens usually after `widget' actual size changed, but in the UI, `widget' size not updated.

Revision 72611 - Directory Listing
Modified Wed Mar 5 10:52:36 2008 UTC (11 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection.

Fixed bug#14060: Crash in SD_WIDGET_TOOL_BAR when exiting EiffelStudio

Revision 72610 - Directory Listing
Modified Wed Mar 5 10:10:17 2008 UTC (11 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
We must use pattern to draw resize bar half tone feedback on Windows Vista. Otherwise, when erasing the background will be whole black (Vista Aero theme enabled).

Moved `spliter_brush' from {EV_TOGGLE_BUTTON} to {WEL_BITMAP_HELPER} (renamed as `half_tone_brush')

Revision 72588 - Directory Listing
Modified Tue Mar 4 10:07:38 2008 UTC (11 years, 11 months ago) by jfiat
Original Path: trunk/Src/library/docking
Support agent to create the popup menu.

Revision 72587 - Directory Listing
Modified Tue Mar 4 08:43:55 2008 UTC (11 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Made tool bar drop-down button's right `V' area 2 pixel left

Revision 72586 - Directory Listing
Modified Tue Mar 4 08:18:24 2008 UTC (11 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Removed useless feature `tool_bar_items_texts'

Revision 72582 - Directory Listing
Modified Tue Mar 4 03:10:30 2008 UTC (11 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Handled the case that docking config file not exists.

Fixed bug#14058: Exception the first time you open EiffelStudio on a machine that has never seen EiffelStudio

Revision 72524 - Directory Listing
Modified Thu Feb 28 02:41:33 2008 UTC (11 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed wrong agent parameters.

Revision 72508 - Directory Listing
Modified Wed Feb 27 16:29:52 2008 UTC (11 years, 11 months ago) by jfiat
Original Path: trunk/Src/library/docking
fixed minor typo

Revision 72499 - Directory Listing
Modified Wed Feb 27 15:36:48 2008 UTC (11 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Added `notebook_tab_area_menu_items‘ and `title_bar_area_menu_items’ to {SD_SHARED} which allow client programmers customize right click menus showing at notebook tab area and {SD_CONTENT}'s title bar area.

Revision 72498 - Directory Listing
Modified Wed Feb 27 15:31:54 2008 UTC (11 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Added {SD_ACCESS} which is used for access {SD_DOCKING_MANAGER} library internal features.

Revision 72497 - Directory Listing
Modified Wed Feb 27 15:23:14 2008 UTC (11 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Let {SD_ZONE_MANAGEMENT_MENU} use UI strings from {SD_INTERFACE_NAMES}.

Revision 72493 - Directory Listing
Modified Wed Feb 27 09:14:29 2008 UTC (11 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Removed useless classes.

Revision 72491 - Directory Listing
Modified Wed Feb 27 07:26:25 2008 UTC (11 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Added complementary `menu' for dual pop up button. EV_MENU is not descendant of EV_WIDGET, so only `popup_widget' is not enough.

Revision 72408 - Directory Listing
Modified Fri Feb 22 17:24:02 2008 UTC (12 years ago) by jfiat
Original Path: trunk/Src/library/docking
cosmetic

Revision 72405 - Directory Listing
Modified Fri Feb 22 16:46:51 2008 UTC (12 years ago) by larryl
Original Path: trunk/Src/library/docking
If widget tool bar item's widget size changed, client programmers should call `update_parent_tool_bar_size' to update parent tool bar's size.

Revision 72402 - Directory Listing
Modified Fri Feb 22 10:11:22 2008 UTC (12 years ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection to against void crash during Eiffel Studio exiting (everything is recycling).

Revision 72350 - Directory Listing
Modified Tue Feb 19 08:39:46 2008 UTC (12 years ago) by larryl
Original Path: trunk/Src/library/docking
Call SD_CONTENT.show_actions in SD_STATE.show except SD_TAB_STATE. We should call the show_actions in SD_TAB_STATE too, but SD_TAB_STATE is different from other states (single docking, floating, auto hide). SD_TAB_STATE.show only guarantees the notebook which contains the content's widget is shown but not the content's widget's tab inside the notebook is shown. So SD_TAB_STATE.show doesn’t call the show actions. Maybe this is not a complete commit. At least, it's better.

Revision 72348 - Directory Listing
Modified Tue Feb 19 07:54:11 2008 UTC (12 years ago) by larryl
Original Path: trunk/Src/library/docking
Added contracts.

Revision 72320 - Directory Listing
Modified Fri Feb 15 07:41:55 2008 UTC (12 years ago) by larryl
Original Path: trunk/Src/library/docking
Avoid creating useless empty tuple.

Revision 72246 - Directory Listing
Modified Thu Feb 7 01:04:17 2008 UTC (12 years ago) by king
Original Path: trunk/Src/library/docking
Removed debugging code

Revision 72245 - Directory Listing
Modified Thu Feb 7 00:58:07 2008 UTC (12 years ago) by king
Original Path: trunk/Src/library/docking
Fixed bug where GtkStyle was not associated to the drawable to which gtk_paint calls where being rendered to, this caused memory corruption with certain gtk themes, most notably the default QT themes that comes with certain kde distributions including SUSE and Kubuntu

Revision 72218 - Directory Listing
Modified Tue Feb 5 08:43:13 2008 UTC (12 years ago) by larryl
Original Path: trunk/Src/library/docking
Moved disabled gray scale icon drawing routine from docking library to wel library. 

Menu items and buttons are updated to use the new disabled gray scale drawing routine. They are nicer now.


Revision 71951 - Directory Listing
Modified Thu Jan 17 08:37:12 2008 UTC (12 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Added `close_all' feature to {SD_DOCKING_NANAGER} which close all contents. During the call, all actions in {SD_CONTENT} will be ignored.

Revision 71939 - Directory Listing
Modified Wed Jan 16 08:08:40 2008 UTC (12 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Added a precondition.

Revision 71938 - Directory Listing
Modified Wed Jan 16 07:53:17 2008 UTC (12 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
We have to check if `internal_custome_widget' is_destroyed, it makes sense while an application is exiting.

Fixed bug#13731: Precondition violated while exiting

Revision 71684 - Directory Listing
Modified Mon Dec 31 04:28:11 2007 UTC (12 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Added new query `is_docking_manager_attached'. Added this feature as contract to related features in {SD_CONTENT}.

Fixed bug#13826: Internal Error after hitting Ctrl+Alt+B

Revision 71455 - Directory Listing
Modified Tue Dec 11 10:57:52 2007 UTC (12 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed typo.




Revision 71436 - Directory Listing
Modified Mon Dec 10 16:02:02 2007 UTC (12 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Added codes to save/open floating tool bars items' visible informations.

Fixed bug#13045: Customization of undocked toolbar not preserved over sessions



Revision 71435 - Directory Listing
Modified Mon Dec 10 15:50:46 2007 UTC (12 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
More adapt on SD_FLOATING_ZONE to make it works in the same way as it works on Windows.

Fixed bug#13685: Undocking Feature tool causes it to become tiny



Revision 71434 - Directory Listing
Modified Mon Dec 10 10:28:41 2007 UTC (12 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
More adapt on SD_FLOATING_ZONE to make it works same between GTK and Windows.

Fixed bug#13685: Undocking Feature tool causes it to become tiny



Revision 71433 - Directory Listing
Modified Mon Dec 10 09:07:11 2007 UTC (12 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Record floating window's `screen_x' `screen_y', `width' and `height' when hiding. Because on Windows, the 4 values are same as last time's values when window were shown. But on GTK, a window's screen x/y and width/height are always all 0 if not displayed.

Fixed bug#13685: Undocking Feature tool causes it to become tiny

Revision 71424 - Directory Listing
Modified Fri Dec 7 17:23:20 2007 UTC (12 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Calculate a precise maximum height for the last item showing.

Fixed bug#12618: Last entry in Show List popup window cut off at baseline

Revision 71357 - Directory Listing
Modified Tue Dec 4 04:33:47 2007 UTC (12 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Make sure precondition not violated when calling {EV_WINDOW}.lock_update.

Revision 71280 - Directory Listing
Modified Thu Nov 29 08:31:48 2007 UTC (12 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
After call {SD_TOOL_BAR_CONTENT}.`set_top' or `set_top_with', {SD_TOOL_BAR_CONTENT}.`is_visible' will be true now. 

This fix bug that in Eiffel Studio default layout

1 Show refactoring tool bar
2 Hide refactoring tool bar
3 Click menu item `reset tools layout'

Multi refactoring tool bars will shown which is not correct.

Revision 71279 - Directory Listing
Modified Thu Nov 29 03:03:59 2007 UTC (12 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Ignore focus out actions (from Windows when destroy a floating window) when dock a floating tool bar. Otherwise, tool bar dragging event will be cleared in SD_TOOL_BAR_DOCKER_MEIDTOR.on_focus_out.

Fixed part of bug#13650: Trying to Submit Bug, saving trace, then trying to submit bug causes uncaught exception

Revision 71278 - Directory Listing
Modified Thu Nov 29 02:18:26 2007 UTC (12 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
We have to restore minimized editors first if all editors minimized.

Fixed bug#13648: Minimizing then maximizing editors leaves Editor displayed but contents not visible

Revision 71257 - Directory Listing
Modified Wed Nov 28 10:52:15 2007 UTC (12 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Added special show floating tool windows feature for Solaris CDE which only works on Solaris CDE. No effect on other desktop environments.

Fixed bug#13645: Undocking Feature tool and restarting causes Feature tool to get lost




Revision 71239 - Directory Listing
Modified Wed Nov 21 12:20:51 2007 UTC (12 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Prune ALL agents when destroying. Revert commit#71235.

Fixed bug#13589: Opening new window and then closing it causes internal error and hang
Fixed bug#13651: Windows lose title after auto-hiding



Revision 71238 - Directory Listing
Modified Wed Nov 21 09:36:31 2007 UTC (12 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
`l_temp_algorithm' is maximum width group which only have one item, so we stop calculation here.

Fixed bug#13585: Estudio crash when undocking tool bar

Revision 71177 - Directory Listing
Modified Fri Nov 16 04:21:16 2007 UTC (12 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Added comments.

Revision 71176 - Directory Listing
Modified Fri Nov 16 04:14:38 2007 UTC (12 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
We don't use `twin' here since it will wipe out add/prune actions in original ACTIVE_LIST. We copy items ourself, so it take NO effect on original ACTIVE_LIST add/prune actions.

Revision 71158 - Directory Listing
Modified Thu Nov 15 08:47:10 2007 UTC (12 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Because {SD_CONTENT}.docking_manager reference will be cleared by {SD_DOCKING_MANAGER_AGENTS}.on_prune_content after revision#70983, so we have to be careful when prune a SD_CONTENT object from contents' list.

Revision 71113 - Directory Listing
Modified Mon Nov 12 14:34:56 2007 UTC (12 years, 3 months ago) by jfiat
Original Path: trunk/Src/library/docking
Potentially fixed crash I experienced once.

Revision 71111 - Directory Listing
Modified Fri Nov 9 18:31:14 2007 UTC (12 years, 3 months ago) by jfiat
Original Path: trunk/Src/library/docking
Potentially fixed crash I experienced once.

Revision 71071 - Directory Listing
Modified Wed Nov 7 10:12:39 2007 UTC (12 years, 3 months ago) by jfiat
Original Path: trunk/Src/library/docking
removed unused local variable

Revision 71070 - Directory Listing
Modified Wed Nov 7 09:13:15 2007 UTC (12 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Removed memory leaks which happen just after `Eiffel Studio `ctrl + N' then close'.

Revision 71025 - Directory Listing
Modified Sat Nov 3 01:54:19 2007 UTC (12 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed bug that only set a pixel buffer for a button the text is drawn over the drawn pixmap.

Revision 70983 - Directory Listing
Modified Thu Nov 1 13:37:30 2007 UTC (12 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Removed memory leaks which happen just after `Eiffel Studio `ctrl + N' then close'.

Revision 70979 - Directory Listing
Modified Thu Nov 1 05:14:43 2007 UTC (12 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Prune SD_TOOL_BAR_ZONE's id from SD_WIDGET_LIST when destroying SD_TOOL_BAR_MANAGER. We can't prune the id during GC because all qualified calls not allowed during GC.

Revision 70851 - Directory Listing
Modified Wed Oct 24 06:59:57 2007 UTC (12 years, 4 months ago) by larryl
Original Path: trunk/Src/library/docking
Added SD_CONTENT.is_floating feature.

Revision 70551 - Directory Listing
Modified Wed Oct 10 15:41:47 2007 UTC (12 years, 4 months ago) by paulb
Original Path: trunk/Src/library/docking
Added a means to register a callback agent when an attempt to restore a layout fails because the content is not built (for performance reasons.)
Commits checked by larrym.

Revision 70532 - Directory Listing
Modified Tue Oct 9 09:02:27 2007 UTC (12 years, 4 months ago) by larryl
Original Path: trunk/Src/library/docking
Use `l_contents.first' instead of `l_content' since `l_content' maybe void in some cases. 

Revision 70361 - Directory Listing
Modified Tue Sep 18 18:50:42 2007 UTC (12 years, 5 months ago) by manus
Original Path: trunk/Src/library/docking
Removed non-used locals.


Revision 70350 - Directory Listing
Modified Tue Sep 18 09:45:05 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed the bug mentioned in revision#70347 again for both Windows and Linux. Reset state value and disable capture should not care about the pointer position. Otherwise capture will still enabled if end user released the pointer button outside current.

Revision 70347 - Directory Listing
Modified Tue Sep 18 05:35:55 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
We only check if pointer released within current SD_TOOL_BAR area for GTK but not Windows. Otherwise capture will still enabled on Windows if end user released the pointer button outside current.

Revision 70345 - Directory Listing
Modified Tue Sep 18 02:10:42 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Call `SD_CONTENT.show_actions' just after open docking widgets configure if possible.

Revision 70323 - Directory Listing
Modified Thu Sep 13 03:10:50 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
EVS_GENERAL_TOOLTIP_WINDOW set focus back just after shown since tooltip window should not change original focus.

SD_TITLE_BAR_TITLE draw title bar (non)focus (non)active color in idle actions. So no title bar flashing when showing tooltip windows which are instances of EVS_GENERAL_TOOLTIP_WINDOW.

Revision 70322 - Directory Listing
Modified Thu Sep 13 02:03:32 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Removed useless locals.

Revision 70316 - Directory Listing
Modified Wed Sep 12 03:06:12 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Removed an useless parameter.

Revision 70315 - Directory Listing
Modified Wed Sep 12 03:05:23 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Added features for tab zone and notebook which can extend massive items at same time. The effect of the features is made docking library faster when restoring docking widgets layout.

Revision 70298 - Directory Listing
Modified Tue Sep 11 09:05:54 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
When querying a list, non-exist object ids will be removed.

Made SD_WIDGETS_LISTS once lists simpler.

Revision 70291 - Directory Listing
Modified Mon Sep 10 03:04:08 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Added special position handling codes for Unix platforms.

Fixed bug#12375: Closing undocked window and reshowing displays it in different location



Revision 70290 - Directory Listing
Modified Mon Sep 10 02:55:37 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Use the correct shadow type for tool bar buttons on Linux platforms.

Fixed bug#12536: Cannot distinguish pushed-in buttons from other buttons in Class tool



Revision 70281 - Directory Listing
Modified Fri Sep 7 08:16:11 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Added new feature `minimize_editors' and `restore_minimized_editors' to SD_DOCKING_MANAGER.

Implemented `maximum_split_position' in SD_HORIZONTAL_BOX which is important for restoring horizontal splitter positions.

Removed old useless minimize all editors related codes.



Revision 70280 - Directory Listing
Modified Fri Sep 7 07:00:53 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Removed obsolete calls.

Revision 70279 - Directory Listing
Modified Fri Sep 7 05:30:25 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection to fix precondition violation.

Revision 70278 - Directory Listing
Modified Fri Sep 7 05:29:36 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed `dispose' features crashes during GC.

Revision 70270 - Directory Listing
Modified Thu Sep 6 13:29:55 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection to make the `destroy' safe during GC.

Revision 70268 - Directory Listing
Modified Thu Sep 6 13:04:13 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Added a comment for client programmers.

Revision 70266 - Directory Listing
Modified Thu Sep 6 07:31:14 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Use `if' instead of `check'. Because it's normal the result of `id_object' is void.

Revision 70265 - Directory Listing
Modified Thu Sep 6 07:09:12 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Use IDENTIFIED to keep the objects lists. So memory leak is avoided.

Revision 70261 - Directory Listing
Modified Wed Sep 5 07:16:11 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Added docking library widget lists query class SD_WIDGETS.

Use docking library self managed widgets list instead of lists queried from MEMORY since that feature not works in .Net.

Revision 70258 - Directory Listing
Modified Wed Sep 5 02:21:41 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed invariant violation.

Revision 70254 - Directory Listing
Modified Tue Sep 4 09:53:06 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Docking library can update all docking widgets' sizes just after theme changed including SD_NOTEBOOK (upper and normal), SD_TOOL_BAR, SD_TITLE_BAR, SD_AUTO_HIDE_PANEL and SD_TAB_STUBs.

Revision 70250 - Directory Listing
Modified Tue Sep 4 03:45:18 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Moved sizes singletons values to new class SD_SIZES. Docking library can updated the sizes just after theme changed.

Fixed wrong spelling.

Revision 70245 - Directory Listing
Modified Mon Sep 3 10:07:46 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Update all tool bars background colors just after theme changed.

Fixed bug#13041: Changing theme doesn't update all docking widgets on gtk.

Revision 70244 - Directory Listing
Modified Mon Sep 3 09:26:56 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Made tool bar customize dialog remember its width/height during sessions.

Revision 70235 - Directory Listing
Modified Mon Sep 3 06:34:30 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed wrong spelling. datas -> data, data -> datum.

Revision 70219 - Directory Listing
Modified Fri Aug 31 12:29:11 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Added maximize/restore whole editor area feature.

Revision 70218 - Directory Listing
Modified Fri Aug 31 12:13:45 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed a pre-condition violation.


Revision 70217 - Directory Listing
Modified Fri Aug 31 09:25:47 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
We have to disable the invariant {EV_COLORIZABLE} `background_color_not_void' when executing {SD_HOR_VER_BOX}`background_color'. Otherwise there is stack overflow when executing `background_color'. Because in the descendant {SD_AUTO_HIDE_ZONE}, this `background_color' is selected to replace the original `background_color' in the invariant. For example: When start Eiffel Studio 6.1 without empty application data, stack overflow will happen.

Changed to use features for the invariants testing of {EV_COLORIZABLE}. So we can redefine the invariant testing in SD_HOR_VER_BOX.

Revision 70216 - Directory Listing
Modified Fri Aug 31 06:35:18 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed invariant broken in SD_HOT_ZONE_DOCKING.

Made SD_HOT_ZONE_DOCKING and its decedents use simply one `internal_zone'.

Changed some comments.

Revision 70215 - Directory Listing
Modified Fri Aug 31 06:18:58 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Before the change, if docking library invariants on, the feature `set_selected' postcondition will broken on Windows and Linux. 
Maybe it's a compiler bug. We moved the value assign line to the end of feature. It works fine now.

Revision 70214 - Directory Listing
Modified Fri Aug 31 06:09:11 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed invariant broken.

Revision 70213 - Directory Listing
Modified Fri Aug 31 04:41:43 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Minor comments changing.

Revision 70199 - Directory Listing
Modified Thu Aug 30 09:49:29 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed class invariant broken.

Revision 70197 - Directory Listing
Modified Thu Aug 30 09:22:38 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Removed useless feature `type' from SD_HOT_ZONE.

Revision 70196 - Directory Listing
Modified Thu Aug 30 09:20:10 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Make it simpler and fixed invariant violation.

Revision 70195 - Directory Listing
Modified Thu Aug 30 08:20:20 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed invariants brokens.

Revision 70194 - Directory Listing
Modified Thu Aug 30 07:51:18 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed SD_WIDGET_TOOL_BAR, SD_STATE and SD_TOOL_BAR_ROW_POSITIONER invariant broken.


Revision 70190 - Directory Listing
Modified Thu Aug 30 02:15:08 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Added 3 missing icons implementations.

Revision 70182 - Directory Listing
Modified Wed Aug 29 07:47:07 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed notebook tab cut-off problem when using `Scan 8' application font on Linux desktop.

Revision 70165 - Directory Listing
Modified Tue Aug 28 09:36:02 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Removed obsolete calls.

Revision 70158 - Directory Listing
Modified Tue Aug 28 06:50:40 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
GTK notebook tab drawer supports SD_TOOL_BAR_DUAL_POPUP_BUTTON and SD_TOOL_BAR_POPUP_BUTTON drawing now.

Revision 70157 - Directory Listing
Modified Tue Aug 28 06:43:12 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Implemented `SD_ICONS_SINGLETON.auto_hide_tab_indicator' for GTK since `EV_PIXEL_BUFFER.draw_text' doesn't works well on GTK.

Revision 70152 - Directory Listing
Modified Mon Aug 27 10:42:56 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Changed to use right icon.

Revision 70149 - Directory Listing
Modified Mon Aug 27 09:46:59 2007 UTC (12 years, 5 months ago) by larryl
Original Path: trunk/Src/library/docking
Updated Smart Docking library's images with `Image Eiffel Code' tool. 
Now all image are embedded. Client programmers don't have to create their own images and classes when using the library from now on since Smart Docking library provides default icons.

Revision 69995 - Directory Listing
Modified Thu Aug 16 17:52:32 2007 UTC (12 years, 6 months ago) by king
Original Path: trunk/Src/library/docking
Redefining class style to allow for CS_HREDRAW as the docking library drawing relies on the fact that a resize will trigger a full redraw when it can be optimized to only redraw if the control actually needs to resize.

Revision 69986 - Directory Listing
Modified Thu Aug 16 16:16:04 2007 UTC (12 years, 6 months ago) by manus
Original Path: trunk/Src/library/docking
Fixed insufficiant export.


Revision 69982 - Directory Listing
Modified Thu Aug 16 01:36:55 2007 UTC (12 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Added a gap in the bottom of auto hide tab stub when vertical displayed.

Revision 69889 - Directory Listing
Modified Sat Aug 4 05:30:44 2007 UTC (12 years, 6 months ago) by manus
Original Path: trunk/Src/library/docking
Removed non-used locals.


Revision 69850 - Directory Listing
Modified Fri Aug 3 06:55:10 2007 UTC (12 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Added new SD_TOOL_BAR_POPUP_BUTTON and SD_TOOL_BAR_DUAL_POPUP_BUTTON.

Revision 69634 - Directory Listing
Modified Tue Jul 24 04:00:29 2007 UTC (12 years, 7 months ago) by manus
Original Path: trunk/Src/library/docking
Fixed all occurrences of `Current.whatever' by just `whatever' since they are semantically
  identical except for the invariant check.


Revision 69599 - Directory Listing
Modified Sat Jul 21 21:16:20 2007 UTC (12 years, 7 months ago) by manus
Original Path: trunk/Src/library/docking
Previous fix for bug#13179 was not correct since we tested `has_widget' too early.


Revision 69598 - Directory Listing
Modified Sat Jul 21 21:11:21 2007 UTC (12 years, 7 months ago) by manus
Original Path: trunk/Src/library/docking
Committed for Larry: Fixed bug#13055.


Revision 69538 - Directory Listing
Modified Thu Jul 19 03:37:11 2007 UTC (12 years, 7 months ago) by manus
Original Path: trunk/Src/library/docking
Removed fix for bug#12340 because it is causing bug#13302.


Revision 69519 - Directory Listing
Modified Wed Jul 18 10:08:45 2007 UTC (12 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
`select actions' will not be fired if a SD_TOOL_BAR_RADIO_BUTTON already selected now. We ignore pointer press/release actions on SD_TOOL_BAR_RADIO_BUTTON if it already selected.

Fixed bug#13317: Select_actions being fired on a radio button that is already selected.

reviewer: Manu

Revision 69517 - Directory Listing
Modified Wed Jul 18 04:34:32 2007 UTC (12 years, 7 months ago) by manus
Original Path: trunk/Src/library/docking
Added `make_with_shadow' to EV_POPUP_WINDOW so that in place editing do not show a shadow.
  Keep the shadow to what used to inherit from EV_SHADOW_DIALOG + tooltip and completion window.


Revision 69480 - Directory Listing
Modified Tue Jul 17 04:10:23 2007 UTC (12 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
It's not possible to displayed normal EV_WIDGETs (especially EV_COMBO_BOX) vertically in a tool bar for the moment. So we don't display them when a tool bar docking vertically.

After customize a vertical docking tool bar, the EV_WIDGETs should not displayed neither. It's a bug which fixed in this revision.

Details:

SD_TOOL_BAR_HIDDEN_ITEM_DIALOG fixing is the main fixing. We detect if current tool bar docking vertically before open the items layout which just created by end user. If yes, just after opened items layout which insert normal EV_WIDGETs (EV_COMBO_BOX...) to current tool bar, we call `change_direction (False)' which hide normal EV_WIDGET in the tool bar and hide all button texts.

In SD_TOOL_BAR_BUTTON, there is a minor fixing. When a SD_TOOL_BAR_BUTTON's text is empty (not void object, is ""), we will not add additional padding width now. If we don't do it like this, there will be additional width added which make tool bar button wider than normal.

reviewer: Manu

Fixed bug#12635: Address toolbar not displayed correctly when docked vertically

Revision 69479 - Directory Listing
Modified Tue Jul 17 03:45:16 2007 UTC (12 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed tool bar dragging glitch. 

Details:

1. Added a comment to say why double click tool bar title bar on Linux not working.

2. Changed `on_drag_area_motion' to create `internal_docker_mediator’ without testing pointer position. This will fix the problem: end user left pressed at exact left border (the border pixel line) of a tool bar, and then move the pointer outside the tool bar, dragging event NOT started. This is a safe change since the pointer position tested in `on_drag_area_pressed' (by `is_in_drag_area’) already before execute `on_drag_area_motion'. 

3. Changed a post condition for the case: end user left click on the tool bar title bar then release the left button directly without moving the mouse (so `on_drag_area_motion' not executed, `internal_docker_mediator' not created).

reviewer: Manu

Revision 69435 - Directory Listing
Modified Mon Jul 16 08:47:37 2007 UTC (12 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
We disable `on_top_level_window_focus_out' when opening config.

Revision 69434 - Directory Listing
Modified Mon Jul 16 08:45:27 2007 UTC (12 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Committing for new Eiffel Studio proposed layout. Added new save items layout feature for docking tool bars.

Details:

1. SD_SAVE_CONFIG_MEDIATOR

a) We save all the tool bar items visible states now. Before, we only save the items visible states whose parent tool bar have been customized by end user (through the tool bar customize dialog by mouse, not by codes). Now, even the tool bar items visible states have been changed by codes, it will be saved too. This feature is need by proposed layouts, because we change buttons (the four buttons in project tool bar) visible state by codes during changing from normal layout to debug layouts

2. SD_TOOL_BAR_HIDDEN_ITEM_DIALOG

a) The feature `save_items_layout’ moved to SD_TOOL_BAR_ZONE_ASSISTANT. The result after this change is same as before.

3. SD_TOOL_BAR_ZONE_ASSISTANT

a) Same reason as the changes of SD_SAVE_CONFIG_MEDITOR, this is the real implementation of save tool bar items layout.

b) For the new feature `refeash_items_visible'.


Revision 69433 - Directory Listing
Modified Mon Jul 16 08:38:09 2007 UTC (12 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Committing for new Eiffel Studio proposed layout. Added SD_TOOL_BAR_CONTENT.set_top_with feature.

Details:

1. SD_TOOL_BAR_MANAGER

a) The changes are the implementation of new feature `set_top_with’ of class SD_TOOL_BAR_CONTENT. Extract the common part of `set_top’ and `set_top_with’ to new feature `set_top_imp’. Actually, the only differences between `set_top’ and `set_top_with’ is: `set_top’ create a SD_TOOL_BAR_ROW itself, but `set_top_with’ find the existing SD_TOOL_BAR_ROW instance.

2. SD_TOOL_BAR_CONTENT

a) Add two query: `is_floating’ and `is_docking’. They are used by precondition of newly added feature `set_top_with’. As the meaning of their names, `is_floating’ means whether the tool bar which represent the content is floating. And `is_docking’ means whether the tool bar which represent the content is docking.

b) Add new feature:   set_top_with’. I added this feature to fulfill with the proposed layout require. Before, we can’t use codes directly set a SD_TOOL_BAR_CONTENT’s tool bar dock at the same row/column of anther SD_TOOL_BAR_CONTENT’s tool bar which is already docking at the main window.

c) Add new feature: ` refresh’. If SD_TOOL_BAR_CONTENT’s items’ visible states changed, we need to call this feature to update the drawing of tool bars. Otherwise, after client programmers called feature SD_TOOL_BAR_ITEM.enable_display/disable_display, there will no changes in the UI until do something in the tool bar customize dialog. We need this feature now, because in the proposed layouts there are `stop debug’ `restart_debug’ `pause debug’ and `enable/disable assertions in deubg’ tool bar buttons in the project tool bar which are invisible in normal layout but visible in debug layout. 



Revision 69432 - Directory Listing
Modified Mon Jul 16 07:29:55 2007 UTC (12 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
In SD_TITLE_BAR, we only handle pointer press and pointer release action happens in SD_TOOL_BAR (judged by screen x/y). So we ignore pointer press actions and pointer release outside SD_TOOL_BAR.
 
On GTK, after disable capture, previous captured widget (the floating tool bar title bar when double click in this bug) will NOT stop capture immediately, so there are additional pointer release actions of SD_TOOL_BAR to be called on GTK (on Windows, disable capture works immediately).

Fixed bug#12549: Double-clicking on title bar of undocked toolbar activates button below click

reviewer: Manu

Revision 69427 - Directory Listing
Modified Sun Jul 15 01:40:13 2007 UTC (12 years, 7 months ago) by manus
Original Path: trunk/Src/library/docking
Replaced EV_SHADOW_DIALOG with EV_POPUP_WINDOW since the later has now the shadow by 
  default. It also fixes bug#12623 and bug#12624 on Unix when the focus is activated on the
  widget that has the mouse over.
  The side effect on Windows is taht EV_POPUP_WINDOW has a shadow on XP and greater if enabled, 
  including for tooltips but I checked that now on Windows tooltips also have a shadow now.


Revision 69423 - Directory Listing
Modified Sat Jul 14 07:23:05 2007 UTC (12 years, 7 months ago) by jasonw
Original Path: trunk/Src/library/docking
Fixed bug#13216: Metric metrics not visible when first shown. Reviewed by Manu.
bug#13216


Revision 69411 - Directory Listing
Modified Fri Jul 13 13:55:27 2007 UTC (12 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed minor bugs.

reviewer: Manu, Ted

Revision 69410 - Directory Listing
Modified Fri Jul 13 13:51:06 2007 UTC (12 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
For the changes of each class:

1. SD_OPEN_CONFIG_MEDIATOR

a) Changed feature `editor_top_parent_for_restore’, use ancestor type SD_MIDDLE_CONTAIER instead of EV_SPLIT_AREA. So we can find not only SD_HORIZONTAL_SPLIT_AREA and SD_VERTICAL_SPLIT_AREA, but also SD_HORIZONTAL_BOX and SD_VERTICAL_B0X. This change is important when we finding editors’ top parent when some editors are minimized.

b) Changed postcondition of `editor_top_parent_for_restore’. The post condition is too strict before, `not full’ is enough. The `editor_top_parent_for_restore’ is only used by `open_editors_config’, that feature only need a `not full’ editors’ top parent.

c) Because the change 4.b, we want `update_middle_container’ take effect, so we move `set_is_opening_config’ before we call `update_middle_container’

2. SD_VERTICAL_BOX

a) Implementation of new feature of SD_MIDDLE_CONTAINER.

3. SD_MIDDLE_CONTAINER
 
a) Added new feature `set_splitter_visible’ which is used by {SD_MITLI_DOCK_AREA}.update_middle_container_imp.

4. SD_MUTLI_DOCK_AREA

a) There are invisible zones in docking widget tree. Such as we hide a tool in Eiffel Studio by press the close button at top right button. When the invisible zones docking in the widget tree and we are executing the `update_middle_container’, we should take care of the invisible zones. 

b) For the changes in `update_middle_container’ (not `update_middle_container_imp’), we disable this feature when SD_OPEN_CONFIG_MEDIATOR is opening docking config. Otherwise, there will be problems when `hide’ a tool during opening docking config. The problem is caused by the docking widget tree is not full two-fork tree when opening docking config by SD_OPEN_CONFIG_MEIDOATOR.

5. SD_VERTICAL_BOX

a) Implementation of new feature of SD_MIDDLE_CONTAINER.

6. SD_DOCKING_STATE

a) Because we care about invisible docking zones now, when show/hide a docking zone, we should call SD_MUTLI_DOCK_AREA.update_middle_container when the zone docking in the main dock area. The main dock area is main development window- the only place can have minimized zones

Fixed bug#13283: SD_MULTI_DOCK_AREA update_middle_container should care about invisible zones

reviewer: Manu, Ted

Revision 69409 - Directory Listing
Modified Fri Jul 13 13:28:57 2007 UTC (12 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
if we call `hide’ on a auto hide state tool then we call `set_auto_hide’ on the tool’s SD_CONTENT, there will be contract violation in this feature. Because the auto hide tab stub was removed in the previous call of `hide’. We handled this case by added it back, and changed the post condition to fit the change.

Fixed bug#13282: SD_CONTENT.set_auto_hide problem

reviewer: Manu, Ted

Revision 69383 - Directory Listing
Modified Wed Jul 11 06:05:04 2007 UTC (12 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Tab stubs' order in the EV_BOX (same instance of EV_AUTO_HIDE_PANEL) must same as the tab stubs' order in `l_tab_group'. Otherwise, when executing `update_one_tab_group' (from SD_AUTO_HIDE_PANEL) there will be order problems, such as problems in this bug report.
 
More more details: If the order in EV_BOX and order in `l_tab_group' not synchronized, `update_one_tab_group' will assume there is a SD_AUTO_HIDE_SEPARATOR behind the iterating SD_TAB_STUB. But actually there isn't.

Fixed bug#13240: Violation of precondition `readable' of {EV_HORIZONTAL_BOX}.item

reviewer: Manu, Ian

Revision 69381 - Directory Listing
Modified Wed Jul 11 01:47:58 2007 UTC (12 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
In feature `SD_TOOL_BAR.update_size?, it first call feature `compute_minimum_size? (from SD_TOOL_BAR) which will calculate minimum size of the `SD_TOOL_BAR?. This minimum size (width) will be expanded when `Start debug' button changing its texts from `Start' to `Continue'. `compute_minimum_size' don?t care about displayed width. At this time, the tool bar parent container (SD_TOOL_BAR_ROW which is EV_FIXED)'s size will be expanded if SD_TOOL_BAR's right side beyond the displayed width.

 Then, in `SD_TOOL_BAR.uodate_size', the following `SD_TOOL_BAR_ROW.on_reisze' will set minimum size of each SD_TOOL_BARs in the row to fit the displayed width (stored by `l_old_size'). So the SD_TOOL_BAR_ROW width will fit the displayed width again.

 SD_TOOL_BAR_ROW's width can larger than actual displayed. This is because the top container of main window is EV_VIEWPORT.
 
Fixed bug#13164: Debugging toolbar cropped with proposed debugging layout
 
Reviewer: Manu



Revision 69362 - Directory Listing
Modified Tue Jul 10 15:28:13 2007 UTC (12 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
We have to set position again after showing on Solaris. Otherwise it will cause bug#12873. The vertical position problem only happens on Solaris JDS. Not happens on Windows, Ubuntu (both GNome and KDE) and Solaris CDE. Maybe it's a bug of JDS.

Fixed bug#12873: Undocked toolbar position changes after saving layout and restoring

reviewer: Manu, Ian



Revision 69361 - Directory Listing
Modified Tue Jul 10 14:46:02 2007 UTC (12 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Check minimum width before set item width for Solaris.

reviewer: Manu, Ian

Fixed bug#12065: Creating narrow window via docking causes estudio crash or hang



Revision 69360 - Directory Listing
Modified Tue Jul 10 13:42:48 2007 UTC (12 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Only drawing when widget is displayed.

This fixing is for bug#12756. Although I can't reproduce the bug, if I change `enable_ev_gtk_log (0)' (from GTK EV_APPLICATION_IMP.make) to `enable_ev_gtk_log (2)' there is GTK assertion fail which same as attached stack trace. This patch can fix that GTK assertion failing. But there are other GTK assertion fails on Solaris (not happens on Ubuntu). I don't know the exact reason of the GTK assertion fails on Solaris, and I guess maybe that's GTK library internal bugs.

reviewer: Manu, Ian



Revision 69358 - Directory Listing
Modified Tue Jul 10 07:23:47 2007 UTC (12 years, 7 months ago) by tedf
Original Path: trunk/Src/library/docking
Fixed bug#13156 that editor view reset to text view in flat mode.
This was caused by the problem of the docking tool bar in which only visible radio items were updated when selecting one of them.
Now all items belong to the docking tool bar content are updated.

Reviewed by Manu and Larry.

Revision 69324 - Directory Listing
Modified Fri Jul 6 17:09:35 2007 UTC (12 years, 7 months ago) by king
Original Path: trunk/Src/library/docking
Redefining gdk_events_mask so that motion hints are activated, this works with the docking toolbars as subsequent calls to the xserver are made via the motion events and this triggers more calls to motion actions so no explicit call is needed for now

Revision 69315 - Directory Listing
Modified Fri Jul 6 08:50:12 2007 UTC (12 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
There is unprocessed events on GTK if save/open docking layouts too fast. The width/height of floating zone doesn’t have enough time to set before saving the information. Now added the code to force process event. 

Fixed bug#12340: Switching between forced/normal debugger mode makes undocked Objects window tiny

Reviewer: Ian, Manu

Revision 69312 - Directory Listing
Modified Fri Jul 6 05:45:50 2007 UTC (12 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
1.         SD_TAB_STATE_ASSISTANT

a)         Removed precondition a_index > 0 which caused by the changing of 3.SD_TAB_ZONE b).

2.         SD_FLOATING_STATE      

a)         The two features changes are same reason. We dragging the top title bar (such as in the reproduce of this bug report) of a floating tool bar zone. We should set drag title bar flag to true. In this way, all the zones in the tab zone (not only the current selected zone) will be moved to target zone.

3.         SD_TAB_ZONE

a)         Added feature `set_drag_title_bar?, so SD_FLOATING_STATE can set the flag `is_drag_title_bar?. When executing SD_TAB_STATE.move_to_docking_zone, SD_TAB_STATE.change_zone_split_area and SD_TAB_STATE?s docking operation related features, SD_TAB_STATE will query this feature, then decide if move all the zones in current tab zone or only move current selected zone to target zone.

b)         Removed a pre condition of feature `set_content_position?, and use ARRAYED_LIST.valid_index feature to test if index integer valid. If not valid, the content?s tab will moved to the end position of notebook tabs.

Fixed 	bug#13175: Violation of precondition `valid' of {SD_TAB_STATE_ASSISTANT}.move_tab_to_zone 
	bug#12955: Seg fault in {SPECIAL}.overlapping_move

reviewer: Manu



Revision 69202 - Directory Listing
Modified Wed Jun 20 03:44:34 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection, to make sure Current (SD_TAB_ZONE) isn’t destroyed and `is_displayed’ before starting dragging actions. So the following `enable_capture’ will not violate precondition. On Solaris, the action `on_drag_title_bar’ from SD_TAB_ZONE may not be called immediately. So we handled this case now.

We call enable capture before call `start_tracing_pointer’. The sequence is same as the calling sequence in `on_notebook_drag’ from SD_TAB_ZONE. In this way, we can’t miss pointer release actions on GTK.

The post condition is changed. The reason is: because of 1, we can’t make sure `internal_docker_mediator’ is created in this feature. If `internal_docker_mediator’ was created, then it must in the state `is_tracing_pointer’. Flag `is_tracing_pointer’ was set after calling `internal_docker_mediaotr.start_tracing_pointer’.

Fixed bug#13200: Violation of `is_displayed' of {SD_TAB_ZONE}.enable_capture

reviewer: Manu

Revision 69176 - Directory Listing
Modified Tue Jun 19 05:40:36 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
The changes make sure SD_TOOL_BAR_ITEM.name not changed in all locales.

Don't infinite retry in feature EB_DEVELOPMENT_WINDOW.restore_standard_tools_docking_layout.

Made SD_TOOL_BAR_ZONE_ASSISTANT safer when comparing strings.

Fixed bug#13123: Restoring toolbar layout after changing language crashes or goes into infinite loop

reviewer: Manu

Revision 69173 - Directory Listing
Modified Tue Jun 19 03:03:09 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection. This can make sure `tool_bar' not void before calling `tool_bar.disable_capture'. If tool bar is 
destroyed, then we don't need to call `disable_capture' on it. 

Fixed bug#13195: Call of `disable_capture' on Void target in {SD_TOOL_BAR_RESIZABLE_ITEM}.on_pointer_release

Reviewer: Manu


Revision 69172 - Directory Listing
Modified Tue Jun 19 02:55:32 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Added an if protection to make sure no contract violation. And export `is_destroyed' 
feature to all. 

Fixed bug#13196: Violation of precondition `is_dragging' in 
{SD_TOOL_BAR_ROW_POSITIONER}.on_pointer_motion

Reviewer: Manu



Revision 69171 - Directory Listing
Modified Tue Jun 19 02:47:15 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Added the testing `has_fixed ()'. This can make sure the precondition not violated on Solaris.

Fixed bug#13179: Clicking Toolbar Options twice in particular configuration causes crash

Reviewer: Manu


Revision 69165 - Directory Listing
Modified Tue Jun 19 01:12:03 2007 UTC (12 years, 8 months ago) by tedf
Original Path: trunk/Src/library/docking
Fixed bug#13205 that windows of floating tool bars were not destroyed on Solaris.
Reviewed by Manu and Larry.

Revision 69141 - Directory Listing
Modified Sat Jun 16 01:36:49 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Cosmetic

Revision 69140 - Directory Listing
Modified Sat Jun 16 01:31:57 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
In the past, the SD_TOOL_BAR_RESIZABLE_ITEMs' width will be inserted to the SD_DOCKING_MANAGER_QUERY.resizeable_items_data ONLY for the SD_TOOL_BAR_RESIZEABLE_ITEM which have been resized by the user. If end user not resized the SD_TOOL_BAR_RESIZEABLE_ITEM in the session, then the size of the SD_TOOL_BRA_RESIZABLE_ITEM will not be inserted to SD_DOCKING_MAANGER_QUERY.resizeable_items_data. And, in the past, the widths data are inserted during the process of resizing the SD_TOOL_BAR_RESIZEABLE_ITEM by end users.

Now, the result of SD_DOCKING_MANAGER_QUERY.resizable_items_data is EACH of the SD_TOOL_BAR_RESIZABLE_ITEM size, no matter if the SD_TOOL_BAR_RESIZEABLE_ITEM have been resized by the end users during the ES session.

Fixed bug#13110: Address Toolbar combo box widths are lost

Added some invariants.

reviewer: Manu, Ted

Revision 69138 - Directory Listing
Modified Sat Jun 16 00:40:34 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection to make sure no precondition violation.

Fixed bug#13157: Precondition violation in {SD_WIDGET_TOOL_BAR}.item_x

Reviewer: Manu Ted


Revision 69137 - Directory Listing
Modified Sat Jun 16 00:29:59 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection to EB_WARNINGS_TOOL, then the precondition `is_displayed' will not be violated. 

For the changes in SD_DOCKING_STATE and SD_TAB_STATE, it's for the bug that just after auto hide the whole contexts tools, the Output tool didn't slide out if end user selecting it in the ctrl tab dialog. The reason of this bug is: we have not cleared last focus content value in the past before a tool auto hiding. So when selecting the Output tool in ctrl tab dialog, last focus content still was Output tool (this compare is done in SD_CONTENT.set_focus), then it will not slide out. Now, we clear the value in auto hiding features (`stick' feature) of SD_DOCKING_STATE and SD_TAB_STATE, it will slide out now.

Fixed bug#13101: Violation of precondition `is_displayed' of {EV_DRAWING_AREA}.set_focus

Reviewer: Manu, Ted


Revision 69117 - Directory Listing
Modified Fri Jun 15 17:03:56 2007 UTC (12 years, 8 months ago) by king
Original Path: trunk/Src/library/docking
Added extra protection when redrawing items on pointer release, this should be revisited because the is_displayed check should not be necessary but is needed in some circumstances

Revision 69115 - Directory Listing
Modified Fri Jun 15 16:29:28 2007 UTC (12 years, 8 months ago) by king
Original Path: trunk/Src/library/docking
Committed bug#12532 patch from LarryL where font size was not being taken in to account for default dimensions

Revision 69102 - Directory Listing
Modified Fri Jun 15 03:26:58 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
If no visible content avaiable, we don't show the ctrl tab dialog.
Added contracts to SD_TOOL_BAR_DRAWER_I.

Fixed bug#13036: Typing control-Tab after closing all tools and editors causes crash

Reviewer: Manu Ted

Revision 69100 - Directory Listing
Modified Fri Jun 15 02:54:31 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed contracts violations, added contracts:


SD_TOOL_BAR_GRAGGING_AGENTS: 

The reason of change already wrote in the source codes.


SD_ZONE:

The reason is when a SD_FLAOTING_ZONE have multiply contents which are docking at sides of each other. Such as a floating zone have Features tool at top half and Clusters tool at bottom half. At this time, when dragging the top title bar of the floating zone, the `SD_ZONE.content? query will be void. This is a safe change, because we already handle void result of SD_ZONE.content if end user dragging a top title bar in the past.


SD_HOT_ZONE_OLD_MAIN

Just added a check contract, I think added a contract at this place is good. It?s useful to find the reasons of bugs such as: bug#13066 and bug#13094.


SD_OPEN_CONFIG_MEDIATOR

We added if protection to test if the splitter position is valid. When the splitter is invisible which caused by not enough space (such as: main development window too small), it well crash here before (at least on GTK). Now we added if protection, it works fine now.

reviewer: Manu


Revision 69099 - Directory Listing
Modified Fri Jun 15 02:30:27 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
For all the source codes of SD_TOOL_BAR_ROW_POSITIONER, except the changed codes, that before calling ` position_front_to_back' we always make sure there is enough space to position the tool bars (this is the precondition of `position_front_to_back'). Now we added the missing one. 

Fixed bug#13096: Precondition `enough_max_space' of {SD_TOOL_BAR_ROW_POSITIONER}.position_front_to_back

reviewer: Manu



Revision 69098 - Directory Listing
Modified Fri Jun 15 02:24:57 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
There is infinite calculation which caused by notebook tab area infinite resize actions. Now we stop resize tabs if the parameter `a_width' is same as last time.

Fixed bug#13065: Resizing main window small and forcing env into debug mode uses all memory

reviewer: Manu


Revision 69096 - Directory Listing
Modified Fri Jun 15 02:14:51 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
The two bugs are caused by same reason. One GTK, after called enable capture on a widget, SD_FLOATING_ZONE.on_pointer_motion will be called immediately. On Windows, the feature will be called a little bit later (after called SD_DOCKER_MEDIATOR.start_tracing_pointer). Now we added if protection, to make sure SD_DOCKER_MEDIATOR.start_tracing_pointer is called. So it works fine on both OS now.

Fixed bug#13070: Precondition is_tracing of {SD_DOCKER_MEDIATOR}.on_pointer_motion violated

reviewer: Manu


Revision 69095 - Directory Listing
Modified Fri Jun 15 02:08:33 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
When a tool bar item's parent tool bar is void, we will not draw the texts on it in SD_TOOL_BAR_DRAWER_IMP. Same for SD_TOOL_BAR_BUTTON and SD_TOOL_BAR_TOGGLE_BUTTON, when the parent tool bar is void, we will not handling the pointer motions actions.

reviewer: Manu


Revision 69093 - Directory Listing
Modified Fri Jun 15 01:57:50 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
When drag a multi content zone (SD_TAB_ZONE) to a single content zone (SD_DOCKING_ZONE), we should update all contents' states in the multi content zone. Otherwise, the states of the SD_CONTENTs which were not updated will have strange behaviors, such as: whole blank area. 


Revision 69086 - Directory Listing
Modified Thu Jun 14 23:26:59 2007 UTC (12 years, 8 months ago) by king
Original Path: trunk/Src/library/docking
Added protection to toolbar on update in case it has been destroyed.

Revision 69070 - Directory Listing
Modified Thu Jun 14 08:52:34 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection before doing something in idle actions.

Fixed bug#13050: Seg fault in {SD_TOOL_BAR_DOCKER_MEDIATOR}.inline-agent#1 of float_tool_bar_zone

Revision 69062 - Directory Listing
Modified Thu Jun 14 02:52:33 2007 UTC (12 years, 8 months ago) by tedf
Original Path: trunk/Src/library/docking
Changed the order of the drop down list of tabs. 
The currently invisible tools are at the top of the list (in bold), in the left-to-right order in which they would appear if you resized the window much wider. The currently visible tools are below the invisible tools in the list (not in bold) and also appear in the left-to-right order in which they appear in the window.
Reviewed by Manu and Larry.

Revision 68951 - Directory Listing
Modified Fri Jun 8 16:25:21 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Changed non focused selecting color to a obvious one.
Fixed bug#12213: Undocked window title not visible on Solaris SPARC with CDE when focus elsewhere
Reviewer: Manu

Revision 68950 - Directory Listing
Modified Fri Jun 8 16:19:03 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Handled Linux pointer actions in correct order.
Fixed bug#12958: Editor tab fails to move or gets wrong cursor
Reviewer: Manu

Revision 68948 - Directory Listing
Modified Fri Jun 8 15:58:08 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
We can set `last_focus_content' to void now. When a SD_CONTENT hide/close, we will clear last focus content.
Use `SD_CONTENT.set_focus' instead of `SD_ZONE.on_focus_in' in SD_FLOATING_ZONE's focus in actions. So SD_CONTENT.focus_in_actions will be called when a floating zone get focus. And codes will be simpler.
Fixed bug#12968: Breakpoints do not display
Reviewer: Manu

Revision 68947 - Directory Listing
Modified Fri Jun 8 15:49:21 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
We have to call `update middle container' feature just after auto hide operation. Otherwise it will leave a big blank area in minimized zone.
Fixed bug#12956: Seg fault in {SD_NOTEBOOK}.select_item
Reviewer: Manu

Revision 68946 - Directory Listing
Modified Fri Jun 8 15:42:39 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
We have to set all zones to normal state, otherwise we can't find the editor parent.
Fixed bug#12957: Seg fault in parent called from {SD_OPEN_CONFIG_MEDIATOR}.open_tools_config
Reviewer: Manu

Revision 68917 - Directory Listing
Modified Thu Jun 7 08:33:52 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Use pointer release action to show right click menu on Linux, use pointer press action to show right click menu on Windows. We will only use pointer release action to show menu in the future. Reviewer: Manu, Ian

Revision 68916 - Directory Listing
Modified Thu Jun 7 06:05:33 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Calculate `l_height' correctly.
Fixed bug#12550
Reviewer: Manu

Revision 68851 - Directory Listing
Modified Mon Jun 4 15:00:28 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Disable tool bar right click menu on EV_COMBO_BOX since it has its own menu.
Ian want to change it,reviewer is Larry.

Revision 68848 - Directory Listing
Modified Mon Jun 4 11:57:14 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
SD_TOOL_BAR_CONTENT and SD_OPEN_CONFIG_MEDIATOR:
Not set visible in `set_zone' from SD_TOOL_BAR_CONTENT.
Fixed bug#12558: Closing undocked Project toolbar while customizing it makes reshow fail
Reviewer: Tedf

SD_TOOL_BAR_CONTENT, SD_TOOL_BAR_MANAGER, SD_AUTO_HIDE_STATE, EB_DEVELOPMENT_WINDOW.
Twin the list in `close_all_tools' from EB_DEVELOPMENT_WINDW, otherwise the index will be moved by other objects during the loop.
Implemented `change_zone_split_area' in SD_AUTO_HIDE_STATE. So client programmer can call `set_relative' from SD_CONTENT when the content's state is auto hide state.
Clear the floating zone reference in SD_TOOL_BAR_MANAGER when `destroy_container' in SD_TOOL_BAR_CONTENT.
Fixed bug#12738: Resetting tools layout after auto-hiding all tools causes crash
Reviewer: Tedf

Revision 68845 - Directory Listing
Modified Mon Jun 4 03:57:08 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
We have to open unminimized editor data before query top editor parent. Because after the following codes which will INSERT `l_temp_split' to the docking logic tree when editor top parent is SD_MULTI_DOCK_AREA, then the docking logic tree is not a full two fork tree. There will be problems in `update_middle_container' which called by `recover_normal_size_from_minimize' from SD_UPPER_ZONE. 
Fixed bug#12427: Switching to Force Debugger Mode and back crashes if auto-hidden tools
Reviewer: Tedf

Revision 68809 - Directory Listing
Modified Fri Jun 1 13:24:45 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Remove empty split area before update middle container. Because feature `update_middle_container' need a full two fork tree.
Fixed bug#12330: Three simple docking moves causes crash
Reviewer: Tedf

Revision 68805 - Directory Listing
Modified Fri Jun 1 09:19:42 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Use veto pebble function to prevent end users pick and drop a list item from one tool bar's customize dialog to another tool bar's customized dialog. Except tool bar separator, it works fine.
Fixed bug#12926] Moving item from one undocked toolbar to another while customizing causes crash
Reviewer: Tedf

Revision 68801 - Directory Listing
Modified Fri Jun 1 02:49:23 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
If end user press Windows key when dragging a tool bar on Windows, SD_TOOL_BAR_DOCKER_MEDIATOR will lost focus. We handle this case now.
Fixed bug#12824: Postcondition violation in docking

Made SD_TOOL_BAR, SD_WIDGET_TOOL_BAR widget don't violate bridge_ok post condition.

Reviewer: Ian


Revision 68781 - Directory Listing
Modified Thu May 31 10:10:04 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Show more than one customize dialog of same tool bar at same time it's not possible now.
Fixed bug#12896: Undocked toolbar Customize button brings up one customization window per click
Reviewer: Tedf

Revision 68774 - Directory Listing
Modified Thu May 31 02:56:36 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Added `show_request_actions' to SD_TOOL_BAR_CONTENT. Tool bar right click menu call `show_request_actions' and `close_request_actions' instead of call `show' and `hide' directly.
Reviewer: Tedf

Revision 68751 - Directory Listing
Modified Wed May 30 10:49:18 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Handling the case: all contents of a tab zone not found during restoring docking layout.
Fixed bug#12810: Sequence of layout saves/opens and switching to debug mode causes layout open error
Reviewer: Tedf

Revision 68749 - Directory Listing
Modified Wed May 30 08:54:08 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Added minimum height of docking/tab zones. When editor zones minimized, the bottom lines of title areas are visible.
Fixed bug#12834: Minimized editor does not show the line
Reviewer: Tedf

Revision 68713 - Directory Listing
Modified Mon May 28 02:44:44 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Only stop dragging handling when LEFT pointer released.
Replace 1 with {EV_POINTER_CONSTANTS}.left.
Reviewer: Tedf

Revision 68712 - Directory Listing
Modified Mon May 28 01:35:57 2007 UTC (12 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
If end user is dragging (docker mediator is not void while dragging a tool bar), we don't show tool bar right click menu.
Reviewer Tedf

Revision 68706 - Directory Listing
Modified Sun May 27 17:31:06 2007 UTC (12 years, 8 months ago) by manus
Original Path: trunk/Src/library/docking
Fixed filename that did not match the classname.


Revision 68657 - Directory Listing
Modified Fri May 25 01:20:12 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
When open widget layout config, we reset texts if original docking vertically.
Fixed bug#12759: Saved layout has toolbar restored with wrong shape after docked vertically
Reviewer: Tedf

Revision 68632 - Directory Listing
Modified Thu May 24 03:45:25 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Tool bar manager can only created by SD_DOCKING_MANAGER.
Reviewer: Tedf

Revision 68631 - Directory Listing
Modified Thu May 24 03:40:49 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection to make sure not breaking the precondition.
Fixed bug#12840: right-clicking on debug button to open execution settings violates a precondition
Reviewer: Tedf

Revision 68602 - Directory Listing
Modified Wed May 23 07:01:50 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Made `motion_count_max' larger. It means end user spend more times before swtich to resizing mode.

Fixed 4th problem in bug#12542: Multiple problems with undocked toolbars

Revision 68600 - Directory Listing
Modified Wed May 23 06:33:02 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
We can't enable capture immediately, seems GTK window is not ready in feature `float_tool_bar_zone'. `enable_capture' not fully working at this point (only capture events when pointer is moving in main window). We call `enable_capture' later in idle actions, then everything will be fine.

Fixed 1st and 2nd problem in bug#12542: Multiple problems with undocked toolbars

Revision 68599 - Directory Listing
Modified Wed May 23 06:13:56 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
After `disable_border', x,y position will be forgot. We restore it manually.
Fix the 3rd problem in bug#12542: Multiple problems with undocked toolbars.

Revision 68554 - Directory Listing
Modified Tue May 22 10:24:08 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Removed useless codes.

Revision 68550 - Directory Listing
Modified Tue May 22 02:02:27 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
One pointer press action only call one notebook tab action. Otherwise, right click menu can appear more than once in one pointer press action.
Fixed bug#12806: Docking tab context menu shown after action has been performed

Revision 68549 - Directory Listing
Modified Tue May 22 01:47:38 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Next selected item after prune a content should not be void in theory. But in fact, it can be void sometimes.
Fixed bug#12807: Seg fault in {SD_TAB_ZONE}.prune

Revision 68537 - Directory Listing
Modified Mon May 21 17:11:10 2007 UTC (12 years, 9 months ago) by juliant
Original Path: trunk/Src/library/docking
Allow translation of parents section of "create class" dialog
Allow translation of "Expression" label in linear and ratio metric definition
Allow translation of "Customize" menu entry of toolbars
Allow fully customizable translation of "Customize toolbar..." entries in right click menu of toolbar area.


Revision 68528 - Directory Listing
Modified Mon May 21 08:46:10 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Handled all possible cases which I can image. The case includes:
1. Only has separator(s).
2. Has separator(s) at start.
3. Has separatpr(s) at end.
4. Case 2 and case 3 together.
5. Doesn't has any items.
Fixed bug#12757: Customizing Standard buttons tool bar causes crash.

Revision 68517 - Directory Listing
Modified Mon May 21 05:45:00 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Cosmetics.

Revision 68516 - Directory Listing
Modified Mon May 21 05:41:48 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection to make sure not breaking the precondition.
Fixed bug#12727: Unprotected agent in idle_actions in {SD_WINDOW}.initialize

Revision 68513 - Directory Listing
Modified Mon May 21 04:04:19 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
When open tool bar items layout, we should care about visible and invisible items.

Revision 68434 - Directory Listing
Modified Fri May 18 15:04:30 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Don't break the invariant.

Revision 68431 - Directory Listing
Modified Fri May 18 14:16:34 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Don't break the invariant.
Fixed a misspelling.

Revision 68430 - Directory Listing
Modified Fri May 18 13:52:50 2007 UTC (12 years, 9 months ago) by tedf
Original Path: trunk/Src/library/docking
Fixed a problem that zone_navigation_accelerator cells were not once.

Revision 68429 - Directory Listing
Modified Fri May 18 13:29:19 2007 UTC (12 years, 9 months ago) by tedf
Original Path: trunk/Src/library/docking
Moved query to correct feature clause.

Revision 68425 - Directory Listing
Modified Fri May 18 12:08:48 2007 UTC (12 years, 9 months ago) by alexk
Original Path: trunk/Src/library/docking
Reverted to the previous version because the issue with unresolved external due to compiler bug is resolved.

Revision 68409 - Directory Listing
Modified Thu May 17 21:00:34 2007 UTC (12 years, 9 months ago) by manus
Original Path: trunk/Src/library/docking
Removed non-used locals.


Revision 68386 - Directory Listing
Modified Thu May 17 06:12:45 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Use Huffman algorithm to position floating tool bar items. High speed and best result. :D
Let some features in SD_TOOL_BAR_CONTENT care about visible and invisible items. When position tool bar items, we only care about visible tool bar items.

Revision 68362 - Directory Listing
Modified Wed May 16 08:11:18 2007 UTC (12 years, 9 months ago) by alexk
Original Path: trunk/Src/library/docking
Added a feature to workaround the code generation issue that causes an unresolved external.

Revision 68330 - Directory Listing
Modified Tue May 15 20:53:28 2007 UTC (12 years, 9 months ago) by juliant
Original Path: trunk/Src/library/docking
Changed filenames to match classnames

Revision 68298 - Directory Listing
Modified Mon May 14 21:33:12 2007 UTC (12 years, 9 months ago) by manus
Original Path: trunk/Src/library/docking
Cosmetics.


Revision 68281 - Directory Listing
Modified Mon May 14 01:35:05 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Ignore SD_TOOL_BAR's height, only take account of other widgets' height such as EV_COMBO_BOX.
Otherwise, when dragging a multi-row floating tool bar, the height is larger and larger after dock it back.

Revision 68244 - Directory Listing
Modified Fri May 11 08:25:50 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Maybe the row height not set when initializing dragging area, we use `standard_height' as default.

Revision 68240 - Directory Listing
Modified Fri May 11 04:37:39 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
On GTK, SD_TOOL_BAR `minimum_width' is not always equal `width'. But on Windows, SD_TOOL_BAR `minimum_width' is always equal `width'. We use `minimum_width' for feature `size'. And same  case for `minimum_height' and `height'.
Fixed bug#12651: Dockable toolbars rearranged automatically on Linux


Revision 68225 - Directory Listing
Modified Thu May 10 14:30:37 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Added missing feature export.

Revision 68223 - Directory Listing
Modified Thu May 10 13:04:15 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Maybe `zone' can't be found sometime on GTK. I don't know exactly why now. We use `top' as default.
Fixed bug#12611: Unmatched inspect value in {SD_TOOL_BAR_MANAGER}.tool_bar_container

Revision 68221 - Directory Listing
Modified Thu May 10 03:59:23 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
We have to destroy floating zones on Linux. But on Windows, it's not needed.
Fixed bug#12656: Undocked tools not closed when window closed, leading to crash

Revision 68215 - Directory Listing
Modified Wed May 9 18:32:26 2007 UTC (12 years, 9 months ago) by king
Original Path: trunk/Src/library/docking
Enabled double buffering and disabled redraw on allocate to allow for better performance when drawing the toolbars on gtk

Revision 68202 - Directory Listing
Modified Wed May 9 08:47:59 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Added special handing for GTK. Because on GTK, pointer leave actions doesn't have same behavior as Windows implementation. This will cause `pointer_entered' flag value not same between Windows and Gtk after pressed at SD_TOOL_BAR_RESIZABLE_ITEM end area.

Revision 68197 - Directory Listing
Modified Wed May 9 03:16:10 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
We enable capture after calling `select_actions', this will make debugger working in client programmers `select_actions'.
Fixed bug#12609: Debugger fails to breal on Linux

Revision 68189 - Directory Listing
Modified Tue May 8 21:51:44 2007 UTC (12 years, 9 months ago) by manus
Original Path: trunk/Src/library/docking
Fixed bug#12600 where for SD_WIDGET_TOOL_BAR we did not take into account the height of
  the widgets to compute the height of the bar. So if the widgets are quite big they get
  truncated.
Fixed potential incorrect height when calling `force' or `prune' since the height was not
  forced to be recomputed.


Revision 68169 - Directory Listing
Modified Tue May 8 12:41:01 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Added SD_TOOL_BAR_RESIZABLE_ITEM which can be resized directly by dragging the widget's right border.
Fixed bug#11927: Address manager combo boxes too small.

Revision 68157 - Directory Listing
Modified Tue May 8 06:11:03 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
1.Added query `is_in_main_window' which used by new SD_TOOL_BAR_RESIZABLE_ITEM.
2.Handle the case that floating zone title bar is dragging for feature `docker_mediator'.

Revision 68119 - Directory Listing
Modified Fri May 4 18:09:11 2007 UTC (12 years, 9 months ago) by manus
Original Path: trunk/Src/library/docking
Removed non-used locals.


Revision 68111 - Directory Listing
Modified Fri May 4 14:05:21 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Make Linux theme drawing support clearlook themes.
Query the right drawing style from resources.

Revision 68101 - Directory Listing
Modified Fri May 4 03:55:50 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
When only one line which can't be wrapped, we stop calculation and simply set texts directly.
Changed to calculate wrap texts base on '\' (or '/' on Linux) instead of ' '.
Fixed bug#12485: EiffelStudio hangs after typing Ctrl+Tab

Revision 68087 - Directory Listing
Modified Thu May 3 17:33:51 2007 UTC (12 years, 9 months ago) by paulb
Original Path: trunk/Src/library/docking
Reformatted using resave tool, which mirrors how EiffelStudio's configuration UI save the settings.

Revision 68036 - Directory Listing
Modified Tue May 1 10:31:29 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Add if protection for pointer release actions. Because when executing pointer release actions, client programmer can delete current button. This action will make button `tool_bar' query void.

Revision 68034 - Directory Listing
Modified Tue May 1 07:05:12 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
A toggle button is selected when its state is `check' or `hot_checked'.
Fixed bug#12547: "Categorize classes in folder" button in Dependency tool has no effect

Revision 68032 - Directory Listing
Modified Tue May 1 06:38:11 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Add `show_actions' to SD_CONTENT. We a fake editor is shown, it'll be called.
Fixed bug#12519: Crash when rearranging editor tabs

Revision 68006 - Directory Listing
Modified Fri Apr 27 10:10:04 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Added `pebble_function', `deny_cursor', `accept_cursor' and related setting features to SD_TOOL_BAR_ITEM. So the SD_TOOL_BAR_ITEMs are pickable now.

Revision 68000 - Directory Listing
Modified Fri Apr 27 07:55:23 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
When pointer hover on normal/maximize button of notebook area, we don't call restore normal size routine.

Revision 67999 - Directory Listing
Modified Fri Apr 27 07:51:41 2007 UTC (12 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Added protection against void object.

Revision 67986 - Directory Listing
Modified Thu Apr 26 08:34:00 2007 UTC (12 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Make `lock' feature of SD_DOCKING_MANAGER lock tool type SD_CONTENT only. Add a new feature `lock_editor' to lock editor type SD_CONTENT.

Revision 67985 - Directory Listing
Modified Thu Apr 26 05:48:16 2007 UTC (12 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Because add/remove actions will be twined, we copy list items instead of twin the list.
Fixed bug#12540.

Revision 67983 - Directory Listing
Modified Thu Apr 26 02:26:22 2007 UTC (12 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Move if protection inside the feature.
Fixed bug#12530.

Revision 67969 - Directory Listing
Modified Wed Apr 25 08:43:03 2007 UTC (12 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
When a zone auto hiding, it should use original direction if possible.

Revision 67968 - Directory Listing
Modified Wed Apr 25 04:02:00 2007 UTC (12 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Drawer care about SD_TOOL_BAR_FONT_ITEM when drawing a item.
Show hidden tab items labels in bold font. Show showing tab items labels in normal font. This is same behavior as Windows.
Fixed bug#12507.

Revision 67959 - Directory Listing
Modified Tue Apr 24 07:12:29 2007 UTC (12 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Moved tool bar right click menu string "Customize " to class SD_INTERFACE_NAMES.

Revision 67950 - Directory Listing
Modified Sun Apr 22 13:15:21 2007 UTC (12 years, 10 months ago) by manus
Original Path: trunk/Src/library/docking
Removed non-used locals.


Revision 67920 - Directory Listing
Modified Fri Apr 20 09:09:27 2007 UTC (12 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Implemented focus rectangle drawing routine for Gtk.
Fixed bug#12432.

Revision 67918 - Directory Listing
Modified Fri Apr 20 08:25:24 2007 UTC (12 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Temp commit to make project can compile.

Revision 67917 - Directory Listing
Modified Fri Apr 20 08:24:13 2007 UTC (12 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Temp commit to make project can compile.

Revision 67916 - Directory Listing
Modified Fri Apr 20 08:23:12 2007 UTC (12 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Temp commit to make project can compile.

Revision 67915 - Directory Listing
Modified Fri Apr 20 07:51:39 2007 UTC (12 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Enabled tab (not ctrl + tab) navigation for SD_NOTEBOOK tab area. And end user can use left/right buttons to navigate notebook tabs when tab area has focus.
Fixed bug#12432 on Windows. Gtk implementation coming soon.

Revision 67902 - Directory Listing
Modified Thu Apr 19 07:38:18 2007 UTC (12 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Don't restore editor normal state from minimized state if end user press in a notebook tab close button area.
Fixed bug#12408.

Revision 67889 - Directory Listing
Modified Wed Apr 18 13:12:11 2007 UTC (12 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
LINKED_SET put_left is from LINKED_LIST, so it can't make sure one item per object instance in the set. We have to check it first.

Revision 67887 - Directory Listing
Modified Wed Apr 18 11:30:33 2007 UTC (12 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed a leak which happens after open a editor tab then close the tab.

Revision 67886 - Directory Listing
Modified Wed Apr 18 11:10:35 2007 UTC (12 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
We don't need initialize for SD_WIDGET_TOOL_BAR. Because it's a shell for SD_TOOL_BAR.

Revision 67885 - Directory Listing
Modified Wed Apr 18 11:05:05 2007 UTC (12 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
 We have to do "enable tabable to" for lables otherwise when press tab key (executing next_tabstop_widget in EV_WIDGET_IMP on Windows), there will be stack overflow.
The reason of the stack overflow maybe is: the `parent' of `wel_window' is not correct. And this problem maybe have related with commit#67601.
Fixed bug#12485.

Revision 67877 - Directory Listing
Modified Wed Apr 18 04:00:02 2007 UTC (12 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Set veto pebble function to SD_NOTEBOOK_TAB_AREA directly.

Revision 67876 - Directory Listing
Modified Wed Apr 18 03:37:10 2007 UTC (12 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Let notebook tab area drop actions care about veto function.

Revision 67853 - Directory Listing
Modified Mon Apr 16 09:57:12 2007 UTC (12 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
We should update containers' visible for hidden zones.
Fixed bug#12389.

Revision 67852 - Directory Listing
Modified Mon Apr 16 08:49:46 2007 UTC (12 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Replaced all tools' EV_TOOL_BARs with SD_TOOL_BAR(s) in Eiffel Studio. Except metric tool, because its interface is built by Eiffel Build totally.

Revision 67823 - Directory Listing
Modified Thu Apr 12 12:00:50 2007 UTC (12 years, 10 months ago) by tedf
Original Path: trunk/Src/library/docking
By OC (Open and Close window) operation:
Fixed leaks that editors for formatter displayer and some EB_PREFERENCED_TOOL_BAR_TOGGLE_BUTTON were not recycled. 
Fixed a leak in EB_FORMATTER_BASED_TOOL that agents in metric_manager.metric_loaded_actions were not removed when closing.
Fixed a leak in SD_DOCKING_MANAGER that the instance was not removed from managed docking_manager_list when being destroyed.
Fixed a leak in SD_TOOL_BAR_MANAGER that `application_right_click_agent' was not correctly removed from `ev_application.pointer_button_press_actions'.
Fixed leaks that items from once commands of refactoring manager were not recycled.
Fixed a leak that items from EB_NEW_DEVELOPMENT_WINDOW_COMMAND was not recycled.
Fixed leaks that EB_EDITOR_TOKEN_GRID_SUPPORTs were not `desynchronize_color_or_font_change_with_editor'.
Fixed a leak in {EB_METRIC_ACTIONS}.uninstall_agents where `on_project_loaded_agent' was not pruned.
Fixed a leak that the editor of the first window before loading project was not recycled correctly.
Fixed a leak in EB_METRIC_HISTORY_PANEL that `check_warning_btn' was not recycled.
Fixed a problem in EB_METRIC_PANEL that `uninstall_metric_history_agent' was not correctly written.
Fixed a leak in EB_METRIC_TOOL that `metric_history_panel' was not recycled.
Used EB_CLICKABLE_EDITOR in formatter displayer, which reduces memory usage.
At this point, the leaked window is collected. After twice OC operations, there still are 8 TUPLE [INTEGER_32, INTEGER_32] leaks. By Back to Once Approach, it is difficult to track which are leaks among more than 40 instances.


Revision 67794 - Directory Listing
Modified Tue Apr 10 08:44:37 2007 UTC (12 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Added a precondition to restrict client programmers.

Revision 67793 - Directory Listing
Modified Tue Apr 10 07:27:02 2007 UTC (12 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed a bug that when calling SD_CONTENT.set_auto_hide the hide tab stub direction should query from feature parameter instead of current SD_STATE value.

Revision 67721 - Directory Listing
Modified Wed Apr 4 01:48:25 2007 UTC (12 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Added an if condition.

Revision 67711 - Directory Listing
Modified Tue Apr 3 13:31:52 2007 UTC (12 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Added "is_config_data_valid" for client programmers. It's for testing if the config data in a file is valid.

Revision 67685 - Directory Listing
Modified Mon Apr 2 18:53:48 2007 UTC (12 years, 10 months ago) by paulb
Original Path: trunk/Src/library/docking
Formatted using spaces.
Set namespace to create neat namespaces in accordance to new rules.

Revision 67655 - Directory Listing
Modified Sun Apr 1 01:39:05 2007 UTC (12 years, 10 months ago) by manus
Original Path: trunk/Src/library/docking
Removed non-used local.


Revision 67648 - Directory Listing
Modified Sat Mar 31 00:11:59 2007 UTC (12 years, 10 months ago) by juliant
Original Path: trunk/Src/library/docking
Crop class title in tab headers if they exceed a maximum width.

Revision 67636 - Directory Listing
Modified Fri Mar 30 06:15:04 2007 UTC (12 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Minor fixes of contract broken.

Revision 67620 - Directory Listing
Modified Thu Mar 29 09:55:06 2007 UTC (12 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
We keep a zone's maximized state when possible.
Fixed bug#12114.

Revision 67586 - Directory Listing
Modified Wed Mar 28 05:56:27 2007 UTC (12 years, 10 months ago) by jasonw
Original Path: trunk/Src/library/docking
Removed unused locals.

Revision 67581 - Directory Listing
Modified Wed Mar 28 03:25:47 2007 UTC (12 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Set "Disable Auto Hide" as tool tip for unpin mini tool bar button.
Fixed bug#12134.

Revision 67559 - Directory Listing
Modified Tue Mar 27 10:43:09 2007 UTC (12 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Added ability to save/open zone maximized state.

Revision 67545 - Directory Listing
Modified Tue Mar 27 01:58:49 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Use "if" instead of "check" to avoid release version crash. The crash it's seems a incremental bug.
Fixed bug#12263.

Revision 67532 - Directory Listing
Modified Mon Mar 26 09:39:47 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Resize main window after hide a tool bar.
Fixed bug#12260.

Revision 67531 - Directory Listing
Modified Mon Mar 26 09:14:50 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
When recording tool bar docking state, query if current tool bar is the only one zone in the row, we should use SD_TOOL_BAR_ROW to count SD_TOOL_BAR(s) instead of EV_BOX.
Fixed bug#12241.

Revision 67529 - Directory Listing
Modified Mon Mar 26 08:33:13 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Export SD_DOCKER_MEDIATOR to client programmers, let client programmers can query if end user is dragging, and give client programmers the ability to cancel dragging event.

Revision 67503 - Directory Listing
Modified Fri Mar 23 21:19:19 2007 UTC (12 years, 11 months ago) by manus
Original Path: trunk/Src/library/docking
Fixed bug#12362 by redefining `on_normal_max_window' so that maximizing or restoring remove
  the minimize state.


Revision 67489 - Directory Listing
Modified Fri Mar 23 03:30:57 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Renamed file name. The file name is same as class name.

Revision 67487 - Directory Listing
Modified Fri Mar 23 02:30:41 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection, make sure satisfy precondition.

Revision 67486 - Directory Listing
Modified Fri Mar 23 01:56:47 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
When clearing background of a tool bar, we find maximum area we should clear.
Fixed bug#12235.

Revision 67482 - Directory Listing
Modified Fri Mar 23 00:22:34 2007 UTC (12 years, 11 months ago) by king
Original Path: trunk/Src/library/docking
Implementation now matches Windows as PND target appearance is now platform independent, this class should now probably be moved to a common directory

Revision 67446 - Directory Listing
Modified Thu Mar 22 08:32:39 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
When calling SD_CONTENT.set_tab_with, we handled the case that `a_content''s state is auto hide state.
Fixed bug#12120.

Revision 67444 - Directory Listing
Modified Thu Mar 22 07:18:49 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Delegated put_right function which is used by SD_AUTO_HIDE_PANEL.set_tab_with_friend.
Fixed bug#12118.

Revision 67439 - Directory Listing
Modified Thu Mar 22 03:20:50 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Twin the list in the action loop, make sure the list not be changed during looping.
Fixed bug#12339.

Revision 67419 - Directory Listing
Modified Wed Mar 21 09:04:47 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Force tool bar area to resize after open_tools_config, otherwise tool bar area height will not correct.
Fixed bug#12324.

Revision 67418 - Directory Listing
Modified Wed Mar 21 08:33:02 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Not override docking library client programmers settings when making SD_DOCKING_MANAGER. 
Improved focus out actions handling in SD_DOCKER_MEDIATOR.
Fixed bug#11879.

Revision 67369 - Directory Listing
Modified Mon Mar 19 16:27:31 2007 UTC (12 years, 11 months ago) by king
Original Path: trunk/Src/library/docking
Now checking that widget is realized before attempting to draw it

Revision 67353 - Directory Listing
Modified Sat Mar 17 06:56:33 2007 UTC (12 years, 11 months ago) by manus
Original Path: trunk/Src/library/docking
Relaxed postcondition of `set_auto_hide_tab_slide_timer' to use the cell rather than
  the function since the function would return 0 when in remote desktop configuration.


Revision 67327 - Directory Listing
Modified Fri Mar 16 10:24:03 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Added a new precondition for SD_CONTENT.set_relative. The `a_relative' can't be a auto hide state content, because when auto hide, its zone is Void.

Revision 67325 - Directory Listing
Modified Fri Mar 16 08:39:23 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Close button actions is fired if end user first pressed left button, then pointer keep moving in the close button area, then pointer released.
Fixed bug#12091.

Revision 67324 - Directory Listing
Modified Fri Mar 16 07:52:16 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Disable main container resize (SD_DOCKING_MANAGER_COMMAND.resize) when opening layout config, make sure all sizes are correct during opening config.
Fixed bug#12307.

Revision 67323 - Directory Listing
Modified Fri Mar 16 06:12:11 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed wrong if conditions.

Revision 67313 - Directory Listing
Modified Thu Mar 15 10:48:19 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
On Linux, the efficiency of UI is not good enough (compare with Windows), we can't just simply call `resize_top' and `resize_left', otherwise there will be incorrect size. Now we combine resize_top and resize_left to resize_top_left to improve the efficiency.
When dragging a window, we set inner widget pointer sytle to make sure cursor will not change during end user resizing undocked window.
Fixed bug#12090.

Revision 67311 - Directory Listing
Modified Thu Mar 15 08:16:46 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Make undocked window border a little bit wider on Linux.

Revision 67310 - Directory Listing
Modified Thu Mar 15 07:13:36 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
When saving widget docking layout, handled corrupted widget structure case.
Fixed bug#12078.

Revision 67307 - Directory Listing
Modified Thu Mar 15 03:31:55 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed precondition violation on Linux.

Revision 67306 - Directory Listing
Modified Thu Mar 15 03:29:28 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
On Vision2 GTK implementation, there is additional focus out actions (compare with Windows Vision2) to be called after just started dragging. If we don't ignore it, it will cause UI hanging on Linux. This focus out changing is made at revision#67148.
We ignore focus out actions on Linux is ok since on Linux when enable capture it's full capture, atl + tab, alt + f1 etc. not work (not like Windows).


Revision 67279 - Directory Listing
Modified Wed Mar 14 08:56:34 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
We disable auto hide animation in remote desktop.

Revision 67277 - Directory Listing
Modified Wed Mar 14 08:21:51 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
We disable fading effect in remote desktop, so Eiffel Studio splash screen does not have fading effect in remote desktop.

Revision 67276 - Directory Listing
Modified Wed Mar 14 08:04:56 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Moved is_terminal_service feature from Smart Docking library to WEL library. So it can be used by other projects.

Revision 67274 - Directory Listing
Modified Wed Mar 14 06:25:59 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Made zone navigation dialog set_text function not be called after is_destroyed, and added if protection against void object.
Fixed bug#12031.

Revision 67268 - Directory Listing
Modified Wed Mar 14 03:00:27 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Make sure tool bar content can be shown we last dock state not recorded.

Revision 67267 - Directory Listing
Modified Wed Mar 14 02:59:38 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Handled parent not void case.

Revision 67244 - Directory Listing
Modified Tue Mar 13 09:18:57 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
First open tool bar data, then open zones data. This can make no scroll effect during restoring widgets layout.
Fixed bug#11862.

Revision 67243 - Directory Listing
Modified Tue Mar 13 09:17:13 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Expose actions maybe been called delayed, so we should check if has `l_item'.

Revision 67234 - Directory Listing
Modified Tue Mar 13 06:53:05 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
When open tool bar items layout config, we should convert STRING_32 to STRING_8, otherwise, there will be a CAT call.
Fixed bug#11974.

Revision 67231 - Directory Listing
Modified Tue Mar 13 05:44:53 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Implemented tab tooltip feature: we can display a tooltip on notebook tab now.

Revision 67228 - Directory Listing
Modified Tue Mar 13 02:38:27 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Implemented draw ellipsed texts when texts are too long in ctrl + tab dialog on Linux.
Fixed bug#11829.

Revision 67198 - Directory Listing
Modified Mon Mar 12 10:23:35 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
When dragging notebook tabs to swap tab positions, we always use original position data which is recorded before dragging instead of dynamic position data which is changing base on current pointer position. So we can avoid tab jumping when tab width is not same.
Fixed bug#11944.

Revision 67195 - Directory Listing
Modified Mon Mar 12 09:00:35 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed a postcondition violation.

Revision 67194 - Directory Listing
Modified Mon Mar 12 08:32:15 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Made title bar drawing text y position care about font size.

Revision 67191 - Directory Listing
Modified Mon Mar 12 07:22:31 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Handle the case when `a_relative_position' is negative.
Fixed bug#11941.

Revision 67190 - Directory Listing
Modified Mon Mar 12 06:31:07 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Adjust a little bit to make text alignment correct.

Revision 67188 - Directory Listing
Modified Mon Mar 12 05:51:56 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Set tool bar position to 0 instead of 1, because 0 is the smallest x/y position.
Fixed bug#11870.

Revision 67153 - Directory Listing
Modified Fri Mar 9 09:24:30 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Because after hide a EV_WINDOW on Vision2 GTK implementation, border state and width, height can't be remembered, we set it manually.
Fixed bug#12189 and bug#12191.

Revision 67149 - Directory Listing
Modified Fri Mar 9 08:00:02 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Because there is no pointer leave actions called after pointer bouble press actions on Linux. (On Windows there is.)
We clear the pressed flag manually, let double click to maximize feature works on Linux.

Revision 67148 - Directory Listing
Modified Fri Mar 9 07:01:04 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Let SD_DOCKER_MEDIAOTOR care about focus out actions when end user dragging. If focus changed, it will cancel dragging event.
Fixed bug#12225.

Revision 67147 - Directory Listing
Modified Fri Mar 9 06:59:14 2007 UTC (12 years, 11 months ago) by tedf
Original Path: trunk/Src/library/docking
Removed unused locals.

Revision 67143 - Directory Listing
Modified Fri Mar 9 06:19:42 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Use viewport.width (viewport.height) instead of fixed.width (fixed.height), because the width is a little bit smaller than actual when called from SD_DOCKING_STATE.show.
Fixed bug#12228.

Revision 67119 - Directory Listing
Modified Thu Mar 8 09:47:17 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Use the right window for Linux floating tool bars.

Revision 67118 - Directory Listing
Modified Thu Mar 8 09:44:45 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Handled if SD_CONTENT can't be found when restoring layout case.

Revision 67115 - Directory Listing
Modified Thu Mar 8 08:42:26 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
When no class are edited, dropping a class or feature stone in the empty grey box of the editors panel will create a new editor with the stone.


Revision 67096 - Directory Listing
Modified Wed Mar 7 09:12:39 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Implemented lock docking mechanism and lock tool bar feature. 

Revision 67091 - Directory Listing
Modified Wed Mar 7 02:21:45 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Filled description and detail texts for Ctrl + Tab dialog.

Revision 67082 - Directory Listing
Modified Tue Mar 6 08:04:44 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Copy maximized state informations when a tab zone from a docking zone.
Fixed bug#12197.

Revision 67081 - Directory Listing
Modified Tue Mar 6 07:37:03 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
When more than one auto hide tab stubs stay together at side of main window, we can decide if show all inactive tab stub text.
Fixed bug#12158.

Revision 67080 - Directory Listing
Modified Tue Mar 6 03:54:46 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Go on with revision#66971 (bug#11984 task) on Windows platform.
Made notebook tab, title bar, auto-hide tab stub and tool bar care about system font.
Fixed bug#12164.

Added extra baseline to floating title bar (when more than one zone floating docked together) to make it looks beautiful.

Revision 67064 - Directory Listing
Modified Mon Mar 5 01:45:52 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection for void object.
Fixed bug#12185.

Revision 67034 - Directory Listing
Modified Fri Mar 2 09:49:57 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Added `set_visible' to every client programmer set SD_CONTENT position operations.
Fixed bug#12138.

Revision 67033 - Directory Listing
Modified Fri Mar 2 09:48:00 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
When SD_OPEN_CONFIG_MEDIATOR.open_inner_container_data, `zone' maybe void, so added if protection.

Revision 67032 - Directory Listing
Modified Fri Mar 2 09:41:46 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Use the correct "Result" instead of "l_count".

Revision 67029 - Directory Listing
Modified Fri Mar 2 08:03:13 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
We save/restore editor minimized state when only one editor zone (maybe a tabbed zone or a single content editor zone) existing, 
When more than one editor zone existing, we don't save them minimized states, because Smart Docking library don't know how to restore editors minimized state if end user add/close editor tabs in normal/debug layout.
For example:
1.End user have ROOT_CLASS editor tab and NEW_CLASS tab opened in the normal layout, the two editor tabs are separately contained in a horizontal split area, they are both minimized.
2.End user start debugging, switch to debug layout. In debug layout, end user closed ROOT_CLASS editor tab and NEW_CLASS editor tab. Then end user open a NEW_CLASS_1 editor tab.
3.End user stop debugging, switch to normal layout. At this time, Smart Docking library only know minimized data of ROOT_CLASS editor tab and NEW_CLASS editor tab which was stored at the beginning of step 2. Smart Docking library have no idea of the minimized state of NEW_CLASS_1 editor tab which are newly opened in previous debugging layout.
Fixed bug#12132.

Revision 67026 - Directory Listing
Modified Fri Mar 2 04:02:11 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Added update_mini_tool_bar_size to SD_CONTENT. 

Revision 67025 - Directory Listing
Modified Fri Mar 2 02:43:46 2007 UTC (12 years, 11 months ago) by tedf
Original Path: trunk/Src/library/docking
Corrected misspellings.

Revision 67001 - Directory Listing
Modified Thu Mar 1 07:48:51 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
When there is only one editor zone in Currently widget docking layout, we save/restore its minimized state. This is useful for Eiffel Studio, because for most of times, end user only have one editor zone (a tabbed editor zone). Partly fixed bug#12132.

Separate SD_CONFIG_MEDIATOR open config codes to class SD_OPEN_CONFIG_MEDIATOR, save config codes to class SD_SAVE_CONFIG_MEDIATOR. Because the original SD_CONFIG_MEDIATOR is too big.
Renamed original SD_CONFIG_MEDIATOR to SD_OPEN_CONFIG_MEDIATOR.


Revision 66995 - Directory Listing
Modified Thu Mar 1 01:19:45 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Implemented SD_DOCKING_MANAGER.proporgate_accelerators, now when main window accelerators changed, client programmers can update all floating zones accelerators immediately.

Revision 66973 - Directory Listing
Modified Wed Feb 28 09:53:44 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Docking panel should recover to normal state before hide.
Fixed bug#12126.

Revision 66972 - Directory Listing
Modified Wed Feb 28 09:04:31 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Made notebook tab close button position correct.

Revision 66971 - Directory Listing
Modified Wed Feb 28 08:39:12 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Now SD_NOTEBOOK_TAB, SD_TOOL_BAR, SD_TAB_STUB, SD_TITLE_BAR's height is all base on system font height on Linux.
But on Windows not implemented, need more test. I'll implemented it soon.
Fxied bug#11984.

Revision 66968 - Directory Listing
Modified Wed Feb 28 03:14:50 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Added comments.

Revision 66967 - Directory Listing
Modified Wed Feb 28 02:25:54 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Change to use Smart Docking library implemented resize border back.
Because GTK can't guarantee a EV_WINDOW always resizable.

Revision 66943 - Directory Listing
Modified Tue Feb 27 06:53:49 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Sometimes, `l_parent' maybe void, don't know the reason yet.
Maybe the calling of the actions have been delayed?
Fixed bug#12067.

Revision 66942 - Directory Listing
Modified Tue Feb 27 06:37:19 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed problems during restore docking widget layout:
1.When not full two fork tree widget structure, add if proection for `all_zones_in_current' of SD_FLOATING_ZONE.
2.In SD_TAB_STATE.restore, when calling `update_floating_zone_visible', use `l_tab_zone' instead of `zone'.
Fixed bug#12111.

Revision 66940 - Directory Listing
Modified Tue Feb 27 05:55:37 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Before closing a docking editor zone, we should recover it to normal size state from maximized state first. Otherwise, there will be no editor place holder zone after closed the docing editor zone.

Revision 66939 - Directory Listing
Modified Tue Feb 27 05:49:37 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Disable Smart Docking resize border on GTK, use GTK native resize border instead.

Revision 66938 - Directory Listing
Modified Tue Feb 27 05:48:18 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Draw grey text when disabled like GTK native looking.
Fixed bug#12098.

Revision 66937 - Directory Listing
Modified Tue Feb 27 05:46:32 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Made Linux auto hide zone no flashing. It's a perfect animation now. 
Fixed bug#12096.

Revision 66934 - Directory Listing
Modified Tue Feb 27 05:34:49 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Show SD_FLOATING_ZONE when restoring docking widget layout.
Added if protection for SD_FLOATING_ZONE.count_zone_display. Because during constructing widget layout, widget layout maybe not FULL two fork tree structure.
Fixed bug#12111.

Revision 66931 - Directory Listing
Modified Tue Feb 27 03:30:34 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Improved bug#12076 fixing.
Smart Docking library handle button width changed event automatically now, client programmer not need to do additional function call.

Revision 66929 - Directory Listing
Modified Tue Feb 27 03:17:27 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed wrong comment.

Revision 66923 - Directory Listing
Modified Tue Feb 27 00:57:48 2007 UTC (12 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
When SD_TOOL_BAR_BUTTON text changed, the width of SD_TOOL_BAR will be changed. Now Smart Docking lib will automatically update the width.
Fixed bug#12076.

Revision 66896 - Directory Listing
Modified Mon Feb 26 01:21:10 2007 UTC (12 years, 11 months ago) by manus
Original Path: trunk/Src/library/docking
Removed non-used local.


Revision 66843 - Directory Listing
Modified Thu Feb 22 18:43:02 2007 UTC (13 years ago) by manus
Original Path: trunk/Src/library/docking
Fixed a precondition violation in hide because dialog is detroyed. This happens
  when showing the dialog listing all the tabs when the window is too small to show
  them. The dialog is destroyed in `on_focus_out' when selecting one of the tab
  before `on_label_selected' is called.


Revision 66842 - Directory Listing
Modified Thu Feb 22 18:41:56 2007 UTC (13 years ago) by manus
Original Path: trunk/Src/library/docking
Make sure that split area is full before setting the split position otherwise we violate
  a precondition.


Revision 66841 - Directory Listing
Modified Thu Feb 22 18:41:25 2007 UTC (13 years ago) by manus
Original Path: trunk/Src/library/docking
Fixed a precondition violation when calling set_focus since sometime it might not be `is_visible'.


Revision 66836 - Directory Listing
Modified Thu Feb 22 17:09:54 2007 UTC (13 years ago) by jfiat
Original Path: trunk/Src/library/docking
renamed file according to the class name

Revision 66835 - Directory Listing
Modified Thu Feb 22 13:28:13 2007 UTC (13 years ago) by jfiat
Original Path: trunk/Src/library/docking
+ various optimizations : 
   - use of local variable instead of computing many time internal_tab_drawer (which should be renamed ...)
   - draw directly on the target pixmap, instead of creating a new pixmap and draw this pixmap on the target pixmap
   - reused an instance of EV_COLOR as once, instead of creating a new one in loop


Revision 66815 - Directory Listing
Modified Wed Feb 21 19:26:02 2007 UTC (13 years ago) by king
Original Path: trunk/Src/library/docking
Removed disable_user_resize hack for gtk as it is no longer needed

Revision 66814 - Directory Listing
Modified Wed Feb 21 19:23:37 2007 UTC (13 years ago) by manus
Original Path: trunk/Src/library/docking
Added missing svn:eol-style native property.


Revision 66806 - Directory Listing
Modified Wed Feb 21 10:24:04 2007 UTC (13 years ago) by jfiat
Original Path: trunk/Src/library/docking
- fixed bug with wrong reverse assignment in SD_TOOL_BAR_ZONE_ASSISTANT.groups , which was preventing to process the separators as they should be.
- replaced agents.call ([]) by agents.call (Void) (this avoid creating an empty TUPLE when not needed)
- used locals in many places
- fixed typo in feature names

Revision 66805 - Directory Listing
Modified Wed Feb 21 10:15:58 2007 UTC (13 years ago) by jfiat
Original Path: trunk/Src/library/docking
- improved fixes for bug#12076: Refresh issue on Start/Continue button


Revision 66793 - Directory Listing
Modified Tue Feb 20 20:31:32 2007 UTC (13 years ago) by jfiat
Original Path: trunk/Src/library/docking
safer refresh_now

Revision 66786 - Directory Listing
Modified Tue Feb 20 18:08:50 2007 UTC (13 years ago) by jfiat
Original Path: trunk/Src/library/docking
- fixed bug#12076: Refresh issue on Start/Continue button
This correction can be improved by docking library...
- fixed potential issue with instance of STRING_8 for SD_CONTENT's title

Revision 66774 - Directory Listing
Modified Tue Feb 20 00:39:51 2007 UTC (13 years ago) by paulb
Original Path: trunk/Src/library/docking
Added default namespaces for .NET

Revision 66758 - Directory Listing
Modified Sat Feb 17 11:33:31 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
New Eiffel Studio splash screen for Chinese New Year~

Revision 66756 - Directory Listing
Modified Sat Feb 17 08:56:30 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Added SD_WINDOW Windows platform implementation.

Revision 66755 - Directory Listing
Modified Sat Feb 17 08:44:28 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Add special SD_WINDOW for Smart Docking library, now undocked window on Linux is not always on top of all windows in the whole system, it just keep in front of one window. It works same as Windows now.
(Renamed orignal SD_WINDOW to SD_PANEL)
Fixed bug#11981.

Revision 66740 - Directory Listing
Modified Fri Feb 16 20:25:26 2007 UTC (13 years ago) by king
Original Path: trunk/Src/library/docking
Added hack for setting the size of a window on gtk which is not user resizable

Revision 66735 - Directory Listing
Modified Fri Feb 16 13:34:46 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection.

Revision 66720 - Directory Listing
Modified Fri Feb 16 04:25:32 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Made editor tab drawing text correct when not enough width.

Revision 66719 - Directory Listing
Modified Fri Feb 16 04:10:16 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Make sure editor tab close button state correct after pointer_leave_actions have been called.
Draw editor tab close button at correct position when not enough width.

Revision 66715 - Directory Listing
Modified Fri Feb 16 00:22:00 2007 UTC (13 years ago) by king
Original Path: trunk/Src/library/docking
Now hiding the dialog on label select instead of destroying it because the focus actions cause a recursive destroy which causes gdk to mess up internally regarding signal invocation, destroy will be called as a result of the dialog losing focus upon hiding

Revision 66707 - Directory Listing
Modified Thu Feb 15 09:56:31 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Fix a bug:
When select a content from notebook hidden tab dialog, the focus_in_actions of that content have not been called.

Revision 66702 - Directory Listing
Modified Thu Feb 15 06:51:31 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Calculate half splitter position instead of using `set_proportion (0.5)' because this feature calculation base on minimum and maximum splitter position.
Fixed bug#11960.

Revision 66666 - Directory Listing
Modified Wed Feb 14 09:37:40 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
set_minimum_height for SD_NOTEBOOK which is not needed on Windows.
But on Linux, if we don't set it, docking (not tabbed) zone minimum height will be 1 when zone is minimized.

Revision 66661 - Directory Listing
Modified Wed Feb 14 04:37:12 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Improved docking behavior for minimized zones, make sure SD_MUTLI_DOCK_AREA.update_middle_container have been called when it should.
So when docking into(or at side of) a minimized zone will have nice behavior now. Before this fix, after docking operations, end user can drag a split area bar surround a minimized zone, because SD_MUTLI_DOCK_AREA.update_middle_container have not been called.
Fixed bug#12054.

Revision 66659 - Directory Listing
Modified Wed Feb 14 03:25:22 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Move feature Editor_place_holder_content_name back to SD_SHARED since it's not a name for interface, it only be used within Smart Docking library.

Revision 66656 - Directory Listing
Modified Wed Feb 14 02:50:42 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Removed the precondition, handle the case inside the feature, because:
When closing all editor tabs by right click menu, rectangle feature called by on_pointer_press from SD_NOTEBOOK_TAB_BOX, parent maybe void sometimes. It's because pointer press actions delayed, the actions are executing after the SD_NOTEBOOK_TAB_BOX destroyed.

Revision 66655 - Directory Listing
Modified Wed Feb 14 01:47:15 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection to against void object.

Revision 66654 - Directory Listing
Modified Wed Feb 14 01:38:58 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection.
`a_parent' may be void if calling by `close' from SD_TAB_STATE on Linux. Don't know why now. At least this if protection can make things better.
Fixed bug#12054.

Revision 66635 - Directory Listing
Modified Tue Feb 13 13:49:05 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Rename feature to a better name.

Revision 66634 - Directory Listing
Modified Tue Feb 13 12:58:43 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Add a condition to check if the file is readable.

Revision 66633 - Directory Listing
Modified Tue Feb 13 12:53:59 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Fix a bug in file_exist, replace make_open_read with make.
To make sure it works when file not exist.

Revision 66632 - Directory Listing
Modified Tue Feb 13 12:06:14 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Removed useless inherit.

Revision 66629 - Directory Listing
Modified Tue Feb 13 10:48:26 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Make string `separator' in tool bar customize dialog can be defined by client programmers.

Revision 66627 - Directory Listing
Modified Tue Feb 13 10:18:18 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Added unique_title for SD_TOOL_BAR_CONTENT which is used for store/open layout config data.
Now title in SD_TOOL_BAR_CONTENT is only for display.

Revision 66626 - Directory Listing
Modified Tue Feb 13 10:01:25 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Added a command to close editor place holder content for client programmers.

Revision 66618 - Directory Listing
Modified Tue Feb 13 00:54:10 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
If SD_CONTENT is visible already, then do nothing.

Revision 66604 - Directory Listing
Modified Mon Feb 12 07:52:13 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Use EV_PIXMAP instead of EV_PIXEL_BUFFER for notebook hidden tab indicator image. Because draw_text is not available for EV_PIXLE_BUFFER on Linux.

Revision 66601 - Directory Listing
Modified Mon Feb 12 06:57:31 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Set docking window title bar height, tool bar height a little bit bigger for Linux specially.

Revision 66561 - Directory Listing
Modified Fri Feb 9 10:00:44 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Implemented show for the case:
Current was SD_TAB_STATE before open_config (SD_CONFIG_MEDIATOR),
after open_config, client programmers will call this fucntion sometimes.

In this case we use default void state behavior here.

Revision 66558 - Directory Listing
Modified Fri Feb 9 08:39:15 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection.

Revision 66556 - Directory Listing
Modified Fri Feb 9 07:56:45 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Delete useless class.


Revision 66533 - Directory Listing
Modified Thu Feb 8 15:17:17 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Fixed a bug when show a hidden floating zone, the bug is `parent_floating_zone' doesn't exist on screen anymore, it was destroyed when open_config (from SD_CONFIG_MEDIATOR) and current content doesn't have layout information restored when open_config.
In this case let it use SD_STATE_VOID's default behavior.

Revision 66523 - Directory Listing
Modified Thu Feb 8 05:41:17 2007 UTC (13 years ago) by tedf
Original Path: trunk/Src/library/docking
We have to call `remove_empty_split_area' first to make sure no void widget when update_middle_container.
Larry

Revision 66502 - Directory Listing
Modified Wed Feb 7 07:10:31 2007 UTC (13 years ago) by tedf
Original Path: trunk/Src/library/docking
Recategorized routines of SD_SHARED. Made interface_names and icons real single skeleton.
Deferred SD_INTERFACE_NAMES, and added a default implementation SD_DEFAULT_INTERFACE_NAMES as default names used in docking library.
Added docking_names in EiffelStudio so that interfaces part of docking library are internationalized.

Revision 66500 - Directory Listing
Modified Wed Feb 7 04:25:36 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
We don't call `destroy' directly here, because if window destroy and creating very fast, Windows will not clear window area after destroy a window.
other non-eiffel application have this problem, too. 
refer: http://groups.google.com/group/borland.public.delphi.winapi/browse_thread/thread/e69cf1958780888d/e2cd367c6b57357c?lnk=st&q=not+repaint+after+destroywindow&rnum=2&hl=zh-CN#e2cd367c6b57357c

Revision 66499 - Directory Listing
Modified Wed Feb 7 04:07:13 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Don't draw text ellipses if button is not a SD_TOOL_BAR_WIDTH_BUTTON.

Revision 66476 - Directory Listing
Modified Tue Feb 6 08:49:20 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Check if really have vision2 capture before call drag actions, because capture maybe interrupted by some operations like creating a EV_DIALOG.
Fixed bug#12005.

Revision 66473 - Directory Listing
Modified Tue Feb 6 07:57:05 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Compute minimum width during floating operation, because the tail tool bar option button is removed.

Revision 66472 - Directory Listing
Modified Tue Feb 6 07:09:35 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Fixed extra padding on right bug. (bug#11827)

Revision 66468 - Directory Listing
Modified Tue Feb 6 03:54:26 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Changed "Ok" to "OK".
Fixed bug#11973.

Revision 66466 - Directory Listing
Modified Tue Feb 6 03:49:52 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Extract all interface string to a new class SD_INTERFACE_NAMES, then client programmers can modify the strings used by Smart Docking library.

Revision 66442 - Directory Listing
Modified Fri Feb 2 08:54:25 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Removed useless comments, and added useful comments.

Revision 66435 - Directory Listing
Modified Fri Feb 2 02:09:41 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Ctrl+Tab is works on Linux now, removed temporay fix.

Revision 66396 - Directory Listing
Modified Wed Jan 31 18:56:42 2007 UTC (13 years ago) by jfiat
Original Path: trunk/Src/library/docking
- Added the possibility to force the environment in debug mode.
- improved/implemented the toggle toolbarable commands
- various improvements, minor bug fixes 

Revision 66377 - Directory Listing
Modified Wed Jan 31 09:25:25 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Zone navigation dialog items have maximum with now. If text is wider than maximum width, truncate text to ellipsis at the end.
Currently only windows implemented.
Fixed bug#11829.

Revision 66373 - Directory Listing
Modified Wed Jan 31 02:25:09 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Renamed file names to same as class names.

Revision 66358 - Directory Listing
Modified Tue Jan 30 17:47:37 2007 UTC (13 years ago) by jfiat
Original Path: trunk/Src/library/docking
optimizations using locals, named tuples, or avoiding useless twin.
+ typo

Revision 66353 - Directory Listing
Modified Tue Jan 30 10:15:52 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Because if a EV_WIDGET in EV_FIXED then EV_WIDGET resize actions not work, docking library can't handle mini tool bar item size change actions automatically.
Now add `update_mini_tool_bar_size' to SD_DOCKING_MANAGER, client programmers can update title bar mini tool bar items' size manually.

Revision 66351 - Directory Listing
Modified Tue Jan 30 07:35:42 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Handle l_place_holder_zone void case, because layout data maybe void if corrupted or it is previous layout data version.
Fixed bug#11940.


Revision 66350 - Directory Listing
Modified Tue Jan 30 06:45:03 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Remove the << if no mini tool bar for a tool.
Fixed bug#11871.

Revision 66326 - Directory Listing
Modified Mon Jan 29 08:43:20 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
User local arrayed list snapshots to against arrayed list items changes.
Did little optimizations by using locals.

Revision 66324 - Directory Listing
Modified Mon Jan 29 07:33:08 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Removed obsolete message, added comments.
Although the function has bad effect, it's useful.

Revision 66284 - Directory Listing
Modified Fri Jan 26 14:11:01 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Better handling docking layout data corruption.
Fixed bug#11912.

Revision 66270 - Directory Listing
Modified Fri Jan 26 09:19:58 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Correct the code for judging if a object is separator.
Fixed bug#11914.

Revision 66236 - Directory Listing
Modified Thu Jan 25 19:33:08 2007 UTC (13 years ago) by manus
Original Path: trunk/Src/library/docking
Removed non-used local.


Revision 66226 - Directory Listing
Modified Thu Jan 25 15:33:52 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/docking
Added missing implementation for auto hide state.
The codes are let auto hide zone tab with a target zone.

Revision 66217 - Directory Listing
Modified Thu Jan 25 09:43:51 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
When a new content showing to end user, maximized content will recover to normal size.
When call set_top of SD_TOOL_BAR_MANAGER force a resize action now.
Twin the arrayed list in SD_DOCKING_MANAGER_INTERNAL_COMMAND.
Added comments.

Revision 66215 - Directory Listing
Modified Thu Jan 25 09:29:33 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Clean widgets before create new widgets.

Revision 66213 - Directory Listing
Modified Thu Jan 25 09:22:03 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Change related codes for SD_TOOL_BAR_FONT_BUTTON.

Revision 66212 - Directory Listing
Modified Thu Jan 25 09:18:38 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection.

Revision 66211 - Directory Listing
Modified Thu Jan 25 09:17:04 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Docking library can save a named layout now.


Revision 66210 - Directory Listing
Modified Thu Jan 25 09:12:04 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Let floating tool bar windows and floating tool windows not show if it's state is hide when opening layout config.
Fixed bug#11811.

Revision 66208 - Directory Listing
Modified Thu Jan 25 08:58:30 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Added special button used by SD_NOTEBOOK_HIDE_TAB_DIALOG.

Revision 66207 - Directory Listing
Modified Thu Jan 25 08:54:37 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
User native themed tool bar items to show items instead of drawing it ourself.
Fixed bug#11805.


Revision 66198 - Directory Listing
Modified Thu Jan 25 01:35:02 2007 UTC (13 years, 1 month ago) by manus
Original Path: trunk/Src/library/docking
Cosmetics.


Revision 66141 - Directory Listing
Modified Tue Jan 23 19:09:52 2007 UTC (13 years, 1 month ago) by manus
Original Path: trunk/Src/library/docking
Removed non-used local.


Revision 66133 - Directory Listing
Modified Tue Jan 23 18:53:00 2007 UTC (13 years, 1 month ago) by manus
Original Path: trunk/Src/library/docking
Replaced creation of EV_ENVIRONMENT object to get to `application' by simply
  inheriting from EV_SHARED_APPLICATION and using `ev_application'.


Revision 66115 - Directory Listing
Modified Tue Jan 23 00:47:07 2007 UTC (13 years, 1 month ago) by manus
Original Path: trunk/Src/library/docking
Protected call in case `maximum_split_position' is 0 (case were minimum_size of left is 0 and size if the minimum_size of the right widget).


Revision 66089 - Directory Listing
Modified Mon Jan 22 16:28:19 2007 UTC (13 years, 1 month ago) by manus
Original Path: trunk/Src/library/docking
Removed non-used locals.


Revision 66082 - Directory Listing
Modified Mon Jan 22 09:46:05 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
"wel_bitmap" will be destroyed by garbage collector
We can't call "wel_bitmap.delete" directly, because it'll be called by garbage collector, otherwise it will cause segmentation violation.

Revision 66079 - Directory Listing
Modified Mon Jan 22 07:39:46 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Make it no title bar flicker when switch between tabs within one notebook.
Fixed bug#11802.

Revision 66076 - Directory Listing
Modified Mon Jan 22 06:29:24 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Let floating tool bar redock to top/bottom horizontal area if pointer position is in the target area.
Fixed bug#11801.

Revision 66072 - Directory Listing
Modified Mon Jan 22 04:18:53 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Before query `has_sub_info' we should first move the index.
Fixed bug#11800.

Revision 66028 - Directory Listing
Modified Fri Jan 19 06:47:00 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Save floating zone position correctly.
Fixed bug#11863

Revision 66026 - Directory Listing
Modified Fri Jan 19 06:34:00 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Make sure not moving widow when resizing window.
And if pointer moving very fast and pointer beyond the other side of the dialog border, then directly resize to minimum size.

Revision 66022 - Directory Listing
Modified Fri Jan 19 04:08:32 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Adjust image values for new set of docking feedback icons from Paul.

Revision 66006 - Directory Listing
Modified Thu Jan 18 16:05:16 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Changed image value to fit new docking feedback icons.

Revision 65986 - Directory Listing
Modified Wed Jan 17 18:55:45 2007 UTC (13 years, 1 month ago) by king
Original Path: trunk/Src/library/docking
Now only setting item position on expose if it needs changing

Revision 65985 - Directory Listing
Modified Wed Jan 17 18:54:46 2007 UTC (13 years, 1 month ago) by king
Original Path: trunk/Src/library/docking
Improved color usage for button text and active_border_color

Revision 65984 - Directory Listing
Modified Wed Jan 17 18:53:46 2007 UTC (13 years, 1 month ago) by king
Original Path: trunk/Src/library/docking
Removed explicit setting of docking zone on gtk as this messes with splitter rendering, will reinstate when issue is resolved, fixed spelling of destroy

Revision 65953 - Directory Listing
Modified Tue Jan 16 09:35:31 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Added tool bar font query implementation for Linux.

Revision 65944 - Directory Listing
Modified Tue Jan 16 08:27:53 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
If there is only one minimized zone in main container, restore it to normal size.

Revision 65943 - Directory Listing
Modified Tue Jan 16 08:24:54 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Make sure a label is selected and other labels are deselected when the dialog just shown.

Revision 65942 - Directory Listing
Modified Tue Jan 16 08:20:57 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Made minimize behavior better.

Revision 65940 - Directory Listing
Modified Tue Jan 16 08:14:25 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection, added comments.

Revision 65939 - Directory Listing
Modified Tue Jan 16 08:11:53 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Made items order correct.

Revision 65938 - Directory Listing
Modified Tue Jan 16 08:10:08 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Clear client programmers' docking contents for destroy feature.


Revision 65937 - Directory Listing
Modified Tue Jan 16 08:03:19 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Added tool bar font query. This can fix bug#11829 2nd problem.
Using Gdi+ draw texts for notebook hidden tab button, fixed bug#11807.
Added tool tip for hidden tool tips.

Revision 65930 - Directory Listing
Modified Tue Jan 16 06:19:05 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Fixed misspelling.

Revision 65929 - Directory Listing
Modified Tue Jan 16 06:15:43 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
We restore tab state, if we query zone directly (like l_state.zone), result will be void. We should query zone indirectly.

Revision 65928 - Directory Listing
Modified Tue Jan 16 06:10:25 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Fixed misspelling.

Revision 65927 - Directory Listing
Modified Tue Jan 16 06:09:11 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Removed addition text when user pressed number pad keys.


Revision 65926 - Directory Listing
Modified Tue Jan 16 05:57:19 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Removed useless feature.

Revision 65921 - Directory Listing
Modified Tue Jan 16 05:04:22 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Fixed misspelling.

Revision 65883 - Directory Listing
Modified Fri Jan 12 10:40:55 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Fixed Windows 2000 doesn't have uxtheme.dll theme drawer can't initialize issue.
Added default menu font query.

Revision 65876 - Directory Listing
Modified Fri Jan 12 01:39:53 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Added one pixel when drawing select tab background.
Fixed bug#11823.

Revision 65871 - Directory Listing
Modified Thu Jan 11 15:48:52 2007 UTC (13 years, 1 month ago) by jfiat
Original Path: trunk/Src/library/docking
fixed typo in feature name

Revision 65861 - Directory Listing
Modified Thu Jan 11 03:11:21 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Draw tab text at correct position.
Fixed bug#11804.

Revision 65860 - Directory Listing
Modified Thu Jan 11 02:34:30 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Make sure the widgets position in EV_FIXED is correct.
Fixed bug#11808.

Revision 65846 - Directory Listing
Modified Wed Jan 10 06:00:39 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Cosmetic.

Revision 65845 - Directory Listing
Modified Wed Jan 10 05:53:01 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Remove unused local.

Revision 65843 - Directory Listing
Modified Wed Jan 10 04:03:52 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Implemented deferred features due to some changes on Linux.

Revision 65842 - Directory Listing
Modified Wed Jan 10 03:53:36 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Made feature gap_height, start_y_position and start_y_position_text deferred.
Because Windws and Linux notebook tab icon and text drawing positions are different.

Revision 65841 - Directory Listing
Modified Wed Jan 10 03:49:23 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Tempory fixed the "Ctrl + Tab" not work on Linux problem.

Revision 65840 - Directory Listing
Modified Wed Jan 10 03:39:54 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Fixed a small problem.

Revision 65839 - Directory Listing
Modified Wed Jan 10 03:31:46 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
1. Draw close button for each notebook tab.
2. Draw notebook tabs icons and texts at correct x/y positions.
3. Added copy right informations.

Revision 65838 - Directory Listing
Modified Wed Jan 10 03:27:03 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Removed useless comments and cosmetics.

Revision 65837 - Directory Listing
Modified Wed Jan 10 03:24:57 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
The last commit of this class is wrong commit, sorry.

Added codes draw close button for each notebook tab.
Made tool bar button theme drawing style correct.

Revision 65836 - Directory Listing
Modified Wed Jan 10 03:22:39 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Made auto hide tab stubs borders colors and floating panels borders colors correct.

Revision 65835 - Directory Listing
Modified Wed Jan 10 03:21:37 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Made auto hide tab stubs borders colors and floating panels borders colors correct.

Revision 65768 - Directory Listing
Modified Tue Dec 26 07:29:41 2006 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection.

Revision 65767 - Directory Listing
Modified Tue Dec 26 07:28:25 2006 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection for bug#11753.

Revision 65766 - Directory Listing
Modified Tue Dec 26 05:43:06 2006 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Cosmetics.

Revision 65765 - Directory Listing
Modified Tue Dec 26 05:41:27 2006 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Make user no tool bar overlay.

Revision 65764 - Directory Listing
Modified Tue Dec 26 05:40:24 2006 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Updated related code for using EV_SHADOW_DIALOG.
Added missing code for setting pixel buffer in SD_TOOL_BAR_ZON_ASSISTANT.

Revision 65763 - Directory Listing
Modified Tue Dec 26 05:36:18 2006 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Handled docking a tab to itself case.
Added if protection.

Revision 65762 - Directory Listing
Modified Tue Dec 26 05:33:16 2006 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Updated 'floating_zones' feature related codes after SD_FLOATING_ZONE use SD_RESIZABLE_POPUP_WINDOW.
Make sure content_by_title_for_restore feature can find editor place holder content.

Revision 65761 - Directory Listing
Modified Tue Dec 26 05:28:58 2006 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
We ignore pointer press actions on editor place holder zone.
Made 'on_resize' feature use width/height value be query from widget's width/height directly, because sometime the a_width/a_height passed to feature is not correct.
Added if protection.

Revision 65760 - Directory Listing
Modified Tue Dec 26 05:17:31 2006 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Reimplemented minimize zone codes, now use can't drag the splitter if a zone is minimized.

Revision 65759 - Directory Listing
Modified Tue Dec 26 05:12:59 2006 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Fixed bug that if no mini tool bar widget but "<<" still displayed at starting.

Revision 65758 - Directory Listing
Modified Tue Dec 26 05:09:36 2006 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Made feature 'rectangle' result not void.

Revision 65757 - Directory Listing
Modified Tue Dec 26 05:06:36 2006 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Handling the case if one side tab void.

Revision 65756 - Directory Listing
Modified Tue Dec 26 05:04:32 2006 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Added feature 'update_middle_container' which will update user right SD_MIDDLE_CONTAINER base on if minimized.
Changed save/restore splitter position implementation from post order to pre order, because if post order we can't guarantee splitter position restored correctly.

Revision 65755 - Directory Listing
Modified Tue Dec 26 05:00:40 2006 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Made them inherit from SD_MIDDLE_CONTAINER for minimize issues.

Revision 65754 - Directory Listing
Modified Tue Dec 26 04:53:36 2006 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Added tool tips.

Revision 65753 - Directory Listing
Modified Tue Dec 26 04:53:02 2006 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection.


Revision 65752 - Directory Listing
Modified Tue Dec 26 04:51:21 2006 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
1.Made mini tool bar dialog, tool bar option dialog
2.Added right-click menu for all tool bar area except buttons which have pointer actions.

Revision 65751 - Directory Listing
Modified Tue Dec 26 04:39:50 2006 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Made SD_FLOATING_ZONE can use accelerators because we use popup windows instead of untitled dialog.

Revision 65750 - Directory Listing
Modified Tue Dec 26 03:52:58 2006 UTC (13 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Added is_menu_bar query, and better handling group counting issues in case of two separator stay together.

Revision 65749 - Directory Listing
Modified Tue Dec 26 03:49:04 2006 UTC (13 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
1.Remember if zone minimize state.
2.Let client programmers can set split position, query content state and set floating width/height.
3.Use a class to wrap parameters used in restore feature.
4.Remember which tab is selected between sessions.
5.Added related constants in SD_ENUMERATION.

Revision 65748 - Directory Listing
Modified Tue Dec 26 03:24:25 2006 UTC (13 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
1. Added SD_MENU_BAR support, which can make window text menu working like other tool bars. Then it can float and be dragged to different rows.
2. Better handling find editor top parent 
3. Added a creation method parameter in SD_TOOL_BAR_ZONE for SD_MENU_BAR. Added query function to query if the buttons within have pointer actions.
4. Made SD_UPPER_ZONE minimize issues works right, added SD_MIDDLE_CONTAINER, SD_HORIZONTAL_BOX and SD_VERTICAL_BOX which are used when a zone is minimized.

Revision 65747 - Directory Listing
Modified Tue Dec 26 02:45:50 2006 UTC (13 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
1.Added tool tips for tool bar buttons beside mini tool bars and the buttons on tool bar title bars.
2.Made zone navigation dialog showing accelerator configurable, on default value is Ctrl + Tab.
3.Made half-tone feedback line 2 time wider.
4.Gave notebook tab minimum width. Better handling drawing notebook tab when it's in narrow space.
5.Fixed bug for notebook tab which "X" button not cleared after pointer outside the tab, added on_pointer_enter and on_pointer_leave handling codes for it.

Revision 65746 - Directory Listing
Modified Tue Dec 26 01:25:44 2006 UTC (13 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Use STRING_GENERAL instead of STRING, so it can handling other languages.

Revision 65745 - Directory Listing
Modified Tue Dec 26 01:23:02 2006 UTC (13 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Use STRING_GENERAL instead of STRING, so it can handling other languages.

Revision 65706 - Directory Listing
Modified Fri Dec 22 07:51:54 2006 UTC (13 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Make Windows class tool bar buttons look exactly the same as Windows native flat style which have one-pixel border instead of two-pixel border.
Before we use native calls, which is not flat style classic looking, now we do it ourself.

Revision 65622 - Directory Listing
Modified Tue Dec 19 05:40:27 2006 UTC (13 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Refined behavior when resizing floating tool bar at left/right side.

Revision 65619 - Directory Listing
Modified Tue Dec 19 03:32:21 2006 UTC (13 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Refined behavior when resizing floating tool bar at left/right side.

Revision 65612 - Directory Listing
Modified Mon Dec 18 16:46:55 2006 UTC (13 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Updated to use new tool bar items grouping algorithm.

Revision 65485 - Directory Listing
Modified Tue Dec 12 06:06:15 2006 UTC (13 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Updated save notebook selected tab issues.

Revision 65484 - Directory Listing
Modified Tue Dec 12 06:04:15 2006 UTC (13 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Updated for new SD_TITLE_BAR and save notebook selected tab issues.

Revision 65483 - Directory Listing
Modified Tue Dec 12 05:44:39 2006 UTC (13 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Added a constant for new SD_TITLE_BAR which use EV_FIXED.

Revision 65482 - Directory Listing
Modified Tue Dec 12 05:42:11 2006 UTC (13 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Use EV_FIXED for SD_TITLE_BAR, so the mini tools bar related problem are all fixed. Such as set_parent error and top left floating mini toolbar problem when switching between normal and debug layout in Eiffel Studio project.

Revision 65368 - Directory Listing
Modified Tue Dec 5 08:03:41 2006 UTC (13 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Let all title bar buttons have tool tips.
Added "if" protection. 

Revision 65367 - Directory Listing
Modified Tue Dec 5 07:44:46 2006 UTC (13 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Added default floating screen x, y position queries.
Added tool tips for all buttons used in docking library.
Move singleton cell to implementation section.

Revision 65363 - Directory Listing
Modified Tue Dec 5 06:41:25 2006 UTC (13 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Removed testing codes for accelerators handling.
Added comments for how to solved the accelerator handling problem.
Join the Identifier_path_separator feature version from EV_IDENTIFIABLE.


Revision 64911 - Directory Listing
Modified Thu Nov 9 00:36:43 2006 UTC (13 years, 3 months ago) by konradm
Original Path: trunk/Src/library/docking
- Added compiler support for supplier preconditions.
- In finalized code the dynamic type is now used to detect whether assertions need to be checked.
- Implemented invariant checking in finalized code.
- Changed ecf files of libraries to not have any assertion checking.

Revision 64646 - Directory Listing
Modified Mon Oct 30 17:39:41 2006 UTC (13 years, 3 months ago) by patrickr
Original Path: trunk/Src/library/docking
cleaned up various configuration files

Revision 62218 - Directory Listing
Modified Tue Aug 1 23:07:31 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Implemented right tab text and pixmap position calculation.

Revision 62217 - Directory Listing
Modified Tue Aug 1 23:06:13 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Implemented right tab text and pixmap position calculation.

Revision 62216 - Directory Listing
Modified Tue Aug 1 23:05:03 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Implemented right tab text and pixmap position calculation.

Revision 62214 - Directory Listing
Modified Tue Aug 1 22:28:36 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Implemented right tab background position calculation.

Revision 62206 - Directory Listing
Modified Tue Aug 1 21:59:57 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Added a missing assignment.

Revision 62200 - Directory Listing
Modified Tue Aug 1 18:59:10 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Added GTK related implementation classes.


Revision 62190 - Directory Listing
Modified Tue Aug 1 03:35:04 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Added GTK implementation.

Revision 62189 - Directory Listing
Modified Tue Aug 1 03:34:50 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Added GTK implementation.

Revision 62188 - Directory Listing
Modified Tue Aug 1 03:32:18 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Removed contract because GTK limitation.

Revision 62187 - Directory Listing
Modified Tue Aug 1 03:30:39 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Export feature.

Revision 62186 - Directory Listing
Modified Tue Aug 1 03:30:10 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Added licience information.

Revision 61814 - Directory Listing
Modified Sat Jul 29 03:22:56 2006 UTC (13 years, 6 months ago) by jasonw
Original Path: trunk/Src/library/docking
Removed unused locals.

Revision 61812 - Directory Listing
Modified Sat Jul 29 03:11:15 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Switched calling orders.
(Sorry, I forgot what it is used for...)

Revision 61811 - Directory Listing
Modified Sat Jul 29 03:07:51 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Sometimes no notebook item is selected, them we use the item at index 1.

Revision 61810 - Directory Listing
Modified Sat Jul 29 03:06:12 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Added code to make sure widget parent is void.

Revision 61809 - Directory Listing
Modified Sat Jul 29 03:04:39 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Implemented a minimize behavior, but not good.
We will make it good in the future.

Revision 61806 - Directory Listing
Modified Sat Jul 29 02:56:54 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Added the ability to change user_widget dynamically.

Removed close button.

Revision 61803 - Directory Listing
Modified Sat Jul 29 02:54:59 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Added the ability to change user_widget dynamically.

Revision 61802 - Directory Listing
Modified Sat Jul 29 02:53:59 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed wrong showing as hot tracked problem.
This is caused by pointer motion actions are always called. But pointer enter/leave actions aren't always be called, only after pointer stayed in the target are for a while they will be called.



Revision 61801 - Directory Listing
Modified Sat Jul 29 02:49:15 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Made use Windows capture automatically for descends.

Revision 61800 - Directory Listing
Modified Sat Jul 29 02:47:52 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Handled theme changed actions.

Revision 61799 - Directory Listing
Modified Sat Jul 29 02:46:39 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Handled only one column item correctly.

Read string from SD_SHARED.

Revision 61798 - Directory Listing
Modified Sat Jul 29 02:45:12 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Moved query all zones in one EV_CONTAINER to SD_DOCKING_MANAGER_QUERY.

Added if has auto_hide_zone query to SD_DOCKING_MANAGER_QUERY.

Revision 61797 - Directory Listing
Modified Sat Jul 29 02:42:39 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Moved close button onto tabs.

Revision 61796 - Directory Listing
Modified Sat Jul 29 02:39:13 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Let whole docking library use only one instance of SD_NOTEBOOK_TAB_DRAWER.

Revision 61795 - Directory Listing
Modified Sat Jul 29 02:35:32 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Made show/hide indicators dynamically.

Revision 61794 - Directory Listing
Modified Sat Jul 29 02:33:06 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Added code to clear feedback indicator when no operation available.

Revision 61793 - Directory Listing
Modified Sat Jul 29 02:31:49 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Added a assertion.

Revision 61792 - Directory Listing
Modified Sat Jul 29 02:31:23 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Made all notebook tabs only use one EV_DRAWING_AREA, before each notebook tab was a EV_DRAWING_AREA.


Revision 61791 - Directory Listing
Modified Sat Jul 29 02:30:28 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Made all notebook tabs only use one EV_DRAWING_AREA, before each notebook tab was a EV_DRAWING_AREA.


Revision 61783 - Directory Listing
Modified Sat Jul 29 02:00:01 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Improved to let it change color when theme changed.

Revision 61782 - Directory Listing
Modified Sat Jul 29 01:58:50 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection.

Revision 61781 - Directory Listing
Modified Sat Jul 29 01:57:37 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Added default background query, because default background color in EV_STOCK_COLOR seem not chenged after theme changed.


Revision 61780 - Directory Listing
Modified Sat Jul 29 01:56:49 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Made auto-hide zone animation configurable.

Revision 61779 - Directory Listing
Modified Sat Jul 29 01:55:34 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Removed duplicated codes.

Revision 61778 - Directory Listing
Modified Sat Jul 29 01:53:46 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Let whole docking library use only one instance of SD_NOTEBOOK_TAB_DRAWER and SD_TOOL_BAR_DRAWER.

Make show all feedback indicators (not) same time, auto-hide zone revealing/hiding speed configurable.

Added default background query, because default background color in EV_STOCK_COLOR seem not chenged after theme changed.

Added SD_COLORS which is with responsibility for maintain colors singletons.

Revision 61776 - Directory Listing
Modified Sat Jul 29 01:38:43 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Improved to let it change color when theme changed.

Revision 61767 - Directory Listing
Modified Fri Jul 28 23:58:36 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Export feature.

Revision 61766 - Directory Listing
Modified Fri Jul 28 23:51:30 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Added the ability to change user_widget dynamically.

Revision 61764 - Directory Listing
Modified Fri Jul 28 23:18:49 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Improved to let it change color when theme changed.

Revision 61763 - Directory Listing
Modified Fri Jul 28 23:16:44 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Removed useless local.

Revision 61762 - Directory Listing
Modified Fri Jul 28 23:06:18 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Added feature update_user_widget, which will change widget which is showing to current user_widget in SD_CONTENT.

Revision 61761 - Directory Listing
Modified Fri Jul 28 21:07:03 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Let resize bar use Windows capture instead of heavy capture.

Revision 61760 - Directory Listing
Modified Fri Jul 28 21:04:12 2006 UTC (13 years, 6 months ago) by larryl
Original Path: trunk/Src/library/docking
Now client programmers can change user_widget dynamically.
With this feature, Eiffel Studio can create fake editors when starting. When editors focus in, create real editors widgets and replace `user_widget'. So the opening speed can be fast.

For SD_AUTO_HIDE_TAB_STATE, implemented change_pixmap feature.

Revision 61554 - Directory Listing
Modified Sat Jul 22 00:32:44 2006 UTC (13 years, 7 months ago) by manus
Original Path: trunk/Src/library/docking
Moved gobo.ecf to gobo directory. Updated existing .ecf file accordingly.

Revision 61516 - Directory Listing
Modified Thu Jul 20 19:23:37 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Removed useless locals.

Revision 61467 - Directory Listing
Modified Wed Jul 19 16:40:53 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Let Ctrl + Tab navigation dialog can show more informations about a tab.
Added description and detail to SD_CONTENT which are used by zone navigation dialog.

Revision 61353 - Directory Listing
Modified Fri Jul 14 19:02:01 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Should call caller's state instead of caller's content's state feature.
Because when caller is floating zone, content is void.

Revision 61352 - Directory Listing
Modified Fri Jul 14 19:00:36 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Floating state should record last_floating_width. last_floating_height too. 
Otherwise it's always 0, and when SD_HOT_ZONE_MAIN calculate title bar position will be a "divided by 0" problem.

Revision 61351 - Directory Listing
Modified Fri Jul 14 19:00:00 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Use Windows normal capture instead of heavy capture.

Revision 61350 - Directory Listing
Modified Fri Jul 14 18:59:16 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Floating state should record last_floating_width. last_floating_height too. 
Otherwise it's always 0, and when SD_HOT_ZONE_MAIN calculate title bar position will be a "divided by 0" problem.

Revision 61327 - Directory Listing
Modified Fri Jul 14 01:52:37 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
1.Make if user press on auto hide tab stub, then show it.
2.Now there is a timer before showing auto hide zones.

Revision 61325 - Directory Listing
Modified Fri Jul 14 01:03:49 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Cosmetics, comments remove unused locals.

Revision 61324 - Directory Listing
Modified Fri Jul 14 01:03:08 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Set pointer style to NO when no operation possible.

Revision 61323 - Directory Listing
Modified Fri Jul 14 01:02:22 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
We select Windows normal capture when we want enable capture, then we switch it back to heavy capture.


Revision 61320 - Directory Listing
Modified Fri Jul 14 00:32:13 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Now when opening layout config, we don't set focus. In other cases we call set focus when client programmers call zone operation methods.

Revision 61307 - Directory Listing
Modified Thu Jul 13 21:17:44 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Removed unused locals.

Revision 61306 - Directory Listing
Modified Thu Jul 13 21:17:21 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Added tool bar indicator which is at tail use EV_PIXEL_BUFFER.

Revision 61304 - Directory Listing
Modified Thu Jul 13 21:10:58 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Implemented new looking of Ctrl + Tab zone navigation dialog.

Revision 61302 - Directory Listing
Modified Thu Jul 13 19:08:08 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Made it directly use default window icon from EV_STOCK_PIXMAPS.

Revision 61301 - Directory Listing
Modified Thu Jul 13 19:05:38 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Added several new icons queries.

Revision 61287 - Directory Listing
Modified Thu Jul 13 17:20:42 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Change the order of call focus in actions. Because focus in actions may call set focus again, in this way it'll infinite loop.
Make SD_CONTENT hashable.

Revision 61178 - Directory Listing
Modified Tue Jul 11 16:54:57 2006 UTC (13 years, 7 months ago) by tedf
Original Path: trunk/Src/library/docking
Fixed one tab upper zone not change pixmap problem.

Revision 61156 - Directory Listing
Modified Mon Jul 10 20:36:22 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Should use SD_TITLE_BAR not SD_FLOATING_ZONE_TITLE_BAR.

Revision 61154 - Directory Listing
Modified Mon Jul 10 20:31:31 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
We disabled user resize here, so there is no ugly looking after user drag the dialog to large size.

Revision 61153 - Directory Listing
Modified Mon Jul 10 20:29:59 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Clear feedback rectangle it's not needed, the rectangle was already cleared.

Revision 61152 - Directory Listing
Modified Mon Jul 10 20:27:00 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Handle the case when last floating state datas not initialized.

Revision 61151 - Directory Listing
Modified Mon Jul 10 20:23:58 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Now flip image it's done by WEL_GDIP_BITMAP automatically, so we removed the codes.

Revision 61150 - Directory Listing
Modified Mon Jul 10 20:21:17 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed bug: clients should not call floating zone's destroy routine directly. They should use update_title_bar routine.
Fixed bug: sometimes update_last_content_state will get void parent. Now update_last_content_state feature require pass a widget parent parameter.
Added if protection to SD_FLOATING_ZONE's focus in/out features.

Revision 61149 - Directory Listing
Modified Mon Jul 10 20:05:31 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Enable capture immediately after user pointer pressed.
This can fixed the problem dragging actions can't be called when user dragging at the border of dragging area.

Revision 61148 - Directory Listing
Modified Mon Jul 10 20:01:29 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Export feature to SD_DEBUG_ACCESS.

Revision 61147 - Directory Listing
Modified Mon Jul 10 20:00:52 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Removed set focus codes.
So for auto hide zone during opening layout config, it'll not slide anymore.

Revision 61146 - Directory Listing
Modified Mon Jul 10 19:56:32 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Added default setting.

Revision 61144 - Directory Listing
Modified Mon Jul 10 19:55:52 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Changed to use new EV_POINTER_STYLE.

Revision 61143 - Directory Listing
Modified Mon Jul 10 19:48:55 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Modified comment and added debug information.

Revision 61142 - Directory Listing
Modified Mon Jul 10 19:48:10 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed bug that set notebook tab position but the drawing not updated.

Revision 61141 - Directory Listing
Modified Mon Jul 10 19:47:16 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Removed unused locals.

Revision 61140 - Directory Listing
Modified Mon Jul 10 19:46:38 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Finish implementations of new tool bar group items algorithm.
Now the calculations are fast and the result is as good as the original slow one.

Revision 61136 - Directory Listing
Modified Mon Jul 10 17:58:58 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
We reset EV_SCREEN instance when user starting a dragging operation. 
This can fix the dc update problem that user switch between normal video card screen dc and remote desktop screen dc.

Revision 61134 - Directory Listing
Modified Mon Jul 10 17:53:45 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Moved helper routines to WEL_BITMAP_HELPER.

Revision 61029 - Directory Listing
Modified Thu Jul 6 22:15:47 2006 UTC (13 years, 7 months ago) by tedf
Original Path: trunk/Src/library/docking
Added protection for the case that content was void.

Revision 61028 - Directory Listing
Modified Thu Jul 6 22:14:33 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Added has_focus query to SD_CONTENT.
Added focused_content query to SD_DOCKING_MANAGER.

Revision 61021 - Directory Listing
Modified Thu Jul 6 21:13:19 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Added missing update title bar's stuff codes.

Revision 60880 - Directory Listing
Modified Fri Jun 30 18:30:33 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
We only can drag actions once.
This make things easier.

Revision 60879 - Directory Listing
Modified Fri Jun 30 18:29:52 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Use EV_PIXEL_BUFFER to show SD_FEEDBACK_INDICATORs.
So it works in all color depth. Before it's only work in 16bits.

Revision 60830 - Directory Listing
Modified Thu Jun 29 23:35:49 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Added is_title_unique query to docking manager.

Revision 60827 - Directory Listing
Modified Thu Jun 29 23:02:36 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Made query of unique title default to True.

Revision 60825 - Directory Listing
Modified Thu Jun 29 22:59:23 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
1.Added feature to change the unique_title which is used for store docking layout.
2.Added comments, rename parameter to a better name.


Revision 60807 - Directory Listing
Modified Thu Jun 29 21:00:20 2006 UTC (13 years, 7 months ago) by tedf
Original Path: trunk/Src/library/docking
Added a if protection so it works like a set, no same instances.

Revision 60760 - Directory Listing
Modified Thu Jun 29 14:48:55 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
After called drag_actions we set "pressed" flag to False. Otherwise sometime the "pressed" flag always is True.
Such as " auto hide tab -> pin it -> drag it -> finish drag". Then the title bar of dragged zone will always automatically start dragging.

Revision 60757 - Directory Listing
Modified Thu Jun 29 00:22:58 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Now we only handle the case that pointer position changed.
Because sometime when the pointer actually not moved, but pointer motion actions it's still be called endlessly.

Revision 60756 - Directory Listing
Modified Thu Jun 29 00:21:08 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Directly use a integer in C external to make it VC6 compliance.

Revision 60716 - Directory Listing
Modified Wed Jun 28 16:21:43 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Revised class comments.

Revision 60715 - Directory Listing
Modified Wed Jun 28 16:20:47 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Removed code for starting Gdi+ in creation method (now it's doing automatically in Wel Gdi+ classes).



Revision 60714 - Directory Listing
Modified Wed Jun 28 16:19:09 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Rename feature name to a better name.

Revision 60713 - Directory Listing
Modified Wed Jun 28 16:18:34 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Updated code due to class name changed.

Revision 60712 - Directory Listing
Modified Wed Jun 28 16:17:44 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Improved for Gdi object leak.
Handle pointer motion actions during pick and drop.

Revision 60711 - Directory Listing
Modified Wed Jun 28 16:13:00 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Rename internal_animation to animation, export it to SD_DOCKING_MANAGER_AGENTS.
It's for handle pointer motions during pick and drop.

Revision 60708 - Directory Listing
Modified Wed Jun 28 16:11:14 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Added a additional condition before show the content.

Revision 60706 - Directory Listing
Modified Wed Jun 28 16:10:10 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Added pixel_buffer feature, so we can overcome different color depth problems.

Revision 60705 - Directory Listing
Modified Wed Jun 28 16:07:42 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Implemented auto-hide tab stub handle pointer motion actions during pick and drop.

Revision 60704 - Directory Listing
Modified Wed Jun 28 16:02:57 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection for veto_pebble_function.

Revision 60703 - Directory Listing
Modified Wed Jun 28 16:02:10 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Export destroy feature.

Revision 60563 - Directory Listing
Modified Tue Jun 27 14:55:31 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Handle the case when zone is void.

Revision 60560 - Directory Listing
Modified Tue Jun 27 14:53:23 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Remove useless locals. 
Made a items twin before operation.

Revision 60555 - Directory Listing
Modified Tue Jun 27 14:44:54 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed a bug that don't resize when change last notebook tab zone's state.

Revision 60553 - Directory Listing
Modified Tue Jun 27 14:41:37 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Added dependency checker, which only deal with check library dependency. On windows it check if Gdi+ if installed, if not give user a warning.

Revision 60551 - Directory Listing
Modified Tue Jun 27 14:36:33 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Use ARRAYED_SET instead ARRAYED_LIST which is more suitable.

Revision 60549 - Directory Listing
Modified Tue Jun 27 14:34:26 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Made default description and icon better.


Revision 60489 - Directory Listing
Modified Tue Jun 27 01:07:15 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed bug when hide not hide parent split area, and the bug when show not show parent split area.

Revision 60487 - Directory Listing
Modified Tue Jun 27 00:27:14 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Added pixel buffer feature, so it can fix desaturation problem in non-32 bits mode.

Revision 60486 - Directory Listing
Modified Tue Jun 27 00:25:14 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
1.Explicitly call destroy on a EV_TOOL_BAR, otherwise there will be Gdi object leak.
2.Use select actions instead of pointer press actions, so actions not performed so early.

Revision 60485 - Directory Listing
Modified Tue Jun 27 00:22:20 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Adjusted drawing height of a icon, so it's center aligned with the text.
Export some query features.

Revision 60484 - Directory Listing
Modified Tue Jun 27 00:17:34 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Partly implemented minimize functionality of editors notebook.

Revision 60483 - Directory Listing
Modified Tue Jun 27 00:11:10 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
When showing hidden tabs dialog, let user can input a word to search when keyboard focus in labels.

Revision 60482 - Directory Listing
Modified Tue Jun 27 00:09:04 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Added is_visible feature to record if user widget is visible.

Revision 60481 - Directory Listing
Modified Tue Jun 27 00:08:07 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
1. Add code to add editor place holder zone in rescue clause.
2. Remember if zone is visible when save config. When open config, set invisible if config data is not visible.

Revision 60474 - Directory Listing
Modified Mon Jun 26 23:50:13 2006 UTC (13 years, 7 months ago) by larryl
Original Path: trunk/Src/library/docking
Use WEL Gdi+ classes to draw desaturated tool bar icons instead of directly using C externals.
Handled if pixel buffer is not available, we use Gdi to desaturated icons.


Revision 60397 - Directory Listing
Modified Mon Jun 26 15:59:32 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Query color directly instead of query it from EV_GRID.

Revision 60396 - Directory Listing
Modified Mon Jun 26 15:58:29 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed a bug when pointer double pressed, it should not call itself.

Revision 60395 - Directory Listing
Modified Mon Jun 26 15:54:50 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Increased 2 pixel height of title bars.

Revision 59747 - Directory Listing
Modified Wed Jun 14 00:17:50 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Record width/height of a zone before it off-screen.
Because when it's off-screen, the size will be 0.

Revision 59746 - Directory Listing
Modified Wed Jun 14 00:17:26 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Record width/height of a zone before it off-screen.
Because when it's off-screen, the size will be 0.

Revision 59701 - Directory Listing
Modified Tue Jun 13 16:38:12 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Inherit EV_ANY for export features.

Revision 59697 - Directory Listing
Modified Tue Jun 13 15:53:05 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Updated license informations.

Revision 59667 - Directory Listing
Modified Tue Jun 13 00:39:48 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Fix a typo error.

Revision 59666 - Directory Listing
Modified Tue Jun 13 00:38:39 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection.

Revision 59665 - Directory Listing
Modified Tue Jun 13 00:38:11 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Added default settings.

Revision 59664 - Directory Listing
Modified Tue Jun 13 00:37:44 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Added code to set SD_ICONS_SINGLETON instance to SD_SHARED.

Revision 59663 - Directory Listing
Modified Tue Jun 13 00:36:52 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Added obsolete message.

Revision 59662 - Directory Listing
Modified Tue Jun 13 00:36:25 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Implemented for drawing classic down side notebook tabs.
Added features to query bits and info of WEL_BITMAPs.

Revision 59661 - Directory Listing
Modified Tue Jun 13 00:33:23 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Implemented new desaturation pixmap functions which is complete the same effect as .Net ToolStripRender createDisabledImage function.

Revision 59646 - Directory Listing
Modified Mon Jun 12 16:12:37 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Added required libraries.

Revision 59607 - Directory Listing
Modified Fri Jun 9 19:49:08 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Updated to use new SD_ENUMERATION class.

Revision 59606 - Directory Listing
Modified Fri Jun 9 19:44:36 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Remove empty split area will be called only at the time real unlock update.

Revision 59605 - Directory Listing
Modified Fri Jun 9 19:43:40 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Updated codes to call build indicators.
Use new SD_HOT_ZONE_FACTORY_FACTORY to get SD_HOT_ZONE_FACTORY instance instead of USE SD_SYSTEM_COLOR_IMP.

Revision 59604 - Directory Listing
Modified Fri Jun 9 19:41:00 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Added feature "contents_editors" which will return all editor type contents.

Revision 59603 - Directory Listing
Modified Fri Jun 9 19:39:48 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Updated for editor place holder content.

Revision 59602 - Directory Listing
Modified Fri Jun 9 19:36:00 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Added feature "regroup_after_customize", it's be called after customize a tool bar zone.
Added more debug informations.

Revision 59600 - Directory Listing
Modified Fri Jun 9 19:26:02 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
1.Fixed bug can't prune parent SD_FLOATING_TOOL_BAR_ZONE.
2.When a tool bar dock, it should enable capture.

Revision 59599 - Directory Listing
Modified Fri Jun 9 19:24:24 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Added feature `reposition', so it can make sure not tool bars overlap.

Revision 59597 - Directory Listing
Modified Fri Jun 9 19:21:45 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Removed a useless line.

Revision 59596 - Directory Listing
Modified Fri Jun 9 19:20:51 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Implemented a new tool bar item group algorithm which is much faster than before.
But it's not perfect yet, more commits will come.

Revision 59594 - Directory Listing
Modified Fri Jun 9 18:19:04 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
1.We made a area sepcial at the beginning of tool bar row, in this area user can easily drag a tool bar to the begining of tool bar row.Otherwise, user must drag a tool bar  very carefully.
2.Query if Ctrl key pressed from EV_APPLICATION instead of doing it ourself.

Revision 59593 - Directory Listing
Modified Fri Jun 9 18:02:15 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Implemented hide normal widget tool bar items when docking vertically.

Revision 59592 - Directory Listing
Modified Fri Jun 9 18:00:35 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Added feature "force", so a tool bar item can extend to a index position directly.

Revision 59590 - Directory Listing
Modified Fri Jun 9 16:45:02 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Extract "build_indicator" feature.

Revision 59586 - Directory Listing
Modified Fri Jun 9 15:28:44 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Added set_default_editor_position that can set a editor content to show at "editor zone place holder" position.
Added code to set minimum size of a user_widget to 0 size.

Revision 59585 - Directory Listing
Modified Fri Jun 9 15:24:41 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Make docking manager support save/open tools/editors layout separately.

Revision 59584 - Directory Listing
Modified Fri Jun 9 15:22:56 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Make update_indicator can deal with the case that when tool bar is floating.
Make open_items_layout do some finish work.

Revision 59583 - Directory Listing
Modified Fri Jun 9 14:38:11 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Implemented feature "is_displayed".

Revision 59582 - Directory Listing
Modified Fri Jun 9 14:36:41 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Changed a little bit to the contract.

Revision 59577 - Directory Listing
Modified Fri Jun 9 00:31:50 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Added pointer press actions support for SD_TOOL_BAR_ITEMS.

Revision 59576 - Directory Listing
Modified Fri Jun 9 00:25:41 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Added warning comment to say that query pixmap from EV_TOOL_BAR_ITEM will lost all alpha datas.
This is because Windows Gdi will set all alpha datas to 0 , or do somethings lost alpha datas.

Revision 59572 - Directory Listing
Modified Thu Jun 8 23:56:49 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Updated code to support new editor place holder content.

Revision 59570 - Directory Listing
Modified Thu Jun 8 23:55:18 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Add factory method codes for editor place holder zone.

Revision 59569 - Directory Listing
Modified Thu Jun 8 23:53:28 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
It seem there is bugs in "prune_all" function, so use first "start" then "prune".
Because title bar custom area set_parent works now, restore codes of extend custom area, wipe out custom area. 

Revision 59568 - Directory Listing
Modified Thu Jun 8 23:48:47 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Make feature zone recursive can do with more generic EV_CONTAINERs.
Added editor related features, the most important one is "editor_parent" which can query the top container of all editors. It's useful when save editors docking layout.

Revision 59567 - Directory Listing
Modified Thu Jun 8 23:39:07 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Notebook will resize tabs when client programmers change the text of tabs, because change texts will cause tabs size change.
When switch tabs, it'll lock update.

Revision 59565 - Directory Listing
Modified Thu Jun 8 23:34:15 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Use like keyword instead of fix the class type of a argument.

Revision 59563 - Directory Listing
Modified Thu Jun 8 23:32:04 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Extract direction enumeration from SD_DOCKING_MANAGER, content type enumeration from SD_SHARED to a new class SD_ENUMERATION.
Updated related classes.

Revision 59555 - Directory Listing
Modified Thu Jun 8 22:08:38 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Added ability to save/open tools or editors layouts separately.
Before we only have the ability to save/open whole docking layouts.

Revision 59554 - Directory Listing
Modified Thu Jun 8 21:58:59 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Removed feature "hot zone factory" from SD_SYSTEM_COLOR_IMP to SD_HOT_ZONE_FACTORY_FACTORY to make it clear.


Revision 59551 - Directory Listing
Modified Thu Jun 8 21:49:31 2006 UTC (13 years, 8 months ago) by larryl
Original Path: trunk/Src/library/docking
Added editor place holder zone, so if there is no editor there will be a place holder zone to keep the place for editors.

Revision 59055 - Directory Listing
Modified Thu May 18 17:14:14 2006 UTC (13 years, 9 months ago) by patrickr
Original Path: trunk/Src/library/docking
changed default assertion level of libraries to require only

Revision 59034 - Directory Listing
Modified Wed May 17 20:16:53 2006 UTC (13 years, 9 months ago) by manus
Original Path: trunk/Src/library/docking
Renamed all .acex file into .ecf file as requested to match the
  definition we currently give in the open dialog (Eiffel Config File).
  It also makes life easier when building Windows installation since
  we don't need to use the short name with the wrong extension (use ACE
  instead of ACEX).
Updated Eiffel code that was using the acex manifest constant to use a constant
  whenever it was possible.


Revision 58921 - Directory Listing
Modified Fri May 12 00:31:18 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Rename file name same as class name.
Added feature to query invisible items.

Revision 58920 - Directory Listing
Modified Fri May 12 00:23:33 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Rename all files name to same as class name.

Revision 58833 - Directory Listing
Modified Wed May 10 00:37:45 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Rename "a_tool_bar" to "a_zone".
Export "destroy" feature.

Revision 58832 - Directory Listing
Modified Wed May 10 00:35:49 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
When float a tool bar, if its parent row do not have other tool bars, then prune its parent row (SD_TOOL_BAR_ROW) from the parent's parent.
Add feature to query parent row.

Revision 58831 - Directory Listing
Modified Wed May 10 00:33:38 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Changed tool bar manager behavior:
  After add tool bar content (SD_TOOL_BAR_CONTENT), client programmer need to call "set_top" feature of SD_TOOL_BAR_CONTENT, then it can shown on the screen.
  Now, this (SD_TOOL_BAR_CONTENT) is similar behavior as SD_CONTENT.

Revision 58830 - Directory Listing
Modified Wed May 10 00:25:29 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Added forgotten codes, to set visible when restore layout configuration.

Revision 58829 - Directory Listing
Modified Wed May 10 00:23:58 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Redefined "close" feature for SD_STATE_VOID.

Revision 58828 - Directory Listing
Modified Wed May 10 00:23:09 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Removed unnecessary codes.

Revision 58827 - Directory Listing
Modified Wed May 10 00:21:56 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Because new Eiffel Studio configuration system visible rules, so added SD_DEBUG_ACCESS class to be a ancestor of the classes which need to access docking library internal features.

Revision 58826 - Directory Listing
Modified Wed May 10 00:20:36 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Added precondition, because we added is_visible feature to SD_CONTENT.

Revision 58825 - Directory Listing
Modified Wed May 10 00:19:27 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection.

Revision 58824 - Directory Listing
Modified Wed May 10 00:17:20 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Because new Eiffel Studio configuration system visible rules, so added SD_DEBUG_ACCESS class to be a ancestor of the classes which need to access docking library internal features.

Revision 58823 - Directory Listing
Modified Wed May 10 00:07:49 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Updated due to the change that we can load RGBA DIB pixmap.


Revision 58822 - Directory Listing
Modified Tue May 9 23:57:10 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Move feature "ignore_update" to private section.

Revision 58821 - Directory Listing
Modified Tue May 9 23:56:09 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Added if protection.

Revision 58820 - Directory Listing
Modified Tue May 9 23:48:12 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Improved SD_TOOL_BAR:
  1.Query text width use font from EV_DRAWING_AREA now.
  2.Added SD_TOOL_BAR_RADIO_BUTTON which have same feature as EV_TOOL_BAR_RADIO_BUTTON.
  3.Use ARRAYED_SET instead of ARRAYED_LIST to store SD_TOOL_BAR_ITEMS.
  4.Added default pixmap and description for SD_TOOL_BAR_WIDGET_ITEM.
  5.Fixed SD_TOOL_BAR_TOGGLE_BUTTON state issues after clicked or enable_selected.

Revision 58818 - Directory Listing
Modified Tue May 9 23:27:29 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Zone height increase 1 pixel, so it can show bottom border when minimized.

Revision 58788 - Directory Listing
Modified Tue May 9 00:27:15 2006 UTC (13 years, 9 months ago) by tedf
Original Path: trunk/Src/library/docking
First acex for docking library.

Revision 58734 - Directory Listing
Modified Sat May 6 00:46:52 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Added feature dock_last_state_for_hide, used by SD_TOOL_BAR_CONTENT show.

Revision 58733 - Directory Listing
Modified Sat May 6 00:40:43 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Added several querys.

Revision 58732 - Directory Listing
Modified Sat May 6 00:39:39 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
After ev_load_pixmap.c can load RGBA dib pixmaps, SD_FEEDBACK_INDICATOR can directly use a EV_PIXMAP.

Revision 58731 - Directory Listing
Modified Sat May 6 00:33:05 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Made SD_TOOL_BAR_CONTENT hashable.

Revision 58730 - Directory Listing
Modified Sat May 6 00:30:57 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Classes inherit SD_DRAWING_AREA does not force to implement update_for_pick_and_drop.

Revision 58729 - Directory Listing
Modified Sat May 6 00:27:23 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Reduced widget level, improved efficiency.

Revision 58728 - Directory Listing
Modified Sat May 6 00:23:33 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Reduced widget level.

Revision 58727 - Directory Listing
Modified Sat May 6 00:21:03 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
At begin, we want change items layout to vertical items layout if possible.
But actually it seems when twin a EV_CONTAINER, there is contract broken.
If we don't twin the EV_CONTAINER, we can make item parent void before extend a item.

Revision 58726 - Directory Listing
Modified Sat May 6 00:13:29 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Remove "clear", so it's really double buffered when drawer draw it.

Revision 58725 - Directory Listing
Modified Sat May 6 00:12:00 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Add is_visible query to SD_CONTENT and SD_TOOL_BAR_CONTENT.
Then we can know if the content is shown in docking library.
(If the content is a tab which pin at side of main window, is_visible is True.)

Added rescue for SD_DOCKING_STATE, SD_AUTO_HIDE_STATE, when contract broken, we should make sure window is unlock updated.

Revision 58661 - Directory Listing
Modified Tue May 2 23:10:12 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Simplify the code to make it clear.

Revision 58660 - Directory Listing
Modified Tue May 2 23:09:06 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Make it a little bit bigger, so it can contain whole standard Eiffel Studio icons.

Revision 58658 - Directory Listing
Modified Tue May 2 23:06:15 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Add support to added normal EV_WIDGET objects into SD_TOOl_BAR.

Revision 58657 - Directory Listing
Modified Tue May 2 22:46:26 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Remove unnecessary codes to improve efficiency.

Revision 58559 - Directory Listing
Modified Fri Apr 28 18:08:41 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Added if clause to make it works fine on GTK.

Revision 58557 - Directory Listing
Modified Fri Apr 28 18:07:24 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Let notebook tab inherit from drawing area.
Improved some efficiency.

Revision 58556 - Directory Listing
Modified Fri Apr 28 18:05:50 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Make drawer interface works with GTK implementation.

Revision 58533 - Directory Listing
Modified Fri Apr 28 00:22:36 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Move file to right place.

Revision 58531 - Directory Listing
Modified Thu Apr 27 23:28:27 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Added classes to support draw notebook tabs.

Revision 58530 - Directory Listing
Modified Thu Apr 27 23:06:24 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
To let a a floating tab zone resize all tabs when user resizing the floating zone.

Revision 58529 - Directory Listing
Modified Thu Apr 27 23:05:05 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Implemented draw classic notebooks tabs.
Improved (position issues) draw xp tabs.


Revision 58507 - Directory Listing
Modified Thu Apr 27 01:48:52 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Set default to show all feedback indicators same time.


Revision 58506 - Directory Listing
Modified Thu Apr 27 01:45:58 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Change mini tool bar type from EV_TOOL_BAR to EV_WIDGET.

Revision 58505 - Directory Listing
Modified Thu Apr 27 01:45:14 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Add make_with_items creation method.
Add show/hide wipe_out features.

Revision 58504 - Directory Listing
Modified Thu Apr 27 01:43:18 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Add support for tool bar items layout.

Revision 58503 - Directory Listing
Modified Thu Apr 27 01:42:26 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Added wipe out feature.
Export show/hide is_displayed feature.


Revision 58502 - Directory Listing
Modified Thu Apr 27 01:40:29 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Added support for save tool bar items layout.

Revision 58501 - Directory Listing
Modified Thu Apr 27 01:39:37 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Export features.

Revision 58500 - Directory Listing
Modified Thu Apr 27 01:38:34 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Export a feature.

Revision 58499 - Directory Listing
Modified Thu Apr 27 01:38:10 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Added code to call resize actions.
This is side effect of changing in EV_FIX.

Revision 58498 - Directory Listing
Modified Thu Apr 27 01:36:47 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Added code to call resize actions.


Revision 58497 - Directory Listing
Modified Thu Apr 27 01:35:50 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Remember last floating width/height.

Revision 58496 - Directory Listing
Modified Thu Apr 27 01:34:06 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Made constant to a feature.

Revision 58495 - Directory Listing
Modified Thu Apr 27 01:32:44 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Use Vision2 c code to load pixmaps with alpha data.
Add fading effect when closing.

Revision 58494 - Directory Listing
Modified Thu Apr 27 01:27:05 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Added if clause when destroy feedback indicators.
Calculate left dragging position if orignal dragging position is out of feedback rectangle.
Added debug information, to test it on a Visual Studio machine...

Revision 58492 - Directory Listing
Modified Thu Apr 27 01:17:44 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Added if clause.

Revision 58491 - Directory Listing
Modified Thu Apr 27 01:16:43 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Rename SD_ZONE's feature from "set_title_bar_selection_color" to "set_focus_color".



Revision 58490 - Directory Listing
Modified Thu Apr 27 01:15:44 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
When use Remote Desktop on Windows system, it's change to use old style docking feedback.


Revision 58489 - Directory Listing
Modified Thu Apr 27 01:06:30 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Modified comment.

Revision 58488 - Directory Listing
Modified Thu Apr 27 01:05:27 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Rename SD_ZONE's feature from "set_title_bar_selection_color" to "set_focus_color".



Revision 58487 - Directory Listing
Modified Thu Apr 27 01:04:46 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Improved SD_TOOL_BAR:
  Made it support pick and drop.
  Made it support tooltip.
  Added forgotten features: enable_select and disable_select.
  When disable, draw a desatuation pixmap instead of monochrom pixmap.

Revision 58486 - Directory Listing
Modified Thu Apr 27 01:04:01 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Improved SD_TOOL_BAR:
  Made it support pick and drop.
  Made it support tooltip.
  Added forgotten features: enable_select and disable_select.
  When disable, draw a desatuation pixmap instead of monochrom pixmap.

Revision 58485 - Directory Listing
Modified Thu Apr 27 00:56:58 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Made mini tool bar works right.
Format codes and added comments.

Revision 58484 - Directory Listing
Modified Thu Apr 27 00:53:23 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Changed position of drawing pixmap when vertical, to make it looks nice.

Revision 58483 - Directory Listing
Modified Thu Apr 27 00:51:48 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Rename SD_ZONE's feature from "set_title_bar_selection_color" to "set_focus_color".
Made SD_DOCKING_ZONE_UPPER focus color issues work right.


Revision 58481 - Directory Listing
Modified Thu Apr 27 00:47:33 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Use Windows Xp theme manager to draw notebook tabs.

Revision 58480 - Directory Listing
Modified Thu Apr 27 00:27:03 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Use Windows theme drawer to draw notebook tabs.

Revision 58479 - Directory Listing
Modified Thu Apr 27 00:25:47 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Changed class description.

Revision 58478 - Directory Listing
Modified Thu Apr 27 00:24:57 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Add support to record tool bar items layout (items orders, if displayed).
Move 

Revision 58477 - Directory Listing
Modified Thu Apr 27 00:19:55 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Added button text color which is queried by SD_NOTEBOOK_TAB_DRAWER_IMP.

Revision 58476 - Directory Listing
Modified Thu Apr 27 00:18:06 2006 UTC (13 years, 9 months ago) by larryl
Original Path: trunk/Src/library/docking
Changed default floating zone width/height, to let it fit Eiffel Studio Search Tool' size.
Added to_implement comments.

Revision 58442 - Directory Listing
Modified Tue Apr 25 00:40:02 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Removed `set_minimum_size' line to let it not resize on GTK.
On Windows it works fine.


Revision 58438 - Directory Listing
Modified Mon Apr 24 22:29:56 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Added codes for enable floating zone user resize.


Revision 58437 - Directory Listing
Modified Mon Apr 24 22:22:18 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Added insenstive pixmap support.


Revision 58435 - Directory Listing
Modified Mon Apr 24 19:18:51 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Add enable capture and disable capture code to make Windows and Gtk have same behaviour.
On Windows a widget always have capture when it's off-screen or on-screen.
But on Gtk, we need first disable_capture then enable capture, it's off-screen widget, it'll not have capture when it show again.


Revision 58433 - Directory Listing
Modified Mon Apr 24 18:58:50 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Add enable capture and disable capture code to make Windows and Gtk have same behaviour.
On Windows a widget always have capture when it's off-screen or on-screen.
But on Gtk, we need first disable_capture then enable capture, it's off-screen widget, it'll not have capture when it show again.


Revision 58432 - Directory Listing
Modified Mon Apr 24 18:57:54 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Add enable capture and disable capture code to make Windows and Gtk have same behaviour.
On Windows a widget always have capture when it's off-screen or on-screen.
But on Gtk, we need first disable_capture then enable capture, it's off-screen widget, it'll not have capture when it show again.


Revision 58412 - Directory Listing
Modified Sat Apr 22 01:52:54 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Added debug informations to see difference between Windows  and GTK.

Revision 58410 - Directory Listing
Modified Sat Apr 22 01:02:22 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed tool bar not to draw background when state is normal.

Revision 57946 - Directory Listing
Modified Thu Mar 30 22:29:18 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Because MATH_CONST export it's pi value now, so we can direct use it.

Revision 57944 - Directory Listing
Modified Thu Mar 30 22:25:09 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Added "if" protection before unlock_update.

Revision 57943 - Directory Listing
Modified Thu Mar 30 22:24:08 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Changed to short function names.

Revision 57942 - Directory Listing
Modified Thu Mar 30 22:22:55 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Add query to know all SD_FLOATING_ZONEs in current system.

Revision 57941 - Directory Listing
Modified Thu Mar 30 22:21:31 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
There is a position bug when show feedback indicator, now fixed.

Revision 57940 - Directory Listing
Modified Thu Mar 30 22:20:46 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
SD_TOOL_BAR_DRAWER will handle theme changed actions.

Revision 57939 - Directory Listing
Modified Thu Mar 30 22:20:04 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Export is_displayed feature.

Revision 57938 - Directory Listing
Modified Thu Mar 30 22:19:29 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Cosmetics.

Revision 57937 - Directory Listing
Modified Thu Mar 30 22:17:19 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Add focus_in and focus_out actions, so SD_DOCKING_MANAGER and hide/show all SD_TOOL_BAR_ZONE when our application not have focus.
However, this feature it's not completed for we don't have a window which is never have focus now.

Revision 57936 - Directory Listing
Modified Thu Mar 30 22:15:18 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
It have to deal with both x and y position at same time.

Revision 57935 - Directory Listing
Modified Thu Mar 30 22:10:12 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Pass screen_x and screen_y to SD_TOOL_BAR_HOT_ZONE, before there is a bug, we have to pass both screen_x and screen_y.

Revision 57934 - Directory Listing
Modified Thu Mar 30 22:06:28 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Rename "internal_tool_bar_zone" to "zone".

Revision 57933 - Directory Listing
Modified Thu Mar 30 22:04:07 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Change class comments.

Revision 57931 - Directory Listing
Modified Thu Mar 30 22:03:30 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Added contracts and re-implementated some codes for position and resize tool bar zones in on SD_TOOL_BAR_ROW.

Revision 57930 - Directory Listing
Modified Thu Mar 30 22:00:41 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Update minimum size when change direction.

Revision 57929 - Directory Listing
Modified Thu Mar 30 21:58:27 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Added forgotten implementation.

Revision 57928 - Directory Listing
Modified Thu Mar 30 21:55:57 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Change some UI looks, it's better but not finished.

Revision 57927 - Directory Listing
Modified Thu Mar 30 21:54:34 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
We should first update_indicator then compute_minimum_size, otherwise size calculation is not right.

Revision 57926 - Directory Listing
Modified Thu Mar 30 21:52:09 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Rename long function names to short function names.

Revision 57925 - Directory Listing
Modified Thu Mar 30 21:49:47 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Now it can draw vertical text when it's vertical docked at left/right side.

Revision 57924 - Directory Listing
Modified Thu Mar 30 21:48:47 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Now SD_DOCKING_MANAGER's resize actions have `a_force' argument, it means if a_force is True, docking manager will always resize all widgets.

Revision 57923 - Directory Listing
Modified Thu Mar 30 21:38:06 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Added code to deal with case that there is no suitable position.

Revision 57922 - Directory Listing
Modified Thu Mar 30 21:35:07 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Move all initialize actions codes to one function.

Revision 57921 - Directory Listing
Modified Thu Mar 30 21:33:13 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Add support for convert from EV_TOOL_BAR_TOGGLE_BUTTON to SD_TOOL_BAR_TOGGLE_BUTTON.

Revision 57819 - Directory Listing
Modified Tue Mar 28 02:30:30 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Call resize actions when added SD_TOOL_BAR_ZONE to SD_TOOL_BAR_ROW.

Revision 57818 - Directory Listing
Modified Tue Mar 28 02:29:21 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Added some suggestion comments.

Revision 57817 - Directory Listing
Modified Tue Mar 28 02:28:38 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Rename feature.

Revision 57816 - Directory Listing
Modified Tue Mar 28 02:27:47 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Added contract, remove debug clauses.

Revision 57815 - Directory Listing
Modified Tue Mar 28 02:26:08 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Now with these two classes, SD_TOOL_ZONE can resize when there is not enough space.

Revision 57814 - Directory Listing
Modified Tue Mar 28 02:12:06 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
When notify vertical tool bar zone, manager should subtract tool bar height at top and bottom.

Revision 57813 - Directory Listing
Modified Tue Mar 28 02:08:53 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Assistant help SD_FLOATING_TOOL_BAR_ZONE position items.

Revision 57812 - Directory Listing
Modified Tue Mar 28 02:06:50 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Classed for customize SD_TOOL_BAR_ZONEs.

Revision 57811 - Directory Listing
Modified Tue Mar 28 02:05:23 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
SD_TOOL_BAR_ZONE state which will store last screen_x, screen_y, dock position and size informations.

Revision 57810 - Directory Listing
Modified Tue Mar 28 02:01:08 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
New feedback indicator which use windows UpdateLayeredWindow API.

Revision 57809 - Directory Listing
Modified Tue Mar 28 01:52:28 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Added SD_TOOL_BAR_HIDDEN_GROUP_DIVIDER, so when there are too many hidden tool bar items, it'll wrap to different lines.

Revision 57808 - Directory Listing
Modified Tue Mar 28 01:50:42 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Fix a bug when SD_FLOATING_TOOL_BAR_ZONE just initialized, internal_pointer_direction not setted.

Revision 57807 - Directory Listing
Modified Tue Mar 28 01:46:22 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Removed a debug clause.

Revision 57806 - Directory Listing
Modified Tue Mar 28 01:45:48 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Changed to use new SD_FEEDBACK_INDICATOR.


Revision 57805 - Directory Listing
Modified Tue Mar 28 01:44:29 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Added two assertions.

Revision 57804 - Directory Listing
Modified Tue Mar 28 01:43:25 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Added forgotten line.

Revision 57803 - Directory Listing
Modified Tue Mar 28 01:41:36 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Added constants for SD_TOOL_BAR_HIDDEN_ITEM_DIALOG maximum width.

Revision 57802 - Directory Listing
Modified Tue Mar 28 01:40:03 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
Tool bar drawer Implementation for Windows and GTK.

Revision 57801 - Directory Listing
Modified Tue Mar 28 01:31:16 2006 UTC (13 years, 10 months ago) by larryl
Original Path: trunk/Src/library/docking
SD_TOOL_BAR and it's items.

Revision 57735 - Directory Listing
Modified Fri Mar 24 03:17:56 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Init SD_HOT_ZONE_FACTORY here now.

Revision 57734 - Directory Listing
Modified Fri Mar 24 03:15:12 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Updated to use SD_TOOL_BAR.

Revision 57733 - Directory Listing
Modified Fri Mar 24 03:13:57 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Updated to use SD_TOOL_BAR.

Revision 57732 - Directory Listing
Modified Fri Mar 24 03:12:40 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Updated to use SD_TOOL_BAR.

Revision 57731 - Directory Listing
Modified Fri Mar 24 03:10:39 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Add Escape, Ctrl key support.
Updated to use SD_TOOL_BAR.


Revision 57730 - Directory Listing
Modified Fri Mar 24 03:07:14 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Updated to use SD_TOOL_BAR.
Add cancel support.

Revision 57729 - Directory Listing
Modified Fri Mar 24 03:06:31 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Update to use SD_TOOL_BAR.

Revision 57728 - Directory Listing
Modified Fri Mar 24 03:04:16 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Updated to use SD_TOOL_BAR.

Revision 57727 - Directory Listing
Modified Fri Mar 24 03:02:41 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Added subgroup informations.
Change string from "menu" to "tool bar".



Revision 57726 - Directory Listing
Modified Fri Mar 24 03:01:43 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Added feature to handle main window resize action.
Added support to hide/show all floating tool bars.
Change string from "menu" to "tool bar".



Revision 57725 - Directory Listing
Modified Fri Mar 24 03:00:23 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking


Revision 57723 - Directory Listing
Modified Fri Mar 24 02:52:55 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Update to use SD_TOOL_BAR.

Revision 57722 - Directory Listing
Modified Fri Mar 24 02:51:19 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Updated to use SD_TOOL_BAR.

Revision 57721 - Directory Listing
Modified Fri Mar 24 02:49:56 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Added features to support dock/float last state, query how much size can expand/reduce.
Change string from "menu" to "tool bar".


Revision 57720 - Directory Listing
Modified Fri Mar 24 02:48:04 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Update comments.

Revision 57719 - Directory Listing
Modified Fri Mar 24 02:47:29 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Updated to use new SD_FEEDBACK_INDICATOR.

Revision 57718 - Directory Listing
Modified Fri Mar 24 02:43:53 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Change to use SD_TOOL_BAR.
Change string from "menu" to "tool bar".



Revision 57717 - Directory Listing
Modified Fri Mar 24 02:38:58 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Change string from "menu" to "tool bar".
Change initialize hot zone factory by use SD_SYSTEM_COLOR.

Revision 57716 - Directory Listing
Modified Fri Mar 24 02:35:21 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
This is not used anymore.

Revision 57715 - Directory Listing
Modified Fri Mar 24 02:34:33 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
User one window to show irregular window instead of two windows.

Revision 57714 - Directory Listing
Modified Fri Mar 24 02:32:48 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Changed to use new SD_FEEDBACK_INDICATOR.

Revision 57713 - Directory Listing
Modified Fri Mar 24 02:23:41 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Changed to use new SD_FEEDBACK_INDICATOR.

Revision 57712 - Directory Listing
Modified Fri Mar 24 02:21:41 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Now use UpdateLayeredWindow, so we do not need to clear indicators.

Revision 57710 - Directory Listing
Modified Fri Mar 24 02:20:10 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Forward main window resize actions to SD_TOOL_BAR_MANAGER.

Revision 57707 - Directory Listing
Modified Fri Mar 24 02:10:39 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Add show all feedback feature.

Revision 57706 - Directory Listing
Modified Fri Mar 24 02:09:38 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Updated for changes in EV_FIXED.

Revision 57705 - Directory Listing
Modified Fri Mar 24 02:09:08 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Updated for changes in EV_FIXED.

Revision 57704 - Directory Listing
Modified Fri Mar 24 02:08:32 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Handle resize actions.

Revision 57703 - Directory Listing
Modified Fri Mar 24 02:03:55 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Because GTK split area has bug, so we disable double click feature on GTK.

Revision 57702 - Directory Listing
Modified Fri Mar 24 02:03:20 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Use test color from SD_SHARED.

Revision 57701 - Directory Listing
Modified Fri Mar 24 02:01:55 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Change string from "menu" to "tool bar".

Revision 57700 - Directory Listing
Modified Fri Mar 24 02:00:51 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Because GTK split area has bug, so we disable double click feature on GTK.

Revision 57699 - Directory Listing
Modified Fri Mar 24 01:59:48 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Change string from "menu" to "tool bar".

Revision 57698 - Directory Listing
Modified Fri Mar 24 01:59:19 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Add last_state feature, so tool bar can remember position, size, grouping, screen_x, screen_y informations.

Revision 57697 - Directory Listing
Modified Fri Mar 24 01:57:39 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Change string from "menu" to "tool bar".

Revision 57696 - Directory Listing
Modified Fri Mar 24 01:54:37 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Change string from "menu" to "tool bar", and save tool bars last states.

Revision 57693 - Directory Listing
Modified Fri Mar 24 01:45:08 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Init hot zone factory here, so docking library can be complied without change code.

Revision 57692 - Directory Listing
Modified Fri Mar 24 01:43:53 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Added constants.

Revision 57691 - Directory Listing
Modified Fri Mar 24 01:42:05 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Add features to set dialog position for different dialogs.

Revision 57690 - Directory Listing
Modified Fri Mar 24 01:41:21 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Rename it to SD_TOOL_BAR_CONTAINER_IMP.

Revision 57689 - Directory Listing
Modified Fri Mar 24 01:39:44 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
Cosmetics.

Revision 57688 - Directory Listing
Modified Fri Mar 24 01:13:22 2006 UTC (13 years, 11 months ago) by larryl
Original Path: trunk/Src/library/docking
For use Windows UpdateLayeredWindow API, so we do not need these files to draw image.

Revision 57119 - Directory Listing
Modified Tue Feb 21 20:05:08 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Let user can directly drag to the tab position behind last shown tab.

Revision 57118 - Directory Listing
Modified Tue Feb 21 20:01:34 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Set the pointer style to standard pointer style after user dragging.

Revision 57117 - Directory Listing
Modified Tue Feb 21 19:32:24 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Improved to show feedback size as last floating size.
And support dockable feature now.

Revision 57116 - Directory Listing
Modified Tue Feb 21 19:27:34 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Add a hot zone sepcial for editor type zones. 

Revision 57115 - Directory Listing
Modified Tue Feb 21 19:25:56 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Improved factory method for the new SD_HOT_ZONE_OLD_MAIN_EDITOR.

Revision 57114 - Directory Listing
Modified Tue Feb 21 18:57:50 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Changed to call a window's set_pointer_style, because GTK will not change global pointer style if you set_pointer style on a inner  window.

Revision 57113 - Directory Listing
Modified Tue Feb 21 18:39:21 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Implemented the feature:
Allow user directly drag to a tab position.

Revision 57110 - Directory Listing
Modified Tue Feb 21 17:00:05 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Add creation method, to make it same create interface as Windows version SD_SYSTEM_COLOR_IMP.

Revision 57109 - Directory Listing
Modified Tue Feb 21 16:55:33 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Call make when creating SD_SYSTEM_COLOR_IMP, to make it consistence between Windows and GTK.

Revision 57108 - Directory Listing
Modified Tue Feb 21 16:44:28 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Add protection if for GTK.

Revision 57107 - Directory Listing
Modified Tue Feb 21 16:23:40 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Add a line to make sure parent it pruned.

Revision 57104 - Directory Listing
Modified Tue Feb 21 03:13:10 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Add check to make sure width/height valid.

Revision 57103 - Directory Listing
Modified Tue Feb 21 03:08:33 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Implemented "set_area" feature.

Revision 57102 - Directory Listing
Modified Tue Feb 21 03:05:56 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Export feature "docking_manager".

Revision 57101 - Directory Listing
Modified Tue Feb 21 03:03:53 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Add if protection for GTK.

Revision 57099 - Directory Listing
Modified Tue Feb 21 02:57:45 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Add if protection for GTK.

Revision 57098 - Directory Listing
Modified Tue Feb 21 02:56:35 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Remember last floating width/height for SD_AUTO_HIDE_STATE.

Revision 57097 - Directory Listing
Modified Tue Feb 21 02:56:06 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Remember last floating width/height for SD_AUTO_HIDE_STATE.

Revision 57096 - Directory Listing
Modified Tue Feb 21 02:55:17 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Change default feedback line width constants from 5 to 2. Make it looks nice.
Add a constants Feedback_tab_width, which is default width of new tab feedback.

Revision 57095 - Directory Listing
Modified Tue Feb 21 02:52:30 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Change function parameter name to standard naming style.

Revision 57094 - Directory Listing
Modified Mon Feb 20 20:05:11 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Use old Vision2 interface.

Revision 57093 - Directory Listing
Modified Mon Feb 20 19:40:30 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Fixed a bug: when dragging a whole floating zone, transparent rectangle feedback size not correct.

Revision 57091 - Directory Listing
Modified Mon Feb 20 18:52:02 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Rename folder "menu" to "toolbar".

Revision 57088 - Directory Listing
Modified Mon Feb 20 18:41:43 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Havn't committed successful last time.
Now I delete folder "toolbar", and will recommit it again.

Revision 57063 - Directory Listing
Modified Fri Feb 17 01:26:25 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
A low efficiency implementations.
COmmit for test efficiency on Linux.

Revision 57062 - Directory Listing
Modified Fri Feb 17 01:25:56 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Add features export to internal docking library classes.

Revision 57061 - Directory Listing
Modified Fri Feb 17 01:25:17 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Add some pixmap querys for tool bar issues.

Revision 57060 - Directory Listing
Modified Fri Feb 17 01:24:16 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Add SD_TAB_STATE_ASSISTANT to help SD_TAB_STATE.

Revision 57059 - Directory Listing
Modified Fri Feb 17 01:23:06 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Add SD_ZONE_MANAGEMENT_MENU to show when user right click on a tab.

Revision 57058 - Directory Listing
Modified Fri Feb 17 01:21:59 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Add a a_first parameter to let client programmer choose where to put a new tab zone. 
Because before Visual Studio 2005 all new tabs go to the end of tabs, but Visual Studio 2005 will put new tab at the begin of all tabs.

Remember last floating width/height in each SD_STATE.

Revision 57057 - Directory Listing
Modified Fri Feb 17 01:15:46 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Implemented record state to remember last floating zone width/height.

Revision 57056 - Directory Listing
Modified Fri Feb 17 01:14:14 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Add SD_AUTO_HIDE_ANIMATION to help SD_AUTO_HIDE_STATE deal with show/hide animations.

Revision 57055 - Directory Listing
Modified Fri Feb 17 01:12:01 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Remove a useless line of code.

Revision 57054 - Directory Listing
Modified Fri Feb 17 01:07:14 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
A low efficiency implementations.
COmmit for test efficiency on Linux.

Revision 57053 - Directory Listing
Modified Fri Feb 17 00:43:38 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Added implementation for SD_DOCKER_MEDIATOR "press Ctrl key then not dockable" feature.

Revision 57052 - Directory Listing
Modified Fri Feb 17 00:41:44 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Add feature: When user dragging a zone, if user press Ctrl key, dragged zone will not dockable (like Visual Studio)

Revision 57051 - Directory Listing
Modified Fri Feb 17 00:39:43 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Add SD_SYSTEM_COLOR deferred class, used for GTK and Windows SD_SYSTEM_COLOR_IMP to inherit.

Revision 57050 - Directory Listing
Modified Fri Feb 17 00:36:23 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Nothing changed.

Revision 57049 - Directory Listing
Modified Fri Feb 17 00:32:39 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Add a feature clause.

Revision 57048 - Directory Listing
Modified Fri Feb 17 00:32:03 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Limit features export.

Revision 57047 - Directory Listing
Modified Fri Feb 17 00:25:29 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Remove useless debug clause.

Revision 57046 - Directory Listing
Modified Fri Feb 17 00:24:52 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Add a select clause for inheritance.

Revision 57045 - Directory Listing
Modified Fri Feb 17 00:23:43 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Add support when user click shift key to tab reverse.


Revision 57044 - Directory Listing
Modified Fri Feb 17 00:22:14 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Add implementation for query title bar (text) colors.

Revision 57043 - Directory Listing
Modified Fri Feb 17 00:15:31 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Add some features other classes needed, remove useless implementations.

Revision 57042 - Directory Listing
Modified Fri Feb 17 00:14:05 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Change to show context menu when user click on a notebook tab.
Add is_selected_after feature to SD_NOTEBOOK_TAB, this is used for when drawing notebook tab, current tab will draw different things if a selected tab after current tab


Revision 57041 - Directory Listing
Modified Fri Feb 17 00:08:59 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Export update tab groups to ANY.

Revision 57040 - Directory Listing
Modified Fri Feb 17 00:07:17 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Made SD_SYSTEM_COLOR deferred, GTK, Windows will have their own SD_SYSTEN_COLOR_IMP.

Revision 57038 - Directory Listing
Modified Thu Feb 16 23:36:13 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Remove useless classes.

Revision 57037 - Directory Listing
Modified Thu Feb 16 23:35:29 2006 UTC (14 years ago) by larryl
Original Path: trunk/Src/library/docking
Remove useless debug information.
Add title bar color, focus/non focus text color, docker mediator query to SD_SHARED.
Remember last floating zone width/height in SD_CONGIG_MEDIATOR.


Revision 56675 - Directory Listing
Modified Mon Jan 23 02:25:44 2006 UTC (14 years, 1 month ago) by manus
Original Path: trunk/Src/library/docking
Added Eiffel Forum License Version 2 and missing copyright statments.


Revision 56577 - Directory Listing
Modified Wed Jan 18 02:36:59 2006 UTC (14 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Added title bar non-focus color to SD_SYSTEM_COLOR.

Revision 56576 - Directory Listing
Modified Wed Jan 18 02:33:58 2006 UTC (14 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Added set focused selection color and non-focused selection color to SD_ZONE, used for when Current application lost focus, works like Eclipse.
Fixed a bug in SD_ZONE when normal/max when only one zone it main docking container(SD_MULIT_DOCK_AREA).
Fixed a bug in end tracing pointer function which should not call cancel actions.
Added focus in actions handler and focus out actions handler to SD_DOCKING_MANAGER_AGENT, to let our application set title bar's color to focus color or non-focus color.


Revision 56575 - Directory Listing
Modified Wed Jan 18 02:26:25 2006 UTC (14 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Add SD_POSITION_HELPER to only with responsibility for show a dialog (SD_MINI_TOOL_BAR_DIALOG, SD_NOTEBOOK_HIDE_TAB_DIALOG) at correct position.
Add SD_MINI_TOOL_BAR_DIALOG to show mini tool bar on SD_TITLE_BAR when there is not enough space to show.
Extract SD_NOTEBOOK_TAB_STYLE_NORMAL to only with responsibility to draw SD_NOTEBOOK_TAB (actually only to draw a EV_DRAWING_AREA), so it's easy to define new style of tabs in future.


Revision 56574 - Directory Listing
Modified Wed Jan 18 02:15:33 2006 UTC (14 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Improved draw gradient color function in SD_COLOR_HELPER. So it can draw gradient color in one rectangle, before is draw from a start x position.
Add non-focused title color, zone minimum height in SD_SHARED. Non-focused title color is used for the title color when user switch to other applications, like Eclipse.
Change SD_NOTEBOOK's tab area background color from light color to default color, and change SD_NOTEBOOK_TAB color from default background color to light color. Because we can't set background color of EV_TOOL_BAR when use new version of Microsoft controls.
Change SD_NOTEBOOK select item function parameters, added a_focus: BOOLEAN, because when select a tab in SD_NOTEBOOK, there are cases want to focus it or not want to focus the tab.


Revision 56486 - Directory Listing
Modified Tue Jan 10 02:57:48 2006 UTC (14 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Add animation to SD_AUTO_HIDE_STATE, so there is a animation when it is closing.
Before show a SD_AUTO_HIDE_ZONE, SD_AUTO_HIDE_STATE will check if the size of the zone too large. If it is too large, SD_AUTO_HIDE_STATE will make it smaller.


Revision 56485 - Directory Listing
Modified Tue Jan 10 02:54:20 2006 UTC (14 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Added several SD_HOT_ZONE subclasses, so it can show tab at top, can clear feedback when dragging zone is a editor type.
Change move_to_tab_zone function arguments, so it can know the information about which index of tabs that the dragging zone should be at.
Now it when user dragging zone, it can DIRECTLY drag to any position of tabs. Like Visual Studio and Eclipse.
Change SD_FEEDBACK_RECT implementation, so there is no flash.

Revision 56484 - Directory Listing
Modified Tue Jan 10 02:42:24 2006 UTC (14 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Added functions to let SD_TITLE_BAR to manage custom area itself.
Make SD_ZONE_NAVIGATION_DIALOG works both for Ctrl + Tab and Ctrl + Shift + Tab.
Added title area to SD_DOCKING_ZONE, SD_TAB_ZONE, SD_TAB_ZONE_UPPER, so others classes can know the rectangle area of the title bar area.
Added tabs shown to SD_MULTI_CONTENT_ZONE, so other classes can know the rectangle areas of the tabs which are shown.



Revision 56483 - Directory Listing
Modified Tue Jan 10 02:33:21 2006 UTC (14 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Added set_content_position to SD_NOTEBOOK, so it can set tab (which represent the content) position.
Added function to invoke pick and drop in SD_NOTEBOOK_TAB. So it'll show SD_ZONE_MANAGEMENT_DIALOG.
Added set_tab_position to SD_NOTEBOOK_TAB_AREA, so it can set tab to a index.
Modified SD_TAB_STUB size issues to make it looks nice.

Revision 56482 - Directory Listing
Modified Tue Jan 10 02:23:34 2006 UTC (14 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Add SD_ZONE_MANAGMENT_DIALOG. It's a new idea, maybe removed in future.

Revision 56481 - Directory Listing
Modified Tue Jan 10 02:21:57 2006 UTC (14 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Changed SD_AUTO_HIDE_ZONE_DATA implementation, because I think it make it clear.
Changed function names in SD_CONFIG_MEDIATOR, SD_CONFIG_DATA.
Made SD_INNER_CONTAINER_DATA record zone size when it is floating.


Revision 56480 - Directory Listing
Modified Tue Jan 10 02:18:37 2006 UTC (14 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Change some code case issues

Revision 56444 - Directory Listing
Modified Wed Jan 4 01:50:07 2006 UTC (14 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
When SD_NOTEBOOK lost focus, it'll change it's selected tab color to non-focus color.
Added gap at notebook tabs' top/bottom.


Revision 56441 - Directory Listing
Modified Tue Jan 3 23:55:37 2006 UTC (14 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Made content navigation dialog like Visual Studio 2005.
Made When double click a split area in docking library, it'll set it's proportion to 50%.
Improve SD_TAB_STUB border issues.
Change debug clause's text from "larry" to "docking".
Change some directory of files which in implementation/control, because there are too many files.


Revision 56428 - Directory Listing
Modified Thu Dec 29 20:41:45 2005 UTC (14 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Add if clause because there is a problem on GTK.

Revision 56427 - Directory Listing
Modified Thu Dec 29 20:35:14 2005 UTC (14 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Rename function names such as: draw_shadow_rectangle to draw_line_area. 
Added classes to draw half-tone lines (rectangles) on Windows, and draw normal lines (rectangle) on gtk.


Revision 56426 - Directory Listing
Modified Thu Dec 29 18:42:00 2005 UTC (14 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Updated lock window update issues.

Revision 56417 - Directory Listing
Modified Thu Dec 29 00:55:19 2005 UTC (14 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Made old style feedback, like Eclipse, when dragged a zone to different hot zone area, pointer cursor will change. And draw half-tone rectangle feedback.
When restore to original widget configuration which was stored by SD_DOCKING_MANAGER, if cant't find a SD_CONTENT for restore, then automatic ignore it.

Revision 56406 - Directory Listing
Modified Wed Dec 28 17:46:15 2005 UTC (14 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Modified classes comments.
Added old style (half-tone feedback) hot zone classes. Partly implemented now.

Revision 56391 - Directory Listing
Modified Wed Dec 28 03:14:11 2005 UTC (14 years, 1 month ago) by larryl
Original Path: trunk/Src/library/docking
Improved auto hide tabs indicator issues.
  Set it color to background color of EV_TEXT_FIELD. (Maybe changed in the future.)
  Use Ted's SD_TEXT_FINDER to find tabs.
  Tab, Up and Down key is available in the pop-up dialog.
  Show hide tab label dialog base on current position on screen.
  When too many tabs, vertical scroll bar will appear.
 
Modified SD_TITLE_BAR and SD_WINDOW border issues. So there is no size changed when highlight border, in the past there was.
Make lock update issues can lock window which should be locked. In the past only lock main window.
Removed unused classes.
Merge different functions together in SD_DOCKING_STATE, SD_TAB_STATE.




Revision 56381 - Directory Listing
Modified Sat Dec 24 06:54:31 2005 UTC (14 years, 2 months ago) by tedf
Original Path: trunk/Src/library/docking
Added separator_width.


Revision 56380 - Directory Listing
Modified Sat Dec 24 06:53:16 2005 UTC (14 years, 2 months ago) by tedf
Original Path: trunk/Src/library/docking
Create rotatable tool bar separator.
Made SD_MENU_ZONE use new tool bar.


Revision 56371 - Directory Listing
Modified Fri Dec 23 19:28:48 2005 UTC (14 years, 2 months ago) by tedf
Original Path: trunk/Src/library/docking
Added protection for search nonsense heading charactors 


Revision 56370 - Directory Listing
Modified Fri Dec 23 19:10:28 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Call text_found_internal instead of text_found.

Revision 56369 - Directory Listing
Modified Fri Dec 23 18:58:16 2005 UTC (14 years, 2 months ago) by tedf
Original Path: trunk/Src/library/docking
Start `contents' before `prune'.


Revision 56366 - Directory Listing
Modified Fri Dec 23 17:17:53 2005 UTC (14 years, 2 months ago) by tedf
Original Path: trunk/Src/library/docking
Implemented all fucntions for text searching.Tests needed.


Revision 56346 - Directory Listing
Modified Fri Dec 23 02:48:38 2005 UTC (14 years, 2 months ago) by tedf
Original Path: trunk/Src/library/docking
Added debug information for GTK.


Revision 56343 - Directory Listing
Modified Fri Dec 23 00:25:39 2005 UTC (14 years, 2 months ago) by tedf
Original Path: trunk/Src/library/docking
Modified for compilation.


Revision 56342 - Directory Listing
Modified Thu Dec 22 23:26:22 2005 UTC (14 years, 2 months ago) by tedf
Original Path: trunk/Src/library/docking
Refined interface, added contracts.


Revision 56339 - Directory Listing
Modified Thu Dec 22 23:09:31 2005 UTC (14 years, 2 months ago) by tedf
Original Path: trunk/Src/library/docking
Finder for tabs searching.


Revision 56338 - Directory Listing
Modified Thu Dec 22 22:29:28 2005 UTC (14 years, 2 months ago) by tedf
Original Path: trunk/Src/library/docking
Added focus_selection_color and non_focus_selection_color.


Revision 56337 - Directory Listing
Modified Thu Dec 22 22:28:14 2005 UTC (14 years, 2 months ago) by tedf
Original Path: trunk/Src/library/docking
Read system colors from SD_SYSTEM_COLOR.


Revision 56336 - Directory Listing
Modified Thu Dec 22 22:27:15 2005 UTC (14 years, 2 months ago) by tedf
Original Path: trunk/Src/library/docking
Implemented system color reading.


Revision 56332 - Directory Listing
Modified Thu Dec 22 20:44:43 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Modify tab feedback when user dragging, now it's like Visual Studio 2005.
Make SD_NOTEBOOK tabs auto hide, which behavior like Eclipse.
Removed useless class.
Make drawing position constant when drawing a icon on a EV_DRAWING_AREA.
Added six indicator image classes which are generated by Ted's application.
Change SD_NOTEBOOK_TAB detect pointer release action by enable_capture.
Fixed small bugs.

Revision 56294 - Directory Listing
Modified Wed Dec 21 17:06:18 2005 UTC (14 years, 2 months ago) by tedf
Original Path: trunk/Src/library/docking
Refined to smoothly drawing.


Revision 56292 - Directory Listing
Modified Wed Dec 21 02:19:03 2005 UTC (14 years, 2 months ago) by tedf
Original Path: trunk/Src/library/docking
Fisrt implementation on gtk.


Revision 56264 - Directory Listing
Modified Tue Dec 20 20:26:33 2005 UTC (14 years, 2 months ago) by tedf
Original Path: trunk/Src/library/docking
set_transparent exposes to NONE.


Revision 56251 - Directory Listing
Modified Tue Dec 20 20:10:34 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Add gtk specific implementation classes.

Revision 56234 - Directory Listing
Modified Tue Dec 20 16:46:36 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Use double buffer to draw feedback, so when drawing feedback indicator there is no flash.
Change internal_mediator attribute from subclass to rootclass.


Revision 56233 - Directory Listing
Modified Tue Dec 20 02:56:44 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Commite for work at home....

Revision 56232 - Directory Listing
Modified Tue Dec 20 02:15:17 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
When only a zone floated and double pressed the title bar, it cannot normal\max now.
User mask to draw feedback indicator, now it's smooth.

Revision 56231 - Directory Listing
Modified Mon Dec 19 20:38:22 2005 UTC (14 years, 2 months ago) by tedf
Original Path: trunk/Src/library/docking
Added missed implementations.

Revision 56226 - Directory Listing
Modified Sat Dec 17 01:27:33 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed open split area position config bug.

Revision 56217 - Directory Listing
Modified Sat Dec 17 00:21:34 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed set_text and set_pixmap problem.

Revision 56216 - Directory Listing
Modified Fri Dec 16 19:59:53 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Added border color to SD_SHARED, which is read from Windows API.
Start to make notebook tab with border.
Made SD_TAB_STUB with border.
Change SD_TITLE_BAR focus border behaviour.
Fix SD_TAB_ZONE_UPPER normal\maximized nor work issues.
Seperate SD_DOCKER_MEDIATOR on_pointer_motion function to 3 function: on_pointer_motion_feedback, on_pointer_motion_indicator, on_pointer_motion_indicator_clear.
Added SD_HEXER which is copy from BEURK_HEXER.
Added SD_SCREEN which is copy from ES_STUDIO_SCREEN.
Added SD_CELL_WITH_BORDER which is a cell have borders.
Added SD_SYSTEM_COLOR which is object read system colors.

Revision 56177 - Directory Listing
Modified Thu Dec 15 18:39:10 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Improved feedback rectangle use Windows 2000 and later's transparenct window.
Not done, more commits will come.

Revision 56172 - Directory Listing
Modified Thu Dec 15 17:32:54 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Files directory changed to "docking".

Revision 56154 - Directory Listing
Modified Thu Dec 15 01:09:37 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Make SD_DOCKING_ZONE show tab at top which is same layout as SD_TAB_ZONE when it's type is type_editor.
Made SD_DOCKING_ZONE deferred, add SD_DOCKING_ZONE_NORMAL and SD_DOCKING_ZONE_UPPER which represent different single content zone layouts (one is tab at bottom, another is tab at top).
Commented enable_on_select_tab and disable_on_select_tab, becasue docking library use SD_NOTEBOOK instead of EV_NOTEBOOK now.
Moved SD_DOCKING_MANAGER_AGENTS, SD_DOCKING_MANAGER_COMMAND, SD_DOCKING_MANAGER_PROPERTY, SD_DOCKING_MANAGER_QUERY, SD_DOCKING_MANAGER_ZONES from common directory to docking directory.
Fixed "when pruned a content from SD_CONTENT, SD_NOTEBOOK will show nothing" bug.
Removed trailing blanks.

Revision 56114 - Directory Listing
Modified Tue Dec 13 23:42:02 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Renamed.

Revision 56105 - Directory Listing
Modified Mon Dec 12 23:11:47 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Added pick and drop action sequence for docking library.
Added SD_NOTEBOOK_TAB_AREA which represent notebook tabs' area.

Revision 56089 - Directory Listing
Modified Sat Dec 10 00:42:20 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Add drop_actions to SD_CONTENT, which means when drop on a tab on a SD_CONTENT, actions will be called.

Revision 56086 - Directory Listing
Modified Fri Dec 9 19:01:14 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Added tab_drop_actions to SD_DOCKING_MANAGER, which are actions when drop on a blank tab area.
Improved draw_color_change_gradually efficient.
When a tab on notebook not selected, it's tail area will dispear.
Change SD_NOTEBOOK only care SD_CONTENT instead of EV_WIDGET.


Revision 56085 - Directory Listing
Modified Fri Dec 9 18:35:28 2005 UTC (14 years, 2 months ago) by tedf
Original Path: trunk/Src/library/docking
Changed SPECIAL [TUPLE] to SPECIAL [SPECIAL [INTEGER]].

Revision 56080 - Directory Listing
Modified Fri Dec 9 00:28:24 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Move set_background_color back to SD_DOCKING_MANAGER. Because is called by client programmers.

Revision 56078 - Directory Listing
Modified Fri Dec 9 00:12:51 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Refactoried SD_DOCKING_MANAGER, there are SD_DOCKING_MANAGER_AGENTS, SD_DOCKING_MANAGER_COMMAND, SD_DOCKING_MANAGER_QUERY, SD_DOCKING_MANAGER_PROPERTY, SD_DOCKING_MANAGER_ZONES help SD_DOCKING_MANAGER to work now. SD_DOCKING_MANAGER is 240+ lines, before is 800+ lines.

Revision 56068 - Directory Listing
Modified Thu Dec 8 23:29:40 2005 UTC (14 years, 2 months ago) by tedf
Original Path: trunk/Src/library/docking
Changed ARRAYED_LIST to SPECIAL.


Revision 56067 - Directory Listing
Modified Thu Dec 8 19:33:20 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Add hightlight border color feature.
Remove useless functions.


Revision 56066 - Directory Listing
Modified Thu Dec 8 18:01:26 2005 UTC (14 years, 2 months ago) by tedf
Original Path: trunk/Src/library/docking
Refined feedback drawing.


Revision 56061 - Directory Listing
Modified Thu Dec 8 02:35:31 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Enable drag whole floating zone into a target zone. So all zones in dragged floating zone will tabbed in target zone.

Revision 56057 - Directory Listing
Modified Thu Dec 8 01:44:13 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Change last_focus_content from SD_SHARED to SD_DOCKING_MANAGER. So each SD_DOCKING_MANAGER remember one last_focus_content.

Revision 56056 - Directory Listing
Modified Thu Dec 8 01:20:48 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Enable multi docking manager. Now can create more than one docking manager, which means one application can have several docking managers. Different docking manager will work separately.

Revision 56041 - Directory Listing
Modified Wed Dec 7 19:19:05 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
A notebook show mini tool bar and tabs at top.

Revision 56040 - Directory Listing
Modified Wed Dec 7 19:00:39 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Change to use twin to create a snapshot of zones.
Implemented set_title_bar_focus_color of SD_AUTO_HIDE_ZONE.

Revision 56039 - Directory Listing
Modified Wed Dec 7 18:20:12 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Modified title bar focus color issues.
When double click tabs which at top zone will normal\maximaized.
Add normal\max, close button at top right of a SD_NOTEBOOK_UPPER.
Now can directly change tabs order by mouse dragging. Like Visual Studio.


Revision 56033 - Directory Listing
Modified Tue Dec 6 22:58:21 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed SD_NOTEBOOK_TAB pointer press actions not work at the tail.
Use application level pointer_release_actions to detect pointer release action.

Revision 56032 - Directory Listing
Modified Tue Dec 6 20:55:08 2005 UTC (14 years, 2 months ago) by tedf
Original Path: trunk/Src/library/docking
Fixed forget to set_last_focus_content, forgot to call start before search.

Revision 56031 - Directory Listing
Modified Tue Dec 6 20:28:30 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Made new SD_NOTEBOOK. The functionality is same as EV_NOTEBOOK now.
More improvement to SD_NOTEBOOK will be.

Revision 56028 - Directory Listing
Modified Tue Dec 6 17:38:23 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Partly made new SD_NOTEBOOK.
Test commite for I have changed SVN config.

Revision 56025 - Directory Listing
Modified Tue Dec 6 02:19:28 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Init long_title and short_title when creete. So by default long_title and short_title are "".

Revision 56024 - Directory Listing
Modified Tue Dec 6 00:31:48 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Partly changed to use new SD_NOTEBOOK.
Because I want to use my new machine, so I commit it.

Revision 56017 - Directory Listing
Modified Mon Dec 5 19:35:18 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Changed SD_CONTENT title to 3 titles: unique_title (used by save config), long title (used by title bar), short title (used by auto hide panel's tab stubs and notebook tabs.)
Changed SD_TITLE_BAR, use EV_DRAWABLE draw_ellipse_text to draw "..." instead of truncated word.

Revision 55995 - Directory Listing
Modified Fri Dec 2 21:58:18 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Remove set_close_behaviour, because change close_actions to close_request_actions, so the feature is not needed.

Revision 55994 - Directory Listing
Modified Fri Dec 2 20:16:28 2005 UTC (14 years, 2 months ago) by tedf
Original Path: trunk/Src/library/docking
Fixed SD_CONTENT set_focus call focus_in actions issues again. Now it use last_focus_content instead of last_focus_zone. Because focus in actions should concern SD_CONTENT, not SD_ZONE.

Revision 55993 - Directory Listing
Modified Fri Dec 2 19:33:59 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed foucs in actions should not called if current content's zone is already focued.

Revision 55992 - Directory Listing
Modified Fri Dec 2 19:14:41 2005 UTC (14 years, 2 months ago) by tedf
Original Path: trunk/Src/library/docking
Fixed bug that not call client programmer's focus in actions.

Revision 55991 - Directory Listing
Modified Fri Dec 2 18:44:44 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed set_focus issues but not call focus_in actions. Thanks to Ted.
Fixed only one content in zone, don't show nornaml\max button now.
Implemented when a zone floated, the orignal window accelerators will append to floating zone's accelerators.

Revision 55965 - Directory Listing
Modified Thu Dec 1 23:00:05 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Fix bug that when SD_TAB_ZONE pointer button release actions blocked by a modal dialog box then can't detect pointer drag.
Change a bad function name.

Revision 55964 - Directory Listing
Modified Thu Dec 1 22:43:36 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Changed SD_TITLE_BAR focus color behaviour.
Add hide\show feature to SD_CONTENT. When a content is not tabbed, when show again, it'll back to orignal position. When a content is tabbed, when show again, it'll always together with orignal friend zone.
Make SD_AUTO_HIDE_PANEL nice, that make a gap like Visual Studio.
Improved title bar show/hide stick, normal/max button hide and show issues. Because  when floating and max a zone, there was problems. Now it fixed.

Revision 55939 - Directory Listing
Modified Tue Nov 29 20:08:44 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed direction issues: it will always record direction when state changing.
Improved when change state between SD_AUTO_HIDE_STATE and SD_TAB_STATE, always show the zone is selected.

Revision 55937 - Directory Listing
Modified Tue Nov 29 18:58:11 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Implemented when tab stubs in a group, only show one tab stub text. Like Visual Studio.
Rename close_window to close, stick_window to stick, show_widow to show, float_window to float.
Change close window to close request action. Like Vision 2.
When dragging a whole floating zone, hot zones in dragged floating zone will not be shown.
Fixed when dragging a tab in SD_TAB_ZONE, feedback position should relative to pointer correctly.

Revision 55918 - Directory Listing
Modified Mon Nov 28 22:24:34 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed a syntax error. :P

Revision 55915 - Directory Listing
Modified Mon Nov 28 19:56:44 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Change close actions implementation to Eiffel Vision 2 way. (not like windows.)

Revision 55914 - Directory Listing
Modified Mon Nov 28 19:47:21 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Add contract support feature is_dock_at_top.


Revision 55913 - Directory Listing
Modified Mon Nov 28 19:25:18 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Added width\height implementation.


Revision 55912 - Directory Listing
Modified Mon Nov 28 19:24:44 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Added width\height implementation.

Revision 55911 - Directory Listing
Modified Mon Nov 28 19:24:03 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Add top_split_position feature.
Add width_height property.

Revision 55910 - Directory Listing
Modified Mon Nov 28 19:22:43 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Comment useless codes.

Revision 55909 - Directory Listing
Modified Mon Nov 28 19:21:10 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Add some comments, remove useless features.

Revision 55908 - Directory Listing
Modified Mon Nov 28 19:18:19 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Add if clause to see whether split position valid.

Revision 55907 - Directory Listing
Modified Mon Nov 28 19:17:11 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed resize issues.

Revision 55906 - Directory Listing
Modified Mon Nov 28 19:16:21 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
When drag a floating zone, hot_zone belong to the floating zone will not be shown.

Revision 55905 - Directory Listing
Modified Mon Nov 28 19:15:00 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Add some comments and fixed SD_RESIZE_BAR feedback shadow issue.

Revision 55904 - Directory Listing
Modified Mon Nov 28 18:39:27 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed resize issues.
Add some comments and format some codes.


Revision 55903 - Directory Listing
Modified Mon Nov 28 18:07:30 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
Add resize feature, so main container's size is always correct now.

Revision 55902 - Directory Listing
Modified Mon Nov 28 17:58:55 2005 UTC (14 years, 2 months ago) by larryl
Original Path: trunk/Src/library/docking
When client programmer set a zone's position, docking library will set focus to it.

Revision 55864 - Directory Listing
Modified Wed Nov 23 01:12:45 2005 UTC (14 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed when maximized a docking window, then close it normal\maximize's behavior.


Revision 55863 - Directory Listing
Modified Wed Nov 23 00:19:27 2005 UTC (14 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Fixed some bugs cause by last time refactory . :P


Revision 55820 - Directory Listing
Modified Tue Nov 22 00:14:35 2005 UTC (14 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Formated all codes and add some contracts. Removed useless Classes. Classify feature groups. Rename some classes.


Revision 55768 - Directory Listing
Modified Thu Nov 17 16:35:17 2005 UTC (14 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Now save/open can also save menu bar positions.
Tear-off windows animation is nice now.


Revision 55763 - Directory Listing
Modified Thu Nov 17 02:46:55 2005 UTC (14 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Updated SD_AUTO_HIDE_ZONE slide animation isseues. Now it's using new EV_FIXED to show animation.


Revision 55761 - Directory Listing
Modified Thu Nov 17 01:01:09 2005 UTC (14 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Add SD_MENU_CONTENT, which is the key of client programmer wants to let docking library manage their menu bars.
Fix when auto hide zones disappear, should not call SD_CONTENT close actions. Thanks to Ted.
Add SD_CONTENT contract about does not allow a_widget which already in docking library added again. Thanks to Ted.
Updating SD_AUTO_HIDE_ZONE use new EV_FIXED, so there is slide animation.
Implemented mini tool bar issues.


Revision 55754 - Directory Listing
Modified Wed Nov 16 02:16:39 2005 UTC (14 years, 3 months ago) by tedf
Original Path: trunk/Src/library/docking
Fix focus in actions.


Revision 55753 - Directory Listing
Modified Wed Nov 16 02:15:36 2005 UTC (14 years, 3 months ago) by tedf
Original Path: trunk/Src/library/docking
Fix notify focus in actions.


Revision 55747 - Directory Listing
Modified Tue Nov 15 23:48:20 2005 UTC (14 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Update title bar, use Ted's SD_TITLE_BAR, SD_FLOATING_TITLE_BAR is useless now.
Add close actions to tab zone upper. And make SD_TAB_ZONE close actions only close current selected notebook tab.
Implemented mini tool bar issues.


Revision 55743 - Directory Listing
Modified Tue Nov 15 16:31:04 2005 UTC (14 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
This is a EV_NOTEBOOK with a mini tool bar and a close button.


Revision 55742 - Directory Listing
Modified Tue Nov 15 16:30:03 2005 UTC (14 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
This a the state when client programmer first put a SD_CONTENT into docking library, so it'll do nothing, wait for client programmer to set the position.


Revision 55740 - Directory Listing
Modified Tue Nov 15 02:43:25 2005 UTC (14 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Implemented user can drag a whole floating zone which contain serveral zones to a target zone.
Update flaoting title bar issues, the title bar will change text automatically base on content.
Update function names change all handle_XXX to on_XXX.
Make SD_AUTO_HIDE_ZONE auto hide when pointer is out of SD_AUTO_HIDE_ZONE for a while.


Revision 55739 - Directory Listing
Modified Tue Nov 15 02:25:33 2005 UTC (14 years, 3 months ago) by tedf
Original Path: trunk/Src/library/docking
Newly made title bar, changed height from 16 to 18.


Revision 55738 - Directory Listing
Modified Tue Nov 15 02:23:16 2005 UTC (14 years, 3 months ago) by tedf
Original Path: trunk/Src/library/docking
Color calculation class.


Revision 55720 - Directory Listing
Modified Sat Nov 12 02:35:27 2005 UTC (14 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Implemented SD_STATE_VOID.


Revision 55719 - Directory Listing
Modified Sat Nov 12 01:55:48 2005 UTC (14 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Update set_title set_pixmap, so it will work immediately.
Update SD_CONTENT's close actions, so it will be called.


Revision 55715 - Directory Listing
Modified Sat Nov 12 00:16:58 2005 UTC (14 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Update set_focus.
Update some names.


Revision 55714 - Directory Listing
Modified Fri Nov 11 19:45:07 2005 UTC (14 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Modify on_XXXXX instead of handle_XXXXX.
Update SD_TAB_ZONE to call SD_CONTENT focus in actions.


Revision 55713 - Directory Listing
Modified Fri Nov 11 19:35:28 2005 UTC (14 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Modify when tab selected call SD_CONTENT focus in actions.
Update focus in actions detected by pointer released actions instead of pointer pressed actions.


Revision 55692 - Directory Listing
Modified Fri Nov 11 00:48:38 2005 UTC (14 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Add set_main_container_background_color.
Implemented SD_CONTENT close_actions.


Revision 55691 - Directory Listing
Modified Fri Nov 11 00:35:50 2005 UTC (14 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Two little classes.


Revision 55688 - Directory Listing
Modified Thu Nov 10 22:36:56 2005 UTC (14 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Updated doubel title bar issues when floating.
Updated SD_CONTENT focus issues use pointer release actions instead of pointer press actions.
Updated SD_TAB_ZONE stick issues.


Revision 55680 - Directory Listing
Modified Thu Nov 10 00:45:44 2005 UTC (14 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Add set_focus in SD_CONTENT to let client programmer set a CONTENT's focus.
Modified floating title bar and some feedback issues.


Revision 55679 - Directory Listing
Modified Wed Nov 9 19:58:52 2005 UTC (14 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Add close actions to SD_CONTENT. Change some internal names.


Revision 55678 - Directory Listing
Modified Wed Nov 9 18:56:24 2005 UTC (14 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Modify some function names.


Revision 55677 - Directory Listing
Modified Wed Nov 9 18:40:21 2005 UTC (14 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Development progress.


Revision 55585 - Directory Listing
Modified Thu Nov 3 01:15:54 2005 UTC (14 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Missing classes.


Revision 55584 - Directory Listing
Modified Thu Nov 3 01:13:59 2005 UTC (14 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Duplicated class.


Revision 55546 - Directory Listing
Modified Wed Nov 2 01:10:41 2005 UTC (14 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Internal use now.


Revision 55545 - Directory Listing
Added Wed Nov 2 01:09:54 2005 UTC (14 years, 3 months ago) by larryl
Original Path: trunk/Src/library/docking
Internal use now for Tabbed Editor. Some directories maybe deleted in future.


  ViewVC Help
Powered by ViewVC 1.1.23