Commit Graph

14149 Commits

Author SHA1 Message Date
Viktor Szakats
e8aec4dff4 2010-05-24 18:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * utils/hbmk2/examples/plug_moc.prg
    * Minor cleanups to plugin API.

  * src/rtl/typefile.prg
    ! Typo in comment.
2010-05-24 16:45:51 +00:00
Viktor Szakats
ccc18d5011 2010-05-24 15:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Upped warning level for plugins to -w3.

  * utils/hbmk2/examples/plug_moc.prg
    + Added -inc, -clean and -rebuild (IOW incremental) 
      support for moc plugin. It was tested OK in small 
      example.

  * utils/hbmk2/examples/plug_tpl.prg
    * Minor.
2010-05-24 13:36:22 +00:00
Viktor Szakats
8d46df007c 2010-05-24 14:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Moved some local variables to internal hbmk2 structure.
    + Made some more functions and variables accesible to plugns 
      in order to help creating smooth external calls.

  + utils/hbmk2/examples/plug_moc.prg
    + Added 'moc' plugin, which is supposed to be fully functionaly,
      though I didn't test it live.

  - utils/hbmk2/examples/plug_moc.prg
  + utils/hbmk2/examples/plug_tpl.prg
    * Renamed first example.
2010-05-24 12:18:25 +00:00
Viktor Szakats
ac1b0f0894 2010-05-24 13:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * utils/hbmk2/examples/plug_moc.prg
    % Further cleaned context passing, so that now even the
      'state' variable is passed as part of context rather than
      as separate variable, so now the only parameter the plugin
      gets is the callback. This is much more flexible and future
      proof this way.
2010-05-24 11:27:26 +00:00
Viktor Szakats
892b8c4625 2010-05-24 13:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * utils/hbmk2/examples/plug_moc.prg
    % Refined how context is passed to plugins, and how
      context is passed back to public APIs.
    + Added way to accept parameters from the cmdline and .hbp
      files. This is possible via '-pflag=' and '-pi=' options.
      Latter serves to pass input file, so the input file magic
      logic is always applied to it. Notice that all plugins are
      getting all input parameters, so it's their job to process
      only what's relevant to them. plugin specific option prefixes
      f.e. can be a solution for that.
    + Added API to add new input .prg, .c, .cpp and .rc files
      to the build process.
    + Added better protection from tampering internal hbmk2
      structures by plugins.
    + Showing error condition and location in case of an RTE occurs
      in a plugin.
2010-05-24 11:21:30 +00:00
Przemyslaw Czerpak
dbcd987a99 2010-05-24 11:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/include/hbvmint.h
  * harbour/include/hbvmopt.h
  * harbour/include/hbstack.h
  * harbour/include/hbvmpub.h
  * harbour/include/hbtypes.h
  * harbour/src/vm/estack.c
  * harbour/src/vm/hvmall.c
    * slightly modified the names of HB_{API|STACK}_MACROS.
      These are internal macros in current Harbour code but they are
      still defined in some old user build scripts used to compiled
      user or core code what could cause unpredictable results for
      final binaries. AFAIR default xMate configuration enables them.
2010-05-24 09:39:17 +00:00
Viktor Szakats
965c71d8e1 2010-05-24 11:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed non-initialized variable (broken in after one of 
      recent changes)
2010-05-24 09:03:06 +00:00
Viktor Szakats
8913c978e3 2010-05-24 09:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  + utils/hbmk2/examples/plug_moc.prg
    + Added experimental plugin system. Plugins are written in .prg
      or .hrb and can be passed using '-plug=<.prg|.hrb>' option
      or simply by passing '.hrb' filename from cmdline or .hbp/.hbm
      files. Plugin names without dir component will be searched
      in local dir, hbmk2 dir then PATH.
      For the details of the calling protocol and available hbmk2
      API calls and variables, pls check the example and hbmk2
      source code.
      Plugin is called from several build stages, in case of multiple
      plugins all of them are called at each stage. The plugin
      receives the stage name, hbmk2 context and a hash table for
      custom variables. The variables are shared between stages and
      plugins. Notice that hbmk2 isn't hbrun, so there is a limited
      set of the Harbour language which you can use, this also ensures
      that the plugins will behave like hbmk2 itself for the most part.
      Nothing is finalized.
    ; The example is the working replica of moc detection logic found
      inside hbqt.
