12009-05-11 Christian Persch <chpe@gnome.org> 2 3 * linc2/src/linc-connection.c: (link_connections_close): Convert 4 a FIXME g_warning into a code comment. Bug #581914. 5 6========================== 2.14.17 ======================== 7 82009-01-09 Fridrich Strba <fridrich.strba@bluewin.ch> 9 10 * configure.in: Add a warning saying that the borked-linking-test 11 could not be run when cross-compiling. 12 * configure.in, Makefile.shared: allow to specify an external idl 13 compiler during the build so that we can use the native compiler while 14 cross-compiling. The fallback is the current situation, the internal 15 idl compiler is used. 16 172009-01-09 Fridrich Strba <fridrich.strba@bluewin.ch> 18 19 * configure.in: add fallback action to AC_TRY_RUN to allow cross- 20 compiling since that one is not possible to override with config.cache 21 file. 22 232009-01-05 Tor Lillqvist <tml@novell.com> 24 25 Bug 547885 - ORBit2 should not call g_thread_init() itself as it 26 is usually too late 27 28 The change to linc2 mentioned in the below ChangeLog entry has 29 been reverted. I didn't bother to revert the corresponding changes 30 to src/orb/GIOP/giop.c and the test programs, they are harmless 31 even with the reverted linc2 behaviour. And I still think that it 32 is more correct to call g_thread_init() from main() in an 33 ORBit2-using program, even if it happens to work not to do it, at 34 least on Linux. 35 362008-12-15 Tor Lillqvist <tml@novell.com> 37 38 Bug 547885 - ORBit2 should not call g_thread_init() itself as it 39 is usually too late 40 41 * src/orb/GIOP/giop.c (giop_init): Don't assume that link_init() 42 managed to actually take threads into use if requested to. See 43 linc2/ChangeLog. Check with giop_thread_safe(). 44 45 * test/everything/client.c (main) 46 * test/everything/server.c (main) 47 * test/poa/poatest-basic-shell.c (main) 48 * test/test-corbaloc.c (main) 49 * test/test-dynany.c (main) 50 * test/test-giop.c (main) 51 * test/test-mem.c (main) 52 * test/test-performance.c (main) 53 * test/timeout-client.c (main) 54 * test/timeout-server.c (main): Call g_thread_init(NULL). 55 562008-12-09 Kjartan Maraas <kmaraas@gnome.org> 57 58 * src/services/imodule/orbit-imodule-libidl-utils.h: 59 * src/services/imodule/orbit-imodule-utils.h: 60 * test/everything/client.c: (wait_until_done): 61 Fix glib single includes. Patch from Przemysław Grzegorczyk. 62 Closes bug #563700. 63 642008-12-01 Jules Colding <colding@42tools.com> 65 66 * src/orb/orb-core/corba-any.c (ORBit_sequence_remove): 67 Submitted on behalf of Stian Skjelstad <stian@nixia.no>. 68 Fixes #552690. 69 702008-10-17 Cosimo Cecchi <cosimoc@gnome.org> 71 72 * configure.in: 73 Enforce deprecated CFLAGS only under maintainer mode. 74 752008-10-17 Cosimo Cecchi <cosimoc@gnome.org> 76 77 * configure.in: 78 * src/idl-compiler/orbit-idl-main.c: 79 * src/orb/orb-core/orbit-small.c: 80 * src/orb/orb-core/orbit-typelib.c: 81 * src/orb/poa/poa-macros.h: 82 * src/orb/poa/poa-private.h: 83 * src/orb/util/orbit-purify.h: 84 * src/services/name/boot.c: 85 Use and enforce single GLib includes. 86 872008-10-03 Kjartan Maraas <kmaraas@gnome.org> 88 89 * src/idl-compiler/orbit-idl-c-utils.c: (orbit_cbe_write_typespec), 90 (orbit_cbe_write_param_typespec_raw): 91 * src/orb/orb-core/corba-orb.c: Fix missing format specifiers 92 and const. Closes bug #554564. 93 942008-09-26 Tor Lillqvist <tml@novell.com> 95 96 * src/orb/orb-core/corba-orb.c [Win32]: A DllMain() function 97 shouldn't really call functions in other DLLs. Just save the 98 HMODULE of the libORBit-2 DLL. Don't calculate the typelib 99 directory and system rcfile paths in DllMain(), do it as needed in 100 separate functions. Simplyfy code by using 101 g_win32_get_package_installation_directory_of_module(). 102 103 * src/orb/orb-core/orb-core-private.h 104 * src/orb/util/orbit-options.c: Corresponding changes. 105 1062008-09-16 Kjartan Maraas <kmaraas@gnome.org> 107 108 * NEWS: Updated. 109 * configure.in: Bump again. 110 111======================= 2.14.16 ============================ 112 1132008-09-16 Jules Colding <colding@42tools.com> 114 115 * src/orb/orb-core/corba-orb.c (ORBit_ORB_start_servers): 116 The ORBNetID option was not consistent in relation to 117 ORBIIOPIPName. This fix ensures that ORBIIOPIPName always 118 takes precedence. It also fixed the fact that the given 119 ORBNetID was not applied to all part of the profile, 120 specifically not the IOP_TAG_INTERNET_IOP part. 121 1222008-09-16 Kjartan Maraas <kmaraas@gnome.org> 123 124 * configure.in: Post release bump. 125 126======================= 2.14.15 ============================ 127 1282008-09-16 Kjartan Maraas <kmaraas@gnome.org> 129 130 * NEWS: Update for release. 131 * test/everything/client.c: Remove suspect code causing 132 critical warnings in g_print(). 133 1342008-09-04 Jules Colding <colding@42tools.com> 135 136 * src/orb/orb-core/corba-loc.c (ORBit_corbaloc_parse): 137 Fix memory leaks. 138 1392008-08-28 Kjartan Maraas <kmaraas@gnome.org> 140 141 * src/orb/orb-core/Makefile.am: Fix a possible infinite 142 make loop with parallel make. Diego Pettenò. Closes 143 bug #549693. 144 145======================== 2.14.14 ============================ 146 1472008-08-11 Mike Gorse <mgorse@novell.com> 148 149 * src/orb/GIOP/giop.c (giop_tmpdir_init): use ORBIT_SOCKETDIR 150 to propagate the socket dir to children wherever possible: has 151 two benefits: speeds up ORBit2 launch, and allows root owned 152 apps to talk to the user's AT. 153 1542008-08-06 Jules Colding <colding@42tools.com> 155 156 * test/ior-decode.c (main): Fix terminology. The ID previously 157 known as the "Object ID" is really the "Interface Repository ID". 158 1592008-07-18 Michael Meeks <michael.meeks@novell.com> 160 161 * test/typelib-dump.c (dump_tc): remove redundant code 162 causing warnings - thanks JP. 163 1642008-06-23 Kjartan Maraas <kmaraas@gnome.org> 165 166 * src/services/imodule/Makefile.am: 167 * test/everything/Makefile.am: 168 Patch from <dmacks at netspace org> to fix 169 compile failures from passing global -I flags 170 before local ones. Closes bug #538514. 171 1722008-06-04 Tor Lillqvist <tml@novell.com> 173 174 Bug 536505 - Error building 2.14.13 - implicit declaration of 175 function '_strnicmp' 176 177 * src/orb/orb-core/orbhttp.c: Use g_ascii_strncasecmp() instead of 178 strncasecmp() or _strnicmp(). _strnicmp() is Microsoft-specific and 179 was introduced in this file by accident in the patch for bug 180 524061 below. But actually, you shouldn't be using --enable-http. 181 182================================ 2.14.13 ============================ 183 1842008-05-29 Christian Persch <chpe@gnome.org> 185 186 * src/idl-compiler/orbit-idl-backend.h: 187 * src/services/imodule/orbit-imodule.h: 188 * include/orbit/util/basic_types.h: Include <glib.h> instead of single 189 headers. Bug #535474. 190 1912008-05-25 Tor Lillqvist <tml@novell.com> 192 193 * src/orb/poa/poa.c: Include <config.h> before checking HAVE_UNISTD_H. 194 195 * src/orb/orbit-init.c 196 * src/orb/poa/poa.c 197 * src/orb/util/genrand.c: Windows does have a getpid() in its C 198 library. It's just declared in <process.h> and not <unistd.h> 199 (which doesn't even exist with MSVC), so include <process.h> on 200 Windows instead of using a #define getpid() GetCurrentProcessId(). 201 2022008-05-20 Tor Lillqvist <tml@novell.com> 203 204 Bug 524058 - Patch: fix ORBit2 idl-compiler so it compiles with MSVC. 205 206 * src/idl-compiler/orbit-idl-c-backend.h 207 * src/idl-compiler/orbit-idl-c-skelimpl.c 208 * src/idl-compiler/orbit-idl-main.c 209 * src/idl-compiler/orbit-idl3-types.h: Patch by Marcelo 210 Vanzin. Remove unnecessary inclusions of <unistd.h>. Surround 211 those left with ifdefs. 212 2132008-05-19 Tor Lillqvist <tml@novell.com> 214 215 Bug 524061 - Patch: fix ORBit2 so it compiles with MSVC. 216 217 * src/orb/poa/poa.c 218 * src/orb/poa/orbit-adaptor.c 219 * src/orb/orbit-init.c 220 * src/orb/orb-core/orbhttp.c 221 * src/orb/orb-core/orbit-small.c 222 * util/genrand.c 223 * GIOP/giop-connection.c: Patch by Marcelo Vanzin. Add 224 HAVE_UNISTD_H and HAVE_SYS_TIME_H ifdefs. Define replacements for 225 getpid() and pid_t. 226 2272008-05-08 Tor Lillqvist <tml@novell.com> 228 229 * src/orb/orb-core/orbit-trace.c (ORBit_trace_value) 230 * src/orb/GIOP/giop.c (giop_thread_free): Re-indent Michael's 231 changes from yesterday. 8-column tab stops are used here. 232 2332008-05-07 Michael Meeks <michael.meeks@novell.com> 234 235 * src/orb/orb-core/orbit-trace.c (ORBit_trace_value): 236 slow down, but substantially improve string printing in 237 debugging, and add ORBIT2_DEBUG_STRMAX for long strings. 238 239 * src/orb/GIOP/giop.c (giop_thread_free): armour against 240 double thingits; and NULL the giop_main_thread as we free 241 it: from nasty problems having shut-down the 'main' thread 242 in yast, and started doing calls from another non-main thread. 243 2442008-04-24 Jules Colding <colding@42tools.com> 245 246 * test/timeout-client.c (object_ref_from_file): Add terminating 247 null character to IOR string. Furthermore corrected the name of 248 the IOR file. 249 2502008-02-01 Kjartan Maraas <kmaraas@gnome.org> 251 252 * test/poa/poatest-exception.h: Fix warning from gcc 4.3. 253 254========================== 2.14.12 ======================== 255 2562008-01-29 Christian Persch <chpe@gnome.org> 257 258 * src/orb/orb-core/corba-typecode.c: (tc_dec): Use G_STRFUNC, since 259 G_GNUC_FUNCTION was deprecated. 260 2612008-01-25 Kjartan Maraas <kmaraas@gnome.org> 262 263 * NEWS: Forgot to commit this. 264 * configure.in: Post release bump. 265 266========================== 2.14.11 ======================== 267 2682008-01-11 J. Specht <j.specht@z-extern.com> 269 270 * src/orb/orb-core/corba-object.c (CORBA_Object__imethods): 271 fix broken method name lengths - all off by one. 272 2732007-11-12 Jules Colding <colding@omesc.com> 274 275 * src/orb/orb-core/corba-any.c (giop_byteswap): This function is only 276 used in this file so there is really no need to keep giop-endian.[ch] 277 around any more. 278 2792007-10-30 Tor Lillqvist <tml@novell.com> 280 281 * test/timeout-server.c (create_ipv4_orb): Drop unnecessary 282 zeroing of the argv as the code below assigns all elements of it 283 anyway. And the third argument to memset() was wrong. 284 2852007-10-29 Tor Lillqvist <tml@novell.com> 286 287 * include/orbit/GIOP/giop-connection.h 288 * src/orb/orb-core/orbit-small.c (ORBit_small_connection_unref): 289 Adapt to change of prototype of link_connection_ref() and 290 link_connection_unref(). 291 2922007-10-17 Tor Lillqvist <tml@novell.com> 293 294 * test/timeout.sh: Use the killall command only on Linux. On 295 Solaris, for instance, the killall command does something 296 different... On other systems ask the user to manually kill the 297 timeout-server and/or lt-timeout-server processes. 298 2992007-10-15 Kjartan Maraas <kmaraas@gnome.org> 300 301 * configure.in: Post release bump. 302 303============================ 2.14.10 ======================= 304 3052007-10-15 Kjartan Maraas <kmaraas@gnome.org> 306 307 * docs/devel/Makefile.am: Dist more docs. 308 3092007-10-15 Kjartan Maraas <kmaraas@gnome.org> 310 311 * NEWS: Update for 2.14.10. 312 * src/orb/GIOP/giop-connection.c: (giop_connection_initiate): 313 * src/orb/poa/poa.c: Compiler warning fixes 314 3152007-09-27 Tor Lillqvist <tml@novell.com> 316 317 * src/orb/GIOP/giop-recv-buffer.c (giop_recv_buffer_get): Fix 318 typo: Pass correct pointer to giop_connection_unref(). (#480770) 319 3202007-09-25 Jules Colding <colding@omesc.com> 321 322 * test/timeout-server.c (main): Do not write more into the 323 IOR file than really needed 324 325 * test/timeout-client.c (main): Fix memory leaks 326 (object_ref_from_file): Do not allocate more memory than 327 really needed 328 3292007-09-24 Jules Colding <colding@omesc.com> 330 331 * ORBit2: Add G_OBJECT() casts to all cases of g_unref_object() 332 333 * ORBit2: Removed ORBIT_DEBUG_CFLAGS from all Makefile.am's. 334 Instead appended the debug flags directly to CFLAGS in 335 configure.in. The debug flags would otherwise be masked by 336 CFLAGS and have next to no effect in terms of debug symbols. 337 338 * ORBit2: It is now possible to use the ORBNetID command 339 line option to specify a specific NIC to be used by ORBit2 340 when creating externally visible objects. This is supported 341 by adding LINK_NET_ID_IS_CUSTOM to the LinkNetIdType enum 342 type. Previously the first NIC which wasn't "127.0.0.1" was 343 unconditionally used. 344 345 The ORBNetID argument must be of a format that is compatible 346 to the address format that is returned by inet_ntoa(3) on a 347 return value of the SIOCGIFCONF ioctl. A specific IP address, 348 such as '192.168.2.45', would be an acceptable format. 349 350 The previous behavior of just using the first non "127.0.0.1" 351 NIC is maintained if the net id isn't LINK_NET_ID_IS_CUSTOM. 352 353 If, on the other hand, the net id is LINK_NET_ID_IS_CUSTOM then 354 the used NIC will be: 355 356 1) The net id specified but only if it is found in the interface 357 list as returned by SIOCGIFCONF. 358 359 2) If the requested net id isn't found in the list then it will 360 be the last non "0.0.0.0" addressed NIC in said list. This may 361 or may not be "127.0.0.1". 362 363 I considered if we should use assert() if the specified net id 364 isn't found or if it is invalid, but I decided against it on the 365 grounds that not doing so is more in line with current behavior. 366 367 * src/orb/orb-core/corba-orb.c (ORBit_ORB_start_servers): 368 Support the new LINK_NET_ID_IS_CUSTOM functionality 369 3702007-09-24 Jules Colding <colding@omesc.com> 371 372 * src/orb/orb-core/orbit-small.c (async_recv_cb): 373 Set CORBA_TIMEOUT exception if state is LINK_TIMEOUT 374 3752007-09-22 Jules Colding <colding@omesc.com> 376 377 * configure.in: Added -O0 to ORBIT_DEBUG_CFLAGS. 378 TODO: Still need to fix the debug CFLAGS so that they are 379 effective in the Makefile.am's. 380 381 * src/orb/GIOP/giop-connection.c (giop_connection_close): 382 Added a check for the link being in LINK_TIMEOUT state. Not 383 doing this would result in link_connection_finalize() being 384 invoked twice for the same link. We can not have that... 385 386 * src/orb/GIOP/giop-recv-buffer.c (giop_recv_buffer_get): 387 Use giop_connection_unref() instead of linc_connection_unref() 388 as we really are manipulating a GIOPConnection not a LinkConnection. 389 (giop_timeout): Use the giop_connection_(un)ref() functions. Same 390 reasoning as above. 391 Do not call link_connection_state_changed() or giop_incoming_signal_T() 392 if the link is in the LINK_DISCONNECTED state. Doing so would make 393 link_connection_state_changed() very unhappy (invalid read of size 1). 394 395==================== ORBit2-2.14.9 ===================== 396 3972007-09-17 Kjartan Maraas <kmaraas@gnome.org> 398 399 * test/Makefile.am: Clean iorfile to make distcheck happy. 400 4012007-08-31 Jules Colding <colding@omesc.com> 402 403 * src/orb/GIOP/giop-recv-buffer.c (giop_recv_buffer_get): Make sure 404 nothing is NULL before referencing it 405 4062007-08-22 Jules Colding <colding@omesc.com> 407 408 * src/orb/GIOP/giop-recv-buffer.c (giop_timeout_add): 409 Use LinkConnection native ref function instead of g_object_ref() 410 (giop_recv_buffer_get): Use LinkConnection native unref function 411 instead of g_object_unref() 412 (giop_timeout): Use LinkConnection native unref function instead 413 of g_object_unref() 414 415 * configure.in: Fix 'if test' statement 416 4172007-08-14 Jules Colding <colding@omesc.com> 418 419 * src/orb/GIOP/giop-send-buffer.c (giop_send_buffer_write): Do 420 not enter giop_timeout_add() if a timeout is already present. This 421 check is not thread safe, but the additional check in giop_timeout_add() 422 is. 423 424 * src/orb/GIOP/giop-recv-buffer.c (giop_timeout_add): Fix 425 race when creating the timeout mutex. 426 Do not depend on the dynamically created "struct timeout_thread_data". 427 The right thing to do is to pass the connection directly and add an 428 additional member to the LincConnection to hold the GIOPThread. 429 (giop_timeout): Correct to use new input data (LincConnection*). 430 (giop_recv_buffer_get): Fix memory leak. 431 4322007-08-07 Tor Lillqvist <tml@novell.com> 433 434 * test/timeout_impl.c (impl_Timeout_ping): Use g_usleep() instead 435 of sleep() for portability. (#464094, Andreas Köhler) 436 4372007-07-26 Gustavo J. A. M. Carneiro <gjc@gnome.org> 438 439 * configure.in: Post-release version bump. 440 441======================= ORBit2-2.14.8 ========================= 442 4432007-07-25 Jules Colding <colding@omesc.com> 444 445 * test/timeout-client.c (main): Silence timeout testing somewhat 446 447 * test/timeout-server.c (create_ipv4_orb): 448 Removed non-working ORBNetID option. Use default instead. 449 450 * test/timeout-client.c (create_timeout_orb): 451 Simplified regression client 452 4532007-07-07 Gustavo J. A. M. Carneiro <gjc@gnome.org> 454 455 * test/Makefile.am (EXTRA_DIST): Add timeout.sh. 456 4572007-07-07 Jules Colding <colding@omesc.com> 458 459 * test/timeout-client.c (main): Don't use g_error(), use g_print() 460 461 * test/timeout-server.c (main): Don't use g_error(), use g_print() 462 4632007-07-07 Gustavo J. A. M. Carneiro <gjc@gnome.org> 464 465 * test/Makefile.am (EXTRA_DIST): Add timeout_impl.c to dist. 466 4672007-07-07 Jules Colding <colding@omesc.com> 468 469 * test/timeout-client.c (main): abort() ==> _exit(EXIT_FAILURE) 470 4712007-07-04 Vincent Untz <vuntz@gnome.org> 472 473 * src/orb/orb-core/orbit-small.c: (ORBit_small_invoke_stub): 474 initialize the exception sooner. This fixes a crash where the 475 exception was used without having been initialized (bug #452428) 476 4772007-03-18 Brian Cameron <Brian.Cameron@sun.com> 478 479 * linc2/src/linc-protocols.c: Now always set the 480 LINC_PROTOCOL_NEEDS_BIND flag in the 481 static_link_protocols array for both IPv4 and IPv6 482 This is needed on Solaris because bind is needed to 483 open the ports securely when ORBLocalOnly is being 484 used. The maintainers decided that it would be best 485 to simply turn the flag on for all platorms rather 486 than support complicated ifdefs since this should not 487 cause any issues. Fixes bug #422908. 488 4892007-02-28 Kjartan Maraas <kmaraas@gnome.org> 490 491 * include/orbit/dynamic/dynamic.h: Header guards. 492 * src/orb/dynamic/dynany.c: (DynamicAny_DynStruct_get_members), 493 (DynamicAny_DynStruct_set_members): 494 * src/orb/orb-core/corba-any.c: (ORBit_marshal_value), 495 (ORBit_demarshal_value), (ORBit_copy_value_core), 496 (ORBit_value_equivalent): Fix pointer arithmetic. Patch 497 from Roland Illig. Closes bug #410002. 498 * src/orb/poa/orbit-adaptor.c: (ORBit_forw_bind_find): 499 Fix a warning I introduced with the assert splitup. 500 5012007-02-27 Kjartan Maraas <kmaraas@gnome.org> 502 503 * src/orb/GIOP/giop-connection.c: (giop_connection_get_type): 504 * src/orb/GIOP/giop-server.c: (giop_server_get_type): 505 * src/orb/orb-core/corba-orb.c: 506 * src/services/name/orbit-name-server.c: 507 * test/everything/anyServer.c: 508 * test/everything/arrayServer.c: 509 * test/everything/basicServer.c: 510 * test/everything/contextServer.c: 511 * test/everything/deadReference.c: 512 * test/everything/derivedServer.c: 513 * test/everything/sequenceServer.c: 514 * test/everything/unionServer.c: 515 * test/test-mem.c: More removal of unneeded trailing 516 commas. 517 518======================= ORBit2-2.14.7 ========================== 519 5202007-02-20 Kjartan Maraas <kmaraas@gnome.org> 521 522 * MAINTAINERS: Add myself here. 523 5242007-02-14 Kjartan Maraas <kmaraas@gnome.org> 525 526 * src/orb/GIOP/giop.c: (giop_thread_key_add_T): 527 * src/orb/poa/orbit-adaptor.c: (ORBit_forw_bind_find): 528 Split up some asserts to make debugging a bit easier. 529 Related to bug #378454. 530 531======================= ORBit2-2.14.6 ========================== 532 5332007-02-09 Sebastien Bacher <seb128@ubuntu.com> 534 535 * src/orb/orb-core/corba-orb.c: (CORBA_ORB_destroy): 536 - explicitly set variable for better debugging, patch by Kees Cook 537 5382007-01-24 Brian Cameron <Brian.Cameron@sun.com> 539 540 * configure.in, ORBit-2.0-uninstalled.pc.in, 541 ORBit-CosNaming-2.0-uninstalled.pc.in, 542 ORBit-imodule-2.0-uninstalled.pc.in: Add uninstalled.pc files. 543 544======================= ORBit2-2.14.5 ========================== 545 5462007-01-11 Kjartan Maraas <kmaraas@gnome.org> 547 548 * configure.in: Remove -std=gnu89 from the compiler flags since it 549 breaks on some compilers. Closes bug #393329. 550 5512007-01-11 Kjartan Maraas <kmaraas@gnome.org> 552 553 * src/idl/interop/conv_frame.new.idl: 554 Nuke this file since hasn't been distributed since the dawn of time. 555 5562007-01-09 Tor Lillqvist <tml@novell.com> 557 558 * src/idl/interop/CONV_FRAME.idl 559 * src/idl/interop/conv_frame.new.idl: Rename CONV_FRAME.idl to 560 conv_frame.new.idl. File names that differ only in case prevent 561 checking out from SVN on Windows. (In CVS there was just a 562 warning.) The CONV_FRAME.idl file wasn't used anywhere else, so 563 this should be safe. (conv_frame.idl, on the other hand, is 564 included from src/orb/orb-core/iop-defs.idl.) Actually, is this 565 file needed at all? It isn't even distriubted. 566 5672007-01-02 Rodrigo Moya <rodrigo@novell.com> 568 569 Fixes #328701 570 571 * include/orbit/orb-core/corba-orb.h: removed #ifdef ORBIT2_EXTENSIONS 572 guard. 573 5742006-12-20 Kjartan Maraas <kmaraas@gnome.org> 575 576 * src/idl-compiler/orbit-idl-c-common.c: (cc_output_iargs), 577 (cc_output_method), (cc_output_base_itypes), (cc_output_itypes): 578 * src/idl-compiler/orbit-idl-c-typecode.c: 579 (orbit_output_tcstruct_name), (orbit_output_tcstruct_repo_id): 580 More constification fixes. Patch from Jody Goldberg. Closes 581 bug #81892. 582 583======================= ORBit2-2.14.4 =========================== 584 5852006-12-18 Kjartan Maraas <kmaraas@gnome.org> 586 587 * configure.in: Release 2.14.4. 588 5892006-12-12 Christian Persch <chpe@cvs.gnome.org> 590 591 * autogen.sh: 592 * configure.in: 593 Don't use deprecated autoconf macros. Use AM 1.9. Bug #383527. 594 5952006-12-05 Jules Colding <colding@omesc.com> 596 597 * ORBit2: The previous two ChangeLog entries are hiding a lot of 598 details which I'll hereby try to expand upon. 599 600 The rationale for these changes is that any and all occurrences of 601 g_cond_wait() in ORBit2 has the potential to block forever if it 602 waits for a connection attempt to complete if said connection 603 attempt is made towards a remote server which happens to be 604 physically disconnected or powered off. 605 606 This blocking behavior can be demonstrated by invoking an operation 607 on a remote object that is physically inaccessible such as when 608 the remote server is powered down or physically disconnected. 609 610 Pseudo code: 611 612 { 613 CORBA_ORB orb = get_orb(); 614 char *objref = get_corbaloc_str(); 615 CORBA_Object obj = CORBA_OBJECT_NIL; 616 CORBA_Environment ev[1]; 617 618 CORBA_exception_init(ev); 619 obj = CORBA_ORB_string_to_object(orb, objref, ev); 620 621 FOO_INTERFACE_method(obj, <arguments>, ev); 622 } 623 624 The last statement above will block forever in g_cond_wait() while 625 waiting for the recieve buffer to be ready if the remote server is, 626 say, powered down. An exception is on the other hand immediately 627 thrown if the server object is merely gone. 628 629 The changes to the code therefore boils down to the implementation 630 of the ex_CORBA_TIMEOUT system exception being thrown if 631 g_cond_timed_wait() times out. Most occurrences of g_cond_wait() 632 has been replaced by g_cond_timed_wait(). 633 634 The only remaining instance of g_cond_wait() is found in 635 link_exec_command(). I haven't observed any problems with 636 link_exec_command() so I've not touched that code. 637 638 The affected code is: 639 640 1) A new ORB command line option: GIOPTimeoutLimit - timeout limit 641 in microseconds. Defaults to 30 seconds. 642 643 2) giop_recv_buffer_get(). This one is obvious. We do not want to 644 wait indefinitely for data to be received from a downed host. The 645 waiting interval is configurable with the new GIOPTimeoutLimit ORB 646 option. 647 648 3) Any code invoking link_wait(): 649 650 a) link_connection_wait_connected_T() 651 b) link_connection_try_reconnect() 652 c) giop_connection_try_reconnect(), calls link_connection_try_reconnect() 653 d) ORBit_try_connection_T(), calls giop_connection_try_reconnect() 654 e) ORBit_object_get_connection(), calls ORBit_try_connection_T() 655 656 4) The waiting time in link_wait() is set at compile time to 657 LINK_WAIT_TIMEOUT_USEC which is presently 10 seconds. 658 659 5) link_wait() has been modified to return a gboolean. FALSE if the 660 timeout expired, TRUE otherwise. 661 662 6) link_connection_wait_connected_T() and link_connection_try_reconnect() 663 will both disconnect the connection if link_wait() experienced a timeout. 664 6652006-12-04 Jules Colding <colding@omesc.com> 666 667 * configure.in: Added autoconf 2.60+ required datarootdir variable 668 6692006-12-03 Jules Colding <colding@omesc.com> 670 671 * include/orbit/GIOP/giop.h: Declare giop_recv_set_timeout(). 672 673 * src/orb/orb-core/corba-orb.c (CORBA_ORB_init): Set GIOP timeout 674 limit from the ORB option. 675 Added new ORB option - GIOPTimeoutLimit. 676 677 * src/orb/orb-core/orbit-small.c (ORBit_small_invoke_stub): Throw a 678 TIMEOUT exception if a reply hasn't been recieved within the GIOP 679 timeout limit. 680 681 * src/orb/GIOP/giop-recv-buffer.c (giop_recv_buffer_get): Replaced 682 a g_cond_wait() with a g_cond_timed_wait(). The original g_cond_wait() 683 could potentially block forever if a remote server was physically 684 offline. 685 (giop_recv_set_timeout): Function to adjust the GIOP timeout limit. 686 6872006-11-22 Kjartan Maraas <kmaraas@gnome.org> 688 689 * ORBit-2.0.pc.in: Move MINGW_CFLAGS and LIBM to Libs.private 690 Sebastian Rittau. 691 * configure.in: Use PKG_PROG_PKG_CONFIG instead of manual stuff. 692 suggested by dmacks at netspace org. Closes bug #345729. 693 6942006-11-22 Kjartan Maraas <kmaraas@gnome.org> 695 696 * src/services/name/name-client.c: (main): Fix some signedness 697 compiler warnings. 698 6992006-11-10 Kjartan Maraas <kmaraas@gnome.org> 700 701 * ORBit-2.0.pc.in: move gmodules-no-export-2.0 to Requires-private. 702 Reported by Samuel Thibault. Closes bug #352198. 703 7042006-11-10 Kjartan Maraas <kmaraas@gnome.org> 705 706 * src/orb/dynamic/dynany.c: (DynamicAny_DynAny_assign), 707 (DynamicAny_DynAny_equal), (DynamicAny_DynAny_seek), 708 (DynamicAny_DynEnum_set_as_ulong), 709 (DynamicAny_DynUnion_set_discriminator), 710 (DynamicAny_DynSequence_set_length): 711 * src/orb/orb-core/corba-object.c: (CORBA_Object_is_equivalent): 712 * src/orb/orb-core/corba-typecode.c: (CORBA_TypeCode_equal), 713 (CORBA_TypeCode_equivalent), (CORBA_TypeCode_member_name), 714 (CORBA_TypeCode_member_type), (CORBA_TypeCode_member_label): 715 Patch from Georg Schwarz to fix lack of constification in ORBit2. 716 Closes bug #171012. 717 7182006-10-30 Kjartan Maraas <kmaraas@gnome.org> 719 720 * ORBit-2.0.pc.in: Add gobject-2.0 to the Requires line 721 to fix linking statically against ORBit. Closes bug #322474. 722 Suggested by Vladimir Panov. 723 7242006-10-30 Kjartan Maraas <kmaraas@gnome.org> 725 726 * configure.in: Remove more SSL bits. 727 * docs/internals/orbitrc.txt: Here too. 728 * linc2/include/linc/linc-config.h.in: And here. 729 Closes bug #354714. 730 7312006-09-27 Leena Gunda <leena.gunda@wipro.com> 732 733 * src/orb/GIOP/giop.c: (scan_socket_dir): Patch to fix 734 the warning message for users with similar prefixes. 735 Fixes bug #152659. 736 737 Patch given by Manjunath Kadajji <manjunath.kadajji@wipro.com> 738 7392006-09-07 Tor Lillqvist <tml@novell.com> 740 741 * linc2/src/linc-connection.c (link_connection_do_initiate): 742 Workaround for problem introduced on Win32 with Brian's patch 743 below: If host is "127.0.0.1", don't need to check whether it is 744 local. 745 746====================== ORBit2-2.14.3 ====================== 747 7482006-08-28 Brian Cameron <brian.cameron@sun.com> 749 750 * linc2/src/linc-connection.c: Patch to correct problem where 751 DHCP hostname changes caused login to block. 752 7532006-08-16 Jules Colding <colding@omesc.com> 754 755 * src/orb/orb-core/corba-orb.c (ORBit_get_giop_recv_limit): Added 756 gtk-doc documentation. 757 7582006-08-08 Brian Cameron <Brian.Cameron@sun.com> 759 760 * linc2/src/linc-protocols.c: Modify ORBLocalOnly test for TCP/IP 761 connections so that differences in the port number does not cause 762 the test to fail. Since the port number does not affect whether 763 the IP address is local, this should make the test work properly 764 on platforms where the access () function fills in the port value 765 that is being compared. On Solaris, this fixes a bug that causes 766 Java a11y to break, from an end-user perspective. 767 7682006-08-07 Jules Colding <colding@omesc.com> 769 770 * configure.in (CFLAGS): Fix #147556 771 772 * acinclude.m4: Added AX_CFLAGS_GCC_OPTION 773 774====================== ORBit2-2.14.2 ======================= 775 7762006-07-24 Kjartan Maraas <kmaraas@gnome.org> 777 778 * Makefile.am: Dist gtk-doc.make too. 779 * src/idl-compiler/Makefile.am: Remove popt 780 * src/orb/Makefile.am: Same here. Found by Daniel 781 Holbach. 782 783======================= ORBit2-2.14.1 ====================== 784 7852006-07-24 Kjartan Maraas <kmaraas@gnome.org> 786 787 * src/orb/orb-core/corba-orb.c: (CORBA_ORB_string_to_object): 788 Raise exception for bad URL. Patch from Frank Rehberger. Closes 789 bug #116812. 790 7912006-07-24 Kjartan Maraas <kmaraas@gnome.org> 792 793 * src/idl-compiler/orbit-idl-c-skels.c: (cbe_skel_do_interface): 794 Fix C++ compatibility in generated code. Patch from Vladimir 795 Panov. Closes bug #322473. 796 7972006-07-20 Kjartan Maraas <kmaraas@gnome.org> 798 799 * src/orb/poa/poa.c: (ORBit_POAObject_handle_request): Initialize 800 a variable to avoid using it uninitialized later. Coverity #1189. 801 8022006-07-19 Kjartan Maraas <kmaraas@gnome.org> 803 804 * src/orb/orb-core/corba-env.c: (ORBit_handle_exception): 805 Fix null dereference. Found by Coverity in CID #1179. 806 Closes bug #347596. 807 8082006-06-25 Kjartan Maraas <kmaraas@gnome.org> 809 810 * src/idl-compiler/orbit-idl-c-deps.c: (orbit_idl_output_c_deps): 811 Fix compiler warning I introduced with the leak fix. 812 8132006-06-23 Tor Lillqvist <tml@novell.com> 814 815 * src/orb/orb-core/corba-orb.c: Set orbit_local_only to TRUE on 816 Win32, to go with the use of IPv4 on Win32. We don't want to 817 create world-contactable sockets by default. Note that for 818 orbit_local_only to actually work, a small fix to the linc2 code 819 was also needed, see the ChangeLog over there. 820 8212006-06-20 Tor Lillqvist <tml@novell.com> 822 823 * src/orb/GIOP/giop.c: Remove the giop_thread_list, isn't used for 824 anything. 825 826 * src/orb/orb-core/corba-orb.c (CORBA_ORB_init): Don't call 827 g_atexit() on Win32. It can cause bizarre bugs. The semantics of 828 atexit() are very hard to specify exactly in the presence of 829 dynamic libraries, and Win32's implementation is perhaps 830 particularily random in its behaviour. Just rely on any peers we 831 are talking to noticing that the connections are severed and 832 acting appropriately. 833 8342006-06-17 Kjartan Maraas <kmaraas@gnome.org> 835 836 * src/idl-compiler/orbit-idl-c-deps.c: (orbit_idl_output_c_deps): 837 Plug a leak. Closes bug #344976. 838 * test/typelib-dump.c: (dump_tc): Plug leak. Closes bug #344977. 839 Both found by the Coverity checker. 840 8412006-05-29 Christian Persch <chpe@cvs.gnome.org> 842 843 * configure.in: Remove popt check. 844 * src/idl-compiler/orbit-idl-main.c: (cl_libIDL_version_callback), 845 (cl_cpp_define_callback), (cl_cpp_include_callback), 846 (cl_version_callback), (cl_c_output_formatter_callback), (main): 847 * src/services/name/boot.c: (main): Port from popt to goption argument 848 parsing. Bug #341587. 849 8502006-05-22 Kjartan Maraas <kmaraas@gnome.org> 851 852 * src/orb/orb-core/corba-orb.c: (CORBA_ORB_string_to_object): 853 #ifdef out some code that is only used with ENABLE_HTTP. 854 Closes bug #342406. 855 8562006-05-20 Kjartan Maraas <kmaraas@gnome.org> 857 858 * src/orb/poa/poa.c: (ORBit_POAObject_handle_request): 859 Patch from Pascal Terjan to fix a null deref found by 860 the coverity checker. Closes bug #341336. 861 8622006-05-18 Kjartan Maraas <kmaraas@gnome.org> 863 864 * src/orb/orb-core/corba-loc.c: (corbaloc_profile_iiop_parse): 865 Fix a warning from coverity. 866 * src/orb/orb-core/corba-loc.c: (orbit_url_decode): 867 Fix a signedness warning. 868 8692006-05-18 Kjartan Maraas <kmaraas@gnome.org> 870 871 * src/orb/orb-core/orbit-small.c: (ORBit_handle_exception_array): 872 Fix more NULL refs. Coverity. 873 8742006-05-18 Kjartan Maraas <kmaraas@gnome.org> 875 876 * src/orb/orb-core/corba-any.c: (ORBIT_demarshal_value): 877 Avoid NULL dereference. Found by the coverity checker. 878 8792006-05-06 Kuang-Chun Cheng <kccheng@linuxdaq-labs.org> 880 881 * src/idl-compiler/orbit-idl-c-headers.c: 882 Add guarding macros around emitted per interface enum of xyz_imethods[]. 883 Fix Bug #340532. 884 * test/everything/client.c 885 Use ORBIT_METHODS_INDEX() for ORBit_small_invoke_async() test. 886 8872006-05-02 Kjartan Maraas <kmaraas@gnome.org> 888 889 * configure.in: Remove SSL bits. 890 * linc2/include/linc/linc-protocol.h: Remove redundant const 891 * linc2/src/cleanup.c: (clean_dir): Remove unused code. 892 * linc2/src/linc-protocols.c: More const removal 893 * linc2/src/linc-server.c: (link_server_setup): s/if !/ifndef 894 * src/idl-compiler/orbit-idl-c-common.c: (cc_output_skel): 895 Remove unused code. 896 * src/idl-compiler/orbit-idl-c-imodule.c: 897 (orbit_idl_output_c_imodule): Fix format specifiers. 898 * src/idl-compiler/orbit-idl-utils.c: Remove unused code and 899 redundant const marker. 900 * src/orb/dynamic/dynany.c: (dynany_get_cur_type), 901 (dynany_get_value), (DynamicAny_DynAny_seek), 902 (DynamicAny_DynAny_component_count), 903 (DynamicAny_DynAny_current_component): Format specifiers again. 904 * src/orb/orb-core/allocators.c: (ORBit_alloc_get_tcval): Same. 905 * src/orb/orb-core/corba-context.c: (CORBA_Context_get_values): 906 Remove unused code. 907 * src/orb/orb-core/corba-loc.c: (corbaloc_profile_uiop_parse): 908 More unused code. 909 * src/orb/orb-core/iop-profiles.c: (IOP_start_profiles): And here 910 * src/orb/poa/orbit-adaptor.c: Fix typos in comment. 911 * src/orb/poa/poa.c: (ORBit_POA_obj_to_ref): More unused code. 912 * src/orb/util/genrand.c: (ORBit_genuid_init): s/if/ifdef 913 * test/echo-client.c: Mark a var static 914 * test/echo-srv.c: (echo_srv_start_poa), (echo_srv_start_object), 915 (echo_srv_finish_object), (echo_srv_finish_poa): Format specifiers 916 and a small buglet. 917 * test/ior-decode.c: (print_objkey), (print_components): Format specifiers 918 * test/poa/poatest-basic11.c: (poatest_run): Unused code 919 * test/test-any-client.c: (main): More format specifiers 920 * test/typelib-dump.c: (dump_iface), (main): And again. 921 9222006-04-24 Kuang-Chun Cheng <kccheng@linuxdaq-labs.org> 923 924 * src/idl-compiler/orbit-idl-c-headers.c 925 emit per interface enum for index of xyz_imethods[]. 926 9272006-04-09 Gustavo J. A. M. Carneiro <gjc@gnome.org> 928 929 * src/services/imodule/orbit-imodule.c 930 (ORBit_iinterface_fill_method): Bug 323201: marshalling of void 931 retval typecode generated by "imodule service" crashes. 932 9332006-04-05 Jules Colding <colding@omesc.com> 934 935 * ORBit.spec.in: linc is now intagrated into ORBit2 so the requirements in 936 the spec file must go. 937 (%files): Fix rpmbuild issues with missing files in this section. 938 9392006-04-04 Jules Colding <colding@omesc.com> 940 941 * configure.in (ORBIT_VERSION): Version 1.14.1. The micro version must be 942 bumped as a new function has been added. 943 944 * src/orb/orb-core/orb-core-private.h: Declared ORBit_get_giop_recv_limit() 945 946 * include/orbit/orb-core/corba-orb.h: Added ORBit_get_giop_recv_limit() 947 to ORBIT2_EXTENSIONS section. 948 949 * src/orb/orb-core/corba-orb.c (ORBit_get_giop_recv_limit): Added function 950 to retrieve the maximum allowed GIOP receive limit. 951 952 * src/orb/GIOP/giop-recv-buffer.c (giop_recv_get_limit): New function. 953 Clients must be able to retrieve the maximum allowed GIOP receive limit. 954 9552006-03-14 Gustavo J. A. M. Carneiro <gjc@gnome.org> 956 957 * configure.in: Version 2.14.0. 958 959 * acinclude.m4: Missing #include <stdlib.h> in AC_CHECK_ALIGNOF 960 due to usage of the exit() function. 961 962 * NEWS: Update. 963 9642006-02-17 Tor Lillqvist <tml@novell.com> 965 966 Fix build on Cygwin, patch by "Cygwin Ports maintainer" (#331487) 967 968 * configure.in: Check for winsock2.h only on Windows. 969 970 * include/orbit/orb-core/orbit-object.h: Need to #define 971 ORBIT2_MAYBE_CONST as empty also on Cygwin. 972 9732006-02-14 Tor Lillqvist <tml@novell.com> 974 975 * test/test-giop.c: Make global variables static. 976 (test_spoofing): Fix crash: Keep an extra reference to the 977 connection so that it won't be disposed too early. Unref only 978 after checking that its status is disconnected. 979 9802006-02-06 Kjartan Maraas <kmaraas@gnome.org> 981 982 * configure.in: Release 2.13.3. 983 9842006-02-01 Tor Lillqvist <tml@novell.com> 985 986 Improve configury on Win32, patch by Georg Steffers: 987 988 * configure.in: Set MINGW_LDFLAGS to 989 -Wl,--enable-runtime-pseudo-reloc on Win32. AC_SUBST it. That GNU 990 ld flag is needed when building software that uses DLLs containing 991 code produced by the ORBit2 IDL compiler, because of the way 992 variables imported from DLLs are used. Add MINGW_LDFLAGS to the 993 LDFLAGS used when building ORBit2 itself, too. 994 995 * ORBit-2.0.pc.in: Add @MINGW_LDFLAGS@ (empty on Unix) to Libs . 996 997 * ORBit2.m4: If no orbit2-config script is found, use pkg-config. 998 9992006-01-13 Kjartan Maraas <kmaraas@gnome.org> 1000 1001 * src/orb/GIOP/giop-recv-buffer.c: Fix a compiler warning 1002 about unused result. 1003 (giop_recv_buffer_handle_fragmented): 1004 * src/orb/poa/orbit-adaptor.c: (ORBit_adaptor_find): Guard 1005 against NULL adaptor. (Michael). Closes bug #326283. Seen as 1006 an invalid read on startup of the drivemount applet. 1007 10082005-11-11 Jens Granseuer <jensgr@gmx.net> 1009 1010 * src/idl-compiler/orbit-idl-c-skelimpl.c 1011 (prev_char_is_nl): fix // comment. 1012 10132005-11-08 Richard Hult <richard@imendio.com> 1014 1015 * Release 2.13.2. 1016 1017 * configure.in (LT_VERSION): Set back to 2.13.2, the version was 1018 already bumped. 1019 10202005-11-08 Anders Carlsson <andersca@imendio.com> 1021 1022 * configure.in: Up version to 2.13.3 1023 10242005-11-08 Anders Carlsson <andersca@imendio.com> 1025 1026 * src/orb/orb-core/corba-object.c (CORBA_Object_release_cb): 1027 Allow releasing objects even if orb is NULL. 1028 1029 (ORBit_object_get_connection): 1030 Make sure to remove and re-add the object from the objref hash 1031 table so we won't be left with dangling references which will lead 1032 to crashes when trying to shut down the ORB. 1033 1034 * src/orb/orb-core/corba-orb.c (strip_object_profiles): 1035 Set object's orb to NULL. 1036 1037 * src/orb/poa/poa.c (ORBit_POA_deactivate_object_T): 1038 Write out an error message here instead of "assertion failed". 1039 10402005-09-26 Martin Blom <martin@blom.org> 1041 1042 * src/orb/orb-core/allocators.c (ORBit_realloc_tcval): 1043 realloc should update the length/tracking information. 1044 #316393# 1045 10462005-09-24 Tor Lillqvist <tml@novell.com> 1047 1048 * orbit2-zip.in: Add share/aclocal/ORBit2.m4 to the developer 1049 package. 1050 10512005-09-20 Jules Colding <colding@omesc.com> 1052 1053 * configure.in (CFLAGS): Stricter coding style checks by adding 1054 "-Werror-implicit-function-declaration -std=gnu89" to CFLAGS. 1055 10562005-09-16 Jules Colding <colding@omesc.com> 1057 1058 * include/orbit/orb-core/corba-orb.h: Added ORBit_proto_use() to 1059 ORBIT2_EXTENSIONS section. This is needed to deduce protocol 1060 capabilities if you are not the fortunate first thread to invoke 1061 CORBA_ORB_init(). 1062 10632005-09-07 Jules Colding <colding@omesc.com> 1064 1065 * configure.in (LT_VERSION): Version 2.13.2. This is needed as the change 1066 below actually makes some programs run when they would otherwise not. 1067 1068 * src/orb/GIOP/giop.c (giop_main_run): Remove g_assert(). 1069 10702005-09-06 Mark McLoughlin <mark@skynet.ie> 1071 1072 * configure.in: Version 2.13.1 1073 10742005-08-28 Tor Lillqvist <tml@novell.com> 1075 1076 * README.win32: New file. 1077 1078 * Makefile.am (EXTRA_DIST): Add README.win32. 1079 1080 * orbit2-zip.in: Include also lib/libname-server-2.a in the 1081 developer package. 1082 10832005-08-26 Brian Cameron <Brian.Cameron@sun.com> 1084 1085 * configure.in: Bumping minor LT_VERSION since 1086 interfaces have changed since the initial ORBit2 1087 release and it has never been bumped, but 1088 interfaces have been added since that time. 1089 Sorry for commiting this twice, but I didn't 1090 read the comments closely to see that you 1091 modify it to C+1:0:A+1 to indicate interfaces 1092 have been added but binary compatibility has 1093 been preserved. 1094 10952005-08-15 Michael Meeks <michael.meeks@novell.com> 1096 1097 * configure.in: add threading libraries to ORBIT_NAME 1098 pkg-config check: #313403 1099 11002005-08-12 Michael Meeks <michael.meeks@novell.com> 1101 1102 * configure.in: AC_PREREQ(2.54) not 2.12 for 1103 Gustavo Gama, #313274. 1104 11052005-08-13 Davyd Madeley <davyd@madeley.id.au> 1106 1107 * configure.in: 1108 * linc2/src/linc-protocols.c: Check for sys/sockio.h, required for 1109 building on Solaris 9. Patch from James Andrewartha 1110 <trs80@ucc.asn.au>. 1111 11122005-08-11 Michael Meeks <michael.meeks@novell.com> 1113 1114 * src/orb/orb-core/corba-any.c (ORBit_demarshal_arg): 1115 propagate the error condition we laboured hard to get right 1116 to our caller. 1117 (ORBit_demarshal_value): when sequence de-marshalling 1118 dies, nail the length as well as freeing the buffer. 1119 Fixes #310270# 1120 11212005-08-08 Kjartan Maraas <kmaraas@gnome.org> 1122 1123 * src/orb/orb-core/corba-orb.c: (CORBA_ORB_destroy): Release 1124 the lock here. Patch from Aivars Kalvans. Closes bug #153897. 1125 11262005-07-28 Tor Lillqvist <tml@novell.com> 1127 1128 * configure.in: Include ws2tcpip.h on Win32 when looking for 1129 socklen_t. 1130 11312005-07-25 Jules Colding <colding@omesc.com> 1132 1133 * src/orb/orb-core/corba-orb.c: Added new ORB_init option, ORBNetID. 1134 Valid values for a hypothetical local host (FQDN:thor.test.com, IP:10.0.3.2): 1135 "local": all attempts to resolve the local host will be done using "localhost" 1136 "short": all attempts to resolve the local host will be done using "thor". 1137 "fqdn" : all attempts to resolve the local host will be done using "thor.test.com". 1138 "ipaddr: all attempts to resolve the local host will be done using "10.0.3.2". 1139 The new option will be evaluated after ORBLocalOnly but ORBLocalOnly will always take 1140 precedence. 1141 11422005-06-20 Fernando Herrera <fherrera@onirica.com> 1143 1144 * include/orbit/orb-core/corba-orb-type.h: 1145 * src/orb/orb-core/corba-orb.c: (CORBA_ORB_init), 1146 (CORBA_ORB_destroy), (ORBit_ORB_forw_bind): 1147 * src/orb/poa/orbit-adaptor.c: (ORBit_forw_bind_find), 1148 (ORBit_handle_request): implement forward binding. 1149 1150 Patch by Alejandro Garc�a Castro <acastro@igalia.com> 1151 1152 reviewed by: Michael Meeks 1153 11542005-06-03 Jules Colding <colding@omesc.com> 1155 1156 * docs/README: Added pointers to documentation and sample code 1157 for developers using ORBit2, not ORBit2 hackers. 1158 11592005-06-02 Sandie Vanderme <sandie.vanderme@bull.net> 1160 1161 * configure.in: add missing AC_CHECK_HEADERS(netdb.h) 1162 11632005-04-18 Tor Lillqvist <tml@novell.com> 1164 1165 * src/orb/orb-core/corba-orb.c (DllMain): As we reguire GLib 2.6, 1166 no need to use GLIB_CHECK_VERSION(). And anyway, what we really 1167 should have used here was the run-time glib_check_version() and 1168 not compile-time GLIB_CHECK_VERSION()... Also, only check for a 1169 "bin" subfolder. DLLs are always installed in "bin" and not "lib" 1170 nowadays. 1171 1172 * src/orb/orb-core/orb-core-private.h: As we require GLib 2.6, 1173 G_IS_DIR_SEPARATOR() is always present. 1174 11752005-04-16 Kjartan Maraas <kmaraas@gnome.org> 1176 1177 * linc2/test/test-linc.c: Make some variables static. 1178 * src/idl-compiler/orbit-idl-c-skelimpl.c: Same 1179 * src/orb/orb-core/corba-orb.c: (CORBA_ORB_create_list): 1180 Don't use the C++ reserved word 'new' for variables. 1181 * test/echo-client-t.c: Make vars static. 1182 * test/echo-client.c: Same 1183 * test/echo-srv.c: Same 1184 * test/empty-client.c: Same 1185 * test/empty-server.c: Same 1186 * test/poa/poatest-basic01.c: Again 1187 * test/poa/poatest-basic05.c: Again 1188 * test/poa/poatest-basic11.c: Again 1189 * test/test-any-server.c: Again 1190 * test/test-corbaloc.c: Again 1191 * test/test-giop-frag.h: Again 1192 * test/test-performance.c: And again 1193 11942005-04-14 Arvind Samptur <arvind.samptur@wipro.com> 1195 1196 * src/orb/orb-core/corba-object.c : 1197 (ORBit_object_get_connection): if we have failed on the unix 1198 socket, have IPv4 or IPv6 connections enabled and are on localhost, 1199 then don't connect on the corresponding port from the profiles. 1200 Patch reviewed by Michael Meeks. 1201 12022005-04-13 Tor Lillqvist <tml@novell.com> 1203 1204 * src/orb/util/genrand.c: Use the Win32 crypto API. 1205 1206 * src/orb/GIOP/giop.c 1207 * src/idl-compiler/orbit-idl-c-backend.c: Use gstdio wrappers for 1208 better localized filename support on Win32. Use GLib directory and 1209 filename API. Don't bother with the rather useless utime() setting 1210 on the GIOP tmpdir on Win32. Use g_strerror() instead of 1211 strerror(). 1212 1213 * src/orb/util/orbit-options.c: As we reguire GLib 2.6, no need to 1214 use GLIB_CHECK_VERSION. 1215 12162005-04-12 Mark McLoughlin <mark@skynet.ie> 1217 1218 * ORBit-2.0.pc.in: require gmodule-no-export-2.0 rather 1219 than gmodule-2.0 so we don't -export-dynamic on our 1220 link line. 1221 12222005-04-11 Tor Lillqvist <tml@novell.com> 1223 1224 * test/everything/Makefile.am (Everything_module_la_LIBADD): Need 1225 to link with ORBIT_LIBS thanks to a recent change for Win32 in 1226 HEAD GLib. 1227 12282005-04-11 James Henstridge <james@jamesh.id.au> 1229 1230 * configure.in: rename PKG_CONFIG_MIN_VERSION variable to 1231 xPKG_CONFIG_MIN_VERSION, to work with pkg-config >= 0.16.0. 1232 12332005-04-06 Anders Carlsson <andersca@imendio.com> 1234 1235 * src/orb/orb-core/corba-orb.c: 1236 (ORBit_initial_references_by_user): 1237 Release objects. 1238 1239 (ORBit_set_initial_reference): 1240 Release existing objects. 1241 12422005-04-06 Anders Carlsson <andersca@imendio.com> 1243 1244 * src/orb/orb-core/corba-object.c: 1245 (ORBit_handle_location_forward): 1246 Reset the connection since the forwarded object has a new 1247 connection. 1248 12492005-03-29 Brian Cameron <Brian.Cameron@Sun.Com> 1250 1251 * docs/internals/orbitrc.txt: Docs file explaining how to 1252 make use of the ORBit2 Resource File and how the options 1253 work. 1254 12552005-03-11 Tor Lillqvist <tml@novell.com> 1256 1257 * include/orbit/orb-core/orbit-object.h: Add macro 1258 ORBIT2_MAYBE_CONST which expands to "const" on Unix, empty on 1259 Win32. 1260 1261 * src/orb/orb-core/corba-typecode.c 1262 * include/orbit/orb-core/corba-orb-type.h 1263 * include/orbit/orb-core/corba-typecode.h 1264 * src/idl-compiler/orbit-idl-c-headers.c (ch_type_alloc_and_tc) 1265 * src/idl-compiler/orbit-idl-c-typecode.c 1266 (orbit_output_tcstruct_anon_subtypes_array, 1267 orbit_output_tcstruct_anon_sublabels_array, cbe_tc_generate): Use 1268 ORBIT2_MAYBE_CONST. This reintroduces constness on Unix, saving 1269 some memory. (#169428) 1270 12712005-03-10 Tor Lillqvist <tml@novell.com> 1272 1273 * configure.in: Bump version to 2.13.0 to distinguish from the 1274 gnome-2-10 branch. Call AC_CANONICAL_HOST before the Win32 test to 1275 make sure $host is set up. Require GLib 2.6. 1276 1277 * src/idl-compiler/orbit-idl-main.c: Make the default not to show 1278 CPP errors, so that --showcpperrors actually changes the 1279 behaviour. 1280 1281 * src/orb/orb-core/corba-any.c (ORBit_demarshal_value) 1282 * src/services/imodule/orbit-imodule.c (build_cpp_args): Minor 1283 const correctness fixes. 1284 1285 * src/orb/orb-core/corba-orb.c: Drop inclusion of <windows.h>, we 1286 get it through <winsock2.h> in linc-protocol.h anyway. Add 1287 prototype for DllMain() to silence gcc. 1288 12892005-02-23 Tor Lillqvist <tml@novell.com> 1290 1291 * orbit2-zip.in: Include also etc/orbitrc (even if it is 1292 empty). Don't include lib/orbit-2.0, just the Everything_module 1293 gets installed there by ORBit2, and that's just for testing. 1294 1295 * configure.in: Drop the -DPOPT_STATIC. The version of popt that 1296 we recommend is used on Windows doesn't cause import of variables 1297 from libpopt. Using a libpopt DLL works fine. 1298 1299 * test/test-giop.c (run_test): Use IPv4 instead of UNIX domain 1300 sockets on Win32. 1301 1302 * src/idl-compiler/orbit-idl-c-skels.c 1303 (cbe_skel_interface_print_relayers): It's the temporary pointer 1304 that should be declared volatile, not what it's pointing to. Now 1305 auto-import actually works also from optimized code. 1306 13072005-02-21 Tor Lillqvist <tml@novell.com> 1308 1309 * configure.in: Use -DPOPT_STATIC on Win32 when building the IDL 1310 compiler and name server, so that we avoid the problems with 1311 referring to variables imported from a DLL in static 1312 initializers. In newer libpopt distributions the headers have 1313 dllimport decorations for the variables exported from libpopt 1314 unless one defines POPT_STATIC. 1315 1316 To actually then link with the static libpopt.a you might also 1317 have to move the import library libpopt.dll.a away so that the 1318 linker won't find it, and perhaps edit libpopt.la. 1319 1320 Remove leftover AC_MSG_WARN([host is $host]). 1321 13222005-02-14 Tor Lillqvist <tml@novell.com> 1323 1324 * configure.in: New autoconf variable LIBM, set to -lm on Unix, 1325 empty on Windows. 1326 1327 * ORBit-2.0.pc.in (Libs): Use @LIBM@. The dummy -lm in mingw prevents 1328 libtool from creating DLLs. 1329 (orbit_idl): Append @EXEEXT@. 1330 1331 * src/idl-compiler/Makefile.am 1332 * test/Makefile.am: Use $(LIBM) here, less verbiage than if using 1333 an automake ifdef. 1334 1335 * src/orb/orb-core/orb-core-private.h 1336 * src/orb/util/orbit-options.c: On Win32, #undef the compile-time 1337 pathnames from the Makefiles, instead use run-time strings set up 1338 by DllMain(), see below. 1339 1340 * src/orb/orb-core/corba-orb.c (DllMain): New function. When 1341 ORBit2 is built as a DLL on Win32 (as it should be), this function 1342 is called automatically when the DLL is loaded. It fetches the 1343 full path of the DLL, and deduces the ORBit2 installation folder 1344 from that. Then it forms the type library directory and system 1345 orbitrc path names. Some complexity needed by it having to work 1346 both when built with GLib 2.4 or 2.6. 1347 1348 * src/orb/orb-core/orbit-typelib.c (ORBit_small_load_typelib): Use 1349 GLib API to check pathnames, for improved Win32 portability. 1350 1351 * src/orb/util/orbit-options.c (ORBit_option_rc_parse): When built 1352 against GLib 2.6, use g_fopen(). 1353 (ORBit_option_parse): Guard against g_get_home_dir() returning 1354 NULL. 1355 1356 * src/orb/util/genrand.c (ORBit_genuid_init): Bypass the attempts 1357 to use /dev/urandom on Win32. 1358 1359 * src/orb/orb-core/corba-any.c (ORBit_marshal_value): Don't do any 1360 post-realignment for array elements. We don't do that for array 1361 elements in ORBit_demarshal_value() either, and the marshalling of 1362 structs and unions already takes care of their post-alignment. 1363 1364 * src/idl-compiler/orbit-idl-c-utils.c: Revert the change from 1365 2005-02-01. It's unnecessary now with the alignment fixes in the 1366 marshalling code. (The changes were not sufficient anyway; without 1367 the alignment fixes in the marshalling code, even more sillyness 1368 in the IDL compiler generated code would have been necessary to 1369 make it work on Win32.) 1370 13712005-02-13 Arvind Samptur <arvind.samptur@wipro.com 1372 1373 * src/orb/orb-core/corba-orb.c (ORBit_ORB_start_servers): if we 1374 are using LocalOnly option or only UNIX sockets then set 1375 hostname to be "localhost" 1376 Patch reviewed by Michael Meeks 1377 13782005-02-11 Tor Lillqvist <tml@novell.com> 1379 1380 * src/orb/orb-core/orbit-trace.c (ORBit_trace_value): Print also 1381 long long values, using G_GINT64_FORMAT. Ditto unsigned long long 1382 and G_GUINT64_FORMAT. 1383 13842005-02-11 Michael Meeks <michael.meeks@novell.com> 1385 1386 * src/orb/dynamic/dynany.c 1387 (DynamicAny_DynStruct_get_members), 1388 (DynamicAny_DynStruct_set_members): add field 1389 alignment logic now missing from ORBit_copy_value etc. 1390 13912005-02-11 Tor Lillqvist <tml@novell.com> 1392 1393 * src/orb/orb-core/corba-any.c 1394 (ORBit_marshal_value, ORBit_demarshal_value), 1395 (ORBit_copy_value_core, ORBit_value_equivalent): 1396 re-work, bin pre-align: assume incoming ABI walking 1397 data is aligned, do alignment only on outgoing 1398 data & during struct/union walking. 1399 1400 * test/everything/arrayServer.c 1401 (ArrayServer_opAlignHoleStructArray), 1402 (ArrayServer_opStrArray): add. 1403 * test/everything/unionServer.c 1404 (UnionServer_opFixedLengthUnionArray): add 1405 1406 * test/everything/client.c (testUnionArray, testStrArray), 1407 (testFixedLengthStructArray, testAlignHoleStructArray), 1408 (testVariableLengthArray): add more beef to the regression 1409 test suite. 1410 14112005-02-08 Tor Lillqvist <tml@novell.com> 1412 1413 * orbit2-zip.in: New file, expands to a script to be used for 1414 packaging ORBit2 distributions as zipfiles for Windows. 1415 1416 * configure.in 1417 * Makefile.am: Generate and distribute it. 1418 14192005-02-07 Tor Lillqvist <tml@novell.com> 1420 1421 * test/Makefile.am (check_PROGRAMS): Must use check_PROGRAMS as 1422 the name for the list of test programs in order for Automake to 1423 properly use EXEEXT on Windows. 1424 14252005-02-02 Hans Petter Jansson <hpj@novell.com> 1426 1427 * configure.in: Check for res_9_init() in -lresolv. This will pull in 1428 libresolv on Darwin, where the actual symbol's name is different from 1429 the one used by programs. 1430 14312005-02-02 Tor Lillqvist <tml@novell.com> 1432 1433 Make test-dynany work on Windows: 1434 1435 * src/orb/dynamic/dynany.c (MAKE_DYNANY_INSERT): For identical 1436 reasons as the below change to the IDL compiler, take a local copy 1437 of function parameter before passing its address to 1438 dynany_insert(). 1439 1440 (dynany_get_value): Take the alignment of preceding fields and the 1441 field itself into account when calculating the address of a field 1442 in a CORBA_tk_struct or except. 1443 14442005-02-01 Tor Lillqvist <tml@novell.com> 1445 1446 * src/idl-compiler/orbit-idl-c-utils.c (orbit_cbe_flatten_ref): 1447 Take output file as parameter, output directly there instead of 1448 returning a string. 1449 1450 Don't take the address of function parameters and pass it on to 1451 the marshalling layers. Function parameters are not necessarily 1452 aligned according to the alinments in orbit-config.h. Case in 1453 point: long long on the x86. ORBIT_ALIGNOF_CORBA_LONG_LONG is 8, 1454 but as function parameters on the stack, long longs only have 1455 4-byte alignment. The lower levels will realign the address, 1456 meaning long long IN parameters might have a completely wrong 1457 value marshalled. The same presumably holds for doubles and long 1458 doubles. Why this problem hasn't occured on Linux on x86, no 1459 idea. I noticed it on Windows. 1460 1461 Instead, copy IN parameters to a field in a local struct variable, 1462 and pass on the address of that field. 1463 1464 In theory, the above could hold on exotic architectures also for 1465 OUT parameters, where the address of a parameter is also passed 1466 on. But in that case the parameter is a pointer, and at least on 1467 the x86, a pointer's alignment as parameter matches expectation in 1468 orbit-config.h (4). 1469 1470 (orbit_cbe_maybe_copy_of_data_in): New helper function that 1471 outputs the definition and initialization of the local copy of IN 1472 parameters mentioned above. 1473 1474 (orbit_cbe_flatten_args): Modify accordingly. 1475 14762005-01-28 Tor Lillqvist <tml@novell.com> 1477 1478 * src/orb/orbit-init.c 1479 * src/orb/orb-core/orbit-trace.c: Use g_get_current_time() instead 1480 of gettimeofday(). 1481 1482 * src/orb/GIOP/giop.c 1483 * src/orb/GIOP/giop-send-buffer.c 1484 * src/orb/orb-core/orbhttp.c: Conditionalize includes as 1485 necessary. 1486 1487 * src/orb/GIOP/giop.c: Don't check owner on Win32 either. Add 1488 newline to dprintf() calls. Use socket API for wakeup pipe on 1489 Win32. Create it using link_pipe(). 1490 1491 * src/orb/orb-core/corba-orb.c: Use IPv4 and not Unix domain 1492 sockets on Win32. 1493 1494 * src/orb/orb-core/corba-typecode.c: Drop the const from the 1495 typecode struct definitions, for Win32 DLL import/export reasons 1496 (see yesterday's ChangeLog entries). 1497 1498 * src/orb/orb-core/orbhttp.c (orbHTTPConnectAttempt): Drop an 1499 unused variable in the WinSock part. 1500 1501 * src/orb/orb-core/orbit-typelib.c: Use G_SEARCHPATH_SEPARATOR_S. 1502 1503 * src/orb/util/genrand.c: No getuid() on Win32. 1504 1505 * src/services/name/Makefile.am: No -lm on Win32. 1506 1507 * src/services/name/boot.c: Conditionalize use of syslog and 1508 sigaction. 1509 1510 * src/services/name/orbit-name-server.c: Remove a couple of 1511 unneeded includes. 1512 1513 * test/echo-client.c: Make debugging easier: If argv[1] starts 1514 with a dollar, fetch it with getenv(). 1515 1516 * test/echo-server.c 1517 * test/empty-server.c 1518 * test/any-server.c: Output the IOR: string to a file, too, to 1519 avoid having to copy-paste long strings when runnning these tests. 1520 1521 * test/typelib-dump.c: Small workaround for Win32 DLL variable 1522 import restriction. 1523 1524 * test/everything/test.sh: Don't run the Unix domain socket tests 1525 on Windows. Don't exit after a failed test if $DONT_EXIT is set. 1526 1527 * test/everything/client.c (main) 1528 * test/everything/server.c (main): Small const correctness fix. 1529 15302005-01-27 Tor Lillqvist <tml@novell.com> 1531 1532 * src/idl-compiler/Makefile.am 1533 * test/Makefile.am: No separate -lm on Win32. 1534 1535 * src/idl-compiler/orbit-idl-c-backend.c: mkdir() has different 1536 prototype in Microsoft's C library. 1537 1538 Below changes from Cygwin port of ORBit2 by Gerrit P. Haase, see 1539 www.cygwin.com/ml/cygwin-apps/2004-10/msg00030.html. They also 1540 apply to native Win32. 1541 1542 * include/orbit/orb-core/corba-orb-type.h 1543 * include/orbit/orb-core/corba-typecode.h: Drop the constness of 1544 extern structs as it causes problems when building libORBit-2 as a 1545 DLL on Win32 and Cygwin. 1546 1547 * src/idl-compiler/orbit-idl-c-headers.c (ch_type_alloc_and_tc) 1548 * src/idl-compiler/orbit-idl-c-typecode.c 1549 (orbit_output_tcstruct_anon_subtypes_array, 1550 orbit_output_tcstruct_anon_sublabels_array, cbe_tc_generate): Drop 1551 constness from generated code, for Win32 DLL reasons as above. 1552 1553 * src/idl-compiler/orbit-idl-c-skels.c (cbe_skel_interface_print_relayers): 1554 Workaround Win32 restriction, use a temporary variable. (See ld 1555 documentation for --enable-auto-import, and for instance 1556 http://sources.redhat.com/ml/binutils/2001-09/msg00130.html) 1557 1558 * src/idl-compiler/orbit-idl-main.c: Drop constness from 1559 a poptOption array, for obscure Win32 DLL reasons. 1560 15612005-01-26 Tor Lillqvist <tml@novell.com> 1562 1563 * configure.in: Check also for utime.h, and sys/utime.h (where 1564 MSVC keeps it, in case we some day want to be compileable by it). 1565 15662005-01-26 Tor Lillqvist <tml@novell.com> 1567 1568 * configure.in: Changes for Win32: Set automake conditional 1569 OS_WIN32. Check for more headers and functions. Add WinSock 1570 library to LIBS. 1571 1572 * include/orbit/GIOP/giop-connection.h: Don't include netdb.h on 1573 Win32. Is it even needed on Unix? 1574 15752005-01-13 Jules Colding <colding@omesc.com> 1576 1577 * src/idl-compiler/orbit-idl-c-skelimpl.c (prev_char_is_nl): New function 1578 that implements check of previously written character to the output file. 1579 Excessive output of newline characters are fixed by checking the last 1580 character written: If it is '\n' then do not write another '\n'. 1581 (cbe_ski_do_list): The correct fix for exessive newline output. 1582 1583 Generation of skelimpl files has been fixed by protecting definitions and 1584 declarations with #ifdef blocks. This is *not* the right fix. The right fix 1585 would be to generate header files with the proper extern declarations. The 1586 current "fix" has the drawback of forcing the developer to include the 1587 skelimpl files in inheritance order: Most common ancestor first, then 1588 progressively later descendants. The right fix requires more redesign of 1589 the code than I would like to do now, so this hack must suffice for the time 1590 being. 1591 1592 * src/idl-compiler/orbit-idl-c-backend.c (out_for_pass): Change the opening 1593 mode of output files to "w+". This is needed to support the correct fix for 1594 excessive newline output in skelimpl files. 1595 1596 * src/idl-compiler/orbit-idl-c-skelimpl.c: I had a really hard time parsing 1597 the code with the former indentation level of 2, so I changed it to a more 1598 reasonable 8. 1599 16002005-01-12 Jules Colding <colding@omesc.com> 1601 1602 * src/idl-compiler/orbit-idl-main.c (main): Fix print of passes. 1603 16042005-01-01 Jules Colding <colding@omesc.com> 1605 1606 * src/idl-compiler/orbit-idl-c-skelimpl.c (cbe_ski_do_list): Fix the former 1607 fix for excessive newline output (integer overflow bug fixed). 1608 16092004-12-28 Jules Colding <colding@omesc.com> 1610 1611 * src/idl-compiler/orbit-idl-c-skelimpl.c (cbe_ski_do_list): Prevent excessive 1612 output of newlines for skelimpl files. 1613 16142004-12-27 Jules Colding <colding@omesc.com> 1615 1616 * configure.in: Remove support for external indentation command. 1617 1618 * src/idl-compiler/orbit-idl-main.c: Removed all traces of the output formatter 1619 command line option but leave a warning. 1620 1621 * src/idl-compiler/orbit-idl-c-backend.c (out_for_pass): "popen ==> fopen" for 1622 all output files. The reason is to avoid opening a pipe as we don't want to use 1623 an externally invoked indentation process. 1624 1625 * src/idl-compiler/orbit-idl3-types.h: Removed output_formatter. 1626 16272004-12-22 Jules Colding <colding@omesc.com> 1628 1629 * test/everything/everything.idl: Added test for bug#161879. 1630 1631 * src/idl-compiler/orbit-idl-c-utils.c (orbit_cbe_get_const): Fix IDL compilation 1632 of "const char N = '\x0A';" definitions (bug#161879). 1633 1634 * src/idl-compiler/orbit-idl3-types.h: Added output_directory to OIDL_Run_Info. 1635 1636 * src/idl-compiler/orbit-idl-c-backend.c: Prefixed output file with output directory. 1637 1638 * src/idl-compiler/orbit-idl-main.c: Added 'output-dir' command line option. 1639 16402004-12-17 Michael Meeks <michael.meeks@novell.com> 1641 1642 * src/orb/orb-core/corba-any.c (ORBit_demarshal_value): 1643 don't fail de-marshalling null & void - just do nothing. 1644 (ORBit_copy_value_core): just copy nothing for void & null 1645 - instead of breaking the val pointer. 1646 16472004-10-02 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net> 1648 1649 * test/everything/client.c (testAnySequence), 1650 * test/everything/server.c (SequenceServer_opAnySeq): 1651 implement test for TC_void bug. 1652 16532004-12-13 Joe McCann <joem@gentoo.org> 1654 1655 * configure.in: bump libIDL dep to 0.8.2. 1656 16572004-11-12 Sandie Vanderme <sandie.vanderme@bull.net> 1658 1659 * include/orbit/orb-core/Makefile.am 1660 (IDL_FLAGS_NO_DEFS): add src/orb/orb-core. 1661 16622004-10-19 Paolo Borelli <pborelli@katamail.com> 1663 1664 * src/idl-compiler/Makefile.am: fix linking, patch by Jimmy Do. 1665 16662004-10-02 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net> 1667 1668 * src/orb/orb-core/corba-env.c (CORBA_exception_set): Before 1669 overwriting an exception, free any previous value contained by it. 1670 Patch by Michael Meeks. Fixes #153299. 1671 16722004-09-13 Mark McLoughlin <mark@skynet.ie> 1673 1674 * configure.in: Version 2.12.0. 1675 16762004-08-25 Michael Haubenwallner <michael.haubenwallner@salomon.at> 1677 1678 * src/orb/orb-core/allocators.c (ORBit_freekids_via_TypeCode_T): 1679 Step over align-holes at the end of structures (bug#151023) 1680 * src/orb/orb-core/corba-any.c 1681 (ORBit_marshal_value) (ORBit_demarshal_value) 1682 (ORBit_copy_value_core) (ORBit_value_equivalent): 1683 Ditto. 1684 * test/everything/everything.idl 1685 test/everything/client.c 1686 test/everything/structServer.c: 1687 Added testcase for bug#151023, align-holes at the end of structures. 1688 * test/everything/constants.h: 1689 Ditto. 1690 Added constants for CHAR and OCTET. 1691 16922004-08-19 Michael Meeks <michael@ximian.com> 1693 1694 * Version 2.11.2 1695 1696 * src/orb/GIOP/giop-recv-buffer.c 1697 (giop_recv_list_destroy_queue_entry): unref the 1698 ent's connection without the message queue lock 1699 held. 1700 1701 * test/everything/client.c: bin stderr printfs 1702 during thread tests, to avoid unhelpful rescheduling. 1703 1704 * src/orb/orb-core/orbit-small.c 1705 (ORBit_small_unlisten_for_broken_full): use the 1706 peek method, no need to try re-connecting just to 1707 disconnect the 'broken' signal. 1708 1709 * src/orb/orb-core/corba-object.c 1710 (CORBA_Object_release_cb): after a long audit; 1711 unlock / lock around the giop connection unref; 1712 this avoids the final connection release 1713 deadlocking vs. a pending call in the I/O 1714 thread needing this lock. 1715 (ORBit_object_peek_connection): impl. 1716 17172004-08-19 Magnus Therning <magnus@therning.org> 1718 1719 * src/idl-compiler/orbit-idl-backend.c: fix 1720 bit-field assignments. 1721 17222004-08-10 Michael Meeks <michael@ximian.com> 1723 1724 * test/everything/basicServer.c 1725 (BasicServer_testBoolString): impl. 1726 17272004-08-11 Kjartan Maraas <kmaraas@gnome.org> 1728 1729 * src/idl-compiler/orbit-idl-c-backend.c: (orbit_idl_output_c): 1730 0 vs NULL. 1731 * src/idl-compiler/orbit-idl-c-common.c: (cc_output_typecodes):i 1732 Same here. 1733 * src/idl-compiler/orbit-idl-c-utils.c: 1734 (orbit_cbe_get_typespec_str): Same here too. 1735 * src/orb/dynamic/dynany.c: (DynamicAny_DynUnion_member_name): 1736 0 vs NULL and add some casts. 1737 * src/orb/orb-core/allocators.c: (ORBit_freekids_via_TypeCode_T): 1738 0 vs NULL fixes. 1739 * src/orb/orb-core/corba-object.c: (ORBit_objref_find): 1740 Same again. 1741 * src/services/name/boot.c: (main): And again. 1742 * test/echo-srv.c: (echo_srv_finish_object), (echo_srv_finish_poa): 1743 And again. 1744 17452004-08-10 Mark McLoughlin <mark@skynet.ie> 1746 1747 * src/orb/orb-core/iop-profiles.c: (IOP_start_profiles), 1748 (IOP_TAG_CODE_SETS_demarshal): don't initialize the sequence 1749 using structure initialization, but rather zero the structure 1750 contents. Fixes bug #147255, which admittedly is really a 1751 gcc on powerpc bug, but this code is nicer anyway. 1752 17532004-08-08 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net> 1754 1755 * src/orb/orb-core/corba-any.c (ORBit_sequence_remove): 1756 Impl. method to remove a single element in an ORBit sequence. 1757 1758 * include/orbit/orb-core/orbit-small.h: Add ORBit_sequence_remove 1759 prototype. 1760 1761 * test/everything/client.c (testSequenceHelpers): Test 1762 ORBit_sequence_remove. 1763 17642004-07-30 Mark McLoughlin <mark@skynet.ie> 1765 1766 * test/test-corbaloc.c: "\%" isn't a valid escape sequence, 1767 so just use "%". From d.binderman@virgin.net. 1768 17692004-07-07 Frank Rehberger <frehberg@mole.xtradyne.de> 1770 1771 * Revert to Version 2.11.x and Add Version ORBit2-2.11.1 1772 (developer release only) 1773 17742004-07-07 Frank Rehberger <frehberg@gnome-de.org> 1775 * Add Version ORBit2-2.12.0 1776 17772004-06-22 Chris Landrieu <perotin101@yahoo.com> 1778 1779 * src/orb/orb-core/allocators.c (ORBit_freekids_via_TypeCode_T): 1780 add missing pre-align for struct/except types. Complicate the 1781 union alignment rules. 1782 17832004-05-30 Christophe Saout <christophe@saout.de> 1784 1785 * src/orb/orb-core/corba-any.c: 1786 (ORBit_marshal_value, ORBit_demarshal_value): Fix broken wstring 1787 support. Marshal/demarshal the correct number of bytes on the 1788 wire and negotiate the UTF-16 byte ordering using an optional 1789 endianess marker. Also works now with JacORB. 1790 17912004-05-30 Christophe Saout <christophe@saout.de> 1792 1793 * src/services/imodule/orbit-imodule-utils.c 1794 (ORBit_imodule_get_typecode): set c_align in nested array 1795 typecodes that are not handled by ORBit_imodule_find_c_align. 1796 17972004-05-17 Michael Meeks <michael@ximian.com> 1798 1799 * ORBit-2.0.pc.in: prune pkgconfig cruft. 1800 18012004-05-14 Fernando Herrera <fherrera@onirica.com> 1802 1803 * src/idl-compiler/orbit-idl-c-backend.c: (out_for_pass): 1804 clobber LC_ALL because cpp tranlates some strings in some 1805 locales during dep files generation that makes compilation 1806 fails. Fixes bug #142546. 1807 18082004-05-08 Frank Rehberger <frehberg@gnome-de.org> 1809 1810 * src/orb/orb-core/iop-profiles.c (IOP_start_profiles): orbit 1811 generated profiles contain full codeset data structures 1812 (IOP_component_free): freeing codeset structures 1813 (CodeSetComponent_marshal): marshal codeset structures 1814 (CodeSetComponent_demarshal): demarshal codeset structures 1815 * src/orb/orb-core/iop-profiles.h (IOP_PROFILES_CODE_SET_*): 1816 declare known code-sets, but UTF8 and UTF16 supported only. 1817 (struct IOP_TAG_CODE_SETS_info): complete CodeSet data structure 1818 using CONV_FRAME_CodeSetComponentInfo. 1819 * src/orb/orb-core/corba-orb.c: variable orbit_use_corbaloc must 1820 be of type gboolean. 1821 18222004-05-07 Michael Meeks <michael@ximian.com> 1823 1824 * configure.in: bump version to 2.11.0 (after branch), 1825 update configure message to point to gnome-2-6 branch. 1826 18272004-05-02 Frank Rehberger <frehberg@gnome-de.org> 1828 1829 * src/orb/orb-core/corba-loc.c (corbaloc_profile_iiop): reference 1830 constants defined for CSSIOP 1831 1832 * src/orb/orb-core/iop-defs.idl: add IIOP.idl and CORBA Security 1833 Ineterop. attributes in files CSI.idl and CSIIOP.idl 1834 18352004-05-01 Frank Rehberger <frehberg@gnome-de.org> 1836 1837 * src/idl: upgrade to CORBA-3.0 IDL files cause of security 1838 attributes defined in there 1839 * include/orbit/orb-core/orb-types.h: comment typedef being 1840 defined in generated include/orbit/orb-core/corba-defs.h now. 1841 18422004-05-07 Michael Meeks <michael@ximian.com> 1843 1844 * Branch for Gnome 2.6 1845 18462004-04-24 Dan Winship <danw@ximian.com> 1847 1848 * src/services/imodule/Makefile.am (LDADD): Remove 1849 $(LOCAL_LINC_LIBS). (Only libORBit-2 itself should be linking 1850 against it.) 1851 1852 * src/services/name/Makefile.am (libORBitCosNaming_2_la_LDFLAGS): 1853 Likewise 1854 18552004-04-24 Frank Rehberger <frehberg@fresa.casa.in-berlin.de> 1856 1857 * MAINTAINERS: maintainer-ship handed over to frehberg@gnome-de.org 1858 18592004-04-21 Michael Meeks <michael@ximian.com> 1860 1861 * Version 2.10.1 1862 18632004-04-21 Michael Meeks <michael@ximian.com> 1864 1865 * src/orb/orb-core/iop-profiles.c 1866 (CodeSetComponent_demarshal): don't spew a 1867 g_warning, just a dprintf. 1868 (IOP_UnknownComponent_marshal): actually marshal 1869 the length of the sequence as well as the data. 1870 18712004-04-21 Bill Haneman <bill.haneman@sun.com> 1872 1873 * test/everything/basicServer.c 1874 (TestFactory_getObjectCount, TestFactory_getObject): 1875 hammer on some JavaORB stuff. 1876 1877 * test/everything/client.c (testIOR): impl. 1878 (run_tests): upd. 1879 18802004-04-13 Joe Marcus Clarke <marcus@freebsd.org> 1881 1882 * ORBit-2.0.pc.in: add gthread dep. 1883 18842004-03-19 Mark McLoughlin <mark@skynet.ie> 1885 1886 * orbit2-config.in: return -lORBitCosNaming-2 with 1887 --use-service=name rather than -lORBitCosNaming. 1888 This script is still deprecated old cruft, though. 1889 18902004-03-04 Michael Meeks <michael@ximian.com> 1891 1892 * Version 2.10.0 1893 1894 * src/orb/orb-core/corba-orb.c (CORBA_ORB_init): 1895 add 'orbit-io-thread' initializer to force I/O thread 1896 usage. 1897 1898 * src/orb/GIOP/giop.c (giop_init): s/threaded/thread_safe/ 1899 19002004-02-12 Chris Toshok <toshok@ximian.com> 1901 1902 * Version 2.9.8 1903 19042004-02-12 Chris Toshok <toshok@ximian.com> 1905 1906 * src/orb/orb-core/Makefile.am (INCLUDES): change the order so 1907 that top_builddir is always listed first. This keeps heads in 1908 top_srcdir from ending up in the .dep files and causing make 1909 distcheck to fail. 1910 19112004-02-10 Tomasz K�oczko <kloczek@pld.org.pl> 1912 1913 * acinclude.m4: added missing [] quotation first parameter of 1914 AC_DEFUN(). This fix is for aclocal from automake 1.8.x and is 1915 backward compatible with older auto tools. 1916 19172004-02-10 Michael Meeks <michael@ximian.com> 1918 1919 * src/orb/orb-core/Makefile.am: always dist. HTTP_FILES. 1920 19212004-02-06 Chris Toshok <toshok@ximian.com> 1922 1923 * src/orb/poa/poa.c (push_request_idle): add an @on_context arg, 1924 so callers can specify the GMainContext to use. Also, NULL out 1925 pcl->pobj and pcl->recv_buffer. 1926 (poa_destroy_idle_closure): new function. free up the 1927 PoaIdleClosure here, and release/unuse the POAObject/buffer if we 1928 haven't hit the idle handler yet. 1929 (ORBit_POA_handle_request): implement ORBIT_THREAD_HINT_ON_CONTEXT 1930 case, and pass NULL to push_request_idle for the normal IDLE 1931 cases. 1932 (ORBit_poa_allow_cross_thread_call): add ON_CONTEXT where the 1933 other idle poa policies are, and add a FIXME comment about needing 1934 something along the lines of g_main_context_get_owner to implement 1935 it properly. 1936 1937 * src/orb/poa/object-adaptor.c 1938 (ORBit_ObjectAdaptor_set_thread_hintv): extract the GMainContext 1939 out of the arg list in the ON_CONTEXT case. 1940 1941 * include/orbit/poa/orbit-adaptor.h (ORBit_ObjectAdaptor_type): 1942 add context slot. 1943 19442004-02-06 Michael Meeks <michael@ximian.com> 1945 1946 * src/orb/orb-core/Makefile.am (IDL_DIR): set 1947 this so we're not vunerable to environment 1948 problems. 1949 19502004-02-05 Michael Meeks <michael@ximian.com> 1951 1952 * test/test-giop.c (run_test): upd. tests. 1953 19542004-02-04 Michael Meeks <michael@ximian.com> 1955 1956 * Version 2.9.7 1957 19582004-02-04 Michael Meeks <michael@ximian.com> 1959 1960 * src/orb/GIOP/giop-recv-buffer.c 1961 (giop_recv_list_zap): signal the wait condition on 1962 threads when a connection dies. 1963 19642004-02-04 Michael Meeks <michael@ximian.com> 1965 1966 * src/orb/GIOP/giop.c (wakeup_mainloop): handle EAGAIN 1967 on wakeup pipe more elegantly, downgrade g_error. 1968 19692004-02-02 Kjartan Maraas <kmaraas@gnome.org> 1970 1971 * src/services/imodule/orbit-imodule.c: (build_cpp_args): 1972 Don't use deprecated function. Closes bug #133168. 1973 19742004-02-02 Michael Meeks <michael@ximian.com> 1975 1976 * docs/internals/Makefile.am: add misc. bits. 1977 1978 * docs/internals/interface-indirection.xls: switch 1979 from .gnumeric, and tag -kb. 1980 19812004-01-25 Alexander Winston <alexander.winston@comcast.net> 1982 1983 * ORBit2.m4: quote it properly 1984 19852004-01-16 Michael Meeks <michael@ximian.com> 1986 1987 * Version 2.9.6 1988 19892004-01-16 Michael Meeks <michael@ximian.com> 1990 1991 * src/orb/orb-core/corba-any.c (ORBit_copy_value_core): 1992 fetch the union tag only after pre-aligning correctly, 1993 vicious PPC snafu; thanks to Jeroen Zwartepoorte for 1994 his patience. 1995 1996 * test/everything/everything.idl: add a double 1997 to the VariableLengthUnion - causing grief on PPC. 1998 19992004-01-15 Mark McLoughlin <mark@skynet.ie> 2000 2001 * Version 2.9.5 2002 20032004-01-15 Mark McLoughlin <mark@skynet.ie> 2004 2005 * src/orb/orb-core/corba-env.c: (CORBA_exception_free), 2006 (CORBA_exception_set_system), (CORBA_exception_set), 2007 (CORBA_exception_init): add pre-conditions so as to 2008 warn people that passing NULL for the environment to 2009 CORBA methods is not allowed, without changing the 2010 existing behaviour. 2011 20122004-01-14 Michael Meeks <michael@ximian.com> 2013 2014 * Version 2.9.4 2015 20162004-01-14 Michael Meeks <michael@ximian.com> 2017 2018 * test/everything/client.c (testWithException): add. 2019 2020 * src/orb/orb-core/orbit-small.c 2021 (ORBit_small_invoke_stub): always clean Environment 2022 as it enters - otherwise there's no way of telling if 2023 the return value is valid. 2024 2025 * src/orb/poa/poa.c (ORBit_c_stub_invoke): init ev. 2026 here too; same reason; upd. locking comments. 2027 20282004-01-14 Albert Chin-A-Young <china@thewrittenword.com> 2029 2030 * include/orbit/GIOP/giop-recv-buffer.h: guint for 2031 single bitfield. 2032 2033 * src/orb/orb-core/corba-object.c (CORBA_Object_is_a), 2034 * src/orb/poa/poa.c (ORBit_POA_setup_root): fix 2035 array assigment portability. 2036 20372004-01-09 Michael Meeks <michael@ximian.com> 2038 2039 * Version 2.9.3 2040 20412004-01-09 Michael Meeks <michael@ximian.com> 2042 2043 * src/orb/orb-core/orbit-small.c 2044 (ORBit_small_invoke_stub): add performance 2045 comment and pass method flags in. 2046 2047 * src/orb/poa/poa.c (get_c_method), 2048 (ORBit_c_stub_invoke): extract / pass on the 2049 method flags to: 2050 (ORBit_poa_allow_cross_thread_call): if we 2051 have an non-std. threading policy, then do 2052 a 'true' oneway call. 2053 20542004-01-06 Michael Meeks <michael@ximian.com> 2055 2056 * configure.in: fix 'if !' bug for Morten. 2057 20582003-12-10 Michael Meeks <michael@ximian.com> 2059 2060 * src/orb/GIOP/giop.c (giop_init): make the 2061 write pipe non-blocking. 2062 (giop_thread_queue_process): fix printf. 2063 (giop_thread_push_recv): kill. 2064 (giop_incoming_signal_T): add 'type' param; we 2065 know people are waiting for replies and don't need 2066 wakeup. 2067 (giop_invoke_async, giop_thread_request_push): 2068 annotate as requests not replies. 2069 2070 * src/orb/GIOP/giop-recv-buffer.c 2071 (handle_reply): in-line giop_thread_push_recv 2072 for simplicity & mark as a reply type. 2073 20742003-12-10 Alexander Larsson <alexl@redhat.com> 2075 2076 * src/orb/GIOP/giop.c (first_valid_request): 2077 Really look up the policy 2078 20792003-12-08 Michael Meeks <michael@ximian.com> 2080 2081 * Version 2.9.2 2082 20832003-12-08 Michael Meeks <michael@ximian.com> 2084 2085 * src/orb/orb-core/orbit-small.c 2086 (ORBit_small_invoke_stub): bin double unuse in 2087 MARSHAL_RETRY loop; add more exception handling. 2088 20892003-12-06 Michael Meeks <michael@ximian.com> 2090 2091 * src/orb/GIOP/giop.c (wakeup_mainloop): don't spin on 2092 EAGAIN, if the buffer is full we're sure of waking the 2093 mainloop. Warn on EAGAIN - someone isn't running the 2094 glib mainloop. 2095 20962003-11-17 Frank Rehberger <frehberg@xtradyne.de> 2097 2098 * src/orb/GIOP/giop.c (giop_mainloop_handle_input): invoke 2099 giop_thread_queue_process with specific GIOPThread object instead 2100 NULL. 2101 21022003-11-15 Frank Rehberger <frehberg@xtradyne.de> 2103 2104 * src/idl-compiler/orbit-idl-c-skelimpl.c (cbe_ski_do_interface): 2105 fix mem-leak in generated code: g_free (servant) in destructor 2106 impl_*__destroy() by default 2107 21082003-11-13 Michael Meeks <michael@ximian.com> 2109 2110 * Version 2.9.1 2111 2112 * src/orb/orb-core/Makefile.am: fix include. 2113 21142003-11-10 Justin Schoeman <justin@expertron.co.za> 2115 2116 * src/orb/GIOP/giop-recv-buffer.c (giop_recv_buffer_use_buf, 2117 giop_recv_buffer_unuse): Add a reference to the connection on 2118 giop_recv_buffer_use_buf, and remove it on giop_recv_buffer_unuse. 2119 Prevents a connection shutdown while a request is being handled. 2120 21212003-11-06 Padraig O'Briain <padraig.obriain@sun.com> 2122 2123 * linc2/src/linc-server.c (link_server_handle_io): Change g_error 2124 to g_warning to avoid crash if revents field reset between check() 2125 and dispatch(). Fixes bug #126209. 2126 21272003-11-03 Frank Rehberger <frehberg@xtradyne.com> 2128 2129 * src/orb/poa/poa.c (ORBit_POA_invocation_stack_pop) 2130 (ORBit_POA_invocation_stack_push) 2131 (ORBit_POA_invocation_stack_lookup_objid) 2132 (ORBit_POA_invocation_stack_lookup_objref) 2133 (ORBit_POA_invocation_stack_peek): refactore code managing 2134 invocation stack; done for later thread aware management of stack. 2135 21362003-11-03 Justin Schoeman <justin@expertron.co.za> 2137 2138 * src/orb/orb-core/corba-orb.c (ORBit_initial_references_by_user): 2139 Destroy the NameService object after calling 2140 ORBit_set_initial_reference on it, as ORBit_set_initial_reference 2141 dup's the object. 2142 21432003-10-31 Michael Meeks <michael@ximian.com> 2144 2145 * src/orb/GIOP/giop.c (giop_thread_free): 2146 only free policy queue if we have one. 2147 2148 * src/orb/GIOP/giop-recv-buffer.c 2149 (giop_connection_handle_input): on HUP goto 2150 msg_error so we don't leave the cnx->incoming_msg 2151 hanging around. 2152 21532003-10-30 Michael Meeks <michael@ximian.com> 2154 2155 * test/everything/lifeCycle.c 2156 (LifeCycleServer_deactivateUnrefOnReturn): a nasty 2157 in-proc hack that unreferences our CORBA_Object 2158 handle. 2159 2160 * test/everything/client.c (testLifeCycle): use 2161 the ORBit_small_invoke_stub_n path, used by older 2162 stubs. 2163 21642003-10-29 Justin Schoeman <justin@expertron.co.za> 2165 2166 * src/orb/orb-core/orbit-object.c (ORBit_RootObject_shutdown): fix 2167 declaration of valid_running when G_ENABLE_DEBUG is defined. 2168 * src/orb/GIOP/giop.c (giop_thread_request_push_key): make sure 2169 tdata is set before calling giop_thread_key_add_T. 2170 21712003-10-27 Michael Meeks <michael@ximian.com> 2172 2173 * test/everything/client.c (testPolicy): impl. 2174 2175 * src/orb/orb-core/orbit-policy.c 2176 (ORBit_object_get_policy, ORBit_object_set_policy): impl. 2177 2178 * src/orb/orb-core/orbit-small.c 2179 (ORBit_small_invoke_stub): push/pop the policy if 2180 there is one associated with an object. 2181 2182 * src/orb/GIOP/giop.c (giop_thread_queue_process): 2183 move it here, rename, re-hash, fix leak. 2184 (giop_thread_queue_empty_T): implement. 2185 (giop_thread_request_process): move into process_queue. 2186 (giop_mainloop_handle_input): upd. 2187 (giop_invoke_async): push the async reply to the 2188 right thread, cleanly. 2189 (giop_thread_queue_tail_wakeup): impl. 2190 (giop_list_pop): re-implement, bin GQueue - it's more bloated, 2191 and sucks harder than GList. 2192 (giop_thread_free): free policy queue. 2193 2194 * src/orb/GIOP/giop-recv-buffer.c 2195 (giop_recv_buffer_get): handle switch to threaded 2196 IO in mid wait properly. 2197 (giop_recv_handle_queued_input): move this to giop.c 2198 (handle_reply): bin process_now 2199 22002003-10-24 Michael Meeks <michael@ximian.com> 2201 2202 * src/orb/GIOP/giop.c (giop_shutdown): allow 2203 shutdown from any thread - this looks safe enough, 2204 at least here. 2205 22062003-10-23 Mark McLoughlin <mark@skynet.ie> 2207 2208 * configure.in: release version 2.9.0. 2209 22102003-10-23 Mark McLoughlin <mark@skynet.ie> 2211 2212 * test/everything/lifeCycle.c: add this from the 2213 2.8.2 tarball. Michael must have forgotten to 2214 CVS add it. 2215 22162003-10-14 Michael Meeks <michael@ximian.com> 2217 2218 * src/orb/poa/poa.c (ORBit_POA_destroy_T_R): 2219 rename to this; fix nasty deadlock with child 2220 poas. 2221 22222003-10-10 Michael Meeks <michael@ximian.com> 2223 2224 * configure.in: switch to 2.9.0 2225 2226 * ORBit.spec.in: fix from Joe Pranevich. 2227 2228 * src/orb/GIOP/giop-recv-buffer.c 2229 (giop_recv_thread_fn): prune cruft. 2230 2231 * src/orb/GIOP/giop-connection.c 2232 (giop_connections_shutdown): axe. 2233 2234 * src/orb/GIOP/giop.c (giop_shutdown): call 2235 linc_connections_close. 2236 2237 * src/orb/poa/poa.c (get_c_method): re-order check 2238 for ORBIT_ADAPTOR_POA to pre the cast, check that we're 2239 not walking over the end of vepvmap_cache. 2240 (ORBit_skel_class_register): setup VEPV_CACHE_SIZE 2241 using the 0'th element of vepvcache. 2242 22432003-10-01 Michael Meeks <michael@ximian.com> 2244 2245 * src/orb/poa/poa.c (ORBit_POA_destroy_T): make 2246 the adaptor array walk slightly faster. 2247 2248 * test/everything/client.c (test_time_noop): 2249 fix timer leak. 2250 22512003-10-08 Olivier Andrieu <oliv__a@users.sourceforge.net> 2252 2253 * src/orb/orb-core/corba-typecode.c: (CORBA_TypeCode_id), 2254 (CORBA_TypeCode_name), (CORBA_TypeCode_member_name), 2255 (CORBA_TypeCode_member_type), (CORBA_TypeCode_discriminator_type), 2256 (CORBA_TypeCode_content_type): 2257 duplicate return values of type string or TypeCode in 2258 CORBA_TypeCode_* functions for spec conformance. 2259 22602003-10-07 Ian McKellar <yakk@yakk.net> 2261 2262 * src/services/imodule/orbit-imodule.c: 2263 (ORBit_iinterface_fill_iargs): 2264 I suck - Olivier just made a better version of my change. 2265 I'm reverting it. 2266 22672003-10-07 Ian McKellar <yakk@yakk.net> 2268 2269 reviewed by: Michael Meeks <michael@ximian.com> 2270 2271 * src/services/imodule/orbit-imodule.c: 2272 (ORBit_iinterface_fill_iargs): 2273 Fill in the iarg->name from the IDL. 2274 22752003-10-06 Olivier Andrieu <oliv__a@users.sourceforge.net> 2276 2277 * src/services/imodule/orbit-imodule.c: 2278 (ORBit_iinterface_fill_iargs): 2279 fill the name field of ORBit::IArg struct 2280 22812003-10-02 Alexander Larsson <alexl@redhat.com> 2282 2283 * include/orbit/GIOP/giop-types.h: 2284 * include/orbit/GIOP/giop.h: 2285 * src/orb/GIOP/giop.c: (giop_thread_new), (giop_thread_key_add_T), 2286 (giop_thread_key_release_T), (giop_thread_free), 2287 (giop_thread_self), (giop_thread_key_add), 2288 (giop_thread_key_release), (giop_thread_request_push_key), 2289 (giop_request_handler_fn), (giop_init): 2290 Allow GIOPThreads to have several keys. 2291 Don't leak some GIOPThread contents. 2292 2293 * src/orb/poa/orbit-adaptor.c: 2294 * include/orbit/poa/orbit-adaptor.h: 2295 Add ORBIT_THREAD_HINT_ON_CONTEXT to case to fix warning. 2296 Fix recursion in ORBit_ObjectAdaptor_set_thread_hint 2297 Implement ORBit_ObjectAdaptor_object_bind_to_current_thread. 2298 2299 * src/orb/poa/poa.c: (ORBit_POA_handle_request): 2300 Add comment about thread binding. 2301 23022003-09-30 Michael Meeks <michael@ximian.com> 2303 2304 * src/orb/poa/poa.c (ORBit_POAObject_handle_request): 2305 get the pobj->use_cnt tracking right. 2306 2307 * src/orb/GIOP/giop.c (scan_socket_dir): actually 2308 use the string comparison to use the sort order, 2309 not the directory order. 2310 2311 * test/everything/server.c 2312 (TestFactory_createLifeCycleServer): impl 2313 * test/everything/lifeCycle.c: add module. 2314 * test/everything/client.c (testLifeCycle): impl. 2315 (run_tests): upd. - try to catch Ettore's bug - to no 2316 avail. 2317 2318 * src/idl-compiler/orbit-idl-main.c: at least return 2319 error status on an error ... 2320 23212003-09-29 Michael Meeks <michael@ximian.com> 2322 2323 * test/test-mem.c (main_func): release refs we own. 2324 2325 * test/test-performance.c (test_activation): destroy 2326 the child poa nicely. 2327 2328 * src/orb/poa/poa.c (PortableServer_POA_destroy): 2329 hold the POA lock, re-flow. 2330 (ORBit_POA_destroy_T): upd. lock/unlock children. 2331 2332 * src/orb/orb-core/corba-object.c 2333 (ORBit_try_connection_T): clean warnings. 2334 2335 * src/orb/poa/poa.c (ORBit_POA_deactivate_object_T): 2336 rename to this. 2337 (ORBit_POAObject_handle_request): upd, hold a poa 2338 ref. for longer. 2339 2340 * src/orb/orb-core/corba-orb.c 2341 (CORBA_ORB_destroy, shutdown_orb): stop the g_atexit 2342 case from moaning about leaked references, if we have to 2343 do work here, then someone didn't do a debug_shutdown 2344 properly anyway, so it will always moan annoyingly. 2345 2346 * src/orb/orb-core/orbit-object.c 2347 (ORBit_RootObject_shutdown): add non-moaning option 2348 23492003-09-29 Olivier Andrieu <oliv__a@users.sourceforge.net> 2350 2351 * src/orb/orb-core/orbit-typelib.c (add_if_unique) 2352 (ORBit_get_typelib_paths): update typelib_path semantics 2353 to be more sane. 2354 23552003-09-22 Kjartan Maraas <kmaraas@gnome.org> 2356 2357 * acconfig.h: Removed. 2358 * configure.in: Added templates from acconfig.h here.. 2359 * src/orb/orb-core/corba-any.c: (ORBit_sequence_concat): 2360 * src/orb/orb-core/corba-orb.c: 2361 (CORBA_ORB_resolve_initial_references): 2362 * src/services/imodule/orbit-imodule.c: (build_cpp_args): 2363 * test/test-corbaloc.c: (main): Remove compiler warnings. 2364 2365Thu Sep 18 09:09:39 2003 George Lebl <jirka@5z.com> 2366 2367 * src/orb/util/genrand.c: when seeding from time shift the 2368 seconds up as we don't really care much about the high 2369 order bits (they're not interesting). Achieve almost 32 2370 bits of entropy within an hour of uncertainty this way 2371 rather then a century. Only affects places without 2372 /dev/urandom 2373 23742003-09-16 Michael Meeks <michael@ximian.com> 2375 2376 * configure.in: add $(top_builddir)/linc2/include 2377 to LOCAL_LINC_CFLAGS - how did distcheck not pick 2378 this up ? 2379 23802003-09-09 Michael Meeks <michael@ximian.com> 2381 2382 * Version 2.8.1 2383 23842003-09-08 Padraig O'Briain <padraig.obriain@sun.com> 2385 2386 * linc2/src/linc-private.h: Add field was_disconnected in order to 2387 deal with the case where connecting after disconnection returns 2388 EINPROGRESS. 2389 * linc2/src/linc-connection.c: 2390 (linc_connection_state_changed_T_R): Do not emit "broken" signal if 2391 disconnected field is set. 2392 (linc_connection_try_disconnect): Set was_disconnected field before 2393 calling link_connection_wait_connected_T. 2394 (link_connection_init): Initialize was_disconnected to FALSE. 2395 2396 This fixes bug #121246. 2397 23982003-09-05 Frank Rehberger <Frank.Rehberger@xtradyne.de> 2399 2400 * test/test-mem.c: autmatic memory verification based on 'ps' command, 2401 added POA test 2402 24032003-08-26 Michael Meeks <michael@ximian.com> 2404 2405 * Version 2.8.0 2406 24072003-08-21 Frank Rehberger <Frank.Rehberger@xtradyne.de> 2408 2409 * src/orb/orb-core/corba-any.c (ORBit_sequence_concat): initial 2410 implementaion 2411 24122003-08-19 Frank Rehberger <Frank.Rehberger@xtradyne.de> 2413 2414 * src/orb/orb-core/corba-loc.c (ORBit_corbaloc_from): encode 2415 giop-version in corbaloc 2416 2417 * src/orb/orb-core/corba-object.c (ORBit_object_to_corbaloc): 2418 representation for empty object reference 2419 (ORBit_object_by_corbaloc): accept corbaloc representation for 2420 empty object 2421 2422 * src/orb/orb-core/corba-orb.c (CORBA_ORB_object_to_string): if 2423 corbaloc fails, fallback to common marshalling 2424 24252003-08-11 Michael Meeks <michael@ximian.com> 2426 2427 * Version 2.7.6 2428 24292003-08-08 Michael Meeks <michael@ximian.com> 2430 2431 * src/orb/orb-core/corba-object.c 2432 (ORBit_try_connection_T): rename to this, return the 2433 correct state, and handle the result. 2434 (ORBit_object_get_connection): in here. 2435 (ORBit_try_connection_T): drop the lock over the 2436 [re-]connection phase - it's possibly re-enterant. #117970 2437 2438 * src/orb/GIOP/giop-connection.c 2439 (giop_connection_try_reconnect): return the status. 2440 24412003-08-07 Michael Meeks <michael@ximian.com> 2442 2443 * src/orb/orb-core/corba-orb.c (shutdown_orb): 2444 set init_level to 1, so our g_atexit handler 2445 actually does clean-up the ORB bits. 2446 24472003-08-06 Michael Meeks <michael@ximian.com> 2448 2449 * configure.in: don't link libIDL into the name 2450 service; thanks Morten. 2451 24522003-08-04 James Henstridge <james@daa.com.au> 2453 2454 * src/services/imodule/orbit-imodule.c (build_cpp_args): add 2455 function to build up a full set of cpp args (adds __ORBIT_IDL__ 2456 and __basename_COMPILATION). Makes many Gnome IDL files just 2457 work. 2458 (ORBit_iinterfaces_from_file): use build_cpp_args() to build the 2459 full set of CPP args. 2460 24612003-07-31 Michael Meeks <michael@ximian.com> 2462 2463 * Version 2.7.5 2464 2465 * src/orb/orb-core/corba-object.c: by-pass invoke_stub 2466 in-proc, since we may have a transient policy on our 2467 object; and we want an answer now. 2468 2469 * test/everything/server.c 2470 (TestFactory_getDerivedServer): impl. 2471 (test_TestFactory__init): upd. 2472 2473 * test/everything/derivedServer.c: add. 2474 2475 * src/orb/orb-core/corba-loc.c (ORBit_corbaloc_from): 2476 invert ssl_info NULL check's sense, remove redundant 2477 braces / inits. Add a 'break' so we don't drop through 2478 to the next case by mistake. 2479 2480 * test/everything/client.c (testIsA): hammer _is_a 2481 on the 'diamond of death'. 2482 24832003-07-30 Frank Rehberger <Frank.Rehberger@xtradyne.de> 2484 2485 * src/orb/orb-core/corba-object.c (g_CORBA_Object_hash): use 2486 object key for calculation, remove commented code 2487 2488 * src/orb/orb-core/corba-loc.c (ORBit_corbaloc_from): if ssl port 2489 given create ssliop-profile instead of iiop-profile. 2490 24912003-07-30 Michael Meeks <michael@ximian.com> 2492 2493 * test/everything/server.c, client.c: upd. to 2494 "orbit-local-non-threaded-orb". 2495 2496 * src/orb/orb-core/corba-orb.c 2497 (CORBA_ORB_init): default to a thread-safe ORB, since we 2498 can't have GConf initializing without threads, and then 2499 libbonobo requiring that we have them later; and (it seems) 2500 GConf won't change. 2501 2502 * Makefile.shared: parallel build messing. 2503 2504 * src/orb/orb-core/Makefile.am: parallel build fixage. 2505 25062003-07-29 Michael Meeks <michael@ximian.com> 2507 2508 * configure.in: disable linux/irda.h check / include, 2509 causing misc. problems, and the code is unused anyway. 2510 #118495. 2511 25122003-07-29 Frank Rehberger <Frank.Rehberger@web.de> 2513 2514 * src/orb/orb-core/corba-loc.c (corbaloc_profile_iiop_parse): 2515 polishing comments and layout (true K&R) 2516 (corbaloc_profile_iiop): target supports full security features, 2517 target requires at least integrity and confidentiality 2518 2519 * src/orb/orb-core/corba-object.c (g_CORBA_Object_hash): polishing 2520 comments 2521 25222003-07-28 Frank Rehberger <Frank.Rehberger@web.de> 2523 2524 * test/everything/test.sh (SAMPLE_NAME): regression test for corbaloc 2525 2526 * src/orb/orb-core/corba-orb.c (CORBA_ORB_object_to_string): 2527 feature allows stringified represantation in corbaloc syntax 2528 25292003-07-28 Frank Rehberger <Frank.Rehberger@web.de> 2530 2531 * test/Makefile.am (noinst_PROGRAMS): add target test-corbaloc 2532 2533 * test/test-corbaloc.c: test verifies string->object 2534 transformation from corbaloc strings 2535 2536 * src/orb/orb-core/corba-orb.c (CORBA_ORB_string_to_object): 2537 provide corbaloc parsing 2538 2539 * src/orb/orb-core/Makefile.am (main_src): add corba-loc.c 2540 2541 * src/orb/orb-core/corba-loc.c: new module, provides OMG corbaloc 2542 support 2543 2544 * src/orb/orb-core/corba-object.c (ORBit_object_to_corbaloc): 2545 thread safe invocation of corbaloc functions 2546 (ORBit_object_by_corbaloc): thread safe creation of object from 2547 corbaloc string 2548 25492003-07-28 Frank Rehberger <Frank.Rehberger@web.de> 2550 2551 * src/orb/orb-core/iop-profiles.c (IOP_ObjectKey_dump): zero 2552 padding in hex object key 2553 2554 * src/orb/orb-core/iop-profiles.c (IOP_profile_dump): free 2555 temporary 'key' 2556 2557 * src/orb/orb-core/corba-orb.c (ORBit_initial_references_by_user): 2558 protect initial references "RootPOA" and "POACurrent" from being 2559 set by user 2560 25612003-07-25 Dan Winship <danw@ximian.com> 2562 2563 * src/idl-compiler/orbit-idl-main.c (main): Don't print version 2564 info / flags to stderr. They're not errors. 2565 25662003-07-15 Michael Meeks <michael@ximian.com> 2567 2568 * src/orb/util/orbit-options.c 2569 (ORBit_option_command_line_parse): fix warning, 2570 bin redundant commenting. 2571 2572 * Version 2.7.3 2573 25742003-07-15 Michael Meeks <michael@ximian.com> 2575 2576 * src/orb/orb-core/corba-object.c 2577 (ORBit_try_connection): bin the TESTME g_warning. 2578 25792003-07-14 Mark McLoughlin <mark@skynet.ie> 2580 2581 Fix for bug #103159. 2582 Patiently tracked down by Brian Cameron <brian.cameron@sun.com> 2583 2584 * src/orb/orb-core/corba-any.c: (ORBit_value_equivalent): 2585 align to the discriminator before figure out the members 2586 typecode based on the discriminator value. 2587 25882003-07-14 Michael Meeks <michael@ximian.com> 2589 2590 * test/everything/client.c (testSegv): fix silly - 2591 amazing that gcc didn't catch this for me (!?) 2592 2593 * src/orb/GIOP/giop-recv-buffer.c: bin execinfo, 2594 thanks Morten. 2595 25962003-07-11 Michael Meeks <michael@ximian.com> 2597 2598 * src/orb/orb-core/corba-orb.c 2599 (ORBit_initial_references_by_user): fix iterator type. 2600 2601 * src/orb/orb-core/corba-object.c 2602 (ORBit_try_connection): use the (now) thread safe 2603 linc_connection_wait_connected [ although not re-enterant 2604 sadly ], if we've connected in the past, always return 2605 the same connection - but have a go at reviving it if 2606 it dropped. 2607 26082003-07-09 Michael Meeks <michael@ximian.com> 2609 2610 * test/everything/client.c (testNonExistent): impl. 2611 2612 * src/orb/orb-core/corba-object.c 2613 (CORBA_Object_non_existent): wait until it's connected 2614 before giving a verdict. 2615 26162003-07-08 Michael Meeks <michael@ximian.com> 2617 2618 * src/orb/orb-core/corba-orb.c: bin popt.h include. 2619 26202003-07-07 Michael Meeks <michael@ximian.com> 2621 2622 * test/everything/client.c (testPingPong): reset max_buffer 2623 on the cnx to 0 afterwards the test - ie. don't poison other 2624 stuff. 2625 2626 * src/orb/orb-core/orbit-small.c (async_recv_cb): 2627 call destroy_queue_entry on the mqe. 2628 2629 * src/orb/GIOP/giop-recv-buffer.c (giop_recv_list_setup_queue_entry) 2630 (giop_recv_list_destroy_queue_entry): hold a ref. on the cnx. 2631 (giop_recv_destroy_queue_entry_T): split out. 2632 2633 * src/orb/dynamic/dynany.c (ORBit_DynAnyFactory_new): impl. 2634 2635 * src/orb/orbit-init.c (ORBit_init_internals): register 2636 DynAnyFactory - a completely bogus object to satisfy the spec. 2637 2638 * src/orb/orb-core/corba-orb.c 2639 (ORBit_initial_references_by_user): cleanup. 2640 26412003-07-07 Michael Meeks <michael@ximian.com> 2642 2643 * test/everything/test.sh: put the failures first. 2644 2645 * src/orb/GIOP/giop-send-buffer.c 2646 (giop_send_buffer_unuse): shrink indirect chunk size, so 2647 we don't keep vast buffers kicking around. 2648 2649 * src/orb/orb-core/corba-any.c (ORBit_sequence_append): 2650 prune comments. 2651 2652 * src/orb/orb-core/allocators.c (ORBit_realloc_tcval): 2653 bin comments / extra braces - nice otherwise. 2654 26552003-07-03 Frank Rehberger <Frank.Rehberger@web.de> 2656 2657 * src/orb/orb-core/corba-any.c (ORBit_sequence_alloc): undo 2658 previous change, now sequence length initially seq->_length=length 2659 * test/everything/client.c (testSequenceHelpers): undo previous 2660 changes to client.c 2661 26622003-07-03 Frank Rehberger <Frank.Rehberger@web.de> 2663 2664 * src/orb/orb-core/corba-context.c (ORBit_Context_demarshal): fix 2665 for #116338 2666 26672003-07-02 Frank Rehberger <Frank.Rehberger@web.de> 2668 2669 * src/orb/orb-core/allocators.c (ORBit_realloc_tcval): prevent 2670 SEGV on empty sequences; if(old_num_elements==0 && !old_buffer) 2671 return ORBit_alloc_tcval(tc,num_elements); 2672 26732003-07-01 Frank Rehberger <Frank.Rehberger@web.de> 2674 2675 * src/orb/orb-core/corba-any.c (ORBit_sequence_alloc): invoke 2676 CORBA_sequence_set_release (seq, CORBA_TRUE) on new sequence, 2677 otherwise _buffer wouldn't be CORBA_free'd! Length of new sequence 2678 is 0 instead of _length==_maximum. 2679 (ORBit_sequence_append): calculate resized seq-length by 2680 new_len = MAX (2, (seq->_maximum * 2)); 2681 2682 * test/everything/client.c (testSequenceHelpers): extend 2683 ORBit_sequence* tests 2684 26852003-06-30 Padraig O'Briain <padraig.obriain@sun.com> 2686 2687 * linc2/src/linc-connection.c: Move link_source_remove and 2688 link_source_add to before link_connection_state_changed_T_R. 2689 2690 This fixes bug #116350. 2691 26922003-06-28 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net> 2693 2694 * docs/api/Makefile.am (DOC_SOURCE_DIR): indicate a source dir, so 2695 that gtk-doc can scan for inline docs. 2696 2697 * src/orb/orb-core/allocators.c: Added an extra asterisk to the 2698 comment block in the beginning of the file, to prevent gtk-doc 2699 from thinking this is an inline documentation comment. 2700 27012003-06-27 Frank Rehberger <Frank.Rehberger@web.de> 2702 2703 * src/orb/orb-core/corba-orb.c (CORBA_ORB_resolve_initial_references): 2704 feature-disabled: disabled exceptions that broke GNOME in 2705 bonobo_arg_new(). Feature should be re-enabled for later release. 2706 27072003-06-24 Michael Meeks <michael@ximian.com> 2708 2709 * test/everything/client.c (testUnboundedSequence): fix silly. 2710 2711 * src/orb/orb-core/orbit-small.c (ORBit_small_listen_for_broken) 2712 (ORBit_small_unlisten_for_broken_full): upd. 2713 27142003-06-22 Frank Rehberger <Frank.Rehberger@web.de> 2715 2716 * src/orb/util/orbit_optionss.h: introducing type ORBit_OptionKeyValue 2717 * src/orb/orb-core/corba-orb.c: bugfix in CORBA_init() of initial 2718 -ORBInitRef and -ORBNamingIOR option parsing 2719 27202003-06-22 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net> 2721 2722 * docs/api/ORBit2-sections.txt: Created the orbit2-small section. 2723 2724 * docs/api/Makefile.am: Instead of specifying an include directory 2725 for gtkdoc-scan, indicate a specific set of files to scan instead, 2726 via the variable EXTRA_HFILES. 2727 2728 * docs/api/ORBit2-docs.sgml: Added the orbit2-small section. 2729 2730 * docs/api/tmpl/orbit2-small.sgml: New template file for the orbit-small.h header. 2731 2732 * docs/api/tmpl/orbit2-allocators.sgml: Added some documention for 2733 this section. 2734 27352003-06-19 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net> 2736 2737 * Makefile.shared: Moved the target 'distclean-local' out of the 2738 MAINTAINER_MODE conditional because, since the deps are always 2739 generated (regardless of maintainer mode), they should be always 2740 be deleted too; This avoids the "files left in build directory 2741 after distclean" automake 1.7 error. 2742 2743 * test/Makefile.am (DYNANY_IDLOUT): Added skels and stubs sources. 2744 2745 * docs/api/ORBit2-sections.txt: New file, ORBit2 API sections. 2746 2747 * docs/api/ORBit2-docs.sgml: New file, main ORBit2 API docbook source. 2748 2749 * docs/api/Makefile.am: New makefile, to build ORBit2 API docs. 2750 2751 * linc2/configure.in, linc2/acconfig.h, linc2/autogen.sh: Removed 2752 these files: they're no longer used, and are getting in the way. 2753 2754 * autogen.sh: Use (include) generic gnome autogen; Require 2755 automake >= 1.6 because of gtk-doc. 2756 2757 * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Added --enable-gtk-doc, 2758 to make distcheck work. 2759 2760 * configure.in: Write linc2/include/linc/linc-config.h; gtk-doc 2761 detection. Write docs/api/Makefile. 2762 2763 * test/poa/Makefile.am: Avoid "blank line following trailing 2764 backslash" automake warning. 2765 2766 * test/everything/Makefile.am (BUILT_SOURCES): Removed duplicate 2767 definition. 2768 (CLEANFILES): Also removed this duplicate definition. 2769 2770 * src/orb/dynamic/Makefile.am: Removed duplicate definition of 2771 DYNAMIC_IDLOUT. 2772 2773 * src/orb/orb-core/Makefile.am (IDL_COMPILER): Removed, twice; 2774 already defined in Makefile.shared. 2775 27762003-06-19 Michael Meeks <michael@ximian.com> 2777 2778 * configure.in: add gthread to ORBIT_LIBS etc. 2779 27802003-06-19 Bowie Owens <bowie.owens@csiro.au> 2781 2782 * test/everything/sequenceServer.c 2783 (SequenceServer_opMassiveSeq): impl. & hook it up. 2784 2785 * test/everything/client.c (testUnboundedSequence): 2786 invoke opMassiveSeq. 2787 27882003-06-18 Frank Rehberger <Frank.Rehberger@web.de> 2789 2790 * src/orb/util/orbit-options.c: enable parsing of command line options 2791 * src/orb/util/orbit-options.h: declare ORBIT_OPTION_KEY_VALUE 2792 * src/orb/util/orbit-options.c: code for option ORBIT_OPTION_KEY_VALUE 2793 * src/orb/orb-core/corba-orb.c: support for -ORBNamingIOR, -ORBInitRef 2794 27952003-06-11 Michael Meeks <michael@ximian.com> 2796 2797 * test/everything/client.c (test_time_noop): fix. 2798 27992003-06-11 Frank Rehberger <Frank.Rehberger@web.de> 2800 2801 * src/orb/orb-core/orbit-small.c 2802 (ORBit_small_invoke_adaptor): ensure we free 2803 temporarily allocated fixed size struct/union 2804 return & out values. 2805 28062003-06-11 Michael Meeks <michael@ximian.com> 2807 2808 * src/orb/poa/poa.c: bin dupped set_classinfo macro. 2809 2810 * include/orbit/poa/poa.h 2811 (ORBIT_SERVANT_SET_CLASSINFO): add back to please 2812 old/stale stubs. 2813 28142003-06-09 Michael Meeks <michael@ximian.com> 2815 2816 * src/orb/GIOP/giop.c (giop_init): bin terrifying 2817 warning; hey-ho. 2818 28192003-06-09 Michael Meeks <michael@ximian.com> 2820 2821 * Version 2.7.2 2822 28232003-06-09 Michael Meeks <michael@ximian.com> 2824 2825 * include/orbit/orb-core/corba-object-type.h: 2826 internalize the CORBA_Object layout. 2827 2828 * src/orb/poa/orbit-adaptor.c 2829 (ORBit_ObjectAdaptor_set_thread_hintv): split 2830 (ORBit_ObjectAdaptor_set_thread_hint): impl. 2831 2832 * src/idl-compiler/orbit-idl-c-common.c 2833 (orbit_idl_output_c_common): guard the skel 2834 marshallers so they arn't built in the imodule. 2835 2836 * configure.in (ORBIT_SERIAL): bump it. 2837 2838 * include/orbit/poa/orbit-adaptor.h: 2839 internalize everything except the thread hint bits. 2840 2841 * include/orbit/poa/poa-types.h: internalize 2842 ORBit_POAObejct_type, drastically prune the 2843 macros / ABI exposure. 2844 2845 * src/orb/orb-core/orbit-small.c: disable 2846 ORBIT_SMALL_FAST_LOCALS to hugely prune our 2847 ABI. 2848 2849 * src/orb/poa/poa.c (ORBit_c_stub_invoke): 2850 add pre/post call macro values in comments here. 2851 28522003-06-06 Michael Meeks <michael@ximian.com> 2853 2854 * src/orb/Makefile.am: poke at deps again [!] 2855 2856 * src/orb/GIOP/giop-connection.c 2857 (giop_connections_shutdown): warn hackers only, 2858 an old problem. 2859 2860 * test/poa/test-poa.c: make the test effective & 2861 pass. 2862 2863 * src/orb/Makefile.am: fix deps again (?) 2864 2865 * src/orb/orb-core/orbit-small.c 2866 (ORBit_small_unlisten_for_broken_full): split from 2867 (ORBit_small_unlisten_for_broken): here, and allow 2868 a 'user_data' to be specified ie. make the method 2869 actually useful. 2870 (ORBit_small_invoke_stub_n): fix warning. 2871 28722003-06-06 Michael Meeks <michael@ximian.com> 2873 2874 * test/poa/test-poa.c: add. 2875 2876 * src/orb/poa/poa.c (ORBit_POA_copy_policies): impl. 2877 (ORBit_POA_new_from): impl. 2878 28792003-06-05 Michael Meeks <michael@ximian.com> 2880 2881 * include/orbit/orb-core/corba-object.h: fix 2882 include. 2883 2884 * src/orb/orb-core/orbit-policy.[ch]: stub. 2885 28862003-06-05 Michael Meeks <michael@ximian.com> 2887 2888 * test/everything/Makefile.am: use check_PROGRAMS 2889 instead of noinst_PROGRAMS - Mac people have 2890 problems with their static libraries it seems. 2891 2892 * test/everything/client.c (test_time_noop): 2893 upd for FORCE_GENERIC_MARSHAL etc. 2894 2895 * src/orb/poa/poa.c (get_c_method): 2896 in-line ORBIT_STUB_IsBypass (and the epv lookups) 2897 add ORBIT_SMALL_FORCE_GENERIC_MARSHAL 2898 (ORBit_POA_activate_object_T): tolerate a NULL 2899 vepvmap. 2900 29012003-06-04 Michael Meeks <michael@ximian.com> 2902 2903 * src/orb/Makefile.am: add dep on linc lib. 2904 2905 * test/everything/test.sh, 2906 * test/everything/client.c: run more tests. 2907 2908 * src/orb/GIOP/giop.c (giop_thread_new_check): impl. 2909 2910 * src/orb/poa/orbit-adaptor.c 2911 (ORBit_ObjectAdaptor_set_thread_hint): spawn the 2912 I/O thread when we set an interesting hint 2913 2914 * src/orb/orb-core/orbit-small.c 2915 (ORBit_small_invoke_stub): ensure we check to 2916 see if we're in another thread. 2917 2918 * src/orb/poa/poa.c 2919 (ORBit_poa_allow_cross_thread_call): add check 2920 to invoke switch to threaded io for XT case. 2921 2922 * src/orb/GIOP/giop-recv-buffer.c 2923 (giop_recv_buffer_get): use giop_thread_io instead 2924 of tdata != NULL. 2925 2926 * src/orb/poa/poa.c (pool_push_request_for_T) 2927 (ORBit_POA_handle_request, ORBit_POA_handle_request): 2928 use giop_thread_io. 2929 (ORBit_POA_handle_request): invoke_incoming_req 2930 outside the poa lock. 2931 2932 * src/orb/orb-core/corba-object.c 2933 (ORBit_try_connection): use giop_thread_safe (?), 2934 we don't want to drop into 2935 link_connection_wait_connected via re-enterancy. 2936 2937 * src/orb/GIOP/giop-recv-buffer.c 2938 (handle_reply): switch on giop_thread_io. 2939 2940 * src/orb/GIOP/giop.c (giop_threaded): rename to 2941 (giop_thread_safe): this, (giop_thread_io): add. 2942 (giop_shutdown, giop_thread_set_main_handler), 2943 (giop_thread_self, giop_thread_key_release), 2944 (giop_invoke_async, giop_main_run): upd. 2945 2946 * src/orb/Makefile.am (libORBit_2_la_LIBADD): 2947 libadd the link library. 2948 29492003-06-03 Michael Meeks <michael@ximian.com> 2950 2951 * src/orb/orb-core/corba-orb.c 2952 (CORBA_ORB_init): move genuid_init lower than 2953 giop_init (which does a linc_init). 2954 29552003-06-03 Alexander Larsson <alexl@redhat.com> 2956 2957 * src/orb/GIOP/giop.c (giop_request_handler_fn): 2958 use data as tdata instead of user_data 2959 29602003-06-03 Michael Meeks <michael@ximian.com> 2961 2962 * src/orb/GIOP/giop-connection.c 2963 (giop_connection_initiate): upd. 2964 29652003-05-31 Michael Meeks <michael@ximian.com> 2966 2967 * ORBit-2.0.pc.in: remove 'linc' in Requires, 2968 thanks oGalaxyo. 2969 29702003-05-30 Michael Meeks <michael@ximian.com> 2971 2972 * src/orb/GIOP/giop.c (giop_tmpdir_init): 2973 guard against double init. 2974 (ORBit_get_safe_tmp): impl. for hp/others. 2975 2976 * */Makefile.am: add LOCAL_LINC_LIBS/CFLAGS 2977 2978 * include/orbit/orbit.h: only include GIOP 2979 if we need to. 2980 2981 * include/orbit/GIOP/Makefile.am: don't 2982 install the GIOP headers - they're private. 2983 2984 * configure.in: include linc2/include in the 2985 include path. 2986 2987 * Updated *.[ch] with: 2988 2989 #!/usr/bin/perl -w -pi.bak 2990 s/linc_/link_/g; 2991 s/LINC([^_])/Link$1/g; 2992 s/LINC/LINK/g; 2993 2994 * configure.in: merge a chunk of checks in 2995 for linc2 2996 29972003-05-30 <waschk@informatik.uni-rostock.de> 2998 2999 * test/everything/Makefile.am 3000 (Everything_module_la_LDFLAGS): avoid version. 3001 30022003-05-29 Michael Meeks <michael@ximian.com> 3003 3004 * src/orb/orb-core/orbit-small.c (ORBit_small_invoke_stub_n): 3005 validate the index into the sequence. 3006 30072003-05-29 Michael Meeks <michael@ximian.com> 3008 3009 * src/orb/orb-core/orbit-small.c 3010 (ORBit_small_invoke_stub): check cross-thread calls, 3011 and generate an in-proc proxy for non-allowed xt cases. 3012 3013 * src/orb/poa/poa.c (ORBit_poa_allow_cross_thread_call): impl. 3014 (get_c_method): use it. 3015 3016 * src/orb/GIOP/giop.c (giop_thread_same_key): impl. 3017 30182003-05-28 Michael Meeks <michael@ximian.com> 3019 3020 * src/idl-compiler/orbit-idl-c-skels.c: 3021 move ck_output_skels (and deps) into: 3022 3023 * src/idl-compiler/orbit-idl-c-common.c: here. 3024 (orbit_idl_output_c_common): hook in, but only on 3025 stub/skelish builds. 3026 3027 * src/orb/poa/poa.c (ORBit_stub_post_invoke): kill. 3028 (ORBit_stub_pre_get_epv): rename to 3029 (get_c_method): this and re-hash. 3030 (ORBit_c_stub_invoke): impl. - a new plan. 3031 3032 * include/orbit/poa/poa-basics.h: bin old/stale 3033 ORBitSkeleton typedef. 3034 30352003-05-27 Michael Meeks <michael@ximian.com> 3036 3037 * src/orb/poa/poa.c (ORBit_stub_pre_get_epv) 3038 (ORBit_stub_post_invoke): impl. to get this 3039 out of the stubs. 3040 3041 * src/idl-compiler/orbit-idl-c-stubs.c 3042 (cs_output_stub): use the new stub methods. 3043 30442003-05-23 Michael Meeks <michael@ximian.com> 3045 3046 * src/orb/GIOP/giop-server.c 3047 (giop_server_handle_create_connection): upd. 3048 cnx instantiaton. 3049 3050 * src/orb/GIOP/giop-connection.c 3051 (giop_connection_get_property, giop_connection_set_property): impl. 3052 (giop_connection_class_init): upd. 3053 (giop_connection_set_orb_n_ver): kill. 3054 3055 * src/orb/orb-core/corba-object.c, 3056 * src/orb/orb-core/orbit-small.c: sed: 3057 s/linc_object_ref/giop_connection_ref/ 3058 s/linc_object_unref/giop_connection_unref/ 3059 30602003-05-22 Michael Meeks <michael@ximian.com> 3061 3062 * src/orb/GIOP/giop-connection.c 3063 (giop_connection_initiate): use new linc API. 3064 (giop_connection_list_lookup_T): bin. 3065 (giop_connection_list_add, giop_connection_list_init), 3066 (giop_connection_list_remove): bin. 3067 3068 * src/orb/GIOP/giop.c (giop_init): upd. 3069 3070 * src/orb/GIOP/giop.c (giop_thread_request_push_key): 3071 fix HINT_PER_REQUEST policy by not inserting NULL into 3072 the hash table (thanks to AlexL). 3073 3074 * src/orb/orb-core/corba-orb.c (CORBA_ORB_init): fix 3075 non-debugging build; thanks to Christophe. 3076 30772003-05-21 Michael Meeks <michael@ximian.com> 3078 3079 * src/orb/GIOP/giop-recv-buffer.c (handle_reply): 3080 re-work the code for a simpler, more readable flow, 3081 and fix async/ent ownership silly. 3082 3083 * src/orb/orb-core/corba-orb.c (ORBit_setup_debug_flags): 3084 add 'force_threaded' debug option. 3085 (CORBA_ORB_init): do the dirty bits. 3086 30872003-05-14 Michael Meeks <michael@ximian.com> 3088 3089 * src/orb/orb-core/orbit-small.c (orbit_small_demarshal): 3090 split out giop_recv_buffer_get, and pass the recv buffer in, 3091 remove the recv release argument. 3092 (ORBit_small_demarshal_async): pass the buffer straight in. 3093 (ORBit_small_invoke_stub): unref the recv buffer here. 3094 3095 * src/orb/GIOP/giop.c (giop_thread_request_process) 3096 (giop_thread_request_push): use a GQueue for request_queue. 3097 (giop_incoming_signal_T, giop_incoming_signal): impl. 3098 3099 * src/orb/GIOP/giop-recv-buffer.c 3100 (giop_recv_handle_queued_input): bin the return value, 3101 and re-hash. 3102 (giop_recv_buffer_get): use a GQueue for request_queue. 3103 3104 * src/orb/GIOP/giop.c (giop_thread_free): impl. 3105 (giop_invoke_async): re-factor bits into here. 3106 (giop_request_handler_fn): free the giop thread 3107 after use. 3108 3109 * src/orb/GIOP/giop-recv-buffer.c (handle_reply): 3110 bin process_now distinction. 3111 (giop_recv_list_zap): use giop_invoke_async so we 3112 work across threads. 3113 3114 * include/orbit/GIOP/giop-recv-buffer.h: make 3115 free_body a guchar not a (signed) gboolean; 3116 thanks to Morten. 3117 31182003-05-13 Michael Meeks <michael@ximian.com> 3119 3120 * test/everything/client.c (testDerivedServer): impl. 3121 (run_tests): call it. 3122 3123 * src/idl-compiler/orbit-idl-c-skels.c 3124 (cbe_skel_interface_print_vepvmap_offsets), 3125 (cbe_skel_do_interface): pass parent id through. 3126 3127 * src/idl-compiler/orbit-idl-utils.c 3128 (IDL_tree_traverse_helper): re-hash self inclusion; 3129 This bug was _really_ screwing up libbonobo. 3130 31312003-05-12 Michael Meeks <michael@ximian.com> 3132 3133 * src/idl-compiler/orbit-idl-utils.c 3134 (IDL_tree_traverse_parents_full): split from 3135 (IDL_tree_traverse_parents): here. 3136 3137 * include/orbit/poa/poa-types.h (ORBIT_VEPV_OFFSET): impl. 3138 3139 * src/idl-compiler/orbit-idl-c-skels.c 3140 (cbe_skel_interface_print_vepvmap_offsets): impl. 3141 (cbe_skel_do_interface): upd to call skel_class_register. 3142 3143 * src/orb/poa/poa.c (ORBit_classinfo_lookup): hold lock. 3144 (ORBit_skel_class_register): impl. for thread-safe skels 3145 (ORBit_poa_init): init lock. 3146 3147 * src/orb/poa/poa.c (ORBit_POAObject_handle_request): 3148 bin current_invocations->data assertion; we can get 3149 here without pushing the current invocation; was 3150 hurting libbonoboui. 3151 31522003-05-12 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net> 3153 3154 * MAINTAINERS: Declare myself as documentation maintainer. 3155 31562003-05-09 Michael Meeks <michael@ximian.com> 3157 3158 * test/everything/*.c: large scale servant re-factor. 3159 31602003-05-08 Michael Meeks <michael@ximian.com> 3161 3162 * test/everything/server.c (simple_finalize): impl. 3163 (test_TestFactory__fini, create_TestFactory): 3164 allocate servant. 3165 (simple_servant, TestFactory_createDeadReferenceObj) 3166 (test_TestFactory__init): allocate the servants, so 3167 we're thread-safe. 3168 3169 * test/everything/*.c: use Simple_base_epv to 3170 finalize the servant where appropriate. 3171 31722003-05-07 Michael Meeks <michael@ximian.com> 3173 3174 * src/orb/GIOP/giop-connection.c 3175 (giop_connection_dispose): release thread key. 3176 3177 * src/orb/poa/poa.c (pool_push_request_for_T): impl. 3178 (ORBit_POA_handle_request): implement 3179 PER_OBJECT,POA,CONNECTION,REQUEST policies. 3180 (ORBit_POA_free_fn, ORBit_POAObject_release_cb): 3181 de-register threading keys. 3182 3183 * src/orb/GIOP/giop.c (giop_thread_key_release_T) 3184 (giop_request_handler_fn, giop_thread_key_release) 3185 (giop_thread_request_push_for): impl. 3186 (giop_init): create the thread pool. 3187 31882003-05-06 Michael Meeks <michael@ximian.com> 3189 3190 * src/orb/orb-core/corba-object.c 3191 (ORBit_demarshal_object): add precondition. 3192 3193 * src/orb/orb-core/orbit-small.c 3194 (ORBit_small_get_connection_status): add 3195 pre-condition. 3196 31972003-05-03 Michael Meeks <michael@ximian.com> 3198 3199 * Version 2.7.1 3200 32012003-04-29 Michael Meeks <michael@ximian.com> 3202 3203 * test/everything/client.c (main, run_tests): pull 3204 out testSegv. 3205 3206 * src/orb/orb-core/corba-object.c 3207 (ORBit_try_connection): bin some type-checked casts. 3208 3209 * test/everything/client.c (run_threaded_tests), 3210 (test_thread): impl. 3211 3212 * src/orb/util/genrand.c (genuid_rand_openssl), 3213 (genuid_glib_pseudo, genuid_simple): take lock for 3214 static incrementing foo. 3215 (ORBit_genuid_fini, ORBit_genuid_init): setup lock. 3216 3217 * src/orb/orb-core/corba-object.c (ORBit_objref_new): 3218 setup the adaptor_obj explicitely at construct time. 3219 3220 * src/orb/poa/poa.c (ORBit_POA_obj_to_ref): upd. 3221 3222 * test/everything/client.c (testAsync): upd. 3223 3224 * src/orb/orb-core/orbit-small.c 3225 (ORBit_small_get_connection): don't take a ref, for b/w 3226 compatibility. 3227 (ORBit_small_get_connection_ref): add separate method. 3228 32292003-04-25 Michael Meeks <michael@ximian.com> 3230 3231 * src/orb/orb-core/orbit-small.c 3232 (ORBit_small_invoke_stub, ORBit_small_invoke_async) 3233 (ORBit_small_get_connection_status) 3234 (ORBit_small_unlisten_for_broken, get_status) 3235 (ORBit_small_get_connection): update to handle cnx. 3236 reference correctly. 3237 (ORBit_small_connection_unref): impl. 3238 3239 * src/orb/orb-core/corba-object.c 3240 (ORBit_objref_get_proxy, ORBit_marshal_object): register 3241 objref after generating profiles, hold lock, refactor 3242 slightly. 3243 (ORBit_object_get_connection): return an incremented ref. 3244 (CORBA_Object_non_existent): handle ref. 3245 3246 * src/orb/orb-core/iop-profiles.c 3247 (IOP_generate_profiles): remove object registration. 3248 32492003-04-24 Michael Meeks <michael@ximian.com> 3250 3251 * test/everything/test.sh: add threaded tests into the 3252 default run: too bold perhaps. 3253 3254 * src/orb/orb-core/corba-object.c 3255 (_ORBit_object_init): impl. 3256 (ORBit_try_connection): re-hash; add locking. 3257 (CORBA_Object_release_cb): bin giop_connection_unref. 3258 (ORBit_object_get_connection): hold the lock while we're 3259 working on the object. 3260 3261 * src/orb/GIOP/giop-connection.c 3262 (giop_connection_unref): bin it. 3263 3264 * src/orb/orb-core/corba-orb.c (CORBA_ORB_init): add init. 3265 32662003-04-23 Michael Meeks <michael@ximian.com> 3267 3268 * src/orb/orb-core/corba-object.c 3269 (ORBit_try_connection): here lurketh much grief. 3270 3271 * src/orb/GIOP/giop-recv-buffer.c 3272 (giop_recv_msg_reading_body): add comment on 0 length 3273 message for CLOSECONNECTION. 3274 (giop_connection_handle_input): handle 0 length bodies 3275 properly. 3276 32772003-04-21 Herbert Valerio Riedel <hvr@gnu.org> 3278 3279 * src/orb/poa/orbit-adaptor.c 3280 (ORBit_handle_locate_request): impl. a stub (checks for POA, 3281 but not object itself so far). 3282 3283 * src/orb/orb-core/orbit-small.c (orbit_small_marshal): 3284 set the response_expected flag correctly for oneways. 3285 3286 * src/orb/GIOP/giop-send-buffer.c 3287 (giop_send_buffer_use_request): fix request id bits. 3288 (giop_send_buffer_write): don't tail align send buffers, 3289 we only want to do that (elsewhere) for fragments (it seems) 3290 3291 * src/orb/GIOP/giop-recv-buffer.c 3292 (giop_GIOP_TargetAddress_demarshal): clean it up. 3293 (giop_recv_buffer_demarshal_locate_request_1_2): 3294 fix id demarshal 3295 (giop_recv_buffer_get_request_id, giop_recv_buffer_demarshal): 3296 add "close connection" stub. 3297 (giop_recv_buffer_get_objkey): make it work fully for more 3298 msg types & versions. 3299 (giop_connection_handle_input): handle locate request. 3300 33012003-04-21 Michael Meeks <michael@ximian.com> 3302 3303 * src/orb/GIOP/giop-recv-buffer.c (giop_recv_set_limit): impl. 3304 (giop_recv_buffer_handle_fragmented, giop_recv_msg_reading_body): 3305 use the dynamic limit instead. 3306 3307 * src/orb/orb-core/corba-orb.c (CORBA_ORB_init): set the limit, 3308 add an "ORBInitialMsgLimit" option. 3309 3310 * src/orb/GIOP/giop.c (wakeup_mainloop): handle EINTR. 3311 33122003-04-19 Michael Meeks <michael@ximian.com> 3313 3314 * src/orb/GIOP/giop.c (giop_init, giop_shutdown): bin 3315 incoming thread bits. 3316 3317 * src/orb/orb-core/orbit-small.c (get_status): use 3318 linc_connection_get_status. 3319 3320 * src/orb/GIOP/giop-connection.c (giop_connection_close): 3321 use linc_connection_disconnect instead of a dubious forced 3322 state change. 3323 33242003-04-18 Michael Meeks <michael@ximian.com> 3325 3326 * src/orb/GIOP/giop-recv-buffer.c (giop_connection_handle_input): 3327 hold neither ref nor lock, linc does it. 3328 3329 * src/orb/GIOP/giop-connection.c (giop_connection_real_state_changed) 3330 (giop_connection_dispose, giop_connection_init): bin locking action. 3331 3332 * include/orbit/GIOP/giop-connection.h: bin incoming and 3333 outgoing mutex; all locking is in linc-connection now. 3334 33352003-04-18 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net> 3336 3337 * src/orb/poa/orbit-adaptor.c 3338 (ORBit_ObjectAdaptor_set_thread_hint): Update debugging check to 3339 consider the new _IDLE thread hints. 3340 33412003-04-17 Michael Meeks <michael@ximian.com> 3342 3343 * test/everything/client.c (test_basic_server): 3344 re-factor this out so we can apply it to different remote 3345 POA policies later. 3346 3347 * src/orb/poa/poa.c (push_request_idle, poa_invoke_at_idle), 3348 (ORBit_POA_handle_request): impl both. both idle policies. 3349 (poa_recv_is_oneway): impl. 3350 33512003-04-15 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp> 3352 3353 * Makefile.shared: append $(EXEEXT) to IDL_COMPILER. 3354 3355 * configure.in: call AC_LIBTOOL_WIN32_DLL. 3356 3357 * configure.in: call AC_PROG_CC earlier. because AM_PROG_LIBTOOL 3358 needs it. 3359 3360 * src/orb/GIOP/giop.c (test_safe_socket_dir): disable permission 3361 checking on Cygwin. 3362 3363 * src/orb/Makefile.am: add -no-undefined to libORBit_2_la_LDFLAGS. 3364 3365 * src/services/imodule/Makefile.am: add -no-undefined to 3366 libORBit_imodule_2_la_LDFLAGS and write dependency libraries in 3367 libORBit_imodule_2_la_LIBADD explicitly. 3368 3369 * src/services/name/Makefile.am: add -no-undefined to 3370 libORBitCosNaming_2_la_LDFLAGS and write dependency libraries in 3371 libORBitCosNaming_2_la_LIBADD explicitly. 3372 3373 * test/everything/Makefile.am: add -no-undefined to 3374 Everything_module_la_LDFLAGS. 3375 33762003-04-10 Michael Meeks <michael@ximian.com> 3377 3378 * docs/FAQ: update threading bits. 3379 33802003-04-08 Michael Meeks <michael@ximian.com> 3381 3382 * configure.in: check for a slew of sys headers. 3383 3384 * src/orb/orb-core/orbhttp.c: only include 3385 headers we have. 3386 33872003-04-04 Michael Meeks <michael@ximian.com> 3388 3389 * test/poa/poatest-basic11.c (poatest_run): test 3390 the ObjectId <-> string methods. This test fails. 3391 3392 * src/orb/poa/poa.c (PortableServer_ObjectId_to_wstring) 3393 (PortableServer_ObjectId_to_string): don't trample 3394 on bits off the end of the string terminating it. 3395 3396 * src/orb/GIOP/giop-recv-buffer.c 3397 (giop_recv_thread_fn): remove shutdown warning. 3398 3399 * src/orb/GIOP/giop.c (giop_shutdown): guard 3400 against double invocation. 3401 3402 * src/orb/orb-core/corba-orb.c 3403 (ORBit_ORB_shutdown_servers): remove warning. 3404 (CORBA_ORB_shutdown): delay server shutdown until giop 3405 worker thread is joined. 3406 3407 * src/orb/orb-core/iop-profiles.c 3408 (IOP_delete_profiles): NULL ORB profiles pointer. 3409 34102003-04-03 Michael Meeks <michael@ximian.com> 3411 3412 * src/orb/orb-core/corba-object.c 3413 (ORBit_register_objref): take the ORB lock, and 3414 work on the ORB. 3415 (ORBit_lookup_objref, CORBA_Object_release_cb): ditto. 3416 (ORBit_objref_find): set the orb before lookup. 3417 3418 * src/orb/orb-core/corba-orb.c 3419 (CORBA_ORB_shutdown): don't do an init_level check, 3420 don't barf half way on 'wait for completion', but 3421 actually do a full shutdown (doh). 3422 (strip_object_profiles): do this on the objects. 3423 3424 * test/everything/server.c 3425 (TestFactory_segv): do a shutdown, not a dodgy 3426 loop kill. 3427 34282003-04-02 Richard Kinder <r_kinder@yahoo.com> 3429 3430 * configure.in: fix for #108932 - warning spat out for linux/irda.h. 3431 Also fix up error case when no pkg-config script exists - exit with 3432 AC_MSG_ERROR rather than letting the script die by coincidence. 3433 34342003-04-01 Michael Meeks <michael@ximian.com> 3435 3436 * src/orb/GIOP/giop.c (giop_shutdown, giop_main_run): 3437 add shared seperate 'main-thread' glib mainloop, 3438 If you are running your own loop, you get to quit that 3439 yourself on CORBA_ORB_shutdown, we only break out of 3440 CORBA_ORB_run's loop, if it's going. 3441 3442 * src/orb/poa/poa-private.h: add. 3443 3444 * src/orb/poa/poa.c (ORBit_POA_free_fn, ORBit_POA_new): 3445 add a per poa lock, add '_T' suffixes to things that 3446 take / release no locks. Push POA_[UN]LOCK throught, 3447 need some work on pre-conditions though. 3448 (ORBit_POAObject_handle_request): do some ref holding 3449 over invocation & re-factor exception processing. 3450 3451 * src/orb/poa/poa-manager.c 3452 (PortableServer_POAManager_get_state): lock 3453 sprinkling. 3454 3455 * src/orb/poa/poa.c (ORBit_POACurrent_get_object): 3456 hold the orb lock while poking at current_invocations. 3457 (ORBit_POAObject_handle_request), 3458 (PortableServer_POA_servant_to_reference): ditto. 3459 (push_request): split out 3460 3461 * src/orb/orb-core/orbit-small.c 3462 (orbit_small_demarshal): add comment for Rich Burridge. 3463 34642003-03-31 Michael Meeks <michael@ximian.com> 3465 3466 * src/orb/GIOP/giop-recv-buffer.c 3467 (giop_recv_buffer_get): integrate the request 3468 processing into the same condition. 3469 3470 * src/orb/GIOP/giop.c (giop_thread_get_main): impl. 3471 3472 * test/everything/client.c (run_tests): shunt 3473 testMisc belong pingPong. 3474 3475 * src/orb/GIOP/giop.c: massive threading re-hash, 3476 realised a seprate GIOPQueue to the GIOPThread was 3477 a painful waste of time. 3478 3479 * src/orb/poa/poa.c (queue_request, local_main_handle) 3480 (LocalClosure): kill old hacks. 3481 (ORBit_POA_handle_request): use new external hacks. 3482 3483 * src/orb/poa/poa.c (ORBit_poa_init): add. 3484 3485 * src/orb/orb-core/corba-orb.c (CORBA_ORB_init): 3486 do the poa_init. 3487 3488 * src/orb/GIOP/giop.c (scan_socket_dir): handle 3489 non-existant directories gracefully. 3490 3491 * test/everything/test.sh: stop 'make check' 3492 destroying the system socket directory - and causing 3493 all manner of grief. 3494 3495 * src/orb/GIOP/giop-connection.c 3496 (giop_connection_initiate): bin last ORBIT_THREADED 3497 conditionals. 3498 3499 * include/orbit/GIOP/giop-basics.h, 3500 * src/orb/GIOP/giop-server.c (giop_server_new): ditto 3501 35022003-03-29 Michael Meeks <michael@ximian.com> 3503 3504 * src/orb/orb-core/corba-orb.c (CORBA_ORB_run): 3505 add a nasty hack to not do a linc_mainloop in the 3506 threaded case, since that causes acute problems. 3507 3508 * test/everything/test.sh: add --threaded test. 3509 3510 * src/orb/GIOP/giop-connection.c 3511 (giop_connection_dispose): 3512 (giop_connection_init): bin outgoing_mutex, move this 3513 into linc for easier cross thread output task transfer. 3514 3515 * src/orb/GIOP/giop-send-buffer.c 3516 (giop_send_buffer_write): ditto. 3517 35182003-03-30 Richard Kinder <r_kinder@yahoo.com> 3519 3520 * src/orb/orb-core/corba-context.c: Code cleanups. Remove gboolean 3521 return value from free_child since it is never used. Clean up some 3522 unused user_data arguments to g_slist_foreach and 3523 g_hash_table_foreach_remove. Fixes #109358. 3524 35252003-03-28 Michael Meeks <michael@ximian.com> 3526 3527 * src/orb/GIOP/giop-send-buffer.c (giop_send_buffer_write): 3528 do the nasty re-entering connection wait phase here 3529 instead of in linc, so we can make it thread safe later. 3530 35312003-03-28 Michael Haubenwallner <michael.haubenwallner@salomon.at> 3532 3533 * src/orb/orb-core/corba-any.c 3534 (ORBit_marshal_value): fix silly marshalling packed types. 3535 35362003-03-28 Michael Meeks <michael@ximian.com> 3537 3538 * test/everything/client.c 3539 (testFixedLengthArray): split into (testLongArray) 3540 add (testOctetArray). 3541 3542 * test/everything/arrayServer.c 3543 (ArrayServer_opOctetArray): add. 3544 35452003-03-27 Michael Meeks <michael@ximian.com> 3546 3547 * src/orb/GIOP/giop-send-buffer.c 3548 (giop_send_buffer_init): always enable wire data 3549 wiping if ORBIT_PURIFY. 3550 3551 * src/orb/GIOP/giop.c (giop_tmpdir_init): 3552 use g_get_tmp_dir instead of hard-coding "/tmp". 3553 35542003-03-25 Michael Meeks <michael@ximian.com> 3555 3556 * Version 2.7.0 3557 35582003-03-25 Richard Kinder <r_kinder@yahoo.com> 3559 3560 * src/services/name/orbit-name-server.c: return CORBA_OBJECT_NIL rather 3561 than NULL, clean up rn_unref functions. Fixes #109125. 3562 35632003-03-24 Richard Kinder <r_kinder@yahoo.com> 3564 3565 * src/orb/poa/poa.c: Change return values for ORBit_POA_is_inuse and 3566 ORBit_POA_destroy to gboolean's, not CORBA_boolean's. Fixes #109066 3567 35682003-03-18 Archana Shah <archana.shah@wipro.com> 3569 3570 * /configure.in: Put a check to read the argument for, 3571 whether to enable orbhttp compilation. 3572 3573 * /src/orb/orb-core/Makefile.am: Changed so that orbhttp.c 3574 and orbhttp.h will be compiled only if mentioned. 3575 3576 * /src/orb/orb-core/corba-orb.c (CORBA_ORB_init): 3577 Put checks for compilation of http-ior segment. 3578 35792003-03-18 Shailesh Mittal <shailesh.mittal@wipro.com> 3580 3581 * src/orb/orb-core/iop-profiles.c (IOP_start_profiles): 3582 Fixed the bug, now it works for IPv6 options without having 3583 unix option set, by eliminating the requirement of osi profile for IPv6. 3584 Fixed sense of string comparision which check for duplicate profiles. 3585 35862003-03-17 Michael Meeks <michael@server.home> 3587 3588 * src/orb/orb-core/orbit-small.c 3589 (ORBit_small_invoke_adaptor): memset scratch, args to 0. 3590 (ORBit_small_invoke_adaptor, orbit_small_demarshal): 3591 handle de-marshalling overruns with an exception, rather 3592 a goto spaghetitfication. 3593 3594 * src/orb/include/Makefile.am: check and install 3595 rules depend on 'all', hopefully fixes brokenness 3596 with 'make install' 3597 3598 * src/orb/orb-core/orbit-small.c 3599 (ORBit_small_invoke_adaptor): use g_alloca now 3600 we have it. 3601 3602 * src/orb/GIOP/giop-recv-buffer.c 3603 (giop_connection_handle_input): debug dump the correct 3604 body offset instead of starting at 0, use 12. 3605 3606 * src/orb/GIOP/giop.c (giop_dump): print --- delimiter 3607 after dumping the full block. 3608 36092003-03-15 Christophe Merlet <redfox@redfoxcenter.org> 3610 3611 * ORBit-imodule-2.0.pc.in: Fix a typo. 3612 36132003-03-14 Michael Meeks <michael@ximian.com> 3614 3615 * src/orb/orb-core/corba-any.c 3616 (ORBit_demarshal_value): optimize zero length 3617 sequences. 3618 3619 * src/orb/orb-core/corba-orb.c 3620 (CORBA_ORB_destroy): give a different warning if 3621 people unref but don't destroy the ORB. 3622 36232003-03-11 Michael Meeks <michael@ximian.com> 3624 3625 * src/orb/orb-core/corba-any.c (ORBit_sequence_alloc) 3626 (ORBit_sequence_append, ORBit_sequence_set_size) 3627 (ORBit_sequence_concat): impl & stub sequence helpers. 3628 (SKIP_ALIAS): use this throught. 3629 3630 * src/orb/orb-core/allocators.c 3631 (ORBit_alloc_get_tcval): impl. 3632 3633 * src/orb/poa/poa.c (ORBit_POAObject_handle_request): 3634 only lookup CORBA_Object small skels in-proc. 3635 36362003-03-03 Michael Meeks <michael@localhost.localdomain> 3637 3638 * src/orb/poa/poa.c (ORBit_POA_handle_request): 3639 add HINT_ONEWAY_AT_IDLE and HINT_ALL_AT_IDLE 3640 thread hints - currently ONEWAY doesn't distinguish. 3641 36422003-02-14 Mark McLoughlin <mark@skynet.ie> 3643 3644 * include/orbit/poa/orbit-adaptor.h: add 3645 ORBit_ObjectAdaptor_(get|set)_thread_hint. 3646 3647 * src/idl/misc/PortableServer.idl: kill non spec compliant 3648 ThreadPolicy enum values. 3649 3650 * src/orb/poa/orbit-adaptor.c: 3651 (ORBit_ObjectAdaptor_set_thread_hint), 3652 (ORBit_ObjectAdaptor_get_thread_hint): impl. 3653 (ORBit_adaptor_setup): init the hint. 3654 3655 * src/orb/poa/poa.c: 3656 (queue_request): split out from handle_request(). 3657 (ORBit_POA_handle_request): upd and treat ORB_CTRL mode 3658 with no hint just like single threaded mode. 3659 36602003-02-11 Mark McLoughlin <mark@skynet.ie> 3661 3662 * Makefile.am, ORBit-imodule-2.0.pc.in, 3663 configure.in: build and install a pkg-config 3664 file for the imodule service. 3665 3666 * src/services/imodule/Makefile.am: actually 3667 install the damn thing. Doh. 3668 36692003-02-10 Michael Meeks <michael@ximian.com> 3670 3671 * src/orb/GIOP/giop.c (wakeup_mainloop): spew 3672 errors on error. 3673 3674 * src/orb/GIOP/giop-recv-buffer.c 3675 (giop_connection_handle_input): add more helpful 3676 messages. 3677 3678 * configure.in: make the "can't link" message more 3679 generally helpful. 3680 36812003-01-26 Michael Meeks <michael@ximian.com> 3682 3683 * test/everything/client.c (wait_till_done): 3684 split out, and add thread safe path. 3685 3686 * src/orb/poa/poa.c (ORBit_POA_handle_request): 3687 free the recv buffer if we've handled it 3688 immediately in this thread. 3689 (ORBit_POA_object_id_lookup): return a ref. 3690 (PortableServer_POA_create_reference_with_id), 3691 (PortableServer_POA_activate_object_with_id), 3692 (PortableServer_POA_id_to_reference), 3693 (PortableServer_POA_id_to_servant): tool up 3694 with matching releases. 3695 (ORBit_POA_handle_request): hold the pobj 3696 during the scope. 3697 (ORBit_POA_set_policies): init threading type 3698 to STM by default. 3699 3700 * src/orb/GIOP/giop-recv-buffer.c 3701 (giop_connection_handle_input): let 3702 ORBit_handle_request free the recv buffer when 3703 convenient. 3704 3705 * src/orb/poa/orbit-adaptor.c 3706 (ORBit_adaptor_find): dup the returned ref, 3707 and hold lifecycle lock over orb->adaptors 3708 manipulation. 3709 (ORBit_handle_request): release the ref. 3710 (ORBit_adaptor_setup): hold lifecycle lock 3711 over adaptor setup. 3712 37132002-11-29 Michael Meeks <michael@ximian.com> 3714 3715 * src/orb/GIOP/giop-connection.c 3716 (giop_connection_list_lookup), 3717 (giop_connection_initiate), 3718 (giop_connections_shutdown): use linc_object_[un]ref. 3719 3720 * src/orb/GIOP/giop-recv-buffer.c 3721 (giop_connection_handle_input): ditto. 3722 37232002-10-31 Michael Meeks <michael@ximian.com> 3724 3725 * src/orb/orb-core/corba-orb.c 3726 (ORBit_ORB_start_servers): lock the ORB 3727 while setting up the profiles. 3728 (ORBit_ORB_shutdown_servers): guard with 3729 locks. 3730 3731 * src/orb/GIOP/giop.c (giop_shutdown): impl. 3732 3733 * src/orb/GIOP/giop-connection.c 3734 (giop_connection_remove_by_orb): rename to 3735 (giop_connections_shutdown): this & upd. 3736 (giop_connection_unref): use linc_object_unref. 3737 3738 * src/orb/GIOP/giop.c (giop_init): 3739 actually start the IO thread ;-) 3740 37412002-10-31 Michael Meeks <michael@ximian.com> 3742 3743 * test/echo-client-t.c (main): init mt orb. 3744 3745 * src/orb/GIOP/giop-recv-buffer.c 3746 (giop_recv_list_destroy_queue_entry): kill 3747 bogus thread stuff. 3748 (handle_reply): queue up reply recv's on 3749 the right thread for processing elsewhere. 3750 (giop_recv_buffer_get): kill unused non-blocking 3751 mode, substantially re-write. 3752 (giop_recv_list_zap): use locking. 3753 3754 * src/orb/GIOP/giop.c 3755 (giop_thread_push_recv): impl. 3756 37572002-10-30 Michael Meeks <michael@ximian.com> 3758 3759 * src/orb/GIOP/giop-recv-buffer.c 3760 (giop_recv_list_setup_queue_entry_async), 3761 (giop_recv_list_setup_queue_entry): upd. 3762 (giop_connection_handle_input): upd. 3763 3764 * include/orbit/GIOP/giop-recv-buffer.h 3765 (GIOPMessageQueueEntry): bin bogus thread bits, 3766 add thread id. 3767 3768 * src/orb/GIOP/giop.c (giop_init): pass threaded, 3769 setup main thread / context wakeup. 3770 (giop_thread_new, giop_thread_self): impl. 3771 3772 * src/orb/orb-core/corba-orb.c 3773 (CORBA_ORB_init): check for orbit-local-mt-orb 3774 profile. 3775 37762003-01-26 Michael Meeks <michael@ximian.com> 3777 3778 * test/everything/server.c (main), 3779 * test/everything/client.c (main): add --threaded 3780 option to enable threading. 3781 37822002-12-20 Michael Meeks <michael@ximian.com> 3783 3784 * src/orb/poa/poa.c (ORBit_POAObject_handle_request): upd. 3785 3786 * include/orbit/poa/poa-types.h: make the first 3787 element a 'dummy' - reflecting reality. 3788 3789 * include/orbit/poa/poa-basics.h: bin the old 3790 relay_call. Rename the impl_finder. 3791 37922003-01-09 Mark McLoughlin <mark@skynet.ie> 3793 3794 * src/orb/orb-core/corba-orb.c: (CORBA_ORB_create_struct_tc), 3795 (CORBA_ORB_create_union_tc), (CORBA_ORB_create_enum_tc), 3796 (CORBA_ORB_create_alias_tc), (CORBA_ORB_create_exception_tc), 3797 (CORBA_ORB_create_interface_tc), (CORBA_ORB_create_string_tc), 3798 (CORBA_ORB_create_wstring_tc), (CORBA_ORB_create_fixed_tc), 3799 (CORBA_ORB_create_sequence_tc), 3800 (CORBA_ORB_create_recursive_sequence_tc), 3801 (CORBA_ORB_create_array_tc): remove malloc return value 3802 checks - its all through glib. 3803 38042003-01-09 Michael Meeks <michael@ximian.com> 3805 3806 * configure.in: bump version to 2.7.0, 3807 require linc >= 1.1.0 3808 3809 * Branch for gnome-2-2 3810 38112003-01-06 Michael Meeks <michael@ximian.com> 3812 3813 * test/everything/server.c (CLOBBER_SYM): 3814 actually clobber the symbol. 3815 38162002-12-28 Michael Meeks <michael@ximian.com> 3817 3818 * Version 2.5.1 3819 38202002-12-28 Michael Meeks <michael@ximian.com> 3821 3822 * test/everything/Makefile.am: define 3823 TEST_SRCDIR 3824 3825 * test/everything/server.c (init_interfaces): 3826 re-write. 3827 (main): use TEST_SRCDIR. 3828 3829 * src/services/imodule/orbit-imodule-utils.c 3830 (ORBit_imodule_jam_int): split out of 3831 (ORBit_imodule_setup_label_any): here, fix memory 3832 corrupting nasties with using '0', '1' for booleans, 3833 and wrong 'node' for binops. Handle 'short' tc's. 3834 38352002-12-17 Michael Meeks <michael@ximian.com> 3836 3837 * src/idl-compiler/orbit-idl-c-typecode.c 3838 (orbit_add_align): impl. 3839 (orbit_find_c_align): re-write to use a string 3840 list of the ALIGNOF defines. 3841 (orbit_output_tcstruct_c_align): build a MAX 3842 statement, where appropriate. 3843 38442002-12-26 James Henstridge <james@daa.com.au> 3845 3846 * src/orb/orb-core/Makefile.am (IDL_FLAGS): add -I. to IDL_FLAGS. 3847 This gets rid of the multiple symbol definition errors with newer 3848 autoconf and/or automake (not sure which one is causing the 3849 problem). 3850 38512002-12-02 Michael Meeks <michael@ximian.com> 3852 3853 * src/idl-compiler/orbit-idl-utils.c 3854 (oidl_param_info): bail out if we get an exception 3855 as a parameter. 3856 38572002-11-21 Michael Meeks <michael@ximian.com> 3858 3859 * src/orb/orb-core/orbit-small.c 3860 (ORBit_handle_exception_array): ensure we always 3861 exit with an exception set, even with odd wire data. 3862 38632002-11-05 Mark McLoughlin <mark@skynet.ie> 3864 3865 * test/everything/everything.idl: add simple 3866 regression test to catch the bug below. 3867 38682002-11-05 Mark McLoughlin <mark@skynet.ie> 3869 3870 * src/idl-compiler/orbit-idl-c-headers.c: (ch_prep): 3871 out enum types declared as part of a typedef. Fixes #97238. 3872 38732002-11-04 Thomas Vander Stichele <thomas at apestaart dot org> 3874 3875 * configure.in: 3876 - require pkg-config 0.14.0 3877 - make AC_DEFINE* three-argument 3878 (someone might want to remove acconfig.h) 3879 * autogen.sh: 3880 - fail if configure failed 3881 38822002-10-28 Marion Schuenemann <schuenemann@fokus.gmd.de> 3883 3884 * src/services/name/boot.c (main): move ORB 3885 init up the heap, so we can use eg. ORBIIOPIPName 3886 38872002-10-24 Michael Meeks <michael@ximian.com> 3888 3889 * test/echo-client-t.c (echo_client_thread): 3890 add a threaded test client, so we at least know 3891 where things break. 3892 38932002-10-18 Michael Meeks <michael@ximian.com> 3894 3895 * Version 2.5.0 3896 38972002-10-18 Michael Meeks <michael@ximian.com> 3898 3899 * test/everything/Makefile.am (INCLUDES): add 3900 IDL_CFLAGS for the imodule service; we need a new 3901 .pc.in file for that service I think, we don't want 3902 to pollute the include space with libIDL unnecessarily. 3903 39042002-10-18 Mark McLoughlin <mark@skynet.ie> 3905 3906 * src/services/imodule/orbit-imodule-utils.[ch]: 3907 (typecodes_hash_foreach), (ORBit_imodule_get_typecodes_seq): 3908 impl converting a typecode hash into a sequence. 3909 3910 * src/services/imodule/orbit-imodule.[ch]: 3911 (ORBit_iinterface_from_tree): kill. Its useless. 3912 (ORBit_iinterfaces_from_tree): return a sequence of 3913 typecodes. Add docs. 3914 (ORBit_iinterfaces_from_file): ditto. 3915 3916 * test/everything/client.c: (main): upd and test the 3917 typecodes sequence. 3918 3919 * test/everything/server.c: (get_server): upd. 3920 39212002-10-18 Mark McLoughlin <mark@skynet.ie> 3922 3923 * src/services/imodule/orbit-imodule-utils.[ch]: 3924 * src/services/imodule/orbit-imodule.[ch]: 3925 Don't use a global has of TypeCodes. 3926 39272002-10-18 Mark McLoughlin <mark@skynet.ie> 3928 3929 * src/services/imodule/*: added runtime IDL->IInterfaces 3930 service. 3931 3932 * configure.in, src/services/Makefile.am: added build 3933 for above. 3934 3935 * test/everything/Makefile.am: build against libORBit-imodule. 3936 3937 * test/everything/client.c: (main): 3938 * test/everything/server.c: (init_iinterfaces), (get_server): 3939 add --gen-imodule arg to run tests using runtime generated 3940 IInterfaces. 3941 3942 * test/everything/test.sh: use it. 3943 39442002-10-17 Albert Chin <china@thewrittenword.com> 3945 3946 * src/orb/orb-core/orbit-debug.h 3947 (dprintf): add ERRORS define for ugly 3948 non-varargs case. 3949 3950 * test/everything/client.c 3951 (test_BasicServer_opStringA_cb), 3952 (test_BasicServer_opStringA): kill duff 3953 array inits in decl. 3954 39552002-10-16 James Henstridge <james@daa.com.au> 3956 3957 * src/idl-compiler/orbit-idl-c-imodule.c (ci_build_types): handle 3958 types nested within structs, unions and exceptions. 3959 3960 * test/everything/client.c (testIInterface): add a test to check 3961 that the subnames array of the FixedLengthUnion typecode is 3962 correct. 3963 3964 * src/idl-compiler/orbit-idl-c-typecode.c 3965 (orbit_output_tcstruct_anon_subnames_array): when generating the 3966 subnames array for unions, repeat the name once for each label 3967 associated with the case statement. 3968 39692002-10-16 Michael Meeks <michael@ximian.com> 3970 3971 * test/everything/client.c (testIInterface): 3972 add type regression tests for James' work. 3973 3974 * src/idl-compiler/orbit-idl-c-utils.c 3975 (orbit_cbe_flatten_args): use _args[i] =...; 3976 initialization instead of array init, to make 3977 HP/UX happy. 3978 39792002-10-14 Mark McLoughlin <mark@skynet.ie> 3980 3981 * src/orb/poa/orbit-adaptor.c: (ORBit_handle_request): init 3982 and free the exception to stop crasher on exception. 3983 39842002-10-02 James Henstridge <james@daa.com.au> 3985 3986 * src/idl-compiler/orbit-idl-c-typecode.c (cbe_tc_generate): same 3987 here. 3988 3989 * src/idl-compiler/orbit-idl-c-common.c (cc_output_class_id): 3990 check for IMODULE symbol including file name. 3991 (cc_output_itypes): and here. 3992 3993 * src/idl-compiler/orbit-idl-c-headers.c (ch_type_alloc_and_tc): 3994 only define typecode struct as static if the header matches the 3995 imodule we are compiling. 3996 (ch_output_itypes): and here too. 3997 3998 * src/idl-compiler/orbit-idl-c-imodule.c 3999 (orbit_idl_output_c_imodule): only define 4000 ORBIT_IDL_C_IMODULE_filename. 4001 40022002-10-02 Mark McLoughlin <mark@skynet.ie> 4003 4004 * src/orb/orb-core/corba-typecode.c: 4005 (CORBA_TypeCode_get_compact_typecode), 4006 (CORBA_TypeCode_type_modifier), 4007 (CORBA_TypeCode_concrete_base_type): add stubs for these 4008 that just through a NO_IMPLEMENT exception. 4009 (CORBA_TypeCode_kind), (CORBA_TypeCode_id), (CORBA_TypeCode_name), 4010 (CORBA_TypeCode_member_count), (CORBA_TypeCode_member_name), 4011 (CORBA_TypeCode_member_type), (CORBA_TypeCode_member_label), 4012 (CORBA_TypeCode_discriminator_type), 4013 (CORBA_TypeCode_default_index), (CORBA_TypeCode_length), 4014 (CORBA_TypeCode_content_type), (CORBA_TypeCode_fixed_digits), 4015 (CORBA_TypeCode_fixed_scale), (CORBA_TypeCode_member_visibility): 4016 Add implementations for these. Based on original implementation 4017 by Tom Tromey which was merged into the cpp branch by Sam Couter. 4018 40192002-10-02 Mark McLoughlin <mark@skynet.ie> 4020 4021 * src/idl-compiler/orbit-idl-backend.c: 4022 (load_language_backend): kill bogus g_module_close. 4023 Thanks to Gergo for pointing it out. 4024 40252002-09-30 ERDI Gergo <cactus@cactus.rulez.org> 4026 4027 * src/idl-compiler/orbit-idl-c-stubs.c (cs_output_stub): Cast EPV 4028 to correct type before storing it 4029 40302002-09-30 Michael Meeks <michael@ximian.com> 4031 4032 * test/everything/client.c (find_tc): return 4033 the typecode. 4034 (testIInterface): do some tests on StrSeq. 4035 4036 * src/orb/orb-core/orbit-small.c 4037 (orbit_small_marshal, orbit_small_demarshal), 4038 (ORBit_small_invoke_adaptor): bin inefficient 4039 trailing TC_void business. 4040 40412002-09-24 Michael Meeks <michael@ximian.com> 4042 4043 * src/orb/orb-core/corba-typecode.c: TC_void's 4044 kind should be tk_void. 4045 4046 * configure.in: bump to 2.5.0, so it's clear 4047 this is the devel-branch. 4048 4049 * src/idl-compiler/orbit-idl-c-common.c 4050 (cc_output_method): output TC_void not 4051 CORBA_OBJECT_NIL for no return value. 4052 4053 * src/idl-compiler/orbit-idl-c-common.c 4054 (cc_output_iargs, cc_output_method): don't do 4055 silly things with the argument list length, 4056 fixes #93928 4057 40582002-09-24 Michael Meeks <michael@ximian.com> 4059 4060 * configure.in: require linc >= 0.7.0 4061 4062 * src/orb/GIOP/giop-connection.c 4063 (giop_connection_real_state_changed): remove 4064 nasty locking silly workaround. 4065 40662002-09-20 Mark McLoughlin <mark@skynet.ie> 4067 4068 * ORBit.spec.in: remove name-client-2 and 4069 orbit-name-server-2 since they are no longer 4070 installed. Fixes #93643. 4071 40722002-09-20 Mark McLoughlin <mark@skynet.ie> 4073 4074 * test/Makefile.am: 4075 * test/poa/Makefile.am: 4076 * test/inhibit/Makefile.am: add $(ORBIT_LIBS) 4077 to LDADD. 4078 40792002-09-17 Murray Cumming <murrayc@usa.net> 4080 4081 * src/idl-compiler/orbit-idl-backend.c (orbit_idl_backend_output): 4082 Warn if the specified idl compliler backend could not be found. 4083 40842002-09-04 Mark McLoughlin <mark@skynet.ie> 4085 4086 Re-implement the idl-compiler language backend loading. 4087 4088 * configure.in: add src/idl-compiler/ORBit-idl-2.0.pc. 4089 4090 * src/idl-compiler/orbit-idl-backend.[ch]: implement. 4091 4092 * src/idl-compiler/Makefile.am: remove orbit-idl-backends.c 4093 from the build and add orbit-idl-backend.[ch]. Install 4094 orbit-idl-backend.h into $(prefix)/include/orbit-2.0/orbit-idl, 4095 install the pkg-config file into $(prefix)/lib/pkgconfig. 4096 4097 * src/idl-compiler/orbit-idl-backends.c: remove. 4098 4099 * src/idl-compiler/orbit-idl-c-backend.[ch]: (orbit_idl_output_c): 4100 return a bool. 4101 4102 * src/idl-compiler/orbit-idl-driver.c: (orbit_idl_to_backend): 4103 hardwire in the c backend and use the loader for anything else. 4104 Also return a bool. 4105 4106 * src/idl-compiler/orbit-idl-main.c: don't define the backend 4107 directory here. 4108 4109 * src/idl-compiler/orbit-idl2.h: kill OIDL_Backend_Info. 4110 4111 * src/idl-compiler/orbit-idl3-types.h: upd. 4112 4113 * src/idl-compiler/ORBit-idl-2.0.pc.in: add 4114 41152002-09-04 Mark McLoughlin <mark@skynet.ie> 4116 4117 Merged some stuff from orbit-cpp-cactus. 4118 4119 * include/orbit/orb-core/corba-typecode.h: include giop-basics.h 4120 if we're using the headers internally. 4121 4122 * src/idl-compiler/Makefile.am: don't define -DDEBUG. 4123 4124 * src/orb/orb-core/corba-orb.c: (ORBit_TypeCode_allocate), 4125 (CORBA_ORB_create_struct_tc), (CORBA_ORB_create_union_tc), 4126 (CORBA_ORB_create_enum_tc), (CORBA_ORB_create_alias_tc), 4127 (CORBA_ORB_create_exception_tc), (CORBA_ORB_create_interface_tc), 4128 (CORBA_ORB_create_string_tc), (CORBA_ORB_create_wstring_tc), 4129 (CORBA_ORB_create_fixed_tc), (CORBA_ORB_create_sequence_tc), 4130 (CORBA_ORB_create_recursive_sequence_tc), 4131 (CORBA_ORB_create_array_tc): 4132 s/CORBA_TypeCode_allocate/ORBit_TypeCode_allocate/g 4133 41342002-09-04 Mark McLoughlin <mark@skynet.ie> 4135 4136 * src/idl-compiler/*: chop, chop - take 2: a year on, 4137 remove all the non-small code again, except this time 4138 a lot more cleanly. That's 6,000 lines of code we don't 4139 have to maintain anymore :-) 4140 41412002-08-23 Michael Meeks <michael@ximian.com> 4142 4143 * Version 2.4.3 4144 41452002-08-23 Michael Meeks <michael@ximian.com> 4146 4147 * src/orb/orb-core/corba-any.c 4148 (ORBit_demarshal_value): don't do expensive re-allocs 4149 on every sequence from length 1 upwards, re-assuring 4150 this works though, start with 4096 elements. 4151 41522002-08-18 Havoc Pennington <hp@pobox.com> 4153 4154 * autogen.sh: hardcode aclocal-1.4/automake-1.4 so that users with 4155 both automake 1.6 and 1.4 installed get the right automake. Means 4156 compilation from CVS will now require the latest automake 1.4 4157 release, or manually creating symlinks called "automake-1.4" and 4158 "aclocal-1.4" 4159 41602002-08-16 Michael Meeks <michael@ximian.com> 4161 4162 * Version 2.4.2 4163 4164 * test/test-performance.c (test_copy): more 4165 tests. 4166 41672002-08-15 Darren Kenny <Darren.Kenny@Sun.COM> 4168 4169 * src/orb/orb-core/corba-object.c 4170 (get_small_skel_CORBA_Object): upd. to '_is_a' 4171 (CORBA_Object__imethods): update _is_a, 4172 get_interface->_interface, non_existent -> _non_existent 4173 to comply with the spec and interop with Java. 4174 41752002-08-07 Michael Meeks <michael@ximian.com> 4176 4177 * src/idl-compiler/orbit-idl-c-headers.c 4178 (ch_type_alloc_and_tc): add missing '\n's spiking 4179 build, thanks Jody. 4180 41812002-08-05 Michael Meeks <michael@ximian.com> 4182 4183 * src/orb/orb-core/orbit-object.c 4184 (object_hash_dump): fix output. 4185 41862002-08-05 Laurent Vivier <Laurent.Vivier@bull.net> 4187 4188 * src/orb/orb-core/orbit-small.c 4189 (ORBit_handle_exception_array): char cast. 4190 (ORBit_small_unlisten_for_broken): add 4191 G_CALLBACK cast on fn. 4192 4193 * src/orb/orb-core/orbit-debug.h: stubs 4194 for unsupported vararg types. 4195 4196 * src/orb/orb-core/corba-orb.c: no static 4197 after extern. 4198 4199 * src/orb/orb-core/allocators.c 4200 (ORBit_freekids_via_TypeCode_T): char * cast. 4201 4202 * src/orb/dynamic/dynany.c 4203 (MAKE_DYNANY_INSERT): prune redundant ';'s 4204 (DynamicAny_DynSequence_get_elements_as_dyn_any): 4205 kill redundant cast. 4206 4207 * src/orb/GIOP/giop-recv-buffer.c 4208 (giop_recv_buffer_demarshal_request_1_1), 4209 (giop_recv_buffer_demarshal_request_1_2): 4210 signedness string casts. 4211 4212 * src/idl-compiler/orbit-idl-c-headers.c 4213 (ch_output_types): undefine before define. 4214 (ch_type_alloc_and_tc): improve imodule output. 4215 (ch_output_itypes): deal with empty imethods. 4216 4217 * *.[ch]: remove trailing ','s at end of enums 4218 for AIX compiler. 4219 4220 * src/idl-compiler/orbit-idl-c-common.c 4221 (cc_small_output_method): same - in compiler. 4222 (cc_small_output_itypes): only output an itype if 4223 it's non-empty (/used) 4224 42252002-08-05 Michael Meeks <michael@ximian.com> 4226 4227 * src/idl-compiler/orbit-idl-c-backend.h: 4228 use guint instead of guint8 for bitfields. 4229 4230 * src/orb/poa/poa.c 4231 (ORBit_POAObject_object_to_objkey): switch 4232 to guchar * pointer for arithmetic. 4233 42342002-08-05 Michael Meeks <michael@ximian.com> 4235 4236 * Version 2.4.1 4237 4238 * src/services/name/Makefile.am: objects fix. 4239 42402002-07-24 Michael Meeks <michael@ximian.com> 4241 4242 * test/test-giop.c (run_test): upd. 4243 4244 * src/orb/orb-core/corba-object.c 4245 (ORBit_object_get_connection): pass the orb 4246 into cnx initiate. 4247 4248 * src/orb/GIOP/giop-connection.c 4249 (giop_connection_initiate): upd. 4250 (giop_connection_set_orb_n_ver): impl. 4251 4252 * src/orb/GIOP/giop-server.c 4253 (giop_server_handle_create_connection): upd. 4254 42552002-07-10 Brian Cameron <Brian.Cameron@sun.com> 4256 4257 * src/services/name/Makefile.am 4258 No longer install name-client-2 or orbit-name-server-2 4259 since they are not used. 4260 42612002-07-10 Michael Meeks <michael@ximian.com> 4262 4263 * configure.in: detect the dofus earlier and more 4264 explicitely. 4265 42662002-07-08 Martin Pool <mbp@samba.org> 4267 4268 * src/services/name/Makefile.am: update build rules 4269 requiring CosNaming.h to be built first. 4270 42712002-07-01 Michael Meeks <michael@ximian.com> 4272 4273 * src/orb/poa/orbit-adaptor.c (ORBit_handle_request): 4274 return a system exception if we can't find the method, 4275 so the remote end won't just hang forever. 4276 4277 * src/orb/poa/poa.c (return_exception): split guts out. 4278 (ORBit_recv_buffer_return_sys_exception): into here 4279 42802002-07-01 Murray Cumming <murrayc@usa.net> 4281 4282 * src/idl-compiler/orbit-idl3-types.h: 4283 Applied Felix Breuer's "namespace -> ns" patch, and added 4284 comment to code so that it won't be reverted again. The C++ 4285 keyword "namespace" was being used as a struct field name. 4286 42872002-06-27 Michael Meeks <michael@ximian.com> 4288 4289 * src/orb/GIOP/giop-recv-buffer.c (giop_recv_list_zap): 4290 always remove the stale ent from the list, and NULL the 4291 dying cnx. 4292 (giop_recv_buffer_get): check for a NULL ent's cnx. 4293 (giop_connection_destroy_frags): impl. 4294 (giop_recv_buffer_handle_fragmented): check that we 4295 don't have an inconsistant 'fragments_follow' state. 4296 4297 * src/orb/GIOP/giop-connection.c 4298 (giop_connection_dispose): dispose the fragments. 4299 4300 * src/orb/orb-core/orbit-small.c (async_recv_cb): treat 4301 a NULL cnx, like the disconnection it is. 4302 4303 * src/orb/orb-core/corba-any.c 4304 (ORBit_demarshal_value): do exponential growing of 4305 sequences so we don't blow the memory - since we 4306 find it hard to do pre-alloc bounds checking on 4307 arbitrary sequence contents. 4308 Free the sequence on failing to de-marshal. 4309 4310 * src/orb/orb-core/allocators.c 4311 (ORBit_realloc_tcval): impl. for the above scheme. 4312 43132002-06-27 Michael Meeks <michael@ximian.com> 4314 4315 * src/orb/GIOP/giop-recv-buffer.c 4316 (giop_connection_handle_input): update reporting 4317 to make DEBUG=errors more useful. 4318 (handle_reply): don't dump the reply. 4319 4320 * test/test-giop.c (test_mangling): impl. 4321 (main): upd. 4322 (test_incoming_mangler): randomly mangle passing data. 4323 4324 * src/orb/GIOP/giop-server.c: conditionalize 4325 new_connection debug hook. 4326 43272002-06-26 Michael Meeks <michael@ximian.com> 4328 4329 * src/orb/GIOP/giop-recv-buffer.c (concat_frags): 4330 propagate out of memory condition upwards. 4331 (giop_connection_remove_frag): move buffer unuse here. 4332 conditionalize debug hooks on a debug build. 4333 (giop_connection_handle_input): close the connection 4334 on out of bound input more aggressively. 4335 (concat_frags): make sure head->end points at the 4336 right bound. 4337 (giop_recv_buffer_handle_fragmented): build the overall 4338 length into the head message_size, and bounds check it 4339 against MSG_SIZE_LIMIT. 4340 4341 * test/ior-decode.c (main): re-hash & expand. 4342 43432002-06-25 Michael Meeks <michael@ximian.com> 4344 4345 * src/orb/GIOP/giop-recv-buffer.c 4346 (alloc_buffer): 4347 (giop_recv_msg_reading_body): handle the out of 4348 memory situation gracefully. 4349 43502002-06-25 Michael Meeks <michael@ximian.com> 4351 4352 * src/orb/GIOP/giop.c 4353 (giop_tmpdir_init): update to new genuid 4354 API, how did this get missed (!), dependency 4355 problems it seems. 4356 4357 * src/orb/GIOP/giop-send-buffer.c 4358 (giop_send_buffer_init): upd. 4359 (get_next_indirect): blank newly allocated 4360 memory if giop_blank_wire_data is set. 4361 (giop_send_buffer_use): blank indirects we 4362 have already used. 4363 4364 * src/orb/GIOP/giop.c (giop_init): upd. 4365 4366 * src/orb/orb-core/corba-orb.c 4367 (CORBA_ORB_init): pass flag to giop_init. 4368 4369 * src/orb/poa/poa.c 4370 (PortableServer_POA__get_the_children): fix annoying 4371 typedef warning type thing, needs an IDL compiler fix 4372 really. 4373 43742002-06-25 Michael Meeks <michael@ximian.com> 4375 4376 * src/orb/poa/orbit-adaptor.c (ORBit_adaptor_setup), 4377 (ORBit_adaptor_find): upd. 4378 4379 * src/orb/poa/poa.c (ORBit_POA_new_system_objid), 4380 (ORBit_POA_create_object, ORBit_POA_object_key_lookup): upd. 4381 4382 * src/orb/util/genrand.c (ORBit_genuid_init): 4383 always do simple init, fallback to /dev/random 4384 if we don't have /dev/urandom, return a status. 4385 (ORBit_genuid_fini): upd. 4386 (ORBit_genuid_buffer): update to pass a role in. 4387 (genuid_simple): upd. 4388 4389 * src/orb/orb-core/corba-orb.c (CORBA_ORB_init): split out 4390 (genuid_init): this, and trap some of the more heinous 4391 error cases we can catch. 4392 4393 * test/test-giop.c (test_cookie): add. 4394 43952002-06-24 Michael Meeks <michael@ximian.com> 4396 4397 * src/orb/util/genrand.c (ORBit_genuid_init): 4398 prune bits out. 4399 4400 * src/orb/poa/poa.c (ORBit_POA_new_system_objid): 4401 update arithmetic. 4402 44032002-06-24 Michael Meeks <michael@ximian.com> 4404 4405 * test/test-giop.c: fix the non-debugging build. 4406 44072002-06-24 Gustavo Gir�ldez <gustavo.giraldez@gmx.net> 4408 4409 * src/orb/util/orbit-options.c 4410 (ORBit_option_command_line_parse): fix '\0' 4411 termination regression. 4412 44132002-06-21 Michael Meeks <michael@ximian.com> 4414 4415 * test/test-giop.c (run_test): add symmetry test. 4416 (main): test things both ways around. 4417 44182002-06-21 Michael Meeks <michael@ximian.com> 4419 4420 * test/test-giop.c (test_spoof_callback), 4421 (test_spoof_hook, test_spoofing): impl. 4422 (run_test): impl. 4423 (wait_for_disconnect): impl. 4424 (run_test_hook_new_connection): impl. 4425 (main): upd. 4426 4427 * src/orb/GIOP/giop-server.c 4428 (giop_server_handle_create_connection): add a new 4429 connection debugging hook. 4430 4431 * src/orb/GIOP/giop-recv-buffer.c (handle_reply): 4432 validate the reply came from the right connection, 4433 return TRUE/FALSE depending. 4434 (giop_connection_handle_input): terminate connections 4435 that do bad things to us. 4436 4437 * src/orb/orbit-init.c (ORBit_init_internals): 4438 add a getuid to the srand. 4439 44402002-06-20 Michael Meeks <michael@ximian.com> 4441 4442 * src/orb/orb-core/orbit-typelib.c 4443 (ORBit_get_typelib_paths): use GNOME2_PATH to be 4444 consistant with the rest of the platform. 4445 (ORBit_small_load_typelib): document. 4446 4447 * src/orb/util/orbit-options.c 4448 (ORBit_option_command_line_parse): properly erase 4449 arguments we chew, instead of nulling them via 4450 argv [j++] = '\0' - odd indeed. We decrement argc 4451 anyway. 4452 4453 * src/orb/orb-core/corba-orb.c 4454 (CORBA_ORB_string_to_object): only use the 4455 orbhttp code if it's explicitely enabled with 4456 --ORBHTTPIORs. 4457 4458 * src/orb/orb-core/orbhttp.c: brief review and 4459 condemn as riddled with security holes, env. var 4460 buffer overflows, dubious un-integrated socket 4461 code etc. etc. 4462 44632002-06-19 jacob berkman <jacob@ximian.com> 4464 4465 * configure.in: fix obvious typo in debug cflags stuff 4466 44672002-06-18 Michael Meeks <michael@ximian.com> 4468 4469 * test/everything/pingServer.c 4470 (PingPongServer_opOneWayCallback): kill warning. 4471 4472 * src/orb/GIOP/giop-send-buffer.c 4473 (giop_send_buffer_use): paranoid checks on 4474 the giop version we are passed 4475 44762002-06-18 Alexander Larsson <alla@lysator.liu.se> 4477 4478 * test/everything/client.c (testPingPong): 4479 Initialize broken. 4480 44812002-06-18 Michael Meeks <michael@ximian.com> 4482 4483 * src/orb/GIOP/giop-send-buffer.c 4484 (get_next_indirect): check the send buffer 4485 for 8 byte alignment, thanks to Alex Larsson 4486 44872002-06-17 Michael Meeks <michael@ximian.com> 4488 4489 * src/orb/orb-core/corba-orb.c 4490 (ORBit_ORB_start_servers): pass local only 4491 create_options into linc_server_new 4492 add "ORBLocalOnly" option. 4493 44942002-06-13 Michael Meeks <michael@ximian.com> & 4495 4496 * test/everything/client.c (testPingPong): 4497 disable this test - ultimately oneways suck. 4498 You can't block the event consumer, because you 4499 deadlock, you can't block the event client 4500 because you don't know when the server has a 4501 full stack. 4502 45032002-06-13 Michael Meeks <michael@ximian.com> & 4504 Bill Haneman <bill.haneman@sun.com> 4505 4506 * test/everything/client.c (testPingPong): 4507 add client limited stack smash test. 4508 4509 * test/everything/pingServer.c 4510 (PingPongServer_opOneWayCallback): impl. 4511 (PingPongServer_opRoundTrip): impl. 4512 45132002-06-13 Bill Haneman <bill.haneman@sun.com> 4514 4515 * test/everything/Makefile.am: fix 4516 DEPENDENCIES typo. 4517 45182002-06-13 Mark McLoughlin <mark@skynet.ie> 4519 4520 * src/orb/GIOP/giop-recv-buffer.c: (handle_reply): 4521 don't use _orbit_debug_flags unles debugging 4522 is switched on. 4523 45242002-06-12 Michael Meeks <michael@ximian.com> 4525 4526 * src/orb/GIOP/giop-connection.c 4527 (giop_connection_real_state_changed): fix a 4528 logic silly. 4529 45302002-06-11 Michael Meeks <michael@ximian.com> 4531 4532 * src/orb/orb-core/corba-orb.c 4533 (CORBA_ORB_destroy): don't print out debug 4534 unless G_ENABLE_DEBUG is on. 4535 45362002-06-10 Michael Meeks <michael@ximian.com> 4537 4538 * src/orb/GIOP/giop.c (giop_init): upd. 4539 (test_safe_socket_dir): impl. 4540 (scan_socket_dir): impl. 4541 (giop_tmpdir_init): impl. 4542 4543 * src/orb/orb-core/corba-orb.c 4544 (CORBA_ORB_init): hoist random init up the 4545 file so we can use it in the giop init. 4546 45472002-06-09 Michael Meeks <michael@ximian.com> 4548 4549 * src/orb/GIOP/giop.c (giop_init): 4550 g_strdup_printf instead of snprintf. 4551 45522002-06-07 Michael Meeks <michael@ximian.com> 4553 4554 * src/orb/GIOP/giop-connection.c 4555 (giop_connection_list_add): remove bogus ref, 4556 we've been leaking connection objects a lot it 4557 seems. 4558 (giop_connection_real_state_changed): add broken 4559 lock handling, all because Mark added a status 4560 change notification to linc_connection_read 4561 [ that should go long term ]. 4562 4563 * test/test-giop.c (test_fragments): upd. 4564 4565 * test/Makefile.am (INCLUDES): add some internals. 4566 4567 * src/orb/GIOP/giop-recv-buffer.c 4568 (handle_reply): add unexpected reply debug hook. 4569 (giop_connection_get_frag): calm printout. 4570 4571 * src/orb/orb-core/corba-orb.c 4572 (ORBit_setup_debug_flags): add ORBIT_DEBUG_ERRORS, 4573 so we don't spew stuff all the time. 4574 45752002-06-07 Michael Meeks <michael@ximian.com> 4576 4577 * src/orb/orb-core/corba-typecode.c 4578 (CDR_get): remove impossible signedness wise 4579 comparison. 4580 4581 * src/orb/orb-core/iop-profiles.c 4582 (ORBit_demarshal_IOR): ditto. 4583 45842002-06-06 Michael Meeks <michael@ximian.com> 4585 4586 * src/orb/orb-core/corba-typecode.c: update 4587 TC_null's name #84354 4588 45892002-06-05 Michael Meeks <michael@ximian.com> 4590 4591 * src/orb/GIOP/giop-recv-buffer.c 4592 (giop_recv_buffer_handle_fragmented): GIOP_FRAGMENTs 4593 don't have message_id's we can get in the same way. 4594 (concat_frags): fix mem copying. 4595 45962002-06-05 Michael Meeks <michael@ximian.com> 4597 4598 * src/orb/GIOP/giop-recv-buffer.c 4599 (giop_connection_handle_input): more re-arrangement, 4600 and death of sillies. 4601 46022002-06-05 Michael Meeks <michael@ximian.com> 4603 4604 * src/orb/GIOP/giop-recv-buffer.c 4605 (giop_connection_handle_input): upd. frag_out to move 4606 onto the next incoming buffer properly. 4607 46082002-06-04 Michael Meeks <michael@ximian.com> 4609 4610 * src/orb/GIOP/giop-recv-buffer.c 4611 (giop_connection_get_frag, giop_connection_add_frag), 4612 (giop_connection_remove_frag): impl. 4613 (alloc_buffer): split out of 4614 (giop_recv_msg_reading_body): here. 4615 (concat_frags): use it & impl. 4616 (giop_recv_buffer_handle_fragmented): impl. 4617 (giop_connection_handle_input): upd & fix nasty with 4618 locking / leaking & msg_error path. 4619 46202002-05-31 Mark McLoughlin <mark@skynet.ie> 4621 4622 * src/orb/orb-core/corba-orb.c: (copy_case_value): handle 4623 alias typecodes. 4624 4625 * src/orb/orb-core/orbit-object.c: (object_hash_dump): print 4626 out helpful info on leaked TypeCodes. 4627 4628 * src/orb/orb-core/orbit-small.c: (orbit_small_marshal), 4629 (orbit_small_demarshal): don't rely on the sequences _buffer 4630 to be null terminated. We have _length after all ... 4631 46322002-05-27 Michael Meeks <michael@ximian.com> 4633 4634 * Version 2.4.0 4635 46362002-05-27 Michael Meeks <michael@ximian.com> 4637 4638 * src/orb/GIOP/giop-recv-buffer.c 4639 (giop_recv_list_zap): unuse the buffer, don't print 4640 a message that we're leaking it. 4641 46422002-05-27 Michael Meeks <michael@ximian.com> 4643 4644 * test/everything/client.c (main): re-instate 4645 run_tests [doh] (testIsA): impl. (run_tests): use it. 4646 4647 * src/idl/CORBA/orb.idl: add #pragma prefix. 4648 4649 * src/idl-compiler/orbit-idl-c-common.c 4650 (cc_small_output_itypes): upd. 4651 4652 * src/orb/orb-core/corba-typecode.c 4653 (DEF_TC_BASIC): upd. (void): upd. 4654 4655 * src/orb/orb-core/corba-object.c 4656 (CORBA_Object_is_a): handle omg.org/CORBA/Object 4657 46582002-05-27 Michael Meeks <michael@ximian.com> 4659 4660 * test/everything/server.c (TestFactory_noOp): impl. 4661 46622002-05-24 Michael Meeks <michael@ximian.com> 4663 4664 * src/orb/orb-core/orbit-small.c 4665 (ORBit_small_invoke_stub_n): impl. to help bin-compat, 4666 we add this method, and leave 'ORBit_small_invoke_stub' 4667 4668 * src/idl-compiler/orbit-idl-c-stubs.c 4669 (cs_small_output_stub): remove bulky system exception 4670 setting logic. 4671 (cs_small_output_stub): call invoke_stub_n instead, so 4672 we have the method index, so we could do strange, but 4673 index rather than name based associations on methods 4674 later. 4675 4676 * include/orbit/poa/poa-types.h 4677 (ORBIT_STUB_GetEpv): cast to gpointer, to save 4678 huge & ugly cast in the stubs. 4679 4680 * src/orb/orb-core/orbit-object.c 4681 (ORBit_RootObject_shutdown): only dump debug on 4682 exit if we have G_ENABLE_DEBUG. 4683 46842002-05-22 Michael Meeks <michael@ximian.com> 4685 4686 * src/orb/orb-core/corba-orb.c 4687 (ORBit_setup_debug_flags): add inproc_traces, 4688 disable fast calls if flag is on. 4689 4690 * include/orbit/orb-core/orbit-small.h: add 4691 ORBIT_SMALL_FAST_LOCALS. 4692 4693 * src/idl-compiler/orbit-idl-marshal.c: update all 4694 the printed strings to 'orbit-idl-2' 4695 4696 * src/idl-compiler/*.c: update all the auto-generated 4697 warnings to a standard define in 4698 4699 * src/idl-compiler/orbit-idl-c-backend.h (OIDL_C_WARNING): 4700 here and version to orbit-idl-2 correctly. 4701 47022002-05-24 Richard Kinder <r_kinder@yahoo.com> 4703 4704 * src/orb/orb-core/orbhttp.c: cleanup magic numbers, closes #78938 4705 47062002-05-22 Michael Meeks <michael@ximian.com> 4707 4708 * src/orb/orb-core/corba-object.c 4709 (g_CORBA_Object_hash): don't bother hashing the 4710 profiles they're all the same, and it's theoretically 4711 wrong anyway (cf. equal), use the object key instead, 4712 for a huge reduction in hash collisions. 4713 4714 * src/orb/orb-core/iop-profiles.c (IOP_ObjectKey_hash): impl. 4715 47162002-05-21 Michael Meeks <michael@ximian.com> 4717 4718 * include/orbit/orb-core/corba-object-type.h: 4719 move 'orb' down the structure, so that the only bits 4720 the stubs could possibly use are at the end. 4721 47222002-05-20 Michael Meeks <michael@ximian.com> 4723 4724 * Version 2.3.110 4725 4726 * prune cleanup from the build, will move to linc. 4727 47282002-05-16 Jacob Berkman <jacob@ximian.com> 4729 4730 * src/cleanup/Makefile.am (orbit_cleanup_sockets_LDADD): fix LDADD 4731 var name 4732 47332002-05-16 Michael Meeks <michael@ximian.com> 4734 4735 * src/orb/orb-core/orbit-small.c 4736 (orbit_small_demarshal): add a parameter as to 4737 whether we should release the recv buffer. 4738 4739 * src/orb/GIOP/giop-recv-buffer.c (handle_reply): 4740 unuse the async buffer here. 4741 4742 * src/orb/GIOP/giop-connection.c 4743 (giop_connection_dispose): check we don't leak 4744 a pending msg on cnx close. 4745 47462002-05-16 Michael Meeks <michael@ximian.com> 4747 4748 * src/orb/GIOP/giop-recv-buffer.c 4749 (giop_recv_buffer_unuse): free GIOP_1_0 service 4750 contexts in the same way as GIOP_1_1, that's how we 4751 de-marshal them in giop_recv_buffer_demarshal. 4752 4753 * test/everything/client.c (testMisc): fix leak. 4754 (testMiscUnions): don't dup inArg's string. 4755 don't alloc the inSeq's _buffer, or dup it's string. 4756 47572002-05-15 Michael Meeks <michael@ximian.com> 4758 4759 * src/cleanup/Makefile.am, 4760 * src/cleanup/cleanup.c: add. 4761 4762 * configure.in, 4763 * src/Makefile.am: add cleanup. 4764 47652002-05-14 Sean Atkinson <sean@cantab.net> 4766 4767 * src/orb/orb-core/orbit-trace.c 4768 (ORBit_trace_value): Replace middle of long strings with dots. 4769 (ORBit_trace_timestamp): Pad microseconds with zeros. 4770 47712002-05-13 Michael Meeks <michael@ximian.com> 4772 4773 * Version 2.3.109 4774 47752002-05-07 Michael Meeks <michael@ximian.com> 4776 4777 * src/services/name/orbit-name-server.c 4778 (impl_NamingContext_list): re-order to kill swathe of 4779 redundant forward prototypes. 4780 (ORBit_CosNaming_NamingContextExt_create), 4781 (impl_BindingIterator__create): dup the poa ref we hold. 4782 (impl_NamingContextExt__destroy), 4783 (impl_BindingIterator__destroy, impl_BindingIterator__destroy): 4784 don't de-activate ourselves in a finalize method. 4785 47862002-05-02 ERDI Gergo <cactus@cactus.rulez.org> 4787 4788 * src/idl-compiler/orbit-idl-c-headers.c (ch_prep_sequence): Cast 4789 return value of _allocbuf method to pointer to member type, to 4790 make typesafe C++ compilers happy 4791 47922002-04-23 Mark McLoughlin <mark@skynet.ie> 4793 4794 * src/orb/orb-core/iop-profiles.c: 4795 (CodeSetComponent_demarshal): fix off by one error manifesting 4796 itself with the Java ORB. 4797 47982002-04-18 Michael Meeks <michael@ximian.com> 4799 4800 * src/orb/orb-core/orbit-small.c (async_recv_cb): 4801 handle a NULL callback. 4802 4803 * test/everything/client.c (testMisc): fix 4804 ev mis-direction. 4805 4806 * configure.in (DISABLE_DEPRECATED_CFLAGS): add. 4807 4808 * */Makefile.am: add deprecated cflag guards. 4809 48102002-04-15 Michael Meeks <michael@ximian.com> 4811 4812 * Version 2.3.108 4813 48142002-04-15 Michael Meeks <michael@ximian.com> 4815 4816 * configure.in: require linc >= 0.1.21 4817 4818 * src/orb/orb-core/orbit-small.c 4819 (ORBit_small_invoke_adaptor): fix the same bug just 4820 above Gergo's, and just below too - gack. 4821 4822 * test/everything/*: update the sequence tests so 4823 we have longer runs. 4824 48252002-04-13 ERDI Gergo <cactus@cactus.rulez.org> 4826 4827 * src/orb/orb-core/orbit-small.c (ORBit_small_invoke_adaptor): 4828 Check for FIXED flag on the argument type and not the method (as 4829 that would be silly:) 4830 48312002-04-10 Michael Meeks <michael@ximian.com> 4832 4833 * configure.in: remove poll & basename checks, 4834 socklen_t check, inet_aton check, 4835 we don't need them. 4836 48372002-04-09 Michael Meeks <michael@ximian.com> 4838 4839 * src/orb/orb-core/corba-typecode.c (tc_dec): 4840 fix #76777 warning issue. 4841 48422002-04-09 Michael Meeks <michael@ximian.com> 4843 4844 * src/orb/util/genrand.c 4845 (genrand_openssl): rename to 4846 (genuid_rand_openssl): this to be consistant and work. 4847 [thanks to Colin Campbell]. 4848 48492002-04-02 Michael Meeks <michael@ximian.com> 4850 4851 * src/orb/orb-core/corba-orb.c 4852 (shutdown_orb): impl. we need it to close floating UDS. 4853 48542002-04-01 Murray Cumming <murrayc@usa.net> 4855 4856 * Added --headerguardprefix option to orbit-idl-2. This allows the 4857 C++ bindings to use generated C bindings which in turn #include 4858 already-generated installed C bindings. 4859 This has already been applied to the cpp branch. Applying it here 4860 should simplify merging. 4861 48622002-03-30 ERDI Gergo <cactus@cactus.rulez.org> 4863 4864 * src/idl-compiler/orbit-idl-c-utils.c (cs_small_unflatten_ref): 4865 Explicitly cast array arguments to silence C++ compiler error 4866 messages 4867 48682002-03-28 Mark McLoughlin <mark@skynet.ie> 4869 4870 * src/services/name/Makefile.am: link against 4871 dependancies (75709) 4872 48732002-03-27 Michael Meeks <michael@ximian.com> 4874 4875 * test/everything/client.c (testMisc): add IOR 4876 stringification roundtrip check. 4877 48782002-03-25 Mark McLoughlin <mark@skynet.ie> 4879 4880 * src/idl-compiler/orbit-idl-c-common.c: 4881 (cc_small_output_itypes): initialise the ORBit_IMethod array 4882 in a friendly way. 4883 48842002-03-04 Mark McLoughlin <mark@skynet.ie> 4885 4886 * configure.in: version 2.3.107 4887 48882002-03-09 Dou Wen <orbkernel@hotmail.com> 4889 4890 * src/orb/GIOP/giop-recv-buffer.c 4891 (giop_recv_msg_reading_body): assert that the buffer is 4892 correctly aligned. 4893 48942002-03-20 Gregory Leblanc <gleblanc@linuxweasel.com> 4895 4896 * ORBit.spec.in: Lots of re-writing and such. 4897 * configure.in: Added AC_SUBST for a couple of missing variables 4898 used in the spec file 4899 49002002-03-20 Mark McLoughlin <mark@skynet.ie> 4901 4902 * src/orb/orb-core/iop-profiles.c: 4903 (IOP_components_marshal): also marshal the CODE_SETS component 4904 in an encapsulated buffer. 4905 (IOP_TAG_CODE_SETS_demarshal): demarshal it from the 4906 encapsulated buffer. 4907 49082002-03-13 Laszlo Peter <laca@ireland.sun.com> 4909 4910 * include/orbit/orb-core/corba-typecode.h: change CORBA_tk_recursive 4911 to unsigned. 4912 4913 * src/orb/orb-core/corba-typecode.c (tc_dec): test the unsigned 4914 lkind instead of kind that can be signed or unsigned on different 4915 platforms. 4916 49172002-03-04 Mark McLoughlin <mark@skynet.ie> 4918 4919 * configure.in: version 2.3.106 4920 49212002-03-01 jacob berkman <jacob@ximian.com> 4922 4923 * autogen.sh: pass --copy to automake, and pass --include-deps 4924 unless using gcc 4925 49262002-03-01 Mark McLoughlin <mark@skynet.ie> 4927 4928 * test/poa/poatest-basic*.c: don't use lovely C99 compliant 4929 structure initialisation .... just to keep forte happy. 4930 49312002-03-01 Mark McLoughlin <mark@skynet.ie> 4932 4933 * src/idl-compiler/orbit-idl-c-headers.c: (ch_output_type_union): 4934 output the enum decl here if need be. 4935 4936 * src/idl-compiler/orbit-idl-c-imodule.c: (cc_small_build_types): 4937 ditto. 4938 4939 * test/everything/everything.idl: add new soup constats and 4940 declare the colour enum in the union decl. 4941 4942 * test/everything/client.c: 4943 (testConst): test the soup consts. 4944 (testIInterface): test the soup and colour typecodes. 4945 (testMiscUnions): update for colour scope change. 4946 4947 * test/everything/unionServer.c: (UnionServer_opMisc): ditto. 4948 49492002-02-28 Mark McLoughlin <mark@skynet.ie> 4950 4951 * src/orb/orb-core/orbit-debug.h: fix typo. 4952 49532002-02-26 Michael Meeks <michael@ximian.com> 4954 4955 * src/orb/orb-core/corba-orb.c 4956 (CORBA_ORB_list_initial_services): update 4957 assertion to not do an assignment. 4958 49592002-02-26 Yanko Kaneti <yaneti@declera.com> 4960 4961 * src/orb/orb-core/orbit-debug.h: handle different 4962 var-arg cases in the parser. 4963 49642002-02-24 Sam Couter <scouter@bigpond.net.au> 4965 4966 * Add G_BEGIN_DECLS and G_END_DECLS to installed headers to allow 4967 exported interfaces to be used from C++ code. 4968 49692002-02-18 Mark McLoughlin <mark@skynet.ie> 4970 4971 * src/idl-compiler/orbit-idl-c-common.c: 4972 (cc_small_build_interfaces): don't initialise ai twice. 4973 4974 * docs/FAQ: add bit about refs and giop debugging. 4975 49762002-02-11 Mark McLoughlin <mark@skynet.ie> 4977 4978 * configure.in: version 2.3.105 4979 49802002-02-08 Mark McLoughlin <mark@skynet.ie> 4981 4982 * src/idl-compiler/orbit-idl-c-typecode.c: 4983 (orbit_output_tcstruct_anon_sublabels_array): cleanup. 4984 49852002-02-06 Michael Meeks <michael@ximian.com> 4986 4987 * src/orb/util/genrand.c 4988 (genuid_rand_device): handle EINTR, EAGAIN, 4989 and short reads. 4990 49912002-02-06 Michael Meeks <michael@ximian.com> 4992 4993 * src/orb/orb-core/orbit-small.c 4994 (ORBit_small_invoke_stub): make trace debugging 4995 more meaningfull in-proc. 4996 49972002-02-05 Michael Meeks <michael@ximian.com> 4998 4999 * src/orb/orb-core/orbit-object.c 5000 (object_hash_dump): impl. 5001 (ORBit_RootObject_shutdown), 5002 (ORBit_RootObject_init, do_unref): add more verbose 5003 and powerful object debugging. 5004 5005 * src/orb/orb-core/corba-orb.c 5006 (ORBit_setup_debug_flags): add 'refs' 5007 5008 * src/orb/orb-core/orbit-debug.h: fix bitmask cockup. 5009 50102002-02-05 Mark McLoughlin <mark@skynet.ie> 5011 5012 * src/orb/orb-core/corba-any.c: (ORBit_value_equivalent): 5013 add union_size to the original pointers. 5014 5015 * test/everything/client.c: (testAnyEquivalence): re-enable 5016 testing this. 5017 50182002-02-05 Mark McLoughlin <mark@skynet.ie> 5019 5020 * src/orb/orb-core/corba-any.c: (ORBit_get_union_switch): 5021 don't assume pointers are correctly alligned. 5022 5023 * src/orb/util/genrand.c: (genuid_glib_pseudo): fix silly. 5024 50252002-02-04 Michael Meeks <michael@ximian.com> 5026 5027 * src/orb/orb-core/corba-context.c 5028 (ORBit_Context_free_fn): remove ourselves correctly 5029 from the parent. 5030 5031 * test/everything/client.c (testAnyEquivalence): 5032 knobble for now so we pass the tests. 5033 5034 * src/orb/orb-core/corba-any.c: do a proper boolean 5035 compare. 5036 50372002-02-02 Michael Meeks <michael@ximian.com> 5038 5039 * Makefile.am (EXTRA_DIST): add Makefile.shared. 5040 50412002-02-04 Mark McLoughlin <mark@skynet.ie> 5042 5043 * configure.in: version 2.3.104. 5044 50452002-02-04 Shivram U <shivaram.upadhyayula@wipro.com> 5046 5047 reviewed by: Mark McLoughlin <mark@skynet.ie> 5048 5049 * src/idl-compiler/orbit-idl-c-demarshal.c: 5050 * src/idl-compiler/orbit-idl-c-marshal.c: 5051 * src/idl-compiler/orbit-idl-c-skelimpl.c: 5052 * src/idl-compiler/orbit-idl-c-stubs.c: 5053 * src/idl-compiler/orbit-idl-c-typecode.c: 5054 * src/idl-compiler/orbit-idl-c-utils.c: 5055 * src/idl-compiler/orbit-idl-utils.c: 5056 * src/orb/orb-core/corba-object.c: 5057 Remove deprecated glib functions. 5058 s/g_string_sprintf/g_string_printf/ 5059 s/g_string_sprintfa/g_string_append_printf/ 5060 s/g_main_iteration/g_main_context_iteration/. 5061 50622002-01-31 Mark McLoughlin <mark@skynet.ie> 5063 5064 * src/orb/GIOP/giop-debug.h: make giop dumping a runtime 5065 debugging option. 5066 5067 * src/orb/GIOP/giop-recv-buffer.c: (giop_recv_msg_reading_body): 5068 use dprintf (GIOP.. instead of giop_dprintf. 5069 5070 * src/orb/orb-core/corba-orb.c: (ORBit_setup_debug_flags): 5071 add ORBIT_DEBUG_GIOP. 5072 5073 * src/orb/orb-core/orbit-debug.h: ditto. 5074 50752002-01-30 Mark McLoughlin <mark@skynet.ie> 5076 5077 * include/orbit/orb-core/corba-any.h: kill dup_strings 5078 arg from demarshal funcs. Kill duplicated 5079 ORBit_demarshal_value. 5080 5081 * src/orb/GIOP/giop-recv-buffer.c: 5082 (giop_IOP_ServiceContextList_demarshal): upd for dup_strings. 5083 5084 * src/orb/orb-core/corba-any.c: 5085 (ORBit_get_union_tag): kill unused variable. 5086 (ORBit_demarshal_value), (ORBit_demarshal_arg), 5087 (ORBit_demarshal_any): kill dup_strings arg. 5088 5089 * src/orb/orb-core/orbit-small.c: 5090 (ORBit_handle_exception_array): upd for dup_strings. 5091 (ORBit_small_marshal_context): move branch to 5092 (orbit_small_marshal): here. We rarely take this branch, so 5093 lets kill the fuction call overhead for the common case. 5094 (orbit_small_demarshal), (ORBit_small_invoke_adaptor): upd 5095 for dup_strings change. 5096 5097 * test/everything/basicServer.c: (BasicServer_opString), 5098 (BasicServer_opFloat), (BasicServer_opDouble), 5099 (BasicServer_opLongDouble): implement floating point tests. 5100 5101 * test/everything/unionServer.c: (UnionServer_opMisc): impl another 5102 union test. 5103 5104 * test/everything/client.c: 5105 (testConst): test float, double and long double constants. 5106 (testFloat), (testDouble), (testLongDouble): use floating point 5107 tests. 5108 (testMiscUnions): use new union test. 5109 (testAnyException): add output. 5110 (testAnyEquivalence): test ORBit_any_equivalent and ORBit_copy_value 5111 code paths. 5112 (test_BasicServer_opExceptionA): update vtable offset. 5113 (run_tests): run new tests. 5114 5115 * test/everything/constants.h: add floating point constants. 5116 5117 * test/everything/everything.idl: add idl for new tests. 5118 51192002-01-29 Mark McLoughlin <mark@skynet.ie> 5120 5121 * src/orb/orb-core/corba-orb.c: clean up. 5122 51232002-01-28 Mark McLoughlin <mark@skynet.ie> 5124 5125 * configure.in: version 2.3.103. 5126 51272002-01-28 Mark McLoughlin <mark@skynet.ie> 5128 5129 * src/orb/util/genrand.c: (genuid_simple), 5130 (genuid_glib_pseudo): more tweaks. 5131 51322002-01-25 Michael Meeks <michael@ximian.com> 5133 5134 * test/everything/client.c (main): upd. 5135 (test_init): test it. 5136 5137 * src/orb/orb-core/corba-orb.c 5138 (CORBA_ORB_shutdown, CORBA_ORB_init), 5139 (CORBA_ORB_destroy): count init / destroy pairs 5140 and don't allow people to destroy if someone else 5141 has inited. 5142 51432002-01-25 Mark McLoughlin <mark@skynet.ie> 5144 5145 * acinclude.m4: (AC_CHECK_ALIGNOF): error out if an alignment 5146 is found to be zero. 5147 5148 * test/everything/client.c: (make_large_str_seq): fix leak. 5149 51502002-01-24 Michael Meeks <michael@ximian.com> 5151 5152 * src/orb/orb-core/corba-typecode.c 5153 (ORBit_TypeCode_free_fn): kill bogus typecode free. 5154 5155 * src/orb/util/genrand.c (ORBit_genuid_init): seed 5156 the random number generator but once. 5157 (genuid_glib_pseudo): use rand more sensibly, use 5158 genuid_simple first. 5159 (genuid_simple): make inc a gulong. 5160 51612002-01-22 Mark McLoughlin <mark@skynet.ie> 5162 5163 * src/orb/orb-core/corba-typecode.c 5164 (ORBit_TypeCode_free_f): sublabels isn't an 'any' sequence 5165 anymore. 5166 51672002-01-22 Mark McLoughlin <mark@skynet.ie> 5168 5169 * include/orbit/orb-core/corba-typecode.h: change the 5170 sublabels member to a CORBA_long *. 5171 5172 * src/idl-compiler/orbit-idl-c-typecode.c: 5173 (orbit_output_tcstruct_anon_sublabels_array), 5174 (orbit_output_tcstruct_sublabels), (cbe_tc_generate): 5175 output the array. 5176 5177 * src/orb/orb-core/corba-any.c: (ORBit_get_union_tag): 5178 simplify the discrim compare. 5179 5180 * src/orb/orb-core/corba-orb.c: (copy_case_value): impl. 5181 (CORBA_ORB_create_union_tc): don't copy the whole any, just 5182 the value. 5183 5184 * src/orb/orb-core/corba-typecode.c: (tc_enc_tk_union), 5185 (tc_dec_tk_union), (typecode_equiv_internal): upd. 5186 51872002-01-22 Mark McLoughlin <mark@skynet.ie> 5188 5189 * src/idl-compiler/orbit-idl-utils.c: 5190 (orbit_idl_check_oneway_op): impl to check if oneways have 5191 returns or outs/inouts. 5192 5193 * src/idl-compiler/orbit-idl-c-headers.c: 5194 (ch_output_stub_protos): use. 5195 5196 * test/everything/everything.idl, 5197 test/everything/server.c, 5198 test/everything/client.c: make segv return void. 5199 52002002-01-21 Mark McLoughlin <mark@skynet.ie> 5201 5202 * src/orb/orb-core/corba-orb.c: 5203 (ORBit_setup_debug_flags): fix silly so that debug options 5204 in orbitrc works correctly. 5205 52062002-01-21 Michael Meeks <michael@ximian.com> 5207 5208 * src/orb/orb-core/corba-any.c 5209 (ORBit_copy_value): tolerate NULL. 5210 5211 * src/orb/orb-core/orbit-small.c 5212 (orbit_small_demarshal): kill warning. 5213 5214 * test/everything/client.c (testMisc): add a check. 5215 52162002-01-21 Xiong Jiang <jxiong@offtopic.org> 5217 5218 * src/idl-compiler/orbit-idl-c-stubs.c 5219 (cs_small_output_stub): put the endif in a comment, to 5220 make the preprocessor happy. 5221 52222002-01-17 Michael Meeks <michael@ximian.com> 5223 5224 * configure.in: require the new linc with different 5225 protocol structure size. 5226 5227 * test/everything/client.c (main): upd. 5228 52292002-01-17 Mark McLoughlin <mark@skynet.ie> 5230 5231 Allow ORBit2 debugging to be switched on/off at runtime. 5232 Based on a patch by Jacob Berkman <jacob@ximian.com> 5233 5234 * configure.in: --enable-debug option. 5235 5236 * src/orb/GIOP/Makefile.am, src/orb/Makefile.am, 5237 src/orb/dynamic/Makefile.am, src/orb/orb-core/Makefile.am, 5238 src/orb/poa/Makefile.am, src/orb/util/Makefile.am: 5239 use ORBIT_DEBUG_CFLAGS. 5240 5241 * src/orb/orb-core/corba-object.c: (g_CORBA_Object_equal), 5242 (ORBit_objref_find), (ORBit_object_get_connection), 5243 (ORBit_marshal_object): upd. 5244 5245 * src/orb/orb-core/corba-orb.c: (ORBit_setup_debug_flags), 5246 (CORBA_ORB_init): add --ORBDebugFlags option and ORBIT2_DEBUG 5247 env variable and parse. 5248 5249 * src/orb/orb-core/orbit-debug.h: kill old debug stuff and 5250 make everything conditional on G_ENABLE_DEBUG. 5251 5252 * src/orb/orb-core/orbit-small.c: (ORBit_handle_exception_array), 5253 (ORBit_small_send_user_exception), (orbit_small_marshal), 5254 (orbit_small_demarshal), (ORBit_small_invoke_stub), 5255 (ORBit_small_invoke_adaptor), (ORBit_small_demarshal_async): upd. 5256 5257 * src/orb/orb-core/orbit-trace.c: (ORBit_trace_timestamp): upd. 5258 5259 * src/orb/orb-core/orbit-typelib.c: (load_module): upd. 5260 5261 * src/orb/poa/orbit-adaptor.c: (ORBit_handle_request): upd. 5262 5263 * src/orb/util/genrand.c: (ORBit_genuid_init), (genuid_simple): 5264 incorporate the pid and an incrementing number into simple uid. 5265 52662002-01-16 Mark McLoughlin <mark@skynet.ie> 5267 5268 * include/orbit/orb-core/corba-orb-type.h: kill genrand 5269 ORB member. 5270 5271 * include/orbit/util/orbit-genrand.h: rename to genuid, we're 5272 not allways taking about randomness. 5273 5274 * src/orb/orb-core/corba-orb.c: 5275 (ORBit_genuid_type): impl to figure what genuid type we'll use. 5276 (CORBA_ORB_init): upd. 5277 (ORBit_proto_use): fix silly. 5278 Also add a --ORBSimpleUIDs option. 5279 5280 * src/orb/poa/orbit-adaptor.c: (ORBit_adaptor_setup): upd. 5281 5282 * src/orb/poa/poa.c: (ORBit_POA_new_system_objid): upd. 5283 5284 * src/orb/util/genrand.c: 5285 (ORBit_genuid_init), (ORBit_genuid_fini): impl. 5286 (genuid_glib_pseudo): impl id generator using glib's prng. 5287 (genrand_unix): kill. 5288 (genuid_simple): impl non-random id generator. 5289 (ORBit_genuid_buffer): upd. 5290 5291 * test/test-performance.c: (main): pass argc and argv to 5292 ORB_init. 5293 5294 * docs/FAQ, docs/internals/poa-notes.txt: upd. 5295 52962002-01-16 Michael Meeks <michael@ximian.com> 5297 5298 * src/orb/orb-core/corba-object.c: update to free 5299 result of IOP profile dumpage. 5300 5301 * src/orb/orb-core/iop-profiles.c 5302 (IOP_components_free): make it free the list too, 5303 and NULL the list for safety. 5304 53052002-01-14 Mark McLoughlin <mark@skynet.ie> 5306 5307 * include/orbit/orb-core/corba-policy-type.h, 5308 src/orb/orb-core/corba-policy.c: kill ORBit_Policy_(set|get) 5309 5310 * include/orbit/poa/orbit-adaptor.h: (ORBit_adaptor_setup): add. 5311 5312 * include/orbit/poa/poa-types.h: 5313 (ORBit_vepvmap_init): kill. 5314 Kill init_vepvmap and vepvlen ClassInfo members. 5315 Enable vepvmap cache by default. Add next member to 5316 ORBit_POAObject_type to replace servant->_private GSList. 5317 Kill unused macros. 5318 5319 * include/orbit/poa/poa.h: don't include poa-policy.h. 5320 5321 * include/orbit/poa/portableserver-poa-type.h: kill poa_rand_len 5322 POA struct member. 5323 5324 * src/idl-compiler/orbit-idl-c-skels.c: 5325 (cbe_skel_interface_print_vepvmap_initializer): kill. 5326 (cbe_skel_interface_print_vepvmap_line), (cbe_skel_do_interface): 5327 initialise the vepvmap in servant init. No need for init_vepvmap method. 5328 5329 * src/orb/orb-core/corba-orb.c: (CORBA_ORB_destroy): s/poa/adaptor/. 5330 5331 * src/orb/poa/orbit-adaptor.c: (ORBit_adaptor_setup): move here from 5332 poa.c - all adaptor's keys should be the same. 5333 5334 * src/orb/poa/orbit-poa.h: 5335 * src/orb/poa/poa-manager.c: (ORBit_POAManager_new), 5336 (ORBit_POAManager_register_poa), (ORBit_POAManager_unregister_poa): kill 5337 unneeded ev args. Move ownership of the poa_manager reference into poa.c 5338 where it belongs. 5339 5340 * src/orb/poa/poa-policy.c: set the policy structs directly. Kill okey 5341 randomness policy. 5342 5343 * src/orb/poa/poa-servants.c: use poa_execption macros. 5344 5345 * src/orb/poa/poa.c: 5346 (check_object_inuse): impl instead of hacking traverse_cb. 5347 (ORBit_POA_object_id_lookup): rename from ORBit_POA_oid_to_obj, removing 5348 crackness in the process. 5349 (ORBit_POA_remove_child): kill unneeded ev arg. 5350 (ORBit_POA_destroy): cleanup. 5351 (traverse_cb): rationalise. Kill unneeded TraverseInfo members. 5352 (ORBit_POA_deactivate): upd. 5353 (ORBit_POA_free_fn): check members are allocated before freeing. 5354 (ORBit_POA_set_policy): update fro policy changes. 5355 (ORBit_POA_set_policies): set defaults here, use poa_exception macros. 5356 (ORBit_POA_new): big cleanup. 5357 (ORBit_POA_activate_object): don't init vepvpmap here. Update for 5358 servant pobj list changes. 5359 (ORBit_POA_deactivate_object): ditto. 5360 (ORBit_POAObject_handle_request): use policy checking macros. 5361 (ORBit_POA_object_key_lookup): impl. 5362 (ORBit_POA_handle_request): use ORBit_POA_object_key_lookup and 5363 return_exception. 5364 (ORBit_POA_ServantManager_use_servant), 5365 (ORBit_POA_ServantManager_unuse_servant): big cleanup and update for 5366 servant pobj list change. 5367 5368 * test/everything/server.c: (TestFactory_getStructServerIOR): use 5369 global_orb. 5370 53712002-01-09 Michael Meeks <michael@ximian.com> 5372 5373 * Version 2.3.102 5374 53752002-01-09 Michael Meeks <michael@ximian.com> 5376 5377 * src/orb/GIOP/giop-send-buffer.c 5378 (send_buffer_list): initialize it. 5379 5380 * src/orb/GIOP/giop-connection.c 5381 (giop_connection_remove_by_orb): fix acute 5382 re-enterancy hazard. 5383 5384 * src/orb/GIOP/giop-recv-buffer.c 5385 (giop_recv_list_zap): fix re-enterancy hazard. 5386 (giop_queued_messages): initialize it. 5387 53882002-01-09 Mark McLoughlin <mark@skynet.ie> 5389 5390 * test/test-performance.c: (create_mult_id_poa), (test_activation), 5391 (main): add object activation/de-activation performance test. 5392 5393 * test/Makefile.am: upd. 5394 53952002-01-07 Mark McLoughlin <mark@skynet.ie> 5396 5397 * src/services/name/Makefile.am: install idl files in 5398 $(datadir)/idl/orbit-2.0. 5399 54002002-01-04 Michael Meeks <michael@ximian.com> 5401 5402 * test/everything/client.c (testSegv): remove 5403 race condition assert. 5404 5405 * test/everything/everything.idl: make segv 5406 oneway. 5407 54082002-01-03 Michael Meeks <michael@ximian.com> 5409 5410 * Version 2.3.101 5411 54122001-12-31 Michael Meeks <michael@ximian.com> 5413 5414 * src/orb/poa/orbit-adaptor.c 5415 (ORBit_handle_request): debug. 5416 5417 * src/orb/poa/poa.c (ORBit_POA_handle_request): 5418 add debug. 5419 54202002-01-03 Laszlo Peter <laca@ireland.sun.com> 5421 5422 * test/test-performance.c: s/time/elapsed_time/ (conflicts with 5423 Solaris system headers) 5424 54252002-01-03 Mark McLoughlin <mark@skynet.ie> 5426 5427 * test/test-performance.c: make global symbols static to 5428 stop core dumps in my ldap libraries. Don't ask me :/ 5429 54302002-01-03 Mark McLoughlin <mark@skynet.ie> 5431 5432 * src/idl-compiler/orbit-idl-c-stubs.c: (cs_small_output_stub): 5433 output local case code to check to see if the operation is 5434 implemented and return NO_IMPLEMENT if not. 5435 5436 * src/idl-compiler/orbit-idl2.h: add ORBIT_EPV_VAR_NAME. 5437 5438 * test/everything/client.c: (testMisc): test this in the local 5439 case as well. 5440 54412002-01-03 Mark McLoughlin <mark@skynet.ie> 5442 5443 * include/orbit/poa/poa-types.h: 5444 (ORBIT_STUB_IsBypass): check for nil reference, and pawn off 5445 on ORBit_small_invoke_stub if it is nil. 5446 5447 * src/orb/orb-core/orbit-small.c: (ORBit_small_invoke_stub): 5448 return INV_OBJREF exception if obj is nil. 5449 5450 * test/everything/client.c: (testException): test. 5451 5452 * test/everything/pingServer.c: (PingPongServer_opSleep): 5453 kill unused variable. 5454 54552001-12-31 Michael Meeks <michael@ximian.com> 5456 5457 * configure.in: require the new linc. 5458 54592001-12-28 Michael Meeks <michael@ximian.com> 5460 5461 * src/orb/dynamic/dynany.c 5462 (ORBit_dynany_new_default): publicise internaly 5463 for time trials. 5464 5465 * src/idl-compiler/orbit-idl-c-headers.c 5466 (ch_output_const_dcl): output unsigned types 5467 properly. 5468 5469 * test/everything/client.c (testPingPong): add 5470 non-blocking IO test. 5471 5472 * test/everything/pingServer.c 5473 (PingPongServer_opSleep): impl. 5474 5475 * src/orb/poa/poa.c 5476 (ORBit_POA_handle_request, return_exception): 5477 non blocking writes. 5478 5479 * src/orb/orb-core/orbit-small.c 5480 (orbit_small_marshal): do a non-blocking write. 5481 (ORBit_small_invoke_adaptor): ditto. 5482 54832001-12-27 Michael Meeks <michael@ximian.com> 5484 5485 * src/orb/GIOP/giop-connection.c 5486 (giop_connection_close): block on send notification. 5487 5488 * src/orb/GIOP/giop-send-buffer.c 5489 (giop_send_buffer_write): do blocking and non-blocking 5490 writes. 5491 5492 * include/orbit/GIOP/giop-send-buffer.h: kill duff 5493 prototype. 5494 5495 * src/orb/orb-core/orbit-small.c 5496 (ORBit_small_get_connection): impl. 5497 (ORBit_connection_set_max_buffer): impl. 5498 54992001-12-21 Roland Juelich <rj@atecom.com> 5500 5501 * src/orb/orb-core/iop-profiles.c: (IOP_ObjectKey_demarshal): 5502 don't modify key length. 5503 55042001-12-19 Mark McLoughlin <mark@skynet.ie> 5505 5506 * test/everything/test.sh: niceify. 5507 55082001-12-19 Mark McLoughlin <mark@skynet.ie> 5509 5510 * src/orb/orb-core/iop-profiles.c: (IOP_profiles_sync_objkey): 5511 reduce the scream and shout error to a warning. 5512 55132001-12-18 Michael Meeks <michael@ximian.com> 5514 5515 * src/orb/orb-core/corba-orb.c (CORBA_ORB_init): 5516 check the ALIGNOF_DOUBLE instead, since all sys 5517 allocated memory has to be aligned to this. 5518 55192001-12-15 Ross Golder <rossg@golder.org> 5520 5521 * ORBit.spec.in: updated shared library directory. 5522 55232001-12-14 Roland Juelich <rj@atecom.com> 5524 5525 * src/orb/orb-core/corba-orb.c: add ORBIIOPIPName 5526 and ORBIIOPIPSock options. 5527 (ORBit_ORB_start_servers): use the arguments. 5528 55292001-12-13 Sam Couter <sam@topic.com.au> 5530 5531 * configure.in: move type alignment test 5532 5533 * acinclude.m4: here & make it pretty. 5534 55352001-12-11 Michael Meeks <michael@ximian.com> 5536 5537 * Version 2.3.100 5538 55392001-12-10 jacob berkman <jacob@ximian.com> 5540 5541 * src/orb/GIOP/Makefile.am (libGIOP_la_SOURCES): add giop-debug.h 5542 55432001-12-08 Kristian Rietveld <kris@gtk.org> 5544 5545 * src/orb/GIOP/giop-send-buffer.c: move down sys/uio.h, so it 5546 builds on FreeBSD 5547 55482001-12-07 Laszlo Peter <laca@ireland.sun.com> 5549 5550 * src/orb/orb-core/orbit-debug.h: 5551 src/orb/orb-core/orbit-trace.c: get the trace code work on Solaris 5552 55532001-12-07 Mark McLoughlin <mark@skynet.ie> 5554 5555 * src/orb/orb-core/corba-typecode.c: (CDR_get): 5556 use proper casts. 5557 55582001-12-07 Mark McLoughlin <mark@skynet.ie> 5559 5560 * src/orb/orb-core/corba-typecode.c: (CDR_get): 5561 do byteswap if neccessary. 5562 55632001-12-07 Mark McLoughlin <mark@skynet.ie> 5564 5565 * src/orb/orb-core/corba-any.c: 5566 (ORBit_demarshal_value): do byteswap if neccessary. 5567 55682001-12-07 Mark McLoughlin <mark@skynet.ie> 5569 5570 * include/orbit/GIOP/giop-recv-buffer.h: 5571 include/orbit/GIOP/giop-send-buffer.h: 5572 src/orb/orb-core/orbit-debug.h: 5573 src/orb/orb-core/orbit-small.c: 5574 src/orb/poa/poa.c: 5575 src/orb/GIOP/giop.c: 5576 src/orb/GIOP/giop-recv-buffer.c: rework the recv 5577 buffer dumping to do it as we receive. 5578 5579 * src/orb/orb-core/iop-profiles.c: 5580 (CodeSetComponent_demarshal): fix silly. 5581 55822001-12-07 Mark McLoughlin <mark@skynet.ie> 5583 5584 * src/idl-compiler/orbit-idl-c-typecode.c: 5585 (orbit_find_c_align): only calculate the alignment of 5586 the union. 5587 5588 * src/orb/orb-core/corba-any.c: (ORBit_marshal_value), 5589 (ORBit_demarshal_value), (ORBit_copy_value_core), 5590 (ORBit_value_equivalent): upd. 5591 55922001-12-06 Mark McLoughlin <mark@skynet.ie> 5593 5594 * src/orb/orb-core/corba-any.c: 5595 (ORBit_copy_value_core), 5596 (ORBit_value_equivalent): fix union alignment. 5597 55982001-12-06 Michael Meeks <michael@ximian.com> 5599 5600 * src/orb/orb-core/corba-object.c (CORBA_Object_hash), 5601 (CORBA_Object_is_equivalent): make faster and better - 5602 we were screwing up if we hashed an object before 5603 remoting it. Since we garentee a CORBA_Object <-> profile 5604 mapping anyway these can be trivial methods. 5605 5606 * test/everything/client.c (testPingPong): test hashing. 5607 56082001-12-05 Michael Meeks <michael@ximian.com> 5609 5610 * test/everything/structServer.c (opObjectStruct): impl. 5611 5612 * test/everything/client.c (testObjectStruct): impl. 5613 56142001-12-06 Mark McLoughlin <mark@skynet.ie> 5615 5616 * src/idl-compiler/orbit-idl-c-common.c: 5617 (cc_small_output_method): don't add 1 to name_len. 5618 56192001-12-06 Mark McLoughlin <mark@skynet.ie> 5620 5621 * src/orb/GIOP/giop.c (giop_dump_recv): start dumping 5622 the message body at message_body + 12. Why do we allocate 5623 this space? 5624 56252001-12-05 Mark McLoughlin <mark@skynet.ie> 5626 5627 * src/orb/orb-core/corba-any.c (ORBit_marshal_value): align 5628 the union properly. Thanks to Laca for the debugging. 5629 56302001-12-05 Mark McLoughlin <mark@skynet.ie> 5631 5632 * src/orb/orb-core/iop-profiles.c: 5633 (CodeSetComponent_demarshal): byte swap the code sets 5634 if necessary and fix silly. 5635 56362001-12-05 Mark McLoughlin <mark@skynet.ie> 5637 5638 * src/orb/orb-core/corba-object.c: 5639 (ORBit_handle_location_forward), 5640 (ORBit_demarshal_object): intialise type_id and profiles. 5641 5642 * src/orb/orb-core/iop-profiles.c: 5643 (ORBit_demarshal_IOR): cleanup code flow. 5644 56452001-12-05 Mark McLoughlin <mark@skynet.ie> 5646 5647 * src/orb/orb-core/corba-orb.c: 5648 (CORBA_ORB_string_to_object): tidy up a bit. Use g_ascii_* 5649 functions. 5650 56512001-12-04 Michael Meeks <michael@ximian.com> 5652 5653 * test/everything/basicServer.c 5654 (BasicServer_testLargeStringSeq): stub. 5655 5656 * test/everything/client.c 5657 (make_large_str_seq): impl. 5658 (testMisc): use it. 5659 56602001-12-03 Mark McLoughlin <mark@skynet.ie> 5661 5662 * src/orb/GIOP/giop.c: (giop_dump): tidy up 5663 output a little. 5664 56652001-12-02 Laszlo Peter <laca@ireland.sun.com> 5666 5667 * src/idl-compiler/orbit-idl-c-typecode.c 5668 (cbe_tc_generate): fix order to match corba-typecode.h 5669 56702001-12-01 Theo van Klaveren <t.vanklaveren@student.utwente.nl> 5671 5672 * src/orb/include/Makefile.am: make -> $(MAKE). 5673 * src/orb/GIOP/giop-send-buffer.c: add <sys/types.h> to the 5674 includes. Fixes the build on FreeBSD. 5675 56762001-11-29 Mark McLoughlin <mark@skynet.ie> 5677 5678 * src/orb/GIOP/giop.c: (giop_dump_recv): print the 5679 header as well as the message body. 5680 56812001-11-26 Michael Meeks <michael@ximian.com> 5682 5683 * Version 2.3.99 5684 5685 * configure.in: bump serial. 5686 56872001-11-26 Michael Meeks <michael@ximian.com> 5688 5689 * src/idl-compiler/orbit-idl-c-typecode.c 5690 (cbe_tc_generate): upd & re-order. 5691 5692 * include/orbit/orb-core/corba-typecode.h: give us 5693 some space for expansion & re-order. 5694 56952001-11-26 Michael Meeks <michael@ximian.com> 5696 5697 * Version 2.3.98 5698 5699 * src/orb/util/orbit-options.c 5700 (ORBit_option_command_line_parse): allow NULL argc 5701 on init. 5702 5703 * test/test-dynany.c (main): test it. 5704 57052001-11-23 Michael Meeks <michael@ximian.com> 5706 5707 * docs/internals/typecode-flags.txt: add. 5708 5709 * src/orb/poa/poa.c 5710 (ORBit_POAObject_handle_request): add debug. 5711 57122001-11-25 Havoc Pennington <hp@redhat.com> 5713 5714 * src/orb/poa/Makefile.am (main_src): add poa-macros.h 5715 57162001-11-22 Michael Meeks <michael@ximian.com> 5717 5718 * test/everything/client.c (run_tests): disable 5719 the async tests - need more thought. 5720 5721 * src/orb/orb-core/iop-profiles.c 5722 (IOP_TAG_INTERNET_IOP_copy): copy the host too. 5723 5724 * src/orb/GIOP/giop-connection.c 5725 (giop_connection_initiate): add pre-condition. 5726 57272001-11-21 Michael Meeks <michael@ximian.com> 5728 5729 * test/everything/client.c (testPingPong): add a 5730 scad of equivalence tests. 5731 5732 * src/orb/orb-core/corba-object.c 5733 (ORBit_register_objref): add pre-condition. 5734 (g_CORBA_Object_equal): allow NULL object keys - 5735 these are local objects. 5736 (CORBA_Object_is_equivalent): fix to cope with 5737 the concept of 'local' and NULL objects. 5738 (g_CORBA_Object_equal): remove checks. 5739 5740 * src/orb/orb-core/iop-profiles.c 5741 (IOP_delete_profiles): cope with no ORB on 5742 remote objects. 5743 57442001-11-21 Michael Meeks <michael@ximian.com> 5745 5746 * src/orb/dynamic/dynany.c 5747 (dynany_sequence_realloc_to): undo a stupidity. 5748 57492001-11-21 Michael Meeks <michael@ximian.com> 5750 5751 * src/orb/orb-core/iop-profiles.c 5752 (IOP_delete_profiles): use orb->profiles not common_profiles. 5753 (ORBit_demarshal_IOR): upd. 5754 5755 * src/orb/orb-core/corba-object.c 5756 (ORBit_objref_find, CORBA_Object_release_cb), 5757 (ORBit_handle_location_forward): upd. 5758 5759 * src/orb/orb-core/corba-types.c 5760 (CORBA_sequence__freekids): kill. 5761 (ORBit_sequence_CORBA_octet_dup): upd. 5762 5763 * src/orb/orb-core/iop-profiles.c 5764 (IOP_start_profiles): impl. 5765 (IOP_generate_profiles): upd. ensure that 5766 we always register an objref as we generate 5767 it's profiles. 5768 5769 * src/orb/orb-core/corba-object.c 5770 (ORBit_start_servers): move into the ORB. 5771 (ORBit_objref_find): add some debug. 5772 5773 * src/orb/orb-core/corba-orb.c 5774 (ORBit_ORB_start_servers): here. 5775 5776 * src/orb/orb-core/iop-profiles.c 5777 (IOP_generate_profiles): prune cut & paste 5778 shutdown code - argh; split out, 5779 (boot_profiles): this. 5780 5781 * src/orb/orb-core/corba-object.c 5782 (ORBit_lookup_objref): don't pointlessly setup an 5783 objref hash when we don't need one. 5784 5785 * test/everything/client.c (testPingPong): check we 5786 remote and return correctly. 5787 57882001-11-20 Michael Meeks <michael@ximian.com> 5789 5790 * src/orb/orb-core/corba-typecode.c 5791 (CORBA_TypeCode__freekids): kill. 5792 5793 * src/orb/orb-core/orbit-small.c (ORBit_small_alloc), 5794 (ORBit_small_invoke_adaptor): upd. 5795 5796 * src/orb/orb-core/corba-any.c 5797 (ORBit_copy_value, ORBit_demarshal_arg): alloc_by_tc. 5798 (CORBA_any__freekids): kill. 5799 5800 * src/orb/dynamic/dynany.c (dynany_any_new_default), 5801 (dynany_sequence_realloc_to), 5802 (DynamicAny_DynStruct_get_members), 5803 (DynamicAny_DynSequence_get_elements): alloc_by_tc 5804 5805 * src/orb/orb-core/allocators.c 5806 (ORBit_alloc_by_tc): impl. 5807 5808 * src/orb/orb-core/corba-any.c 5809 (CORBA_any__alloc): do it with _alloc_by_tc. 5810 5811 * src/orb/orbit-init.c: include our own header. 5812 5813 * src/orb/GIOP/giop-recv-buffer.c 5814 (giop_IOP_ServiceContextList_demarshal): warning fix. 5815 5816 * src/orb/orb-core/corba-env.c 5817 (CORBA_exception__alloc): upd. 5818 5819 * src/orb/orb-core/corba-object.c 5820 (CORBA_Object__freekids): kill. 5821 5822 * src/orb/orb-core/allocators.c 5823 (ORBit_alloc_kidfnc): rename to 5824 (ORBit_alloc_with_free_fn): this 5825 5826 * src/orb/orb-core/corba-any.c 5827 (CORBA_any__alloc): upd. 5828 5829 * include/orbit/orb-core/allocators.h: kill the 5830 ORBit_alloc macro. 5831 58322001-11-20 Michael Meeks <michael@ximian.com> 5833 5834 * src/orb/orb-core/corba-string.c 5835 (CORBA_string_alloc, CORBA_string_dup): use alloc_string. 5836 (CORBA_string__freekids): kill, unused. 5837 5838 * src/orb/orb-core/allocators.c 5839 (ORBit_alloc_string): impl. 5840 5841 * test/Makefile.am: add test-mem 5842 5843 * test/test-mem.c: add. 5844 5845 * src/orb/orb-core/allocators.c 5846 (ORBit_alloc_core): kill. 5847 (ORBit_free_T): re-write. 5848 (ORBit_freekids_via_TypeCode_T): re-order args to 5849 make it a freekids fn, privatize. 5850 (ORBit_freekids_via_TypeCode): upd. 5851 (ORBit_alloc_tcval): re-write. 5852 (ORBit_alloc_kidfnc): re-write. 5853 (ORBit_alloc_simple): re-write. 5854 5855 * src/orb/orb-core/corba-any.c 5856 (ORBit_demarshal_value): upd. 5857 5858 * src/orb/orb-core/corba-orb.c (CORBA_ORB_init): check 5859 our processor is a real processor. 5860 5861 * src/orb/orb-core/orbit-small.c (ORBit_small_alloc): 5862 use ORBit_small_alloc. 5863 5864 * src/orb/GIOP/giop-recv-buffer.c 5865 (giop_IOP_ServiceContextList_free): use CORBA_free 5866 (giop_IOP_ServiceContextList_demarshal): do it genericaly 5867 by typecode. 5868 58692001-11-19 Mark McLoughlin <mark@skynet.ie> 5870 5871 * src/orb/poa/poa-macros.h: new file with convience macros. 5872 5873 * src/orb/poa/poa.c: (PortableServer_POA_servant_to_id), 5874 (PortableServer_POA_servant_to_reference), 5875 (PortableServer_POA_reference_to_servant), 5876 (PortableServer_POA_reference_to_id), 5877 (PortableServer_POA_id_to_servant), 5878 (PortableServer_POA_id_to_reference): update to use macros 5879 to simplify policy checking, exception returning. 5880 58812001-11-19 Michael Meeks <michael@ximian.com> 5882 5883 * src/orb/GIOP/giop-connection.c 5884 (giop_connection_close): remove bogus fsync breaking 5885 encapsulation. 5886 58872001-11-19 Michael Meeks <michael@ximian.com> 5888 5889 * src/orb/GIOP/giop-connection.c 5890 (giop_connection_list_lookup): kill retval. 5891 (giop_cnx_descr): impl. for debug. 5892 (giop_connection_initiate): DOH ! pass the right args to 5893 the connection cache. 5894 (giop_connection_list_add): validate connection, add debug. 5895 (giop_connection_list_remove): only try to remove 5896 initiated connections, add debug. 5897 58982001-11-16 Michael Meeks <michael@ximian.com> 5899 5900 * test/everything/client.c 5901 (test_BasicServer_opStringA_cb): free the returned strings. 5902 59032001-11-18 Mark McLoughlin <mark@skynet.ie> 5904 5905 * configure.in: add warning cflags : -Wall -Wunused 5906 -Wmissing-prototypes -Wmissing-declarations. 5907 add --enable-compile-warnings option. 5908 5909 * src/idl-compiler/Makefile.am, src/orb/GIOP/Makefile.am, 5910 src/orb/GIOP/giop-private.h, src/orb/Makefile.am, 5911 src/orb/dynamic/Makefile.am, src/orb/poa/Makefile.am, 5912 src/orb/orb-core/Makefile.am, src/orb/util/Makefile.am, 5913 src/services/name/Makefile.am, test/Makefile.am, 5914 test/everything/Makefile.am, test/inhibit/Makefile.am, 5915 test/poa/Makefile.am (INCLUDES): add $(WARN_CFLAGS). 5916 5917 * src/orb/GIOP/giop-connection.c, 5918 src/orb/GIOP/giop-recv-buffer.c: include correct headers 5919 and make some functions static. 5920 5921 * src/orb/dynamic/dynany.c: 5922 (DynamicAny_DynSequence_get_elements_as_dyn_any): rename to 5923 DynamicAny_DynSequence_get_elements_as_dyn_any, its correct 5924 name. 5925 5926 * src/orb/orb-core/corba-nvlist.c, 5927 src/orb/orb-core/corba-object.c: 5928 src/orb/orb-core/corba-orb.c, 5929 src/orb/orb-core/iop-profiles.c 5930 src/orb/orb-core/orb-core-export.h, 5931 src/orb/orb-core/orbit-object.c: 5932 include correct headers, make some functions static and kill 5933 unused variables. 5934 5935 * src/orb/poa/poa.c: 5936 (ORBit_classinfo_lookup_id): kill unused fuction. 5937 (ORBit_POA_obj_to_ref): kill unused variable. 5938 5939 * test/everything/arrayServer.c., test/everything/client.c 5940 test/everything/pingServer.c, test/everything/server.c: 5941 make some functions static. 5942 5943 * test/poa/poatest-basic01.c, test/poa/poatest-basic02.c, 5944 test/poa/poatest-basic03.c, test/poa/poatest-basic04.c, 5945 test/poa/poatest-basic05.c, test/poa/poatest-basic06.c, 5946 test/poa/poatest-basic07.c, test/poa/poatest-basic08.c, 5947 test/poa/poatest-basic09.c, test/poa/poatest-basic10.c: 5948 include correct headers and make some functions static. 5949 59502001-11-16 Mark McLoughlin <mark@skynet.ie> 5951 5952 * include/orbit/poa/poa.h: kill ORBit_POA_object_to_shutdown. 5953 5954 * src/orb/orb-core/corba-object.c: 5955 (CORBA_Object_release_cb): upd. 5956 5957 * src/orb/poa/poa.c: 5958 (PortableServer_POA_id_to_reference): duplicate returned 5959 reference. 5960 59612001-11-16 Michael Meeks <michael@ximian.com> 5962 5963 * test/everything/server.c (main): kill sleep. 5964 5965 * test/everything/client.c (main): kill sleep. 5966 59672001-11-16 Michael Meeks <michael@ximian.com> 5968 5969 * configure.in: require a linc we can work with. 5970 5971 * src/orb/orb-core/corba-object.c 5972 (ORBit_try_connection): use giop_connection_unref. 5973 (ORBit_objref_find): release the object key - don't 5974 leak it. 5975 5976 * src/orb/GIOP/giop-recv-buffer.c 5977 (giop_connection_handle_input): prune cruft. 5978 5979 * src/orb/GIOP/giop-connection.c 5980 (giop_connection_remove_by_orb): unref the 5981 connection here as well as a close. 5982 (giop_connection_unref): hold the right locks. 5983 (giop_connection_list_remove): don't take the locks. 5984 5985 * src/orb/orb-core/corba-object.c 5986 (CORBA_Object_release_cb): don't close what might be a 5987 shared connection; it'll happen on dispose anyway, use 5988 giop_connection_unref to get locking right. 5989 5990 * src/orb/orb-core/corba-context.c: make it all 5991 look pretty. 5992 59932001-11-16 Michael Meeks <michael@ximian.com> 5994 5995 * src/orb/poa/poa.c (PortableServer_POA_servant_to_reference): 5996 dup the reference we return if we return the same twice ... 5997 5998 * src/orb/orb-core/orbit-small.c 5999 (ORBit_small_invoke_adaptor): get the ORB via. the poa 6000 and not the objref. 6001 6002 * src/orb/poa/poa.c (ORBit_POA_object_shutdown): impl. 6003 (ORBit_POA_deactivate_object): free the environment after 6004 setting it up. 6005 6006 * src/orb/orb-core/corba-object.c 6007 (CORBA_Object_release_cb): move the connection close 6008 right to the end; it can re-enter, invoke 6009 ORBit_POA_object_shutdown instead of an unref - the poa 6010 holds a ref too ... 6011 6012 * test/everything/deadReference.c (DeadReferenceObj_test): 6013 release references, kill spurious global. 6014 6015 * test/everything/server.c (TestFactory_createDeadReferenceObj): 6016 release the poa and the poa_current. 6017 6018 * test/everything/pingServer.c (PingPongServer_get), 6019 (PingPongServer_set): don't leak. 6020 (create_ping_pong_servant): upd. 6021 6022 * test/everything/server.c 6023 (TestFactory_createPingPongServer): upd. 6024 6025 * src/orb/orb-core/corba-context.c 6026 (ORBit_Context_demarshal): don't init me as a RootObject, 6027 I'm static. 6028 6029 * src/orb/orb-core/corba-nvlist.c 6030 (CORBA_NVList_free_memory): always blank the type & 6031 value on free. 6032 6033 * src/orb/orb-core/corba-orb.c (CORBA_ORB_create_list): 6034 remove bogus 'no memory' op. 6035 6036 * test/everything/server.c (main): exit cleanly, 6037 release the factory. 6038 60392001-11-15 Michael Meeks <michael@ximian.com> 6040 6041 * test/everything/client.c (testException): fix mem 6042 corruption. 6043 6044 * src/orb/GIOP/giop-connection.c 6045 (giop_connection_initiate): don't ref here, 6046 (giop_connection_list_add): ref here instead. 6047 (giop_connection_list_remove): privatize. 6048 (giop_connection_dispose): move locking into 6049 (giop_connection_list_remove): here. 6050 (giop_connection_dispose): protect vs. double disposes. 6051 (giop_connection_list_lookup): accelerate & robustify. 6052 6053 * src/orb/orb-core/iop-profiles.c 6054 (IOP_generate_profiles): re-flow & simplify confusion. 6055 6056 * src/orb/orb-core/orbit-trace.c 6057 (ORBit_trace_value): update so an strace doesn't give 6058 us a thousand writes. 6059 60602001-11-15 Mark McLoughlin <mark@skynet.ie> 6061 6062 * src/orb/poa.c (ORBit_POAObject_handle_request): warn 6063 if queueing a request because the POAManager is holding. 6064 60652001-11-12 Michael Meeks <michael@ximian.com> 6066 6067 * src/orb/orb-core/orbit-trace.c 6068 (ORBit_trace_header): print pid in decimal. 6069 (ORBit_trace_value): only print printable 6070 characters. 6071 6072 * test/everything/client.c (testPingPong): upd. 6073 6074 * test/everything/pingServer.c 6075 (PingPongServer_opOneWay), 6076 (PingPongServer_pingPong): add method to try and 6077 confuse - no joy. 6078 (PingPongServer_set, PingPongServer_get): impl. 6079 60802001-11-12 Michael Meeks <michael@ximian.com> 6081 6082 * src/orb/GIOP/giop-recv-buffer.c (handle_reply): 6083 dump unexpected system exceptions silently. 6084 6085 * test/everything/client.c (testMisc): add ops. on 6086 a deactivated object. 6087 60882001-11-12 Michael Meeks <michael@ximian.com> 6089 6090 * src/orb/poa/poa.c (ORBit_POAObject_handle_request): 6091 only free exceptions iff we're not in proc, we 6092 need to return them otherwise. 6093 60942001-11-12 Michael Meeks <michael@ximian.com> 6095 6096 * src/orb/GIOP/giop-server.c (giop_server_new): 6097 always pass non blocking flag. 6098 6099 * src/orb/orb-core/corba-object.c 6100 (ORBit_start_servers): don't pass non blocking 6101 flag. 6102 6103 * src/orb/GIOP/giop-connection.c 6104 (giop_connection_initiate): always initate non 6105 blocking connections. 6106 6107 * src/orb/GIOP/giop-recv-buffer.c 6108 (giop_connection_handle_input): use new 6109 linc_connection_read semantics, kills 6110 deadlock, and heinous EAGAIN handling, we now 6111 idle in the mainloop on EAGAIN. 6112 6113 * configure.in: require linc >= 0.1.8 and it's 6114 new linc_connection_read. 6115 61162001-11-09 Michael Meeks <michael@ximian.com> 6117 6118 * src/orb/GIOP/giop-recv-buffer.c 6119 (giop_connection_handle_input): close the 6120 connection on a GIOP_CLOSECONNECTION - shock. 6121 6122 * HACKING: update. 6123 61242001-11-09 Michael Meeks <michael@ximian.com> 6125 6126 * src/orb/GIOP/giop-recv-buffer.c 6127 (handle_reply): split out of 6128 (giop_recv_list_push): here, kill and fold into 6129 (giop_connection_handle_input): here & simplify. 6130 (giop_recv_buffer_use): kill, confused & unused. 6131 (giop_recv_list_pop_T, giop_recv_list_pop): kill; 6132 unused 6133 (recv_list_push_or_handle): don't do silly things 6134 with lists. 6135 (giop_recv_buffer_init): kill lock init. 6136 (giop_connection_handle_input): don't pile up 6137 GIOP_CLOSECONECTION requests in the bit bucket. 6138 61392001-11-09 Michael Meeks <michael@ximian.com> 6140 6141 * include/orbit/GIOP/giop-recv-buffer.h: kill 6142 GIOPMessageInfo, not neccessary. 6143 remove giop_recv_buffer_data_read prototype. 6144 6145 * src/orb/GIOP/giop-recv-buffer.c 6146 (giop_recv_list_push): a crack smoking & inefficient 6147 loop search; re-order compare - most unlikely first, 6148 get request_id only once. re-order locking to be yet 6149 more transparent. Remove the huge, paranoid and 6150 incorrect ( except for Elliot's huge stubs/skels ) 6151 message. 6152 (giop_recv_buffer_demarshal): make robust against 6153 duff giop versions. 6154 (giop_recv_buffer_use_buf): simplify, remove bogus 6155 is_auth parameter. 6156 (giop_connection_handle_input): upd. to not pass isauth. 6157 (giop_recv_list_push): add processed concept outline. 6158 61592001-11-08 Michael Meeks <michael@ximian.com> 6160 6161 * configure.in: require linc >= 0.1.7 6162 61632001-11-08 Michael Meeks <michael@ximian.com> 6164 6165 * src/orb/poa/poa.c (ORBit_POAList_add_child), 6166 (PortableServer_Current_get_POA), 6167 (PortableServer_POA_find_POA), 6168 (PortableServer_POA__get_the_parent), 6169 (PortableServer_POA_get_servant_manager): RootObject 6170 duplicate, not CORBA_Object_duplicate. 6171 6172 * src/orb/orb-core/corba-orb.c 6173 (CORBA_ORB_init): RootObject duplicate. 6174 6175 * src/orb/orb-core/corba-context.c 6176 (CORBA_Context_new): RootObject duplicate. 6177 (CORBA_ORB_get_default_context): ditto. 6178 6179 * src/orb/orb-core/corba-any.c: indent pleasantly 6180 6181 * src/orb/util/genrand.c 6182 (genrand_unix): use p_memzero 6183 6184 * src/orb/GIOP/giop-send-buffer.c 6185 (giop_send_buffer_append_aligned), 6186 (giop_send_buffer_align): use p_memzero. 6187 6188 * src/orb/util/Makefile.am 6189 (liborb_util_la_SOURCES): add orbit-purify.h 6190 6191 * src/orb/dynamic/dynany.c 6192 (DynamicAny_DynAny_release_fn): p_free. 6193 6194 * src/orb/poa/poa-manager.c 6195 (ORBit_POAManager_free_fn): p_free. 6196 6197 * src/orb/poa/poa.c (ORBit_POACurrent_free_fn), 6198 (ORBit_POA_free_fn): p_free. 6199 6200 * src/orb/orb-core/corba-policy.c 6201 (ORBit_Policy_release): p_free. 6202 6203 * src/orb/orb-core/corba-typecode.c 6204 (ORBit_TypeCode_free_fn): p_free. 6205 6206 * src/orb/orb-core/corba-orb.c 6207 (CORBA_ORB_release_fn): p_free 6208 6209 * src/orb/orb-core/corba-object.c 6210 (CORBA_Object_release_cb): p_free 6211 6212 * src/orb/util/orbit-options.c, 6213 * src/orb/util/genrand.c, 6214 * src/orb/util/orbit-util.c, 6215 * src/orb/poa/orbit-adaptor.c, 6216 * src/orb/poa/poa.c, 6217 * src/orb/poa/poa-servants.c, 6218 * src/orb/poa/poa-policy.c, 6219 * src/orb/poa/poa-manager.c, 6220 * src/orb/GIOP/giop-endian.c, 6221 * src/orb/orb-core/corba-orb.c, 6222 * src/orb/orb-core/orbit-object.c, 6223 * src/orb/orb-core/iop-profiles.c: include config.h 6224 6225 * src/orb/orb-core/orb-core-export.h 6226 (p_memzero, p_memwipe, p_free): impl. helpers. 6227 6228 * src/orb/orb-core/corba-context.c 6229 (ORBit_Context_free_fn): p_free. 6230 62312001-11-08 Michael Meeks <michael@ximian.com> 6232 6233 * src/orb/GIOP/giop-recv-buffer.c 6234 (giop_connection_handle_input): move here. 6235 (giop_recv_buffer_data_read): kill; fold into the above 6236 to flatten control flow. 6237 (giop_recv_buffer_state_change): privatize. 6238 6239 * src/orb/GIOP/giop-connection.c 6240 (giop_connection_handle_input): move into giop-recv-buffer.c. 6241 6242 * src/orb/GIOP/giop.c (dump): rename to 6243 (giop_dump): and publicise. 6244 6245 * test/everything/server.c: clean & 6246 (TestFactory_createPingPongServer): impl. 6247 (main): upd. 6248 6249 * test/everything/client.c: prune BIG_STUBS cruft, 6250 they'll never work again :-) 6251 (testPingPong): impl. 6252 6253 * test/everything/pingServer.c: impl. 6254 6255 * test/everything/everything.idl: add PingPongServer. 6256 62572001-11-06 Johan Dahlin <jdahlin@telia.com> 6258 6259 * test/everything/Makefile.am (Everything_module_la_LIBADD): 6260 Add $(top_builddir)/src/orb/libORBit-2.la 6261 6262 * src/orb/orb-core/Makefile.am (TYPELIB_DIR): fix 6263 to be $(libdir)/orbit-2.0 6264 62652001-11-05 Michael Meeks <michael@ximian.com> 6266 6267 * src/orb/GIOP/giop-send-buffer.c 6268 (giop_send_buffer_append_aligned): remove erroneous 6269 assertion - the indirect (system) align and message 6270 align are not synchronized. 6271 (giop_send_buffer_append_string): fix an incredibly 6272 daft bug; accelerate further. 6273 62742001-11-02 Abel Cheung <maddog@linux.org.hk> 6275 6276 * configure.in: Update required linc version. 6277 62782001-11-02 Michael Meeks <michael@ximian.com> 6279 6280 * src/orb/orb-core/orbit-small.c 6281 (ORBit_small_invoke_async, ORBit_small_invoke_stub), 6282 (ORBit_small_invoke_adaptor), 6283 (ORBit_small_demarshal_async): use tprintf_end_method. 6284 6285 * src/orb/orb-core/orbit-trace.c 6286 (ORBit_trace_timestamp): split out. 6287 (ORBit_trace_header): invoke. 6288 (ORBit_trace_end_method): impl. 6289 6290 * src/orb/orb-core/orbit-small.c 6291 (ORBit_small_unlisten_for_broken), 6292 (ORBit_small_listen_for_broken): tolerate a 6293 NULL object sensibly. 6294 62952001-11-01 Michael Meeks <michael@ximian.com> 6296 6297 * src/orb/GIOP/giop-send-buffer.c 6298 (giop_send_buffer_append_string): Optimize more to 6299 the hilt for the common case. 6300 6301 * src/orb/orb-core/corba-object.c 6302 (ORBit_marshal_object): upd. 6303 6304 * src/orb/orb-core/corba-env.c 6305 (ORBit_send_system_exception): upd. 6306 (ORBit_send_user_exception): upd. 6307 6308 * src/orb/orb-core/corba-any.c 6309 (ORBit_marshal_value): upd. 6310 6311 * src/orb/orb-core/orbit-small.c 6312 (ORBit_small_send_user_exception): upd. 6313 6314 * src/orb/orb-core/iop-profiles.c 6315 (IOP_TAG_GENERIC_SSL_SEC_TRANS_marshal), 6316 (IOP_TAG_INTERNET_IOP_marshal), 6317 (IOP_TAG_GENERIC_IOP_marshal), 6318 (IOP_TAG_ORBIT_SPECIFIC_marshal): upd. 6319 6320 * src/orb/orb-core/corba-typecode.c 6321 (CDR_put_string): make a #define. 6322 6323 * src/orb/GIOP/giop-send-buffer.c 6324 (giop_send_buffer_append_string): impl. 6325 6326 * src/orb/orb-core/corba-typecode.c (tc_enc): make 6327 typecode marshaling smaller and faster. 6328 63292001-11-01 Michael Meeks <michael@ximian.com> 6330 6331 * Version 2.3.97 6332 63332001-11-01 Michael Meeks <michael@ximian.com> 6334 6335 * src/orb/orb-core/corba-typecode.c: populate tk_info 6336 with CORBA_TypeCodes for the empty case, so we don't 6337 have to alloc / free them continualy. 6338 (tc_dec): re-vamp to use faster basic type path. 6339 6340 * src/orb/orb-core/orbit-small.c: s/CORBA_free/ORBit_free/ 6341 6342 * src/orb/orb-core/iop-profiles.c: ditto. 6343 6344 * src/orb/orb-core/corba-string.c 6345 (CORBA_string__freekids): use ORBit_free 6346 6347 * src/orb/orb-core/corba-nvlist.c 6348 (ORBit_NamedValue_free): use ORBit_free. 6349 (CORBA_NVList_free_memory): ditto. 6350 6351 * test/everything/client.c (dummy_cb): impl. 6352 (testSegv): upd. to test unlisten. 6353 (testAnyStrSeq): add 6354 (main): call it. 6355 6356 * test/everything/everything.idl: add method. 6357 6358 * test/everything/anyServer.c 6359 (AnyServer_opAnyStrSeq): forward port 6360 6361 * src/orb/orb-core/orbit-small.c 6362 (ORBit_small_unlisten_for_broken): impl. sigh, there 6363 had to be something to break the API freeze. 6364 63652001-10-31 Mark McLoughlin <mark@skynet.ie> 6366 6367 * include/orbit/orb-core/corba-ir.h: 6368 * include/orbit/orb-core/corba-nvlist-type.h: 6369 * include/orbit/orb-core/orb-defs.h: 6370 * include/orbit/util/os-feature-alloca.h: 6371 * include/orbit/util/thread-safety.h 6372 * src/orb/util/genrand.h: remove unused headers. 6373 63742001-10-31 Mark McLoughlin <mark@skynet.ie> 6375 6376 * configure.in: version 2.3.96. 6377 63782001-10-31 Mark McLoughlin <mark@skynet.ie> 6379 6380 * test/poa/Makefile.am: add poatest-basic-shell.h. 6381 63822001-10-31 Mark McLoughlin <mark@skynet.ie> 6383 6384 I feel violated. What's bonobo-config doing poking 6385 around with this stuff? 6386 6387 * include/orbit/orb-core/allocators.h: expose 6388 ORBit_alloc_tcval. 6389 6390 * include/orbit/orb-core/corba-typecode.h: expose 6391 ORBit_TypeCode_epv. 6392 6393 * include/orbit/orb-core/orbit-object.h: expose 6394 ORBit_RootObject_init. 6395 63962001-11-01 Michael Meeks <michael@ximian.com> 6397 6398 * src/orb/orb-core/orbit-small.c 6399 (ORBit_small_get_servant): tolerate a NULL obj. 6400 6401 * test/everything/client.c (testMisc): add test. 6402 64032001-11-01 Michael Meeks <michael@ximian.com> 6404 6405 * src/orb/orb-core/orbit-small.c 6406 (ORBit_small_get_servant): fixup. 6407 (get_status): use correct LINC_CONNECTION enum. 6408 6409 * test/everything/client.c (testMisc): use in_proc, 6410 not evil hacks, expand to test new methods. 6411 (testSegv): upd, & listen for 'broken' 6412 64132001-11-01 Michael Meeks <michael@ximian.com> 6414 6415 * src/orb/orb-core/orbit-small.c 6416 (ORBit_small_get_servant, get_status), 6417 (ORBit_small_get_connection_status), 6418 (ORBit_small_listen_for_broken): impl. 6419 64202001-10-31 Michael Meeks <michael@ximian.com> 6421 6422 * src/orb/orb-core/orbit-small.c 6423 (ORBit_small_get_servant), 6424 (ORBit_small_get_connection_status), 6425 (ORBit_small_listen_for_broken): stub - impl. to follow. 6426 64272001-10-30 Mark McLoughlin <mark@skynet.ie> 6428 6429 * include/orbit/util/orbit-util.h: make ALIGN_ADDRESS publicly 6430 available. It seems bonobo-config uses it. hmmm. 6431 64322001-10-30 Mark McLoughlin <mark@skynet.ie> 6433 6434 * include/orbit/*/*.h: wrap all internal defines in #ifdef 6435 ORBIT2_INTERNAL_API and all defines for the benefits of 6436 stubs/skels in #ifdef ORBIT2_STUBS_API. 6437 6438 * include/orbit/orb-core/Makefile.am: don't install empty 6439 files. 6440 6441 * include/orbit/util/Makefile.am: ditto. 6442 6443 * src/idl-compiler/Makefile.am: define ORBIT2_INTERNAL_API. 6444 6445 * src/idl-compiler/orbit-idl-c-common.c: 6446 (orbit_idl_output_c_common): define ORBIT2_STUBS_API in 6447 generated code. 6448 6449 * src/idl-compiler/orbit-idl-c-skels.c: 6450 (orbit_idl_output_c_skeletons): ditto. 6451 6452 * src/idl-compiler/orbit-idl-c-stubs.c: 6453 * (orbit_idl_output_c_stubs): ditto. 6454 6455 * src/idl-compiler/orbit-idl-c-headers.c: (ch_output_types): 6456 don't define exception marshallers in small mode. 6457 6458 * src/orb/GIOP/Makefile.am: 6459 * src/orb/Makefile.am: 6460 * src/orb/dynamic/Makefile.am: 6461 * src/orb/orb-core/Makefile.am: 6462 * src/orb/poa/Makefile.am: 6463 * src/orb/util/Makefile.am: define ORBIT2_INTERNAL_API. 6464 6465 * src/orb/util/genrand.c: don't include genrand.h. 6466 6467 * src/orb/util/genrand.h: kill, duplicate of 6468 include/orbit/util/orbit-genrand.h. 6469 6470 * test/Makefile.am: 6471 * test/everything/Makefile.am: define ORBIT2_INTERNAL_API. 6472 64732001-10-31 Michael Meeks <michael@ximian.com> 6474 6475 * src/orb/poa/poa.c (return_exception): if in-proc, 6476 we have no valid recv_buffer, so just return - ev is 6477 the actual exception context. 6478 64792001-10-31 Michael Meeks <michael@ximian.com> 6480 6481 * src/orb/orb-core/corba-env.c 6482 (CORBA_exception_free_T): impl & upd. 6483 (CORBA_exception_free): do correct locking. 6484 6485 * test/everything/client.c 6486 (testException): test copying. 6487 6488 * src/orb/orb-core/corba-env.c 6489 (CORBA_exception__alloc), 6490 (CORBA_exception__copy), 6491 (CORBA_exception__freekids): move from bonobo. 6492 64932001-10-30 Michael Meeks <michael@ximian.com> 6494 6495 * src/orb/orb-core/orbit-object.c 6496 (ORBit_RootObject_shutdown): upd. to account for the ORB 6497 hanging around. 6498 6499 * src/orb/orb-core/corba-orb.c (CORBA_ORB_destroy): set 6500 exceptions on an unclean shutdown, release default ctx. 6501 (CORBA_ORB_release_fn): check refs where we have an ev, 6502 don't release default ctx here. 6503 65042001-10-29 Mark McLoughlin <mark@skynet.ie> 6505 6506 * include/orbit/poa/poa-basics.h 6507 (PortableServer_ServantBase__epv): added extra members 6508 to the epv to handle servant refcounting and CORBA::Object 6509 method overiding. 6510 6511 * include/orbit/poa/poa.h: upd. 6512 6513 * src/orb/poa/poa-servants.c: 6514 (PortableServer_ServantBase__get_interface), 6515 (PortableServer_ServantBase__is_a), 6516 (PortableServer_ServantBase__add_ref), 6517 (PortableServer_ServantBase__remove_ref), 6518 (PortableServer_RefCountServantBase__add_ref), 6519 (PortableServer_RefCountServantBase__remove_ref), 6520 (PortableServer_RefCountServantBase__init), 6521 (PortableServer_RefCountServantBase__fini): impl. 6522 (PortableServer_ServantBase__init): initialise function 6523 pointers if not already set. 6524 (PortableServer_ServantBase__fini): upd. 6525 6526 * include/orbit/orb-core/corba-orb-type.h: add 6527 CORBA_InterfaceDef definition to keep poa headers 6528 happy. 6529 65302001-10-30 Michael Meeks <michael@ximian.com> 6531 6532 * src/orb/poa/poa.c (ORBit_POA_handle_request): make it 6533 more robust vs. NULL pobjs. 6534 65352001-10-29 Michael Meeks <michael@ximian.com> 6536 6537 * configure.in: bump required glib version. 6538 65392001-10-27 Michael Meeks <michael@ximian.com> 6540 6541 * src/orb/orb-core/corba-typecode.c: re-order to kill 6542 redundant forward prototypes. 6543 (ORBit_decode_CORBA_TypeCode): return a typecode with a 6544 single reference - not no reference. 6545 (tc_dec): ditto duplicate here. 6546 (tc_dec_tk_sequence, tc_dec_tk_struct, tc_dec_tk_union), 6547 (tc_dec_tk_alias, tc_dec_tk_except, tc_dec_tk_array): update 6548 all callers to not do their own duplicates. 6549 6550 * src/orb/orb-core/corba-any.c 6551 (ORBit_demarshal_value, ORBit_demarshal_any): push back 6552 the refs into ORBit_decode_CORBA_TypeCode. 6553 6554 * test/everything/client.c (testMisc): fix reference leak. 6555 6556 * src/orb/orb-core/orbit-object.c (ORBit_RootObject_shutdown): 6557 add a total ref count, always taken regardless of locking. 6558 (ORBit_RootObject_duplicate, do_unref), 6559 (ORBit_RootObject_duplicate_T), 6560 (ORBit_RootObject_duplicate): upd. 6561 6562 * src/orb/orb-core/corba-orb.c (CORBA_ORB_release_fn): 6563 release the default context. 6564 6565 * test/everything/client.c (testMisc): regression test. 6566 65672001-10-27 Michael Meeks <michael@ximian.com> 6568 6569 * test/test-dynany.c (main): shutdown the ORB correctly. 6570 6571 * test/everything/server.c (TestFactory_segv): use exit 6572 instead of a segv - more friendly. 6573 6574 * test/poa/poatest-basic*.c: include poatest-basic-shell.h 6575 create into the global child_poa so we can destroy it later. 6576 don't unref the child_poa, leave that to the shell. 6577 6578 * test/poa/poatest-basic-shell.h: add. 6579 6580 * test/poa/poatest-basic-shell.c (main): destroy any child 6581 poas we have created. 6582 6583 * src/orb/poa/poa.c (ORBit_POA_new): duplicate the poa we 6584 return, one ref is released by 'POA_destroy' and another 6585 by CORBA_Object_release. 6586 (ORBit_POAObject_handle_request): survive even if the 6587 poa manager is dead. 6588 (PortableServer_POA_create_POA): remove extra duplicate. 6589 6590 * src/orb/orbit-init.c (ORBit_init_internals): release the 6591 references after set_initial_reference. 6592 6593 * src/orb/poa/poa.c (ORBit_POA_destroy): remove superstition 6594 about the RootPOA entry. 6595 65962001-10-26 Michael Meeks <michael@ximian.com> 6597 6598 * src/orb/orb-core/corba-orb.c (CORBA_ORB_release_fn): don't 6599 destroy the initial refs here - some of them are poas and hold 6600 refs on the ORB so we never get here ... 6601 (ORBit_service_list_free_ref): use locking mode. 6602 (CORBA_ORB_destroy): unref the initial_refs here instead, 6603 we don't need to explicitely kill the poas ourselves here. 6604 (CORBA_ORB_shutdown): destroy the current poa as well. 6605 6606 * test/everything/client.c (main): release the orb 6607 after destroy. 6608 6609 * test/everything/server.c (main): ditto. 6610 6611 * src/orb/orb-core/corba-orb.c 6612 (CORBA_ORB_init): split out static ORB variable, so 6613 we can NULL it on destroy and seek leaks. 6614 (CORBA_ORB_destroy): check we are destroying the right 6615 thing, NULL the pointer. 6616 (CORBA_ORB_release_fn): call ORBit_RootObject_shutdown, 6617 to see if we leaked anything. 6618 6619 * src/orb/orb-core/corba-object.c (ORBit_objref_find): 6620 kill deadlock. 6621 6622 * src/orb/orb-core/orbit-object.c 6623 (ORBit_RootObject_duplicate): actualy do some locking ! 6624 (ORBit_RootObject_duplicate_T): impl. 6625 (ORBit_RootObject_release_T): duplicate into 6626 (ORBit_RootObject_release): here - for more speed, we 6627 gamble that robj->refs == ORBIT_REFCOUNT_STATIC is not 6628 a likely intermediate for an incomplete set of a normal 6629 ref count: garenteed pretty much. 6630 (do_unref): split out the guts, add alive object count. 6631 (ORBit_RootObject_init): count live objects if there is 6632 no locking. 6633 (ORBit_RootObject_shutdown): impl. 6634 6635 66362001-10-26 Michael Meeks <michael@ximian.com> 6637 6638 * docs/FAQ: add a first pass at a FAQ. 6639 6640 * src/orb/orb-core/orbit-typelib.c 6641 (ORBit_get_typelib_paths): use g_getenv not getenv. 6642 6643 * test/everything/Makefile.am (orbittypelibdir): 6644 install in orbit-2.0 6645 6646 * src/orb/orb-core/orbit-typelib.c (add_if_unique): 6647 use the orbit-2.0 directory for type libs. 6648 66492001-10-23 Mark McLoughlin <mark@skynet.ie> 6650 6651 * include/orbit/orb-core/Makefile.am: reverse Michael's 6652 change. 6653 66542001-10-24 Michael Meeks <michael@ximian.com> 6655 6656 * src/orb/GIOP/giop-server.c (giop_server_destroy): 6657 kill misleadingly named method. 6658 (giop_server_class_init): don't init it, or setup 6659 parent_class 6660 66612001-10-24 Michael Meeks <michael@ximian.com> 6662 6663 * include/orbit/orb-core/Makefile.am: prune broken special 6664 case for orbit-interface.idl. 6665 6666 * test/everything/client.c (main): upd, use linc_set_threaded, 6667 requires HEAD linc; sorry. 6668 66692001-10-23 Michael Meeks <michael@ximian.com> 6670 6671 * src/orb/GIOP/giop-recv-buffer.c 6672 (giop_recv_buffer_state_change): re-format to make pretty. 6673 (giop_recv_buffer_handle_fragmented): return GIOP_MSG_INVALID 6674 6675 * src/orb/GIOP/giop-connection.c 6676 (giop_connection_handle_input): drasticaly simplify crack 6677 smoking flow control, release cnx->incoming_mutex much 6678 earlier to avoid deadlock. 6679 66802001-10-18 Mark McLoughlin <mark@skynet.ie> 6681 6682 * include/orbit/orb-core/corba-orb-type.h 6683 (CORBA_ORB_type): kill poa_current, make poa_current_invocations 6684 a GSList and rename to current_invocations. 6685 (ORBit_InitialReference): kill. 6686 6687 * include/orbit/orb-core/corba-orb.h, 6688 src/orb/orb-core/orb-core-private.h, 6689 src/orb/orb-core/corba-object.c: 6690 (CORBA_ORB_set_initial_reference): rename to 6691 ORBit_set_initial_reference, privatise and simplify arguments. 6692 (ORBit_service_list_add_id): kill ugly _maximum++ hack. 6693 (ORBit_service_list_free_ref): impl. 6694 (CORBA_ORB_release_fn): unref all initial references. 6695 (CORBA_ORB_resolve_initial_references): update. 6696 6697 * src/orb/poa/poa.c (ORBit_POACurrent_get_object): update. 6698 (ORBit_POAObject_handle_request): ditto. 6699 (PortableServer_Current_get_POA): ditto. 6700 (PortableServer_Current_get_object_id): ditto. 6701 (PortableServer_POA_servant_to_id): ditto. 6702 (PortableServer_POA_servant_to_reference): ditto. 6703 (CORBA_ORB_list_initial_services): update. 6704 6705 * src/orb/orbit-init.c (ORBit_init_internals): update, and 6706 create + register a "POACurrent" reference. 6707 6708 * include/orbit/poa/poa-types.h 6709 (ORBIT_STUB_PreCall, PostCall): update. 6710 6711 * include/orbit/poa/poa.h(ORBit_POAInvocation): kill. 6712 6713 * src/orb/poa/orbit-poa.h: add ORBit_POACurrent_new. 6714 6715 * test/everything/client.c, test/everything/everything.idl, 6716 test/everything/server.c, test/everything/deadReference.c, 6717 test/everything/test.sh: added regression test for dead 6718 server-side references and ORB initial services. 6719 6720 * src/idl-compiler/orbit-idl-c-stubs.c (cs_small_output_stub): 6721 update. 6722 6723 * configure.in: bump up ORBIT_SERIAL. 6724 67252001-10-18 Michael Meeks <michael@ximian.com> 6726 6727 * test/everything/client.c (testSegv): invoke a remote segv. 6728 (run_tests): upd. 6729 6730 * test/everything/server.c (TestFactory_segv): impl. a segv. 6731 6732 * src/orb/GIOP/giop-connection.c 6733 (giop_connection_handle_input): kill uber wierd error 6734 handling, and make return value always TRUE. 6735 67362001-10-18 Michael Meeks <michael@ximian.com> 6737 6738 * include/orbit/orb-core/corba-object-type.h: make type_id 6739 a GQuark to save space, and time. 6740 6741 * src/orb/poa/poa.c (ORBit_POA_obj_to_ref): upd. 6742 6743 * src/orb/orb-core/corba-object.c (g_CORBA_Object_hash), 6744 (CORBA_Object_release_cb, ORBit_objref_new, ORBit_objref_find):, 6745 (ORBit_marshal_object, CORBA_Object_is_a): upd. 6746 67472001-10-17 jacob berkman <jacob@ximian.com> 6748 6749 * Makefile.am: orbit-config is no more 6750 67512001-10-18 Michael Meeks <michael@ximian.com> 6752 6753 * src/orb/GIOP/giop-connection.c (giop_connection_handle_input): 6754 hold a ref on the connection whilst handling the input. 6755 6756 * src/orb/GIOP/giop-recv-buffer.c (giop_recv_list_push): 6757 release the incoming mutex around the ent. call, 6758 set the cnx->incoming_msg to NULL much earlier. 6759 6760 * src/orb/orb-core/iop-profiles.c (IOP_profiles_copy): impl. 6761 (ORBit_demarshal_IOR): kill redundant gbuf = buf, no nasty 6762 global variables thank you. 6763 (IOP_ObjectKey_copy, IOP_components_copy), 6764 (IOP_TAG_COMPLETE_OBJECT_KEY_copy), 6765 (IOP_TAG_GENERIC_SSL_SEC_TRANS_copy), 6766 (IOP_TAG_SSL_SEC_TRANS_copy, IOP_TAG_CODE_SETS_copy), 6767 (IOP_UnknownComponent_copy, IOP_component_copy), 6768 (IOP_components_copy, IOP_TAG_INTERNET_IOP_copy), 6769 (IOP_TAG_GENERIC_IOP_copy), 6770 (IOP_TAG_ORBIT_SPECIFIC_copy), 6771 (IOP_TAG_MULTIPLE_COMPONENTS_copy), 6772 (IOP_TAG_UnknownProfile_copy), 6773 (IOP_profile_copy, IOP_profiles_copy): impl. 6774 6775 * src/orb/orb-core/corba-object.c (CORBA_Object_release): 6776 misc. style cleans. 6777 (ORBit_objref_get_proxy): impl. to make a local object 6778 able to access itself as if remote. 6779 6780 * src/orb/orb-core/orbit-small.c 6781 (ORBit_small_invoke_async): if we have no local profiles, 6782 create some. 6783 6784 * test/everything/client.c (testAsync): beef up regression 6785 tests to catch the above. 6786 6787 * test/everything/client.c (testAsync): perform 6788 some normal work while waiting for the async 6789 method result. 6790 Lots of stylistic seds. 6791 6792 * src/orb/orb-core/orbit-trace.c 6793 (ORBit_trace_header): impl & add timing information. 6794 6795 * src/orb/orb-core/orbit-small.c 6796 (ORBit_small_invoke_adaptor), 6797 (orbit_small_marshal): use it 6798 67992001-10-16 jacob berkman <jacob@ximian.com> 6800 6801 * src/orb/orb-core/Makefile.am: fix to dist from a clean checkout 6802 6803 * autogen.sh: don't look in libIDL 6804 6805 * configure.in (AC_OUTPUT): generate orbit2-config 6806 68072001-10-16 Ross Golder <rossg@golder.org> 6808 6809 * orbit-config.in: replaced with orbit2-config.in 6810 * orbit2-config.in: use pkg-config ORBit2 for --cflags 6811 6812 * ORBit.spec.in: update. 6813 6814 * ORBit2.m4: was generating stubs etc with older IDL compiler. 6815 68162001-10-16 Mark McLoughlin <mark@skynet.ie> 6817 6818 * Makefile.am (EXTRA_DIST): add HACKING AND MAINTAINERS. 6819 Remove ORBit.spec.in, *.pc.in which are automatically 6820 included. 6821 6822 * include/orbit/Makefile.am (EXTRA_DIST): remove 6823 orbit-config.h.in. 6824 6825 * src/orb/dynamic/Makefile.am, src/orb/orb-core/Makefile.am, 6826 src/orb/poa/Makefile.am, test/Makefile.am, 6827 test/everything/Makefile.am, test/inhibit/Makefile.am, 6828 test/poa/Makefile.am: remove idl compiler generated files 6829 before dist-ing. 6830 68312001-10-13 Michael Meeks <michael@ximian.com> 6832 6833 * src/orb/orb-core/orbit-small.c 6834 (ORBit_small_demarshal_async): fix brokenness. 6835 6836 * test/everything/client.c (test_BasicServer_opStringA_cb), 6837 (test_BasicServer_opStringA): impl async method with ret. 6838 (testAsync): upd. 6839 68402001-10-13 Michael Meeks <michael@ximian.com> 6841 6842 * src/orb/GIOP/giop-recv-buffer.c: lots of debugging 6843 instrumentation. 6844 6845 * src/orb/orb-core/orbit-small.c (ORBit_small_invoke_stub): 6846 un-queue the reply tag for oneway methods - there is no reply. 6847 (ORBit_small_invoke_async): ditto. 6848 6849 * src/orb/GIOP/giop-recv-buffer.c (giop_recv_list_zap): 6850 iterate over the full list, invoke the unthreaded cb 6851 when the connection is dead, and unlink before invoke. 6852 (giop_recv_list_push): unlink from giop_queued_messages. 6853 6854 * src/orb/orb-core/orbit-small.c (async_recv_cb): upd, 6855 and set COMM_FAILURE on a broken method ... 6856 (ORBit_small_demarshal_async): impl. to simplify 6857 de-marshaling. 6858 (ORBit_small_invoke_async): upd. 6859 68602001-10-11 Michael Meeks <michael@ximian.com> 6861 6862 * src/orb/GIOP/giop-recv-buffer.c (giop_recv_buffer_get): 6863 don't do a blocking iteration, check the queue first. 6864 (giop_recv_list_push): re-jig locking. 6865 6866 * test/everything/client.c (testAsync): impl. 6867 (test_BasicServer_opExceptionA): impl. 6868 (test_BasicServer_opExceptionA_cb): impl. 6869 6870 * src/orb/GIOP/giop-recv-buffer.c 6871 (giop_recv_list_setup_queue_entry_async): impl. 6872 6873 * src/orb/orb-core/orbit-small.c (orbit_small_marshal): split 6874 out the recv_list_setup_queue_entry. 6875 (ORBit_small_invoke_stub): put it here instead. 6876 (async_recv_cb): impl. 6877 (ORBit_small_invoke_async): impl. 6878 6879 * src/orb/GIOP/giop-recv-buffer.c (giop_recv_list_push): add 6880 an async callback on a GIOPMessageQueueEntry 6881 68822001-10-02 Mark McLoughlin <mark@skynet.ie> 6883 6884 * test/Makefile.am(test_dynany_LDFLAGS): add -lm 6885 for non-glibc systems. 6886 68872001-10-02 Glynn Foster <glynn.foster@sun.com> 6888 6889 * autogen.sh, configure.in: Dumb commit to fix 6890 spelling mistake and remove build fail references to 6891 ORBit and replace with ORBit2. Yeah, this is lame. 6892 68932001-10-02 Laszlo Peter <laca@ireland.sun.com> 6894 6895 * src/orb/orb-core/iop-profiles.c: 6896 change g_string_printfa to g_string_append_printf 6897 because it was renamed in glib. 6898 6899 * test/ior-decode.c: ditto. 6900 69012001-10-03 Michael Meeks <michael@ximian.com> 6902 6903 * src/orb/orb-core/orbit-small.c 6904 (ORBit_small_invoke_adaptor): use the incomming buffer's 6905 giop_version on the reply, not the connection's version. 6906 FIXME: either the connections ver. negotiation is broken 6907 or using it was broken - investigate. 6908 6909 * test/everything/client.c (main): add a 'success' printf. 6910 6911 * src/orb/orb-core/orbit-small.c 6912 (ORBit_small_invoke_adaptor): trace all incoming data. 6913 6914 * src/orb/orb-core/orbit-debug.h: include stdio if 6915 debug is turned on for fprintf. 6916 6917 * src/orb/orb-core/iop-profiles.c 6918 (IOP_TAG_ORBIT_SPECIFIC_marshal): output the IIOP version 6919 fields - because ORBit 1 expects this. 6920 (IOP_TAG_ORBIT_SPECIFIC_demarshal): ignore the IOP version 6921 fields. 6922 69232001-09-25 Mark McLoughlin <mark@skynet.ie> 6924 6925 * Version 2.3.95. 6926 69272001-09-24 Mark McLoughlin <mark@skynet.ie> 6928 6929 * Makefile.am(SUBDIRS): remove libIDL - this is to built 6930 seperately. 6931 6932 * configure.in: cleanup libtool versioning. Use pkg-config 6933 to check for dependancies. Remove libIDL config call. 6934 6935 * ORBit-2.0.pc.in, ORBit-CosNaming-2.0.pc.in, 6936 ORBit.spec.in: update. 6937 6938 * src/idl-compiler/Makefile.am: update and remove all libIDL 6939 build rules. 6940 6941 * src/orb/Makefile.am: update and don't use libtool's -release 6942 flag which makes binary compatibility impossible. 6943 6944 * src/orb/GIOP/Makefile.am: update. Don't supply version-info 6945 to libtool. 6946 6947 * src/orb/dynamic/Makefile.am, src/orb/orb-core/Makefile.am, 6948 src/orb/poa/Makefile.am, src/orb/util/Makefile.am, 6949 src/services/name/Makefile.am, test/Makefile.am, 6950 test/everything/Makefile.am, test/inhibit/Makefile.am, 6951 test/poa/Makefile.am: update. 6952 69532001-09-24 Mark McLoughlin <mark@skynet.ie> 6954 6955 * test/Makefile.am: -lm for test-dynany. 6956 69572001-09-21 Mark McLoughlin <mark@skynet.ie> 6958 6959 * src/orb/GIOP/giop-recv-buffer.c, 6960 include/orbit/GIOP/giop-recv-buffer.c 6961 (giop_recv_buffer_reply_status): macroise - another forte fix. 6962 69632001-09-21 Mark McLoughlin <mark@skynet.ie> 6964 6965 * src/orb/orb-core/corba-typecode.c (CDR_get): remove 6966 unused align param. Tidy up macros, hard code the 6967 CDR alignments. Fixes a forte build problem. 6968 69692001-09-20 Mark McLoughlin <mark@skynet.ie> 6970 6971 * src/orb/GIOP/giop-connection.c (giop_connection_handle_input): 6972 If linc_connection_read returns 0 and was not passed a length 6973 of 0, then the connection has been closed. Unlock incoming_mutex 6974 and change state to LINC_DISCONNECTED. Clients should no longer 6975 hang when servers have dumped code while servicing a request. 6976 69772001-09-20 Mark McLoughlin <mark@skynet.ie> 6978 6979 * ORBit-2.0.pc.in (Requires): add linc. 6980 6981 * .cvsignore, src/idl-compiler/.cvsignore, 6982 src/services/name/.cvsignore, test/.cvsignore: update. 6983 69842001-09-19 Havoc Pennington <hp@redhat.com> 6985 6986 * src/idl-compiler/Makefile.am (orbit_idl_2_SOURCES): don't 6987 install orbit-idl2.h, apparently it isn't used. 6988 6989 * ORBit-CosNaming-2.0.pc.in (Libs): update 6990 6991 * ORBit-2.0.pc.in (orbit_idl): orbit-idl-2 6992 6993 * test/Makefile.am (ior_decode_2_SOURCES): rename ior-decode to 6994 ior-decode-2 6995 6996 * src/services/name/Makefile.am (libORBitservicesincludedir): put 6997 ORBitservices inside /usr/include/orbit to avoid ORBit1 conflicts 6998 (lib_LIBRARIES): rename libname-server to libname-server-2 6999 7000 * src/orb/poa/Makefile.am (IDL): s/orbit-idl/orbit-idl-2/ 7001 7002 * src/orb/orb-core/Makefile.am: s/orbit-idl/orbit-idl-2/ 7003 7004 * Makefile.shared (IDL_COMPILER): s/orbit-idl/orbit-idl-2/ 7005 7006 * src/idl-compiler/Makefile.am: s/orbit-idl/orbit-idl-2/ 7007 7008 * src/services/name/Makefile.am: s/name-client/name-client-2/ 7009 s/orbit-name-server/orbit-name-server-2/ 7010 70112001-09-19 Mark McLoughlin <mark@skynet.ie> 7012 7013 * src/orb/orb-core/Makefile.am: revert Darin's patch. That 7014 header is not generated by this rule. 7015 70162001-09-19 Darin Adler <darin@bentspoon.com> 7017 7018 * src/orb/orb-core/Makefile.am: Fix build by mentioning the 7019 generated header file explicitly as a target. Otherwise, the 7020 dependencies trigger the default orbit-idl compile rule, 7021 which uses the wrong flags. 7022 70232001-09-19 Mark McLoughlin <mark@skynet.ie> 7024 7025 Implement orbitrc option handling. 7026 7027 * src/orb/orb-core/corba-orb.c 7028 (ORBit_proto_use): fix typo. 7029 (orbit_supported_options): move orbitrc options. 7030 7031 * src/orb/util/Makefile.am: define ORBIT_SYSTEM_RCFILE. 7032 7033 * src/orb/util/orbit-options.c, 7034 src/orb/util/orbit-options.h 7035 (ORBit_option_set): change options_list to const. 7036 (ORBit_option_rc_parse): impl. 7037 (ORBit_option_parse): rename to ORBit_option_command_line_parse. 7038 (ORBit_option_parse): impl. 7039 (orbit_sysrc_options): add orbitrc options. 7040 70412001-09-19 Raja R Harinath <harinath@cs.umn.edu> 7042 7043 * src/orb/orb-core/corba-typecode.c: Have 7044 definitions of '*_struct's agree with declarations 7045 in include/orbit/orb-core/corba-typecode.h. 7046 70472001-09-19 Raja R Harinath <harinath@cs.umn.edu> 7048 7049 Fixes bug #60730 7050 7051 * Makefile.shared: Make dependency output file name 7052 agree with pattern used for IDL_DEPS_MAGIC. 7053 70542001-09-18 Mark McLoughlin <mark@skynet.ie> 7055 7056 Port command line option handling from ORBit-0.5.x. 7057 7058 * src/orb/util/orbit-options.[ch]: two new files with two 7059 new functions - ORBit_option_set and ORBit_option_parse 7060 courtesy of Dick I think. 7061 7062 * src/orb/util/Makefile.am: update. 7063 7064 * src/orb/orb-core/corba-orb.c, 7065 src/orb/orb-core/orb-core-private.h 7066 (ORBit_proto_use): impl. 7067 Added all of the sensible options from ORBit-0.5.x. Only 7068 the IIOP protocol options are implemented as yet. 7069 7070 * src/orb/orb-core/corba-object.c(ORBit_start_servers): 7071 check to see if we should use the protocol before starting 7072 a server using that protocol. 7073 70742001-09-18 Mark McLoughlin <mark@skynet.ie> 7075 7076 * src/orb/orb-core/Makefile.am: depend on $(IDL_COMPILER) 7077 not on $(IDL). hmmm. 7078 70792001-09-18 Jens Finke <jens@gnome.org> 7080 7081 * ORBit.spec.in: Updated, matches gpp requirements now, renamed the 7082 package to ORBit2 and reworked the files section. 7083 70842001-09-17 Mark McLoughlin <mark@skynet.ie> 7085 7086 * Makefile.shared: s/DEPS_MAGIC/IDL_DEPS_MAGIC/. Using 7087 the same variable name used by automake causes automake 7088 to get confused. This was causing automatic Makefile 7089 dependancy tracking to not work. 7090 70912001-09-17 Mark McLoughlin <mark@skynet.ie> 7092 7093 * src/orb/poa/Makefile.am: remove bogus BUILT_SOURCE 7094 dependancy. 7095 7096 * src/orb/poa/poa.c: clean up includes. Don't include 7097 corba-ops.h. 7098 7099 * test/inhibit/test-inhibit.c: include stdio.h. 7100 71012001-09-17 Mark McLoughlin <mark@skynet.ie> 7102 7103 * include/orbit/orb-core/orbit-small.h: don't include 7104 IDL.h. 7105 7106 * src/orb/GIOP/giop.c: include stdio.h. 7107 7108 * src/orb/orb-core/orbit-typelib.c 7109 (ORBit_iinterface_from_idl): kill. This is never going 7110 to be implemented as it would require linking against 7111 libIDL. 7112 Also include stdlib.h. 7113 71142001-09-11 Mark McLoughlin <mark@skynet.ie> 7115 7116 * src/orb/orb-core/iop-profiles.c 7117 (IOP_profile_get_info): don't forget to return TRUE. 7118 7119 * include/orbit/GIOP/giop-connection.h, 7120 src/orb/GIOP/giop-connection.c 7121 (giop_connection_from_fd): this function is unused 7122 and unneeded. fds are handled inside linc. 7123 71242001-09-10 Mark McLoughlin <mark@skynet.ie> 7125 7126 * test/ior-decode.c: fixup object key handling. 7127 7128 * include/orbit/GIOP/giop-server.h, 7129 src/orb/GIOP/giop-server.c: minor tidying. 7130 71312001-09-09 Michael Meeks <michael@ximian.com> 7132 7133 * src/orb/orb-core/corba-object.c 7134 (get_small_skel_CORBA_Object): make impl non NULL to 7135 simplify checks. 7136 7137 * test/everything/client.c (testMisc): expand regression 7138 tests. 7139 7140 * src/orb/poa/poa.c (ORBit_POAObject_handle_request): 7141 return exceptions that we have thrown, re-organise the 7142 exception throwing code to flow more smoothly. 7143 (return_exception): impl; ie. with the old 'Lee' stubs, 7144 we have no way to tell that the method was oneway - so 7145 we might stil try and return an exception - another nail 7146 in it's coffin. 7147 71482001-09-09 Michael Meeks <michael@ximian.com> 7149 7150 * src/orb/orb-core/corba-typecode.c: fix alignment of 7151 CORBA_TC_Object, or we get serious marshaling issues. 7152 71532001-09-06 Mark McLoughlin <mark@skynet.ie> 7154 7155 * src/orb/orb-core/corba-object.c 7156 (g_CORBA_Object_equal): compare object keys. 7157 (ORBit_objref_find): sync the object keys before 7158 looking up the object. 7159 (ORBit_try_connection): sync object keys in 7160 forward locations profiles. 7161 7162 * src/orb/orb-core/iop-profiles.c, 7163 src/orb/orb-core/iop-profiles.h 7164 (IOP_profile_find): remove unused. 7165 (IOP_profile_dump): the object key is never in the 7166 profiles anymore. 7167 (IOP_profiles_sync_objkey): impl. 7168 (IOP_profile_get_info): remove objkey arg. 7169 (IOP_ObjectKey_equal): export. 7170 (IOP_profile_equal): don't compare object keys. 7171 (IOP_component_free, IOP_TAG_INTERNET_IOP_free, 7172 IOP_TAG_ORBIT_SPECIFIC_free): don't free the object key. 7173 71742001-09-04 Mark McLoughlin <mark@skynet.ie> 7175 7176 * src/orb/poa/Makefile.am, 7177 src/orb/dynamic/Makefile.am, 7178 src/orb/orb-core/Makefile.am: add --noheaders 7179 options to fix build dependancy problem and remove 7180 headers from BUILT_SOURCES. 7181 71822001-09-04 Mark McLoughlin <mark@skynet.ie> 7183 7184 * src/orb/orb-core/corba-orb.c(CORBA_ORB_shutdown): 7185 quit linc's main loop. 7186 71872001-09-03 Maciej Stachowiak <mjs@noisehavoc.org> 7188 7189 * Makefile.shared: Re-enable generating deps, fixing a potential 7190 distcheck-breaking problem. 7191 7192 * src/orb/orb-core/Makefile.am: Re-disable generating headers; 7193 they are generated in include/orbit/orb-core. 7194 71952001-09-03 Mark McLoughlin <mark@skynet.ie> 7196 7197 * src/idl-compiler/orbit-idl-c-headers.c 7198 (ch_output_const_dcl): implement the unsigned 7199 check correctly. Michael should have more faith 7200 in the splendifuredness of libIDL ;) 7201 72022001-09-03 Mark McLoughlin <mark@skynet.ie> 7203 7204 * src/orb/orb-core/corba-any.c, 7205 src/orb/orb-core/orb-core-private.h 7206 (ORBit_find_alignment): kill - we have that info 7207 in the TypeCode now. 7208 7209 * src/orb/dynamic/dynany.c, 7210 src/orb/orb-core/allocators.c, 7211 src/orb/orb-core/corba-any.c, 7212 src/orb/orb-core/orbit-trace.c: update for 7213 above change. 7214 72152001-09-03 Mark McLoughlin <mark@skynet.ie> 7216 7217 * src/idl-compiler/orbit-idl-c-typecode.c: 7218 Big cleanup. Split out the generation of individual 7219 TypeCode members from cbe_tc_generate into seperate 7220 functions. Also seperate functions for various anon 7221 arrays. 7222 72232001-09-01 Darin Adler <darin@bentspoon.com> 7224 7225 * src/orb/orb-core/.cvsignore: New generated file that needs 7226 ignoring. 7227 72282001-08-31 Mark McLoughlin <mark@skynet.ie> 7229 7230 * include/orbit/orb-core/corba-typecode.h: 7231 (CORBA_TypeCode_struct): fill unused flags, 7232 add c_align. 7233 7234 * include/orbit/orb-core/orb-types.h: add alignment 7235 macro for fixed types. 7236 7237 * src/idl-compiler/orbit-idl-c-typecode.c 7238 (orbit_find_c_alignment) impl. 7239 7240 * src/orb/orb-core/corba-any.c(ORBit_find_alignment): 7241 replace with temporary wrapper. 7242 7243 * src/orb/orb-core/corba-typecode.c 7244 (ORBit_TC_find_c_alignment): impl. 7245 (tc_dec): update. 7246 72472001-08-30 Mark McLoughlin <mark@skynet.ie> 7248 7249 * acconfig.h, configure.in, 7250 include/orbit/orbit-config.h.in: 7251 move ALIGNOF defines out of config.h 7252 and into public view. Rename to ORBIT_ALIGNOF*. 7253 7254 * include/orbit/orb-core/orb-types.h, 7255 src/idl-compiler/orbit-idl-passes.c, 7256 src/orb/orb-core/allocators.c, 7257 src/orb/orb-core/corba-any.c: update. 7258 72592001-08-29 Mark McLoughlin <mark@skynet.ie> 7260 7261 * src/orb/orb-core/corba-any.c: minor cleanups. 7262 72632001-08-28 Mark McLoughlin <mark@skynet.ie> 7264 7265 * src/orb/orb-core/corba-any.c 7266 (ORBit_find_alignment): no need to recurse for aliases. 7267 (ORBit_gather_alloc_info): ditto. 7268 (ORBit_get_union_switch): ditto. 7269 (ORBit_demarshal_value): ditto. 7270 (ORBit_copy_value_core): ditto. 7271 (ORBit_value_equivalent): ditto. 7272 (ORBit_marhsal_value): ditto and fix silly bug with 7273 previous commit. 7274 72752001-08-28 Mark McLoughlin <mark@skynet.ie> 7276 7277 * src/orb/orb-core/corba-any.c(ORBit_marhsal_value): 7278 cleanup and document. 7279 72802001-08-28 Mark McLoughlin <mark@skynet.ie> 7281 7282 * src/orb/GIOP/giop-send-buffer.c 7283 (giop_send_buffer_append_aligned): kill 7284 unused indirect_left. 7285 7286 * src/orb/orb-core/corba-any.c(ORBit_marhsal_value): 7287 Use giop_send_buffer_append_aligned when appropriate. 7288 Fixup long long and long double cases. 7289 7290 * test/everything/: added long long regression test. 7291 72922001-08-28 Mark McLoughlin <mark@skynet.ie> 7293 7294 * include/orbit/orb-core/corba-any-type.h: 7295 kill ORBit_marshal_value_info_struct. 7296 7297 * include/orbit/orb-core/corba-any.h, 7298 /src/orb/orb-core/corba-any.c 7299 (ORBit_marshal_value): remove 7300 ORBit_marshal_value_info arg, special case 7301 boolean/char/octet sequences and arrays. 7302 (ORBit_marshal_arg): update ORBit_marshal_value call. 7303 (ORBit_marshal_any): ditto. 7304 7305 * src/orb/orb-core/orbit-small.c 7306 (orbit_small_marshal): ditto. 7307 7308 * src/orb/orb-core/orbit-trace.c 7309 (ORBit_trace_value): kill ORBit_marshal_value_info. 7310 73112001-08-27 Mark McLoughlin <mark@skynet.ie> 7312 7313 * test/everything/server.c 7314 (test_TestFactory__fini): free context ref. 7315 (test_TestFactory_Servant): free poa ref. 7316 73172001-08-27 Mark McLoughlin <mark@skynet.ie> 7318 7319 * src/orb/orb-core/iop-profiles.c 7320 (IOP_component_free): free object key. 7321 (IOP_TAG_INTERNET_IOP_free): ditto. 7322 (IOP_TAG_ORBIT_SPECIFIC_free): ditto. 7323 Note: To avoid deadlock use ORBit_free_T, even 7324 though the lock is not neccessarily taken. 7325 This doesn't matter, because no RootObjects 7326 are affected. 7327 73282001-08-27 Mark McLoughlin <mark@skynet.ie> 7329 7330 * src/orb/poa/poa.c(ORBit_POA_setup_root): release 7331 the policy. 7332 73332001-08-27 Mark McLoughlin <mark@skynet.ie> 7334 7335 * configure.in, ORBit-2.0.pc.in: removed 7336 THREADLIBS stuff. Handled by linc. 7337 73382001-08-24 Michael Meeks <michael@ximian.com> 7339 7340 * Version 2.3.94 7341 7342 * Makefile.shared: don't generate .deps - totaly broken. 7343 7344 * test/Makefile.am: dynany.idl not .idk ! 7345 7346 * src/idl-compiler/orbit-idl-main.c (main): use 7347 the full filename not the basename ! 7348 7349 * src/idl-compiler/orbit-idl-c-backend.c 7350 (out_for_pass): create the .deps directory if it doesn't 7351 exist - spew only warnings. 7352 7353 * src/orb/orb-core/Makefile.am: why not generate the 7354 headers we go on to include ? 7355 7356 * src/idl-compiler/orbit-idl-c-backend.c 7357 (out_for_pass): print the correct name of what it failed 7358 to open... 7359 73602001-08-23 Mark McLoughlin <mark@skynet.ie> 7361 7362 * src/orb/orb-core/allocators.c 7363 (ORBit_freekids_via_TypeCode_T): unref the 7364 object reference. 7365 7366 * src/orb/orb-core/corba-policy.c 7367 (CORBA_Policy_destroy): don't unref the 7368 object - that's CORBA_Object_release's job. 7369 73702001-08-23 Michael Meeks <michael@ximian.com> 7371 7372 * configure.in: require linc 0.1.4 7373 bump version to 2.3.94 7374 73752001-08-23 Sander Vesik <Sander.Vesik@sun.com> 7376 7377 * configure.in: check for popt.h 7378 73792001-08-23 Mark McLoughlin <mark@skynet.ie> 7380 7381 * test/poa/poatest-basic??.c: 7382 do the policy thang correctly. 7383 73842001-08-23 Mark McLoughlin <mark@skynet.ie> 7385 7386 Bunch of warnings fixes. 7387 7388 * libIDL/lexer.l, libIDL/parser.y, 7389 libIDL/util.c, 7390 src/idl-compiler/orbit-idl-c-headers.c: 7391 cast char to int for isspace() etc. 7392 7393 * src/orb/GIOP/giop-recv-buffer.c 7394 (giop_recv_list_push): kill G_BREAKPOINT. 7395 7396 * src/orb/dynamic/dynany.c 7397 (DynamicAny_DynStruct_get_elements_as_dyn) 7398 kill unused newdyn. 7399 7400 * src/orb/orb-core/corba-context.c 7401 (ctx_get_values) changes CORBA_Identifier arg 7402 to const CORBA_char *. 7403 7404 * src/orb/orb-core/iop-profiles.c 7405 (IOP_components_marshal): kill unsed lenptr. 7406 7407 * test/test-dynany.c(test_struct): pass dyn_struct 7408 to DynamicAny_DynStruct_* instead of dyn_any. 7409 74102001-08-23 Mark McLoughlin <mark@skynet.ie> 7411 7412 * src/orb/orb-core/corba-context.c, 7413 src/orb/orb-core/corba-nvlist.c, 7414 src/orb/orb-core/corba-object.c, 7415 src/orb/orb-core/corba-orb.c, 7416 src/orb/orb-core/corba-request.c, 7417 src/orb/poa/poa.c: The implications of Maciej's 7418 patch. Match up API defs with IDL generated defs. 7419 7420 * src/orb/orb-core/iop-profiles.c: 7421 include orb-core-private.h. 7422 7423 * src/orb/poa/poa.c(ORBit_POA_okey_to_poa): killed 7424 unused. 7425 74262001-08-22 Maciej Stachowiak <mjs@noisehavoc.org> 7427 7428 * src/idl-compiler/orbit-idl-c-utils.c 7429 (orbit_cbe_write_param_typespec_str): If a type Foo is a typedef 7430 for CORBA_string, write const CORBA_char * instead of const 7431 Foo. This is needed to avoid warnings in the generated skeletons. 7432 74332001-08-20 Mark McLoughlin <mark@skynet.ie> 7434 7435 * src/orb/orb-core/poa.c 7436 (ORBit_POAObject_object_to_objkey) removed 7437 objid. 7438 (ORBit_ORB_find_POA_for_okey) killed. 7439 74402001-08-20 Martin Baulig <baulig@suse.de> 7441 7442 * src/orb/GIOP/giop-connection.c (giop_connection_initiate): If 7443 the connection could not be established, drop the connection list 7444 lock right before calling g_object_unref(cnx). 7445 74462001-08-20 Michael Meeks <michael@ximian.com> 7447 7448 * src/idl-compiler/orbit-idl-c-typecode.c 7449 (cbe_tc_generate): only do strange object mapping things for PIDL. 7450 74512001-08-20 Mark McLoughlin <mark@skynet.ie> 7452 7453 * src/orb/poa/poa-servants.c, 7454 src/orb/poa/poa-manager.c, 7455 src/orb/poa/poa.c: more cleanup. 7456 74572001-08-20 Martin Baulig <baulig@suse.de> 7458 7459 * src/orb/dynamic/dynany.c (dynany_kind_mismatch): 7460 Make it work with aliases. 7461 (DynamicAny_DynStruct_get_elements_as_dyn_any): Implemented. 7462 (DynamicAny_DynSequence_set_elements_as_dyn_any): Implemented. 7463 74642001-08-18 Michael Meeks <michael@ximian.com> 7465 7466 * test/everything/server.c: init threads, before ORB init. 7467 7468 * test/everything/client.c: ditto. 7469 7470 * src/orb/GIOP/giop.c (giop_init): actualy do pass 7471 FALSE to linc_init now we know it works in threaded 7472 mode. 7473 74742001-08-20 Mark McLoughlin <mark@skynet.ie> 7475 7476 * src/orb/poa/poa-policy.c: create policy 7477 methods with macros. Simplifies things. 7478 7479 * src/orb/poa/poa-manager.c: more scrubbing. 7480 74812001-08-19 Maciej Stachowiak <mjs@noisehavoc.org> 7482 7483 * src/orb/orbit-init.c: Include <sys/time.h> to fix build. 7484 74852001-08-19 Mark McLoughlin <mark@skynet.ie> 7486 7487 * src/orb/poa/poa.c: code movement, cleaning etc. 7488 7489 * src/orb/poa/orbit-poa.h: only export what's 7490 neccessary. 7491 74922001-08-18 Michael Meeks <michael@ximian.com> 7493 7494 * src/orb/orb-core/corba-object.c 7495 (CORBA_Object_release_cb): fix deadlock. 7496 7497 * src/orb/GIOP/giop.c (giop_init): pass FALSE to 7498 linc_init, if peopl want threads they have to 7499 initialize them before initializing the ORB. 7500 7501 * src/orb/orb-core/orbit-object.c 7502 (ORBit_RootObject_release): upd locking. 7503 move global lock into corba-orb.c 7504 7505 * src/orb/orb-core/allocators.c 7506 (ORBit_freekids_via_TypeCode, ORBit_free): upd locking. 7507 7508 * src/orb/orb-core/corba-object.c 7509 (ORBit_objref_find): fix locking 7510 homogenise style. 7511 7512 * include/orbit/orb-core/orbit-object.h: update 7513 ORBit_RootObject_lifecycle_lock decl. - wtf. is this 7514 global !? 7515 7516 * src/orb/orb-core/corba-orb.c 7517 (ORBit_locks_initialize): upd. 7518 (CORBA_ORB_init): always init locks. 7519 7520 * src/orb/GIOP/giop-recv-buffer.c: 7521 (giop_recv_buffer_init): re-write. 7522 s/O_MUTEX/LINC_MUTEX/ fix stylistic ugliness, 7523 remove redundant forward prototypes. 7524 7525 * src/orb/GIOP/giop-connection.c 7526 (giop_connection_dispose): update lock destruction. 7527 (giop_connection_handle_input): FIXME: introduced 7528 possible re-enterancy deadlock here. 7529 s/O_MUTEX/LINC_MUTEX/ 7530 7531 * src/orb/orb-core/corba-object.c 7532 (CORBA_Object_release_cb): use g_object_unref not 7533 giop_connection_unref 7534 (ORBit_try_connection): ditto. 7535 7536 * src/orb/GIOP/giop-connection.c 7537 (giop_connection_list_init): upd. mutex code. 7538 (giop_connection_unref): kill. 7539 7540 * src/orb/GIOP/giop-send-buffer.c 7541 (giop_get_request_id): prune redundant, slow cruft. 7542 (giop_send_buffer_init): update locking code, kill 'id' 7543 lock - just use a heap / stack pointer - doh. 7544 (giop_send_buffer_append_real): kill redundant forward 7545 prototype. 7546 (giop_IOP_ServiceContextList_marshal), 7547 (giop_CORBA_sequence_octet_marshal): remove cruft. 7548 use linc mutex code throught. 7549 7550 * configure.in: require linc 0.1.3 7551 75522001-08-18 Mark McLoughlin <mark@skynet.ie> 7553 7554 * configure.in: kill AC_CONFIG_SUBDIRS(popt) 7555 75562001-08-18 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> 7557 7558 * src/idl-compiler/orbit-idl-c-backend.c 7559 (out_for_pass): raise a g_error instead of segfaulting 7560 if the output can't be opened or popened 7561 75622001-08-16 Mark McLoughlin <mark@skynet.ie> 7563 7564 * src/orb/orb-core/orbit-debug.h: 7565 add. 7566 7567 * src/orb/orb-core/orbit-small.c, 7568 * src/orb/orb-core/orbit-typelib.c, 7569 src/orb/orb-core/orbit-trace.c: 7570 move debug/trace stuff to orbit-debug.h 7571 75722001-08-16 Michael Meeks <michael@ximian.com> 7573 7574 * configure.in: require linc >= 0.1.2 7575 7576 * src/orb/GIOP/giop-connection.c 7577 (giop_connection_handle_input): update sig. 7578 (giop_connection_real_state_changed): hack out 7579 linc_io_add_watch. Use new linc 'handle_input' 7580 abstraction. 7581 75822001-08-15 Michael Meeks <michael@ximian.com> 7583 7584 * src/idl-compiler/orbit-idl-c-deps.c: update. 7585 (orbit_idl_output_c_deps): if we didn't open the fh; 7586 return. 7587 7588 * src/idl-compiler/orbit-idl-c-backend.c 7589 (out_for_pass): only fopen non NULL deps files. 7590 75912001-08-14 Michael Meeks <michael@ximian.com> 7592 7593 * src/orb/orb-core/orbit-small.c 7594 (ORBit_small_marshal_context): trace CORBA contexts nicely. 7595 75962001-08-15 Mark McLoughlin <mark@skynet.ie> 7597 7598 * include/orbit/orb-core/corba-any.h, 7599 src/orb/orb-core/corba-any.c: implement 7600 CORBA_any_{set|get}_release as macros. 7601 76022001-08-13 Maciej Stachowiak <mjs@noisehavoc.org> 7603 7604 Implemented dependency tracking in the IDL compiler (much like the 7605 similar feature of gcc) and use it everywhere. 7606 7607 * src/idl-compiler/orbit-idl-c-deps.c (orbit_idl_output_c_deps, 7608 output_deps): New pass that outputs dependency info in a format 7609 suitable for including into a Makefile. 7610 * src/idl-compiler/orbit-idl-main.c (main): Add a --deps switch 7611 which takes a filename argument. 7612 * src/idl-compiler/orbit-idl-c-backend.h, 7613 src/idl-compiler/orbit-idl-c-backend.c (orbit_idl_output_c): 7614 Output dependencies when requested. 7615 (orbit_idl_c_filename_for_pass, out_for_pass): Split out the code 7616 that generates the output filename for each pass and make it 7617 public, to help the new dependency pass. 7618 * src/idl-compiler/orbit-idl-driver.c (orbit_idl_to_backend): 7619 Always pass IDLF_SRCFILES flag, since SRCFILE nodes are required 7620 by the dependency generation pass. 7621 * src/idl-compiler/orbit-idl-c-headers.c (ch_output_types): Only 7622 output weird stuff for SRCFILE nodes when suppressing includes. 7623 * src/idl-compiler/orbit-idl3-types.h: Add dependency pass and a 7624 #define for the number of passes, to help avoid magic numbers in 7625 code. 7626 * src/idl-compiler/Makefile.am: Add orbit-idl-c-deps.c to build. 7627 7628 * Makefile.shared: Common Makefile segment that has the 7629 appropriate rules for building IDL files and generating dependency 7630 info for targets of IDL sources. 7631 7632 * include/orbit/dynamic/Makefile.am, 7633 include/orbit/orb-core/Makefile.am, include/orbit/poa/Makefile.am, 7634 src/orb/dynamic/Makefile.am, src/orb/include/Makefile.am, 7635 src/orb/orb-core/Makefile.am, src/orb/poa/Makefile.am, 7636 src/services/name/Makefile.am, test/Makefile.am, 7637 test/everything/Makefile.am, test/inhibit/Makefile.am, 7638 test/poa/Makefile.am: Use Makefile.shared and IDL dependencies to 7639 simplify and sanitize IDL compilation. 7640 7641 * include/orbit/dynamic/.cvsignore, 7642 include/orbit/orb-core/.cvsignore, include/orbit/poa/.cvsignore: 7643 Ignore .deps directories. 7644 76452001-08-14 Michael Meeks <michael@ximian.com> 7646 7647 * src/idl-compiler/orbit-idl-c-headers.c 7648 (ch_output_const_dcl): try and get libIDL to give us some 7649 useful information - right ! 7650 7651 * src/idl-compiler/orbit-idl-driver.c 7652 (orbit_idl_to_backend): set rinfo->namespace. 7653 7654 * src/orb/orb-core/corba-any.c (ORBit_copy_value_core): fix 7655 heinous _buffer = TRUE bug. 7656 76572001-08-13 Michael Meeks <michael@ximian.com> 7658 7659 * test/everything/client.c (testMisc): invoke a non 7660 existant method on an object. 7661 (testMisc): add a (currently failing) check for Martin's bug. 7662 7663 * test/everything/everything.idl: add ObjectStruct. 7664 7665 * src/orb/orb-core/iop-profiles.c 7666 (IOP_profile_dump): dump the correct oki. 7667 76682001-08-13 Mark McLoughlin <mark@skynet.ie> 7669 7670 * include/orbit/orb-core/corba-object-type.h: 7671 kill IOP_ObjectKey_info. Use ORBit_ObjectKey. 7672 7673 * include/orbit/poa/orbit-adaptor.h, 7674 src/orb/orb-core/corba-object.c, 7675 src/orb/orb-core/iop-profiles.c, 7676 src/orb/orb-core/iop-profiles.h, 7677 src/orb/orb-core/orb-core-private.h, 7678 src/orb/poa/orbit-adaptor.c, 7679 test/ior-decode.c: 7680 s/IOP_ObjectKey_info/ORBit_ObjectKey/. Add 7681 ORBit_AdaptorKey. CORBA_free the object key 7682 instead of g_free-ing it. 7683 7684 * include/orbit/poa/portableserver-poa-type.h: 7685 kill num_to_koid_map and koid_rand_len. 7686 7687 * src/orb/poa/orbit-poa.h: 7688 kill ORBit_POAKOid, ORBIT_POAKOID_OidLenOf etc. 7689 7690 * src/orb/poa/poa.c 7691 (ORBit_POAObject_object_to_objkey): Just use the 7692 adaptor key and object Id for the key. Improvements 7693 will follow. Kill num_to_koid_map etc. 7694 7695 * include/orbit/GIOP/giop-send-buffer.h, 7696 src/orb/GIOP/giop-send-buffer.c 7697 (giop_send_buffer_use_request, 7698 giop_send_buffer_use_locate_request): 7699 Take a ORBit_ObjectKey instead an iovec. 7700 77012001-08-13 Mark McLoughlin <mark@skynet.ie> 7702 7703 * include/orbit/poa/poa-policy.h, 7704 include/orbit/poa/portableserver-poa-type.h, 7705 src/orb/poa/poa-policy.c, 7706 src/orb/poa/poa-policy.c, 7707 src/orb/poa/poa.c: kill obj_rand_len. kill 7708 ORBit_PortableServer_OkeyrandPolicy_t. 7709 77102001-08-13 Martin Baulig <baulig@suse.de> 7711 7712 * src/idl-compiler/orbit-idl-c-common.c: Increase the 7713 length of the ORBit::IArguments sequence by one so that 7714 the trailing NULL element is copied as well. 7715 77162001-08-11 Michael Meeks <michael@ximian.com> 7717 7718 * test/typelib-dump.c (list_libs): impl. 7719 (main): list installed type libraries. 7720 77212001-08-11 Mark McLoughlin <mark@skynet.ie> 7722 7723 * src/orb/poa/orbit-poa.h, 7724 src/orb/poa/poa.c: 7725 (ORBit_POA_make_sysoid): Always use random 7726 data. Rename to ORBit_POA_new_system_objid. 7727 (ORBit_POA_create_object): make static. Remove 7728 unused asDefault arg. 7729 (ORBit_POAObject ORBit_POA_okey_to_obj): kill unused. 7730 77312001-08-10 Michael Meeks <michael@ximian.com> 7732 7733 * src/orb/orb-core/orbit-typelib.c 7734 (ORBit_get_typelib_paths): expose internaly. 7735 77362001-08-10 Michael Meeks <michael@ximian.com> 7737 7738 * src/orb/orb-core/orbit-small.c 7739 (ORBit_handle_exception_array): set the typecode in the 7740 CORBA_Environment as we demarshal. 7741 7742 * src/orb/orb-core/orbit-trace.c 7743 (ORBit_trace_typecode): upd. 7744 (ORBit_trace_any): impl. 7745 7746 * src/orb/orb-core/orbit-small.c (orbit_small_demarshal): 7747 more trace debug: out parameters & exceptions. 7748 77492001-08-10 Michael Meeks <michael@ximian.com> 7750 7751 * test/everything/test.sh: trash /tmp/orbit-$USER before 7752 we start ... 7753 77542001-08-09 Michael Meeks <michael@ximian.com> 7755 7756 * src/orb/orb-core/Makefile.am: add orbit-typelib.c 7757 7758 * src/orb/orb-core/orbit-small.c: split out type libraries 7759 7760 * src/orb/orb-core/orbit-typelib.c: to here. 7761 7762 * src/orb/orb-core/orbit-trace.c (ORBit_trace_value): fixup. 7763 77642001-08-08 Michael Meeks <michael@ximian.com> 7765 7766 * test/Makefile.am: add typelib-dump 7767 7768 * test/typelib-dump.c (dump_iface): impl. 7769 77702001-08-08 Michael Meeks <michael@ximian.com> 7771 7772 * src/orb/orb-core/iop-profiles.c (IOP_component_free): 7773 don't free the non-allocated oki - it's part of the 7774 component's structure. 7775 7776 * include/orbit/orbit.h: add orbit_version. 7777 7778 * configure.in (then): kill HAVE_LIMITED_WRITEV check. 7779 7780 * include/orbit/orbit-config.h.in: kill HAVE_ALLOCA, 7781 HAVE_LIMITED_WRITEV - unused. 7782 7783 * src/orb/orbit-init.c: setup orbit_version char * 7784 7785 * src/orb/Makefile.am: define ORBIT_VERSION. 7786 77872001-08-08 Mark McLoughlin <mark@skynet.ie> 7788 7789 * src/orb/orb-core/orbit-small.c 7790 (load_module): unload module, if not needed. 7791 7792 * src/orb/orb-core/corba-object.c 7793 (CORBA_Object_release_cb): free object key. 7794 7795 * test/everything/client.c 7796 (testString): free ior. 7797 77982001-08-08 Mark McLoughlin <mark@skynet.ie> 7799 7800 * test/everything/client.c 7801 (testIInterface): free iinterface. 7802 78032001-08-08 Mark McLoughlin <mark@skynet.ie> 7804 7805 * test/everything/client.c 7806 (testUnboundedSequence): set _release. 7807 (testBoundedSequence): ditto. 7808 (testSequenceOfAny): ditto. 7809 78102001-08-07 Michael Meeks <michael@ximian.com> 7811 7812 * test/everything/client.c: call testMisc. 7813 (testMisc): impl CORBA_TypeCode_equal / equivalent 7814 regression tests. 7815 78162001-08-07 Michael Meeks <michael@ximian.com> 7817 7818 * Version 2.3.93 7819 7820 * src/orb/orb-core/corba-typecode.c 7821 (CORBA_TypeCode_eqivalent): rename to 7822 (CORBA_TypeCode_equivalent): this, doh. 7823 7824 * src/orb/orb-core/corba-typecode.c 7825 (typecode_equiv_internal): fixup. 7826 78272001-08-07 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> 7828 7829 * src/orb/orb-core/allocators.c 7830 (ORBit_free_T): do g_error instead of g_assert, 7831 makes debugging a bit easier. 7832 78332001-08-07 Mark McLoughlin <mark@skynet.ie> 7834 7835 * src/orb/dynamic/dynany.c 7836 (DynamicAny_DynStruct_get_members): set _release 7837 to CORBA_TRUE. 7838 (DynamicAny_DynStruct_get_members_as_dyn_any): ditto. 7839 (DynamicAny_DynSequence_get_elements): ditto. 7840 7841 * ORBit2/src/orb/orb-core/corba-any.c 7842 (ORBit_copy_value_core): ditto. 7843 7844 * src/orb/poa/poa.c(ORBit_POA_new): ditto. 7845 7846 * src/orb/orb-core/corba-orb.c 7847 (CORBA_ORB_list_initial_services): use CORBA_TRUE instead 7848 of TRUE. 7849 7850 * src/orb/orb-core/corba-types.c 7851 (ORBit_sequence_CORBA_octet_dup): ditto. 7852 7853 * src/orb/orb-core/orbit-small.c(load_module): ditto. 7854 78552001-08-07 Michael Meeks <michael@ximian.com> 7856 7857 * test/everything/client.c (testIInterface): actualy 7858 free the iinterface structure. 7859 7860 * src/orb/orb-core/orbit-small.c (load_module): fix leak. 7861 7862 * src/orb/orb-core/corba-types.c 7863 (ORBit_sequence_CORBA_octet_dup): set release to TRUE. 7864 7865 * src/orb/orb-core/corba-orb.c 7866 (CORBA_ORB_list_initial_services): ditto. 7867 7868 * src/orb/poa/clean-poa.c 7869 (PortableServer_POA__get_the_children): ditto. 7870 7871 * src/orb/poa/clean-poa.c (ORBit_POA_create_object): ditto. 7872 7873 * src/orb/poa/poa.c (PortableServer_POA__get_the_children), 7874 (ORBit_POA_create_object): ditto. 7875 (PortableServer_string_to_ObjectId): revert. 7876 78772001-08-07 Mark McLoughlin <mark@skynet.ie> 7878 7879 * src/orb/poa/poa.c 7880 (PortableServer_string_to_ObjectId): set _release 7881 to TRUE. 7882 78832001-08-07 Mark McLoughlin <mark@skynet.ie> 7884 7885 * src/orb/orb-core/corba-policy.c 7886 (ORBit_Policy_release): impl. 7887 (ORBit_Policy_new): ref the policy. 7888 (CORBA_Policy_destroy): unref the policy. 7889 7890 * include/orbit/orb-core/corba-policy-type.h: killed 7891 CORBA_Policy_t, POLICY_CAST_OUT, POLICY_CAST_IN. 7892 7893 * src/orb/poa/poa.c(ORBit_POA_setup_root): cleaned up. 7894 78952001-08-07 Michael Meeks <michael@ximian.com> 7896 7897 * src/orb/orb-core/orbit-trace.c 7898 (ORBit_trace_value): impl. 7899 7900 * src/orb/orb-core/Makefile.am: add orbit-trace.c 7901 79022001-08-06 Michael Meeks <michael@ximian.com> 7903 7904 * src/orb/orb-core/corba-typecode.c 7905 (typecode_equiv_internal): split this out of 7906 (CORBA_TypeCode_equal): here. 7907 (CORBA_TypeCode_eqivalent): impl. 7908 (typecode_equiv_internal): impl equivalent checking. 7909 79102001-08-06 Mark McLoughlin <mark@skynet.ie> 7911 7912 * src/orb/orb-core/orbit-small.c 7913 (ORBit_small_getepv): put back. 7914 79152001-08-04 Michael Meeks <michael@ximian.com> 7916 7917 * src/orb/poa/orbit-adaptor.c 7918 (ORBit_handle_request): fix potential segv. 7919 on NULL objkey. 7920 79212001-08-02 Martin Baulig <baulig@suse.de> 7922 7923 * src/orb/orb-core/orbit-interface.idl: 7924 (ORBit::IInterfaces): New typedef. 7925 7926 * include/orbit/orb-core/orbit-small.h, 7927 src/orb/orb-core/orbit-small.c 7928 (ORBit_small_get_iinterfaces): New function. 7929 79302001-08-02 Mark McLoughlin <mark@skynet.ie> 7931 7932 * src/orb/poa(ORBit_OAObject_invoke): let's not 7933 return a value from a void function, shall we. 7934 79352001-08-01 Mark McLoughlin <mark@skynet.ie> 7936 7937 * test/poa/*: re-indent. sigh. 7938 79392001-08-01 Mark McLoughlin <mark@skynet.ie> 7940 7941 * include/orbit/poa/orbit-adaptor.h, 7942 src/orb/poa/orbit-adaptor.c 7943 (ORBit_OAObject_invoke, 7944 ORBit_OAObject_object_to_objkey): impl. 7945 7946 * src/orb/orb-core/iop-profiles.c, 7947 src/orb/orb-core/orbit-small.c: 7948 used the above. 7949 79502001-07-31 Darin Adler <darin@bentspoon.com> 7951 7952 * src/orb/orb-core/corba-object.c: (CORBA_Object_non_existent): 7953 Don't dereference obj until after we check it for nil. 7954 79552001-07-31 Mark McLoughlin <mark@skynet.ie> 7956 7957 * include/orbit/poa/orbit-adaptor.h, 7958 src/orb/poa/orbit-adaptor.c, 7959 include/orbit/poa/Makefile.am, 7960 src/orb/poa/Makefile.am: 7961 added orbit-adaptor.[ch]. Virtual Object Adaptor 7962 interface. 7963 7964 * include/orbit/poa/poa-basics.h: added 7965 typedefs for ORBit_OAObject and ORBit_ObjectAdaptor. 7966 7967 * include/orbit/poa/poa-types.h, 7968 include/orbit/poa/portableserver-poa-type.h: 7969 Included base structures in ORBIt_POAObject and 7970 PortableServer_POA. 7971 7972 * src/orb/poa/orbit-poa-export.h 7973 (ORBit_handle_request, ORBit_small_handle_request, 7974 ORBit_POA_object_to_okey): kill. 7975 7976 * src/orb/poa/poa.c 7977 (ORBit_POAObject_is_active, ORBit_POAObject_invoke): impl. 7978 (ORBit_POA_object_to_okey) rename to 7979 ORBit_POAObject_object_to_objkey. 7980 (ORBit_handle_request) rename to 7981 ORBit_POA_handle_request. 7982 (ORBit_small_handle_rquest) rename to 7983 ORBit_POAObject_handle_request. 7984 7985 * include/orbit/orb-core/corba-object-type.h,, 7986 include/orbit/orb-core/corba-orb-type.h, 7987 include/orbit/orb-core/orbit-object.h, 7988 include/orbit/orb-core/orbit-small.h, 7989 src/orb/orb-core/corba-object.c, 7990 src/orb/orb-core/corba-orb.c, 7991 src/orb/orb-core/iop-profiles.c, 7992 src/orb/orb-core/orbit-small.c, 7993 test/everything/server.c: host of minor 7994 supporting changes. 7995 79962001-07-31 Michael Meeks <michael@ximian.com> 7997 7998 * Version 2.3.92 7999 80002001-07-31 Michael Meeks <michael@ximian.com> 8001 8002 * test/poa/Makefile.am: fixup. 8003 80042001-07-31 Martin Baulig <baulig@suse.de> 8005 8006 * src/orb/dynany.c 8007 (DynamicAny_DynStruct_set_members_as_dyn_any): Impl. 8008 (DynamicAny_DynStruct_get_members_as_dyn_any): Impl. 8009 8010 * tests/test-dynany.c: Added tests for them. 8011 80122001-07-31 Michael Meeks <michael@ximian.com> 8013 8014 * test/everything/client.c (find_tc): impl. 8015 (testIInterface): beef up, and test new methods. 8016 8017 * src/orb/orb-core/orbit-small.c (ORBit_small_get_types): impl. 8018 (ORBit_small_load_typelib): fixup local lib names. 8019 8020 * src/idl-compiler/orbit-idl-c-imodule.c (cc_small_build_exceptions): 8021 prune. 8022 (cc_small_build_types): merge exceptions to here. 8023 8024 * src/orb/orb-core/orbit-small.c (ORBit_iinterface_from_idl): 8025 kill cruft. 8026 (add_iinterface, lookup_iinterface, get_type_db): impl. 8027 (ORBit_small_get_iinterface): lookup in the local db first 8028 then classinfo, then remote. 8029 (shallow_copy_iinterface): rename to 8030 (copy_iinterface): & add 'shallow' arg. 8031 (load_module): actualy close the handle and register the types. 8032 (get_types, add_types): impl. 8033 (ORBit_small_load_typelib): upd. 8034 (load_module): upd. 8035 (get_types, add_types): impl. 8036 8037 * test/everything/Makefile.am (included_src): add 8038 context-server 8039 80402001-07-31 Michael Meeks <michael@ximian.com> 8041 8042 * configure.in: require linc-0.1.1 8043 bump version to 2.3.92 8044 8045 * src/orb/orb-core/orbit-small.c 8046 (ORBit_small_get_types): stub for API freeze. 8047 80482001-07-30 Martin Baulig <baulig@suse.de> 8049 8050 * src/orb/dynamic.c (dynamic_sequence_realloc_to): Initialize 8051 the newly created elements. 8052 80532001-07-30 Martin Baulig <baulig@suse.de> 8054 8055 * configure.in: Bump ORBIT_SERIAL to 16. 8056 8057 * include/orbit/orb-core/corba-object.h (CORBA_Object__itype): 8058 Renamed to CORBA_Object__iinterface. 8059 8060 * include/orbit/orb-core/orbit-small.h (ORBit_IModule): 8061 Added `CORBA_TypeCode *exceptions' and `CORBA_TypeCode *types'. 8062 8063 * include/orbit/orb-core/corba-typecode.h 8064 (CORBA_TypeCode_struct): Added `CORBA_unsigned_long flags'. 8065 8066 * src/idl-compiler/orbit-idl-c-*.c: Use `__iinterface' instead of 8067 `__itype' as prefix for the ORBit_IInterface structs. 8068 8069 * src/idl-compiler/orbit-idl-c-imodule.c: Create the new type and 8070 exception arrays. 8071 80722001-07-28 Michael Meeks <michael@ximian.com> 8073 8074 * test/everything/client.c (testStructAny): impl. 8075 (run_tests): hook up. 8076 8077 * test/everything/structServer.c (StructServer_opStructAny): impl. 8078 (StructServer_epv): add. & fix all the serious stylistic issues. 8079 80802001-07-27 Mark McLoughlin <mark@skynet.ie> 8081 8082 * /src/idl-compiler/orbit-idl-c-common.c: 8083 add a couple of '\n's to the generated code. We shouldn't rely 8084 on indent to fix up broken code. 8085 80862001-07-27 Michael Meeks <michael@ximian.com> 8087 8088 * src/orb/orb-core/orbit-small.c (quick_compare): impl. 8089 (ORBit_small_invoke): use it instead of a hard pointer 8090 compare - since we can make new multiple IInterfaces 8091 to point to the same data. 8092 80932001-07-26 Michael Meeks <michael@ximian.com> 8094 8095 * src/orb/orb-core/orbit-small.c (get_typelib_paths): 8096 add to the search path. 8097 8098 * src/orb/orb-core/Makefile.am: define ORBIT_TYPELIB_DIR 8099 81002001-07-26 Michael Meeks <michael@ximian.com> 8101 8102 * src/idl-compiler/orbit-idl-c-typecode.c 8103 (cbe_tc_generate): fix duplicate static bug. 8104 81052001-07-26 Michael Meeks <michael@ximian.com> 8106 8107 * src/idl-compiler/orbit-idl-main.c (main): only 8108 output imodule information if explicitely asked, 8109 and then only output the neccessary. 8110 81112001-07-25 Michael Meeks <michael@ximian.com> 8112 8113 * src/idl-compiler/orbit-idl-c-typecode.c 8114 (cbe_tc_generate): make TC's static in typelibs. 8115 8116 * src/idl-compiler/orbit-idl-c-common.c 8117 (cc_small_output_itypes): make the __itype data static if 8118 for a type library, also for __imethods. 8119 (cc_output_alloc_interface): only output __classids 8120 in certain cases. 8121 8122 * src/orb/orb-core/orbit-small.c (ORBit_small_load_typelib), 8123 (get_typelib_paths, add_if_unique): impl. 8124 8125 * test/everything/Makefile.am: build an _module typelib. 8126 8127 * test/everything/client.c (testIInterface): load it. 8128 8129 * configure.in: we need gmodule. 8130 8131 * ORBit-2.0.pc.in (Requires): add @THREAD_LIBS@ and gmodule. 8132 8133 * src/idl-compiler/orbit-idl-c-common.c 8134 (orbit_idl_output_c_common): inhibit GIOP include for small. 8135 8136 * src/idl-compiler/orbit-idl-c-imodule.c 8137 (cc_small_output_imodule): kill. 8138 (cc_small_output_base_itypes): ditto. 8139 (cc_small_build_interfaces): upd. 8140 (orbit_idl_output_c_imodule): upd. 8141 8142 * include/orbit/orb-core/orbit-small.h: define the 8143 ORBit_IModule interface in standard C - not IDL, so we can 8144 have nicer dereferencing. 8145 8146 * src/orb/orb-core/orbit-interface.idl: kill IModule bits. 8147 81482001-07-25 Maciej Stachowiak <mjs@noisehavoc.org> 8149 8150 * src/idl-compiler/orbit-idl-c-headers.c: (ch_output_codefrag): 8151 Add a newline after emitted codefrag lines to avoid line 8152 directives running together with the next line. 8153 81542001-07-25 Mark McLoughlin <mark@skynet.ie> 8155 8156 * src/orb/orb-core/iop-profiles.c(IOP_components_marshal), 8157 src/orb/orb-core/corba-contexts.c(ORBit_Context_marhsal), 8158 see below... more of the same. 8159 81602001-07-25 Mark McLoughlin <mark@skynet.ie> 8161 8162 * src/orb/iop-profiles.c(IOP_profile_marshal), 8163 src/orb/corba-typecode.c(tc_enc): 8164 do not dereference pointers that aren't neccessarily 8165 properly aligned. 8166 8167 * src/orb/GIOP/giop-send-buffer.c: document this. 8168 81692001-07-25 Michael Meeks <michael@ximian.com> 8170 8171 * src/orb/GIOP/giop.c (giop_dump_send, giop_dump_recv), 8172 (dump): move here. 8173 8174 * test/everything/basicServer.c (BasicServer_opOneWay): impl. 8175 8176 * test/everything/client.c (testString): call it. 8177 8178 * test/everything/everything.idl: add opOneWay to BasicServer. 8179 81802001-07-24 Michael Meeks <michael@ximian.com> 8181 8182 * src/orb/orb-core/orbit-small.c (ORBit_small_invoke_poa): don't send 8183 anything back for oneway methods ... 8184 (giop_dump_recv, giop_dump_send): robustify and publicise. 8185 8186 * src/orb/GIOP/giop-recv-buffer.c (giop_recv_buffer_handle_fragmented): 8187 add a warning for the broken fragmentation case ... 8188 (giop_recv_buffer_use_noblock): kill. 8189 (giop_recv_list_push): add conditional debug 8190 81912001-07-24 Martin Baulig <baulig@suse.de> 8192 8193 * src/idl-compiler/orbit-idl-c-imodule.c: Correctly calculate 8194 the length of the __base_types array. 8195 81962001-07-24 Michael Meeks <michael@ximian.com> 8197 8198 * src/orb/orb-core/orbit-small.c (shallow_copy_iinterface): impl. 8199 (ORBit_small_get_iinterface): use it. 8200 8201 * src/orb/orb-core/corba-object.c: update to mention exceptions 8202 we fire on get_iinterface. 8203 8204 * src/orb/orb-core/corba-env.c (CORBA_exception_free): NULL 8205 the exception id after freeing it, so we don't double free: doh ! 8206 8207 * src/orb/orb-core/orbit-small.c (ORBit_handle_exception_array): 8208 robustify the 'fired an unknown exception' case. 8209 (ORBit_small_send_user_exception): don't use a fakeev - use 8210 the real one, since the exception type is grokked elsewhere, 8211 return a boolean to indicate a re-marshal of a sys exception, 8212 and free the send_buffer. 8213 (ORBit_small_invoke_poa): upd to loopback on exception. 8214 8215 * test/everything/client.c (testIInterface): update tests 8216 to go over the wire. 8217 82182001-07-24 Martin Baulig <baulig@suse.de> 8219 8220 The IDL compiler now creates a -imodule.c file which 8221 contains a `ORBit_IModule orbit_imodule_data' struct. 8222 We'll compile these -imodule.c files into shared 8223 libraries which can be dlopen()ed by scripting languages. 8224 There is a --noimodule command line option to turn this 8225 feature off. 8226 8227 * src/orb/orb-core/orbit-interface.idl 8228 (IModuleVersion, IInterfaces): New typedefs. 8229 (IModule): New struct type. 8230 8231 * configure.in: Bump ORBIT_SERIAL to 14. 8232 8233 * src/idl-compiler/orbit-idl3-types.h (enabled_passes): 8234 Added OUTPUT_IMODULE. 8235 8236 * src/idl-compiler/orbit-idl-main.c: Added "--noimodule" 8237 command line option to disable output of the -imodule.c 8238 files. 8239 8240 * src/idl-compiler/orbit-idl-c-imodule.c: New file. 8241 82422001-07-23 Michael Meeks <michael@ximian.com> 8243 8244 * src/idl-compiler/orbit-idl-main.c (main): add version 8245 output. 8246 82472001-07-23 Michael Meeks <michael@ximian.com> 8248 8249 * src/orb/orb-core/orbit-small.c (ORBit_small_invoke_poa): 8250 only free the return value if there is no exception. 8251 82522001-07-20 Michael Meeks <michael@ximian.com> 8253 8254 * src/orb/orb-core/iop-profiles.c (IOP_generate_profiles): 8255 remove 'need_object_key_component' - we always do, to flag 8256 UTF-8. 8257 (IOP_profile_get_info): fallback to obj->oki if coki is NULL. 8258 (IOP_components_marshal): hook up CODE_SETS. 8259 (IOP_TAG_CODE_SETS_marshal): impl. 8260 (CodeSetComponent_marshal): impl. 8261 (IOP_components_demarshal): upd. 8262 (CodeSetComponent_demarshal): impl. 8263 (IOP_component_free): upd. 8264 82652001-07-20 Michael Meeks <michael@ximian.com> 8266 8267 * src/orb/GIOP/giop-send-buffer.c 8268 (giop_send_buffer_append_indirect): rename to 8269 (giop_send_buffer_append_aligned): this, to make not only 8270 more efficient, but clean and sane. 8271 (giop_send_buffer_align): re-write to be actualy fast, 8272 remove the 'register' keyword - it doesn't speed things up. 8273 (get_next_indirect): split out of _append & re-write. 8274 (giop_send_buffer_append_aligned): here & re-write. 8275 (giop_send_buffer_append_copy): impl simple version for 8276 (giop_send_buffer_append): to use & upd. 8277 8278 * src/orb/orb-core/iop-profiles.c: upd. 8279 8280 * src/orb/orb-core/corba-context.c: upd. 8281 8282 * src/orb/orb-core/corba-any.c: upd. 8283 8284 * src/orb/orb-core/corba-typecode.c: upd. 8285 8286 * src/orb/orb-core/corba-env.c: upd. 8287 8288 * src/orb/orb-core/corba-object.c: upd. 8289 8290 * src/orb/orb-core/orbit-small.c: upd. 8291 82922001-07-19 Michael Meeks <michael@ximian.com> 8293 8294 * src/orb/poa/poa.c (ORBit_POAObject_release_cb): try 8295 freeing the object_id before we free the pobj we need 8296 to reference it, also NULL it for safety. 8297 82982001-07-19 Michael Meeks <michael@ximian.com> 8299 8300 * src/orb/orb-core/orbit-small.c: remove redundant 8301 DEBUG_LOCAL_TEST macro ... 8302 8303 * src/orb/GIOP/giop-connection.c 8304 (giop_connection_real_state_changed): use 8305 linc watches. 8306 83072001-07-18 Michael Meeks <michael@ximian.com> 8308 8309 * test/echo-server.c (main): use CORBA_ORB_run. 8310 8311 * src/orb/orb-core/corba-orb.c 8312 (CORBA_ORB_perform_work, CORBA_ORB_work_pending), 8313 (CORBA_ORB_run): use new linc_main stuff instead of 8314 g_main. 8315 8316 * src/orb/GIOP/giop-recv-buffer.c 8317 (giop_recv_buffer_get): use linc_main_iteration, this 8318 requires the latest CVS linc. 8319 (giop_recv_buffer_use): ditto. 8320 83212001-07-18 Mark McLoughlin <mark@skynet.ie> 8322 8323 * src/idl-compiler/orbit-idl-c-headers.c(ch_output_native), 8324 src/idl-compiler/orbit-idl-c-stubs.c(cs_small_output_stub): 8325 add a couple of '\n's to the generated code. We shouldn't rely 8326 on indent to fix up broken code. 8327 83282001-07-18 Michael Meeks <michael@ximian.com> 8329 8330 * src/orb/orb-core/corba-object.c 8331 (_ORBit_object_get_connection): rename to 8332 (ORBit_object_get_connection): this & re-order slightly. 8333 (CORBA_Object_non_existent): local objects always exist, 8334 even if we havn't bothered remoting them yet => no 8335 connection. 8336 8337 * include/orbit/orb-core/corba-object.h: kill macro 8338 (ORBit_object_get_connection): somewhat confusing. 8339 8340 * test/everything/client.c (testIInterface): add 8341 CORBA_Object_non_existent and CORBA_Object_is_nil 8342 regression tests. 8343 83442001-07-17 Michael Meeks <michael@ximian.com> 8345 8346 * src/idl-compiler/orbit-idl-main.c (main): make 8347 the runtime message more pleasant. 8348 8349 * src/orb/orb-core/corba-object.c 8350 (ORBit_IInterface_is_a): upd. to sequence<String> 8351 8352 * src/idl-compiler/orbit-idl-c-common.c 8353 (cc_small_output_itypes): output sequence<string> for 8354 base types & get the length right. 8355 (cc_small_output_base_itypes): upd. 8356 8357 * src/orb/orb-core/orbit-small.c 8358 (ORBit_small_invoke_skel): kill. 8359 (ORBit_small_invoke): impl. 8360 8361 * configure.in (ORBIT_SERIAL): bump. 8362 8363 * src/orb/orb-core/orbit-interface.idl: switch 8364 to sequence<string> for base_interfaces. 8365 83662001-07-17 Michael Meeks <michael@ximian.com> 8367 8368 * test/everything/client.c (testIInterface): 8369 ORBit_small_get_type_id regression test. 8370 (run_tests): hook it up. 8371 8372 * src/orb/poa/poa.c (ORBit_classinfo_lookup): impl. 8373 8374 * src/orb/poa/clean-poa.c (ORBit_classinfo_lookup): impl. 8375 8376 * src/orb/orb-core/corba-object.c 8377 (ORBit_impl_ORBit_get_iinterface): impl. 8378 (ORBit_impl_ORBit_get_type_id): impl. 8379 (get_small_skel_CORBA_Object): extend. 8380 8381 * src/orb/orb-core/orbit-small.c 8382 (ORBit_small_get_iinterface): impl. 8383 (ORBit_small_get_type_id): impl. 8384 8385 * src/orb/orb-core/corba-object.c: add 8386 ORBit_get_iinterface / ORBit_get_type_id methods. 8387 83882001-07-13 Peter Williams <peterw@ximian.com> 8389 8390 * configure.in (ACLOCAL): Preserve ACLOCAL_FLAGS in 8391 ACLOCAL. (Update: whoops, typo! Fixed.) (Update: I 8392 do not believe it. Fix another typo.) 8393 83942001-07-14 Martin Baulig <baulig@suse.de> 8395 8396 * ORBit-2.0.pc.in (orbit_idl): New variable. 8397 83982001-07-13 Mark McLoughlin <mark@skynet.ie> 8399 8400 * docs/devel/internals/poa-notes.txt: added. 8401 84022001-07-13 Michael Meeks <michael@ximian.com> 8403 8404 * test/everything/client.c (testString): use the getIOR 8405 method to test stringification. 8406 8407 * test/everything/server.c 8408 (TestFactory_getBasicServerIOR): impl. 8409 84102001-07-13 Michael Meeks <michael@ximian.com> 8411 8412 * src/orb/poa/poa.c (ORBit_small_handle_request): 8413 re-indent to make legible. 8414 8415 * src/orb/orb-core/corba-object.c (CORBA_Object_is_a): 8416 fix invocation code. 8417 (ORBit_impl_CORBA_Object_is_a): fix indirection. 8418 Thanks to Martin Baulig for reporting repo_id matching 8419 bug. 8420 8421 * test/everything/client.c (testFixedLengthStruct): 8422 add CORBA_Object_is_a test. 8423 8424 * src/orb/orb-core/allocators.c 8425 (ORBit_freekids_via_TypeCode_T): kill broken assumption 8426 that align == length ! 8427 8428 * src/orb/orb-core/corba-typecode.c 8429 (ORBit_tk_to_name): impl. 8430 8431 * test/test-dynany.c: portability fix for CHECK_OK. 8432 84332001-07-12 Darin Adler <darin@bentspoon.com> 8434 8435 * include/orbit/poa/Makefile.am: Install poa-basics.h. 8436 84372001-07-12 Mark McLoughlin <mark@skynet.ie> 8438 8439 * src/idl-compiler/orbit-idl-c-common.c, 8440 src/orb/orb-core/orbit-interface.idl, 8441 (IInterface)change name string to typcode. 8442 8443 * src/orb/orb-core/corba-object.c, 8444 src/orb/orb-core/orb-core-export.h, 8445 src/orb/poa/poa.c: re-jig CORBA_Object_is_a 8446 using the IInterface data. 8447 84482001-07-12 Michael Meeks <michael@ximian.com> 8449 8450 * src/orb/orb-core/corba-object.c (ORBit_register_objref): 8451 assert profile_list != NULL. 8452 8453 * src/orb/poa/poa.c (ORBit_POA_object_to_okey): add precondition. 8454 8455 * src/orb/orb-core/iop-profiles.c 8456 (IOP_TAG_ORBIT_SPECIFIC_marshal): use the local oki if we have it. 8457 (IOP_TAG_INTERNET_IOP_marshal): use obj->oki where appropriate. 8458 (IOP_generate_profiles): only set obj->oki if we have a pobj. 8459 8460 * NB. obj->oki == NULL for objects passed in remotely, need 8461 to bear this in mind when re-marshaling the profiles. 8462 84632001-07-12 Mark McLoughlin <mark@skynet.ie> 8464 8465 * include/orbit/orb-core/corba-object.h, 8466 src/idl-compiler/orbit-idl-c-common.c, 8467 src/idl-compiler/orbit-idl-c-skels.c, 8468 src/orb/orb-core/corba-object.c, 8469 src/orb/poa/orbit-poa.h, 8470 src/orb/poa/poa.c: 8471 add IInterface data for CORBA_object. 8472 8473 * include/orbit/orbit-types.h, 8474 include/orbit/poa/poa-types.h, 8475 include/orbit/poa/poa-basics.h: split out 8476 some of poa-types.h into new poa-basics.h. Include 8477 poa-basics.h from orbit-types.h. 8478 8479 * include/orbit/orb-core/corba-object-type.h, 8480 include/orbit/poa/poa-types.h, 8481 include/orbit/poa/poa.h, 8482 src/orb/orb-core/orbit-small.c, 8483 src/orb/poa/orbit-poa-export.h: 8484 make ORBit_POAObject a pointer to ORBit_POAObject_type 8485 instead of a struct. 8486 84872001-07-12 Mark McLoughlin <mark@skynet.ie> 8488 8489 * include/orbit/orb-core/orbit-small.h, 8490 include/orbit/poa/poa-types.h, 8491 src/idl-compiler/orbit-idl-c-backend.h, 8492 src/idl-compiler/orbit-idl-c-common.c, 8493 src/idl-compiler/orbit-idl-c-demarshal.c, 8494 src/idl-compiler/orbit-idl-c-headers.c, 8495 src/idl-compiler/orbit-idl-c-marshal.c, 8496 src/idl-compiler/orbit-idl-c-skels.c, 8497 src/idl-compiler/orbit-idl-c-stubs.c, 8498 src/idl-compiler/orbit-idl-c-utils.c, 8499 src/idl-compiler/orbit-idl-main.c, 8500 src/orb/dynamic/Makefile.am, 8501 src/orb/orb-core/orbit-small.c, 8502 src/orb/poa/Makefile.am, 8503 src/orb/poa/poa.c: put all the 'non-small' 8504 code back, at Elliot's behest. 8505 8506 Note: The --noidata option remains and the PIDL is 8507 still no longer being compiled with --oldstyle. 8508 8509 * configure.in: bump up ORBIT_SERIAL. 8510 85112001-07-11 Mark McLoughlin <mark@skynet.ie> 8512 8513 * src/idl-compiler/orbit-idl-c-headers.c 8514 (ch_type_alloc_and_tc): do the allocbuf thing. 8515 8516 * src/orb/dynamic/dynany.c, 8517 src/orb/poa/poa.c, 8518 test/poa/poatest-exception.h: kill temporary 8519 hacks for the above. 8520 85212001-07-11 Mark McLoughlin <mark@skynet.ie> 8522 8523 * src/idl-compiler/orbit-idl-c-backend.h, 8524 src/idl-compiler/orbit-idl-c-common.c, 8525 src/idl-compiler/orbit-idl-c-demarshal.c, 8526 src/idl-compiler/orbit-idl-c-headers.c, 8527 src/idl-compiler/orbit-idl-c-marshal.c, 8528 src/idl-compiler/orbit-idl-c-skels.c, 8529 src/idl-compiler/orbit-idl-c-stubs.c, 8530 src/idl-compiler/orbit-idl-c-utils.c, 8531 src/idl-compiler/orbit-idl-main.c, 8532 src/idl-compiler/orbit-idl3-types.h: chop, chop. 8533 Remove all non-small code. Kill orbit-idl-c-demarshal.c 8534 and orbit-idl-c-marshal.c. Add --noidata option. 8535 8536 * include/orbit/orb-core/orbit-small.h, 8537 include/orbit/poa/poa-types.h, 8538 src/orb/orb-core/orbit-small.c, 8539 src/orb/poa/poa.c: remove all non-small 8540 code. 8541 8542 * src/orb/dynamic/dynany.c, 8543 src/orb/poa/poa.c, 8544 test/poa/poatest-exception.h: temp hacks 8545 to get around fact that orbit-idl is not 8546 generating aliased sequence allocbufs. 8547 8548 * include/orbit/orb-core/Makefile.am, 8549 src/orb/dynamic/Makefile.am, 8550 src/orb/include/Makefile.am, 8551 src/orb/orb-core/Makefile.am, 8552 src/orb/poa/Makefile.am: kill --oldstyle, 8553 use --noidata. 8554 8555 * test/poa/Makefile.am: depend on orbit-idl. 8556 8557 * configure.in: bump up ORBIT_SERIAL. 8558 85592001-07-11 Michael Meeks <michael@ximian.com> 8560 8561 * src/orb/orb-core/corba-object.c (CORBA_Object__freekids): 8562 fix brokenness. 8563 8564 * src/orb/orb-core/corba-typecode.c (ORBit_TypeCode_free_fn): 8565 ditto. 8566 85672001-07-11 Michael Meeks <michael@ximian.com> 8568 8569 * src/orb/poa/poa.c (ORBit_POA_free_fn), 8570 (ORBit_POACurrent_free_fn): fix deadlocks 8571 8572 * src/orb/poa/clean-poa.c (ORBit_POACurrent_free_fn), 8573 (ORBit_POA_free_fn): ditto. 8574 8575 * src/orb/orb-core/corba-typecode.c (ORBit_TypeCode_free_fn): 8576 kill deadlocks. 8577 8578 * src/orb/dynamic/dynany.c (DynamicAny_DynAny_release_fn): 8579 use ORBit_free_T to stop deadlock & don't lock on invalidate. 8580 (dynany_invalidate): add 'lock' argument. 8581 update all references. 8582 8583 * src/orb/orb-core/allocators.c (ORBit_free): take 8584 the RootObject_lifecycle_lock, and call 8585 (ORBit_free_T): split out. 8586 (ORBit_freekids_via_TypeCode): split out to 8587 (ORBit_freekids_via_TypeCode_T): here & kill deadlock plague. 8588 8589 * src/orb/orb-core/corba-object.c 8590 (CORBA_Object_release_cb): use the non-locking 8591 release on obj->pobj. 8592 85932001-07-10 Michael Meeks <michael@ximian.com> 8594 8595 * configure.in: Bump version to 2.3.91 8596 85972001-07-10 Peter Williams <peter@beta.newton.cx> 8598 8599 * test/poa/Makefile.am ($(POATEST_IDLOUT)): use $< 8600 instead of poatest.idl for when srcdir != builddir. 8601 86022001-07-10 Mark McLoughlin <mark@skynet.ie> 8603 8604 * include/orbit/poa/poa.h(ORBit_POAInvocation): 8605 killed object_id and doUnuse members. 8606 8607 * include/orbit/poa/portableserver-poa-type.h 8608 (PortableServer_POA): replaced default_pobj 8609 member with default_servant; 8610 8611 * src/orb/poa/poa.c 8612 (ORBit_POA_ServantManager_{un}use_servant): pass 8613 a pobj instead of an iframe. 8614 (ORBit_handle_request): split in two. Now 8615 ORBit_small_handle_request can be used for local 8616 calls and original function is a wrapper for 8617 remote calls. 8618 Also various default_servant fixes. 8619 8620 * src/orb/poa/orbit-poa-export.h: introduce 8621 ORBit_small_handle_request. 8622 8623 * src/orb/orb-core/orbit-small.c 8624 (ORBit_small_invoke_stub): call 8625 ORBit_small_handle_request. 8626 8627 * test/poa/poatest-basic09.c, 8628 test/poa/poatest-basic10.c: commit default 8629 servant tests. 8630 86312001-07-09 Mark McLoughlin <mark@skynet.ie> 8632 8633 * src/orb/orb-core/corba-object.c, 8634 src/orb/poa/poa.c: fixed some extreme 8635 braindeadness on my part. 8636 86372001-07-07 Mark McLoughlin <mark@skynet.ie> 8638 8639 * include/orbit/orb-core/corba-object-type.h, 8640 src/orb/orb-core/Makefile.am, 8641 src/orb/orb-core/corba-object.c, 8642 src/orb/orb-core/orb-core-private.h, 8643 src/orb/orb-core/iop-profiles.c, 8644 src/orb/orb-core/iop-profiles.h: split off all the 8645 profiles stuff on its own. 8646 86472001-07-08 Michael Meeks <michael@ximian.com> 8648 8649 * src/orb/orb-core/orbit-object.c 8650 (ORBit_RootObject_release): split out core to: 8651 (ORBit_RootObject_release_T): here. 8652 8653 * src/orb/orb-core/corba-object.c 8654 (CORBA_Object_release_cb): use the non-locking release. 8655 8656 * src/orb/poa/poa.c (remove_cb): return FALSE instead of 8657 nothing. 8658 (ORBit_POAObject_release_cb): use non-locking release. 8659 86602001-07-07 Mark McLoughlin <mark@skynet.ie> 8661 8662 * include/orbit/orb-core/corba-object.h, 8663 src/orb/orb-core/corba-object.c, 8664 src/orb/poa/poa.c: sharing is caring. 8665 Make the POA generated references share their 8666 profile_lists. 8667 86682001-07-07 Mark McLoughlin <mark@skynet.ie> 8669 8670 * src/orb/orb-core/corba-object.c: don't carry around 8671 multiple copies of the object key. Only generate it when 8672 it the ref is to be exported. 8673 8674 * src/orb/poa/orbit-poa-export.h, 8675 src/orb/poa/poa.c: rename ORBit_POA_oid_to_okey to 8676 ORBit_POA_object_to_okey and export. 8677 86782001-07-07 Mark McLoughlin <mark@skynet.ie> 8679 8680 * src/orb/orb-core/corba-object.c, 8681 src/orb/orb-core/corba-orb.c: only opening listening 8682 sockets when externalising a reference. 8683 86842001-07-06 Mark McLoughlin <mark@skynet.ie> 8685 8686 * include/orbit/orb-core/corba-object.h, 8687 include/orbit/poa/poa-types.h, 8688 src/orb/orb-core/corba-object.c, 8689 src/orb/poa/orbit-poa.h, 8690 src/orb/poa/poa.c: make an object reference's 8691 profile_list only be generated when it is about to 8692 be externalised. 8693 86942001-07-04 Michael Meeks <michael@ximian.com> 8695 8696 * src/orb/orb-core/orbit-small.c 8697 (ORBit_small_invoke_stub): add ORBIT_STUB_PostCall/PreCall 8698 ref counting checks. 8699 87002001-07-05 Mark McLoughlin <mark@skynet.ie> 8701 8702 * include/orbit/orb-core/corba-object-type.h, 8703 include/orbit/poa/poa-types.h, 8704 src/orb/orb-core/corba-object.c, 8705 src/orb/orb-core/orbit-small.c, 8706 src/orb/poa/poa.c, 8707 src/services/name/orbit-name-server.c: make every reference 8708 created by the POA have a POAOjbect associated with it. 8709 s/bypass_obj/pobj/. 8710 87112001-07-05 Mark McLoughlin <mark@skynet.ie> 8712 8713 * test/poa/poatest-basic04.c, 8714 test/poa/poatest-basic05.c, 8715 test/poa/poatest-basic06.c, 8716 test/poa/poatest-basic07.c, 8717 test/poa/poatest-basic08.c: use 8718 CORBA_PolicyList_allocbuf instead of g_new0. 8719 87202001-07-04 Mark McLoughlin <mark@skynet.ie> 8721 8722 * configure.in: updated glib check. 8723 87242001-07-04 Mark McLoughlin <mark@skynet.ie> 8725 8726 * src/orb/orb-core/orbit-interface.idl, 8727 src/idl-compiler/orbit-idl-c-common.c, 8728 src/idl-compiler/orbit-idl-c-headers.c: 8729 added inheritance data to ORBit::IInterface. 8730 87312001-07-03 Michael Meeks <michael@ximian.com> 8732 8733 * src/orb/orbit-init.c (ORBit_init_internals): seed 8734 the random number generator once, properly. 8735 8736 * src/orb/GIOP/giop-connection.c s/shutdown/dispose/ 8737 8738 * include/orbit/util/basic_types.h: include 8739 glib/gunicode.h Mark needs to update his glib :-) 8740 87412001-06-29 Michael Meeks <michael@ximian.com> 8742 8743 * src/orb/orb-core/corba-object.c 8744 (IOP_TAG_INTERNET_IOP_demarshal): NULL components if 8745 version is !> GIOP_1_0. 8746 8747 * src/idl-compiler/orbit-idl-c-utils.c 8748 (orbit_cbe_get_typespec_str): return CORBA_wstring not 8749 CORBA_wchar *. 8750 8751 * include/orbit/util/basic_types.h: add CORBA_wstring. 8752 87532001-06-29 Mark McLoughlin <mark@skynet.ie> 8754 8755 * include/orbit/util/basic_types.h: include gunicode.h, 8756 not glib/gunicode.h. 8757 87582001-06-29 Mark McLoughlin <mark@skynet.ie> 8759 8760 * src/orb/poa/poa.c: fixed a couple of porblems 8761 with yesterday's commit. 8762 87632001-06-28 Mark McLoughlin <mark@skynet.ie> 8764 8765 * include/orbit/poa/poa-types.h, 8766 src/orb/orbit-init.c, 8767 src/orb/orb-core/corba-object.c, 8768 src/orb/orb-core/corba-orb.c, 8769 src/orb/poa/orbit-poa.h, 8770 src/orb/poa/poa.c: sorted out the POA and 8771 POAObject ref counting mess - I hope ;) 8772 8773 * src/orb/poa/poa-servants.c: remove assertions - 8774 not valid in MULT_ID case. 8775 8776 * test/poa/poatest-basic-shell.c, 8777 test/poa/poatest-basic04.c, 8778 test/poa/poatest-basic05.c, 8779 test/poa/poatest-basic06.c, 8780 test/poa/poatest-basic07.c, 8781 test/poa/poatest-basic08.c: release more refs, 8782 and invoke orb->destroy and orb->shutdown. 8783 87842001-06-28 Michael Meeks <michael@ximian.com> 8785 8786 * include/orbit/util/basic_types.h: include glib/gunicode.h, 8787 we require HEAD glib. 8788 87892001-06-26 Mark McLoughlin <mark@skynet.ie> 8790 8791 * src/orb/orb-core/corba-context.c, 8792 src/orb/poa/poa.c: kill deprecated 8793 g_hash_table_(freeze|thaw) functions. 8794 87952001-06-26 Mark McLoughlin <mark@skynet.ie> 8796 8797 * include/orbit/poa/poa-types.h, 8798 src/idl-compiler/orbit-idl-c-skels.c : 8799 kill POAObject members use_count, death_callback 8800 and user_data. Relics from an old hack from ORBit0 8801 thats not used anymore. 8802 8803 * src/orb/poa/poa.c: add a few TODO items. 8804 88052001-06-26 Michael Meeks <michael@ximian.com> 8806 8807 * src/idl-compiler/orbit-idl-c-skels.c 8808 (cbe_skel_interface_print_relayer): chop specious overall idx 8809 calculation. 8810 (cbe_skel_interface_print_relayers): calc. m_data idx per 8811 interface so inheritance works, sigh. 8812 8813 * test/everything/everything.idl: inherit StructServer 8814 from BasicServer to regression test method layout under 8815 inheritance. 8816 8817 * test/everything/structServer.c (StructServer_vepv): upd. 8818 88192001-06-26 Michael Meeks <michael@ximian.com> 8820 8821 * src/orb/GIOP/giop-connection.c 8822 (giop_connection_handle_input): unuse the incoming 8823 message off the cnx list as we handle it. 8824 8825 * src/orb/orb-core/corba-orb.c 8826 (CORBA_ORB_run): just do a g_main_loop_run 8827 88282001-06-25 Mark McLoughlin <mark@skynet.ie> 8829 8830 * test/poa/.cvsignore: added. 8831 88322001-06-25 Mark McLoughlin <mark@skynet.ie> 8833 8834 * test/poa/*: import. 8835 8836 * configure.in, test/Makefile.am: add poa. 8837 88382001-06-25 Mark McLoughlin <mark@skynet.ie> 8839 8840 * include/orbit/poa/poa-types.h, 8841 src/idl-compiler/orbit-idl-c-skels.c, 8842 src/orb/poa/poa-servants.c, 8843 src/orb/poa/poa.c : make MULT_ID work by having a list of 8844 POAObjects in the servant's '_private' member. 8845 88462001-06-25 Mark McLoughlin <mark@skynet.ie> 8847 8848 * include/orbit/poa/poa.h: add string_to_ObjectId etc. 8849 8850 * src/orb/poa/poa.c: make root POA have non default 8851 IMPLICIT_ACTIVATION policy. 8852 88532001-06-25 Michael Meeks <michael@ximian.com> 8854 8855 * src/orb/dynamic/dynany.c 8856 (CORBA_sequence_DynamicAny_NameValuePair_allocbuf), 8857 (CORBA_sequence_DynamicAny_NameValuePair__alloc): impl. 8858 88592001-06-25 Martin Baulig <baulig@suse.de> 8860 8861 * src/orb/dynamic/dynany.c 8862 (DynamicAny_DynStruct_set_members), 8863 (DynamicAny_DynStruct_get_members): copy from 8864 ORBit-martin-forked. 8865 88662001-06-25 Michael Meeks <michael@ximian.com> 8867 8868 * test/echo-server.c (main): remove hack. 8869 8870 * src/orb/orb-core/corba-orb.c (idle_fn), 8871 (ORBit_ORB_idle_init): kill ugly hack. 8872 88732001-06-25 Martin Baulig <baulig@suse.de> 8874 8875 * src/orb/orb-core/corba-object.c: add include. 8876 8877 * src/orb/GIOP/giop-connection.c 8878 (giop_connection_handle_input): handle request as 8879 it finished coming in. 8880 88812001-06-23 Martin Baulig <baulig@suse.de> 8882 8883 * configure.in: Don't output the .pc files twice. 8884 8885 * src/idl-compiler/Makefile.am: s/libIDL.la/libIDL-2.la/g. 8886 8887 * test/inhibit/Makefile.am: Removed $(IDLOUT), test_any_built 8888 and $(TEST_ANY_IDLOUT) so this actually works. 8889 88902001-06-19 Michael Meeks <michael@ximian.com> 8891 8892 * src/idl-compiler/orbit-idl-c-stubs.c (cs_small_output_stub): 8893 output pre / post call code even for small stubs / skels. 8894 8895 * include/orbit/poa/poa-types.h: remove redundant type defines. 8896 88972001-06-19 Michael Meeks <michael@ximian.com> 8898 8899 * src/orb/util/genrand.c (genrand_unix): if ORBIT_PURIFY don't 8900 use bits of uninitialized stack. 8901 89022001-06-18 Erik Walthinsen <omega@temple-baptist.com> 8903 8904 * ORBit-2.0.pc.in, ORBit-CosNaming-2.0.pc.in: brought in from 8905 ORBit-martin-forked. 8906 8907 * .cvsignore, Makefile.am, configure.in: added necessary lines 8908 for above .pc files to be created/installed. 8909 89102001-06-19 Mark McLoughlin <mark@skynet.ie> 8911 8912 * src/orb/include/Makefile.am: use --oldstyle 8913 8914 * src/orb/dynamic/Makefile.am: fix build. 8915 8916 * src/orb/poa/Makefile.am: fix build. 8917 8918 * test/Makefile.am: Fix build, kill -lefence. 8919 89202001-05-30 Michael Meeks <michael@ximian.com> 8921 8922 * src/orb/orb-core/Makefile.am: simplify makefile ugliness. 8923 8924 * test/Makefile.am (echo_built): fix recursive build 8925 issue. 8926 89272001-05-30 Michael Meeks <michael@ximian.com> 8928 8929 * src/orb/GIOP/giop-connection.c (giop_connection_initiate): 8930 only ref the connection if we didn't just destroy it. 8931 89322001-05-30 Michael Meeks <michael@ximian.com> 8933 8934 * src/orb/orb-core/orbit-small.c (ORBit_small_invoke_stub): 8935 don't do an alloca (0), just use &obj - this points to 8936 the stack in a safer, quicker and cleaner way. 8937 89382001-05-30 Michael Meeks <michael@ximian.com> 8939 8940 * src/orb/dynamic/dynany.c (dynany_sequence_realloc_to): only 8941 copy old_len elements from the old buffer. 8942 89432001-05-30 Michael Meeks <michael@ximian.com> 8944 8945 * src/orb/dynamic/dynany.c: Port from ORBit-stable. 8946 8947 * src/orb/orb-core/allocators.c (ORBit_free): use 8948 ORBit_free internaly not CORBA_free to clean stack traces. 8949 8950 * src/orb/orb-core/corba-any.c (CORBA_any__freekids): ditto 8951 & accelerate. 8952 8953 * src/orb/orb-core/corba-orb.c 8954 (CORBA_ORB_set_initial_reference): fix g_hash_table 8955 manipulation leak / bug. 8956 89572001-05-29 Michael Meeks <michael@ximian.com> 8958 8959 * src/orb/dynamic/Makefile.am: install dynamic-defs.h 8960 in the right place ... 8961 8962 * src/orb/orb-core/corba-typecode.c: add long_double TC def. 8963 8964 * src/idl-compiler/orbit-idl-c-headers.c 8965 (ch_type_alloc_and_tc): fixup emmission of __allocbuf as 8966 well as __alloc for sequences. 8967 8968 * include/orbit/orb-core/corba-typecode.h: declare. 8969 TC_CORBA_long_double_struct and TC_CORBA_wstring_struct. 8970 8971 * src/orb/orb-core/corba-any.c (CORBA_any__copy): constipate. 8972 8973 * include/orbit/dynamic/dynamic.h: upd. 8974 8975 * include/orbit/orbit.h: add dynamic.h 8976 8977 * src/orb/dynamic/Makefile.am: add dynany.c 8978 89792001-05-25 Michael Meeks <michael@ximian.com> 8980 8981 * src/orb/poa/Makefile.am (runidl_poa): install poa-defs into 8982 the correct directory, fixup the include brokenness. 8983 (POA_IDLOUT): add poa-defs.h - doh. 8984 8985 * src/idl-compiler/orbit-idl-c-headers.c (ch_output_interface): 8986 output TC_ #defines even for PIDL types. 8987 8988 * src/idl-compiler/orbit-idl-c-common.c 8989 (build_marshal_funcs): only output marshalers if we 8990 need to. 8991 (cc_output_tc_walker): Output typecode information for 8992 PIDL types - why not, might help automated language bindings 8993 to the PIDL. 8994 89952001-05-25 Michael Meeks <michael@ximian.com> 8996 8997 * src/orb/orb-core/orbit-small.c (dump): print in-buffer 8998 offsets as well as the data. 8999 9000 * src/orb/orb-core/corba-typecode.c (tc_dec_tk_except): 9001 decode sub_parts sub-types not length. 9002 (tc_enc_tk_except): ditto for encode. 9003 (tc_enc): use the buffer length in the message header 9004 instead of the current_idx, since we now marshal straight 9005 into a single buffer without the encaps cruft. 9006 (tc_dec): fix the recursive arithmetic, make it remember 9007 to duplicate the recursive typecode references. 9008 9009 * src/orb/orb-core/corba-any.c (ORBit_demarshal_value): 9010 duplicate the correct pointer. 9011 9012 * src/orb/orb-core/orbit-small.c (ORBit_small_alloc): re-write 9013 to memset 0 the returned memory. 9014 9015 * src/orb/orb-core/corba-any.c (CORBA_any__freekids): release 9016 the typecode pointer as well. 9017 9018 * src/idl-compiler/orbit-idl-c-common.c (cc_alloc_prep): pass 9019 rinfo around. 9020 90212001-05-25 Michael Meeks <michael@ximian.com> 9022 9023 * src/orb/orb-core/corba-context.c (CORBA_Context_set_one_value): 9024 remove the hash table value, so we don't screw up the key allocation. 9025 90262001-05-24 Michael Meeks <michael@ximian.com> 9027 9028 * src/orb/GIOP/giop-connection.c (giop_connection_initiate): 9029 reference the connection before returning it, if it wasn't 9030 looked up in the list. 9031 (giop_connection_remove_by_orb): fix serious brokenness. 9032 (giop_connection_close): publicise. 9033 (giop_connection_shutdown): remove the connection from the 9034 connection list. 9035 (giop_connection_unref): remove last unref sillies. 9036 9037 * src/orb/orb-core/corba-object.c (g_CORBA_Object_equal): uglify, 9038 we need to be able to scan for MULTIPLE_COMPONENTS profiles in 9039 order to do the GIOP profile comparison (get_mci): impl helper. 9040 (IOP_Profile_equal): similarly uglify. 9041 (CORBA_Object_release_cb): close the connection and 9042 unref it. 9043 9044 * src/orb/poa/poa.c (ORBit_POA_oid_to_ref): set the profile_type 9045 on the iiop profile. 9046 9047 * src/orb/orb-core/corba-object.c (ORBit_objref_new): actualy 9048 insert new object references into the objrefs hash. 9049 (IOP_Profile_dump): impl. 9050 90512001-05-24 Michael Meeks <michael@ximian.com> 9052 9053 * src/orb/orb-core/corba-object.c (CORBA_Object_release_cb): 9054 only unref the connection if it is valid. 9055 (IOP_Profile_equal): re-order compares to accelerate & warn 9056 on unknown profile. 9057 9058 * src/orb/GIOP/giop-connection.c (giop_connection_list_add): 9059 re-privatize. 9060 9061 * src/orb/GIOP/giop-server.c (giop_server_handle_new_connection): 9062 remove - was broken. 9063 9064 * src/orb/GIOP/giop-recv-buffer.c (giop_recv_buffer_data_read): 9065 kill warning. 9066 9067 * src/orb/GIOP/giop-connection.c (giop_connection_handle_input): 9068 if we return FALSE set the source tag to 0, since on return it 9069 is removed. 9070 (giop_connection_real_state_changed): add some source management 9071 assertions. 9072 (giop_connection_destroy): rename to 9073 (giop_connection_shutdown): this. 9074 90752001-05-20 Michael Meeks <michael@ximian.com> 9076 9077 * src/orb/orb-core/corba-object.c 9078 (CORBA_Object_release_cb): remove bypass_obj unref, hmm. 9079 90802001-05-20 Michael Meeks <michael@ximian.com> 9081 9082 * src/orb/orb-core/corba-orb.c 9083 (ORBit_ORB_idle_init, idle_fn): FIXME these suck. 9084 9085 * src/orb/GIOP/giop-recv-buffer.c 9086 (giop_recv_buffer_use_noblock): impl. 9087 90882001-05-19 Michael Meeks <michael@ximian.com> 9089 9090 * src/idl-compiler/orbit-idl-c-headers.c 9091 (orbit_idl_output_c_headers): re-order. 9092 90932001-05-19 Michael Meeks <michael@ximian.com> 9094 9095 * src/orb/poa/poa.c (ORBit_POA_free_fn): free the poa's 9096 name and key buffer. 9097 9098 * src/orb/orb-core/corba-orb.c (CORBA_ORB_release_fn): 9099 free the initial refs hash. 9100 91012001-05-18 Martin Baulig <baulig@suse.de> 9102 9103 * ORBit-2.0.pc.in (Cflags): Added `-DORBIT2=1'. 9104 91052001-05-18 Martin Baulig <baulig@suse.de> 9106 9107 * ORBit-2.0.pc.in: Use `ORBit-2.0' as package name. 9108 * ORBit-CosNaming-2.0.pc.in: Use `ORBit-CosNaming-2.0' as name. 9109 9110 * Makefile.am: Install the .pc files. 9111 9112 * src/orb/orb-core/Makefile.am: Added explicit dependency 9113 `$(top_builddir)/include/orbit/orb-core/orbit-interface.h: runidl_iface'. 9114 91152001-05-19 Michael Meeks <michael@ximian.com> 9116 9117 * src/orb/orb-core/corba-any.c (ORBit_demarshal_value): 9118 set _release = TRUE for sequences. 9119 91202001-05-18 Michael Meeks <michael@ximian.com> 9121 9122 * src/orb/orb-core/orbit-small.c 9123 (ORBit_small_invoke_poa): fix more stupid leaks. 9124 91252001-05-18 Michael Meeks <michael@ximian.com> 9126 9127 * src/orb/orb-core/corba-object.c 9128 (IOP_TAG_ORBIT_SPECIFIC_demarshal): allocate the correct 9129 buffer size for the sock_path. 9130 (IOP_Profile_equal): fix bug in GIOP compare, and compare 9131 on host for IOP, impl for ORBIT_SPECIFIC and re-order to 9132 accelerate. 9133 (IOP_ObjectKey_equal): split out. 9134 (IOP_TAG_ORBIT_SPECIFIC_free): don't double free the profile 9135 itself. 9136 9137 * src/orb/poa/poa.c (ORBit_POA_oid_to_ref): put the osi 9138 profile on the profile list, and do this later, to ensure 9139 that the ORBit specific profile is later than the GIOP 9140 profile. 9141 9142 * test/everything/server.c (create_object): free the object id... 9143 9144 * src/orb/orb-core/orbit-small.c (ORBit_small_invoke_poa): fix misc. 9145 leaks. 9146 9147 * src/orb/orb-core/corba-context.c (CORBA_Context_get_values): remove 9148 redundant call to create_list. 9149 91502001-05-18 Michael Meeks <michael@ximian.com> 9151 9152 * src/orb/GIOP/giop-server.c (giop_server_handle_new_connection): impl. 9153 (giop_server_class_init): hook it up. 9154 9155 * src/orb/orb-core/corba-orb.c (CORBA_ORB_run): 9156 unuse reliably here. 9157 9158 * src/orb/poa/poa.c (ORBit_handle_request): 9159 remove the unuse. 9160 9161 * src/orb/orb-core/corba-context.c (CORBA_Context_new): fix leak. 9162 91632001-05-18 Michael Meeks <michael@ximian.com> 9164 9165 * src/orb/poa/poa.c (PortableServer_POA_find_POA): bugfix. 9166 (ORBit_POA_is_inuse): 9167 9168 * src/orb/orb-core/corba-orb.c (CORBA_ORB_init): duplicate 9169 the ORB before returning it. 9170 9171 * src/orb/orb-core/corba-object.c (ORBit_delete_profiles): upd. 9172 (ORBit_handle_location_forward, ORBit_demarshal_IOR): upd. 9173 (CORBA_Object_release_cb): finish. 9174 (ORBit_objref_find): fix leak. 9175 91762001-05-18 Michael Meeks <michael@ximian.com> 9177 9178 * src/orb/orb-core/corba-typecode.c (tc_dec): remove broken 9179 ref set to 1. 9180 91812001-05-17 Michael Meeks <michael@ximian.com> 9182 9183 * src/orb/orb-core/corba-object.c 9184 (ORBit_profile_free): actualy free the sub-profiles. 9185 (IOP_TAG_INTERNET_IOP_free, IOP_TAG_GENERIC_IOP_free), 9186 (IOP_TAG_MULTIPLE_COMPONENTS_free, IOP_TAG_ORBIT_SPECIFIC_free): 9187 impl. 9188 9189 * src/orb/GIOP/giop-recv-buffer.c 9190 (giop_IOP_ServiceContextList_free): impl. 9191 (giop_recv_buffer_unuse): use it. 9192 9193 * src/orb/orb-core/corba-typecode.c (tc_dec): unuse 9194 the encapsulated buffer after creation. 9195 91962001-05-17 Michael Meeks <michael@ximian.com> 9197 9198 * src/orb/orb-core/corba-context.c (ORBit_Context_demarshal): 9199 move buf->cur over the length to point at the value. 9200 9201 * src/orb/orb-core/corba-orb.c (CORBA_ORB_create_list): impl. 9202 9203 * src/orb/orb-core/corba-typecode.c (tc_dec_tk_sequence), 9204 (tc_dec_tk_alias, tc_dec_tk_array): set sub_parts to 1. 9205 (tc_dec): set ref count to 1. 9206 9207 * src/orb/orb-core/corba-any.c (ORBit_marshal_value), 9208 (ORBit_demarshal_value): Make TypeCode indirection consistant 9209 with CORBA_Object indirection [ and in fact all other types ] - 9210 they are both Pseudo-objects. 9211 9212 * src/orb/orb-core/corba-typecode.c (tc_dec): hack. 9213 9214 * src/orb/orb-core/corba-env.c (ORBit_send_user_exception): fixup. 9215 92162001-05-16 Michael Meeks <michael@ximian.com> 9217 9218 * src/orb/orb-core/orbit-small.c (ORBit_small_invoke_skel): impl. 9219 92202001-05-16 Michael Meeks <michael@ximian.com> 9221 9222 * src/orb/orb-core/corba-object.c (CORBA_Object_non_existent): 9223 reverse polarity. 9224 9225 * src/orb/orb-core/orbit-small.c (ORBit_small_allocbuf): 9226 fix silly allocbuf bug. 9227 9228 * test/everything/client.c: #include yet another 9229 .c file - yuck. 9230 9231 * test/everything/server.c: kugly #ifdef hacks. 9232 92332001-05-14 Michael Meeks <michael@ximian.com> 9234 9235 * src/orb/orb-core/corba-object.c 9236 (CORBA_Object_non_existent): fix. 9237 9238 * configure.in: add pkgconfig bits. 9239 92402001-05-12 Michael Meeks <michael@ximian.com> 9241 9242 * src/orb/orb-core/orbit-small.c: impl. context code. 9243 92442001-05-11 Michael Meeks <michael@ximian.com> 9245 9246 * src/orb/orb-core/corba-any.c (ORBit_demarshal_value): 9247 don't try to de-marshal a _maximum that isn't there. 9248 92492001-05-10 Michael Meeks <michael@ximian.com> 9250 9251 * src/idl-compiler/orbit-idl-c-utils.c 9252 (orbit_cbe_write_param_typespec_str): split from 9253 (orbit_cbe_write_param_typespec_raw): here. 9254 (cs_small_unflatten_ref, cbe_small_unflatten_args): impl. 9255 9256 * include/orbit/poa/poa-types.h: 9257 add ORBit_small_impl_finder, add ORBitSmallSkeleton. 9258 92592001-05-09 Michael Meeks <michael@ximian.com> 9260 9261 * test/everything/Makefile.am: remove ugly hack. 9262 92632001-05-08 Michael Meeks <michael@ximian.com> 9264 9265 * src/idl-compiler/orbit-idl-c-skels.c (ck_output_small_skel): 9266 impl. 9267 9268 * src/idl-compiler/orbit-idl-c-utils.c 9269 (cs_small_flatten_ref, cbe_small_output_args): move here 9270 from orbit-idl-c-stubs.c 9271 9272 * src/idl-compiler/orbit-idl-c-skels.c 9273 (cbe_skel_interface_print_relayers), 9274 (cbe_skel_interface_print_relayer): make small variants 9275 like to change sig to have const char *method, but needs 9276 poa work... perhaps expand the PortableServer_ClassInfo 9277 struct with a more sensible option ? / put it on the 9278 object. 9279 9280 * src/idl-compiler/orbit-idl-c-stubs.c 9281 (orbit_cbe_param_printptrs): unused - kill. 9282 92832001-05-05 Michael Meeks <michael@ximian.com> 9284 9285 * src/idl-compiler/orbit-idl-c-headers.c 9286 (orbit_idl_output_c_headers): upd. 9287 (ch_output_itypes, ch_output_itype): impl. 9288 9289 * src/idl-compiler/orbit-idl-c-stubs.c 9290 (orbit_idl_output_c_stubs): upd. 9291 (cs_small_output_stubs, cs_small_flatten_ref), 9292 (cs_small_output_args, cs_small_output_small_stub): impl. 9293 9294 * src/orb/orb-core/corba-any.c (ORBit_demarshal_value), 9295 (ORBit_marshal_value): publicise. 9296 9297 * src/idl-compiler/orbit-idl-c-common.c 9298 (cc_small_output_itypes, cc_small_output_itype): add. 9299 93002001-05-04 Michael Meeks <michael@ximian.com> 9301 9302 * include/orbit/orb-core/allocators.h 9303 (ORBit_freekids_via_TypeCode): publicize. 9304 9305 * src/idl-compiler/orbit-idl-c-common.c: don't dump any 9306 allocs if we are in small mode. 9307 9308 * src/idl-compiler/orbit-idl-c-utils.c 9309 (orbit_cbe_get_typecode_name): add. 9310 9311 * include/orbit/orb-core/orb-core.h: add orbit-small.h 9312 9313 * src/idl-compiler/orbit-idl-c-headers.c (ch_output_type_enum): 9314 (ch_output_interface, ch_output_type_dcl, ch_output_type_struct), 9315 (ch_output_type_union, ch_prep_fixed, ch_prep_sequence): pass 9316 rinfo around so we can get at the 'small' flag. 9317 (ch_prep): upd. 9318 9319 * src/idl-compiler/orbit-idl-main.c (main): add arg '--small' 9320 93212001-05-04 Michael Meeks <michael@ximian.com> 9322 9323 * test/everything/*: import & port. 9324 9325 * src/orb/orb-core/corba-any.c (ORBit_any_equivalent), 9326 copy straight from ORBit stable - no mods. 9327 (ORBit_value_equivalent): ditto + add scratch to union_tag 9328 handling. 9329 (ORBit_copy_value_core): fix bug in CORBA_tk_union handling 9330 9331 * src/orb/orb-core/corba-typecode.c (CORBA_TypeCode_equal): copy 9332 straight from ORBit stable - no mods. 9333 9334 * test/Makefile.am (SUBDIRS): add 'everything' 9335 9336 * src/idl-compiler/orbit-idl-c-common.c (orbit_idl_output_c_common): 9337 setup ORBit_zero_int as a static local. 9338 9339 * include/orbit/orb-core/allocators.h (CORBA_sequence_get_release): 9340 define CORBA_sequence_get_release 9341 9342 * src/idl-compiler/orbit-idl-c-skels.c: 9343 add G_GNUC_UNUSED attribute to some potentialy unused bits. 9344 9345 * src/idl-compiler/orbit-idl-c-stubs.c 9346 add G_GNUC_UNUSED attribute to some potentialy unused bits. 9347 (cs_output_stub): always generate _ORBIT_demarshal_error. 9348 9349 * src/orb/orb-core/corba-any.c (CORBA_any_get_release): impl. 9350 9351 * test/everything/Makefile.am: update. 9352