Commit Graph

31705 Commits

Author SHA1 Message Date
pierre
a989b6c1e6 * avoid problems for windows if case of drive letter is different
git-svn-id: trunk@14840 -
2010-02-01 15:47:22 +00:00
joost
75ff11b24f * Do not call only BeforeGenerateContent of child producers, but also for the producer itself
* Call BeforeGenerateContent of childs from a TWebPageProducer

git-svn-id: trunk@14839 -
2010-02-01 11:53:31 +00:00
Jonas Maebe
caca6cea37 * allow any kind of fields in Object Pascal classes that are passed to
Objective-C methods or which are fields of Objective-C classes (since they
    are basically opaque to the Objective-C runtime) + fixed tobjc11 so it
    expects classes to be encoded as opaque types
  * give a proper error message when using illegal field/parameter types in
    Objective-C classes/methods instead of an internal error (only checked
    during rtti generation rather than during parsing, because during parsing
    some types may still be forwarddefs)
  * split objcutil in objcdef and objcutil, with objcdef depending only on
    the symtable so it can be used in symdef

git-svn-id: trunk@14838 -
2010-01-31 21:13:41 +00:00
Jonas Maebe
4469501835 * fixed indentation, simplified calling read_record_fields()
git-svn-id: trunk@14837 -
2010-01-31 20:54:48 +00:00
Jonas Maebe
8e77c6998b * fixed comment
git-svn-id: trunk@14836 -
2010-01-31 20:53:04 +00:00
florian
b8e58428ed * don't search use extrapath for searching ppc* if extrapath is empty because this might find undesired compilers in the current directory
git-svn-id: trunk@14835 -
2010-01-31 16:48:18 +00:00
florian
dfc2652062 + support of compiler intrinsic sar* using a patch by Benjamin Rosseaux, resolves #15606
git-svn-id: trunk@14834 -
2010-01-31 16:47:01 +00:00
pierre
23e171d396 * Fix alignment problem for sparc arch.
git-svn-id: trunk@14833 -
2010-01-30 22:19:14 +00:00
Jonas Maebe
89e4e0fd25 * only wake up readers if all recursive write locks have been freed
git-svn-id: trunk@14831 -
2010-01-29 21:56:46 +00:00
Jonas Maebe
13e8b3f23e * don't give a "NoThreadError" for any default rtl/basicevent* routines,
so the TMultiReadExclusiveWriteSynchronizer routines can be safely
    executed even with the default thread manager -> removed ismultithread
    checks, so that it keeps working even if ismultithread is set to true
    between acquiring and freeing a lock (mantis #15619)

git-svn-id: trunk@14830 -
2010-01-29 21:01:11 +00:00
Jonas Maebe
d03d2ed27d - disabled pic (fixes test on darwin/i386, where pic is on by default)
git-svn-id: trunk@14829 -
2010-01-29 20:56:41 +00:00
Jonas Maebe
e4858445c7 * make sure fwritelocked remains set correctly when using recursive write locks
git-svn-id: trunk@14828 -
2010-01-29 18:10:10 +00:00
Jonas Maebe
3bfa9ea3ec * only for Darwin platforms
git-svn-id: trunk@14827 -
2010-01-29 17:49:43 +00:00
giulio2
dc4769adf3 Patch from Paul and Dmitry: properly quote resource list file parameter for fpcres
(fixes resource compilation when spaces are in the path)

git-svn-id: trunk@14824 -
2010-01-29 12:19:05 +00:00
pierre
048b2ba67b * fix pthread problem wen using nice for solaris
git-svn-id: trunk@14823 -
2010-01-28 19:05:42 +00:00
Jonas Maebe
2be600afff * support objc.id.<anyobjcmethod> in Delphi mode (mantis #15607)
git-svn-id: trunk@14822 -
2010-01-28 16:14:42 +00:00
pierre
df33542ca9 + Timezone support for solaris
git-svn-id: trunk@14821 -
2010-01-28 11:03:32 +00:00
Jonas Maebe
2c477269d0 * added a readbarrier after acquiring a read or write lock on
TMultiReadExclusiveWriteSynchronizer, to ensure that out-of-order
    execution cannot already perform some reads inside the critical section
    before the lock has been acquired
  - removed now unnecessary read barrier before releasing a read lock

git-svn-id: trunk@14820 -
2010-01-27 22:23:41 +00:00
marco
503cde98d3 * OLE_COLOR and OLE_HANDLE
git-svn-id: trunk@14819 -
2010-01-27 19:58:58 +00:00
marco
2c149e805a * fix for 15597. Added returnvalue to early-out exit().
git-svn-id: trunk@14818 -
2010-01-27 19:49:28 +00:00
joost
f8b8e3f48d * Added OnShowRequestException event
git-svn-id: trunk@14817 -
2010-01-27 14:32:19 +00:00
joost
5aede1b888 * Removed BeforeAjaxRequest, it has no use since it is called immediately before OnHandleAjaxRequest
* Use the TAjaxRepsonse in the before and after ajax request calls
 * When an exception occurs in an Ajax request, show the error message in a messagebox to the client
 * Implemented TAjaxResponse.CancelXMLAnswer so it is still possible to use the normal TResponse

git-svn-id: trunk@14814 -
2010-01-27 13:08:49 +00:00
pierre
d05cefe03a + add NO_GDBLIBINC variable to be able to disable use of -dUSE_GDBLIBINC
git-svn-id: trunk@14813 -
2010-01-27 12:30:35 +00:00
pierre
fdc3e9dd6f * Fix special register numbers
git-svn-id: trunk@14812 -
2010-01-27 12:27:03 +00:00
pierre
fbba2e89f8 * correct problem for -init -fini for scripts
git-svn-id: trunk@14811 -
2010-01-27 12:19:46 +00:00
paul
a8381c8b32 fpc: compiler:
- complete $WARN switch parsing and add a stab to change message state
  - reimplement way of message hiding by -vm switch (by Dmitry Boyarintsev)
(note: $WARN switch does not work at the moment since state handling is not yet implemented)

git-svn-id: trunk@14809 -
2010-01-27 06:59:58 +00:00
joost
8ef245699a * Merging fcl-web_joost branch into trunk
--- Merging r13710 through r14654 into '.':
 G   utils/debugsvr/README.txt
 G   utils/fpmc/README.txt
 G   utils/tply/COPYING.txt
 G   utils/tply/README.txt
 G   utils/fpdoc/COPYING.txt
 G   utils/fpdoc/README.txt
 G   utils/fppkg/README.txt
 G   utils/README.txt
 G   utils/h2pas/README.txt
 G   ide/README.txt
 G   ide/TODO.txt
 G   rtl/macos/README.txt
 G   rtl/freebsd/x86_64/cprt0.as
 G   rtl/freebsd/x86_64/gprt0.as
 G   rtl/freebsd/buildrtl.pp
 G   rtl/freebsd/buildrtl.lpi
 G   rtl/COPYING.txt
 G   rtl/netware/README.txt
 G   rtl/inc/ustrings.inc
C    rtl/inc/objpash.inc
 G   rtl/inc/ustringh.inc
 G   rtl/README.txt
 G   rtl/objpas/README.txt
 G   tests/test/README.txt
 G   tests/test/tunistr6.pp
 G   tests/test/tunistr1.pp
 G   tests/test/tunistr7.pp
 G   tests/test/tunistr2.pp
 G   tests/test/opt/README.txt
 G   tests/test/tunistr4.pp
   C tests/test/tobject5.pp
 G   tests/test/tunistr5.pp
 G   tests/webtbs/uw13345y.pp
 G   tests/webtbs/tw11846a.pp
 G   tests/webtbs/tw12993.pp
 G   tests/webtbs/tw11846b.pp
--- Merging r13710 through r14654 into 'tests/webtbf/tw13815.pp':
 U   tests/webtbf/tw13815.pp
--- Merging r13710 through r14654 into 'tests/tbf/tb0216.pp':
 U   tests/tbf/tb0216.pp
--- Merging r13710 through r14654 into '.':
 G   compiler/ccharset.pas
 G   compiler/README.txt
 G   compiler/COPYING.txt
 G   compiler/optloop.pas
 G   compiler/utils/README.txt
 G   packages/sdl/README.txt
 G   packages/fcl-net/README.txt
--- Merging r13710 through r14654 into 'packages/fcl-xml/tests/README_DOM.txt':
 U   packages/fcl-xml/tests/README_DOM.txt
--- Merging r13710 through r14654 into '.':
 G   packages/fcl-xml/tests/README.txt
 G   packages/fcl-xml/src/README.txt
--- Merging r13710 through r14654 into 'packages/unzip/src/unzip51g.pp':
 U   packages/unzip/src/unzip51g.pp
--- Merging r13710 through r14654 into '.':
 G   packages/libc/README.txt
 G   packages/newt/README.txt
 G   packages/fcl-process/src/dummy
 G   packages/fcl-db/src/memds/README.txt
 G   packages/fcl-db/src/README.txt
U    packages/fcl-web/Makefile.fpc
A    packages/fcl-web/src/webpage.pp
U    packages/fcl-web/src/fphtml.pp
 G   packages/fcl-web/src/README.txt
C    packages/fcl-web/Makefile
 G   packages/libgd/src/gd.pas
 G   packages/libgd/README.txt
 G   packages/ptc/docs/TODO.txt
 G   packages/ptc/docs/README.txt
 G   packages/postgres/README.txt
 G   packages/fcl-base/examples/intl/README.txt
 G   packages/fcl-base/examples/README.txt
 G   packages/xforms/README.txt
 G   packages/amunits/README.txt
 G   packages/ibase/README.txt
 G   packages/sndfile/README.txt
 G   packages/libxml/src/xml2.pas
 G   packages/svgalib/README.txt
--- Merging r13710 through r14654 into 'packages/winunits-base/src/dwmapi.pp':
 U   packages/winunits-base/src/dwmapi.pp
--- Merging r13710 through r14654 into '.':
 G   packages/cdrom/README.txt
 G   packages/mysql/README.txt
 G   packages/oracle/README.txt
 G   packages/gtk1/README.txt
 G   packages/uuid/README.txt
 G   packages/odbc/README.txt
 G   packages/gdbm/README.txt
Summary of conflicts:
  Text conflicts: 2
  Tree conflicts: 1

git-svn-id: trunk@14808 -
2010-01-26 15:12:56 +00:00
pierre
2646db8036 * Add is_new boolean arg to AddTestResult, to e able to know
if the call really added a new result.

git-svn-id: trunk@14807 -
2010-01-26 12:54:48 +00:00
joost
6aa6f7ebf4 * While reading POST data keep waiting for data until contentlength bytes are read, with a timeout of about 15 seconds.
git-svn-id: trunk@14806 -
2010-01-26 11:50:41 +00:00
giulio2
bb5891a560 * fpcres: Implemented TClosableFileStream to automatically release and acquire
file handles as needed. It avoids running out of file descriptors
  (fixes bug #15586)

git-svn-id: trunk@14805 -
2010-01-26 08:54:41 +00:00
pierre
85fef0d52d * Improve test result insertion into database
git-svn-id: trunk@14804 -
2010-01-25 16:51:50 +00:00
Jonas Maebe
a527b6b2b4 * optimized ppc memory barrier implementations
git-svn-id: trunk@14803 -
2010-01-25 14:49:33 +00:00
pierre
fb1cf4fc8f + Use TEST_DATETIME in dbdigest.cfg file
git-svn-id: trunk@14802 -
2010-01-25 12:36:42 +00:00
pierre
b2c04a2a57 + Add compiler and svn revision information
git-svn-id: trunk@14800 -
2010-01-25 10:50:16 +00:00
pierre
95b04cea9d * fix two string errors
git-svn-id: trunk@14799 -
2010-01-25 10:46:29 +00:00
joost
ac7c145c04 * Set global CustomApplication variable
git-svn-id: trunk@14795 -
2010-01-24 15:10:48 +00:00
florian
5b1e713e5b * fixed tests
git-svn-id: trunk@14794 -
2010-01-24 15:00:49 +00:00
paul
d898c8d836 tests: fix test crash
git-svn-id: trunk@14793 -
2010-01-24 13:15:35 +00:00
florian
e7bff9f5c1 * fixed reading of constants from token streams
git-svn-id: trunk@14792 -
2010-01-24 12:35:03 +00:00
florian
fc148f4aec * read/write new cstringpattern correctly from/to ppu files
+ test

git-svn-id: trunk@14791 -
2010-01-24 12:34:00 +00:00
paul
ba3744b38e compiler: translate_disp_call:
- fix arguments description if the first argument is empty
  - fix restype field value (describes result value type in variant types)

git-svn-id: trunk@14790 -
2010-01-24 12:06:52 +00:00
florian
c6ffbe9eda * support string constants > 255 chars
* don't cut off anymore string constants silently at 255 chars

git-svn-id: trunk@14789 -
2010-01-24 09:28:46 +00:00
paul
fe6a0d27a1 compiler: fix variant dispatch after r14782
git-svn-id: trunk@14788 -
2010-01-24 05:45:27 +00:00
joost
00f42cbdf1 * Allow searching and filtering on ftFixedWidth fields
* Improved error message for fieldtypes for which searching and filtering are not available

git-svn-id: trunk@14787 -
2010-01-23 23:21:47 +00:00
marco
52e803112b * fix for #0 problem in posex + faster (indexbyte) based implementations.
git-svn-id: trunk@14786 -
2010-01-23 22:03:20 +00:00
marco
690b6e89ea * strutils rtl unit dir + test of posex. (related to bug #15357)
git-svn-id: trunk@14785 -
2010-01-23 22:02:44 +00:00
paul
d08508419d tests: test arguments passing for dispinterfaces
git-svn-id: trunk@14784 -
2010-01-23 19:46:11 +00:00
paul
8511a3e1e4 compiler: fix an assumption that para.parasym is always assigned
git-svn-id: trunk@14783 -
2010-01-23 19:31:50 +00:00
paul
ca99f902d6 compiler: fix a memory leak in translate_disp_call
git-svn-id: trunk@14782 -
2010-01-23 19:16:17 +00:00
paul
7aede2018f compiler: mark 'var' and 'out' arguments as they are passed by reference for dispatch invoke
git-svn-id: trunk@14781 -
2010-01-23 19:01:30 +00:00