2010-05-24 07:50:59 +00:00
Viktor Szakats
6b53962852 2010-05-23 20:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + In non-incremental mode when no workdir is manually set, hbmk2
      will now create a temp subdir inside temp dir and create any
      intermediate output files there. (previously it was using the
      temp dir without creating a temp subdir inside).
    ; Please test and report leftover temp files and dirs, also test 
      it on *nix platforms.
    * Changed 'couldn't', 'don't' style English abbrevs to
      'could not', 'do not', etc.

  * config/rules.mk
    ! Fixed to include static-only C compiler options for targets 
      which have no separate static/dynamic C compiler pass.
      This should fix wrongly built pcre lib causing missing 
      exported functions in mingw Harbour .dlls.
2010-05-23 18:55:14 +00:00
Viktor Szakats
ceecd43fa9 2010-05-23 15:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Changed filtering implementation for cmdline parameters.
      Now filters can be placed anywhere and they work for all 
      parameters.
      Please test, regressions may be possible.

  * config/postinst.prg
    ! Added gpm handling logic to hbmk.cfg creation. This was 
      previously done in recently deleted postinst.sh function.
2010-05-23 13:53:57 +00:00
Przemyslaw Czerpak
7a908f8304 2010-05-23 10:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbnetio/netiocli.c
    * replaced repeated code by static function
2010-05-23 08:47:05 +00:00
Przemyslaw Czerpak
20c6c6ee76 2010-05-22 23:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbnetio/netiocli.c
  * harbour/contrib/hbnetio/readme.txt
    + added new client side function:
      NETIO_GETCONNECTION( [<cServer>], [<nPort>], [<nTimeOut>], ;
                           [<cPasswd>], [<nCompressionLevel>], [<nStrategy>] )
            -> <pConnection> | NIL
      I returns pointer item with HBNTIO connection. It can be used to
      speedup RPC calls and stream functions when <pConnection> is
      passed as parameter to these functions.
    + modified NETIO_PROCEXISTS(), NETIO_PROCEXEC(), NETIO_PROCEXECW(),
      NETIO_FUNCEXEC(), NETIO_OPENDATASTREAM(), NETIO_OPENITEMSTREAM()
      client side functions to accept as optional 1-st parameter
      connection pointer returned by NETIO_GETCONNECTION()
    + modified NETIO_CLOSESTREAM() and NETIO_GETDATA() client side
      functions to accept as optional 2-nd parameter connection pointer
      returned by NETIO_GETCONNECTION()
2010-05-22 21:55:01 +00:00
Viktor Szakats
6a7efb03ec 2010-05-22 17:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* harbour-win-spec
  * harbour-wce-spec
  * harbour.spec
    - Deleted references to hb-mkslib.

  * bin/hb-func.sh
  * bin/postinst.sh
    * Moved functions to postinst.
2010-05-22 15:52:18 +00:00
Viktor Szakats
ff94ab0b7b 2010-05-22 17:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-func.sh
  * bin/postinst.sh
    - Deleted 'hbmk' script. Now superceded by hbmk2, which is
      backward compatible with hbmk.
    - Deleted 'hb-mkslib' compatibility synonym. Use 'hb-mkdyn'
      instead.
2010-05-22 15:19:30 +00:00
Viktor Szakats
757850ff60 2010-05-22 16:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! -hbimplib extended for bcc and msvc* to automatically recognize
      and use .def file with the same name as the .dll, if present.
    ! -hbimplib extended for bcc to first look for any existing
      OMF .lib file with the same name as the .dll.
    ! Refined fallback logic used in implib generation.
      (moved .dll existence check to lower level)
    * Refinements in pathsep usage in implib generation.

  * contrib/sddfb/sddfb.hbi
  * contrib/hbfbird/hbfbird.hbi
    + Using COFF libs for pocc targets.
