lcore.git
13 months agofix slow send speed, new fifo allows get of entire buffer master
beware [Mon, 3 Apr 2023 23:30:09 +0000 (23:30 +0000)]
fix slow send speed, new fifo allows get of entire buffer

13 months agoadd md5selftest to fastmd5
beware [Thu, 16 Mar 2023 14:21:13 +0000 (14:21 +0000)]
add md5selftest to fastmd5

13 months agomove ipv6 connectivity check from dnscore init to a reusable function in lcorelocalips
beware [Wed, 15 Mar 2023 16:27:46 +0000 (16:27 +0000)]
move ipv6 connectivity check from dnscore init to a reusable function in lcorelocalips

13 months agoline endings related fixes
beware [Wed, 15 Mar 2023 15:53:54 +0000 (15:53 +0000)]
line endings related fixes

2 years agosome small fixes and improvements to dnssync and dnsasync
beware [Sat, 8 Jan 2022 22:10:07 +0000 (22:10 +0000)]
some small fixes and improvements to dnssync and dnsasync

git-svn-id: file:///svnroot/lcore/trunk@166 b1de8a11-f9be-4011-bde0-cc7ace90066a

2 years agofixed that lcorernd would not compile if nolcorernd is defined, but should
beware [Sat, 8 Jan 2022 21:57:19 +0000 (21:57 +0000)]
fixed that lcorernd would not compile if nolcorernd is defined, but should

git-svn-id: file:///svnroot/lcore/trunk@165 b1de8a11-f9be-4011-bde0-cc7ace90066a

2 years agoown implementation of parsing the timezone file because freepascals implementation...
beware [Wed, 10 Nov 2021 01:20:18 +0000 (01:20 +0000)]
own implementation of parsing the timezone file because freepascals implementation does not support 64 bits timestamps

git-svn-id: file:///svnroot/lcore/trunk@164 b1de8a11-f9be-4011-bde0-cc7ace90066a

2 years agowindows: fix that an immediate connect error is not seen and the socket is stuck...
beware [Tue, 12 Oct 2021 21:32:15 +0000 (21:32 +0000)]
windows: fix that an immediate connect error is not seen and the socket is stuck connecting forever

git-svn-id: file:///svnroot/lcore/trunk@163 b1de8a11-f9be-4011-bde0-cc7ace90066a

2 years agomake taddrint on i386 unsigned if possible
beware [Mon, 27 Sep 2021 11:13:24 +0000 (11:13 +0000)]
make taddrint on i386 unsigned if possible

git-svn-id: file:///svnroot/lcore/trunk@162 b1de8a11-f9be-4011-bde0-cc7ace90066a

2 years agofix regression: memory leak in processtasks. also the repeating task fix needs curren...
beware [Sun, 26 Sep 2021 19:12:21 +0000 (19:12 +0000)]
fix regression: memory leak in processtasks. also the repeating task fix needs currenttask to be a local var because of re-entrance

git-svn-id: file:///svnroot/lcore/trunk@161 b1de8a11-f9be-4011-bde0-cc7ace90066a

2 years agoFPC_FULLVERSION >= 30200 breaks delphi 6 even inside an ifdef it shouldnt process
beware [Sat, 25 Sep 2021 16:58:24 +0000 (16:58 +0000)]
FPC_FULLVERSION >= 30200 breaks delphi 6 even inside an ifdef it shouldnt process

git-svn-id: file:///svnroot/lcore/trunk@160 b1de8a11-f9be-4011-bde0-cc7ace90066a

2 years agofix compile error on fpc 3.2.2
beware [Sat, 25 Sep 2021 15:42:00 +0000 (15:42 +0000)]
fix compile error on fpc 3.2.2

git-svn-id: file:///svnroot/lcore/trunk@159 b1de8a11-f9be-4011-bde0-cc7ace90066a

2 years agobtime: also preserve -1 in unixtimeint, as in unixtimefloat
beware [Fri, 13 Aug 2021 06:34:52 +0000 (06:34 +0000)]
btime: also preserve -1 in unixtimeint, as in unixtimefloat

git-svn-id: file:///svnroot/lcore/trunk@158 b1de8a11-f9be-4011-bde0-cc7ace90066a

