Commit Graph

7158 Commits

Author SHA1 Message Date
Jonas Maebe
43ccd75f63 * You can now set colors > 15 (merged from fixes branch) 2000-07-31 12:30:54 +00:00
Jonas Maebe
d446128ceb - removed imul support from -dfoldarithops since "imull [reg32],[mem32]"
doesn't exist (merged from fixes branch)
2000-07-31 08:44:05 +00:00
peter
1b3b30ffce * use selecttext under linux 2000-07-30 19:25:00 +00:00
peter
ef862bec25 * merged fixes 2000-07-30 17:18:24 +00:00
peter
1b04862b8c * merged fixes 2000-07-30 17:09:55 +00:00
peter
5e9284972c * added 2000-07-30 17:08:46 +00:00
peter
c5da6c53fd * merged fixes 2000-07-30 17:04:43 +00:00
sg
477e51be64 * Regexpr unit is now compiled in objfpc mode 2000-07-30 14:59:54 +00:00
sg
9319f8e045 * Added modifications by Markus Kaemmerer:
- Unit now compiles with Delphi
  - Removed debug output when not compiled with -dDEBUG
2000-07-30 14:58:04 +00:00
sg
eeba1770aa * Made some modifications suggested by Markus Kaemmerer:
- MaxTanh is now the exact value Ln(MaxExtended)/2
  - The 'for' loops in MinValue and MaxValue can start with the second
    element instead of the first one
  - Added more overloaded versions of Min and Max functions
2000-07-30 10:01:04 +00:00
sg
cca5f1fadc * Fixed translation for sym_w_function_result_not_set 2000-07-29 22:19:53 +00:00
peter
19a6cfb4fc * merged from fixes branch 2000-07-29 20:31:35 +00:00
sg
c09b31bef5 * Applied patch by Markus Kaemmerer which removes a tiny memory leak
for the generation of code for in_[sin|cos]_extended code
  (a label has been created but never used afterwards)
2000-07-29 18:27:53 +00:00
sg
7a54a6a895 * Applied patches by Markus Kaemmerer:
- Added ranges of the IEEE floating point types, including denormals
  - in sincos function: The arguments are of type Extended, so they
    need 't' as size suffix in FPU instructions, and not 'l'!
2000-07-29 18:07:45 +00:00
sg
62cca0ad6a * Modified the copyright notice to remove ambiguities 2000-07-29 14:52:24 +00:00
Jonas Maebe
df9e505622 * fixed bug in shr/shl optimization when -Og is used (merged from fixes
branch)
2000-07-28 13:56:23 +00:00
Jonas Maebe
e1226b074f * fixed bug in secondshlshr where ecx was released too soon in some
cases causing a combination of -Or and -dnewoptimizations to generate
    wrong code
    (merged from fixes branch and since in 1.1 -dnewoptimizations has
    been released, it always generated wrong code here when using -O2 or
    higher)
2000-07-28 13:28:25 +00:00
Jonas Maebe
afec990176 * fixed web bug1069
* fixed similar (and other) problems in val() for int64 and qword
    (both merged from fixes branch)
2000-07-28 12:29:49 +00:00
Jonas Maebe
1fa3b3fcbf + added qword and int64 types and their ranges
* corrected ranges for shortint, longint and cardinal
2000-07-28 09:51:09 +00:00
Jonas Maebe
826ac4773a + added (modified slightly so output is valid) 2000-07-28 09:25:21 +00:00
Jonas Maebe
48404492e3 * fixed web bug1073 (merged from fixes branch) 2000-07-28 09:09:10 +00:00
sg
9c88b8f0cb * Applied patch by Markus Kaemmerer: Fixes fdRead and fdWrite 2000-07-28 08:43:46 +00:00
Jonas Maebe
ba86afd3b0 * refined previous fix (sometimes the number of necessary registers was
overestimated) (merged from fixes branch)
2000-07-28 07:38:13 +00:00
sg
6b97311fd7 * Applied patch to "Connect" by Markus Kaemmerer: WinSock.Connect returns
zero when it succeeded, and not vice versa.
2000-07-28 06:34:53 +00:00
sg
6f90c58ca5 * Applied patch by Markus Kaemmerer with minor modifications: More methods
of the Exception class are now implemented (in a manner so that they can
  be used as in Delphi, although the declarations are somewhat different)
