Commit Graph

143 Commits

Author SHA1 Message Date
Przemysław Czerpak
b33cdd455e 2013-11-25 23:23 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/common/strwild.c
    ! fixed hb_strMatchFile() (C) and hb_fileMatch() (PRG) to respect
      . and .* used at the end of pattern just like system does
      (or at least should, tests with more complicated wildcard expressions
      in my Windows7 exploit bugs in system wildcards interpretation)
2013-11-25 23:23:18 +01:00
Przemysław Czerpak
9f93fbbe81 2013-11-22 21:22 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/gtxwc/gtxwc.c
    * removed some old unused code
    ! restored window oriented message processing
    ! check window position on each HB_GTI_SETPOS_XY request - some
      WMs sends ConfigureNotify with 0,0 cords when window is resized
      overwriting correct values.
    * switched HB_GTI_SETPOS_XY coordinates to NorthWestGravity (upper left
      corner of window with frame and title bar) from StaticGravity (upper
      left  corner of client area). Many thanks to Rolf for the hint which
      allows to translate coordinates from StaticGravity and NorthWestGravity
    ; updated note about StaticGravity/NorthWestGravity
    ; Warning: sometime WMs report wrong size in _NET_FRAME_EXTENTS
               and then HB_GTI_SETPOS_XY returns wrong position two.
               I observed this behavior in different situations and
               different WMs, f.e. in KWIN from Ubuntu, after:
                  MAXIMIZE, FULLSCREEN-ON, FULLSCREEN-OFF
               wrong left and top offsets (3,3) are set which are later
               inherited also by NORMALSIZE window for which HB_GTI_SETPOS_XY
               returns wrong position. _NET_FRAME_EXTENTS begins to report
               correct size after next FULLSCREEN-ON.FULLSCREEN-OFF
2013-11-22 21:22:55 +01:00
Przemysław Czerpak
7b6fdc2b6f 2013-11-21 13:16 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/common/expropt2.c
    ! fixed setting number of decimal places in optimized multiple
      expressions with default number of decimal places, i.e.:
         ? ( 1 / 2 ) * ( 1 / 2 )
2013-11-21 13:16:11 +01:00
Przemysław Czerpak
c793b32741 2013-11-21 12:48 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/gtxwc/gtxwc.c
    ! updated HB_ULONG->HB_U32 used in pCurrScr.
      I missed them in previous commit.
2013-11-21 12:48:46 +01:00
Przemysław Czerpak
3c0f1583d6 2013-11-19 19:26 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbwin/axcore.c
    ! protection against buffer underflow

  * src/rtl/gtxwc/gtxwc.c
  * src/rtl/gtxwc/gtxwc.h
    % use 32 bit screen buffer items also in 64bit systems
    ! fixed race condition in SetMode()
    ! fixed infinite loop with size updating in fullscreen and
      maximized modes
    ! fixed typo in function name used in HB_TRACE() message
    * use _MOTIF_WM_HINTS to change window decoration and buttons
      instead of _NET_WM_ALLOWED_ACTIONS:_NET_WM_ACTION_CLOSE
      _MOTIF_WM_HINTS is much more portable and looks that most of WMs
      understand it. _NET_WM_ALLOWED_ACTIONS:_NET_WM_ACTION_CLOSE works
      only with few WMs (i.e. with default WM in Ubuntu).
      Many thanks to Rolf for information about this method.
    * use _MOTIF_WM_HINTS to control some other hints (i.e. resizing)
      in WMs which do not make it automatically using information
      form XSetWMNormalHints()
    * removed \r from all debug messages
    ; added note about StaticGravity and NorthWestGravity
    ; TODO:
         1) add margins if window cannot be resized to requested size
            (i.e. in fullscreen or maximized mode)
         2) add support for HB_GTI_RESIZEMODE=HB_GTI_RESIZEMODE_FONT
2013-11-19 19:26:43 +01:00
Przemysław Czerpak
95910ec18b 2013-11-08 17:08 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/gtxwc/gtxwc.c
    ! missing parenthesis
