1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
|
Fri Jul 13 09:40:08 2001 Jerry D. De Master <jdemaster@rite-solutions.com>
* ace/Log_Msg.*,
ace/Logging_Strategy.*,
ace/Log_Msg_UNIX_Syslog.*:
Applied patches to ACE_Log_Msg, ACE_Logging_Strategy, and
ACE_Log_Msg_UNIX_Syslog that are required to add the program
name logging strategy option ('n') and to initialize the UNIX
syslog facility with the program name. Also included are Boris
Kolpackov <bosk@ipmce.ru> patches for ACE_LACKS_IOSTREAM_TOTALLY
to ACE_Logging_Strategy.
Thu Jul 12 19:54:27 2001 Ossama Othman <ossama@uci.edu>
* examples/Registry/test_registry_update.cpp (main):
Fixed unused argument warning.
Thu Jul 12 19:57:12 2001 Frank Hunleth <fhunleth@cs.wustl.edu>
* bin/auto_run_tests.lst:
Added TAO/tests/RTCORBA/ORB_init to the auto run list.
Thu Jul 12 17:11:35 2001 Krishnakumar B <kitty@cs.wustl.edu>
* bin/nightlybuilds/builds.lst (WEB):
Temporarily removed the IA-64 build till some issues get sorted
out.
Thu Jul 12 06:01:03 2001 John Michael Zorko <j.zorko@att.net>
* netsvcs/lib/Server_Logging_Handler.cpp:
Added an an additional #define in config-macosx.h called
ACE_HAS_MACOSX_DYLIB, and checked to see if this was _not_
defined before instantiating the offending template in
Server_Logging_Handler.cpp. OS X has this thing about .dylibs
(OS X version of .so) where they can't have any duplicate
symbols, which is why libnetsvcs wasn't building on OS X
earlier. This fixes that.
* include/makeincludes/platform-macosx.GNU: Added -lACE to the
LIBS line, which fixed the majority of the build problems.
* ace/config-macosx.h: Added the ACE_HAS_MACOSX_DYLIB #define
mentioned above.
Thu Jul 12 06:01:03 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/TLI_Connector.cpp (complete): Changed ACE_OS::t_rcvconnect()
to simply t_rcvconnect(). Thansk to Andreas Geisler for
reporting this.
Thu Jul 12 09:43:36 2001 Ossama Othman <ossama@uci.edu>
* ace/FILE_Connector.h (ACE_FILE_Connector, connect):
Removed the default O_EXCL flag I added a few days ago. It is
mostly useful for preventing symbolic link attacks in a
directory with global write permissions. Pass the
responsibility of using the O_EXCL flag when necessary on to the
application developer.
Wed Jul 11 22:31:50 2001 Krishnakumar B <kitty@cs.wustl.edu>
* include/makeinclude/rules.local.GNU (clean.local):
Added ti_files to remove the template cache generated by KCC.
* ace/TLI_Acceptor.cpp(open_new_endpoint):
Fixed a small typo causing compilation errors under Tru64.
Wed Jul 11 13:06:33 2001 Steve Huston <shuston@riverace.com>
* tests/Log_Msg_Test.cpp: Changed the ostream test to close the
under-test ostream file before trying to open it and read the
contents. Avoids the "already open" error now that
ACE_FILE_Connector includes O_EXCL by default, and avoids any
potential file buffering issues reading an already-open file.
Wed Jul 11 08:31:02 2001 Jeff Parsons <parsons@cs.wustl.edu>
* tests/Dirent_Test.cpp:
Wrapped a string literal with ACE_TEXT, to get rid of a Win2000
WChar build error.
Wed Jul 11 06:41:43 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/TLI_Stream.cpp,
* ace/TLI_Connector.cpp,
* ace/TLI_Acceptor.cpp: Added enhancements so that the code would
work on Win32. Thanks to Andreas Geisler
<Andreas.Geisler@erl9.siemens.de> for reporting this.
Tue Jul 10 19:26:15 2001 Ossama Othman <ossama@uci.edu>
* ace/ace_dll.dsp:
Disabled generation of source browse information. It was
causing problems on some existing builds that didn't use it.
* ace/SSL/SSL_SOCK_Acceptor.cpp (ssl_accept):
Removed certificate verification code. It is up to the
application, not the ACE_SSL library, to perform proper
certificate verification.
Tue Jul 10 23:02:00 2001 Craig Rodrigues <crodrigu@bbn.com>
* tests/Log_Msg_Test.cpp:
Fix test so it doesn't open output file to write to twice.
Thanks to Ossama for finding it.
Tue Jul 10 19:10:19 2001 Steve Huston <shuston@riverace.com>
* ace/ace.icc: Corrected the mis-applied patch for ace.icc in
Mon Jul 09 19:12:42 2001 Steve Huston <shuston@riverace.com>
Tue Jul 10 16:01:52 2001 Ossama Othman <ossama@uci.edu>
* THANKS:
Added Sangeetha Ramadurai <Sangeetha.Ramadurai@geind.ge.com> to
the hall of fame.
Tue Jul 10 18:15:39 2001 Steve Huston <shuston@riverace.com>
* ace/WFMO_Reactor.cpp (event_handling): Move the logic for
noticing that the wait timed out, but did not expire any
timers, into this function. Will remove it from Reactor.cpp,
to properly move the fix into handle_events() rather than
needing to call run_reactor_event_loop to get it right.
* ace/Select_Reactor_T.cpp - still need to add similar logic here.
* ace/config-sunos5.6.h: Re the following:
Mon Jul 2 15:26:32 2001 Nanbor Wang <nanbor@cs.wustl.edu>
Replaced ACE_HAS_POSIX_SEM, and left ACE_LACKS_NAMED_POSIX_SEM out.
Solaris does indeed have POSIX semaphores in 2.6 and later, but
requires the changes to OS.i below to work right.
* ace/OS.h: For ACE_PROC_PRI_OTHER_MIN (and MAX), on HP-UX,
convert the HP-UX priority value to the POSIX range.
* ace/OS.i (ACE_OS::sema_init, named POSIX semaphore): On Solaris
and HP-UX, the name of a POSIX semaphore needs to start with
a slash (further restricted on Solaris). Enforce that here by
prepending a slash, or by chopping off parts of the name.
Tue Jul 10 16:08:04 2001 Krishnakumar B <kitty@cs.wustl.edu>
* include/makeinclude/platform_osf1_4.0.GNU:
Fixed the default flags so that it enables the user to override
settings. Now that the long pending fix to wrapper_macros.GNU is
through, this should work fine now.
Tue Jul 10 13:37:31 2001 Jeff Parsons <parsons@cs.wustl.edu>
* ace/OS_Dirent.cpp (readdir_emulation):
Removed the hard cast to char* of one of the two arguments in
a call to strcpy. In the WChar win32 build, this cast was
causing the source and target strings to be of different widths.
Tue Jul 10 11:32:26 2001 Tibor Kiss <tkiss@mindmaker.hu>
* ace/Log_Msg.cpp:
Completed the ACE_Log_Msg::close method with the
ACE_Thread::keyfree (log_msg_tss_key_) and key_created_ = 0; to
ensure restartability by multiple successive ACE::init and
ACE::fini calls. This fix prevent leaks from occurring when
ACE::init() and ACE::fini() are called multiple times.
Tue Jul 10 11:12:00 2001 Chris Gill <cdgill@cs.wustl.edu>
* ace/OS_Dirent.{h, inl}: refactored XDIR, dirent usage for pSOS -
user is no longer responsible for buffer deallocation after each
readdir call, only for passing the pointer returned from opendir
into closedir when all done. ACE_DIR structure is now used
consistently for all pSOS dirent calls.
Tue Jul 10 06:06:07 2001 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/Service_Repository.h: Updated the insert() comment to
clarify the return values. Thanks to Johnny Willemsen for
suggesting this.
* ace/Service_Repository.{h,i}: Made the current_size() and
total_size() methods const. Thanks to Johnny Willemsen for
suggesting this.
* ace/Service_Repository.h: Fixed a typo in the comments. Thanks
to Johnny Willemsen for reporting this.
Tue Jul 10 08:39:04 2001 Chad Elliott <elliott_c@ociweb.com>
* ace/config-vxworks5.x.h:
Added the macro ACE_LACKS_UNIX_SYSLOG.
Tue Jul 10 08:26:57 2001 Chad Elliott <elliott_c@ociweb.com>
* ace/Log_Msg_UNIX_Syslog.cpp:
Added a macro, ACE_LACKS_SETLOGMASK, for platforms that have
syslog, but don't have setlogmask().
* ace/config-chorus.h:
ChorusOS 4.0.1 happens to be one of them.
Tue Jul 10 09:00:12 2001 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/OS_Dirent.h
Made the member 'd_name' of the 'dirent' struct non-const, because
BCB had problems with it
Mon Jul 09 22:41:43 2001 Ossama Othman <ossama@uci.edu>
* include/makeinclude/wrapper_macros.GNU (exceptions):
Include platform_macros.GNU before the default for "exceptions"
is set. This fixes a problem where the default native
exceptions setting in platform_linux.GNU was not set due to the
fact that it was previously set in wrapper_macros.GNU. Thanks
to Hans Utz <hans.utz@informatik.uni-ulm.de> for tracking down
the problem.
Mon Jul 9 16:40:02 2001 Ossama Othman <ossama@uci.edu>
* ace/Dirent_Selector.cpp (ACE_Dirent_Selector):
Correct order of initialization of members to match order of
declaration. Fixes a warning issued from GCC.
* ace/Dirent_Selector.inl:
Added missing RCS ID keyword. Fuzz was whining about the lack
of it.
* ace/Dirent_Selector.h:
Corrected some Doxygen comments.
Mon Jul 09 19:12:42 2001 Steve Huston <shuston@riverace.com>
* ace/ace.icc: Added Log_Msg_UNIX_Syslog and Log_Msg_NT_Event_Log
modules to the LOGGING component. Added Dirent_Selector to the
UTILS component.
Mon Jul 9 15:59:56 2001 Joe Hoffert <joeh@cs.wustl.edu>
* ace/config-lynxos.h:
Added ACE_LACKS_MKSTEMP since LynxOS doesn't seem to have
this.
Mon Jul 9 15:28:29 2001 Jeff Parsons <parsons@cs.wustl.edu>
* ace/Dirent_Selector.cpp:
* ace/Dirent_Selector.h:
Added ACE_INLINE guards around inclusion of Dirent_Selector.inl.
* ace/ace_dll.dsp:
* ace/ace_lib.dsp:
Added Dirent_Selector.{h,i,cpp} to these projects.
Mon Jul 9 06:52:09 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/Makefile.bor (OBJFILES): Added the Dirent_Selector.obj file.
* tests/Dirent_Test.cpp: Integrated a new test for the
ACE_Dirent_Selector class.
* ace/Makefile (UTILS_FILES),
* ace/Dirent_Selector.h,
* ace/Dirent_Selector.inl,
* ace/Dirent_Selector.cpp: Added support for a C++ wrapper facade that
encapsulates ACE_OS_Dirent::scandir(). Thanks to Rich Newman for
contributing this, as well.
* ace/OS_Dirent.h,
* ace/OS_Dirent.inl,
* ace/OS_Dirent.cpp: Added support for the scandir() feature, which
makes it possible to selectively pick which files in a directory
to iterate over. Also fixed a bug in the emulation of dirent.
Thanks to Rich Newman <RNewman@directv.com> for contributing
these fixes.
Mon Jul 09 14:39:50 2001 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/OS.i (thr_getprio and thr_setprio): Changed these two
function such that if we are on Solaris and we have pthreads
enabled, we should use the pthread calls rather than the native
Solaris calls. The reasons for choosing the pthread calls is
due to following problems with the native calls:
- thr_getprio() is evil because on Solaris 5.8, a thread with
priority -20 (SCHED_OTHER) is reported to have priority 80.
- thr_setprio() is evil because it cannot set the negative
priorities on Solaris 5.8.
- Also, thr_setprio() cannot change the priority of a thread
with negative priority to a positive priority on Solaris 5.8
(even though there is no error reported and thr_getprio() shows
that the change happened but pthread_getschedparam() shows that
no change happened).
- In addition, suppose a thread of policy SCHED_RR or SCHED_FIFO
uses thr_setprio() to reset its priority, the priority will be
reset but the scheduling policy will be dropped to SCHED_OTHER.
This happens with both Solaris 5.7 and Solaris 5.8.
Mon Jul 9 13:33:43 2001 Joe Hoffert <joeh@cs.wustl.edu>
* include/makeinclude/wrapper_macros.GNU:
Change PACE path to start at $PACE_ROOT rather than $ACE_ROOT/PACE
since the latter is not as flexible. Defined PACE_ROOT if not
already defined. Also, added inclusion of PACE library for VxWorks
even when inlining since not all the PACE functions should be
inlined.
Mon Jul 09 10:59:22 2001 Ossama Othman <ossama@uci.edu>
* THANKS:
Added Mouna Seri <seri@crhc.uiuc.edu> to the hall of fame.
Mon Jul 9 11:10:44 2001 Jeff Parsons <parsons@cs.wustl.edu>
* ace/config-win32-msvc-5.h:
* ace/config-win32-msvc-6.h:
Added conditional definitions for ACE_LD_DECORATOR_STR
"mfc" and "mfcd" so that the MFC release and debug versions
of libraries can be dynamically loaded in the same way that
the non-MFC release and debug versions are. Thanks to
Francois Bernier <fbernier@gel.ulaval.ca> for suggesting
this enhancement.
Mon Jul 09 11:31:12 2001 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/pre.h
* include/makeinclude/compiler.bor
Removed the disabling of the compiler warning 'parameter never
used'. Unused parameters are handled by ACE_UNUSED_ARG macro.
A missing ACE_UNUSED_ARG is now shown as warning in the BCB build
log.
Sun Jul 08 11:26:23 2001 Ossama Othman <ossama@uci.edu>
* ace/OS.h (mkstemp):
* ace/OS.i (mkstemp):
New mkstemp() wrapper. It is assumed to be available on the
given platform, unless ACE_LACKS_MKSTEMP is defined.
* ace/FILE_Connector.h:
Added O_EXCL to the default flags. This is a security hole
fix.
* ace/FILE_Connector.cpp (connect):
If mkstemp() is available, then use it to create a temporary
file rather than mktemp() (via ACE_FILE_Addr) since mktemp() is
susceptible to a denial-of-service attack.
* ace/config-win32-common.h:
* ace/config-vxworks5.x.h:
mkstemp() is not supported on MS Windows and VxWorks. Define
ACE_LACKS_MKSTEMP in these headers.
Sun Jul 8 08:13:12 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/Select_Reactor_Base.h: Added a comment explaining what
the ACE_HAS_REACTOR_NOTIFICATION_QUEUE macro means. Thanks to
Kobi Cohen-Arazi <kobic@bvr.co.il> for motivating this.
Sat Jul 7 18:53:49 2001 Krishnakumar B <kitty@cs.wustl.edu>
* include/makeinclude/platform_osf1_4.0.GNU:
Revert the changes made to this file. Please see the file for a
lengthy description.
Fri Jul 06 21:53:26 2001 Christopher Kohlhoff <chris@kohlhoff.com>
* ace/config-win32-borland.h:
Reverted addition of ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION.
Fri Jul 6 19:55:23 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* examples/Reactor/Multicast: Adding the support for UNIX Syslog
broke this example because LOG_DEBUG was suddenly defined as a
macro (it's in syslog.h). I've fixed this by renaming the LOG_
enums to LM_ instead. Thanks to Bala for reporting this.
Fri Jul 06 20:23:41 2001 Steve Huston <shuston@riverace.com>
* ace/Refcoutned_Auto_Ptr.i (null): Change const_cast<> to
ACE_const_cast() to build on older compilers, like IBM C/C++ 3.6.6.
Fri Jul 06 20:13:29 2001 Steve Huston <shuston@riverace.com>
* netsvcs/lib/Name_Handler.cpp:
* netsvcs/lib/Server_Logging_Handler_T.cpp:
* netsvcs/lib/Token_Handler.cpp:
More ACE_DEBUG disables.
Fri Jul 6 15:55:54 2001 Ossama Othman <ossama@uci.edu>
* ace/OS.h (ACE_FD_SETSIZE):
Integrated patch from Jody Hagins <jody@atdesk.com>. Set the
default reactor file descriptor set size to be an integer
constant rather than a preprocessor constant. Some third party
software #undef FD_SETSIZE in their header files, causing build
problems in ACE.
Fri Jul 06 18:20:39 2001 Steve Huston <shuston@riverace.com>
* netsvcs/lib/Client_Logging_Handler.cpp: #if 0'd out a bunch of
ACE_DEBUG statements that aren't appropriate for use in commercial
logging. These can be #if 1'd if there's some doubt while debugging
this stuff, but they aren't useful once debugged, and are
distracting since they're interespersed with application records.
Fri Jul 6 13:40:20 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Log_Msg_UNIX_Syslog.cpp: Fixed a warning in g++.
Fri Jul 06 11:39:41 2001 Steve Huston <shuston@riverace.com>
* ace/INET_Addr.h: Clarified (and improved doxygenation) of
constructor and set() methods regarding byte orders.
* tests/Max_Default_Port_Test.icc: New file for this test.
* tests/tests.icp: Added Max_Default_Port_Test
Fri Jul 6 08:36:20 2001 Chad Elliott <elliott_c@ociweb.com>
* netsvcs/Makefile: Don't build this if ACE_COMPONENTS does not
contain Other. The netsvcs library requires Naming_Context.
Fri Jul 6 05:44:13 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
<<<<<<< ChangeLog
<<<<<<< ChangeLog
=======
* ace/Makefile (LOGGING_FILES): Added support for
Log_Msg_UNIX_Syslog.
>>>>>>> 4.2247
=======
>>>>>>> 4.2257
<<<<<<< ChangeLog
* ace/Makefile (LOGGING_FILES): Added support for
Log_Msg_UNIX_Syslog.
* ace/Log_Msg_UNIX_Syslog.{h,cpp}:
* ace/Log_Msg.cpp,
* ace/OS.h: Added support for a new UNIX syslog backend for the
ACE_Log_Msg class. Thanks to Jerry D. De Master
<jdemaster@rite-solutions.com> and Robert Davidson
<robert@rdavidson.freeserve.co.uk>.
* ace/SOCK_Dgram.h: Fixed a typo in one of the send() method
comments. Thanks to Alain Decamps <Alain.Decamps@PIDPA.be> for
reporting this.
<<<<<<< ChangeLog
=======
* ace/Log_Msg_UNIX_Syslog.{h,cpp}:
* ace/Log_Msg.cpp,
* ace/OS.h: Added support for a new UNIX syslog backend for the
ACE_Log_Msg class. Thanks to Jerry D. De Master
<jdemaster@rite-solutions.com> and Robert Davidson
<robert@rdavidson.freeserve.co.uk>.
* ace/SOCK_Dgram.h: Fixed a typo in one of the send() method
comments. Thanks to Alain Decamps <Alain.Decamps@PIDPA.be> for
reporting this.
>>>>>>> 4.2247
=======
>>>>>>> 4.2257
* ace/config-macosx.h: Added a new file courtesy of John
Zorko so that things will work on MacOSX.
Thu Jul 5 23:22:21 2001 Balachandran Natarajan <bala@cs.wustl.edu>
Fixes that were required for fixing bug 575. Merged in from
branch bug_575_stage_2.
Thu Jul 5 23:09:29 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/CDR_Stream.cpp (ACE_InputCDR): Fixed a long standing bug in
the branch. This caused the DSI_Gateway test to fail. The
problem was from setting the write pointer to a wrong position
during the construction.
Thu Jul 5 14:39:45 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* Merged with the main trunk and moved it to a new branch by name
bug_575_stage_2.
Thu Jun 28 15:25:07 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Reactor.h (ACE_Reactor):
* ace/Reactor.cpp: Added a new method resumable_handler () to the
reactor interface. This would indicate whether the application
can take advantage by resuming the handlers themselves or
not. Not all reactors can allow this feature.
* ace/Reactor_Impl.h:
* ace/Reactor_Impl.cpp: Added a pure virtual function so that all
the implementations can decide whether the handlers are
resumable or not.
* ace/Select_Reactor_Base.h:
* ace/Select_Reactor_Base.cpp:
* ace/TP_Reactor.h:
* ace/TP_Reactor.cpp:
* ace/WFMO_Reactor.h:
* ace/WFMO_Reactor.cpp:Implemented resumable_handlers ().
Sun Jun 24 11:25:07 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* Created this file. Got the whole stuff in ace to a new branch by
name bug_575_stage_1. This ChangeLog file will be in branch
bug_575.
Fri Jun 22 16:52:13 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/CDR_Stream.cpp: Changed the copy constructor for the
ACE_InputCDR's. Instead of duplicating the ACE_Data_Block we
now use the new copy constructor in the ACE_Message_Block.
* ace/Message_Block.h:
* ace/Message_Block.cpp: Added a new copy constructor to the
ACE_Message_Block. This copy constructor does a deep copy from
the data block if the data block of the incoming message block
is on the stack or does a shallow copy of the data block (by
incrementing the ref count) if it is on the heap.
END of entries from bug_575_stage_2.
Thu Jul 5 22:07:33 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* bin/auto_run_tests.lst: Added the new perl script in LongUpcalls
in the daily builds.
Thu Jul 5 20:36:00 2001 Craig Rodrigues <crodrigu@bbn.com>
* ace/config-win32-borland.h
define ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION
* tests/Token_Test.cpp
Fix template instantiation problem.
Wed Jul 4 15:35:47 2001 Joe Hoffert <joeh@cs.wustl.edu>
* tests/run_tests.vxworks:
Removed invocation of CDR_Array_Test. According to the ace
config files the compiler we are using is pre 2.8 (i.e.,
ACE_HAS_GNUG_PRE_2_8 is defined). Therefore don't run
CDR_Array_Test since the Makefile doesn't build it (due to
the ACE_HAS_GNUG_PRE_2_8 macro).
Wed Jul 04 14:26:10 2001 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Synch_T.h (class ACE_Acquire_Method): Moved the enums from
the Reverse Lock class into ACE_Acquire_Method, a non-template
class. These enums should have been inside the reverse lock
class, but some lame compilers cannot handle enums inside
template classes.
Wed Jul 04 12:43:22 2001 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Synch_T.i (ACE_Reverse_Lock): Fully specified the
ACE_ACQUIRE_METHOD type.
Tue Jul 3 15:43:25 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Select_Reactor_Base.cpp: Fixed a warning in g++.
Tue Jul 3 14:44:00 2001 Craig Rodrigues <crodrigues@bbn.com>
* ace/config-win32-common.h: Borland C++ apparently
does not support the "extern template class" Microsoft VC++
proprietary extension. Thanks to Chris Kohloff <chris@kohlhoff.com>
for the fix.
Tue Jul 03 12:26:33 2001 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Synch_T.h (class ACE_Reverse_Lock): Added a parameter to the
constructor of the reverse lock. The ACE_ACQUIRE_METHOD
parameter is used to indicate which acquire() method will be
called on the real lock when the release() method is called on
the reverse lock. REGULAR indicated the acquire() method, READ
indicates the acquire_read() method, and WRITE indicates the
acquire_write() method. Note that the try_*() methods are not
represented here because we have to make sure that the release()
method on the reverse lock acquires a lock on the real lock.
Thanks to Edan Ayal <edana@bandwiz.com> for suggesting this.
Tue Jul 3 06:20:13 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/Reactor.h,
* ace/Reactor_Impl.h,
* ace/Select_Reactor_Base.cpp,
* ace/Select_Reactor_Base.i,
* ace/Select_Reactor_Base.h,
* ace/WFMO_Reactor.cpp,
* ace/WFMO_Reactor.h: Added an enhancement that allows the
Reactor to selectively purge event handlers from its
notification queue according to their Reactor_Mask type. Thanks
to Edan Ayal <edana@bandwiz.com> for contributing this.
* tests/Reactor_Notify_Test.cpp (run_notify_purge_test):
Added a new set of tests for the new selective notification
purging features of the Reactor. Thanks to Edan Ayal
<edana@bandwiz.com> for contributing this.
* ace/WIN32_Asynch_IO.cpp: Removed the
ACE_WIN32_Asynch_Result (handler, act, event, 0, 0, priority,
signal_number), initializer since we no longer use virtual
inheritance. Thanks to Alexander Libman
<alexander.libman@baltimore.com> for reporting this.
* ace/WIN32_Asynch_IO.h: Removed the virtual inheritance from
ACE_WIN32_Asynch_Result for the ACE_Asynch_Read_Stream_Result
and ACE_Asynch_Read_Dgram_Result classes. Thanks to Alexander
Libman <alexander.libman@baltimore.com> for reporting this.
* ace/Refcounted_Auto_Ptr.h: Made the destructor of
ACE_Refcounted_Auto_Ptr virtual so that users can override it
locally. Thanks to Jenny Kowald <jkowald@oz.agile.tv> for
reporting this.
Tue Jul 3 09:40:59 2001 Chad Elliott <elliott_c@ociweb.com>
* include/makeinclude/platform_osf1_4.0.GNU:
* include/makeinclude/platform_osf1_4.0_g++.GNU:
Allow users to set options like debug, exceptions, ... without
using override.
Tue Jul 3 08:38:47 2001 Jeff Parsons <parsons@cs.wustl.edu>
* examples/Reactor/Proactor/test_dup_proactor.dsp:
Fixed a mistake in the link to the ACE library.
Mon Jul 2 16:23:04 2001 Jeff Parsons <parsons@cs.wustl.edu>
* examples/Reactor/Proactor/test_multiple_loops.dsp:
* examples/Reactor/Proactor/test_proactor.dsp:
* examples/Reactor/Proactor/test_proactor.dsw:
* examples/Reactor/Proactor/test_timeout.dsp:
* examples/Reactor/Proactor/test_udp_proactor.dsp:
Fixed settings on release version of test_udp_proactor.dsp,
added it to the workspace, and removed unused file folders
from the FileViews of the other projects.
Mon Jul 2 15:26:32 2001 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/config-sunos5.6.h: Removed ACE_HAS_POSIX_SEM and
ACE_LACKS_NAMED_POSIX_SEM. Thanks to Glenn Popelka
<gpp@gpopelka.com> for helping track this down.
Mon Jul 02 11:45:57 2001 Ossama Othman <ossama@uci.edu>
* bin/make_release:
Disabled bootstrapping of ACE's autoconf support. It isn't
ready for general use. Doing so reduces the amount of
confusion. Thanks to Holger P. Krekel <krekel@merlinux.de> for
motivating this change.
Mon Jul 2 13:18:14 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* Moved ACE-configurations.txt into the docs directory. Also
removed the hopelessly out of date BIBLIOGRAPHY file.
* Moved all the ChangeLog-* files into the new ChangeLogs
directory. Thanks to Holger P. Krekel <krekel@merlinux.de> for
this suggestion.
Mon Jul 02 11:20:52 2001 Ossama Othman <ossama@uci.edu>
* config.guess:
* config.sub:
Updated to the latest versions from the GNU FTP site.
Mon Jul 02 11:30:20 2001 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Synch_T.i: Since the release() method on the reverse lock
calls the simple acquire() method on the real lock, it is
assumed that it is a simple acquire/release protocol with the
real lock. Therefore, I think all the other methods on the
reverse lock tryacquire(), acquire_read(), acquire_write(),
tryacquire_read(), tryacquire_write(), and
tryacquire_write_upgrade() should not be allowed. This falls in
line with the original concept of using reverse locks with
regular guards.
Thanks to Edan Ayal <edana@bandwiz.com> for pointing this out.
Mon Jul 2 11:17:37 2001 Chad Elliott <elliott_c@ociweb.com>
* ace/Profile_Timer.cpp:
Cleaned up the conditional macros. Added method bodies for
ACE_Profile_Timer::get_rusage() and
ACE_Profile_Timer::elapsed_rusage() when neither ACE_HAS_PRUSAGE_T
nor ACE_HAS_GETRUSAGE is defined.
* Reverted the reverted changes in this entry.
"Fri Jun 29 22:31:56 2001 Balachandran Natarajan
<bala@cs.wustl.edu>". These changes are ok, I just
needed to fix the bug in Profile_Timer.cpp.
Mon Jul 2 09:40:45 2001 Chad Elliott <elliott_c@ociweb.com>
* include/makeinclude/platform_aix_ibm.GNU:
Add the output filter to the linker to avoid the duplicate symbol
warnings on AIX.
Mon Jul 2 05:40:54 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/Logging_Strategy.cpp: Enhanced the code so that it works with
ACE_LACKS_IOSTREAM_TOTALLY. Thanks to Nir Drang <nir@bandwiz.com>
and Edan Ayal <edana@bandwiz.com> for reporting this.
* ace/SPIPE_Addr.cpp (set): Added a "+ 1" to the computation of
the size of the SPIPE_Addr to account for the trailing NUL.
Thanks to Oren Zeev-Ben-Mordehai <oren@phonedo.com> for
reporting this.
* ace/Refcounted_Auto_Ptr.{h,i}: Added support for a "null()"
method to check if a refcounted auto ptr is NULL. Thanks to
Jenny Kowald <jkowald@oz.agile.tv> for reporting this.
* ace/config-macosx.h,
* ace/platform_macosx.GNU: Enhanced these files to support MacOSX.
Thanks to John Zorko <j.zorko@att.net> for contributing this.
* ace/Synch.h: Fixed the Doxygen documentation for all the
removed_ fields, which where somehow messed up. Thanks to
Johnny Willemsen for reporting this.
Sun Jul 1 11:49:13 2001 Alexander Libman <alexander.libman@baltimore.com>
* ace: Enhanced the POSIX and Sun Proactor implementations as
follows:
. POSIX_SIG_Proactor is now based on POSIX_AIOCB_Proactor
. All classes ACE_POSIX_SIG_Asynch_XXXX are removed.
POSIX_SIG_Proactor uses the ACE_POSIX_AIOCB_Asynch_XXXX
classes now.
. ACE_POSIX_AIOCB_Proactor::register_and_start_aio (...)
now calls a new virtual method: int
ACE_POSIX_AIOCB_Proactor::allocate_aio_slot
(ACE_POSIX_Asynch_Result *result).
. The strategy of free slot allocation in SIG_Proactor is
a bit different from AIOCB and SUN Proactors. The
allocate_aio_slot() method is responsible for setting
notification information for aio request
(SIGEV_NONE/SIGEV_SIGNAL). For SIG_Proactor, the field
aio_sigevent.sigev_value.sival_int now contains index of aiocb
in the aiocb_list_, not a pointer.
. The ACE_POSIX_AIOCB_Proactor::find_completed_aio (int &error_status,
int &return_status, size_t
&index, size_t &count)
parameter index defines initial slot to scan and the new
parameter count tells us maximum number slots to scan. On
return: index contains value to start scan next time, count
contains remained number of slots. Scanning is performed in
"wheel" style to allow all requests be handled with equal
priorities.
. ACE_POSIX_AIOCB_Proactor::check_max_aio_num () checks for
max_number_files to open and tries to setup max_number_files
equal to aiocb_max_size_. if we failed than cut off
aiocb_max_size_ value to existing max_number_files.
. POSIX_Proactor added member int os_id_ and constructor sets up
os_id_ (compilation time + run_time function) to know
OS(Sun/HP/Linux/...) and version. We need such info for
POSIX_SIG_Proactors to take into account the behavior of
different OS.
. Delivery of simulated/"post_completed" Asynch_Results
(Timers, AsynchAccept,Wakeup ...). As both Proactors have no
reliable mechanizm for delivery "post_completed" results, so
the reliable queue of "post_completed" results was
implemented. The new member of AIOCB Proactor
ACE_Unbounded_Queue<ACE_POSIX_Asynch_Result *> result_queue_
has been added. Also added protected methods to the
ACE_POSIX_AIOCB_Proactor.
. We had an error in all previous versions (from major ACE 5.1):
post_completion (int how_many) does not guarantee that all
completions will be delivered to the different threads running
event_loop (sometimes several completions could be delivered
to the one thread, in another thread performs during long time
application_spesific_code ()). Moreover, you can run now
Proactor event_loop in any number of threads (more than
SIGQUEMAX).
Sun Jul 1 11:49:13 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* examples/Reactor/Proactor: Integrated a test that exercises the
support for asynchronous UDP operations. Thanks to Roger Tragin
<r.tragin@computer.org> for contributing this.
* ace/Synch_T.i: Changed the implementations of all the
acquire*() method to call release(). Thanks to Edan Ayal
<edana@bandwiz.com> for reporting this.
Sat Jun 30 12:44:11 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* examples/Connection/blocking/SPIPE-acceptor.cpp: Added better
support for shutting down the server when a signal occurs.
Thanks to Rich Newman <RNewman@directv.com> for this
enhancement.
|