2000-07-27 16:20:52 +00:00
Jonas Maebe
f2123cbcc1 * release alignopts 2000-07-27 13:03:35 +00:00
Jonas Maebe
2183d3142f * fixed internalerror(10) when using -Or and complex arrays (merged
from fixes branch)
2000-07-27 12:41:54 +00:00
Jonas Maebe
0f7ae1718e * moved locflags2reg() procedure from cg386add to cgai386
+ added locjump2reg() procedure to cgai386
  * fixed internalerror(2002) when the result of a case expression has
    LOC_JUMP
  (all merged from fixes branch)
2000-07-27 09:25:05 +00:00
Jonas Maebe
2fc7533375 * removed obsolete typeconversion (it got removed by the compiler in
firsttypeconv anyway) (merged from fixes branch)
2000-07-27 09:19:37 +00:00
Jonas Maebe
dc9917738f + initial version by Casey Duncan (not yet thoroughly debugged or complete) 2000-07-27 07:32:12 +00:00
Jonas Maebe
cb8d634547 * merged from fixes branch (v_hint to v_tried changed when attempting
to smart/static/shared link)
2000-07-26 13:08:19 +00:00
Jonas Maebe
3b4a3a2cee * several FPU instructions weren't marked as reading operand one (like
FADD and FSUB)
2000-07-26 12:25:33 +00:00
Jonas Maebe
a663745429 * fixed missing comment openers for log section 2000-07-25 11:27:34 +00:00
sg
63e6473af4 * Fixed some small bugs
- some methods where 'virtual' instead of 'override' in dom.pp
  - corrections regaring wether NodeName or NodeValue is used, for
    some node types (Entity, EntityReference)
2000-07-25 09:20:08 +00:00
sg
971e318cf0 * Fixed some DFM parser bugs 2000-07-22 14:55:56 +00:00
sg
6f6c4f720a * Resolved CVS conflicts for TObject.MethodAddress patch 2000-07-22 14:52:01 +00:00
Jonas Maebe
6d16f22c21 * added missing "open comment braces" for the log section 2000-07-22 12:27:48 +00:00
Jonas Maebe
7c914c429f * merged dossearchrec2searchrec() fix from fixes branch 2000-07-22 12:24:55 +00:00
sg
069a3ae31d * Added WideChar support to inlined 'ord' function 2000-07-22 11:53:26 +00:00
Jonas Maebe
ce46621762 * daopt386: changes to getnextinstruction/getlastinstruction so they
ignore labels who have is_addr set
  + daopt386/csopt386: remove loads of registers which are overwritten
     before their contents are used (especially usefull for removing superfluous
    maybe_loadesi outputs and push/pops transformed by below optimization
  + popt386: transform pop/pop/pop/.../push/push/push to sequences of
    'movl x(%esp),%reg' (only active when compiling a go32v2 compiler
    currently because I don't know whether it's safe to do this under Win32/
    Linux (because of problems we had when using esp as frame pointer on
    those os'es)
2000-07-21 15:19:54 +00:00
Jonas Maebe
67ac676004 + added is_addr field for labels, if they are only used for getting the address
(e.g. for io checks) and corresponding getaddrlabel() procedure
2000-07-21 15:14:01 +00:00
florian
a18407c46a + added for lfn support 2000-07-21 10:43:01 +00:00
Jonas Maebe
3da775621a * merged from fixes branch 2000-07-21 09:29:43 +00:00
Jonas Maebe
3919baefe8 * merged from fixes branch 2000-07-21 09:23:47 +00:00
florian
014b4638b7 * small typo fixed 2000-07-20 18:06:09 +00:00
florian
4d5f0c2331 + in_typeinfo_x added 2000-07-19 20:03:19 +00:00
florian
459122a541 * Initial revision 2000-07-19 19:52:18 +00:00
sg
0e21611d5d * Fixed GetEnumValue (bug #1049, reported by Neil Graham) 2000-07-17 08:37:58 +00:00
Jonas Maebe
25d36d7547 * fixed wrongly matched comment pair for log section 2000-07-16 07:08:22 +00:00
michael
d63d102d25 * Back to external assembler till peter fixes gdb 2000-07-14 21:29:38 +00:00