Commit Graph

17597 Commits

Author SHA1 Message Date
Pritpal Bedi
bc8bf71afd 2012-08-26 23:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/listbox.prg
    + Extended: method :addItem( cText, qImage ) in XbpListBox() class.
       This is Harbour extension, Xbase++ does not accepts <qImage>.

  + contrib/hbide/resources/dc_class.png
  + contrib/hbide/resources/dc_method.png
  + contrib/hbide/resources/dc_procedure.png
  * contrib/hbide/docks.prg
  * contrib/hbide/editor.prg
  * contrib/hbide/hbide.qrc
  * contrib/hbide/main.prg
  * contrib/hbide/misc.prg
  * contrib/hbide/tags.prg
    + Added: icons to represent the type of identifier in <Functions List>.
       The following four types are considered:
          1. Class  2. Method  3. Procedure  4. Function 
       STATIC FUNCTION/PROCEDURE is considered normal FUNCTION/PROCEDURE.
2012-08-27 06:31:13 +00:00
Pritpal Bedi
bb57f9070a 2012-08-26 17:46 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/edit.prg
    * Fixed: a small glich in building the aligned line.
2012-08-27 00:47:36 +00:00
Pritpal Bedi
f148efd20f 2012-08-26 16:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/docks.prg
  * contrib/hbide/edit.prg
  * contrib/hbide/editor.prg
  * contrib/hbide/hbide.qrc
  + contrib/hbide/resources/align_at.png
  * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp
    + Implemented: aligning a selected-text fragment (column-selection mode)
       to a contained string. The activation is selected-text toolbar icon
       <Align At...>. This activation presents a input dialog to provide
       string to align-at. The following illustration will make it clear:
      
          abc := 212
          bcdefg := 323
          a := 413
          xyzab := 33
       =>
          Select above lines with column-selection mode
          Clock on <Align At...> icon
          Type ":=" in the input dialog
       =>
          abc    := 212
          bcdefg := 323
          a      := 413
          xyzab  := 33
2012-08-26 23:42:35 +00:00
Pritpal Bedi
fdcd2b3fad 2012-08-25 23:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp
    + Pair-matching of DO CASE/ENDCASE and DO WHILE/ENDDO.

  * contrib/hbide/docks.prg
  * contrib/hbide/hbqtoolbar.prg
  * contrib/hbide/saveload.prg
  * contrib/hbide/setup.ui
    + Implemented: <Setup><HbIDE Setup><General><Show Selection Toolbar>.
       This toggle the selected-text toolbar to appear as soon as 
       selection process starts.

    + Enhanced: Selected-text toolbar orientation for column-selection mode.
       It is now verutical and is positioned 30 pixels to the right of 
       selected rectangle. Also toolbar never leaves the top and bottom 
       edges of editing-instance's viewport.
2012-08-26 06:10:51 +00:00
Pritpal Bedi
ab5180dcf1 2012-08-24 22:31 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/docks.prg
  * contrib/hbide/edit.prg
  * contrib/hbide/editor.prg
    ! Refined: selected-text's in-line toolbar; its positioning and 
       the actions which bring it up and hide. Now toolbar has title-bar
       and X button, and is positioned in the center of the 
       editing-instance horizintally. Vertical it follows the cursor
       position but one line down.
2012-08-25 05:37:20 +00:00
Pritpal Bedi
d0b8fc0e68 2012-08-24 10:13 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/docks.prg
  * contrib/hbide/edit.prg
  * contrib/hbide/main.prg
    + Implemented: in-place toolbar of actions belonging to selected text.
       The moment selection of text is initiatiated, either via keyboard
       or mouse, a highlighted toolbar will follow the current cursor 
       position containing actions pertaining to selected text. The toolbar
       will hide itself as soon as selection process is over. This seems 
       to be natural as such but opinions are welcome. Also I foresee
       some other attributes which can be implemented on this protocol,
       which may follow in next commits.
2012-08-24 17:19:48 +00:00
Przemyslaw Czerpak
1e9941267e 2012-08-24 16:17 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/contrib/make.hb
    * enable concurrent compilation of contrib projects when -j<n>
      GNU make switch is used. It reduced compilation time of clean
      Harbour SVN tree in my system from 5m:16s to 2m:30s
      Please review me. I do not know if chose good place to enable it.
