Commit Graph

1577 Commits

Author SHA1 Message Date
Vadim Lopatin 80c0da2768 implement #441 - menu separators 2017-09-15 16:18:48 +03:00
Vadim Lopatin 46a8f1029a rework scrollbars auto mode - implement #440 2017-09-15 15:44:43 +03:00
Vadim Lopatin e6f62a0a15 tab widget enhancements - implement #439 2017-09-14 17:23:32 +03:00
Vadim Lopatin e78cd9a63b add LineEdit enterKey signal 2017-09-14 13:56:43 +03:00
Vadim Lopatin bab0654c1d fix slow closing of dlangide window 2017-09-13 18:12:23 +03:00
Vadim Lopatin c616be0ad4 additional fixes for #437, #436 2017-09-13 16:59:06 +03:00
Vadim Lopatin 2c346c015f implement DLANGUI_VERSION #438 2017-09-13 14:54:19 +03:00
Vadim Lopatin fe4afc6975 support saving/restoring window state - fix #437 2017-09-13 14:36:26 +03:00
Vadim Lopatin ab061120fb settings dialog layout fixes; tree widget scrollbars fixes; fix #435, buggins/dlangide#285 2017-09-13 13:12:21 +03:00
Vadim Lopatin f0ab7f1b45 TreeWidget expand/collapse notification for items - implmement #432 2017-09-12 17:17:14 +03:00
Vadim Lopatin 54356dbca1 no main in unit tests - buggins/dlangide#276 2017-09-12 13:27:09 +03:00
Vadim Lopatin e2116d0be9 trying to fix buggins/dlangide#276 2017-09-12 11:47:08 +03:00
Vadim Lopatin a4a44b73bf Dialogs standard Ctrl+Enter and Esc key handling; InputBox focus and Enter key action fixes - close #429, close #430 2017-09-12 11:00:50 +03:00
Vadim Lopatin 1b82ea8d6a fix for buggins/dlangide#262 2017-09-11 15:34:14 +03:00
Vadim Lopatin 12b19ed1ff update tree if items are added or removed - fix #278 2017-09-11 11:58:32 +03:00
Vadim Lopatin d382cbf483 fixes editor key handling, file dialog 2017-09-08 15:07:01 +03:00
Vadim Lopatin 8d84223099 add selectAll method to editors 2017-09-08 14:46:38 +03:00
Vadim Lopatin 8c1ae8988e fix multiple monitor support in SDL - DPI detection code 2017-09-08 14:30:58 +03:00
Vadim Lopatin c269537679 editor search panel enhancements - close #427 2017-09-08 13:22:56 +03:00
Vadim Lopatin 3810b5848c fix build error 2017-09-08 13:15:48 +03:00
Vadim Lopatin d61d3ee1a4 highlight selected word occurences in text editor - close #420 2017-09-08 13:04:23 +03:00
Vadim Lopatin 2a78f1d9d1 whole words search/replace/highlight support in editors - close #424 2017-09-08 12:09:33 +03:00
Vadim Lopatin d3469713c6 trying to resolve out of memory error during compilation on x86 platform - #425 2017-09-08 10:54:31 +03:00
Vadim Lopatin 4e4cb9ee4e close popup (don't reopen) on combobox body click when popup is open - close 19 2017-09-08 10:33:21 +03:00
Vadim Lopatin 31d6a09990 implement #423 - sort order indicators in file dialog 2017-09-08 10:07:03 +03:00
and3md 72da1239bb FileDialog: Fix open directory by "Open" button - get the name from EditLine not activate selected item. 2017-09-07 19:40:54 +02:00
and3md 20e42ccfac Implemented #422 - Possibility to set default window icon for new windows. 2017-09-07 18:55:31 +02:00
Vadim Lopatin ce633a7675 change sort order of entries in file dialog by clicking on column header - close #409 2017-09-07 17:03:50 +03:00
Vadim Lopatin 9138d35a10 clear selection on home/end key if needed - close #421 2017-09-07 12:02:24 +03:00
Vadim Lopatin cb8193f663 support asArray for sorting items - for buggins/dlangide#250 2017-09-07 10:53:18 +03:00
Vadim Lopatin 27f170a7b9 filename edit box layout - fill parent 2017-09-06 17:34:39 +03:00
Vadim Lopatin ff5adbce0e fix tab handling 2017-09-05 12:04:33 +03:00
Vadim Lopatin f7c8aca1ee editors: implement replace #178 2017-09-05 12:03:02 +03:00
Vadim Lopatin ddf9b82a18 editors find / replace enhancements 2017-09-05 10:27:04 +03:00
Vadim Lopatin b65fa61272 fix Float settings combobox behavior 2017-09-05 10:24:44 +03:00
Vadim Lopatin a40eeb66af add findNext / findPrev editor actions, shortcuts F3 / Shift+F3 #178 2017-09-05 10:01:01 +03:00
Vadim Lopatin 3ea66645b8 find/replace in editors; #178 #47 2017-09-04 18:07:38 +03:00
Vadim Lopatin cfb0e63145 search result highlight - #178 2017-09-04 17:42:55 +03:00
Vadim Lopatin 7312212914 fix build error 2017-09-04 16:23:54 +03:00
Vadim Lopatin bad404400f find/replace in editors, continue; #178 2017-09-04 16:21:28 +03:00
Vadim Lopatin c48b097d22 fix #418 - directory selection in FileDialog 2017-09-04 14:51:30 +03:00
Vadim Lopatin 7da5ca6108 fix for support autoindent at first line 2017-09-04 14:33:32 +03:00
Vadim Lopatin 62a58b8bf5 Merge branch 'master' of github.com:buggins/dlangui 2017-09-04 14:16:01 +03:00
Vadim Lopatin 23d4a7406b fix #416 - editor whitespace marks for lines containing whitespace only 2017-09-04 14:12:22 +03:00
John Colvin fb4b1310da remove trailing whitespace 2017-09-04 12:09:58 +01:00
John Colvin 9506a0f70b register TabWidget 2017-09-04 11:48:08 +01:00
Vadim Lopatin 3181cbef09 flags processing for AltGr text input #414 2017-09-04 12:33:07 +03:00
Vadim Lopatin 02037974c5 rework modifier keys handling for #414 2017-09-04 12:18:58 +03:00
John Colvin 3617339405 avoid crashing on files that don't stat, e.g. broken symlinks 2017-08-31 23:12:39 +01:00
Vadim Lopatin ecdaa7287f Merge branch 'master' of github.com:buggins/dlangui 2017-08-31 11:44:15 +03:00
Vadim Lopatin 03a87383eb resources import with path - step 1 for better resource/different DPI management; is possible after import with path is fixed in DMD on windows 2017-08-31 11:43:57 +03:00
John Colvin 475eefa48d consider FileMustExist for file open dialog 2017-08-30 16:38:20 +01:00
Vadim Lopatin a1aeaefb07 for dlangide popup measure 2017-08-30 09:28:28 +03:00
Vadim Lopatin fdd5ff11cd fix DPI detection on SDL backend 2017-08-29 15:27:52 +03:00
Vadim Lopatin 5e47ce1ca6 Merge branch 'master' of github.com:buggins/dlangui 2017-08-28 13:21:24 +03:00
Vadim Lopatin 31495c01b1 reduce tree item indent 2017-08-28 13:20:21 +03:00
Vadim Lopatin a2f05b2c48 fix theme changes 2017-08-28 13:14:18 +03:00
Vadim Lopatin fa1654887b fix theme update; fix dark theme 2017-08-28 11:29:28 +03:00
Vadim Lopatin b84498ea4f #242 additional change 2017-08-25 19:52:41 +03:00
Vadim Lopatin c16c69c344 trying to fix crash in FileDialog on failed opening of directory 2017-08-25 17:58:23 +03:00
Vadim Lopatin 9244f8aaed trying to fix theme font changes apply 2017-08-25 17:11:57 +03:00
Vadim Lopatin 1ccf23a7ff fix tree item label padding 2017-08-25 11:18:03 +03:00
Vadim Lopatin 31d2dcc3ab Merge pull request #406 from lemming-life/master
StringListWidget item highlight via values from keys
2017-08-23 13:43:27 +03:00
and3md 7d2479adc8 Second scrollbar bug fix - dlangide 236 ensure _pageUp/_pageDown is Visible before layout()
_pageUp/_pageDown has sometime Visibility.Gone and then layout() not work. Maybe this condition should be removed from Widget.layout()
2017-08-22 18:40:24 +02:00
and3md e94e89d4d7 ListWidget - scrollbar.layout() after updateItemPositions() is needed by ComboBox. 2017-08-19 21:10:34 +02:00
and3md d394cfd8ac Complete fix dlanguide 236 scrollbar bug. 2017-08-19 20:53:42 +02:00
and3md 6ab38d89e5 ListWidget - uneeded second child measure, fix scrollbar bug - should partially fix dlangide bug 236 2017-08-19 19:21:44 +02:00
and3md 1b8f87c214 Improved WidgetList measure. 2017-08-19 19:15:27 +02:00
and3md a0563db345 Fix crash when you change showRowHeaders to false before resize(). 2017-08-19 15:52:00 +02:00
and3md 7f9fc27f64 Scroll file dialog grid without extend free space on end to show full column at left when scrolled to right. 2017-08-19 15:42:05 +02:00
and3md 17d4995e98 Improved grid measure. 2017-08-19 15:38:53 +02:00
and3md 1bba303cc3 Fix grid scroll pos on startup, extend scroll area on options (fullRowOnTop, fullColumnOnLeft). 2017-08-19 15:37:29 +02:00
Vadim Lopatin 1673b3103e Merge pull request #405 from Superbelko/feature-propertymeta
Added basic widget's property metadata info
2017-08-18 13:53:28 +03:00
lemming-life 17c2f93cb6 Added search string in StringListWidget when KeyAction is Text 2017-08-16 20:12:38 -06:00
lemming-life 89c8191d45 Added find word in StringListWidget 2017-08-16 20:05:57 -06:00
and3md 8a7245ba24 Fix setting layoutWidth/layoutHeight in points. 2017-08-16 22:20:25 +02:00
and3md 5bd0ea1d10 Ignore percent layout size if there is only one widget. 2017-08-16 20:43:18 +02:00
and3md 9d8e314eac Fix #404, percent layout values implemented in V/H layout.
Only one widget with percent value allowed per layout.
2017-08-16 20:33:10 +02:00
V. Khmelevskiy 0bae4ec7bf Merge branch 'master' of https://github.com/buggins/dlangui into feature-propertymeta 2017-08-16 19:30:08 +07:00
V. Khmelevskiy c99b3976f2 Added basic property metadata generation, and extended dmledit example to demonstrate it. 2017-08-16 19:20:29 +07:00
Vadim Lopatin 40b267d6c2 implement renaming of tabs 2017-08-15 17:21:18 +03:00
Vadim Lopatin 075708fae3 Merge branch 'master' of github.com:buggins/dlangui 2017-08-14 10:10:28 +03:00
Vadim Lopatin 598d53abae fix #403 2017-08-14 10:09:05 +03:00
Vadim Lopatin e58f2a1abe fix #403 2017-08-14 10:05:55 +03:00
and3md f18002d732 Impemented window activity support and remove/apply focus when window activity change. 2017-08-11 22:21:17 +02:00
Tomoya Tanjo cc7879c7cd Enclose WinMain with unittest else block 2017-08-11 22:26:09 +09:00
and3md f735e5cea8 Fix window freeze after hide modal window (X11, Windows platforms). 2017-08-10 16:51:48 +02:00
Vadim Lopatin 993b6fd091 fix instance counter debug message 2017-08-10 17:29:38 +03:00
Vadim Lopatin 43ae1fd608 support fullscreen window creation on Win32 - #393 2017-08-08 12:53:17 +03:00
Vadim Lopatin 2ab32a5ecf fix #399 2017-08-08 10:31:17 +03:00
and3md 85ae6ebfb5 X11 Modal window support (solution based on windows code). 2017-08-04 22:05:17 +02:00
and3md 7b545992d4 File format tabs to spaces (coding style) 2017-08-04 21:43:18 +02:00
and3md 2cfbc27956 Full windowState support for X11. 2017-08-04 21:33:05 +02:00
Vadim Lopatin 1b6714b22b Merge pull request #397 from and3md/center_childs
Ability to center child windows on parent, other fixes
2017-08-04 11:59:19 +03:00
and3md fc770b5552 Fix build on X11, console and android. 2017-08-02 21:15:07 +02:00
and3md 1259ee92b4 Windows: Ability to center child window on show, handle window state change. 2017-08-02 19:47:00 +02:00
and3md aa7403462f Ability to center child window on show, some fixes in window state support. 2017-08-02 19:44:11 +02:00
and3md 7271cbe4b3 Ability to center child windows, handleWindowStateChange() improvments. 2017-08-02 19:40:32 +02:00
and3md 2cde7065f5 Remove unused imports. 2017-08-02 19:36:15 +02:00
Vadim Lopatin 58f03df242 Merge pull request #392 from shiche/translations
Russian translations improvment
2017-07-29 20:31:30 +03:00
Vitaly Livshic 7ae1bf8491 UIString from raw strings 2017-07-29 08:23:05 +03:00
Vitaly Livshic 3faaaacda8 Invalid translations fix 2017-07-24 21:26:31 +03:00
Vitaly Livshic 1091123c5c Russian translations improvment 2017-07-22 10:32:17 +03:00
and3md 3af97996ca showMessageBox() example fix. 2017-07-21 13:43:09 +02:00
and3md fb53e6f55c FileDialogFlag.ConfirmOverwrite flag support. 2017-07-21 13:42:07 +02:00
and3md bb539a4cd1 Removed not needed log. 2017-07-18 17:21:44 +02:00
and3md e2803a9abb Add charts module to package.d 2017-07-18 15:33:31 +02:00
and3md c6d6abc8dd New charts module with SimpleBarChart. 2017-07-18 15:33:21 +02:00
and3md 3fa0ed5c00 SimpleTextFormatter - add draw version with alignment 2017-07-18 15:31:40 +02:00
and3md 3816e39155 Add font change handler. 2017-07-18 15:31:18 +02:00
Denis Feklushkin c250ebdd6f external platforms support, some comments added, console compilation fix 2017-07-18 07:39:14 +07:00
and3md e8f7d2ded4 Fix dialogs to be compatible with new window size/content managment. 2017-06-29 20:30:43 +02:00
and3md c8ebb6bd68 Fix setWindowState() on windows, change resize behavior to be compatible with SDL. 2017-06-29 20:22:54 +02:00
and3md ab1ddc7529 Add MeasureWindow flag to Window helps if you want window with scrollbars but first measure content size. 2017-06-29 20:19:49 +02:00
and3md 2bebff9404 Restore window on SDL resets size and pos to values from window create on linux. 2017-06-29 20:17:03 +02:00
and3md f458c4d9d0 Grid: ability to set how many columns/rows get to measure widget size. 2017-06-29 20:15:17 +02:00
and3md 932430ffc2 Show popup need window update. 2017-06-26 19:26:41 +02:00
Vadim Lopatin 10bb4b4537 Merge pull request #380 from John-Colvin/patch-3
fix taking address of std{out,err} for dmd 2.075.0-b1
2017-06-26 18:17:41 +03:00
John Colvin 80daed61a0 fix taking address of std{out,err} for dmd 2.075.0-b1 2017-06-26 15:50:45 +01:00
and3md 9c0eaec5af Accidental _OPENGL_ENABLED value change. 2017-06-25 18:39:42 +02:00
and3md 3dc4d6679a Full implemented scrollbars events. 2017-06-25 17:10:52 +02:00
and3md df9346920e Fix theme change crash on X11. 2017-06-25 15:46:51 +02:00
and3md baec5e04b4 Support window resize/add scrollbars when content is too big on win32. 2017-06-25 15:45:14 +02:00
and3md b2676e83c2 Fix theme change when window scrollbar visible. 2017-06-25 15:35:48 +02:00
and3md 774a33aae4 Support window resize/add scrollbars when content is too big on X11. 2017-06-25 14:39:34 +02:00
and3md 27c8e70f5b Implemented window resize/add scrollbars when content is too big. Temporarily works only on SDL. 2017-06-25 14:14:03 +02:00
and3md 6980a9b2e3 Set LineEdit measured size to "aaaaa" size and EditBox to "aaaaa/naaaaa". 2017-06-25 13:56:37 +02:00
and3md 110fc9122e Change the way how some widgets are measured, minimumVisibleContentSize() for widgets which content can be bigger than widget size. 2017-06-25 13:53:23 +02:00
Vadim Lopatin 4c1e97c952 optimize dminer example; fix win32 opengl support; enable wireframe mode for drawing of meshes 2017-06-23 15:47:02 +03:00
and3md 8edcc9a1e7 Setting new items array must reset _selectedItemIndex to -1. 2017-06-21 17:45:00 +02:00
and3md 8ec1c3cad1 Fix ComboBox setting items #375 2017-06-20 20:51:48 +02:00
Vadim Lopatin 6f4a9636a0 update Rect docs - right/bottom information 2017-06-14 08:50:53 +03:00
Vadim Lopatin 8bcfb8dcdd #373 2017-06-13 11:57:08 +03:00
Vadim Lopatin 22d5bad2a9 #373 2017-06-13 11:45:51 +03:00
Vadim Lopatin 4f30af7e76 fix build error 2017-06-13 11:17:54 +03:00
Vadim Lopatin 61eb06cffc try to fix build error union initialization 2017-06-13 11:09:28 +03:00
and3md 98bb79ed59 SDL: Fixes to windowRect, remove not needed redraw after SDL_WINDOWEVENT_RESIZED 2017-06-11 06:37:47 +02:00
Vadim Lopatin 775a62da1c Merge pull request #370 from FreeSlave/x11_set_clipboard_selection
Support for setting clipboard selection to share with other applications on X11
2017-06-10 09:42:43 +03:00
Vadim Lopatin 84ee32c100 Merge pull request #369 from g4z3r/gl
old GL API fixes
2017-06-10 09:42:27 +03:00
Roman Chistokhodov d8fd35a111 Support for setting clipboard selection to share with other applications 2017-06-08 19:17:28 +03:00
gazer 3d4bf61bb8 GL_INVALID_OPERATION quickfix 2017-06-08 18:14:05 +03:00
gazer b07a6d54a7 old API fixes 2017-06-08 15:59:12 +03:00
Vadim Lopatin 47615966db Merge pull request #368 from FreeSlave/x11_additions
X11 loop cleanup, less redraws. Support for non-resizable windows, mi…
2017-06-08 08:52:30 +03:00
Roman Chistokhodov 9657e80f04 X11 loop cleanup, less redraws. Support for non-resizable windows, minimize, maximize and restore on X11. Add minimize, maximize and restore buttons to example1 2017-06-08 03:54:08 +03:00
gazer 1ca3ea4b27 get rid from 'Non-zero DrawBuf instance count when exiting: 1' message 2017-06-08 02:22:15 +03:00
gazer 4b7fa25579 getting legacy GL to work 2017-06-07 23:33:16 +03:00
gazer 167e129f00 platform fixes 2017-06-07 21:52:27 +03:00
Roman Chistokhodov 8ffbf625d5 Set utf window titles in X11 2017-06-07 15:54:29 +03:00
Vadim Lopatin 60ea89fb45 fix file dialog file and folder icons - close #326 2017-06-07 10:56:07 +03:00
Vadim Lopatin 950c0c26cb Merge pull request #365 from g4z3r/gl
GL optimizations
2017-06-06 09:16:14 +03:00