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
blikblum
09515e6b34
* Generate detail sql used in masterdetail using the fielddefs instead of hardcoding to all fields
...
* Reset the detail sql also when masterlink is inactive
* Cleanup/refactor masterdetail routines
git-svn-id: trunk@12752 -
2009-02-19 17:20:05 +00:00
marco
28bb705abd
* Fix for ole properties from B. Broersma, mantis 13126
...
git-svn-id: trunk@12751 -
2009-02-19 13:54:18 +00:00
blikblum
d69d875d2a
* Refactor InternalInitFieldDefs to allow retrieve the FieldDefs without opening the dataset (Fix InitFieldDefs)
...
git-svn-id: trunk@12750 -
2009-02-19 13:32:54 +00:00
Vincent Snijders
9039afdead
* fixed overflow when calculating frequencies
...
+ added lpi
git-svn-id: trunk@12749 -
2009-02-18 21:16:11 +00:00
Vincent Snijders
78d1b92d2f
* updated to the current version from the shootout
...
git-svn-id: trunk@12748 -
2009-02-18 20:33:03 +00:00
marco
cb7f19e798
* show usage if no parameters
...
git-svn-id: trunk@12747 -
2009-02-18 17:44:02 +00:00
joost
b8d46defc5
* Added TCustomApacheApplication.LogErrorMessage
...
* Fixed AV in TCustomApacheApplication.GetModuleName, same as r11987 for
cgi-applications
* Fixed output of streamed content
git-svn-id: trunk@12746 -
2009-02-16 20:47:54 +00:00
Jonas Maebe
e58d8d6b92
* set maximum alignment of shortstrings to 2 in MacPas mode
...
(mantis #13187 )
git-svn-id: trunk@12745 -
2009-02-16 18:57:26 +00:00
joost
19c25f22d2
* Added temporary work-around for bug #12985 , partly fixes bug #12881
...
git-svn-id: trunk@12744 -
2009-02-15 18:08:34 +00:00
florian
65b46d5821
* patch by Olivier Coursiere to fix beos building
...
git-svn-id: trunk@12743 -
2009-02-14 18:02:01 +00:00
joost
a35edda5de
* TField.CanModify should return false if the dataset is inactive
...
git-svn-id: trunk@12741 -
2009-02-14 14:17:59 +00:00
florian
f0b8721f72
* Makefiles regenerated
...
git-svn-id: trunk@12740 -
2009-02-14 10:38:42 +00:00
florian
475cd9926d
* couple of small haiku fixes by Olivier Coursiere
...
git-svn-id: trunk@12739 -
2009-02-14 10:36:12 +00:00
joost
6c06a902e2
* CanModify should be false for fkLookup and fkCalculated fields. Part of bug #13114
...
* Added test for lookup-fields which currently fails for sqldb because TSQLQuert.Lookup isnt implemented
git-svn-id: trunk@12738 -
2009-02-13 22:17:25 +00:00
florian
a1b750bc39
* set properties
...
git-svn-id: trunk@12737 -
2009-02-13 11:50:16 +00:00
marco
fe7c17cfd0
* fix for mantis 13154. Declaration of SHGetSpecialFolderPathW had -A as suffix
...
git-svn-id: trunk@12735 -
2009-02-13 09:28:12 +00:00
marco
c5eeb5e8c5
* Added sem_timedwait for [BSD]-[Darwin]. Mantis 13148
...
git-svn-id: trunk@12734 -
2009-02-11 16:49:15 +00:00
marco
bbcf30dc2e
* getactiveobject (and friends) missed stdcall, Mantis #13126
...
git-svn-id: trunk@12733 -
2009-02-11 16:26:45 +00:00
joost
a2f5f7400b
* Replaces several direct references to FNSI.QName by the NodeName property, so
...
that descendent classes can override the NodeName properly
* Fixed an AV when GetNodeName is called and there is no NodeName set
* Removed the THtmlCustomElement.NodeName property and override the GetNodeName
method instead. The hashtable of TDOMNode_NS is not used because
THtmlCustomElement uses a faster lookupsystem for tag/node-names
* Added a basic test for the htmlwriter unit
git-svn-id: trunk@12732 -
2009-02-09 21:43:09 +00:00
marco
e038d87411
* left over fix shellscript
...
git-svn-id: trunk@12731 -
2009-02-09 15:15:34 +00:00