lcore.git
14 years agoType fix for binipstuff and revert btime delphi2010
zipplet [Sun, 14 Feb 2010 01:57:00 +0000 (01:57 +0000)]
Type fix for binipstuff and revert btime

git-svn-id: file:///svnroot/lcore/branches/delphi2010@77 b1de8a11-f9be-4011-bde0-cc7ace90066a

14 years agoYet more delphi 2010 fixes
zipplet [Wed, 10 Feb 2010 17:48:08 +0000 (17:48 +0000)]
Yet more delphi 2010 fixes

git-svn-id: file:///svnroot/lcore/branches/delphi2010@72 b1de8a11-f9be-4011-bde0-cc7ace90066a

14 years agoMore string type fixes
zipplet [Tue, 9 Feb 2010 22:30:17 +0000 (22:30 +0000)]
More string type fixes

git-svn-id: file:///svnroot/lcore/branches/delphi2010@70 b1de8a11-f9be-4011-bde0-cc7ace90066a

14 years agoFix dnscore (non windows API) lookups
zipplet [Tue, 9 Feb 2010 21:43:58 +0000 (21:43 +0000)]
Fix dnscore (non windows API) lookups

git-svn-id: file:///svnroot/lcore/branches/delphi2010@69 b1de8a11-f9be-4011-bde0-cc7ace90066a

14 years agoMove string types to pgtypes.pas and port dnscore
zipplet [Tue, 9 Feb 2010 21:18:27 +0000 (21:18 +0000)]
Move string types to pgtypes.pas and port dnscore

git-svn-id: file:///svnroot/lcore/branches/delphi2010@68 b1de8a11-f9be-4011-bde0-cc7ace90066a

14 years agoInitial work on porting lcore to delphi 2010
zipplet [Tue, 9 Feb 2010 19:52:15 +0000 (19:52 +0000)]
Initial work on porting lcore to delphi 2010

git-svn-id: file:///svnroot/lcore/branches/delphi2010@67 b1de8a11-f9be-4011-bde0-cc7ace90066a

14 years agoBranch for Delphi 2009/2010 port
zipplet [Tue, 9 Feb 2010 00:41:23 +0000 (00:41 +0000)]
Branch for Delphi 2009/2010 port

git-svn-id: file:///svnroot/lcore/branches/delphi2010@66 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

14 years agoset svn:ignore
plugwash [Thu, 4 Feb 2010 23:04:07 +0000 (23:04 +0000)]
set svn:ignore

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

14 years agoset line ending property on files to hopefully avoid line ending problems in future
plugwash [Thu, 4 Feb 2010 22:47:07 +0000 (22:47 +0000)]
set line ending property on files to hopefully avoid line ending problems in future

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

14 years agoadd support for fpc 2.2.4rc1
plugwash [Thu, 12 Nov 2009 20:47:41 +0000 (20:47 +0000)]
add support for fpc 2.2.4rc1

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

14 years agofix line endings
plugwash [Sun, 1 Nov 2009 04:42:43 +0000 (04:42 +0000)]
fix line endings

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

14 years agofix an error that prevented compilation with more recent fpc
plugwash [Sun, 1 Nov 2009 04:42:13 +0000 (04:42 +0000)]
fix an error that prevented compilation with more recent fpc
(that'll teach me not to assume that the fix I made for
build with 1.0.x is harmless)

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

14 years agochange ltimevalstuff to a unit and move defintion of ttimeval on windows
plugwash [Sat, 31 Oct 2009 00:20:41 +0000 (00:20 +0000)]
change ltimevalstuff to a unit and move defintion of ttimeval on windows
there

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

14 years agomake dnsasync better handle cleanup of a partially constructed instance
plugwash [Thu, 13 Aug 2009 18:50:30 +0000 (18:50 +0000)]
make dnsasync better handle cleanup of a partially constructed instance

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

14 years agoremoved redundant, and no longer valid, email address (another one)
beware [Wed, 24 Jun 2009 11:48:09 +0000 (11:48 +0000)]
removed redundant, and no longer valid, email address (another one)

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

14 years agoremoved redundant, and no longer valid, email address
beware [Wed, 24 Jun 2009 11:47:15 +0000 (11:47 +0000)]
removed redundant, and no longer valid, email address

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

