Commit Graph

30178 Commits

Author SHA1 Message Date
florian
8a940151a7 o patch by Sergej Gorelkin:
* When OpenExeFile is called with an empty filename argument, 
    it apparently opens stdin and crashes immediately thereafter trying to seek in non-seekable stream. 
    The filename is empty whenever GetLineInfo is called with the address that does not belong to valid module.

git-svn-id: trunk@12802 -
2009-02-26 18:34:48 +00:00
florian
3638a3b680 * patch by Paul van Helden: added SHCameraCapture function and structures for WinCE; resolves #13222
git-svn-id: trunk@12801 -
2009-02-26 17:07:16 +00:00
marco
00d1174c69 * avltreetest demo
git-svn-id: trunk@12800 -
2009-02-26 10:45:29 +00:00
Károly Balogh
c9308d4299 * Somewhat working mouse support (left button + moves), only to be used with FV
* An attempt to optimize forced screen updates in video mode, because they really blow, and Free Vision forces a whole screen update on every window move
* Probably other stuff i already forgot

git-svn-id: trunk@12799 -
2009-02-26 00:46:27 +00:00
ivost
5738d9ab55 * added new xml node reader functions
git-svn-id: trunk@12798 -
2009-02-26 00:28:44 +00:00
marco
3265ce1aa1 * small makefile fix introduced with 64-bit port?
git-svn-id: trunk@12797 -
2009-02-25 22:24:08 +00:00
ivost
8a253dde71 * added more try functions (don't throw exceptions)
git-svn-id: trunk@12796 -
2009-02-25 22:18:32 +00:00
Károly Balogh
a55ec3bf3b * have a larger buffer for Exec() (can't remember if this was actually an useful change, but let's have it commited, as next snapshot will have this code anyway)
git-svn-id: trunk@12795 -
2009-02-25 21:32:29 +00:00
Károly Balogh
d800d165de * use directory separator from System unit
git-svn-id: trunk@12794 -
2009-02-25 21:28:41 +00:00
ivost
7798d6a265 * added new xsd types and reniced some implementations (integer parsers, date/time parsers, etc...)
git-svn-id: trunk@12793 -
2009-02-25 21:22:39 +00:00
florian
eaba28bbf1 * less code commented
git-svn-id: trunk@12792 -
2009-02-25 19:41:30 +00:00
florian
234a182bdc * properties set
git-svn-id: trunk@12791 -
2009-02-25 19:36:18 +00:00
florian
cb9a0f2196 * msg files updated after last commit
git-svn-id: trunk@12790 -
2009-02-25 15:44:54 +00:00
florian
d511f8d84e * year of copyright updated
git-svn-id: trunk@12789 -
2009-02-25 15:44:20 +00:00
ivost
c9bcb0fb66 * fixed xsd:date, xsd:time and xsd:dateTime parsers in xsd helper library
git-svn-id: trunk@12788 -
2009-02-24 23:23:00 +00:00
florian
694f563079 * fixed assembler tables for sse4 instructions, resolves #13186
git-svn-id: trunk@12787 -
2009-02-24 20:07:11 +00:00
florian
1bc505b622 * replaced PATHSEP by / for instruction and register table generation
git-svn-id: trunk@12786 -
2009-02-24 19:57:40 +00:00
ivost
bc2aeb2997 * extended libxml2 xsd helper functions
git-svn-id: trunk@12785 -
2009-02-24 19:28:25 +00:00
ivost
ce01f1d47e * added more xsd helper functions
git-svn-id: trunk@12784 -
2009-02-24 12:59:12 +00:00
Jonas Maebe
3884a9b065 * initialise temporary variants using fillchar instead of using varclearproc
(the latter assumes the variant has already been initialised at least
     once). Thanks to Yury.

git-svn-id: trunk@12783 -
2009-02-24 09:57:37 +00:00
Jonas Maebe
e115455ca0 * forgot to commit, part of r12781
git-svn-id: trunk@12782 -
2009-02-23 21:39:20 +00:00
Jonas Maebe
f1daa9fa73 + added support for streaming basic variant types (boolean, integer types,
floating point types, currency and string types), based on description
    by Anton Kavalenka at
    http://wiki.freepascal.org/FPC_Cleanroom#Variant_streaming_implementation
    and based on his test program (mantis #10482)

git-svn-id: trunk@12781 -
2009-02-23 21:32:12 +00:00
joost
60d4f81cfa * Close dataset again when its not necessary anymore
* Implemented THTMLPageProducer
 * Fixed possible AV regarding UseValues
 * Renamed THTMLCustomEntityProducer.OnWritePage to OnWriteEntity
 * Fixed some visibility notes (protected/public)

git-svn-id: trunk@12780 -
2009-02-23 21:10:10 +00:00
Vincent Snijders
acba12517b * fixed compilation on win64 by using LResult as result type of a window proc
git-svn-id: trunk@12779 -
2009-02-23 20:29:08 +00:00
Jonas Maebe
d20080c3d6 * fixed order of parameter pushing to gmon_monstartup
git-svn-id: trunk@12778 -
2009-02-23 18:03:49 +00:00
Jonas Maebe
4bb1d13d83 * fixed reading utf-8 strings from streams (based on patch by Anton
Kavalenka, mantis #13015)

git-svn-id: trunk@12777 -
2009-02-23 14:58:23 +00:00
blikblum
49001ee67a * set default values for published properties
git-svn-id: trunk@12776 -
2009-02-23 14:55:40 +00:00
joost
d3c965880f * Set and get full PBufBookmark buffer on get/SetBookmarkData to avoid random
data at the end of the bookmark-buffer, solves bug #8541

git-svn-id: trunk@12775 -
2009-02-22 20:21:39 +00:00
joost
e4495fc350 * Patch from Luiz Americo to replace TList by TFPList in TLookupList, bug #13225
git-svn-id: trunk@12774 -
2009-02-22 17:36:23 +00:00
joost
ee123bbaf9 * Set default value of UsePrimaryKeyAsKey to fix streaming, bug #13207
git-svn-id: trunk@12773 -
2009-02-22 17:25:24 +00:00
joost
8d5463bfae * Added test for r12771
git-svn-id: trunk@12772 -
2009-02-22 15:32:27 +00:00
joost
7e4f521361 * Patch from Luiz Americo to fix bug #12330: TLookupList returns wrong value
when key is not found

git-svn-id: trunk@12771 -
2009-02-22 15:17:00 +00:00
blikblum
df7a6b0f5d * Make SqliteVersion a class method
git-svn-id: trunk@12770 -
2009-02-22 12:31:35 +00:00
joost
9132405487 Patch from Luiz Americo, bug #13221:
* add const keyword to some string parameters
 * remove two typos: an extra semicolon in BindFields and an extra assignment in SetActive

git-svn-id: trunk@12769 -
2009-02-22 11:19:41 +00:00
blikblum
0a4f4ea8e1 * Remove debug code
git-svn-id: trunk@12768 -
2009-02-22 07:10:17 +00:00
blikblum
2503a6fb8d * Fix calculation of fieldoffset in Get/SetFieldData
git-svn-id: trunk@12767 -
2009-02-22 07:09:06 +00:00
blikblum
daa5fed573 * Retrieve the string field size from the sqlite field description
* Create string fields using the size specified in the fielddef

git-svn-id: trunk@12766 -
2009-02-22 06:58:20 +00:00
florian
6911b70dc4 + write/read alignment to ppu for explicit parameter locations
git-svn-id: trunk@12765 -
2009-02-21 22:59:58 +00:00
florian
344ccfce72 * who uses C style operators in the heart of FPC ;)? fixed
git-svn-id: trunk@12764 -
2009-02-21 22:59:10 +00:00
blikblum
a10de0a71f * Use FieldDefs instead of Fields in Set/GetFieldData
git-svn-id: trunk@12763 -
2009-02-21 17:51:46 +00:00
blikblum
d72a9cfa48 * Implement ClearCalcFields
git-svn-id: trunk@12762 -
2009-02-21 17:50:04 +00:00
micha
3b171cb6fb * windows rtl: fix resource leak when cleaning up last tthread without message loop (fixes issue #13173)
git-svn-id: trunk@12761 -
2009-02-21 17:42:33 +00:00
blikblum
ea52fee334 * Change ApplyUpdates to use FieldDefs instead of Fields to prevent errors when number of fields does not match with number of fieldefs
git-svn-id: trunk@12760 -
2009-02-21 17:41:31 +00:00
micha
82e9d9009d * fix memory leak introduced in rev 9696, orphaned os chunks are not reused for short-lived threads (fixes issue #13173)
git-svn-id: trunk@12759 -
2009-02-20 22:35:41 +00:00
blikblum
63419e3a2e * Publish OnCalcFields
git-svn-id: trunk@12758 -
2009-02-20 21:19:01 +00:00
blikblum
2cb3d83676 * Implement get/setdata for calculated fields
* Allow Null to be passed in KeyValues in Lookup/Locate (follows Delphi)

git-svn-id: trunk@12757 -
2009-02-20 21:18:02 +00:00
blikblum
d1315e82c3 * Allocate linked list with extra space for calculated fields
git-svn-id: trunk@12756 -
2009-02-20 12:55:08 +00:00
blikblum
e8782e0985 * Create FIndexFieldList on demand
* Rename UpdateIndexFields to UpdateIndexFieldList

git-svn-id: trunk@12755 -
2009-02-20 12:24:33 +00:00
blikblum
5166d8afef + Added FCalcFieldList to hold the calculated fields
git-svn-id: trunk@12754 -
2009-02-20 12:16:59 +00:00
Jonas Maebe
3dd32daa03 * always create a temp for MacPas objects in with-expressions (mantis
#13210)

git-svn-id: trunk@12753 -
2009-02-19 22:43:59 +00:00