Commit Graph

1108 Commits

Author SHA1 Message Date
Vadim Lopatin 0c5ad89b85 Get rid of dlib dependency: strip png and jpeg reading code and put to 3rdparty/dimage 2015-12-10 16:19:03 +03:00
Vadim Lopatin f841c401fd settings improvements 2015-12-10 11:03:54 +03:00
Vadim Lopatin 176759910c settings dialog improvements 2015-12-10 10:09:30 +03:00
Vadim Lopatin 9e878d2c16 add inputbox dialog; add New Folder button to file dialog 2015-12-09 17:00:17 +03:00
Vadim Lopatin 167cc17d22 fix problem with inputing of { and } in German locale, windows 2015-12-09 15:55:54 +03:00
Vadim Lopatin 94bc5d23b3 Merge pull request #111 from nakajimakotaro/commentfix
comment fix
2015-12-08 20:07:19 +03:00
Vadim Lopatin aa1204df50 fixes 2015-12-08 15:57:59 +03:00
nakajima kotaro 9f6b2c7d34 comment fix 2015-12-08 21:22:48 +09:00
Vadim Lopatin f380eac0b4 settings object improvements 2015-12-08 10:19:13 +03:00
Vadim Lopatin 67544217fe fixes 2015-12-07 17:05:02 +03:00
Vadim Lopatin 1ce0d9c9b5 fixes 2015-12-07 16:53:45 +03:00
Vadim Lopatin 67ff73e84a file dialog improvements 2015-12-07 16:10:48 +03:00
Vadim Lopatin 29bf2c452a listeners refactoring 2015-12-07 11:58:20 +03:00
Vadim Lopatin c31d60951b StringListWinget 2015-12-06 09:27:18 +03:00
Vadim Lopatin ba1b13b290 refactoring of signal names 2015-12-04 14:04:41 +03:00
Vadim Lopatin 1dde772437 Event listener names refactoring 2015-12-03 16:29:45 +03:00
Vadim Lopatin 78c5408dcf fix opengl support under win32 2015-12-03 14:47:45 +03:00
lve 1afb406be0 fixes 2015-12-03 14:29:16 +03:00
Vadim Lopatin 614567c664 fixes 2015-12-03 14:24:47 +03:00
Vadim Lopatin 48828dc30c configs fix 2015-12-03 13:58:37 +03:00
Vadim Lopatin 55c4b077da configuration definitions rework 2015-12-03 13:49:14 +03:00
Vadim Lopatin 4e5fa02802 Update configuration settings 2015-12-03 12:30:25 +03:00
Vadim Lopatin 8ab10544e5 X11 project files updated 2015-12-03 11:30:20 +03:00
Vadim Lopatin 6109734295 X11 backend OpenGL support is working 2015-12-03 10:47:23 +03:00
Vadim Lopatin b94e4c0ba5 X11 backend OpenGL support, initial 2015-12-03 10:08:20 +03:00
Vadim Lopatin a3a2d0258b X11 backend: timers, animation, async tasks fixed 2015-12-03 08:37:40 +03:00
Vadim Lopatin c3cd93fa51 X11 timers support 2015-12-02 17:07:33 +03:00
Vadim Lopatin 1c5ca7757a X11 backend cursors support 2015-12-02 15:11:23 +03:00
Vadim Lopatin 304f882dd2 X11 backend fixes 2015-12-02 14:23:53 +03:00
Vadim Lopatin 33b640f33f update Mono-D linux projects, X11 backend support 2015-12-02 12:30:19 +03:00
Vadim Lopatin f691ec7bb3 X11 backend: timers and custom events 2015-12-02 11:19:26 +03:00
Vadim Lopatin 5b9b130143 X11 backend - input method support 2015-12-01 16:58:26 +03:00
Vadim Lopatin 92805a16a7 X11 keyboard input 2015-12-01 15:35:24 +03:00
Vadim Lopatin 041df58bec X11 backend - keyboard support 2015-12-01 14:45:55 +03:00
Vadim Lopatin 1a54009bf0 fonts and X11 fixes: 2015-12-01 13:29:36 +03:00
Vadim Lopatin 477e825f8f X11 2015-12-01 12:27:02 +03:00
Vadim Lopatin bbd9d365d4 x11 2015-12-01 12:10:07 +03:00
Vadim Lopatin 5176abcaae X11 backend, draw image 2015-12-01 10:49:32 +03:00
Vadim Lopatin 8845f066cb x11 backend, continue development 2015-12-01 09:43:43 +03:00
Vadim Lopatin 0e61a78b70 X11 backend, continue 2015-12-01 08:50:44 +03:00
Vadim Lopatin 57b372e412 fix font support on OSX 2015-12-01 07:02:50 +03:00
Vadim Lopatin 2a0d73476d tabs improvements; grid improvements 2015-11-30 17:40:50 +03:00
Vadim Lopatin 1dfa3c60eb updated scrollbar resources; spreadsheet example improved 2015-11-30 16:09:19 +03:00
Vadim Lopatin efeb1b94d4 spreadsheet 2015-11-30 14:52:42 +03:00
Vadim Lopatin 2dbb69b5a6 spreadsheet example 2015-11-30 14:24:55 +03:00
Vadim Lopatin a7decf99ea spreadsheet example 2015-11-30 13:40:58 +03:00
Vadim Lopatin d00154f5b6 Merge branch 'master' of github.com:buggins/dlangui 2015-11-26 13:29:29 +03:00
Vadim Lopatin eba95b98f8 fixes 2015-11-26 13:29:23 +03:00
lve 31faedba60 X11 support 2015-11-26 13:22:52 +03:00
lve b9616b6589 fixes 2015-11-24 16:34:50 +03:00
Vadim Lopatin 6473c16520 X11 projects 2015-11-20 21:52:02 +03:00
Vadim Lopatin b977506c9b fix project settings for X11 2015-11-19 10:05:13 +03:00
Vadim Lopatin 2516e1d0db fix build errors 2015-11-19 09:04:38 +03:00
Vadim Lopatin cabed856cb merge 2015-11-19 08:51:57 +03:00
Vadim Lopatin e2926ad4e6 X11 backend, initial version 2015-11-18 17:02:19 +03:00
Vadim Lopatin a51abfffc1 mac osx cocoa support prototype 2015-11-16 21:29:32 +03:00
Vadim Lopatin 6764ce322b trying to fix OpenGL under virtualBox 2015-11-16 13:05:47 +03:00
Vadim Lopatin 41cf57d432 create new solution for MonoD-linux; fix crash on startup 2015-11-12 10:38:11 +03:00
Vadim Lopatin 53c20f0498 fix crash in release mode 2015-11-11 14:56:25 +03:00
Vadim Lopatin c125c224b8 fix support of older SDL2 versions - #90 2015-11-11 10:35:00 +03:00
Vadim Lopatin 1526901157 fix older FreeType versions support 2015-11-11 10:08:53 +03:00
Vadim Lopatin 68c6dbef03 fix empty file opening 2015-11-05 12:18:59 +03:00
Vadim Lopatin 1a8504fcd9 perspective projection, part 1 2015-11-03 16:46:32 +03:00
Vadim Lopatin 01d39e0635 implement clipping for line drawing 2015-11-03 16:34:10 +03:00
Vadim Lopatin 0778b77531 OpenGL: drawLine - use line shader instead of drawing line by points 2015-11-03 15:51:49 +03:00
Vadim Lopatin cde32bf2f3 remove usage of std.stream since it's deprecated; fix build warnings on new DMD 2015-11-03 14:20:08 +03:00
Vadim Lopatin a6a818a884 fix DrawBuf.fill behavior - apply clipping rectangle 2015-11-03 10:49:57 +03:00
Vadim Lopatin 0a3ef886b2 fix #95 - window.close behavior on Win32 2015-11-02 11:10:58 +03:00
Vadim Lopatin 61225f156d Merge branch 'master' of github.com:buggins/dlangui 2015-11-02 09:29:32 +03:00
Vadim Lopatin 2ef1154265 fix build errors 2015-11-02 09:28:36 +03:00
Dave Akers bd42a0d5ba Fix loading images upside down when using dlib 2015-08-06 00:48:44 -05:00
FreeSlave c958169f88 Log exception and return null on xpm loading failure. Add copyright 2015-06-07 14:34:15 +03:00
FreeSlave 3638974bdf Should fix x64 build 2015-06-07 14:15:34 +03:00
FreeSlave 9df5d70a6b Add xpm support 2015-06-07 14:06:54 +03:00
Vadim Lopatin eecaf20577 disable logging in win32/release build by default 2015-05-29 09:10:23 +03:00
Vadim Lopatin 33e569d079 for Win32 release mode, use stderr logging to avoid creation of cr3.log file; you can change logger directly in your UIAppMain if needed 2015-05-29 08:38:31 +03:00
Vadim Lopatin 968fae6257 Win 8.1 build as GUI app 2015-05-29 08:22:34 +03:00
Vadim Lopatin a9bc4cded5 remove pragma msg for signal list extraction 2015-05-06 10:06:16 +03:00
Vadim Lopatin be99e37fa2 FontConfig support - elapsed time measurements 2015-05-06 10:02:58 +03:00
Vadim Lopatin 5a977066a4 optimize getting of font list from FontConfig 2015-05-06 10:00:36 +03:00
Vadim Lopatin 2c80ba3f23 combobox improvements 2015-05-05 14:17:22 +03:00
Vadim Lopatin 8edf15db5f FontConfig support 2015-05-05 14:07:33 +03:00
Vadim Lopatin 9b7f4deaf4 DML support improvement 2015-05-05 11:16:48 +03:00
Vadim Lopatin 8190530136 migration to shorter listener names 2015-04-14 13:20:39 +03:00
Vadim Lopatin e34cf65351 convenient form of window.showMessageBox() 2015-04-13 17:35:01 +03:00
Vadim Lopatin 5f7038a4a0 expose ComboBox for DML 2015-04-13 16:49:47 +03:00
Vadim Lopatin 6411f2adde more logging to investigate crash on dmd x86_64 release build 2015-04-10 10:50:00 +03:00
Vadim Lopatin 77a1793761 fix issue #87 2015-04-09 16:24:46 +03:00
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
Vadim Lopatin d35498a82d fix unnecessary relayouts; remove excessive logging 2015-01-29 21:05:02 +03:00
Vadim Lopatin 4df4c0fc04 reduce relayouts 2015-01-29 18:24:07 +03:00
Vadim Lopatin c6b5028ff1 timers support for SDL backend 2015-01-29 16:29:58 +03:00
Vadim Lopatin 31893d1503 fixes 2015-01-29 15:50:09 +03:00
Vadim Lopatin 83aec70a41 fixes 2015-01-29 15:42:35 +03:00
Vadim Lopatin 6c102d0d40 update resources 2015-01-29 11:52:57 +03:00
Vadim Lopatin 0ef9a43d1a fix win32 platform timers; fix crash in editors; improve logger widget 2015-01-28 23:05:15 +03:00
Vadim Lopatin afae967515 fixes 2015-01-28 17:14:17 +03:00
Vadim Lopatin b9bd78d3fd background operation in appframe 2015-01-28 16:28:56 +03:00
Vadim Lopatin cd8ab190a9 AppFrame: handle background operation; show background operation status in status line 2015-01-28 16:14:50 +03:00
Vadim Lopatin e63a9b0b2a fix timers support; add timer example 2015-01-28 15:46:11 +03:00
Vadim Lopatin 1377556d92 timers support part 1 - for win32 platform 2015-01-28 15:14:32 +03:00
Vadim Lopatin 016a958a17 warn and fail if no freetype fonts found 2015-01-28 13:53:02 +03:00
Vadim Lopatin 4459efb406 hardcode some ttf fonts for MacOsX 2015-01-28 13:47:16 +03:00
Vadim Lopatin b1a9a950c8 timers, part 1 2015-01-28 13:46:54 +03:00
Vadim Lopatin 9510ec4c93 support opening of link in browser in linux as well 2015-01-27 21:59:58 +03:00
Vadim Lopatin 7c39e9f15e fix crash on popup dialogs w/o handlers 2015-01-27 18:34:00 +03:00
Vadim Lopatin 1554e52783 fix styles of popup window and file dialog places list 2015-01-27 16:46:48 +03:00
Vadim Lopatin 7e4f4ff019 improvements for dlangui 2015-01-27 16:26:54 +03:00
Vadim Lopatin 90cf7253ca file dialogs in popup by default; update style for floating windows 2015-01-27 15:47:52 +03:00
Vadim Lopatin cf75dd3496 modal popups 2015-01-27 15:20:02 +03:00
Vadim Lopatin 71e3ba0f62 ability to show any dialog in popup 2015-01-27 14:51:37 +03:00
Vadim Lopatin da821bcefc new type of button - URL link; support opening of URL in external browser - for windows 2015-01-27 13:56:42 +03:00
Vadim Lopatin 2009575542 resizing in docks is working 2015-01-27 11:44:39 +03:00
Vadim Lopatin b76b47833a docks refactoring 2015-01-27 11:26:59 +03:00
Vadim Lopatin 7f27b57063 dock window resizers, part 2 2015-01-26 21:28:49 +03:00
Vadim Lopatin a820afd995 fix build error 2015-01-26 19:55:42 +03:00
Vadim Lopatin e1b13514c4 resizers in docks - part 1 2015-01-26 19:47:27 +03:00
Vadim Lopatin 96d19be199 support exact filename in file filter; fix action dispatching when no focus 2015-01-26 17:35:03 +03:00
Vadim Lopatin 6e1f11fd57 better actions support 2015-01-26 16:54:35 +03:00
Vadim Lopatin f509171b04 AppFrame: main menu accelerators 2015-01-26 16:28:42 +03:00
Vadim Lopatin f11435e4b6 tab and tree controls fixes 2015-01-26 16:07:35 +03:00
Vadim Lopatin 90e6d7e49c collections: crash fixed; editors: notify about modified state change; tabs: allow renaming tab: 2015-01-26 13:36:10 +03:00
Vadim Lopatin 3e53fdb3db subpixel rendering for OpenGL, part 2 2015-01-26 10:39:50 +03:00
Vadim Lopatin 4e90c9b39e cleartype for opengl, part 1; WARNING: openGL text rendering is broken - don't sync to this commit 2015-01-26 07:29:53 +03:00
Vadim Lopatin b15478b8e5 subpixel antialiasing in freetype fonts 2015-01-24 22:10:08 +03:00
Vadim Lopatin d66f79c019 EditBox - zoomIn/zoomOut using Ctrl+keypad +/- 2015-01-24 11:01:34 +03:00
Vadim Lopatin a6f68a5f52 turn on subpixel antialiasing (ClearType) for win32 fonts / no opengl 2015-01-23 22:27:47 +03:00
Vadim Lopatin ae75f40323 subpixel rendering 2015-01-23 17:50:25 +03:00
Vadim Lopatin 40c138e911 subpixel rendering, part 1 2015-01-23 15:48:29 +03:00
Vadim Lopatin b417db74a0 font size fixes 2015-01-23 10:36:51 +03:00
Vadim Lopatin fdb965b45c fix saving of text files 2015-01-22 18:16:45 +03:00
Vadim Lopatin 173388fdff fix crash on action handling 2015-01-22 17:57:52 +03:00
Vadim Lopatin 0b3440500a fix build error 2015-01-22 16:18:12 +03:00
Vadim Lopatin 0ddf2fa508 get rid of unnecessary resource dirs, language and theme setting when default values are used 2015-01-22 16:14:43 +03:00
Vadim Lopatin 5b1c0de0ae embedded resources in examples; embedded i18n resources support 2015-01-22 15:48:01 +03:00
Vadim Lopatin 3d8f195e4a embed standard resources 2015-01-22 14:21:18 +03:00
Vadim Lopatin ae543e7c8a embed standard resources, part 1 2015-01-22 12:31:05 +03:00
Vadim Lopatin 645ed7c9b5 fix x64 build 2015-01-22 12:09:10 +04:00
Vadim Lopatin 4984dee061 Merge branch 'master' of github.com:buggins/dlangui 2015-01-22 12:00:30 +04:00
Vadim Lopatin 3448facf43 package refactoring 2015-01-22 10:49:46 +03:00
Vadim Lopatin a276806ef3 add toolbar styled combobox 2015-01-21 17:45:19 +03:00
Vadim Lopatin 27e4b4e9cb update styles 2015-01-21 16:17:00 +03:00
Vadim Lopatin 9bcff67702 update styles for treem, list items, menu items 2015-01-21 12:17:06 +03:00
Vadim Lopatin 98b99f1d7d fix issue #30 - fillRect clipping for openGL 2015-01-21 10:58:03 +03:00
Vadim Lopatin 255cf51d2c syntax highlight fixes 2015-01-21 10:53:19 +03:00
Vadim Lopatin 7b819f6db3 syntax coloring - more categories 2015-01-21 10:24:42 +03:00
Vadim Lopatin 851b928f23 syntax highlight 2015-01-21 09:30:27 +03:00
Vadim Lopatin f1c4ec82f2 win32 font fixes; syntax highlight categories update 2015-01-20 18:24:34 +03:00
Vadim Lopatin 9b414beb35 update readme; update logo for tetris; improve example1 layouts; update docs 2015-01-20 12:31:05 +03:00
Vadim Lopatin 4d5169c852 cleanup project from freeimage references 2015-01-20 09:39:04 +03:00
Vadim Lopatin eddda1243b fix warning 2015-01-20 09:35:51 +03:00