2012-08-24 14:17:52 +00:00
Przemyslaw Czerpak
ded42b8090 2012-08-24 15:04 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbdefs.h
    ! typo defien -> define
2012-08-24 13:05:01 +00:00
Przemyslaw Czerpak
f44b40c3ef 2012-08-24 15:01 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/doc/locks.txt
  * harbour/extras/hbapollo/ttable.prg
  * harbour/extras/hbapollo/use.c
  * harbour/extras/hbapollo/tindex.prg
  * harbour/extras/hbapollo/tools.c
  * harbour/extras/hbapollo/ttag.prg
  * harbour/extras/hbapollo/unsix.ch
  * harbour/extras/hbxlsxml/hbxlsxml.hbp
  * harbour/extras/hbxlsxml/xlsxml.prg
  * harbour/extras/hbxlsxml/xlsxml_s.prg
  * harbour/extras/hbxlsxml/tests/example.prg
  * harbour/extras/hbxlsxml/tests/example2.prg
  * harbour/extras/hbxlsxml/tests/example3.prg
  * harbour/extras/hbxlsxml/tests/hbmk.hbm
  * harbour/extras/hbxlsxml/xlsxml_y.prg
  * harbour/bin/3rdpatch.hb
  * harbour/contrib/hbxbp/tests/xbpqtc.prg
  * harbour/contrib/hbxbp/crt.prg
  * harbour/contrib/make.hb
  * harbour/contrib/gtwvg/genrc.prg
  * harbour/contrib/hbqt/tests/cls_dbstruct.prg
  * harbour/contrib/hbqt/tests/browarray.prg
  * harbour/contrib/hbqt/tests/ideui.hbp
  * harbour/contrib/hbqt/tests/dbfbrowserclass.prg
  * harbour/contrib/hbqt/tests/dbstruct.prg
  * harbour/contrib/hbqt/tests/dbfbrowser.prg
  * harbour/contrib/hbqt/qtsvg/hbqt_init.cpp
  * harbour/contrib/hbqt/qtsvg/hbqtsvg.hbm
  * harbour/contrib/hbqt/qtsvg/hbqtsvg.hbp
  * harbour/contrib/hbqt/qtsvg/hbqtsvg.ch
  * harbour/contrib/hbqt/qtsvg/hbqtsvg.hbc
  * harbour/contrib/hbqt/qtsvg/hbqtsvgs.hbp
  * harbour/contrib/hbqt/qtsvg/qth/filelist.hbm
  * harbour/contrib/hbqt/qtsvg/hbqtsvg.hbx
  * harbour/contrib/hbqt/gtqtc.hbc
  * harbour/contrib/hbqt/gtqtc/gtqtc.hbm
  * harbour/contrib/hbqt/gtqtc/gtqtc.h
  * harbour/contrib/hbqt/gtqtc/gtqtc.hbp
  * harbour/contrib/hbqt/gtqtc/gtqtc.hbc
  * harbour/contrib/hbqt/gtqtc/gtqtcs.hbp
  * harbour/contrib/hbqt/gtqtc/gtqtc.cpp
  * harbour/contrib/hbide/console.prg
  * harbour/contrib/hbide/uisrcmanager.prg
  * harbour/contrib/hbide/changelog.prg
    ! fixed hardcoded CRLF EOLs
    ! set svn:eol-style to native
    ! set svn:keywords to Author Date Id Revision
2012-08-24 13:03:57 +00:00
Przemyslaw Czerpak
ec1b3a94fc 2012-08-24 14:25 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/3rd/tiff/LICENSE
    ! fixed EOLs and set svn:eol-style to native

  * harbour/src/3rd/tiff/tiff.dif
    * rediffed with
         hbmk2 ../../../bin/3rdpatch.hb -rediff
