Commit Graph

14666 Commits

Author SHA1 Message Date
Viktor Szakats
96e069c19e 2010-07-12 18:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbextern.ch
  * src/rtl/Makefile
  + src/rtl/hbdoc.prg
    + Added __HBDOC_LOADDIR() internal RTL function to read
      NFDOC formatted documentation source directories into
      memory. The result will be a list of hashes which contain
      the raw content of doc files. The function does format
      validation (but not content) and add all agreed-on metadata
      to the hashes.
      It's a start and I hope others can join to create new
      layers of function for below functionality:
         - doc content validation
         - pre-formatting
         - output generators
      The goal is to avoid local solutions and standardize
      the format.

  + tests/hbdoctst.prg
    + Added small test app which will find and parse all
      documentation inside the Harbour source tree and
      save them in .hbd (serialized doc hash) format.
      Such .hdb files can be generated by the build process
      in the future, so tools like HBIDE can use the content
      to display intellisense or built-in help.
    ; TODO: HBQT doc/html should be removed as it's 
            hbdoc tools' job to convert HBDOC source 
            format to html or whatever else format needed.

  * harbour.spec
  * debian/rules
  - doc/man
  + src/pp/hbpp.1
  + src/main/harbour.1
  + utils/hbmk2/hbmk2.1
  + utils/hbtest/hbtest.1
  + utils/hbrun/hbrun.1
    * Moved man doc files to their own component dirs.

  * doc/Makefile
  * doc/en/Makefile
  + doc/clipper.txt
  - doc/en/clipper.txt
    * Moved non-NFDOC formatted doc file to doc dir.

  * doc/en/Makefile
    ! Fixed missing 1stread.txt

  * doc/en/hb_apigt.txt
  * doc/en/hbinet.txt
  * doc/en/tbrowse.txt
  * doc/en/hb_apifs.txt
    ! Fixed NFDOC non-standard entries.

  * bin/hbxpatch.hbs
    ! Fixed detecting dirs. (could cause errors only in rare cases)

  * contrib/hbdoc2/tmplates.prg
    * Formatting.
2010-07-12 16:47:24 +00:00
Pritpal Bedi
a3531b7d4d 2010-07-12 09:06 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idesources.prg
    ! Fixed: "Save As..." had gone disabled with another fix.

  + contrib/hbqt/qtcore/HBQAbstractItemModel.cpp
  + contrib/hbqt/qtcore/THBQAbstractItemModel.prg
    + Added: missing files from previous commit.

  * contrib/hbxbp/xbpdialog.prg
    ! Minor.
2010-07-12 16:09:49 +00:00
Viktor Szakats
c407d72ba5 2010-07-12 15:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/xhbat.c
    * Renamed HB_SIZE/HB_ISIZ variables.

  * src/vm/hashfunc.c
  * src/rtl/at.c
  * src/rtl/ati.c
  * contrib/xhb/xhbat.c
    % Deleted unnecessary HB_SIZE casts.

  * contrib/hbdoc2/gentpl.prg
  * contrib/hbdoc2/gentxt.prg
  * contrib/hbdoc2/tmplates.prg
  * contrib/hbdoc2/genxml.prg
  * contrib/hbdoc2/genhtml.prg
  * contrib/hbdoc2/hbdoc2.prg
  * contrib/hbdoc2/genhbd.prg
    ! Typo in prev regarding .hdb output.
    + Attempt to creating separate .hbd file for each input.
      Doesn't work.
    * .NOT. -> !
    ! ' = ' -> ' := '
    ! Fixed to parse contrib dirs properly
      (still not good, we'd need a better way to
      indentify doc subdirs and enable doc parsing
      only inside these dirs)
    ! Fixed to not crash when parsing hbgd docs. Now
      this still needs fixing as it now shows errors for almost
      all docs inside the contrib area.
    ! Added '#include "simpleio.ch"'
    + Enabled to parse contrib area (mainly for testing).
    ; NOTE: I sense an extreme chaos even in our "agreed"
            doc format. This parser needs serious cleanup and
            we should have _one_ _proper_ implementation to
            parse doc texts and to write them to disk. Now
            all tools have their own standards and imaginations
            (extension) about the doc format, which is a sure
            way to kill the whole effort.
            A proper implementation should first convert the
            on-disk NF format to an in-memory format, then
            pass it to output generator modules.

  * contrib/xhb/freadlin.c
    ! Fixed hb_xfree warning after recent cleanup.

  * contrib/xhb/hboutdbg.c
  * contrib/xhb/xhbenum.c
  * contrib/xhb/dbf2txt.c
  * contrib/xhb/fparse.c
  * contrib/xhb/xstrdel.c
  * contrib/xhb/xhbsave.c
  * contrib/xhb/xhbwith.c
  * contrib/xhb/xhbhasha.c
  * contrib/xhb/datesxhb.c
  * contrib/xhb/xhbat.c
  * contrib/xhb/xhbmsgs.c
  * contrib/xhb/freadlin.c
  * contrib/xhb/xhbarr.c
  * contrib/xhb/txtline.c
  * contrib/xhb/xhbtrim.c
  * contrib/xhb/hbserv.c
  * contrib/xhb/cstructc.c
  * contrib/xhb/xhbfunc.c
    * HB_SIZE/HB_ISIZ variables renamed.
    * 'unsigned int' -> 'HB_UINT' where applicable.