14 years agoadd {$apptype console} to testreadtxt2.dpr to make delphi build it as a console app
plugwash [Thu, 18 Jun 2009 01:18:59 +0000 (01:18 +0000)]
add {$apptype console} to testreadtxt2.dpr to make delphi build it as a console app

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

14 years agono dof file
beware [Thu, 18 Jun 2009 01:13:18 +0000 (01:13 +0000)]
no dof file

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

14 years agoadd text file read unit and test program to go with it
plugwash [Thu, 18 Jun 2009 00:48:22 +0000 (00:48 +0000)]
add text file read unit and test program to go with it

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

14 years agofix some line ending issues
plugwash [Thu, 18 Jun 2009 00:46:24 +0000 (00:46 +0000)]
fix some line ending issues

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

14 years agofix a typo in previous commit
plugwash [Mon, 15 Jun 2009 21:06:50 +0000 (21:06 +0000)]
fix a typo in previous commit

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

14 years agoadd some extra sanity checking to blinklist and fix a line ending in dnswin
plugwash [Mon, 15 Jun 2009 20:55:41 +0000 (20:55 +0000)]
add some extra sanity checking to blinklist and fix a line ending in dnswin

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

15 years agoremove an assignment that doesn't serve any usefull function and causes
plugwash [Mon, 13 Apr 2009 02:44:32 +0000 (02:44 +0000)]
remove an assignment that doesn't serve any usefull function and causes
build failure with 2.0.0 on amd64

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

15 years agofix screwup in previous commit
plugwash [Mon, 13 Apr 2009 00:16:07 +0000 (00:16 +0000)]
fix screwup in previous commit

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

15 years agomake dnswin use makeaddrinfov
plugwash [Mon, 13 Apr 2009 00:12:13 +0000 (00:12 +0000)]
make dnswin use makeaddrinfov

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

15 years agooops really add it this time
plugwash [Tue, 17 Feb 2009 23:33:20 +0000 (23:33 +0000)]
oops really add it this time

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

15 years agoadd unitwindowobject.pas with bewares permission
plugwash [Tue, 17 Feb 2009 23:32:56 +0000 (23:32 +0000)]
add unitwindowobject.pas with bewares permission

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

15 years agofix a bug in peekmessage
plugwash [Tue, 17 Feb 2009 00:51:40 +0000 (00:51 +0000)]
fix a bug in peekmessage

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

15 years agofix some line ending issues and add a license header to wmessages.pas
plugwash [Sun, 15 Feb 2009 03:29:21 +0000 (03:29 +0000)]
fix some line ending issues and add a license header to wmessages.pas

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