2012-08-24 12:25:37 +00:00
Przemyslaw Czerpak
1af506b1d4 2012-08-24 14:11 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbapicls.h
  * harbour/src/vm/classes.c
    + added new C function:
         PHB_ITEM hb_objGetVarPtr( PHB_ITEM pObject, PHB_DYNS pVarMsg );
      it returns pointer to object instance variable

  * harbour/src/rtl/tclass.prg
    * cleand parameter name

  * harbour/contrib/hbmisc/spd.c
    * removed unnecessary comment for older version which didn't use
      hb_snprintf()
    * formatting

  * harbour/contrib/hbmxml/3rd/minixml/config.h
    % use hb_snprintf() and hb_vsnprintf() instead of local emulation
      based on CRTL sprintf()

  * harbour/include/hbdefs.h
    + added HB_PF64 definition - it's printf format for HB_[UI]64 type

  * harbour/src/3rd/tiff/print.c
  * harbour/src/3rd/tiff/tiffconf.h
    ! use HB_PF64 instead of PFLL

  * harbour/src/3rd/tiff/tiffconf.h
    + added TIFF_FILE_HANDLE definition

  * harbour/src/3rd/tiff/tiffio.h
    ! use TIFF_FILE_HANDLE

  * harbour/src/3rd/tiff/dirread.c
    ! fixed typo in TIFF_UINT32_MAX definition

  * harbour/src/3rd/tiff/Makefile
    ! enabled fcntl.h in *unix builds

  * harbour/src/3rd/tiff/tiff.dif
    * updated
2012-08-24 12:11:59 +00:00
Pritpal Bedi
e56f5aed90 2012-08-23 21:25 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/gtwvg.c
    - Reverted: last commit. It was by mistake and went unnoticed,
       ageing eyes.
2012-08-24 04:27:51 +00:00
Pritpal Bedi
31b8ba7704 2012-08-23 19:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/edit.prg
    ! Enhanced: tab-key and shift-tab-key management.
2012-08-24 02:46:24 +00:00
Pritpal Bedi
78f8378d95 2012-08-23 18:57 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp
    ! Fixed: a small visual glich; result of prev commit.
2012-08-24 02:15:06 +00:00
Pritpal Bedi
f604ff1760 2012-08-23 18:57 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp
    * Optimizations: pair-matching of Harbour control structures
       shifted to C++ level and made in-line, no need to click 
       on the keywords. Pairs are highlighted while navigaing the 
       source. This is spontaneous.

    ! Tab key to behave differently while in column-selection mode.
       Before tab spaces were inserted at the last column selected,
       now it is first column selected, which is the normal behavor.

    % While in selection mode, pair-matching is disabled, giving 
       us speed advantage.         

    - Removed: PRG block call on QEvent_MouseButtonPress.
2012-08-24 02:04:13 +00:00
Pritpal Bedi
3db7669472 2012-08-23 10:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/edit.prg
  * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.h
    * Optimizations: exlanation in next commit.
2012-08-23 17:58:27 +00:00
Pritpal Bedi
6a7e1752f6 ! Miss from prev commit. 2012-08-23 02:09:39 +00:00
Pritpal Bedi
f2b30d6fe2 2012-08-22 19:03 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp
    ! Refined: the way bookmarks were published. Now line-area's
       background is painted with the same color that of bookmark 
       line, instead of inreasing the width of line-area and painting 
       a rectangle at the left side. This had two unwanted effects:
        1. A flicker of entire editing area,
        2. Selection of text by mouse was leaving a weired trail sometimes.
2012-08-23 02:08:20 +00:00
Pritpal Bedi
610dfcd245 2012-08-22 17:36 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/dict.prg
  * contrib/hbide/edit.prg
  * contrib/hbide/themes.prg
    + Implemented: The concept of <User-Dictionaries> for sake of 
       syntax highlighting and case conversion while editing a 
       source. User has the ability to pull keywords from :
         a. standard text file (.txt),
         b. Harbour's symbol collection mechanism knows 
            as .hbx files, 
         c. a text file with the extension .dic (xMate),
         d. or any other type of text file ( be careful ).
       
       Dictionaries can be kept activated/deactivated.

       The following attributes can be assigned to the keywords:
         1. Bold
         2. Italic
         3. Underlined
         4. Text Color
         5. Back Color
         6. Case Sensitivity : from coloring point of view

       Keywords can be attributed to be converted to:
         1. As is typed by the user
         2. Upper-cased
         3. Lower-cased
         4. As published in the dictionary.

       All changes in the dictionary management are reflective 
       in next run of HbIDE. The changes cannot be made effective inline.
       
    ; This commit completes a long-standing and much requested feature.