2010-05-22 14:45:13 +00:00
Przemyslaw Czerpak
3f4fbb20d7 2010-05-22 13:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/olecore.c
    * minor modification in hb_oleDispInvoke() function
2010-05-22 11:41:38 +00:00
Viktor Szakats
19cf7b4a7c 2010-05-22 10:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! -hbimplib extended for pocc to first look for any existing
      .lib file with the same name as the .dll.
2010-05-22 08:58:10 +00:00
Viktor Szakats
5ca20b5be1 2010-05-21 21:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! -hbimplib extended for msvc to first look for any existing
      .lib file with the same name as the .dll.

  * contrib/sddfb/sddfb.hbi
  * contrib/hbfbird/hbfbird.hbi
    * Changed to use existing .lib for msvc compilers.
2010-05-21 19:16:32 +00:00
Viktor Szakats
d8d5c8c4b2 2010-05-21 17:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/compiler/genhrb.c
    ! Fixed very old copy paste error in .hrb generation feedback 
      text.
2010-05-21 15:06:56 +00:00
Viktor Szakats
fd6c16eced 2010-05-21 11:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* examples/gtwvw/gtwvw.c
  * examples/gtwvw/hbgtwvw.h
    * HB_EXPORT cleanup.
2010-05-21 09:59:42 +00:00
Viktor Szakats
a98d098119 2010-05-21 11:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    + Added HB_EXTERN macro to eventually replace 'extern' keyword.

  * include/hbstack.h
  * include/hbsocket.h
  * include/hbapicls.h
  * contrib/xhb/hbserv.h
  * contrib/gtwvg/gtwvg.h
  * contrib/hbcairo/hbcairo.h
  * examples/gtwvw/gtwvw.c
  * examples/gtwvw/hbgtwvw.h
    ! Fixed declarations to use 'extern HB_EXPORT' keyword order.
    ! Fixed declarations where 'extern' keyword was missing.

  ; TODO: To fix watcom .dll support 'extern HB_EXPORT <type> <func()>'
          will have to be changed to 'extern <type> HB_EXPORT <func()>'
          or even better to 'HB_EXTERN <type> HB_EXPORT <func()>' to
          also stay future-proof.
2010-05-21 09:47:48 +00:00
Viktor Szakats
55af9daf4b 2010-05-21 08:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_svc.c
    + WIN_SERVICEINSTALL(): Extended to accept 3rd parameter
      for the full filename of the service executable. This
      makes it possible to install other .exes not just self.
2010-05-21 06:52:49 +00:00
Pritpal Bedi
b669a223c9 2010-05-20 16:49 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/generator/hbqtgen.prg
    ! Two small fixes. No code regeneration required.
2010-05-20 23:50:49 +00:00
Viktor Szakats
e5507489ea 2010-05-21 01:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    + Showing warning when HB_BUILD_IMPLIB=yes is used without
      'install' make option.
2010-05-20 23:06:29 +00:00
Viktor Szakats
977cffcf00 2010-05-20 23:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed overlook in recent modification (put .def file macros
      in normal linker command template)
    ! Fixed missing '-nologo' option in msvc -hbdyn[vm] linker 
      command template.
2010-05-20 21:35:20 +00:00
Viktor Szakats
7f803c89f0 2010-05-20 23:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed filter evaluation to not let envvar names colliding
      with built-in filter keywords influence the results.
      (f.e. '{watcom}' while having properly configured watcom
      compiler defining WATCOM envvar and using a non-watcom
      compiler for the actual hbmk2 session).
    % Optimized filter evaluation.
    ; Thanks to Przemek for the patches.
2010-05-20 21:18:46 +00:00
Przemyslaw Czerpak
0205170996 2010-05-20 21:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbthread.h
    * cover some functions and HB_THREADSTATE structure by _HB_API_INTERNAL_
    * export hb_threadReleaseCPU() function