15 years agoadd wmessages.pas (conviniance unit to make it easier to write code that works with...
plugwash [Sun, 15 Feb 2009 03:25:51 +0000 (03:25 +0000)]
add wmessages.pas (conviniance unit to make it easier to write code that works with both windows
messages and lmessages)

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

15 years agofix a small error
plugwash [Sun, 15 Feb 2009 03:19:42 +0000 (03:19 +0000)]
fix a small error

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

15 years agofix a bug in dispatchmessage
plugwash [Sun, 15 Feb 2009 03:11:49 +0000 (03:11 +0000)]
fix a bug in dispatchmessage

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

15 years agofix a warning
beware [Fri, 6 Feb 2009 01:34:02 +0000 (01:34 +0000)]
fix a warning

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

15 years ago* rearchitect release method to use tasks (making it work on windows)
plugwash [Thu, 5 Feb 2009 21:52:57 +0000 (21:52 +0000)]
* rearchitect release method to use tasks (making it work on windows)
* drop the feature that the message loop on linux auto-exits when everything is destroyed (rarely if ever used)
* get rid of now redundant linked list of sockets

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

15 years ago* make lmessages scream and die on fpc older than 2.2.0 due to fpc bug
plugwash [Thu, 5 Feb 2009 18:38:37 +0000 (18:38 +0000)]
* make lmessages scream and die on fpc older than 2.2.0 due to fpc bug
* add makefile option to build test app without lmessages
* fixup lcore building on various older versions of freepascal

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

15 years agoICMP does work, removing comment
beware [Wed, 4 Feb 2009 00:01:05 +0000 (00:01 +0000)]
ICMP does work, removing comment

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

15 years agochange blinklist.pas to zlib license with bewares permission
plugwash [Sat, 31 Jan 2009 01:00:51 +0000 (01:00 +0000)]
change blinklist.pas to zlib license with bewares permission

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

15 years ago* various fixups resulting from getting the test app working on a XP
plugwash [Sat, 31 Jan 2009 00:58:54 +0000 (00:58 +0000)]
* various fixups resulting from getting the test app working on a XP
  system without ipv6 enabled using delphi 3
 * make failures to create the socket go through the async error
   handling system so they interact well with the address list
   system (making use of an address list with mixed v4 and v6
   addresses work on a v4 only system)
 * fixup some unit dependencies
 * fixup some bits in the test app itself, make the test app able to
   complete on a system without ipv6 enabled, make the test app
   buildable on windows.
 * fixup handling of blank and unknown protocols (blank gives TCP,
   unknown gives an error)
 * disable word size check in lcorerng

* make some stuff that really shouldn't be pulic private, more should
  probablly be done later in this regard

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

15 years agoadd unitfork.pas to uses clause of test app so it's compilation gets checked
plugwash [Mon, 26 Jan 2009 01:30:31 +0000 (01:30 +0000)]
add unitfork.pas to uses clause of test app so it's compilation gets checked

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

15 years agofix up some line ending issues in previous commit
plugwash [Mon, 26 Jan 2009 01:27:34 +0000 (01:27 +0000)]
fix up some line ending issues in previous commit

note, I forgot to mention in previous commit message that I added lmessages to
the uses clause of the test app to check it was buildable.

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

15 years agoadd unitfork.pas relicensed under zlib with bewares permission
plugwash [Mon, 26 Jan 2009 01:16:13 +0000 (01:16 +0000)]
add unitfork.pas relicensed under zlib with bewares permission

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

15 years agofix line endings
plugwash [Fri, 23 Jan 2009 18:52:08 +0000 (18:52 +0000)]
fix line endings

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

15 years agohopefully fix a connection death bug that was annoying zipplet
plugwash [Fri, 23 Jan 2009 18:23:37 +0000 (18:23 +0000)]
hopefully fix a connection death bug that was annoying zipplet

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

15 years agoadd license header to lmessages.pas
plugwash [Fri, 23 Jan 2009 01:40:05 +0000 (01:40 +0000)]
add license header to lmessages.pas

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

15 years agoFixed broadcast UDP sockets not working on windows
zipplet [Fri, 23 Jan 2009 00:36:13 +0000 (00:36 +0000)]
Fixed broadcast UDP sockets not working on windows

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

15 years agofixed bug of udp not working when using listen
beware [Mon, 19 Jan 2009 22:21:55 +0000 (22:21 +0000)]
fixed bug of udp not working when using listen

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

15 years agoon further thought, change the packet size some more
beware [Mon, 19 Jan 2009 12:03:32 +0000 (12:03 +0000)]
on further thought, change the packet size some more

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

15 years agofix standard packet payload size for ipv6
beware [Mon, 19 Jan 2009 11:59:02 +0000 (11:59 +0000)]
fix standard packet payload size for ipv6

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

15 years agoadd support for raw sockets
beware [Mon, 19 Jan 2009 11:48:03 +0000 (11:48 +0000)]
add support for raw sockets

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

15 years ago* fixed NT services not working. app must now call lcoreinit() at some point before...
beware [Fri, 26 Dec 2008 19:17:00 +0000 (19:17 +0000)]
* fixed NT services not working. app must now call lcoreinit() at some point before using sockets etc
* made dnssync and dnsasync secure with source port randomization and reply packet source IP/port verification
* created lcorerandom, a secure general purpose random number source, replacement of bircrandom
* added fastmd5.pas into the repository. it wasn't in it, but seemed to belong in it and lcorernd depends on it.
* added the ability to do "custom" (txt, mx, ns, ptr, etc) lookups in dnscore and dnsasync
* lsocket.receivefrom now converts a v6 mapped v4 IP to a real v4 IP for simplicity in the app
* removed "ipv6preferred" from dnswin, which was doing nothing

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

15 years agoadded unixutil to lmessages because of unixstuff.inc compile error
beware [Sat, 22 Nov 2008 17:25:18 +0000 (17:25 +0000)]
added unixutil to lmessages because of unixstuff.inc compile error

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

15 years agofixed line endings. made flush work on win32. made packet base size
beware [Sat, 22 Nov 2008 17:11:59 +0000 (17:11 +0000)]
fixed line endings. made flush work on win32. made packet base size
constant.

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

16 years agogit-svn-id: file:///svnroot/lcore/trunk@17 b1de8a11-f9be-4011-bde0-cc7ace90066a
beware [Mon, 31 Mar 2008 21:15:39 +0000 (21:15 +0000)]
git-svn-id: file:///svnroot/lcore/trunk@17 b1de8a11-f9be-4011-bde0-cc7ace90066a

16 years agoreceive buffer size
beware [Mon, 31 Mar 2008 21:12:11 +0000 (21:12 +0000)]
receive buffer size

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

16 years agogit-svn-id: file:///svnroot/lcore/trunk@15 b1de8a11-f9be-4011-bde0-cc7ace90066a
beware [Mon, 31 Mar 2008 11:10:42 +0000 (11:10 +0000)]
git-svn-id: file:///svnroot/lcore/trunk@15 b1de8a11-f9be-4011-bde0-cc7ace90066a

16 years agosecondlistener in lcoreconfig
beware [Mon, 31 Mar 2008 10:45:42 +0000 (10:45 +0000)]
secondlistener in lcoreconfig

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

16 years ago* add multiip support to dnsasync
plugwash [Mon, 31 Mar 2008 01:26:50 +0000 (01:26 +0000)]
* add multiip support to dnsasync

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

16 years agosecondlistener-2
beware [Mon, 31 Mar 2008 00:39:51 +0000 (00:39 +0000)]
secondlistener-2

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

16 years agosecondlistener
beware [Mon, 31 Mar 2008 00:30:30 +0000 (00:30 +0000)]
secondlistener

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

16 years ago* make disabling/enabling a timer on windows reset it like on linux
plugwash [Sun, 30 Mar 2008 21:39:57 +0000 (21:39 +0000)]
* make disabling/enabling a timer on windows reset it like on linux
* fix some line ending issues

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

16 years agoadd todo list
plugwash [Sun, 30 Mar 2008 21:12:45 +0000 (21:12 +0000)]
add todo list

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

16 years ago* add method to tell if a string is a biniplist
plugwash [Sun, 30 Mar 2008 01:33:59 +0000 (01:33 +0000)]
* add method to tell if a string is a biniplist
* allow a biniplist to be used for the addr field in a tlsocket

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

16 years agofix line ending and some other minor issues
plugwash [Sun, 30 Mar 2008 01:02:40 +0000 (01:02 +0000)]
fix line ending and some other minor issues

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

16 years ago* attempt to fix too many onsessionavailible events issue
plugwash [Sun, 30 Mar 2008 00:52:52 +0000 (00:52 +0000)]
* attempt to fix too many onsessionavailible events issue
* clean up some licensing issues

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

16 years agogit-svn-id: file:///svnroot/lcore/trunk@5 b1de8a11-f9be-4011-bde0-cc7ace90066a
beware [Sun, 30 Mar 2008 00:45:46 +0000 (00:45 +0000)]
git-svn-id: file:///svnroot/lcore/trunk@5 b1de8a11-f9be-4011-bde0-cc7ace90066a

16 years agoadded lcoreconfig.inc
beware [Sun, 30 Mar 2008 00:27:58 +0000 (00:27 +0000)]
added lcoreconfig.inc

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

16 years agorm some cruft that got imported accidently
plugwash [Sun, 30 Mar 2008 00:24:32 +0000 (00:24 +0000)]
rm some cruft that got imported accidently

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

16 years agothe big lot of changes by beware
beware [Sun, 30 Mar 2008 00:16:07 +0000 (00:16 +0000)]
the big lot of changes by beware

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

16 years agoinitial import
plugwash [Fri, 28 Mar 2008 02:26:58 +0000 (02:26 +0000)]
initial import

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