Commit Graph

7 Commits

Author SHA1 Message Date
Viktor Szakats
26ca5da0db 2010-06-30 19:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/extend.c
  * include/hbapi.h
    + Added hb_retclen_const() to return constant byte arrays.

  * contrib/hbqt/hbmk2_plugin_qt.prg
  * contrib/hbide/hbide.prg
    + Implemented pure Harbour .c QT resource support.
      Commented, waiting for HBQT API to load resources
      from byte stream.
      This method will create a pure .c source files
      from binary QT resource, so it doesn't require
      QT headers to be present.

  * contrib/hbqt/hbmk2_plugin_qt.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideskeletons.prg
    * Changed 'ui' prefix to 'hbqtui_' for compiled .ui
      file entry function names.

  * utils/hbmk2/hbmk2.prg
    + Added hbmk2_FNameToSymbol() plugin function to convert
      filename to Harbour symbol name.

  * contrib/hbide/hbide.env
    - Deleted QT setup from compilers where QT is not supported.
2010-06-30 17:18:38 +00:00
Viktor Szakats
f6aeed0cd7 2010-06-29 13:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/hbide.env
    ! Fixed all entries. Synced with INSTALL and other required changes
      to work with current Harbour. Deleted unnecessary forced platform,
      compiler values, deleted unnecessary, wrong and misleading version
      informations. Deleted left padding spaces from section headers.
2010-06-29 11:01:55 +00:00
Viktor Szakats
c2079b533e 2010-06-29 12:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Separated package dependency by key header autodetection logic
      from header dependency parsing logic. This way the code is
      cleaner and it has the added benefit that dependencies
      will be detected even without actual source code using the
      key headers. This f.e. makes it possible to pull dependencies
      for autogenerated code (such example can be found in hbide
      where generated .cpp depends on qt).
      Another benefit is that pkg detection by header will also
      work in non incremental mode or forcefully disabled header
      parsing option, it also causes better header parsing
      performance.

  * contrib/hbqt/hbqt_common.hbm
  - contrib/hbqt/hbmk2_plugin_moc.prg
  * contrib/hbqt/hbmk2_plugin_qt.prg
    + Merged moc plugin into qt plugin. This way some of the
      common code and logic is now integrated, forming a common
      hbmk2 plugin for all QT purposes.
    % Merged common code.
    * Some internal renames.
    * Further changes regarding proper -clean behavior.

  * contrib/hbide/hbide.prg
  * contrib/hbide/ideprojmanager.prg
  - contrib/hbide/resources/hbide.env
  + contrib/hbide/hbide.env
    * Moved hbide.env to hbide root.
    ; TODO: It remains to be solved that hbide.env be searched
      at the same locations as as hbide.ini. It would be even better
      if hbide.env could use more standard .ini layout and be simply
      merged into hbide.ini.
      Pritpal, could you check this issue?
