Commit Graph

885 Commits

Author SHA1 Message Date
Mihaela Stoica
58b240bcde CA-139888: Changing window size should not change the number of items minimized in Outlook-style navigation panel
This fixes the following problem:
When the main window is resized, we set the minimum width of the right side panel (Panel2MinSize) to half the size of the window so that the tab contents are visible. This is fine on most situations, but on a higher screen resolution (e.g. 1920x1080) the following problem occurs:
- starting with the main window at minimum size, when the window is maximized, the Panel2MinSize is set to half window's size (e.g. 960)
- when the main window is restored back to the minimum size, the split container is not resized because there is a conflict between Panel2MinSize and the size of the window itself (Panel1MinSize + Panel2MinSize > window's width)
- therefore the navigation panel is not visible and also the content of the tab control may appear out of scale.

To fix this, we set the Panel2MinSize to half of the window's minimum width. This way the right side panel will always fit in the window, including when it is restored to minimum size.
This also fixes [CA-137956] - Restoring Maximised XenCenter does not resize the main panel properly.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-10 12:04:32 +01:00
Mihaela Stoica
eeb86b7956 CA-139588: Try to prevent Index was out of range exception by invoking on the event thread
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-09 14:55:19 +01:00
Gabor Apati-Nagy
fdbfbb3453 Merge pull request #113 from MihaelaStoica/CA-139888
CA-139888: Changing window size should not change the number of items mi...
2014-07-09 09:50:11 +01:00
Mihaela Stoica
c51dc67cb0 CA-139888: Changing window size should not change the number of items minimized in Outlook-style navigation panel
When the navigation panel is resized, we need to preserve the height of the bottom panel, by recalculating the splitter distance.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-08 12:54:03 +01:00
Gabor Apati-Nagy
bc3b23af4f Merge pull request #109 from MihaelaStoica/xs64bit
CA-137485: Updated XenModel with the new API bindings with serializable ...
2014-07-04 17:13:01 +01:00
Mihaela Stoica
1e755a1e5d Merge pull request #112 from GaborApatiNagy/xs64bit-installer_fix_bundle
CA-139890: Installer shouldn't download the .NET installer without askin...
2014-07-04 17:10:02 +01:00
Gabor Apati-Nagy
426910b4a0 CA-139890: Installer shouldn't download the .NET installer without asking but bundle it instead
-Bundling the redistributable Microsoft .NET Framework 4 (Web Installer) into our exe XenCenter installer
2014-07-04 15:44:36 +01:00
Mihaela Stoica
220311829b CA-137485: Improvements to the Exception serialization unit tests
As per code review, wherever there is an 'if' in the unit tests there should be an assertion for the 'else' branch as well

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-04 14:44:38 +01:00
Gabor Apati-Nagy
c36d8dd645 Merge pull request #110 from MihaelaStoica/CA-138928
CA-138928: Added "reclaim freed space" option to the main menu
2014-07-04 14:11:59 +01:00
Gabor Apati-Nagy
077cf39366 Merge pull request #111 from MihaelaStoica/CA-137470
CA-137470: Fixed unhandled exception raised by pressing space key on gri...
2014-07-04 14:11:36 +01:00
Mihaela Stoica
042f7f2927 CA-138928: Added "reclaim freed space" option to the main menu
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-04 13:36:41 +01:00
Mihaela Stoica
8e19193a2a CA-137470: Fixed unhandled exception raised by pressing space key on gridview of License Manager.
- Added a 'refresh grid' parameter to UpdateRow() which indicates if a sort and refresh of the grid is necessary.
- A sort and refresh is not needed when the user selects a server by pressing the space key or by mouse, but it is needed when the information displayed has changed, for example when the license has changed.
- Also solved a possible null reference exception in CheckableDataGridViewController.ReplaceStoredRow(), by returning -1 if the index is not within the rows range.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-04 11:10:46 +01:00
Mihaela Stoica
35877640e0 CA-137485: Updated XenModel with the new API bindings with serializable exceptions
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-03 10:00:05 +01:00
Gabor Apati-Nagy
bdf097bc51 Merge pull request #108 from MihaelaStoica/xs64bit
Added HelpID for File System usage alert
2014-07-02 13:19:44 +01:00
Gabor Apati-Nagy
cf0ab55bfd Merge pull request #102 from MihaelaStoica/CA-136783
CA-136783: Fixed the errors in the Updates window, where clicking "Go to Web Page" opens a wrong link
2014-07-02 13:18:29 +01:00
Mihaela Stoica
7d348fca5e CA-136783: Changed the log level from error to debug for some of the logged messages.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-02 13:13:37 +01:00
Mihaela Stoica
b5450f3888 Added HelpID for File System usage alert
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-02 12:10:34 +01:00
Gabor Apati-Nagy
210d35b45d Merge pull request #100 from MihaelaStoica/CA-137305
CA-137305: When creating a VM, ensure that the vGPUs are unset if not needed
2014-07-01 16:25:15 +01:00
Gabor Apati-Nagy
f3ce457510 Merge pull request #103 from MihaelaStoica/CA-137308
CA-137308: Checkpoint doesn't disappear follow deletion when switching t...
2014-07-01 16:24:54 +01:00
Stephen Turner
73b38569d5 Merge pull request #101 from MihaelaStoica/CA-108676
CA-108676:  Put the Heartbeat and event.next sessions on their own ConnectionGroups
2014-07-01 11:40:32 +01:00
Stephen Turner
4292169435 Merge pull request #99 from MihaelaStoica/CA-115742
CA-115742: VM name and description change not allowed via XenCenter for ...
2014-07-01 11:35:25 +01:00
Gabor Apati-Nagy
ec35a2519f Merge pull request #104 from ushamandya/xs64bit
CP-5436: Modified the 'Updates' section and removed Licensing topics for...
2014-06-30 17:38:46 +01:00
Usha Mandya
2946d811e5 CP-5436: Modified the 'Updates' section and removed Licensing topics for Tech Preview 2014-06-30 17:24:47 +01:00
Mihaela Stoica
4755200d98 CA-137308: Checkpoint doesn't disappear follow deletion when switching to logs mode - FIXED
Force an update of the selected tab when switching back from Notification view, as some tabs ignore the update events when not visible (e.g. Snapshots, HA)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-30 16:38:48 +01:00
Mihaela Stoica
4f341aed60 CA-136783: Fixed the errors in the Updates window, where clicking "Go to Web Page" opens a wrong link
- When clicking the action button on the grid, execute the action on the item that has been clicked, instead on using the grid's selected item, which may have not been updated yet.
- On multiselect (if the multiselect is allowed for the action), if the clicked item is in the grid's selection list, then execute the action on the whole list, otherwise on the clicked item only.
- This applies to both Updates and Alerts windows.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-30 14:49:16 +01:00
Mihaela Stoica
3cb4807737 CA-108676: Put the Heartbeat and event.next sessions on their own ConnectionGroups.
Also make sure that the MeddlingAction's cancel session gets disposed.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-30 14:21:42 +01:00
Mihaela Stoica
d69df44cf1 CA-137305: When creating a VM, ensure that the vGPUs are unset if not needed.
If a VM is created from snapshot which has a vGPU and "No" vGPU is selected  then the newly created VM shouldn't have a vGPU.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-30 09:44:19 +01:00
Mihaela Stoica
5e13fd1d01 CA-115742: Removed unused variable.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-26 10:19:35 +01:00
Mihaela Stoica
06e0ddacb7 CA-115742: VM name and description change not allowed via XenCenter for VM Admin - FIXED
The error has been caused by the shadow multiplier field on Advanced Settings page: XenCenter thinks that the values has changed, and tries to save it, but this is not allowed for VM Admin users.
The solution is:
- use -1 as the signal value for unparseable string, instead of 1.0, which is actually a valid value;
- display the existing value without formatting it to 2 deciaml places;
Also corrected the validation function, as the shadow multiplier has to be greater than or equal to 1, not 0.1.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-25 12:18:24 +01:00
Stephen Turner
7d2e113130 Merge pull request #97 from MihaelaStoica/CP-8547
CP-8547: Add button in XenCenter to initiate space reclamation on an SR.
2014-06-24 15:29:08 +01:00
Mihaela Stoica
1ff55016c8 CP-8547: Add button in XenCenter to initiate space reclamation on an SR: Changes following code review.
- Added check for null for sm.features in SR.SupportsTrim;
- Better error messages;
- Moved error messages from Messages to FriendlyNames;
- Removed the check for actions in progress from TrimSRCommand.CanExecute().

-

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-24 14:48:31 +01:00
Mihaela Stoica
1f217b9983 CP-8547: Add button in XenCenter to initiate space reclamation on an SR.
The operation applies to an SR. The button is on the Storage tab of the host/pool, and is entitled "Reclaim freed space".
It comes between the New SR and Properties buttons.
If the SR does not support TRIM , the button is invisible and the Properties button moves left to close up the gap.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-24 11:32:36 +01:00
Gabor Apati-Nagy
3cc54040d0 Merge pull request #96 from ushamandya/xs64bit
CP-5436: Updated XC Help with changes to system alerts window
2014-06-18 07:35:58 -07:00
Usha Mandya
745b0d7b69 CP-5436: Updated XC Help with changes to system alerts window 2014-06-18 14:55:40 +01:00
Mihaela Stoica
d0c40d92b7 Merge pull request #95 from stephen-turner/CA-137829
CA-137829 CA-137959 Revert fix to CA-108676 because of collateral damage
2014-06-17 10:37:29 -07:00
Stephen Turner
c9d30158bb CA-137829 CA-137959 Revert fix to CA-108676 because of collateral damage 2014-06-17 18:17:59 +01:00
Mihaela Stoica
5bdbb1c3e0 Merge pull request #94 from GaborApatiNagy/xs64bit-CA-137250
Xs64bit CA-137250: Minimising XC window loses its left bottom window
2014-06-13 16:04:07 +01:00
Gabor Apati-Nagy
ccc1e3ab09 CA-137250: Minimising XC window loses its left bottom window 2014-06-13 12:19:08 +01:00
Gabor Apati-Nagy
5989ca2e06 Merge pull request #91 from MihaelaStoica/CA-137236
CA-137236: Fix XenCenter Console crash when switching to remote desktop on Windows Server 2003 SP2
2014-06-12 15:12:47 +01:00
Mihaela Stoica
05880fdaa2 RDP client control: Changed Connected property type to boolean.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-12 15:06:09 +01:00
Gabor Apati-Nagy
ff3066a986 Update xenadmin-build.sh
CP-8667: Update RPU hotfixes in XenCenter (fixing build script)
2014-06-11 11:03:27 +01:00
Mihaela Stoica
112e5f094d Merge pull request #93 from GaborApatiNagy/xs64bit-1
CP-8667: Update RPU hotfixes in XenCenter (fixing installer)
2014-06-11 10:35:04 +01:00
Gabor Apati-Nagy
2d43d6b2bc CP-8667: Update RPU hotfixes in XenCenter (fixing installer) 2014-06-11 10:27:55 +01:00
Gabor Apati-Nagy
d2e5d7f4c2 Update XenCenter.wxs
CP-8667: Update RPU hotfixes in XenCenter (fixing installer)
2014-06-10 18:24:48 +01:00
Gabor Apati-Nagy
0e5c2932e4 Merge pull request #89 from MihaelaStoica/CP-8667
CP-8667: Update RPU hotfixes in XenCenter
2014-06-10 17:43:54 +01:00
Mihaela Stoica
8aadc063d4 CA-137236: Fix XenCenter Console crash when switching to remote desktop on Windows Server 2003 SP2
- Reverted "CP-4951: CAR-100: Remove Rdp2 console" because Rdpclient 6.0 is not included in Windows Server 2003 SP2;
- Redone the fix for CA-123779 (Unhandled exception in Console Tab View), by moving RDPSetSettings() call inside a try..catch block, so we handle any exception thrown while setting the rdp client properties.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-10 17:12:16 +01:00
Stephen Turner
c2ba7883ea Merge pull request #90 from ushamandya/xs64bit
Xs64bit
2014-06-10 14:52:33 +01:00
Usha Mandya
65c7e8653f CP-8678: Updated version of the WLB help file. 2014-06-10 14:29:32 +01:00
Usha Mandya
9d0c8152e5 CP-8678: XC Help includes WLB help topics. WLB retirement message has been removed. 2014-06-10 14:11:45 +01:00
Mihaela Stoica
4e99f6a830 CP-8667: Update RPU hotfixes in XenCenter
- XS60E009 has been replaced by XS62E006 and that the latter applies to all 6.x releases;
- 5.x hotfixes have changed, even though the version numbers are unchanged.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-10 10:36:50 +01:00