Matthieu Gautier
d4fefd1a57
Add a function to create a temporary directory.
2018-04-19 17:53:05 +02:00
Matthieu Gautier
9f86b59d1d
Add a function to get the content of a file.
2018-04-19 17:53:02 +02:00
Matthieu Gautier
f76e9d2dbf
Format all the code using clang-format.
...
Add a script `format_code.sh` to easily format the code.
2017-07-05 15:22:34 +02:00
Matthieu Gautier
753a39beb0
Fix header include for cross-compilation to Windows.
...
On unix, filenames are case sensitive and all include files are lowercase.
2017-01-17 10:20:59 +01:00
Matthieu Gautier
8ce1fb0ba8
Switch build system to mesonbuild.
...
There is no more integrated build of dependencies in the build system.
Dependencies are discovered using pkg-config except for ctpp2 where there
is no pkg-config file.
2016-12-22 12:01:20 +01:00
kelson42
934a15a0b4
Fix kiwix-mange problem with relative paths
2016-09-04 21:43:26 +02:00
kelson42
7903458e38
Fix hardlinking in copyFile()
2015-04-09 14:26:11 +02:00
Emmanuel Engelhart
dc60455cd3
in copyFile() try to make a link if possible, copy the content otherwise
2015-02-21 16:56:38 +01:00
kelson42
0411b0988c
+ update license header
2014-05-22 19:08:10 +02:00
kelson42
e885cc342a
+ Avoid buffer overflow on linux
2014-05-22 19:05:42 +02:00
Kelson42
f69edcf9c0
+ fix fileExists() for Windows
2014-05-19 23:55:56 +02:00
Kelson42
c3ae9d06b1
+ Windows fix
2014-05-14 18:43:49 +02:00
Kelson42
1209e27e8c
+ Fix path computation functions for Windows
2014-05-14 18:33:11 +02:00
kelson42
acc78f585b
+ replace a few variables with a CONSTANT
...
+ new method computeRelativePath()
2013-08-04 14:26:33 +08:00
kelson42
c67bbf3922
+ fix for MSVC2010
2013-05-06 21:26:31 +02:00
renaud gaudin
ea3f698d6f
Fixed compilation on OSX [broken long ago by attempting to support OSX10.5]
2013-05-01 15:29:21 +00:00
kelson42
2d88190f28
* FIXED: Abstruse index names ( #84 )
2013-03-29 02:03:18 +01:00
kelson42
0c6bf971bf
+ size initialisation (=0)x
2012-08-26 09:29:44 +00:00
kelson42
d37e2355f8
+ in computeAbsolutePath(), if "root" path is empty, compute with the current path
2012-08-13 22:47:09 +00:00
kelson42
e9740183c2
+ replace C code with C++
2012-08-05 18:03:44 +00:00
reg_
3a5b7fabc1
added #include <unistd.h> for GCC 4.7+
2012-06-07 15:21:10 +00:00
kelson42
b8a13ede0a
+ small windows adaptation to the function to get the exe full path
2012-04-19 16:22:45 +00:00
reg_
17a4c42eb3
fixed getExecutablePath() on OSX
2012-04-19 16:10:34 +00:00
kelson42
73217d5e49
+ small bug fix for windows
2011-12-20 20:11:56 +00:00
kelson42
784f87e715
+ port to windows
2011-12-17 14:59:43 +00:00
kelson42
4b545b8ae2
2011-12-12 14:49:49 +00:00
kelson42
faff227365
+ port makeDirectory to WIN32
2011-12-10 18:52:11 +00:00
kelson42
79d00c2b36
+ small fix to avoid duplicate slashes in paths
2011-11-01 12:58:00 +00:00
kelson42
5922808e12
+ copyFile() & getLastPathElement()
2011-11-01 12:25:33 +00:00
kelson42
f2280a6b02
+ bool makeDirectory(const string &path);
2011-11-01 10:57:51 +00:00
kelson42
cfa00c33f2
+ fix bug in path computation in computeAbsolutePath()
2011-11-01 10:04:16 +00:00
kelson42
5bd84c8db7
+ add the fileExists() function
2011-10-28 16:13:44 +00:00
kelson42
98bf706297
+ better factorisation of the code (moved from manager.cpp to pathTools.cpp) -> creation of functions getFileSize() and getFileSizeAsString()
2011-10-28 15:54:31 +00:00
kelson42
9182f4e529
+ reorganisation of the code: creation of componentTools.[h|cpp] with two methods for charset manipulation (only used in contentManager XPCOM) and move of 3 path manipulations functions from manager.cpp to pathTools.cpp
2011-10-28 15:40:17 +00:00
kelson42
6959085e3c
+ better deal with accented paths
2011-09-05 18:53:02 +00:00
kelson42
1c2037e5fa
+ better deal with accented paths
2011-09-05 18:24:21 +00:00
kelson42
1475646cf3
+ pathTools
2011-09-05 18:18:41 +00:00