<feed xmlns='http://www.w3.org/2005/Atom'>
<title>posixtz, branch master</title>
<subtitle>Tool and lua module for extracting POSIX TZ variable from tzdata
</subtitle>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/posixtz/'/>
<entry>
<title>fix implicit declaration warnings by including string.h and unistd.h</title>
<updated>2018-03-27T17:09:44+00:00</updated>
<author>
<name>Sören Tempel</name>
<email>soeren+git@soeren-tempel.net</email>
</author>
<published>2018-03-27T17:09:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/posixtz/commit/?id=89d4aece7ba679703060393ac95086fd514c7fc7'/>
<id>89d4aece7ba679703060393ac95086fd514c7fc7</id>
<content type='text'>
string.h is needed for strncmp(3) and unistd.h is needed for read(3),
close(3) and lseek(3).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
string.h is needed for strncmp(3) and unistd.h is needed for read(3),
close(3) and lseek(3).
</pre>
</div>
</content>
</entry>
<entry>
<title>posixtz: ensure the file offset we pass to lseek is off_t</title>
<updated>2018-03-27T17:08:26+00:00</updated>
<author>
<name>William Pitcock</name>
<email>nenolod@dereferenced.org</email>
</author>
<published>2011-04-28T07:56:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/posixtz/commit/?id=e6765bd363d2dd1dcaeeae5117cc25aae53fb944'/>
<id>e6765bd363d2dd1dcaeeae5117cc25aae53fb944</id>
<content type='text'>
on 32-bit systems, sizeof(off_t) is 4, on 64-bit sizeof(off_t) is 8
causing a word masking issue.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
on 32-bit systems, sizeof(off_t) is 4, on 64-bit sizeof(off_t) is 8
causing a word masking issue.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update posixtz.lua for Lua 5.2 support</title>
<updated>2015-01-19T15:41:16+00:00</updated>
<author>
<name>Ted Trask</name>
<email>ttrask01@yahoo.com</email>
</author>
<published>2015-01-19T15:41:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/posixtz/commit/?id=f06b82a6ad1368fe1b2bb67c8b93e79f846dbdd4'/>
<id>f06b82a6ad1368fe1b2bb67c8b93e79f846dbdd4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>support for Lua 5.2</title>
<updated>2013-10-07T14:43:35+00:00</updated>
<author>
<name>Natanael Copa</name>
<email>ncopa@alpinelinux.org</email>
</author>
<published>2013-10-07T14:43:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/posixtz/commit/?id=6b43aa3ad0c4d41ec0f83add4cabc7361b1e327b'/>
<id>6b43aa3ad0c4d41ec0f83add4cabc7361b1e327b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Modified parse() function to avoid throwing exceptions.</title>
<updated>2011-03-31T12:06:06+00:00</updated>
<author>
<name>aalatchm</name>
<email>aalatchm@jamailca.com</email>
</author>
<published>2011-03-30T13:41:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/posixtz/commit/?id=aec67b4e608465017ad67665f8cd1f37ae35d6cc'/>
<id>aec67b4e608465017ad67665f8cd1f37ae35d6cc</id>
<content type='text'>
Lua 'error()' function was previously used, but this throws exceptions.
If the user does not catch the exceptions, then his code will exit.
This commit replaces the 'error()' function with 'return nil, errtxt', which follows the pattern of many Lua functions, such as 'io.open()'.
The user can then choose to handle the situation in a manner appropriate for his code.
To maintain the previous behavior, the user may call 'assert(posix.parse(...))'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Lua 'error()' function was previously used, but this throws exceptions.
If the user does not catch the exceptions, then his code will exit.
This commit replaces the 'error()' function with 'return nil, errtxt', which follows the pattern of many Lua functions, such as 'io.open()'.
The user can then choose to handle the situation in a manner appropriate for his code.
To maintain the previous behavior, the user may call 'assert(posix.parse(...))'.
</pre>
</div>
</content>
</entry>
<entry>
<title>added to Lua example to demonstrate posixtz.parse</title>
<updated>2011-03-22T20:58:54+00:00</updated>
<author>
<name>aalatchm</name>
<email>aalatchm@jamailca.com</email>
</author>
<published>2011-03-22T18:27:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/posixtz/commit/?id=7882795d10fc28a696a4784d24fbb2990a5e5707'/>
<id>7882795d10fc28a696a4784d24fbb2990a5e5707</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>some cleanup of posixtz.lua</title>
<updated>2011-03-22T20:58:50+00:00</updated>
<author>
<name>aalatchm</name>
<email>aalatchm@jamailca.com</email>
</author>
<published>2011-03-22T18:27:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/posixtz/commit/?id=129ad98fe0e178a1b5c3870074eb28bf1b80ba67'/>
<id>129ad98fe0e178a1b5c3870074eb28bf1b80ba67</id>
<content type='text'>
Ensure that string library is loaded by explicitly requiring it.
Corrected comments. Added TODO for dealing with leap years.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ensure that string library is loaded by explicitly requiring it.
Corrected comments. Added TODO for dealing with leap years.
</pre>
</div>
</content>
</entry>
<entry>
<title>glue from_file function from C module into posixtz.lua</title>
<updated>2011-03-22T20:58:45+00:00</updated>
<author>
<name>aalatchm</name>
<email>aalatchm@jamailca.com</email>
</author>
<published>2011-03-22T18:27:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/posixtz/commit/?id=f09479f7052f55c89ca6197daae566b281cc0bc7'/>
<id>f09479f7052f55c89ca6197daae566b281cc0bc7</id>
<content type='text'>
This allows simply running:
  require("posixtz")
to provide access to functions:
  posixtz.from_file()
  posixtz.parse()
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows simply running:
  require("posixtz")
to provide access to functions:
  posixtz.from_file()
  posixtz.parse()
</pre>
</div>
</content>
</entry>
<entry>
<title>renamed Lua C module to posixtz.core</title>
<updated>2011-03-22T20:58:39+00:00</updated>
<author>
<name>aalatchm</name>
<email>aalatchm@jamailca.com</email>
</author>
<published>2011-03-22T18:27:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/posixtz/commit/?id=c70a7e8158bd81e1b56603ace0a91248e0c02a92'/>
<id>c70a7e8158bd81e1b56603ace0a91248e0c02a92</id>
<content type='text'>
This is necessary in order to configure posixtz.lua with additional functions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is necessary in order to configure posixtz.lua with additional functions.
</pre>
</div>
</content>
</entry>
<entry>
<title>added posixtz.lua for parse functionality</title>
<updated>2011-03-22T20:56:07+00:00</updated>
<author>
<name>aalatchm</name>
<email>aalatchm@jamailca.com</email>
</author>
<published>2011-03-22T18:27:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/posixtz/commit/?id=0c244a4e12eb65cf72972bdf49b93366a174e9b8'/>
<id>0c244a4e12eb65cf72972bdf49b93366a174e9b8</id>
<content type='text'>
The parse() function takes a POSIX TZ string and returns a table with TZ parameters.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The parse() function takes a POSIX TZ string and returns a table with TZ parameters.
</pre>
</div>
</content>
</entry>
</feed>
