<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/smtk-import, branch v4.7.1</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.7.1</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.7.1'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2017-06-22T01:40:04Z</updated>
<entry>
<title>smtk-import: partially revert and complete 6963b52d</title>
<updated>2017-06-22T01:40:04Z</updated>
<author>
<name>Salvador Cuñat</name>
<email>salvador.cunat@gmail.com</email>
</author>
<published>2017-06-16T14:40:47Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=6e2e363c5799bb9cbaf77818344e33aeebcdbc16'/>
<id>urn:sha1:6e2e363c5799bb9cbaf77818344e33aeebcdbc16</id>
<content type='text'>
6963b52d introduced a cmake option, COMMANDLINE to enable building a
pure command line version of smtk2ssrf importer, but then the
 #define COMMANDLINE=1 forces building CLI mode.

This patch allows building GUI or CLI versions depending on selection of
the COMMANDLINE option.

Signed-off-by: Salvador Cuñat &lt;salvador.cunat@gmail.com&gt;
</content>
</entry>
<entry>
<title>smtk-import portability: avoid using %m[] in sscanf</title>
<updated>2017-06-11T20:50:59Z</updated>
<author>
<name>Salvador Cuñat</name>
<email>salvador.cunat@gmail.com</email>
</author>
<published>2017-06-11T15:24:08Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=bde73f05d44d633aac320122eacd76df2ae64dc4'/>
<id>urn:sha1:bde73f05d44d633aac320122eacd76df2ae64dc4</id>
<content type='text'>
As Lubomir pointed out in his patch for datatrak.c, the format option %m
for sscanf doesn't work in mingw/windows. Fortunately it's unnecessary
as dates are dropped and we just get times.

Signed-off-by: Salvador Cuñat &lt;salvador.cunat@gmail.com&gt;
</content>
</entry>
<entry>
<title>smtk-import: portability: rework non portable funcs</title>
<updated>2017-06-11T20:50:59Z</updated>
<author>
<name>Salvador Cuñat</name>
<email>salvador.cunat@gmail.com</email>
</author>
<published>2017-05-20T07:41:55Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=95ee57915027b41040e57fdeac8cd8e0b6be306d'/>
<id>urn:sha1:95ee57915027b41040e57fdeac8cd8e0b6be306d</id>
<content type='text'>
For different reasons some used functions aren't portable or simply are
not included in mingw. This includes index, rindex, strptime, and
timegm.

A workaround for this is needed, if we want to build for windows using
mingw based mxe environment.  This patch does:

- drops index and rindex in favor of strchr and strrchr
- substitute strptime with a sscanf parsing
- emulate timegm with a private func smtk_timegm()
- remove definitions needed by strptime

Signed-off-by: Salvador Cuñat &lt;salvador.cunat@gmail.com&gt;
</content>
</entry>
<entry>
<title>smtk-import: portability: rename DATE</title>
<updated>2017-06-11T20:50:59Z</updated>
<author>
<name>Salvador Cuñat</name>
<email>salvador.cunat@gmail.com</email>
</author>
<published>2017-05-20T07:38:27Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b47d18b45ac135ab9c7c0152fd9713d7aee2b407'/>
<id>urn:sha1:b47d18b45ac135ab9c7c0152fd9713d7aee2b407</id>
<content type='text'>
DATE happens to be defined in wtypes.h. Redefining it may be a bad idea,
so move it to _DATE

Signed-off-by: Salvador Cuñat &lt;salvador.cunat@gmail.com&gt;
</content>
</entry>
<entry>
<title>smtk-import: portability: include windows.h</title>
<updated>2017-06-11T20:50:59Z</updated>
<author>
<name>Salvador Cuñat</name>
<email>salvador.cunat@gmail.com</email>
</author>
<published>2017-05-20T07:36:38Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=15c0a0a6ea73c391d283391e388f9645238693f7'/>
<id>urn:sha1:15c0a0a6ea73c391d283391e388f9645238693f7</id>
<content type='text'>
Include windows.h if we are cross building to windows

Signed-off-by: Salvador Cuñat &lt;salvador.cunat@gmail.com&gt;
</content>
</entry>
<entry>
<title>Let command line version not open an X window</title>
<updated>2017-06-11T20:50:30Z</updated>
<author>
<name>Robert C. Helling</name>
<email>robert@thetheoreticaldiver.org</email>
</author>
<published>2017-06-07T09:00:38Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=6963b52d9682c09d311ecc2d5a7380b7f1bc77e0'/>
<id>urn:sha1:6963b52d9682c09d311ecc2d5a7380b7f1bc77e0</id>
<content type='text'>
So we can run it on a headless system

Signed-off-by: Robert C. Helling &lt;helling@atdotde.de&gt;
</content>
</entry>
<entry>
<title>smtk-import: add cmake modules and .nsi skeleton</title>
<updated>2017-06-11T20:50:30Z</updated>
<author>
<name>Salvador Cuñat</name>
<email>salvador.cunat@gmail.com</email>
</author>
<published>2017-06-05T19:47:19Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b012258617b4571cccfe1bfb8d2b7487b518f4b9'/>
<id>urn:sha1:b012258617b4571cccfe1bfb8d2b7487b518f4b9</id>
<content type='text'>
Needed to crossbuild to windows.
The cmake modules are just clones from those under
subsurface/cmake/Modules, tweaked to build smtk-import for windows.
</content>
</entry>
<entry>
<title>smtk-import: change CMakeLists.txt</title>
<updated>2017-06-11T20:50:30Z</updated>
<author>
<name>Salvador Cuñat</name>
<email>salvador.cunat@gmail.com</email>
</author>
<published>2017-06-05T19:28:21Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=ddd39f20ff0a90df9fa550213de10498e5bd4928'/>
<id>urn:sha1:ddd39f20ff0a90df9fa550213de10498e5bd4928</id>
<content type='text'>
As SmartTrak importer is building separately from Subsurface, a full
CMakeLists.txt file is necessary for the smtk-import directory.
It includes cross building to windows capability.
</content>
</entry>
<entry>
<title>Add SPDX header to smartrak importer</title>
<updated>2017-04-29T20:32:55Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2017-04-27T18:13:48Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b641757a0ce58f498558acef78e49fbf37beb415'/>
<id>urn:sha1:b641757a0ce58f498558acef78e49fbf37beb415</id>
<content type='text'>
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>smtk-import: Add curly braces in nested conditionals</title>
<updated>2017-04-21T13:52:13Z</updated>
<author>
<name>Salvador Cuñat</name>
<email>salvador.cunat@gmail.com</email>
</author>
<published>2017-04-12T19:59:56Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=441cfb3f056d3a57ca27b67f223129f348fb78fe'/>
<id>urn:sha1:441cfb3f056d3a57ca27b67f223129f348fb78fe</id>
<content type='text'>
Curly braces are necessary in nested conditionals or results may not be
those expected. In this case, the "else" clause applied on second "if",
instead of first one.

Signed-off-by: Salvador Cuñat &lt;salvador.cunat@gmail.com&gt;
</content>
</entry>
</feed>
