Commit Graph

7419 Commits

Author SHA1 Message Date
peter
e514bed570 * added more tests 2000-08-02 19:47:40 +00:00
Jonas Maebe
c7307da856 * fixed crashes under ncurses 4 by adding auto-detection for ncurses 4/5
* cur_term is not directly usable anymore for the largest part because
    of a different record layout in ncurses 4/5, therefore the pointers
    cur_term_booleans, cur_term_numbers, cur_term_strings and
    cur_term_common are now available
  * adapted video.inc to use the new naming convention
  (merged from fixes branch)
2000-08-02 12:39:22 +00:00
Jonas Maebe
7ef99ada12 * fixed web bug1087
* allocate R_ECX explicitely if it's used
  (merged from fixes branch)
2000-08-02 08:05:04 +00:00
Jonas Maebe
8e76008e98 - undid my changes from the previous two commits because it was a bug
in cg386cnv which I've now fixed (previous changes only masked it in
      some cases) (merged from fixes branch)
2000-08-02 07:20:32 +00:00
Jonas Maebe
89f0a308a2 * fixed ie(10) when using -Or and shortstring -> ansistring conversions
(or when using a lot of ss -> as conversions in one statement, the
    source was freed only *after* pushusedregisters($ff), which means its
    registers were reallocated when popusedregisters was called) (merged
    from fixes branch)
2000-08-02 07:05:32 +00:00
Jonas Maebe
a0d91b1b85 * fixed crash when an undeclared identifier is used in a raise statement
(merged from fixes branch)
2000-08-02 07:04:56 +00:00
Jonas Maebe
fcaa820523 * fixed crash when passing undeclared identifiers to str() (merged from
fixes branch)
2000-08-01 14:07:49 +00:00
Jonas Maebe
d88607d154 * refined my previous IE(10) fix (in some cases, too many registers could
be reserved) (merged from fixes branch)
2000-08-01 10:41:35 +00:00
Jonas Maebe
8bce8284d3 * the defaulthooks are reset if setmode() fails at any point (merged
from fixes branch)
2000-08-01 06:03:32 +00:00
Jonas Maebe
167eb0e268 * set _graphresult to grnotdetected if the vesa setmode interrupt
call returns an error (merged from fixes branch)
2000-08-01 06:03:13 +00:00
Jonas Maebe
3035952b07 * fixed web bug #1037 (disable linking of ctrl-c to exception handler,
ctrl-break still works fine then) (merged from fixes)
2000-07-31 14:07:43 +00:00
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