2010-07-12 13:06:25 +00:00
Viktor Szakats
e7c3c7ef66 2010-07-12 11:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/tests/testres.prg
  + contrib/hbqt/tests/testqaim.prg
  * contrib/hbqt/hbqt_hbqabstractitemmodel.cpp
    + Added patch from Bacco.
    ! Fixed indentation, formatting, whitespaces, SVN ID, using hb_ntos(), 
      END -> ENDSEQUENCE.
      Pls check my diff to adapt to the style.

  * contrib/hbqt/hbqt.ch
  * contrib/hbqt/hbqt.h
  * contrib/hbqt/hbqt_hbqabstractitemmodel.cpp
  * contrib/hbqt/tests/testqaim.prg
  * contrib/hbxbp/xbpbrowse.prg
    * Renamed QT_QAIM_* to HBQT_QAIM_*.
      These don't look like QT contants, pls tell me if I'm wrong.
2010-07-12 09:34:10 +00:00
Viktor Szakats
9ea0595e69 2010-07-12 10:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_hbqabstractitemmodel.cpp
    ! Fixed formatting.
    ! Added copyright header.
    ! Added SVN header,

  * contrib/hbdoc2/gentpl.prg
  * contrib/hbdoc2/gentxt.prg
  * contrib/hbdoc2/genxml.prg
  * contrib/hbdoc2/genhtml.prg
  + contrib/hbdoc2/genhbfdb.prg
  * contrib/hbdoc2/hbdoc2.prg
  * contrib/hbdoc2/hbdoc2.hbp
    * Minor cleanups.
    ! Fixed RTE when using target formats without index.
    * Changed default output format to -output-category
    + Added new experimental output format tailored to
      help "intellisense" technology. It currently holds
      function prototype only, but in the future it can
      hold full docs so that ide's like hbide can easily
      extract all documentation and present it smartly.
      Current format has the extension .hbd, and it's a
      serialized array of strings of function prototypes.
      Also probably hashes would be better.
    ; TODO: Fix hbdoc2 to generate separate output dirs/files
            for separate components. Currently everything
            is mashed together.

  * contrib/make.hbs
  * contrib/Makefile
    * hbqt and hbxbp are now built using hbmk2.
      This has the nice "side-effect" that now libs will 
      be rebuild even if some headers changed, so there is 
      less chance to have broken build after a plain (non-clean) 
      rebuild.
2010-07-12 08:07:37 +00:00
Pritpal Bedi
0937c773fb 2010-07-11 22:35 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/filelist.mk
  * contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/generator/qt45.qtp
  * contrib/hbqt/hbqt.ch
  * contrib/hbqt/hbqt.h
  * contrib/hbqt/hbqt.hbp
  * contrib/hbqt/hbqt_garbage.h
  + contrib/hbqt/hbqt_hbqabstractitemmodel.cpp
  + contrib/hbqt/hbqt_hbqabstractitemmodel.h
  * contrib/hbqt/qtcore/filelist.hbm
  * contrib/hbqt/qtcore/filelist.mk
  + contrib/hbqt/qth/HBQAbstractItemModel.qth
  * contrib/hbxbp/xbpbrowse.prg

    + Applied patch provided by Bacco, thanks.
      This implements one more member to the structure
      which will help simplifying many complex structures in hbQT.

  * Regenerated: *.cpp