2013-11-08 17:08:24 +01:00
Przemysław Czerpak
99f49f4faa 2013-11-08 17:06 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/gtxwc/gtxwc.c
    ! protection agains switching [x] button before window is open
2013-11-08 17:06:03 +01:00
Przemysław Czerpak
3791bab940 2013-11-08 16:50 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/gtqtc/gtqtc.h
    ! typo in variable type

  * contrib/gtqtc/gtqtc1.cpp
    * minor simplification

  * src/rtl/gtxwc/gtxwc.c
    + added support for disabling close button [x] on HB_GTI_CLOSEMODE==2
      Thanks to Rolf for suggestion removing/adding _NET_WM_ACTION_CLOSE
      to _NET_WM_ALLOWED_ACTIONS property is honored by WMs I tested and
      they hide/show [x] button respectively.
2013-11-08 16:50:59 +01:00
Przemysław Czerpak
fcbfb7a7e8 2013-11-07 15:03 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/gtqtc/gtqtc1.cpp
    ! typo in last commit - flags and state were not changed

  * src/rtl/gtxwc/gtxwc.c
    * added XSync() just after XBell() to reduce a little bit potential
      delay
2013-11-07 15:03:17 +01:00
Przemysław Czerpak
548cc2df3a 2013-11-06 23:09 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* include/hbgtinfo.ch
    + added new hb_gtInfo() switch: HB_GTI_CLOSEMODE
      It controls close event (i.e. ALT+F4 and/or [x] button in MS-Windows)
      behavior:
         == 0 - terminate application
         >= 1 - generate HB_K_CLOSE
         == 2 - disable close button

  * contrib/gtqtc/gtqtc.h
  * contrib/gtqtc/gtqtc1.cpp
    % optimized setWindowFlags() and setWindowState() to not
      execute show() when flags/state are not changed.
    + added support for HB_GTI_CLOSEMODE
    * changed HB_GTI_CLOSABLE to work line in GTXWC and GTWVT

  * src/rtl/gtxwc/gtxwc.c
    ! fixed setting window position by HB_GTI_SETPOS_XY
    + added support for HB_GTI_CLOSEMODE
    ; note: in GTXWC we cannot easy disable close button so
            HB_GTI_CLOSEMODE==2 will work like 1 until we
            do not find some portable way to inform WM that
            is should hide close button

  * src/rtl/gtwin/gtwin.c
    * added type checking in few HB_GTI_* settings
    + added support for HB_GTI_CLOSEMODE
    ; note: in GTWIN we cannot catch close event so
            HB_GTI_CLOSEMODE==1 works like 2
            In this GT HB_GTI_CLOSABLE also has to work like
            HB_GTI_CLOSEMODE==2

  * src/rtl/gtwvt/gtwvt.h
  * src/rtl/gtwvt/gtwvt.c
    * added range checking in HB_GTI_RESIZEMODE setting
    + added support for HB_GTI_CLOSEMODE
2013-11-06 23:09:59 +01:00
Przemysław Czerpak
119dad6cfc 2013-11-06 15:26 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/common/hbdate.c
    + added support for decooding timestamp values with semicolon ";" used
      as date and time part delimiters, i.e.:
         tValue := t"2013-11-06;15:14:45"
2013-11-06 15:26:49 +01:00
Przemysław Czerpak
4bd5c38361 2013-11-05 23:05 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/gtwin/gtwin.c
    ! do not disable console control handler when terminal is suspended.
    ! ignore HB_K_BREAK event's caught when terminal was suspended.
2013-11-05 23:05:19 +01:00
Przemysław Czerpak
8453c6c565 2013-11-05 08:21 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rdd/dbcmd.c
    ! added missing ; in last commit
2013-11-05 08:21:49 +01:00
Przemysław Czerpak
ad20cedcc0 2013-11-04 17:43 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rdd/dbcmd.c
  * src/rdd/dbcmd53.c
    * changed HB_USHORT to HB_AREANO in few declarations
    % simplified code taking order number or name from user parameters
2013-11-04 17:43:48 +01:00
Mindaugas Kavaliauskas
5e31009f31 2013-11-01 01:21 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* src/compiler/hbopt.c
    ! fixed -w3 warning 'Variable ... is assigned but not used', reapplied
      patch 2012-04-04 20:20 UTC+0300 Mindaugas Kavaliauskas
