1551 Commits

Author SHA1 Message Date
Jinhao
dd0c75fb0d update file information 2018-04-01 00:02:24 +08:00
Jinhao
d2d0f0c555 Merge branch 'besh81-hotfix-1.5.6' into hotfix-1.5.6 2018-03-25 23:11:58 +08:00
besh81
fcb5c81631 Added toolbar.clear() 2018-03-18 10:48:17 +01:00
besh81
592da3fe4f Added group.field_display() and group.erase() 2018-03-17 09:40:11 +01:00
Jinhao
4f6d61f7b7 Merge branch 'besh81-hotfix-1.5.6' into hotfix-1.5.6 2018-03-07 11:31:26 +08:00
Jinhao
9f991b3ac7 Merge branch 'hotfix-1.5.6' of https://github.com/besh81/nana into besh81-hotfix-1.5.6 2018-03-07 11:30:39 +08:00
Jinhao
9690c38b83 fix crash that occurs when place::modify a field which isn't leftmost one 2018-03-02 03:39:25 +08:00
besh81
4c200e68a5 Added listbox::clear_headers() and menubar::clear()
Added listbox::clear_headers() to remove all the columns (included categories and items) from the listbox
Added menubar::clear() to remove all the items from menubar
2018-02-26 15:45:31 +01:00
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
56143087c3 Merge branch 'buck-yeh-patch-1' into hotfix-1.5.6 2018-02-17 21:02:02 +08:00
Jinhao
0b9492bbe8 Merge branch 'patch-1' of https://github.com/buck-yeh/nana into buck-yeh-patch-1 2018-02-17 21:01:41 +08:00
Jinhao
19cc04db4f Merge branch 'besh81-hotfix-1.5.6' into hotfix-1.5.6 2018-02-17 04:44:45 +08:00
Jinhao
2abbc8b0a0 Merge branch 'hotfix-1.5.6' of https://github.com/besh81/nana into besh81-hotfix-1.5.6 2018-02-17 04:44:22 +08:00
Jinhao
1251589000 Merge branch 'dnso86-patch-2' into hotfix-1.5.6 2018-02-17 04:41:13 +08:00
Jinhao
ae35754535 Merge branch 'patch-2' of https://github.com/dnso86/nana into dnso86-patch-2 2018-02-17 04:40:51 +08:00
Jinhao
daf57bbd19 Merge branch 'dnso86-patch-1' into hotfix-1.5.6 2018-02-17 04:04:55 +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
c8c68c7a69 fix bug that edge nimbus is rendered for disabled widgets 2018-02-15 01:53:11 +08:00
besh81
b00ab1df0f fix filebox.init_file()
Fix filebox.init_file()
2018-02-12 14:48:03 +01:00
Jinhao
176d9e5dd9 fix bug that inline widgets aren't closed when lsitbox clears 2018-02-10 07:28:54 +08:00
dnso86
3ff4fbb596 Fixing typo in button.cpp comment 2018-02-07 16:57:30 +01:00
Jinhao
0d6e9e042b fix bug that listbox select behaves unexpectedly
it select last item of a category in single selection mode if category is
clicked
2018-02-04 10:46:29 +08:00
dnso86
63e64d4beb Checking whether MinGW really supports threads 2018-02-03 09:52:44 +01:00
Jinhao
f21bbd5deb fix bug that listbox incorrectly performs scroll_down/up 2018-02-03 06:40:10 +08:00
Jinhao
3f7dd3fe3e fix bug of scroll.make_page_scroll 2018-02-03 06:28:25 +08:00
Jinhao
ebfca14e19 Merge branch 'qPCR4vir-hotfix-1.5.6' into hotfix-1.5.6 2018-01-29 17:33:12 +08:00
qPCR4vir
caa61aba04 Fix travis test/demos with gcc 4.9 and boost 1.54 2018-01-29 01:35:09 +01:00
Jinhao
9bd3dc7e58 fix bug that nested_form draws incompletely 2018-01-28 13:57:07 +08:00
Jinhao
2574f4fffa remove a compiler warning 2018-01-28 11:23:05 +08:00
Jinhao
e1c5fcdb0a enhance performance of setting model for a listbox 2018-01-28 11:21:45 +08:00
buck-yeh
69616bae40
Make more Linux distros happy
Specifically, Fefora 27 will complain about missing <ft2build.h>, so will Solus.
2018-01-24 15:12:36 +08:00
Jinhao
2a26223628 small fix for constructor of scroll 2018-01-22 06:29:40 +08:00
Jinhao
368d584c96 Merge branch '5cript-hotfix-1.5.6' into hotfix-1.5.6 2018-01-22 06:13:46 +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
c80b4ce484 improve visualization of group caption 2018-01-13 13:07:40 +08:00
Jinhao
48be0b4b07 improve visualization of group caption 2018-01-13 10:49:37 +08:00
Jinhao
970872c96f fix bug that integer overflow in progress widget 2018-01-07 04:18:23 +08:00
Jinhao
58b7bdf2f7 fix a stackoverflow error 2018-01-03 07:32:21 +08:00
Jinhao
5653bd2416 fix crash where listbox::item_proxy==str 2017-12-13 06:28:12 +08:00
Jinhao
81018c21fd add contribution info 2017-12-03 13:13:12 +08:00
Jinhao
63091349c0 Merge branch 'pavelxdd-boostfix' into develop 2017-12-01 22:19:25 +08: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
14cc7cdaa1 fix issue that progress is incorrect when it is resized 2017-11-19 07:04:34 +08:00
Jinhao
77f7bdb37c fix bug that a font lapse after widget resizes 2017-11-14 02:06:48 +08:00
Jinhao
60c85cff52 refactor picture widget 2017-11-06 05:56:08 +08:00