Build 261 - listing of fixes/patches

This forum is for eXpress++ general support.
Post Reply
Message
Author
Cliff Wiernik
Posts: 605
Joined: Thu Jan 28, 2010 9:11 pm
Location: Steven Point, Wisconsin USA
Contact:

Build 261 - listing of fixes/patches

#1 Post by Cliff Wiernik »

I know there have been a variety of fixed/additions to Build 261. Is there a comprehensive list of these patches and a location for these files. I know they are attached to various postings.

Cliff

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Build 261 - listing of fixes/patches

#2 Post by rdonnay »

Below is the list of stuff that will be in build 262.
I still haven't released it because I am adding DC_CXP*() functions that are still being tested.

Code: Select all

 1381. Added new function DC_CSV2Array()

 1380. Added new function DC_WorkArea2CSV().

 1379. Added new methods to DC_XbpDialog1() class to allow for placing objects
       in the title bar of a window.  See the sample in
       \exp20\samples\titlebar.

 1378. Fixed a problem with DCRMCHART tooltips causing memory leak.

 1377. Added new function: DC_Error2String()

 1376. DC_DbNotify() now handles an ACTION field.

 1376. DC_ApplySqlParams() needs to apply a literal value: [onhand]

 1375. There are 9 new methods in a DC_DbRecord() object: ::RecNo(),
       ::Deleted(), ::Alias(), ::Scatter(), ::Gather(), ::IsEmpty(), ::Trim(),
       ::asArray(), ::clear().  The sample program
       .\samples\dbrecord\methods.prg show how to use these methods.

 1374. Added a new RECORDOBJECT <oRecord> clause to the @ DCBROWSE command.
       The sample program .\samples\dbrecord\browse.prg (Tab 3) shows how to
       browse a database while using a single record object to access the data.
       The navigation code blocks of the browse force a oRecord:scatter() of
       the record into the object before each row is painted.

 1373. Fixed a bug with DC_XbpMenuShift() sometimes causing an error when
       using a CodeJock skin and pressing the SHIFT key on a menu item.

 1372. Added new functions DC_SaveEvents() and DC_RestoreEvents().
       DC_SaveEvents() will save all events in the event queue of the current
       thread to an array and clear all pending events from the event Queue.
       The event queue can then be later restored by DC_RestoreEvents(). This
       is sometimes necessary to affect correct behavior of dialog windows
       when a series of events must be interrupted to display a new window.

 1371. The ::mouseOver font of DCPUSHBUTTONXP now defaults to the ::font.

 1370. Resizing system has been improved for performance and to eliminate
       window trails on the desktop.  It also is thread-safe when using
       resizing rules that require resizing to work properly if a single
       window has child objects that run in different threads.

 1369. DC_XbpMenuShift() is now thread-safe.  This insures that each window
       can have it's own short-cut system for menus.

 1368. DC_SetScopeArray() regression fixed (again).

 1367. DC_WtfEnable() now accepts an array or a codeblock.  The code block is
       evaluated every time WTF is encountered and will only allow the WTF to
       display if the code block returns a .T.   Code block must return a
       logical value.

 1366. Added new function DC_DebugWindowBrowseFont().  This sets the font for
       the WTF browse window.

 1365. Fixed a bug with DC_Array2Excel().  The Cancel button did not work.

 1364. Fixed a bug with scaling and Tab Pages.  The font will no longer grow
       on relative tabpages if not declaring a font.

           ---------------- New to 2.0 (build 261) ----------

 1363. Added new NAVMODE <nNavMode> clause to @..DCBROWSE. This is an option
       that controls the way the browse handles navigation.  The default
       is XBPBRW_NAVIGATION_1XCOMPATIBLE. The other option is
       XBPBRW_NAVIGATION_SYSTEM. This option is available only in Xbase++
       2.0 or later. See the Alaska documentation for XbpBrowse:navigationMode.

 1362. The \exp20\util folder now contains a file named PATHFOUND.PRG and
       PATHFOUND.EXE.  This utility searches your path for each occurrence of
       a file to help debug pathing problems.

       Usage:

       "PATHFOUND ace32.dll" will search the path established by SET PATH
       for aced32.dll.

       "PATHFOUND dcdialog.ch INCLUDE" will search the path established by SET
       INCLUDE for dcdialog.ch.

 1361. The folder \exp20\PSCRIPT now contains a set of files for writing
       reports using the PageScript system from ABEE. DCPS.CH and DCPS.PRG
       contain commands and functions to use this excellent print engine with
       eXpress++ style commands.  DCPS commands are similar to DCPRINT
       commands except they use the PSCRIPT.DLL print engine.  This print
       engine will create PDF files, includes a print preview, and also
       supports bar codes. Run PBUILD PSTEST.XPJ and the run PSTEST.EXE to
       view the sample programs.

 1360. The DCSUBMENU..OWNERDRAW system will now allow icons and bitmaps of any
       size. They will automatically scale to fit the menu.

 1359. Fixed a bug in DCDIALOG.CH which fails to apply the HIDE clause to the
       SAY object of DCSAY..GET.

 1358. The Record tagging system is now threadsafe.  DC_Tagged(),
       DC_RecTagToggle(), DC_RecTagClear() are all affected by this change.

 1357. Rolled back the DCBROWSE tagging system to the code in build 259. There
       were too many reports of it not working correctly and it became too
       difficult to determine how to fix the code in a timely manner.  The
       improvements made by JD may be added again in the future.

 1356. Added new function: DC_ApplySQLParams(). This is used to apply local
       variable data into a SQL statement and properly format it for SQL.

 1355. Added new function: DC_Var2SQL(). This is used to convert an Xbase++
       value to a SQL value for creating SQL statements.

 1354. Added new function: DC_Array2SQLInsert( <aData>, <cTable> ).  This is
       used to create a SQL statement for inserting records into a database.
       <aData> can be an single-dimensional array of record objects or a
       multi-dimensional array of values that match the order of the fields in
       the database.

 1353. Added new <cRecordNum> parameter to DC_DbGather().  This is the name of
       a numeric field that contains the current record number.  It will be
       updated with the RecNo().  This is handy when a record number field is
       required in SQL queries and it needs to be maintained.

 1352. Added new <nLockingMode> parameter to DC_AdsStatement():new(). This
       allows SQL statements to work with compatible locking.

 1351. Added a new <lNoSpawn> parameter to DC_PrintPreviewXPSWriter(). Also,
       added a NOSPAWN subclause to the XPSWRITER clause of DCPRINT ON.
       This prevents the XPS file from being viewed by the Document Writer.

 1350. Added new batch file: MAKEDLL.BAT to .\UTILS. Use this when you want to
       create code that you can run from an XDOT.EXE dot prompt.  For example,
       if you need to test functions, it is often simpler to put them into a
       DLL and then load the DLL from the dot prompt. After that you can then
       call the functions with appropriate parameters from the dot prompt.
       Here is how you would use it.

       From a DOS prompt run MAKEDLL test.
       This will create TEST.DLL from TEST.PRG.

       From a XDot.EXE DOT prompt run DLL LOAD test.
       From a XDot.EXE DOT prompt call any of the functions in TEST.PRG.
       Ex. MyTestFunction( 23, Date() )

 1349. Added 3 new parameters to DC_WorkArea2Excel().  <lFreezeRow1>
       (default TRUE) causes the first row of the Excel sheet to be bold font
       and locked from scrolling. <lCSVFallBack> (default FALSE) causes a CSV
       file to be created in the event that the Excel ActiveX control cannot
       be loaded. <aColumnNames> is a 1-dimensional array with the names of
       the columns.  Default is the field name.

 1348. Fixed a regression bug in DC_DbSkip() when using DC_SetScopeArray().
       DC_Eof() failed to report end of file.

 1347. Fixed a bug in DCBROWSECOL .. HIDE that doesn't restore the
       useVisualStyle when the column is shown again.

 1346. Changed DC_DbRecordClone() to not require an alias to clone the record.

 1345. Added new function: DC_TimeToSec(). Converts a time string to seconds.

 1344. Added new function: DC_DbRecordTrim(). Trims all trailing spaces from
       character string values in a record object.

 1343. Added new function: DC_TestLockEnable().

 1342. Fixed a problem with DCSTATUSBARs when the dialog has no title bar
       and/or no border.

 1341. DC_WorkArea2Excel() now trims fields that are type C or M.

 1340. Added Sub Classing support to the DC_XbpMenu() and DC_XbpMenuBar()
       classes.

 1339. DCPUSHBUTTONXP will now paint the background of the button in the
       Windows visual style if the ::bgColor is GRA_CLR_BACKGROUND and a
       manifest file is used.  Look at ..\samples\buttonxp\visualstyle.prg

 1338. Added new SQL command and new DC_AdsSqlStatement() function.  This
       provides a functionality equal to the SQL SELECT feature of Xbase++
       2.0, however it only works with Advantage Server and a Data Dictionary.
       Look at the sample program in \exp20\samples\adssql\SqlTest.prg.  The
       command resides in DCADS.CH. The SQL command will return the result set
       in a workarea, in an array, or in an array of objects or all of them.

 1337. Added new functions for converting Xbase++ arrays and objects to
       JSON or XML.  DC_Array2JS(), DC_Object2JS(), DC_Array2XML(),
       DC_Object2XML().

 1336. Added a new ANCHOR clause to the DCSTATUSBAR command.  This option is
       used to anchor child items to the left rather than the right side of
       the status bar (default).
       Ex: DCSTATUSBAR oStat ALIGN DCGUI_ALIGN_BOTTOM ANCHOR DCGUI_ALIGN_LEFT

 1335. Fixed a regression in DCPUSHBUTTON..FANCY that caused the caption
       bitmap object to be destroyed.  This was a regression in build 260.
       Everything related to DCPUSHBUTTON..FANCY that was added in build 260
       has been rolled back to how it was in build 259.

 1334. Fixed a bug in the BUSY clause of DCREAD GUI that sometimes causes menu
       items to be disabled.

 1333. Fixed a regression in eXpress++ build 260 that caused a flicker on
       tabpages when a tabpage receives focus.

 1332. Fixed a bug in DC_InspectThreads(). The workarea dump routine could
       leave a different work area selected.

 1331. Fixed a bug in DC_DbRecordCopy() and DC_DbRecordClone() that did not
       copy the contents of the RECORD_NUMBER and RECORD_DELETED iVars.
The eXpress train is coming - and it has more cars.

bwolfsohn
Posts: 649
Joined: Thu Jan 28, 2010 7:07 am
Location: Alachua, Florida USA
Contact:

Re: Build 261 - listing of fixes/patches

#3 Post by bwolfsohn »

roger,

i didn't see this on the fixed list:

the 2 thread tooltip bug...
removing bubble tooltips
Brian Wolfsohn
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Build 261 - listing of fixes/patches

#4 Post by rdonnay »

Thanks for the reminder.
The eXpress train is coming - and it has more cars.

Post Reply