2 years agoreplace internal uses of gettimeofday with monotonic time where appropriate. make...
beware [Fri, 13 Aug 2021 03:52:55 +0000 (03:52 +0000)]
replace internal uses of gettimeofday with monotonic time where appropriate. make btime use clock_gettime provided by freepascal. single apostrophes in comments mess up vim's broken syntax highlighting.

git-svn-id: file:///svnroot/lcore/trunk@157 b1de8a11-f9be-4011-bde0-cc7ace90066a

2 years agolcorernd didnt work in 64 bits delphi
beware [Wed, 11 Aug 2021 05:41:17 +0000 (05:41 +0000)]
lcorernd didnt work in 64 bits delphi

git-svn-id: file:///svnroot/lcore/trunk@156 b1de8a11-f9be-4011-bde0-cc7ace90066a

4 years agomake unixtimeint and unixtimefloat work after 2038 on 32 bits unix. timezone is still...
beware [Sun, 23 Feb 2020 19:27:13 +0000 (19:27 +0000)]
make unixtimeint and unixtimefloat work after 2038 on 32 bits unix. timezone is still broken.

git-svn-id: file:///svnroot/lcore/trunk@155 b1de8a11-f9be-4011-bde0-cc7ace90066a

4 years agofixed repeating the same task if processmessages inside handler
beware [Thu, 19 Sep 2019 13:07:07 +0000 (13:07 +0000)]
fixed repeating the same task if processmessages inside handler

git-svn-id: file:///svnroot/lcore/trunk@154 b1de8a11-f9be-4011-bde0-cc7ace90066a

6 years agocompile on 64 bits delphi
beware [Sat, 21 Apr 2018 00:06:32 +0000 (00:06 +0000)]
compile on 64 bits delphi

git-svn-id: file:///svnroot/lcore/trunk@153 b1de8a11-f9be-4011-bde0-cc7ace90066a

6 years agoallow opt out of win8 api method for program that needs old method
beware [Sun, 15 Apr 2018 18:57:57 +0000 (18:57 +0000)]
allow opt out of win8 api method for program that needs old method

git-svn-id: file:///svnroot/lcore/trunk@152 b1de8a11-f9be-4011-bde0-cc7ace90066a

6 years agofix md5 length bug
beware [Wed, 17 Jan 2018 20:50:53 +0000 (20:50 +0000)]
fix md5 length bug

git-svn-id: file:///svnroot/lcore/trunk@151 b1de8a11-f9be-4011-bde0-cc7ace90066a

6 years agono longer by default call TimeBeginPeriod(1) in btime init
beware [Thu, 26 Oct 2017 02:16:06 +0000 (02:16 +0000)]
no longer by default call TimeBeginPeriod(1) in btime init

git-svn-id: file:///svnroot/lcore/trunk@150 b1de8a11-f9be-4011-bde0-cc7ace90066a

6 years agoReplace obsolete/broken lcoregtklaz with new lcorelazarus
plugwash [Sun, 10 Sep 2017 20:02:13 +0000 (20:02 +0000)]
Replace obsolete/broken lcoregtklaz with new lcorelazarus
Rename lmessages to lcoremessages due to unit name conflict with Lazarus

git-svn-id: file:///svnroot/lcore/trunk@149 b1de8a11-f9be-4011-bde0-cc7ace90066a

7 years agozipplet: fix range check exception in fpc 3 on tcp connect
beware [Fri, 7 Apr 2017 02:29:15 +0000 (02:29 +0000)]
zipplet: fix range check exception in fpc 3 on tcp connect

git-svn-id: file:///svnroot/lcore/trunk@148 b1de8a11-f9be-4011-bde0-cc7ace90066a

7 years agocomment style
beware [Mon, 6 Feb 2017 17:38:48 +0000 (17:38 +0000)]
comment style

git-svn-id: file:///svnroot/lcore/trunk@147 b1de8a11-f9be-4011-bde0-cc7ace90066a

7 years agofpc 3.0.0 support - fpc 3 renames fields in TInetSockAddr so we define it ourselves...
beware [Mon, 6 Feb 2017 11:53:26 +0000 (11:53 +0000)]
fpc 3.0.0 support - fpc 3 renames fields in TInetSockAddr so we define it ourselves to be independent from such renames