2013-11-01 01:22:54 +02:00
Przemysław Czerpak
7e3de3f14c 2013-10-31 13:04 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbfship/hbfship.hbx
    ! removed FIELDDECI() reenabled by mistake during one of
      internal merges

  * src/rdd/dbfcdx/dbfcdx1.c
    * accept headers with KEY and FOR expression lengths without
      offset fields.

  * tests/video.prg
    ! fixed CLIP and xHarbour compilation
    + added support for testing UTF8 screen output
      (non empty 1-st parameter) and HB_GTI_COMPATBUFFER (non empty
      second parameter)
2013-10-31 13:04:59 +01:00
Przemysław Czerpak
04b66a11ba 2013-10-30 23:12 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rdd/dbf1.c
    ! set binary flag by default for PICTURE, BLOB and OLE fields
    + allocate system column for VFP tables and fields with NULLABLE flag
2013-10-30 23:12:08 +01:00
Przemysław Czerpak
b33db4fc79 2013-10-30 01:02 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/compiler/hbopt.c
    * minor: 1 => HB_TRUE

  * src/rtl/gtwvt/gtwvt.c
    ! clear margins leaving maximized mode
2013-10-30 01:02:38 +01:00
Przemysław Czerpak
f6a3c407e3 2013-10-28 17:18 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rdd/wafunc.c
    * minor cleanup

  * src/rtl/gtos2/gtos2.c
  * src/rtl/gttrm/gttrm.c
    * added protection against wrong SetMode() parameters

  * src/rtl/gtxwc/gtxwc.h
    * changed minim console window size from 3 x 6 to 1 x 1
2013-10-28 17:18:11 +01:00
Mindaugas Kavaliauskas
4f0e0e0347 Revert "2013-10-24 15:34 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)" 2013-10-24 23:40:10 +03:00
Mindaugas Kavaliauskas
5c3ea08121 2013-10-24 15:34 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* include/dbinfo.ch
  * include/hbrdddbf.h
  * src/rdd/dbf1.c
    + added default codepage setting RDDI_CODEPAGE for DBF RDD (and all
      inherited RDDs). This helps to do an easy migration of application
      to unicode, using existing dbf files:
         HB_CDPSELECT("UTF8EX")
         RDDINFO(RDDI_CODEPAGE, <codepage_used_in_dbf>)
2013-10-24 15:35:53 +03:00
Przemysław Czerpak
9215bd6600 2013-10-23 12:41 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/gttrm/gttrm.c
    * send ST (ESC \) after Linux console palette set sequence (ESC ] P).
      ESC ] is Operating System Command (OSC) which by default should
      be terminated by ESC \ (ST). Some terminals which sets LINUX
      TERM envvar but do not correctly understand Linux console palette
      set sequence may hang waiting for ST. Now ST is sent to avoid such
      situation. Linux console simply ignore ST terminator so nothing
      wrong should happen.
2013-10-23 12:41:04 +02:00
Przemysław Czerpak
af4e23a998 2013-10-22 14:42 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/gttrm/gttrm.c
    * use non POSIX termios input line flag IUTF8 to detect UTF8
      mode if other methods failed.
2013-10-22 14:42:28 +02:00
Viktor Szakáts
e54b82f7dc various cleanups 2013-10-10 01:32:57 +02:00
Viktor Szakáts
6752936b57 use web url instead of obfuscated email 2013-10-09 20:08:24 +02:00
Przemysław Czerpak
a13480fa59 2013-10-01 16:43 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/gttrm/gttrm.c
    ! fixed terminal ISO mode auto detection (broken in previous patch)
    % use position from UTF8/ISO mode detection instead of double asking
      terminal cursor position. With the minor cost of unknown initial
      column position we have faster start on slow connections.
