sl@0
|
1 |
Release 016
|
sl@0
|
2 |
-----------
|
sl@0
|
3 |
By NicholaT 1st October 2001
|
sl@0
|
4 |
|
sl@0
|
5 |
* Fix for defect "Task Scheduler asserts that new schedules are inserted at the end of the list" (EXT-4ZT8K9)
|
sl@0
|
6 |
|
sl@0
|
7 |
Release 015
|
sl@0
|
8 |
-----------
|
sl@0
|
9 |
By NicholaT 15th August 2001
|
sl@0
|
10 |
|
sl@0
|
11 |
* Fix for defect "Main, KERN-EXEC, 3" (WIR-4Z7J5T)
|
sl@0
|
12 |
|
sl@0
|
13 |
Release 014
|
sl@0
|
14 |
-----------
|
sl@0
|
15 |
By AlexW 1st June 2001
|
sl@0
|
16 |
|
sl@0
|
17 |
* Fix for defect "Schedules.dat reserves all disk space although messages were sent" (WIR-4WPENB)
|
sl@0
|
18 |
* Fix for defect "SchSvr: Too many unnecessary TNames on the heap" (WIR-4WPEPX)
|
sl@0
|
19 |
* Fix for defect "SchSvr: Deleting a schedule doesn't cancel the schedule timer" (WIR-4WKD42)
|
sl@0
|
20 |
* Fix for defect "Wins specific task scheduler start up problem" (WIR-4WXHU4)
|
sl@0
|
21 |
* Fix for defect "A short message cannot be sent immeditely if there is a scheduled sms message in outbox." (WIR-4WYLUZ)
|
sl@0
|
22 |
|
sl@0
|
23 |
Release 013
|
sl@0
|
24 |
-----------
|
sl@0
|
25 |
By ChrisD 6th April 2001
|
sl@0
|
26 |
|
sl@0
|
27 |
* Fix for defect "SMS sending during bidirectional cable data transfer HSCSD v.120 2+2" (EDNTPAN-4VHHMP)
|
sl@0
|
28 |
|
sl@0
|
29 |
Release 012
|
sl@0
|
30 |
-----------
|
sl@0
|
31 |
By AlexW 28th February 2001
|
sl@0
|
32 |
|
sl@0
|
33 |
* Fixed for defect "Messages with "Resend" status are not sent after reboot" (EDNHLJT-4TRAAE)
|
sl@0
|
34 |
|
sl@0
|
35 |
Release 011
|
sl@0
|
36 |
-----------
|
sl@0
|
37 |
By AlexW 9th June 2000
|
sl@0
|
38 |
|
sl@0
|
39 |
* Fix for defect "Task files are not created by the task scheduler" (EDNPHAR-4L3P6N)
|
sl@0
|
40 |
* Fixed the task file creation code so that RFs are not leaked anymore
|
sl@0
|
41 |
|
sl@0
|
42 |
Release 010
|
sl@0
|
43 |
-----------
|
sl@0
|
44 |
By AlexW 1st June 2000
|
sl@0
|
45 |
|
sl@0
|
46 |
* Fix for defect "Schedule server should use the cleanup stack more" (EDNCDUG-4KVJYF)
|
sl@0
|
47 |
|
sl@0
|
48 |
Release 009
|
sl@0
|
49 |
-----------
|
sl@0
|
50 |
By ChrisD 6 April 2000
|
sl@0
|
51 |
|
sl@0
|
52 |
Remove unused variable warnings in schman.cpp.
|
sl@0
|
53 |
|
sl@0
|
54 |
Release 008
|
sl@0
|
55 |
-----------
|
sl@0
|
56 |
By ChrisD 28 March 2000
|
sl@0
|
57 |
|
sl@0
|
58 |
Minor changes to fix build warnings in source & testcode. Reordered testcode
|
sl@0
|
59 |
in bld.inf to build in dependency order. Updated testcode to accomodate new
|
sl@0
|
60 |
Base API for RThread::Create and RProcess::CommandLine which has changed
|
sl@0
|
61 |
in recent base releases.
|
sl@0
|
62 |
|
sl@0
|
63 |
All tests run successfully in wins udeb except TTASKLAUNCHING which is not
|
sl@0
|
64 |
complete yet.
|
sl@0
|
65 |
|
sl@0
|
66 |
Release 007
|
sl@0
|
67 |
-----------
|
sl@0
|
68 |
By AlexW 29 February 2000
|
sl@0
|
69 |
|
sl@0
|
70 |
* More boiler plating updates
|
sl@0
|
71 |
* Test code reorganised - all test code now placed in "Test" subdirectory.
|
sl@0
|
72 |
* New test code project to verify fixes for defects
|
sl@0
|
73 |
* Update to TYear2000 so that it now builds properly
|
sl@0
|
74 |
* Added minimal task handler as used by TScheduling test project and TYear2000
|
sl@0
|
75 |
* Fix for defect "CTaskExecutor::DoCancelL() does nothing" (EDNAWIR-4FWKPR)
|
sl@0
|
76 |
* Fix for defect "SCHSVR missing trailing L on internal server calls (and test code)"
|
sl@0
|
77 |
(EDNAWIR-4GRLA4)
|
sl@0
|
78 |
|
sl@0
|
79 |
|
sl@0
|
80 |
Release 006
|
sl@0
|
81 |
-----------
|
sl@0
|
82 |
By AlexW 24 January 2000
|
sl@0
|
83 |
|
sl@0
|
84 |
|
sl@0
|
85 |
Summary
|
sl@0
|
86 |
=======
|
sl@0
|
87 |
o Implemented change request AALR-4EDG75 (GT Change Requests). This required adding additional
|
sl@0
|
88 |
parameters to two RScheduler methods.
|
sl@0
|
89 |
o Fixed defect EDNAWIR-4FQJ6A - "Registering twice with the task scheduler causes a memory leak"
|
sl@0
|
90 |
(Symbian Defect Tracking v3.0)
|
sl@0
|
91 |
o Fixed defect EDNAWIR-4FRFR6 - "Can't retrieve task data when target buffer is too big to hold
|
sl@0
|
92 |
the data" (Symbian Defect Tracking v3.0)
|
sl@0
|
93 |
o Fixed defect EDNAWIR-4FQGXP - "Cannot schedule new tasks when schedule server data file is
|
sl@0
|
94 |
missing" (Symbian Defect Tracking v3.0)
|
sl@0
|
95 |
o Fixed defect EDNAWIR-4GQN48 - "CClientProxy leaves with a "count" value" (Symbian Defect
|
sl@0
|
96 |
Tracking v3.0)
|
sl@0
|
97 |
|
sl@0
|
98 |
|
sl@0
|
99 |
API Changes
|
sl@0
|
100 |
===========
|
sl@0
|
101 |
|
sl@0
|
102 |
TTime& aNextDue is new - This returns the next time a task/shedule is due.
|
sl@0
|
103 |
|
sl@0
|
104 |
TInt RScheduler::GetScheduleL(const TInt aScheduleHandle, TScheduleState& aState,
|
sl@0
|
105 |
CArrayFixFlat<TScheduleEntryInfo>& aEntries,
|
sl@0
|
106 |
CArrayFixFlat<TTaskInfo>& aTasks,
|
sl@0
|
107 |
TTime& aNextDue);
|
sl@0
|
108 |
|
sl@0
|
109 |
|
sl@0
|
110 |
TTime& aNextDue, TSchedulerItemRef& aRef are new - This returns the Schedule reference
|
sl@0
|
111 |
for the taskId provided as parameter one, and also the next due time for this schedule.
|
sl@0
|
112 |
|
sl@0
|
113 |
TInt RScheduler::GetTaskInfoL(const TInt aTaskId, TTaskInfo& aTaskInfo, TPtr8& aTaskData,
|
sl@0
|
114 |
TSchedulerItemRef& aRef, TTime& aNextDue);
|
sl@0
|
115 |
|
sl@0
|
116 |
|
sl@0
|
117 |
Source Changes
|
sl@0
|
118 |
==============
|
sl@0
|
119 |
|
sl@0
|
120 |
o Added TScheduleBackup::OpenStoreOrCreateLC(...) which attempts to open the schedule
|
sl@0
|
121 |
store, or if it doesn't exist, recreates it (schstore.cpp/h).
|
sl@0
|
122 |
Updated TScheduleBackup to use this new method rather than opening the store explicitly.
|
sl@0
|
123 |
|
sl@0
|
124 |
o Amended CSchSession::RegisterClientL(...) to delete any existing iClient instance should
|
sl@0
|
125 |
the client session have already registered previously (fixes memory leak).
|
sl@0
|
126 |
|
sl@0
|
127 |
o Added two new tests to tsch.cpp project, one to check the added Change Request functionality,
|
sl@0
|
128 |
and the other, an additional task Id test.
|
sl@0
|
129 |
|
sl@0
|
130 |
o Added THelpers.cpp/h to provide support methods for the TSch test project.
|
sl@0
|
131 |
|
sl@0
|
132 |
|
sl@0
|
133 |
Testing
|
sl@0
|
134 |
=======
|
sl@0
|
135 |
All tests pass under WINS.
|
sl@0
|
136 |
|
sl@0
|
137 |
|
sl@0
|
138 |
Building
|
sl@0
|
139 |
========
|
sl@0
|
140 |
All projects for this component build for all platforms.
|
sl@0
|
141 |
|
sl@0
|
142 |
|
sl@0
|
143 |
To Do
|
sl@0
|
144 |
=====
|
sl@0
|
145 |
o testOOM<...> is bugged and no longer works due to the addition of error logging. This is not
|
sl@0
|
146 |
a defect in the logging, but a defect in the test code.
|
sl@0
|
147 |
o The tests are based heavily on timing. This prevents satisfactory testing on a target device.
|
sl@0
|
148 |
Update the test exe and test code to use a semaphore to indicate successful exection rather than
|
sl@0
|
149 |
relying on a timed delay.
|
sl@0
|
150 |
|
sl@0
|
151 |
|
sl@0
|
152 |
Release 005
|
sl@0
|
153 |
-----------
|
sl@0
|
154 |
By AlexW 22 November 1999
|
sl@0
|
155 |
|
sl@0
|
156 |
Added functionality to report and store task launching, and return value errors
|
sl@0
|
157 |
to the log engine by implementing CClientProxy::FailedToExecute().
|
sl@0
|
158 |
|
sl@0
|
159 |
Changes
|
sl@0
|
160 |
-------
|
sl@0
|
161 |
1) Renamed FailedToExecute() to FailedToExecuteL() as this method allocates memory and
|
sl@0
|
162 |
may potentially leave.
|
sl@0
|
163 |
|
sl@0
|
164 |
2) Added new mixin MExecutorErrorHandler to the task executor header file (schexec.h).
|
sl@0
|
165 |
The CClientProxy now implements the virtual function defined within this class, and
|
sl@0
|
166 |
the task executor now requires a reference to this class during construction (this is
|
sl@0
|
167 |
not an optional mixin). Should an error be returned by the launched task, then the
|
sl@0
|
168 |
virtual function implemented by this mixin is called and error cleanup may occur.
|
sl@0
|
169 |
|
sl@0
|
170 |
3) Added new (private) active object, CLogSubmitter, to the CClientProxy class which
|
sl@0
|
171 |
manages the submission of the log event to the log server (submission occurs
|
sl@0
|
172 |
asynchronously). The active object waits for the completion of the submission, and
|
sl@0
|
173 |
after completion has occurred, the CLogEvent object is destroyed.
|
sl@0
|
174 |
|
sl@0
|
175 |
In order to start the submission process, the active scheduler must be started.
|
sl@0
|
176 |
Due to the nature of the task manager, the next active object to have its RunL
|
sl@0
|
177 |
called is not necessarily the CLogSubmitter (another task may be scheduled to run
|
sl@0
|
178 |
instead).
|
sl@0
|
179 |
|
sl@0
|
180 |
Because potentially many tasks may be executed in parallel, multiple errors may
|
sl@0
|
181 |
occur at the same time for any single client. This therefore requires a nested
|
sl@0
|
182 |
start of the active scheduler when the CClientProxy::iLogSubmitter is already active.
|
sl@0
|
183 |
|
sl@0
|
184 |
4) In order to store a contextual error message in the log, FailedToExecuteL() now
|
sl@0
|
185 |
has another overload. This simply takes two parameters, the first being the error
|
sl@0
|
186 |
code, and the second the error message to write to the log.
|
sl@0
|
187 |
|
sl@0
|
188 |
As the contextual error message can only be defined at the point in time immediately
|
sl@0
|
189 |
before the tasks are executed, the error message is prepared by the CClientProxy
|
sl@0
|
190 |
class (in CClientProxy::BuildTaskErrorMessageL(...)) and is subsequently 'given'
|
sl@0
|
191 |
to the CTaskExecutor so that (should an error occur) it can inform the CClientProxy,
|
sl@0
|
192 |
by way of the MExecutorErrorHandler mixin, of the error that occurred and the appropriate
|
sl@0
|
193 |
message to write to the log.
|
sl@0
|
194 |
|
sl@0
|
195 |
Changed a lot of source files to use _LIT rather than #defined'd _Ls
|
sl@0
|
196 |
|
sl@0
|
197 |
Also correctly capitalized full paths in some source files (i.e. "C:\system" => "C:\System").
|
sl@0
|
198 |
|
sl@0
|
199 |
|
sl@0
|
200 |
Release 004
|
sl@0
|
201 |
---------
|
sl@0
|
202 |
Steve Etherington 26 October 1999
|
sl@0
|
203 |
Builds under current system.
|
sl@0
|
204 |
No significant changes
|
sl@0
|
205 |
|
sl@0
|
206 |
Release 001
|
sl@0
|
207 |
-----------
|
sl@0
|
208 |
Built by WilliamB 26 June 1998
|
sl@0
|
209 |
|
sl@0
|
210 |
Uses e32 128, e32tools 091, e32toolp 091, e32utils 018, f32 095, bafl 078, store 049
|
sl@0
|
211 |
|
sl@0
|
212 |
Release valids on a clean drive.
|
sl@0
|
213 |
|
sl@0
|
214 |
First release of task scheduler.
|
sl@0
|
215 |
|
sl@0
|
216 |
Deb/Rel interoperable.
|
sl@0
|
217 |
|
sl@0
|
218 |
Test code run and passed for all builds, except Y2K test code (tschy2k.exe) which
|
sl@0
|
219 |
hasn't been run because the test plan hasn't been approved yet
|
sl@0
|
220 |
since 003
|