git-svn-id: file:///svnroot/lcore/trunk@146 b1de8a11-f9be-4011-bde0-cc7ace90066a

8 years agoadded "length of IP in bits" functions. removed some trailing whitespace.
beware [Sat, 23 Jan 2016 04:18:39 +0000 (04:18 +0000)]
added "length of IP in bits" functions. removed some trailing whitespace.

git-svn-id: file:///svnroot/lcore/trunk@145 b1de8a11-f9be-4011-bde0-cc7ace90066a

8 years agooletounix should round so seconds do not go one off in conversion
beware [Sat, 5 Dec 2015 18:50:22 +0000 (18:50 +0000)]
oletounix should round so seconds do not go one off in conversion

git-svn-id: file:///svnroot/lcore/trunk@144 b1de8a11-f9be-4011-bde0-cc7ace90066a

8 years agouse better hash function (FNV-1a)
beware [Mon, 10 Aug 2015 21:45:41 +0000 (21:45 +0000)]
use better hash function (FNV-1a)

git-svn-id: file:///svnroot/lcore/trunk@143 b1de8a11-f9be-4011-bde0-cc7ace90066a

8 years agoaccept lasterror must be obtained before the rmasterset
beware [Fri, 7 Aug 2015 00:58:35 +0000 (00:58 +0000)]
accept lasterror must be obtained before the rmasterset

git-svn-id: file:///svnroot/lcore/trunk@142 b1de8a11-f9be-4011-bde0-cc7ace90066a

9 years agouse RtlGenRandom (SystemFunction036) in lcorernd if the system supports it
beware [Mon, 2 Mar 2015 07:19:22 +0000 (07:19 +0000)]
use RtlGenRandom (SystemFunction036) in lcorernd if the system supports it

git-svn-id: file:///svnroot/lcore/trunk@141 b1de8a11-f9be-4011-bde0-cc7ace90066a

9 years agoautomatically use GetSystemTimePreciseAsFileTime if available (windows 8)
beware [Mon, 3 Nov 2014 00:38:20 +0000 (00:38 +0000)]
automatically use GetSystemTimePreciseAsFileTime if available (windows 8)

git-svn-id: file:///svnroot/lcore/trunk@140 b1de8a11-f9be-4011-bde0-cc7ace90066a

9 years agofix 2 send related bugs
beware [Mon, 30 Jun 2014 22:42:35 +0000 (22:42 +0000)]
fix 2 send related bugs

git-svn-id: file:///svnroot/lcore/trunk@139 b1de8a11-f9be-4011-bde0-cc7ace90066a

9 years agomake windows threaded async an option and disable it, because it causes crashes
beware [Sun, 29 Jun 2014 15:44:40 +0000 (15:44 +0000)]
make windows threaded async an option and disable it, because it causes crashes

git-svn-id: file:///svnroot/lcore/trunk@138 b1de8a11-f9be-4011-bde0-cc7ace90066a

10 years agocheck upper bound limit on FD set operations
beware [Fri, 28 Mar 2014 04:25:51 +0000 (04:25 +0000)]
check upper bound limit on FD set operations

git-svn-id: file:///svnroot/lcore/trunk@137 b1de8a11-f9be-4011-bde0-cc7ace90066a

10 years agofix spelling mistakes
beware [Fri, 28 Mar 2014 03:18:52 +0000 (03:18 +0000)]
fix spelling mistakes

git-svn-id: file:///svnroot/lcore/trunk@136 b1de8a11-f9be-4011-bde0-cc7ace90066a

10 years agoremoved incorrect executable status from files
beware [Thu, 13 Mar 2014 21:27:50 +0000 (21:27 +0000)]
removed incorrect executable status from files

git-svn-id: file:///svnroot/lcore/trunk@135 b1de8a11-f9be-4011-bde0-cc7ace90066a

10 years agoincrease amount of seeding from /dev/urandom
beware [Thu, 13 Mar 2014 20:16:18 +0000 (20:16 +0000)]
increase amount of seeding from /dev/urandom

git-svn-id: file:///svnroot/lcore/trunk@134 b1de8a11-f9be-4011-bde0-cc7ace90066a

10 years agofix for delphi
beware [Thu, 13 Mar 2014 07:10:11 +0000 (07:10 +0000)]
fix for delphi

