diff --git a/harbour/ChangeLog b/harbour/ChangeLog index e2822de73b..9a9e5d24d2 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,10 @@ The license applies to all entries newer than 2009-04-28. */ +2011-09-05 02:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + + contrib/hbcups/readme.txt + + added readme created by Chris Gonnerman. Thank you very much. + 2011-09-04 16:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) - contrib/hbcuied * now integrated into hbide @@ -58,11 +62,11 @@ + Implemented: CUI Screen Designer in hbIDE. Activate: OR CUI Screen Designer icon. NOTE: must exit the screen designer with - before clsoing hbIDE. It is necessary because when + before clsoing hbIDE. It is necessary because when CUI Designer is active, there are two loops in progress. So, exiting CUI designer the way we exit an application is necessary before exiting hbIDE itself. - + 2011-08-29 13:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QPrintDialog.qth ! Fixed: constructor. It was very limiting before. @@ -133,21 +137,21 @@ Preview takes following considerations: 0. Background color is always set to "W/B". - You can change this behavior with a BOX covering + You can change this behavior with a BOX covering entire screen. 1. Rows and columns of the screen are calculated based on maximum ending row and column of objects defined. - if those values are greater than 25/80 then one more - row and column is added to them, otherwise, + if those values are greater than 25/80 then one more + row and column is added to them, otherwise, rows/columns are 25/80 as in standard screen. - 2. If COLOR is defined as a literal value enclosed in + 2. If COLOR is defined as a literal value enclosed in quotes, then this value is used otherwise "W/B" is used. - 3. If PICTURE is defined as literal string enclosed - in quotes, then it is used, otherwise left. For numeric - fields, picture is always generated as "9999??[.9?]" based + 3. If PICTURE is defined as literal string enclosed + in quotes, then it is used, otherwise left. For numeric + fields, picture is always generated as "9999??[.9?]" based on field length and decimals. 2011-08-24 17:21 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) @@ -163,7 +167,7 @@ NOTE: Harbour Screen Designer is almost at production level. I am awaiting groups response as to what else they need. - To Viktor: is it possible that it be included in Harbour's bin + To Viktor: is it possible that it be included in Harbour's bin folder. I wish to embed this into hbIDE. 2011-08-23 22:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) @@ -177,12 +181,12 @@ * contrib/hbcuied/cu_utlty.prg * contrib/hbcuied/hbcuied.ch + Implemented: K_HOME places the cursor to zero column of the screen. - K_END places the cursor to next column of last + K_END places the cursor to next column of last object on that row. Alt_N Inserts blank row at current cursor position. All objects on/after that row are moved one row down. - Alt_O Delets current row. All objects on that row - are also delted. Subsequent objects are moved + Alt_O Delets current row. All objects on that row + are also delted. Subsequent objects are moved one row up. + Added: help screens containing info about the designer. * Updated: help screen with latest changes. @@ -197,10 +201,10 @@ * contrib/hbcuied/cu_main.prg * contrib/hbcuied/cu_object.prg * contrib/hbcuied/cu_utlty.prg - + Opens with SetMode( 28,80 ) to present real-time 25x80 + + Opens with SetMode( 28,80 ) to present real-time 25x80 console window equivalent design area. + Added: F1-Help screen which, BTW, is designed with hbCuiEd itself. - + Added: Expression execution with SAY objects, press F4 on a + + Added: Expression execution with SAY objects, press F4 on a text object. * Many improvements on saving/loading routines. @@ -212,13 +216,13 @@ 2011-08-19 15:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideenviron.prg * Auto Detection: if hbide.exe is accompanied by hbmk2.exe, - and no environment is set, attempt is made to set path + and no environment is set, attempt is made to set path of Harbour installation automatically. I do not know the logic foe *.nix systems, please fix. 2011-08-18 14:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/rddsql/sqlbase.c - ! fixed transfering records between two "array" SQLBASE workareas, when there + ! fixed transfering records between two "array" SQLBASE workareas, when there is a text/long/clob/memo field Patch by Ilina Stoilkovska. @@ -231,7 +235,7 @@ := PQCOPYFROMWA( , , [], [], [], [], [], [] ) - - default is 1, which turns into 1 * 1400 bytes + - default is 1, which turns into 1 * 1400 bytes (to keep it below typical network MTU of 1500 bytes), needs testing how libPQ is doing buffering by itself, and if this is needed? @@ -255,33 +259,33 @@ * contrib/hbcuied/cu_object.prg + Implemented: two-way saving/loading of screens from PRG sources. Alt+S - Save / Alt+L - Load, keys are defined. - At startup, if hbCuiEd is invoked with a .prg file name - as first and only parameter, then all screens embedded - in the source are presented for selection, and selected - screen is brought in the designer. On save the actual - indent of the loaded screen is preserved which means + At startup, if hbCuiEd is invoked with a .prg file name + as first and only parameter, then all screens embedded + in the source are presented for selection, and selected + screen is brought in the designer. On save the actual + indent of the loaded screen is preserved which means screens can be designed in real-time. If there is a need - screens can be edited in the PRG ( assumed, it follows the - protocols laid down by the designer ). Screens can be - saved with new name. In this case a new function as + screens can be edited in the PRG ( assumed, it follows the + protocols laid down by the designer ). Screens can be + saved with new name. In this case a new function as "hbcui_" + screen name will be appended to the source which later can be edited and placed anywhere in the PRG. - Will write a test program to demonstrate its two-way + Will write a test program to demonstrate its two-way capabilities in a couple of days. 2011-08-18 08:28 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbcuied/cu_object.prg - * Changed: saves screen at the previous location in a PRG + * Changed: saves screen at the previous location in a PRG if one exists with the same name. 2011-08-18 15:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg - + hbmk2 executable if renamed, copied or symlinked to the - name 'harbour', it will make it behave as classic harbour - executable, or IOW it will switch to hbmk2 -hbraw mode in such - scenario. This makes it possible to continue using 'harbour' - as a command even in distros which don't ship with classic + + hbmk2 executable if renamed, copied or symlinked to the + name 'harbour', it will make it behave as classic harbour + executable, or IOW it will switch to hbmk2 -hbraw mode in such + scenario. This makes it possible to continue using 'harbour' + as a command even in distros which don't ship with classic harbour executable. 2011-08-18 11:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) @@ -289,7 +293,7 @@ ! do not reference SVN source tree at runtime (-icon option is enough) BTW favicon.ico is for webpages, for apps harb_win.ico is the one * contrib/hbtip/sendmail.prg - ! if hb_SendMail() receives invalid password, mail isn't sent, but + ! if hb_SendMail() receives invalid password, mail isn't sent, but hb_SendMail() returns .T. Fix from Dmitry Ryzhkov via Pavel Tsarenko. @@ -303,8 +307,8 @@ 2011-08-17 18:08 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbcuied/cu_object.prg + Implemented: source is generated. - Provide source file name and screen identity and look into - the code it generates. Let me know if that can be refined + Provide source file name and screen identity and look into + the code it generates. Let me know if that can be refined anyway. 2011-08-17 16:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) diff --git a/harbour/contrib/hbcups/readme.txt b/harbour/contrib/hbcups/readme.txt new file mode 100644 index 0000000000..2b8044e853 --- /dev/null +++ b/harbour/contrib/hbcups/readme.txt @@ -0,0 +1,24 @@ +# +# $Id$ +# + +hbcups provides access to the CUPS printing library. + +Function Reference +===================================== + +cupsGetDefault() --> cPrinterName + Returns the CUPS name of the default printer on the default server. + +cupsGetDests() --> aPrinterNames + Returns a list of all CUPS printers on the default server. + +cupsPrintFile( cPrinterName, cFileName, cTitle, [ aOptions | hOptions ] ) + --> nJobNumber + Prints the named file on the named printer (on the default server), using + the given title. Options may be passed as an array of strings of the form + "option=value" or as a hash of options and values (again expressed as + character strings). Returns the job number, or 0 on error. + +Refer to the CUPS documentation for more details of these operations, including +a list of valid printing options.