2013-10-01 16:43:38 +02:00
Przemysław Czerpak
344bedfe68 2013-09-24 16:59 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* include/hbvm.h
  * src/vm/hvm.c
    * added new 7-th parameter fOverLoad to hb_vmRegisterSymbols() function.
      When it's TRUE then new public function symbols overload existing ones.

  * src/vm/runner.c
    ! use new fOverLoad parameter of hb_vmRegisterSymbols() function to
      overload existing functions (HB_HRB_BIND_OVERLOAD) instead of making
      local modifications in global symbol table. It fixes memory corruption
      when the same HRB module is reloaded with HB_HRB_BIND_OVERLOAD parameter.
      This was very old bug which has existed from the beginning when I added
      support for HB_HRB_BIND_* flags.
2013-09-24 16:59:52 +02:00
Przemysław Czerpak
65bf59cd3b 2013-09-20 15:42 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rdd/dbcmd.c
    ! fixed dbRSelect() to be compatible with undocumented Cl*pper behavior:
      When parameter is missing, wrong or 0 then 1 is used as relation number
2013-09-20 15:42:35 +02:00
Przemysław Czerpak
c5db5dac72 2013-09-20 15:30 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/hbgtcore.c
    ! added explicit casting to strchr() result
2013-09-20 15:30:45 +02:00
Przemysław Czerpak
ff6d11c1d5 2013-09-19 09:52 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/hbgtcore.c
    + added support for GT parameters passed in //GT<NAME>
      parameter after ":", i.e. //GT<NAME>:<params>

  * src/rtl/gttrm/gttrm.c
    + added new parameters set in //GTTRM:<params>
         1) "NOPOS" - inform GTTRM that terminal does not support
            cursor position query: ESC [ 6 n
            At startup GTTRM asks terminal about cursor position
            and waits for answer for 2 seconds. If terminal doesn't
            support it then it's unnecessary delay at application
            startup.
         2) "UTF8" or "UTF-8" - force UTF-8 terminal output
            Useful when terminal does not support cursor position
            query so it cannot be used to detect automatically
            UTF-8 or ISO terminal mode.
         3) "ISO" - force ISO terminal output
         4) "XTERM", "LINUX", "PUTTY", "CONS" - force given terminal
            type
      f.e. working with Android Terminal Emulator it's good to use
         //GTTRM:UTF8,NOPOS
      because it still does not support cursor position query and
      LANG variable is not set.
2013-09-19 09:52:39 +02:00
Przemysław Czerpak
d5d33b921b 2013-09-16 15:11 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/hbsocket.c
    ! added missing error setting in hb_socketSelect() function
2013-09-16 15:11:24 +02:00
Przemysław Czerpak
de6a55cbec 2013-09-16 11:25 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* doc/cmpopt.txt
  * doc/xhb-diff.txt
    * typos

  * src/rtl/hbsocket.c
    * simplified hb_socketSelect() code

  * src/rtl/mtran.c
    ! updated HB_TRACE message
2013-09-16 11:25:27 +02:00
Przemysław Czerpak
118a95c425 2013-09-10 02:09 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/cdpapi.c
    ! added missing static in s_en_buffer declaration
    % faster code for unicode to ASCII CP437 control codes translation
2013-09-10 02:09:46 +02:00
Przemysław Czerpak
e5584850e7 2013-09-09 20:54 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/cdpapi.c
    * use CP437 control codes in translations from unicode to ASCII

  * src/rtl/gtwvt/gtwvt.c
    * added support for key code typed using ALT + <ASCII_VALUE_FROM_KEYPAD>

  * tests/gtkeys.prg
    * added parenthesis to clarify expression order
2013-09-09 20:54:11 +02:00
Przemysław Czerpak
87ddf9c110 2013-09-09 15:54 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/vm/dlmalloc.c
    * use __builtin_clz() and __builtin_ctz() only with GCC 3.4 or newer.
      Problem reported by David Arturo Macias Corona and OS2 GCC3.3.5.

  * README.md
    + added link suggested by David to os2gcc454 from Paul Smedley

  * src/rtl/gtstd/gtstd.c
    + accept keyboard input from redirected file on platforms without
      dedicated code for keyboard support in GTSTD