git-svn-id: file:///svnroot/lcore/trunk@133 b1de8a11-f9be-4011-bde0-cc7ace90066a

10 years agowrapped rdtsc and added x64 support
beware [Thu, 13 Mar 2014 07:04:57 +0000 (07:04 +0000)]
wrapped rdtsc and added x64 support

git-svn-id: file:///svnroot/lcore/trunk@132 b1de8a11-f9be-4011-bde0-cc7ace90066a

10 years agotypo fix
beware [Thu, 13 Mar 2014 05:44:04 +0000 (05:44 +0000)]
typo fix

git-svn-id: file:///svnroot/lcore/trunk@131 b1de8a11-f9be-4011-bde0-cc7ace90066a

10 years agomake unitwindowobject work on linux again
beware [Tue, 11 Mar 2014 22:48:46 +0000 (22:48 +0000)]
make unitwindowobject work on linux again

git-svn-id: file:///svnroot/lcore/trunk@130 b1de8a11-f9be-4011-bde0-cc7ace90066a

10 years agoredefine dvar for convenience
beware [Fri, 6 Dec 2013 14:08:10 +0000 (14:08 +0000)]
redefine dvar for convenience

git-svn-id: file:///svnroot/lcore/trunk@129 b1de8a11-f9be-4011-bde0-cc7ace90066a

10 years agoadd cpu defines for x64 support and unification between delphi and fpc
beware [Fri, 22 Nov 2013 02:39:09 +0000 (02:39 +0000)]
add cpu defines for x64 support and unification between delphi and fpc

git-svn-id: file:///svnroot/lcore/trunk@128 b1de8a11-f9be-4011-bde0-cc7ace90066a

10 years agoifdef mswindows instead of win32 for 64 bits support
beware [Fri, 22 Nov 2013 02:30:44 +0000 (02:30 +0000)]
ifdef mswindows instead of win32 for 64 bits support

git-svn-id: file:///svnroot/lcore/trunk@127 b1de8a11-f9be-4011-bde0-cc7ace90066a

10 years agomust free tdnswinasync in tdnsasync destructor
beware [Fri, 22 Nov 2013 01:15:05 +0000 (01:15 +0000)]
must free tdnswinasync in tdnsasync destructor

git-svn-id: file:///svnroot/lcore/trunk@126 b1de8a11-f9be-4011-bde0-cc7ace90066a

10 years agodnswin init must be called from lcoreinit to support NT service
beware [Thu, 4 Jul 2013 00:25:32 +0000 (00:25 +0000)]
dnswin init must be called from lcoreinit to support NT service

git-svn-id: file:///svnroot/lcore/trunk@125 b1de8a11-f9be-4011-bde0-cc7ace90066a

11 years agovarious work on readtxt2.pas
plugwash [Sat, 23 Feb 2013 02:25:59 +0000 (02:25 +0000)]
various work on readtxt2.pas
fix issue with files where a line with a unix line ending followed a line with a mac line ending
add support for applications to specify that only a single line ending type is a valid line ending
expand testreadtxt2.dpr

git-svn-id: file:///svnroot/lcore/trunk@124 b1de8a11-f9be-4011-bde0-cc7ace90066a

11 years agoreadtxt2 allow open files to still be read by others
beware [Fri, 12 Oct 2012 18:50:15 +0000 (18:50 +0000)]
readtxt2 allow open files to still be read by others

git-svn-id: file:///svnroot/lcore/trunk@123 b1de8a11-f9be-4011-bde0-cc7ace90066a

11 years agoadd cleartree to bsearchtree which clears a hashtable and frees all resources
beware [Fri, 12 Oct 2012 18:47:00 +0000 (18:47 +0000)]
add cleartree to bsearchtree which clears a hashtable and frees all resources

git-svn-id: file:///svnroot/lcore/trunk@122 b1de8a11-f9be-4011-bde0-cc7ace90066a

11 years agothis version of unitwindowobject allows for creating a descendant with different...
beware [Sat, 18 Aug 2012 10:46:34 +0000 (10:46 +0000)]
this version of unitwindowobject allows for creating a descendant with different parameters

git-svn-id: file:///svnroot/lcore/trunk@121 b1de8a11-f9be-4011-bde0-cc7ace90066a

