1283 Commits

Author SHA1 Message Date
Jinhao
2234d06bea fix issue graphics::gradual_rectangle off by one(#475) 2019-09-23 01:47:36 +08:00
Jinhao
2c54714646 fix crash that could occur when calling pixel_buffer::put with rgb24 2019-09-12 05:34:49 +08:00
Jinhao
0bd0c1f362 Merge branch 'hotfix-1.7.2' of https://github.com/qPCR4vir/nana into qPCR4vir-hotfix-1.7.2 2019-09-11 00:51:03 +08:00
Jinhao
7082456330 Merge branch 'hotfix-1.7.2' of https://github.com/besh81/nana into besh81-hotfix-1.7.2 2019-09-11 00:46:39 +08:00
Jinhao
0f66b0cb26 improve wait of x11 event to avoid blocking 2019-09-11 00:10:11 +08:00
Jinhao
02676e9c75 fix missing weakly_canonical on GCC 7.3 2019-09-11 00:07:07 +08:00
qPCR4vir
06ba591b66 FIX old bug during resizing of header, when next column spring to second position 2019-09-09 17:23:22 +02:00
besh81
4dd1c0c7ef dock_pane and toolbar bug fix
fixed bug in dock_pane caption drawing function (used a workaround that hide the caption when the dock_pane width become too small)
fixed small bug in toolbar
2019-09-05 17:37:40 +02:00
Jinhao
12e15ce956 Merge branch 'fix_filebox_multi_select' of https://github.com/mihaizh/nana into mihaizh-fix_filebox_multi_select 2019-09-02 05:27:01 +08:00
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
Zaha Mihai
7c442360ba
Fix inconsistency regarding filebox multi_select
When only one file is selected, the lpstrFile variable contains only the path to that file, without the parent path before that, thus, the targets vector is empty and the path variable contains the actual path to the file. This is inconsistent with the scenario where multiple files are selected, in which targets contains the file paths and path contains the parent directory path.
2019-09-01 17:53:23 +03: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