Jinhao
2234d06bea
fix issue graphics::gradual_rectangle off by one( #475 )
2019-09-23 01:47:36 +08:00
ErrorFlynn
59d3a68485
item_proxy bug fix: postfix increment operator
...
The behavior of the postfix increment operator is not consistent with the increment operator concept (currently just returns the next sibling node).
2019-09-20 23:38:09 -04:00
ErrorFlynn
e626f816b3
nana::any bug fix - argument not forwarded
...
A constructor and an overload of the assignment operator each have a forwarding reference as a parameter, but they don't actually forward the argument.
2019-09-16 06:07:04 -04:00
Zaha Mihai
35dadaeab6
Fix tabbar drawing not updated when tab is erased
...
When a tab is deleted using `tabbar::erase`, `trigger::erase` is called. This function does not call `API::refresh_window` if the tab was erased successfully (unlike `trigger::tab_color`, `trigger::tab_image`, etc.), thus the tab is still visible until an interaction is made (like mouse click on `tabbar`).
2019-09-15 23:32:58 +03:00
Jinhao
2c54714646
fix crash that could occur when calling pixel_buffer::put with rgb24
2019-09-12 05:34:49 +08:00
Jinhao
a65eec2bb9
Merge branch 'hotfix-1.7.2' into develop
2019-09-11 00:54:47 +08:00
Jinhao
6cde88b783
Merge branch 'qPCR4vir-develop' into develop
2019-09-11 00:54:03 +08:00
Jinhao
1e65dd8d66
Merge branch 'qPCR4vir-hotfix-1.7.2' into hotfix-1.7.2
2019-09-11 00:51:41 +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
eba4f2eb03
Merge branch 'besh81-hotfix-1.7.2' into hotfix-1.7.2
2019-09-11 00:48:21 +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
d47a7c55bb
document it
2019-09-10 14:57:49 +02:00
qPCR4vir
74f42f1778
new feature "fit_width_to_header caption text" for a new header with width=0
...
(cherry picked from commit 23efa5088d742a48e7ad07f273e84bcf50c2d979)
2019-09-09 19:56:57 +02: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
e6b0332bad
Merge branch 'mihaizh-fix_filebox_multi_select' into hotfix-1.7.2
2019-09-02 05:41:39 +08: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
8cbadb70ff
Merge branch 'dnso86-dnso86-patch-wc2mb' into hotfix-1.7.2
2019-09-02 05:05:48 +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
cdc7067659
Merge branch 'loaden-apple-fix' into hotfix-1.7.2
2019-09-01 23:09:44 +08:00
Jinhao
c86b64db0a
Merge branch 'apple-fix' of https://github.com/loaden/nana into loaden-apple-fix
2019-09-01 23:09:30 +08:00
Jinhao
bb6963e588
Merge branch 'loaden-hotfix-1.7.2' into hotfix-1.7.2
2019-09-01 23:07:39 +08:00
Jinhao
852ac81a70
Merge branch 'hotfix-1.7.2' of https://github.com/loaden/nana into loaden-hotfix-1.7.2
2019-09-01 23:07:18 +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
ErrorFlynn
b7a0874428
fixed bug: listbox::sort_col doesn't update view
...
Calling listbox::sort_col to change the sort column doesn't update the viewport to reflect the change, forcing the user to call API::refresh_window or otherwise perform stupid tricks to force the listbox to refresh.
2019-08-20 05:32:36 -04: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
Yuchen Deng
0f1b5edc40
fix compatibility on macOS
2019-08-12 21:12:01 +08:00
ErrorFlynn
050742a920
fixes for the listbox bugs described in issue #472
2019-08-12 21:12:01 +08:00
ErrorFlynn
69e559f657
fixed a bug in trigger::dbl_click()
...
impl_->set_expanded() was called unconditionally, even if the node had no children. This caused the node icon to change to the "expanded" icon if the node had an icon scheme, even when the node didn't have children.
2019-08-11 20:27:16 -04:00
Yuchen Deng
c8e1aace1a
On macOS and FreeBSD libc++ is the default standard library and the -stdlib=libc++ is not required.
...
https://libcxx.llvm.org/docs/UsingLibcxx.html
2019-08-11 15:46:51 +08:00
Jinhao
a1b97e48b5
Merge branch 'qPCR4vir-develop' into develop
2019-08-11 02:42:30 +08:00
Jinhao
15a015aa4e
Merge branch 'ErrorFlynn-hotfix-1.7' into hotfix-1.7.2
2019-08-11 02:28:01 +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
qPCR4vir
9e0c63a562
FIX reversion in static linking introduced in e9affe5cdf47ccf8195b3bd24b19ffc6a4dd4641
2019-08-06 18:10:45 +02:00
ErrorFlynn
1b0ac10475
fixes for the listbox bugs described in issue #472
2019-08-05 14:11:02 -04:00
Jinhao
5291e52878
Merge branch 'hotfix-1.7.2' into develop
2019-08-05 06:26:45 +08:00
Jinhao
d0251ed6c3
add filesystem workaround( #471 )
2019-08-05 06:14:23 +08:00
Jinhao
3a19f7ecfe
Merge branch 'Xeverous-stdlib-linking-in-cmake' into develop
2019-08-05 04:24:20 +08:00
Jinhao
3cb7dfae02
Merge branch 'qPCR4vir-patch-3'
2019-08-05 04:17:49 +08:00
Jinhao
5f49e1f12f
Merge branch 'qPCR4vir-patch-2' into hotfix-1.7.2
2019-08-05 04:14:42 +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
Jinhao
a5a7a36b2f
Merge branch 'JannLee-hotfix-1.7.2' into hotfix-1.7.2
2019-08-03 14:44:16 +08:00
Xeverous
e9affe5cdf
added option to link C++ standard library statically
2019-08-01 20:34:12 +02:00
qPCR4vir
0a9e69f5de
try #define NOMINMAX
2019-08-01 14:38:45 +02:00