Commit graph

13 commits

Author SHA1 Message Date
luz paz 35e409e926 fix various typos
Found via `codespell -q 3 -S *.ts,thirdparty, -L appy,ba,inbetween,inout,pevent,possibile,upto`
2021-08-31 11:10:50 -04:00
Rozhuk Ivan a7b6545028 Add FreeBSD (tested) and other BSD systems (not tested) to build and run.
I fail to build TIFF code: it requires access to libtiff internals but it
unavailable with libtiff prom ports. Probably pre build form
thirdparty/tiff-4.0.3 should fix this, but I don't check this.
Tiff code disabled for work but available in options.

I fail with SSE2 too, there is some mess with class initialization:
TRaster32P rout32 = rout; have no idea how to fix it.
If some one want to play with it, then try to build with
CFLAGS+= -DUSE_SSE2 -DDWORD=uint32_t -D_aligned_malloc=aligned_alloc -D_aligned_free=free
on non windows system.

FarmServer::queryHwInfo() - now uses TSystem::***() to collect system info,
to avoid code duplication.

Add pthread as required lib.
2021-08-31 11:10:48 -04:00
Martin van Zijl 63e956981a Disable deleting on external drives in Linux.
Still need to implement this to correct standard.
2020-04-16 08:34:59 +12:00
Martin van Zijl 3d473ace6c Allow deleting files in File Browser on Linux.
This sends them to the recycle bin in the user's home directory.
2020-04-16 08:05:27 +12:00
Ivan Mahonin e280ae86d6 Allow to cross compile for Windows with Linux/Mingw (part 1 of 3, preprocessor) (#1148)
* split _WIN32 and _MSC_VER, lowercase includes
2017-05-08 21:13:29 +09:00
Christoph Korn c17229f066 Add format string literal
Prevents security issues when the string contains
format specifiers.
Fixes: warning: format not a string literal and
no format arguments [-Wformat-security]
2016-08-10 22:30:04 +02:00
Shinya Kitaoka 120a6e041c apply clang-format 2016-06-15 15:43:10 +09:00
Shinya Kitaoka 9eb50de5fe Use std functions (#297)
* use std functions

* replace toInt        to std::stoi
* replace toDouble     to std::stod
* replace toString     to std::to_string
* replace toWideString to std::to_wstring

* fix for MacOS

* cosmetic change
2016-06-07 16:06:00 +09:00
Shinya Kitaoka d4642c34e8 Remove macros: CASE, __OR, and DEFAULT (#286)
* remove syntax macros: CASE, __OR, and DEFAULT

* define VC_EXTRALEAN

* remove meaningless comments
2016-05-13 19:49:17 +09:00
Shinya Kitaoka 42bfb61883 remove delete[] 2016-04-20 10:24:47 +09:00
Shinya Kitaoka 9f5a1bd760 use _WIN32 instead of WIN32 2016-04-20 10:24:44 +09:00
Campbell Barton 107701249b Basic edits for Linux portability 2016-04-12 02:56:45 +10:00
Toshihiro Shimizu 890dddabbd first commit 2016-03-19 02:57:51 +09:00