Commit Graph

34568 Commits

Author SHA1 Message Date
florian
41f25c2b21 * fixes cmem.malloc et al. for windows as proposed by Ludo Brands, resolves #15571
git-svn-id: trunk@18256 -
2011-08-18 08:47:44 +00:00
florian
859757003f * fix SafeLoadLibrary: fixed defines, sse control word should be stored as well
git-svn-id: trunk@18255 -
2011-08-18 08:37:15 +00:00
Jonas Maebe
6748a9a238 * fixed forcing setelementn on the correct side in add nodes
(pass_left_right() can switch the sides, so putting it in the
     correct location before calling that method is useless)

git-svn-id: trunk@18254 -
2011-08-17 20:12:47 +00:00
florian
275c6092e5 * avoid range check errors for empty ansistrings written/read from ppus
git-svn-id: trunk@18253 -
2011-08-17 19:01:03 +00:00
florian
e796a878ca * convert <real x>*<real x> into sqr(<real x>), it might reduces register
pressure and/or memory accesses without a drawback

git-svn-id: trunk@18252 -
2011-08-17 16:00:16 +00:00
Jonas Maebe
f6fbc17463 * fpdoc depends on fcl-base
* fcl-base depends on univint for Darwin

git-svn-id: trunk@18251 -
2011-08-17 15:31:28 +00:00
sekelsenmat
02d1a26d92 fpvectorial: Adds support for guessing the document size and zoom level
git-svn-id: trunk@18250 -
2011-08-17 14:59:08 +00:00
pierre
8673b93ed5 Add missing regenerated Makefile
git-svn-id: trunk@18249 -
2011-08-17 13:29:49 +00:00
florian
d7708a45f1 * so far windows only
git-svn-id: trunk@18248 -
2011-08-17 13:01:32 +00:00
florian
a9034af414 + added tests for recent stream modifications
git-svn-id: trunk@18247 -
2011-08-17 12:56:57 +00:00
florian
3e4469937c * fix Types.UnionRect as proposed by Piotr Karasinski, resolves #20006
git-svn-id: trunk@18246 -
2011-08-17 12:01:23 +00:00
pierre
09e7570e57 * Avoid warning about unset variable in TestParents
+ Add check after moving current directory to root drive
    for Dos style pathes.

git-svn-id: trunk@18245 -
2011-08-17 11:55:32 +00:00
florian
4c95e9fce5 * commented pdata type as proposed in #20004 by Michalis Kamburelis, resolves #20004
git-svn-id: trunk@18244 -
2011-08-17 11:47:41 +00:00
florian
87696a4b70 * cr*, dr*, tr* registers are 64 bit on x86-64
git-svn-id: trunk@18243 -
2011-08-17 11:42:11 +00:00
pierre
8dc1ce55c1 * Avoid infinite loop on Unix
git-svn-id: trunk@18242 -
2011-08-17 11:22:54 +00:00
florian
79a96ab287 + ttypesym.prettyname
* write names of specialization type syms more pretty

git-svn-id: trunk@18241 -
2011-08-17 11:10:00 +00:00
sekelsenmat
b71d8e6ed6 fpvectorial: Fixes example compilation
git-svn-id: trunk@18240 -
2011-08-17 11:03:06 +00:00
florian
e2f21c0a56 * version update
git-svn-id: trunk@18239 -
2011-08-17 10:57:32 +00:00
florian
ae8c250c3e * fix indention
git-svn-id: trunk@18238 -
2011-08-17 09:20:28 +00:00
florian
9b88297389 * patch by Michalis Kamburelis to keep the ending of TFPSList filled with zeros (space between count and capacity), resolves #20005
git-svn-id: trunk@18237 -
2011-08-17 09:05:58 +00:00
florian
ffde44ea6e * forgotten part of r18233
git-svn-id: trunk@18235 -
2011-08-16 22:44:50 +00:00
florian
d6ad7721e6 * patch by Jeppe Johansen to avoid corruption of frame/stack pointer by pre/post indexed operations, resolves #19679
git-svn-id: trunk@18234 -
2011-08-16 22:43:30 +00:00
florian
2eb39c8843 * patch by Jeppe Johansen to support jumptable generation for case nodes on arm/thumb-2, resolves #19502
git-svn-id: trunk@18233 -
2011-08-16 22:39:00 +00:00
florian
1e1c45c665 * references containing a symbol must be virtually always pc relative on arm
git-svn-id: trunk@18232 -
2011-08-16 22:28:30 +00:00
florian
0cc53cc5df + patch from Benito van der Zander to enable heaptrc to dump leaked or faulty memory blocks (function disabled by default), resolves #19691
git-svn-id: trunk@18231 -
2011-08-16 20:47:15 +00:00
florian
8bc94610c7 + tai_stab.create_ansistr
* write vmt info using create_ansistr, resolves #20003
* replaced move/getmem sequences in dbgstabs.pas by create_ansistr

git-svn-id: trunk@18230 -
2011-08-16 20:27:54 +00:00
florian
84b8733945 - remove accidently commited working directory entry
git-svn-id: trunk@18229 -
2011-08-16 20:18:22 +00:00
pierre
1c2a5f9819 + Update all Makefile's modified by
change in utils/fpcm/fpcmake.ini in prevous commit.

  Adapt also other files to that change:

  * compiler/globals.pas: Replace $FPCTARGET by os_string if
  tf_use_8_3 flag is set for target_info also.

  * tests/Makefile.fpc: Modify TEST_TARGETSUFFIX in the same way
  as TARGETSUFFIX was modified in previous commit.

  * tests/utils/dotest.pp:
    + New variable UseOSOnly, set to true if only target OS name
    should be used for subdirectories.

git-svn-id: trunk@18228 -
2011-08-16 20:10:19 +00:00
pierre
68d61c69e7 * Only use OS_TARGET for TARGET_SUFFIX if target is in LIMIT83fs list
* Update fpcmake.inc

git-svn-id: trunk@18227 -
2011-08-16 20:06:52 +00:00
florian
2f58065873 * don't warn about unsed symbols in generic procedures/methods, resolves #18907
git-svn-id: trunk@18226 -
2011-08-16 19:48:36 +00:00
florian
c32bc3a22a * patch by Nikolay Nikolov to support Alt-Tab and Ctrl-Tab on the linux console, resolves #19247
git-svn-id: trunk@18225 -
2011-08-16 18:58:50 +00:00
florian
b5ebe6307f * fix got loading si_c32, resolves #19520 (still uses the call/pop approach because it is faster on modern CPUs)
git-svn-id: trunk@18224 -
2011-08-16 18:45:39 +00:00
florian
6cb6d9ffaf * patch by Michalis Kamburelis to make FGL lists First and Last properties that are settable, resolves #19874
git-svn-id: trunk@18223 -
2011-08-16 17:11:48 +00:00
pierre
99393e6a5d * Warn only for go32v2 even for 2.7.1 version
git-svn-id: trunk@18222 -
2011-08-16 15:14:46 +00:00
sekelsenmat
691ee3b881 fpvectorial: Updates the comments
git-svn-id: trunk@18221 -
2011-08-16 15:06:45 +00:00
pierre
04a2d0bc94 * Handle -1 return if GetFileAttr call inside DirectoryExists
git-svn-id: trunk@18220 -
2011-08-16 15:01:20 +00:00
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