diff --git a/harbour/ChangeLog b/harbour/ChangeLog index d75c140b96..e5eb16be99 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,10 +16,28 @@ The license applies to all entries newer than 2009-04-28. */ +2012-08-31 05:35 UTC+0200 Viktor Szakats (harbour syenar.net) + * contrib/hbide/resources/align_at.png + * contrib/hbide/resources/browser.png + * contrib/hbide/resources/dc_class.png + * contrib/hbide/resources/dc_method.png + * contrib/hbide/resources/dc_procedure.png + * contrib/hbide/resources/dictionary.png + * contrib/hbide/resources/editor.png + * contrib/hbide/resources/launch_r.png + * contrib/hbide/resources/stringify.png + % optimized (significantly) + + * contrib/hbwin/hbwin.hbx + * contrib/hbwin/win_osc.c + * contrib/xhb/xhb.hbx + * contrib/xhb/xwin_ver.c + + added WIN_OSIS8() and xhb compatibility OS_ISWIN8() + 2012-08-30 16:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/browse.prg - % Changed: IdeDBU will be available both ways, new implemented - or previous one. Switching one mode to another will switch + % Changed: IdeDBU will be available both ways, new implemented + or previous one. Switching one mode to another will switch the parenting too. This has rendered IdeDBU versatile, really!!! 2012-08-30 15:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) @@ -33,33 +51,33 @@ * contrib/hbide/browse.prg * contrib/hbide/docks.prg * contrib/hbide/main.prg - + Implemented: future ready stacked widget as central widget of + + Implemented: future ready stacked widget as central widget of main window. For now IdeDBU is transferred to one of the stacks. - If preferred by the user, he/she can continue to work as - current. Two button on main toolbar are added. One for IdeDBU + If preferred by the user, he/she can continue to work as + current. Two button on main toolbar are added. One for IdeDBU and another for IdeEDITOR. The functionality is as such: 1. Click on the IdeDBU icon on the main toolbar. - 2. Editing interface will hide and DBU will appear occupying + 2. Editing interface will hide and DBU will appear occupying all of the HbIDE's real-estate. 3. Status-bar will disappear. - 4. Once activated, IdeDBU will not show up in right-side - docking area. If not activated via IdeDBU icon, IdeDBU + 4. Once activated, IdeDBU will not show up in right-side + docking area. If not activated via IdeDBU icon, IdeDBU can be used as before. - 5. Clicking on the IdeEDITOR icon, editing interface will be + 5. Clicking on the IdeEDITOR icon, editing interface will be restored and status-bar will show-up again. - This implementation makes HbIDE future ready in the sense that - application real-estate will never be a problem, and hence, a + This implementation makes HbIDE future ready in the sense that + application real-estate will never be a problem, and hence, a lot of diversified actions can be brought into play. - I am interested in groups views as which other parts can be + I am interested in groups views as which other parts can be brought to this new implementation, existing as well as futuristic. 2012-08-30 13:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp ! Done: pairing of #ifdef|#if - #endif. - With this commit pair highlighting is complete until someone + With this commit pair highlighting is complete until someone points to which escaped my knowledge. 2012-08-30 15:30 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) @@ -82,7 +100,7 @@ 2012-08-29 11:43 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/window.prg * Activated: QEvent_Resize signal be manipulated per Xbase++ docs. - + * contrib/hbxbp/dialog.prg ! Fixed: the way a XbpDialog() was assigned :drawingArea() (a.k.a. centralWidget()) via a .ui file. @@ -103,15 +121,15 @@ + Implemented: creation of .tag file usable as a dictionary. The activation is : - Dictionary will be created in same folder where .hbp resides - having same name with extention .tag. Thus created tags are not + Dictionary will be created in same folder where .hbp resides + having same name with extention .tag. Thus created tags are not populated in the existing list of tags. 2012-08-28 17:50 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/docks.prg * Changed: placement of Selected-text toolbar in stream-selection-mode - to position itself on one line above the current selected row if - selection is performed bottom-up. For bottom-down process, position + to position itself on one line above the current selected row if + selection is performed bottom-up. For bottom-down process, position is at one line below the current row. 2012-08-28 16:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) @@ -121,20 +139,20 @@ * contrib/hbide/edit.prg * contrib/hbide/editor.prg + Implementd: Stringify a selection. - The activation is via "Stringify" icon ( added new ) next to + The activation is via "Stringify" icon ( added new ) next to "Double to Single Quotes" icon on editing-instance top toolbar or Selected-text toolbar. - The behavior: + The behavior: Column-selection Mode : - + Simply Superb - Anyway Excellent + Anyway Excellent Left Blanks Starts Here and Ends Longer => "Simply Superb" - "Anyway Excellent" + "Anyway Excellent" " Left Blanks" "Starts Here and Ends Longer" @@ -151,8 +169,8 @@ * contrib/hbide/dict.prg * contrib/hbide/functions.prg * contrib/hbide/saveload.prg - + Added: to load HbIDE created {project_name}.tag files - for "Dictionaries" implementation.The options earlier were + + Added: to load HbIDE created {project_name}.tag files + for "Dictionaries" implementation.The options earlier were .hbx, .dic, .txt. It will save you a lot of time to create disctionaries manually. @@ -170,12 +188,12 @@ 2012-08-27 17:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/editor.prg * contrib/hbide/main.prg - + Implemented: display of code fragment of an identifier - in a separate window. This small display editor is powered - with syntax highliting, opens new window 10/20 pixels away + + Implemented: display of code fragment of an identifier + in a separate window. This small display editor is powered + with syntax highliting, opens new window 10/20 pixels away in x/y coordinates with same window size of the last opened. There is no limit to the open windows. These windows have - Qt_Sheet attribute set, so will always remain floated + Qt_Sheet attribute set, so will always remain floated on top of the main window. To activate: @@ -185,10 +203,10 @@ 4. Adjust the position and size of the window. 5. Next window will open 10/20 pixels away from this window. - This is a productivity tool. At times we need reference from + This is a productivity tool. At times we need reference from other functions and switch forth and back in the editing instances. - With this feature you can keep frequently referenced identifier, - i.e., function/method/class/procedure within viweing without + With this feature you can keep frequently referenced identifier, + i.e., function/method/class/procedure within viweing without leaving the current editing instance. 2012-08-27 21:59 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) @@ -267,7 +285,7 @@ * contrib/hbide/tags.prg + Added: icons to represent the type of identifier in . The following four types are considered: - 1. Class 2. Method 3. Procedure 4. Function + 1. Class 2. Method 3. Procedure 4. Function STATIC FUNCTION/PROCEDURE is considered normal FUNCTION/PROCEDURE. 2012-08-26 17:46 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) @@ -285,7 +303,7 @@ to a contained string. The activation is selected-text toolbar icon . 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 @@ -309,21 +327,21 @@ * contrib/hbide/saveload.prg * contrib/hbide/setup.ui + Implemented: . - This toggle the selected-text toolbar to appear as soon as + 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 + 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-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 + ! 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 + and X button, and is positioned in the center of the editing-instance horizintally. Vertical it follows the cursor position but one line down. @@ -333,9 +351,9 @@ * 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 + 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 + 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. @@ -465,16 +483,16 @@ 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 + 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. + % While in selection mode, pair-matching is disabled, giving + us speed advantage. - Removed: PRG block call on QEvent_MouseButtonPress. @@ -487,8 +505,8 @@ 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 + 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. @@ -497,15 +515,15 @@ * contrib/hbide/dict.prg * contrib/hbide/edit.prg * contrib/hbide/themes.prg - + Implemented: The concept of for sake of - syntax highlighting and case conversion while editing a + + Implemented: The concept of 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, + 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: @@ -522,9 +540,9 @@ 3. Lower-cased 4. As published in the dictionary. - All changes in the dictionary management are reflective + 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-22 09:48 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) @@ -536,7 +554,7 @@ 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 + - Removed: some options which cannot be implemented, at least from here. * contrib/hbide/dict.prg * contrib/hbide/saveload.prg @@ -550,18 +568,18 @@ * contrib/hbide/edit.prg * contrib/hbide/saveload.prg - + Advanced: the user-interface elements needed to implement + + Advanced: the user-interface elements needed to implement User-Dictionaries, still a work-in-progress. 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 + + 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-20 16:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) @@ -578,7 +596,7 @@ 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 := + starting at the same indent position. Now object:variable := is also honoured. For example: oError:severity := ES_ERROR @@ -608,28 +626,28 @@ 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 + 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-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 + ! 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: If activated you will experience the following behavior: - IF lThis + IF lThis abc := 200 /* . == editing cursor */ bcdefghijk :=. - ENDIF + ENDIF => IF lThis abc := 200 bcdefghijk :=. - ENDIF + ENDIF You continue: @@ -637,13 +655,13 @@ abc := 200 bcdefghijk := 3044 x :=. - ENDIF + ENDIF => IF lThis abc := 200 bcdefghijk := 3044 x :=. - ENDIF + ENDIF 2012-08-16 23:49 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/tests/browarray.prg @@ -652,42 +670,42 @@ 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 + + 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-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 + 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 14:17 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/edit.prg - + Added: class/endclass, function|procedure|method/return to control + + 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 + ! Refined: the cuursor position exactly where it should been after highlight operation. 2012-08-15 02:51 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp * Called: on QEvent::MouseButtonPress. For unknown reasons - this event is not being received on PRG level with current + 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: + 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. + ; 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-14 23:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/edit.prg @@ -702,10 +720,10 @@ * 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 + 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-14 16:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) @@ -755,15 +773,15 @@ METHOD new() METHOD create() - ENDCLASS + ENDCLASS METHOD new() CLASS abc - RETURN Self + RETURN Self METHOD create() CLASS abc - RETURN Self + RETURN Self 2012-08-13 22:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/edit.prg @@ -789,9 +807,9 @@ FUNCTION|function|Function|fUnCtioN . => FUNCTION . - LOCAL + LOCAL - RETURN + RETURN /*....................*/ // User defined separator line // and a blank line after the separator @@ -802,7 +820,7 @@ ! Fixed: undo stack was behaving weired once statement structures were inserted. % Changed: the behaviour of "Embrace Lines on Same Indent", activable - from , not to embrace if + from , not to embrace if immediate next line is empty on. Here is the illustration: ORIGINAL: @@ -812,50 +830,50 @@ bcd += 2 IF bcd > 200 EXIT - ENDIF - ENDDO + ENDIF + ENDDO - DO WHILE .T. + DO WHILE .T. IF . // type IF . ( dot means your cursor ) - abc := 12 // note, there is no blank line in between + abc := 12 // note, there is no blank line in between bcd += 2 // IF . and abc := 12 IF bcd > 200 EXIT - ENDIF - ENDDO + ENDIF + ENDDO - DO WHILE .T. + DO WHILE .T. IF . // Converted to ( dot means your cursor ) abc := 12 bcd += 2 IF bcd > 200 EXIT - ENDIF + ENDIF ENDIF - ENDDO + ENDDO - DO WHILE .T. + DO WHILE .T. IF . // type IF . ( dot means your cursor ) - // note, there is a blank line in between + // note, there is a blank line in between abc := 12 // IF . and abc := 12 - bcd += 2 + bcd += 2 IF bcd > 200 EXIT - ENDIF - ENDDO + ENDIF + ENDDO - DO WHILE .T. + DO WHILE .T. IF . // Converted to ( dot means your cursor ) - ENDIF + ENDIF abc := 12 bcd += 2 IF bcd > 200 EXIT - ENDIF - ENDDO + ENDIF + ENDDO 2012-08-10 23:31 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/saveload.prg @@ -867,18 +885,18 @@ * contrib/hbide/setup.ui + Added: a new page next to . - It holds the user-defined values for next level of + 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 + + 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] + 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] @@ -901,12 +919,12 @@ 2012-08-09 10:41 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/edit.prg - + Included: qtcore; qtgui; qtnetwork; functions list to be + + 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 + ; 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-08 19:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) @@ -914,7 +932,7 @@ + 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 + elements are inserted automatically. The cursor stays at where . is shown: IF . Is it logical to insert ELSEIF ? ENDIF @@ -923,8 +941,8 @@ NEXT DO CASE - CASE . CASE can be configured to - CASE allign the DO CASE indentation + 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 @@ -932,8 +950,8 @@ DO WHILE . ENDDO - SWITCH . CASE can be configured to - CASE allign the SWITCH indentation + 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 @@ -949,19 +967,19 @@ * 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. + combination tied to editor's viewport. 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 + % 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 10:50 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/edit.prg % Some more synchronization and code clean-up. @@ -970,7 +988,7 @@ 2012-08-07 21:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbfunc.txt % Extracted: function names from harbour.hbx and applied capitalization - for few groups. I really had never viewed harbour.hbx, an + for few groups. I really had never viewed harbour.hbx, an excellent repository what Harbour contains. 2012-08-07 19:42 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) @@ -989,25 +1007,25 @@ * contrib/hbide/editor.prg * contrib/hbide/saveload.prg + Implemented: auto case conversion of Harbour functions as per - disctionary which is contained inside HbIDE executable as a - resource. + disctionary which is contained inside HbIDE executable as a + resource. + Implemented: auto-tab placement based on the Harbour keyword. - So if you start typing a keyword, say at col 4, and tab-spaces - are set to 3, then that keyword will automatically placed at + So if you start typing a keyword, say at col 4, and tab-spaces + are set to 3, then that keyword will automatically placed at column 3. + Implemented: logical text operators to be converted to uppercase. These are .OR. .AND. .NOT. .F. .T. - NOTE: this commit also improves the speed of editing, plus corrects - the function names as per Harbour standards. So if a Harbour - function is called you need not to pay attention in which way + NOTE: this commit also improves the speed of editing, plus corrects + the function names as per Harbour standards. So if a Harbour + function is called you need not to pay attention in which way you are writing. You simply need to remember that opening brace - must follow the end of function which triggers the corrective + must follow the end of function which triggers the corrective action. Regression is possible to some extent, please report. You can also forward suggessions to improve the editing part. - + 2012-08-06 17:09 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/sources.prg % Remoded: redundant code parts and organized with more options. @@ -1018,14 +1036,14 @@ + Added: class QToolTip(). Note that this class is usable from within QEvent_ToolTip signal which will post QHelpEvent() object like: oWidget:connect( QEvent_ToolTip, {|oEvent| ::execEvent( QEvent_Help, oEvent ) } ) - Then + Then METHOD myClass:execEvent( nEvent, oEvent ) LOCAL oToolTip - IF oEvent:type() == QEvent_ToolTip + IF oEvent:type() == QEvent_ToolTip oToolTip := QToolTip() oToolTip:showText( oEvent:globalPos(), "some other text" ) RETURN .T. /* To stop the event chain */ - ENDIF + ENDIF RETURN .F. 2012-08-04 21:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) @@ -1033,8 +1051,8 @@ + Implemented: removal of a editng panel with confirmation. All modified sources will be confirmed to be saved if modified before a panel is removed. - ! Fixed: if order has not been changed, alert message requesting - re-loading HbIDE will not be displayed. Before the message was + ! Fixed: if order has not been changed, alert message requesting + re-loading HbIDE will not be displayed. Before the message was displayed in every click on button. 2012-08-04 00:51 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) @@ -1046,7 +1064,7 @@ * contrib/hbide/saveload.prg * contrib/hbide/tools.prg + Implemented: 1. to reorder editing panels : drag & drop mechanism - 2. to define panel tabs shape : rounded | triangular + 2. to define panel tabs shape : rounded | triangular 3. to define panel tabs position : top | left | bottom | right Activation is through icon on top-toolbar of editing area. @@ -1061,7 +1079,7 @@ * contrib/hbide/edit.prg * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp ! Fixed: tab key was misbehaving on an empty line. - ! Fixed: while in column mode, if the original text cursor was + ! Fixed: while in column mode, if the original text cursor was before logical cursor, insertion of any key was clearing the selection. An annoying bug it was. @@ -1087,7 +1105,7 @@ % use core API instead of inferior local implementation * ChangeLog - ! fixed mistyped ChangeLog entry headers in previous + ! fixed mistyped ChangeLog entry headers in previous two commits 2012-08-01 14:08 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) diff --git a/harbour/contrib/hbide/resources/align_at.png b/harbour/contrib/hbide/resources/align_at.png index ecca8eeac9..5d20a770e9 100644 Binary files a/harbour/contrib/hbide/resources/align_at.png and b/harbour/contrib/hbide/resources/align_at.png differ diff --git a/harbour/contrib/hbide/resources/browser.png b/harbour/contrib/hbide/resources/browser.png index 0d1e11a834..7d96df3d30 100644 Binary files a/harbour/contrib/hbide/resources/browser.png and b/harbour/contrib/hbide/resources/browser.png differ diff --git a/harbour/contrib/hbide/resources/dc_class.png b/harbour/contrib/hbide/resources/dc_class.png index fe97786a41..480f78c220 100644 Binary files a/harbour/contrib/hbide/resources/dc_class.png and b/harbour/contrib/hbide/resources/dc_class.png differ diff --git a/harbour/contrib/hbide/resources/dc_method.png b/harbour/contrib/hbide/resources/dc_method.png index d47433f68a..66cb68f000 100644 Binary files a/harbour/contrib/hbide/resources/dc_method.png and b/harbour/contrib/hbide/resources/dc_method.png differ diff --git a/harbour/contrib/hbide/resources/dc_procedure.png b/harbour/contrib/hbide/resources/dc_procedure.png index f490ec06c1..a9af009cb3 100644 Binary files a/harbour/contrib/hbide/resources/dc_procedure.png and b/harbour/contrib/hbide/resources/dc_procedure.png differ diff --git a/harbour/contrib/hbide/resources/dictionary.png b/harbour/contrib/hbide/resources/dictionary.png index 4bf557784a..e57abd5277 100644 Binary files a/harbour/contrib/hbide/resources/dictionary.png and b/harbour/contrib/hbide/resources/dictionary.png differ diff --git a/harbour/contrib/hbide/resources/editor.png b/harbour/contrib/hbide/resources/editor.png index 227d844c23..9e8531b907 100644 Binary files a/harbour/contrib/hbide/resources/editor.png and b/harbour/contrib/hbide/resources/editor.png differ diff --git a/harbour/contrib/hbide/resources/launch_r.png b/harbour/contrib/hbide/resources/launch_r.png index cb777413ba..020bb66d50 100644 Binary files a/harbour/contrib/hbide/resources/launch_r.png and b/harbour/contrib/hbide/resources/launch_r.png differ diff --git a/harbour/contrib/hbide/resources/stringify.png b/harbour/contrib/hbide/resources/stringify.png index 2ce1ebb7ba..ad039ea76d 100644 Binary files a/harbour/contrib/hbide/resources/stringify.png and b/harbour/contrib/hbide/resources/stringify.png differ diff --git a/harbour/contrib/hbwin/hbwin.hbx b/harbour/contrib/hbwin/hbwin.hbx index a94e0abdab..965c2bf28d 100644 --- a/harbour/contrib/hbwin/hbwin.hbx +++ b/harbour/contrib/hbwin/hbwin.hbx @@ -350,6 +350,7 @@ DYNAMIC WIN_OSIS2000 DYNAMIC WIN_OSIS2000ORUPPER DYNAMIC WIN_OSIS2003 DYNAMIC WIN_OSIS7 +DYNAMIC WIN_OSIS8 DYNAMIC WIN_OSIS95 DYNAMIC WIN_OSIS98 DYNAMIC WIN_OSIS9X diff --git a/harbour/contrib/hbwin/win_osc.c b/harbour/contrib/hbwin/win_osc.c index 4f809c7edc..e7e6be406f 100644 --- a/harbour/contrib/hbwin/win_osc.c +++ b/harbour/contrib/hbwin/win_osc.c @@ -138,6 +138,13 @@ HB_FUNC( WIN_OSIS7 ) hb_retl( osvi.dwMajorVersion == 6 && osvi.dwMinorVersion == 1 ); } +HB_FUNC( WIN_OSIS8 ) +{ + OSVERSIONINFO osvi; + getwinver( &osvi ); + hb_retl( osvi.dwMajorVersion == 6 && osvi.dwMinorVersion == 2 ); +} + HB_FUNC( WIN_OSIS9X ) { OSVERSIONINFO osvi; diff --git a/harbour/contrib/xhb/xhb.hbx b/harbour/contrib/xhb/xhb.hbx index 8d8dca2664..a89fa6f1fd 100644 --- a/harbour/contrib/xhb/xhb.hbx +++ b/harbour/contrib/xhb/xhb.hbx @@ -329,6 +329,7 @@ DYNAMIC OS_ISWIN2000 DYNAMIC OS_ISWIN2000_OR_LATER DYNAMIC OS_ISWIN2003 DYNAMIC OS_ISWIN7 +DYNAMIC OS_ISWIN8 DYNAMIC OS_ISWIN95 DYNAMIC OS_ISWIN98 DYNAMIC OS_ISWIN9X diff --git a/harbour/contrib/xhb/xwin_ver.c b/harbour/contrib/xhb/xwin_ver.c index 79b6067486..ff35c17bdd 100644 --- a/harbour/contrib/xhb/xwin_ver.c +++ b/harbour/contrib/xhb/xwin_ver.c @@ -66,6 +66,7 @@ HB_FUNC_EXTERN( WIN_OSIS2003 ) ; HB_FUNC( OS_ISWIN2003 ) { HB_ HB_FUNC_EXTERN( WIN_OSISVISTA ) ; HB_FUNC( OS_ISWINVISTA ) { HB_FUNC_EXEC( WIN_OSISVISTA ); } HB_FUNC_EXTERN( WIN_OSISVISTAORUPPER ) ; HB_FUNC( OS_ISWINVISTA_OR_LATER ) { HB_FUNC_EXEC( WIN_OSISVISTAORUPPER ); } HB_FUNC_EXTERN( WIN_OSIS7 ) ; HB_FUNC( OS_ISWIN7 ) { HB_FUNC_EXEC( WIN_OSIS7 ); } +HB_FUNC_EXTERN( WIN_OSIS8 ) ; HB_FUNC( OS_ISWIN8 ) { HB_FUNC_EXEC( WIN_OSIS8 ); } HB_FUNC_EXTERN( WIN_OSIS9X ) ; HB_FUNC( OS_ISWIN9X ) { HB_FUNC_EXEC( WIN_OSIS9X ); } HB_FUNC_EXTERN( WIN_OSIS95 ) ; HB_FUNC( OS_ISWIN95 ) { HB_FUNC_EXEC( WIN_OSIS95 ); } HB_FUNC_EXTERN( WIN_OSIS98 ) ; HB_FUNC( OS_ISWIN98 ) { HB_FUNC_EXEC( WIN_OSIS98 ); } @@ -88,6 +89,7 @@ HB_FUNC( OS_ISWIN2003 ) { hb_retl( HB_FALSE ); } HB_FUNC( OS_ISWINVISTA ) { hb_retl( HB_FALSE ); } HB_FUNC( OS_ISWINVISTA_OR_LATER ) { hb_retl( HB_FALSE ); } HB_FUNC( OS_ISWIN7 ) { hb_retl( HB_FALSE ); } +HB_FUNC( OS_ISWIN8 ) { hb_retl( HB_FALSE ); } HB_FUNC( OS_ISWIN9X ) { hb_retl( HB_FALSE ); } HB_FUNC( OS_ISWIN95 ) { hb_retl( HB_FALSE ); } HB_FUNC( OS_ISWIN98 ) { hb_retl( HB_FALSE ); }