"dev/usb/git@gitlab.riscosopen.org:cgranville/USBDriver.git" did not exist on "68f485b5e6d3a0427f5e6025b9843a057430cfed"
Source
...
Target
Commits (4)
......@@ -11,13 +11,13 @@
GBLS Module_HelpVersion
GBLS Module_ComponentName
GBLS Module_ComponentPath
Module_MajorVersion SETS "0.24"
Module_Version SETA 24
Module_MajorVersion SETS "0.27"
Module_Version SETA 27
Module_MinorVersion SETS ""
Module_Date SETS "28 Apr 2014"
Module_ApplicationDate SETS "28-Apr-14"
Module_Date SETS "23 Mar 2018"
Module_ApplicationDate SETS "23-Mar-18"
Module_ComponentName SETS "Libs"
Module_ComponentPath SETS "castle/RiscOS/Sources/Toolbox/Libs"
Module_FullVersion SETS "0.24"
Module_HelpVersion SETS "0.24 (28 Apr 2014)"
Module_FullVersion SETS "0.27"
Module_HelpVersion SETS "0.27 (23 Mar 2018)"
END
/* (0.24)
/* (0.27)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.24
#define Module_MajorVersion_CMHG 0.27
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 28 Apr 2014
#define Module_Date_CMHG 23 Mar 2018
#define Module_MajorVersion "0.24"
#define Module_Version 24
#define Module_MajorVersion "0.27"
#define Module_Version 27
#define Module_MinorVersion ""
#define Module_Date "28 Apr 2014"
#define Module_Date "23 Mar 2018"
#define Module_ApplicationDate "28-Apr-14"
#define Module_ApplicationDate "23-Mar-18"
#define Module_ComponentName "Libs"
#define Module_ComponentPath "castle/RiscOS/Sources/Toolbox/Libs"
#define Module_FullVersion "0.24"
#define Module_HelpVersion "0.24 (28 Apr 2014)"
#define Module_LibraryVersionInfo "0:24"
#define Module_FullVersion "0.27"
#define Module_HelpVersion "0.27 (23 Mar 2018)"
#define Module_LibraryVersionInfo "0:27"
......@@ -37,7 +37,7 @@
#include "wimpmsg.h"
static IdBlock *event__id_block = 0;
static IdBlock *event__id_block = NULL;
static unsigned int event__mask = Wimp_Poll_NullMask;
/* ------------------------------------- dispatching events ------------------------------------ */
......@@ -220,13 +220,13 @@ extern _kernel_oserror *event_finalise (void)
}
e = wimpmsg_finalise();
if (e == NULL)
if (e != NULL)
{
return e;
}
event__id_block = 0;
event__mask = 1;
event__id_block = NULL;
event__mask = Wimp_Poll_NullMask;
return NULL;
}
......
......@@ -189,7 +189,6 @@ number of granularities ranging from one handler which handles all events
for all Objects, to having one handler per event on each Object.
1.2 Deregistering Event Handlers
--------------------------------
......@@ -236,9 +235,19 @@ event_deregister_message_handler with the same parameters as when the
handler was registered.
3. Function Prototypes
----------------------
The functions which are provided by the events library can be found in
'event.h' (this gets exported as event.h).
4. Memory management
--------------------
The events library will call malloc at various points to hold its internal
lists of registrants and similar workspace. This means that a module
task (a task which has no Wimp slot) cannot sensibly use the events library
because there is nowhere to claim from. Without the ability to register
event handlers the main utility of the library is lost, and it is simpler
to poll the Wimp directly.
......@@ -14,3 +14,4 @@
|
Dir <Obey$Dir>
amu_machine clean
stripdepnd Makefile
......@@ -14,3 +14,4 @@
|
Dir <Obey$Dir>
amu_machine clean
stripdepnd Makefile
......@@ -14,3 +14,5 @@
|
Dir <Obey$Dir>
amu_machine clean
stripdepnd Makefile
stripdepnd AutoGenMfS
......@@ -289,6 +289,8 @@ typedef struct
#define ActionButton_IsCancel 0x00000002
#define ActionButton_IsLocal 0x00000004
#define ActionButton_ClickShowTransient 0x00000008
#define ActionButton_ClickShowCentred 0x00000010
#define ActionButton_ClickShowAtPointer 0x00000020
/*-- action button methods --*/
......@@ -325,7 +327,11 @@ typedef struct
/*-- action button SWI method constants --*/
#define ActionButton_SetClickShow_Transient 0x00000001
#define ActionButton_GetClickShow_Transient 0x00000001
#define ActionButton_SetClickShow_Centre 0x00000002
#define ActionButton_SetClickShow_AtPointer 0x00000004
#define ActionButton_GetClickShow_Transient ActionButton_SetClickShow_Transient
#define ActionButton_GetClickShow_Centre ActionButton_SetClickShow_Centre
#define ActionButton_GetClickShow_AtPointer ActionButton_SetClickShow_AtPointer
/****************************************************************************
* The following functions provide veneers to the methods that are *
......
......@@ -715,6 +715,19 @@ typedef WimpMenuSelections WimpGetMenuStateBlock;
#define Wimp_MDragging 0x11
#define Wimp_MDragClaim 0x12
#define Wimp_MAppControl 0x15
#define Wimp_MFilerOpenDir 0x400
#define Wimp_MFilerCloseDir 0x401
#define Wimp_MFilerOpenDirAt 0x402
#define Wimp_MFilerSelectionDirectory 0x403
#define Wimp_MFilerAddSelection 0x404
#define Wimp_MFilerAction 0x405
#define Wimp_MFilerControlAction 0x406
#define Wimp_MFilerSelection 0x407
#define Wimp_MFilerDevicePath 0x408
#define Wimp_MHelpRequest 0x502
#define Wimp_MHelpReply 0x503
#define Wimp_MHelpEnable 0x504
#define Wimp_MNotify 0x40040
#define Wimp_MMenuWarning 0x400c0
#define Wimp_MModeChange 0x400c1
#define Wimp_MTaskInitialise 0x400c2
......@@ -731,6 +744,9 @@ typedef WimpMenuSelections WimpGetMenuStateBlock;
#define Wimp_MSwap 0x400cd
#define Wimp_MToolsChanged 0x400ce
#define Wimp_MFontChanged 0x400cf
#define Wimp_MIconizeAt 0x400d0
#define Wimp_MToggleBackdrop 0x400d1
#define Wimp_MScreenEdgeNotification 0x400d2
#define Wimp_MPrintFile 0x80140
#define Wimp_MWillPrint 0x80141
#define Wimp_MPrintSave 0x80142
......@@ -739,9 +755,6 @@ typedef WimpMenuSelections WimpGetMenuStateBlock;
#define Wimp_MPrintTypeOdd 0x80145
#define Wimp_MPrintTypeKnown 0x80146
#define Wimp_MSetPrinter 0x80147
#define Wimp_MHelpRequest 0x502
#define Wimp_MHelpReply 0x503
#define Wimp_MHelpEnable 0x504
/***************************************************************************
......
......@@ -142,7 +142,7 @@ _kernel_oserror *wimp_start_task (char *cl, int *handle);
int wimp_report_error (_kernel_oserror *er,
int flags,
char *name, ...);
const char *name, ...);
/*
* On 3.50 onwards we can have additional parameters:
......