2012-08-23 00:51:35 +00:00
Pritpal Bedi
16c128285a 2012-08-22 09:48 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/dict.prg
  * contrib/hbide/misc.prg
  * contrib/hbide/saveload.prg
  * contrib/hbide/setup.ui
    + Advanced: User-Dictionaries.
2012-08-22 16:49:14 +00:00
Pritpal Bedi
015096ef78 2012-08-21 10:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/actions.prg
    - Removed: some options which cannot be implemented, at least 
       from here.
  * contrib/hbide/dict.prg
  * contrib/hbide/saveload.prg
  * contrib/hbide/setup.ui
  * contrib/hbide/themes.prg
    + Advanced: User-Dictionaries.
2012-08-21 17:05:39 +00:00
Pritpal Bedi
c5e2bba504 2012-08-20 20:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/dict.prg
    + Added: line number to the Book-Mark button's tooltip.

  * contrib/hbide/edit.prg
  * contrib/hbide/saveload.prg
    + Advanced: the user-interface elements needed to implement 
       User-Dictionaries, still a work-in-progress.
2012-08-21 03:03:09 +00:00
Pritpal Bedi
36e0df723d 2012-08-20 17:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/docks.prg
  * contrib/hbide/edit.prg
  * contrib/hbide/editor.prg
    + Implemented: tooltip on BookMark Buttons. 
       The tooltip content will be the source line over which 
       visited bookmark is installed. With many bookmarks active, 
       one tends to forget which belongs to what and where one 
       wants to jump. This is very handy visual element in those 
       situations.
2012-08-21 00:05:13 +00:00
Pritpal Bedi
3dd29be785 2012-08-20 16:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/edit.prg
    + Enhanced: Alignment of assigment opertaor ":=" on previous lines
       now honors SELF:instanceVariable := also. For Example,

         ::oBrw:nTop := 12
         ::oBrw:nBottom :=.
       =>
         ::oBrw:nTop    := 12
         ::oBrw:nBottom :=.
2012-08-20 23:33:43 +00:00
Pritpal Bedi
c78710d2cc 2012-08-20 14:25 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/edit.prg
    ! Refined: Alignment of assigment opertaor ":=" on previous lines
      starting at the same indent position. Now object:variable := 
      is also honoured. For example:

         oError:severity    := ES_ERROR
         oError:args :=.
      =>
         oError:severity    := ES_ERROR
         oError:args        :=.
2012-08-20 21:34:34 +00:00
Przemyslaw Czerpak
3e5d6da1bd 2012-08-20 11:17 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbgtinfo.ch
    + added new hb_gtInfo() action: HB_GTI_UNITRANS
      It allows to set translation table for UNICODE characters

  * harbour/src/rtl/gtwvt/gtwvt.c
  * harbour/src/rtl/gtwvt/gtwvt.h
    + added support for HB_GTI_UNITRANS - due to limited support
      for unicode vlaues in MS-Windows raster fonts it's necessary
      for some custom fonts.

  * harbour/src/rtl/tpersist.prg
    + implemented 2-nd parameter <lIgnoreErrors> in ::LoadFromFile()
      and ::LoadFromText() methods

  * harbour/src/rtl/cdpapi.c
    * indenting
