Debian Codegraph @

ChangeLogs/ChangeLog-2001b

raw
1 Mon Dec 31 09:32:59 2001 Douglas C. Schmidt <[email protected]>
2
3 * ace/Hash_Map_Manager_T.h: Added ACE_UNIMPLEMENTED_FUNC() for the
4 assignment operator and copy constructor of class
5 ACE_Hash_Map_Manager_Ex. Thanks to Johnny Willemsen for
6 reporting this.
7
8 Mon Dec 31 16:33:17 2001 Johnny Willemsen <[email protected]>
9
10 * ace/OS.{h,i}:
11 Added ACE_OS::freopen. This method reassigns an existing
12 stream with a new stream. This is not supported on WinCE
13
14 Mon Dec 31 15:09:12 2001 Johnny Willemsen <[email protected]>
15
16 * apps/drwho/BM_Server.cpp:
17 * apps/drwho/Options.cpp:
18 * apps/drwho/PM_Client.cpp:
19 * apps/drwho/PMC_Ruser.cpp:
20 * apps/drwho/PMC_Ruser.cpp:
21 * apps/gperf/src/Options.cpp:
22 * docs/tutorials/010/message_queue.cpp:
23 * docs/tutorials/011/message_queue.cpp:
24 * docs/tutorials/012/message_queue.cpp:
25 * docs/tutorials/013/message_queue.cpp:
26 * examples/IOStream/server/iostream_server.cpp:
27 * examples/Reactor/WFMO_Reactor/test_multithreading.cpp:
28 * netsvcs/clients/Logger/direct_logging.cpp:
29 * tests/Pipe_Test.cpp:
30 * examples/Service_Configurator/IPC-tests/server/Handle_Timeout.i:
31 Changed occurences of atoi with ACE_OS::atoi because the normal
32 atoi gives problems when compiling with ACE_USES_WCHAR defined
33
34 Mon Dec 31 14:40:12 2001 Johnny Willemsen <[email protected]>
35
36 * ace/Get_Opt.cpp:
37 Replaced ACE_TEXT by ACE_LIB_TEXT because ACE_LIB_TEXT must be used
38 within the ACE library instead of ACE_TEXT
39
40 Sun Dec 30 16:54:18 2001 Douglas C. Schmidt <[email protected]>
41
42 * ace/Parse_Node.cpp: Now that ACE::strnew() checks for a NULL
43 parameter, we can remove the checks in the ACE code.
44
45 * ace/ACE.i (strnew): Check to see if the pointer passed to
46 ACE::strnew() is non-NULL. Thanks to Don Hinton for reporting
47 this.
48
49 Sat Dec 29 18:36:13 2001 Douglas C. Schmidt <[email protected]>
50
51 * ace/OS.i (putenv): Fixed a typo. Thanks to Venkita for
52 reporting this.
53
54 * ace/OS.i (getenv): Return ACE_NOTSUP_RETURN(0) if we're
55 compiling on a platform that lacks getenv(), e.g., WinCE.
56 Thanks to Venkita for reporting this.
57
58 Sat Dec 29 16:14:41 2001 Balachandran Natarajan <[email protected]>
59
60 * ace/OS.h:
61 * ace/Default_Constants.h: Moved some constants from this file to
62 OS.h as it needed includes in OS.h. Need to take a better look
63 before any other dissection can be performed.
64
65 Sat Dec 29 12:08:40 2001 Balachandran Natarajan <[email protected]>
66
67 * ace/ace_dll.dsp:
68 * ace/ace_lib.dsp: Added new header files into the project.
69
70 Sat Dec 29 11:57:40 2001 Balachandran Natarajan <[email protected]>
71
72 * ace/Default_Constants.h: A new header file that houses some of
73 the constants that are used widely by ACE and applications based
74 on ACE. The motivation for this one is the same as that of
75 creating Global_Macros.h.
76
77 * ace/Global_Macros.h: Moved some constant definitions from this
78 file to Default_Constants.h.
79
80 * ace/OS.h: Moved some constant definitions out of this
81 file. There are some more that needs moving and will be done
82 over a period of time hopefully.
83
84 Sat Dec 29 06:31:50 2001 Douglas C. Schmidt <[email protected]>
85
86 * tests/MEM_Stream_Test.cpp (test_concurrent): Added an
87 ACE_UNUSED_ARG(connect_client) to silence complaints on certain
88 compilers about unused arguments.
89
90 Sat Dec 29 12:54:45 2001 Johnny Willemsen <[email protected]>
91
92 * examples/IPC_SAP/SOCK_SAP/C-inclient.cpp:
93 * examples/IPC_SAP/SOCK_SAP/C-inserver.cpp:
94 * examples/Mem_Map/file-reverse/file-reverse.cpp:
95 * examples/Reactor/Multicast/Log_Wrapper.cpp:
96 * examples/Reactor/Multicast/server.cpp:
97 Made these files compiling when ACE_USES_WCHAR is set
98
99 * examples/Map_Manager/test_hash_map_manager.cpp:
100 Made this file partly compiling when ACE_USES_WCHAR is set
101
102 Sat Dec 29 10:42:12 2001 Johnny Willemsen <[email protected]>
103
104 * tests/SSL/Makefile.bor:
105 Added SSL_LIB to lib files
106
107 Sat Dec 29 02:55:24 2001 Venkita Subramonian <[email protected]>
108
109 * ace/OS.i:
110 Fixed problem with idl compiler segmentation fault.
111 replaced
112 # if !defined ACE_LACKS_ENV
113 with
114 # if defined ACE_LACKS_ENV
115 in ACE_OS::strenvdup.
116
117 Fri Dec 28 16:01:58 2001 Balachandran Natarajan <[email protected]>
118
119 * ace/Global_Macros.h: Fixed a fuzz error.
120
121 Fri Dec 28 15:15:42 2002 Steve Huston <[email protected]>
122
123 * ace/Select_Reactor_T.h: Improved Doxygenization of some comments.
124
125 Fri Dec 28 13:41:23 2001 Douglas C. Schmidt <[email protected]>
126
127 * ace/OS.{h,i,cpp} (putenv,getenv,strenvdup,getenvstrings):
128 * ace/Get_Opt.cpp (ACE_Get_Opt): Removed the #ifndef (ACE_LACKS_ENV)
129 from Get_Opt.cpp and move this into OS.i where it belongs!
130 Thanks to Venkita and Don Hinton for reporting this.
131
132 Fri Dec 28 19:56:12 2001 Johnny Willemsen <[email protected]>
133
134 * performance-tests/Misc/test_naming.cpp:
135 * performance-tests/Server_Concurrency/Latency_Stats.h:
136 * performance-tests/Server_Concurrency/Leader_Follower/leader_follower.cpp:
137 * performance-tests/Server_Concurrency/Queue_Based_Workers/workers.cpp:
138 * performance-tests/TCP/tcp_test.cpp:
139 * performance-tests/UDP/udp_test.cpp:
140 Made these files compiling when ACE_USES_WCHAR is set
141
142 * Makefile.bor:
143 Added the performance-tests directory to this BCB makefile. All files
144 in this directory now compile when ACE_USES_WCHAR is set
145
146 Fri Dec 28 10:45:33 2001 Steve Huston <[email protected]>
147
148 * tests/SSL/Thread_Pool_Reactor_SSL_Test.cpp: Make the string
149 arguments to ACE_SSL_Context char * - don't use any ACE_*
150 macros. Fixes build problems on Borland Unicode builds. Thanks
151 to Johnny Willemsen <[email protected]> for this fix.
152
153 Fri Dec 28 06:31:46 2001 Venkita Subramonian <[email protected]>
154
155 * ace/Get_Opt.cpp: Changed #ifndef check to ACE_LACKS_ENV
156 instead of ACE_LACKS_GETENV.
157
158 Fri Dec 28 05:20:29 2001 Douglas C. Schmidt <[email protected]>
159
160 * ace/Get_Opt.cpp (ACE_Get_Opt): Protect the call to ACE_OS::getenv()
161 with a #ifndef (ACE_LACKS_GETENV). Thanks to Bala and Venkita
162 for reporting this!
163
164 Fri Dec 28 10:52:12 2001 Johnny Willemsen <[email protected]>
165
166 * tests/SSL/Makefile.bor:
167 Added ACE_SSL_LIB to fix linker errors in BCB build
168
169 Thu Dec 27 22:14:30 2001 Balachandran Natarajan <[email protected]>
170
171 * ace/Global_Macros.h: A new file that will house the macros used
172 by ACE and applications. Have moved a very few macros from OS.h
173 to this file. The real need for this was the need to include
174 OS.h even if one wants to use a simple macro like
175 ACE_UNIMPLEMENTED_FUNC or something as simple as that. Over a
176 period of time we need to move more macros into this file so
177 that applications can use this instead of OS.h. It would be nice
178 to split this file into pieces having macros for every specific
179 functionality. That was getting too tedious and error
180 prone. Thought that this could be a first step to move further.
181
182 * ace/OS.h: Moved a few macros into Global_Macros.h file. Also
183 included the file in OS.h The need for inclusion comes from the
184 fact that there are dependencies that exist between the macros
185 moved and the stuff that exist in OS.h.
186
187 Thu Dec 27 20:43:43 2001 Nanbor Wang <[email protected]>
188
189 * ace/Configuration_Import_Export.cpp: The .ini reader didn't
190 handle equal signs in values even if they are quoted. Changed
191 the strrchr in import_config() to strchr. Thanks to Glen
192 Coakley <[email protected]> for reporting and submitting
193 the patch.
194
195 Thu Dec 27 15:47:22 2001 Steve Huston <[email protected]>
196
197 * examples/OS/Process/imore.cpp: Fixed typo in optind -> opt_ind()
198 conversion.
199
200 Thu Dec 27 09:52:56 2001 Douglas C. Schmidt <[email protected]>
201
202 * tests/Get_Opt_Test.cpp: Added ACE_TEXT macros to the various
203 strings so they will compile on Unicode builds. Thanks to
204 Venkita for noticing this!
205
206 Thu Dec 27 14:53:49 2001 Steve Huston <[email protected]>
207
208 * ace/SSL/SSL_SOCK_Acceptor.(h cpp):
209 * ace/SSL/SSL_SOCK_Connector.(h cpp): Removed #include "ace/Reactor.h"
210 from the .h files and added #include "ace/Handle_Set.h" to the
211 .cpp files. Reactor is no longer needed for the class, but
212 ACE_Handle_Set is used in the implementation.
213
214 * ace/SSL/Makefile: Removed Reactor*.* from dependencies.
215
216 Thu Dec 27 12:56:31 2001 Steve Huston <[email protected]>
217
218 * ace/SSL/SSL_SOCK_Stream.i (close): Reverted this change:
219 Fri Dec 7 10:22:25 2001 Ossama Othman <[email protected]>
220 The reactor is not used, so no workaround for it is needed.
221 If the ACE_SSL_SOCK_Stream is closed, the handle is invalidated.
222
223 Thu Dec 27 11:39:48 2001 Steve Huston <[email protected]>
224
225 * tests/SSL/Thread_Pool_Reactor_SSL_Test.cpp: Changed ACE_TEXT to
226 ACE_TEXT_ALWAYS_CHAR for the file names passed to ACE_SSL_Context.
227 The underlying SSL calls want a char *, so it appears pointless
228 to change ACE_SSL_Context to accept wide chars.
229
230 Thu Dec 27 09:38:24 2001 Balachandran Natarajan <[email protected]>
231
232 * examples/Reactor/Proactor/test_timeout.cpp:
233 * examples/Reactor/Proactor/test_multiple_loops.cpp:
234 * examples/Reactor/Proactor/post_completions.cpp:
235 * performance-tests/Synch-Benchmarks/Perf_Test/Performance_Test_Options.h:
236
237 Added #includes to prevent compilation errors on Win32. Thanks
238 to Venkita for pointing this out.
239
240 Thu Dec 27 06:41:24 2001 Douglas C. Schmidt <[email protected]>
241
242 * tests/Proactor_Timer_Test.cpp: Added #ifndefs to guard against
243 trying to compile this test on platforms that don't support the
244 Proactor! Thanks to Venkita for noticing this.
245
246 Wed Dec 26 15:51:28 2001 Venkita Subramonian <[email protected]>
247
248 * ace/Get_Opt.h:
249 ace/Get_Opt.cpp:
250 Fixed compiler warnings. Changed order of member variable
251 initialization.
252
253 Wed Dec 26 11:18:31 2001 Douglas C. Schmidt <[email protected]>
254
255 * ace/Get_Opt.cpp (permute): Add ACE_TEXT() around the
256 "--" string to make things work properly on Unicode builds.
257 Thanks to Johnny Willemsen and Don Hinton for contributing this
258 fix!
259
260 Wed Dec 26 09:07:45 2001 Douglas C. Schmidt <[email protected]>
261
262 * tests/*.cpp: Replaced all uses of getopt.optarg with
263 getopt.opt_arg() and all uses of getopt.optind with
264 getopt.opt_ind().
265
266 * ace/Logging_Strategy.cpp
267 ace/Naming_Context.cpp
268 ace/Service_Config.cpp
269 ace/Service_Manager.cpp
270 performance-tests/Misc/basic_perf.cpp
271 performance-tests/Misc/childbirth_time.cpp
272 performance-tests/Misc/context_switch_time.cpp
273 performance-tests/Misc/preempt.cpp
274 performance-tests/Misc/test_guard.cpp
275 performance-tests/RPC/client.cpp
276 performance-tests/Server_Concurrency/Leader_Follower/RT_CORBA_Leader_Follower.cpp
277 performance-tests/Server_Concurrency/Leader_Follower/leader_follower.cpp
278 performance-tests/Server_Concurrency/Queue_Based_Workers/RT_CORBA_Workers.cpp
279 performance-tests/Server_Concurrency/Queue_Based_Workers/workers.cpp
280 performance-tests/Synch-Benchmarks/Base_Test/Baseline_Test.cpp
281 performance-tests/Synch-Benchmarks/Perf_Test/Performance_Test_Options.cpp
282 performance-tests/TCP/tcp_test.cpp
283 performance-tests/UDP/udp_test.cpp
284 apps/Gateway/
285 gperf/Options.cpp
286 drwho/Options.cpp
287 netsvcs/clients/Tokens/collection/collection.cpp
288 netsvcs/clients/Tokens/collection/rw_locks.cpp
289 netsvcs/clients/Tokens/deadlock/deadlock_detection_test.cpp
290 netsvcs/clients/Tokens/manual/manual.cpp
291 netsvcs/clients/Tokens/mutex/test_mutex.cpp
292 netsvcs/clients/Tokens/rw_lock/rw_locks.cpp
293 netsvcs/lib/Client_Logging_Handler.cpp
294 netsvcs/lib/Name_Handler.cpp
295 netsvcs/lib/TS_Server_Handler.cpp
296 netsvcs/lib/Server_Logging_Handler_T.cpp
297 netsvcs/lib/TS_Clerk_Handler.cpp
298 netsvcs/lib/Token_Handler.cpp
299 examples/ASX/Event_Server/Event_Server/Options.cpp
300 examples/ASX/Event_Server/Transceiver/transceiver.cpp
301 examples/ASX/UPIPE_Event_Server/Options.cpp
302 examples/ASX/UPIPE_Event_Server/Peer_Router.cpp
303 examples/Connection/blocking/SPIPE-connector.cpp
304 examples/Connection/blocking/SPIPE-acceptor.cpp
305 examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp
306 examples/IPC_SAP/SOCK_SAP/CPP-inserver-fancy.cpp
307 examples/IPC_SAP/SSL_SAP/SSL-client.cpp
308 examples/IPC_SAP/SSL_SAP/SSL-client-simple.cpp
309 examples/IPC_SAP/SSL_SAP/SSL-server-fancy.cpp
310 examples/Logger/Acceptor-server/server_loggerd.cpp
311 examples/Logger/simple-server/server_loggerd.cpp
312 examples/Mem_Map/IO-tests/test_io.cpp
313 examples/Misc/test_get_opt.cpp
314 examples/NT_Service/main.cpp
315 examples/OS/Process/process.cpp
316 examples/QOS/Change_Receiver_FlowSpec/QoS_Util.cpp
317 examples/QOS/Change_Sender_TSpec/QoS_Util.cpp
318 examples/QOS/Simple/QoS_Util.cpp
319 examples/Reactor/Multicast/client.cpp
320 examples/Reactor/Ntalker/ntalker.cpp
321 examples/Reactor/Proactor/simple_test_proactor.cpp
322 examples/Reactor/Proactor/test_cancel.cpp
323 examples/Reactor/Proactor/test_proactor.cpp
324 examples/Reactor/Proactor/test_proactor2.cpp
325 examples/Reactor/Proactor/test_proactor3.cpp
326 examples/Reactor/Proactor/test_udp_proactor.cpp
327 examples/Reactor/WFMO_Reactor/test_multithreading.cpp
328 examples/Reactor/WFMO_Reactor/test_talker.cpp
329 examples/Service_Configurator/IPC-tests/client/broadcast_client_test.cpp
330 examples/Service_Configurator/IPC-tests/client/remote_service_directory_test.cpp
331 examples/Service_Configurator/IPC-tests/client/local_dgram_client_test.cpp
332 examples/Service_Configurator/IPC-tests/client/local_fifo_client_test.cpp
333 examples/Service_Configurator/IPC-tests/client/local_pipe_client_test.cpp
334 examples/Service_Configurator/IPC-tests/client/local_spipe_client_test.cpp
335 examples/Service_Configurator/IPC-tests/client/local_stream_client_test.cpp
336 examples/Service_Configurator/IPC-tests/client/remote_dgram_client_test.cpp
337 examples/Service_Configurator/IPC-tests/client/remote_thr_stream_client_test.cpp
338 examples/Service_Configurator/IPC-tests/client/remote_stream_client_test.cpp
339 examples/Service_Configurator/IPC-tests/server/Handle_Broadcast.i
340 examples/Service_Configurator/IPC-tests/server/Handle_L_CODgram.i
341 examples/Service_Configurator/IPC-tests/server/Handle_L_Dgram.i
342 examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.i
343 examples/Service_Configurator/IPC-tests/server/Handle_L_Pipe.i
344 examples/Service_Configurator/IPC-tests/server/Handle_L_SPIPE.i
345 examples/Service_Configurator/IPC-tests/server/Handle_L_Stream.i
346 examples/Service_Configurator/IPC-tests/server/Handle_R_Dgram.i
347 examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.i
348 examples/Service_Configurator/IPC-tests/server/Handle_Thr_Stream.cpp
349 examples/Service_Configurator/IPC-tests/server/Handle_Timeout.i
350 examples/Shared_Malloc/Options.cpp
351 examples/Shared_Malloc/test_position_independent_malloc.cpp
352 examples/Synch/proc_sema.cpp
353 examples/Threads/process_manager.cpp
354 examples/Threads/reader_writer.cpp
355 examples/Threads/recursive_mutex.cpp
356 examples/Web_Crawler/Options.cpp: Replaced all uses of getopt.optarg
357 with getopt.opt_arg().
358
359 * examples/Misc/test_get_opt.cpp (main):
360 * examples/OS/Process/imore.cpp (parse_args):
361 * examples/NT_Service/main.cpp (parse_args): Replaced all uses
362 of getopt.optind with getopt.opt_ind ().
363
364 * ace/Get_Opt.h: Made the optind, optarg, opterr, argv_, and argc_
365 data members public rather than private to avoid breaking
366 existing code. Also removed the new optind and optarg macros to
367 avoid breaking existing code that used those names as
368 identifiers!
369
370 Wed Dec 26 06:19:32 2001 Douglas C. Schmidt <[email protected]>
371
372 * ace/Proactor.cpp:
373 * ace/Proactor.h: The #include "ace/Proactor.i" must come inside
374 of the #ifdefs that determine if the Proactor will be available
375 on a particular platform.
376
377 * examples/Reactor/Misc/test_reactors.cpp: Removed a duplicate
378 ACE_Atomic_Op_Ex<ACE_Thread_Mutex, int> instantiation.
379
380 Tue Dec 25 19:43:34 2001 Balachandran Natarajan <[email protected]>
381
382 * Updated dependencies that were left behind from the last one.
383
384 Tue Dec 25 09:30:14 2001 Douglas C. Schmidt <[email protected]>
385
386 * tests/Makefile:
387 * tests/Makefile.bor: Added the new Proactor_Timer_Test.
388
389 * tests/run_test.lst: Added the new Proactor_Timer_Test.
390
391 * tests: Added the new Proactor_Timer_Test.cpp and
392 Proactor_Timer_Test.dsp to exercise the new high-resolution
393 support in the ACE_Proactor. Thanks to Miljenko Norsic for
394 contributing this.
395
396 * ace/Proactor.cpp: Added support for high-resolution timers to
397 the proactor. Thanks to Miljenko Norsic for contributing this.
398
399 * ace/OS.{h,i}: Changed the ACE_OS::event_timedwait() method to
400 allow callers to specify either relative or absolute time.
401 Thanks to Miljenko Norsic <[email protected]> for
402 contributing this.
403
404 * ace/Synch.{h,cpp}: Changed the timed wait() method on ACE_Event so
405 allow callers to specify either relative or absolute time.
406 Thanks to Miljenko Norsic <[email protected]> for
407 contributing this.
408
409 Tue Dec 25 12:55:56 2001 Carlos O'Ryan <[email protected]>
410
411 * Updated all dependencies.
412
413 Tue Dec 25 09:30:14 2001 Douglas C. Schmidt <[email protected]>
414
415 * tests/Get_Opt_Test.cpp: Make the "test_args" parameter to
416 parse_args() a *const* ACE_TCHAR rather than just an ACE_TCHAR.
417
418 * tests/Get_Opt_Test.cpp (main): Added an ACE_UNUSED_ARG(argv) and
419 replaced the name of the test so the log file stuff will work
420 properly.
421
422 * ace/Get_Opt.{h,i}: Changed the return type of opt_ind() from
423 int to int& so that optind++ will work correctly! Thanks
424 to Don Hinton for this fix.
425
426 Tue Dec 25 09:07:07 2001 Balachandran Natarajan <[email protected]>
427
428 * examples/Threads/tss2.cpp:
429 * examples/Threads/TSS_Task.h:
430 * examples/Threads/task_two.cpp:
431 * examples/Threads/reader_writer.cpp:
432 * examples/Threads/manual_event.cpp:
433 * examples/Threads/future2.cpp:
434 * examples/Threads/future1.cpp:
435 * examples/Reactors/Misc/teste_reactors.cpp:
436 * netsvcs/lib/Server_Logging_T.cpp:
437 * netsvcs/lib/Server_Logging.cpp: Added #include of
438 Atomic_Op.h. Added template instantiations for ACE_Atomic_Op_Ex
439 in places that was required.
440
441 * netsvcs/lib/Makefile:
442 * netsvcs/servers/makefile: Updated dependencies.
443
444 Mon Dec 25 01:05:43 2001 Balachandran Natarajan <[email protected]>
445
446 * ace/Atomic_Op.h: Added a #include to get it compiling on win32
447 platforms.
448
449 Mon Dec 25 00:18:43 2001 Balachandran Natarajan <[email protected]>
450
451 * Merry Christmas to the members of the doc_group and to all the
452 users the world over.
453
454 * ace/ace_lib.dsp:
455 * ace/ace_dll.dsp: Added Atomic_Op.{h,cpp} to the project files.
456
457 Mon Dec 24 23:52:43 2001 Balachandran Natarajan <[email protected]>
458
459 * ace/Synch_T.cpp:
460 * ace/Synch_T.h: Removed ACE_Atomic_Op to a new file.
461
462 * ace/Atomic_Op.h:
463 * ace/Atomic_Op.i:
464 * ace/Atomic_Op.cpp: The class ACE_Atomic_Op is in this file now.
465
466 * ace/Functor.h:
467 * ace/Functor.i: Added template specializations for some base
468 types like ACE_UINT16. Thanks to Joe Hoffert for giving the
469 patches.
470
471 * ace/RMCast/RMCast_Reassembly.cpp: Removed a template
472 instantation for ACE_Equal_To.
473
474 * tests/Atomic_Op_Test.cpp:
475 * tests/Auto_IncDec_Test.cpp:
476 * tests/Cache_Map_Manager_Test.cpp:
477 * tests/Future_Set_Test.cpp:
478 * tests/Future_Test.cpp:
479 * tests/Hash_Map_Bucket_Iterator_Test.cpp:
480 * tests/MEM_Stream_Test.cpp:
481 * tests/Map_Manager_Test.cpp:
482 * tests/Message_Queue_Notifications_Test.cpp:
483 * tests/Notify_Performance_Test.cpp:
484 * tests/Reactors_Test.cpp:
485 * tests/Reader_Writer_Test.cpp:
486 * tests/Upgradable_RW_Test.cpp: Added #include of Atomic_Op.h in
487 all the above files.
488
489 Mon Dec 24 20:12:05 2001 Balachandran Natarajan <[email protected]>
490
491 * ace/Synch_T.h:
492 * ace/Synch_T.cpp: Changed a copy constructor in ACE_Atomic_Op to
493 take ACE_Atomic_Op as an argument instead of
494 ACE_Atomic_Op_Ex. This should fix compile errors in g++.
495
496 * ace/Atomic_Op.i: Made a cosmetic change.
497
498
499 Mon Dec 24 08:08:40 2001 Douglas C. Schmidt <[email protected]>
500
501 * ace/Atomic_Op.i: Make sure to initialize the mutex_ reference in the
502 ACE_Atomic_Op_Ex copy constructor.
503
504 * ace/OS.cpp (pwrite): The lseek() call must use SEEK_CUR rather
505 than SEEK_SET. Thanks to Duane Binder
506 <[email protected]> for reporting this. This fixes bugid
507 1095.
508
509 * ace/Proactor.i (run_event_loop): Refactored the code to
510 use the new ACE_Proactor::check_reconfiguration() static method,
511 just like the Reactor!
512
513 * ace/Proactor.h: Added the check_reconfiguration() static method
514 to ACE_Proactor, a la the Reactor!
515
516 * tests/Thread_Pool_Reactor_Resume_Test.cpp,
517 * tests/SSL/Thread_Pool_Reactor_SSL_Test.cpp,
518 * tests/Thread_Pool_Reactor_Test.cpp: Changed the signature of the
519 reactor_event_hook() method to conform to the minor
520 modifications outlined below.
521
522 * ace/Reactor.h: Changed the signature of
523 ACE_Reactor::check_reconfiguration() to reflect the following
524 change.
525
526 * ace/Reactor.h: Changed the REACTOR_EVENT_HOOK typedef to take a pointer
527 to the ACE_Reactor. Thanks to Alex Libman for suggesting this.
528
529 * performance-tests/Synch-Benchmarks/Synch_Lib/Benchmark_Base.cpp:
530 * performance-tests/Synch-Benchmarks/Perf_Test/Performance_Test_Options.cpp:
531 * examples/Threads/tss2.cpp:
532 * examples/Reactor/Misc/test_reactors.cpp:
533 * examples/Reactor/Proactor/post_completions.cpp:
534 * examples/Reactor/Proactor/test_timeout.cpp:
535 * examples/Threads/manual_event.cpp:
536 * examples/Threads/future1.cpp:
537 * examples/Threads/future2.cpp:
538 * examples/Threads/reader_writer.cpp:
539 * examples/Threads/task_two.cpp:
540 * tests/Atomic_Op_Test.cpp:
541 * tests/Auto_IncDec_Test.cpp:
542 * tests/Future_Set_Test.cpp:
543 * tests/Future_Test.cpp:
544 * tests/MEM_Stream_Test.cpp:
545 * tests/Message_Queue_Notifications_Test.cpp:
546 * tests/Notify_Performance_Test.cpp:
547 * tests/Reactors_Test.cpp:
548 * tests/Upgradable_RW_Test.cpp:
549 * tests/Reader_Writer_Test.cpp:
550 Added explicit template instantiation for ACE_Atomic_Op_Ex<>.
551
552 * ace/Malloc_Allocator.cpp: Added explicit template instantiation
553 for ACE_Atomic_Op_Ex<ACE_PROCESS_MUTEX, int>.
554
555 * ace/Atomic_Op.i,
556 * ace/Synch_T.{h,cpp}: Factored out some of the structure/logic
557 from ACE_Atomic_Op into a new base class called
558 ACE_Atomic_Op_Ex. ACE_Atomic_Op_Ex uses extra parameter -
559 reference to ACE_LOCK to allow several ACE_Atomic_Op_Ex share
560 the same lock. ACE_Atomic_Op is derived from ACE_Atomic_Op_Ex
561 and its interface is the same as it was. It has only
562 constructors implementation and operators =. All other methods
563 are inherited from ACE_Atomic_Op_Ex. Templates instantiation
564 for ACE_Atomic_Op_Ex should be added to all files that have
565 templates instantiation for ACE_Atomic_Op. Thanks to Alex
566 Libman <alibman@@ihug.com.au> for contributing this.
567
568 * ace/Service_Config.cpp (close_singletons): Add support to close
569 the Proactor singleton, just like the Reactor singleton. Thanks
570 to Alex Libman <alibman@@ihug.com.au> for contributing this.
571
572 * ace/WIN32_Proactor.cpp: Make sure to remove all the pending
573 results from the I/O completion port queue when we close down to
574 avoid memory leaks. Thanks to Alex Libman
575 <alibman@@ihug.com.au> for contribuging this.
576
577 * ace/Proactor.{h,i,cpp}: Added Alex Libman's <alibman@@ihug.com.au>
578 enhancements that make the ACE_Proactor behave more like the
579 ACE_Reactor with respect to singletons etc. In particular:
580
581 1. For each static ACE_Proactor method XXX_event_loop there is
582 the non-static proactor_XXX_event_loop method.
583 2. There is a new method proactor_post_wakeup_completions which
584 is called from static post_wakeup_completions.
585 3. The end_event_loop_ and event_loop_thread_count_ are now
586 instance members, not globals!
587 4. The proactor instance has its own mutex to protect work with
588 end_event_loop_ and event_loop_thread_count_.
589 5. Method ACE_Proactor::instance() now has a second parameter
590 delete_proactor (default value 0 means don't delete). It
591 returns the pointer to the previous global instance of
592 Proactor. The caller now is responsible for deletion of this
593 previous instance.
594 6. Method ACE_Proactor::cleanup() is removed since the behavior
595 of singleton is simular to Reactor singleton.
596 7. Methods ACE_Proactor::proactor_run_event_loop (....)
597 have now an extra parameter: (PROACTOR_EVENT_HOOK = 0),
598 where the PROACTOR event hook is defined as
599 typedef int (*PROACTOR_EVENT_HOOK)(ACE_Proactor *);
600
601 * ace/Logging_Strategy.cpp
602 * ace/Naming_Context.cpp
603 * ace/Service_Manager.cpp: Removed the explicit template instantiations
604 for ACE_Array_Base<> to avoid problems with multiply defined
605 symbols.
606
607 * ace/Service_Config.cpp: Added explicit template instantiations
608 for template class ACE_Array<ACE_Get_Opt::ACE_Get_Opt_Long_Option *>.
609
610 * docs/tutorials/014/page02.html,
611 * docs/tutorials/014/page03.html,
612 * docs/tutorials/014/page04.html,
613 * docs/tutorials/014/page05.html,
614 * docs/tutorials/014/stream.cpp,
615 * docs/tutorials/014/Task.{h,cpp}: Fixed the tutorial so that it
616 uses the correct synchronization mechanism for the message
617 blocks. Thanks to Ulrich Voigt <[email protected]> for
618 reporting this.
619
620 * ace/Log_Msg.cpp: Moved the call to ACE_Log_Msg_Manager::close()
621 to first in the ACE_Log_Msg::close() method to avoid memory
622 leaks. Fixes BugId 1103. Thanks to Ahmed Riza
623 <[email protected]> for reporting this.
624
625 Sun Dec 23 23:02:17 2001 Carlos O'Ryan <[email protected]>
626
627 * examples/QOS/Diffserv/Diffserv.dsw:
628 * examples/QOS/Diffserv/diffserv_test.dsp:
629 * examples/QOS/Diffserv/server.dsp:
630 * examples/Reactor/FIFO/FIFO.dsw:
631 * examples/Reactor/FIFO/client.dsp:
632 * examples/Reactor/FIFO/server.dsp:
633 * examples/Shared_Memory/Shared_Memory.dsw:
634 * examples/Shared_Memory/test_MM.dsp:
635 * examples/Shared_Memory/test_SV.dsp:
636 Add more missing project files and workspaces.
637
638 Mon Dec 24 00:48:34 2001 Nanbor Wang <[email protected]>
639
640 * tests/tests.dsw:
641 * tests/Get_Opt_Test.dsp: Added this new project file.
642
643 Sun Dec 23 12:25:55 2001 Don Hinton <[email protected]>
644
645 * ace/Logging_Strategy.cpp
646 * ace/Naming_Context.cpp
647 * ace/Service_Config.cpp
648 * ace/Service_Manager.cpp
649 * ace/Get_Opt{h,i,cpp}:
650
651 Added long option support to ACE_Get_Opt that closely minimics
652 getopt_long(3c) functionality as follows: made all member
653 variables private; added accessor functions and macros wrappers to
654 transparently provide backward compatibility; added new function,
655 long_option(), that can be used to add long options with/without
656 corresponding short options.
657
658 * tests/Makefile
659 * tests/Makefile.bor
660 * tests/run_test.lst
661 * tests/Get_Opt_Test.cpp:
662
663 Added a new one-button test for ACE_Get_Opt that tests new long option
664 support and demonstrates its use.
665
666 Sat Dec 22 23:12:33 2001 Carlos O'Ryan <[email protected]>
667
668 * examples/Misc/Misc.dsw:
669 * examples/Misc/test_XtReactor1.dsp:
670 * examples/Misc/test_XtReactor2.dsp:
671 * examples/Misc/test_dump.dsp:
672 * examples/Misc/test_get_opt.dsp:
673 * examples/Misc/test_profile_timer.dsp:
674 * examples/Misc/test_read_buffer.dsp:
675 * examples/Misc/test_set.dsp:
676 * examples/Misc/test_sstring.dsp:
677 * examples/Misc/test_trace.dsp:
678 * examples/IPC_SAP/DEV_SAP/reader/reader.dsp:
679 * examples/IPC_SAP/DEV_SAP/reader/reader.dsw:
680 * examples/IPC_SAP/DEV_SAP/writer/writer.dsp:
681 * examples/IPC_SAP/DEV_SAP/writer/writer.dsw:
682 * examples/IPC_SAP/FIFO_SAP/FIFO-Msg-client.dsp:
683 * examples/IPC_SAP/FIFO_SAP/FIFO-Msg-server.dsp:
684 * examples/IPC_SAP/FIFO_SAP/FIFO-client.dsp:
685 * examples/IPC_SAP/FIFO_SAP/FIFO-server.dsp:
686 * examples/IPC_SAP/FIFO_SAP/FIFO-test.dsp:
687 * examples/IPC_SAP/FIFO_SAP/FIFO_SAP.dsw:
688 * examples/IPC_SAP/SPIPE_SAP/NPClient.dsp:
689 * examples/IPC_SAP/SPIPE_SAP/NPServer.dsp:
690 * examples/IPC_SAP/SPIPE_SAP/SPIPE_SAP.dsw:
691 * examples/IPC_SAP/SPIPE_SAP/client.dsp:
692 * examples/IPC_SAP/SPIPE_SAP/consumer_msg.dsp:
693 * examples/IPC_SAP/SPIPE_SAP/consumer_read.dsp:
694 * examples/IPC_SAP/SPIPE_SAP/producer_msg.dsp:
695 * examples/IPC_SAP/SPIPE_SAP/producer_read.dsp:
696 * examples/IPC_SAP/SPIPE_SAP/server.dsp:
697 * examples/IPC_SAP/TLI_SAP/CPP-ATM-client.dsp:
698 * examples/IPC_SAP/TLI_SAP/CPP-ATM-server.dsp:
699 * examples/IPC_SAP/TLI_SAP/CPP-client.dsp:
700 * examples/IPC_SAP/TLI_SAP/CPP-server.dsp:
701 * examples/IPC_SAP/TLI_SAP/TLI_SAP.dsw:
702 * examples/IPC_SAP/TLI_SAP/db-client.dsp:
703 * examples/IPC_SAP/TLI_SAP/db-server.dsp:
704 * examples/IPC_SAP/TLI_SAP/ftp-client.dsp:
705 * examples/IPC_SAP/TLI_SAP/ftp-server.dsp:
706 * examples/IPC_SAP/UPIPE_SAP/UPIPE_SAP.dsw:
707 * examples/IPC_SAP/UPIPE_SAP/ex1.dsp:
708 * examples/IPC_SAP/UPIPE_SAP/ex2.dsp:
709 * examples/IPC_SAP/UPIPE_SAP/ex3.dsp:
710 Add yet more missing project files.
711
712 * examples/IPC_SAP/SPIPE_SAP/NPClient.cpp:
713 * examples/IPC_SAP/SPIPE_SAP/NPServer.cpp:
714 * examples/IPC_SAP/FIFO_SAP/FIFO-test.cpp:
715 Fixed minor syntax errors for Win32 builds.
716
717 Sat Dec 22 11:27:11 2001 Carlos O'Ryan <[email protected]>
718
719 * bin/auto_compile:
720 Add missing -i flags for make_pretty.pl.
721
722 Sat Dec 22 11:24:53 2001 Carlos O'Ryan <[email protected]>
723
724 * examples/Service_Configurator/IPC-tests/client/client.dsw:
725 * examples/Service_Configurator/IPC-tests/client/broadcast_client_test.dsp:
726 * examples/Service_Configurator/IPC-tests/client/local_dgram_client_test.dsp:
727 * examples/Service_Configurator/IPC-tests/client/local_fifo_client_test.dsp:
728 * examples/Service_Configurator/IPC-tests/client/local_pipe_client_test.dsp:
729 * examples/Service_Configurator/IPC-tests/client/local_spipe_client_test.dsp:
730 * examples/Service_Configurator/IPC-tests/client/local_stream_client_test.dsp:
731 * examples/Service_Configurator/IPC-tests/client/remote_dgram_client_test.dsp:
732 * examples/Service_Configurator/IPC-tests/client/remote_service_directory_test.dsp:
733 * examples/Service_Configurator/IPC-tests/client/remote_stream_client_test.dsp:
734 * examples/Service_Configurator/IPC-tests/client/remote_thr_stream_client_test.dsp:
735 * examples/Service_Configurator/IPC-tests/server/server.dsw:
736 * examples/Service_Configurator/IPC-tests/server/Server.dsp:
737 * examples/Service_Configurator/IPC-tests/server/Server_static.dsp:
738 * examples/Service_Configurator/IPC-tests/server/server_test.dsp:
739 Add missing project files and workspaces.
740
741 * examples/Service_Configurator/IPC-tests/server/Handle_Broadcast.h:
742 * examples/Service_Configurator/IPC-tests/server/Handle_L_CODgram.h:
743 * examples/Service_Configurator/IPC-tests/server/Handle_L_Dgram.h:
744 * examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.h:
745 * examples/Service_Configurator/IPC-tests/server/Handle_L_Pipe.h:
746 * examples/Service_Configurator/IPC-tests/server/Handle_L_SPIPE.h:
747 * examples/Service_Configurator/IPC-tests/server/Handle_L_Stream.h:
748 * examples/Service_Configurator/IPC-tests/server/Handle_R_Dgram.h:
749 * examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.h:
750 * examples/Service_Configurator/IPC-tests/server/Handle_Timeout.h:
751 Add export directives for Win32 builds.
752
753 Fri Dec 21 14:39:57 2001 Carlos O'Ryan <[email protected]>
754
755 * examples/Map_Manager/Map_Manager.dsw:
756 * examples/Map_Manager/test_hash_map_manager.dsp:
757 * examples/ASX/CCM_App/CCM_App.dsp:
758 * examples/ASX/CCM_App/CCM_App.dsw:
759 * examples/ASX/CCM_App/CCM_App_static.dsp:
760 * examples/ASX/CCM_App/SC_Client.dsp:
761 * examples/ASX/CCM_App/SC_Server.dsp:
762 * examples/Connection/misc/Connection_Handler.dsp:
763 * examples/Connection/misc/misc.dsw:
764 * examples/Connection/misc/test_upipe.dsp:
765 * examples/IOStream/client/client.dsw:
766 * examples/IOStream/client/iostream_client.dsp:
767 * examples/IOStream/server/server.dsw:
768 * examples/IOStream/server/iostream_server.dsp:
769 * examples/Smart_Pointers/Smart_Pointers.dsw:
770 * examples/Smart_Pointers/gadget_test.dsp:
771 * examples/Smart_Pointers/widget_test.dsp:
772 Add missing project files and workspaces.
773
774 Fri Dec 21 16:22:39 2001 Steve Huston <[email protected]>
775
776 * ace/ace.icc: Corrected entries for String_Base_Const.(h cpp).
777
778 Fri Dec 21 16:00:00 2001 Steve Huston <[email protected]>
779
780 * tests/SSL/Makefile.bor: Add $(SSL_CFLAGS) $(ACE_SSL_CFLAGS) to
781 CFLAGS to pick up the SSL include dirs, etc.
782
783 Fri Dec 21 11:30:01 2001 Carlos O'Ryan <[email protected]>
784
785 * examples/Shared_Malloc/multiple_mallocs.dsp:
786 Add Malloc.cpp and Options.cpp to this project. Though not
787 strictly required for Win32 the files are used in Unix builds.
788 Having the .dsp and Makefile consistent is helpful for samwise.
789
790 Fri Dec 21 14:14:51 2001 Steve Huston <[email protected]>
791
792 * ace/SSL/Makefile: Removed SSL_Accept_Handler.* and
793 SSL_Connect_Handler.* from the dependencies.
794
795 * tests/Makefile: Only build SSL tests if ssl eq 1.
796
797 Fri Dec 21 16:13:54 2001 Balachandran Natarajan <[email protected]>
798
799 * Makefile: Added Makefile.bor to the list of controlled files for
800 the release.
801
802 Thu Dec 20 18:20:51 2001 Douglas C. Schmidt <[email protected]>
803
804 * ace/RB_Tree.cpp: Added checks in the RB_tree_predecessor() and
805 RB_tree_successor() methods to guard against indirections via a
806 NULL pointer. Thanks to Craig Ching <[email protected]> for
807 reporting this fix.
808
809 Thu Dec 20 18:05:32 2001 Steve Huston <[email protected]>
810
811 * examples/Shared_Malloc/test_persistence.cpp: Added a nothrow
812 variant of operator new to work with ACE_HAS_NEW_NOTHROW platforms.
813
814 Thu Dec 20 15:04:52 2001 Steve Huston <[email protected]>
815
816 * ace/SSL/SSL_SOCK_Acceptor.h: Improved documentation. Changed
817 "protocol_family" argument defaults from PF_INET to PF_UNSPEC
818 to work correctly with IPv6 support.
819
820 Thu Dec 20 13:53:48 2001 Steve Huston <[email protected]>
821
822 * ace/SSL/SSL_SOCK_Acceptor.cpp:
823 * ace/SSL/SSL_SOCK_Connector.cpp: Fixed compile errors on Win32.
824
825 Thu Dec 20 13:37:42 2001 Steve Huston <[email protected]>
826
827 * ace/config-all.h: Restructured the section for
828 ACE_NEW_THROWS_EXCEPTIONS so that if ACE_HAS_NEW_NOTHROW is defined,
829 the new(nothrow) version is used rather than setting up a try/catch.
830 (Previously, this was only done for HP aC++). Also, check for
831 __BORLANDC__ and set up the ACE_bad_alloc exception value properly.
832 Thanks to Johnny Willemsen <[email protected]> for reporting
833 this problem.
834
835 Thu Dec 20 11:43:29 2001 Steve Huston <[email protected]>
836
837 * tests/SSL: New directory for ACE_SSL tests.
838
839 * tests/SSL/dummy.pem:
840 * tests/SSL/key.pem:
841 * tests/SSL/Makefile:
842 * tests/SSL/Makefile.bor: Structure support for new tests.
843
844 * tests/Thread_Pool_Reactor_SSL_Test.(h cpp): Tests the ACE_TP_Reactor
845 with ACE_SSL wrappers. Thank you to Robert Handl
846 <[email protected]> for contributing this test.
847
848 * tests/Makefile:
849 * tests/Makefile.bor: Add SSL to build dirs if building with SSL.
850
851 * THANKS: Added Robert Handl to the Hall of Fame.
852
853 Thu Dec 20 11:34:51 2001 Steve Huston <[email protected]>
854
855 * ace/SSL/SSL_SOCK_Acceptor.(h cpp i):
856 * ace/SSL/SSL_SOCK_Connector.(h cpp i): Series of changes:
857 - Does not use an ACE_Reactor any longer. Waiting for socket
858 I/O possibility is done using ACE::select. It's simpler and
859 doesn't suffer on Win32.
860 - The basic socket acceptance is referred to ACE_SOCK_Acceptor,
861 so the shared_accept_start and shared_accept_finish methods
862 are gone (in SSL_SOCK_Acceptor.*; no affect on Connector).
863 - The timed and non-timed versions of ssl_accept/connect are
864 now combined into one function. The timeout value passed to
865 the ACE_SSL_SOCK_Acceptor::accept() method is used, and it
866 correctly drives ACE::accept.
867
868 * ace/SSL/SSL_Connector_Handler.(cpp h):
869 * ace/SSL/SSL_Accept_Handler.(cpp h): These are no longer needed.
870 since all of the accept handshaking activity is paced by
871 ACE::accept, not a reactor.
872
873 * ace/SSL/Makefile:
874 * ace/SSL/Makefile.bor:
875 * ace/SSL/ACE_SSL.dsp:
876 * ace/SSL/ACE_SSL_LIB.dsp: Removed SSL_Accept_Handler and
877 SSL_Connect_Handler.
878
879 Thu Dec 20 09:03:12 2001 Johnny Willemsen <[email protected]>
880
881 * Makefile.bor:
882 Only build ace and its tests because the rest is not fully
883 unicode compliant
884
885 Wed Dec 19 22:28:00 2001 Ossama Othman <[email protected]>
886
887 * ace/WFMO_Reactor.cpp (upcall): Corrected syntax error.
888
889 Wed Dec 19 21:54:29 2001 Steve Huston <[email protected]>
890
891 * ace/config-hpux-10.x-hpc++.h: Added ACE_HAS_NEW_NOTHROW when
892 exceptions are enabled.
893
894 Wed Dec 19 11:10:35 2001 Douglas C. Schmidt <[email protected]>
895
896 * ace/WFMO_Reactor.cpp: Use the ACE_BIT_ENABLED macro
897 rather than the '&' operator directly.
898
899 2001-12-18 Douglas C. Schmidt <[email protected]>
900
901 * Both Irfan Pyarali and Chris Gill are now *Dr.* Pyarali and
902 *Dr.* Gill. Congrats to both on a job well done!
903
904 Wed Dec 19 10:02:53 2001 Venkita Subramonian <[email protected]>
905
906 * Makefile.bor:
907 Made changes for Borland ace-only builds as per
908 Johnny Willemsen <[email protected]>.
909
910 Wed Dec 19 09:39:03 2001 Venkita Subramonian <[email protected]>
911
912 * tests/Message_Queue_Test_Ex.cpp:
913
914 Fixed compiler warning. Deleted an unused variable declaration.
915
916 Wed Dec 19 10:31:12 2001 Johnny Willemsen <[email protected]>
917
918 * tests/Makefile.bor:
919 Added INET_Addr_Test
920
921 * tests/INET_Addr_Test.cpp:
922 Changed type of argv from char to ACE_TCHAR to solve link errors
923 in the Unicode builds
924
925 Tue Dec 18 19:15:42 2001 Steve Huston <[email protected]>
926
927 * tests/INET_Addr_Test.dsp: New test project for INET_Addr_Test.
928
929 * tests/tests.dsw: Added INET_Addr_Test project.
930
931 Tue Dec 18 18:50:29 2001 Steve Huston <[email protected]>
932
933 * ace/README: Added entry for new macro, ACE_HAS_NEW_NOTHROW.
934 This setting should be enabled if the compiler offers
935 new (nothrow). It enables nothrow variants of operator new
936 where that operator is defined on ACE classes.
937
938 * ace/config-hpux-11.00.h: Added ACE_HAS_NEW_NOTHROW for aCC.
939
940 * ace/config-all.h: Changed ACE_NEW[_RETURN] for HP aC++ to use
941 new(nothrow) rather than trying to catch exceptions, which
942 works particularly poorly when exceptions are disabled. Even
943 if they're disabled at compiler time, the run-time will still
944 throw an exception if allocation fails.
945 Fix decision making for how to do this correctly for both
946 HP-UX 10.20 and 11.x.
947 Correct ACE_throw_bad_alloc to compile correctly.
948
949 * ace/Configuration.cpp (create_index_helper, value_open_helper,
950 section_open_helper):
951 * ace/Local_Name_Space_T.cpp (create_manager_i):
952 * ace/Malloc_Allocator.cpp (ACE_Allocator::instance):
953 Use naked placement new rather than ACE_NEW_RETURN. Placement
954 new does not work with new(nothrow) and a placement new won't
955 throw an exception that the ACE_NEW_* macros would catch anyway.
956
957 * ace/Svc_Handler.(h cpp): Added a nothrow version of operator
958 new if ACE_HAS_NEW_NOTHROW is defined.
959
960 * ace/config-hpux-11.x-hpc++.h: As promised before ACE 5.1, this
961 file is removed. config-hpux-11.00.h is the HP-UX 11.x config.
962
963 * ace/config-aix-3.2.5.h:
964 * ace/config-hpux-9.x.h: Removed. These are hopelessly out of date
965 and the compilers don't support them any longer.
966
967 Tue Dec 18 17:47:44 2001 Steve Huston <[email protected]>
968
969 * ace/Caching_Utility_T.cpp: Added #include "ace/Recyclable.h"
970 to pick up def for ACE_RECYCLABLE_IDLE_AND_PURGABLE.
971
972 * tests/INET_Addr_Test.cpp: ACEified.
973
974 * tests/run_test.lst: Added INET_Addr_Test.
975
976 Tue Dec 18 14:43:02 2001 Carlos O'Ryan <[email protected]>
977
978 * ace/Sock_Connect.cpp:
979 * ace/config-cygwin32-common.h:
980 Use the #include /**/ trick to shut up the WinCE warnings.
981
982 Tue Dec 18 22:05:04 2001 Balachandran Natarajan <[email protected]>
983
984 * bin/make_release: Added comment to indicate the problem in
985 producing diffs when a beta after a major or minor release is
986 cut. This needs fixing. Will get to this when the other pending
987 changes go in.
988
989 Tue Dec 18 16:01:59 2001 Douglas C. Schmidt <[email protected]>
990
991 * ace/OS_Dirent.cpp (readdir_emulation): Fixed an "off-by-one"
992 memory allocation error. Thanks to Kyle Brost
993 <[email protected]> for reporting this.
994
995 Mon Dec 17 09:04:28 2001 Douglas C. Schmidt <[email protected]>
996
997 * ace/OS.i (ctime_r): Replaced ACE_OS::strsncpy() with
998 ACE_OS::strncpy() to fix a bug on Linux. Thanks to Vlado
999 Chovanec <[email protected]> for reporting this.
1000 This fixes BugID 1101.
1001
1002 Tue Dec 18 13:04:07 2001 Carlos O'Ryan <[email protected]>
1003
1004 * bin/make_pretty.pl:
1005 Incorporate numerous pending changes and improvements.
1006
1007 Tue Dec 18 12:45:45 2001 Carlos O'Ryan <[email protected]>
1008
1009 * bin/nightlybuilds/builds.lst:
1010 Updated to use the new build standard.
1011
1012 * bin/nightlybuilds/scoreboard_update.pl:
1013 Incorporate changes to support multiple "groups" (for external
1014 builds), to print out the last reported status of each build
1015 (such as "COMPILING"), and to adjust the build timeouts on a
1016 per-build basis.
1017
1018 Tue Dec 18 11:11:29 2001 Steve Huston <[email protected]>
1019
1020 * ace/SPIPE.h: Improved comments for Doxygen processing.
1021
1022 Mon Dec 17 18:30:41 2001 Steve Huston <[email protected]>
1023
1024 * ace/SPIPE_Acceptor.(h cpp): For Windows, use the event handle
1025 instead of the pipe handle for the handle value stored in the
1026 ACE_IPC_SAP class. The pipe handle is pretty useless for doing
1027 anything like detecting when the pipe connect is done - the
1028 event handle is what's really useful there, and it stays
1029 consistent across accepts, while the pipe handle changes. This
1030 change allows the get_handle() value to be registered with the
1031 reactor, albeit for signal, not input.
1032
1033 Mon Dec 17 00:13:47 2001 Nanbor Wang <[email protected]>
1034
1035 * ace/String_Base_Const.h:
1036 * ace/String_Base_Const.cpp: Added a new base class for
1037 ACE_String_Base extracting out the static member data to
1038 circumvent a SunCC compilation problem which only happen when
1039 debug=0 is defined.
1040
1041 * ace/String_Base.h:
1042 * ace/String_Base.cpp: Removed the offending static member sata.
1043
1044 * ace/Makefile:
1045 * ace/Makefile.bor:
1046 * ace/ace_dll.dsp:
1047 * ace/ace_lib.dsp:
1048 * ace/ace.icc:
1049 * ace/ace-lib.icc:
1050 * ace/ace-dll.icc: Added String_Base_Const.* to various project files.
1051
1052 Sun Dec 16 10:33:17 2001 Douglas C. Schmidt <[email protected]>
1053
1054 * ace/Select_Reactor_T.h: Improve the documentation of the
1055 ACE_Select_Reactor_T() constructor to clarify the mask_signals
1056 and disable_notify_pipe parameters. Thanks to Bob Jolliffe
1057 <[email protected]> for motivating this.
1058
1059 Sun Dec 16 16:42:12 2001 Johnny Willemsen <[email protected]>
1060
1061 * examples/IPC_SAP/SOCK_SAP/CPP-inserver-fancy.{h,cpp}:
1062 * examples/IPC_SAP/SOCK_SAP/CPP-inserver-poll.{h,cpp}:
1063 * examples/IPC_SAP/SOCK_SAP/CPP-inserver.cpp:
1064 * examples/IPC_SAP/SOCK_SAP/CPP-unclient.cpp:
1065 * examples/IPC_SAP/SOCK_SAP/CPP-unserver.cpp:
1066 * examples/IPC_SAP/SOCK_SAP/FD-unclient.cpp:
1067 * examples/IPC_SAP/SOCK_SAP/FD-unserver.cpp:
1068 * examples/IPC_SAP/FILE_SAP/client.cpp:
1069 * examples/IPC_SAP/UPIPE_SAP/ex1.cpp:
1070 * examples/IPC_SAP/UPIPE_SAP/ex2.cpp:
1071 * examples/IPC_SAP/UPIPE_SAP/ex3.cpp:
1072 * examples/Log_Msg/test_callback.cpp:
1073 * examples/Log_Msg/test_log_msg.cpp:
1074 * examples/Log_Msg/test_ostream.cpp:
1075
1076 Made these examples compile when ACE_USES_WCHAR is set
1077
1078 Sun Dec 16 08:04:23 2001 Venkita Subramonian <[email protected]>
1079
1080 * tests/Message_Queue_Test_Ex.cpp : fixed a compiler error
1081
1082 Sat Dec 15 09:30:31 2001 Douglas C. Schmidt <[email protected]>
1083
1084 * tests/Message_Queue_Test_Ex.cpp (main): Fixed a minor bug
1085 by removing the size-hint from the call to User_Class. Thanks
1086 to Venkita Subramonian <[email protected]> for reporting
1087 this.
1088
1089 * ace/config-win32-mingw.h. Added #define ACE_HAS_BROKEN_SAP_ANY
1090 so that it'll compile on MinGW32. Thanks to Ben Flight
1091 <[email protected]> for reporting this.
1092
1093 * tests/Logging_Strategy_Test.cpp: include ace/Logging_Strategy.h
1094 rather than ace/Logging_Strategy.cpp. Thanks to Mike Connors
1095 <[email protected]> for reporting this.
1096
1097 Sat Dec 15 16:20:28 2001 Balachandran Natarajan <[email protected]>
1098
1099 * ace/ace_os_dll.vcp: Added the files OS_QoS.{h,cpp}.
1100
1101 Sat Dec 15 09:52:14 2001 Carlos O'Ryan <[email protected]>
1102
1103 * examples/Misc/test_set.cpp:
1104 Add missing #include for Tru64/DU/CXX, probably implicitly
1105 included on other platforms due to the
1106 ACE_TEMPLATES_REQUIRE_SOURCE.
1107
1108 Sat Dec 15 09:30:31 2001 Douglas C. Schmidt <[email protected]>
1109
1110 * tests/Message_Queue_Test_Ex.cpp: Improved the example to use
1111 a user-defined class parameter for ACE_Message_Queue_Ex rather
1112 than ACE_Message_Block. Thanks to Bill Fulton
1113 <[email protected]> for reporting this.
1114
1115 * ace/Configuration.cpp: Make the return code of enumerate_values()
1116 consistent with enumerate_sections(). Thanks to Kevin Burge
1117 <[email protected]> for reporting this.
1118
1119 Fri Dec 14 21:36:29 2001 Steve Huston <[email protected]>
1120
1121 * ace/ace.icc: Adjusted file list as a result of split-apart
1122 Strategies.* files (Mon Dec 10 15:39:22 2001 Balachandran Natarajan)
1123
1124 * ace/Connection_Recycling_Strategy.cpp:
1125 * ace/Hashable.cpp:
1126 * ace/Recyclable.cpp:
1127 * ace/Refcountable.cpp: Changed the ACE_RCSID to reflect the correct
1128 module name (they all still were named Strategies, from whence
1129 they came.
1130
1131 Fri Dec 14 14:05:09 2001 Carlos O'Ryan <[email protected]>
1132
1133 * ace/svc_export.h:
1134 * netsvcs/clients/Naming/Dump_Restore/Dump_Restore.dsp:
1135 Found a better way to deal with the inconsistencies in the
1136 ACE_Svc_Export macro.
1137
1138 * netsvcs/clients/Naming/Dump_Restore/Dump_Restore_static.dsp:
1139 Fixed project file for static library.
1140
1141 Fri Dec 14 11:35:01 2001 Craig Rodrigues <[email protected]>
1142
1143 * ace/SSL/SSL_SOCK_Acceptor.h:
1144 * ace/SSL/SSL_SOCK_Connector.h:
1145 * examples/QOS/Simple/Fill_ACE_QoS.h:
1146 * examples/QOS/Change_Receiver_FlowSpec/Fill_ACE_QoS.h:
1147 * examples/QOS/Change_Sender_TSpec/Fill_ACE_QoS.h:
1148 Add #include "ace/OS_QoS.h".
1149
1150 Thu Dec 13 22:16:02 2001 Carlos O'Ryan <[email protected]>
1151
1152 * ace/svc_export.h:
1153 Support ACE_Svc_BUILD_DLL also, to be consistent with all the
1154 other export macros.
1155
1156 * netsvcs/clients/Naming/Dump_Restore/Dump_Restore.h:
1157 Add missing ACE_Svc_Export to the class.
1158
1159 * netsvcs/clients/Naming/Dump_Restore/Dump_Restore.dsw:
1160 * netsvcs/clients/Naming/Dump_Restore/Dump_Restore.dsp:
1161 * netsvcs/clients/Naming/Dump_Restore/Dump_Restore_static.dsp:
1162 * netsvcs/clients/Naming/Dump_Restore/main.dsp:
1163 Add missing project files and a workspace.
1164
1165 Fri Dec 14 00:08:57 2001 Craig Rodrigues <[email protected]>
1166
1167 * ace/OS.h: Move around definitions of ACE_SOCK_GROUP
1168 and ACE_OVERLAPPED_COMPLETION_FUNCTION_FUNC to fix
1169 Win32 builds.
1170
1171 * ace/OS.cpp: Add #include "ace/OS_QoS.h" to fix Win32
1172 builds.
1173
1174 Thu Dec 13 22:21:52 2001 Balachandran Natarajan <[email protected]>
1175
1176 * Updated dependencies of many Makefile's.
1177
1178 Thu Dec 13 21:36:15 2001 Craig Rodrigues <[email protected]>
1179
1180 * ace/OS.cpp: Remove ACE_INLINE from join_leaf().
1181 * ace/OS_QoS.cpp: Remove ACE_INLINE.
1182 * ace/OS_QoS.h: Add include for pre.h.
1183
1184 Thu Dec 13 16:53:00 2001 Ossama Othman <[email protected]>
1185
1186 * bin/auto_run_tests.lst:
1187
1188 Added TAO/orbsvcs/tests/Security/Callback test to the list of
1189 tests to run in our automated regression test suite.
1190
1191 Thu Dec 13 18:11:00 2001 Craig Rodrigues <[email protected]>
1192
1193 * ace/OS.h: Move QoS data structures to OS_QoS.h. Forward
1194 declare QoS data structures now contained in OS_QoS.h and
1195 OS_QoS.cpp.
1196
1197 * ace/OS.i:
1198 * ace/OS.cpp: Move QoS enabled socket API functions from OS.i to
1199 OS.cpp.
1200
1201 * ace/OS_QoS.h (added):
1202 * ace/OS_QoS.cpp (added): OS specific QoS data structures go here.
1203
1204 * ace/MEM_Acceptor.h:
1205 * ace/SOCK_Acceptor.cpp:
1206 * ace/SOCK_Connector.cpp:
1207 * ace/QoS/QoS_Session.h: Add #include "ace/OS_QoS.h".
1208
1209 * ace/QoS/QoS_Session_Impl.cpp: Add u_long casts to eliminate
1210 compiler warnings.
1211
1212 * ace/Makefile: Add rule for OS_QoS.
1213 * ace/Makefile.bor: Same.
1214 * ace/ace_dll.dsp: Same.
1215 * ace/ace_lib.dsp: Same.
1216
1217 Thu Dec 13 14:58:43 2001 Ossama Othman <[email protected]>
1218
1219 * THANKS:
1220
1221 Added Greg Burley <[email protected]> to our Hall of Fame.
1222
1223 Thu Dec 13 14:11:26 2001 Carlos O'Ryan <[email protected]>
1224
1225 * ace/ace_dll.vcp:
1226 Remove Strategies.* from the WinCE project
1227 files, and add the new files that replace it.
1228
1229 Thu Dec 13 16:41:39 2001 Steve Huston <[email protected]>
1230
1231 * examples/Reactor/WFMO_Reactor/test_multithreading.cpp: Changed
1232 call to ACE_Service_Config::close_singletons () to call
1233 ACE_Reactor::close_singleton() instead. Recent changes made
1234 it necessary to include "ace/Service_Config.h" here to use
1235 the former, and it seemed better to call the only needed singleton
1236 destroyer necessary in this case.
1237
1238 * examples/Reactor/WFMO_Reactor/test_suspended_removals.cpp:
1239 * examples/Reactor/WFMO_Reactor/test_window_messages.cpp:
1240 * examples/Bounded_Packet_Relay/BPR_Drivers.h:
1241 Added #include "ace/Reactor.h" - recent changes necessitate this.
1242
1243 * examples/Reactor/WFMO_Reactor/test_talker.cpp: Added
1244 #include "ace/Reactor_Notification_Strategy.h" - recent changes
1245 necessitate this.
1246
1247 Wed Dec 12 16:29:17 2001 Greg Burley <[email protected]>
1248
1249 * ace/SSL/SSL_Context.h:
1250 * ace/SSL/SSL_Context.inl:
1251 * ace/SSL/SSL_Context.cpp:
1252
1253 Made it possible to specify certificate authority locations
1254 after the verification mode has been set.
1255
1256 Wed Dec 12 12:38:16 2001 Ossama Othman <[email protected]>
1257
1258 * ace/SSL/SSL_Accept_Handler.cpp:
1259 * ace/SSL/SSL_Connect_Handler.cpp:
1260
1261 Added missing "ace/Reactor.h" include. ACE_Reactor is only
1262 forward declared otherwise.
1263
1264 Wed Dec 12 12:21:11 2001 Vladimir Chovanec <[email protected]>
1265
1266 * ace/SSL/SSL_Accept_Handler.cpp (handle_input, handle_output):
1267
1268 On Win32 platforms, cancel any previously scheduled "wakeup"
1269 before attempting to perform IO. If necessary, a "wakeup" will
1270 be scheduled if the IO call would block.
1271
1272 (ssl_accept):
1273
1274 On Win32 platforms, it is necessary to schedule a "wakeup" in
1275 the Reactor if an IO call would block. This is necessary since
1276 Windows events are only notified once. Hence, event handlers
1277 must be rescheduled.
1278
1279 * ace/SSL/SSL_Connect_Handler.cpp (handle_input, handle_output,
1280 ssl_connect):
1281
1282 Likewise.
1283
1284 Wed Dec 12 06:56:46 2001 Balachandran Natarajan <[email protected]>
1285
1286 * THANKS: Added Petr Tuma to the hall of fame.
1287
1288 Wed Dec 12 07:29:12 2001 Johnny Willemsen <[email protected]>
1289
1290 * ace/Makefile.bor:
1291 Added Recycable
1292
1293 Tue Dec 11 12:17:45 2001 Ossama Othman <[email protected]>
1294
1295 * ace/SSL/SSL_Accept_Handler.h (ACE_SSL_Accept_Handler):
1296 * ace/SSL/SSL_Connect_Handler.h (ACE_SSL_Connect_Handler):
1297
1298 Accept a reference to the flag that causes the calling thread's
1299 event loop to stop on error. See below for details.
1300
1301 * ace/SSL/SSL_Accept_Handler.cpp (ssl_accept):
1302 * ace/SSL/SSL_Connect_Handler.cpp (ssl_connect):
1303
1304 Return 1 if errno == EWOULDBLOCK and SSL_pending() return a
1305 value greater than zero. The event handler should be called
1306 back before waiting for more in events in the reactor. This
1307 change causes the behavior for this case to match that of the
1308 SSL_ERROR_WANT_{READ,WRITE} cases. Thanks to Vladimir Chovanec
1309 <[email protected]> for providing this fix.
1310
1311 (handle_close):
1312
1313 Set the "handler_closed" flag to one. This will notify the
1314 event loop in the SSL_SOCK_{Acceptor,Connector} that it should
1315 stop handling events in the event of an error.
1316
1317 * ace/SSL/SSL_SOCK_Acceptor.cpp (ssl_accept):
1318 * ace/SSL/SSL_SOCK_Connector.cpp (ssl_connect):
1319
1320 Pass a flag by reference to the event handler responsible for
1321 completing the non-blocking SSL connection. The event handler
1322 will set the flag to 1 in order to cause the event loop in this
1323 method to stop if the event handler is closed on error.
1324
1325 Stop the event loop if a timeout occurs, i.e. handle_events()
1326 returns 0. In conjunction with the above change, this fixes an
1327 infinite loop that would occur in such a timeout situation.
1328
1329 Tue Dec 11 07:59:12 2001 Johnny Willemsen <[email protected]>
1330
1331 * ace/Makefile.bor:
1332 Updated BCB makefile with the changes of the changelog entry
1333 Mon Dec 10 15:39:22 2001 Balachandran Natarajan <[email protected]>
1334
1335 * tests/MEM_Stream_Test.cpp:
1336 Removed wrong ; after an if statement in this test. This should fix
1337 the warning in the MSVC builds
1338
1339 Mon Dec 10 19:10:22 2001 Balachandran Natarajan <[email protected]>
1340
1341 * ace/Refcountable.h:
1342 * ace/Recyclable.h:
1343 * ace/Hashable.h:
1344 * ace/Hashable.inl:
1345 * ace/Notification_Strategy.inl:
1346 * ace/Reactor_Notification_Strategy.inl: Fixed fuzz errors.
1347
1348 Mon Dec 10 18:54:22 2001 Balachandran Natarajan <[email protected]>
1349
1350 * ace/ace_dll.dsp:
1351 * ace/ace_lib.dsp: Added the new files and removed old ones.
1352
1353 Mon Dec 10 15:39:22 2001 Balachandran Natarajan <[email protected]>
1354
1355 Merged from my branch. This checkin actually splits classes in
1356 Strategies.h to multiple files. We also remove Strategies.* files
1357 from the repo.
1358
1359 Tue Nov 27 12:29:09 2001 Balachandran Natarajan <[email protected]>
1360
1361 * ace/Refcountable.h: Added a #define for the inlined file.
1362
1363 * examples/Reactor/Misc/test_demuxing.cpp:
1364 * examples/Timer_Queue/Reactor_Timer_Queue_Test.h:
1365 * examples/Timer_Queue/main_reactor.cpp: Added #includes
1366
1367 * examples/*/Makefile:
1368 * tests/Makefile: Updated dependencies
1369
1370 Wed Nov 21 10:44:33 2001 Balachandran Natarajan <[email protected]>
1371
1372 * tests/Cached_Accept_Conn_Test.h:
1373 * tests/Cached_Conn_Test.cpp:
1374 * tests/Conn_Test.cpp:
1375 * tests/Message_Queue_Notifications_Test.cpp:
1376 * tests/Priority_Reactor_Test.cpp:
1377 * tests/Reactors_Test.cpp:
1378 * tests/Service_Config_DLL.cpp:
1379 * tests/RMCast/Makefile: Fixed compilation errors.
1380
1381 Wed Nov 21 10:42:13 2001 Balachandran Natarajan <[email protected]>
1382
1383 * ace/Svc_Handler.cpp:
1384 * ace/Connector.h:
1385 * ace/Strategies_T.h:
1386 * ace/Acceptor.h:
1387 * ace/Svc_Handler.h: Fixed compilation errors.
1388
1389 Tue Nov 20 12:48:39 2001 Balachandran Natarajan <[email protected]>
1390
1391 * ace/Strategies.h:
1392 * ace/Strategies.cpp:
1393 * ace/Strategies.i: Removed from the repo as the files are being
1394 replaced with multiple files, with one class per file. Please
1395 see below for details. The conglomeration of all the classes in
1396 the same file made very less sense.
1397
1398 * ace/Connection_Recycling_Strategy.h:
1399 * ace/Connection_Recycling_Strategy.cpp: Added a new file for the
1400 class ACE_Connection_Recycling_Strategy
1401
1402 * ace/Hashable.h:
1403 * ace/Hashable.cpp:
1404 * ace/Hashable.inl: New file for the class ACE_Hashable
1405
1406 * ace/Notification_Strategy.h:
1407 * ace/Notification_Strategy.cpp:
1408 * ace/Notification_Strategy.inl: New file for the class
1409 ACE_Notification_Strategy.
1410
1411 * ace/Reactor_Notification_Strategy.h:
1412 * ace/Reactor_Notification_Strategy.cpp:
1413 * ace/Reactor_Notification_Strategy.inl: New file for the class
1414 ACE_Reactor_Notification_Strategy
1415
1416 * ace/Recyclable.h:
1417 * ace/Recyclable.cpp:
1418 * ace/Recyclable.inl: New file for the class ACE_Recyclable
1419
1420 * ace/Refcountable.h:
1421 * ace/Refcountable.cpp:
1422 * ace/Refcountable.inl: New file for the class ACE_Refcountable.
1423
1424 * ace/OS.h: Moved the enum ACE_Recyclable_State to Recyclable.h
1425
1426 * ace/Acceptor.h:
1427 * ace/Caching_Utility_T.cpp:
1428 * ace/Message_Queue.h:
1429 * ace/Message_Queue_T.cpp:
1430 * ace/Strategies_T.h:
1431 * ace/Svc_Handler.cpp: Removed inclusion of Strategies.h.
1432
1433 * ace/Procator.cpp: #included Service_Config.h
1434
1435 * ace/Makefile: Added new file and generated dependencies
1436
1437 * ace/SSL/Makefile:
1438 * ace/RMCast/Makefile: Generated dependencies.
1439
1440 Mon Dec 10 14:10:00 2001 Nanbor Wang <[email protected]>
1441
1442 * Makefile.bor: Added an ace_only target for Borland_wchar nightly
1443 build.
1444
1445 Sun Dec 9 08:54:38 2001 Douglas C. Schmidt <[email protected]>
1446
1447 * ace/Activation_Queue.cpp (enqueue): Fixed a leak where the
1448 dynamically allocated ACE_Message_Block wasn't being released if
1449 enqueue_prio() failed. Thanks to Dan Gilboa
1450 <[email protected]> for reporting this.
1451
1452 * tests/Logging_Strategy_Test.cpp (run_reactor): Fixed a warning.
1453
1454 * tests/MEM_Stream_Test.cpp: Added a call to ACE_Thread_Manager::wait()
1455 to ensure the test shuts down in the right order. Thanks to
1456 Michael Searles <[email protected]> for reporting this.
1457
1458 * ace/Message_Queue_T.i (dequeue): Call dequeue_head() rather than
1459 queue_.dequeue() to get the proper type enforcement. Thanks to
1460 Bill Fulton <[email protected]> for contributing this fix.
1461
1462 Sat Dec 8 17:07:01 2001 Ossama Othman <[email protected]>
1463
1464 * bin/fuzz.pl (check_for_missing_rir_env):
1465
1466 Check for TAO_ENV_ARG_PARAMETER instead of ACE_TRY_ENV. TAO now
1467 uses the former instead of the latter.
1468
1469 Sat Dec 8 09:39:48 2001 Douglas C. Schmidt <[email protected]>
1470
1471 * ace/OS.cpp (string_to_argv): Improved the support for quoted strings.
1472 Thanks to Kevin Burge <[email protected]> for reporting
1473 this.
1474
1475 * ace/Profile_Timer.cpp,
1476 ace/OS.i,
1477 ace/OS.h,
1478 ace/OS.cpp,
1479 ace/High_Res_Timer.i,
1480 ace/High_Res_Timer.cpp,
1481 ace/config-win32-ghs.h,
1482 ace/config-win32-common.h: Added improved support for ACE_LACKS_LONGLONG_T.
1483 Thanks to Alain Decamps for contributing this.
1484
1485 Fri Dec 7 07:57:12 2001 Douglas C. Schmidt <[email protected]>
1486
1487 * ace/OS.cpp (cond_timedwait): Fixed a bug in the WinCE semaphore
1488 simulation version of ACE_OS::cond_timedwait(). Thanks to
1489 Michael Graf <[email protected]> for helping to find this.
1490
1491 Fri Dec 07 14:28:33 2001 Carlos O'Ryan <[email protected]>
1492
1493 * tests/ACE_Init_Test.cpp:
1494 * tests/ACE_Init_TestDlg.cpp:
1495 Fix order of #includes to work under unicode builds.
1496
1497 Fri Dec 07 15:42:44 2001 Nanbor Wang <[email protected]>
1498
1499 * ace/Registry_Name_Space.cpp: Changed to conditionally use
1500 char_rep for binding/unbinding/resolving name bindings. This is
1501 because ACE_CString and ACE_WString no longer allow
1502 initialization with different string type.
1503
1504 Fri Dec 7 10:22:25 2001 Ossama Othman <[email protected]>
1505
1506 * ace/SSL/SSL_SOCK_Stream.i (close):
1507
1508 Do not invalidate the handle when closing the
1509 ACE_SSL_SOCK_Stream. Doing so causes subtle side-effects when a
1510 reactor invokes an event handler that uses a shutdown
1511 ACE_SSL_SOCK_Stream. For example, if an SSL handshake fails
1512 then the stream andle will be invalidated. This prevents the
1513 ACE_SSL_Accept_Handler from being removed from the reactor.
1514 Later when handle_events() is called the reactor will attempt
1515 to call the ACE_SSL_Accept_Handler with the shutdown
1516 ACE_SSL_SOCK_Stream, which appears to cause an access violation
1517 on Windows, and a "hang" on Unix platforms. Thanks to Vladimir
1518 Chovanec <[email protected]> for tracking down this
1519 problem.
1520
1521 Thu Dec 6 18:48:07 2001 Douglas C. Schmidt <[email protected]>
1522
1523 * ace/Lib_Find.cpp: Fixed the ldfind() method so that it
1524 does a case-insensitive comparison on Windows platforms. Thanks
1525 to Kevin Burge <[email protected]> for reporting this.
1526
1527 Thu Dec 6 09:02:06 2001 Douglas C. Schmidt <[email protected]>
1528
1529 * ace/Sock_Connect.cpp: Added MACOSX support. Thanks to
1530 John Michael Zorko <[email protected]> for contributing this.
1531
1532 * tests/Logging_Strategy_Test.cpp: Add a "wait()" at the
1533 end of the main function to avoid problems when the main thread
1534 exits before the reactor thread. Thanks to Michael Searles
1535 <[email protected]> for reporting this.
1536
1537 Thu Dec 06 20:28:02 2001 Nanbor Wang <[email protected]>
1538
1539 * ace/SString.cpp (ACE_NS_WString): Char string constructor only
1540 initialized the buffer length but not the string length. This
1541 was causing string comparisons to fail.
1542
1543 Thu Dec 6 18:51:39 2001 Steve Huston <[email protected]>
1544
1545 * include/makeinclude/platform_sunos5_sunc++.GNU: Re this change:
1546 Wed Dec 5 12:37:56 2001 Carlos O'Ryan <[email protected]>
1547 more than the Orbix stuff was removed... restored the setting
1548 of required link libraries and handling for the distrib option.
1549
1550 Thu Dec 06 14:06:22 2001 Nanbor Wang <[email protected]>
1551
1552 * tests/Config_Test.cpp: The string literals used to initialize
1553 ACE_TString need to be enclosed in an ACE_TEXT macro.
1554
1555 * ace/Registry_Name_Space.h:
1556 * ace/Registry_Name_Space.cpp: Changed ACE_WString to
1557 ACE_NS_WString. I missed these last time.
1558
1559 * ace/SString.i: Added an ACE_NS_WString constructor that I
1560 missed.
1561
1562 Thu Dec 6 11:19:18 2001 Venkita Subramonian <[email protected]>
1563
1564 * performance-tests/Server_Concurrency/Queue_Based_Workers/RT_CORBA_Workers.h:
1565 * performance-tests/Server_Concurrency/Leader_Follower/RT_CORBA_Leader_Follower.h:
1566 Fixed warnings in gcc 3.0.2
1567
1568 Thu Dec 6 11:15:28 2001 Balachandran Natarajan <[email protected]>
1569
1570 * performance-tests/Server_Concurrency/Queue_Based_Workers/RT_CORBA_Workers.h:
1571 * performance-tests/Server_Concurrency/Leader_Follower/RT_CORBA_Leader_Follower.h:
1572 Fixed Fuzz errors in these files.
1573
1574 Thu Dec 6 07:39:07 2001 Chad Elliott <[email protected]>
1575
1576 * Added two new static functions for VxWorks only. spae() and
1577 spaef() which are similar to spa(), but allow more than 10
1578 arguments with the help of double quoted strings. spaef() is
1579 similar to spae() except that a new task is not spawned to run
1580 the main function of the program. Thanks to Albert Wijnja
1581 <[email protected]> for the idea and supplying the original
1582 code.
1583
1584 Thu Dec 06 00:06:52 2001 Nanbor Wang <[email protected]>
1585
1586 * performance-tests/Misc/test_naming.cpp: Replaced the use of
1587 ACE_WString with ACE_NS_WString as ACE_WString no longer support
1588 initization using char string.
1589
1590 Wed Dec 05 17:13:15 2001 Nanbor Wang <[email protected]>
1591
1592 * ace/SString.h: The concatenation oeprator needed to be
1593 exported.
1594
1595 Wed Dec 5 19:58:42 2001 Steve Huston <[email protected]>
1596
1597 * ace/Logging_Strategy.cpp: Set the logger_key_ member to 0 (no key)
1598 unless/until the LOGGER flag is specified (and then the default
1599 key is set) or the -k option is given, which specifies a new key.
1600 Always passing a logger_key, even when there's no logger to be
1601 used, makes for some odd names in the syslog and NT Event Logs
1602 after the change:Sat Dec 1 19:39:22 2001 Steve Huston
1603 Thanks to Chris Kohlhoff for pointing this out.
1604
1605 Wed Dec 5 15:35:20 2001 Carlos O'Ryan <[email protected]>
1606
1607 * apps/Makefile.am:
1608 * docs/ACE-categories.html:
1609 Removed left over references to Orbix handler.
1610
1611 * apps/JAWS/remora/app/Makefile:
1612 * apps/JAWS/remora/app/stdmk:
1613 * apps/JAWS/remora/app/test.cc:
1614 * apps/JAWS/remora/app/remora.idl:
1615 * apps/JAWS/remora/app/Remora_Export.h:
1616 * apps/JAWS/remora/app/Remora_Export.i:
1617 * apps/JAWS/remora/app/Remora_Export.cc:
1618 * apps/JAWS/remora/app/Remora_Import.h:
1619 * apps/JAWS/remora/app/Remora_Import.i:
1620 * apps/JAWS/remora/app/Remora_Import.cc:
1621 Another directory that could only compile if ORBeline was still
1622 available.
1623
1624 Wed Dec 05 14:47:32 2001 Carlos O'Ryan <[email protected]>
1625
1626 * ace/ace_dll.dsp:
1627 * ace/ace_lib.dsp:
1628 Removed CORBA_Handler.* and CORBA_Ref.* classes from the project
1629 files.
1630
1631 Wed Dec 5 16:38:31 2001 Nanbor Wang <[email protected]>
1632
1633 * tests/SString_Test.cpp:
1634 * examples/Misc/test_sstring.cpp (main): Changed from ACE_WString
1635 to ACE_NS_WString so we can still initialize the test string
1636 from char strings. We can no longer initialize ACE_WString's
1637 with char strings. ACE_NS_WString maintains the old behavior,
1638 however.
1639
1640 * ace/SString.h:
1641 * ace/SString.i: Added string contatenation operator
1642 ACE_NS_WString::operator+.
1643
1644 Wed Dec 5 12:37:56 2001 Carlos O'Ryan <[email protected]>
1645
1646 * Removed all code to support Orbix and any references to it in
1647 the documentation (at least all references that I found).
1648 We haven't tested this code in ages, so it was probably broken,
1649 furthermore, IONA does not sell Orbix-2.X nor Orbix-3.X (the
1650 versions our code was based on), and will probably stop
1651 supporting old versions of Orbix before ACE-5.3 (or 6.0) come
1652 out.
1653
1654 * ace/Makefile:
1655 * ace/Makefile.am:
1656 * ace/Makefile.bor:
1657 * ace/ace-dll.icc:
1658 * ace/ace-lib.icc:
1659 * ace/ace.icc:
1660 * ace/CORBA_Handler.h:
1661 * ace/CORBA_Handler.i:
1662 * ace/CORBA_Handler.cpp:
1663 * ace/CORBA_Ref.h:
1664 * ace/CORBA_Ref.cpp:
1665 * ace/config-hpux-9.x-orbix.h:
1666 * ace/config-sunos4-sun4.x-orbix.h:
1667 * ace/config-sunos5.4-sunc++-4.x-orbix.h:
1668 * ace/config-sunos5.x-sunc++-4.x-orbix.h:
1669 * apps/Makefile:
1670 * apps/Makefile.am:
1671 * apps/Orbix-Examples/Makefile:
1672 * apps/Orbix-Examples/Event_Comm/Makefile:
1673 * apps/Orbix-Examples/Event_Comm/README:
1674 * apps/Orbix-Examples/Event_Comm/Consumer/Input_Handler.cpp:
1675 * apps/Orbix-Examples/Event_Comm/Consumer/Input_Handler.h:
1676 * apps/Orbix-Examples/Event_Comm/Consumer/Makefile:
1677 * apps/Orbix-Examples/Event_Comm/Consumer/Notification_Receiver_Handler.cpp:
1678 * apps/Orbix-Examples/Event_Comm/Consumer/Notification_Receiver_Handler.h:
1679 * apps/Orbix-Examples/Event_Comm/Consumer/consumer.cpp:
1680 * apps/Orbix-Examples/Event_Comm/Supplier/Input_Handler.cpp:
1681 * apps/Orbix-Examples/Event_Comm/Supplier/Input_Handler.h:
1682 * apps/Orbix-Examples/Event_Comm/Supplier/Makefile:
1683 * apps/Orbix-Examples/Event_Comm/Supplier/Notifier_Handler.cpp:
1684 * apps/Orbix-Examples/Event_Comm/Supplier/Notifier_Handler.h:
1685 * apps/Orbix-Examples/Event_Comm/Supplier/supplier.cpp:
1686 * apps/Orbix-Examples/Event_Comm/include/Event_Comm.hh:
1687 * apps/Orbix-Examples/Event_Comm/include/Event_Comm_i.h:
1688 * apps/Orbix-Examples/Event_Comm/include/Notification_Receiver_i.h:
1689 * apps/Orbix-Examples/Event_Comm/include/Notifier_i.h:
1690 * apps/Orbix-Examples/Event_Comm/libsrc/Event_Comm.hh:
1691 * apps/Orbix-Examples/Event_Comm/libsrc/Event_Comm.idl:
1692 * apps/Orbix-Examples/Event_Comm/libsrc/Event_CommC.cpp:
1693 * apps/Orbix-Examples/Event_Comm/libsrc/Event_CommS.cpp:
1694 * apps/Orbix-Examples/Event_Comm/libsrc/Event_Comm_i.h:
1695 * apps/Orbix-Examples/Event_Comm/libsrc/Makefile:
1696 * apps/Orbix-Examples/Event_Comm/libsrc/Notification.idl:
1697 * apps/Orbix-Examples/Event_Comm/libsrc/Notification_Receiver.idl:
1698 * apps/Orbix-Examples/Event_Comm/libsrc/Notification_Receiver_i.cpp:
1699 * apps/Orbix-Examples/Event_Comm/libsrc/Notification_Receiver_i.h:
1700 * apps/Orbix-Examples/Event_Comm/libsrc/Notifier.idl:
1701 * apps/Orbix-Examples/Event_Comm/libsrc/Notifier_i.cpp:
1702 * apps/Orbix-Examples/Event_Comm/libsrc/Notifier_i.h:
1703 * apps/Orbix-Examples/Logger/Logger.cpp:
1704 * apps/Orbix-Examples/Logger/Logger.h:
1705 * apps/Orbix-Examples/Logger/Makefile:
1706 * apps/Orbix-Examples/Logger/Orbix.hostgroups:
1707 * apps/Orbix-Examples/Logger/Orbix.hosts:
1708 * apps/Orbix-Examples/Logger/README:
1709 * apps/Orbix-Examples/Logger/a1.tex:
1710 * apps/Orbix-Examples/Logger/client.cpp:
1711 * apps/Orbix-Examples/Logger/logger.hh:
1712 * apps/Orbix-Examples/Logger/logger.idl:
1713 * apps/Orbix-Examples/Logger/loggerS.cpp:
1714 * apps/Orbix-Examples/Logger/logger_i.cpp:
1715 * apps/Orbix-Examples/Logger/logger_i.h:
1716 * apps/Orbix-Examples/Logger/server.cpp:
1717 * examples/CORBA/Makefile:
1718 * examples/CORBA/Test.idl:
1719 * examples/CORBA/Test_i.cpp:
1720 * examples/CORBA/Test_i.h:
1721 * examples/CORBA/client.cpp:
1722 * examples/CORBA/server.cpp:
1723 * include/makeinclude/platform_hpux_orbix.GNU:
1724 * include/makeinclude/platform_sunos4_sunc++4.x_orbix.GNU:
1725 * include/makeinclude/platform_sunos5_centerline_orbix.GNU:
1726 * include/makeinclude/platform_sunos5_sunc++_orbix.GNU:
1727 Removed examples and classes to support orbix with ACE.
1728
1729 * ACE-INSTALL.html:
1730 * FAQ:
1731 * README:
1732 * TODO:
1733 * acconfig.h:
1734 * ace/README:
1735 * ace/config-win32-common.h:
1736 * apps/README:
1737 * ace/config-tandem.h:
1738 * docs/ACE-configuration.txt:
1739 * include/makeinclude/platform_aix4_cset++.GNU:
1740 * include/makeinclude/platform_dgux4_epc.GNU:
1741 * include/makeinclude/platform_m88k.GNU:
1742 * include/makeinclude/platform_sunos4_g++.GNU:
1743 * include/makeinclude/platform_sunos5_g++.GNU:
1744 * include/makeinclude/platform_sunos5_kcc.GNU:
1745 * include/makeinclude/platform_sunos5_sunc++.GNU:
1746 * include/makeinclude/platform_unixware_g++.GNU:
1747 * include/makeinclude/platform_unixware_udk.GNU:
1748 * include/makeinclude/rules.local.GNU:
1749 * include/makeinclude/wrapper_macros.GNU:
1750 * m4/ace.m4:
1751 * performance-tests/README:
1752 * performance-tests/TTCP/C/README:
1753 Files that referenced Orbix support or documented how to use
1754 it.
1755
1756 * examples/Reactor/Multicast/Log_Wrapper.h:
1757 * examples/Reactor/Multicast/Log_Wrapper.cpp:
1758 Fixed documentation, it was referencing Orbix but actually it
1759 uses UDP multicast, looks like a cut&paste error to me.
1760
1761 Wed Dec 5 12:15:36 2001 Carlos O'Ryan <[email protected]>
1762
1763 * ace/SString.cpp:
1764 Add missing template instantiations, only a problem when
1765 inlining was disabled.
1766
1767 * tests/Hash_Map_Manager_Test.cpp:
1768 Rename global variable 'alloc' to 'ace_test_allocator', the
1769 former conflicts with STL symbols under Linux.
1770
1771 * tests/Map_Test.cpp:
1772 Rename the value_type and expanded_value global typedefs to have
1773 an ace_ prefix. Though only used in this test they conflict
1774 with some STL symbols by the same name.
1775
1776 * tests/DLList_Test.cpp:
1777 Remove unused global variable 'alloc' looks like a cut&paste
1778 carry-over.
1779
1780 Wed Dec 05 10:08:56 2001 Carlos O'Ryan <[email protected]>
1781
1782 * rpc++/*:
1783 Removed, this directory was not distributed with ACE and having
1784 it around just made the administration harder.
1785
1786 Wed Dec 5 12:10:42 2001 Chad Elliott <[email protected]>
1787
1788 * bin/nightlybuilds/builds.lst:
1789
1790 Temporarily disable the OCI nightly builds.
1791
1792 Wed Dec 5 09:55:28 2001 Steve Huston <[email protected]>
1793
1794 * tests/INET_Addr_Test.cpp: Made the ipv4_addresses array const char *.
1795
1796 Wed Dec 5 15:41:08 2001 Johnny Willemsen <[email protected]>
1797
1798 * ace/OS.h:
1799 Corrected doxygen docu of ACE_Countdown_Time::max_wait_time_
1800
1801 Wed Dec 5 14:14:32 2001 Johnny Willemsen <[email protected]>
1802
1803 * ace/String_Base.h:
1804 Corrected the description of the rep() method
1805
1806 Wed Dec 5 09:21:12 2001 Johnny Willemsen <[email protected]>
1807
1808 * ace/SString.cpp:
1809 Fixed compile error and warning that appeared in BCB build
1810
1811 Tue Dec 4 22:26:28 2001 Nanbor Wang <[email protected]>
1812
1813 * ace/OS_String.h:
1814 * ace/OS_String.i:
1815 * ace/OS_String.cpp (strncpy, wcsncat_emulation): One more
1816 string function that needs to be available. (See next entry.)
1817
1818 Tue Dec 04 22:12:04 2001 Nanbor Wang <[email protected]>
1819
1820 * ace/OS_String.h:
1821 * ace/OS_String.cpp (strsncpy): Made the wchar_t version of this
1822 function available on all platforms and changed it to use type
1823 ACE_WCHAR_T.
1824
1825 Tue Dec 04 20:08:49 2001 Nanbor Wang <[email protected]>
1826
1827 Merged in the new String_Base template class.
1828
1829 * ace/Makefile: Added String_Base into the list of template
1830 files.
1831
1832 * ace/Basic_Types.h: Added definitions of ACE_WCHAR_T and
1833 ACE_WINT_T which are defined to wchat_t and wint_t when
1834 ACE_HAS_WCHAR are defined, and ACE_USHORT16 otherwise. They are
1835 needed to support various "wide character" string operations
1836 that we need to support the templatized ACE_WString, which uses
1837 ACE_USHORT16 as the wide char type when wchar_t is not
1838 supported.
1839
1840 * ace/OS_String.h:
1841 * ace/OS_String.inl:
1842 * ace/OS_String.cpp: Made several wchar version string functions
1843 available no matter ACE_HAS_WCHAR is defined or not. There are
1844 more functions (the ones that have *_emulation helpers
1845 available) that can be made availabe at all time, but I just
1846 fixed the ones that ACE_WString needed for now. We can add more
1847 later.
1848
1849 * ace/SString.h: Changed the definition of ACE_WSTRING_TYPE to
1850 ACE_WCHAR_T. ACE_WCHAR_T is defined in the same fashion as
1851 ACE_WSTRING_TYPE was originally defined.
1852
1853 * ace/Local_Name_Space.cpp: ACE_NS_WString::char_rep works just
1854 fine. We don't need to use ACE_Wide_To_Ascii::convert
1855 explicitly since it is not available when ACE_HAS_WCHAR isn't
1856 defined.
1857
1858 * ace/SString.cpp (operator<<): Avoided the problem of printing
1859 wchar strings temporarily. Using ACE_Wide_To_Ascii didn't work
1860 on platforms that don't support wchar. Thanks to Keith Hamburg
1861 for pointing this out.
1862
1863 * ace/String_Base.cpp: Fixed incorrect RCSID name. Thanks to
1864 Keith Hamburg <[email protected]> for reporting it.
1865
1866 * ace/SString.cpp:
1867 * ace/SString.h:
1868 * ace/SString.i: Changed ACE_WString to be a typedef of
1869 ACE_String_Base<ACE_WSTRING_TYPE> and added a subclass of it
1870 called ACE_NS_WString to maintain backward compatibility.
1871
1872 * tests/Naming_Test.cpp:
1873 * ace/Local_Name_Space.cpp:
1874 * ace/Local_Name_Space.h:
1875 * ace/Local_Name_Space_T.cpp:
1876 * ace/Local_Name_Space_T.h:
1877 * ace/Name_Space.cpp:
1878 * ace/Name_Space.h:
1879 * ace/Naming_Context.cpp:
1880 * ace/Naming_Context.h:
1881 * ace/Remote_Name_Space.cpp:
1882 * ace/Remote_Name_Space.h:
1883 * netsvcs/clients/Naming/Client/Client_Test.cpp:
1884 * netsvcs/lib/Name_Handler.cpp:
1885 * netsvcs/lib/Name_Handler.h: Changed the use of ACE_WString to
1886 ACE_NS_WString.
1887
1888 * tests/SString_Test.cpp: Added ACE_TEXT_WIDE to convert char
1889 strings to wchar strings for initializing ACE_WString as you can
1890 no longer initialize a ACE_WString with a char string.
1891
1892 * ace/String_Base.h:
1893 * ace/String_Base.i:
1894 * ace/String_Base.cpp: Abstracted out ACE_CString and ACE_WString
1895 into a templatized String_Base.
1896
1897 * ace/CDR_Stream.h: Removed forward declarating ACE_CString and
1898 added inclusion of <SString.h>.
1899
1900 * ace/SString.h:
1901 * ace/SString.i:
1902 * ace/SString.cpp: Changed ACE_CString to be a typedef of
1903 ACE_String_Base<char>.
1904
1905 * ace/ace_dll.dsp:
1906 * ace/ace_lib.dsp: Added String_Base.* to appropriate folders.
1907
1908 Tue Dec 4 20:57:09 2001 Balachandran Natarajan <[email protected]>
1909
1910 * performance-tests/Server_Concurrency/Queue_Based_Workers/RT_CORBA_Workers.cpp:
1911 * performance-tests/Server_Concurrency/Queue_Based_Workers/RT_CORBA_Workers.h:
1912
1913 Added a outgoing queue to the test. This should more or less
1914 represent a simple CORBA invocation. Reduced a call to new to by
1915 using a shared data block with a lock.
1916
1917 Tue Dec 4 19:10:22 2001 Steve Huston <[email protected]>
1918
1919 * ace/config-sunos5.6.h: Removed the setting of _POSIX_C_SOURCE to
1920 199309L and __EXTENSIONS__. They aren't needed to pick up shm_open
1921 as previously believed, and they interfere with availability of
1922 some Solaris/C9x functions.
1923
1924 Tue Dec 4 14:47:39 2001 Steve Huston <[email protected]>
1925
1926 * ace/OS.i (gethostbyaddr): Moved this up before getipnodebyaddr()
1927 to avoid a call to gethostbyaddr() before it's been seen
1928 inlined. Thanks to Bala for reporting this.
1929
1930 Tue Dec 4 13:52:44 2001 Steve Huston <[email protected]>
1931
1932 * tests/Date_Time_Test.cpp: Add a test for the microseconds part.
1933
1934 Tue Dec 4 09:27:21 2001 Ossama Othman <[email protected]>
1935
1936 * ace/OS.h:
1937
1938 Reverted the change that added group write permissions to the
1939 default file and directory permissions. Doug correctly points
1940 out that this introduces a security hole. Users who need less
1941 restrictive permissions can redefine these macros in their
1942 config.h header.
1943
1944 Tue Dec 4 10:07:31 2001 Steve Huston <[email protected]>
1945
1946 * bin/auto_compile: Add an optional 6th command line arg that is
1947 the module to check out from CVS. Defaults to ACE_wrappers so
1948 it works the same as it used to without the argument.
1949
1950 Tue Dec 4 06:59:09 2001 Balachandran Natarajan <[email protected]>
1951
1952 * performance-tests/Server_Concurrency/Leader_Follower/RT_CORBA_Leader_Follower.cpp:
1953 * performance-tests/Server_Concurrency/Leader_Follower/RT_CORBA_Leader_Follower.h:
1954 * performance-tests/Server_Concurrency/Queue_Based_Workers/RT_CORBA_Workers.h:
1955 * performance-tests/Server_Concurrency/Queue_Based_Workers/RT_CORBA_Workers.cpp:
1956
1957 New tests for measuring the throughput of two different server
1958 concurrency architectures. The idea is to make it simpler than
1959 what is already there and hence the tests. The old tests were a
1960 bit confusing and very complicated. The old tests have been
1961 retained. The tests are for getting some ball-park figures for
1962 RT_CORBA and for TAO in general.
1963
1964 Tue Dec 4 10:00:04 2001 Johnny Willemsen <[email protected]>
1965
1966 * examples/Reactor/Multicast/client.cpp:
1967 * examples/Naming/test_non_existent.cpp:
1968 * examples/Naming/test_open.cpp:
1969 * examples/Naming/test_writers.cpp:
1970 Made these files compiling when ACE_USES_WCHAR is set
1971
1972 Mon Dec 3 18:19:11 2001 Ossama Othman <[email protected]>
1973
1974 * bin/fuzz.pl (check_for_id_string):
1975
1976 Corrected capitalization of "\$Id\$" in output message.
1977
1978 Mon Dec 3 16:30:07 2001 Ossama Othman <[email protected]>
1979
1980 * ace/OS.h:
1981
1982 Added group write permissions to the default file and directory
1983 permission macros supplied by ACE. Allows the ACE_Process_Mutex
1984 to be used with process from different user in the same group.
1985 Thanks to Michael Brinkmann <[email protected]> for
1986 providing a fix.
1987
1988 Mon Dec 3 16:22:56 2001 Ossama Othman <[email protected]>
1989
1990 * ace/Process_Mutex.h:
1991
1992 Corrected Doxygen documentation.
1993
1994 Mon Dec 03 14:22:57 2001 Carlos O'Ryan <[email protected]>
1995
1996 * ace/ace_dll.dsp:
1997 * ace/ace_lib.dsp:
1998 Add UNIX-only files. Though strictly not required to compile
1999 ACE under NT, putting them in the project makes this directory
2000 more amenable for samwise.
2001
2002 * ace/POSIX_Proactor.cpp:
2003 Remove duplicate ACE_BUILD_DLL macro, when needed this is
2004 defined via options in the project file.
2005
2006 Mon Dec 3 13:59:06 2001 Ossama Othman <[email protected]>
2007
2008 * ace/README:
2009
2010 The ACE_HAS_IP6 macro has been superceded by the ACE_HAS_IPV6
2011 macro. Also added description of the
2012 ACE_USES_IPV4_IPV6_MIGRATION macro based on Steve's description
2013 below.
2014
2015 Mon Dec 3 15:50:42 2001 Steve Huston <[email protected]>
2016
2017 * IPv6 changes done by John Aughey and myself. To enable IPv6
2018 support for a build, put this in your config.h file:
2019 #define ACE_HAS_IPV6
2020 If your build with IPv6 enabled must also run on systems where
2021 the IPv6 support in the kernel is not actually turned on (for
2022 example, Redhat Linux 7 by default), also add this to your
2023 config.h file:
2024 #define ACE_USES_IPV4_IPV6_MIGRATION
2025
2026 * ace/ACE.cpp (format_hexdump): Add \n to last part of a dump line.
2027
2028 * ace/INET_Addr.(h i cpp): If IPv6 is enabled, the inet_addr_
2029 member is now a union of sockaddr_in and sockaddr_in6. Which
2030 one is legit is noted in ACE_Addr::type as well as the family
2031 member of either of the union members. The host name lookup
2032 functions can look up ipv6 as well as ipv4 names, and the
2033 caller can force one or the other by using the address_family
2034 argument to set().
2035
2036 * ace/OS.(h i): Removed ACE_OS::gethostbyname2; replaced it with
2037 the more correctly-named and more flexible ACE_OS::getipnodebyname.
2038 Also added ACE_OS::getipnodebyaddr. These are the IPv6-capable
2039 functions analogous to gethostbyname and gethostbyaddr.
2040
2041 * ace/SOCK.cpp (get_remote_addr, get_local_addr): Set up the
2042 ACE_Addr's type properly to account for ipv4/6 possibilities.
2043
2044 * ace/SOCK_Acceptor.(h cpp): Allow accepting on ipv4 and ipv6 sockets.
2045
2046 * ace/SOCK_CODgram.h:
2047 * ace/SOCK_Connector.(cpp h ):
2048 * ace/SOCK_Dgram.(cpp h ): Change default protocol family from
2049 PF_INET to vary and take advantage of IPv6 if available.
2050
2051 * ace/Sock_Connect.(cpp h): Added ACE_Sock_Connect::ipv6_enabled()
2052 method - it checks to see if the running kernel can do IPv6
2053 sockets or not.
2054
2055 * ace/Sock_Connect.cpp (get_ip_interfaces): Removed a #if 0'd
2056 block that had possible specializations for MSVC 4.2. It's
2057 been a number of years, and it's obviously not needed.
2058
2059 * ace/MEM_Addr.cpp (same_host): Don't try to compare binary
2060 addresses directly... get ACE_INET_Addr objects, clear the port
2061 numbers, and compare them.
2062
2063 * ace/MEM_Connector.cpp (connect): Print error text with message.
2064
2065 * ace/Asynch_Acceptor.cpp (open): For the new socket, use the
2066 protocol family from the listen address, not PF_INET.
2067
2068 * tests/INET_Addr_Test.cpp: New test.
2069
2070 * tests/Makefile: Added INET_Addr_Test.
2071
2072 Mon Dec 3 10:54:34 2001 Carlos O'Ryan <[email protected]>
2073
2074 * ace/OS.h:
2075 Document CDR default buffer sizes and control macros
2076 using Doxygen.
2077 Document memory alignment macros in Doxygen form.
2078
2079 * ace/Sample_History.h:
2080 * ace/Sample_History.inl:
2081 Add accessor to get the samples saved on the history.
2082
2083 * ace/RMCast/RMCast_Singleton_Factory.h:
2084 Document constructor in more detail.
2085
2086 Mon Dec 03 07:54:04 2001 Johnny Willemsen <[email protected]>
2087
2088 * ace/Unbounded_Queue.{h,cpp}:
2089 Added const iterator for this container class
2090
2091 Sun Dec 02 15:13:30 2001 Carlos O'Ryan <[email protected]>
2092
2093 * ace/OS.cpp:
2094 Fixed Fuzz problems, the ACE_TRACE calls in operator++/--
2095 definitions had less whitespace than the actual operators.
2096
2097 Sun Dec 02 15:17:47 2001 Nanbor Wang <[email protected]>
2098
2099 * ace/Thread_Manager.cpp (join): This method mistakenly used the
2100 local copy of Thread_Descriptor to change the thread status when
2101 it found a thread to join from the <thr_list_>. This prevented
2102 the status of the original Thread_Descriptor to be updated
2103 correctly and the same descriptor got put into the
2104 <terminated_thr_list_> again, which caused the same thread to be
2105 waiting on in some cases. Changed to manipulate the descriptor
2106 directly to avoid the problem. Thanks to Eyal Lubetzky
2107 <[email protected]> for reporting the problem and providing a
2108 nice example to showcase it.
2109
2110 Sun Dec 2 12:44:58 2001 Carlos O'Ryan <[email protected]>
2111
2112 * tests/ACE_Init_Test.cpp:
2113 * tests/ACE_Init_TestDlg.cpp:
2114 Protect this test against compilation on non-Win32 platforms,
2115 that makes it easier to compile using samwise.
2116
2117 * tests/RMCast/RMCast_Fragment_Test.cpp:
2118 * tests/RMCast/RMCast_Membership_Test.cpp:
2119 * tests/RMCast/RMCast_Reassembly_Test.cpp:
2120 * tests/RMCast/RMCast_Reordering_Test.cpp:
2121 * tests/RMCast/RMCast_Retransmission_Test.cpp:
2122 * tests/RMCast/RMCast_UDP_Best_Effort_Test.cpp:
2123 Change #include "test_config.h" to #include "../test_config.h",
2124 it is easier to generate makefiles and projects files with
2125 samwise if we do that.
2126
2127 Sun Dec 02 12:15:25 2001 Carlos O'Ryan <[email protected]>
2128
2129 * ace/OS.cpp:
2130 Fixed typos in ACE_Time_Value::operator++ implementations.
2131 Also moved the implementation outside the #ifdef ACE_WIN32
2132 section.
2133
2134 Sun Dec 2 12:17:09 2001 Balachandran Natarajan <[email protected]>
2135
2136 * ace/Reactor.i: Fixed a warning in TRU 64. Thanks to
2137 <[email protected]> which reminded me of the fix in one of my
2138 workspaces. This shows up only in V6.3-013 (cxx) of the
2139 compiler.
2140
2141 Sat Dec 1 19:39:22 2001 Steve Huston <[email protected]>
2142
2143 * ace/Date_Time.i (update): Use ACE_OS::gettimeofday for the time
2144 source. This gets both the seconds-since-epoch value from which
2145 the date and time are calculated and the microseconds value.
2146 Thanks to Jim Connelly <[email protected]> for reporting this.
2147
2148 * THANKS: Added Jim Connelly to the Hall of Fame.
2149
2150 * ace/Log_Msg_NT_Event_Log.{cpp h} (open):
2151 * ace/Log_Msg_UNIX_Syslog.{cpp h} (open):
2152 If the caller passes a prog_name (logger_key) argument, use it
2153 for the Source field in the event log entries (or ident in the
2154 syslog entries). If not, use the program name (previous behavior).
2155 Added comments to define this behavior.
2156
2157 * ace/Log_Msg.cpp (open): Don't refuse to open a backend if the
2158 <logger_key> arg is 0 and the SYSLOG bit is enabled. The SYSLOG
2159 backends, both UNIX and NT Event Log, work perfectly fine with
2160 a 0 logger_key. Thanks to Steve Witten <[email protected]> for
2161 reporting this.
2162
2163 Sat Dec 1 18:03:51 2001 Douglas C. Schmidt <[email protected]>
2164
2165 * ace/config-macosx.h:
2166 * include/makeinclude/platform_macosx.GNU:
2167 Added support so that ACE will build and run on Mac OS X 10.1.
2168 Thanks to John Michael Zorko <[email protected]> for contributing
2169 this.
2170
2171 Fri Nov 30 19:08:19 2001 Douglas C. Schmidt <[email protected]>
2172
2173 * ace/ARGV.cpp (dump): Fixed a bug with dump() so that it
2174 works properly even if argv_ changes. Thanks to Kyle Brost
2175 <[email protected]> for this fix.
2176
2177 Thu Nov 29 16:31:57 2001 Douglas C. Schmidt <[email protected]>
2178
2179 * ace/OS.{h,i,cpp}: Changed the return value of
2180 ACE_Time_Value::operator+= and operator -= to be ACE_Time_Value
2181 & rather than void. Also, added overloaded operator++ and
2182 operator--. This is all to make this stuff work better with
2183 ACE_Atomic_Op. Thanks to Kelly F. Hickel <[email protected]>
2184 for suggesting this.
2185
2186 * ace/Asynch_Acceptor.cpp (parse_address): Changed
2187 the "message_block.size () - 2 * this->address_size ()" argument
2188 to "bytes_to_read_" to work properly on Win32. Thanks to Kelly
2189 F. Hickel <[email protected]> for reporting this.
2190
2191 Wed Nov 28 17:44:26 2001 Douglas C. Schmidt <[email protected]>
2192
2193 * ace/OS_Dirent.cpp (readdir_emulation): Fixed a memory leak
2194 in the dirent emulation. Thanks to Olivier Brunet
2195 <[email protected]> for reporting this.
2196
2197 * ace/SPIPE_Acceptor.h (ACE_SPIPE_Acceptor): Clarified the
2198 return value of open(). Thanks to Garth Watney
2199 <[email protected]> for motivating this.
2200
2201 * ace/OS.h: Added a workaround to the Borland bug for
2202 ACE_OS::stat(). Thanks to Christopher Kohlhoff
2203 <[email protected]> and Chris Able <[email protected]> for
2204 reporting/fixing this.
2205
2206 Sat Dec 01 09:26:27 2001 Balachandran <[email protected]>
2207
2208 * ACE version 5.2.1 released.
2209
2210 Wed Nov 28 09:28:09 2001 Johnny Willemsen <[email protected]>
2211
2212 * ace/examples/IPC_SAP/SOCK_SAP/*
2213 * ace/examples/IPC_SAP/SPIPE_SAP/*
2214 * ace/examples/Misc/*
2215 * ace/examples/Naming/*
2216 * ace/examples/RMCast/Send_File/*
2217 * ace/examples/Reactor/DGram/*
2218 * ace/examples/Reactor/Ntalker/*
2219 * ace/examples/Registry/*
2220 * ace/examples/Threads/*
2221 * ace/examples/Service_Configurator/IPC_tests/client/*
2222 Made these examples compiling when ACE_USES_WCHAR is set
2223
2224 Mon Nov 26 16:07:57 2001 Balachandran Natarajan <[email protected]>
2225
2226 * bin/make_release: The distribution will be available in bzip2
2227 compressed format too. Made modifications to the release scripts
2228 to put out the beta in bzip2 compressed format.
2229
2230 Sat Nov 24 10:23:00 2001 Douglas C. Schmidt <[email protected]>
2231
2232 * ace/Unbounded_Set.h (class ACE_Unbounded_Set): Moved the
2233 insert_tail() method from the private part of the class to the
2234 public part since it's needed by the examples/Misc/test_set.cpp
2235 file.
2236
2237 * examples/Misc/test_set.cpp (main): Somehow the contents of this file
2238 got lost. Thanks to Johnny Willemsen for reporting this!
2239
2240 Fri Nov 23 08:40:33 2001 Douglas C. Schmidt <[email protected]>
2241
2242 * tests/Refcounted_Auto_Ptr_Test.cpp: Added some ACE_DEBUGs to
2243 print out the reference count.
2244
2245 * ace/Refcounted_Auto_Ptr.h: Added a count() accessor method to
2246 return the reference count. Thanks to Andrea Bernicchia
2247 <[email protected]> for contributing this.
2248
2249 Thu Nov 22 05:24:51 2001 Craig Rodrigues <[email protected]>
2250
2251 * examples/QOS/Diffserv: Added a simple example to illustrate
2252 how to set Diffserv Codepoints on an ACE_SOCK_CODgram.
2253 * examples/QOS/Makefile: Updated.
2254
2255 Wed Nov 21 11:35:50 2001 Michael Kircher <[email protected]>
2256
2257 * ace/Bound_Ptr.h
2258 * ace/Bound_Ptr.i
2259 * ace/Future.cpp
2260 * ace/Future.h
2261 * ace/Refcounted_Auto_Ptr.h
2262 * ace/Refcounted_Auto_Ptr.i
2263
2264 Made the memory allocation failure behavior consistent
2265 to the behavior prior to the change on Sun Oct 28 13:15:00 2001.
2266 Thanks to Christopher Kohlhoff <[email protected]> who prepared
2267 this change.
2268 The problem was that with the above mentioned change failed
2269 allocations would return 0 in either case, if exceptions were
2270 enabled by the platform or not. This was incosistent to the
2271 behavior before, as new threw bad_alloc on allocation failure
2272 when exceptions were supported by the platform.
2273
2274 To fix this we faced the following forces:
2275 - Not to introduce yet another macro
2276 - Minimize impact of changes, localize the problem
2277 - Keep the new calls wrapped by a ACE_NEW macro to allow
2278 users to eventually redefine the macro (using e.g. new (nothrow)
2279
2280 As the ACE_NEW macros are quite restrictive in their supported
2281 semantics, e.g. you can only return on error, we decided to introduce
2282 a new method (as inline) internal_create which does the allocation.
2283 internal_create is called by create which does the differentiation
2284 between the exception-supported and exception-not-supported case.
2285
2286 Wed Nov 21 09:07:37 2001 Douglas C. Schmidt <[email protected]>
2287
2288 * ace/OS.h: Updated the ACE_GUARD_ACTION macro and added a new
2289 ACE_GUARD_REACTION macro. Then, reimplemented the ACE_GUARD and
2290 ACE_GUARD_RETURN macros in terms of these new macros. Thanks to
2291 Don Hinton for contributing these.
2292
2293 * ace/Log_Msg_Callback.h: Improved the comments to explain why
2294 ACE_Log_Msg_Callback isn't inherited. Thanks to
2295 Alexey Chalimov <[email protected]> for motivating this.
2296
2297 Tue Nov 20 15:36:52 2001 Douglas C. Schmidt <[email protected]>
2298
2299 * ACE-INSTALL.html: Pointed out that on Solaris with g++ you may
2300 need to use GNU as instead of /usr/ccs/bin/as, if you want
2301 -gstabs+ and -pipe support. Thanks to C Chan
2302 <[email protected]> for reporting this.
2303
2304 Mon Nov 19 07:24:05 2001 Douglas C. Schmidt <[email protected]>
2305
2306 * examples/Synch/proc_sema.cpp: Added the ACE_TEXT macro so that
2307 ACE_Get_Opt works correctly. Thanks to Johnny Willemsen for
2308 contributing this.
2309
2310 * tests/Aio_Platform_Test.cpp (main): Fixed the code so that it
2311 compiles when ACE_USES_WCHAR. Thanks to Johnny Willemsen for
2312 reporting this.
2313
2314 * docs/ACE-categories.html: Updated the Doxygen URLs to use the
2315 new format. Thanks to Peter J. Mason <[email protected]>
2316 for reporting the problem.
2317
2318 Fri Nov 16 10:39:52 2001 Douglas C. Schmidt <[email protected]>
2319
2320 * docs: Moved minimumTAO.html from $TAO_ROOT/docs/ to
2321 $ACE_ROOT/docs.
2322
2323 * ace/OS.h: Added two new macros ACE_GUARD_ACTION and
2324 ACE_GUARD_ACTION_RETURN. Thanks to Boris Kaminer
2325 <[email protected]> for suggesting these.
2326
2327 * ace/NT_Service.cpp (state): Fixed a bug where calling
2328 ACE_NT_Service::state(x,x) while the service is stopped was
2329 causing the internal status variables of ACE_NT_Service to
2330 become corrupt. If the control_mask is set to
2331 SERVICE_ACCEPT_STOP in the constructor, the call to state will
2332 cause this mask to be reset (if the service is not running).
2333 This ultimately results in an NT Service that can be started but
2334 not stopped. Thanks to Kyle Brost <[email protected]> for
2335 providing this fix.
2336
2337 Wed Nov 21 10:00:20 2001 Chad Elliott <[email protected]>
2338
2339 * ace/config-irix6.x-common.h:
2340
2341 Changed the size of a long double from 16 to 8 for the GNU
2342 compiler.
2343
2344 * include/makeinclude/platform_irix6.x_sgic++.GNU:
2345
2346 Add buildbits macro to allow 32 and 64 bit builds on IRIX.
2347
2348 Wed Nov 21 12:49:08 2001 Johnny Willemsen <[email protected]>
2349
2350 * performance-tests/Misc/basic_perf.cpp
2351 * performance-tests/Misc/childbirth_time.cpp
2352 * performance-tests/Misc/context_switch_time.cpp
2353 * performance-tests/Misc/preempt.cpp
2354 * performance-tests/Misc/test_mutex.cpp
2355 * performance-tests/Misc/test_singleton.cpp
2356 Made these tests compiling when ACE_USES_WCHAR is set
2357
2358 Wed Nov 21 08:49:12 2001 Johnny Willemsen <[email protected]>
2359
2360 * ace/OS.h
2361 Added ACE_LIB_TEXT around ACE_DEFAULT_RENDEZVOUS to make a unicode
2362 constant when ACE_USES_WCHAR is defined
2363
2364 * tests/FlReactor_Test.cpp
2365 * tests/TkReactor_Test.cpp
2366 * tests/XtReactor_Test.cpp
2367 Changed type of argv argument of main from char to ACE_TCHAR so that
2368 these tests compile without problems when ACE_USES_WCHAR is defined
2369
2370 * examples/IPC_SAP/ATM_SAP/CPP-client.cpp
2371 * examples/IPC_SAP/ATM_SAP/CPP-server.cpp
2372 * examples/IPC_SAP/FIFO_SAP/FIFO-client.cpp
2373 * examples/IPC_SAP/FIFO_SAP/FIFO-Msg-client.cpp
2374 * examples/IPC_SAP/FIFO_SAP/FIFO-Msg-server.cpp
2375 * examples/IPC_SAP/FIFO_SAP/FIFO-server.cpp
2376 Made these example compiling when ACE_USES_WCHAR is set
2377
2378 Tue Nov 20 12:02:16 2001 Ossama Othman <[email protected]>
2379
2380 * configure.in:
2381
2382 Removed this file from the distribution. Some folks insist on
2383 attempting to build ACE/TAO with the configure script and
2384 reporting problems despite the fact we've explicitly disabled
2385 it.
2386
2387 Tue Nov 20 13:30:36 2001 Balachandran Natarajan <[email protected]>
2388
2389 * ace/Strategies.h:
2390 * ace/Strategies.cpp:
2391 * ace/Strategies.i: Re-added files back into the main trunk. Got
2392 accidentally removed from the main when I was doing some work on
2393 a branch.
2394
2395 Mon Nov 19 20:35:44 2001 Jaiganesh Balasubramanian <[email protected]>
2396
2397 * ace/SOCK_Dgram_Mcast.cpp:
2398 This class allow application to subscribe a single socket to
2399 many multicast groups. However, the unsubscribe operation
2400 failed to work with more than one group. For some strange
2401 reason it was storing the first multicast group subscription in
2402 a class member and using that member in all the paths for the
2403 unsubscribe methods.
2404
2405 We have changed the unsubscribe(const ACE_INET_Addr&,...) method
2406 to work as adversited, i.e. unsubscribe the *given* multicast
2407 address, not the stored one, as an added benefit the method is
2408 now re-entrant. The unsubscribe(void) method works as before.
2409 The code has been re-factored to minimize duplication.
2410
2411 Mon Nov 19 11:03:07 2001 Ossama Othman <[email protected]>
2412
2413 * ACE-INSTALL.html:
2414
2415 Added missing build instructions for the ACE_SSL library, and
2416 updated the list of "make" flags recognized by ACE's Makefile
2417 scheme.
2418
2419 Mon Nov 19 00:53:54 2001 Krishnakumar B <[email protected]>
2420
2421 * ace/Svc_Conf_y.cpp:
2422 * ace/Svc_Conf_l.cpp:
2423 * ace/Svc_Conf_Tokens.h:
2424
2425 Fixed some bugs introduced by my previous checkin because of
2426 patch confusion. Replaced all the standard C system calls with
2427 ACE_OS calls. Made it more wchar friendly.
2428
2429 * ace/Makefile:
2430
2431 Removed the dependency on /pkg/gnu/bin/flex. It was broken. We
2432 now use $(LEX) and $(YACC) defined in
2433 $ACE_ROOT/include/makeinclude/wrapper_macros.GNU.
2434
2435 * include/makeinclude/wrapper_macros.GNU:
2436
2437 Changed the definition of YACC to bison (by default). If people
2438 want to change this, it can be overridden by a variable in the
2439 Makefile. But things are most likely to break if you use yacc.
2440
2441 * etc/Svc_Conf_l.cpp.diff:
2442 * etc/Svc_Conf_y.cpp.diff:
2443
2444 Regenerated the diffs.
2445
2446 *Sigh* This patching business is ugly.
2447
2448 Fri Nov 16 07:22:19 2001 Balachandran Natarajan <[email protected]>
2449
2450 * bin/make_release: Updated the script to copy the beta to a
2451 different location. Have tested this by creating a dummy
2452 repository and a dummy export directory. Things worked
2453 fine. Hopefully the beta should go through without any hassle.
2454
2455 The script is tied to its usage on ace.cs. Needs to be
2456 changed. Will do that after this beta goes out. Having too many
2457 changes at the same time may not be good.
2458
2459 Thu Nov 15 20:44:40 2001 Craig Rodrigues <[email protected]>
2460
2461 * etc/Svc_Conf_l.cpp.diff: Updated. Thanks to Kitty for reporting it.
2462 * etc/Svc_Conf_y.cpp.diff: Added. We need it for uses of ACE_LIB_TEXT.
2463 * ace/Makefile: Added rule to apply patch to Svc_Conf_y.cpp.
2464
2465 Thu Nov 15 08:26:57 2001 Douglas C. Schmidt <[email protected]>
2466
2467 * ace/*.cpp: Changed all remaining uses of ACE_TEXT to ACE_LIB_TEXT
2468 to be consistent... Thanks to Johnny Willemsen for reporting
2469 the inconsistencies and for Darrell Brunsch for clarifying what
2470 the right behavior should be.
2471
2472 Wed Nov 14 07:43:20 2001 Douglas C. Schmidt <[email protected]>
2473
2474 * docs/ACE-guidelines.html: Updated the guidelines to explain
2475 the use of ACE_TCHAR for the argv parameter to main(). Thanks
2476 to Johnny Willemsen for reporting this.
2477
2478 * ace/OS_Dirent.inl (opendir): Replace char * const cast with
2479 ACE_TCHAR * const cast. Thanks to Nick Pratt for reporting
2480 this.
2481
2482 * tests/Upgradable_RW_Test.cpp (main): Fixed the test to avoid
2483 dividing by 0 and also initialized all pointers to NULL. Thanks
2484 to Johnny Willemsen for reporting this. Thanks fixes BudID 650.
2485
2486 Tue Nov 13 15:25:04 2001 Douglas C. Schmidt <[email protected]>
2487
2488 * ace/ACE.h (ACE): Clarified what the time_len parameter is used for.
2489 Thanks to Tompa <[email protected]> for reporting this.
2490
2491 Sun Nov 11 09:50:52 2001 Douglas C. Schmidt <[email protected]>
2492
2493 * ace/Naming_Context.cpp (info): Added an ACE_UNUSED_ARG to
2494 silence warning about "length" parameter and changed buf from
2495 char to ACE_TCHAR. Thanks to Johnny Willemsen for reporting
2496 this.
2497
2498 * tests/Aio_Platform_Test.cpp: The argv parameter of main() should
2499 be ACE_TCHAR rather than char. Thanks to Johnny Willemsen for
2500 reporting this.
2501
2502 Thu Nov 15 15:43:20 2001 Craig Rodrigues <[email protected]>
2503
2504 * ace/Naming_Context.cpp (info): Wrapped sprintf() arguments with
2505 ACE_LIB_TEXT. Fix supplied by Johnny Willemsen.
2506
2507 Thu Nov 15 12:43:31 2001 Nanbor Wang <[email protected]>
2508
2509 * docs/wchar.txt: Added a writeup for ACE_LIB_TEXT and ACE_TEXT
2510 from "the authority."
2511
2512 Wed Nov 14 21:36:42 2001 Ossama Othman <[email protected]>
2513
2514 * docs/usage-bugzilla.html:
2515
2516 Corrected link to the DOC Center's bugzilla site.
2517
2518 Wed Nov 14 23:11:59 2001 Craig Rodrigues <[email protected]>
2519
2520 * ace/Naming_Context.cpp (info): Fixed Unicode build problems
2521 by consistently using ACE_TCHAR instead of char, and by
2522 using Unicode aware string functions in ACE_OS_String
2523 instead of ACE_OS.
2524
2525 * ace/Svc_Conf_l.cpp: Default intialized ace_yy_c_buf_p to ACE_TCHAR
2526 instead of char. Default initialized ace_yy_cp, ace_yy_bp to 0.
2527
2528 * ace/Svc_Conf_y.cpp: Wrap string literals passed to ace_yyerror
2529 with ACE_LIB_TEXT().
2530
2531 Wed Nov 14 06:38:41 2001 Balachandran Natarajan <[email protected]>
2532
2533 * docs/ACE-bug-process.html (HREF): Changed references from ace.cs
2534 to deuce.doc. Thanks to Johnny Willemsen for reporting this.
2535
2536 Tue Nov 13 15:04:15 2001 Carlos O'Ryan <[email protected]>
2537
2538 * html/Stats/index.shtml:
2539 * html/Stats/detailed_performance.shtml:
2540 Improved documentation about the test location, ORB, and network
2541 configuration used. Thanks to David Yongqiang Wang
2542 <[email protected]> for pointing out the problems.
2543
2544 Tue Nov 13 11:46:11 2001 Chris Cleeland <[email protected]>
2545
2546 * tests/Collection_Test.cpp (iterate_const): Fixed ACE_DEBUG print
2547 statements that were accessing the element of the unbounded set
2548 as an int rather than an UglyThing. Thanks to Ossama for
2549 pointing this out.
2550
2551 Mon Nov 12 11:41:35 2001 Ossama Othman <[email protected]>
2552
2553 * ace/SSL/SSL_SOCK_Stream.cpp (send, recv):
2554
2555 In the va_arg versions of these methods, do not use
2556 send/recv_n() to as the underlying send/recv() method. It
2557 forces unnecessary blocking.
2558
2559 Corrected return value semantics in versions of these methods
2560 that use loop to send/receive multiple buffers. If data was
2561 sent or received than do not return -1 on error. Instead return
2562 the amount of bytes sent/received. This is necessary to allow
2563 the caller to keep track of sent or received data. [Bug 882]
2564
2565 Sun Nov 11 23:50:00 2001 Craig Rodrigues <[email protected]>
2566
2567 * tests/Date_Time_Test.cpp: Remove argv variable from
2568 main() to eliminate unused variable compiler warning.
2569 * tests/Arg_Shifter_Test.cpp: Same.
2570
2571 Sun Nov 11 10:00:56 2001 Ossama Othman <[email protected]>
2572
2573 * ace/SSL/SSL_SOCK_Stream.h (ACE_SSL_SOCK_Stream):
2574
2575 Removed unused class members.
2576
2577 * ace/SSL/SSL_SOCK_Stream.cpp (sendv):
2578
2579 If an error occurs but data was sent on a previous loop
2580 iteration then return the amount of bytes sent, not the error.
2581 This extends previous check for EWOULDBLOCK and ETIME. All
2582 errors are now caught. The caller must always know if any data
2583 was successfully sent. [Bug 882]
2584
2585 Do not continue on to the next loop iteration if the amount of
2586 data sent was less than the amount data given. This avoids a
2587 subtle problem where "holes" in the data stream would occur if
2588 partial sends of a given buffer in the iovec array occured.
2589 [Bug 882]
2590
2591 Sun Nov 11 07:58:07 2001 Ossama Othman <[email protected]>
2592
2593 * ace/SSL/SSL_SOCK_Stream.cpp (sendv):
2594
2595 Fixed unused variable warnings.
2596
2597 Sat Nov 10 23:25:50 2001 Ossama Othman <[email protected]>
2598
2599 * bin/auto_run_tests.lst:
2600
2601 Added new SSLIOP "Big_Request" test to the list of regression
2602 tests to automatically run during the nightly builds.
2603
2604 Sat Nov 10 22:13:54 2001 Krishnakumar B <[email protected]>
2605
2606 * ace/Svc_Conf_l.cpp:
2607 * ace/Svc_Conf_y.cpp:
2608 * ace/Svc_Conf_Tokens.h:
2609
2610 Regenerated the files after fixing the warnings that showed up
2611 under Sun CC Forte Update. They were caused because Sun CC's
2612 preprocessor doesn't like the #line statements generated by flex
2613 and bison. Since these files are not modified on a daily basis,
2614 people debugging the lexer can turn it on by removing the flags
2615 '-l' and '-L' to bison and flex respectively in the Makefile.
2616 For now, this removes a lot of noise.
2617
2618 * ace/Makefile:
2619
2620 Added flags '-l' to bison and '-L' to flex.
2621
2622 * etc/Svc_Conf_l.cpp.diff:
2623
2624 Regenerated the diff to match the current version.
2625
2626 * etc/Svc_Conf_y.cpp.diff:
2627
2628 This file held the stuff which have been obsoleted by the move
2629 to use bison. So removed this file to avoid causing confusion in
2630 the future. Thanks to Ossama for pointing this out.
2631
2632 Let's see some green :-)
2633
2634 Sat Nov 10 19:27:36 2001 Ossama Othman <[email protected]>
2635
2636 * ace/SSL/SSL_Accept_Handler.cpp (ssl_accept):
2637 * ace/SSL/SSL_Connect_Handler.cpp (ssl_connect):
2638
2639 If data is still buffered within OpenSSL's internal buffer, then
2640 force the Reactor to invoke the event handler (with
2641 the appropriate mask) before waiting for more events
2642 (e.g. blocking on select()) by returning a value greater than
2643 one. All pending data must be processed before waiting for more
2644 events to come in on the SSL handle.
2645
2646 * ace/SSL/SSL_SOCK_Stream.h (reactor, handler, notify):
2647
2648 These methods are no longer needed. Removed them.
2649
2650 (sendv):
2651
2652 Added missing timeout parameter.
2653
2654 * ace/SSL/SSL_SOCK_Acceptor.cpp (ssl_accept):
2655 * ace/SSL/SSL_SOCK_Connector.cpp (ssl_connect):
2656 * ace/SSL/SSL_SOCK_Stream.i (notify, recv_i, send_i, close):
2657
2658 Reverted code that notify()ed the Reactor if data was still
2659 pending in OpenSSL's internal buffers. The idea was to force
2660 the reactor to call the appropriate event handler before polling
2661 for events (e.g. blocking on select()). However, notifications
2662 are not dispatched until after events are polled which meant
2663 that there is no point in notify()ing the Reactor.
2664
2665 * ace/SSL/SSL_SOCK_Stream.cpp (reactor, handler):
2666
2667 These methods are no longer needed. Removed them.
2668
2669 (sendv):
2670
2671 Fixed/improved the writev() semantics and emulation in this
2672 method. Previously, if an iov_base buffer was successfully
2673 sent, that success was not reported to the caller if subsequent
2674 sends in the emulation loop failed. The caller would end up
2675 thinking that no part of the message was sent. The improved
2676 semantics are now the following if the underlying send() call
2677 returns with an EWOULDBLOCK or ETIME error condition:
2678
2679 - If no data was sent, then return -1.
2680 - If some data was sent on a previous loop iteration then
2681 return the number of bytes successfully sent.
2682
2683 In both cases, errno is unchanged. [Bug 882]
2684
2685 Incidentally, this fixes a problem in TAO's SSLIOP pluggable
2686 protocol when sending very large requests. Thanks to Andrew
2687 Finnell <[email protected]> for providing an
2688 example that exhibited the problem.
2689
2690 Lastly, the missing timeout support has been added. The timeout
2691 is decremented on each loop iteration.
2692
2693 Sat Nov 10 17:16:59 2001 Nanbor Wang <[email protected]>
2694
2695 * ace/OS.cpp (fopen): Removed redundant parentheses.
2696
2697 Sat Nov 10 09:29:48 2001 Douglas C. Schmidt <[email protected]>
2698
2699 * ace/OS.i (pipe): Replaced the _pipe() call on Win32 with the
2700 CreatePipe() call. Thanks to Bo Balders <[email protected]>
2701 for reporting this.
2702
2703 * ace/Log_Msg.cpp (log): The "format" string was omitted. Thanks
2704 to Martin Krumpolec for noticing this.
2705
2706 Sat Nov 10 08:48:24 2001 Douglas C. Schmidt <[email protected]>
2707
2708 * ace/Arg_Shifter.{h,cpp}: Added a new constructor to ACE_Arg_Shifter
2709 so that it can handle both const char ** and char ** arguments.
2710
2711 Fri Nov 9 07:42:41 2001 Douglas C. Schmidt <[email protected]>
2712
2713 * ace/Arg_Shifter.cpp: Made the argv parameter to ACE_Arg_Shifter
2714 a "const" ACE_CHAR **.
2715
2716 * tests/Arg_Shifter_Test.cpp (main): Added "const" to the
2717 args local variable to remove a warning from SunC++.
2718
2719 Fri Nov 9 11:23:01 2001 Chris Cleeland <[email protected]>
2720
2721 * tests/Collection_Test.cpp: Fixed up things that caused problems
2722 on several platforms. Added the ARRAY tests back in.
2723
2724 Thu Nov 8 14:52:39 2001 Steve Huston <[email protected]>
2725
2726 * ace/Log_Msg.h: Added a new 'M' option to print out the name of
2727 the log priority. Thanks to Vladimir Chovanec
2728 <[email protected]> for reporting this.
2729
2730 Thu Nov 8 10:41:44 2001 Douglas C. Schmidt <[email protected]>
2731
2732 * ace/OS_String.h: Enhanced the documentation so that it explains
2733 the differences between ACE_OS::strsncpy() and ACE_OS::strcpy()
2734 more precisely. Thanks to Alain Decamps for contributing this.
2735
2736 * ace/Naming_Context.{h,cpp}: The info() method should have
2737 ACE_TCHAR ** rather than char **. Thanks to Johnny Willemsen
2738 for reporting this.
2739
2740 * ace/OS.cpp: Added support for Borland's idiosyncratic _wfdopen()
2741 method. Thanks to Johnny Willemsen for reporting this.
2742
2743 Wed Nov 7 05:17:03 2001 Douglas C. Schmidt <[email protected]>
2744
2745 * ace/Message_Queue_T.{h,cpp}: Changed the typo DEFUALT_PRIORITY
2746 to DEFAULT_PRIORITY.
2747
2748 * ace/OS.i: In BCB the _wtempnam() has the following signature:
2749 wchar_t *_wtempnam(wchar_t *dir, wchar_t *prefix)
2750
2751 This means that the arguments must be made non-const by a cast. The
2752 fix is to add some defines so that with BCB and no wchar the
2753 _tempnam is used (with the casts) and with BCB and wchar then
2754 the _wtempnam is used with the casts. Thanks to Johnny
2755 Willemsen for this fix.
2756
2757 Thu Nov 8 14:52:39 2001 Steve Huston <[email protected]>
2758
2759 * ace/Arg_Shifter.h: Doxygen-ized some comments.
2760
2761 * ace/Date_Time.i (update): Add 1900 to years value to convert from
2762 localtime's years-since-1900 value to now. Add 1 to the month
2763 to convert localtime's 0-11 range to 1-12. Thanks to Syed
2764 Wasim Ali <[email protected]> for reporting this.
2765
2766 * tests/Date_Time_Test.(cpp dsp icc): New test for ACE_Date_Time.
2767
2768 * tests/tests.dsw:
2769 * tests/tests.icp:
2770 * tests/Makefile[.bor]: Added Date_Time_Test.
2771
2772 * tests/run_test.lst: Added Arg_Shifter_Test and Date_Time_Test.
2773
2774 Thu Nov 8 11:53:00 2001 Steve Huston <[email protected]>
2775
2776 * tests/Arg_Shifter_Test.(cpp dsp icc): New test for ACE_Arg_Shifter.
2777
2778 * tests/tests.dsw:
2779 * tests/tests.icp:
2780 * tests/Makefile[.bor]: Added Arg_Shifter_Test.
2781
2782 Thu Nov 8 13:05:12 2001 Chad Elliott <[email protected]>
2783
2784 * include/makeinclude/platform_irix6.x_sgic++.GNU:
2785
2786 Added an option to suppress warnings about #pragma pack.
2787
2788 Thu Nov 8 10:43:22 2001 Chad Elliott <[email protected]>
2789
2790 * ace/OS.cpp:
2791
2792 Correct a build problem for GHS on Win32.
2793
2794 Wed Nov 07 13:50:39 2001 Nanbor Wang <[email protected]>
2795
2796 * ace/Task_T.h (ACE_Task): Decorated ACE_Task with ACE_Export to
2797 avoid VC7's internal compiler error. Thanks to Darrell for
2798 submitting the change.
2799
2800 Wed Nov 7 10:59:00 2001 Craig Rodrigues <[email protected]>
2801
2802 * include/makeinclude/platform_sunos5_g++.GNU: Append -D_REENTRANT
2803 to CPPFLAGS if threads=1
2804
2805 Wed Nov 7 08:09:20 2001 Balachandran Natarajan <[email protected]>
2806
2807 * bin/nightlybuilds/builds.lst: Changed the name CC5 build as
2808 CC51. It uses version 5.1 of the compiler anyway.
2809
2810 Tue Nov 6 14:39:28 2001 Douglas C. Schmidt <[email protected]>
2811
2812 * ace/SString.i (find),
2813 * ace/Local_Name_Space_T.cpp (resolve_i): Fixed "off-by-one"
2814 bugs with ACE_OS::strscpy(). Thanks to Alain Decamps
2815 <[email protected]> for contributing this.
2816
2817 Tue Nov 6 13:25:40 2001 Chris Cleeland <[email protected]>
2818
2819 * tests/Collection_Test.cpp: Committed an old change that uses an
2820 actual class as the element in the Unbounded_Set rather than an
2821 int. I wrote this to get a better understanding of how the
2822 iterator and accessors on the iterator worked.
2823
2824 * tests/SString_Test.cpp (main): Added a test for the rep() method
2825 that insures that the char array returned is equivalent to the
2826 string in the ACE_CString from which it's obtained.
2827
2828 Mon Nov 5 10:12:01 2001 Douglas C. Schmidt <[email protected]>
2829
2830 * ace/OS.cpp,
2831 * ace/Local_Name_Space_T.cpp,
2832 * ace/FILE_Addr.cpp,
2833 * ace/Acceptor.cpp,
2834 * ace/ACE.cpp: Changed uses of strncpy() to ACE_OS::strsncpy().
2835 Thanks to Alain Decamps for these fixes.
2836
2837 Sun Nov 4 12:11:31 2001 Douglas C. Schmidt <[email protected]>
2838
2839 * ace/Reactor.cpp: Enhanced all the Reactor's event loop methods
2840 to first check and see if the Reactor's been deactivated and to
2841 bailout immediately in this case. Thanks to Don Hinton for
2842 suggesting this.
2843
2844 * ace/Reactor.i: Moved the reactor_event_loop_done() method from
2845 the *.cpp file into the *.i file and made inlineable.
2846
2847 * ace/Select_Reactor_T.cpp: Be more careful about error handling in the
2848 dispatch_notification_handlers() method. If a failure occurs,
2849 when dispatch_notifications() is called, return -1, rather than
2850 erroneously "incrementing" the count of the number of handlers
2851 dispatched. Thanks to Don Hinton for reporting this.
2852
2853 Sat Nov 3 11:15:43 2001 Douglas C. Schmidt <[email protected]>
2854
2855 * The following fixes are from Joachim Achtzehnter <[email protected]>:
2856
2857 In ace/config-pharlap.h we had to explicitly #undef
2858 ACE_HAS_WCHAR after the #include "ace/config-win32.h"
2859 directive. Without this change the resulting DLL depended on
2860 several wide character versions of Win32 system functions, such
2861 as _CreateMutexW. At least some of these dependencies were
2862 caused by ace/OS.i.
2863
2864 In ace/Log_Msg.cpp we had to add !defined(ACE_HAS_PHARLAP) to a
2865 few more places in addition to the ones Bruce Trask had posted
2866 to avoid reference to the NT Eventlog functionality.
2867
2868 At the top of ace/Log_Msg_NT_Event_Log.h and
2869 ace/Log_Msg_NT_Event_Log.cpp we added !defined(ACE_HAS_PHARLAP)
2870 to completely bypass the contents of these two files.
2871
2872 * ace/DEV_Addr.i (addr_to_string):
2873 * ace/Local_Tokens.i (name):
2874 * ace/Module.i (name):
2875 * ace/OS.i (asctime_r):
2876 * ace/SPIPE_Addr.i (addr_to_string):
2877 * ace/UNIX_Addr.i (addr_to_string):
2878 * ace/SString.i (rep): Changed uses of strncpy() to ACE_OS::strsncpy().
2879 Thanks to Alain Decamps for these fixes.
2880
2881 Fri Nov 2 14:38:49 2001 Douglas C. Schmidt <[email protected]>
2882
2883 * ace/Task.h (ACE_Task_Base): Clarify the meaning of the put()
2884 hook method. Thanks to Tommy Svensson <[email protected]>
2885 for motivating this.
2886
2887 Mon Nov 5 14:23:12 2001 Chad Elliott <[email protected]>
2888
2889 * ace/ACE.cpp:
2890
2891 Remove a build warning for gcc 2.95.3 on SunOS 5.6.
2892
2893 Mon Nov 5 14:21:30 2001 Chad Elliott <[email protected]>
2894
2895 * bin/nightlybuilds/builds.lst:
2896
2897 Added the HP-UX nightly build back to the list.
2898
2899 Mon Nov 5 13:31:15 2001 Chad Elliott <[email protected]>
2900
2901 * ace/ACE.cpp:
2902
2903 Fix a build warning for 64-bit HP-UX.
2904
2905 * ace/Active_Map_Manager_T.i:
2906
2907 Cast the free list id to ACE_UINT32 to match up with the
2908 slot_index () type. On 64-bit HP-UX, the free list id type
2909 (size_t) is a 64 bit number and must be cast down to 32 bits.
2910 Otherwise, the slot_index is cast up to 64 bits and does not give
2911 the correct results.
2912
2913 * include/makeinclude/platform_hpux_aCC.GNU:
2914
2915 Add a -L./ to allow the 64-bit HP-UX builds to link properly.
2916
2917 Mon Nov 5 11:17:20 2001 Carlos O'Ryan <[email protected]>
2918
2919 * bin/auto_compile:
2920 Add support for the new status.txt file in the scoreboard.
2921
2922 Mon Nov 5 13:02:50 2001 Chad Elliott <[email protected]>
2923
2924 * ace/config-hpux-11.00.h:
2925
2926 Added #define of ACE_HAS_CHARPTR_DL. This corresponds with the
2927 declaration of dlopen(char*,unsigned int).
2928
2929 * ace/OS.cpp:
2930
2931 Changed the default thread scope to system (similar to Linux).
2932 Process thread scope is not supported in HP-UX.
2933
2934 Sun Nov 04 11:18:31 2001 Nanbor Wang <[email protected]>
2935
2936 * ace/OS.cpp (fopen): Changed to forward call to fopen instead of
2937 _fopen on non-borland compilers when not using UNICODE. This
2938 change allows the code to compile on Win98. Thanks to Jstwo
2939 <[email protected]> for submitting the fix.
2940
2941 Thu Nov 1 16:21:51 2001 Chris Cleeland <[email protected]>
2942
2943 * bin/auto_run_tests.pl: Added snippet of code that puts the
2944 current directory ('.') in the PATH environment variable since
2945 auto_run_tests.pl depends on the current directory being there.
2946
2947 Thu Nov 1 15:49:04 Balachandran Natarajan <[email protected]>
2948
2949 * include/makeinclude/platform_osf1_4.x_cxx.GNU: Moved the
2950 CXX_VERSION definition to the global scope.
2951
2952 * include/makeinclude/platform_tru64_cxx.GNU: Added
2953 -D_PTHREAD_ENV_DECCXX flag to the CPPFLAGS. This is done only
2954 for v5.1, 1885. The pthreads.h in 1885 is messed up. The
2955 conditional include of c_asm.h is busted for DECCXX and
2956 v1885. Hence the change. We need to do this to protect ACE and
2957 TAO applications on this platform and compiler
2958 combinations. Thanks to Don Hinton <[email protected]> for
2959 reporting the problem.
2960
2961 Thu Nov 1 14:25:52 2001 Jeff Parsons <[email protected]>
2962
2963 * ace/config-win32-borland.h:
2964
2965 Added fix sent in by Chris Kohlhoff <[email protected]>
2966 to ACE_CC_PREPROCESSOR_ARGS to enable the recognition of a
2967 filename to which the preprocessor output is to be directed.
2968 There is also a corresponding fix in TAO_IDL/driver/drv_preproc.cpp
2969 that carries out the redirection.
2970
2971 Thu Nov 1 10:27:21 2001 Ossama Othman <[email protected]>
2972
2973 * ace/Select_Reactor_Base.h (open):
2974 * ace/Select_Reactor_T.h (ACE_Select_Reactor_T, open):
2975
2976 Added a note about the "size" of the Select_Reactor on Unix
2977 platforms. On Unix platforms, the size parameter should be as
2978 large as the maximum number of file descriptors allowed for a
2979 given process. This is necessary since a file descriptor is
2980 used to directly index the array of event handlers maintained by
2981 the Reactor's handler repository. Direct indexing is used for
2982 efficiency reasons.
2983
2984 Thu Nov 1 06:38:30 2001 Douglas C. Schmidt <[email protected]>
2985
2986 * ace/ACE.cpp: Fixed some minor formatting problems so that
2987 format_hexdump() works properly. Thanks to Kyle Brost
2988 <[email protected]> for reporting this.
2989
2990 * ace/config-win32.h: Include the config-cygwin32.h file when
2991 __CYGWIN32__ is enabled. Thanks to Johnny Willemsen for
2992 reporting this.
2993
2994 * ace/Synch.i (remove): Added some casts to make certain compilers
2995 happy? Thanks to Guillaume Renaud <[email protected]>
2996 for reporting this.
2997
2998 * ace/OS.i: Updated the Win32 version of ACE_OS::llseek(). Thanks to
2999 Doron Rajwan <[email protected]> for reporting this.
3000
3001 Wed Oct 31 11:25:40 2001 Douglas C. Schmidt <[email protected]>
3002
3003 * ace/OS.h: The ACE_OS::llseek() method must be static! Thanks to
3004 Doron Rajwan <[email protected]> for reporting this.
3005
3006 Tue Oct 30 08:30:16 2001 Douglas C. Schmidt <[email protected]>
3007
3008 * ace/RB_Tree.cpp (operator=): Make sure to check for self-assignment
3009 in the operator=. Thanks to Johnny Willemsen for reporting
3010 this.
3011
3012 Mon Oct 29 05:23:56 2001 Douglas C. Schmidt <[email protected]>
3013
3014 * ace/Naming_Context.{h,cpp}: Moved ACE_STATIC_SVC_REQUIRE from the
3015 .h file to the .cpp file to avoid multiple definitions. Thanks to
3016 Boris Kaminer <[email protected]> for reporting this.
3017
3018 Sun Oct 28 10:05:32 2001 Douglas C. Schmidt <[email protected]>
3019
3020 * ace/config-macosx.h:
3021 * include/makeincludes/platform_macosx.GNU
3022 Added new fixes to get this to work on MacOS X. Thanks to John
3023 Michael Zorko <[email protected]> and Fikri Pribadi
3024 <[email protected]> for contributing this.
3025
3026 Wed Oct 24 23:59:13 2001 Douglas C. Schmidt <[email protected]>
3027
3028 * ace/Configuration_Import_Export.cpp: Fixed a bug where a
3029 check of a pointer was made rather than the character pointed to
3030 by the pointer. Thanks to Juan Jose Comellas
3031 <[email protected]> for reporting this.
3032
3033 Wed Oct 31 16:45:07 2001 Ossama Othman <[email protected]>
3034
3035 * ace/OS.h (llseek):
3036
3037 Made ACE_OS::llseek() a static method, as it was originally
3038 intended to be. Thanks to Doron Rajwan <[email protected]> for
3039 pointing out the problem.
3040
3041 Tue Oct 30 22:53:57 2001 Ossama Othman <[email protected]>
3042
3043 * ace/Svc_Conf_l.cpp:
3044
3045 Fixed incorrect #line preprocessor directives.
3046
3047 * etc/Svc_Conf_l.cpp.diff:
3048
3049 Regenerated this diff so that it includes recent updates.
3050
3051 Mon Oct 29 20:12:40 2001 Ossama Othman <[email protected]>
3052
3053 * tests/run_test.lst:
3054
3055 Added the Proactor test to the list of one-button tests to run.
3056
3057 Mon Oct 29 20:04:40 2001 Ossama Othman <[email protected]>
3058
3059 * tests/Proactor_Test.cpp:
3060
3061 More patches from Alexander Libman. The Proactor_Test appears
3062 to finally work on Linux.
3063
3064 Mon Oct 29 17:49:21 2001 Balachandran Natarajan <[email protected]>
3065
3066 * ace/TP_Reactor.cpp: Added some error checks at places where
3067 token where acquired.
3068
3069 Mon Oct 29 16:59:58 2001 Balachandran Natarajan <[email protected]>
3070
3071 * ace/TP_Reactor.cpp (acquire_token): The acquire_token () called
3072 acquire with a sleep hook. It was wrong. It should just unblock
3073 the thread by sending notify. A bad cut and paste error
3074 :(. Thanks to Graeme Clark <[email protected]> for reporting
3075 this. This closes [BUGID 1077].
3076
3077 Sun Oct 28 20:36:56 2001 Ossama Othman <[email protected]>
3078
3079 * ace/Map_T.i (clone):
3080
3081 Fixed syntax errors.
3082
3083 * ace/Svc_Handler.cpp (new):
3084
3085 Reverted Michael's change. It incorrectly altered the semantics
3086 of the new operator, particularly when compiling with native
3087 exception support enabled. Fixes a warning.
3088
3089 Sun Oct 28 16:44:20 2001 Ossama Othman <[email protected]>
3090
3091 * ace/Timer_Hash_T.cpp (ACE_Timer_Hash_T):
3092
3093 Corrected syntax error that was introduced in the changes
3094 described below by removing extraneous trailing bracket.
3095
3096 Sun Oct 28 13:15:00 2001 Michael Kircher <[email protected]>
3097
3098 * ace/ACE.i:
3099 * ace/Activation_Queue.cpp:
3100 * ace/Bound_Ptr.i:
3101 * ace/Configuration.cpp:
3102 * ace/Configuration_Import_Export.cpp:
3103 * ace/Containers_T.cpp:
3104 * ace/Future.cpp:
3105 * ace/Handle_Gobbler.h:
3106 * ace/Local_Tokens.i:
3107 * ace/MEM_SAP.i:
3108 * ace/Map_T.i:
3109 * ace/Message_Block.cpp:
3110 * ace/OS_Errno.cpp:
3111 * ace/Object_Manager.cpp:
3112 * ace/Obstack_T.cpp:
3113 * ace/Refcounted_Auto_Ptr.i:
3114 * ace/Remote_Tokens.i:
3115 * ace/Strategies_T.cpp:
3116 * ace/Stream.cpp:
3117 * ace/Svc_Handler.cpp:
3118 * ace/Synch_T.cpp:
3119 * ace/TLI.cpp:
3120 * ace/Timer_Hash_T.cpp:
3121 * ace/Timer_Queue_T.cpp:
3122 * ace/Unbounded_Queue.cpp:
3123 * ace/Unbounded_Set.cpp:
3124
3125 Changed almost all direct usages of operator new in ACE to use
3126 ACE_NEW_RETURN (Exceptions is Dump_T.h). In one case in
3127 Stream.cpp the semantics changed slightly if operator new would
3128 have been overloaded, see the "@@ Michael" comment.
3129
3130 When new got used with placement most of the usages got
3131 replaced with ACE_NEW_MALLOC_RETURN. In some cases as in
3132 Malloc_T.cpp, Map_Manager.cpp, PI_Malloc.i, Array_Base.cpp
3133 special cases exist, where the macros would have incurred
3134 different semantics and performance penalties.
3135
3136 Fri Oct 26 07:37:43 2001 Balachandran Natarajan <[email protected]>
3137
3138 * bin/auto_run_tests.lst: Quoter example will not run in
3139 minimum_corba builds.
3140
3141 Wed Oct 24 08:04:36 2001 Balachandran Natarajan <[email protected]>
3142
3143 * ace/Reactor.h: Improved the documentation of the
3144 end_reactor_event_loop ().
3145
3146 Tue Oct 23 10:04:25 2001 Ossama Othman <[email protected]>
3147
3148 * tests/Proactor_Test.cpp:
3149
3150 Replaced uses of a static global lock with the
3151 ACE_Static_Object_Lock singleton.
3152
3153 Fixed incorrect uses of the "%l" format specifier. "%d" is the
3154 expected format specifier.
3155
3156 (Acceptor):
3157
3158 Initialize the "sessions_" member in the base member initializer
3159 list. Corrects a problem where the session number initially
3160 contained a "garbage" value.
3161
3162 Mon Oct 22 17:55:00 2001 Craig Rodrigues <[email protected]>
3163
3164 * ace/Svc_Conf_l.cpp: Remove include of stdlib.h, fix g++/Solaris
3165 build.
3166
3167 Mon Oct 22 15:54:29 2001 Steve Huston <[email protected]>
3168
3169 * ace/config-hpux-10.x-hpc++.h: Remove hard-coded setting of
3170 ACE_HAS_EXCEPTIONS. It is controlled by platform_hpux_aCC.GNU.
3171
3172 Mon Oct 22 15:50:35 2001 Balachandran Natarajan <[email protected]>
3173
3174 * THANKS: Added Chris Hughes name to the Hall of Fame
3175
3176 Sun Oct 21 16:44:41 2001 Ossama Othman <[email protected]>
3177
3178 * tests/Proactor_Test.cpp (disable_signal):
3179
3180 Fixed warnings regarding a method that "hid" virtual function
3181 with the same name, in addition to unused argument warnings.
3182
3183 Sun Oct 21 15:22:57 2001 Ossama Othman <[email protected]>
3184
3185 * tests/Proactor_Test.cpp:
3186
3187 Fixed warning about deprecated conversion of "const char *" to
3188 "char *" exhibited by GCC 3.0.x builds.
3189
3190 Sun Oct 21 12:50:39 2001 Douglas C. Schmidt <[email protected]>
3191
3192 * ace/LSOCK.cpp: The ACE_LSOCK::recv_handle() was returning success
3193 without setting the I/O handle. Thanks to Rick Ohnemus
3194 <[email protected]> for reporting this.
3195
3196 * ace/config-freebsd-pthread.h: Changed
3197 #if (__FreeBSD_version > 430000) to
3198 #if (__FreeBSD_version > 440000) to get ACE to work with FreeBSD 4.4.
3199 Thanks to Gu Song <[email protected]> for reporting this.
3200
3201 Fri Oct 19 06:44:17 2001 Douglas C. Schmidt <[email protected]>
3202
3203 * examples/Reactor/WFMO_Reactor/test_window_messages.cpp:
3204 Don't use a global Event_Handler object since this violates the
3205 design rules for the ACE_Reactor.
3206
3207 Sun Oct 21 13:39:27 2001 Balachandran Natarajan <[email protected]>
3208
3209 * bin/auto_run_tests.lst: Added the Quoter example in
3210 $TAO_ROOT/examples to the list of tests in the daily builds.
3211
3212 Thu Oct 18 20:56:53 2001 Ossama Othman <[email protected]>
3213
3214 * tests/Proactor_Test.cpp:
3215
3216 Added no-op main() function for platforms that do not support
3217 asynchronous IO.
3218
3219 Thu Oct 18 22:46:09 2001 Balachandran Natarajan <[email protected]>
3220
3221 * ace/TP_Reactor.h:
3222 * ace/TP_Reactor.cpp: Fixed warnings in Sun CC and TRU 64 builds.
3223
3224 Thu Oct 18 20:42:55 2001 Ossama Othman <[email protected]>
3225
3226 * tests/Proactor_Test.cpp:
3227
3228 Fixed Unicode build errors.
3229
3230 Thu Oct 18 19:52:44 2001 Craig Rodrigues <[email protected]>
3231
3232 * ace/SString.h: clarify example in comments to ACE_Tokenize
3233 so that constant strings are not passed in its constructor.
3234
3235 * examples/OS/Process/process.cpp: do not pass constant strings
3236 to ACE_Tokenize constructor. Thanks to
3237 Werner Buchert <[email protected]> and
3238 Don Hinton <[email protected]>.
3239
3240 Wed Oct 17 23:56:45 2001 Ossama Othman <[email protected]>
3241
3242 * tests/Proactor_Test.cpp:
3243 * tests/Proactor_Test.dsp:
3244
3245 Proactor test contributed by Alexander Libman
3246 <[email protected]>.
3247
3248 * tests/tests.dsw:
3249
3250 Added Proactor_Test project to the tests workspace.
3251
3252 Wed Oct 17 18:59:53 2001 Christopher Kohlhoff <[email protected]>
3253
3254 * include/makeinclude/install.bor:
3255 Borland makefile fix to ensure that, when doing the install
3256 target, core executables are built correctly if they don't
3257 already exist.
3258
3259 Wed Oct 17 09:15:10 2001 Douglas C. Schmidt <[email protected]>
3260
3261 * ace/config-linux-common.h: Clarified that this file should
3262 not be included directly! Thanks to Suresh N
3263 <[email protected]> for reporting this.
3264
3265 Wed Oct 17 16:00:19 2001 Balachandran Natarajan <[email protected]>
3266
3267 * THANKS: Added Graeme Clark to the Hall of Fame.
3268
3269 Wed Oct 17 15:49:20 2001 Balachandran Natarajan <[email protected]>
3270
3271 * ace/TP_Reactor.cpp:
3272 * ace/TP_Reactor.h: Added remove_handler () calls to the
3273 TP_Reactor. Before this, the call on the reactor used to be
3274 handled by the Select_Reactor's implementation. The
3275 implementation has a problem. It tries to call handle_close ()
3276 (an upcall) as one of the calls after holding the token. This
3277 was asking for trouble. This could lead to deadlocks as
3278 mentioned in [BUG ID 1055].
3279
3280 The method in the TP_Reactor now calls remove_handler () on the
3281 Select_Reactor (its base class) with a DONT_CALL flag. Then it
3282 calls handle_close () on the Event_Handler if the user did not
3283 pass in the DONT_CALL mask. This two step process would get
3284 around the problem that was mentioned before. Thanks to Graeme
3285 Clark <[email protected]> for reporting the problem and
3286 testing this fix.
3287
3288 This should close [BUG ID 1055].
3289
3290 Wed Oct 17 10:40:17 2001 Ossama Othman <[email protected]>
3291
3292 * ace/SSL/SSL_Accept_Handler.cpp (ssl_accept):
3293 * ace/SSL/SSL_Connect_Handler.cpp (ssl_connect):
3294
3295 If errno is set to EWOULDBLOCK for the SSL_ERROR_SYSCALL case,
3296 then continue the connection establishment loop. Do not return
3297 right away. Fixes non-blocking connection establishment on AIX.
3298 Thanks to Vladimir Chovanec <[email protected]> for
3299 providing this fix.
3300
3301 * ace/SSL/SSL_SOCK_Stream.h (notify):
3302
3303 Made this method protected. It isn't intended to be used
3304 internally by the ACE_SSL_SOCK_Stream class.
3305
3306 Wed Oct 17 12:15:15 2001 Chris Cleeland <[email protected]>
3307
3308 * ace/Select_Reactor_T.cpp (handle_error, check_handles): Add
3309 vxworks to the ever-growing list of OSs which return
3310 unpredictable values in errno when there's a bad file descriptor
3311 in a select mask. [Bug 1058].
3312
3313 Thanks to Dave Arndt <[email protected]>, Tad Hetke
3314 <[email protected]>, and Erik Johannes <[email protected]>
3315 for tracking down and providing this fix.
3316
3317 Tue Oct 16 23:08:27 2001 Ossama Othman <[email protected]>
3318
3319 * ace/Svc_Conf.h (ACE_Svc_Conf_Param):
3320
3321 Added a new ACE_Obstack attribute that is passed down to the
3322 parser and scanner. This obviates the need for the global
3323 pointer to the ACE_Obstack that was formally used, which in turn
3324 avoids a race condition.
3325
3326 (ace_obstack):
3327
3328 No longer a need to maintain a global pointer to the ACE_Obstack
3329 instance used during parsing/scanning.
3330
3331 * ace/Svc_Conf.y:
3332 * ace/Svc_Conf.l:
3333
3334 Retrieve the Obstack from the parameter passed down to yyparse()
3335 and yylex() instead of using the (now non-existent) global
3336 instance. This is part of a race condition fix.
3337
3338 * ace/Svc_Conf_y.cpp:
3339 * ace/Svc_Conf_l.cpp:
3340
3341 Updated to pull in the changes made to the source files from
3342 which these files were generated.
3343
3344 * ace/Service_Config.cpp (process_directives_i):
3345
3346 The global ACE_Obstack pointer used during each Service
3347 Configurator parse has been removed. An ACE_Obstack instance is
3348 now passed down to the parser and scanner in a
3349 reentrant/thread-safe manner via the new ACE_Svc_Conf_Param
3350 parameter. As such, there is no longer any need to maintain a
3351 global pointer to the ACE_Obstack instance in use, nor is it
3352 necessary to store/restore the previous value when performing
3353 nested or parallel Service Configurator directive processing.
3354 This fixes a race condition that was causing some memory
3355 corruption when parsing Service Configurator directives in
3356 parallel.
3357
3358 Note that the ACE_Obstack is now instantiated on the stack
3359 rather than the heap, thus improving Service Configurator
3360 directive processing performance.
3361
3362 Mon Oct 15 23:16:55 2001 Ossama Othman <[email protected]>
3363
3364 * ace/Service_Config.h (process_directives_i):
3365
3366 Updated the signature of this method to accept a parameter that
3367 will eventually passed to the parser and the scanner.
3368
3369 * ace/Service_Config.cpp:
3370
3371 No need to include "ace/Svc_Conf_Lexer_Guard.h" and
3372 "ace/Object_Manager.h".
3373
3374 (process_directives_i):
3375
3376 Updated the signature of this method to accept a parameter that
3377 will eventually passed to the parser and the scanner.
3378
3379 Pass the "ACE_Svc_Conf_Param" parameter to the yyparse() call.
3380 This is reentrant/thread-safe.
3381
3382 Check the error count found in the "ACE_Svc_Conf_Param" object.
3383 It's count is incremented in a thread-safe/reentrant manner.
3384
3385 (process_directive, process_directives):
3386
3387 The ACE_Svc_Conf_Lexer_Guard and its accompanying
3388 synchronization has been moved to the generated scanner code.
3389 This makes locking finer grained. Specifically, instead of
3390 holding a lock for the duration of the scope within which
3391 service configurator directive parsing and scanning is
3392 performed (e.g. for the duration of the yyparse() call), the
3393 lock is only held for the duration of the scope where service
3394 configurator directive scanning occurs (i.e. the entire yylex()
3395 call is synchronized). This is part of the core fix that
3396 corrects a deadlock that occurred when activating an ACE_Task,
3397 in conjunction with the singleton instance of the
3398 ACE_Thread_Manager, during Service Object initialization.
3399 [Bug 1036]
3400
3401 * ace/Service_Config.i:
3402
3403 Cosmetic update.
3404
3405 * ace/Svc_Conf.h:
3406
3407 Added declaration and method definitions for the
3408 ACE_Svc_Conf_Param class. Instances of this class contain the
3409 state used when parsing/scanning a given service configurator
3410 file or service configurator directive.
3411
3412 (ACE_SERVICE_DIRECTIVE_STACK_DEPTH):
3413
3414 There is no longer any hard-coded limit on the maximum depth
3415 nested service configurator directives may be processed. Only
3416 process resource limits limit the maximum nesting depth.
3417
3418 (ace_yyparse, ace_yylex):
3419
3420 Updated the parser and lexer entry points to accept an
3421 additional parameter, i.e. a pointer to an ACE_Svc_Conf_Param
3422 object.
3423
3424 (ace_yy_push_buffer, ace_yy_pop_buffer):
3425
3426 Pass a pointer to the buffer that will be "switched" in our out
3427 when processing nested service configurator directives those
3428 that are processed in parallel.
3429
3430 * ace/Svc_Conf.l:
3431
3432 Removed array that implemented the service configurator
3433 directive stack. The "stack" is now implemented using the
3434 function call stack itself. Hence there is no hard-coded limit
3435 to the stack size.
3436
3437 Removed all references to ACE_{LPAREN, RPAREN, LBRACE, RBRACE,
3438 COLON, STAR}. Just return their corresponding symbolic integer
3439 constants (e.g. ACE_COLON --> ':').
3440
3441 Increment error and line count in the ACE_Svc_Conf_Param object
3442 passed to the yylex() function from yyparse(). This improves
3443 reentrance/thread-safety when tracking error counts.
3444
3445 (yy_push_buffer, yy_pop_buffer):
3446
3447 Pass a pointer to the buffer that will be "switched" in our out
3448 when processing nested service configurator directives those
3449 that are processed in parallel.
3450
3451 * ace/Svc_Conf.y:
3452
3453 Removed all references to ACE_{LPAREN, RPAREN, LBRACE, RBRACE,
3454 COLON, STAR}. Just use their corresponding symbolic integer
3455 constants (e.g. ACE_COLON --> ':').
3456
3457 Increment error and line count in the ACE_Svc_Conf_Param object
3458 passed to the yylex() function from yyparse(). This improves
3459 reentrance/thread-safety when tracking error counts.
3460
3461 * ace/Svc_Conf_Lexer_Guard.h:
3462
3463 Store a pointer the lexer buffer currently being scanned.
3464
3465 * ace/Svc_Conf_Lexer_Guard.cpp:
3466
3467 Updated constructor to accept a pointer to an ACE_Svc_Conf_Param
3468 object. If the buffer in that object is zero, it will be
3469 initialized.
3470
3471 * ace/Svc_Conf_l.cpp:
3472 * ace/Svc_Conf_y.cpp:
3473 * ace/Svc_Conf_Tokens.h:
3474
3475 Regenerated these files in order to pull in the updates made to
3476 their corresponding source files (i.e. Svc_Conf.{l,y}).
3477
3478 Mon Oct 15 11:26:39 2001 Steve Huston <[email protected]>
3479
3480 * examples/C++NPv2: New directory for examples in "C++ Network
3481 Programming, Volume 2: Systematic Reuse with ACE and Frameworks"
3482 Moved these changes to the new directory, and reverted the
3483 C++NPv1 files to their ACE 5.2 state:
3484 Sun Oct 14 17:05:14 2001 Douglas C. Schmidt
3485 Tue Oct 9 07:46:20 2001 Douglas C. Schmidt
3486
3487 Sun Oct 14 17:05:14 2001 Douglas C. Schmidt <[email protected]>
3488
3489 * examples/C++NPv1/Logging_Handler.{h,cpp}: Changed log_file_ from
3490 a reference to a pointer so that it can be initialized
3491 correctly. Thanks to Kitty for reporting this.
3492
3493 Fri Oct 12 14:54:58 2001 Craig Rodrigues <[email protected]>
3494
3495 * ace/OS.i:
3496 Remove extraneous check for macro ACE_HAS_WINSOCK2_GQOS,
3497 which was breaking various builds under Windows.
3498 Thanks to Jeff McNiel <[email protected]> for pointing it out.
3499
3500 Fri Oct 12 12:15:22 2001 Carlos O'Ryan <[email protected]>
3501
3502 * bin/nightlybuilds/builds.lst:
3503 The QNX machine is no longer running that OS, plus attempts to
3504 bring it back to life failed. The build is removed until
3505 further notice.
3506
3507 Thu Oct 11 17:52:32 2001 Priyanka Gontla <[email protected]>
3508
3509 * ace/SOCK_Dgram_Mcast.cpp:
3510 Somehow the file didnt get committed yesterday. So, committing
3511 the following change now.
3512
3513 Wed Oct 10 16:56:18 2001 Priyanka Gontla <[email protected]>
3514
3515 Thu Oct 11 10:57:58 2001 Carlos O'Ryan <[email protected]>
3516
3517 * ace/RB_Tree.h:
3518 * ace/RB_Tree.i:
3519 * ace/RB_Tree.cpp:
3520 Reverted to the 5.2 release state. The proposed changes were
3521 breaking some builds, and they were not bug fixes in any case.
3522
3523 Wed Oct 10 16:56:18 2001 Priyanka Gontla <[email protected]>
3524
3525 * ace/SOCK_Dgram_Mcast.cpp:
3526 Reverted the following change as it ended up with some problems
3527 for multicast services.
3528
3529 Fri Oct 5 14:40:03 2001 Balachandran Natarajan <[email protected]>
3530
3531 Wed Oct 10 06:16:52 2001 Douglas C. Schmidt <[email protected]>
3532
3533 * ace/Activation_Queue.{h,cpp}: Added support for two ACE_Allocator that
3534 will control how the message blocks and data blocks are
3535 allocated. Thanks to Gil Rapaport <[email protected]>
3536 for contributing this.
3537
3538 * examples/Reactor/WFMO_Reactor/test_apc.cpp (main):
3539 * examples/Reactor/WFMO_Reactor/test_abandoned.cpp (main): Don't
3540 use a global Event_Handler since this violates the design rules
3541 for the ACE_Reactor. Thanks to Heping He
3542 <[email protected]> and Hartmut Quast
3543 <[email protected]> for reporting this and to Irfan for
3544 suggesting where the problem arose.
3545
3546 Tue Oct 9 07:46:20 2001 Douglas C. Schmidt <[email protected]>
3547
3548 * examples/C++NPv1/Logging_Handler.h: Added a new constructor to
3549 class Logging_Handler that just takes an ACE_SOCK_Stream. We
3550 need to use this in C++NPv2.
3551
3552 * ace/Message_Queue_T.cpp (wait_not_full_cond): Thanks to Leo Kov
3553 <[email protected]> for reporting this.
3554
3555 * ace/TTY_IO.cpp (control): Inserted some useful
3556 ACE_OS::set_errno_to_last_error() calls. Also, for Win32 made
3557 readtimeoutmsec == 0 cause no timeout, whereas readtimeoutmsec
3558 == MAXDWORD causes infinite timeout. Thanks to Lars Steubesand
3559 <[email protected]> for reporting this.
3560
3561 Mon Oct 8 20:19:44 2001 Nanbor Wang <[email protected]>
3562
3563 * examples/DLL/test_dll.cpp: There's no need to specify
3564 ACE_DLL_SUFFIX as it prevent ACE_Lib_Find to figure out the
3565 correct DLL name.
3566
3567 The ACE_ERROR_RETURN macro store and reset the errno so there's
3568 no need to use dll.error() with it. Changed to use "%p" to
3569 display the error.
3570
3571 Thanks to Heping He <[email protected]> for reporting
3572 the problem.
3573
3574 Mon Oct 8 11:15:21 2001 Angelo Corsaro <[email protected]>
3575
3576 * ace/RB_Tree.h (class ACE_RB_Tree_Node):
3577 * ace/RB_Tree.i:
3578
3579 Changed access privilege on the operator new/delete to be
3580 public, and added assertion in those method implementation to
3581 make sure that wrong use of these method are promptly notified.
3582 This changes should fix the problem that some compiling were
3583 still having with RB_Trees.
3584
3585 Sat Oct 06 23:06:41 2001 Ossama Othman <[email protected]>
3586
3587 * ace/SSL/SSL_Accept_Handler.cpp (ssl_accept):
3588 * ace/SSL/SSL_Connect_Handler.cpp (ssl_connect):
3589 * ace/SSL/SSL_SOCK_Stream.i (send_i, recv_i, close):
3590
3591 Removed the do/while(SSL_pending()) loop. Its introduction into
3592 the code was a bit misguided. There is no need to flush the SSL
3593 buffer before returning to the Reactor's event loop since the
3594 code now sends a notification to the Reactor to force the
3595 Reactor to invoke the event handler before waiting in the event
3596 loop. This fixes some SSL protocol errors that manifested
3597 during multithreaded SSL communication. [Bug 943]
3598
3599 * ace/SSL/SSL_SOCK_Acceptor.cpp (ssl_accept):
3600
3601 It is no longer necessary to call SSL_accept()/connect() to
3602 flush the SSL buffer before running the Reactor's event loop
3603 since the Reactor is notified that it should call the
3604 appropriate event handler before blocking on select() for
3605 WaitForMultipleObjects(), for example.
3606
3607 * ace/SSL/SSL_SOCK_Stream.cpp (reactor, handler):
3608
3609 New methods to set the Reactor and event handler associated with
3610 the ACE_SSL_SOCK_Stream. If each of these is set, then the
3611 Reactor will be notified if data is still pending in the SSL
3612 buffer.
3613
3614 (~ACE_SSL_SOCK_Stream):
3615
3616 Uninlined the destructor. There is no need for it to be
3617 inlined, and doing so only caused unnecessary code bloat.
3618
3619 * ace/SSL/SSL_SOCK_Stream.h (notify, reactor, handler):
3620
3621 Added these new method declarations, in addition to the
3622 corresponding attributes.
3623
3624 Updated documentation.
3625
3626 * ace/SSL/SSL_SOCK_Stream.i (notify):
3627
3628 Method that pushes the event handler on to the Reactor's
3629 notification pipe when necessary. Invoked by recv_i() and
3630 send_i().
3631
3632 * ace/SSL/SSL_SOCK_Acceptor.h:
3633 * ace/SSL/SSL_SOCK_Connector.h:
3634 * ace/SSL/SSL_Accept_Handler.h:
3635 * ace/SSL/SSL_Connect_Handler.h:
3636
3637 Updated documentation.
3638
3639 Sat Oct 6 16:04:29 2001 Angelo Corsaro <[email protected]>
3640
3641 * ace/RB_Tree.h:
3642 * ace/RB_Tree.i:
3643
3644 The operator new and delete were declared to be No-Op but were
3645 not implemented as such. This was breaking some builds. Now the
3646 operator are declared as private and they also have a no-op
3647 implementation. This should solve some linking error that were
3648 occurring.
3649
3650 Sat Oct 6 11:17:22 2001 Balachandran Natarajan <[email protected]>
3651
3652 * THANKS: Added Adrian Mercieca to the hallf of fame.
3653
3654 Fri Oct 05 18:30:59 2001 Irfan Pyarali <[email protected]>
3655
3656 * ace/RW_Process_Mutex.cpp: Added inclusion ACE.h and fixed member
3657 initialization.
3658
3659 Fri Oct 5 18:16:53 2001 Balachandran Natarajan <[email protected]>
3660
3661 * ace/SString.h:
3662 * ace/SString.cpp: Changes the usage of ostream to
3663 ACE_OSTREAM_TYPE. Thanks to Russ Noseworthy for letting us
3664 know.
3665
3666 Thu Oct 4 07:10:01 2001 Douglas C. Schmidt <[email protected]>
3667
3668 * ace/RB_Tree.*: Added support for using the "ACE_Allocator" parameters
3669 to manage memory. Thanks to Airat A. Sadreev <[email protected]>
3670 for reporting contributing this.
3671
3672 Wed Oct 3 07:20:06 2001 Douglas C. Schmidt <[email protected]>
3673
3674 * ace/RW_Process_Mutex.{h,cpp}: Added the ability to create a
3675 unique name if the user doesn't supply one. Thanks to Tom
3676 Wagner <[email protected]> for suggesting this.
3677
3678 * ace/Synch.h: Clarified that the timed wait capabilities of
3679 ACE_Semaphore only work on Solaris if ACE_HAS_PTHREAD is enabled
3680 *and* ACE_HAS_POSIX_SEM/ACE_HAS_STHREAD are disabled. Thanks to
3681 Bonifides Bautista <[email protected]> for reporting this.
3682
3683 Fri Oct 5 12:48:48 2001 Ossama Othman <[email protected]>
3684
3685 * ace/SSL/SSL_SOCK_Stream.i (close):
3686
3687 Reset the SSL object to allow another connection to be made
3688 using the existing ACE_SSL_SOCK_Stream instance. This prevents
3689 the previous SSL session state from being associated with the
3690 new SSL session/connection. Thanks to Vladimir Chovanec
3691 <[email protected]> for pointing out this problem and
3692 suggesting a course of action.
3693
3694 Fri Oct 5 14:40:03 2001 Balachandran Natarajan <[email protected]>
3695
3696 * ace/SOCK_Dgram_Mcast.cpp (open): Removed the #if defined (linux)
3697 from the code. Looks like this had to be removed to get it
3698 working for RTI under Linux. The other ChangeLog entries that
3699 this change is concerned with are "Sat Feb 17 17:23:46 2001
3700 Darrell Brunsch <[email protected]>" and "Fri Jan 26 11:18:15 2001
3701 Douglas C. Schmidt". Looks like the patch provided by Keith
3702 Nicewarner <[email protected]> is being reverted. I remember
3703 a communication from Keith which seemed to hint that this may
3704 not be required.
3705
3706 Thanks to Russ Noseworthy for suggesting this.
3707
3708 Fri Oct 5 14:04:39 2001 Balachandran Natarajan <[email protected]>
3709
3710 * THANKS: Added Hagen Ulrich to the Hall of Fame.
3711
3712 Fri Oct 5 13:55:02 2001 Balachandran Natarajan <[email protected]>
3713
3714 * ace/Makefile: Removed the SUPPRESS_DASH_G option. Not really
3715 sure where it is used. Further, added a tab to the place where
3716 rules for CHORUS are set. This should fix BUGID 1049. Thanks to
3717 Hagen Ulrich <[email protected]> and Dr.David Levine for
3718 reporting and verifying the fix.
3719
3720 Fri Oct 05 05:56:50 2001 Balachandran <[email protected]>
3721
3722 * ACE version 5.2 released.
3723
3724 Thu Oct 4 17:38:21 2001 Steve Huston <[email protected]>
3725
3726 * ace/Synch.h: Added some comments to explain the rationale for
3727 the different return values from the blocking and timed
3728 versions of ACE_Null_Semaphore::acquire(). Thanks to Doug
3729 Schmidt for explaining this.
3730
3731 Thu Oct 4 17:27:39 2001 Steve Huston <[email protected]>
3732
3733 * examples/C++NPv1/Logging_Handler.cpp (recv_log_record): Insure that
3734 the payload message block is properly aligned for any CDR
3735 extraction. Many thanks to Bala for noticing this problem and
3736 sending code for the fix.
3737
3738 Thu Oct 4 17:08:39 2001 Steve Huston <[email protected]>
3739
3740 * examples/C++NPv1/Process_Per_Connection_Logging_Server.cpp:
3741 In prepare(), call ACE_Process_Options::command_line() rather
3742 than ACE_Process_Options::process_name() to set the program
3743 path for the child process.
3744
3745 Thu Oct 4 13:18:37 2001 Steve Huston <[email protected]>
3746
3747 * examples/C++NPv1/Logging_Handler.cpp: Use a ACE_Message_Block,
3748 rather than hijacking a CDR block, to read the payload into.
3749
3750 Thu Oct 4 10:14:34 2001 Balachandran Natarajan <[email protected]>
3751
3752 * THANKS: Added Donald Acton to the Hall of Fame.
3753
3754 Thu Oct 4 06:39:20 2001 Balachandran Natarajan <[email protected]>
3755
3756 * ace/config-sunos5.5.h: Added ACE_LACKS_MKSTEMP as SunOS 5.5 does
3757 not support mkstemp ().
3758
3759 * ace/config-sunos5.6.h: Undefined ACE_LACKS_MKSTEMP as Sun 5.6
3760 and above support it.
3761
3762 Thanks to Don Hinton <[email protected]> for reporting this
3763 problem and Chad Elliott for testing this out on a Sun OS 5.5
3764 box.
3765
3766 Wed Oct 3 16:37:41 2001 Balachandran Natarajan <[email protected]>
3767
3768 * ace/CDR_Stream.cpp (read_1): Reverted this change "Wed Oct 3
3769 15:05:43 2001 Jeff Parsons <[email protected]>". This
3770 change is alone not enough to fix the problem that Brad
3771 reported. The sample program for the text needs to be fixed to
3772 get it working right.
3773
3774 Wed Oct 3 15:05:43 2001 Jeff Parsons <[email protected]>
3775
3776 * ace/CDR_Stream.cpp (read_1);
3777
3778 Reverted changed made in
3779
3780 Fri Aug 17 16:56:16 2001 Jeff Parsons <[email protected]>
3781
3782 to read_1(). A similar change made in several other methods is
3783 ok, but in this case bytes can be copied into the input CDR
3784 stream without changing wr_ptr, so the check will fail
3785 unnecessarily. Thanks to Brad Hoskins <[email protected]>
3786 for pointing this out.
3787
3788 Wed Oct 2 12:18:37 2001 Steve Huston <[email protected]>
3789
3790 * examples/C++NPv1/Logging_Server.cpp: Fixed spelling error.
3791 * examples/C++NPv1/Logging_Handler.cpp: Comment length adjustment.
3792
3793 Tue Oct 2 21:52:31 2001 Steve Huston <[email protected]>
3794
3795 * examples/C++NPv1/Logging_Client.cpp: Reverted this:
3796 Mon Oct 1 18:27:41 2001 Steve Huston <[email protected]>
3797
3798 Tue Oct 2 19:52:57 2001 Balachandran Natarajan <[email protected]>
3799
3800 * Makefile: Removed some of the files that no longer exist in the
3801 repository. The inclusion of these files in the Makefile added
3802 noise during the beta cutting process.
3803
3804 Tue Oct 02 15:34:49 2001 Carlos O'Ryan <[email protected]>
3805
3806 * etc/tao_cosevent.doxygen:
3807 * etc/tao_cosnotification.doxygen:
3808 Fixed typos in the tag file names.
3809
3810 Tue Oct 2 15:52:27 2001 Balachandran Natarajan <[email protected]>
3811
3812 * THANKS: Added Sunny Leung to the Hall of Fame.
3813
3814 Tue Oct 2 15:33:36 2001 Balachandran Natarajan <[email protected]>
3815
3816 * THANKS: Removed one instance of Peter Phillips
3817 <[email protected]> from the Hall of Fame.
3818
3819 Tue Oct 2 15:00:37 2001 Balachandran Natarajan <[email protected]>
3820
3821 * ace/CDR_Stream.cpp (clone_from): Copied the GIOP major and minor
3822 versions from the incoming CDR stream. Thanks to Sunny Leung
3823 <[email protected]> for reporting this. This closes bugzilla
3824 #1043.
3825
3826 Tue Oct 2 09:45:39 2001 Steve Huston <[email protected]>
3827
3828 * tests/libDLL_Test.icc:
3829 * tests/libService_Config_DLL.icc: Add link(exportAll) to the link
3830 options to export the entrypoints needed for the tests.
3831
3832 Mon Oct 1 20:04:14 2001 Priyanka Gontla <[email protected]>
3833
3834 * THANKS:
3835 Added Tushar Nair to the THANKS file.
3836
3837 Mon Oct 1 18:06:48 2001 Priyanka Gontla <[email protected]>
3838
3839 * ace/Object_Manager.cpp (ACE_UnhandledExceptionFilter):
3840 Removed the un-needed #if 0's. Left them before as a safety
3841 measure (in case something doesnt work) and forgot to remove
3842 them later.
3843
3844 * ace/Log_Msg.cpp (instance):
3845 Fixed the seg faults that are raised when ace is compiled with
3846 ACE_NTRACE=0 on SunOS. Added a check before locking and
3847 releasing a lock.
3848
3849 Thanks to Tushar Nair <[email protected]> for reporting the
3850 problem and for providing a fix.
3851
3852 Mon Oct 1 18:27:41 2001 Steve Huston <[email protected]>
3853
3854 * examples/C++NPv1/Logging_Client.cpp: Remove the third (optional)
3855 arg from getline(). Using a char literal without further
3856 qualification causes confusion in Unicode builds.
3857
3858 Mon Oct 1 14:44:13 2001 Ossama Othman <[email protected]>
3859
3860 * ace/SSL/SSL_Context.cpp (ssl_library_init):
3861
3862 Initialize the locking callbacks in the crypto library before
3863 initializing the OpenSSL library. OpenSSL may require the
3864 locking callbacks to be initialized before its own
3865 initialization.
3866
3867 * ace/SSL/SSL_Context.cpp (ssl_library_fini):
3868
3869 Perform crypto library resource cleanup before reclaiming the
3870 locks used by the locking callbacks. Crypto library resource
3871 cleanup makes use of the locking callbacks.
3872
3873 Mon Oct 1 15:19:11 2001 Douglas C. Schmidt <[email protected]>
3874
3875 * examples/C++NPv1/README: Added a section that illustrates the
3876 mapping of chapters onto files in the directory.
3877
3878 Mon Oct 1 12:58:57 2001 Balachandran Natarajan <[email protected]>
3879
3880 * ace/TP_Reactor.cpp (handle_socket_events): A fix for the problem
3881 that started showing up this time is like this. One of the
3882 threads was dispatching an upcall. In the intermediate time the
3883 Reactor woke up another thread to close the handler, remember
3884 that this is possible with the TP_Reactor if the application
3885 resumes the handles (the way TAO does that). Now when the thread
3886 that that dispatched the upcall returned it tries to invoke a
3887 method on the already closed handle. To prevent that from
3888 happening we make an extra check to see whether the handle
3889 associated with the handler is still available in the internal
3890 map of the Reactor. As this check is done in the return path of
3891 the thread this should have less performance impact. This is
3892 another reason why we should have #1031 in place ASAP.
3893
3894 Mon Oct 1 12:23:57 2001 Balachandran Natarajan <[email protected]>
3895
3896 * bin/nightlybuilds/builds.lst (WEB): Changed the name of the
3897 Sun's EGCS build. We have not been using EGCS but 2.95.x for a
3898 long time now.
3899
3900 Mon Oct 1 10:46:15 2001 Balachandran Natarajan <[email protected]>
3901
3902 * bin/PerlACE/Run_Test.pm (check_n_cleanup_files): Removed the
3903 word "ERROR" when files are left behind. This was creating noise
3904 in the daily builds. We have captured the problem in the
3905 bugzilla with id #1014. After 1.2 goes out, if someone is
3906 looking at this problem again we need to add this back so that
3907 our daily builds can pick them up.
3908
3909 Sun Sep 30 17:25:33 2001 Ossama Othman <[email protected]>
3910
3911 * ace/SSL/SSL_SOCK_Stream.i (send_i, recv_i):
3912
3913 Reset errno to prevent previous values (e.g. EWOULDBLOCK) from
3914 being associated with a fatal SSL error (e.g. an alert).
3915
3916 Sun Sep 30 16:52:22 2001 Ossama Othman <[email protected]>
3917
3918 * ace/SSL/SSL_Asynch_Stream.cpp (do_SSL_shutdown):
3919
3920 Return the "retval" variable instead of always returning -1.
3921 The actual return value may not always be -1. Thanks to Alain
3922 Totouom <[email protected]> for providing this fix.
3923
3924 * THANKS:
3925
3926 Added Alain to the list of contributors.
3927
3928 Sun Sep 30 09:13:04 2001 Ossama Othman <[email protected]>
3929
3930 * ace/SSL/SSL_SOCK_Acceptor.cpp (ssl_accept):
3931 * ace/SSL/SSL_SOCK_Connector.cpp (ssl_connect):
3932
3933 Made reactor mask constant to emphasize the fact that it is
3934 indeed a constant.
3935
3936 Sat Sep 29 08:07:07 2001 Douglas C. Schmidt <[email protected]>
3937
3938 * ace/Configuration.{h,cpp}: Changed "allocator" to "alloc" to
3939 avoid bugs with MSVC++ 5.0. Thanks to Munagala Ramanath
3940 <[email protected]> for reporting this.
3941
3942 * ACE-INSTALL.html: Yet more improvements courtesy of Chris
3943 Kohloff.
3944
3945 Fri Sep 28 23:38:07 2001 Ossama Othman <[email protected]>
3946
3947 * ace/SSL/SSL_Accept_Handler.cpp (ssl_accept):
3948
3949 Cleaned up the code.
3950
3951 Do not attempt to verify the X.509 certificate. Only the
3952 application knows how best to do that.
3953
3954 * ace/SSL/SSL_Context.cpp (ssl_library_init):
3955
3956 Fixed some Unicode problems. Wrap strings within an ACE_TEXT
3957 macro.
3958
3959 * ace/SSL/SSL_Connect_Handler.cpp (ssl_connect):
3960 * ace/SSL/SSL_SOCK_Stream.i:
3961
3962 Corrected some comments.
3963
3964 * ace/SSL/SSL_SOCK_Stream.h (send_n, recv_n):
3965
3966 Added a "bytes transferred" pointer parameter. This allows the
3967 amount of bytes transferred to returned via this parameter, thus
3968 matching the semantics of their ACE_SOCK_Stream counterparts.
3969
3970 * ace/SSL/SSL_SOCK_Stream.cpp (send):
3971
3972 Do not block attempt a timed send() if data is available in
3973 OpenSSL's internal buffer. This prevents a condition where
3974 needlessly blocking on select() would occur. A similar fix for
3975 recv() was made earlier. See Fri Aug 24 16:54:02 2001 Ossama
3976 Othman <[email protected]> for details.
3977
3978 (send_n, recv_n):
3979
3980 If the "bytes transferred" pointer parameter is non-zero then
3981 return the amounts of bytes transferred through it. This makes
3982 these methods better match the semantics of their
3983 ACE_SOCK_Stream counterparts.
3984
3985 Fri Sep 28 19:24:51 2001 Steve Huston <[email protected]>
3986
3987 * ace/config-hpux-11.00.h: Moved the definitions for ACE_HAS_WCHAR
3988 and ACE_HAS_XPG4_MULTIBYTE_CHAR from the compiler-independent
3989 section to the aC++ section. (at least) gcc 3.0 distributed from
3990 HP can't handle compiling wide char stuff... it refers to
3991 wctype.h, only available in aC++.
3992
3993 Fri Sep 28 12:46:25 2001 Ossama Othman <[email protected]>
3994
3995 * ace/SSL/SSL_Context.cpp (report_error):
3996
3997 Don't bother displaying an error message if the error code is
3998 zero (i.e. no error).
3999
4000 Fri Sep 28 12:31:39 2001 Ossama Othman <[email protected]>
4001
4002 * ace/SSL/SSL_SOCK_Acceptor.cpp (ssl_accept):
4003
4004 Transfer ownership of the Reactor to the previous owner for the
4005 SSL_ERROR_ZERO_RETURN case. Thanks to Vladimir Chovanec
4006 <[email protected]> for pointing out this problem.
4007
4008 Remove the SSL event handler from the reactor for the
4009 SSL_ERROR_ZERO_RETURN case. Previously, this method returned
4010 without removing it, resulting in a seg fault.
4011
4012 * ace/SSL/SSL_SOCK_Connector.cpp (ssl_connect):
4013
4014 Ported the updates made to the ssl_accept() counterpart to this
4015 method.
4016
4017 * ace/SSL/SSL_Accept_Handler.cpp (ssl_accept):
4018 * ace/SSL/SSL_Connect_Handler.cpp (ssl_connect):
4019 * ace/SSL/SSL_SOCK_Stream.i (send_i):
4020 * ace/SSL/SSL_SOCK_Acceptor.cpp (ssl_accept):
4021 * ace/SSL/SSL_SOCK_Connector.cpp (ssl_connect):
4022
4023 In the event a SSL_ERROR_SYSCALL error condition occurs, call
4024 ACE_OS::set_errno_to_last_error() to make sure errno is updated
4025 appropriately since OpenSSL does not do that. Fixes some
4026 "misbehaving" Reactor interactions. Thanks to Andrew Finnell
4027 <[email protected]> for tracking down the problem
4028 and suggesting these fixes.
4029
4030 Fri Sep 28 09:37:28 2001 Ossama Othman <[email protected]>
4031
4032 * ace/SSL/SSL_Context.h (report_error):
4033 * ace/SSL/SSL_Context.cpp (report_error):
4034
4035 New SSL error reporting functions that use the ACE_Log_Msg
4036 facilities to dump error information.
4037
4038 * ace/SSL/SSL_Context.cpp (set_mode):
4039 * ace/SSL/SSL_SOCK_Acceptor.cpp (ssl_accept):
4040 * ace/SSL/SSL_SOCK_Stream.i (send_i, recv_i):
4041 * ace/SSL/SSL_Accept_Handler.cpp (ssl_accept):
4042 * ace/SSL/SSL_Connect_Handler.cpp (ssl_connect):
4043
4044 Use the new report_error() static method to display error
4045 information instead of OpenSSL's ERR_print_error_fp().
4046
4047 * ace/SSL/SSL_SOCK_Connector.cpp:
4048
4049 Include 'ace/Log_Msg.h' to pull ACE_ERROR macro definitions.
4050 Fixes compile-time problems on Tru64. Thanks to Martin
4051 Krumpolec for providing this fix. [Bug 1034]
4052
4053 (ACE_SSL_SOCK_Connector):
4054
4055 Wrap format specifier string in ACE_ERROR call with ACE_TEXT.
4056 Fixes mismatched Unicode/non-unicode strings.
4057
4058 Fri Sep 28 06:17:27 2001 Douglas C. Schmidt <[email protected]>
4059
4060 * ace/SPIPE_Acceptor.{h,cpp}: Fixed the use of "char" for
4061 "already_connected_" to be "int". Thanks to Johnny Willemsen
4062 for reporting this.
4063
4064 * ACE-INSTALL.html: Improved the installation instructions for BCB 4/5.
4065 Thanks to Chris Kohloff for contributing this and to
4066 Jan Kalin <[email protected]> for motivating this.
4067
4068 * ace/TTY_IO.cpp: Fixed numerous bugs in the control() method.
4069 Thanks to Airat A. Sadreev <[email protected]> for reporting this.
4070
4071 * ace/TTY_IO.h: Add a new field for Win32. Thanks to
4072 Airat A. Sadreev <[email protected]> for reporting this.
4073
4074 Thu Sep 27 06:12:21 2001 Douglas C. Schmidt <[email protected]>
4075
4076 * ace/config-win32.h: Added a special-case for Borland C++ Builder,
4077 which must include vcl.h before windows.h. Thanks to Chris
4078 Kohloff for reporting this. This fixes Bug ID 899 for the time
4079 being.
4080
4081 * ace/Module.cpp (ACE_Module): The line
4082
4083 this->name ("<unknown>");
4084
4085 was be replaced with
4086
4087 this->name (ACE_TEXT("<unknown>"));
4088
4089 Thanks to Airat A. Sadreev <[email protected]> for
4090 reporting this. This fixes bug id 1041.
4091
4092 Thu Sep 27 13:09:19 2001 Bala <[email protected]>
4093
4094 * ACE version 5.1.21 released.
4095
4096 Tue Sep 25 16:12:14 2001 Ossama Othman <[email protected]>
4097
4098 * ace/SSL/SSL_SOCK_Stream.i (recv_i):
4099
4100 Use ACE_OS::set_errno_to_last_error() set errno instead of doing
4101 so manually to get around broken compilers that reset the last
4102 error when assigning to errno. Thanks to Chris Kohloff for
4103 pointing out the problem and suggesting this fix.
4104
4105 Tue Sep 25 13:00:37 2001 Nanbor Wang <[email protected]>
4106
4107 * ace/Obstack.h: Fixed a typo when declaring ACE_Obstack
4108 exportable. I mistakenly used the underlying
4109 ACE_EXPORT_SINGLETON_DECLARATION macro directly.
4110 ACE_SINGLETON_DECLARATION is the right macro to use here.
4111 Thanks to Martin Krumpolec <[email protected]> for reporting
4112 the bug.
4113
4114 Tue Sep 25 09:12:28 2001 Andrew Finnell <[email protected]>
4115
4116 * ace/SSL/SSL_SOCK_Stream.i (recv_i):
4117
4118 On MS Windows, OpenSSL does not store the last error in errno so
4119 explicitly do so. This corrects problems where a server is
4120 unaware that a client has forcefully disconnected.
4121
4122 Tue Sep 25 00:01:59 2001 Irfan Pyarali <[email protected]>
4123
4124 * ace/Service_Repository.cpp (instance): There are three stages of
4125 the Object Manager: (a) starting up; (b) running; (c) shutdown.
4126 ACE_Service_Repository::instance() was not creating a new
4127 instance in (a) and (c). It was changed to allow creation (a).
4128
4129 Mon Sep 24 01:55:29 2001 Ossama Othman <[email protected]>
4130
4131 * bin/auto_run_tests.lst:
4132
4133 Added TAO's PICurrent test to the list of automated regression
4134 tests.
4135
4136 Sun Sep 23 19:28:06 2001 Nanbor Wang <[email protected]>
4137
4138 * ace/Reactor.h (ACE_Reactor): Fixed comments for
4139 <end_reactor_event_loop> and <reactor_event_loop_done>. Both
4140 methods work on an instance of reactor, not the global singleton
4141 reactor. Thanks to Doug for noticing this.
4142
4143 Sun Sep 23 10:02:59 2001 Balachandran Natarajan <[email protected]>
4144
4145 * ace/High_Res_Timer.h: Removed a question mark "?", in a line
4146 which read "or sometimes 3.579 Mhz??". This seems to remove the
4147 warning in VXWORKS builds. I have no clue about the problem that
4148 VXWORKS compiler sees. It took only more than an hour to figure
4149 this out. :(.
4150
4151 Sat Sep 22 08:59:24 2001 Douglas C. Schmidt <[email protected]>
4152
4153 * ace/Service_Manager.cpp (handle_input): Added some logic to
4154 strip off newlines and carriage returns for Windows platforms.
4155 Thanks to Kyle Brost <[email protected]> for contributing
4156 this.
4157
4158 Sat Sep 22 12:28:21 2001 Ossama Othman <[email protected]>
4159
4160 * ace/SSL/ACE_SSL_LIB.dsp:
4161
4162 Corrected code generation settings to use the multi-threaded DLL
4163 version of the run-time library. Corrects "legacy" build
4164 problems.
4165
4166 Sat Sep 22 08:59:24 2001 Douglas C. Schmidt <[email protected]>
4167
4168 * ace/High_Res_Timer.{h,i,cpp}: Added comments to explain how
4169 to configure the timers properly on various platforms. Thanks
4170 to Alain Decamps <[email protected]> for reporting this.
4171
4172 * ace/OS.i (ACE_Flow_Spec): Added a check for ACE_HAS_WINSOCK2_GQOS
4173 so that things will compile properly on MinGW32. Thanks to Jeff
4174 McNiel <[email protected]> for reporting this.
4175
4176 Fri Sep 21 15:54:55 2001 Douglas C. Schmidt <[email protected]>
4177
4178 * ace/OS_Dirent.cpp: Fixed all the allocations so they work properly
4179 when used with ACE_TCHAR! Thanks to Olof Lindfors
4180 <[email protected]>.
4181
4182 Tue Sep 18 06:25:22 2001 Douglas C. Schmidt <[email protected]>
4183
4184 * ace/*Reactor*: Changed all uses of "delta_time" to "delay_time".
4185 Thanks to Johnny Willemsen for reporting this.
4186
4187 Sun Sep 16 11:53:38 2001 Douglas C. Schmidt <[email protected]>
4188
4189 * ace/Connector.cpp (handle_output): Fixed the comment to be
4190 ACE_WIN32. Thanks to Kobi Cohen-Arazi <[email protected]> for
4191 reporting this.
4192
4193 Fri Sep 21 17:11:52 2001 Balachandran Natarajan <[email protected]>
4194
4195 * ace/Message_Block.h: Tried rewording some comments in the
4196 ACE_Message_Block. Thanks to Tom Wagner <[email protected]> for
4197 suggesting this.
4198
4199 * THANKS: Added Tom Wagner <[email protected]> to the Hall of
4200 Fame.
4201
4202 Fri Sep 21 22:11:53 2001 Ossama Othman <[email protected]>
4203
4204 * ace/SSL/ACE_SSL_LIB.dsp:
4205
4206 Removed hardcoded user-specific include paths, and user-specific
4207 preprocessor macro definitions.
4208
4209 Thu Sep 20 18:15:49 2001 Steve Huston <[email protected]>
4210
4211 * tests/Config_Test.cpp: Added some more tests to verify correct
4212 string value reset and enumerate values/sections.
4213
4214 Thu Sep 20 12:29:09 2001 Ossama Othman <[email protected]>
4215
4216 * ace/SSL/ACE_SSL_LIB.dsp:
4217 * ace/SSL/ACE_SSL_LIB.dsw:
4218
4219 New static build MSVC++ project and workspace files for the
4220 ACE_SSL library contributed by Jonathan Reis <[email protected]>.
4221 [Bug 1032]
4222
4223 Thu Sep 20 12:16:13 2001 Ossama Othman <[email protected]>
4224
4225 * ace/SSL/SSL_SOCK.cpp (enable, disable):
4226
4227 Removed unreachable "return" statements. [Bug 1033]
4228
4229 * ace/SSL/SSL_SOCK_Stream.i (ACE_SSL_SOCK_Stream):
4230 * ace/SSL/SSL_SOCK_Stream.cpp:
4231
4232 Moved constructor to the ".cpp" file since to prevent inclusion
4233 of `ace/Log_Msg.h' in `SSL_SOCK_Stream.h'. This fixes problems
4234 with some platforms needing the Log_Msg include to pull in the
4235 ACE_ERROR macros without needlessly increasing inter-header
4236 dependencies and inclusions. [Bug 1034]
4237
4238 Thu Sep 20 14:44:29 2001 Steve Huston <[email protected]>
4239
4240 * ace/Process.cpp (ACE_Process_Options): Moved avoid_zombies_
4241 initialization outside the !Win32 section. Thanks to Johnny
4242 Willemsen <[email protected]> for this fix.
4243
4244 Thu Sep 20 06:28:50 2001 Chad Elliott <[email protected]>
4245
4246 * ace/config-hpux-11.00.h:
4247
4248 Reverting the change from "Wed Aug 29 15:32:10 2001 Douglas C.
4249 Schmidt <[email protected]>". HP-UX 11.00 does
4250 not actually support pread/pwrite.
4251
4252 Wed Sep 19 16:56:02 2001 Irfan Pyarali <[email protected]>
4253
4254 * ace/OS.h (THR_SCOPE_PROCESS and THR_SCOPE_SYSTEM): Added
4255 definitions for THR_SCOPE_PROCESS and THR_SCOPE_SYSTEM on
4256 platforms that do not support threads.
4257
4258 Wed Sep 19 16:54:04 2001 Jeff Parsons <[email protected]>
4259
4260 * ace/Containers_T.cpp:
4261
4262 In copy constructor for ACE_Double_Linked_List, added line to
4263 copy the size of the rhs to the lhs. The new list was ending
4264 up with a garbage value for its size.
4265
4266 Wed Sep 19 14:15:08 2001 Nanbor Wang <[email protected]>
4267
4268 * ace/ace_dll.dsp:
4269 * ace/ace_lib.dsp: Enabled generation of debug info even for
4270 release configurations. Thanks to Jonathan Reis
4271 <[email protected]> for suggesting this.
4272
4273 Wed Sep 19 10:23:06 2001 Carlos O'Ryan <[email protected]>
4274
4275 * html/index.html:
4276 Add couple of missing links to the RT-CORBA components
4277
4278 Wed Sep 19 12:00:04 2001 Johnny Willemsen <[email protected]>
4279
4280 * ACE-INSTALL.html:
4281 Added BCB5 to some places as supported/used compiler
4282
4283 * ace/Future.h:
4284 * ace/Test_and_Set.h:
4285 Removed the ACE_EXPORT from the templates ACE_Future_Holder and
4286 ACE_Test_and_Set
4287
4288 * ace/Service_Config.{h,cpp}:
4289 Changed the type of the members be_a_daemon_ and no_static_svcs_
4290 from char to int
4291
4292 Tue Sep 18 13:57:36 2001 Carlos O'Ryan <[email protected]>
4293
4294 * */Makefile:
4295 * */Makefile.*:
4296 Updated dependencies, some of the paths were absolute leading to
4297 ambiguities in parallel builds.
4298
4299 Tue Sep 18 12:18:26 2001 Carlos O'Ryan <[email protected]>
4300
4301 * bin/footprint_stats.sh:
4302 Fixed bug in footprint charts generation.
4303
4304 Tue Sep 18 10:50:15 2001 Carlos O'Ryan <[email protected]>
4305
4306 * html/index.html:
4307 Add COS Event and COS Notification services to the index.
4308
4309 Mon Sep 17 19:00:00 2001 Irfan Pyarali <[email protected]>
4310
4311 * ace/OS.h:
4312
4313 - THR_SCOPE_PROCESS and THR_SCOPE_SYSTEM were not defined
4314 for NT. Added them.
4315
4316 - Moved the following definitions of VxWorks around such
4317 that these defines are available even when PACE is not
4318 used.
4319
4320 THR_INHERIT_SCHED
4321 THR_EXPLICIT_SCHED
4322 THR_SCHED_IO
4323 THR_SCOPE_SYSTEM
4324 THR_SCOPE_PROCESS
4325
4326 * ace/OS.cpp: LinuxThreads do not have support for
4327 PTHREAD_SCOPE_PROCESS; only PTHREAD_SCOPE_SYSTEM is supported.
4328 Therefore, PTHREAD_SCOPE_PROCESS is ignored when setting the
4329 thread scheduling scope.
4330
4331 * ace/Sample_History.cpp: Added accessors for <sample_count> and
4332 <max_samples>.
4333
4334 * bin/auto_run_tests.lst: Added new RTCORBA tests. Removed
4335 Minimum CORBA dependency on these tests.
4336
4337 Mon Sep 17 13:49:07 2001 Carlos O'Ryan <[email protected]>
4338
4339 * etc/tao_cosevent.doxygen:
4340 * etc/tao_cosnotification.doxygen:
4341 Add new Doxygen files for the Notification and COS Event
4342 Services
4343
4344 * bin/generate_doxygen.pl:
4345 Add new doxygen files to the automatically generated
4346 documentation.
4347
4348 Mon Sep 17 11:36:54 2001 Balachandran Natarajan <[email protected]>
4349
4350 * tests/run_tests.lst: This is the script used by the shell
4351 script in that directory. As the name is confusing this is being
4352 moved as a new file.
4353
4354 * tests/run_tests_remote.lst: Renamed the run_tests.lst as
4355 run_tests_shell.lst. This is invoked by run_tests.sh
4356
4357 * tests/run_tests.sh: Renamed as a new file.
4358
4359 * tests/run_tests_remote.sh: Renamed the file run_tests.sh as this
4360 one. This script can be used to run tests remotely on a
4361 CHORUS/ClassiX/MVME targets. Further this can also be used to
4362 run tests on platforms that dont support perl or do not have
4363 perl.
4364
4365 Sun Sep 16 11:19:01 2001 Balachandran <[email protected]>
4366
4367 * ACE version 5.1.20 released.
4368
4369 Sat Sep 15 16:58:08 2001 Balachandran Natarajan <[email protected]>
4370
4371 * tests/High_Res_Timer_Test.cpp: Fixed compile problem with Sun CC
4372 4.2.
4373
4374 Fri Sep 14 05:28:13 2001 Douglas C. Schmidt <[email protected]>
4375
4376 * THANKS: We now have over 1,300 contributors to ACE+TAO!
4377
4378 * ace/Basic_Types.{h,i}: Added "const" to various operators and
4379 methods. Thanks to Alain Decamps for reporting this.
4380
4381 Thu Sep 13 11:02:41 2001 Douglas C. Schmidt <[email protected]>
4382
4383 * ace/Singleton.cpp: If we're not compiling with threading enabled,
4384 don't call the get_singleton_lock() code. Thanks to Charles
4385 Frasch <[email protected]> for contributing this.
4386
4387 Tue Sep 11 06:23:08 2001 Douglas C. Schmidt <[email protected]>
4388
4389 * ace/Array_Base.h: Changed current_ from u_int to size_t. Thanks
4390 to Johnny Willemsen for reporting this.
4391
4392 Fri Sep 14 17:18:37 2001 Steve Huston <[email protected]>
4393
4394 * tests/High_Res_Timer_Test.cpp (check_micro_nano): If the
4395 nanointerval is 0, change it to 1 to prevent divide-by-zero.
4396
4397 Fri Sep 14 17:02:39 2001 Steve Huston <[email protected]>
4398
4399 * tests/High_Res_Timer_Test.cpp: Replaced some (u_int) casts with
4400 ACE_U64_TO_U32, which is correct. Thanks to Alain Decamps, yet
4401 again!, for this fix.
4402
4403 Fri Sep 14 11:39:03 2001 Balachandran Natarajan <[email protected]>
4404
4405 * THANKS: Added Mahesh Varadarajan and Kevin Clien to the Hall of
4406 Fame.
4407
4408 Thu Sep 13 22:43:34 2001 Balachandran Natarajan <[email protected]>
4409
4410 * bin/auto_run_tests.lst: Added the new Cache_Growth_Test to the
4411 daily tests.
4412
4413 Thu Sep 13 20:38:44 2001 Nanbor Wang <[email protected]>
4414
4415 * ace/Thread_Manager.h (ACE_Thread_Manager): Changed the default
4416 argument <prealloc> for the constructor from 0 to
4417 ACE_DEFAULT_THREAD_MANAGER_PREALLOC. Thanks to Doug for
4418 pointing this out.
4419
4420 Added better documentation to explain the purpose of each
4421 argument in ACE_Thread_Manager's constructor. Thanks to Nick
4422 Pratt <[email protected]> for motivating the change.
4423
4424 Thu Sep 13 13:38:41 2001 Steve Huston <[email protected]>
4425
4426 * ace/High_Res_Timer.cpp (elapsed_time (ACE_hrtime_t&nanoseconds),
4427 elapsed_time_incr (ACE_hrtime_t&nanoseconds): Instead of using
4428 "nanoseconds >>= 10", use "nanoseconds = nanoseconds >> 10" to
4429 work around a Borland C++Builder bug. Thanks very much to
4430 Johnny Willemsen, Christopher Kohlhoff, and Alain Decamps
4431 for solving this problem.
4432
4433 Thu Sep 13 13:33:29 2001 Steve Huston <[email protected]>
4434
4435 * tests/Service_Config_Test.cpp: Added #include "ace/Log_Msg.h".
4436 This was probably to get AIX to build clean, but it's been a
4437 while.
4438
4439 Thu Sep 13 12:04:04 2001 Balachandran Natarajan <[email protected]>
4440
4441 * THANKS: Added Werner Buchert to the Hall of Fame.
4442
4443 Wed Sep 12 15:10:41 2001 Steve Huston <[email protected]>
4444
4445 * ace/High_Res_Timer.cpp (elapsed_time (ACE_hrtime_t&nanoseconds),
4446 elapsed_time_incr (ACE_hrtime_t&nanoseconds): Changes to account
4447 for very fast clocks (> 1GHz). Thank you to Derek Dominish
4448 <[email protected]> and Alain Decamps
4449 <[email protected]> for identifying the problem and coming
4450 up with a good solution. This fixes Bugzilla #1024 (how
4451 appropriate! ;-)
4452
4453 * ace/High_Res_Timer.i (elapsed_microseconds (ACE_hrtime_t &usecs):
4454 More adjustment to the Win32 scale factor adjusting. Thanks (again!)
4455 to Alain Decamps <[email protected]> for identifying and
4456 supplying a fix for this. This fixes Bugzilla #948 (again).
4457
4458 Wed Sep 12 14:33:29 2001 Steve Huston <[email protected]>
4459
4460 * tests/High_Res_Timer_Test.cpp: Incorporated some additional tests
4461 for usec/nsec sanity checks on the calculated ACE_High_Res_Timer
4462 values. Thank you very much to Alain Decamps
4463 <[email protected]> for this test.
4464
4465 Tue Sep 11 12:40:01 2001 Balachandran Natarajan <[email protected]>
4466
4467 * Terror unleashed. The World Trade Center and the Pentagon
4468 attacked today. Looks like there could be lots of loss to
4469 precious lives. This is too horrible. We convey our condolences
4470 to the bereaved families. God save this world.
4471
4472 Tue Sep 11 06:41:31 2001 Balachandran Natarajan <[email protected]>
4473
4474 * apps/Gateway/Gateway/Concrete_Connection_Handlers.cpp: Fixed a
4475 typo. This should fix most of the errors in the scoreboard.
4476
4477 Mon Sep 10 18:59:24 2001 Douglas C. Schmidt <[email protected]>
4478
4479 * apps/Gateway/Peer/Peer.cpp (nonblk_put):
4480 * apps/Gateway/Gateway/Concrete_Connection_Handlers.cpp (nonblk_put):
4481 Reverted Bala's changes below since the original code was
4482 correct. Also, added comments to clarify things to prevent
4483 confusion in the future.
4484
4485 Mon Sep 10 17:31:11 2001 Balachandran Natarajan <[email protected]>
4486
4487 * ACE-INSTALL.html: Added a new platform to the list.
4488
4489 Mon Sep 10 12:54:28 2001 Balachandran Natarajan <[email protected]>
4490
4491 * apps/Gateway/Gateway/Concrete_Connection_Handlers.cpp:
4492 Changed the condition that checks for EWOULDBLOCK after a
4493 send. It was erroneously written. Thanks to Nick Pratt
4494 <[email protected]> for pointing this out.
4495
4496 Mon Sep 10 12:36:07 2001 Balachandran Natarajan <[email protected]>
4497
4498 * apps/Gateway/Peer/Peer.cpp (nonblk_put): Changed the condition
4499 that checks for EWOULDBLOCK after a send. It was erroneously
4500 written. Thanks to Nick Pratt <[email protected]> for
4501 pointing this out.
4502
4503 Mon Sep 10 08:17:08 2001 Balachandran Natarajan <[email protected]>
4504
4505 * bin/auto_run_tests.lst: Will not run the File_IO test in the
4506 Minimum CORBA configuration.
4507
4508 Mon Sep 10 08:05:39 2001 Balachandran Natarajan <[email protected]>
4509
4510 * bin/auto_run_tests.lst: Prevented the DLL_ORB test from running
4511 in static builds.
4512
4513 Sun Sep 9 10:20:59 2001 Balachandran Natarajan <[email protected]>
4514
4515 * */Makefile: Updated dependencies.
4516
4517 Sun Sep 9 08:43:02 2001 Balachandran Natarajan <[email protected]>
4518
4519 * ace/Handle_Set.i: Added a check in set_bit () and clr_bit () for
4520 ACE_INVALID_HANDLE. If we pass a ACE_INVALID_HANDLE we were
4521 crashing which is not good and hence the fix.
4522
4523 Sun Sep 9 08:28:52 2001 Balachandran Natarajan <[email protected]>
4524
4525 * ace/Reactor_Impl.h:
4526 * ace/Select_Reactor_Base.h:
4527 * ace/Select_Reactor_Base.cpp (is_dispatchable): Added a new
4528 method. This method, just figures out whether the buffer has any
4529 dispatchable info or not.
4530
4531 * ace/WFMO_Reactor.h:
4532 * ace/WFMO_Reactor.cpp: Added the above method in the WFMO
4533 Reactor.
4534
4535 * ace/TP_Reactor.cpp: The handle_notify_events () method now
4536 checks whether the buffer it has read is dispatchable or not. If
4537 it is then it gives up the token to make an upcall. Else, it
4538 just sits around to remove messages of the pipe, till it find
4539 one with a dispatchable info. The fix was necessary so that
4540 wake-up calls that are unanswered are removed of the
4541 pipe. Unanswered wakeup calls were filling up the pipe and they
4542 were blocking some application from writing further to the
4543 pipe. This should be in all probability be the final fix to the
4544 Reactor.
4545
4546 Sat Sep 8 09:34:52 2001 Balachandran Natarajan <[email protected]>
4547
4548 * tests/Logging_Strategy_Test.cpp: Fixed a typo that was giving
4549 compile errors in VXWORKS builds.
4550
4551 Fri Sep 7 16:40:37 2001 Priyanka Gontla <[email protected]>
4552
4553 * ace/OS.h:
4554 Added an if-def case for IP_MULTICAST_TTL too.
4555
4556 Fri Sep 7 17:09:04 2001 Balachandran Natarajan <[email protected]>
4557
4558 * tests/Thread_Pool_Reactor_Resume_Test.cpp: Initialised the lock
4559 to null in the constrcutor before allocating memory for
4560 it. This was done to remove the ABW errors in
4561 purify. This should remove the problem that we see with this
4562 test in our daily builds with SunCC 4.2.
4563
4564 Fri Sep 7 15:51:48 2001 Balachandran Natarajan <[email protected]>
4565
4566 * tests/Logging_Strategy_Test.cpp: Included Auto_Ptr.h.
4567
4568 Fri Sep 07 15:29:37 2001 Yamuna Krishnamurthy <[email protected]>
4569
4570 * examples/QOS/Change_Receiver_FlowSpec/Receiver_QoS_Event_Handler.cpp:
4571 * examples/QOS/Change_Receiver_FlowSpec/Sender_QoS_Event_Handler.cpp::
4572 * examples/QOS/Change_Receiver_FlowSpec/Fill_ACE_QoS.cpp:
4573
4574 * examples/QOS/Change_Sender_TSpec/Receiver_QoS_Event_Handler.cpp:
4575 * examples/QOS/Change_Sender_TSpec/Sender_QoS_Event_Handler.cpp::
4576 * examples/QOS/Change_Sender_TSpec/Fill_ACE_QoS.cpp:
4577
4578 * examples/QOS/Simple/Receiver_QoS_Event_Handler.cpp:
4579 * examples/QOS/Simple/Sender_QoS_Event_Handler.cpp:
4580 * examples/QOS/Simple/Fill_ACE_QoS.cpp:
4581
4582 Fixed compile errors.
4583
4584 Fri Sep 7 14:17:41 2001 Balachandran Natarajan <[email protected]>
4585
4586 * ace/TP_Reactor.cpp: Do not clear the notify handle bit when
4587 trying to dispatch notify calls. This shoudl fix the long
4588 pending problems with TRU 64 builds.
4589
4590 Fri Sep 07 12:12:39 2001 Steve Huston <[email protected]>
4591
4592 * examples/C++NPv1/Iterative_Logging_Server.dsp:
4593 * examples/C++NPv1/Logging_Client.dsp:
4594 * examples/C++NPv1/Process_Per_Connection_Logging_Server.dsp:
4595 * examples/C++NPv1/RT_Thread_Per_Connection_Logging_Server.dsp:
4596 * examples/C++NPv1/Reactive_Logging_Server.dsp:
4597 * examples/C++NPv1/Reactive_Logging_Server_Ex.dsp:
4598 * examples/C++NPv1/Thread_Per_Connection_Logging_Server.dsp:
4599 Use relative paths to include and library files rather than
4600 $(ACE_ROOT). Makes it easier to use in place regardless of
4601 ACE version.
4602
4603 * examples/C++NPv1/Logging_Client.cpp: Fixed scoping of the getline()
4604 method call.
4605
4606 Thu Sep 6 21:14:05 2001 Balachandran Natarajan <[email protected]>
4607
4608 * tests/Logging_Strategy_Test.cpp: Changed the usage of auto_ptr
4609 <> to ACE_Auto_Basic_Ptr<>. Thanks to Carlos O'Ryan for this
4610 suggestion.
4611
4612 Thu Sep 06 18:42:39 2001 Steve Huston <[email protected]>
4613
4614 * examples/C++NPv1: New directory that contains all of the example
4615 code for Doug/my book, C++ Network Programming, Vol 1.
4616
4617 Thu Sep 6 12:01:15 2001 Priyanka Gontla <[email protected]>
4618
4619 * ace/OS.h:
4620 Added a if-def case for IP_MULTICAST_IF. Seems like it is not
4621 defined in some of the OS versions.
4622
4623 Thu Sep 06 12:36:43 2001 Yamuna Krishnamurthy <[email protected]>
4624
4625 * ace/OS.h:
4626 * ace/OS.i:
4627 * ace/QoS/QoS_Session_Impl.cpp:
4628 * ace/QoS/QoS_Session.h:
4629
4630 Fixed compile errors.
4631
4632 Thu Sep 6 10:24:15 2001 Ossama Othman <[email protected]>
4633
4634 * ace/Acceptor.cpp (accept_svc_handler):
4635 * ace/Strategies_T.cpp (accept_svc_handler):
4636
4637 Do not close and reopen the peer acceptor on failed attempts to
4638 accept a connection. Several problems were fixed by removing
4639 this code:
4640
4641 - A race condition existed where another thread or process
4642 could acquire the port that the peer acceptor was
4643 listening on before it was closed. Note that it is not
4644 enough to attempt to synchronize this code with a lock
4645 since an external process could still acquire the port.
4646
4647 - If the port in the peer acceptor (assuming it is an
4648 ACE_INET_Addr based one) is the wildcard port (zero), then
4649 there is no guarantee that the acceptor will be opened on
4650 the same port upon which it is was previously listening.
4651 In such a case, IORs generated by TAO (for example) can be
4652 rendered invalid since the addressing information embedded
4653 in those IORs will no longer contain the actual port to
4654 connect to when making invocations. [Bug 962]
4655
4656 - The above two problems actually introduced a
4657 denial-of-service attack vulnerability (now closed by this
4658 fix) since it was relatively easy to force a failed
4659 connection attempt, which would then cause the peer
4660 acceptor to be reopened on potentially a different port,
4661 or to shutdown completely if reopening failed.
4662
4663 * ace/SSL/SSL_SOCK_Acceptor.i (close):
4664
4665 Invalidate the handle stored within the ACE_SSL_SOCK_Acceptor
4666 instance. Corrects problems arising from attempts to use a
4667 listening socket that has been shut down.
4668
4669 * ace/SSL/SSL_SOCK_Acceptor.cpp (ssl_accept):
4670
4671 Perform an OpenSSL SSL_accept() in case OpenSSL buffered data
4672 that must be handled before entering the Reactor event loop used
4673 to complete a non-blocking SSL passive connection.
4674
4675 If the OpenSSL error status is SSL_ERROR_ZERO_RETURN shut down
4676 the partially initialized SSL stream/session since the peer has
4677 itself shut down.
4678
4679 Thu Sep 6 11:00:46 2001 Balachandran Natarajan <[email protected]>
4680
4681 * ace/TP_Reactor.cpp: The timer events are not included as a part
4682 of number of active handles from wait_for_multiple_events
4683 (). The check for event_count > 0 before processing timer events
4684 was wrong. Removed the check. Thanks to Chad Elliott for
4685 pointing this out.
4686
4687 Further did some cosmetic changes like adding comments, removing
4688 comments that was not valid etc.
4689
4690 Thu Sep 6 07:50:56 2001 Balachandran Natarajan <[email protected]>
4691
4692 * bin/auto_run_tests.lst: The AMI buffering test should not be run
4693 Single threaded builds.
4694
4695 Thu Sep 6 02:30:14 2001 Christopher Kohlhoff <[email protected]>
4696
4697 * examples/Export/Makefile.bor:
4698 * examples/Export/export_dll.bor:
4699 * examples/Export/test.bor:
4700 * examples/Export/dll.h:
4701 Added makefiles for this example and fixed a template problem with
4702 Borland C++. Thanks to Charles Frasch <[email protected]> for
4703 contributing this.
4704
4705 Wed Sep 5 19:48:34 2001 Priyanka Gontla <[email protected]>
4706
4707 * ace/SOCK_Dgram.cpp (set_nic):
4708 Fixed the errors that raised in Win.
4709
4710 Wed Sep 5 20:38:10 2001 Balachandran Natarajan <[email protected]>
4711
4712 * ace/OS.h:
4713 * ace/OS.i:
4714 * ace/QoS/QoS_Session_Impl.cpp:
4715 * ace/QoS/QoS_Session.h: Reverted the change "Wed Sep 5 18:58:00
4716 2001 Yamuna Krishnamurthy <[email protected]>". The change
4717 broke builds. Further there was no reason why the QoS
4718 information should come inside OS.* files. Talk about increasing
4719 foot print.
4720
4721 Wed Sep 5 18:58:00 2001 Yamuna Krishnamurthy <[email protected]>
4722
4723 * ace/QoS/QoS_Session.h:
4724 * ace/QoS/QoS_Session_Impl.h:
4725 * ace/QoS/QoS_Session_Impl.cpp:
4726
4727 Added rapi_sender and rapi_reserve calls with null tspec and
4728 flow spec respectively to facilitate the tearing down of PATH
4729 and RESV messages.
4730
4731 * ace/OS.h:
4732 * ace/OS.i:
4733
4734 Changed the sending_flowspec_ and receiving_flowspec_ members of
4735 the ACE_QoS class to pointers so they can be initialized to null
4736 flow specs.
4737
4738 Wed Sep 5 16:50:03 2001 Balachandran Natarajan <[email protected]>
4739
4740 * THANKS: Added Peter Phillips <[email protected]> to the Hall
4741 of Fame.
4742
4743 * ace/OS_String.cpp: Fixed a warning in TRU64 builds.
4744
4745 Wed Sep 5 11:29:59 2001 Priyanka Gontla <[email protected]>
4746
4747 * ace/SOCK_Dgram.h:
4748 * ace/SOCK_Dgram.cpp:
4749
4750 Added a new method to set the NIC address in the socket.
4751
4752 Wed Sep 05 12:00:42 2001 Steve Huston <[email protected]>
4753
4754 * include/makeinclude/platform_aix4_g++.GNU: Sets ACE_AIX_VERS rather
4755 than separate major/minor; see entry below for further info.
4756
4757 Wed Sep 05 11:52:39 2001 Steve Huston <[email protected]>
4758
4759 * ace/config-aix5.1.h: New config file for AIX 5L, version 5.1,
4760 using Visual Age C++ 5.
4761
4762 * ace/config-aix-4.1.x.h:
4763 * ace/config-aix-4.2.x.h:
4764 * ace/config-aix-4.3.x.h:
4765 * ace/config-aix-4.x.h: Use ACE_AIX_VERS (which has both major and
4766 minor version) rather than ACE_AIX_MAJOR_VERS and ACE_AIX_MINOR_VERS.
4767
4768 * include/makeinclude/platform_aix_ibm.GNU: Rather than making
4769 separate major/minor OS version variables, use one that incorporates
4770 both to make it easier for config.h files to set upwardly-compatible
4771 feature flags.
4772
4773 Wed Sep 5 06:55:44 2001 Chad Elliott <[email protected]>
4774
4775 * tests/Log_Msg_Test.cpp:
4776
4777 Add ACE_TEXT() around the default program name for the Windows
4778 WChar Unicode build.
4779
4780 Tue Sep 4 18:48:00 2001 Balachandran Natarajan <[email protected]>
4781
4782 * ace/Select_Reactor_Base.cpp: Changed the value returned from
4783 ACE_Select_Reactor_Notify_Handler::handle_input (). This now
4784 returns a 0 if we did not dispatch any handles or the number of
4785 handles dispatched. We were returning a -1 if we did not
4786 dispatch any handles, after reading the notification from the
4787 pipe. This should fix the Reactor_Notify_Test in the Implicit
4788 templates build.
4789
4790 Tue Sep 4 12:46:50 2001 Balachandran Natarajan <[email protected]>
4791
4792 * ace/ACE.cpp: Reverted this change "Tue Sep 4 07:37:17 2001
4793 Balachandran Natarajan <[email protected]>". Thanks to Irfan
4794 for pointing that this change, changes the semantics of the
4795 methods.
4796
4797 Tue Sep 4 09:14:36 2001 Chad Elliott <[email protected]>
4798
4799 * ace/CDR_Stream.i:
4800 * ace/CDR_Stream.cpp:
4801
4802 Work around a compiler bug in the latest Green Hills Multi200.
4803 Casting a float to an ACE_CDR::ULong* caused internal compiler
4804 errors if the code was inlined.
4805
4806 * ace/config-vxworks5.x.h:
4807 * include/makeinclude/platform_vxworks5.x_ghs.GNU:
4808
4809 Updated support for Green Hills Multi2000.
4810
4811 Tue Sep 4 07:41:42 2001 Balachandran Natarajan <[email protected]>
4812
4813 * THANKS: Added Eyal Neuman <[email protected]> to the Hall of
4814 Fame.
4815
4816 Tue Sep 4 07:37:17 2001 Balachandran Natarajan <[email protected]>
4817
4818 * ace/ACE.cpp: Fixed a bug with recv_n_i (). The problem was form
4819 returning the exact number of bytes from the for loop. If the
4820 loop had executed once and if we get 0 in the next recv_i ()
4821 call, then we should be returning the number of bytes read in
4822 the previous iteration and not 0. Thanks to Eyal Neuman
4823 <[email protected]> for this fix. This closes bug 1015.
4824
4825 Tue Sep 4 07:08:30 2001 Balachandran Natarajan <[email protected]>
4826
4827 * ace/ACE.cpp: Fixed a unicode error in teh Win32 builds. Acted as
4828 a dumbo when I made this change yesterday:(
4829
4830 Mon Sep 3 20:08:25 2001 Balachandran Natarajan <[email protected]>
4831
4832 * ace/TP_Reactor.cpp: Fixed a warning in TRU 64 builds.
4833
4834 Mon Sep 3 09:58:32 2001 Balachandran Natarajan <[email protected]>
4835
4836 * */Makefile: Updated dependencies
4837
4838 Mon Sep 3 09:44:46 2001 Balachandran Natarajan <[email protected]>
4839
4840 * ace/Select_Reactor_Base.cpp: Fixed a warning in Implicit
4841 template builds.
4842
4843 Mon Sep 3 08:21:36 2001 Balachandran Natarajan <[email protected]>
4844
4845 * ace/ACE.cpp: Replaced L with ACE_TEXT_WIDE.
4846
4847 Mon Sep 3 07:54:32 2001 Balachandran Natarajan <[email protected]>
4848
4849 * ace/OS_String.cpp: Fixed compile errors in win32 builds. Thanks
4850 to Johnny Willemsen for sending in patches for replacing L with
4851 ACE_TEXT_WIDE.
4852
4853 Sun Sep 2 19:33:07 2001 Balachandran Natarajan <[email protected]>
4854
4855 * ace/Select_Reactor_Base.cpp: Fixed a small problem with the
4856 select reactor's notify () handling mechanism. This was more of
4857 a problem with me not checking the while () loop condition
4858 properly. This should fix most of the reactor problems seen in
4859 the daily builds.
4860
4861 Sat Sep 1 14:10:08 2001 Douglas C. Schmidt <[email protected]>
4862
4863 * ace/System_Time.cpp,
4864 * ace/Stream_Modules.cpp,
4865 * ace/Service_Types.cpp,
4866 * ace/Service_Manager.cpp,
4867 * ace/SPIPE_Addr.cpp,
4868 * ace/OS.cpp,
4869 * ace/Memory_Pool.cpp,
4870 * ace/Mem_Map.cpp,
4871 * ace/Local_Name_Space_T.cpp,
4872 * ace/FILE_Addr.cpp,
4873 * ace/FIFO.cpp,
4874 * ace/Connector.cpp,
4875 * ace/Acceptor.cpp,
4876 * ace/Token_Collection.cpp,
4877 * ace/Name_Request_Reply.cpp,
4878 * ace/Local_Tokens.cpp,
4879 * ace/ACE.cpp,
4880 * ace/Log_Record.cpp,
4881 * ace/Log_Msg.cpp: Added the use of the new ACE_OS::strsncpy()
4882 method. Thanks to Alain for reporting this.
4883
4884 * ace/OS_String.{h,cpp}: Added a "safe" c string copy method:
4885 strsncpy(dst,src,maxlen). Changing an occurence off strncpy()
4886 to strsncpy() is less errorprone, but could break somebody's
4887 code if he/she is using the fact that the strncpy's where
4888 nul-padding the destination, but this is extremely
4889 unlikely. Using strsncpy() is also almost always (a lot) faster
4890 than strncpy(). Thanks to Alain Decamps
4891 <[email protected]> for this method.
4892
4893 Sat Sep 1 09:54:55 2001 Balachandran Natarajan <[email protected]>
4894
4895 * tests/Bound_Ptr_Test.cpp: Added a patch from Chris Kohlhoff that
4896 fixes the problem with VXWORKS builds. The old gcc compiler
4897 seems to have problems with forward declared types as template
4898 parameters. Chris solves the problem by defining a ABC properly
4899 and making the offending class inherit from it. This should fix
4900 our daily VXWORKS builds.
4901
4902 Sat Sep 1 08:07:51 2001 Balachandran Natarajan <[email protected]>
4903
4904 * ace/Select_Reactor_Base.cpp: Fixed a compilation error in the
4905 Notification queue portion of the code. Thanks to our daily
4906 builds for helping me with this testing.
4907
4908 Fri Aug 31 22:12:26 2001 Balachandran Natarajan <[email protected]>
4909
4910 * ace/TP_Reactor.cpp:
4911 * ace/Select_Reactor_Base.cpp: Fixed fuzz errors.
4912
4913 Fri Aug 31 22:07:57 2001 Balachandran Natarajan <[email protected]>
4914
4915 * ace/WFMO_Reactor.h:
4916 * ace/WFMO_Reactor.cpp: Added the method read_notify_pipe () to
4917 the WFMO_Notify_Handler.
4918
4919 Fri Aug 31 19:14:52 2001 Balachandran Natarajan <[email protected]>
4920
4921 * ace/Reactor_Impl.h: Added a new method by name read_notify_pipe
4922 (). Also changed the dispatch_notify () to take in a
4923 Notification buffer instead of a ACE_HANDLE.
4924
4925 * ace/Select_Reactor_Base.cpp:
4926 * ace/Select_Reactor_Base.h: Made the following changes
4927
4928 - Implemented read_notify_pipe (). Will read just one message from
4929 the notify pipe or one message from the notification queue.
4930
4931 - Reimplemented dispatch_notify (). This method would just
4932 dispatch the upcall using the information in the notification
4933 buffer.
4934
4935 - The handle_input () now uses the read_notify_pipe () and
4936 dispatch_notify () to achieve what it was doing before.
4937
4938 - The notify () call now sends one notify message on the pipe
4939 for every message in the notification queue.
4940
4941 * ace/TP_Reactor.cpp (handle_socket_events):
4942 * ace/TP_Reactor.h:
4943 * ace/TP_Reactor.i: We had a race condition. The race condition
4944 was because two threads were trying to read from the notify_pipe
4945 at the same instance. This race condition was fixed by adding a
4946 call to read_notify_pipe () with the lock held and then calling
4947 dispatch_notify () with the buffer read after releasing the
4948 lock. Did the following minor modifications
4949
4950 - Changed dispatch_socket_events () as dispatch_socket_event ()
4951 as we were dispatching only one event.
4952
4953 - We dont grab the token in the constructor of the token. We
4954 have to make a call specfically to grab_token () to get the
4955 token.
4956
4957 The above checkins should fix the correctness of the reactor
4958 problems that we have been seeing.
4959
4960 Fri Aug 31 18:30:28 2001 Krishnakumar B <[email protected]>
4961
4962 * bin/auto_run_tests.lst:
4963
4964 Added Blocking_Sync_None to the list of tests to be run on
4965 Tru64.
4966
4967 * ACE-INSTALL.html:
4968
4969 Added Linux/IA64 to the list of platforms supported.
4970
4971 Fri Aug 31 15:27:09 2001 Balachandran Natarajan <[email protected]>
4972
4973 * ace/Bound_Ptr.i: Fixed a problem with Sun CC42 builds. Used 1
4974 instead of true.
4975
4976 Fri Aug 31 14:57:42 2001 Steve Huston <[email protected]>
4977
4978 * tests/MEM_Stream_Test.cpp: Fixed usage of ACE_SYNCH meta-class
4979 to work correctly with templates.
4980
4981 Fri Aug 31 11:53:05 2001 Krishnakumar B <[email protected]>
4982
4983 * ace/OS.h:
4984 * ace/Timer_Queue_T.h:
4985 * ace/Timer_Queue_T.h:
4986 * ace/config-hpux-11.00.h:
4987 * ace/config-hpux11.h:
4988 * ace/config-irix6.x-common.h:
4989 * ace/config-linux-common.h:
4990 * ace/config-lynxos.h:
4991 * ace/config-osf1-4.0.h:
4992 * ace/config-pharlap.h:
4993 * ace/config-sunos4-g++.h:
4994 * ace/config-sunos4-lucid3.2.h:
4995 * ace/config-sunos4-sun3.x.h:
4996 * ace/config-sunos4-sun4.1.4.h:
4997 * ace/config-sunos4-sun4.x-orbix.h:
4998 * ace/config-sunos5.4-centerline-2.x.h:
4999 * ace/config-sunos5.4-g++.h:
5000 * ace/config-sunos5.4-sunc++-4.x-orbix.h:
5001 * ace/config-sunos5.4-sunc++-4.x.h:
5002 * ace/config-sunos5.5.h:
5003 * ace/config-tandem.h:
5004
5005 Fixed up documentation of ACE_TIMER_SKEW. Fixed bogus values in
5006 all the above files. Should help in removing some of the errors
5007 in TAO tests. Any test in ACE/TAO which breaks because of this
5008 change is broken and should be fixed.
5009
5010 Fri Aug 31 12:00:00 2001 Steve Huston <[email protected]>
5011
5012 * tests/Bound_Ptr_Test.icc: New Visual Age C++ config for this test.
5013 * tests/tests.icp: Added Bound_Ptr_Test.icc, Service_Config_Test.icc,
5014 and libService_Config_DLL.icc.
5015
5016 Fri Aug 31 11:40:31 2001 Steve Huston <[email protected]>
5017
5018 * tests/MEM_Stream_Test.(cpp h): Fixed single-threaded builds.
5019
5020 Fri Aug 31 08:13:26 2001 Chad Elliott <[email protected]>
5021
5022 * bin/perltest2cpp.pl:
5023
5024 Added a -t option to set the timeout factor.
5025
5026 Thu Aug 30 18:08:32 2001 Krishnakumar B <[email protected]>
5027
5028 * ace/config-linux-common.h:
5029
5030 Added some more missing stuff which might break compilations.
5031 The previous change also removed the existing definition for
5032 ACE_TIMER_SKEW so add it back till the new version is checked in.
5033
5034 Thu Aug 30 17:54:40 2001 Krishnakumar B <[email protected]>
5035
5036 * ace/config-linux-common.h:
5037
5038 This file was checked in inadvertently when checking in fixes
5039 for ACE_NEEDS_HUGE_THREAD_STACKSIZE.
5040
5041 Thu Aug 30 13:04:38 2001 Steve Huston <[email protected]>
5042
5043 * tests/run_test.lst: Added Bound_Ptr_Test.
5044
5045 Thu Aug 30 11:40:39 2001 Steve Huston <[email protected]>
5046
5047 * tests/run_test.pl (run_program): Fixed the 'unlink' to get
5048 all of a test's log files; prevents seeing previous sub-logs
5049 from a test such as MEM_Stream_Test and falsely reporting errors.
5050
5051 Thu Aug 30 10:46:51 2001 Steve Huston <[email protected]>
5052
5053 * ace/High_Res_Timer.cpp (global_scale_factor ()): When checking for
5054 a high-res timer mechanism, don't set the global_scale_factor_status_
5055 away from 0 until _after_ getting the scale factor, to avoid
5056 a second parallel thread from using a bogus value. Thanks very much
5057 to Alain Decamps for this fix.
5058
5059 Thu Aug 30 09:30:19 2001 Chad Elliott <[email protected]>
5060
5061 * tests/Log_Msg_Test.cpp:
5062
5063 Fix for VxWorks when ace_main() is called with argc == 0.
5064
5065 * tests/run_test.lst:
5066
5067 Update the list of tests that run on VxWorks.
5068
5069 * tests/Makefile:
5070 * tests/run_test.pl:
5071
5072 Update the script to output VxWorks commands to a file.
5073
5074 Thu Aug 30 09:58:38 2001 Steve Huston <[email protected]>
5075
5076 * ace/High_Res_Timer.i (elapsed_microseconds): For Win32, isolate the
5077 msec modulus before converting it up to usecs. Thanks to Francois
5078 Rioux <[email protected]> for reporting this.
5079
5080 Thu Aug 30 00:42:41 2001 Christopher Kohlhoff <[email protected]>
5081
5082 * ace/Service_Config.cpp:
5083 Service_Object instances are now inserted into the Service_Repository
5084 only after they have been successfully initialised, to provide better
5085 support for recursive use of the service configurator. With this
5086 change, a service loaded from 'inside' another services's init() will
5087 be inserted into the repository first and unloaded last. This ensures
5088 that any recursively loaded services on which the original service
5089 depends still exist when the original service's fini() function is
5090 called.
5091
5092 Thu Aug 30 00:27:05 2001 Krishnakumar B <[email protected]>
5093
5094 * ChangeLog:
5095
5096 Removed bogus files from the previous entry. I should not play
5097 around with a lot of tasks at once.
5098
5099 Wed Aug 29 19:57:29 2001 Krishnakumar B <[email protected]>
5100
5101 * ace/config-osf1-4.0.h:
5102
5103 Remove definition of ACE_NEEDS_HUGE_THREAD_STACKSIZE. The
5104 default value seems to be good enough.
5105
5106 * ace/config-vxworks5.x.h:
5107 * ace/config-lynxos.h:
5108 * ace/config-qnx-neutrino.h:
5109 * ace/config-rtems.h:
5110
5111 Standardized the values to 64KB on these platforms. Don't know
5112 if these platforms need it. But I don't have access to any of
5113 these so playing it safe.
5114
5115
5116 Wed Aug 29 18:52:12 2001 Christopher Kohlhoff <[email protected]>
5117
5118 * tests/Bound_Ptr_Test.cpp:
5119 Removed a stray asterisk that was causing compilation failures.
5120
5121 Wed Aug 29 17:54:52 2001 Steve Huston <[email protected]>
5122
5123 * tests/libDLL_Test.icc:
5124 * tests/libService_Config_DLL.icc: Fixed the "run after" directives
5125 to correctly build the lib*.a files. Also, fixed the cleanup
5126 directives to properly clean up both .a and shr.o files.
5127
5128 Wed Aug 29 15:32:10 2001 Douglas C. Schmidt <[email protected]>
5129
5130 * ace/config-aix-4.x.h:
5131 * ace/config-hpux-11.00.h:
5132 * ace/config-osf1-4.0.h: Added better support for pread()/pwrite().
5133 Thanks to Steve Vranyes <[email protected]> for these fixes.
5134
5135 Wed Aug 29 15:47:33 2001 Steve Huston <[email protected]>
5136
5137 * tests/run_test.lst: Re-enabled MEM_Stream_Test.
5138
5139 Wed Aug 29 12:15:01 2001 Nanbor Wang <[email protected]>
5140
5141 * ace/ace_dll.dsp:
5142 * ace/ace_lib.dsp: Added Bound_Ptr.* to the projects.
5143
5144 * tests/tests.dsw:
5145 * tests/Bound_Ptr_Test.dsp: Added a new project for
5146 Bound_Ptr_Test.
5147
5148 Wed Aug 29 11:01:22 2001 Steve Huston <[email protected]>
5149
5150 * tests/MEM_Stream_Test.cpp: Fixed a cut/paste error and now runs the
5151 proper number of threads/processes for the MT case, avoiding a
5152 hang.
5153
5154 Wed Aug 29 07:08:23 2001 Douglas C. Schmidt <[email protected]>
5155
5156 * tests/run_tests.lst:
5157 * tests/Makefile
5158 * tests/Makefile.bor
5159 * ace/Makefile
5160 * ace/Bound_Ptr.{h,i}
5161 * tests/Bound_Ptr_Test.cpp
5162 * examples/Smart_Pointer: Added a pair of new smart pointer classes,
5163 ACE_Strong_Bound_Ptr and ACE_Weak_Bound_Ptr. Thanks to
5164 Christopher Kohlhoff <[email protected]> for contributing
5165 these.
5166
5167 Tue Aug 28 17:51:19 2001 Steve Huston <[email protected]>
5168
5169 * tests/run_test.pl: If a test has log files associated with the
5170 main log of the form <test>-<other>.log, e.g. MEM_Stream_Test-331.log
5171 the check_log function will scan those for errors/warnings too.
5172
5173 Tue Aug 28 16:48:23 2001 Balachandran Natarajan <[email protected]>
5174
5175 * ace/TP_Reactor.i: We (the current thread) should not release the
5176 token unless we own it. This simple mistake just took 3 days to
5177 figure out. An 'if' condition was mixing and have added
5178 it. Shows how a small problem at lower levels can take days to
5179 fix.
5180
5181 Tue Aug 28 17:45:22 2001 Steve Huston <[email protected]>
5182
5183 * tests/MEM_Stream_Test.cpp: Fixed compile warning on gcc.
5184
5185 Tue Aug 28 13:16:31 2001 Chad Elliott <[email protected]>
5186
5187 * bin/vxworks_modify.pl:
5188 * bin/perltest2cpp.pl:
5189
5190 Generated c++ files now pass the fuzz check.
5191
5192 Tue Aug 28 11:02:08 2001 Ossama Othman <[email protected]>
5193
5194 * bin/nightlybuilds/builds.lst:
5195
5196 Renamed the GCC 3.0 build to "Debian_GCC_3.0.1." since we're
5197 actually compiling with GCC 3.0.1, not GCC 3.0. The latter has
5198 bugs that prevent it from compiling ACE/TAO at the "-O3"
5199 optimization level.
5200
5201 Tue Aug 28 10:19:18 2001 Ossama Othman <[email protected]>
5202
5203 * ace/SSL/SSL_SOCK_Stream.i (recv_i):
5204
5205 Corrected Borland warning using a more efficient fix (i.e. less
5206 function calls).
5207
5208 Tue Aug 28 10:36:10 2001 Chad Elliott <[email protected]>
5209
5210 * bin/vxworks_modify.pl:
5211 * bin/perltest2cpp.pl:
5212
5213 Added these scripts for use with VxWorks and the newly added TAO
5214 TestUtils. These scripts modify c++ and perl to generate
5215 "one-button" modules for TAO testing on VxWorks.
5216
5217 Tue Aug 28 11:07:26 2001 Steve Huston <[email protected]>
5218
5219 * tests/MEM_Stream_Test.cpp: Be sure to close the stream from the
5220 client end.
5221
5222 Mon Aug 27 20:16:38 2001 Balachandran Natarajan <[email protected]>
5223
5224 * tests/run_test.lst: Removed the MEM_Stream_Test from the daily
5225 builds as they were hanging. This was causing the builds to
5226 choke. I will keep Steve Huston informed on this so that he can
5227 reenable them once he has fixed the test.
5228
5229 Mon Aug 27 18:33:59 2001 Krishnakumar B <[email protected]>
5230
5231 * bin/nightlybuilds/builds.lst (WEB):
5232
5233 Removed the stray yoda part of LIST which is causing the wrong
5234 results to show up.
5235
5236 Mon Aug 27 18:14:38 2001 Krishnakumar B <[email protected]>
5237
5238 * bin/nightlybuilds/builds.lst (WEB):
5239
5240 Added the IA-64 builds back again. We now have a faster machine
5241 running a better version of Linux.
5242
5243 Mon Aug 27 09:39:33 2001 Balachandran Natarajan <[email protected]>
5244
5245 * ace/Timer_Queue_T.i (get_dispatch_info):
5246 * ace/Timer_Queue_T.h: Fixed the compile problem in VXWORKS
5247 builds. How could I forget that there are a few compilers which
5248 cannot grok traits?
5249
5250 Mon Aug 27 09:39:12 2001 Johnny Willemsen <[email protected]>
5251
5252 * examples/Makefile.bor:
5253 * examples/NT_Service/Makefile.bor
5254 Added BCB makefile for this example
5255
5256 Sun Aug 26 22:08:32 2001 Balachandran Natarajan <[email protected]>
5257
5258 * ace/TP_Reactor.i: Reordered methods to fix warnings in TRU 64
5259 builds.
5260
5261 Sun Aug 26 20:50:22 2001 Balachandran Natarajan <[email protected]>
5262
5263 * ace/SSL/SSL_SOCK_Stream.i: Fixed a warning (hopefully) in
5264 Borland builds. The warning was because a temporary variable was
5265 created.
5266
5267 Sun Aug 26 20:45:24 2001 Balachandran Natarajan <[email protected]>
5268
5269 * tests/MEM_Stream_Test.cpp: Fixed a unused variable warning in
5270 Borland.
5271
5272 Sun Aug 26 08:13:12 2001 Douglas C. Schmidt <[email protected]>
5273
5274 * tests/test_config.h: Added a new ACE_CLOSE_TEST_LOG macro. Thanks to
5275 Edan for this.
5276
5277 Sun Aug 26 09:07:32 2001 Balachandran Natarajan <[email protected]>
5278
5279 * ace/TP_Reactor.cpp: Fixed a compile error with SunCC4.2
5280
5281 Sun Aug 26 08:28:09 2001 Balachandran Natarajan <[email protected]>
5282
5283 * ace/Timer_Queue_T.cpp: Fixed a warning from an unused variable
5284 reported by KCC compilers.
5285
5286 Sun Aug 26 08:13:12 2001 Douglas C. Schmidt <[email protected]>
5287
5288 * tests/Logging_Strategy_Test.cpp: Applied the following fixes from
5289 Edan:
5290
5291 - Included ace/Logging_Strategy.h
5292 - Addition of -w switch to enable initial wipeout of logfile
5293 - Removal of the redundant ACE_LOG_MSG->open()
5294 - Explicitly close the previous log before applying the changes to the
5295 ACE_LOG_MSG
5296 - Moved remove_files() call higher, just before logfile close
5297
5298 * ace/Logging_Strategy.{h,cpp}: Added the following fixes from
5299 Edan Ayal:
5300
5301 - Logging_Strategy now supports any ACE_Log_Msg, not just the
5302 ACE_LOG_MSG singleton.
5303 - Added a check for success (ios::goodbit) of new ofstream
5304 creation.
5305 - Changed default values for max_size and interval. Now the
5306 default interval is 10 minutes (instead of 0) and the default
5307 log file size is 0 (was 16K). The timer is now activated only
5308 if both are non-zero.
5309 - Added a mutator to set the ACE_Log_Msg to work with, and a
5310 member variable
5311 - Added definition for ACE_DEFAULT_LOGFILE_POLL_INTERVAL
5312 - Removed definition of ACE_DEFAULT_MAX_LOGFILE_SIZE
5313
5314 * ace/Log_Record.{h,cpp}: Enhanced this implementation to (1)
5315 be consistent with recent changes to Log_Msg.h and (2) to
5316 replace problematic use of strncpy(). Thanks to Alain
5317 Decamps for these fixes.
5318
5319 Sat Aug 25 20:58:22 2001 Nanbor Wang <[email protected]>
5320
5321 * ace/FILE_IO.i (send_n): Changed to use ACE::write_n to send the
5322 chain of Message_Blocks. The originally used ACE::send_n was
5323 causing problem on NT because send_n was restricted for sockets
5324 I/O on NT. Thanks to Doug for pointing this out.
5325
5326 Sat Aug 25 10:16:21 2001 Douglas C. Schmidt <[email protected]>
5327
5328 * tests/Svc_Handler_Test.cpp (main): The destructor of svc_handler
5329 will close file_io, so we don't need to do it explicitly!
5330
5331 * ace/Log_Msg.cpp (log): Changed range check from
5332
5333 this->msg_ + ACE_Log_Record::MAXLOGMSGLEN
5334
5335 to
5336
5337 this->msg_ + sizeof this->msg_
5338
5339 to correspond to the change below.
5340
5341 * ace/Log_Msg.h (ACE_Log_Msg): Increased the size of the buffer
5342 used to store log records to account for the NUL-terminator.
5343
5344 * tests/Svc_Handler_Test.cpp (main): Changed the buffer size
5345 and NUL-terminated the buffer so that things print correctly.
5346 Thanks to Nanbor for finding this.
5347
5348 Sat Aug 25 09:00:28 2001 Balachandran Natarajan <[email protected]>
5349
5350 * ace/TP_Reactor.cpp:
5351 * ace/TP_Reactor.h (ACE_TP_Reactor): Fixed a warning in KCC
5352 builds.
5353
5354 Sat Aug 25 08:42:57 2001 Balachandran Natarajan <[email protected]>
5355
5356 * ace/Configuration_Import_Export.cpp: Fixed warnings with g++. I
5357 am not sure how this fix will be accepted on different
5358 compilers. Things are always dicy when you want to delete a
5359 void *.
5360
5361 Fri Aug 24 23:29:09 2001 Balachandran Natarajan <[email protected]>
5362
5363 * bin/auto_run_tests.lst: Added File_IO test to our daily builds.
5364
5365 Fri Aug 24 23:12:15 2001 Balachandran Natarajan <[email protected]>
5366
5367 * ace/WFMO_Reactor.h:
5368 * ace/WFMO_Reactor.cpp (dispatch_notify): Fixed a compile error on
5369 MSVC.
5370
5371 Fri Aug 24 23:07:42 2001 Balachandran Natarajan <[email protected]>
5372
5373 * ace/Configuration_Import_Export.cpp: Fixed a compile error with
5374 g++.
5375
5376 Fri Aug 24 21:55:00 2001 Craig Rodrigues <[email protected]>
5377
5378 * ace/QoS/QoS_Session_Impl.cpp:
5379 Check for null parameters in rsvp_callback().
5380 Thanks to Yamuna Krishnamurthy <[email protected]>.
5381
5382 Fri Aug 24 20:32:39 2001 Steve Huston <[email protected]>
5383
5384 * tests/MEM_Stream_Test.cpp: Changed this test to use multiple
5385 processes on any platform without ACE_LACKS_FORK. It actually
5386 could be broader than this if desired. This is motivated by the
5387 fact that HP-UX can't mmap() (the call underlying ACE_MEM_IO)
5388 the same file more than once in the same process. With this,
5389 MEM_Stream_Test goes a lot better on HP-UX, though not perfectly
5390 yet.
5391
5392 Fri Aug 24 16:54:02 2001 Ossama Othman <[email protected]>
5393
5394 * ace/SSL/SSL_SOCK_Stream.h (recv_i):
5395
5396 Added a timeout parameter. See below for details.
5397
5398 * ace/SSL/SSL_SOCK_Stream.i (recv_i):
5399
5400 Perform an SSL_read() before attempting to block on select()
5401 with a timeout. OpenSSL may buffer more data than requested
5402 since it is a record-oriented protocol. Fixes a problem where
5403 subsequent calls to ACE_SSL_SOCK_Stream::recv() could timeout
5404 when needlessly blocking on select() because the expected data
5405 has already been buffered by OpenSSL. Thanks to Martin
5406 Krumpolec <[email protected]> for reporting and diagnosing the
5407 problem. [Bug 1006]
5408
5409 * ace/SSL/SSL_SOCK_Stream.cpp (recv):
5410
5411 Moved the timed recv() code to the lower level recv_i() method
5412 since timeout support must now be more tightly integrated with
5413 do/while(SSL_pending()) SSL_read() loop.
5414
5415 Fri Aug 24 18:33:09 2001 Douglas C. Schmidt <[email protected]>
5416
5417 * ace/Parse_Node.cpp (ACE_Function_Node): Make sure to dynamically
5418 allocate the pathname_ so we can delete it! Thanks to
5419 Don Hinton for reporting this.
5420
5421 * ace/Configuration_Import_Export.cpp: Changed a couple of
5422 delete (char *) buf to delete (char *) [] buf. Thanks to
5423 Don Hinton for reporting this.
5424
5425 Fri Aug 24 16:10:20 2001 Balachandran Natarajan <[email protected]>
5426
5427 Merged in changes from the reactor_deadlock branch. This set of
5428 changes actually fixes a long standing problem with the
5429 TP_Reactor. The TP_Reactor was holding the token too long and
5430 this created all sorts of problems for TAO. The changes have been
5431 merged from the branch <reactor_deadlock> and here are the relevant
5432 ChangeLog entries.
5433
5434 Fri Aug 24 14:59:52 2001 Balachandran Natarajan <[email protected]>
5435
5436 * ace/TP_Reactor.cpp (dispatch_socket_events): Cosmetic changes.
5437
5438 Fri Aug 24 14:19:02 2001 Balachandran Natarajan <[email protected]>
5439
5440 * ace/Timer_Queue_T.i:
5441 * ace/Timer_Queue_T.h:Removed the default constructor and
5442 destructor for ACE_Timer_Node_Dispatch_Info_T allowing the
5443 compiler to do the job.
5444
5445 Fri Aug 24 12:05:25 2001 Balachandran Natarajan <[email protected]>
5446
5447 * ace/Timer_Queue_T.cpp: Removed some vague debug statements.
5448
5449 Fri Aug 24 11:34:11 2001 Balachandran Natarajan <[email protected]>
5450
5451 * ace/Timer_Queue_T.h:
5452 * ace/Timer_Queue_T.cpp:
5453 * ace/Timer_Queue_T.i: Added a new class
5454 ACE_Timer_Node_Dispatch_Info_T that has the dispatch information
5455 needed to make the upcall. Added methods, dispatch_info () and
5456 dispatch_info_i () in ACE_Timer_Queue_T. These methods return
5457 the dispatch information if there is a node in the queue whose
5458 timer value <= current time. Changed the expire () method to use
5459 this method to get dispatch information.
5460
5461 * ace/Timer_Queue.h: Added a template specialisation for
5462 ACE_Timer_Node_Dispatch_Info_T.
5463
5464 * ace/Timer_Queue.cpp: Added template instantiations for the
5465 specialisation.
5466
5467 * ace/TP_Reactor.h:
5468 * ace/TP_Reactor.cpp: Added a new method handle_timer_events ()
5469 that would handles timer events.
5470
5471 Thu Aug 23 11:50:18 2001 Balachandran Natarajan <[email protected]>
5472
5473 * ace/Reactor_Impl.h: Added two new methods notify_handle () and
5474 dispatch_notify () to the ACE_Reactor_Impl class.
5475
5476 * ace/Select_Reactor_Base.h:
5477 * ace/Select_Reactor_Base.cpp: Implemented the above two
5478 methods in the ACE_Select_Reactor_Notify class. The
5479 notify_handle () method returns the handle of the pipe on which
5480 it is listening. The dispatch_notify () call does a dispatch of
5481 just one notify () call in the notify pipe. The handle_input ()
5482 call that used to process all the notify calls now calls the
5483 dispatch_notify () in a loop. The change essentially allows
5484 some extrenal client of this class to just process one notify at
5485 a time if needed.
5486
5487 * ace/TP_Reactor.h:
5488 * ace/TP_Reactor.i:
5489 * ace/TP_Reactor.cpp (handle_events): Fixed a bug with
5490 handle_events (ACE_Time_Value &). This should be calling the
5491 handle_events () of the TP_Reactor and not the select reactor.
5492
5493 Added a whole slew of new methods that basically allows us to do
5494 this
5495 - handle one event at a time
5496
5497 - once the thread knows the event that needs handling it should
5498 release the token before dispatching the events
5499
5500 The new methods that have been added are
5501
5502 - handle_signals (), which handle signals that interrupted the
5503 select (). The implementation of this method is busted. The
5504 implementation has been copied from the existing setup
5505
5506 - handle_notify_events (), which handles one notify on the
5507 notify_pipe at a time
5508
5509 - handle_socket_events (), which handles socket events.
5510
5511 Quite a few helper methods have also been added. They are
5512 get_notify_handle (), get_socket_event_info (), and
5513 dispatch_socket_events (). Removed the methods dispatch_i (),
5514 dispatch_i_protected () and notify_handle (). This checkin fixes
5515 the problem in 1002. But we still have to add handling timeouts
5516 into the TP_Reactor.
5517
5518
5519 Tue Aug 21 17:21:07 2001 Balachandran Natarajan <[email protected]>
5520
5521 * ace/TP_Reactor.i:
5522 * ace/TP_Reactor.h:
5523 * ace/TP_Reactor.cpp: Made lots of changes which havent been
5524 compiled yet. Added a new class ACE_TP_Token_Guard that helps
5525 in obtaining and releasing tokens. Moved the grab_token () from
5526 the ACE_TP_Reactor class to the TP_Token_Guard class. Added a
5527 new method for handling signals. They havent been compiled yet
5528 and this checkin is to put files from work to my home box.
5529
5530 Tue Aug 21 07:58:42 2001 Balachandran Natarajan <[email protected]>
5531
5532 * ace/TP_Reactor.i:
5533 * ace/TP_Reactor.h:
5534 * ace/TP_Reactor.cpp (handle_events): Started refactoring some of
5535 the code to help with this bug. This change has not been
5536 compiled. This is just being done to transfer files from home
5537 to work.
5538
5539 Fri Aug 24 14:25:31 2001 Balachandran Natarajan <[email protected]>
5540
5541 * THANKS: Added Massimo Pichini <[email protected]> to the
5542 Hall of Fame.
5543
5544 Fri Aug 24 13:40:01 2001 Balachandran Natarajan <[email protected]>
5545
5546 * bin/nightlybuilds/builds.lst: Removed HPUX and AIX_VAC for the
5547 timebeing. Looks like OCI is running different versions of the
5548 OS for their internal use.
5549
5550 Fri Aug 24 10:17:00 2001 Balachandran Natarajan <[email protected]>
5551
5552 * ace/Log_Msg.cpp (log_hexdump): Added a patch provided by Massimo
5553 Pichini <[email protected]>. This prevents overflows with
5554 long strings that are used in printing hexdumps. Previously we
5555 had a buffer of 80 bytes on the stack.
5556
5557 Fri Aug 24 10:03:29 2001 Steve Huston <[email protected]>
5558
5559 * ace/INET_Addr.(h cpp): Applied changes submitted by
5560 Alain Decamps <[email protected]> to insure that
5561 get_host_name (char hostname[], size_t len) const always
5562 nul-terminates the hostname string. If the host lookup is
5563 successful, but the supplied buffer is too short, the function
5564 returns -1, errno == ENOSPC.
5565
5566 Thu Aug 23 22:01:11 2001 Balachandran Natarajan <[email protected]>
5567
5568 * tests/Logging_Strategy_Test.cpp: Reverted this change "Thu Aug
5569 23 05:24:57 2001 Douglas C. Schmidt" as this was giving
5570 warnings with MSVC 6.0
5571
5572 Thu Aug 23 11:49:15 2001 Paul Calabrese <[email protected]>
5573
5574 * bin/msvc_auto_compile.pl:
5575
5576 Revert changes from Mon Aug 20 15:48:30 2001.
5577 Thanks to Darrell to showing me the error in my ways.
5578
5579 Thu Aug 23 09:17:25 2001 Balachandran Natarajan <[email protected]>
5580
5581 * ace/Log_Msg.cpp (file): Reduced the number of bytes copied in
5582 ACE_Log_Msg::file () and ACE_Log_Msg::msg () by one. Thanks to
5583 Alain Decamps <[email protected]> for pointing this out.
5584
5585 Thu Aug 23 08:11:22 2001 Steve Huston <[email protected]>
5586
5587 * ace/Configuration_Import_Export.cpp (process_previous_line_format):
5588 Prepend ACE_OS:: to atoi to work with both narrow and wide chars.
5589
5590 Thu Aug 23 08:03:00 2001 Craig Rodrigues <[email protected]>
5591
5592 * ace/QoS/QoS_Session_Impl.cpp:
5593 Improve debugging messages. Return -1 inside rsvp_callback()
5594 if flowspec type is unknown.
5595
5596 Thu Aug 23 05:24:57 2001 Douglas C. Schmidt <[email protected]>
5597
5598 * tests/Logging_Strategy_Test.cpp: Added new and improved test that
5599 it better documented and fixes some minor bugs. Thanks to
5600 Edan Ayal for this.
5601
5602 Wed Aug 22 19:04:57 2001 Douglas C. Schmidt <[email protected]>
5603
5604 * tests/Logging_Strategy_Test.cpp: Enable this test to work
5605 on platforms that don't support DLLs. Thanks to Edan Ayal
5606 <[email protected]> for suggestion this and providing the code.
5607
5608 * tests/Logging_Strategy_Test.cpp (parse_args): Changed 'n' for 'N'
5609 since that controls the max number of log files. Thanks to Edan
5610 Ayal <[email protected]> for reporting this.
5611
5612 Thu Aug 23 07:30:12 2001 Johnny Willemsen <[email protected]>
5613
5614 * ace/SString.{h,i}: Added clear() method to the ACE_CString and
5615 ACE_WString so that it is possible to clear a string in just one
5616 call
5617 * tests/SString_Test.cpp: Extended to test clear() method
5618
5619 Wed Aug 22 15:30:05 2001 Carlos O'Ryan <[email protected]>
5620
5621 * bin/auto_compile:
5622 Use the print_config.pl script to print out the configuration.
5623
5624 Wed Aug 22 17:33:29 2001 Steve Huston <[email protected]>
5625
5626 Applied fixes submitted by Jerry D. Odenwelder, to fix
5627 Bugzilla #953:
5628
5629 * ace/Configuration.cpp (import_config, export_config): Changed
5630 from using a ACE_Ini_ImpExp object to an ACE_Registry_ImpExp
5631 to preserve type information in the import/export files, and
5632 retain the ability to read an ACE 5.1-format file (with the
5633 changes next...)
5634
5635 * ace/Configuration_Import_Export.(h cpp): Added a new
5636 ACE_Registry_ImpExp::process_previous_line_format() method that
5637 knows how to read an ACE 5.1-format config line. If
5638 ACE_Registry_ImpExp::import_config finds a line that does not
5639 begin with one of <"[#;> it calls process_previous_line_format
5640 to try to convert it using ACE 5.1-format rules.
5641 Note that the auto conversion works on import. If the
5642 object is subsequently exported, the new registry format
5643 will be used to write the file, effectively updating it
5644 from old to new format.
5645
5646 Wed Aug 22 12:04:04 2001 Douglas C. Schmidt <[email protected]>
5647
5648 * ace/WFMO_Reactor.h (ACE_WFMO_Reactor): Clarified that the
5649 work_pending() method isn't implemented and suggest what to do
5650 for a workaround. Thanks to Michelangelo Riccobene
5651 ([email protected]) for reporting this.
5652
5653 Wed Aug 22 10:38:08 2001 Carlos O'Ryan <[email protected]>
5654
5655 * bin/nightlybuilds/print_config.pl:
5656 Add new perl script to print out the build configuration, the
5657 script will be shared by the Unix and Win32 builds.
5658
5659 Wed Aug 22 11:30:13 2001 Joe Hoffert <[email protected]>
5660
5661 * ace/OS_Memory.h:
5662 Removed include of pace/stddef.h. PACE does not have this
5663 file. There are no POSIX functions that typically reside
5664 in this header. Maybe PACE will need this later but it
5665 doesn't now.
5666
5667 * ace/OS.h (ACE_cond_t):
5668 Modified #if guard to include ACE_cond_t class if we're
5669 on Win32. If we're using PACE then we don't want this method
5670 (since PACE takes care of it) unless we're on Windows. Win32
5671 mutexes, semaphores, and condition variables are not yet
5672 supported in PACE.
5673
5674 * ace/OS.cpp (ACE_OS::cond_destroy):
5675 Modified #if guard to include ACE_cond_t::cond_destroy
5676 if we're on Win32. If we're using PACE then we don't want
5677 this method (since PACE takes care of it) unless we're on
5678 Windows. Win32 mutexes, semaphores, and condition variables
5679 are not yet supported in PACE.
5680
5681 * ace/OS.i (ACE_OS::waiters):
5682 Modified #if guard to include ACE_cond_t::waiters if
5683 we're not on Win32. If we're using PACE then we want
5684 this method (since PACE defines cond_t) unless we're
5685 on Windows. Win32 mutexes, semaphores, and condition
5686 variables are not yet supported in PACE.
5687
5688 Tue Aug 21 08:26:30 2001 David L. Levine <[email protected]>
5689
5690 * docs/ACE-guidelines.html: changed the example referenced
5691 in:
5692 Sun Aug 19 08:17:14 2001 David L. Levine <[email protected]>
5693 to be a bit more realistic.
5694
5695 Tue Aug 21 06:58:49 2001 Balachandran Natarajan <[email protected]>
5696
5697 * ace/Log_Msg.cpp: Fixed problematic uses of strncpy. Thanks to
5698 Alain Decamps <[email protected]> for giving this patch.
5699
5700 Tue Aug 21 10:40:12 2001 Johnny Willemsen <[email protected]>
5701
5702 * ace/Map.i: Made the return value of ACE_Incremental_Key_Generator
5703 getCurrentValue() const
5704
5705 * ace/Map_Manager.*: Added a const iterator for the
5706 ACE_Map_Manager
5707
5708 Mon Aug 20 18:20:51 2001 Steve Huston <[email protected]>
5709
5710 * ace/Process.cpp (pass_handle): Only try to compile the
5711 DuplicateHandle stuff when !ACE_HAS_WINCE... I think it's
5712 right this time...
5713
5714 Mon Aug 20 15:54:46 2001 Douglas C. Schmidt <[email protected]>
5715
5716 * ace/SUN_Proactor.cpp: Removed the instantiation of
5717 ACE_Condition<ACE_Thread_Mutex>. Thanks to David Trusty
5718 <[email protected]> for reporting this.
5719
5720 Mon Aug 20 15:48:30 2001 Paul Calabrese <[email protected]>
5721
5722 * bin/msvc_auto_compile.pl:
5723
5724 Modify script to print config.h contents.
5725
5726 Mon Aug 20 13:14:00 2001 Carlos O'Ryan <[email protected]>
5727
5728 * bin/auto_compile:
5729 Fixed chdir commands for the auto_compile scripts.
5730
5731 Mon Aug 20 14:33:31 2001 Douglas C. Schmidt <[email protected]>
5732
5733 * ace/Message_Queue_T.cpp: If we timeout in the semaphore implementation
5734 of the message queue in wait_not_full_cond() or
5735 wait_not_empty_cond() make sure to decrement the "waiters" count
5736 accordingly! Thanks to Patrick Rabau <[email protected]>
5737 for noticing this in the C++NPv1 book version!
5738
5739 Mon Aug 20 07:01:31 2001 Douglas C. Schmidt <[email protected]>
5740
5741 * ace/Synch_T.i (release): If owner_ == -1 then return
5742 -1. Thanks to Don Hinton <[email protected]> for suggesting this.
5743
5744 Mon Aug 20 13:18:51 2001 Steve Huston <[email protected]>
5745
5746 * ace/SOCK.h: Corrected comment on ACE_SOCK ctor being protected,
5747 not private. Thanks to Don Hinton <[email protected]> for
5748 pointing this out.
5749
5750 * THANKS: Added Don Hinton to the Hall of Fame.
5751
5752 Mon Aug 20 11:00:50 2001 Chad Elliott <[email protected]>
5753
5754 * ace/OS.h:
5755
5756 Set the ACE_DEFAULT_FILE_PERMS to the correct value for VxWorks.
5757
5758 * tests/run_test.lst:
5759
5760 Removed tests for VxWorks for which the platform has no support.
5761
5762 * tests/CDR_File_Test.cpp:
5763 * tests/Svc_Handler_Test.cpp:
5764
5765 Add VxWorks to the list of platforms that can't unlink the file
5766 in advance of the test completing.
5767
5768 Mon Aug 20 01:49:12 2001 Christopher Kohlhoff <[email protected]>
5769
5770 * include/makeinclude/build_dll.bor:
5771 Build non-core DLLs into the common bin directory. This is necessary
5772 so that the tests can find all the DLLs they need on the path.
5773
5774 * tests/run_test.pl:
5775 Removed the append of the ExeSubDir to the path, since it is no
5776 longer needed and never really worked properly anyway.
5777
5778 Mon Aug 20 00:01:29 2001 Steve Huston <[email protected]>
5779
5780 * ace/SOCK_Connector.h: Clarify the conditions under which errno
5781 will be ETIME (caller-specified timeout expires w/o connect)
5782 vs. ETIMEDOUT (protocol layer timed out the connect).
5783
5784 * ace/SOCK_Connector.cpp: Add "|| errno == ETIME" to a couple
5785 places where an ACE_ERROR is _not_ done for certain conditions.
5786
5787 * ace/ACE.cpp (handle_timed_complete): If the user-specified timeout
5788 expires before the connect is resolved one way or the other,
5789 set errno to ETIME, not ETIMEDOUT. This makes it match the
5790 documented behavior in the ACE_SOCK_Connector man page.
5791
5792 Sun Aug 19 20:33:39 2001 Carlos O'Ryan <[email protected]>
5793
5794 * bin/nightlybuilds/builds.lst:
5795 Update build list
5796
5797 Sun Aug 19 15:36:23 2001 Carlos O'Ryan <[email protected]>
5798
5799 * bin/auto_compile:
5800 Add new 'Config' section at the end of the build, useful for the
5801 next generation scoreboard.
5802
5803 Sun Aug 19 13:25:51 2001 Carlos O'Ryan <[email protected]>
5804
5805 * bin/footprint_stats.sh:
5806 * bin/performance_stats.sh:
5807 * bin/generate_footprint_chart.sh:
5808 * bin/generate_performance_chart.sh:
5809 * html/Stats/Stats.css:
5810 * html/Stats/configuration.shtml:
5811 * html/Stats/detailed_footprint.shtml:
5812 * html/Stats/detailed_performance.shtml:
5813 * html/Stats/footer.html:
5814 * html/Stats/index.shtml:
5815 * html/Stats/navigation.html:
5816 Put the scripts and HTML documents used to generate the Stats
5817 pages under CVS control. Now it is easier for people to add
5818 their own libraries and tests, as well as let our user community
5819 examine the way the pages are generated.
5820
5821 * bin/auto_run_tests.lst:
5822 Remove TAO/tests/LongUpcalls/run_ami_test.pl, the tests have
5823 been incorporated into the run_test.pl script.
5824
5825 * bin/sandbox.cpp:
5826 Minor changes to the sandbox script, actually not very useful,
5827 the ACE classes to create processes start a new process group by
5828 default, therefore there is no simple way to kill all the
5829 subprocesses if a test fails.
5830
5831 Sun Aug 19 08:17:14 2001 David L. Levine <[email protected]>
5832
5833 * docs/ACE-guidelines.html: replaced function call in
5834 ASSERT with simple comparison of a variable value. Thanks
5835 to Tino Schwarze <[email protected]>
5836 for suggesting this.
5837
5838 Sat Aug 18 18:26:24 2001 Balachandran Natarajan <[email protected]>
5839
5840 * ace/ACE.cpp: Removed the ASYS_INLINE macro from the definition
5841 of write_n ().
5842
5843 Sat Aug 18 13:18:10 2001 Douglas C. Schmidt <[email protected]>
5844
5845 * ace/ACE.{h,cpp}: Added a new write_n(...ACE_Message_Block *...)
5846 for file transfers that's the dual of
5847 send_n(...ACE_Message_Block *...). This helps out the C++NPv1
5848 book symmetry. Thanks to Alain Decamps <[email protected]>
5849 for motivating this.
5850
5851 Fri Aug 17 18:17:38 2001 Douglas C. Schmidt <[email protected]>
5852
5853 * bin/clone.cpp: Only use extern char *sys_errlist[] if we're not
5854 compiling on Linux. Thanks to Thomas Groth
5855 <[email protected]> for reporting this.
5856
5857 Fri Aug 17 19:04:31 2001 Steve Huston <[email protected]>
5858
5859 * ace/Process.cpp (ACE_Process_Options::pass_handle): For WinCE,
5860 just do ACE_NOTSUP_RETURN (-1). It can't dup a handle.
5861
5862 Fri Aug 17 16:56:16 2001 Jeff Parsons <[email protected]>
5863
5864 * ace/CDR_Stream.h:
5865 * ace/CDR_Stream.i:
5866 * ace/CDR_Stream.cpp:
5867
5868 Added wr_ptr() accessor method to ACE_InputCDR, and added its
5869 use to adjust(), align_read_ptr(), read_1(), skip_string() and
5870 skip_bytes() instead of end(). Also added reset of good_bit_
5871 to 0 upon failure in read_string() and read_wstring(). Thanks to
5872 Peter Phillips <[email protected]> for reporting this bug,
5873 which was causing excessive memory allocation is some cases.
5874 [Bug 591, 944, 983]
5875
5876 Fri Aug 17 13:31:45 2001 Chad Elliott <[email protected]>
5877
5878 * tests/run_test.pl:
5879
5880 Added the ability to generate windsh commands to load and run
5881 the ace tests.
5882
5883 * tests/Makefile:
5884
5885 Added a rule to generate run_test.vxworks, using run_test.pl,
5886 which can be used to run the tests selected for the VxWorks OS.
5887
5888 * tests/run_test.lst:
5889
5890 Update this list to take into account the limitations of VxWorks.
5891
5892 * tests/test_config.h:
5893
5894 Change the permissions of the log file open (for VxWorks only) to
5895 use the symbolic permission names instead of 0x644. The
5896 permissions differ from the standard UNIX modes.
5897
5898 * tests/run_tests.vxworks:
5899
5900 This file was out of date and no longer needs to be maintained.
5901 So, it has been removed.
5902
5903 Fri Aug 17 09:44:49 2001 Balachandran Natarajan <[email protected]>
5904
5905 * ace/Map_T.{h,i}: Reverted this change "Fri Aug 17 08:07:12 2001
5906 Johnny Willemsen <[email protected]>" as this was giving too
5907 much of warnings in the builds.
5908
5909 Fri Aug 17 09:30:34 2001 Balachandran Natarajan <[email protected]>
5910
5911 * gperf/apps/tests/Makefile: Fixed the problem that was causing
5912 the builds to fail.
5913
5914 Fri Aug 17 08:07:12 2001 Johnny Willemsen <[email protected]>
5915
5916 * ace/Map_T.(h i): made the return value of
5917 ACE_Incremental_Key_Generator::current_value const T& instead
5918 of T&. Added uppercase traits to the ACE_Map class.
5919
5920 Thu Aug 16 19:27:29 2001 Steve Huston <[email protected]>
5921
5922 * ace/Process.cpp (ACE_Process_Options::pass_handle): Add
5923 "::" to front of "DuplicateHandle" so the WinCE compiler
5924 sees the right function.
5925 Also added ctor/dtor for ACE_Managed_Process to try and fix the
5926 can't find vtable error on Linux.
5927
5928 * ace/Process.h: Added a constructor for ACE_Managed_Process
5929 to fix "can't find vtable" error on Linux.
5930
5931 * ace/Process.i: Moved ACE_Managed_Process dtor to .cpp file.
5932
5933 Thu Aug 16 15:10:42 2001 Steve Huston <[email protected]>
5934
5935 * ace/Process.h (pass_handle): Clarify comments for this method.
5936
5937 * ace/Process_Manager.cpp:
5938 * ace/Process.(h i): Moved the ACE_Managed_Process class out
5939 of Process_Manager.cpp, exposing it for general use.
5940
5941 Thu Aug 16 10:34:20 2001 Douglas C. Schmidt <[email protected]>
5942
5943 * ace/POSIX_Proactor.cpp (allocate_aio_slot): Added a fix so that
5944 the POSIX Proactor compiles with FreeBSD 4.4. Thanks to Yev
5945 Omenzel <[email protected]> for reporting this and to Craig
5946 Rodrigues <[email protected]> for fixing it and to
5947 John E Hein <[email protected]> for fixing the fix ;-)
5948
5949 Thu Aug 16 08:09:53 2001 Chad Elliott <[email protected]>
5950
5951 * tests/run_test.lst:
5952
5953 Added the OTHER requirement to the Thread_Pool_Reactor_Test and
5954 the Thread_Pool_Reactor_Resume_Test. These are only built if
5955 OTHER is part of the ACE components list.
5956
5957
5958 Wed Aug 15 15:50:38 2001 Douglas C. Schmidt <[email protected]>
5959
5960 * ace/WFMO_Reactor.cpp: Don't try to purge the notifications if
5961 notify_handler_ is 0. Thanks to Edan Ayal
5962 <[email protected]> for reporting this.
5963
5964 Wed Aug 15 11:33:26 2001 Carlos O'Ryan <[email protected]>
5965
5966 * bin/nightlybuilds/builds.lst:
5967 Remove one build from the list, the machine is being retargeted
5968 for performance testing.
5969
5970 Wed Aug 15 11:10:22 2001 Balachandran Natarajan <[email protected]>
5971
5972 * include/makeinclude/wrapper_macros.GNU: Added $(VDIR) for
5973 OBJDIRS. This prevents hardcoding the value of OBJDIRS. This has
5974 been tested for a dynamic and a static library on Linux. If
5975 there are other platforms that gives problems, please feel free
5976 to revert the changes to the version 4.114 of the file.
5977
5978 Wed Aug 15 09:35:19 2001 Chad Elliott <[email protected]>
5979
5980 * ace/Dirent_Test.cpp:
5981
5982 Added #define's for VXWORKS that allow this test to function
5983 properly. Avoid hard-coded relative paths that may not exist on
5984 VxWorks.
5985
5986 Wed Aug 15 09:08:40 2001 Chad Elliott <[email protected]>
5987
5988 * ace/Sock_Connect.cpp:
5989
5990 Added an implementation to ACE_Sock_Connect::get_ip_interfaces().
5991 With this, the Enum_Interfaces_Test works correctly.
5992
5993 Wed Aug 15 07:54:49 2001 Balachandran Natarajan <[email protected]>
5994
5995 * include/makeinclude/wrapper_macros.GNU: Unravelled the mystery a
5996 bit. The patch that was applied to remove the hard coding of
5997 OBJDIRS seems to be the problem. The OBJDIRS has been hardcoded
5998 again. This should fix the problems that we have been seeing in
5999 the builds. If at all we need to remove hardcoding the OBJDIRS,
6000 we either need to put the value of VDIR or VSHDIR. If we put
6001 both we are going to end up with duplicate targets. Now the
6002 killer, what do we add to the OBJDIRS? Me thinks it is VDIR. I
6003 have test that out else I would be breaking builds again.
6004
6005 Wed Aug 15 07:30:00 2001 Balachandran Natarajan <[email protected]>
6006
6007 * include/makeinclude/wrapper_macros.GNU: Reverted the change "Tue
6008 Aug 14 21:42:24 2001 Balachandran Natarajan". Thought that was a
6009 typo. But looks like it is not.
6010
6011 Wed Aug 15 06:39:50 2001 Balachandran Natarajan <[email protected]>
6012
6013 * ace/Process.cpp: Fixed a warning with g++.
6014
6015 Tue Aug 14 23:57:42 2001 Steve Huston <[email protected]>
6016
6017 * A set of changes to encapsulate passing handles to spawned
6018 processes. Thanks very much to Eamonn Saunders
6019 <[email protected]> for suggesting that this could work
6020 and pointing out the Win32 details!
6021
6022 * THANKS: Added Eamonn Saunders to the Hall of Fame
6023
6024 * ace/Handle_Set.h: Replace include ace/ACE.h with ace/OS.h. This
6025 class is part of the OS subset.
6026
6027 * ace/Process.h: Added the following methods:
6028 - ACE_Process_Options::pass_handle (ACE_HANDLE). Cause the specified
6029 handle to be passed to a child process when it's spawned. Has
6030 meaning mainly for Win32. The handle value will be included
6031 in the spawned process's command line as +H <handle>. The passed
6032 handle value will be duplicated if on Win32 less than NT4.
6033
6034 - ACE_Process_Options::dup_handles (ACE_Handle_Set set) const
6035 Get a copy of the handles the ACE_Process_Options duplicated
6036 for the spawned process.
6037
6038 - ACE_Process_Options::passed_handles (ACE_Handle_Set set) const
6039 Get a copy of the handles passed to the spawned process. This
6040 will be the set of handles previously passed to pass_handle().
6041
6042 - ACE_Process::close_dup_handles (). Close all the handles in
6043 the set obtained from ACE_Process_Options::dup_handles.
6044
6045 - ACE_Process::close_passed_handles (). Close all the handles in
6046 the set obtained from ACE_Process_Options::passed_handles.
6047
6048 Also moved the avoid_zombies() functions and flag out of the
6049 non-Win32 section - it can safely be ignored, maintain the
6050 intended semantics, and help apps stay portable.
6051
6052 * Process.cpp: Implement the above new methods. Also, after spawning
6053 a process, the parent will call the above dup_handles/passed_handles
6054 methods to get any passed handles. The close_*_handles() methods
6055 can then close them. Also, the destructor will call close_dup_handles
6056 to be sure that no handles leak on Win32 less than NT4.
6057
6058 * Process.i (command_line_buf ()): Added a new arg to receive the
6059 maximum length of the buffer pointed to on return. To maintain
6060 backward compatibility, the arg defaults to 0 (don't return
6061 the max length).
6062
6063 * ace/Makefile: Moved Handle_Set from the UTILS group to the OS group.
6064
6065 * ace/ace.icc: Moved Handle_Set from DEMUX to OS.
6066
6067 * docs/ACE-subsets.html: Move Handle_Set from DEMUX to OS.
6068
6069 Tue Aug 14 21:42:24 2001 Balachandran Natarajan <[email protected]>
6070
6071 * include/makeinclude/wrapper_macros.GNU: Fixed a typo.
6072
6073 Tue Aug 14 21:30:04 2001 Balachandran Natarajan <[email protected]>
6074
6075 * apps/Makefile: Removed JAWS2 and JAWS from the Makefile. There
6076 are several reasons for reverting. This breaks the builds. The
6077 Makefiles in the recursed directories are all messed up. The
6078 library dependencies doesnt seem trivial. Nobody may have time
6079 to fix this. Further, our daily builds return too quickly and we
6080 just needed more files to compile :-).
6081
6082 Tue Aug 14 14:19:49 2001 Steve Huston <[email protected]>
6083
6084 * ace/Memory_Pool.i (ACE_Local_Memory_Pool dtor): Call release()
6085 here to free up the blocks allocated by the pool, else they're
6086 stranded and can't be freed.
6087
6088 * ace/Memory_Pool.cpp (ACE_Local_Memory_Pool::release): After
6089 freeing up the blocks, reset the allocated_chunks_ set to be
6090 sure they are also freed, and the chunks can't be freed again.
6091
6092 Tue Aug 14 14:19:37 2001 Balachandran Natarajan <[email protected]>
6093
6094 * ace/Log_Msg.cpp: Applied the patches sent by Tibor Kiss
6095 <[email protected]> for ACE_Log_Msg::close ()
6096
6097 Tue Aug 14 13:55:42 2001 Balachandran Natarajan <[email protected]>
6098
6099 * include/makeinclude/platform_macosx.GNU: Added a patch from John
6100 Michael Zorko <[email protected]>.
6101
6102 Tue Aug 14 10:21:39 2001 Steve Huston <[email protected]>
6103
6104 * ace/Log_Msg.h: Clarified the defaults for the per-process and
6105 per-instance default priority masks.
6106
6107 Mon Aug 13 14:01:35 2001 Douglas C. Schmidt <[email protected]>
6108
6109 * include/makeinclude/wrapper_macros.GNU: Fixed some hard-coded
6110 uses of .shobj and .obj. Thanks to Shashi Bhushan
6111 <[email protected]> for contributing these.
6112
6113 * ace/CDR_Stream.h: Added comments warning about the deletarious
6114 effects of not aligning buffers to ACE_InputCDR and
6115 ACE_OutputCDR properly. Thanks to Alain Decamps
6116 <[email protected]> for reporting this.
6117
6118 Sun Aug 12 14:46:07 2001 Douglas C. Schmidt <[email protected]>
6119
6120 * ace/OS.cpp (sched_params): Make sure to set errno for Win32 so
6121 that callers can figure out what's going wrong in a consistent
6122 way.
6123
6124 * ace/Select_Reactor_Base.i (purge_pending_notifications): Don't
6125 try to purge the notifications if notify_handler_ is 0. thanks
6126 to Steve Rahn <[email protected]> for reporting this.
6127
6128 Mon Aug 13 20:09:04 2001 Balachandran <[email protected]>
6129
6130 * ACE version 5.1.19 released.
6131
6132 Sun Aug 12 02:17:01 2001 Nanbor Wang <[email protected]>
6133
6134 * ace/MEM_Acceptor.cpp:
6135 * ace/MEM_Connector.cpp: On non-Win32 platforms, disable
6136 multithreaded MEM_IO if _ACE_USE_SV_SEM is defined.
6137
6138 Sun Aug 12 01:27:51 2001 Steve Huston <[email protected]>
6139
6140 * tests/Log_Msg_Test.cpp: Correct const-ness of a pointer
6141 retrieved from ACE_Log_Record::msg_data().
6142
6143 Sun Aug 12 00:34:42 2001 Steve Huston <[email protected]>
6144
6145 * ace/Log_Record.h:
6146 * ace/Log_Record.i (msg_data()): Changed ACE_TCHAR *msg_data()
6147 to: const ACE_TCHAR *msg_data (void) const. Makes it safer,
6148 and conforms to all current usage inside ACE. Also makes
6149 C++ Network Programming examples simpler :-)
6150
6151 Sat Aug 11 09:01:11 2001 Douglas C. Schmidt <[email protected]>
6152
6153 * ace/Thread.h:
6154 * ace/Task.h: Added a list of other flags that can be passed to
6155 activate().
6156
6157 Fri Aug 10 19:39:48 2001 Krishnakumar B <[email protected]>
6158
6159 * bin/auto_run_tests.lst:
6160
6161 Disabled the Blocking_Sync_None test from running under Tru64.
6162 Also changed the config parameter passed to the auto_compile
6163 script from TRU_64 to Tru64 in
6164 ~bugzilla/bin/auto_compile_tru64_cxx.
6165
6166 This is so that the test is disabled only for the WashU builds.
6167 The reason being that Bala was not too happy with changing the
6168 default values for all the platforms and we also wanted to avoid
6169 more #ifdefs in the code. Other builds might have better values
6170 and the test might succeed. Have to confirm this though.
6171
6172 Fri Aug 10 17:59:47 2001 Nanbor Wang <[email protected]>
6173
6174 * ace/Svc_Conf_y.cpp:
6175 * ace/OS.h: Added /**/ between #include and <sys/modem.h> and
6176 <alloca.h> to avoid warning from CE compiler.
6177
6178 * ace/ace_dll.vcp: Added Svc_Conf_Lexer_Guard.* to the project.
6179
6180 Fri Aug 10 13:40:46 2001 Chad Elliott <[email protected]>
6181
6182 * bin/nightlybuilds/builds.lst:
6183
6184 I didn't realize the LIST definition was needed. I have
6185 added it for the Tru64 4.0f Compaq C++ 6.3-10 build.
6186
6187 Fri Aug 10 11:45:03 2001 Chad Elliott <[email protected]>
6188
6189 * bin/nightlybuilds/builds.lst:
6190
6191 Added the Tru64 4.0f Compaq C++ 6.3-10 build.
6192
6193 Fri Aug 10 11:06:23 2001 Chad Elliott <[email protected]>
6194
6195 * apps/drwho/CM_Client.cpp:
6196 * apps/drwho/CM_Server.cpp:
6197 * apps/drwho/server.cpp:
6198
6199 Changes to avoid warnings on HP-UX with aCC.
6200
6201 Thu Aug 9 16:56:05 2001 Balachandran Natarajan <[email protected]>
6202
6203 * ace/Hash_Map_Manager_T.i:
6204 * ace/Hash_Map_Manager_T.cpp: We seem to be re-inventing wheels
6205 again and again. A few months back we had a show stopper in a
6206 beta which was caused by usage of static cast. The cast was not
6207 to the liking of SunCC 4.2. Looks like we had to change a bunch
6208 of static cast sprayed in these two files to a C style cast as
6209 4.2 doesnt like them. Compilers like Borland handle these
6210 better, but not 4.2.
6211
6212 Thu Aug 9 11:51:10 2001 Balachandran Natarajan <[email protected]>
6213
6214 * include/makeinclude/platform_hpux_aCC.GNU: On popular mandate we
6215 have the -w flag removed from CCFLAGS in the above file. Looks
6216 like the -w disables lots of warnings that may be useful.
6217
6218 Thu Aug 9 11:41:01 2001 Balachandran Natarajan <[email protected]>
6219
6220 * ace/CDR_Stream.h (ACE_OutputCDR): Fixed the ambigous constructor
6221 problem. The InputCDR class had two constructors which were
6222 similar if the default values for the arguments were
6223 exercised. Thanks to Torbjorn Backstrom
6224 <[email protected]> for reporting this.
6225
6226 Thu Aug 9 12:31:21 2001 Douglas C. Schmidt <[email protected]>
6227
6228 * ace/OS_String.cpp (strtok_r_emulation): Make sure to check
6229 for a NULL return from strtok() before calling strlen()! Thanks
6230 to Boris Sukholitko <[email protected]> for reporting this.
6231
6232 Wed Aug 08 21:27:50 2001 Ossama Othman <[email protected]>
6233
6234 * bin/nightlybuilds/builds.lst (Debian_Wchar, Debian_GCC_3.0):
6235
6236 The host these nightly builds were built on is now called
6237 "rumba" (previously "valinor"). Updated the build list
6238 accordingly.
6239
6240 Wed Aug 08 21:19:09 2001 Ossama Othman <[email protected]>
6241
6242 * tests/Service_Config_Test.UTF-16.conf:
6243
6244 Removed extraneous characters from this file that were causing
6245 the Service Configurator's underlying lexer to "choke."
6246
6247 Wed Aug 8 16:23:31 2001 Carlos O'Ryan <[email protected]>
6248
6249 * bin/auto_run_tests.lst:
6250 Add the AMI_Buffering tests to the nightly regression testsuite.
6251
6252 Wed Aug 8 16:07:26 2001 Balachandran Natarajan <[email protected]>
6253
6254 * bin/auto_run_tests.lst: The GIOP lite tests will not work in the
6255 static builds. It was adding more complications to the test
6256 than what is already there to get it working for the static
6257 builds.
6258
6259 Wed Aug 8 14:06:36 2001 Krishnakumar B <[email protected]>
6260
6261 * ace/config-tru64.h:
6262
6263 Define ACE_HAS_NONSTATIC_OBJECT_MANAGER for all DEC Unix 4.x
6264 versions.
6265
6266 * ace/config-cxx-common.h:
6267
6268 Define ACE_AUTO_PTR_LACKS_RESET if __DECCXX_VER == 60190027.
6269 Thanks to Robert Burke <[email protected]> for reporting
6270 this.
6271
6272 * include/makeinclude/platform_osf1_3.2.GNU:
6273 * include/makeinclude/platform_osf1_4.0.GNU:
6274 * include/makeinclude/platform_osf1_4.0_g++.GNU:
6275 * include/makeinclude/platform_osf1_4.0_kcc.GNU:
6276 * include/makeinclude/platform_osf1_4.0_rcc.GNU:
6277
6278 Removed the following files.
6279
6280 * include/makeinclude/platform_osf1_3.2_cxx.GNU:
6281 * include/makeinclude/platform_osf1_4.x_cxx.GNU:
6282 * include/makeinclude/platform_osf1_4.x_g++.GNU:
6283 * include/makeinclude/platform_osf1_4.x_kcc.GNU:
6284 * include/makeinclude/platform_osf1_4.x_rcc.GNU:
6285
6286 Added new versions of the removed files.
6287
6288 * include/makeinclude/platform_tru64_pre.GNU:
6289 * include/makeinclude/platform_tru64_post.GNU:
6290
6291 Moved a lot of duplicated code into these new files.
6292
6293 * include/makeinclude/platform_tru64_cxx.GNU:
6294 * include/makeinclude/platform_tru64_g++.GNU:
6295 * include/makeinclude/platform_tru64_kcc.GNU:
6296
6297 Removed a lot of old *cruft* like setting up compilation with
6298 cxx when gcc was asked for etc. etc. Somebody went overboard
6299 with cut'n paste and copied David's changes blindly. Still not
6300 completely satisfied. But it works and is better than before.
6301 This also fixes Bug Id 989.
6302
6303 Wed Aug 08 11:30:26 2001 Ossama Othman <[email protected]>
6304
6305 * tests/Service_Config_Test.cpp (run_test):
6306
6307 Don't check if "ACE_USES_WCHAR == 1" since some configurations
6308 neglect to set it an integer value. Instead, just check if it
6309 is defined.
6310
6311 Wed Aug 8 12:31:51 2001 Balachandran Natarajan <[email protected]>
6312
6313 * tests/MEM_Stream_Test.cpp: Changed a ACE_DEBUG statment with an
6314 LM_WARNING to an LM_DEBUG.
6315
6316 Wed Aug 08 11:59:45 2001 Nanbor Wang <[email protected]>
6317
6318 * ace/OS.h: Do not redefine ACE_IOV_MAX if it has already been
6319 defined.
6320
6321 Wed Aug 8 06:21:24 2001 Douglas C. Schmidt <[email protected]>
6322
6323 * ace/Makefile: Moved Message_Block from STREAMS_FILES to
6324 UTILS_FILES.
6325
6326 * ace/OS_Dirent.inl (closedir): Changed delete d->directory_name_ to
6327 delete [] d->directory_name_. Thanks to Olivier Brunet
6328 <[email protected]> for reporting this.
6329
6330 Tue Aug 7 21:59:42 2001 Douglas C. Schmidt <[email protected]>
6331
6332 * tests/Svc_Handler_Test.cpp: Modified the test to dump the contents
6333 of the temporary file to the log file.
6334
6335 Tue Aug 7 19:14:24 2001 Douglas C. Schmidt <[email protected]>
6336
6337 * ace/CDR_Stream.i:
6338 * ace/SOCK_Stream.h: Fixed incorrect comments.
6339 Thanks to Alain Decamps <[email protected]> for reporting
6340 these.
6341
6342 Tue Aug 7 15:19:38 2001 Douglas C. Schmidt <[email protected]>
6343
6344 * ace: Changed all uses of IOV_MAX to use the new ACE_IOV_MAX.
6345 * ace/OS.h: Added a new ACE_IOV_MAX that makes it clear this is
6346 an ACE-level #define. We use this in C++NP v1.
6347
6348 Tue Aug 7 14:16:57 2001 Douglas C. Schmidt <[email protected]>
6349
6350 * ace/Svc_Handler.cpp: Reimplemented the flush() method to use
6351 the new send_n() method on the various ACE I/O classes.
6352
6353 * ace/SOCK_Stream.{h,i}:
6354 * ace/FILE_IO.{h,i}: Added a new send_n() method that sends all
6355 the <message_block>s chained through their <next> and <cont>
6356 pointers using the underlying OS gather-write operation to
6357 reduce the domain-crossing penalty.
6358
6359 Tue Aug 7 17:27:16 2001 Balachandran Natarajan <[email protected]>
6360
6361 * tests/Collection_test.cpp: Fixed a compile error with g++. This
6362 is a patch that Johnny Willemsen sent as a part of his last
6363 checkin.
6364
6365 Tue Aug 07 11:25:36 2001 Nanbor Wang <[email protected]>
6366
6367 * ace/config-freebsd-pthread.h: Made the following definition
6368 valid only for pre-4.2-RELEASE.
6369
6370 #define ACE_LACKS_GETPGID
6371 #define ACE_LACKS_SETPGID
6372 #define ACE_LACKS_SETREGID
6373 #define ACE_LACKS_SETREUID
6374
6375 Thanks to Robert Burke <[email protected]> for reporting
6376 this.
6377
6378 Tue Aug 07 16:40:12 2001 Johnny Willemsen <[email protected]>
6379
6380 * ace/Hash_Map_Manager_T.*:
6381 Added const_iterator to the Hash_Map_Manager so that it is
6382 possible to iterate over a hash map in a const method
6383
6384 The operator= of the iterator now check the value of this to
6385 check that the iterator instance is assigned to itself
6386
6387 * tests/Hash_Map_Manager_Test.cpp
6388 Extended this test to test the new const_iterator capabilities
6389 of the hash map
6390
6391 * ace/Unbounded_Set.cpp:
6392 Implemented missing operator* for the const iterator
6393
6394 * tests/Collection_test.cpp:
6395 Extended test to test the operator* of the
6396 Unbounded_Set_Const_Iterator
6397
6398 Mon Aug 6 19:58:48 2001 Douglas C. Schmidt <[email protected]>
6399
6400 * ace/config-hpux-11.00.h: Added #define for ACE_HAS_TERM_IOCTLS.
6401 Thanks to Torbjorn Backstrom <[email protected]>
6402 for reporting this.
6403
6404 * ace/OS.h: Added a #include for <sys/modem.h> for HP/UX. Thanks
6405 to Torbjorn Backstrom <[email protected]> for
6406 reporting this.
6407
6408 Mon Aug 6 12:51:35 2001 Douglas C. Schmidt <[email protected]>
6409
6410 * ace/Synch.h (ACE_Null_Mutex>): Fixed a cut&paste error
6411 where acquire_write() should be acquire_read(). Thanks to
6412 Russell Mora <[email protected]> for fixing this.
6413
6414 Mon Aug 06 17:17:33 2001 Ossama Othman <[email protected]>
6415
6416 * ace/Service_Config.cpp:
6417
6418 Fixed some debugging messages that were not wrapped within an
6419 ACE_LIB_TEXT macro.
6420
6421 * tests/Service_Config_Test.UTF-16.conf:
6422
6423 Interim UTF-16 encoded version of the UTF-8 encoded
6424 Service_Config_Test.conf. It was generated on a little-endian
6425 host. Its current purpose is simply to keep our Unicode
6426 regression testing happy until the on-the-fly generation is
6427 implemented. Once we start generating this file on-the-fly
6428 this file should disappear.
6429
6430 * tests/Service_Config_Test.cpp (run_test):
6431
6432 When using full Unicode support, use the version of the Service
6433 Configurator file that is UTF-16 encoded (as described above).
6434
6435 Mon Aug 06 11:10:24 2001 Ossama Othman <[email protected]>
6436
6437 * ace/Svc_Conf_l.cpp:
6438
6439 More Unicode fixes. Flex's allocation function uses malloc() as
6440 its underlying allocator. Since it only accepts the size in
6441 bytes, allocate "size * sizeof (ACE_TCHAR)" when allocating
6442 string buffers. This should clear up some strange looking text
6443 "unknown character" messages emanating from the Service
6444 Configurator's underlying text scanner.
6445
6446 Note that these changes do not fix the cause of the "unknown
6447 character." Those fixes should soon follow.
6448
6449 Mon Aug 06 09:04:04 2001 Ossama Othman <[email protected]>
6450
6451 * ace/Svc_Conf.l:
6452
6453 Unicode updates. Wrap debugging text within an ACE_LIB_TEXT
6454 macro.
6455
6456 Sun Aug 5 14:31:10 2001 Balachandran Natarajan <[email protected]>
6457
6458 * tests/run_tests.lst: Ossama suggested that we dont run the
6459 Service_Config_Test in static builds.
6460
6461 Fri Aug 04 3:33:31 2001 Yamuna Krishnamurthy <[email protected]>
6462
6463 * ace/QoS/SOCK_Dgram_Mcast_QoS.h:
6464 * ace/QoS/SOCK_Dgram_Mcast_QoS.cpp:
6465
6466 Made the open method public so we can open UDP sockets for
6467 non-multicast addresses.
6468
6469 Fri Aug 03 22:19:31 2001 Steve Huston <[email protected]>
6470
6471 * ace/config-hpux-11.00.h: Added ACE_HAS_WCHAR to build in the
6472 wide char handling since Darrell so nicely straightened all
6473 the muck out throughout ACE. Thanks Darrell!
6474
6475 Fri Aug 03 22:15:51 2001 Steve Huston <[email protected]>
6476
6477 * ace/Log_Msg.cpp (log): For 'W' and 'w' on HP-UX, the 'ls' and
6478 'lc' forms are not allowed; HP-UX requires 'S' and 'C'.
6479
6480 Fri Aug 3 13:10:59 2001 Ossama Othman <[email protected]>
6481
6482 * ace/config-linux-common.h (ACE_UINT64_FORMAT_SPECIFIER,
6483 ACE_SSIZE_T_FORMAT_SPECIFIER, ACE_SIZE_T_FORMAT_SPECIFIER):
6484
6485 Removed unnecessary and some incorrect format specifiers for the
6486 32-bit platform case. In particular, the format specifier for
6487 an unsigned 64-bit integer was incorrectly set to "%Lu." "%L"
6488 is the format specifier for a "long double," not a "long long"
6489 integer on 32-bit platforms. "%llu" is the correct format
6490 specifier which `ace/Basic_Types.h' already defines.
6491
6492 Fri Aug 3 09:55:38 2001 Ossama Othman <[email protected]>
6493
6494 * bin/auto_run_tests.lst:
6495
6496 Added the new TAO "DLL_ORB" test to the list of tests to run.
6497
6498 Fri Aug 3 08:26:45 2001 Balachandran Natarajan <[email protected]>
6499
6500 * ace/RW_Process_Mutex.cpp: Added a missing comma in the
6501 constructor. This should fix Win32 compile errors.
6502
6503 Fri Aug 3 08:07:45 2001 Balachandran Natarajan <[email protected]>
6504
6505 * ace/CDR_Base.cpp: Added a check for a memory allocation failure
6506 in grow (). Thanks to Francis Paul <[email protected]> for
6507 pointing this out.
6508
6509 Thu Aug 2 18:37:23 2001 Douglas C. Schmidt <[email protected]>
6510
6511 * ace/RW_Process_Mutex.cpp: Added ACE_DEFAULT_OPEN_PERMS
6512 to the constructor call to ACE_RW_Process_Mutex so that it does
6513 the right thing on Win32. Thanks to Wayne Erchak
6514 <[email protected]> for reporting this. This fixes
6515 bugid 996.
6516
6517 Thu Aug 02 13:04:19 2001 Steve Huston <[email protected]>
6518
6519 * ace/ace.icc: Added Intrusive_List.cpp to the TEMPLATE_FILES
6520 section.
6521
6522 Thu Aug 02 06:59:39 2001 Steve Huston <[email protected]>
6523
6524 * ace/Basic_Types.h (ACE_SIZEOF_WCHAR): If ACE_HAS_XPG4_MULTIBYTE_CHAR
6525 is defined, use sizeof(wchar_t) to set ACE_SIZEOF_WCHAR.
6526
6527 Wed Aug 1 16:05:49 2001 Carlos O'Ryan <[email protected]>
6528
6529 * Merged changes from the fix_886 branch
6530
6531 Tue Jul 31 09:17:49 2001 Carlos O'Ryan <[email protected]>
6532
6533 * ace/Intrusive_List.h:
6534 * ace/Intrusive_List.inl:
6535 Add new methods to access the head and tail of the list.
6536
6537 * ace/Intrusive_List.cpp:
6538 Fixed the implementation of remove(), if the element to be
6539 removed was the last on the list it wasn't removed at all.
6540 Left some code to check invariants, have to find a way to keep
6541 that code around with some optional compilation flags.
6542
6543 Thu Jul 26 16:50:54 2001 Carlos O'Ryan <[email protected]>
6544
6545 * ace/Makefile:
6546 * ace/Makefile.am:
6547 * ace/Makefile.bor:
6548 * ace/Intrusive_List.h:
6549 * ace/Intrusive_List.inl:
6550 * ace/Intrusive_List.cpp:
6551 Add new template to implement intrusive lists, i.e. lists that
6552 assume their elements implement the next() and prev() methods.
6553
6554 * ace/Intrusive_List_Node.h:
6555 * ace/Intrusive_List_Node.inl:
6556 * ace/Intrusive_List_Node.cpp:
6557 Helper class to add the requirements of ACE_Intrusive_List to
6558 any other class, simply do:
6559 class Foo : public ACE_Intrusive_List_Node<Foo>
6560
6561 Wed Aug 1 15:57:35 2001 Ossama Othman <[email protected]>
6562
6563 * ace/Message_Block.cpp (release, release_i):
6564
6565 Obtain the pointer to the allocator from the object that will be
6566 destroyed before calling ACE_DES_FREE on the object. Previously
6567 we were obtaining the allocator after the object was destroyed,
6568 due to the way the ACE_DES_FREE macro works. Thanks to Hyman
6569 Rosen <[email protected]> for reporting the problem, and to
6570 Carlos for suggesting a fix. [Bug 992]
6571
6572 Wed Aug 1 15:00:21 2001 Douglas C. Schmidt <[email protected]>
6573
6574 * ace/Log_Record.{h,i}: Changed msg_data_len() from a "setter"
6575 to a "getter" method, which makes more sense. Thanks to Patrick
6576 Rabau <[email protected]> for reporting this.
6577
6578 Wed Aug 1 12:43:57 2001 Ossama Othman <[email protected]>
6579
6580 * ace/Svc_Conf_l.cpp:
6581
6582 Reintegreated Nanbor's change (Wed Jun 13 10:22:10 2001 Nanbor
6583 Wang <[email protected]>) that enables proper handling of
6584 UNICODE Service Configurator directives.
6585
6586 Wed Aug 1 07:14:42 2001 Douglas C. Schmidt <[email protected]>
6587
6588 * include/makeinclude/platform_vxworks5.x_g++.GNU: Checked in a new
6589 version of this file, which includes support for the Hitachi
6590 chip. Thanks to Frank Wolf for this.
6591
6592 * ace/Log_Record.cpp (format_msg): Added a cast to fix a warning.
6593 Thanks to Bala for reporting this.
6594
6595 Tue Jul 31 22:53:26 2001 Ossama Othman <[email protected]>
6596
6597 * tests/libService_Config_DLL.icc:
6598
6599 New Visual Age project file for the libService_Config_DLL
6600 library.
6601
6602 * tests/Makefile.am:
6603
6604 Added build targets/dependencies for the libService_Config_DLL
6605 library.
6606
6607 Tue Jul 31 22:46:33 2001 Ossama Othman <[email protected]>
6608
6609 * tests/Service_Config_DLL.dsp:
6610 * tests/Service_Config_Test.dsp:
6611
6612 Removed the static library configurations. The
6613 Service_Config_Test currently requires dynamically loadable
6614 objects. Fixes Win32 "LIB" build failures.
6615
6616 Tue Jul 31 22:10:48 2001 Ossama Othman <[email protected]>
6617
6618 * tests/Service_Config_Test.cpp (run_test):
6619
6620 Wrap strings passed to ACE_ARGV::add() within an ACE_TEXT
6621 macro. Fixes Unicode conversion problems.
6622
6623 Tue Jul 31 16:53:57 2001 Ossama Othman <[email protected]>
6624
6625 * ace/Svc_Conf.h (ace_yyrestart, ace_yy_delete_parse_buffer,
6626 ace_yydirective):
6627
6628 Remove these global function and variable declarations. They
6629 are no longer used.
6630
6631 Tue Jul 31 16:43:33 2001 Ossama Othman <[email protected]>
6632
6633 * ace/Basic_Types.h:
6634
6635 If "__LITTLE_ENDIAN__" is defined then assume that the
6636 architecture is little endian. Some compilers/platforms define
6637 that macro. Suggested by Frank Wolf" <[email protected]>.
6638
6639 * ace/Svc_Conf.h (yy_push_buffer):
6640 * ace/Svc_Conf.l (yy_push_buffer):
6641 * ace/Svc_Conf_l.cpp (ace_yy_push_buffer):
6642 * ace/Svc_Conf_Lexer_Guard.cpp (ACE_Svc_Conf_Lexer_Guard):
6643 * ace/Svc_Conf_Lexer_Guard.h (ACE_Svc_Conf_Lexer_Guard):
6644
6645 The Service Configurator directive is an "ACE_TCHAR *" not a
6646 "char *". Updated these method/function parameters to accept
6647 the former. Fixes a compile-time problem on "wchar/Unicode"
6648 builds.
6649
6650 Tue Jul 31 05:34:48 2001 Douglas C. Schmidt <[email protected]>
6651
6652 * ace/OS.h: Removed a spurious WNOHANG definition. Thanks to
6653 Christina Junru <[email protected]> for reporting this.
6654
6655 Mon Jul 30 15:31:42 2001 Douglas C. Schmidt <[email protected]>
6656
6657 * ace/Log_Msg.{h,i,cpp}: Fixed this class so that all of its fields
6658 are ACE_UINT32 or ACE_INT32 internally so that it'll always be
6659 the same on all platforms. Thanks to Fabris
6660 <[email protected]> for reporting this.
6661
6662 Tue Jul 31 10:22:38 2001 Ossama Othman <[email protected]>
6663
6664 * tests/Makefile:
6665
6666 Only build the Service_Config_Test if shared libraries are
6667 enabled, since it attempts to dynamically load a shared
6668 library.
6669
6670 Tue Jul 31 10:16:31 2001 Steve Huston <[email protected]>
6671
6672 * ace/Dump.h: Clarified the use of ACE_NDEBUG for turning this
6673 feature off, not on. Thanks to Don Hinton <[email protected]>
6674 for noticing this.
6675
6676 Mon Jul 30 13:41:00 2001 Nanbor Wang <[email protected]>
6677
6678 * ace/OS.cpp (ACE_Time_Value::FILETIME_to_timval_skew): Updated
6679 docuementation to better explain the meaning of this constant.
6680 Thanks to Mike Vitalo <[email protected]> for motivating the
6681 change.
6682
6683 Mon Jul 30 09:43:06 2001 Douglas C. Schmidt <[email protected]>
6684
6685 * ace/OS.i (mutex_lock): Missing an argument to the ACE_OSCALL macro.
6686 Thanks to Bala for reporting this.
6687
6688 Mon Jul 30 05:43:23 2001 Douglas C. Schmidt <[email protected]>
6689
6690 * ace/Synch.h (ACE_Semaphore): Corrected the comment on
6691 how to get POSIX Pthreads "implementation" of semaphores (which
6692 supports the timed acquire() option). Thanks to Grzegorz
6693 Sikora <[email protected]> for reporting this.
6694
6695 Sun Jul 29 19:03:56 2001 Douglas C. Schmidt <[email protected]>
6696
6697 * tests/Thread_Mutex_Test.cpp (test): Fixed this test to be
6698 consistent wrt the errno for the timed acquire(), which should
6699 now always be set to ETIME rather than ETIMEDOUT and EBUSY.
6700
6701 * ace/Message_Queue_T.cpp (wait_not_full_cond,
6702 wait_not_empty_cond): Fixed a nasty bug with the semaphore
6703 version of ACE_Message_Queue that would have reared it's ugly
6704 head if ACE_NULL_SYNCH were used when
6705 ACE_HAS_OPTIMIZED_MESSAGE_QUEUE was enabled. Fixing this bug
6706 also triggered the following changes.
6707
6708 * ace/OS.{h,i}: Added support for ACE_OS::sema_wait(),
6709 ACE_OS::mutex_lock(), ACE_OS::thread_mutex_lock() that take
6710 ACE_Time_Value *.
6711
6712 * ace/OS.i: For some odd reason the timeouts for the timed version
6713 of mutex_lock() were returning a random smattering of errnos.
6714 I've changed them to all be consistent with the
6715 ACE_Condition_Thread_Mutex::wait() errno, which is ETIME.
6716
6717 * ace/Synch.h: Updated the documentation of all the timed
6718 acquire() methods to explain what the various return values
6719 mean.
6720
6721 Sun Jul 29 22:10:40 2001 Ossama Othman <[email protected]>
6722
6723 * tests/Service_Config_DLL.cpp:
6724 * tests/Service_Config_DLL.h:
6725 * tests/Service_Config_DLL.dsp:
6726 * tests/Service_Config_DLL_Export.h:
6727 * tests/Service_Config_Test.conf:
6728
6729 New files associated with the existing Service_Config_Test.
6730 They are used when testing the reentrance/thread-safety of the
6731 Service Configurator, in addition to testing the Service
6732 Configurator's ability to handle nested processing of Service
6733 Configurator directives.
6734
6735 * tests/Service_Config_Test.cpp (run_test):
6736
6737 Add arguments to the Service Configurator argument vector to
6738 make it process the newly added `Service_Config_Test.conf'
6739 file.
6740
6741 (main):
6742
6743 Make the ACE_Thread_Manager wait for all running threads before
6744 exiting the test. Processing the `Service_Config_Test.conf'
6745 file causes some threads to be spawned.
6746
6747 Sun Jul 29 19:19:20 2001 Ossama Othman <[email protected]>
6748
6749 * ace/Service_Config.cpp (process_directive, process_directives):
6750
6751 Wrap the ACE_GUARD_RETURN macro within an ACE_MT block. The
6752 ACE_Static_Object_Lock declaration is only visible if
6753 ACE_HAS_THREADS is defined. This truly fixes the
6754 single-threaded build problems.
6755
6756 Sun Jul 29 19:06:11 2001 Ossama Othman <[email protected]>
6757
6758 * ace/Svc_Conf.y (ace_obstack):
6759 * ace/Svc_Conf_y.cpp:
6760 * ace/Svc_Conf_l.cpp:
6761
6762 UNICODE updates and fixes.
6763
6764 Sun Jul 29 10:50:45 2001 Ossama Othman <[email protected]>
6765
6766 * ace/Svc_Conf_Lexer_Guard.cpp:
6767
6768 There is no longer any need to include "ace/Object_Manager.h"
6769
6770 * ace/Service_Config.cpp:
6771
6772 Include "ace/Object_Manager.h" to pull in the definition of
6773 ACE_Static_Object_Lock. Fixes a problem found in Sun builds and
6774 single-threaded builds.
6775
6776 Sat Jul 28 23:03:24 2001 Ossama Othman <[email protected]>
6777
6778 The following are changes that make the Service Configurator
6779 reentrant and thread-safe.
6780
6781 * ace/Svc_Conf.y:
6782
6783 Generate a pure (reentrant) parser using Bison. BYACC doesn't
6784 support generation of reentrant parsers.
6785
6786 * ace/Svc_Conf.l:
6787
6788 Implemented "buffer stack" support. This feature makes it
6789 possible to process Service Configurator directives within a
6790 Service Object's init() method, i.e. support nested directive
6791 processing.
6792
6793 (ace_yyerrno):
6794
6795 Moved declaration of ace_yyerrno from this file to
6796 `Svc_Conf.y'. ace_yyerrno was not used in the generated
6797 scanner. It was only used in the generated parser.
6798
6799 (yy_delete_parse_buffer):
6800
6801 There is no longer any need for this function. The lexer buffer
6802 stack implementation handles memory management of lexer buffers.
6803
6804 (yywrap):
6805
6806 Do not call yy_delete_parse_buffer(). It is no longer necessary
6807 to do so, in addition to the fact that that function was
6808 removed (as described above).
6809
6810 (<<EOF>>):
6811
6812 Do not call ACE_YY_NEW_FILE in this rule. The new buffer stack
6813 implementation handles the buffer switching that ACE_YY_NEW_FILE
6814 did, and more.
6815
6816 * ace/Svc_Conf_Tokens.h:
6817 * ace/Svc_Conf_l.cpp:
6818 * ace/Svc_Conf_y.cpp:
6819
6820 Regenerated these files using updated Bison/YACC and FLEX input
6821 files to pull in support for reentrant parsing and nested
6822 processing of Service Configurator directives.
6823
6824 * ace/Svc_Conf.h (ace_yy_push_buffer, ace_yy_pop_buffer):
6825
6826 Added function prototypes for the newly implemented lexer buffer
6827 stack manipulation functions.
6828
6829 (ace_yylex):
6830
6831 Added ACE_YYSTYPE parameter to this functions signature, as
6832 required by the new reentrant parser support.
6833
6834 (ACE_SERVICE_DIRECTIVE_STACK_DEPTH):
6835
6836 New symbolic constant that defines the maximum supported depth
6837 for nested Service Configurator processing. The current default
6838 is 8.
6839
6840 (ACE_YY_INPUT):
6841
6842 No longer any need to redefine this macro to support scanning of
6843 Service Configurator directive strings. The new lexer buffer
6844 stack implementation provides support for lexer buffer scanning
6845 from a string instead of a pointer to "FILE."
6846
6847 (ace_yydirective):
6848
6849 This global variable is no longer needed due to the fact that
6850 the new buffer stack implementation handles directives read from
6851 both a string and a file.
6852
6853 * ace/Service_Config.cpp:
6854
6855 (process_directive, process_directives):
6856
6857 Obtain a recursive lock before manipulating the lexer buffer
6858 stack, and invoking the parser and scanner. This makes
6859 invocation of the scanner thread-safe.
6860
6861 The new lexer buffer stack implemenation obviates the need to
6862 call yyrestart() since buffer switching is handled by the stack
6863 implementation.
6864
6865 (open_i, close):
6866
6867 No need to deallocate the lexer buffer since the buffer stack
6868 implementation handles that.
6869
6870 * ace/Svc_Conf_Lexer_Guard.h:
6871 * ace/Svc_Conf_Lexer_Guard.cpp:
6872
6873 New "guard" class that makes lexer buffer stack pushing and
6874 popping exception-safe.
6875
6876 * ace/Makefile:
6877 * ace/Makefile.am:
6878 * ace/Makefile.bor:
6879 * ace/ace.icc:
6880 * ace/ace_dll.dsp:
6881 * ace/ace_lib.dsp:
6882
6883 Added Svc_Conf_Lexer_Guard.* sources to these Makefiles and
6884 project files.
6885
6886 Sat Jul 28 14:58:30 2001 Douglas C. Schmidt <[email protected]>
6887
6888 * ace/Svc_Conf_l.cpp:
6889 * ace/Svc_Conf_y.cpp: Reran BYACC and FLEX on the Svc_Conf.l and
6890 Svc_Conf.y files to regenerate them. Thanks to Bala for
6891 motivating this.
6892
6893 * netsvcs/clients/Tokens/collection/Makefile,
6894 netsvcs/clients/Tokens/deadlock/Makefile,
6895 netsvcs/clients/Tokens/invariant/Makefile,
6896 netsvcs/clients/Tokens/mutex/Makefile,
6897 netsvcs/clients/Tokens/rw_lock/Makefile,
6898 examples/ASX/CCM_App/Makefile,
6899 examples/Logger/Acceptor-server/Makefile,
6900 examples/Reactor/Multicast/Makefile,
6901 examples/Reactor/Ntalker/Makefile,
6902 examples/Shared_Malloc/Makefile,
6903 performance-tests/TCP/Makefile,
6904 performance-tests/UDP/Makefile: Removed the line
6905 include $(ACE_ROOT)/include/makeinclude/rules.LIB.GNU
6906 so that these projects will build correctly on VxWorks with
6907 Make 3.79.1. Thanks to Frank Wolf for reporting this.
6908
6909 Fri Jul 27 11:24:50 2001 Douglas C. Schmidt <[email protected]>
6910
6911 * ace/Svc_Conf.y: Allow quoted strings as the pathname. Thanks
6912 to Kevin Burge <[email protected]> for suggesting this
6913 and providing the fix.
6914
6915 * ace/Svc_Conf.l: Added support for "~" in pathnames to support
6916 Win32isms. Thanks to Kevin Burge <[email protected]>
6917 for suggesting this and providing the fix.
6918
6919 * ace/Refcounted_Auto_Ptr.i (assign): Fixed the code to avoid a
6920 race condition. Thanks to Charlie Duke for this fix.
6921
6922 Thu Jul 26 08:15:36 2001 Douglas C. Schmidt <[email protected]>
6923
6924 * include/makeinclude/platform_vxworks5.x_g++.GNU: Changed
6925 $PATH to $(PATH). Thanks to Frank Wolf for reporting this.
6926
6927 Wed Jul 25 17:46:58 2001 Douglas C. Schmidt <[email protected]>
6928
6929 * ace/Asynch_Acceptor.{h,cpp}: Added an asynch_accept() accessor
6930 method. Thanks to Craig L. Ching <[email protected]> for
6931 reporting this.
6932
6933 Wed Jul 25 17:36:09 2001 Douglas C. Schmidt <[email protected]>
6934
6935 * ace/Refcounted_Auto_Ptr.i: Added a lock for the reference count
6936 to the assign() method. Thanks to Charlie Duke
6937 <[email protected]> for reporting this.
6938
6939 Fri Jul 27 23:17:31 2001 Steve Huston <[email protected]>
6940
6941 * ace/ace_wchar.h: If ACE_HAS_XPG4_MULTIBYTE_CHAR is set, then
6942 also set up definitions for functions that are not present
6943 (ACE_LACKS_ITOW, ACE_LACKS_WCSICMP, ACE_LACKS_WCSNICMP,
6944 ACE_LACKS_WCSDUP).
6945
6946 * ace/ace_wchar.inl: If not ACE_WIN32, include <string.h> to see
6947 strlen().
6948
6949 * ace/OS_String.inl (strstr): The XPG4 multibyte version of
6950 strstr() is wcswcs(), whereas the ANSI C / UNIX98 version is
6951 wcsstr(). So if ACE_HAS_XPG4_MULTIBYTE_CHAR is defined, use
6952 wcswcs.
6953
6954 Fri Jul 27 21:52:48 2001 Balachandran Natarajan <[email protected]>
6955
6956 * bin/auto_run_tests.lst: Added the IDL_Cubut test with GIOP Lite
6957 script, to our daily builds.
6958
6959 Fri Jul 27 16:50:49 2001 Steve Huston <[email protected]>
6960
6961 * tests/Log_Msg_Test.cpp: Silence a compile warning in g++.
6962
6963 Fri Jul 27 12:18:49 2001 Steve Huston <[email protected]>
6964
6965 * ace/Log_Msg.cpp (log): Fixed compile error - missing "" around
6966 's' for the %S case.
6967
6968 Fri Jul 27 11:07:26 2001 Chad Elliott <[email protected]>
6969
6970 * ace/OS.h:
6971
6972 After conversation with Steve Huston, I am reverting his change
6973 pertaining to HPUX from "Tue Jul 10 18:15:39 2001 Steve Huston
6974 <[email protected]>".
6975
6976 Fri Jul 27 10:57:24 2001 Chad Elliott <[email protected]>
6977
6978 * ace/SOCK_Dgram_Bcast.cpp:
6979
6980 Fix the ACE_SOCK_Dgram_Bcast::mk_broadcast() which was completely
6981 broken on AIX. The broadcast_client in docs/tutorials/008 now
6982 works with the help of this change.
6983
6984 Thu Jul 26 22:09:19 2001 Steve Huston <[email protected]>
6985
6986 * ace/Log_Msg.cpp (log): Extend behavior so that all printf
6987 formatting conversion specifiers can be used with all legal
6988 ACE_Log_Msg format characters. This allows the caller to line
6989 up columns on any field, like line number or program name, or
6990 thread ID. Thanks to Paul Caffrey <[email protected]> for
6991 motivating this extension.
6992
6993 * tests/Log_Msg_Test.cpp: Added a new function, test_format_specs,
6994 that verifies the formatting. Right now it does not detect the
6995 correctness of the strings produced - they have to be examined
6996 in the log file to check. This needs to be fixed still.
6997
6998 Thu Jul 26 11:48:16 2001 Carlos O'Ryan <[email protected]>
6999
7000 * bin/count_lines:
7001 Add a few new file types.
7002
7003 Wed Jul 25 23:49:43 2001 Krishnakumar B <[email protected]>
7004
7005 * include/makeinclude/platform_tru64_g++.GNU:
7006
7007 Fixed some missing defines in the Makefile for DEC Unix versions
7008 4.0D, 4.0E. We don't support or suggest this combination. Hence
7009 the oversight in missing the needed defines.
7010
7011 Thanks to Martin Krumpolec <[email protected]> for reporting this.
7012
7013 Wed Jul 25 23:49:00 2001 Craig Rodrigues <[email protected]>
7014
7015 * include/makeinclude/wrapper_macros.GNU:
7016
7017 Remove extraneous rapi = 0.
7018
7019 Wed Jul 25 18:53:18 2001 Ossama Othman <[email protected]>
7020
7021 * html/index.html:
7022
7023 Added CORBA Security Service main page link to the list of
7024 documentation.
7025
7026 Wed Jul 25 17:41:43 2001 Ossama Othman <[email protected]>
7027
7028 * ltcf-c.sh:
7029 * ltcf-cxx.sh:
7030 * ltconfig:
7031
7032 Removed these libtool related files. New versions of libtool
7033 (GNU libtool >= 1.4b) no longer use them.
7034
7035 * config.guess:
7036 * config.sub:
7037 * ltmain.sh:
7038
7039 Removed these files. We no longer need to keep custom copies
7040 lieing around since libtool 1.4b includes all of our local
7041 changes (i.e. our changes have been folded into the upstream
7042 libtool sources).
7043
7044 * install-sh:
7045 * missing:
7046 * mkinstalldirs:
7047
7048 Removed these files. Automake will automatically add these when
7049 necessary.
7050
7051 Wed Jul 25 16:29:48 2001 Steve Huston <[email protected]>
7052
7053 * tests/Max_Default_Port_Test.cpp: ACE-ified the code and fixed
7054 a number of ACE_DEBUG %p directives without a corresponding
7055 string. Also, closed a 2 handle-per-try handle leak, which
7056 may have affected test results on some platforms.
7057 * tests/Max_Default_Port_Test.h: Added a destructor to the
7058 test class - it's used to close the acceptor handle down.
7059
7060 Wed Jul 25 15:21:22 2001 Krishnakumar B <[email protected]>
7061
7062 * ace/OS.h:
7063
7064 Fixed the _XOPEN_SOURCE checking to _XOPEN_SOURCE < 500 to fix
7065 incorrect declaration of prototype. This fixes the warnings when
7066 compiling with gcc-3.0. Thanks to Ossama for suggesting the fix.
7067
7068 Wed Jul 25 08:05:45 2001 Balachandran Natarajan <[email protected]>
7069
7070 * tests/Thread_Pool_Reactor_Resume_Test.h:
7071 * tests/Thread_Pool_Reactor_Resume_Test.cpp: Fixed a subtle race
7072 condition. This hardly showed up in many of our daily
7073 builds. The race condition had to be fixed to show the users of
7074 the cautious approach that one needs to take if they are
7075 resuming the handle in the application itself.
7076
7077 Tue Jul 24 16:41:57 2001 Joe Hoffert <[email protected]>
7078
7079 * ace/Thread_Manager.cpp :
7080 Added "&& ! defined (ACE_HAS_PACE)" ifdefs to already existing
7081 #if defined (VXWORKS) sections of code to get ACE_HAS_PACE to
7082 compile on VxWorks.
7083
7084 * ace/OS.i :
7085 * ace/OS.cpp:
7086 Fixed formatting of some comments and added needed PACE
7087 calls for ACE_HAS_PACE on VxWorks.
7088
7089 * ace/OS.h :
7090 Put #if !defined guards around the ACE_THR_PRI* macros
7091 so that we can define them in the config*.h files if
7092 they need to be corrected. For instance, ACE_THR_PRI_OTHER_MIN
7093 has a different value on SunOS 5.8 than it does on SunOS 5.7,
7094 i.e., -20 vs. 0 respectively.
7095
7096 Also, added some needed typedefs and #define for ACE_HAS_PACE
7097 on VxWorks and updated some comments concerning ACE_OS::thr_create
7098 flags.
7099
7100 * ace/Sched_Params.cpp (priority_min, priority_max):
7101 Changed to return correct thread priority min/max for
7102 Solaris threads. We now use the ACE_PRI_THR* macros
7103 for these values while still calling ACE_OS::priority_control
7104 for process and LWP priorities.
7105
7106 * ace/config-sunos5.8.h:
7107 Added setting of ACE_THR_PRI_OTHER_MIN to be correct
7108 for SunOS 5.8.
7109
7110 Tue Jul 24 13:47:32 2001 Balachandran Natarajan <[email protected]>
7111
7112 * ace/SSL/SSL_Asynch_Stream.h (ACE_SSL_Asynch_Stream):
7113 * ace/SSL/SSL_Asynch_Stream.cpp: Added a open () method that
7114 matches the signature of ACE_Service_Handler. This should fix
7115 the warnings in Borland builds that complain about hiding
7116 the virtual functions.
7117
7118 Tue Jul 24 10:56:04 2001 Ossama Othman <[email protected]>
7119
7120 * bin/generate_doxygen.pl (TAO_DOCS):
7121
7122 Added "tao_security" and "tao_ssliop" Doxygen configurations to
7123 the list of documentation to generate.
7124
7125 Tue Jul 24 07:45:03 2001 Douglas C. Schmidt <[email protected]>
7126
7127 * ace/Containers_T: Fixed some problems with the lack of
7128 const for the ACE_DLList and ACE_Double_Linked_List classes.
7129 Thanks to Michael Kircher for reporting this.
7130
7131 * ace/config-cygwin32-common.h: Removed the ACE_LACKS_FORK
7132 macro since this is apparently working on Cygwin. Thanks tj
7133 Stefan Kluehspies <[email protected]> for reporting
7134 this.
7135
7136 * ace/config-cygwin32.h: Removed the #define _CLOCKID_T
7137 macro, which should now be handled by the following change.
7138
7139 * ace/OS.h: Added a #defined for _CLOCKID_T_. Thanks to
7140 Stefan Kluehspies <[email protected]> for
7141 reporting this.
7142
7143 Tue Jul 24 11:10:59 2001 Krishnakumar B <[email protected]>
7144
7145 * ace/OS.h:
7146
7147 Fix the compile errors seen on gcc-3.0 with -pedantic and
7148 -Wno-long-long. This should fix all the errors.
7149
7150 Tue Jul 24 10:07:31 2001 Chad Elliott <[email protected]>
7151
7152 * include/makeinclude/platform_sunos5_g++.GNU:
7153
7154 Add an optimize override to 0 for g++ 3.0. The compiler breaks on
7155 a tremendous amount of files, even with -O.
7156
7157 Tue Jul 24 10:04:52 2001 Chad Elliott <[email protected]>
7158
7159 * ace/INET_Addr.cpp:
7160
7161 Corrected a run-time error on Tru64 with gcc. Any executable
7162 that called ACE_INET_Addr::get_host_name() would core dump.
7163 This was caused by the call to ACE_OS::gethostbyaddr_r().
7164
7165 Tue Jul 24 08:20:02 2001 Chad Elliott <[email protected]>
7166
7167 * include/makeinclude/platform_aix_ibm.GNU:
7168
7169 Change -O2 to -O. The optimizer seems to be a tiny
7170 bit broken, which is demonstrated by a few TAO and orbsvcs
7171 tests.
7172
7173 Mon Jul 23 17:38:46 2001 Ossama Othman <[email protected]>
7174
7175 * etc/tao_security.doxygen:
7176 * etc/tao_ssliop.doxygen:
7177
7178 New Doxygen files for TAO's CORBA security libraries.
7179
7180 Mon Jul 23 13:48:26 2001 Ossama Othman <[email protected]>
7181
7182 * ace/MEM_Connector.cpp (connect):
7183
7184 Disable non-blocking on the stream after its handle has been
7185 set. Previously, non-blocking was disabled on an uninitialized
7186 MEM_Stream, after which the handle was set (i.e. initializing
7187 the stream). In order to properly disable non-blocking on a
7188 stream, its handle must be set first since ioctl() operations
7189 are typically performed on the underlying stream handle.
7190
7191 Mon Jul 23 13:06:39 2001 Steve Huston <[email protected]>
7192
7193 * ace/WFMO_Reactor.cpp (event_handling): Corrected the loop check
7194 to account for a zero ACE_Time_Value *, avoiding a crash in
7195 tests/Reactor_Timer_Test, as well as any other program that
7196 called ACE_Reactor::handle_events with a zero timer pointer.
7197
7198 Mon Jul 23 10:39:55 2001 Nanbor Wang <[email protected]>
7199
7200 * ace/OS.h: Added /**/ between #include and <sys/times.h> to
7201 avoid warning from CE compiler.
7202
7203 * ace/ace_dll.vcp: Added Obchunk.cpp to the project.
7204
7205 Sun Jul 22 08:19:43 2001 Douglas C. Schmidt <[email protected]>
7206
7207 * ace/config-cygwin32.h: ADded a #define for_CLOCKID_T. Thanks to
7208 Christophe Galerne <[email protected]> for
7209 reporting this.
7210
7211 * ace/Log_Record.cpp (priority_names_): Added commas after the
7212 'ACE_LIB_TEXT ("LM_UNK(04000)")' lines. Thanks to Steve Harris
7213 <[email protected]> for reporting this.
7214
7215 Sat Jul 21 19:56:08 2001 Douglas C. Schmidt <[email protected]>
7216
7217 * ace/Map_T.{h,i}: Made current_value() a const member function.
7218 Thanks to Johnny Willemsen for reporting this.
7219
7220 Fri Jul 20 10:16:46 2001 Douglas C. Schmidt <[email protected]>
7221
7222 * ace/Connector.cpp (create_AST): Replaced some calls to
7223 sh->get_handle () with a cached value of handle. This fixes a
7224 bug with gcc 2.96 on Tornado 2.1/VxWorks for SuperH. Thanks to
7225 Frank Wolf <[email protected]> for reporting this.
7226
7227 * examples/Connection/non_blocking/CPP-acceptor.cpp:
7228 * examples/Service_Configurator/IPC-tests/server/Handle_Thr_Stream.cpp:
7229 * examples/Connection/non_blocking/CPP-connector.cpp: Changed the
7230 SH macro to SVH to avoid clashes with a macro in VxWorks.
7231 Thanks to Frank Wolf <[email protected]> for reporting this.
7232
7233 Thu Jul 19 06:55:07 2001 Douglas C. Schmidt <[email protected]>
7234
7235 * ace/config-g++-common.h: Version 2.96 of g++ on VxWorks
7236 is missing auto_ptr, so let's add the ACE_LACK_AUTO_PTR flag
7237 there. Thanks to Frank Wolf for suggesting this.
7238
7239 Fri Jul 20 09:47:38 2001 Nanbor Wang <[email protected]>
7240
7241 * ace/Log_Msg.cpp: Fixed WinCE errors. CE does not support
7242 UNIX_Syslog.
7243
7244 Thu Jul 19 22:39:32 2001 Nanbor Wang <[email protected]>
7245
7246 * tests/MEM_Stream_Test.cpp:
7247 * ace/MEM_IO.h:
7248 * ace/MEM_IO.i:
7249 * ace/MEM_IO.cpp: On non-Win32 platforms, disable multithreaded
7250 MEM_IO if _ACE_USE_SV_SEM is defined.
7251
7252 Thu Jul 19 15:25:11 2001 Paul Calabrese <[email protected]>
7253
7254 * ace/MEM_Acceptor.i (mmap_prefix):
7255
7256 Fix case where a null pointer is passed in.
7257
7258 Thu Jul 19 06:55:07 2001 Douglas C. Schmidt <[email protected]>
7259
7260 * ace/Connector.cpp (connect_svc_handler): Missed one change...
7261 Thanks to Bala for reporting this!
7262
7263 * include/makeinclude/platform_vxworks5.x_g++.GNU (HOST_DIR): Added
7264 support for the SH7700 and SH7700LE. Thanks to Frank Wolf
7265 <[email protected]> for reporting this.
7266
7267 * ace/OS.i (truncate): Make sure to close the handle that we
7268 opens. Thanks to Lothar for reporting this.
7269
7270 * ace/Connector.cpp: Changed the SH macro to SVH to avoid clashes
7271 with a macro in VxWorks. Thanks to Frank Wolf <[email protected]>
7272 for reporting this.
7273
7274 Wed Jul 18 13:15:06 2001 Douglas C. Schmidt <[email protected]>
7275
7276 * ace/OS_Dirent.cpp (scandir_emulation): Removed the calls to the
7277 ACE_ERROR_RETURN macros to avoid dependencies on ACE_Log_Msg
7278 from within the ACE_OS layer. Thanks to Bala for pointing this
7279 out!
7280
7281 * ace/ACE.{h,cpp}: Added a new wrapper method for ACE_OS::select()
7282 that uses ACE_Handle_Set *'s rather than fd_set *'s. This is
7283 motivated by work Steve Huston and I are doing on our new book
7284 "C++ Network Programming: Resolving Complexity with ACE and
7285 Patterns."
7286
7287 * ace/Malloc_T.i (release): Removed an unnecessary "else" to
7288 make gcc 2.96 happy. Thanks to Frank Wolf <[email protected]> for
7289 reporting this.
7290
7291 * Happy birthday to me and Angelo Corsaro!
7292
7293 Tue Jul 17 00:34:40 2001 Douglas C. Schmidt <[email protected]>
7294
7295 * ace/SString.h (ACE_Tokenizer): Make sure that the data members
7296 are protected, not private... Thanks to Martin Krumpolec for
7297 reporting this (again)!
7298
7299 Wed Jul 18 16:40:56 2001 Irfan Pyarali <[email protected]>
7300
7301 * ace/Log_Msg.cpp (program_name): Undid the following changes:
7302
7303 ChangeLogTag:Tue Jul 10 11:32:26 2001 Tibor Kiss
7304
7305 Tibor will be looking into this further since this change
7306 currently causes shutdown problems on Win2000.
7307
7308 Wed Jul 18 15:59:03 2001 Krishnakumar B <[email protected]>
7309
7310 * ace/config-tru64.h:
7311
7312 Removed _LIBC_POLLUTION_H. It seems that this macro is causing
7313 problems for some users. Thanks to Pierre Oberson
7314 <[email protected]> for prompting this fix.
7315
7316 Tue Jul 17 13:00:11 2001 Balachandran Natarajan <[email protected]>
7317
7318 * tests/run_test.lst: Enabled the MEM_Stream test on Linux.
7319
7320 Mon Jul 16 14:59:32 2001 Douglas C. Schmidt <[email protected]>
7321
7322 * ace/Memory_Pool.h (ACE_Shared_Memory_Pool): Added a comment
7323 that discourages developer from using the ACE_Shared_Memory_Pool
7324 and points them to the ACE_MMAP_Memory_Pool instead. Thanks to
7325 Johnny Chen <[email protected]> for motivating this.
7326
7327 * ace/OS_Dirent.cpp (readdir_emulation): Fixed a handle leak
7328 in the event that errors occur. Thanks to Kevin Burge
7329 <[email protected]> for reporting this.
7330
7331 * ace/Log_Msg_UNIX_Syslog.cpp (open): Add an ACE_const_cast()
7332 to the program name for platforms like LynxOS whose openlog()
7333 method is char * rather than const char *. Thanks to Bala for
7334 reporting this.
7335
7336 Sun Jul 15 11:06:33 2001 Douglas C. Schmidt <[email protected]>
7337
7338 * ace/Log_Msg_NT_Event_Log.cpp: Fixed the implementation so that
7339 it's consistent with the new program_name() features. Thanks to
7340 Chris Kohloff <[email protected]> for this fix.
7341
7342 Sun Jul 15 11:04:26 2001 Carlos O'Ryan <[email protected]>
7343
7344 * ace/SSL/ACE_SSL.dsp:
7345 Removed references to $OPENSSL_ROOT, the user should configure
7346 those in the Tools -> Option -> Directories tab.
7347
7348 Fri Jul 13 23:02:46 2001 Ossama Othman <[email protected]>
7349
7350 * ace/SSL/SSL_Asynch_Stream.h:
7351 * ace/SSL/SSL_Asynch_Stream.cpp:
7352 * ace/SSL/SSL_Asynch_BIO.h:
7353 * ace/SSL/SSL_Asynch_BIO.cpp:
7354
7355 Only support asynchronous SSL streams when using OpenSSL >
7356 0.9.5a. The BIO method signatures changed in OpenSSL 0.9.6.
7357
7358 Fri Jul 13 22:48:56 2001 Ossama Othman <[email protected]>
7359
7360 * ace/SSL/SSL_Asynch_BIO.cpp (methods_ACE):
7361
7362 Removed excess element in aggregate initializer.
7363
7364 Fri Jul 13 22:29:01 2001 Ossama Othman <[email protected]>
7365
7366 * ace/SSL/SSL_Asynch_Stream.cpp (print_error):
7367
7368 The OpenSSL ERR_error_string_n() function is only supported in
7369 OpenSSL 0.9.6 or better.
7370
7371 Fri Jul 13 14:59:18 2001 Alexander Libman <[email protected]>
7372
7373 * ace/WIN32_Asynch_IO.h (ACE_WIN32_Asynch_Result):
7374 * ace/WIN32_Asynch_IO.cpp (set_error, set_bytes_transferred):
7375
7376 Added new methods set_error() and set_bytes_transferred().
7377 Needed for below changes and new asynchronous SSL stream
7378 implementation.
7379
7380 * ace/WIN32_Proactor.cpp (handle_events):
7381
7382 Fixed error handling semantics so that it is consistent with the
7383 POSIX Proactor error handling semantics.
7384
7385 (post_completion):
7386
7387 Pass the amount of bytes transferred and the completion key to
7388 the Win32 PostQueuedCompletionStatus() function. The error, if
7389 any, will later be extracted in the handle_events() method.
7390
7391 Fri Jul 13 15:59:45 2001 Douglas C. Schmidt <[email protected]>
7392
7393 * netsvcs/servers/main.cpp (main): The server was always outputing
7394 LM_DEBUG information, even when the program was not run with the
7395 -d command line argument. Therefore, changed the following
7396 lines from:
7397
7398 if (ACE::debug () == 0)
7399 ACE_Log_Msg::disable_debug_messages ();
7400
7401 to:
7402
7403 if (ACE::debug () == 0)
7404 ACE_LOG_MSG->priority_mask (~LM_DEBUG, ACE_Log_Msg::PROCESS);
7405
7406 Thanks to Jerry D. De Master <[email protected]> for
7407 reporting this fix.
7408
7409 Fri Jul 13 12:16:03 2001 Ossama Othman <[email protected]>
7410
7411 * ace/SSL/SSL_Asynch_BIO.h:
7412 * ace/SSL/SSL_Asynch_BIO.cpp:
7413 * ace/SSL/SSL_Asynch_Stream.h:
7414 * ace/SSL/SSL_Asynch_Stream.cpp:
7415
7416 New asynchrounous SSL stream implementation contributed by
7417 Alexander Libman <[email protected]>.
7418
7419 * ace/SSL/ACE_SSL.dsp:
7420 * ace/SSL/Makefile:
7421 * ace/SSL/Makefile.bor:
7422
7423 Added new asynchronous SSL stream source files to these
7424 Makefiles and project files.
7425
7426 Fri Jul 13 09:40:08 2001 Jerry D. De Master <[email protected]>
7427
7428 * ace/Log_Msg.*,
7429 ace/Logging_Strategy.*,
7430 ace/Log_Msg_UNIX_Syslog.*:
7431 Applied patches to ACE_Log_Msg, ACE_Logging_Strategy, and
7432 ACE_Log_Msg_UNIX_Syslog that are required to add the program
7433 name logging strategy option ('n') and to initialize the UNIX
7434 syslog facility with the program name. Also included are Boris
7435 Kolpackov <[email protected]> patches for ACE_LACKS_IOSTREAM_TOTALLY
7436 to ACE_Logging_Strategy.
7437
7438 Thu Jul 12 19:54:27 2001 Ossama Othman <[email protected]>
7439
7440 * examples/Registry/test_registry_update.cpp (main):
7441
7442 Fixed unused argument warning.
7443
7444 Thu Jul 12 19:57:12 2001 Frank Hunleth <[email protected]>
7445
7446 * bin/auto_run_tests.lst:
7447
7448 Added TAO/tests/RTCORBA/ORB_init to the auto run list.
7449
7450 Thu Jul 12 17:11:35 2001 Krishnakumar B <[email protected]>
7451
7452 * bin/nightlybuilds/builds.lst (WEB):
7453
7454 Temporarily removed the IA-64 build till some issues get sorted
7455 out.
7456
7457 Thu Jul 12 06:01:03 2001 John Michael Zorko <[email protected]>
7458
7459 * netsvcs/lib/Server_Logging_Handler.cpp:
7460 Added an an additional #define in config-macosx.h called
7461 ACE_HAS_MACOSX_DYLIB, and checked to see if this was _not_
7462 defined before instantiating the offending template in
7463 Server_Logging_Handler.cpp. OS X has this thing about .dylibs
7464 (OS X version of .so) where they can't have any duplicate
7465 symbols, which is why libnetsvcs wasn't building on OS X
7466 earlier. This fixes that.
7467
7468 * include/makeincludes/platform-macosx.GNU: Added -lACE to the
7469 LIBS line, which fixed the majority of the build problems.
7470
7471 * ace/config-macosx.h: Added the ACE_HAS_MACOSX_DYLIB #define
7472 mentioned above.
7473
7474 Thu Jul 12 06:01:03 2001 Douglas C. Schmidt <[email protected]>
7475
7476 * ace/TLI_Connector.cpp (complete): Changed ACE_OS::t_rcvconnect()
7477 to simply t_rcvconnect(). Thansk to Andreas Geisler for
7478 reporting this.
7479
7480 Thu Jul 12 09:43:36 2001 Ossama Othman <[email protected]>
7481
7482 * ace/FILE_Connector.h (ACE_FILE_Connector, connect):
7483
7484 Removed the default O_EXCL flag I added a few days ago. It is
7485 mostly useful for preventing symbolic link attacks in a
7486 directory with global write permissions. Pass the
7487 responsibility of using the O_EXCL flag when necessary on to the
7488 application developer.
7489
7490 Wed Jul 11 22:31:50 2001 Krishnakumar B <[email protected]>
7491
7492 * include/makeinclude/rules.local.GNU (clean.local):
7493
7494 Added ti_files to remove the template cache generated by KCC.
7495
7496 * ace/TLI_Acceptor.cpp(open_new_endpoint):
7497
7498 Fixed a small typo causing compilation errors under Tru64.
7499
7500 Wed Jul 11 13:06:33 2001 Steve Huston <[email protected]>
7501
7502 * tests/Log_Msg_Test.cpp: Changed the ostream test to close the
7503 under-test ostream file before trying to open it and read the
7504 contents. Avoids the "already open" error now that
7505 ACE_FILE_Connector includes O_EXCL by default, and avoids any
7506 potential file buffering issues reading an already-open file.
7507
7508 Wed Jul 11 08:31:02 2001 Jeff Parsons <[email protected]>
7509
7510 * tests/Dirent_Test.cpp:
7511
7512 Wrapped a string literal with ACE_TEXT, to get rid of a Win2000
7513 WChar build error.
7514
7515 Wed Jul 11 06:41:43 2001 Douglas C. Schmidt <[email protected]>
7516
7517 * ace/TLI_Stream.cpp,
7518 * ace/TLI_Connector.cpp,
7519 * ace/TLI_Acceptor.cpp: Added enhancements so that the code would
7520 work on Win32. Thanks to Andreas Geisler
7521 <[email protected]> for reporting this.
7522
7523 Tue Jul 10 19:26:15 2001 Ossama Othman <[email protected]>
7524
7525 * ace/ace_dll.dsp:
7526
7527 Disabled generation of source browse information. It was
7528 causing problems on some existing builds that didn't use it.
7529
7530 * ace/SSL/SSL_SOCK_Acceptor.cpp (ssl_accept):
7531
7532 Removed certificate verification code. It is up to the
7533 application, not the ACE_SSL library, to perform proper
7534 certificate verification.
7535
7536 Tue Jul 10 23:02:00 2001 Craig Rodrigues <[email protected]>
7537
7538 * tests/Log_Msg_Test.cpp:
7539 Fix test so it doesn't open output file to write to twice.
7540 Thanks to Ossama for finding it.
7541
7542 Tue Jul 10 19:10:19 2001 Steve Huston <[email protected]>
7543
7544 * ace/ace.icc: Corrected the mis-applied patch for ace.icc in
7545 Mon Jul 09 19:12:42 2001 Steve Huston <[email protected]>
7546
7547 Tue Jul 10 16:01:52 2001 Ossama Othman <[email protected]>
7548
7549 * THANKS:
7550
7551 Added Sangeetha Ramadurai <[email protected]> to
7552 the hall of fame.
7553
7554 Tue Jul 10 18:15:39 2001 Steve Huston <[email protected]>
7555
7556 * ace/WFMO_Reactor.cpp (event_handling): Move the logic for
7557 noticing that the wait timed out, but did not expire any
7558 timers, into this function. Will remove it from Reactor.cpp,
7559 to properly move the fix into handle_events() rather than
7560 needing to call run_reactor_event_loop to get it right.
7561 * ace/Select_Reactor_T.cpp - still need to add similar logic here.
7562
7563 * ace/config-sunos5.6.h: Re the following:
7564 Mon Jul 2 15:26:32 2001 Nanbor Wang <[email protected]>
7565 Replaced ACE_HAS_POSIX_SEM, and left ACE_LACKS_NAMED_POSIX_SEM out.
7566 Solaris does indeed have POSIX semaphores in 2.6 and later, but
7567 requires the changes to OS.i below to work right.
7568
7569 * ace/OS.h: For ACE_PROC_PRI_OTHER_MIN (and MAX), on HP-UX,
7570 convert the HP-UX priority value to the POSIX range.
7571
7572 * ace/OS.i (ACE_OS::sema_init, named POSIX semaphore): On Solaris
7573 and HP-UX, the name of a POSIX semaphore needs to start with
7574 a slash (further restricted on Solaris). Enforce that here by
7575 prepending a slash, or by chopping off parts of the name.
7576
7577 Tue Jul 10 16:08:04 2001 Krishnakumar B <[email protected]>
7578
7579 * include/makeinclude/platform_osf1_4.0.GNU:
7580
7581 Fixed the default flags so that it enables the user to override
7582 settings. Now that the long pending fix to wrapper_macros.GNU is
7583 through, this should work fine now.
7584
7585 Tue Jul 10 13:37:31 2001 Jeff Parsons <[email protected]>
7586
7587 * ace/OS_Dirent.cpp (readdir_emulation):
7588
7589 Removed the hard cast to char* of one of the two arguments in
7590 a call to strcpy. In the WChar win32 build, this cast was
7591 causing the source and target strings to be of different widths.
7592
7593 Tue Jul 10 11:32:26 2001 Tibor Kiss <[email protected]>
7594
7595 * ace/Log_Msg.cpp:
7596 Completed the ACE_Log_Msg::close method with the
7597 ACE_Thread::keyfree (log_msg_tss_key_) and key_created_ = 0; to
7598 ensure restartability by multiple successive ACE::init and
7599 ACE::fini calls. This fix prevent leaks from occurring when
7600 ACE::init() and ACE::fini() are called multiple times.
7601
7602 Tue Jul 10 11:12:00 2001 Chris Gill <[email protected]>
7603
7604 * ace/OS_Dirent.{h, inl}: refactored XDIR, dirent usage for pSOS -
7605 user is no longer responsible for buffer deallocation after each
7606 readdir call, only for passing the pointer returned from opendir
7607 into closedir when all done. ACE_DIR structure is now used
7608 consistently for all pSOS dirent calls.
7609
7610 Tue Jul 10 06:06:07 2001 Douglas C. Schmidt <[email protected]>
7611
7612 * ace/Service_Repository.h: Updated the insert() comment to
7613 clarify the return values. Thanks to Johnny Willemsen for
7614 suggesting this.
7615
7616 * ace/Service_Repository.{h,i}: Made the current_size() and
7617 total_size() methods const. Thanks to Johnny Willemsen for
7618 suggesting this.
7619
7620 * ace/Service_Repository.h: Fixed a typo in the comments. Thanks
7621 to Johnny Willemsen for reporting this.
7622
7623 Tue Jul 10 08:39:04 2001 Chad Elliott <[email protected]>
7624
7625 * ace/config-vxworks5.x.h:
7626
7627 Added the macro ACE_LACKS_UNIX_SYSLOG.
7628
7629 Tue Jul 10 08:26:57 2001 Chad Elliott <[email protected]>
7630
7631 * ace/Log_Msg_UNIX_Syslog.cpp:
7632
7633 Added a macro, ACE_LACKS_SETLOGMASK, for platforms that have
7634 syslog, but don't have setlogmask().
7635
7636 * ace/config-chorus.h:
7637
7638 ChorusOS 4.0.1 happens to be one of them.
7639
7640 Tue Jul 10 09:00:12 2001 Johnny Willemsen <[email protected]>
7641
7642 * ace/OS_Dirent.h
7643 Made the member 'd_name' of the 'dirent' struct non-const, because
7644 BCB had problems with it
7645
7646 Mon Jul 09 22:41:43 2001 Ossama Othman <[email protected]>
7647
7648 * include/makeinclude/wrapper_macros.GNU (exceptions):
7649
7650 Include platform_macros.GNU before the default for "exceptions"
7651 is set. This fixes a problem where the default native
7652 exceptions setting in platform_linux.GNU was not set due to the
7653 fact that it was previously set in wrapper_macros.GNU. Thanks
7654 to Hans Utz <[email protected]> for tracking down
7655 the problem.
7656
7657 Mon Jul 9 16:40:02 2001 Ossama Othman <[email protected]>
7658
7659 * ace/Dirent_Selector.cpp (ACE_Dirent_Selector):
7660
7661 Correct order of initialization of members to match order of
7662 declaration. Fixes a warning issued from GCC.
7663
7664 * ace/Dirent_Selector.inl:
7665
7666 Added missing RCS ID keyword. Fuzz was whining about the lack
7667 of it.
7668
7669 * ace/Dirent_Selector.h:
7670
7671 Corrected some Doxygen comments.
7672
7673 Mon Jul 09 19:12:42 2001 Steve Huston <[email protected]>
7674
7675 * ace/ace.icc: Added Log_Msg_UNIX_Syslog and Log_Msg_NT_Event_Log
7676 modules to the LOGGING component. Added Dirent_Selector to the
7677 UTILS component.
7678
7679 Mon Jul 9 15:59:56 2001 Joe Hoffert <[email protected]>
7680
7681 * ace/config-lynxos.h:
7682 Added ACE_LACKS_MKSTEMP since LynxOS doesn't seem to have
7683 this.
7684
7685 Mon Jul 9 15:28:29 2001 Jeff Parsons <[email protected]>
7686
7687 * ace/Dirent_Selector.cpp:
7688 * ace/Dirent_Selector.h:
7689
7690 Added ACE_INLINE guards around inclusion of Dirent_Selector.inl.
7691
7692 * ace/ace_dll.dsp:
7693 * ace/ace_lib.dsp:
7694
7695 Added Dirent_Selector.{h,i,cpp} to these projects.
7696
7697 Mon Jul 9 06:52:09 2001 Douglas C. Schmidt <[email protected]>
7698
7699 * ace/Makefile.bor (OBJFILES): Added the Dirent_Selector.obj file.
7700
7701 * tests/Dirent_Test.cpp: Integrated a new test for the
7702 ACE_Dirent_Selector class.
7703
7704 * ace/Makefile (UTILS_FILES),
7705 * ace/Dirent_Selector.h,
7706 * ace/Dirent_Selector.inl,
7707 * ace/Dirent_Selector.cpp: Added support for a C++ wrapper facade that
7708 encapsulates ACE_OS_Dirent::scandir(). Thanks to Rich Newman for
7709 contributing this, as well.
7710
7711 * ace/OS_Dirent.h,
7712 * ace/OS_Dirent.inl,
7713 * ace/OS_Dirent.cpp: Added support for the scandir() feature, which
7714 makes it possible to selectively pick which files in a directory
7715 to iterate over. Also fixed a bug in the emulation of dirent.
7716 Thanks to Rich Newman <[email protected]> for contributing
7717 these fixes.
7718
7719 Mon Jul 09 14:39:50 2001 Irfan Pyarali <[email protected]>
7720
7721 * ace/OS.i (thr_getprio and thr_setprio): Changed these two
7722 function such that if we are on Solaris and we have pthreads
7723 enabled, we should use the pthread calls rather than the native
7724 Solaris calls. The reasons for choosing the pthread calls is
7725 due to following problems with the native calls:
7726
7727 - thr_getprio() is evil because on Solaris 5.8, a thread with
7728 priority -20 (SCHED_OTHER) is reported to have priority 80.
7729
7730 - thr_setprio() is evil because it cannot set the negative
7731 priorities on Solaris 5.8.
7732
7733 - Also, thr_setprio() cannot change the priority of a thread
7734 with negative priority to a positive priority on Solaris 5.8
7735 (even though there is no error reported and thr_getprio() shows
7736 that the change happened but pthread_getschedparam() shows that
7737 no change happened).
7738
7739 - In addition, suppose a thread of policy SCHED_RR or SCHED_FIFO
7740 uses thr_setprio() to reset its priority, the priority will be
7741 reset but the scheduling policy will be dropped to SCHED_OTHER.
7742 This happens with both Solaris 5.7 and Solaris 5.8.
7743
7744 Mon Jul 9 13:33:43 2001 Joe Hoffert <[email protected]>
7745
7746 * include/makeinclude/wrapper_macros.GNU:
7747 Change PACE path to start at $PACE_ROOT rather than $ACE_ROOT/PACE
7748 since the latter is not as flexible. Defined PACE_ROOT if not
7749 already defined. Also, added inclusion of PACE library for VxWorks
7750 even when inlining since not all the PACE functions should be
7751 inlined.
7752
7753 Mon Jul 09 10:59:22 2001 Ossama Othman <[email protected]>
7754
7755 * THANKS:
7756
7757 Added Mouna Seri <[email protected]> to the hall of fame.
7758
7759 Mon Jul 9 11:10:44 2001 Jeff Parsons <[email protected]>
7760
7761 * ace/config-win32-msvc-5.h:
7762 * ace/config-win32-msvc-6.h:
7763
7764 Added conditional definitions for ACE_LD_DECORATOR_STR
7765 "mfc" and "mfcd" so that the MFC release and debug versions
7766 of libraries can be dynamically loaded in the same way that
7767 the non-MFC release and debug versions are. Thanks to
7768 Francois Bernier <[email protected]> for suggesting
7769 this enhancement.
7770
7771 Mon Jul 09 11:31:12 2001 Johnny Willemsen <[email protected]>
7772
7773 * ace/pre.h
7774 * include/makeinclude/compiler.bor
7775
7776 Removed the disabling of the compiler warning 'parameter never
7777 used'. Unused parameters are handled by ACE_UNUSED_ARG macro.
7778 A missing ACE_UNUSED_ARG is now shown as warning in the BCB build
7779 log.
7780
7781 Sun Jul 08 11:26:23 2001 Ossama Othman <[email protected]>
7782
7783 * ace/OS.h (mkstemp):
7784 * ace/OS.i (mkstemp):
7785
7786 New mkstemp() wrapper. It is assumed to be available on the
7787 given platform, unless ACE_LACKS_MKSTEMP is defined.
7788
7789 * ace/FILE_Connector.h:
7790
7791 Added O_EXCL to the default flags. This is a security hole
7792 fix.
7793
7794 * ace/FILE_Connector.cpp (connect):
7795
7796 If mkstemp() is available, then use it to create a temporary
7797 file rather than mktemp() (via ACE_FILE_Addr) since mktemp() is
7798 susceptible to a denial-of-service attack.
7799
7800 * ace/config-win32-common.h:
7801 * ace/config-vxworks5.x.h:
7802
7803 mkstemp() is not supported on MS Windows and VxWorks. Define
7804 ACE_LACKS_MKSTEMP in these headers.
7805
7806 Sun Jul 8 08:13:12 2001 Douglas C. Schmidt <[email protected]>
7807
7808 * ace/Select_Reactor_Base.h: Added a comment explaining what
7809 the ACE_HAS_REACTOR_NOTIFICATION_QUEUE macro means. Thanks to
7810 Kobi Cohen-Arazi <[email protected]> for motivating this.
7811
7812 Sat Jul 7 18:53:49 2001 Krishnakumar B <[email protected]>
7813
7814 * include/makeinclude/platform_osf1_4.0.GNU:
7815
7816 Revert the changes made to this file. Please see the file for a
7817 lengthy description.
7818
7819 Fri Jul 06 21:53:26 2001 Christopher Kohlhoff <[email protected]>
7820
7821 * ace/config-win32-borland.h:
7822 Reverted addition of ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION.
7823
7824 Fri Jul 6 19:55:23 2001 Douglas C. Schmidt <[email protected]>
7825
7826 * examples/Reactor/Multicast: Adding the support for UNIX Syslog
7827 broke this example because LOG_DEBUG was suddenly defined as a
7828 macro (it's in syslog.h). I've fixed this by renaming the LOG_
7829 enums to LM_ instead. Thanks to Bala for reporting this.
7830
7831 Fri Jul 06 20:23:41 2001 Steve Huston <[email protected]>
7832
7833 * ace/Refcoutned_Auto_Ptr.i (null): Change const_cast<> to
7834 ACE_const_cast() to build on older compilers, like IBM C/C++ 3.6.6.
7835
7836 Fri Jul 06 20:13:29 2001 Steve Huston <[email protected]>
7837
7838 * netsvcs/lib/Name_Handler.cpp:
7839 * netsvcs/lib/Server_Logging_Handler_T.cpp:
7840 * netsvcs/lib/Token_Handler.cpp:
7841
7842 More ACE_DEBUG disables.
7843
7844 Fri Jul 6 15:55:54 2001 Ossama Othman <[email protected]>
7845
7846 * ace/OS.h (ACE_FD_SETSIZE):
7847
7848 Integrated patch from Jody Hagins <[email protected]>. Set the
7849 default reactor file descriptor set size to be an integer
7850 constant rather than a preprocessor constant. Some third party
7851 software #undef FD_SETSIZE in their header files, causing build
7852 problems in ACE.
7853
7854 Fri Jul 06 18:20:39 2001 Steve Huston <[email protected]>
7855
7856 * netsvcs/lib/Client_Logging_Handler.cpp: #if 0'd out a bunch of
7857 ACE_DEBUG statements that aren't appropriate for use in commercial
7858 logging. These can be #if 1'd if there's some doubt while debugging
7859 this stuff, but they aren't useful once debugged, and are
7860 distracting since they're interespersed with application records.
7861
7862 Fri Jul 6 13:40:20 2001 Balachandran Natarajan <[email protected]>
7863
7864 * ace/Log_Msg_UNIX_Syslog.cpp: Fixed a warning in g++.
7865
7866 Fri Jul 06 11:39:41 2001 Steve Huston <[email protected]>
7867
7868 * ace/INET_Addr.h: Clarified (and improved doxygenation) of
7869 constructor and set() methods regarding byte orders.
7870
7871 * tests/Max_Default_Port_Test.icc: New file for this test.
7872 * tests/tests.icp: Added Max_Default_Port_Test
7873
7874 Fri Jul 6 08:36:20 2001 Chad Elliott <[email protected]>
7875
7876 * netsvcs/Makefile: Don't build this if ACE_COMPONENTS does not
7877 contain Other. The netsvcs library requires Naming_Context.
7878
7879 Fri Jul 6 05:44:13 2001 Douglas C. Schmidt <[email protected]>
7880
7881 * ace/Makefile (LOGGING_FILES): Added support for
7882 Log_Msg_UNIX_Syslog.
7883
7884 * ace/Log_Msg_UNIX_Syslog.{h,cpp}:
7885 * ace/Log_Msg.cpp,
7886 * ace/OS.h: Added support for a new UNIX syslog backend for the
7887 ACE_Log_Msg class. Thanks to Jerry D. De Master
7888 <[email protected]> and Robert Davidson
7889 <[email protected]>.
7890
7891 * ace/SOCK_Dgram.h: Fixed a typo in one of the send() method
7892 comments. Thanks to Alain Decamps <[email protected]> for
7893 reporting this.
7894
7895 * ace/config-macosx.h: Added a new file courtesy of John
7896 Zorko so that things will work on MacOSX.
7897
7898 Thu Jul 5 23:22:21 2001 Balachandran Natarajan <[email protected]>
7899
7900 Fixes that were required for fixing bug 575. Merged in from
7901 branch bug_575_stage_2.
7902
7903 Thu Jul 5 23:09:29 2001 Balachandran Natarajan <[email protected]>
7904
7905 * ace/CDR_Stream.cpp (ACE_InputCDR): Fixed a long standing bug in
7906 the branch. This caused the DSI_Gateway test to fail. The
7907 problem was from setting the write pointer to a wrong position
7908 during the construction.
7909
7910 Thu Jul 5 14:39:45 2001 Balachandran Natarajan <[email protected]>
7911
7912 * Merged with the main trunk and moved it to a new branch by name
7913 bug_575_stage_2.
7914
7915 Thu Jun 28 15:25:07 2001 Balachandran Natarajan <[email protected]>
7916
7917 * ace/Reactor.h (ACE_Reactor):
7918 * ace/Reactor.cpp: Added a new method resumable_handler () to the
7919 reactor interface. This would indicate whether the application
7920 can take advantage by resuming the handlers themselves or
7921 not. Not all reactors can allow this feature.
7922
7923 * ace/Reactor_Impl.h:
7924 * ace/Reactor_Impl.cpp: Added a pure virtual function so that all
7925 the implementations can decide whether the handlers are
7926 resumable or not.
7927
7928 * ace/Select_Reactor_Base.h:
7929 * ace/Select_Reactor_Base.cpp:
7930 * ace/TP_Reactor.h:
7931 * ace/TP_Reactor.cpp:
7932 * ace/WFMO_Reactor.h:
7933 * ace/WFMO_Reactor.cpp:Implemented resumable_handlers ().
7934
7935 Sun Jun 24 11:25:07 2001 Balachandran Natarajan <[email protected]>
7936
7937 * Created this file. Got the whole stuff in ace to a new branch by
7938 name bug_575_stage_1. This ChangeLog file will be in branch
7939 bug_575.
7940
7941 Fri Jun 22 16:52:13 2001 Balachandran Natarajan <[email protected]>
7942
7943 * ace/CDR_Stream.cpp: Changed the copy constructor for the
7944 ACE_InputCDR's. Instead of duplicating the ACE_Data_Block we
7945 now use the new copy constructor in the ACE_Message_Block.
7946
7947 * ace/Message_Block.h:
7948 * ace/Message_Block.cpp: Added a new copy constructor to the
7949 ACE_Message_Block. This copy constructor does a deep copy from
7950 the data block if the data block of the incoming message block
7951 is on the stack or does a shallow copy of the data block (by
7952 incrementing the ref count) if it is on the heap.
7953
7954 END of entries from bug_575_stage_2.
7955
7956 Thu Jul 5 22:07:33 2001 Balachandran Natarajan <[email protected]>
7957
7958 * bin/auto_run_tests.lst: Added the new perl script in LongUpcalls
7959 in the daily builds.
7960
7961 Thu Jul 5 20:36:00 2001 Craig Rodrigues <[email protected]>
7962
7963 * ace/config-win32-borland.h
7964 define ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION
7965 * tests/Token_Test.cpp
7966 Fix template instantiation problem.
7967
7968 Wed Jul 4 15:35:47 2001 Joe Hoffert <[email protected]>
7969
7970 * tests/run_tests.vxworks:
7971 Removed invocation of CDR_Array_Test. According to the ace
7972 config files the compiler we are using is pre 2.8 (i.e.,
7973 ACE_HAS_GNUG_PRE_2_8 is defined). Therefore don't run
7974 CDR_Array_Test since the Makefile doesn't build it (due to
7975 the ACE_HAS_GNUG_PRE_2_8 macro).
7976
7977 Wed Jul 04 14:26:10 2001 Irfan Pyarali <[email protected]>
7978
7979 * ace/Synch_T.h (class ACE_Acquire_Method): Moved the enums from
7980 the Reverse Lock class into ACE_Acquire_Method, a non-template
7981 class. These enums should have been inside the reverse lock
7982 class, but some lame compilers cannot handle enums inside
7983 template classes.
7984
7985 Wed Jul 04 12:43:22 2001 Irfan Pyarali <[email protected]>
7986
7987 * ace/Synch_T.i (ACE_Reverse_Lock): Fully specified the
7988 ACE_ACQUIRE_METHOD type.
7989
7990 Tue Jul 3 15:43:25 2001 Balachandran Natarajan <[email protected]>
7991
7992 * ace/Select_Reactor_Base.cpp: Fixed a warning in g++.
7993
7994 Tue Jul 3 14:44:00 2001 Craig Rodrigues <[email protected]>
7995
7996 * ace/config-win32-common.h: Borland C++ apparently
7997 does not support the "extern template class" Microsoft VC++
7998 proprietary extension. Thanks to Chris Kohloff <[email protected]>
7999 for the fix.
8000
8001 Tue Jul 03 12:26:33 2001 Irfan Pyarali <[email protected]>
8002
8003 * ace/Synch_T.h (class ACE_Reverse_Lock): Added a parameter to the
8004 constructor of the reverse lock. The ACE_ACQUIRE_METHOD
8005 parameter is used to indicate which acquire() method will be
8006 called on the real lock when the release() method is called on
8007 the reverse lock. REGULAR indicated the acquire() method, READ
8008 indicates the acquire_read() method, and WRITE indicates the
8009 acquire_write() method. Note that the try_*() methods are not
8010 represented here because we have to make sure that the release()
8011 method on the reverse lock acquires a lock on the real lock.
8012
8013 Thanks to Edan Ayal <[email protected]> for suggesting this.
8014
8015 Tue Jul 3 06:20:13 2001 Douglas C. Schmidt <[email protected]>
8016
8017 * ace/Reactor.h,
8018 * ace/Reactor_Impl.h,
8019 * ace/Select_Reactor_Base.cpp,
8020 * ace/Select_Reactor_Base.i,
8021 * ace/Select_Reactor_Base.h,
8022 * ace/WFMO_Reactor.cpp,
8023 * ace/WFMO_Reactor.h: Added an enhancement that allows the
8024 Reactor to selectively purge event handlers from its
8025 notification queue according to their Reactor_Mask type. Thanks
8026 to Edan Ayal <[email protected]> for contributing this.
8027
8028 * tests/Reactor_Notify_Test.cpp (run_notify_purge_test):
8029 Added a new set of tests for the new selective notification
8030 purging features of the Reactor. Thanks to Edan Ayal
8031 <[email protected]> for contributing this.
8032
8033 * ace/WIN32_Asynch_IO.cpp: Removed the
8034 ACE_WIN32_Asynch_Result (handler, act, event, 0, 0, priority,
8035 signal_number), initializer since we no longer use virtual
8036 inheritance. Thanks to Alexander Libman
8037 <[email protected]> for reporting this.
8038
8039 * ace/WIN32_Asynch_IO.h: Removed the virtual inheritance from
8040 ACE_WIN32_Asynch_Result for the ACE_Asynch_Read_Stream_Result
8041 and ACE_Asynch_Read_Dgram_Result classes. Thanks to Alexander
8042 Libman <[email protected]> for reporting this.
8043
8044 * ace/Refcounted_Auto_Ptr.h: Made the destructor of
8045 ACE_Refcounted_Auto_Ptr virtual so that users can override it
8046 locally. Thanks to Jenny Kowald <[email protected]> for
8047 reporting this.
8048
8049 Tue Jul 3 09:40:59 2001 Chad Elliott <[email protected]>
8050
8051 * include/makeinclude/platform_osf1_4.0.GNU:
8052 * include/makeinclude/platform_osf1_4.0_g++.GNU:
8053
8054 Allow users to set options like debug, exceptions, ... without
8055 using override.
8056
8057 Tue Jul 3 08:38:47 2001 Jeff Parsons <[email protected]>
8058
8059 * examples/Reactor/Proactor/test_dup_proactor.dsp:
8060
8061 Fixed a mistake in the link to the ACE library.
8062
8063 Mon Jul 2 16:23:04 2001 Jeff Parsons <[email protected]>
8064
8065 * examples/Reactor/Proactor/test_multiple_loops.dsp:
8066 * examples/Reactor/Proactor/test_proactor.dsp:
8067 * examples/Reactor/Proactor/test_proactor.dsw:
8068 * examples/Reactor/Proactor/test_timeout.dsp:
8069 * examples/Reactor/Proactor/test_udp_proactor.dsp:
8070
8071 Fixed settings on release version of test_udp_proactor.dsp,
8072 added it to the workspace, and removed unused file folders
8073 from the FileViews of the other projects.
8074
8075 Mon Jul 2 15:26:32 2001 Nanbor Wang <[email protected]>
8076
8077 * ace/config-sunos5.6.h: Removed ACE_HAS_POSIX_SEM and
8078 ACE_LACKS_NAMED_POSIX_SEM. Thanks to Glenn Popelka
8079 <[email protected]> for helping track this down.
8080
8081 Mon Jul 02 11:45:57 2001 Ossama Othman <[email protected]>
8082
8083 * bin/make_release:
8084
8085 Disabled bootstrapping of ACE's autoconf support. It isn't
8086 ready for general use. Doing so reduces the amount of
8087 confusion. Thanks to Holger P. Krekel <[email protected]> for
8088 motivating this change.
8089
8090 Mon Jul 2 13:18:14 2001 Douglas C. Schmidt <[email protected]>
8091
8092 * Moved ACE-configurations.txt into the docs directory. Also
8093 removed the hopelessly out of date BIBLIOGRAPHY file.
8094
8095 * Moved all the ChangeLog-* files into the new ChangeLogs
8096 directory. Thanks to Holger P. Krekel <[email protected]> for
8097 this suggestion.
8098
8099 Mon Jul 02 11:20:52 2001 Ossama Othman <[email protected]>
8100
8101 * config.guess:
8102 * config.sub:
8103
8104 Updated to the latest versions from the GNU FTP site.
8105
8106 Mon Jul 02 11:30:20 2001 Irfan Pyarali <[email protected]>
8107
8108 * ace/Synch_T.i: Since the release() method on the reverse lock
8109 calls the simple acquire() method on the real lock, it is
8110 assumed that it is a simple acquire/release protocol with the
8111 real lock. Therefore, I think all the other methods on the
8112 reverse lock tryacquire(), acquire_read(), acquire_write(),
8113 tryacquire_read(), tryacquire_write(), and
8114 tryacquire_write_upgrade() should not be allowed. This falls in
8115 line with the original concept of using reverse locks with
8116 regular guards.
8117
8118 Thanks to Edan Ayal <[email protected]> for pointing this out.
8119
8120 Mon Jul 2 11:17:37 2001 Chad Elliott <[email protected]>
8121
8122 * ace/Profile_Timer.cpp:
8123
8124 Cleaned up the conditional macros. Added method bodies for
8125 ACE_Profile_Timer::get_rusage() and
8126 ACE_Profile_Timer::elapsed_rusage() when neither ACE_HAS_PRUSAGE_T
8127 nor ACE_HAS_GETRUSAGE is defined.
8128
8129 * Reverted the reverted changes in this entry.
8130 "Fri Jun 29 22:31:56 2001 Balachandran Natarajan
8131 <[email protected]>". These changes are ok, I just
8132 needed to fix the bug in Profile_Timer.cpp.
8133
8134 Mon Jul 2 09:40:45 2001 Chad Elliott <[email protected]>
8135
8136 * include/makeinclude/platform_aix_ibm.GNU:
8137
8138 Add the output filter to the linker to avoid the duplicate symbol
8139 warnings on AIX.
8140
8141 Mon Jul 2 05:40:54 2001 Douglas C. Schmidt <[email protected]>
8142
8143 * ace/Logging_Strategy.cpp: Enhanced the code so that it works with
8144 ACE_LACKS_IOSTREAM_TOTALLY. Thanks to Nir Drang <[email protected]>
8145 and Edan Ayal <[email protected]> for reporting this.
8146
8147 * ace/SPIPE_Addr.cpp (set): Added a "+ 1" to the computation of
8148 the size of the SPIPE_Addr to account for the trailing NUL.
8149 Thanks to Oren Zeev-Ben-Mordehai <[email protected]> for
8150 reporting this.
8151
8152 * ace/Refcounted_Auto_Ptr.{h,i}: Added support for a "null()"
8153 method to check if a refcounted auto ptr is NULL. Thanks to
8154 Jenny Kowald <[email protected]> for reporting this.
8155
8156 * ace/config-macosx.h,
8157 * ace/platform_macosx.GNU: Enhanced these files to support MacOSX.
8158 Thanks to John Zorko <[email protected]> for contributing this.
8159
8160 * ace/Synch.h: Fixed the Doxygen documentation for all the
8161 removed_ fields, which where somehow messed up. Thanks to
8162 Johnny Willemsen for reporting this.
8163
8164 Sun Jul 1 11:49:13 2001 Alexander Libman <[email protected]>
8165
8166 * ace: Enhanced the POSIX and Sun Proactor implementations as
8167 follows:
8168
8169 . POSIX_SIG_Proactor is now based on POSIX_AIOCB_Proactor
8170
8171 . All classes ACE_POSIX_SIG_Asynch_XXXX are removed.
8172 POSIX_SIG_Proactor uses the ACE_POSIX_AIOCB_Asynch_XXXX
8173 classes now.
8174
8175 . ACE_POSIX_AIOCB_Proactor::register_and_start_aio (...)
8176 now calls a new virtual method: int
8177 ACE_POSIX_AIOCB_Proactor::allocate_aio_slot
8178 (ACE_POSIX_Asynch_Result *result).
8179
8180 . The strategy of free slot allocation in SIG_Proactor is
8181 a bit different from AIOCB and SUN Proactors. The
8182 allocate_aio_slot() method is responsible for setting
8183 notification information for aio request
8184 (SIGEV_NONE/SIGEV_SIGNAL). For SIG_Proactor, the field
8185 aio_sigevent.sigev_value.sival_int now contains index of aiocb
8186 in the aiocb_list_, not a pointer.
8187
8188 . The ACE_POSIX_AIOCB_Proactor::find_completed_aio (int &error_status,
8189 int &return_status, size_t
8190 &index, size_t &count)
8191 parameter index defines initial slot to scan and the new
8192 parameter count tells us maximum number slots to scan. On
8193 return: index contains value to start scan next time, count
8194 contains remained number of slots. Scanning is performed in
8195 "wheel" style to allow all requests be handled with equal
8196 priorities.
8197
8198 . ACE_POSIX_AIOCB_Proactor::check_max_aio_num () checks for
8199 max_number_files to open and tries to setup max_number_files
8200 equal to aiocb_max_size_. if we failed than cut off
8201 aiocb_max_size_ value to existing max_number_files.
8202
8203 . POSIX_Proactor added member int os_id_ and constructor sets up
8204 os_id_ (compilation time + run_time function) to know
8205 OS(Sun/HP/Linux/...) and version. We need such info for
8206 POSIX_SIG_Proactors to take into account the behavior of
8207 different OS.
8208
8209 . Delivery of simulated/"post_completed" Asynch_Results
8210 (Timers, AsynchAccept,Wakeup ...). As both Proactors have no
8211 reliable mechanizm for delivery "post_completed" results, so
8212 the reliable queue of "post_completed" results was
8213 implemented. The new member of AIOCB Proactor
8214 ACE_Unbounded_Queue<ACE_POSIX_Asynch_Result *> result_queue_
8215 has been added. Also added protected methods to the
8216 ACE_POSIX_AIOCB_Proactor.
8217
8218 . We had an error in all previous versions (from major ACE 5.1):
8219 post_completion (int how_many) does not guarantee that all
8220 completions will be delivered to the different threads running
8221 event_loop (sometimes several completions could be delivered
8222 to the one thread, in another thread performs during long time
8223 application_spesific_code ()). Moreover, you can run now
8224 Proactor event_loop in any number of threads (more than
8225 SIGQUEMAX).
8226
8227 Sun Jul 1 11:49:13 2001 Douglas C. Schmidt <[email protected]>
8228
8229 * examples/Reactor/Proactor: Integrated a test that exercises the
8230 support for asynchronous UDP operations. Thanks to Roger Tragin
8231 <[email protected]> for contributing this.
8232
8233 * ace/Synch_T.i: Changed the implementations of all the
8234 acquire*() method to call release(). Thanks to Edan Ayal
8235 <[email protected]> for reporting this.
8236
8237 Sat Jun 30 12:44:11 2001 Douglas C. Schmidt <[email protected]>
8238
8239 * examples/Connection/blocking/SPIPE-acceptor.cpp: Added better
8240 support for shutting down the server when a signal occurs.
8241 Thanks to Rich Newman <[email protected]> for this
8242 enhancement.