Commit Graph

1010 Commits

Author SHA1 Message Date
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