Commit Graph

1367 Commits

Author SHA1 Message Date
Vadim Lopatin e1b1056d31 fix mipmap levels support 2016-04-06 14:39:52 +03:00
Vadim Lopatin 0d3fc3b1b5 texture mipmap levels 2016-04-06 12:17:33 +03:00
Vadim Lopatin ca71fe2e54 bump mapping - cube mesh with tangent and binormal 2016-04-06 11:18:15 +03:00
Vadim Lopatin 31f2c79271 bump mapping vertex attributes 2016-04-06 09:39:42 +03:00
Vadim Lopatin f5db3da85f bump mapping 2016-04-06 09:28:07 +03:00
Vadim Lopatin a8dec6c632 fix warning 2016-04-06 08:44:50 +03:00
Vadim Lopatin da666d0226 improving fbx import 2016-04-05 16:15:40 +03:00
Vadim Lopatin 22f9b7a8c7 fbx import, initial version 2016-04-05 15:17:11 +03:00
Vadim Lopatin 35ee4fbb99 #183 Scene3d: fix OBJ import 2016-04-05 11:55:33 +03:00
Vadim Lopatin ec25eb2104 #183 point lights are working 2016-04-05 11:18:21 +03:00
Vadim Lopatin 56795f24da fix warning 2016-04-05 10:56:02 +03:00
Vadim Lopatin 9633cd9465 trying to get lighting working 2016-04-05 10:54:30 +03:00
Vadim Lopatin 1a1e904f2e lighting, automatic parameter assignment 2016-04-05 09:33:16 +03:00
Vadim Lopatin d8bca0d935 lookAt 2016-04-04 17:00:35 +03:00
Vadim Lopatin b00d3265cd #183 light autobindings for materials 2016-04-04 16:33:33 +03:00
Vadim Lopatin 42464ccd35 fix build error 2016-04-04 15:37:37 +03:00
Vadim Lopatin 97cf194319 #183 light bindings 2016-04-04 15:36:16 +03:00
Vadim Lopatin 846c25c652 #183 light bindings 2016-04-04 14:56:58 +03:00
Vadim Lopatin 5f0356b3d9 #183 material diffuseColor, ambientColor 2016-04-04 12:18:13 +03:00
Vadim Lopatin a48dd1d99b #183 improvements 2016-04-04 11:53:41 +03:00
Vadim Lopatin b01f90c7c2 #183 OpenGL shaders code refactoring; compatibility with GamePlay SDK 2016-04-04 11:04:22 +03:00
Vadim Lopatin f9e50f6bcb Merge pull request #225 from MyLittleRobo/master
Add more paths in getRootPaths for Linux
2016-04-04 08:54:42 +03:00
FreeSlave ed5de5d6b7 Extended getRootPaths support on FreeBSD 2016-04-02 03:43:18 +04:00
FreeSlave 67ccdc54a2 Add more paths in getRootPaths for Linux 2016-04-02 00:46:09 +03:00
Vadim Lopatin 634dfc195c #183 : lights, initial version 2016-04-01 15:26:21 +03:00
Vadim Lopatin 815283e25c #183 : fix OBJ loader 2016-04-01 14:26:42 +03:00
Vadim Lopatin 52fbe8a38f Scene3d: OBJ import 2016-04-01 10:11:33 +03:00
Vadim Lopatin 7fc9dd9495 obj model loader for #183 2016-03-31 15:47:05 +03:00
Vadim Lopatin 06d009d928 fix missing scene3d files 2016-03-31 12:02:36 +03:00
Vadim Lopatin 92a348974f Implement simple Scene3d drawing: #183 2016-03-31 10:54:54 +03:00
Vadim Lopatin d882a203c0 fixes for #183 2016-03-29 16:52:10 +03:00
Vadim Lopatin 698e3bc36e fixes for #183 2016-03-29 16:50:16 +03:00
Vadim Lopatin 84c9dc4e4e fixes for #183 2016-03-29 16:37:58 +03:00
Vadim Lopatin cccdc605ce fixes for #183 2016-03-29 15:36:54 +03:00
Vadim Lopatin b3da543c8c 3d scene - effect; for #183 2016-03-29 14:50:33 +03:00
Vadim Lopatin 59c6df1c06 fix OpenGL image cache behavior for big images; add DrawBuf.invalidate() to update chaches with changed image; fix #222 2016-03-29 09:36:27 +03:00
Vadim Lopatin 6b767acaa4 fix #209 2016-03-28 17:52:30 +03:00
Vadim Lopatin 8912be6208 fix #219 2016-03-28 17:24:44 +03:00
Vadim Lopatin de968f3618 Merge branch 'master' of github.com:buggins/dlangui 2016-03-28 16:40:37 +03:00
Vadim Lopatin 01584e7478 fix for #219 2016-03-28 16:40:28 +03:00
gazer 6968e412ea doc fixes 2016-03-27 20:07:33 +03:00
Vadim Lopatin 48bfd312f7 support older compiler 2016-03-25 15:01:28 +03:00
Vadim Lopatin 18a2451de5 support older compiler 2016-03-25 15:00:09 +03:00
Vadim Lopatin cb670b057d support older compiler 2016-03-25 14:59:39 +03:00
Vadim Lopatin 8b827420c2 support older compiler 2016-03-25 14:59:02 +03:00
Vadim Lopatin 695003ba2b minecraft mesh renderer is working 2016-03-25 14:39:10 +03:00
Vadim Lopatin 1ebecc8bc8 Merge branch 'master' of github.com:buggins/dlangui 2016-03-25 13:15:03 +03:00
Vadim Lopatin d27062ff63 fix 3d math; d3d example is now working 2016-03-25 13:14:45 +03:00
Dmitry Popov be04929d12 fix tooltips blinking: don't hide tooltip on mouse move event if no move really happened 2016-03-24 17:48:54 +07:00
Vadim Lopatin 05442de450 d3d example fixes; DML - double literals fix, DML widgets: alpha property fix 2016-03-22 15:49:26 +03:00
Vadim Lopatin b10cc6f5d8 support ScrollBar.orientation property in DML 2016-03-22 14:47:31 +03:00
Vadim Lopatin 9f37ee5257 remove extra logging 2016-03-22 13:11:01 +03:00
Vadim Lopatin 01da716a70 minecraft like renderer 2016-03-22 11:55:05 +03:00
Vadim Lopatin e525e13e73 word wrapping for EditBox - starting implementation, issue #206 2016-03-21 17:19:42 +03:00
Vadim Lopatin 3e4d5b6622 fix #199 - crash on theme change 2016-03-21 16:58:00 +03:00
Vadim Lopatin 9d86705a55 fix double drawing of tab header - fix #190 2016-03-21 13:45:23 +03:00
Vadim Lopatin cb51dc04b1 fix #213 - logging broken by commit e89b684274 Solution: added methods Log.fv, fd, fi, fw, fe, ff which are format line versions of Log.v,d,i,w,e,f 2016-03-21 13:44:29 +03:00
FreeSlave 70ba227745 Use invalidate instead of redraw added in commits dd0df51 and fed4712 2016-03-17 10:49:31 -04:00
Roman Chistokhodov 73e4b1702a Don't use xdg-open when showing file in folder 2016-03-17 07:57:04 -04:00
FreeSlave d9af0b3b17 Improved showInFileManager for linux 2016-03-17 01:41:29 +03:00
Vadim Lopatin e5eb93102e allow creation of switch widget in DML 2016-03-16 16:42:28 +03:00
Vadim Lopatin aca556d794 Implement SwitchWidget - close issue #205 2016-03-16 16:40:02 +03:00
Vadim Lopatin 5220409a4d IRC Client fixes; List fixes 2016-03-16 14:49:32 +03:00
Vadim Lopatin 437391c7de AsyncSocket support in DlangUI; IRC Client example for AsyncSocket 2016-03-15 14:20:55 +03:00
Vadim Lopatin 03a878f5f1 Merge branch 'master' of github.com:buggins/dlangui 2016-03-14 08:42:08 +03:00
Vadim Lopatin 490d793cec scene3d fixes 2016-03-14 08:41:22 +03:00
FreeSlave 1af52fee30 Fix version typos. Collect exception from isDir in listDirectory (it throws if examined path does not exist). Sort directories and files (dirEntries don't always return sorted list, it's platform dependant) 2016-03-12 00:55:14 +03:00
FreeSlave fed4712085 Redraw on window exposed too 2016-03-11 22:26:35 +03:00
FreeSlave dd0df51ba3 Fix window redrawing (#197) 2016-03-11 22:14:10 +03:00
Vadim Lopatin d8f10f01bf Merge pull request #191 from theyamo/tabs-fixes
Tabs fixes
2016-03-11 09:11:58 +03:00
Vadim Lopatin b8cadad8fb 3d scene - better scene for testing - #183 2016-03-10 16:15:31 +03:00
Timo Taipalus 1be3c329d7 fixes to tab initialization
automatically select the first added tab as the
default and hide the widgets from subsequently
added tabs.
2016-03-10 15:03:46 +02:00
Timo Taipalus e89b684274 logger: using writefln to allow formatted strings 2016-03-10 14:52:23 +02:00
Timo Taipalus 0f0ac6a527 selectTab - checks for illegal index value
Don't send illegal index value to object list and
cause exception, just output error to console instead
2016-03-10 14:51:20 +02:00
Vadim Lopatin 9661eb12dd Move cube mesh creation to Mesh static method - #183 2016-03-10 14:20:53 +03:00
Vadim Lopatin 5107982579 Scene3d - #183 2016-03-10 13:38:32 +03:00
Vadim Lopatin 5d733dd8c3 mesh drawing is working; still some problems with 3d math for matrix calculation 2016-03-10 11:54:00 +03:00
Vadim Lopatin 86722e9ea6 Merge pull request #186 from keywan-ghadami/file-dialog-selected-directory-textbox
minor improvement file dialog
2016-03-09 09:06:27 +03:00
Keywan Ghadami 56cc745320 new method to get selected text
public getter method to get current selected text from the editor.
used to avoid code duplication but more important for me i need it for get the selection so i can prefill search panel textbox in dlangide.
2016-03-08 11:44:55 +01:00
Keywan Ghadami 85a2b5007f minor improvement file dialog
show selected directory in textbox
this gives a better visual feedback to the user when selecting directories e.g. by mouse click.
2016-03-08 08:17:40 +01:00
Dmitry Popov a59e876622 fix off-by-one error in SimpleTextFormatter line splitting where last char of last word was sent to next line 2016-03-03 21:44:56 +07:00
Dmitry Popov 5d48ae8fc4 avoid GC allocation in ColorDrawBufBase.drawRescaled, use original scale factor (before clipping) 2016-03-03 21:41:07 +07:00
Dmitry Popov f7e0fa2503 fix off-by-one error in Win32ColorDrawBuf leading to crashes when minimized 2016-03-03 21:33:38 +07:00
Vadim Lopatin b7b44d3e14 trying to get mesh drawing working for #183 2016-02-29 14:58:17 +03:00
Vadim Lopatin a0632573b3 opengl scene 2016-02-29 09:41:25 +03:00
Vadim Lopatin d73eeb0c3f fix opengl on win32 2016-02-29 09:14:18 +03:00
Vadim Lopatin a2a4523e13 3d graphics #183 2016-02-26 15:26:27 +03:00
Vadim Lopatin f45371673b MainMenu support in DML - #182 2016-02-24 11:17:39 +03:00
Vadim Lopatin 615d0484f3 register MainMenu to be accessible from DML 2016-02-24 11:07:14 +03:00
Vadim Lopatin 11593f91db mesh drawing 2016-02-19 14:07:38 +03:00
Vadim Lopatin 887cd27e2f scene3d - refactoring, better GL program support 2016-02-19 13:49:29 +03:00
Vadim Lopatin eda2ce8216 mesh and vertex buffer 2016-02-19 11:16:58 +03:00
Vadim Lopatin 5eea4c57b6 mesh/graphics buffers refactoring 2016-02-19 10:30:40 +03:00
Vadim Lopatin 82d7eb746f mesh and vertex buffers, continue development 2016-02-18 15:09:09 +03:00
Vadim Lopatin bc9fe4f2f0 fix build error on x64 2016-02-16 15:57:33 +03:00
Vadim Lopatin f694bf38eb 3d graphics: mesh, continue development: 2016-02-16 15:34:58 +03:00
Vadim Lopatin 3bd735773f fix buggin/dlangide#138 2016-02-05 10:23:57 +03:00
Vadim Lopatin 81f068fc7b Merge pull request #177 from g4z3r/master
small code enhancements
2016-02-03 11:34:44 +03:00
Vadim Lopatin c6c49b2cef fix for issue #103 - workaround for DMD bug with static this() and synchronized class instantiation from it 2016-02-03 11:16:25 +03:00
gazer 87bb30d54e small code enhancements 2016-02-02 14:14:42 +03:00
default0 9778555702 Change Textbox Behaviour
Textboxes have slightly altered behaviour: Shift-clicking to move the
cursor creates a selection from the previous cursor position to the
new position.
Tabbing into an EditLine selects all its contents, tabbing out of an
EditLine deselects everything.
2016-02-01 21:22:32 +01:00
Vadim Lopatin c9896d9cb4 fix theme change handling - close buggins/dlangide#132 2016-02-01 15:01:56 +03:00
Vadim Lopatin 8d5c118922 editors find panel - part 3 2016-02-01 12:05:36 +03:00
Vadim Lopatin 489884c752 editor find panel, part 2 2016-02-01 10:48:00 +03:00
Vadim Lopatin f63809f4a4 editor find panel support, part 1 2016-02-01 09:52:28 +03:00
Vadim Lopatin 1e902a00bb Merge pull request #172 from g4z3r/master
optimization: caching widget style
2016-02-01 06:39:01 +03:00
Vadim Lopatin b1c81cc824 Merge pull request #174 from g4z3r/editors
fix missing \n after copy-paste
2016-02-01 06:38:07 +03:00
gazer 26f6f891b7 fix missing \n after copy-paste 2016-01-31 22:52:49 +03:00
gazer 2543137a62 fix https://github.com/buggins/dlangide/issues/130 2016-01-31 19:35:59 +03:00
gazer c834116053 fix misprint 2016-01-31 19:35:09 +03:00
gazer 4723343eaf ability to set GL context version by application 2016-01-31 09:22:19 +03:00
gazer 744383d0fd cache widget style 2016-01-31 07:04:24 +03:00
Keywan Ghadami 32d59ecaae fix https://github.com/buggins/dlangide/issues/129 2016-01-30 14:56:55 +01:00
gazer e5fbbf68b9 fix freeze after resizing 2016-01-29 21:47:36 +03:00
Vadim Lopatin 60a074e665 fix build error on x64 2016-01-29 16:04:17 +03:00
Vadim Lopatin 224448357c scene3d/mesh vertex buffer - development in progress 2016-01-29 16:02:32 +03:00
Vadim Lopatin f9780e268e fix #168 - share OpenGL context between windows under Win32/OpenGL 2016-01-29 14:58:19 +03:00
gazer c2edca6d7b a little optimization 2016-01-29 11:18:04 +03:00
gazer de42d281b6 draw lines with drawLines 2016-01-29 11:18:04 +03:00
Vadim Lopatin e18506dfed Merge pull request #163 from g4z3r/master
fix crash when change font settings
2016-01-29 07:01:55 +03:00
Vadim Lopatin 692d9e7c12 Merge pull request #165 from g4z3r/gl
fix nvidia problem
2016-01-29 07:01:24 +03:00
Zhao Puming e9446b2733 Add a little padding to TreeItem's label
So that it would not stick too close to the icon
2016-01-29 11:19:31 +08:00
gazer 9446401bb4 fix nvidia problem 2016-01-29 06:07:19 +03:00
gazer 34930457ff fix crash when change font settings 2016-01-28 23:20:30 +03:00
gazer 3ac0820b8a disable annoying registerFont logging 2016-01-28 23:18:33 +03:00
gazer 40d142d035 fix crash when creating dlangide project 2016-01-28 19:05:12 +03:00
Vadim Lopatin 9f9c1d614f icon+label list adapter 2016-01-28 14:32:26 +03:00
Vadim Lopatin c6bc225a1b fix Ctrl+Space processing in SDL backend) - close #160 2016-01-28 13:38:04 +03:00
Vadim Lopatin 5e641270a4 Merge branch 'master' of github.com:buggins/dlangui 2016-01-28 10:24:54 +03:00
Vadim Lopatin e7bc259039 event handler refactoring 2016-01-28 10:24:38 +03:00
Vadim Lopatin be19fbca45 Merge pull request #158 from g4z3r/gl
random fixes in glsupport.d
2016-01-28 06:56:25 +03:00
gazer 9c74519b48 switching tabs on mouse up 2016-01-27 20:00:31 +03:00
gazer 065865af5a random fixes in glsupport.d 2016-01-27 18:50:04 +03:00
Vadim Lopatin 054ffbc292 fix ediableContent.text issue with skipped first empty lines 2016-01-27 16:35:22 +03:00
Vadim Lopatin 2c1c88923c fix keypad Enter key support for SDL platform 2016-01-27 09:15:16 +03:00
Vadim Lopatin 669f19e77d Merge pull request #156 from tom-tan/add-uiscollection-empty
Add dlangui.core.i18n.UIStringCollection.empty
2016-01-27 06:20:58 +03:00
gazer 1a5acd01e7 unittest fix 2016-01-27 04:12:23 +03:00
gazer 3ba090d4cb ascii-unicode improvements 2016-01-27 00:04:47 +03:00
Tomoya Tanjo 3300483844 Add dlangui.core.i18n.UIStringCollection.empty 2016-01-27 05:11:18 +09:00
Vadim Lopatin f4d26fa758 Menu/Win (Command) key support; OSX native shortcuts - close #121 2016-01-26 21:00:19 +03:00
Vadim Lopatin f3f89282f8 OSX native shortcuts support, part 1 - issue #121 2016-01-26 20:43:07 +03:00
Vadim Lopatin 29fb51bcd1 fix Show In File Manager feature for OSX 2016-01-26 19:43:24 +03:00
Vadim Lopatin 73d38d0906 fix Show In File Manager function handling under Linux - close #151 2016-01-26 16:33:44 +03:00
Vadim Lopatin bc7bcfa0a3 Merge branch 'master' of github.com:buggins/dlangui 2016-01-26 15:17:38 +03:00
Vadim Lopatin 7c435d772a editor: text hover timeout (tooltip) support 2016-01-26 15:17:11 +03:00
gazer ceb7de5b59 changes in files.d 2016-01-26 10:32:30 +03:00
Vadim Lopatin 8e31308767 text editor cursor position setting improvement, Ctrl + click handler support 2016-01-26 10:03:36 +03:00
Vadim Lopatin eb99980d5e fix style with substyles modification - close #150 2016-01-25 17:30:27 +03:00
Vadim Lopatin b306388fd6 fix build error 2016-01-25 15:53:28 +03:00
Vadim Lopatin c5eeec6ea5 initial support for showInFileBrowser - #151 2016-01-25 15:22:34 +03:00
Vadim Lopatin 7eee173a55 showInFileManager 2016-01-25 14:25:15 +03:00
Vadim Lopatin 82e8004757 implement ShowInFileManager Platform method, implement popup menu support for grids, enable showInFileManager popup menu in FileDialog - for issue #151 - implemented in win32 2016-01-25 14:10:48 +03:00
Vadim Lopatin 7978f7029e implement #134 - white space marks in editors 2016-01-22 14:56:37 +03:00
Vadim Lopatin 5ff718a3e2 Fix button drawing with visibility=GONE; close #146 2016-01-22 10:30:32 +03:00
Vadim Lopatin 65c32cdae5 fix build error 2016-01-21 11:59:13 +03:00
Vadim Lopatin d6d84c51b8 standard font faces 2016-01-21 11:50:15 +03:00
Vadim Lopatin f1ef6c2544 increase standard font face priorities when searching for fonts 2016-01-21 11:41:23 +03:00
Vadim Lopatin 48b6d474cb Tree Widget - support Default tree item 2016-01-18 13:12:02 +03:00
Vadim Lopatin e9e99d6bf5 move Mouse Wheel handler from tree to base class -- scroll widget 2016-01-18 11:09:25 +03:00
Vadim Lopatin 040b9233d7 Mouse wheel support in lists and tree widget 2016-01-18 10:07:58 +03:00
Vadim Lopatin 3c371caa5a 3d scene, continue development 2016-01-15 16:29:06 +03:00
Vadim Lopatin cbd055d054 gl scene fixes 2016-01-15 15:19:41 +03:00
Vadim Lopatin fa19941071 vec2; material and mesh initial commit 2016-01-15 12:07:11 +03:00
Vadim Lopatin 39e73e16d2 fix StringGrid font: for DlangIDE issue 87 2016-01-15 09:57:39 +03:00
Vadim Lopatin 087baad535 3d scene 2016-01-14 16:20:12 +03:00
Vadim Lopatin 73035e925d custom OpenGL drawing support fixed 2016-01-13 13:42:54 +03:00
Vadim Lopatin d3b2c9bedf GL Example - fix textures handling 2016-01-13 11:59:13 +03:00
Vadim Lopatin fc8ef197d6 OpenGL example update 2016-01-13 11:33:27 +03:00
Vadim Lopatin 007784cfb4 fix combobox signal handling 2016-01-12 13:27:56 +03:00
Vadim Lopatin c9c9837da5 fix crash on removing editor mark 2016-01-12 11:09:35 +03:00
Lastin 1355b26e84 Adds flag whether to destroy objects when removing all children from a widget 2016-01-10 17:11:07 +00:00
gazer 3e76ee1c36 refactor GLItemCache and GLGlyphCache 2016-01-08 18:08:46 +03:00
Vadim Lopatin 17e34364eb Merge pull request #141 from tom-tan/init-to-initialize
Rename `init` to `initialize`
2016-01-08 15:22:40 +03:00
Tomoya Tanjo 54511f6305 Rename init to initialize 2016-01-05 22:12:18 +09:00
gazer 4d16c29506 decreased a number of vao creations 2016-01-04 22:31:27 +03:00
gazer 936838bf2d clear some code 2016-01-04 21:03:35 +03:00
gazer 57002757b7 triangle strips 2016-01-04 19:43:05 +03:00
gazer 6c95d1f7d6 cache shader state 2016-01-04 19:37:43 +03:00
Keywan Ghadami 72953d0cdc fix utf8-decode
+ fixed decoding of 3 bytes unicode codepoints
+ ((ch1 & 0x1F) << 12) to ((ch1 & 0x3F) << 12)
+ refactored code to be able to make simple unittest
+ added unittests for utf8 decoding
2015-12-30 15:28:02 +01:00
Vadim Lopatin 483780ac96 Merge pull request #136 from keywan-ghadami/fix-linestream-buffer-overflow
fix bufferoverflow
2015-12-29 11:32:00 +03:00
Keywan Ghadami d51e05396c minor improvement for file-dialog
if the user selects no file and press the open button:
 the dialog will (instead of closing itself) now open the selected directory