2010-05-20 19:15:11 +00:00
Viktor Szakats
1c380b63ed 2010-05-20 21:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
  * config/rules.mk
  * external/pcre/Makefile
    + Added HB_CFLAGS_STA variable to hold C compiler options 
      passed solely when compiling for static lib.
    * Change PCRE setup to use HB_CFLAGS_STA instead of -U 
      trick at the same time silencing msvc warning.
2010-05-20 19:07:59 +00:00
Viktor Szakats
c17e6e8610 2010-05-20 20:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
  * config/rules.mk
    + Added HB_CFLAGS_DYN variable to pass lib specific options
      specially directed to compilation phase when building
      to create a .dll. Currently this affects pcre and zlib since
      these are included in harbour .dll.

  * external/libhpdf/Makefile
  * external/pcre/Makefile
  * external/png/Makefile
  * external/zlib/Makefile
    + Configured HB_CFLAGS_DYN for these libs to properly create
      exported symbols in harbour .dll. This was a problem so far
      for any non-mingw made harbour .dll.
2010-05-20 18:58:21 +00:00
Przemyslaw Czerpak
54b5e1564a 2010-05-20 19:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rdd/dbf1.c
    * minor cleanup

  * harbour/include/hbapi.h
    + added new macro HB_IS_EVALITEM() - returns true for items which can
      understand EVAL message i.e. CODEBLOCK and SYMBOL items.

  * harbour/contrib/hbwin/axcore.c
  * harbour/contrib/hbwin/olecore.c
  * harbour/contrib/hbwin/hbwinole.h
    * modified hb_oleDispInvoke() function to accept as additional
      parameter pointer to HVM item instead of pointer to DISPID.
      Such version is more universal.
2010-05-20 17:50:09 +00:00
Viktor Szakats
93eb2031b3 2010-05-20 16:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/qscintilla
    - Deleted this hosted foreign code for reasons explained 
      (but apparently not understood).
2010-05-20 14:23:00 +00:00
Pritpal Bedi
402b318374 2010-05-20 07:14 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idesources.prg
    % Modified: to present the project location folder to 
      select sources in the "Project Properties" dialog.