11 years agomake readtxt2 work with pipes
plugwash [Fri, 17 Aug 2012 01:12:50 +0000 (01:12 +0000)]
make readtxt2 work with pipes

git-svn-id: file:///svnroot/lcore/trunk@120 b1de8a11-f9be-4011-bde0-cc7ace90066a

11 years agoadded ISO style date/time and UTC date/time strings, add comments to document output...
beware [Wed, 15 Aug 2012 14:23:43 +0000 (14:23 +0000)]
added ISO style date/time and UTC date/time strings, add comments to document output of time strings

git-svn-id: file:///svnroot/lcore/trunk@119 b1de8a11-f9be-4011-bde0-cc7ace90066a

11 years agorename monotonic time to monotimefloat, added monotonic timefloat for linux and OS...
beware [Tue, 7 Aug 2012 02:29:51 +0000 (02:29 +0000)]
rename monotonic time to monotimefloat, added monotonic timefloat for linux and OS X, 64 bits unix ts, improve windows rate detection

git-svn-id: file:///svnroot/lcore/trunk@118 b1de8a11-f9be-4011-bde0-cc7ace90066a

11 years agofix incorrectly detecting NT6 ~64.102 Hz mode as NT5 64 Hz mode, detect as special...
beware [Mon, 6 Aug 2012 05:02:27 +0000 (05:02 +0000)]
fix incorrectly detecting NT6 ~64.102 Hz mode as NT5 64 Hz mode, detect as special case

git-svn-id: file:///svnroot/lcore/trunk@117 b1de8a11-f9be-4011-bde0-cc7ace90066a

11 years agoremove increment guarantee, it causes problems if called faster than a million times...
beware [Sun, 5 Aug 2012 01:01:50 +0000 (01:01 +0000)]
remove increment guarantee, it causes problems if called faster than a million times per second

git-svn-id: file:///svnroot/lcore/trunk@116 b1de8a11-f9be-4011-bde0-cc7ace90066a

11 years agodo SO_REUSEADDR also when listening in windows. wine needs it and it does not hurt...
beware [Fri, 25 May 2012 00:08:50 +0000 (00:08 +0000)]
do SO_REUSEADDR also when listening in windows. wine needs it and it does not hurt in windows.

git-svn-id: file:///svnroot/lcore/trunk@115 b1de8a11-f9be-4011-bde0-cc7ace90066a

12 years agofor the last attempt of choosing a port, let the OS decide
beware [Sat, 25 Feb 2012 15:46:17 +0000 (15:46 +0000)]
for the last attempt of choosing a port, let the OS decide

git-svn-id: file:///svnroot/lcore/trunk@114 b1de8a11-f9be-4011-bde0-cc7ace90066a

12 years agodnssync lookup retry to listen in case port is in use
beware [Fri, 24 Feb 2012 02:57:51 +0000 (02:57 +0000)]
dnssync lookup retry to listen in case port is in use

git-svn-id: file:///svnroot/lcore/trunk@113 b1de8a11-f9be-4011-bde0-cc7ace90066a

12 years agotdnsstatearr declaration is needed outside syncdns code
beware [Tue, 13 Dec 2011 02:12:30 +0000 (02:12 +0000)]
tdnsstatearr declaration is needed outside syncdns code

git-svn-id: file:///svnroot/lcore/trunk@112 b1de8a11-f9be-4011-bde0-cc7ace90066a

12 years agoremoved use of global vars in dnssync, should be reentrant safe
beware [Mon, 12 Dec 2011 03:01:06 +0000 (03:01 +0000)]
removed use of global vars in dnssync, should be reentrant safe

git-svn-id: file:///svnroot/lcore/trunk@111 b1de8a11-f9be-4011-bde0-cc7ace90066a

12 years agoin dnssync, recreate sockets to fix problems when setting/changing custom nameserver
beware [Sat, 10 Dec 2011 16:36:12 +0000 (16:36 +0000)]
in dnssync, recreate sockets to fix problems when setting/changing custom nameserver

git-svn-id: file:///svnroot/lcore/trunk@110 b1de8a11-f9be-4011-bde0-cc7ace90066a

12 years agoredone getlocalips fix more neatly
beware [Sat, 10 Dec 2011 13:29:58 +0000 (13:29 +0000)]
redone getlocalips fix more neatly

