Commit Graph

34832 Commits

Author SHA1 Message Date
sekelsenmat
83b2948ec1 makeskel: Adds more output info in case of error and fixes compilation through Lazarus (by adding +)
git-svn-id: trunk@18219 -
2011-08-16 13:27:35 +00:00
sekelsenmat
00304a6446 fpvectorial: Repositions the field Name to avoid confusing fcl-passrc, Name cannot come after Method + Public
git-svn-id: trunk@18218 -
2011-08-16 11:07:19 +00:00
sekelsenmat
4c26ef6386 fcl-passrc: Improves a lot the default exception message for parsing errors
git-svn-id: trunk@18217 -
2011-08-16 10:42:18 +00:00
pierre
d2c1010a91 + NOVESA switch for go32v2 IDE added
git-svn-id: trunk@18216 -
2011-08-16 08:29:02 +00:00
michael
dc0be272a0 * Better test case from Reinier, Bug ID #19987
git-svn-id: trunk@18215 -
2011-08-15 10:29:06 +00:00
michael
87bc28e203 * Patch by Reinier Olislagers (bug ID 19987):
1. Code cleanup to make it more modular and maintainable: split out code per export format and moved class-level variables there.
 2. Delphi Clientdataset export now works thanks to FPC XML fixes by Sergei Gorelkin and tests/improvements by Ludo Brands.
 3. Extended test coverage with all field types in a BufDataset so tests cover more.
 4. Fixes for invalid data: Access, ADO.Net, Excel date limits respected (generate NULL or text fields respectively)
 5. Decimalseparator setting in Access export should now work.
 6. Variants are saved as blobs, not strings, because of their variable nature.
 7. Fix for proper export of null values to Access NULL values (instead of empty/default values).
 8. Changed description of class from "Unicode XML file with XSD" to "Unicode XML file" to better match unit function.
 9. Compiled on Windows x86, Linux x64 without warnings using fpc -vweh fpxmlxsdexport.pp. Compared output.
 - ftVarBytes gave different output on Windows & Linux. Disregarded as I don't fill these fields in the test because of bug #19930
 10. Added option KeepFilesAfterTest = true in xmlxsdexporttestcase1; can be switched to false to delete export test files after use.
 11. Lower-cased source code file names.
 12. Fixes for Linux invalid date export to Excel by using clocale and specifying dateformat (restored at end of export).
 13 .Datasize instead of .Size for string/widestring Delphi fields.

git-svn-id: trunk@18214 -
2011-08-15 10:25:22 +00:00
florian
8833c1cfa3 * patch by Petr-K to fix 3*3 matrix inversion, resolves #19828
+ tests

git-svn-id: trunk@18213 -
2011-08-14 21:46:47 +00:00
florian
e18aa6e208 * version update
git-svn-id: trunk@18212 -
2011-08-14 21:42:50 +00:00
florian
ee998def8e + add new functions to dummy/pipes.inc, fixes WinCE building
git-svn-id: trunk@18211 -
2011-08-14 20:54:28 +00:00
florian
3787ed993c * made some fields in fgl.pp private as proposed by Michalis Kamburelis, resolves #19873
git-svn-id: trunk@18210 -
2011-08-14 19:52:01 +00:00
florian
63403e5199 * *Dir(<ansistring>) functions need to check io result as well, resolves #19977
git-svn-id: trunk@18209 -
2011-08-14 19:00:07 +00:00
florian
145f0959d6 * patch by Michalis Kamburelis for 2 small issues in glext unit, to fix Load_GL_version_3_3 and Load_GL_version_4_0, resolves #19955
git-svn-id: trunk@18208 -
2011-08-14 18:40:46 +00:00
florian
c45222cd17 + patch by Michalis Kamburelis to add GLX 1.4 support and new GLX extensions, resolves #19953
git-svn-id: trunk@18207 -
2011-08-14 18:35:22 +00:00
florian
8308b46a94 + support for assembler instructions with four operands
+ support for insertq, resolves #19910

git-svn-id: trunk@18206 -
2011-08-14 16:46:35 +00:00
florian
4a34192510 * fix TFPGList.Extract to return the correct values by a patch by Michalis Kamburelis, resolves #19960
git-svn-id: trunk@18205 -
2011-08-14 13:57:33 +00:00
marco
1fb6fd25af * Example for QuickEvaluate, and some fixes to errorhandling of QuickEvaluate
git-svn-id: trunk@18204 -
2011-08-14 13:53:13 +00:00
florian
5ec2839dd2 + fpmake file for fcl-stl
* build fcl-stl from makefiles and fpmake, resolves #19916

git-svn-id: trunk@18203 -
2011-08-14 13:41:15 +00:00
florian
58d1a66cd0 * set max_operands to 4 on x86 to be prepared for avx and to be able to fix #19910,
- memory usage of a compiler compilation increases by approx. 2 per cent due to this
  - actually docs say avx has operations with 5 parameter, however I were not able to find
    an instruction having 5 operands