2013-09-09 15:54:22 +02:00
Przemysław Czerpak
a87963b362 2013-08-28 17:18 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/hbsocket.c
    ! use sock_errno() instead of errno in OS2 WATCOM builds.
      It fixes few problems with socket code using errno value, i.e.
      hb_socketConnect() with timeout.
2013-08-28 17:18:20 +02:00
Przemysław Czerpak
f9362d3d4d 2013-08-26 20:56 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/compiler/hbdbginf.c
    ! fixed module names generated for debugger line info when user compiles
      files passing path with drive letters, i.e. hbmk2 c:\temp\test.prg
      Thanks to Anton Ryzhov for the information about the problem.
2013-08-26 20:56:58 +02:00
Przemysław Czerpak
0b4c999bb5 2013-08-26 15:51 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/hbsocket.c
    ! fixed hb_socketConnect() with timeout in DOS Watt-32 builds.
      Watt-32 sets socket error to EISCONN when connection is established.
2013-08-26 15:51:57 +02:00
Przemysław Czerpak
ea60542664 2013-08-23 14:25 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/fstemp.c
    ! fixed casting for DOS C++ builds

  * config/dos/watcom.mk
    ! moved CRTL library to the end of linked library list - some
      other libraries may overload some C RTL functions or symbols,
      f.e. error descriptions in WATT-32

  * utils/hbmk2/hbmk2.prg
    ! added hbpmcom library to linked library list in DOS builds
    ! fixed WATT-32 support in DOS builds to work in cross compilation
      environment
    ! link WATT-32 library before C RTL
    ! fixed simultaneous compilation with -jobs=N when N >= 2
      The same hash array (hReplace) was shared between different threads
      and each thread tried to modify it overloading their own parameters.
      It was causing different side effects, i.e. all threads compiled
      the same .c file instead of their own ones or HBMK2 was crashing
      due to memory corruption.
    * always join all started threads
2013-08-23 14:25:14 +02:00
Przemysław Czerpak
46d64612b5 2013-08-22 19:06 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbct/getsecrt.prg
    ! applied Clipper compatibility fix to GetSecret() by Pavel Tsarenko

  * src/common/hbdate.c
    * removed explicit _BSD_SOURCE definition - it was confusing our
      code used to detect localtime_r() support and is not necessary
      if we do not use extended fields of tm structure

  * src/rtl/mtran.c
    * updated to show strict Clipper compatible behavior - Clipper
      ignores 3-rd cSoftCR parameter if 2-nd one cHardCR is not given
      (strict compatibility is covered by HB_CLP_STRICT macro and
      disabled by default - undocumented feature which may confuse
      users)
    % minor optimization
2013-08-22 19:06:06 +02:00
Przemysław Czerpak
e8c7f2067d 2013-07-18 02:24 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* include/hbdate.h
  * src/common/hbdate.c
    + added new C functions:
         double hb_timeLocalToUTC( double dTimeStamp );
         long hb_timeStampUTCOffset( int iYear, int iMonth, int iDay,
                                     int iHour, int iMinutes, int iSeconds );
    ; warning: some C RTLs may not correctly detect Summer time for all past
               dates in few countries.

  * include/harbour.hbx
  * src/rtl/dateshb.c
    + added new PRG function:
         hb_TSToUTC( <tsLocal> ) -> <tsUTC>
    + added support for optional timestamp parameter in hb_UTCOffset()
      function, current syntax is:
         hb_UTCOffset( [ <tsLocal> ] ) -> <nSeconds>

  * contrib/hbtip/hbtip.hbx
  * contrib/hbtip/utils.c
    + added new PRG function:
         tip_FileNameMimeType( <cFileName> ) -> <cMimeType>
      It's a wrapper to old C function s_findFileMimeType()
      TODO: replace few independent mimetype functions by single one.
    ! fixed tip_FileMimeType() to not call hb_fsClose() or any other FS
      function with wrong handler.
    ! fixed tip_TimeStamp() using hb_timeStampUTCOffset() instead of
      hb_timeUTCOffset() to correctly calculate UTC offset for dates
      different then current one.
    ! decode time passed as numeric second() value in 2-nd parameter of
      tip_TimeStamp() only when the 1-st one contains pure date value.