git-svn-id: file:///svnroot/lcore/trunk@109 b1de8a11-f9be-4011-bde0-cc7ace90066a

12 years agofix dnscore based resolving failure on windows
beware [Fri, 9 Dec 2011 23:15:45 +0000 (23:15 +0000)]
fix dnscore based resolving failure on windows

git-svn-id: file:///svnroot/lcore/trunk@108 b1de8a11-f9be-4011-bde0-cc7ace90066a

12 years agosome consolidation
beware [Fri, 25 Nov 2011 04:36:29 +0000 (04:36 +0000)]
some consolidation

git-svn-id: file:///svnroot/lcore/trunk@107 b1de8a11-f9be-4011-bde0-cc7ace90066a

12 years agofixed missing semicolon if compiling without ipv6
beware [Wed, 23 Nov 2011 00:04:55 +0000 (00:04 +0000)]
fixed missing semicolon if compiling without ipv6

git-svn-id: file:///svnroot/lcore/trunk@106 b1de8a11-f9be-4011-bde0-cc7ace90066a

12 years agofix destroysourcestream always false bug
beware [Fri, 18 Nov 2011 23:20:51 +0000 (23:20 +0000)]
fix destroysourcestream always false bug

git-svn-id: file:///svnroot/lcore/trunk@105 b1de8a11-f9be-4011-bde0-cc7ace90066a

12 years agouse rm -f in clean target
plugwash [Sun, 6 Nov 2011 22:45:21 +0000 (22:45 +0000)]
use rm -f in clean target

git-svn-id: file:///svnroot/lcore/trunk@104 b1de8a11-f9be-4011-bde0-cc7ace90066a

12 years agofixed listen breaking on kernel compiled without ipv6
beware [Tue, 11 Oct 2011 08:08:48 +0000 (08:08 +0000)]
fixed listen breaking on kernel compiled without ipv6

git-svn-id: file:///svnroot/lcore/trunk@103 b1de8a11-f9be-4011-bde0-cc7ace90066a

12 years agoadd O_NONBLOCK in lserial.pas, apparently some serial ports need this to
plugwash [Fri, 19 Aug 2011 00:07:28 +0000 (00:07 +0000)]
add O_NONBLOCK in lserial.pas, apparently some serial ports need this to
open successfully and it's also consistent with how we open other stuff

git-svn-id: file:///svnroot/lcore/trunk@102 b1de8a11-f9be-4011-bde0-cc7ace90066a

12 years agofix execl to work
beware [Tue, 28 Jun 2011 18:09:07 +0000 (18:09 +0000)]
fix execl to work

git-svn-id: file:///svnroot/lcore/trunk@101 b1de8a11-f9be-4011-bde0-cc7ace90066a

13 years agofix line endings in lcorelocalips.pas
plugwash [Sun, 8 May 2011 00:01:47 +0000 (00:01 +0000)]
fix line endings in lcorelocalips.pas

git-svn-id: file:///svnroot/lcore/trunk@100 b1de8a11-f9be-4011-bde0-cc7ace90066a

13 years agoincreased maximum RR of a kind limit check
beware [Mon, 4 Apr 2011 14:58:41 +0000 (14:58 +0000)]
increased maximum RR of a kind limit check

git-svn-id: file:///svnroot/lcore/trunk@99 b1de8a11-f9be-4011-bde0-cc7ace90066a

13 years agomade getlocalips work on mac OS X (BSD)
beware [Fri, 25 Feb 2011 05:56:35 +0000 (05:56 +0000)]
made getlocalips work on mac OS X (BSD)

git-svn-id: file:///svnroot/lcore/trunk@98 b1de8a11-f9be-4011-bde0-cc7ace90066a

13 years agoreorganization of system dns servers code
beware [Thu, 24 Feb 2011 06:24:10 +0000 (06:24 +0000)]
reorganization of system dns servers code

git-svn-id: file:///svnroot/lcore/trunk@97 b1de8a11-f9be-4011-bde0-cc7ace90066a

13 years agoadded lcorelocalips: code to get local v4 and v6 IPs in a central place
beware [Wed, 23 Feb 2011 06:46:34 +0000 (06:46 +0000)]
added lcorelocalips: code to get local v4 and v6 IPs in a central place

