besh81
dc23624ee6
Add listbox::clear_headers() and menubar::clear()
...
Added listbox::clear_headers() to remove all the columns from the listbox
Added menubar::clear() to remove all the items from menubar
2018-02-23 16:14:10 +01:00
Jinhao
f6548acc84
add keyboard accelerator
2018-02-22 07:59:27 +08:00
Jinhao
33afb37b1a
Merge branch 'feature-toolbar-proxy' of https://github.com/5cript/nana into 5cript-feature-toolbar-proxy
2018-02-17 21:04:36 +08:00
Jinhao
668cec0d2c
Merge branch 'patch-1' of https://github.com/dnso86/nana into dnso86-patch-1
2018-02-17 04:04:31 +08:00
Jinhao
6d8b55e98d
Merge branch 'hotfix-1.5.6' into feature-listbox
2018-02-15 01:56:05 +08:00
Jinhao
c8c68c7a69
fix bug that edge nimbus is rendered for disabled widgets
2018-02-15 01:53:11 +08:00
Jinhao
cf536994cd
listbox scroll into view
2018-02-11 17:53:07 +08:00
Jinhao
3871715779
Merge branch 'develop' of https://github.com/Unitrunker/nana into Unitrunker-develop
2018-02-11 15:58:45 +08:00
Jinhao
2df5a506f5
Merge branch 'hotfix-1.5.6' into feature-listbox
2018-02-10 14:59:28 +08:00
dnso86
63e64d4beb
Checking whether MinGW really supports threads
2018-02-03 09:52:44 +01:00
Jinhao
3f7dd3fe3e
fix bug of scroll.make_page_scroll
2018-02-03 06:28:25 +08:00
Jinhao
6818b3025b
Merge branch 'develop-c++17' of https://github.com/qPCR4vir/nana into qPCR4vir-develop-c++17
2018-01-31 00:09:19 +08:00
Jinhao
49437053b6
Merge branch 'hotfix-1.5.6' into feature-listbox
2018-01-29 17:20:55 +08:00
Jinhao
211433afdd
Merge branch 'hotfix-1.5.6' into develop-c++17
2018-01-29 17:19:13 +08:00
qPCR4vir
9c1f348a80
Fix travis test/demos with gcc 4.9 and boost 1.54
2018-01-29 10:18:44 +01:00
qPCR4vir
caa61aba04
Fix travis test/demos with gcc 4.9 and boost 1.54
2018-01-29 01:35:09 +01:00
qPCR4vir
8f28ef26a0
Fix: boost enable directory_iterator C++11 range-base for statement
2018-01-29 00:38:07 +01:00
qPCR4vir
504da0c1e6
FIX: error: ‘to_utf8’ is not a member of ‘nana’
2018-01-27 01:11:12 +01:00
5cript
46f03638a2
Removed wrong const.
2018-01-26 02:41:04 +01:00
5cript
18ff787947
Whitespace to Tabs.
2018-01-26 02:38:33 +01:00
5cript
1781e77e39
Added convenient proxy, that allows the user to disable items directly after creation.
2018-01-26 02:36:10 +01:00
unitrunker
9b85d0a3f0
POSIX *after* LINUX
2018-01-22 21:52:54 -06:00
unitrunker
aada05d28d
long long was overkill.
2018-01-22 18:29:15 -06:00
unitrunker
f2baba7c77
More thread_t fixes (dont use a 32 bit type to hold a 64 bit handle).
2018-01-22 11:46:29 -06:00
unitrunker
c7434afed8
NANA_POSIX for bits common to Linux, MacOS and BSD. OSS sound as fall-back for POSIX. Cheat for detecting default browser on POSIX.
2018-01-21 23:41:52 -06:00
Jinhao
2a26223628
small fix for constructor of scroll
2018-01-22 06:29:40 +08:00
Jinhao
a62e872ded
Merge branch 'hotfix-1.5.6' of https://github.com/5cript/nana into 5cript-hotfix-1.5.6
2018-01-22 06:13:23 +08:00
Jinhao
0196d2583a
mutable variable members of arg_tabbar_removed
2018-01-18 00:18:01 +08:00
5cript
710880372b
Added missing std::move, withing tabbar insert overload for std::string.
2018-01-14 07:52:56 +01:00
Jinhao
08077a9845
fix bug that wrong listbox selection after sorting
2018-01-13 13:08:43 +08:00
Jinhao
48be0b4b07
improve visualization of group caption
2018-01-13 10:49:37 +08:00
Jinhao
196d0bf351
Merge branch 'hotfix-1.5.6' into feature-listbox
2018-01-07 04:20:52 +08:00
Jinhao
be836b5b48
apply folding expression and std::optional
2017-12-23 00:10:10 +08:00
Jinhao
4917b18c70
deprecate std::iterator because of C++17
2017-12-20 13:51:32 +08:00
Jinhao
c66895ead6
apply C++17 folding expression
2017-12-20 11:53:29 +08:00
Jinhao
9d75d15474
add detection of C++17 folding experssion
2017-12-20 01:28:05 +08:00
Jinhao
5f77c73aaa
no throw()
2017-12-19 03:30:38 +08:00
Jinhao
486e75f3ae
apply constexpr if
2017-12-18 22:13:03 +08:00
Jinhao
1e551f4e55
add check for C++17 constexpr if
2017-12-18 22:10:01 +08:00
qPCR4vir
5f947d5ec8
convenient generic_u8string(path) as workaround Boost not having path.generic_u8string()
...
- a good point for http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0251r0.pdf
2017-12-03 01:57:27 +01:00
qPCR4vir
16f835e083
enable directory_iterator range-based for statements while using Boost
2017-12-03 01:55:41 +01:00
qPCR4vir
d5d1ba3c9e
Merge remote-tracking branch 'cnjinhao/develop' into develop
...
# Conflicts:
# build/vc2017/nana.vcxproj.filters
2017-12-03 00:55:27 +01:00
Jinhao
2086f0c258
Merge branch 'boostfix' of https://github.com/pavelxdd/nana into pavelxdd-boostfix
2017-12-01 22:18:13 +08:00
Jinhao
7369b5437c
Merge branch 'hotfix-1.5.5' into develop
2017-12-01 17:56:06 +08:00
pavelxdd
7e68068c25
fix compilation with boost::filesystem
...
CMakeLists.txt:
---------------------------
Until now build with boost::filesystem was completely broken,
since cmake exported definitions with wrong name prefixes, and
nana always defaulted to internal filesystem implementation.
After fixing the boost definitions, a number of errors came up
due to incompatibility of boost::filesystem with nana and std
filesystems. This commit tries to fix them all.
filesystem.cpp, filesystem.hpp, filebox.cpp:
--------------------------------------------
boost::filesystem doesn't have a file_time_type, so declared
it in the filesystem.hpp header.
boost::filesystem::last_write_time has a return type std::time_t
unlike the other two implementations of this function in nana
and std, so added ifdef to convert the result to file_time_type.
fixed build on gcc-4.9, since it doesn't have a std::put_time
function, included <nana/stdc++.hpp> in that case.
boost::filesystem::file_type types have different names than
std::experimental::filesystem::file_type types, fixed it by
creating an enum class file_type with the same type names as
in std::experimental::filesystem::file_type. This fix
requires static_cast from functions results to internal file_type,
since boost file_type and std file_type a different enum classes.
changed switch to if, bacause old gcc fails on converting
enum class members to int.
stdc++.hpp:
-----------
added ifndef guards to prevent errors on multiple includes of this header.
wvl.cpp:
--------
added boost/chrono.hpp include for the cases when std::thread is not
available.
travis:
-------
added boost system, thread, chrono libs to install, they are needed
for the nana-demo to compile.
2017-11-28 06:22:17 +03:00
Jinhao
dddd704786
Merge branch 'hotfix-1.5.5' into feature-listbox
2017-11-22 03:54:49 +08:00
Jinhao
b71427334a
listbox header font
2017-11-21 17:20:47 +08:00
Jinhao
3dc7e3ae5b
fix bug where picture throws if image is empty
2017-11-02 17:55:14 +08:00
Jinhao
74f5a8f40b
fix caret issue
2017-11-02 16:36:23 +08:00
Jinhao
0796c1540b
fix issue that listbox scheme mouse_wheel.lines has no effect
2017-11-01 11:57:52 +08:00