Commit Graph

435 Commits

Author SHA1 Message Date
BDisp
2b9285b456 Merged from rectangle-drawing 2020-03-10 14:06:57 +00:00
BDisp
e43f6acdf9 Merged from menu-with-submenus 2020-03-10 14:04:06 +00:00
BDisp
40b5a1a801 Merge branch 'filedialog-features' into all-pull-request-at-once 2020-03-10 13:55:43 +00:00
BDisp
08d206ce75 Merged from datefield-cultureinfo 2020-03-10 13:54:33 +00:00
BDisp
a221ed0b95 Merge branch 'colors-features' into all-pull-request-at-once 2020-03-10 13:45:51 +00:00
BDisp
dedb33a9c9 Merge branch 'button-repaint' into all-pull-request-at-once 2020-03-10 13:44:50 +00:00
Miguel de Icaza
aee4023c73 Prepare for 0.70 2020-03-10 09:42:55 +00:00
Miguel de Icaza
12912dd6c0 Prepare for 0.70 2020-03-10 09:12:57 +00:00
Miguel de Icaza
4a329837eb Prepare for 0.70 2020-03-10 08:57:43 +00:00
Miguel de Icaza
a4693558fd Prepare for 0.70 2020-03-10 08:35:36 +00:00
Miguel de Icaza
e03a4d1a86 Prepare for 0.70 2020-03-10 08:33:33 +00:00
BDisp
323183dafb Inserted new line at the end of file .
Changed method name to SetAttribute in the  ColorScheme class.
2020-03-10 02:10:59 +00:00
BDisp
a1c27554db Fixes #342 and improves color change interaction.
Usage:
Colors.Base.Normal = new Terminal.Gui.Attribute (Color.Green, Color.Black);
2020-03-10 00:49:10 +00:00
Miguel de Icaza
fc1faba745 Prepare for 0.70 2020-03-09 14:30:15 -04:00
BDisp
0180e21342 Fetch from upstream/master 2020-03-08 12:51:00 +00:00
BDisp
2f14c07197 Allowing list items selection (#302) 2020-03-08 12:51:00 +00:00
Kasper B. Graversen
1732778b7e extract methods on ListView to make it controlable from other controls (#310)
* moveup

* MoveDown

* MovePageDown

* MovePageUp

* MarkUnmarkRow
2020-03-08 12:51:00 +00:00
BDisp
16fc243292 Timefield format with bounds values (#303)
* Implemented lower and upper bounds to TimeField

* Passing old text to the Changed event handler

* Change sepChar from char to string in TimeField

* Changing comparison from ':' to sepChar.ToCharArray () [0]
2020-03-08 12:51:00 +00:00
BDisp
f5e628388b Resizing the MessageBox width to accommodate all message text (#299)
* Fixed key events traversal for modal dialogs

The key must be propagated initially to the first chain element
before evaluating if we should stop because of the handled or
the Modal condition. Otherwise the modal dialog
won't get any process key notification.

This fixes c072e29a68

* Resizing the MessageBox width to accommodate all message text

Co-authored-by: Adrian Alonso <adrianalonso@gmail.com>
2020-03-08 12:50:59 +00:00
Timothy
6777a2e343 Moved ListView.ListWrapper out of ListView migueldeicaza/gui.cs#313` (#315) 2020-03-08 12:50:59 +00:00
Fabian R
46886b76c2 Fixed and Enabled Library reinitialization (#291)
- Replaced static driver initialization with property getter for reference passing in Core.cs::View class, this allows the library to be reinitialized at any time.
- Made the Shutdown method on Core.cs::Application class public, since there is no reason to keep it private. Applications can shutdown the library and revert the console to the initial stage by calling it.
- Fixed a memory-leak on Drivers/WindowsDriver class by destroying the generated screen buffers at library shutdown by calling CloseHandle.
- Minor change to Core.cs::Application.Init(Func<Toplevel>) for better initialization status tracking, via backend property instead of relying on the Top field.
2020-03-08 12:50:59 +00:00
Kasper B. Graversen
0362efadc4 Support menu items that are null so they can be drawn as a menu separator (#304) 2020-03-08 12:50:59 +00:00
BDisp
a3b080b978 Fixes issue #306 async/await hang (#312)
* Fixed async/await hang

* Fixed async/await hang with calling Wakeup

* Moved Wake Up into lock statement
2020-03-08 12:50:58 +00:00
imaras
00baeb339f Typo fix (#321) 2020-03-08 12:50:58 +00:00
BDisp
00fc5cc67e Fixed out of range exception and text redraw when navigate backward (#320) 2020-03-08 12:50:58 +00:00
Miguel de Icaza
dc3ba7dd2b Restore some files that were deleted by Daniel's commit that I had not restored 2020-03-08 12:50:57 +00:00
Miguel de Icaza
53e5d9af47 Prepare for 0.26 2020-03-08 12:50:57 +00:00
miguel
33eb1b1a31 Revert Daniel's change 00c5997daa as it prevents the solution from building on Mac 2020-03-08 12:50:57 +00:00
Miguel de Icaza
0bfaa76b90 Remove travis link 2020-03-08 12:50:56 +00:00
miguel
04b945ce1c Prepare for 0.25 2020-03-08 12:50:56 +00:00
Adrian Alonso
32595f5a2b Fixed key events traversal for modal dialogs (#288)
The key must be propagated initially to the first chain element
before evaluating if we should stop because of the handled or
the Modal condition. Otherwise the modal dialog
won't get any process key notification.

This fixes c072e29a68
2020-03-08 12:50:56 +00:00
Daniel Cazzulino
01466f7b45 Added TextView.TextChanged event (#264) 2020-03-08 12:50:56 +00:00
Marius Ungureanu
f1a041d375 Switch netcoreapp target to netstandard2.0 (#284)
Fixes #283 

Instead of adding another target framework to the list, switch from netcoreapp2.0 to netstandard2.0, as ns2.0 is a subset of netcoreapp.
2020-03-08 12:50:55 +00:00
Daniel Cazzulino
87ea920ed4 Add documentation on ISupportInitialize/ISupportInitializeNotification (#286) 2020-03-08 12:50:55 +00:00
BDisp
ed929f9205 Fetch from upstream/master 2020-03-08 12:46:42 +00:00
BDisp
9463af02e3 Fetch from upstream/master 2020-03-08 12:41:51 +00:00
BDisp
64170307bb Fetch from upstream/master 2020-03-08 12:37:37 +00:00
BDisp
e45c965d97 Fetch from upstream/master 2020-03-08 12:36:21 +00:00
BDisp
2ef7ecaef9 Fetch from upstream/master 2020-03-08 10:22:41 +00:00
BDisp
e5be8223c8 Added sub menus into menu bar with mouse and key navigation 2020-03-08 00:24:31 +00:00
BDisp
b92ba57364 Allowing list items selection (#302) 2020-03-08 00:22:46 +00:00
Kasper B. Graversen
e530cfb87a extract methods on ListView to make it controlable from other controls (#310)
* moveup

* MoveDown

* MovePageDown

* MovePageUp

* MarkUnmarkRow
2020-03-08 00:22:45 +00:00
BDisp
5f11d0bdff Timefield format with bounds values (#303)
* Implemented lower and upper bounds to TimeField

* Passing old text to the Changed event handler

* Change sepChar from char to string in TimeField

* Changing comparison from ':' to sepChar.ToCharArray () [0]
2020-03-08 00:22:45 +00:00
BDisp
fe043047db Resizing the MessageBox width to accommodate all message text (#299)
* Fixed key events traversal for modal dialogs

The key must be propagated initially to the first chain element
before evaluating if we should stop because of the handled or
the Modal condition. Otherwise the modal dialog
won't get any process key notification.

This fixes c072e29a68

* Resizing the MessageBox width to accommodate all message text

Co-authored-by: Adrian Alonso <adrianalonso@gmail.com>
2020-03-08 00:22:44 +00:00
Timothy
9ddfda04be Moved ListView.ListWrapper out of ListView migueldeicaza/gui.cs#313` (#315) 2020-03-08 00:22:44 +00:00
Fabian R
64724d18a9 Fixed and Enabled Library reinitialization (#291)
- Replaced static driver initialization with property getter for reference passing in Core.cs::View class, this allows the library to be reinitialized at any time.
- Made the Shutdown method on Core.cs::Application class public, since there is no reason to keep it private. Applications can shutdown the library and revert the console to the initial stage by calling it.
- Fixed a memory-leak on Drivers/WindowsDriver class by destroying the generated screen buffers at library shutdown by calling CloseHandle.
- Minor change to Core.cs::Application.Init(Func<Toplevel>) for better initialization status tracking, via backend property instead of relying on the Top field.
2020-03-08 00:22:44 +00:00
BDisp
0188b954cc Fixes issue #306 async/await hang (#312)
* Fixed async/await hang

* Fixed async/await hang with calling Wakeup

* Moved Wake Up into lock statement
2020-03-08 00:18:59 +00:00
imaras
2b3d6c985d Typo fix (#321) 2020-03-08 00:18:59 +00:00
BDisp
8e58d05270 Fixed out of range exception and text redraw when navigate backward (#320) 2020-03-08 00:18:59 +00:00
Miguel de Icaza
5588c7bfd4 Restore some files that were deleted by Daniel's commit that I had not restored 2020-03-08 00:18:58 +00:00