Commit Graph

870 Commits

Author SHA1 Message Date
Vadim Lopatin e028be2221 3d support continue 2015-04-09 13:59:41 +03:00
Vadim Lopatin 931e26692d fix build under linux 2015-04-09 11:15:00 +03:00
Vadim Lopatin 576d8dbb3b 3d scene, continue 2015-04-08 12:02:16 +03:00
Vadim Lopatin 4452ebdbcd 3d scene, continue development 2015-04-08 08:55:31 +03:00
Vadim Lopatin 9a1d35aa86 trying to fix unittests 2015-04-07 12:24:03 +03:00
Vadim Lopatin d97cec9522 main() refactoring 2015-04-07 12:15:06 +03:00
Vadim Lopatin e592462f6b DML related refactoring 2015-04-07 12:07:21 +03:00
Vadim Lopatin 3eaea625d7 refactoring of DML code 2015-04-07 11:46:03 +03:00
alphaKAI e9473480bb fix implicit convert at src/dlangui/core/parser.d
Erros:
src/dlangui/core/parser.d(162): Error: cannot implicitly convert expression (this._lineText.length) of type ulong to int
src/dlangui/core/parser.d(196): Error: cannot implicitly convert expression (this._lineText.length) of type ulong to int

Original Code(both of these lines):
_len = _lineText.length;
Fixed Core(both of these lines):
_len = cast(int)_lineText.length;
2015-04-03 15:47:46 +09:00
Vadim Lopatin cc0f09a4c4 Hello World rewritten with usage DML parser 2015-04-02 16:30:20 +03:00
Vadim Lopatin c895b3f03a DML editor samples 2015-04-02 15:42:44 +03:00
Vadim Lopatin bd56d0084b DML editor 2015-04-02 14:39:19 +03:00
Vadim Lopatin 5b67dbde81 DML editor sample 2015-04-02 11:53:28 +03:00
Vadim Lopatin f0a615ed82 ML parser improvements; allow specifying percent size for layoutWidth, layoutHeight in percents 2015-04-02 11:06:50 +03:00
Vadim Lopatin 2877cba890 new example: DML editor 2015-04-02 09:50:28 +03:00
Vadim Lopatin 22118b5654 improvements in loading from DML - issue #58 2015-04-01 17:39:58 +03:00
Vadim Lopatin b62334e5c7 improvements in loading from DML - issue #58 2015-04-01 15:14:00 +03:00
Vadim Lopatin bec083326b ML parser, continue 2015-03-31 18:33:06 +03:00
Vadim Lopatin e497b6bb36 ML parser, part 1 2015-03-31 16:39:06 +03:00
Vadim Lopatin 6b5f99853b Merge pull request #82 from Freakazo/master
Make handleAction not protected
2015-03-31 13:07:20 +03:00
Vadim Lopatin b28a1e95b7 list adapters: support adding/removing items, fix issue #80 2015-03-31 13:06:14 +03:00
Vadim Lopatin 433263133c correct win32 opengl initialization - possible fixes issue #81 2015-03-31 10:23:14 +03:00
Hans-Albert Maritz e12b662be6 Make handleAction not protected 2015-03-31 05:37:43 +11:00
Vadim Lopatin 10aa79f479 improve sfml support 2015-03-28 13:06:03 +03:00
Vadim Lopatin 9e08b43f31 dsfml: support keyboard events 2015-03-27 18:43:43 +03:00
Vadim Lopatin 460f02cd57 dsfml support - mouse events and window resize 2015-03-27 18:22:26 +03:00
Vadim Lopatin 27d07cc6d5 add missing files 2015-03-27 16:53:59 +03:00
Vadim Lopatin 045621a90e dsfml platform - initial support 2015-03-27 16:48:40 +03:00
Vadim Lopatin bf9f438d0f fix layout problems 2015-03-27 14:08:40 +03:00
Vadim Lopatin a42c8c0806 fix SimpleTextFormatter 2015-03-27 13:12:48 +03:00
Vadim Lopatin 1b50e0586a platform initialization/deinitialization refactoring 2015-03-27 11:39:55 +03:00
Vadim Lopatin c54da25549 platform initialization/deinitialization refactoring 2015-03-27 11:25:42 +03:00
Vadim Lopatin 9ce0c2a488 remove unnecessary logging 2015-03-27 09:19:30 +03:00
Vadim Lopatin 740857d7bd add missing import 2015-03-27 09:17:18 +03:00
Vadim Lopatin ac7743ad5c add missing import 2015-03-27 09:16:05 +03:00
Vadim Lopatin afea75828e platform init/uninit refactoring - move common parts to platform.d 2015-03-27 09:13:58 +03:00
Vadim Lopatin dbd6b84794 combobox selectedItemIndex chaining 2015-03-25 13:12:59 +03:00
Vadim Lopatin 11ff71753e combobox selectedItemIndex chaining 2015-03-25 13:11:00 +03:00
Vadim Lopatin fc479a1cfa Merge branch 'master' of github.com:buggins/dlangui 2015-03-25 08:43:15 +03:00
Vadim Lopatin b2be31ac9f whitespace remove 2015-03-25 08:43:05 +03:00
Vadim Lopatin a9d1a31f6b added DrawBuf,drawLine() - issue #64 - based on code from Ted Bullen; OpenGL version of drawLine still needs optimization to avoid drawing by-pixel 2015-03-24 21:56:54 +03:00
Vadim Lopatin 0c2b25d558 CanvasWidget, with example 2015-03-24 21:20:47 +03:00
Vadim Lopatin ca58769a91 issue #64 - draw points 2015-03-24 20:47:54 +03:00
Vadim Lopatin 5eec0f91cf fix High DPI window resize 2015-03-24 08:53:16 +03:00
Vadim Lopatin 40a3c36dd2 remove XCB backend from sources 2015-03-23 17:33:24 +03:00
Vadim Lopatin 9ec5b0b1b9 scene 3D, initial implementation 2015-03-23 17:30:08 +03:00
Vadim Lopatin 11d4b33051 better HDPI support 2015-03-23 14:16:26 +03:00
Vadim Lopatin 1a07f72b29 HDPI resources support - issue #76 2015-03-23 12:32:23 +03:00
Vadim Lopatin 865eaab4cb DPI aware font size in log windows: fix issue #76 2015-03-23 11:40:00 +03:00
Vadim Lopatin f511ba03ff fix issue #78
readonly editors
2015-03-23 10:27:58 +03:00
Vadim Lopatin 9ccbbb307c fix issues #76, #72 - High DPI (Retina) displays support 2015-03-23 10:25:26 +03:00
Vadim Lopatin 568b87cc5f fix issues #76, #72 - High DPI (Retina) displays support 2015-03-23 10:24:48 +03:00
Vadim Lopatin c284461b50 fix issue #74 - shaders on Mac 2015-03-23 09:50:29 +03:00
Vadim Lopatin 5f01235be1 trying to fix OpenGL support on Mac OSX 2015-03-20 14:56:14 +03:00
Vadim Lopatin 20f6488694 refactor shaders code 2015-03-19 11:47:11 +03:00
Vadim Lopatin 3b4e98b024 High DPI and resource sizes in points support, possible fix for issue #72 2015-03-19 10:32:24 +03:00
Vadim Lopatin 6cfe98a4f1 possible fix for #74 - undeclared gl_FragmentColor 2015-03-18 12:08:09 +03:00
Vadim Lopatin 115f409c29 OpenGL support improvements 2015-03-18 11:28:03 +03:00
Vadim Lopatin d31130dde9 implement issue #39 - MultilineTextWidget 2015-03-18 11:26:08 +03:00
Vadim Lopatin cd8c617e05 support simple multiline text formatting and drawing 2015-03-18 10:12:30 +03:00
Vadim Lopatin 2155d8418b fix OpenGL support on Win32 backend 2015-03-18 09:30:12 +03:00
Vadim Lopatin 903fafc590 fix OpenGL initialization in SDL app 2015-03-17 13:40:07 +03:00
Vadim Lopatin d4def4cadd trying to fix OpenGL problems on Mac - use texture instead of texture2D in shader 2015-03-17 12:24:56 +03:00
Vadim Lopatin 2f7bd7e108 fix shaders syntax for opengl - fix problem with OpenGL on mac 2015-03-17 10:31:11 +03:00
Vadim Lopatin 8d0d67a5ba trying to fix OpenGL problem on MAC - part 2 2015-03-16 17:16:44 +03:00
Vadim Lopatin 945aabfc1d trying to fix OpenGL problem on MAC 2015-03-16 17:04:42 +03:00
Vadim Lopatin 057a37df3e Try creating OpenGL 2.1, 2.0 context if v3.2 context creation is failed 2015-03-16 11:48:00 +03:00
Vadim Lopatin f599a7e4df fix opengl context creation 2015-03-16 09:39:29 +03:00
Vadim Lopatin 027cfdb685 possible fix for issue #72 - GUI is blurry when using retina displays; theme font size in pt 2015-03-12 10:04:31 +03:00
Vadim Lopatin 0b126d6c4e possible fix for issue #72 - GUI is blurry when using retina displays 2015-03-11 09:12:36 +03:00
Vadim Lopatin 3e75395861 possible fix for issue #72 - GUI is blurry when using retina displays 2015-03-11 09:06:54 +03:00
Vadim Lopatin e8f2057ecd fix mouse coordinates for HIGHDPI on mac 2015-03-10 17:55:26 +03:00
Vadim Lopatin 23bc6f9187 fix issue GUI is blurry when using retina displays #72 2015-03-10 17:44:41 +03:00
Vadim Lopatin 556bae77a9 support tab control placement at bottom 2015-03-10 17:16:58 +03:00
Vadim Lopatin 5bfb363744 fix underline; log widget improvements 2015-03-10 16:03:15 +03:00
Vadim Lopatin bfd5f48589 log widget fixes 2015-03-10 14:42:09 +03:00
Vadim Lopatin a740aa0f0c dark theme fixes 2015-03-10 13:32:22 +03:00
Vadim Lopatin 9ba372a504 themed editors 2015-03-10 10:45:41 +03:00
Vadim Lopatin 63e9d69b5c dark theme related fixes 2015-03-06 14:56:24 +03:00
Vadim Lopatin a050465e9f dark theme 2015-03-06 10:46:02 +03:00
Vadim Lopatin c646095cb8 support overriding of drawables in theme using customDrawable 2015-03-06 10:24:14 +03:00
Vadim Lopatin 4a4152bd67 fix issue #72 - TODO for high DPI on windows 2015-03-06 10:10:56 +03:00
Vadim Lopatin dd214309c0 fix issue #72 - retina displays support on mac 2015-03-06 10:05:46 +03:00
Vadim Lopatin ae83f16639 dark theme, part 1 2015-03-05 17:40:19 +03:00
Vadim Lopatin f0742487dd implement clearing of glyph caches after font manager settings change; implement onThemeChange notification 2015-03-05 10:43:59 +03:00
Vadim Lopatin c6165bd64d combobox improvements; settings dialog improvements 2015-03-04 17:42:26 +03:00
Vadim Lopatin cd8e85372b fix settings 2015-03-04 13:44:17 +03:00
Vadim Lopatin cbf9b64b0c settings editor - edit number; editors - change listener 2015-03-04 13:28:08 +03:00
Vadim Lopatin 9d52514295 fix scroll issue; settings dialog improvements 2015-03-04 11:29:55 +03:00
Vadim Lopatin 4d62cdd359 settings dialog 2015-03-04 10:16:32 +03:00
Vadim Lopatin e654035492 settings dialog support 2015-03-03 17:57:12 +03:00
Vadim Lopatin 042c675431 controls 2015-03-03 16:53:38 +03:00
Vadim Lopatin 2cceeb94fb settings editors 2015-03-03 16:42:05 +03:00
Vadim Lopatin 77a076b485 settings dlg 2015-02-27 17:53:29 +03:00
Vadim Lopatin 192d3474dc settings dialog, part 1 2015-02-27 15:54:55 +03:00
Vadim Lopatin 2bb3fcb258 settings improvements: allow foreach iteration over arrays and maps 2015-02-27 12:18:44 +03:00
Vadim Lopatin 0850b5810f tree expand icon fix 2015-02-26 17:37:45 +03:00
Vadim Lopatin ce820a5dd2 support of smart indents 2015-02-24 14:13:41 +03:00
Vadim Lopatin 021155b12a smart indents support 2015-02-24 12:32:32 +03:00
Vadim Lopatin 9275b8c811 rename SyntaxHighlighter to SyntaxSupport 2015-02-24 11:19:37 +03:00
Vadim Lopatin 2428b06ad8 Merge pull request #65 from axiom-a/use_of_package
Use of package.d for cleaner import lines in applications.
2015-02-24 10:51:03 +03:00
Vadim Lopatin bde4b0d44e Merge pull request #67 from MrSmith33/master
Fix 64-bit build.
2015-02-24 07:04:49 +03:00
Emil Nicolaie Perhinschi 33d1afebc6 registered a font path so dlangide will compile on Debian Wheezy without hacks 2015-02-24 03:19:46 +02:00
Andrey Penechko 8b1395ca00 Fix 64-bit build. 2015-02-23 13:38:13 +02:00
knommad 0d81aafee6 Use of package.d for cleaner import lines in applications. 2015-02-22 09:13:53 +10:30
Vadim Lopatin 5e59151661 fix issue 32 submitted on dlangide 2015-02-20 16:23:12 +03:00
Vadim Lopatin fcda30b159 fix dlangide issue 33 - openging of .json file in editor causes crash 2015-02-19 11:29:33 +03:00
Vadim Lopatin f4fad909c2 fix settings implementation 2015-02-17 17:40:44 +03:00
Vadim Lopatin 54bb53d4e5 temporary fix for app hanging on druntime shutdown when there were several threads: 2015-02-17 15:49:01 +03:00
Vadim Lopatin 7ed43feb7f fix key codes 2015-02-17 14:21:24 +03:00
Vadim Lopatin cf4ba4a9a3 window onClose handler 2015-02-17 13:20:08 +03:00
Vadim Lopatin 42f9d60b4f better settings accessors 2015-02-17 11:50:05 +03:00
Vadim Lopatin ae12dd12b9 search executable using PATH env variable 2015-02-17 11:01:07 +03:00
Vadim Lopatin 90429a84fd Merge pull request #62 from MrSmith33/master
Fix appending string to dchar[]. Fix C-style arrays.
2015-02-17 09:33:14 +03:00
Vadim Lopatin 36a95e6849 Merge pull request #61 from Freakazo/master
Check that line is not empty.
2015-02-17 09:32:22 +03:00
Andrey Penechko af30472a7b Fix appending string to dchar[]. Fix C-style arrays. 2015-02-17 02:45:22 +02:00
Vadim Lopatin 8208f43049 configurable shortcuts - issue #59 2015-02-16 12:06:43 +03:00
Vadim Lopatin 009e0ec21c externalizable accelerators 2015-02-16 10:52:11 +03:00
Vadim Lopatin 9b3c2b3cfc improve settings 2015-02-16 10:27:25 +03:00
Hans-Albert Maritz eaee37599f Check that line is not empty.
Fixes potential out of bounds access a couple of lines below.
2015-02-15 20:05:48 +11:00
Vadim Lopatin 06d1f31cd0 fixes 2015-02-13 17:14:35 +03:00
Vadim Lopatin 7490ae0c56 fix resource leak when closing tabs 2015-02-13 16:35:38 +03:00
Vadim Lopatin 195a8587be resource leak detection - always enable for debug builds 2015-02-13 16:22:43 +03:00
Vadim Lopatin d34ffd75a1 allow processing of window close event - e.g. to disable closing if there is unsaved data - issue #60 implemented for win32 backend 2015-02-13 14:20:53 +03:00
Vadim Lopatin 26d9481506 implement drag&drop files to application window 2015-02-13 13:37:24 +03:00
Vadim Lopatin 218093443b global action name/id maps, global action accelerator map - to allow overriding actino accelerators 2015-02-13 12:40:48 +03:00
Vadim Lopatin 4ed1efd75b win32 backend: fix keyboard focus issue when returning back to dlangui window from another app with mouse instead of Alt+Tab (dlangide issue 26) 2015-02-13 11:47:19 +03:00
Vadim Lopatin dabc76390b fix indent/unindent with Tab key for case when several lines selected: issue 22 in dlangide 2015-02-12 21:43:36 +03:00
Vadim Lopatin 37a5072955 move some vars from TLS to __gshared 2015-02-12 20:20:30 +03:00
Vadim Lopatin 45b1fa3bd1 fix crash on redo; fix redo and delete line shortcuts 2015-02-12 16:38:31 +03:00
Vadim Lopatin 4ffd0af922 support simple text popups; issue #43 is completed 2015-02-12 15:38:12 +03:00
Vadim Lopatin 08e9cd8d06 tooltips support 2015-02-12 15:23:52 +03:00
Vadim Lopatin 1b338828af tooltips support, part 2 2015-02-12 14:12:33 +03:00
Vadim Lopatin c67eac3432 match brackets in editors support 2015-02-12 11:12:52 +03:00
Vadim Lopatin 7d7dc6faee fix for matching brackets support in editors 2015-02-11 16:12:00 +03:00
Vadim Lopatin f703b74408 matching brackets highlight in editors 2015-02-11 15:55:07 +03:00
Vadim Lopatin 579b297147 editable fixes 2015-02-11 15:16:10 +03:00
Vadim Lopatin b037625854 fix editors cursor placement 2015-02-11 13:36:34 +03:00
Vadim Lopatin 9f01f14645 allow specifying window size on creation 2015-02-11 13:33:03 +03:00
Vadim Lopatin 888859835c popup menu support for tree items 2015-02-11 12:03:26 +03:00
Vadim Lopatin 7a53faa63f ability to remove collapse icon for single top item 2015-02-11 10:54:52 +03:00
Vadim Lopatin a749f127f8 fixes 2015-02-11 10:54:27 +03:00
Vadim Lopatin 75ef00fb15 ability to add custom icons for file types 2015-02-11 10:53:29 +03:00
Vadim Lopatin f64b2c55c6 more keycodes; increase font size for tabs 2015-02-11 09:34:37 +03:00
Vadim Lopatin 84bf895d06 paired bracket highlight, part 1 2015-02-10 18:27:44 +03:00
Vadim Lopatin 9fd6a1e513 select word by double click in editors 2015-02-10 17:57:33 +03:00
Vadim Lopatin 02526cbbb3 fix underlining 2015-02-10 16:06:25 +03:00
Vadim Lopatin 1733394bb1 optimizations 2015-02-10 16:05:56 +03:00
Vadim Lopatin de4c374197 win32 fonts size 2015-02-10 11:24:45 +03:00
Vadim Lopatin 9db29a19cd change package structure - #56 2015-02-10 09:53:21 +03:00
Vadim Lopatin 266c24936e fix toggle comment shortcut under SDL; allow freetype support when using sdl under win32 2015-02-09 17:59:51 +03:00
Vadim Lopatin 70d27155b0 support toggle comment 2015-02-09 17:42:05 +03:00
Vadim Lopatin 8293129a25 fix toggle line comment 2015-02-09 15:43:32 +03:00
Vadim Lopatin 44728bdb61 toggle comment support 2015-02-09 15:29:18 +03:00
Vadim Lopatin f99985623c toggle line comment support 2015-02-09 12:33:26 +03:00
Vadim Lopatin 183571efa0 editable - refactoring of tabs processing 2015-02-09 11:23:58 +03:00
Vadim Lopatin ed6d2df29a support toggle line and block comments in editors 2015-02-09 10:11:26 +03:00
Vadim Lopatin 6bb69b2471 indent/unindent editor actions improved 2015-02-09 09:45:23 +03:00
Vadim Lopatin 9fba7e6cfa fix font zooming with Ctrl+MouseWheel - fix issue #55 2015-02-08 21:50:51 +03:00
Vadim Lopatin 1cf381e4b9 update editor actions 2015-02-08 21:23:15 +03:00
Vadim Lopatin f9bef62e65 keys 2015-02-08 21:12:49 +03:00
Vadim Lopatin 15c911b7bd delete line by Ctrl+Y, insert new line by Ctrl+Enter 2015-02-08 20:25:07 +03:00
Vadim Lopatin 688866b017 new editor actions - part 1 2015-02-08 20:07:47 +03:00
Vadim Lopatin e91114994e fix issue #52 - showCloseButton flag 2015-02-08 19:51:41 +03:00
Vadim Lopatin 1f26e95467 autodetect line endings while processing resource list for embedding; issue #49 2015-02-08 19:43:07 +03:00
Vadim Lopatin 5212b97151 Merge branch 'master' of github.com:buggins/dlangui 2015-02-06 17:38:37 +03:00
Vadim Lopatin 29da551ee2 fix warning 2015-02-06 17:37:51 +03:00
John Colvin 76967e6c8d Buff.reserve should take size_t 2015-02-06 14:19:37 +00:00
Vadim Lopatin 4fde13e620 improve settings implementation 2015-02-06 14:48:34 +03:00
Vadim Lopatin 7bffc5ec90 Settings json loading/saving is working 2015-02-06 12:25:42 +03:00
Vadim Lopatin 589a02debd json parsing 2015-02-06 11:55:41 +03:00
Vadim Lopatin 424bf7a83e json parsing 2015-02-06 11:02:15 +03:00
Vadim Lopatin 392e3b4c1d settings support 2015-02-05 13:06:15 +03:00
Vadim Lopatin 539a8d859e settings support 2015-02-05 09:48:47 +03:00
Vadim Lopatin 6c4d113e8c settings API refactoring 2015-02-04 17:17:35 +03:00
Vadim Lopatin dcd5b33b2c settings refactoring 2015-02-04 14:57:26 +03:00
Vadim Lopatin 199b0ef2a2 refactoring settings 2015-02-03 14:11:14 +03:00
Vadim Lopatin 224b6d1fb5 fix line endings detection when opening text files - issue #48 2015-02-03 10:55:52 +03:00
Vadim Lopatin d2e37e38b8 settings - part 3 2015-02-02 17:56:50 +03:00
Vadim Lopatin 45ef53745d settings - part 2 2015-02-02 16:30:19 +03:00
Vadim Lopatin aa31add405 Settings support, part 1 2015-02-02 15:54:36 +03:00
Vadim Lopatin 1003270833 edit marks 2015-02-02 14:36:39 +03:00
Vadim Lopatin f902ceb0b2 edit marks 2015-02-02 13:49:45 +03:00
Vadim Lopatin 51c93a0424 editors: modification marks for lines support, part 3 2015-02-02 12:16:01 +03:00
Vadim Lopatin 9194cecd12 editors: modification marks for lines support, part 2 2015-02-02 12:10:37 +03:00
Vadim Lopatin e7fe0e818c editors: modification marks for lines support, part 1 2015-02-02 11:09:40 +03:00
Vadim Lopatin 4931e00fec refactoring of action states - use struct 2015-02-01 08:30:25 +03:00
Vadim Lopatin 172defcc07 action state update - working 2015-01-31 22:52:04 +03:00
Vadim Lopatin 9e0d20c814 update actions - continue 2015-01-31 08:03:58 +03:00
Vadim Lopatin 055979b9e7 actions update - working 2015-01-30 17:55:04 +03:00
Vadim Lopatin a1ee2ba8b1 actions state requests, part 3 2015-01-30 17:04:48 +03:00
Vadim Lopatin bf79159d39 actions state requests, part 2 2015-01-30 16:14:43 +03:00
Vadim Lopatin 7564129b42 actions state requests, part 1 2015-01-30 15:09:46 +03:00
Vadim Lopatin 3ce5afe42b theme fixes; caret blinking speed adjusted 2015-01-30 13:52:24 +03:00
Vadim Lopatin e7f1e2201f implement caret blinking - issue #40 2015-01-30 13:43:07 +03:00
Vadim Lopatin 7dca400e4c refactoring: move EditableContent into separate module 2015-01-30 12:26:25 +03:00
Vadim Lopatin d74e995d02 implement font gamma setting; tune fonts in default theme 2015-01-30 12:04:46 +03:00
Vadim Lopatin 98f90165ba fix issue #42 - editors update after loading of file; fix theme 2015-01-30 10:59:07 +03:00
Vadim Lopatin 62c94537a2 win32 platform freetype support improvements 2015-01-30 09:48:01 +03:00
Vadim Lopatin 08de99de59 new font hinting mode: Light (mac-like) for freetype 2015-01-29 22:40:28 +03:00