2012-08-20 09:17:42 +00:00
Pritpal Bedi
fc210bd5db 2012-08-19 17:34 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hb
    ! Fixed: the treatment of html compliant ->setToolTip( calls.
       It has been tedius because it went unnoticed due to Qt versions 
       where they always keep on changing the string treatment.
       This fixes issue reported on users list.
2012-08-20 00:38:09 +00:00
Pritpal Bedi
f9693d6f70 2012-08-19 13:49 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp
    ! Reinstated: execution of Mouse events to PRG level. These events 
       cannot be catched with our existing event handeller, probably 
       Qt does not propogate them to the widget in QPlainTextEdit().

  * contrib/hbide/edit.prg
    + Implemented: <Setup><HbIDE Setup><Intelli-sense><Align Operator := to Prev Lines>
       If activated you will experience the following behavior:
         IF lThis            
            abc := 200       /* . == editing cursor */
            bcdefghijk :=.
         ENDIF 
       =>
         IF lThis
            abc        := 200
            bcdefghijk :=.
         ENDIF 

       You continue:

         IF lThis
            abc        := 200
            bcdefghijk := 3044
            x :=.
         ENDIF 
       =>
         IF lThis
            abc        := 200
            bcdefghijk := 3044
            x          :=.
         ENDIF
2012-08-19 21:01:11 +00:00
Pritpal Bedi
423e18e6d9 2012-08-16 23:49 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/tests/browarray.prg
    + Added: Insert and Delete Rows functionality.
       Already present push buttons allowed it to do fast.
2012-08-17 06:52:25 +00:00
Pritpal Bedi
7e41002aa1 2012-08-16 18:52 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
+ contrib/hbqt/tests/browarray.prg
    + Added: an array browser which also allows to add data rows 
       to the existing array. This facilitates the understanding 
       of HBQAbstractItemModel()'s internal working. This commit 
       answers to many question posted in the mailing-list and 
       also directed to my mail-box.
2012-08-17 01:55:52 +00:00
Pritpal Bedi
cfb59dc270 2012-08-15 15:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/edit.prg
    ! Fixed: a nasty side-effect of pair-matching; weired editing behaviour.
       Now another click will clear the matching but keeping the cursor
       position at its previous row/column. You may need to click twice 
       to place cursor at desired position if matched/pair is active.
2012-08-15 22:58:27 +00:00
Pritpal Bedi
85fad9905c 2012-08-15 14:17 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/edit.prg
    + Added: class/endclass, function|procedure|method/return to control 
       structures list, for the purpose of highlighting pairs.

    ! Refined: the cuursor position exactly where it should been after 
       highlight operation.
2012-08-15 21:22:13 +00:00
Pritpal Bedi
d97b68b732 2012-08-15 02:51 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp
    * Called: <block> on QEvent::MouseButtonPress. For unknown reasons
       this event is not being received on PRG level with current 
       mechanism [TOBE: investigated].

  * contrib/hbide/edit.prg
  * contrib/hbide/editor.prg
    + Implemented: highlighting matching control structure.
       The supported matches are: 
         if/endif; do while/enddo; do case/endcase; switch/endswitch; for/next
    ; HOWTO: click on any control strucure keyword as above, this and 
             its matching pair will be highlighted. Next click will clear the 
             previous one and initiate the new match. Any key will clear the 
             current match.
2012-08-15 09:59:23 +00:00
Pritpal Bedi
e638eb5749 2012-08-14 23:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/edit.prg
  * contrib/hbide/editor.prg
    % Optimized: collection of variables:
       a) longer than 3 characters,
       b) variable is collected if space,coma,collon " ,:" follows it.

    + Started: matching of control structures, a work-in-progress.
2012-08-15 06:50:03 +00:00
Pritpal Bedi
ae2d2c5599 2012-08-14 20:07 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/edit.prg
  * contrib/hbide/editor.prg
    + Implemented: collection of variables while editing the source
       and making them available next time that variable is started 
       to be typed again. Thus collected variable is populated in 
       Code Completion List of Prototypes and Keywords. This is a 
       productivity tool and comes handy where one is addict to 
       long variable names.
2012-08-15 03:11:20 +00:00
Pritpal Bedi
fabb233269 2012-08-14 16:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QTextCursor.qth
    ! Fixed: a nasty overlook.
2012-08-14 23:46:53 +00:00
Przemyslaw Czerpak
3ac75bd18e 2012-08-14 12:44 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/valtype.c
    * modified HB_ISEVALITEM() to use HB_IS_EVALITEM() macro

  * harbour/src/pp/ppcore.c
    ! fixed typo in .ppt file handle - many thanks to Teo Fonrouge
      for the information about the problem.

  * harbour/include/hbthread.h
  * harbour/src/vm/thread.c
    + added new C function:
         HB_THREAD_NO hb_threadNO( void )
      it returns unique thread number

  * harbour/src/vm/classes.c
    * cleaned static function names

  * harbour/src/rdd/dbffpt/dbffpt1.c
    * use RDDINFO() method instead of direct access to RDD TSD data

  * harbour/src/rdd/dbfntx/dbfntx1.c
  * harbour/src/rdd/dbfnsx/dbfnsx1.c
    * changed initialization method - now RDD TSD data is initialized
      by each thread which access it. It resolves the problem with
      memo type in NSX and NTX RDDs - it was SMT/DBT in main thread
      but in child threads default FPT driver was used.

  * harbour/tests/speedtst.prg
    ! fixed xHarbour compilation - it was broken by HB_EOL()
