Commit Graph

29411 Commits

Author SHA1 Message Date
Jonas Maebe
dbbd75ca47 * fixed setting EInoutError.ErrorCode (mantis #12575, thanks to
Bart Broersma for the analysis)

git-svn-id: trunk@12037 -
2008-11-09 09:46:47 +00:00
Jonas Maebe
718694d1d6 * always specify an explicit alignment for tgobj.gettemp (so e.g.
shortstring temps don't get maximum alignment)
  * changed some gettemptyed() calls into gettemp() calls (gettemptyped
    means that this temp can only be used for temps of that type,
    which is necessary for refcounted types but not for floats)

git-svn-id: trunk@12036 -
2008-11-08 22:20:47 +00:00
marco
334379f844 * splitting of long lines when copying a TStringlist to a dos (shortstring) eq.
git-svn-id: trunk@12035 -
2008-11-08 13:58:46 +00:00
marco
1f511e1b9a * fix for 12480, unify multiple styles of stderr debugmsgs
git-svn-id: trunk@12034 -
2008-11-08 11:52:59 +00:00
paul
4f8838d731 gtk2: add g_slice_xxx functions from glib 2.10
git-svn-id: trunk@12033 -
2008-11-08 10:10:24 +00:00
Jonas Maebe
f07d00b7f0 * changed test so it also produces a warning (and hence fails) on 64 bit
platforms

git-svn-id: trunk@12032 -
2008-11-07 20:00:06 +00:00
peter
b6dcffe79b * remove obsolete bt_specialize
git-svn-id: trunk@12031 -
2008-11-07 00:14:08 +00:00
peter
da13c20f59 * refactor, no functional changes
git-svn-id: trunk@12030 -
2008-11-06 23:25:50 +00:00
peter
ca48c2f34c * tobjectdef.set_parent also inherits oo_can_have_published
git-svn-id: trunk@12029 -
2008-11-06 23:25:00 +00:00
Jonas Maebe
53e52ac6a9 * implementation of 32x32->64 multiplication for i386 based on patch
by Sergei Gorelkin

git-svn-id: trunk@12028 -
2008-11-06 21:03:10 +00:00
peter
84112032c3 * rename aktobjectdef to current_objectdef
git-svn-id: trunk@12027 -
2008-11-06 19:46:31 +00:00
michael
67f56b7adf * Patch from Sergei Gorelkin:
src/xmlread.pp, src/dom.pp
  * Improvements to attribute processing: attributes are now validated as
    they come. This enables reporting of the corresponding validation
    errors at correct positions (previously everything was reported at the
    end of element start-tag).
  * Search for a declaration for attribute, not for an attribute
    corresponding to the declaration. This reduces number of lookups
    (because unspecified attributes are not searched) and obsoletes the
    need in FDeclared field on every attribute.

  tests/domunit.pp, tests/testgen.pp:

  * Various improvements required to support converting of the
    DOM level 3 XPath module.

git-svn-id: trunk@12026 -
2008-11-04 18:33:05 +00:00
Jonas Maebe
e5920bc2b8 * delay verbosity changes just like localswitches changes
* store a node's verbosity in the node so that e.g. disabling warnings
    also disables warnings for this node in pass_1
   (the above together fix mantis #12076)
  * save/restore verbosity with {$push}/{$pop} (mantis #12075)
  * if warnings/notes/hints are turned off, also do not count encountered
    ones for the totals (otherwise -Sew cannot be used properly in
    combination with {$warnings off}, because disabled warnings will still
    trigger a compiler error) -- this required adding -vw/-vn/-vh to all
    tests using -Sew/-Sen/-Seh
  - removed some superfluous state saving/restoring from firstpass()

git-svn-id: trunk@12025 -
2008-11-03 21:18:27 +00:00
Jonas Maebe
658dd00f5f * more program header fixes
git-svn-id: trunk@12024 -
2008-11-03 20:19:38 +00:00
Jonas Maebe
66669b00b1 * put program header in the right place
git-svn-id: trunk@12023 -
2008-11-03 20:13:03 +00:00
Jonas Maebe
cdf6d8cd04 * formatting fixes of requirements
git-svn-id: trunk@12022 -
2008-11-03 20:08:02 +00:00
Jonas Maebe
7626a91592 * disabled last safecall code for non-windows (mantis #12237)
git-svn-id: trunk@12021 -
2008-11-02 15:13:20 +00:00
Jonas Maebe
7f8e9b8d35 * fixed node complexity calculation for certain inlinenodes
(mantis 12404)

git-svn-id: trunk@12020 -
2008-11-02 14:50:17 +00:00
Jonas Maebe
7c919b3c74 + test to make sure any future fix of mantis #12508 takes this special
case into account

git-svn-id: trunk@12019 -
2008-11-02 14:23:55 +00:00
florian
937067e367 + check if forward definitions and real definitions have the same type, resolves #11970
git-svn-id: trunk@12017 -
2008-11-02 12:36:31 +00:00
florian
a47a107cb2 * newline changes
git-svn-id: trunk@12016 -
2008-11-02 09:42:49 +00:00
florian
6dcdf5bdf4 * tabs/spaces fixed
git-svn-id: trunk@12015 -
2008-11-02 09:41:30 +00:00
florian
db7a66f3af + fixed zlib for windows, resolves #12451
+ test

git-svn-id: trunk@12013 -
2008-11-02 09:23:34 +00:00
Jonas Maebe
9e8048a033 * regenerated using more recent fpcmake
git-svn-id: trunk@12012 -
2008-11-02 09:23:26 +00:00
michael
c85ce877fb * Some more explanations
git-svn-id: trunk@12011 -
2008-11-01 22:28:04 +00:00
michael
f3dccf9e7d * Added expression parser
git-svn-id: trunk@12010 -
2008-11-01 22:15:23 +00:00
Jonas Maebe
a23630260b + "weakexternal" support for imported procedures and variables.
the syntax is exactly the same as for "external", except for
    the keyword. It is currently only active for Darwin targets.
    It should also work at least for Linux targets, but only with
    the GNU assembler (which is why it is not activated there)
  + test for this functionality

git-svn-id: trunk@12009 -
2008-11-01 18:38:32 +00:00
Jonas Maebe
eb130d7501 * fixed invalid type cast in case of errors in a library's export section
git-svn-id: trunk@12008 -
2008-11-01 17:08:26 +00:00
marco
699a0ba70f * another part of Almindor's fix.
git-svn-id: trunk@12007 -
2008-11-01 11:53:21 +00:00
marco
e0821f6682 * pipe cleanup from Ales, also fixes TProcess for AMD64.
git-svn-id: trunk@12006 -
2008-11-01 11:43:43 +00:00
michael
65637e301f * Fixed strtotime. Last character was never taken into account
git-svn-id: trunk@12005 -
2008-11-01 11:05:21 +00:00
Almindor
dfda298172 * fix compilation and bug in new aspell lib loading code
git-svn-id: trunk@12004 -
2008-10-31 22:35:30 +00:00
Almindor
dbe3cfba21 * remove unused oldfpccall from amd64 BSD syscall code
git-svn-id: trunk@12003 -
2008-10-31 18:19:44 +00:00
Almindor
bf9358efd4 * revert previous AssignPipe change, will need different approach
git-svn-id: trunk@12002 -
2008-10-31 13:28:00 +00:00
Almindor
da3718b74b * use iterarive numbering to find first usable libaspell.so.xx on linux
* don't use specific libaspell.so.xx on BSDs (they have dev by default)

git-svn-id: trunk@12001 -
2008-10-30 22:25:40 +00:00
Károly Balogh
193b658325 + fixed SysUpdateScreen(true) refresh bugs
git-svn-id: trunk@12000 -
2008-10-30 21:59:59 +00:00
Károly Balogh
9297a9e7ef + have proper bullet on Amiga and MorphOS too
git-svn-id: trunk@11999 -
2008-10-30 21:08:53 +00:00
Károly Balogh
2e72bd03a7 + support for SysResize event for Amiga
git-svn-id: trunk@11998 -
2008-10-30 20:56:01 +00:00
Károly Balogh
4a5a3e3118 + support for changing window size in keyboard and video units
* still has bugs, but good for a start

git-svn-id: trunk@11997 -
2008-10-30 20:52:22 +00:00
Almindor
600da72d75 * fix AssignPipe for FreeBSD
git-svn-id: trunk@11996 -
2008-10-30 12:42:13 +00:00
andrew
ecef0ed86a Fixed a bug in chmfilewriter.pas where an uninitialized variable was used. I eliminated the variable.
git-svn-id: trunk@11995 -
2008-10-30 01:43:54 +00:00
Almindor
1ed71f011c * proper fix for the kqueue struct. Use PtrUInt and PtrInt respectively...
git-svn-id: trunk@11994 -
2008-10-29 19:17:53 +00:00
peter
1ebbe74bb2 * new bug
git-svn-id: trunk@11993 -
2008-10-29 09:59:42 +00:00
peter
466f0c0064 * fixed crash in error message when specialization is not resolved
git-svn-id: trunk@11991 -
2008-10-28 16:31:55 +00:00
michael
021e1fff73 * Added TIFF reader/Writer from Mattias gaertner
git-svn-id: trunk@11990 -
2008-10-28 15:40:47 +00:00
marco
f042df1bdb * fix for several -W macro's.
git-svn-id: trunk@11989 -
2008-10-28 14:28:38 +00:00
Vincent Snijders
9b23c5f70b * fixed memleak
git-svn-id: trunk@11988 -
2008-10-27 21:49:20 +00:00
joost
7aee2c39ab * Partly reverted r11927, in which perfectly valid code was replaced with a one-line obfuscation which can cause an AV
git-svn-id: trunk@11987 -
2008-10-27 15:52:58 +00:00
marco
b96c83d5d6 * 64-bit fix for extlogpen
git-svn-id: trunk@11985 -
2008-10-27 13:43:01 +00:00
marco
e5d18aba3e * TLogBrush.lbHatch should be ulong_ptr (win64 problem)
git-svn-id: trunk@11984 -
2008-10-27 12:32:57 +00:00