2010-05-20 14:18:25 +00:00
Pritpal Bedi
d50ef11a83 2010-05-20 06:56 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
+ contrib/hbide/qscintilla
    + contrib/hbide/qscintilla/qt

      Initial port of QScintilla ( http://www.riverbankcomputing.co.uk/software/qscintilla/intro )

      This port is greatly trimmed one excluding all lexer code
      except CPP and FLAGSHIP which are relevant to Xbase code 
      at present. Also directory structure is normalized and sources
      are modified to respect them. SVN properties are eol:native, 
      I am not sure what other properties should go inside.
      QScintilla actually is divided into two libs but for sake
      of convinience I have kept them as one.

      It is a base commit. In the next days a Harbour wrapped 
      is scheduled to be built onto it and then actual application 
      experiments will follow. On success, current edit component
      of hbIDE will be transferred.

      I am poor in looking at licensing, so please feel free to 
      delete this commit if it does not confirm to original intent.

      I have also touched the sources to suppress a lot of warnings
      and library seems to be working fine after these changes. Still
      some warnings are there which I could not supress, please look.

      To build the lib qscintilla.hbp is there, just issue 
      hbmk2 qscintilla.hbp while residing in hbide/qscintilla.
2010-05-20 14:13:24 +00:00
Viktor Szakats
4b4453f8a1 2010-05-20 13:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to ignore .cpp files in main entry detection function.
    ! Fixed to strip ending pathsep in header and lib path options 
      passed to compiler tools.
2010-05-20 11:40:30 +00:00
Viktor Szakats
b1dc9f4f6e 2010-05-20 11:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbthread.h
    ! Added missing HB_EXPORT, and in some place 'extern'
      qualifier to thread/atomic Harbour API declarations.

  * ChangeLog
    ! Fixed entry header in previous commit (again).
2010-05-20 09:40:08 +00:00
Viktor Szakats
ca702096d2 2010-05-20 11:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* utils/hbmk2/hbmk2.prg
    + Added hbmk2 level support for multiple input .def files.
      NOTE: Multiple .def files are only supported by gcc family
            compilers (mingw/cygwin) (and maybe watcom, but I can't 
            tell by looking at the output), so for portable scripts,
            stick to using only one .def file per .dll. bcc,
            msvc, pocc will either ignore some of them, or
            stop with error.

  * ChangeLog
    - Deleted accented (UTF8) char.
    ! Deleted UTF8 file marked added by subsequent committer's editor.

    ; --- Pls remember to use ASCII 7-bit chars in our files ---
2010-05-20 09:35:08 +00:00
Pritpal Bedi
273f42e244 2010-05-19 20:45 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/ideprojmanager.prg
    ! Fixed: project location was shown blank. Itamar reported.
2010-05-20 03:48:53 +00:00
Pritpal Bedi
400b624212 2010-05-19 19:11 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/THbQtUI.prg
    ! Code cleanup.

  * contrib/hbqt/hbqt_hbqplaintextedit.cpp
    ! Fix to honor tab width with font change.
2010-05-20 02:12:51 +00:00
Pritpal Bedi
76fabaf38f 2010-05-19 16:41 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbide/hbide.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/ideshortcuts.prg
    % Shifted: all actions which operate on editing instance, to 
      the micro levels. This implies that ::IdeEdit() object can be 
      used independent of interface constraints and hence becomes
      eligible to be included in hbXBP as a HBP class. 
      This also implies that hbIDEMap can be manipulated through
      Keyboard Mappings macros the same way as main editing instance
      with the exception that it cannot be editied. For example,
      you can call ::zoom( nPointSizeORKey ) to adjust its size.
      You can also use Ctrl+C to copy and can use block operations.

    + Added: <Edit><Format><Replace Spaces with Tabs> option. Tabs 
      are set to stop at same distance of 3 characters which 
      makes it possible to modify sources with/without tabs but 
      with same visual display.
2010-05-19 23:55:16 +00:00
Przemyslaw Czerpak
dd2ee1d1a5 2010-05-20 01:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/src/vm/hashes.c
    + added new C function hb_hashGetCItemPos()

  * harbour/src/rtl/hbcom.c
    ! fixed typo located by Bisz István
2010-05-19 23:42:29 +00:00
Viktor Szakats
ee5bc58260 Fixed wrong Changlog entry header 2010-05-19 12:03:15 +00:00
Viktor Szakats
fdd2418df8 2010-05-19 10:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + Added .def file support for win|os2/watcom targets in hbmk2.
      ATM it requires the special file format required by watcom,
      there is no transparent conversion done by hbmk2.
    + Enabled .c stub (for -main, -gt, etc features) in -hbdynvm mode.
    * Disabled linking harbour .dll in '-hbdyn -shared' mode.
      NOTE: I'm not sure of this move. This way -hbdyn will now
            never link any Harbour libs (neither static nor dynamic),
            so at least we should renamed -hbdyn to -hbdynraw and
            -hbdynvm to -hbdyn, or make some other cleanup in this
            regard. Specifically I'm not sure if hbmk2 satisfies
            this use-case now by default (without '-nohblib-' option):
               "I can use -hbdyn and -static to create self contain DLL
                which uses it's own private copy of HVM and Harbour RTL
                library which can be linked statically or loaded dynamically
                with/from any other applications"
    * Text "VM" changed to "Harbour VM"
    ; NOTE 2: I've checked win/watcom -6s option, but it's still not 
              good because it appends '_' to exported symbols, so 
              watcom -shared executables stop working with mingw/msvc 
              Harbour .dll. Any idea how to solve that?
2010-05-19 08:39:51 +00:00
Pritpal Bedi
2cae1bdd06 2010-05-18 22:57 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/doc/en/class_hbqplaintextedit.txt
  * contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.h
  * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp
  * contrib/hbqt/qtgui/THBQPlainTextEdit.prg
  * contrib/hbqt/qth/HBQPlainTextEdit.qth
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/ideshortcuts.prg

    + Implemented: proper hbIDEMap protocol. Now you can keep open
      "Source Thumbnail" dock and keep on clicking the tabs. Current  
      source map will be displayed inside. 
      
      hbIDEMap Features:

        1. hbIDEMap carries highlighted code lines which are visible
           in main editing instance window. Navigaing the editor also
           changes highlighted area corresponding to main instance.
        2. All keyboard mappings are active in the map also which implies
           that you can exercise copy operations which can be pasted 
           in the current code, a very useful feature.
2010-05-19 06:31:03 +00:00
Pritpal Bedi
c9343fec20 2010-05-18 18:55 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.h
  * contrib/hbide/hbide.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/ideobject.prg
    ! Fixed: selected text when viewed in a narrow window and 
      using horizontal scrollbars was showing incorrectly.

    + Implemented: current source's thumbnail view.
      It is presented in a right-hand docking widget which 
      can be activated via <View> menu. it is almost identical with
      current editor but with a significant difference that 
      it is loaded from the disk whenever the dock is brought to view.
      It contains smaller font and is entirely idependent 
      of main editing instance.

      It is just a quick commit. Refinement will follow.
      Please submit your suggestions.

      Re-compile hbQT alongwith hbIDE.
2010-05-19 02:09:52 +00:00
Pritpal Bedi
64bad2c4b7 2010-15-18 15:12 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/ideedit.prg
  * contrib/hbqt/hbqt_hbqplaintextedit.cpp
    ! Fixed: more selections and cursor behavior.
2010-05-18 22:15:12 +00:00
Pritpal Bedi
7f6a0de6de 2010-15-18 14:30 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idetags.prg
    + Implemented: Context-menu option "Goto Function" looks 
        for the function/method in the current source first,
        and if found, jumps to that, otherwise it rellies on 
        tagging. It implies that functions in current source 
        are always can be reached with "Goto Function" option
        which operates on word under cursor.
2010-05-18 21:35:15 +00:00
Pritpal Bedi
3854243a55 2010-15-18 13:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/ideprojmanager.prg
    % Fixed: tab order in "Projects Properties" dialog.
      Thanks to Maniero for reporting.
2010-05-18 20:02:35 +00:00
Przemyslaw Czerpak
7bc8a8c506 2010-05-18 18:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/win_svc.c
    ! fixed compilation with compilers which disable winsvc.h
      if WIN32_LEAN_AND_MEAN is set, i.e. POCC and XCC
2010-05-18 16:54:37 +00:00
Viktor Szakats
1581b2ae9b 2010-05-18 09:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/memvarhb.prg
    * HB_MVSAVE(): reset to be a FUNCTION to avoid the "volatile"
      return value and better imitate __MVSAVE() behavior.
    % HB_MVSAVE(): deleted unnecessary UPPER().
    - Deleted TODO.

  * ChangeLog
    * Marked TODOs as done. (Thanks Przemek)
2010-05-18 07:20:20 +00:00
Pritpal Bedi
db0dce4566 2010-15-17 23:59 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.h
    + Finalized: all the three modes of selection programatically.
        ::toggleStreamSelection()    No Key
        ::toggleColumnSelection()    No Key
        ::toggleLineSelection()   == F11
        ::clearSelection()        == Sh+F11
      If a selection mode is initiated by above three methods,
      it can only be exited by calling the same method again.
      During such selection process all other keys than navigable 
      keys will remain disabled. Mouse-move will also not work.
      Mouch click will work. If Column selection mode is ON,
      caret will not show up. Toolbar icon will not respond to 
      change such action. Once exited, previous normal behavior
      for stream and column selection will be available.

      Please test.
2010-05-18 07:09:40 +00:00