2015-12-29 08:53:23 +01:00
Keywan Ghadami 6293c9eb80 fix bufferoverflow
+  double buffersize for mulitybytes
 +  stop processing if no charater is consumed within the loop
2015-12-28 17:27:52 +01:00
Vadim Lopatin 4f0cced6b4 css parser 2015-12-24 17:40:41 +03:00
Vadim Lopatin 9f768c85af fix unittest; CSS parser improvements 2015-12-24 15:17:19 +03:00
Vadim Lopatin 1686fde76d CSS parser 2015-12-24 14:48:23 +03:00
Vadim Lopatin 2037fcfe23 CSS parser 2015-12-24 13:55:21 +03:00
Vadim Lopatin 0d5c3509f0 CSS parser 2015-12-24 12:32:53 +03:00
Vadim Lopatin 206d9b7c60 CSS parser 2015-12-24 11:21:57 +03:00
Vadim Lopatin e958ecae6d CSS parser 2015-12-24 10:25:20 +03:00
Vadim Lopatin a06585a87d css parser 2015-12-24 09:46:47 +03:00
Vadim Lopatin 7982e7e3fe msvc unittests for dlangui 2015-12-24 08:38:21 +03:00
Vadim Lopatin a2c6d38970 css parser 2015-12-23 17:10:34 +03:00
Vadim Lopatin 3d338b86b0 CSS parser 2015-12-23 16:32:43 +03:00
Vadim Lopatin ac2abfba54 css parser, starting implementatin 2015-12-23 15:26:12 +03:00
Vadim Lopatin 34fe23adca DOM improvements; fix unit tests 2015-12-23 13:41:59 +03:00
Vadim Lopatin e2a847f108 DOM 2015-12-23 12:23:20 +03:00
Vadim Lopatin d090f8ad49 DOM initial implementation 2015-12-23 11:32:14 +03:00
Vadim Lopatin 65d7802840 Merge branch 'master' of github.com:buggins/dlangui 2015-12-23 08:46:12 +03:00
Vadim Lopatin 3c5b3a61a7 replace tabs with 4 spaces 2015-12-23 08:45:54 +03:00
Vadim Lopatin 4561b4a8ae Merge pull request #133 from alphaKAI/fix-not-allowed-code-at-graphics-fonts
fix build error at graphics/fonts.d
2015-12-23 08:37:37 +03:00
alphaKAI 3e51ebbfbb fix build error
D does not allow default constructor and to declare some constructors
for struct.
It is because that, unfortunately, your code does not be permitted in
D's structure.