2012-08-14 10:44:42 +00:00
Pritpal Bedi
c44d7e8bf9 2012-08-13 22:52 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/edit.prg
    + Implemented: <Class Declaration> complete with class name.
        CLASS abc .
          OR
        CREATE CLASS abc .
          =>
        CREATE CLASS abc .
           DATA   xDummy                                  INIT NIL

           METHOD new()
           METHOD create()

           ENDCLASS 

        METHOD new() CLASS abc

           RETURN Self 

        METHOD create() CLASS abc

           RETURN Self
2012-08-14 05:58:11 +00:00
Pritpal Bedi
8ba895ce8e 2012-08-13 22:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/edit.prg
  * contrib/hbide/saveload.prg
  * contrib/hbide/setup.ui
    + Added: flag to toggle <Function Declaration> [YES].
    + Implemented: <Setup><HbIDE Setup><Intelli-sense><Class Declaration> [YES]
       [Data Member][VAR], [METHODS][new], [FORMAT][class:method]
        These are self explanatory, please report deviations.
2012-08-14 05:36:14 +00:00
Pritpal Bedi
95c834188a 2012-08-13 09:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/dict.prg
    % Added: some more data members, q work-in-progress.

  * contrib/hbide/themes.prg
    * Minor.

  * contrib/hbide/setup.ui
  * contrib/hbide/edit.prg
  * contrib/hbide/saveload.prg
    + Added: <Setup><HbIDE Setup><Intelli-sense><Function Declaration>
       To Toggle [LOCAL] [YES], [RETURN] [YES], [SEPERATOR] [YES], [DOCUMENTATION] [NO] [TOBE]
         FUNCTION|function|Function|fUnCtioN .
          =>
         FUNCTION .
            LOCAL 

            RETURN 

         /*....................*/ // User defined separator line
                                  // and a blank line after the separator
2012-08-13 16:41:42 +00:00
Pritpal Bedi
f37275a6bd 2012-08-11 22:52 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/edit.prg
    ! Fixed: undo stack was behaving weired once statement structures
       were inserted.
    % Changed: the behaviour of "Embrace Lines on Same Indent", activable
       from <Setup><HbIDE Setup><Intelli-sense>, not to embrace if 
       immediate next line is empty on. Here is the illustration:

          ORIGINAL:

          DO WHILE .T.
             abc := 12
             bcd += 2
             IF bcd > 200
                EXIT
             ENDIF 
          ENDDO 


          DO WHILE .T.     
             IF .          // type IF . ( dot means your cursor )
             abc := 12     // note, there is no blank line in between 
             bcd += 2      // IF . and abc := 12
             IF bcd > 200
                EXIT
             ENDIF 
          ENDDO 

          DO WHILE .T.     
             IF .          // Converted to ( dot means your cursor )
                abc := 12
                bcd += 2
                IF bcd > 200
                   EXIT
                ENDIF 
             ENDIF
          ENDDO 


          DO WHILE .T.     
             IF .          // type IF . ( dot means your cursor )
                           // note, there is a blank line in between 
             abc := 12     // IF . and abc := 12
             bcd += 2      
             IF bcd > 200
                EXIT
             ENDIF 
          ENDDO 

          DO WHILE .T.     
             IF .          // Converted to ( dot means your cursor )
             ENDIF 

             abc := 12
             bcd += 2
             IF bcd > 200
                EXIT
             ENDIF 
          ENDDO
2012-08-11 18:06:20 +00:00
Pritpal Bedi
4fcee9212e 2012-08-10 23:31 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/saveload.prg
    ! Miss from prev commit.