2010-07-12 05:48:44 +00:00
Pritpal Bedi
5aed11e87b 2010-07-11 19:29 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbide.hbp
    - Deleted: ideprotos.prg

  - contrib/hbide/plugins/example_gui.hbs
  + contrib/hbide/plugins/hbide_script_qtgui.hbs
    + Added: the prefix "hbide_script_" to hbide callable script files.

  - contrib/hbide/plugins/savebackup.hbs
  + contrib/hbide/plugins/hbide_plugin_savebackup.hbs
    + Added: the prefix "hbide_plugin_" to hbIDE plugin files.

  + contrib/hbide/resources/file-open.png
  * contrib/hbide/hbide.qrc
    + Added: one more image for tool-buttons on "Files" page of "Setup".

  * contrib/hbide/editor.ui
  * contrib/hbide/environments.ui
  * contrib/hbide/setup.ui
    % Modified and Added: some of the components.

  * contrib/hbide/hbide.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/ideenviron.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idehbprotos.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideplugins.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/ideskeletons.prg
  * contrib/hbide/idesources.prg
  * contrib/hbide/idethemes.prg
    + Implemented: hbIDE installation independent paths to hold 
      various files and components. Now only hbide.ini reference is 
      required to load all other parameters pointing to next 
      needed locations for various components. It also effectively
      means that hbIDE can be distributed as stand alone single 
      executable ( if linked statically with Qt ) or only with 
      Qt's run-time .dlls. hbIDE now makes no assumptions itself.
      User has to furnish few infos, though, interfaced at a single point.

      The Interface to hold information : <Setup><Files>
 
      The Paths and Files Interpretation:

         0. hbide.ini Path                  - File - Cmd Line: APPDATA|HOME/hbide
         1. Harbour's Root Path             - Path - No Assumptions: should be provided
         2. Hbmk2 Executable Location       - File - Default: hb_getenv("HBIDE_DIR_HBMK2")/hbmk2
         3. Resources [Plugins,Scripts,etc] - Path - Default: _Path_of_hbIDE_ini_
         4. Temporary Files                 - Path - Reserved: TODO
         5. Environments [.env]             - File - Default: _Path_of_hbIDE_ini_dot_env
         6. Keyboard Mappings [.scu]        - File - Default: _Path_of_hbIDE_ini_dot_scu
         7. Code Snippets [.skl]            - File - Default: _Path_of_hbIDE_ini_dot_skl
         8. Syntax Highlighter Themes [.hbt]- File - Default: _Path_of_hbIDE_ini_dot_hbt

      The interface provides for a quick editing of .env.skl.hbt files in-place.
      Interface also provides for viewing facility of hbide.ini file.
 
      Plugins and scripts have gone prefix and usage changes:

         1. _Path_to_Resources/hbide_auto_*.hbs|prg are automatically executed
            just after hbIDE appears on the screen.

         2. _Path_to_Resources/hbide_plugin_*.prg|hbs|hrb can be defined to be 
            executed as per previous instructions.
 
         3. _Path_to_Resources/hbide_protos_* are automatically loaded for 
            code completion lists leading to proto-tips. [New - details below]

    + Implemented: auto loading of code completion lists and proto-tips.
      Any file as hbide_protos_SOMENAME_with_or_without_extention placed in 
      _Resources_ folder will be automatically loaded at startup. These files 
      are plain text files. The following rules apply:

         1. Each proto must be placed on one line.
         2. Blank lines are permissible.
         3. Commands can be placed on multiple lines, 
            each line ending with ";" except the last one, like:
               COPY [TO <(f)>] [SDF] [FIELDS <fields,...>] ;
                    [FOR <for>] [WHILE <while>] [NEXT <next>] ;
                    [RECORD <rec>] [<rest:REST>] [ALL] [CODEPAGE <cp>]
         4. Functions must be opened with a brace without any preceeding space:
               MyFunction ( abd, cde, efg )  =>  Wrong
               MyFunction( abd, cde, efg )   =>  Right

      I must be omitting some more facts which may have been changed|removed.
      Also regression is possible, please make few tests and report back if 
      something went weired.
