89 Commits

Author SHA1 Message Date
Jinhao
3871715779 Merge branch 'develop' of https://github.com/Unitrunker/nana into Unitrunker-develop 2018-02-11 15:58:45 +08:00
unitrunker
9127942a5a if someone wants this, they can put it back - fixed. 2018-01-24 20:53:35 -06: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
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
qPCR4vir
263776812e git clone branch=hotfix-1.5/nana-demo in hotfix-1.5.4/nana travis 2017-09-05 15:53:43 +02:00
qPCR4vir
18264f1974 Manually-specified variables were not used by the project
Forgot to clean this in:
Commit: a68155c7d70c2e5d05acbd0ad30b96664d27d79f [a68155c7]
Parents: 11bd0bcf88
Author: qPCR4vir <arielvina@yahoo.es>
Date: Montag, 27. Juni 2016 01:25:48
Build build demos separately.
2017-09-05 15:51:52 +02:00
Jinhao
d36a7e684a fix travis for new update 2017-09-02 21:25:30 +08:00
qPCR4vir
a632ab0a12 clone branch=develop qPCR4vir/nana-demo 2017-05-02 12:14:17 +02:00
qPCR4vir
06e1b7a712 test with nana-demo/hotfix 2016-11-15 03:36:01 +01:00
qPCR4vir
ddc88e0af0 travis test with nana-demo/develop branch 2016-06-30 17:54:51 +02:00
qPCR4vir
b5706bab17 make install only (in travis) 2016-06-30 16:05:47 +02:00
qPCR4vir
1a0761c59b - cd ../bin 2016-06-27 17:00:36 +02:00
qPCR4vir
a6e8d88ae8 install -DCMAKE_INSTALL_PREFIX=.. 2016-06-27 16:59:26 +02:00
qPCR4vir
98ed89c097 - cp -v ../nana-demo/Examples ../ 2016-06-27 16:35:23 +02:00
qPCR4vir
fffa89ea5c - cp -v nana-demo/Examples 2016-06-27 16:17:24 +02:00
qPCR4vir
5b74b38b13 - mv -v nana-demo/Examples . 2016-06-27 16:08:00 +02:00
qPCR4vir
b5822df1ec set the same options !? 2016-06-27 15:24:28 +02:00
qPCR4vir
72f950282a make ../nana-demo 2016-06-27 14:15:29 +02:00
qPCR4vir
1a1e86fc92 build ../nana-demo 2016-06-27 13:16:07 +02:00
qPCR4vir
4886dcd840 build ../nana_demo 2016-06-27 13:10:43 +02:00
qPCR4vir
26a2b5ac63 put in ../nana_lib the lib and the includes 2016-06-27 13:00:44 +02:00
qPCR4vir
234c94aaf4 Merge remote-tracking branch 'origin/tests' into tests 2016-06-27 01:55:18 +02:00
qPCR4vir
6328ae0cfd no cd ../lib 2016-06-27 01:55:05 +02:00
Ariel Vina-Rodriguez
11bfe65044 no tabs 2016-06-27 01:46:05 +02:00
qPCR4vir
37205f0aa9 relative dir 2016-06-27 01:37:09 +02:00
qPCR4vir
a68155c7d7 Build build demos separately. 2016-06-27 01:25:48 +02:00
qPCR4vir
5d094e2864 20 of 55 failed, why sometimes- threading and thread-pool too 2016-06-25 20:35:51 +02:00
qPCR4vir
e134f34930 18 of 55 failed, sometimes- threading and thread-pool too 2016-06-25 20:27:05 +02:00
qPCR4vir
3dd9c7738e 3 more. 16 of 55 failed, 2 sometimes- threading and thread-pool 2016-06-25 20:16:52 +02:00
qPCR4vir
8596da0587 16 of 52 don't pass 2016-06-25 19:52:59 +02:00
qPCR4vir
cb33acf2c3 13 of 52 don't pass 2016-06-25 19:34:59 +02:00
qPCR4vir
c747ebed47 test all 2016-06-25 18:37:41 +02:00
qPCR4vir
70b1b0b9ee travis point to nana-demo.dev_nana_fs 2016-06-24 14:26:17 +02:00
Jinhao
12678e47c5 Merge branch 'hotfix-1.3' into develop 2016-06-24 03:06:23 +08:00
qPCR4vir
d860daa9ac NANA_CMAKE_FIND_BOOST_FILESYSTEM=ON 2016-06-23 16:10:40 +02:00
qPCR4vir
599e84e73a NANA_CMAKE_FIND_BOOST_FILESYSTEM=OFF 2016-06-23 15:00:12 +02:00
qPCR4vir
264396d008 NANA_CMAKE_BOOST_FILESYSTEM_FORCE=OFF in travis 2016-06-21 20:50:25 +02:00
Ariel Vina-Rodriguez
befc81c7b7 NANA_CMAKE_BOOST_FILESYSTEM_FORCE in travis 2016-06-21 15:21:41 +02:00
Jinhao
84b9aeaa21 normal travis 2016-06-21 18:47:26 +08:00
Jinhao
938ee41791 debug travis 2016-06-21 18:29:59 +08:00
Jinhao
2243057f1e debug travis 2016-06-21 18:17:24 +08:00
Jinhao
13fc844a5a debug travis 2016-06-21 18:06:36 +08:00
Jinhao
8513b6503e fix travis 2016-06-21 16:26:46 +08:00
Jinhao
705fca5232 update travis 2016-06-21 08:47:47 +08:00
qPCR4vir
526c6bc6ba still not merged with develop 2016-04-20 01:52:25 +02:00
qPCR4vir
6ca18613e4 thread-pool don't pass ? 2016-03-05 04:14:10 +01:00
qPCR4vir
7d4387edd4 2 more no, but 33 pass 2016-03-05 04:04:59 +01:00
qPCR4vir
9d038166e5 some dont pass 2016-03-05 03:57:13 +01:00
qPCR4vir
506ff45e64 more demos don't pass 2016-03-05 03:41:46 +01:00