git-svn-id: file:///svnroot/lcore/trunk@96 b1de8a11-f9be-4011-bde0-cc7ace90066a

13 years agoadded ipv6 detection on windows for built-in resolver
beware [Tue, 22 Feb 2011 05:40:41 +0000 (05:40 +0000)]
added ipv6 detection on windows for built-in resolver

git-svn-id: file:///svnroot/lcore/trunk@95 b1de8a11-f9be-4011-bde0-cc7ace90066a

13 years agoeliminated a lot of hints and warnings
beware [Mon, 21 Feb 2011 21:40:05 +0000 (21:40 +0000)]
eliminated a lot of hints and warnings

git-svn-id: file:///svnroot/lcore/trunk@94 b1de8a11-f9be-4011-bde0-cc7ace90066a

13 years agoadd lserial.pas
plugwash [Sat, 18 Dec 2010 22:51:54 +0000 (22:51 +0000)]
add lserial.pas
add a few {$mode delphi}

git-svn-id: file:///svnroot/lcore/trunk@93 b1de8a11-f9be-4011-bde0-cc7ace90066a

13 years agoinit wcore stuff in lcoreinit, eliminating dependency on messageloop
beware [Sat, 13 Nov 2010 15:05:06 +0000 (15:05 +0000)]
init wcore stuff in lcoreinit, eliminating dependency on messageloop

git-svn-id: file:///svnroot/lcore/trunk@92 b1de8a11-f9be-4011-bde0-cc7ace90066a

13 years agoMsgRec consistency
beware [Sat, 13 Nov 2010 14:55:15 +0000 (14:55 +0000)]
MsgRec consistency

git-svn-id: file:///svnroot/lcore/trunk@91 b1de8a11-f9be-4011-bde0-cc7ace90066a

13 years agoreversing unnecessary changes to windowproc, and add translatemessage
beware [Sat, 13 Nov 2010 14:46:48 +0000 (14:46 +0000)]
reversing unnecessary changes to windowproc, and add translatemessage

git-svn-id: file:///svnroot/lcore/trunk@90 b1de8a11-f9be-4011-bde0-cc7ace90066a

13 years agoallow wcore to coexist with other windows
beware [Wed, 10 Nov 2010 23:20:43 +0000 (23:20 +0000)]
allow wcore to coexist with other windows

git-svn-id: file:///svnroot/lcore/trunk@89 b1de8a11-f9be-4011-bde0-cc7ace90066a

14 years agounixtoole changed to take input as float
beware [Sat, 3 Apr 2010 22:25:51 +0000 (22:25 +0000)]
unixtoole changed to take input as float

git-svn-id: file:///svnroot/lcore/trunk@88 b1de8a11-f9be-4011-bde0-cc7ace90066a

14 years agoincreased connect timeout in case of more IPs to try to 5 seconds
beware [Mon, 22 Mar 2010 16:18:15 +0000 (16:18 +0000)]
increased connect timeout in case of more IPs to try to 5 seconds

git-svn-id: file:///svnroot/lcore/trunk@87 b1de8a11-f9be-4011-bde0-cc7ace90066a

14 years agoadded lsocket.onconnecttryip handler for apps that want to use this information
beware [Sat, 27 Feb 2010 21:16:25 +0000 (21:16 +0000)]
added lsocket.onconnecttryip handler for apps that want to use this information

git-svn-id: file:///svnroot/lcore/trunk@86 b1de8a11-f9be-4011-bde0-cc7ace90066a

14 years agoip6bintostr run length atleast 2 0 words
beware [Fri, 26 Feb 2010 03:43:23 +0000 (03:43 +0000)]
ip6bintostr run length atleast 2 0 words

git-svn-id: file:///svnroot/lcore/trunk@85 b1de8a11-f9be-4011-bde0-cc7ace90066a

14 years agosimulate gettimeofday on windows
beware [Wed, 24 Feb 2010 04:01:22 +0000 (04:01 +0000)]
simulate gettimeofday on windows

git-svn-id: file:///svnroot/lcore/trunk@84 b1de8a11-f9be-4011-bde0-cc7ace90066a