Correct Code:
import std.stdio;
struct T{
    this(int v = 2){
          writeln(v);
            }
}

void main(){
    T s = T(1);
}

However, following code is not permitted.
import std.stdio;
struct T{
    this(int v = 2){
          writeln(v);
            }
}

void main(){
    T t; // <- This definition occur build error. This definition call
    default constructor such as this() but T does not has this().
        T s = T(30);
}

That's why your following code dose not permitted.
struct glyph_gamma_table(int maxv = 65)
{
      this(double gammaValue = 1.0)
            {
                      gamma = gammaValue;
                          }
      //...

}

__gshared glyph_gamma_table!65 _gamma65;// <- calling this() !!!!!!
__gshared glyph_gamma_table!256 _gamma256;// <- calling this() !!!!!

By the way I might found your miss.
Your code is:
        gamma = gammaValue;
        But this is not properly in this place, I think.
        I guess that you intended to write as follows.
                gamma(gammaValue);

                I fixed as above.
2015-12-23 13:27:07 +09:00
default0 536526185b Fix scrollbar of FileDialog not updating
If you change the opened directory in the FileDialog and opened
a directory with enough contents to require a scrollbar, the
scrollbar would not show up until you first scrolled. This commit
fixes this by updating the scrollbar whenever the displayed
directory of the FileDialog changes.
2015-12-22 15:47:19 +01:00
Vadim Lopatin e8f9422d59 opengl example 2015-12-22 14:48:23 +03:00
Vadim Lopatin 7bdff965b2 math3d 2015-12-22 13:41:34 +03:00
Vadim Lopatin f35bb6eda6 get rid of gl3n dependency 2015-12-22 12:25:33 +03:00
Vadim Lopatin 01d04ad99f update math3d 2015-12-22 11:23:07 +03:00
Vadim Lopatin bc5cee4341 math 3d - initial implementation 2015-12-22 10:03:34 +03:00
gazer 7333bdfee9 fix 2015-12-22 04:34:27 +03:00
Vadim Lopatin 2900576f9f opengl example; 3d math 2015-12-21 16:58:29 +03:00
Vadim Lopatin 6bae3ee378 OpenGL support & opengl example improvements 2015-12-21 15:47:25 +03:00
Vadim Lopatin 349c6612e1 refactor OpenGL initialization 2015-12-21 11:35:31 +03:00
Vadim Lopatin 2cb21339e5 refactoring 2015-12-21 10:44:19 +03:00
Vadim Lopatin 7924bcf4a9 OpenGL refactoring 2015-12-21 10:40:41 +03:00
Vadim Lopatin b1cbd52e79 remove FontProgram from GLSupport - anyway CrearType cannot be implemented with shaders 2015-12-21 10:25:20 +03:00
Vadim Lopatin 0556ad5781 refactor setOrthoProjection, implement setPerspectiveProjection 2015-12-21 10:18:49 +03:00
Vadim Lopatin aea38fb5fe change OpenGLDrawable interface 2015-12-21 09:52:19 +03:00
Vadim Lopatin 57aba53bf5 OpenGL example for legacy API 2015-12-21 09:46:14 +03:00
Vadim Lopatin 07f8ec9127 support alignment property in DML 2015-12-21 09:31:29 +03:00
gazer ef837c1ffc clear some code 2015-12-20 22:23:15 +03:00
gazer b8a533c598 foreach loops pt. 3 2015-12-20 18:04:27 +03:00
gazer 058bc68d2d foreach loops pt. 2 2015-12-19 21:30:52 +03:00
gazer 443236ada9 foreach loops pt. 1 2015-12-19 16:20:00 +03:00
gazer 2a53c9b4fd `switch` with `with` keyword to improve readability 2015-12-19 13:52:08 +03:00
gazer db7b78d239 Many tiny fixes 2015-12-19 10:08:18 +03:00
Vadim Lopatin 8ce8c38b24 sdl legacy opengl api 2015-12-19 08:37:30 +03:00
Vadim Lopatin d2049653ba example1: GlGears - trying on OSX 2015-12-19 08:14:18 +03:00
Vadim Lopatin 872b77241b Merge branch 'master' of github.com:buggins/dlangui 2015-12-19 07:52:34 +03:00
Vadim Lopatin c7964762c4 fixes for OSX 2015-12-19 07:52:19 +03:00
gazer 99abb65674 correct sizes and dates in FileDialog 2015-12-18 22:48:24 +03:00
gazer 03d21a463e FillColor; removed unused code; fixes 2015-12-18 19:29:33 +03:00
Vadim Lopatin 568a124274 Custom OpenGL drawable 2015-12-18 16:14:40 +03:00
Vadim Lopatin 73314752e2 fixes for dlangide 2015-12-18 10:30:04 +03:00
Vadim Lopatin 289dfa0749 fix black window on OSX - close #110 2015-12-17 21:41:07 +03:00
Vadim Lopatin e2a0e6e829 remove extra logging 2015-12-17 20:22:12 +03:00
Vadim Lopatin 439033c397 closed #120 2015-12-17 18:57:33 +03:00
Vadim Lopatin b65bc81dac docks - layout priority support 2015-12-17 11:47:27 +03:00
Vadim Lopatin 301127262b fix crash on json saving 2015-12-16 15:30:12 +03:00
Vadim Lopatin b0862b7ae5 URL like button 2015-12-15 14:36:50 +03:00
Vadim Lopatin f5dd9dbc99 fixes 2015-12-15 12:39:28 +03:00
Vadim Lopatin 4feb9d8f2a fixes 2015-12-15 10:51:06 +03:00
Vadim Lopatin e6a1895f32 support for custom line marks in multiline editor (bookmark, breakpoint, error) - close #45 2015-12-15 10:25:35 +03:00
Vadim Lopatin 5baf435713 Text editor line marks support, bookmarks support 2015-12-14 16:25:50 +03:00
Vadim Lopatin 732685c99d text editor line marks 2015-12-14 13:43:16 +03:00
Vadim Lopatin 47487535c5 fix JSON parser 2015-12-14 12:21:19 +03:00
gazer b7be028039 fix 2015-12-12 23:26:11 +03:00
gazer 2280b56171 checkgl should be only in debug 2015-12-12 22:05:59 +03:00
gazer ba5a27ce9e checkError -> checkgl 2015-12-12 20:42:32 +03:00
gazer 184fa4db50 new errors checking function 2015-12-12 20:22:04 +03:00
gazer a7aee91813 vbo fill method 2015-12-12 14:11:24 +03:00
gazer 8336f9c9cb textures with GLObject 2015-12-12 01:37:35 +03:00
gazer 9896492018 FBO with GLObject 2015-12-12 01:24:39 +03:00
gazer 3f2b14f4e3 VAO and VBO with GLObject 2015-12-12 01:20:53 +03:00
gazer bfbdd462fd OpenGL object template 2015-12-12 01:02:17 +03:00
gazer 2ae058e1f7 check() shader; fixes 2015-12-12 00:59:52 +03:00
gazer a3ec66569d clean shader compilation 2015-12-11 17:50:49 +03:00
gazer 8015acaca2 fix shader locations 2015-12-11 16:58:21 +03:00
gazer 15c1110828 few errors checking fixes 2015-12-11 16:57:42 +03:00
gazer 808861a6d3 fix github highlighting 2015-12-11 15:32:47 +03:00
Vadim Lopatin a17923e88c fonts on OSX 2015-12-11 07:08:25 +03:00
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