1273 Commits

Author SHA1 Message Date
Jinhao
66d038dbe3 small improvement 2019-09-02 05:24:06 +08:00
Jinhao
fbeb8caf1f Merge branch 'dnso86-patch-wc2mb' of https://github.com/dnso86/nana into dnso86-dnso86-patch-wc2mb 2019-09-02 05:03:03 +08:00
Jinhao
8323064efc improve the timer that it can be deleted in elapse handler 2019-09-01 18:49:19 +08:00
dnso86
6d625a11e0
Fixing incorrect buffer in MultiByteToWideChar call in wc2mb 2019-08-30 14:27:49 +02:00
dnso86
942c6a4b48
Fixing incorrect buffer in WideCharToMultiByte call in wc2mb 2019-08-28 10:42:10 +02:00
Jinhao
e37cc5ec37 fix crash where a shared lib is loaded/unloaded repeatedly
When a shared lib which uses nana is dynamic loaded/unloaded multiple
times, the crash would occur when creating a form after reloading the shared lib
2019-08-14 03:39:26 +08:00
Jinhao
2dd9a376bc Merge branch 'hotfix-1.7' of https://github.com/ErrorFlynn/nana into ErrorFlynn-hotfix-1.7 2019-08-11 02:27:30 +08:00
ErrorFlynn
1b0ac10475
fixes for the listbox bugs described in issue #472 2019-08-05 14:11:02 -04:00
Jinhao
d0251ed6c3 add filesystem workaround(#471) 2019-08-05 06:14:23 +08:00
Jinhao
9e653eec0a Merge branch 'patch-2' of https://github.com/qPCR4vir/nana into qPCR4vir-patch-2 2019-08-05 04:02:04 +08:00
qPCR4vir
0a9e69f5de try #define NOMINMAX 2019-08-01 14:38:45 +02:00
qPCR4vir
0b339c1552 FIX https://github.com/cnjinhao/nana/issues/465 2019-08-01 14:00:54 +02:00
이지한
129b83e68f fix the strange behavior of Korean ime composition window.
Because Hangul is a combination character, WM_IME_STARTCOMPOSITION is only called once when the IME input is started, so the position of the composition window is strange.

Therefore, I solved the problem by controlling the state of characters combined using WM_IME_COMPOSITION and WM_IME_CHAR.

We have also improved to support other IME languages such as Chinese and Japanese.
2019-08-01 15:24:46 +09:00
qPCR4vir
96c7a962c9 Merge branch 'develop' into patch-2 2019-07-31 16:59:20 +02:00
qPCR4vir
7a1c299ff7 explicit conversion 2019-07-31 16:56:23 +02:00
Jinhao
de9043e223 fix bug where listbox::item_proxy::empty behaves incorrectly 2019-07-23 04:37:14 +08:00
Jinhao
2e0f29564f fix MinGW warnings of compiling dragdrop.cpp 2019-07-20 11:44:53 +08:00
Jinhao
6ac558e1b7 Merge branch 'hotfix-1.7.1' into develop 2019-07-18 21:41:46 +08:00
Jinhao
496d157b4b fix memory leak in class pool(#455) 2019-07-18 21:29:02 +08:00
Jinhao
641d4c263d small change 2019-07-16 03:32:23 +08:00
Jinhao
9f29772bff Merge branch 'develop' of https://github.com/besh81/nana into besh81-develop 2019-07-16 03:26:34 +08:00
Jinhao
07871b1f36 refactor the implementation of timer in Linux 2019-07-14 13:40:17 +08:00
besh81
c1b5b87ec3 Fixed issue on dockpane close
Now closing a dockpane when the x button is inside the place area don't show the dock indicator anymore.
2019-07-11 17:20:48 +02:00
Jinhao
5acbbf548e refactoring and fix
fix a potential dead-lock caused by timer
2019-07-10 04:25:00 +08:00
Jinhao
50d2c61b9e Merge branch 'hotfix-1.7.1' into develop 2019-07-08 07:12:07 +08:00
Jinhao
1ceb6fd711 Merge branch 'hotfix-1.7' of https://github.com/ErrorFlynn/nana into ErrorFlynn-hotfix-1.7 2019-07-08 06:34:56 +08:00
ErrorFlynn
d845a82dc4
fixed another listbox selection bug
a display position was searched for in a set of absolute positions
2019-07-06 14:18:24 -04:00
Jinhao
7e310f33f7 remove deprecated code 2019-07-01 07:56:29 +08:00
Jinhao
46b5e423b5 remove unused class 2019-07-01 07:31:33 +08:00
Jinhao
363a80e935 refactor
remove typedef-name core_window_t
remove get_color and get_text_color of the internal class drawable
2019-06-30 11:56:16 +08:00
Jinhao
01bd43f960 refactoring 2019-06-28 06:32:34 +08:00
Jinhao
065e6f3081 remove iconv code 2019-06-27 07:47:36 +08:00
Jinhao
975993ff33 refactor types(#450) 2019-06-26 05:05:05 +08:00
Jinhao
8a0475c98c refactor text_renderer 2019-06-20 04:35:29 +08:00
Jinhao
ad4c3a3fc3 Merge branch 'hotfix-1.7.1' into develop 2019-06-20 01:23:18 +08:00
Jinhao
39c3f85627 fix bug that click event is triggered by pressing space on disabled button 2019-06-19 23:42:50 +08:00
Jinhao
e5a935ab83 fix bug that filebox single selection fails on Linux 2019-06-18 08:23:54 +08:00
Jinhao
a8c269d108 refactor text_renderer 2019-06-17 07:36:33 +08:00
Jinhao
363953be20 improve compatability with old compiler 2019-06-14 05:34:28 +08:00
Jinhao
7d27f152f4 Merge branch 'hotfix-1.7.1' into develop 2019-06-12 23:10:12 +08:00
Jinhao
1f23a78a0a Merge branch 'hotfix-1.7' of https://github.com/ErrorFlynn/nana into ErrorFlynn-hotfix-1.7 2019-06-11 01:15:52 +08:00
Jinhao
3533b97092 XFT code incorrectly enabled under Windows 2019-06-04 08:45:39 +08:00
ErrorFlynn
417071e4b5
fix for selection bug described in issue #448 2019-06-03 17:51:21 -04:00
Jinhao
f57e824431 add support of multi-language under Linux(#439)
also fix the font style issue under Linux
2019-06-01 03:15:59 +08:00
Gheorghe Florian GLAVAN
0e8328eba3 fix for #440 (unicode_bidi aletter always true) 2019-05-23 12:17:30 +03:00
Jinhao
396319ea28 add new method listbox;:set_deselect
set a predicate that decides to deselect selected items in mouse_up event.
2019-05-23 00:49:56 +08:00
Jinhao
a21d58a5fe Merge branch 'hotfix-1.7.1' into develop 2019-05-16 23:23:11 +08:00
Jinhao
5575a9f2b8 fix bug that transparent widget may not be updated in event handler(#431) 2019-05-13 04:28:30 +08:00
Jinhao
44cbb18a50 Merge branch 'develop' of https://github.com/besh81/nana into besh81-develop 2019-05-10 04:33:25 +08:00
besh81
67f5d1743f toolbar: show text inside the button
Added function/method both to toolbar and item_proxy:
void textout(size_type index, bool show); ///< Show/Hide the text inside the button

Before: button without image weren't display
Now: button without image is display as empty square. In case the textout is on the text is show
2019-05-09 09:44:37 +02:00