home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / d / desklib / !DeskLib / History < prev    next >
Encoding:
Text File  |  1997-01-22  |  13.5 KB  |  606 lines

  1. History of changes since DeskLib 2.30:
  2. ••••••••••••••••••••••••••••••••••••••
  3.  
  4.  
  5. ***        Desk 3.10    ***
  6.  
  7.  
  8.  
  9.  
  10. 22 Jan 1997
  11. Fixed bug in Desk_Filing_OpenDir2's treatment of wildcard - set to NULL
  12. so can be freed after error. Also uses Desk_strdup. Removed Filing's
  13. MALLOC and FREE macros - uses Desk_DeskMem_ now.
  14.  
  15. Fixed undocumented bug in Wimp_PlotIcon veneer. When not in redraw loop,
  16. r4 and r5 specify the graphics origin. Now sets these to 0. Added
  17. Desk_Wimp_PlotIcon2( Desk_icon_block* fakeicon, int xorigin, int
  18. yorigin) to allow for this usage.
  19.  
  20.  
  21.  
  22. 20 Jan 1997
  23.  
  24. Added Desk_Debug_RedirectToFilename, only implemented in uniqfile at the
  25. moment.
  26.  
  27. Added Save2 library - uses Export and Dialog2 to provide save windows.
  28.  
  29.  
  30. 17 Jan 1997
  31.  
  32. Added Desk_Window_ToggleShow
  33.  
  34.  
  35. 15 Jan 1997
  36. Changed Screen to always find new mode variables - under RO3.50 and
  37. later, mode variable can be same even if mode has changed (it's a
  38. pointer to a block of memory).
  39.  
  40.  
  41. 13 Jan 1997
  42. Fixed bug in Desk_Filing_OpenDir2() - was malloc(strlen()), strcpy...
  43.  
  44. 09 Jan 1997
  45. Added Desk.Bin.ConvertSrc and Desk.Bin.ConvertSr2, for roughly
  46. converting source from using DeskLib to Desk. Needs the RISC OS port of
  47. sed.
  48.  
  49.  
  50. 07 Jan 1997
  51. Adding support for interactive help to Menu2. Menu2 Desk_Menu2_Create2
  52. requires a (possibly NULL) pointer to a function to call in response to
  53. a Desk_message_HELPREQUEST for a menu.
  54.  
  55.  
  56. 20 Dec 1996
  57. Added <Desk_Sources$Dir>.Scripts.LinkAll 
  58.  
  59. 18 Dec 1996
  60.  
  61. Added Desk_Error2_ConvertToOS2().
  62.  
  63. 17 Dec 1996
  64. Added Desk_Filing_OpenDir2().
  65.  
  66. 09 Dec 1996
  67. Added Desk_Str_strdupcr().
  68.  
  69.  
  70. 05 Dec 1996
  71. Fixed bug in Desk_Icon_FileIcon - was using "Desk_file_%3x" instead of
  72. "file_%3x".
  73.  
  74. Fixed bug in Event (8-/). Dealing with handler that unregistered itself
  75. was wrong.
  76.  
  77. 04 Dec 1996
  78.  
  79. Change Desk_Export_file/ramsaver/resulthandler to be Desk_export_*.
  80.  
  81.  
  82. 19 Nov 1996
  83.  
  84. Changed SaveCodePointerOffset from 3 to 2 in BackTrace.h.Defs - governs
  85. where the search for embedded name starts from.
  86.  
  87.  
  88. 08 Nov 1996
  89.  
  90. Changed free() to Desk_DeskMem_Free() in Icon.c.IconInsert.
  91.  
  92.  
  93. 06 Nov 1996
  94.  
  95. Added Ptr.h - for rounding ptrs etc.
  96.  
  97.  
  98.  
  99. 05 Nov 1996
  100.  
  101. Added extern "C" things to DynamArea.h
  102.  
  103.  
  104.  
  105. 29 Oct 1996
  106.  
  107. Added Desk_C4 - compiled with Acorn CC version 4.
  108.  
  109.  
  110. 24 Oct 1996
  111.  
  112. Fixed small bug in Desk_Debug_DumpRegistersToFile - didn't increment
  113. filename suffix correctly.
  114.  
  115.  
  116. 21 Oct 1996
  117.  
  118. Changed Desk_DragASprite_Start to DragASprite_Start when calling
  119. OS_SWINumberFromString from DragASpr.s.DragIcon (thanks to Andreas
  120. Zieringer for spotting this one).
  121.  
  122. Changed code to fix bug in Desk_Pane2__OpenWindow (AZ again).
  123.  
  124.  
  125.  
  126. 16 Oct 1996
  127.  
  128. Added 'nobeep' field to Desk_error_flags union (see Desk.Wimp.h)
  129. Added Desk_wimp_reporterror_button enum.
  130.  
  131.  
  132. ***    11 Sep 1996    Desk 3.00beta    ***
  133.  
  134.  
  135. Changes between DeskLib 2.30x betas and release 3.00 beta of Desk:
  136. ——————————————————————————————————————————————————————————————————
  137.  
  138. Menu2
  139. Desk_Menu2_Create now requires a (possibly NULL) pointer to a
  140. function to call whenever a menu is closed in any way.
  141.  
  142. LinkList
  143. Desk_LinkList_InsertBefore/After now work if pos is NULL.
  144.  
  145. Core
  146. Desk_os_error is now typedef-ed to _kernel_oserror if compilation is
  147. with Acorn compiler. This allows the two types to be used interchangably
  148. which is sometimes very useful.
  149. New boolean typedef enum 'Desk_bool' is used wherever DeskLib's BOOL was
  150. used.
  151. Desk__MODULE_CLIENT is expected to be predefined when compiling with cc
  152. -zm.
  153.  
  154. BackTrace
  155. New library for walking the stack. Very useful when debugging...
  156.  
  157. Jump
  158. Macros/functions involving setjmp and longjmp, for use by the Error2
  159. library. These should be compatible with SDLS, but I haven't tried this.
  160.  
  161. Error2
  162. All support for handling errors. All of Desk uses this library when an
  163. error occurs.
  164.  
  165. DynamArea
  166. Simple management of dynamic areas - allows you to easily create/resize
  167. etc, without worrying about the rather unhelpful behaviour of the
  168. underlying SWIs - DynamArea keeps track of the actual size of the area
  169. etc.
  170.  
  171. Event
  172. Added Desk_Event_MessagesClaim and Desk_Event_MessagesRelease - simply
  173. claim/release all three message types in one go.
  174.  
  175. Import2
  176. Provides general support for exporting data using either file or ram
  177. transfer.
  178.  
  179. MsgTrans
  180. Added functions for finding the size of a message after substitution,
  181. looking up into Desk_deskmem_buffer's, opening a file with the system
  182. info stored in RMA.
  183.  
  184. KernelSWIs
  185. Added functions for convenient reading of a system variable.
  186. Added functions for reading/writing CMOS.
  187.  
  188. File
  189. Removed the old system which used a global variable to store the last
  190. error returned.
  191. Added a few extra functions.
  192.  
  193. Filing
  194. Added Desk_Filing_CompareDates.
  195.  
  196. DeskMem
  197. New library which provides standard veneers for malloc et al, which
  198. raise errors instead of returning 0. Uses function pointers to point to
  199. malloc, realloc etc, which can be changed to point to user-supplied ones
  200. (eg if you want all memory to be in a dynamic area)
  201. Added Desk_deskmem_buffer and associated support functions, which
  202. provide easy-to-use buffers which are always multiples of an initial
  203. size, to try to prevent fragmentation.
  204.  
  205. Export
  206. Handles export of data using file or ram transfer.
  207.  
  208.  
  209. Many functions which previously returned an (os_error*) have been
  210. changed to return void, and raise an error if something goes wrong. Eg
  211. all the Wimp SWI veneers.
  212.  
  213.  
  214.  
  215.  
  216.  
  217. ********************************************************************
  218.  
  219. DeskLib betas 2.3x
  220. ——————————————————
  221.  
  222. Updates between DeskLib beta versions since version 2.30
  223.  
  224.  
  225.  
  226. 13 May 1996
  227.  
  228. Filing now treats images as directories.
  229.  
  230.  
  231. 09 May 1996
  232.  
  233. Event__ExitFunction now sets taskhandle to 0 after calling
  234. Wimp_CloseDown.
  235.  
  236. Error_Report functions now output backtrace to stderr in debug builds.
  237.  
  238.  
  239.  
  240. 08 May 1996
  241.  
  242. Module verion now compiled with -ff to remove embedded fn names. Added
  243. DL_M_Fn with names.
  244.  
  245.  
  246. 07 May 1996
  247.  
  248. Error2_VerboseExit now displays OS error using _kernel_last_oserror()
  249. when signal error is SIGOSERR.
  250.  
  251.  
  252. 30 Apr 1996
  253.  
  254. Core.h: Added _DeskLib__Zm - defined when compilation is either for
  255. module (cc -Zm) or for DLL (also cc -Zm). This is because -Zm code
  256. doesn't like initialised static data outside of functions...
  257.  
  258. Added DeskLib:o.DeskLib_M, compiled with -Zm, for use in modules.
  259. '_DeskLib__MODULE' is predefined for this build.
  260.  
  261. Added DeskLib:o.Debug.uniquefile_m - unique-file debugging compiled with cc -Zm.
  262.  
  263.  
  264.  
  265.  
  266. 17 Apr 1996
  267.  
  268. Added Debug_SetNestingIndentation( const char*). Subsequent ouptut from
  269. Debug_Printf is indented with multiple copies of the specified string,
  270. according to function-call nesting.
  271.  
  272. Added BackTrace libray, for getting information from the stack about
  273. which functions are active etc.
  274.  
  275.  
  276.  
  277. 29 Feb 1996
  278.  
  279. Added Debug_Assert for Event handlers being > 0x8000
  280.  
  281. 27 Feb 1996
  282.  
  283. Removed close icon from TestApp's query window - caused illegal handle.
  284.  
  285.  
  286. 23 Feb 1996
  287.  
  288. Fixed bug in OS_ReadVarVal_ReadIntoBuffer - sys var is now read as a
  289. string, and terminated according to returned length, rather than end of
  290. buffer.
  291.  
  292.  
  293. 22 Feb 1996
  294.  
  295. Added #pragma -c0 to a Pane2.c.Open and Pane2.c.Pane2 - cc506 complains
  296. about internal inconsistancy.
  297.  
  298.  
  299. 12 Feb 1996
  300.  
  301. Removed Debug__Dummy, and changed Debug_Dummyf macro to use printf. 
  302. CC could generate AOF file which referenced debug_level even though it
  303. wasn't used in the compiled code. Fixed this by #defining
  304. Debug<n>_Printf straight to Debug_Dummyf.
  305.  
  306.  
  307. 09 Jan 1996
  308.  
  309. Minor changes to Menu2.
  310.  
  311.  
  312. 13 Dec 1995
  313.  
  314. Added jumpauto_lasterror.
  315.  
  316.  
  317. 12 Dec 1995
  318.  
  319. Added Error2_GetNewErrorType
  320. Added File_EnsureDirectory, File_EnsureParentDirectory
  321. Fixed bug in Menu2 - was calling non-existent menu2 choice-handler when
  322. a menu2 had its own leafs.
  323.  
  324.  
  325. 01 Dec 1995
  326.  
  327. Added Error2_HandleAllSignals
  328.  
  329.  
  330. 29 Nov 1995
  331.  
  332. Changed Jump library.
  333.  
  334.  
  335. 19 Nov 1995
  336.  
  337. Added File_AllocLoad
  338.  
  339.  
  340. 18 Nov 1995
  341.  
  342. Made DeskMem use function pointer to the memory allocation functions.
  343. This enables a program to change what functions it uses for static
  344. memory at run-time. It also means that there is no need to replace
  345. DeskMem at link-time.
  346.  
  347.  
  348. 17 Nov 1995
  349.  
  350. Moved DeskMem error-handling into a separate .c file.
  351.  
  352.  
  353. 2.35beta    16 Nov 1995
  354.  
  355. Added file '...Docs.Files', which lists and has comments on (nearly) all
  356. the directory structure and files that make up DeskLib.
  357.  
  358.  
  359. 15 Nov 1995
  360.  
  361. Added DeskLib:o.Debug.DeskLib - a version of DeskLib compiled with
  362. 'DeskLib_DEBUG' predefined. Only the Menu2 (and one other I think)
  363. library uses Debug_ calls.
  364.  
  365.  
  366.  
  367. 14 Nov 1995
  368.  
  369. Made Serial, PDriver non-DLL sublibraries.
  370.  
  371. Made various libraries more SDLS compatible - many libraries called
  372. atexit() or Event_Claim/Release() etc without using
  373. _DeskLib_SDLS_dllEntry( <handlerfn>).
  374.  
  375. Eg Dialog, EventMsg, Font2, Import, Menu2, Pane2, Print, Save, Template
  376. (font handling), Window.
  377.  
  378. Fixed a bug in Menu2 - could call the wrong selection-handler if a
  379. non-leaf menuitem was chosen.
  380.  
  381.  
  382.  
  383. 2.34    10 Nov 1995
  384.  
  385. Added Icon_InsertText, Window_IsOpen.
  386.  
  387. Added Wimp_E* macros - these are Wimp veneers which call Error2_Handle
  388. if the SWI returns an error.
  389.  
  390. Changed DeskMem organisation a bit. To add a different static-memory
  391. allocator system, just provide a replacement for DeskMem.c.XCalls.
  392.  
  393. Made JumpAuto_Error2Handler call Error2_Exit rather than
  394. Error2_VerboseExit.
  395.  
  396. Added !DLMisc, for misc libraries not needed by DeskLib.
  397.  
  398. Replaced SWI library with a smaller assembler version. The old one is in
  399. '!DLMisc'.
  400.  
  401. Moved Import library into the main DeskLib distribution, from !DLUser.
  402.  
  403. !DLUser is now empty..
  404.  
  405.  
  406.  
  407.  
  408. 07 Nov 1995
  409.  
  410. Removed 'do ... while (0)' construct in the JumpAuto_TryCatch macro.
  411. This allows 'break' in trycode or catchcode, but means you shouldn't put
  412. a ';' after the macro.
  413.  
  414. Made the Error2 signal-handler call signal(), to restore signal
  415. handling's use of Error2_SignalHandler - ANSI signal handling is reset
  416. to default after each signal.
  417.  
  418.  
  419. 05 Nov 1995
  420.  
  421. GFX.h: Added gfx_action_ enums for graphics plot actions.
  422. Added ColourTrans_RGB, SetGCOL2,3.
  423.  
  424.  
  425.  
  426. 2.33    02 Nov 1995
  427.  
  428. Changed directory structure of and some filenames in 'DeskLib.Docs.'
  429.  
  430. 01 Nov 1995
  431.  
  432. Added '!DeskLib.sh.' directory, which contains some standard assembler
  433. 'header' files - 'RegDefs' and 'Macros'. Previously, every sub-library
  434. directory had its own copy of these two files. Changed all .s files to
  435. GET these new files, and deleted local versions.
  436.  
  437. Changed Error2 globalblock - now has just two fields, the error type and
  438. a union which points to data. Errors which need some block of memory (eg
  439. Error2_HandleTextf) now have their own static blocks of memory - see
  440. DeskMem for an example.
  441.  
  442.  
  443.  
  444. 31 Oct 1995
  445.  
  446. Added ColourTrans_ReturnColourNumber and ColourTrans_ReturnGCOL.
  447. Added Menu_SetNotify macro.
  448. Changed File_SetType to be an assembler veneer, returning (os_error*).
  449. Added File_SetLoad, File_SetExec, File_CreateDirectory.
  450.  
  451. 26 Oct 1995
  452.  
  453. Changed Error2_HandleTextf to use 'bytes' field in error2_block and make
  454. the 'text' field point to the 'bytes' field.
  455.  
  456. SmallError: Removed all refereces to event_taskname
  457.  
  458.  
  459.  
  460. 18 Oct 1995
  461.  
  462. Changed Jump DLLDef file.
  463.  
  464. Changed some Pane2 external definitions to start with Pane2__ or pane2__,
  465. Removed Pane2's internal-only things from the DLLDef file.
  466.  
  467.  
  468. 15 Oct 1995
  469.  
  470. Added #ifndef __dl_xx_h to some headers.
  471.  
  472. 2.32    12 Oct 1995
  473.  
  474. 11 Oct 1995
  475.  
  476. Added __cplusplus to Window.h - it somehow missed out first time round...
  477. Added __cplusplus to Filing.h
  478. Added Error2_HandleText
  479.  
  480.  
  481. 05 Oct 1995
  482.  
  483. Added Menu_AddSubWindow macro.
  484.  
  485.  
  486.  
  487. 03 Oct 1995
  488.  
  489. Added lots of 'const' to prototypes and altered source code accordingly.
  490.  
  491.  
  492.  
  493. 02 Oct 1995
  494.  
  495. Moved Jump library into main '!DeskLib' library.
  496.  
  497. 29 Sep 1995
  498.  
  499. Added JumpAuto_TryCatch macro. This enables code that looks very similar
  500. to C++'s try-catch constructs.
  501.  
  502.  
  503. 28 Sep 1995
  504.  
  505. Added extra struct to button_type union for buttontype 10
  506. Added button2_* macros
  507.  
  508. Added Str_StrNCpy0, and equivalent macro strncpy0
  509.  
  510.  
  511.  
  512. 2.31
  513.  
  514. This version doesn't have any SDLS or Examples.
  515.  
  516.  
  517.  
  518.  
  519. 23 Sep 1995
  520.  
  521. New libraries in !DLUser:
  522.  
  523. SWI    Faster version of SWI.
  524. Sort    Quicksort
  525. Hash    Better hash library than previous version.
  526.  
  527.  
  528.  
  529. 22 Sep 1995
  530.  
  531. Removed blank makefile from 'DeskLib.Docs.Blanks'.
  532. Removed HelpCommnt directory from 'DeskLib.Docs.Blanks'.
  533.  
  534.  
  535.  
  536. 21 Sep 1995
  537.  
  538. Added ListNewer command to '!DLSources.Bin.'.
  539.  
  540.  
  541.  
  542. 20 Sep 1995
  543.  
  544. File    Added File_CheckError and File_XCheckError - simple macro veneers
  545.     for Error2_Check( file_lasterror).
  546.  
  547. Added <DeskLib_Sources$Dir>.Scripts.Static.MakeLib2 and MkOList2 . These
  548. use Libfile -i to add any new .o files to DeskLib, rather than remaking
  549. the whole library.
  550.  
  551. Added Every2 program to <DeskLib_Sources$Dir>.Bin .
  552.  
  553. Added 'Jump' library. This (hopefully) provides SDLS-compatible
  554. setjmp/longjmp. Also has easy-to-use macros for automating use of
  555. set/longjmp, eg for use with the Error2 library.
  556.  
  557.  
  558.  
  559. 13 Sep 1995
  560.  
  561. Filing
  562.     Allowed a 'void *reference' to be sent to Filing_ScanDir(Dir),
  563.     and added facility to 'prune' scans through the directory tree -
  564.     if the start-dir function returns filing_scan_PRUNE.  Renamed
  565.     the function-pointer typedefs used in Filing_ScanDir and
  566.     Filing_ScanDirByDir.
  567.  
  568. KernelSWIs
  569.     Added OS_ReadVarVal_GetLength, OS_ReadVarVal_ReadIntoBuffer,
  570.     OS_ReadVarVal_AutoAlloc.
  571.  
  572.  
  573.  
  574. 12 Sep 1995
  575.  
  576. objasm -throwback used in MMFs.
  577.  
  578.  
  579.  
  580. 09 Sep 1995
  581.  
  582. Added Error2 library
  583. Contains a simple error-handling mechanism. A few extra handlers are
  584. provided to help bracket (os_err *) functions, BOOL functions etc.
  585.  
  586. Added Error3 library - uses Error2 and provides an Event_-style system
  587. for claiming errors. ***Completely untested at the moment***
  588.  
  589. Added macros for every Wimp SWI veneer in WimpSWIs.h . These macros use
  590. Error_XHandle to provide semi-error-handling Wimp SWI calls.
  591.  
  592. Made all library calls to Wimp_* use Wimp_e*, so that any error-handler
  593. gets to see each error.
  594.  
  595. Made all libraries call DeskMem_Malloc/Calloc/Realloc/Free instead of
  596. the <stdlib.h> functions.
  597.  
  598. Added DeskMem library whihc impla\ements the DeskMem functions (to use
  599. malloc et al). The plan is to have alternative DeskMem libs (eg which se
  600. Mem_ calls).
  601.  
  602.  
  603.  
  604. 2.30 (02 Sep 1995)
  605.  
  606.