2013-07-18 02:24:58 +02:00
Przemysław Czerpak
084ab0bbe2 2013-07-08 23:34 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/debug/dbgentry.c
    + added protection against wrong parameters passed to __dbgDelBreak()

  * src/debug/debugger.prg
    + implemented display history for command window.
      This modification also fixes clearing command window when focus is
      changed.
    + added support for new commands:
         DELETE ALL BP
         DELETE BP <nNumber>
         LIST BP
    * replicated Clipper compatible command line shortcuts
    ! send :RefreshAll instead of :RefreshCurrent to source code window
      when break point changed
    ; TODO: add support for window resizing and repositioning. Commands
            like LIST BP are in practice unusable in 3 line command window.

  * src/rtl/console.c
    % minor optimization
2013-07-08 23:34:20 +02:00
Przemysław Czerpak
b2dd9d5923 2013-07-08 17:09 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/debug/dbgtmenu.prg
    ! allow to chose current menu item by its hotkey

  * src/debug/dbgtmitm.prg
    % eliminated dummy hb_DispOutAtBox() for not marked options

  * src/debug/debugger.prg
    ! keep RunAtStartup flag synced with menu
    ! fixed options decoding from init.cld file.
      Thanks to Franček Prijatelj for locating the problem though fix
      should be a little bit different.

  * src/debug/tbrwtext.prg
    ! respect LineNumbers on/off setting

  * src/rtl/console.c
    ! call hb_gtFlush() at the end of hb_DispOutAtBox() - it fixes
      different side effects in code using hb_DispOutAtBox().
2013-07-08 17:09:36 +02:00
Przemysław Czerpak
fa0cdfcd5d 2013-07-08 12:54 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbct/ctwfunc.c
    ! extract box frame string passed to WBOX() using BOX CP

  * src/vm/procaddr.c
    ! added hb_extIsNil() to hb_vmProcAddress() - it fixes PCODE DLLs
      using [HB_]ISNIL() macro and linked with hbmaindllp library or
      other wrapper using hb_vmProcAddress()

  * src/vm/codebloc.c
    - removed old comment which was never true in real HVM MT model

  * ChangeLog.txt
    ! typo: tanks -> thanks ;)
2013-07-08 12:54:43 +02:00
Phil Krylov
1d79a39621 2013-07-05 20:02 UTC+0400 Phil Krylov (phil a t newstar.rinet.ru)
* src/debug/debugger.prg
    % Don't save debugger window positions if user did not change them as the
      original debugger behaves.
    + Support arguments to Options Save and Options Restore debugger commands
      as the original debugger does.
2013-07-05 20:02:45 +04:00
Phil Krylov
2f28dd8d03 2013-07-05 19:34 UTC+0400 Phil Krylov (phil a t newstar.rinet.ru)
* src/debug/debugger.prg
    ! Maintain fixed window logical order as the original debugger does.
    ! Load debugger settings in two steps: before and after debugger UI activation.
    ! Save watchpoints to the settings file.
2013-07-05 19:34:53 +04:00
Phil Krylov
e48674f094 2013-07-05 17:50 UTC+0400 Phil Krylov (phil a t newstar.rinet.ru)
* src/debug/debugger.prg
    ! Set debugger activity flag before restoring settings.
2013-07-05 17:50:54 +04:00
Phil Krylov
8184133ea1 2013-07-05 17:05 UTC+0400 Phil Krylov (phil a t newstar.rinet.ru)
* src/debug/debugger.prg
    ! Fixed a typo in my last commit.
    ! Make the debugger show itself before it starts restoring its settings.
2013-07-05 17:15:13 +04:00
Przemysław Czerpak
6153da2b05 2013-07-05 14:12 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/debug/dbgentry.c
    ! added missing casting

  * src/debug/debugger.prg
    + show in call stack references to code compiled without debug info

  * src/rtl/itemseri.c
    * ignore HB_HASH_RESORT flag during hash serialization
2013-07-05 14:12:46 +02:00
Phil Krylov
613ddf38cb 2013-07-05 04:35 UTC+0400 Phil Krylov (phil a t newstar.rinet.ru) 2013-07-05 04:44:55 +04:00