2012-08-11 06:32:44 +00:00
Pritpal Bedi
dda4b5c891 2012-08-10 19:43 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp
    % Code cleanup.

  * contrib/hbide/setup.ui
    + Added: a new page <Intelli-sense> next to <General>.
       It holds the user-defined values for next level of 
       source editing intellisense. Read below.

  * contrib/hbide/edit.prg
    + Implemented: most of the next level of editing intellisense 
       points are configurable by the developer. These include:
        1. To activate the closing structure of a statements
             as a whole lot [YES]
        2. To toggle IF/ENDIF [YES] ELSE [NO] Embrace Lower Lines [NO]
        3. To toggle FOR/NEXT [YES]
        4. To toggle DO WHILE/ENDDO [YES]
        5. To toggle DO CASE/ENDCASE [YES] # CASES [3] OTHERWISE [NO]  
        6. To toggle SWITCH/ENDSWITCH [YES ] # CASES [3] OTHERWISE [NO]
             EXIT on same line [NO]
        7. To toggle ADD CLOSING PARENTHESIS of a function [NO]
        8. To toggle INSERT SPACES - () >= ( . ) [NO]
        9. To toggle ADD CODEBLOCK BODY - {|. => {|.|  } [NO]
        10.To toggle ADD SPACE AFTER := [NO]
        11.To toggle ALIGN := WITH PREVIOUS LINES [NO] [TOBE]
        12.To toggle FORMAT LINE AFTER ENTER [NO] [TOBE]

    ; Please forward your suggessions.
2012-08-11 03:05:38 +00:00
Pritpal Bedi
91d12b7bec 2012-08-10 13:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_hbqslots.cpp
    ! Fixed: a wrong variable used in trace call under debug mode.
2012-08-10 20:46:51 +00:00
Pritpal Bedi
64a323b24b 2012-08-10 10:37 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/edit.prg
    + Implemented: "else" and "elseif" align to its parent if.
       This is materialized after typing a space after these keywords.
2012-08-10 17:39:33 +00:00
Pritpal Bedi
514afef0c4 2012-08-09 10:41 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/edit.prg
    + Included: qtcore; qtgui; qtnetwork; functions list to be 
       properly cased while writing the code.

    ; QUESTION: .hbx files contain upper-cased function list, 
                the only exception is harbour.hbx where functions are 
                properly cased. Is there a way to get .hbx(es) with 
                properly cased functions ?
2012-08-09 18:02:00 +00:00
Pritpal Bedi
4ff0a9734c 2012-08-08 19:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/edit.prg
    + Implemented: auto insertions of statements closing structure.
       IF, FOR, DO CASE, DO WHILE, SWITCH
        The moment you type SPACE after the statement, the next
        elements are inserted automatically. The cursor stays at 
        where . is shown:
           IF .                 Is it logical to insert ELSEIF ?
           ENDIF

           FOR .
           NEXT

           DO CASE
           CASE .               CASE can be configured to 
           CASE                 allign the DO CASE indentation 
           CASE                 or one more tab to the right.
           OTHERWISE            Also number of CASE stements.
           ENDCASE

           DO WHILE .
           ENDDO

           SWITCH .             CASE can be configured to 
           CASE                 allign the SWITCH indentation 
              EXIT              or one more tab to the right.
           CASE                 Also number of CASE stements.
              EXIT
           CASE
              EXIT
           ENDSWITCH
2012-08-09 03:09:15 +00:00
Pritpal Bedi
d22e000334 2012-08-08 17:49 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/edit.prg
  * contrib/hbide/hbide.qrc
  * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.h
  * contrib/hbqt/qtgui/qth/HBQPlainTextEdit.qth
    % Changed: the way function prototype was being displayed.
       It now take use of QToolTip() instead of QWidget/QLabel
       combination tied to editor's viewport.
2012-08-09 00:53:36 +00:00
Pritpal Bedi
49cb4dd760 2012-08-08 12:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
- contrib/hbide/hbfunc.txt
    - Removed: hbfunc.txt

  * contrib/hbide/edit.prg
    % Applied: harbour.hbx instead of hbfunc.txt provided listing 
       of Harbour core functions. Thanks Viktor for the tip.

    TODO: set right the camel casing of some function groups,
          for example, dbSetOrder => DbSetOrder and its group.
2012-08-08 19:47:48 +00:00
Pritpal Bedi
ef80fc6a28 2012-08-08 10:50 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/edit.prg
    % Some more synchronization and code clean-up.
    ! Fixed: tab was misbehaving at certain situations.
2012-08-08 17:52:11 +00:00