git-svn-id: trunk@18202 -
2011-08-14 09:09:57 +00:00
florian
bc0def5e01 * optimized memory layout of some often used classes
git-svn-id: trunk@18201 -
2011-08-13 22:19:45 +00:00
michael
64514714c2 * Added invalid stream operation string constant
git-svn-id: trunk@18200 -
2011-08-13 21:19:45 +00:00
florian
ff5f311b34 - removed no more used constants
git-svn-id: trunk@18199 -
2011-08-13 20:54:01 +00:00
michael
6b2a566fb1 * Override correct seek/setsize version (Patch by Chad B)
git-svn-id: trunk@18198 -
2011-08-13 19:15:20 +00:00
marco
8f4d4bc959 * new example to demonstrate new QuickEvaluate routine.
git-svn-id: trunk@18197 -
2011-08-13 18:59:46 +00:00
michael
55ff531bd4 * Fixed bug ID #19856 and bug ID #19857 (modified patch from Chad B)
git-svn-id: trunk@18196 -
2011-08-13 18:59:33 +00:00
michael
1dfa1d5f26 * Fix bug ID #19856 (adapted and completed patch by Chad B)
git-svn-id: trunk@18195 -
2011-08-13 18:58:04 +00:00
michael
a9c2e6a8ae * Override 64-bit version, common fake seek (modified patch from Chad B - bug ID #19848)
git-svn-id: trunk@18194 -
2011-08-13 18:55:50 +00:00
michael
6692595a33 * Fix 19851 19852 19855 (modified patch by Chad B)
git-svn-id: trunk@18193 -
2011-08-13 18:51:23 +00:00
michael
09371b21e9 * Fix 19849 (modified patch by Chad B)
git-svn-id: trunk@18192 -
2011-08-13 18:49:51 +00:00
michael
2777349a23 * Fix 19850 (modified patch by Chad B)
git-svn-id: trunk@18191 -
2011-08-13 18:48:23 +00:00
michael
96e5333dc2 * Added fakeSeekForward for benefit of descendant streams.
* Override GetSize/Position for memory/stringstream for efficiency
* Added InvalidSeek exception throwing. Should be overridden to throw custom exceptions.

git-svn-id: trunk@18190 -
2011-08-13 18:45:48 +00:00
Tomas Hajny
6992049034 * fix for a silly typo in the previous revision
git-svn-id: trunk@18189 -
2011-08-13 18:18:15 +00:00
marco
bb2e98c4f1 * load listseparator from locale. Patch by Bart B. Mantis 19976
git-svn-id: trunk@18188 -
2011-08-13 09:16:46 +00:00
michael
27acf845d2 * Removed comment about bug ID #19440
git-svn-id: trunk@18187 -
2011-08-13 07:28:29 +00:00
Tomas Hajny
867ad94115 * fix for DirectoryExists - proper handling of root directory
git-svn-id: trunk@18186 -
2011-08-13 00:06:14 +00:00
Tomas Hajny
4230a33272 * MkDir and RmDir usually not allow trailing directory separator (except when running under Win32)
git-svn-id: trunk@18185 -
2011-08-12 23:50:00 +00:00
michael
992d01719a * Exit process when a shutdown event is received from mod_fastcgi
git-svn-id: trunk@18184 -
2011-08-12 21:20:02 +00:00
florian
8b58d69576 * accept undefineddef (generic parameter) as parameter for assigned, resolves #19974
git-svn-id: trunk@18183 -
2011-08-12 20:33:22 +00:00
michael
5d59d00fdc * Some fixes and additional unit from Darius Blaszijk
git-svn-id: trunk@18182 -
2011-08-12 19:26:51 +00:00
michael
7dc58d81d9 * Some fixes and additional unit from Darius Blaszijk
git-svn-id: trunk@18181 -
2011-08-12 19:26:38 +00:00
marco
215852ac85 * QuickEvaluate, an helper procedure to quickly evaluate formulas.
git-svn-id: trunk@18180 -
2011-08-12 18:03:07 +00:00
sergei
bbae63a4f2 * Check that a single interface is only delegated to a single property within a class.
* Disallow simultaneous use of method resolution and delegation for the same interface. An interface with method resolution must be implemented directly. This is Delphi compatible and resolves #18058.

git-svn-id: trunk@18179 -
2011-08-12 14:42:30 +00:00
sergei
b8c6c7c893 * Fixed undefined return value of SysGetData function. Also don't ignore the input BufSize parameter but pass it on to GetValueData. Bug #19962.
git-svn-id: trunk@18178 -
2011-08-12 10:43:12 +00:00
pierre
47b943d236 + Add traling separators tests
git-svn-id: trunk@18177 -
2011-08-12 09:01:29 +00:00
pierre
9d763ec052 * Avoid warnings about pointer to signed integers typecasts
+ Accept on trailing directory seperator for DirectoryExists
    and handle 'X:' directory separately by calling
    GetDir(drive,dir) to find the current directory of the drive
    considered.

git-svn-id: trunk@18176 -
2011-08-12 08:35:55 +00:00
pierre
9fff19cda9 + DirectoryExists tests
git-svn-id: trunk@18175 -
2011-08-12 08:30:46 +00:00
florian
883eab626d * inline Types.Point(...)
git-svn-id: trunk@18174 -
2011-08-11 20:53:59 +00:00
Jonas Maebe
d8a2c47c75 * fixed calling inherited message handlers after r18162
git-svn-id: trunk@18173 -
2011-08-11 20:08:43 +00:00
sergei
392dafd175 * Another attempt to align section raw data size in COFF headers. Without this, image modification WinAPIs like BeginUpdateResource/EndUpdateResource typically corrupt the image. Resolves #16852 (at least partially).
git-svn-id: trunk@18172 -
2011-08-11 16:42:24 +00:00
Jonas Maebe
48695a7705 * when removing unnecessary 64 bit widenings, modify both the resultdef
and the totypedef of typeconvnodes because the totypedef is used for
    equality comparisons in the node cse

git-svn-id: trunk@18171 -
2011-08-11 16:05:11 +00:00
pierre
7fd2f2b3ed * Skip go32v2 target has there is no thread support
git-svn-id: trunk@18170 -
2011-08-11 13:13:35 +00:00