2010-06-29 10:50:10 +00:00
Pritpal Bedi
94b33cecb7 2010-01-24 22:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/Makefile
  * contrib/hbxbp/hbpprocess.prg
    + Implemented first HbpProcess() class ( Harbour Extension )
      which is based on Qt's process management classes. 
      The usage concept is well defined in 
      /contrib/hbide/ideprojmanager.prg. 
      I will write the documentation at some later date.

  * contrib/hbide/resources/projectproperties.ui
    + More components.

  * contrib/hbide/projects/hbide.hbi
    + More info.

  * contrib/hbide/hbide.ch
  * contrib/hbide/hbide.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideobject.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idesaveload.prg
    ! Updated to hold Development Environments concept introduced.
      Read below.      
  - contrib/hbide/hbide.env
  + contrib/hbide/resources/hbide.env
    + The environment skeletons (working) on my machine connecting
      hbIDE to hbMK2 engine. You can copy it and place it 
      in projects folder with suitable path amendments and 
      call it in hbIDE. This implementation facilitae to 
      generate any project on any compiler from within 
      single instance of hbIDE without leaving it.

      Here are the implementation details:

      FORMAT
      ======
               [ BCC55 5.5.1 Command Line Tools ]
         {hb_comp} bcc
         {shell} cmd.exe
         {ext} bat
         # 
         {content} set HB_COMPILER=bcc
         {content} set PATH=c:\harbour_dev;c:\harbour_dev\bcc\bin;C:\harbour_dev\harbour\bcc\bin;

               [ MINGW 4.4.2 Windows ]
         {hb_plat} win 
         {hb_comp} mingw
         {content} set PATH=c:\mingw\bin;c:\qt\2009.03\qt\bin;
         {content} set PATH=c:\harbour_dev;c:\harbour_dev\harbour\mingw\bin;%path%
         {content} set HB_WITH_QT=c:\qt\2009.03\qt
         ...

         {hb_plat} == set HB_ARCHITECTURE=
         {hb_comp} == set HB_COMPILER=
         {shell}   == shell command to execute
         {ext}     == the extension of shell commands file
         {content} == active contents placed in the shell commands file
                      Any lines with {contents} marker will form the 
                      body of commands file. You can place remarks 
                      preceded with # sign.

         Currently {contents} are implemented, rest will take a couple of days.

      PLACEHOLDER
      =========== 
         <Environments Tab> in <Project Properties> dialog but with separate 
         button to save this and its path information alone. Just avoided one 
         more dialog.

      ACTIVATION
      ==========
         Right-click on <Projects> node in "Projects" tree and select <Environments...>.
         The selected environment will become the default for current session and will 
         be saved for next invocation until it is changed. Next build will respect 
         this setting.

      EFFECTIVENESS
      =============
         Create a desktop icon pointing to hbIDE.exe and place the only parameter 
         poing to "hbide.env" file. You can copy it anywhere in your project tree,
         amend it to suit your requirements, and just execute hbIDE on your desktop.
         NOTE: you _MUST NOT_ set any compiler specific variables before invoking
         hbIDE. Your working slate must be clean.

      WHAT_IS_NOT_DONE
      ================
         The bash commands and their shell invocation. But I know a lot of you 
         will implement that in no time.
2010-01-25 07:13:15 +00:00
Pritpal Bedi
c3f336a8dc 2010-01-22 07:09 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
+ contrib/hbqt/hbqt_hbqplaintextedit.h
    ! Missing file from prev commit. I was hanging in sleep.
2010-01-22 15:10:44 +00:00
Viktor Szakats
765d52eb90 2009-12-05 18:38 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/hbide.prg
    - Deleted non __HARBOUR__ #if branch. Please tell me if I'm 
      wrong but hbide doesn't work anywhere else than Harbour.
    * IF() -> IIF().

  * contrib/hbide/hbide.env
    - Deleted windows-only stuff.
    - Deleted HB_COMPILER and HB_PLATFORM envvars. These are not required.
    * HB_INC_* -> HB_WITH_* although I don't understand why this is needed here.
      It probably should be deleted completely.
    ; NOTE: IMO this whole file is very much non-portable and it's not the 
            IDEs job to configure local environment. We have INSTALL to guide 
            users and hard coding any part of that information into setting 
            files is not good.

  * contrib/hbide/idestylesheets.prg
    % Optimized.

  * contrib/hbide/ideparseexpr.c
    ! Changed to use '\0' instead of 0.
2009-12-05 17:38:37 +00:00
Pritpal Bedi
8147e7fa16 2009-12-03 23:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.ch
  + contrib/hbide/hbide.env
  * contrib/hbide/hbide.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/projects/hbide.hbi
  * contrib/hbide/resources/projectproperties.ui
    + Started the possibility to switch to any compiler while building a project.
    ! Implemented tooltips on <Project Properties> dialog components.
    + Added one more tab <Compilers> which holds the contents of hbide.env
      residing alongside hbide.exe. 

      NOTE: hbide.env is an experimental feature and as such name and location 
            of this file may change in future. 

    ! Few more artifacts corrected.
2009-12-05 02:42:09 +00:00