14 years agofd related central definition and small performance tweak in lcoreselect
beware [Sat, 20 Feb 2010 18:33:54 +0000 (18:33 +0000)]
fd related central definition and small performance tweak in lcoreselect

git-svn-id: file:///svnroot/lcore/trunk@83 b1de8a11-f9be-4011-bde0-cc7ace90066a

14 years agofix signal hang
plugwash [Sat, 20 Feb 2010 13:48:27 +0000 (13:48 +0000)]
fix signal hang

git-svn-id: file:///svnroot/lcore/trunk@82 b1de8a11-f9be-4011-bde0-cc7ace90066a

14 years agopgtypes needs to be used for new string definition
zipplet [Tue, 16 Feb 2010 23:18:51 +0000 (23:18 +0000)]
pgtypes needs to be used for new string definition

git-svn-id: file:///svnroot/lcore/trunk@81 b1de8a11-f9be-4011-bde0-cc7ace90066a

14 years agoCorrected binipstuff error with merge
zipplet [Tue, 16 Feb 2010 23:05:37 +0000 (23:05 +0000)]
Corrected binipstuff error with merge

git-svn-id: file:///svnroot/lcore/trunk@80 b1de8a11-f9be-4011-bde0-cc7ace90066a

14 years agoMerged with delphi 2010 branch
zipplet [Tue, 16 Feb 2010 22:51:30 +0000 (22:51 +0000)]
Merged with delphi 2010 branch

git-svn-id: file:///svnroot/lcore/trunk@79 b1de8a11-f9be-4011-bde0-cc7ace90066a

14 years agomake a minor change per information from anders to allow build with current
plugwash [Tue, 16 Feb 2010 03:34:46 +0000 (03:34 +0000)]
make a minor change per information from anders to allow build with current
fpc on darwin, this may break builds with older compilers on darwin
(unfortunately I don't have such older versions handy to test so I can't
really set up ifdefs)

git-svn-id: file:///svnroot/lcore/trunk@78 b1de8a11-f9be-4011-bde0-cc7ace90066a

14 years agoadd some missing ifdefs
plugwash [Fri, 12 Feb 2010 22:26:21 +0000 (22:26 +0000)]
add some missing ifdefs

git-svn-id: file:///svnroot/lcore/trunk@76 b1de8a11-f9be-4011-bde0-cc7ace90066a

14 years agofreebsd fixups
plugwash [Fri, 12 Feb 2010 22:16:05 +0000 (22:16 +0000)]
freebsd fixups

git-svn-id: file:///svnroot/lcore/trunk@75 b1de8a11-f9be-4011-bde0-cc7ace90066a

14 years agofix build in various fpc versions on linux
plugwash [Fri, 12 Feb 2010 02:21:31 +0000 (02:21 +0000)]
fix build in various fpc versions on linux

git-svn-id: file:///svnroot/lcore/trunk@74 b1de8a11-f9be-4011-bde0-cc7ace90066a

14 years agomake some os-x related fixes to lmessages
plugwash [Fri, 12 Feb 2010 00:51:00 +0000 (00:51 +0000)]
make some os-x related fixes to lmessages

force bindv6only to 0 to make things behave with debian squeeze+  (note: this
is likely to break on some operating systems but I suspect said operating
systems were broken already)

git-svn-id: file:///svnroot/lcore/trunk@73 b1de8a11-f9be-4011-bde0-cc7ace90066a

14 years agogetsockname fixes. getXaddr was returning peer addr
beware [Wed, 10 Feb 2010 03:34:48 +0000 (03:34 +0000)]
getsockname fixes. getXaddr was returning peer addr

git-svn-id: file:///svnroot/lcore/trunk@71 b1de8a11-f9be-4011-bde0-cc7ace90066a

14 years agoremove executable property
plugwash [Fri, 5 Feb 2010 03:32:29 +0000 (03:32 +0000)]
remove executable property

git-svn-id: file:///svnroot/lcore/trunk@64 b1de8a11-f9be-4011-bde0-cc7ace90066a

14 years agofix a broken line ending conversion attempt
plugwash [Fri, 5 Feb 2010 03:30:16 +0000 (03:30 +0000)]
fix a broken line ending conversion attempt

git-svn-id: file:///svnroot/lcore/trunk@63 b1de8a11-f9be-4011-bde0-cc7ace90066a