2010-07-12 04:41:12 +00:00
Viktor Szakats
c6a6d0afea 2010-07-11 22:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- examples/hbdoc2
  + contrib/hbdoc2
  * contrib/make.hbs
    + Moved hbdoc2 to contrib area.
    + Added hbdoc2 to std set of utils built.
    ; I plan to add hbdoc2 to std build process so that we don't 
      have to ship raw doc files in distros, plus, tools like hbide 
      can use pre-compiled docs for "intellisense" feature. We 
      don't have such pre-compiled file format.
    ; TODO: Delete hbdoc processing logic and code from hbide and 
            use external calls to hbdoc2 for such tasks (f.e. when 
            compiling "intellisense" database for addon lib.
    
  * contrib/hbpost.hbm
    ! Fixed typo in -o option.
    ! Fixed tricky error in last commit causing workdir 
      to be placed at wrong place.
2010-07-11 20:40:57 +00:00
Pritpal Bedi
166778738d 2010-07-10 19:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qth/HBQPlainTextEdit.qth
  * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp
  * contrib/hbqt/qtgui/THBQPlainTextEdit.prg
    + Added: two more arguments in :hbShowPrototype().

  * contrib/hbqt/doc/en/class_hbqplaintextedit.txt
  * contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.h

  * contrib/hbide/ideedit.prg
    + Implemented: vertical display of proto-tip.
      Now if number or arguments in a funtion prototype are 
      more than 1, the tip will be presented as vertical 
      list. An image to this effect will follow in reply to 
      this message.
2010-07-11 02:54:10 +00:00
Pritpal Bedi
98f27e0741 2010-07-10 12:03 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
    ! Adjusted horizontal position of proto-tip.

  * contrib/hbide/hbide.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idesources.prg
    ! Changed: the way sources were alerted to be saved if in modified
      state when exiting hbIDE. Now <Cancel> option is not provided.

    + Implemented: proto-tip highlights the current argument corresponding
      to the cursor position within the function's opening brace and 
      end of the line.
2010-07-10 19:14:47 +00:00
Viktor Szakats
7115477a90 2010-07-10 10:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbassert.h
    ! Fixed to only enable assert()s when HB_BUILD_DEBUG is activated.
      (So far assert() was disabled for msvcarm only in normal builds.)
      Pls check me. In some places assert(0) is used which is a permanent 
      exit, so maybe these would need to be replaced with hb_errInternal()?

  * include/assert.ch
    ! Typo in comment.

  * contrib/make.hbs
    % Minor opt.
2010-07-10 08:49:17 +00:00
Viktor Szakats
1eeff56090 2010-07-10 08:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtdos/gtdos.c
  * src/rtl/gtwin/gtwin.c
  * src/rtl/gtos2/gtos2.c
  * src/rtl/gtsln/kbsln.c
  * include/hbapigt.h
    ! Fixed code to use HB_INKEY_RAW constant.
    * Marked C level INKEY_RAW constant with HB_LEGACY_LEVEL3.
2010-07-10 06:53:15 +00:00
Viktor Szakats
afab150393 2010-07-10 08:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbrun/hbrun.prg
    * Upped history length to 500 (from 128)

  * contrib/make.hbs
    * Skip hbppo projects.
    * Minor internal mods.

  * contrib/hbqt/hbqt_common.hbm
    ! Fixed hbmk2 plugin name.
2010-07-10 06:16:15 +00:00
Pritpal Bedi
9fd84b2d61 2010-07-09 18:35 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.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/hbide.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idefunctions.prg
  * contrib/hbide/ideharbourhelp.prg
    + Implemented: completely reworked code completion basics 
      and brand new function prototype display as tooltip 
      ( now entirely native widget with many extras ).
2010-07-10 01:38:23 +00:00
Viktor Szakats
1979515ea0 2010-07-09 22:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
  * contrib/hbpre.hbm
    ! Fixed -build option to be always passed on the cmdline.
    % Cleaned 'hbmk2 --hbinfo' cmdline.
2010-07-09 20:58:46 +00:00
Viktor Szakats
e98db3a241 2010-07-09 22:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + --hbrefs option renamed to --hbinfo and now also includes
      target type.
    + Extended target detection with 'hbppo' and 'hbhrb' types.
      These are automatically detected from Harbour option usage.
    + Added ${hb_outputname} macro. Returns the output name as
      specified with -o option, without extension. Returns empty
      if there wasn't -o option at the point of usage.
    + Added ${hb_outputdir} macro. Returns the output dir as
      specified with -o option. Returns empty if there wasn't
      -o option at the point of usage.
    + -p -s options don't require to manually select -hbraw
      mode, it will be autodetected.
    ! Fixed to not interpret -i- Harbour option as include dir.
    + Don't add the same Harbour option twice.

  * contrib/Makefile
  * contrib/make.hbs
  + contrib/hbpost.hbm
  + contrib/hbpre.hbm
    % Cleaned the way build options are passed to hbmk2.
    + Synced much more options and build behavior of hbmk2
      based contrib build with GNU Make build (debug, unicode,
      warnings, Harbour settings, C settings)
    + Added more projects to hbmk2 build method.
    % Deleted MS-DOS specific hack (for now) because the new
      cmdlines are very short.
    ; TODO: Now make.hbs is not self-contained, which would 
            better be solved somehow.

  * contrib/make.hbs
    + It will now detect and show target type in stdalone mode.
    + Synced default build options with GNU Make.

  * contrib/hbqt/hbqts.hbp
  * contrib/hbqt/hbqtguis.hbp
  * contrib/hbqt/hbqtcores.hbp
  * contrib/hbqt/hbqtnetworks.hbp
    + Added -hblib option to make it easy to detect target type
      for 3rd party tools.

  * contrib/hbnetio/utils/netiosrv.prg
    + Will now also accept .hbs and .prg files as RPC filters.

  - contrib/hbnetio/utils/modules
  * contrib/hbnetio/utils/modules.hbp
  + contrib/hbnetio/utils/rpcdemo.hbs
    * Renamed RPC demo to .hbs.
    * Deleted modules subdir.

  - contrib/hbnetio/utils/hbmk.hbm
  * contrib/hbnetio/utils/hbnetio.hbp
    - Deleted separate hbmk.hbm.

  * contrib/hbnetio/utils/netiocmd.prg
    ! Minor in help screen.

  * contrib/hbnetio/tests/netiotst.prg
    + Added some feedback.
2010-07-09 20:51:12 +00:00
Viktor Szakats
ace7fce016 2010-07-09 16:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtsys.c
    ! Added hack to fix setting default GT in bcc C++ builds.
      (please replace this with more elegant solution)

  * src/rtl/gtwin/gtwin.c
    * static var prefixed with 's_'

  * contrib/hbqt/hbqt_common.hbm
  * contrib/hbqt/hbqtcore.hbp
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbp
  * contrib/hbqt/hbqscintilla/hbqscintilla.hbp
  * contrib/hbqt/hbqtnetwork.hbp
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbp
  * contrib/hbqt/hbqt.hbp
  * contrib/hbqt/hbqtgui.hbp
    - -hblib option moved from common part to each .hbp.
      It's cleaner and more generic this way plus it helps
      tools (make.hbs and hbide) to decide about project type.
2010-07-09 14:23:38 +00:00
Viktor Szakats
7e07cde56c 2010-07-09 15:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/compiler/genc.c
  * src/compiler/gencc.c
    ! Fixed format strings to be win64 compatible. Also fixing 
      mingw64 (4.6.0) reported warnings.
    ; I'd appreciate a review here. There are explicit lengths 
      used in some of these format strings, which may need to 
      be extended.

  * src/rdd/dbffpt/dbffpt1.c
    ! Silenced bcc warning.
2010-07-09 13:09:09 +00:00
Viktor Szakats
a02bdc5f51 2010-07-09 14:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/idehbprotos.prg
    - Deleted references to contribs (and some local projects not
      present in SVN).
      Pls don't readd them as they break separation of components.
    ; TOFIX: Remove even Harbour one, because hbide is supposed to
              be a separate component, which means HBIDE users shouldn't
              be forced to match their HBIDE version with the Harbour
              version which they use. F.e. they may even use HBIDE to
              develop using multiple versions of Harbour or even xhb,
              so hard-wiring language information directly into the
              .exe is not good solution. Instead pl rely on doc/en 
              folder dynamically found in pointed distribution.
2010-07-09 12:53:24 +00:00
Viktor Szakats
7ebeda7dad 2010-07-09 14:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/generator/hbqtgen.prg
    + Will now generate hbmk2 style makefiles too.

  + contrib/hbqt/qtgui/filelist.hbm
  + contrib/hbqt/qtcore/filelist.hbm
  + contrib/hbqt/qtnetwork/filelist.hbm
    + Added new generated files.

  * contrib/hbqt/hbqtcore.hbp
  * contrib/hbqt/hbqtnetwork.hbp
  * contrib/hbqt/hbqtgui.hbp
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbp
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbp
    + Added explicit file list instead of relying on wildcards.
2010-07-09 12:45:54 +00:00
Viktor Szakats
06a2d8708d 2010-07-09 11:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/console.c
  * src/rtl/hbgtcore.c
    * Made internal error codes of "terminal init failure"s 
      occuring in different situations different. I hope I 
      left 9998 for the one that happens usually.

  * contrib/Makefile
    - Deleted hbnetio from list, it's now made by make.hbs.

  * config/postinst.hbs
    * Minor.
2010-07-09 09:56:52 +00:00
Viktor Szakats
18d4bc3c27 2010-07-09 10:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    + Honor HB_BUILD_PARTS for contribs.
2010-07-09 08:29:53 +00:00
Viktor Szakats
efecd00708 2010-07-08 10:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/mpkg_win_uni_extra_copy.bat
    + Include /doc/* tree in binary distro.
      This makes code generation and embedding that large amount 
      of generated code into hbide itself (at build time) unnecessary. 
      All hbide needs to do is processing these docs at runtime, and
      storing the results and index (f.e. as serialized hash into some 
      local cache dir in its setting area). At startup, periodically, 
      or by users request it can rescan the docs and regenerate its 
      caches.

  * utils/hbmk2/hbmk2.prg
    + Added nesting level information to --hbrefs output.
2010-07-09 08:02:45 +00:00
Pritpal Bedi
222c70a39d 2010-07-09 00:04 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
    ! Changed: threshhold to activate codec ompletion list from 3 to 1.

  + contrib/hbide/idehbprotos.prg
    + Added: Harbour prototypes generated auto from Harbour documentation
      text file spread in harbour/../doc/en folders.

  * contrib/hbide/hbide.hbp
    + Added: idehbprotos.prg.

  * contrib/hbide/ideeditor.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idesaveload.prg
    + Implemented: in-place Harbour keywords and prototypes as a .prg list.
      Now no need to have Harbour installed on the machine to have them.
2010-07-09 07:28:05 +00:00
Pritpal Bedi
94a2b83375 2010-07-08 19:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbide.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idefunctions.prg
  * contrib/hbide/ideharbourhelp.prg
    + Implemented: Harbour function definitions which are part of 
      Harbour documentation files in /doc/en folders viewable in 
      Documentation Viewer available as code completion lists.
      For this to happen, you must have Harbour's root path 
      provided in Documentation Viewer dialog.
      So, as an example, if definitions are loaded ok, you 
      must see a list of QWeb*() functions as soon as you type "Web"
      in an editing instance.

      Please provide your input what else is missing.
2010-07-09 02:12:21 +00:00
Pritpal Bedi
234bff10c3 2010-07-08 10:21 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbide.prg
  * contrib/hbide/idedocks.prg
    ! More fix to previous. Now the visibility of source behavior is Ok.
   
  * contrib/hbide/ideeditor.prg
    ! Changed: numeric to character events notation.

  * contrib/hbide/idesaveload.prg
    ! Minor.
2010-07-08 17:27:04 +00:00
Viktor Szakats
d8cbe3b5d3 correction in log entry 2010-07-08 15:43:21 +00:00
Viktor Szakats
43bdb1ff74 2010-07-08 17:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * contrib/hbqt/hbqts.hbp
  * contrib/hbqt/Makefile
  * contrib/hbqt/hbqtguis.hbp
  * contrib/hbqt/hbqtcores.hbp
  * contrib/hbqt/hbqtnetworks.hbp
    * HB_QT_STATIC renamed to HB_BUILD_QT_STATIC (INCOMPATIBLE)
      (may not be final name)

  * contrib/hbqt/hbqt.hbc
    * Using HB_STATIC_QT envvar to chose to build against static 
      HBQT/QT components. This makes it in sync with rest of 
      contribs.
2010-07-08 15:39:35 +00:00
Viktor Szakats
3477752517 2010-07-08 17:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    + Added experimental dependency display in stdalone mode.
    * Reflist prefix changed to 'hbrefs{{' from '{{'

  * contrib/gtalleg/gtalleg.hbc
  - contrib/gtalleg/gtallegs.hbc
  * contrib/hbqt/gtqtc/gtqtc.hbc
  - contrib/hbqt/gtqtc/gtqtcs.hbc
  * contrib/hbqt/hbqt.hbc
  - contrib/hbqt/hbqts.hbc
  * contrib/hbcurl/hbcurl.hbc
  - contrib/hbcurl/hbcurls.hbc
  * contrib/hbssl/hbssl.hbc
  - contrib/hbssl/hbssls.hbc
    * Merged static .hbc files into "normal" .hbc files. Now static
      mode can be selected by setting HB_STATIC_* to 'yes' or '1'.
    ; TODO: Rename HB_QT_STATIC to HB_STATIC_QT.
    ; TODO: Document new setting in install.

  * contrib/hbssl/tests/test.prg
    ! Fixed warning.

  * utils/hbmk2/hbmk2.prg
    % Cleaned code path in --hbrefs mode.
2010-07-08 15:33:04 +00:00
Viktor Szakats
6f62ea6086 2010-07-08 14:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbrun/hbrun.prg
    ! Fixed to open .dbf passed on the cmdline in shared mode.
2010-07-08 12:54:57 +00:00
Viktor Szakats
215d789c6d 2010-07-08 13:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added --hbref option which outputs project references (.hbc) 
      to stdout in machine parsable format.
2010-07-08 11:22:51 +00:00
Przemyslaw Czerpak
22100001e8 2010-07-08 12:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbpp.h
  * harbour/include/hbmacro.h
  * harbour/include/hbcomp.h
  * harbour/include/hbcompdf.h
  * harbour/include/hbexprb.c
  * harbour/src/pp/ppcore.c
  * harbour/src/compiler/hbmain.c
  * harbour/src/vm/macro.c
    ! fixed code used to decide about early and late macro
      evaluation in codeblocks to be exactly Clipper compatible.
      Now if codeblock contains at least one macro variable
      (i.e.: &var, any&var, any&var.2) then it's always early
      evaluated.
      Please remember that codeblocks which contains only simple
      macro variable ( &var[.] ), i.e.:
         {|| &var }
      are modified during compilation by Clipper and Harbour compilers to:
         &( "{||" + var + "}" )
      and then PCODE is generated. It allows to use LOCALs, STATICs and
      FIELDs as 'var' in such expressions. In xHarbour above functionality
      was extended to work also with macrotext variables, i.e.:
         {|| &var.2 }
      If you think it's important extension then I can make the same
      in Harbour or I can even implement it for all codeblock expressions
      with macros using declared non memvar symbols, i.e.
         {|| &var + 1 }
      what should effectively eliminate E0047 compile time error
    ! fixed compile time error E0042 "Macro of declared symbol..."
      to be generated with the same conditions as in Clipper.
    ! fixed compile time error E0047
         "Code block contains both macro and declared symbol references..."
      to be generated with the same conditions as in Clipper.
      Note: -km switch disables macro text evaluation so also above errors
      unless macro is not used in codeblock

      Warning: above modifications can cause compile time errors in some
               code which was not Clipper compatible and in such case they
               will have to be updated.

  * harbour/utils/hbtest/rt_math.prg
    ! updated code with Clipper incompatible code exploited by above
      modifications
2010-07-08 10:35:53 +00:00
Viktor Szakats
408c49807b 2010-07-08 11:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/hbxpatch.hbs
  * utils/hbmk2/hbmk2.prg
  * contrib/make.hbs
  * config/postinst.hbs
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idefunctions.prg
    * hbmk2 rooted filename/path handling functions renamed.
      Now they are in sync with hbmk2_*() (plugin) flavour.
      With their new names they could even be included in core,
      by adding an hb_ prefix to them.
    * Renamed one internal constant in hbmk2.

  * contrib/hbide/idemisc.prg
    - Deleted unused hbmk2 function.
2010-07-08 09:57:52 +00:00
Jacek Kubica
f673cc2124 2010-07-08 09:28:30 +00:00
Viktor Szakats
8e2179ea01 2010-07-08 10:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmysql/tmysql.prg
    ! Fixed indentation.
2010-07-08 08:25:25 +00:00
Jacek Kubica
fbb5b7f574 2010-07-08 08:15:17 +00:00
Viktor Szakats
53093e704f 2010-07-08 09:24 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/macro.c
  * src/vm/hashes.c
  * src/vm/itemapi.c
  * src/vm/hvm.c
  * src/vm/arrays.c
  * src/vm/extend.c
  * src/common/expropt1.c
  * src/common/expropt2.c
  * src/rtl/hbgtcore.c
  * src/compiler/hbmain.c
  * include/hbgtcore.h
  * include/hbmacro.h
  * include/hbapi.h
  * include/hbapiitm.h
  * include/hbvm.h
  * include/hbcomp.h
  * include/hbexprop.h
    * Variable name cleanups.
    * Corrections/completions in declarations.
2010-07-08 07:24:58 +00:00
Viktor Szakats
b03d24742a 2010-07-08 08:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/filesys.c
  * src/rtl/filebuf.c
  * src/rtl/fssize.c
    * HB_FOFFSET vars renamed to have n prefix (instead of ul and ll)

  * contrib/make.hbs
    ! Fixed output dirs in stdalone mode.

  * contrib/hbsqlit3/hbsqlit3.c
  * contrib/hbwin/olecore.c
  * contrib/hbwin/win_bmp.c
    * HB_SIZE vars renamed.

  * utils/hbmk2/hbmk2.prg
    % Never delete the same file twice in -hbimplib -clean mode.
2010-07-08 06:50:49 +00:00
Pritpal Bedi
b5417e890f 2010-07-07 23:20 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbide.prg
    ! Fixed: no-show of source's contents when a panel was hosting 
      only one source. Now source is visible loaded.
2010-07-08 06:20:38 +00:00
Pritpal Bedi
c20d0cbbab 2010-07-07 18:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idemisc.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/idestylesheets.prg
  * contrib/hbide/setup.ui
    + Implemented: application of constructed gradients to hbIDE components. 
      Now n number of gradients can be defined to be applied to 
      hbIDE. "Toggle Animation" respects these settings as well.
      <Setup Dialog><Themes> provides you with necessary constructs
      to define and apply. Still the last applied is not saved: TODO.
      So next run will revert to defaults as per animation mode.
2010-07-08 01:48:10 +00:00
Viktor Szakats
8e23274cd7 2010-07-07 23:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rdd/sdf1.c
  * src/rdd/delim1.c
  * include/hbrddsdf.h
  * include/hbrdddel.h
    * HB_SIZE/HB_FOFFSET renames in structs (ul* -> n*).
      (objects verified)

  * include/hbcomp.h
  * include/hbapicdp.h
    * More HB_SIZE var renames (in decl only).

  * src/rtl/filesys.c
  * include/hbapifs.h
    * HB_FOFFSET renames (ul*, ll* -> n*).
      (object verified)
2010-07-07 21:11:33 +00:00
Viktor Szakats
11df16acf8 2010-07-07 22:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/fm.c
    ! Fixed two remaining format strings for size value.

  * src/nortl/nortl.c
    ! Fixed format strings for size value. (BTW the signedness
      differs from fm.c, is this intended?)
    * long -> HB_ISIZ in fm stat.

  * src/rdd/dbfcdx/dbfcdx1.c
    * HB_ULONG -> HB_SIZE in hb_cdxSortSortPage().

  * src/nortl/nortl.c
  * src/macro/macrolex.c
  * src/rtl/gtwin/gtwin.c
  * src/rtl/gtstd/gtstd.c
  * src/rtl/gtcgi/gtcgi.c
  * src/rtl/gtpca/gtpca.c
  * src/rtl/gtwvt/gtwvt.c
  * src/rdd/dbfntx/dbfntx1.c
  * src/rdd/dbfnsx/dbfnsx1.c
  * src/rdd/dbfcdx/dbfcdx1.c
  * src/rdd/dbsql.c
  * src/rdd/wacore.c
  * src/rdd/sdf1.c
  * src/rdd/dbcmd.c
  * src/rdd/delim1.c
  * src/rdd/dbf1.c
  * src/rdd/hsx/hsx.c
  * src/rdd/usrrdd/usrrdd.c
  * src/rdd/hbsix/sxfname.c
  * src/rdd/hbsix/sxtable.c
  * src/rdd/hbsix/sxutil.c
  * src/rdd/hbsix/sxcompr.c
  * src/rdd/hbsix/sxcrypt.c
    * HB_SIZE/HB_ISIZ variables renamed.
      (objects verified)
2010-07-07 20:52:45 +00:00
Viktor Szakats
2080c12848 2010-07-07 20:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    ! Fixed stdalone mode to create target in their usual GNU Make
      target dir.
    ! Fixed HB_BUILD_NAME handling.

  * INSTALL
  * utils/Makefile
  * config/postinst.hbs
    % Changed postinst to create .hbl file on its own behalf without 
      calling hbi18n.
2010-07-07 18:42:26 +00:00
Pritpal Bedi
b0f79df642 2010-07-07 10:49 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idesaveload.prg
  * contrib/hbide/idestylesheets.prg
  * contrib/hbide/setup.ui
    + Implemented: application themes - a work-in-progress yet for 
      final implementation. Just have a fun to play with it currently.
      Next commit will see it to real fruitation.
2010-07-07 17:54:56 +00:00
Viktor Szakats
d01a607625 2010-07-07 19:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/pp/ppcore.c
    ! Extended one variable type to HB_ISIZ from int after
      latest PP modifications. Shown by msvc64.
2010-07-07 17:03:33 +00:00
Viktor Szakats
c863e84065 2010-07-07 18:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/macro.c
    ! Added missing renames from prev session.

  * src/common/expropt1.c
  * src/common/expropt2.c
  * src/compiler/hbmain.c
  * src/compiler/harbour.yyc
  * src/compiler/harbour.y
  * include/hbcompdf.h
  * include/hbexpra.c
  * include/hbexprb.c
    * Some final renames in compiler area.
      (compiler objects verified)

  * contrib/make.hbs
    * Updated header.
2010-07-07 16:53:35 +00:00
Viktor Szakats
f9270e4a0e 2010-07-07 18:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/compiler/ppcomp.c
  * src/compiler/hbmain.c
  * src/compiler/hbpcode.c
  * src/compiler/hbdead.c
  * src/compiler/gencc.c
  * src/compiler/hblbl.c
  * include/hbcompdf.h
    * lPCodeSize -> nPCodeSize
    * pulLabels -> pnLabels
      (objects verified)
2010-07-07 16:14:11 +00:00
Viktor Szakats
f1bea060aa 2010-07-07 18:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/compiler/hbmain.c
  * src/compiler/hbfix.c
  * src/compiler/hbdbginf.c
  * src/compiler/hbpcode.c
  * src/compiler/genhrb.c
  * src/compiler/hbdead.c
  * src/compiler/genc.c
  * src/compiler/hbopt.c
  * src/compiler/gencc.c
  * src/compiler/hblbl.c
  * src/compiler/harbour.yyc
  * src/compiler/hbstripl.c
  * src/compiler/harbour.y
  * include/hbcomp.h
  * include/hbcompdf.h
  * include/hbexprb.c
    * lPCodePos -> nPCodePos
      (objects verified)
2010-07-07 16:09:23 +00:00
Viktor Szakats
fca2161dd5 2010-07-07 18:03 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/compiler/ppcomp.c
  * src/compiler/hbmain.c
  * src/compiler/hbdbginf.c
  * src/compiler/hbpcode.c
  * src/compiler/genhrb.c
  * src/compiler/hbdead.c
  * src/compiler/hbopt.c
  * src/compiler/genc.c
  * src/compiler/hbident.c
  * src/compiler/gencc.c
  * src/compiler/hbcmplib.c
  * src/compiler/hblbl.c
    * HB_SIZE/HB_ISIZ variable rename.
      (objects verified)
2010-07-07 16:04:25 +00:00
Viktor Szakats
a892e7e868 2010-07-07 17:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbcomp.h
    ! Renamed back one variable in header which caused an 
      avalanch of problems in .c code.
      I'll redo this later.
2010-07-07 15:25:43 +00:00