source: trunk/ORBit2-2.14.0/ChangeLog@ 360

Last change on this file since 360 was 92, checked in by cinc, 19 years ago

Orbit2 modified for use with NOM

File size: 254.2 KB
Line 
12006-03-14 Gustavo J. A. M. Carneiro <gjc@gnome.org>
2
3 * configure.in: Version 2.14.0.
4
5 * acinclude.m4: Missing #include <stdlib.h> in AC_CHECK_ALIGNOF
6 due to usage of the exit() function.
7
8 * NEWS: Update.
9
102006-02-17 Tor Lillqvist <tml@novell.com>
11
12 Fix build on Cygwin, patch by "Cygwin Ports maintainer" (#331487)
13
14 * configure.in: Check for winsock2.h only on Windows.
15
16 * include/orbit/orb-core/orbit-object.h: Need to #define
17 ORBIT2_MAYBE_CONST as empty also on Cygwin.
18
192006-02-14 Tor Lillqvist <tml@novell.com>
20
21 * test/test-giop.c: Make global variables static.
22 (test_spoofing): Fix crash: Keep an extra reference to the
23 connection so that it won't be disposed too early. Unref only
24 after checking that its status is disconnected.
25
262006-02-06 Kjartan Maraas <kmaraas@gnome.org>
27
28 * configure.in: Release 2.13.3.
29
302006-02-01 Tor Lillqvist <tml@novell.com>
31
32 Improve configury on Win32, patch by Georg Steffers:
33
34 * configure.in: Set MINGW_LDFLAGS to
35 -Wl,--enable-runtime-pseudo-reloc on Win32. AC_SUBST it. That GNU
36 ld flag is needed when building software that uses DLLs containing
37 code produced by the ORBit2 IDL compiler, because of the way
38 variables imported from DLLs are used. Add MINGW_LDFLAGS to the
39 LDFLAGS used when building ORBit2 itself, too.
40
41 * ORBit-2.0.pc.in: Add @MINGW_LDFLAGS@ (empty on Unix) to Libs .
42
43 * ORBit2.m4: If no orbit2-config script is found, use pkg-config.
44
452006-01-13 Kjartan Maraas <kmaraas@gnome.org>
46
47 * src/orb/GIOP/giop-recv-buffer.c: Fix a compiler warning
48 about unused result.
49 (giop_recv_buffer_handle_fragmented):
50 * src/orb/poa/orbit-adaptor.c: (ORBit_adaptor_find): Guard
51 against NULL adaptor. (Michael). Closes bug #326283. Seen as
52 an invalid read on startup of the drivemount applet.
53
542005-11-11 Jens Granseuer <jensgr@gmx.net>
55
56 * src/idl-compiler/orbit-idl-c-skelimpl.c
57 (prev_char_is_nl): fix // comment.
58
592005-11-08 Richard Hult <richard@imendio.com>
60
61 * Release 2.13.2.
62
63 * configure.in (LT_VERSION): Set back to 2.13.2, the version was
64 already bumped.
65
662005-11-08 Anders Carlsson <andersca@imendio.com>
67
68 * configure.in: Up version to 2.13.3
69
702005-11-08 Anders Carlsson <andersca@imendio.com>
71
72 * src/orb/orb-core/corba-object.c (CORBA_Object_release_cb):
73 Allow releasing objects even if orb is NULL.
74
75 (ORBit_object_get_connection):
76 Make sure to remove and re-add the object from the objref hash
77 table so we won't be left with dangling references which will lead
78 to crashes when trying to shut down the ORB.
79
80 * src/orb/orb-core/corba-orb.c (strip_object_profiles):
81 Set object's orb to NULL.
82
83 * src/orb/poa/poa.c (ORBit_POA_deactivate_object_T):
84 Write out an error message here instead of "assertion failed".
85
862005-09-26 Martin Blom <martin@blom.org>
87
88 * src/orb/orb-core/allocators.c (ORBit_realloc_tcval):
89 realloc should update the length/tracking information.
90 #316393#
91
922005-09-24 Tor Lillqvist <tml@novell.com>
93
94 * orbit2-zip.in: Add share/aclocal/ORBit2.m4 to the developer
95 package.
96
972005-09-20 Jules Colding <colding@omesc.com>
98
99 * configure.in (CFLAGS): Stricter coding style checks by adding
100 "-Werror-implicit-function-declaration -std=gnu89" to CFLAGS.
101
1022005-09-16 Jules Colding <colding@omesc.com>
103
104 * include/orbit/orb-core/corba-orb.h: Added ORBit_proto_use() to
105 ORBIT2_EXTENSIONS section. This is needed to deduce protocol
106 capabilities if you are not the fortunate first thread to invoke
107 CORBA_ORB_init().
108
1092005-09-07 Jules Colding <colding@omesc.com>
110
111 * configure.in (LT_VERSION): Version 2.13.2. This is needed as the change
112 below actually makes some programs run when they would otherwise not.
113
114 * src/orb/GIOP/giop.c (giop_main_run): Remove g_assert().
115
1162005-09-06 Mark McLoughlin <mark@skynet.ie>
117
118 * configure.in: Version 2.13.1
119
1202005-08-28 Tor Lillqvist <tml@novell.com>
121
122 * README.win32: New file.
123
124 * Makefile.am (EXTRA_DIST): Add README.win32.
125
126 * orbit2-zip.in: Include also lib/libname-server-2.a in the
127 developer package.
128
1292005-08-26 Brian Cameron <Brian.Cameron@sun.com>
130
131 * configure.in: Bumping minor LT_VERSION since
132 interfaces have changed since the initial ORBit2
133 release and it has never been bumped, but
134 interfaces have been added since that time.
135 Sorry for commiting this twice, but I didn't
136 read the comments closely to see that you
137 modify it to C+1:0:A+1 to indicate interfaces
138 have been added but binary compatibility has
139 been preserved.
140
1412005-08-15 Michael Meeks <michael.meeks@novell.com>
142
143 * configure.in: add threading libraries to ORBIT_NAME
144 pkg-config check: #313403
145
1462005-08-12 Michael Meeks <michael.meeks@novell.com>
147
148 * configure.in: AC_PREREQ(2.54) not 2.12 for
149 Gustavo Gama, #313274.
150
1512005-08-13 Davyd Madeley <davyd@madeley.id.au>
152
153 * configure.in:
154 * linc2/src/linc-protocols.c: Check for sys/sockio.h, required for
155 building on Solaris 9. Patch from James Andrewartha
156 <trs80@ucc.asn.au>.
157
1582005-08-11 Michael Meeks <michael.meeks@novell.com>
159
160 * src/orb/orb-core/corba-any.c (ORBit_demarshal_arg):
161 propagate the error condition we laboured hard to get right
162 to our caller.
163 (ORBit_demarshal_value): when sequence de-marshalling
164 dies, nail the length as well as freeing the buffer.
165 Fixes #310270#
166
1672005-08-08 Kjartan Maraas <kmaraas@gnome.org>
168
169 * src/orb/orb-core/corba-orb.c: (CORBA_ORB_destroy): Release
170 the lock here. Patch from Aivars Kalvans. Closes bug #153897.
171
1722005-07-28 Tor Lillqvist <tml@novell.com>
173
174 * configure.in: Include ws2tcpip.h on Win32 when looking for
175 socklen_t.
176
1772005-07-25 Jules Colding <colding@omesc.com>
178
179 * src/orb/orb-core/corba-orb.c: Added new ORB_init option, ORBNetID.
180 Valid values for a hypothetical local host (FQDN:thor.test.com, IP:10.0.3.2):
181 "local": all attempts to resolve the local host will be done using "localhost"
182 "short": all attempts to resolve the local host will be done using "thor".
183 "fqdn" : all attempts to resolve the local host will be done using "thor.test.com".
184 "ipaddr: all attempts to resolve the local host will be done using "10.0.3.2".
185 The new option will be evaluated after ORBLocalOnly but ORBLocalOnly will always take
186 precedence.
187
1882005-06-20 Fernando Herrera <fherrera@onirica.com>
189
190 * include/orbit/orb-core/corba-orb-type.h:
191 * src/orb/orb-core/corba-orb.c: (CORBA_ORB_init),
192 (CORBA_ORB_destroy), (ORBit_ORB_forw_bind):
193 * src/orb/poa/orbit-adaptor.c: (ORBit_forw_bind_find),
194 (ORBit_handle_request): implement forward binding.
195
196 Patch by Alejandro García Castro <acastro@igalia.com>
197
198 reviewed by: Michael Meeks
199
2002005-06-03 Jules Colding <colding@omesc.com>
201
202 * docs/README: Added pointers to documentation and sample code
203 for developers using ORBit2, not ORBit2 hackers.
204
2052005-06-02 Sandie Vanderme <sandie.vanderme@bull.net>
206
207 * configure.in: add missing AC_CHECK_HEADERS(netdb.h)
208
2092005-04-18 Tor Lillqvist <tml@novell.com>
210
211 * src/orb/orb-core/corba-orb.c (DllMain): As we reguire GLib 2.6,
212 no need to use GLIB_CHECK_VERSION(). And anyway, what we really
213 should have used here was the run-time glib_check_version() and
214 not compile-time GLIB_CHECK_VERSION()... Also, only check for a
215 "bin" subfolder. DLLs are always installed in "bin" and not "lib"
216 nowadays.
217
218 * src/orb/orb-core/orb-core-private.h: As we require GLib 2.6,
219 G_IS_DIR_SEPARATOR() is always present.
220
2212005-04-16 Kjartan Maraas <kmaraas@gnome.org>
222
223 * linc2/test/test-linc.c: Make some variables static.
224 * src/idl-compiler/orbit-idl-c-skelimpl.c: Same
225 * src/orb/orb-core/corba-orb.c: (CORBA_ORB_create_list):
226 Don't use the C++ reserved word 'new' for variables.
227 * test/echo-client-t.c: Make vars static.
228 * test/echo-client.c: Same
229 * test/echo-srv.c: Same
230 * test/empty-client.c: Same
231 * test/empty-server.c: Same
232 * test/poa/poatest-basic01.c: Again
233 * test/poa/poatest-basic05.c: Again
234 * test/poa/poatest-basic11.c: Again
235 * test/test-any-server.c: Again
236 * test/test-corbaloc.c: Again
237 * test/test-giop-frag.h: Again
238 * test/test-performance.c: And again
239
2402005-04-14 Arvind Samptur <arvind.samptur@wipro.com>
241
242 * src/orb/orb-core/corba-object.c :
243 (ORBit_object_get_connection): if we have failed on the unix
244 socket, have IPv4 or IPv6 connections enabled and are on localhost,
245 then don't connect on the corresponding port from the profiles.
246 Patch reviewed by Michael Meeks.
247
2482005-04-13 Tor Lillqvist <tml@novell.com>
249
250 * src/orb/util/genrand.c: Use the Win32 crypto API.
251
252 * src/orb/GIOP/giop.c
253 * src/idl-compiler/orbit-idl-c-backend.c: Use gstdio wrappers for
254 better localized filename support on Win32. Use GLib directory and
255 filename API. Don't bother with the rather useless utime() setting
256 on the GIOP tmpdir on Win32. Use g_strerror() instead of
257 strerror().
258
259 * src/orb/util/orbit-options.c: As we reguire GLib 2.6, no need to
260 use GLIB_CHECK_VERSION.
261
2622005-04-12 Mark McLoughlin <mark@skynet.ie>
263
264 * ORBit-2.0.pc.in: require gmodule-no-export-2.0 rather
265 than gmodule-2.0 so we don't -export-dynamic on our
266 link line.
267
2682005-04-11 Tor Lillqvist <tml@novell.com>
269
270 * test/everything/Makefile.am (Everything_module_la_LIBADD): Need
271 to link with ORBIT_LIBS thanks to a recent change for Win32 in
272 HEAD GLib.
273
2742005-04-11 James Henstridge <james@jamesh.id.au>
275
276 * configure.in: rename PKG_CONFIG_MIN_VERSION variable to
277 xPKG_CONFIG_MIN_VERSION, to work with pkg-config >= 0.16.0.
278
2792005-04-06 Anders Carlsson <andersca@imendio.com>
280
281 * src/orb/orb-core/corba-orb.c:
282 (ORBit_initial_references_by_user):
283 Release objects.
284
285 (ORBit_set_initial_reference):
286 Release existing objects.
287
2882005-04-06 Anders Carlsson <andersca@imendio.com>
289
290 * src/orb/orb-core/corba-object.c:
291 (ORBit_handle_location_forward):
292 Reset the connection since the forwarded object has a new
293 connection.
294
2952005-03-29 Brian Cameron <Brian.Cameron@Sun.Com>
296
297 * docs/internals/orbitrc.txt: Docs file explaining how to
298 make use of the ORBit2 Resource File and how the options
299 work.
300
3012005-03-11 Tor Lillqvist <tml@novell.com>
302
303 * include/orbit/orb-core/orbit-object.h: Add macro
304 ORBIT2_MAYBE_CONST which expands to "const" on Unix, empty on
305 Win32.
306
307 * src/orb/orb-core/corba-typecode.c
308 * include/orbit/orb-core/corba-orb-type.h
309 * include/orbit/orb-core/corba-typecode.h
310 * src/idl-compiler/orbit-idl-c-headers.c (ch_type_alloc_and_tc)
311 * src/idl-compiler/orbit-idl-c-typecode.c
312 (orbit_output_tcstruct_anon_subtypes_array,
313 orbit_output_tcstruct_anon_sublabels_array, cbe_tc_generate): Use
314 ORBIT2_MAYBE_CONST. This reintroduces constness on Unix, saving
315 some memory. (#169428)
316
3172005-03-10 Tor Lillqvist <tml@novell.com>
318
319 * configure.in: Bump version to 2.13.0 to distinguish from the
320 gnome-2-10 branch. Call AC_CANONICAL_HOST before the Win32 test to
321 make sure $host is set up. Require GLib 2.6.
322
323 * src/idl-compiler/orbit-idl-main.c: Make the default not to show
324 CPP errors, so that --showcpperrors actually changes the
325 behaviour.
326
327 * src/orb/orb-core/corba-any.c (ORBit_demarshal_value)
328 * src/services/imodule/orbit-imodule.c (build_cpp_args): Minor
329 const correctness fixes.
330
331 * src/orb/orb-core/corba-orb.c: Drop inclusion of <windows.h>, we
332 get it through <winsock2.h> in linc-protocol.h anyway. Add
333 prototype for DllMain() to silence gcc.
334
3352005-02-23 Tor Lillqvist <tml@novell.com>
336
337 * orbit2-zip.in: Include also etc/orbitrc (even if it is
338 empty). Don't include lib/orbit-2.0, just the Everything_module
339 gets installed there by ORBit2, and that's just for testing.
340
341 * configure.in: Drop the -DPOPT_STATIC. The version of popt that
342 we recommend is used on Windows doesn't cause import of variables
343 from libpopt. Using a libpopt DLL works fine.
344
345 * test/test-giop.c (run_test): Use IPv4 instead of UNIX domain
346 sockets on Win32.
347
348 * src/idl-compiler/orbit-idl-c-skels.c
349 (cbe_skel_interface_print_relayers): It's the temporary pointer
350 that should be declared volatile, not what it's pointing to. Now
351 auto-import actually works also from optimized code.
352
3532005-02-21 Tor Lillqvist <tml@novell.com>
354
355 * configure.in: Use -DPOPT_STATIC on Win32 when building the IDL
356 compiler and name server, so that we avoid the problems with
357 referring to variables imported from a DLL in static
358 initializers. In newer libpopt distributions the headers have
359 dllimport decorations for the variables exported from libpopt
360 unless one defines POPT_STATIC.
361
362 To actually then link with the static libpopt.a you might also
363 have to move the import library libpopt.dll.a away so that the
364 linker won't find it, and perhaps edit libpopt.la.
365
366 Remove leftover AC_MSG_WARN([host is $host]).
367
3682005-02-14 Tor Lillqvist <tml@novell.com>
369
370 * configure.in: New autoconf variable LIBM, set to -lm on Unix,
371 empty on Windows.
372
373 * ORBit-2.0.pc.in (Libs): Use @LIBM@. The dummy -lm in mingw prevents
374 libtool from creating DLLs.
375 (orbit_idl): Append @EXEEXT@.
376
377 * src/idl-compiler/Makefile.am
378 * test/Makefile.am: Use $(LIBM) here, less verbiage than if using
379 an automake ifdef.
380
381 * src/orb/orb-core/orb-core-private.h
382 * src/orb/util/orbit-options.c: On Win32, #undef the compile-time
383 pathnames from the Makefiles, instead use run-time strings set up
384 by DllMain(), see below.
385
386 * src/orb/orb-core/corba-orb.c (DllMain): New function. When
387 ORBit2 is built as a DLL on Win32 (as it should be), this function
388 is called automatically when the DLL is loaded. It fetches the
389 full path of the DLL, and deduces the ORBit2 installation folder
390 from that. Then it forms the type library directory and system
391 orbitrc path names. Some complexity needed by it having to work
392 both when built with GLib 2.4 or 2.6.
393
394 * src/orb/orb-core/orbit-typelib.c (ORBit_small_load_typelib): Use
395 GLib API to check pathnames, for improved Win32 portability.
396
397 * src/orb/util/orbit-options.c (ORBit_option_rc_parse): When built
398 against GLib 2.6, use g_fopen().
399 (ORBit_option_parse): Guard against g_get_home_dir() returning
400 NULL.
401
402 * src/orb/util/genrand.c (ORBit_genuid_init): Bypass the attempts
403 to use /dev/urandom on Win32.
404
405 * src/orb/orb-core/corba-any.c (ORBit_marshal_value): Don't do any
406 post-realignment for array elements. We don't do that for array
407 elements in ORBit_demarshal_value() either, and the marshalling of
408 structs and unions already takes care of their post-alignment.
409
410 * src/idl-compiler/orbit-idl-c-utils.c: Revert the change from
411 2005-02-01. It's unnecessary now with the alignment fixes in the
412 marshalling code. (The changes were not sufficient anyway; without
413 the alignment fixes in the marshalling code, even more sillyness
414 in the IDL compiler generated code would have been necessary to
415 make it work on Win32.)
416
4172005-02-13 Arvind Samptur <arvind.samptur@wipro.com
418
419 * src/orb/orb-core/corba-orb.c (ORBit_ORB_start_servers): if we
420 are using LocalOnly option or only UNIX sockets then set
421 hostname to be "localhost"
422 Patch reviewed by Michael Meeks
423
4242005-02-11 Tor Lillqvist <tml@novell.com>
425
426 * src/orb/orb-core/orbit-trace.c (ORBit_trace_value): Print also
427 long long values, using G_GINT64_FORMAT. Ditto unsigned long long
428 and G_GUINT64_FORMAT.
429
4302005-02-11 Michael Meeks <michael.meeks@novell.com>
431
432 * src/orb/dynamic/dynany.c
433 (DynamicAny_DynStruct_get_members),
434 (DynamicAny_DynStruct_set_members): add field
435 alignment logic now missing from ORBit_copy_value etc.
436
4372005-02-11 Tor Lillqvist <tml@novell.com>
438
439 * src/orb/orb-core/corba-any.c
440 (ORBit_marshal_value, ORBit_demarshal_value),
441 (ORBit_copy_value_core, ORBit_value_equivalent):
442 re-work, bin pre-align: assume incoming ABI walking
443 data is aligned, do alignment only on outgoing
444 data & during struct/union walking.
445
446 * test/everything/arrayServer.c
447 (ArrayServer_opAlignHoleStructArray),
448 (ArrayServer_opStrArray): add.
449 * test/everything/unionServer.c
450 (UnionServer_opFixedLengthUnionArray): add
451
452 * test/everything/client.c (testUnionArray, testStrArray),
453 (testFixedLengthStructArray, testAlignHoleStructArray),
454 (testVariableLengthArray): add more beef to the regression
455 test suite.
456
4572005-02-08 Tor Lillqvist <tml@novell.com>
458
459 * orbit2-zip.in: New file, expands to a script to be used for
460 packaging ORBit2 distributions as zipfiles for Windows.
461
462 * configure.in
463 * Makefile.am: Generate and distribute it.
464
4652005-02-07 Tor Lillqvist <tml@novell.com>
466
467 * test/Makefile.am (check_PROGRAMS): Must use check_PROGRAMS as
468 the name for the list of test programs in order for Automake to
469 properly use EXEEXT on Windows.
470
4712005-02-02 Hans Petter Jansson <hpj@novell.com>
472
473 * configure.in: Check for res_9_init() in -lresolv. This will pull in
474 libresolv on Darwin, where the actual symbol's name is different from
475 the one used by programs.
476
4772005-02-02 Tor Lillqvist <tml@novell.com>
478
479 Make test-dynany work on Windows:
480
481 * src/orb/dynamic/dynany.c (MAKE_DYNANY_INSERT): For identical
482 reasons as the below change to the IDL compiler, take a local copy
483 of function parameter before passing its address to
484 dynany_insert().
485
486 (dynany_get_value): Take the alignment of preceding fields and the
487 field itself into account when calculating the address of a field
488 in a CORBA_tk_struct or except.
489
4902005-02-01 Tor Lillqvist <tml@novell.com>
491
492 * src/idl-compiler/orbit-idl-c-utils.c (orbit_cbe_flatten_ref):
493 Take output file as parameter, output directly there instead of
494 returning a string.
495
496 Don't take the address of function parameters and pass it on to
497 the marshalling layers. Function parameters are not necessarily
498 aligned according to the alinments in orbit-config.h. Case in
499 point: long long on the x86. ORBIT_ALIGNOF_CORBA_LONG_LONG is 8,
500 but as function parameters on the stack, long longs only have
501 4-byte alignment. The lower levels will realign the address,
502 meaning long long IN parameters might have a completely wrong
503 value marshalled. The same presumably holds for doubles and long
504 doubles. Why this problem hasn't occured on Linux on x86, no
505 idea. I noticed it on Windows.
506
507 Instead, copy IN parameters to a field in a local struct variable,
508 and pass on the address of that field.
509
510 In theory, the above could hold on exotic architectures also for
511 OUT parameters, where the address of a parameter is also passed
512 on. But in that case the parameter is a pointer, and at least on
513 the x86, a pointer's alignment as parameter matches expectation in
514 orbit-config.h (4).
515
516 (orbit_cbe_maybe_copy_of_data_in): New helper function that
517 outputs the definition and initialization of the local copy of IN
518 parameters mentioned above.
519
520 (orbit_cbe_flatten_args): Modify accordingly.
521
5222005-01-28 Tor Lillqvist <tml@novell.com>
523
524 * src/orb/orbit-init.c
525 * src/orb/orb-core/orbit-trace.c: Use g_get_current_time() instead
526 of gettimeofday().
527
528 * src/orb/GIOP/giop.c
529 * src/orb/GIOP/giop-send-buffer.c
530 * src/orb/orb-core/orbhttp.c: Conditionalize includes as
531 necessary.
532
533 * src/orb/GIOP/giop.c: Don't check owner on Win32 either. Add
534 newline to dprintf() calls. Use socket API for wakeup pipe on
535 Win32. Create it using link_pipe().
536
537 * src/orb/orb-core/corba-orb.c: Use IPv4 and not Unix domain
538 sockets on Win32.
539
540 * src/orb/orb-core/corba-typecode.c: Drop the const from the
541 typecode struct definitions, for Win32 DLL import/export reasons
542 (see yesterday's ChangeLog entries).
543
544 * src/orb/orb-core/orbhttp.c (orbHTTPConnectAttempt): Drop an
545 unused variable in the WinSock part.
546
547 * src/orb/orb-core/orbit-typelib.c: Use G_SEARCHPATH_SEPARATOR_S.
548
549 * src/orb/util/genrand.c: No getuid() on Win32.
550
551 * src/services/name/Makefile.am: No -lm on Win32.
552
553 * src/services/name/boot.c: Conditionalize use of syslog and
554 sigaction.
555
556 * src/services/name/orbit-name-server.c: Remove a couple of
557 unneeded includes.
558
559 * test/echo-client.c: Make debugging easier: If argv[1] starts
560 with a dollar, fetch it with getenv().
561
562 * test/echo-server.c
563 * test/empty-server.c
564 * test/any-server.c: Output the IOR: string to a file, too, to
565 avoid having to copy-paste long strings when runnning these tests.
566
567 * test/typelib-dump.c: Small workaround for Win32 DLL variable
568 import restriction.
569
570 * test/everything/test.sh: Don't run the Unix domain socket tests
571 on Windows. Don't exit after a failed test if $DONT_EXIT is set.
572
573 * test/everything/client.c (main)
574 * test/everything/server.c (main): Small const correctness fix.
575
5762005-01-27 Tor Lillqvist <tml@novell.com>
577
578 * src/idl-compiler/Makefile.am
579 * test/Makefile.am: No separate -lm on Win32.
580
581 * src/idl-compiler/orbit-idl-c-backend.c: mkdir() has different
582 prototype in Microsoft's C library.
583
584 Below changes from Cygwin port of ORBit2 by Gerrit P. Haase, see
585 www.cygwin.com/ml/cygwin-apps/2004-10/msg00030.html. They also
586 apply to native Win32.
587
588 * include/orbit/orb-core/corba-orb-type.h
589 * include/orbit/orb-core/corba-typecode.h: Drop the constness of
590 extern structs as it causes problems when building libORBit-2 as a
591 DLL on Win32 and Cygwin.
592
593 * src/idl-compiler/orbit-idl-c-headers.c (ch_type_alloc_and_tc)
594 * src/idl-compiler/orbit-idl-c-typecode.c
595 (orbit_output_tcstruct_anon_subtypes_array,
596 orbit_output_tcstruct_anon_sublabels_array, cbe_tc_generate): Drop
597 constness from generated code, for Win32 DLL reasons as above.
598
599 * src/idl-compiler/orbit-idl-c-skels.c (cbe_skel_interface_print_relayers):
600 Workaround Win32 restriction, use a temporary variable. (See ld
601 documentation for --enable-auto-import, and for instance
602 http://sources.redhat.com/ml/binutils/2001-09/msg00130.html)
603
604 * src/idl-compiler/orbit-idl-main.c: Drop constness from
605 a poptOption array, for obscure Win32 DLL reasons.
606
6072005-01-26 Tor Lillqvist <tml@novell.com>
608
609 * configure.in: Check also for utime.h, and sys/utime.h (where
610 MSVC keeps it, in case we some day want to be compileable by it).
611
6122005-01-26 Tor Lillqvist <tml@novell.com>
613
614 * configure.in: Changes for Win32: Set automake conditional
615 OS_WIN32. Check for more headers and functions. Add WinSock
616 library to LIBS.
617
618 * include/orbit/GIOP/giop-connection.h: Don't include netdb.h on
619 Win32. Is it even needed on Unix?
620
6212005-01-13 Jules Colding <colding@omesc.com>
622
623 * src/idl-compiler/orbit-idl-c-skelimpl.c (prev_char_is_nl): New function
624 that implements check of previously written character to the output file.
625 Excessive output of newline characters are fixed by checking the last
626 character written: If it is '\n' then do not write another '\n'.
627 (cbe_ski_do_list): The correct fix for exessive newline output.
628
629 Generation of skelimpl files has been fixed by protecting definitions and
630 declarations with #ifdef blocks. This is *not* the right fix. The right fix
631 would be to generate header files with the proper extern declarations. The
632 current "fix" has the drawback of forcing the developer to include the
633 skelimpl files in inheritance order: Most common ancestor first, then
634 progressively later descendants. The right fix requires more redesign of
635 the code than I would like to do now, so this hack must suffice for the time
636 being.
637
638 * src/idl-compiler/orbit-idl-c-backend.c (out_for_pass): Change the opening
639 mode of output files to "w+". This is needed to support the correct fix for
640 excessive newline output in skelimpl files.
641
642 * src/idl-compiler/orbit-idl-c-skelimpl.c: I had a really hard time parsing
643 the code with the former indentation level of 2, so I changed it to a more
644 reasonable 8.
645
6462005-01-12 Jules Colding <colding@omesc.com>
647
648 * src/idl-compiler/orbit-idl-main.c (main): Fix print of passes.
649
6502005-01-01 Jules Colding <colding@omesc.com>
651
652 * src/idl-compiler/orbit-idl-c-skelimpl.c (cbe_ski_do_list): Fix the former
653 fix for excessive newline output (integer overflow bug fixed).
654
6552004-12-28 Jules Colding <colding@omesc.com>
656
657 * src/idl-compiler/orbit-idl-c-skelimpl.c (cbe_ski_do_list): Prevent excessive
658 output of newlines for skelimpl files.
659
6602004-12-27 Jules Colding <colding@omesc.com>
661
662 * configure.in: Remove support for external indentation command.
663
664 * src/idl-compiler/orbit-idl-main.c: Removed all traces of the output formatter
665 command line option but leave a warning.
666
667 * src/idl-compiler/orbit-idl-c-backend.c (out_for_pass): "popen ==> fopen" for
668 all output files. The reason is to avoid opening a pipe as we don't want to use
669 an externally invoked indentation process.
670
671 * src/idl-compiler/orbit-idl3-types.h: Removed output_formatter.
672
6732004-12-22 Jules Colding <colding@omesc.com>
674
675 * test/everything/everything.idl: Added test for bug#161879.
676
677 * src/idl-compiler/orbit-idl-c-utils.c (orbit_cbe_get_const): Fix IDL compilation
678 of "const char N = '\x0A';" definitions (bug#161879).
679
680 * src/idl-compiler/orbit-idl3-types.h: Added output_directory to OIDL_Run_Info.
681
682 * src/idl-compiler/orbit-idl-c-backend.c: Prefixed output file with output directory.
683
684 * src/idl-compiler/orbit-idl-main.c: Added 'output-dir' command line option.
685
6862004-12-17 Michael Meeks <michael.meeks@novell.com>
687
688 * src/orb/orb-core/corba-any.c (ORBit_demarshal_value):
689 don't fail de-marshalling null & void - just do nothing.
690 (ORBit_copy_value_core): just copy nothing for void & null
691 - instead of breaking the val pointer.
692
6932004-10-02 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net>
694
695 * test/everything/client.c (testAnySequence),
696 * test/everything/server.c (SequenceServer_opAnySeq):
697 implement test for TC_void bug.
698
6992004-12-13 Joe McCann <joem@gentoo.org>
700
701 * configure.in: bump libIDL dep to 0.8.2.
702
7032004-11-12 Sandie Vanderme <sandie.vanderme@bull.net>
704
705 * include/orbit/orb-core/Makefile.am
706 (IDL_FLAGS_NO_DEFS): add src/orb/orb-core.
707
7082004-10-19 Paolo Borelli <pborelli@katamail.com>
709
710 * src/idl-compiler/Makefile.am: fix linking, patch by Jimmy Do.
711
7122004-10-02 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net>
713
714 * src/orb/orb-core/corba-env.c (CORBA_exception_set): Before
715 overwriting an exception, free any previous value contained by it.
716 Patch by Michael Meeks. Fixes #153299.
717
7182004-09-13 Mark McLoughlin <mark@skynet.ie>
719
720 * configure.in: Version 2.12.0.
721
7222004-08-25 Michael Haubenwallner <michael.haubenwallner@salomon.at>
723
724 * src/orb/orb-core/allocators.c (ORBit_freekids_via_TypeCode_T):
725 Step over align-holes at the end of structures (bug#151023)
726 * src/orb/orb-core/corba-any.c
727 (ORBit_marshal_value) (ORBit_demarshal_value)
728 (ORBit_copy_value_core) (ORBit_value_equivalent):
729 Ditto.
730 * test/everything/everything.idl
731 test/everything/client.c
732 test/everything/structServer.c:
733 Added testcase for bug#151023, align-holes at the end of structures.
734 * test/everything/constants.h:
735 Ditto.
736 Added constants for CHAR and OCTET.
737
7382004-08-19 Michael Meeks <michael@ximian.com>
739
740 * Version 2.11.2
741
742 * src/orb/GIOP/giop-recv-buffer.c
743 (giop_recv_list_destroy_queue_entry): unref the
744 ent's connection without the message queue lock
745 held.
746
747 * test/everything/client.c: bin stderr printfs
748 during thread tests, to avoid unhelpful rescheduling.
749
750 * src/orb/orb-core/orbit-small.c
751 (ORBit_small_unlisten_for_broken_full): use the
752 peek method, no need to try re-connecting just to
753 disconnect the 'broken' signal.
754
755 * src/orb/orb-core/corba-object.c
756 (CORBA_Object_release_cb): after a long audit;
757 unlock / lock around the giop connection unref;
758 this avoids the final connection release
759 deadlocking vs. a pending call in the I/O
760 thread needing this lock.
761 (ORBit_object_peek_connection): impl.
762
7632004-08-19 Magnus Therning <magnus@therning.org>
764
765 * src/idl-compiler/orbit-idl-backend.c: fix
766 bit-field assignments.
767
7682004-08-10 Michael Meeks <michael@ximian.com>
769
770 * test/everything/basicServer.c
771 (BasicServer_testBoolString): impl.
772
7732004-08-11 Kjartan Maraas <kmaraas@gnome.org>
774
775 * src/idl-compiler/orbit-idl-c-backend.c: (orbit_idl_output_c):
776 0 vs NULL.
777 * src/idl-compiler/orbit-idl-c-common.c: (cc_output_typecodes):i
778 Same here.
779 * src/idl-compiler/orbit-idl-c-utils.c:
780 (orbit_cbe_get_typespec_str): Same here too.
781 * src/orb/dynamic/dynany.c: (DynamicAny_DynUnion_member_name):
782 0 vs NULL and add some casts.
783 * src/orb/orb-core/allocators.c: (ORBit_freekids_via_TypeCode_T):
784 0 vs NULL fixes.
785 * src/orb/orb-core/corba-object.c: (ORBit_objref_find):
786 Same again.
787 * src/services/name/boot.c: (main): And again.
788 * test/echo-srv.c: (echo_srv_finish_object), (echo_srv_finish_poa):
789 And again.
790
7912004-08-10 Mark McLoughlin <mark@skynet.ie>
792
793 * src/orb/orb-core/iop-profiles.c: (IOP_start_profiles),
794 (IOP_TAG_CODE_SETS_demarshal): don't initialize the sequence
795 using structure initialization, but rather zero the structure
796 contents. Fixes bug #147255, which admittedly is really a
797 gcc on powerpc bug, but this code is nicer anyway.
798
7992004-08-08 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net>
800
801 * src/orb/orb-core/corba-any.c (ORBit_sequence_remove):
802 Impl. method to remove a single element in an ORBit sequence.
803
804 * include/orbit/orb-core/orbit-small.h: Add ORBit_sequence_remove
805 prototype.
806
807 * test/everything/client.c (testSequenceHelpers): Test
808 ORBit_sequence_remove.
809
8102004-07-30 Mark McLoughlin <mark@skynet.ie>
811
812 * test/test-corbaloc.c: "\%" isn't a valid escape sequence,
813 so just use "%". From d.binderman@virgin.net.
814
8152004-07-07 Frank Rehberger <frehberg@mole.xtradyne.de>
816
817 * Revert to Version 2.11.x and Add Version ORBit2-2.11.1
818 (developer release only)
819
8202004-07-07 Frank Rehberger <frehberg@gnome-de.org>
821 * Add Version ORBit2-2.12.0
822
8232004-06-22 Chris Landrieu <perotin101@yahoo.com>
824
825 * src/orb/orb-core/allocators.c (ORBit_freekids_via_TypeCode_T):
826 add missing pre-align for struct/except types. Complicate the
827 union alignment rules.
828
8292004-05-30 Christophe Saout <christophe@saout.de>
830
831 * src/orb/orb-core/corba-any.c:
832 (ORBit_marshal_value, ORBit_demarshal_value): Fix broken wstring
833 support. Marshal/demarshal the correct number of bytes on the
834 wire and negotiate the UTF-16 byte ordering using an optional
835 endianess marker. Also works now with JacORB.
836
8372004-05-30 Christophe Saout <christophe@saout.de>
838
839 * src/services/imodule/orbit-imodule-utils.c
840 (ORBit_imodule_get_typecode): set c_align in nested array
841 typecodes that are not handled by ORBit_imodule_find_c_align.
842
8432004-05-17 Michael Meeks <michael@ximian.com>
844
845 * ORBit-2.0.pc.in: prune pkgconfig cruft.
846
8472004-05-14 Fernando Herrera <fherrera@onirica.com>
848
849 * src/idl-compiler/orbit-idl-c-backend.c: (out_for_pass):
850 clobber LC_ALL because cpp tranlates some strings in some
851 locales during dep files generation that makes compilation
852 fails. Fixes bug #142546.
853
8542004-05-08 Frank Rehberger <frehberg@gnome-de.org>
855
856 * src/orb/orb-core/iop-profiles.c (IOP_start_profiles): orbit
857 generated profiles contain full codeset data structures
858 (IOP_component_free): freeing codeset structures
859 (CodeSetComponent_marshal): marshal codeset structures
860 (CodeSetComponent_demarshal): demarshal codeset structures
861 * src/orb/orb-core/iop-profiles.h (IOP_PROFILES_CODE_SET_*):
862 declare known code-sets, but UTF8 and UTF16 supported only.
863 (struct IOP_TAG_CODE_SETS_info): complete CodeSet data structure
864 using CONV_FRAME_CodeSetComponentInfo.
865 * src/orb/orb-core/corba-orb.c: variable orbit_use_corbaloc must
866 be of type gboolean.
867
8682004-05-07 Michael Meeks <michael@ximian.com>
869
870 * configure.in: bump version to 2.11.0 (after branch),
871 update configure message to point to gnome-2-6 branch.
872
8732004-05-02 Frank Rehberger <frehberg@gnome-de.org>
874
875 * src/orb/orb-core/corba-loc.c (corbaloc_profile_iiop): reference
876 constants defined for CSSIOP
877
878 * src/orb/orb-core/iop-defs.idl: add IIOP.idl and CORBA Security
879 Ineterop. attributes in files CSI.idl and CSIIOP.idl
880
8812004-05-01 Frank Rehberger <frehberg@gnome-de.org>
882
883 * src/idl: upgrade to CORBA-3.0 IDL files cause of security
884 attributes defined in there
885 * include/orbit/orb-core/orb-types.h: comment typedef being
886 defined in generated include/orbit/orb-core/corba-defs.h now.
887
8882004-05-07 Michael Meeks <michael@ximian.com>
889
890 * Branch for Gnome 2.6
891
8922004-04-24 Dan Winship <danw@ximian.com>
893
894 * src/services/imodule/Makefile.am (LDADD): Remove
895 $(LOCAL_LINC_LIBS). (Only libORBit-2 itself should be linking
896 against it.)
897
898 * src/services/name/Makefile.am (libORBitCosNaming_2_la_LDFLAGS):
899 Likewise
900
9012004-04-24 Frank Rehberger <frehberg@fresa.casa.in-berlin.de>
902
903 * MAINTAINERS: maintainer-ship handed over to frehberg@gnome-de.org
904
9052004-04-21 Michael Meeks <michael@ximian.com>
906
907 * Version 2.10.1
908
9092004-04-21 Michael Meeks <michael@ximian.com>
910
911 * src/orb/orb-core/iop-profiles.c
912 (CodeSetComponent_demarshal): don't spew a
913 g_warning, just a dprintf.
914 (IOP_UnknownComponent_marshal): actually marshal
915 the length of the sequence as well as the data.
916
9172004-04-21 Bill Haneman <bill.haneman@sun.com>
918
919 * test/everything/basicServer.c
920 (TestFactory_getObjectCount, TestFactory_getObject):
921 hammer on some JavaORB stuff.
922
923 * test/everything/client.c (testIOR): impl.
924 (run_tests): upd.
925
9262004-04-13 Joe Marcus Clarke <marcus@freebsd.org>
927
928 * ORBit-2.0.pc.in: add gthread dep.
929
9302004-03-19 Mark McLoughlin <mark@skynet.ie>
931
932 * orbit2-config.in: return -lORBitCosNaming-2 with
933 --use-service=name rather than -lORBitCosNaming.
934 This script is still deprecated old cruft, though.
935
9362004-03-04 Michael Meeks <michael@ximian.com>
937
938 * Version 2.10.0
939
940 * src/orb/orb-core/corba-orb.c (CORBA_ORB_init):
941 add 'orbit-io-thread' initializer to force I/O thread
942 usage.
943
944 * src/orb/GIOP/giop.c (giop_init): s/threaded/thread_safe/
945
9462004-02-12 Chris Toshok <toshok@ximian.com>
947
948 * Version 2.9.8
949
9502004-02-12 Chris Toshok <toshok@ximian.com>
951
952 * src/orb/orb-core/Makefile.am (INCLUDES): change the order so
953 that top_builddir is always listed first. This keeps heads in
954 top_srcdir from ending up in the .dep files and causing make
955 distcheck to fail.
956
9572004-02-10 Tomasz K³oczko <kloczek@pld.org.pl>
958
959 * acinclude.m4: added missing [] quotation first parameter of
960 AC_DEFUN(). This fix is for aclocal from automake 1.8.x and is
961 backward compatible with older auto tools.
962
9632004-02-10 Michael Meeks <michael@ximian.com>
964
965 * src/orb/orb-core/Makefile.am: always dist. HTTP_FILES.
966
9672004-02-06 Chris Toshok <toshok@ximian.com>
968
969 * src/orb/poa/poa.c (push_request_idle): add an @on_context arg,
970 so callers can specify the GMainContext to use. Also, NULL out
971 pcl->pobj and pcl->recv_buffer.
972 (poa_destroy_idle_closure): new function. free up the
973 PoaIdleClosure here, and release/unuse the POAObject/buffer if we
974 haven't hit the idle handler yet.
975 (ORBit_POA_handle_request): implement ORBIT_THREAD_HINT_ON_CONTEXT
976 case, and pass NULL to push_request_idle for the normal IDLE
977 cases.
978 (ORBit_poa_allow_cross_thread_call): add ON_CONTEXT where the
979 other idle poa policies are, and add a FIXME comment about needing
980 something along the lines of g_main_context_get_owner to implement
981 it properly.
982
983 * src/orb/poa/object-adaptor.c
984 (ORBit_ObjectAdaptor_set_thread_hintv): extract the GMainContext
985 out of the arg list in the ON_CONTEXT case.
986
987 * include/orbit/poa/orbit-adaptor.h (ORBit_ObjectAdaptor_type):
988 add context slot.
989
9902004-02-06 Michael Meeks <michael@ximian.com>
991
992 * src/orb/orb-core/Makefile.am (IDL_DIR): set
993 this so we're not vunerable to environment
994 problems.
995
9962004-02-05 Michael Meeks <michael@ximian.com>
997
998 * test/test-giop.c (run_test): upd. tests.
999
10002004-02-04 Michael Meeks <michael@ximian.com>
1001
1002 * Version 2.9.7
1003
10042004-02-04 Michael Meeks <michael@ximian.com>
1005
1006 * src/orb/GIOP/giop-recv-buffer.c
1007 (giop_recv_list_zap): signal the wait condition on
1008 threads when a connection dies.
1009
10102004-02-04 Michael Meeks <michael@ximian.com>
1011
1012 * src/orb/GIOP/giop.c (wakeup_mainloop): handle EAGAIN
1013 on wakeup pipe more elegantly, downgrade g_error.
1014
10152004-02-02 Kjartan Maraas <kmaraas@gnome.org>
1016
1017 * src/services/imodule/orbit-imodule.c: (build_cpp_args):
1018 Don't use deprecated function. Closes bug #133168.
1019
10202004-02-02 Michael Meeks <michael@ximian.com>
1021
1022 * docs/internals/Makefile.am: add misc. bits.
1023
1024 * docs/internals/interface-indirection.xls: switch
1025 from .gnumeric, and tag -kb.
1026
10272004-01-25 Alexander Winston <alexander.winston@comcast.net>
1028
1029 * ORBit2.m4: quote it properly
1030
10312004-01-16 Michael Meeks <michael@ximian.com>
1032
1033 * Version 2.9.6
1034
10352004-01-16 Michael Meeks <michael@ximian.com>
1036
1037 * src/orb/orb-core/corba-any.c (ORBit_copy_value_core):
1038 fetch the union tag only after pre-aligning correctly,
1039 vicious PPC snafu; thanks to Jeroen Zwartepoorte for
1040 his patience.
1041
1042 * test/everything/everything.idl: add a double
1043 to the VariableLengthUnion - causing grief on PPC.
1044
10452004-01-15 Mark McLoughlin <mark@skynet.ie>
1046
1047 * Version 2.9.5
1048
10492004-01-15 Mark McLoughlin <mark@skynet.ie>
1050
1051 * src/orb/orb-core/corba-env.c: (CORBA_exception_free),
1052 (CORBA_exception_set_system), (CORBA_exception_set),
1053 (CORBA_exception_init): add pre-conditions so as to
1054 warn people that passing NULL for the environment to
1055 CORBA methods is not allowed, without changing the
1056 existing behaviour.
1057
10582004-01-14 Michael Meeks <michael@ximian.com>
1059
1060 * Version 2.9.4
1061
10622004-01-14 Michael Meeks <michael@ximian.com>
1063
1064 * test/everything/client.c (testWithException): add.
1065
1066 * src/orb/orb-core/orbit-small.c
1067 (ORBit_small_invoke_stub): always clean Environment
1068 as it enters - otherwise there's no way of telling if
1069 the return value is valid.
1070
1071 * src/orb/poa/poa.c (ORBit_c_stub_invoke): init ev.
1072 here too; same reason; upd. locking comments.
1073
10742004-01-14 Albert Chin-A-Young <china@thewrittenword.com>
1075
1076 * include/orbit/GIOP/giop-recv-buffer.h: guint for
1077 single bitfield.
1078
1079 * src/orb/orb-core/corba-object.c (CORBA_Object_is_a),
1080 * src/orb/poa/poa.c (ORBit_POA_setup_root): fix
1081 array assigment portability.
1082
10832004-01-09 Michael Meeks <michael@ximian.com>
1084
1085 * Version 2.9.3
1086
10872004-01-09 Michael Meeks <michael@ximian.com>
1088
1089 * src/orb/orb-core/orbit-small.c
1090 (ORBit_small_invoke_stub): add performance
1091 comment and pass method flags in.
1092
1093 * src/orb/poa/poa.c (get_c_method),
1094 (ORBit_c_stub_invoke): extract / pass on the
1095 method flags to:
1096 (ORBit_poa_allow_cross_thread_call): if we
1097 have an non-std. threading policy, then do
1098 a 'true' oneway call.
1099
11002004-01-06 Michael Meeks <michael@ximian.com>
1101
1102 * configure.in: fix 'if !' bug for Morten.
1103
11042003-12-10 Michael Meeks <michael@ximian.com>
1105
1106 * src/orb/GIOP/giop.c (giop_init): make the
1107 write pipe non-blocking.
1108 (giop_thread_queue_process): fix printf.
1109 (giop_thread_push_recv): kill.
1110 (giop_incoming_signal_T): add 'type' param; we
1111 know people are waiting for replies and don't need
1112 wakeup.
1113 (giop_invoke_async, giop_thread_request_push):
1114 annotate as requests not replies.
1115
1116 * src/orb/GIOP/giop-recv-buffer.c
1117 (handle_reply): in-line giop_thread_push_recv
1118 for simplicity & mark as a reply type.
1119
11202003-12-10 Alexander Larsson <alexl@redhat.com>
1121
1122 * src/orb/GIOP/giop.c (first_valid_request):
1123 Really look up the policy
1124
11252003-12-08 Michael Meeks <michael@ximian.com>
1126
1127 * Version 2.9.2
1128
11292003-12-08 Michael Meeks <michael@ximian.com>
1130
1131 * src/orb/orb-core/orbit-small.c
1132 (ORBit_small_invoke_stub): bin double unuse in
1133 MARSHAL_RETRY loop; add more exception handling.
1134
11352003-12-06 Michael Meeks <michael@ximian.com>
1136
1137 * src/orb/GIOP/giop.c (wakeup_mainloop): don't spin on
1138 EAGAIN, if the buffer is full we're sure of waking the
1139 mainloop. Warn on EAGAIN - someone isn't running the
1140 glib mainloop.
1141
11422003-11-17 Frank Rehberger <frehberg@xtradyne.de>
1143
1144 * src/orb/GIOP/giop.c (giop_mainloop_handle_input): invoke
1145 giop_thread_queue_process with specific GIOPThread object instead
1146 NULL.
1147
11482003-11-15 Frank Rehberger <frehberg@xtradyne.de>
1149
1150 * src/idl-compiler/orbit-idl-c-skelimpl.c (cbe_ski_do_interface):
1151 fix mem-leak in generated code: g_free (servant) in destructor
1152 impl_*__destroy() by default
1153
11542003-11-13 Michael Meeks <michael@ximian.com>
1155
1156 * Version 2.9.1
1157
1158 * src/orb/orb-core/Makefile.am: fix include.
1159
11602003-11-10 Justin Schoeman <justin@expertron.co.za>
1161
1162 * src/orb/GIOP/giop-recv-buffer.c (giop_recv_buffer_use_buf,
1163 giop_recv_buffer_unuse): Add a reference to the connection on
1164 giop_recv_buffer_use_buf, and remove it on giop_recv_buffer_unuse.
1165 Prevents a connection shutdown while a request is being handled.
1166
11672003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1168
1169 * linc2/src/linc-server.c (link_server_handle_io): Change g_error
1170 to g_warning to avoid crash if revents field reset between check()
1171 and dispatch(). Fixes bug #126209.
1172
11732003-11-03 Frank Rehberger <frehberg@xtradyne.com>
1174
1175 * src/orb/poa/poa.c (ORBit_POA_invocation_stack_pop)
1176 (ORBit_POA_invocation_stack_push)
1177 (ORBit_POA_invocation_stack_lookup_objid)
1178 (ORBit_POA_invocation_stack_lookup_objref)
1179 (ORBit_POA_invocation_stack_peek): refactore code managing
1180 invocation stack; done for later thread aware management of stack.
1181
11822003-11-03 Justin Schoeman <justin@expertron.co.za>
1183
1184 * src/orb/orb-core/corba-orb.c (ORBit_initial_references_by_user):
1185 Destroy the NameService object after calling
1186 ORBit_set_initial_reference on it, as ORBit_set_initial_reference
1187 dup's the object.
1188
11892003-10-31 Michael Meeks <michael@ximian.com>
1190
1191 * src/orb/GIOP/giop.c (giop_thread_free):
1192 only free policy queue if we have one.
1193
1194 * src/orb/GIOP/giop-recv-buffer.c
1195 (giop_connection_handle_input): on HUP goto
1196 msg_error so we don't leave the cnx->incoming_msg
1197 hanging around.
1198
11992003-10-30 Michael Meeks <michael@ximian.com>
1200
1201 * test/everything/lifeCycle.c
1202 (LifeCycleServer_deactivateUnrefOnReturn): a nasty
1203 in-proc hack that unreferences our CORBA_Object
1204 handle.
1205
1206 * test/everything/client.c (testLifeCycle): use
1207 the ORBit_small_invoke_stub_n path, used by older
1208 stubs.
1209
12102003-10-29 Justin Schoeman <justin@expertron.co.za>
1211
1212 * src/orb/orb-core/orbit-object.c (ORBit_RootObject_shutdown): fix
1213 declaration of valid_running when G_ENABLE_DEBUG is defined.
1214 * src/orb/GIOP/giop.c (giop_thread_request_push_key): make sure
1215 tdata is set before calling giop_thread_key_add_T.
1216
12172003-10-27 Michael Meeks <michael@ximian.com>
1218
1219 * test/everything/client.c (testPolicy): impl.
1220
1221 * src/orb/orb-core/orbit-policy.c
1222 (ORBit_object_get_policy, ORBit_object_set_policy): impl.
1223
1224 * src/orb/orb-core/orbit-small.c
1225 (ORBit_small_invoke_stub): push/pop the policy if
1226 there is one associated with an object.
1227
1228 * src/orb/GIOP/giop.c (giop_thread_queue_process):
1229 move it here, rename, re-hash, fix leak.
1230 (giop_thread_queue_empty_T): implement.
1231 (giop_thread_request_process): move into process_queue.
1232 (giop_mainloop_handle_input): upd.
1233 (giop_invoke_async): push the async reply to the
1234 right thread, cleanly.
1235 (giop_thread_queue_tail_wakeup): impl.
1236 (giop_list_pop): re-implement, bin GQueue - it's more bloated,
1237 and sucks harder than GList.
1238 (giop_thread_free): free policy queue.
1239
1240 * src/orb/GIOP/giop-recv-buffer.c
1241 (giop_recv_buffer_get): handle switch to threaded
1242 IO in mid wait properly.
1243 (giop_recv_handle_queued_input): move this to giop.c
1244 (handle_reply): bin process_now
1245
12462003-10-24 Michael Meeks <michael@ximian.com>
1247
1248 * src/orb/GIOP/giop.c (giop_shutdown): allow
1249 shutdown from any thread - this looks safe enough,
1250 at least here.
1251
12522003-10-23 Mark McLoughlin <mark@skynet.ie>
1253
1254 * configure.in: release version 2.9.0.
1255
12562003-10-23 Mark McLoughlin <mark@skynet.ie>
1257
1258 * test/everything/lifeCycle.c: add this from the
1259 2.8.2 tarball. Michael must have forgotten to
1260 CVS add it.
1261
12622003-10-14 Michael Meeks <michael@ximian.com>
1263
1264 * src/orb/poa/poa.c (ORBit_POA_destroy_T_R):
1265 rename to this; fix nasty deadlock with child
1266 poas.
1267
12682003-10-10 Michael Meeks <michael@ximian.com>
1269
1270 * configure.in: switch to 2.9.0
1271
1272 * ORBit.spec.in: fix from Joe Pranevich.
1273
1274 * src/orb/GIOP/giop-recv-buffer.c
1275 (giop_recv_thread_fn): prune cruft.
1276
1277 * src/orb/GIOP/giop-connection.c
1278 (giop_connections_shutdown): axe.
1279
1280 * src/orb/GIOP/giop.c (giop_shutdown): call
1281 linc_connections_close.
1282
1283 * src/orb/poa/poa.c (get_c_method): re-order check
1284 for ORBIT_ADAPTOR_POA to pre the cast, check that we're
1285 not walking over the end of vepvmap_cache.
1286 (ORBit_skel_class_register): setup VEPV_CACHE_SIZE
1287 using the 0'th element of vepvcache.
1288
12892003-10-01 Michael Meeks <michael@ximian.com>
1290
1291 * src/orb/poa/poa.c (ORBit_POA_destroy_T): make
1292 the adaptor array walk slightly faster.
1293
1294 * test/everything/client.c (test_time_noop):
1295 fix timer leak.
1296
12972003-10-08 Olivier Andrieu <oliv__a@users.sourceforge.net>
1298
1299 * src/orb/orb-core/corba-typecode.c: (CORBA_TypeCode_id),
1300 (CORBA_TypeCode_name), (CORBA_TypeCode_member_name),
1301 (CORBA_TypeCode_member_type), (CORBA_TypeCode_discriminator_type),
1302 (CORBA_TypeCode_content_type):
1303 duplicate return values of type string or TypeCode in
1304 CORBA_TypeCode_* functions for spec conformance.
1305
13062003-10-07 Ian McKellar <yakk@yakk.net>
1307
1308 * src/services/imodule/orbit-imodule.c:
1309 (ORBit_iinterface_fill_iargs):
1310 I suck - Olivier just made a better version of my change.
1311 I'm reverting it.
1312
13132003-10-07 Ian McKellar <yakk@yakk.net>
1314
1315 reviewed by: Michael Meeks <michael@ximian.com>
1316
1317 * src/services/imodule/orbit-imodule.c:
1318 (ORBit_iinterface_fill_iargs):
1319 Fill in the iarg->name from the IDL.
1320
13212003-10-06 Olivier Andrieu <oliv__a@users.sourceforge.net>
1322
1323 * src/services/imodule/orbit-imodule.c:
1324 (ORBit_iinterface_fill_iargs):
1325 fill the name field of ORBit::IArg struct
1326
13272003-10-02 Alexander Larsson <alexl@redhat.com>
1328
1329 * include/orbit/GIOP/giop-types.h:
1330 * include/orbit/GIOP/giop.h:
1331 * src/orb/GIOP/giop.c: (giop_thread_new), (giop_thread_key_add_T),
1332 (giop_thread_key_release_T), (giop_thread_free),
1333 (giop_thread_self), (giop_thread_key_add),
1334 (giop_thread_key_release), (giop_thread_request_push_key),
1335 (giop_request_handler_fn), (giop_init):
1336 Allow GIOPThreads to have several keys.
1337 Don't leak some GIOPThread contents.
1338
1339 * src/orb/poa/orbit-adaptor.c:
1340 * include/orbit/poa/orbit-adaptor.h:
1341 Add ORBIT_THREAD_HINT_ON_CONTEXT to case to fix warning.
1342 Fix recursion in ORBit_ObjectAdaptor_set_thread_hint
1343 Implement ORBit_ObjectAdaptor_object_bind_to_current_thread.
1344
1345 * src/orb/poa/poa.c: (ORBit_POA_handle_request):
1346 Add comment about thread binding.
1347
13482003-09-30 Michael Meeks <michael@ximian.com>
1349
1350 * src/orb/poa/poa.c (ORBit_POAObject_handle_request):
1351 get the pobj->use_cnt tracking right.
1352
1353 * src/orb/GIOP/giop.c (scan_socket_dir): actually
1354 use the string comparison to use the sort order,
1355 not the directory order.
1356
1357 * test/everything/server.c
1358 (TestFactory_createLifeCycleServer): impl
1359 * test/everything/lifeCycle.c: add module.
1360 * test/everything/client.c (testLifeCycle): impl.
1361 (run_tests): upd. - try to catch Ettore's bug - to no
1362 avail.
1363
1364 * src/idl-compiler/orbit-idl-main.c: at least return
1365 error status on an error ...
1366
13672003-09-29 Michael Meeks <michael@ximian.com>
1368
1369 * test/test-mem.c (main_func): release refs we own.
1370
1371 * test/test-performance.c (test_activation): destroy
1372 the child poa nicely.
1373
1374 * src/orb/poa/poa.c (PortableServer_POA_destroy):
1375 hold the POA lock, re-flow.
1376 (ORBit_POA_destroy_T): upd. lock/unlock children.
1377
1378 * src/orb/orb-core/corba-object.c
1379 (ORBit_try_connection_T): clean warnings.
1380
1381 * src/orb/poa/poa.c (ORBit_POA_deactivate_object_T):
1382 rename to this.
1383 (ORBit_POAObject_handle_request): upd, hold a poa
1384 ref. for longer.
1385
1386 * src/orb/orb-core/corba-orb.c
1387 (CORBA_ORB_destroy, shutdown_orb): stop the g_atexit
1388 case from moaning about leaked references, if we have to
1389 do work here, then someone didn't do a debug_shutdown
1390 properly anyway, so it will always moan annoyingly.
1391
1392 * src/orb/orb-core/orbit-object.c
1393 (ORBit_RootObject_shutdown): add non-moaning option
1394
13952003-09-29 Olivier Andrieu <oliv__a@users.sourceforge.net>
1396
1397 * src/orb/orb-core/orbit-typelib.c (add_if_unique)
1398 (ORBit_get_typelib_paths): update typelib_path semantics
1399 to be more sane.
1400
14012003-09-22 Kjartan Maraas <kmaraas@gnome.org>
1402
1403 * acconfig.h: Removed.
1404 * configure.in: Added templates from acconfig.h here..
1405 * src/orb/orb-core/corba-any.c: (ORBit_sequence_concat):
1406 * src/orb/orb-core/corba-orb.c:
1407 (CORBA_ORB_resolve_initial_references):
1408 * src/services/imodule/orbit-imodule.c: (build_cpp_args):
1409 * test/test-corbaloc.c: (main): Remove compiler warnings.
1410
1411Thu Sep 18 09:09:39 2003 George Lebl <jirka@5z.com>
1412
1413 * src/orb/util/genrand.c: when seeding from time shift the
1414 seconds up as we don't really care much about the high
1415 order bits (they're not interesting). Achieve almost 32
1416 bits of entropy within an hour of uncertainty this way
1417 rather then a century. Only affects places without
1418 /dev/urandom
1419
14202003-09-16 Michael Meeks <michael@ximian.com>
1421
1422 * configure.in: add $(top_builddir)/linc2/include
1423 to LOCAL_LINC_CFLAGS - how did distcheck not pick
1424 this up ?
1425
14262003-09-09 Michael Meeks <michael@ximian.com>
1427
1428 * Version 2.8.1
1429
14302003-09-08 Padraig O'Briain <padraig.obriain@sun.com>
1431
1432 * linc2/src/linc-private.h: Add field was_disconnected in order to
1433 deal with the case where connecting after disconnection returns
1434 EINPROGRESS.
1435 * linc2/src/linc-connection.c:
1436 (linc_connection_state_changed_T_R): Do not emit "broken" signal if
1437 disconnected field is set.
1438 (linc_connection_try_disconnect): Set was_disconnected field before
1439 calling link_connection_wait_connected_T.
1440 (link_connection_init): Initialize was_disconnected to FALSE.
1441
1442 This fixes bug #121246.
1443
14442003-09-05 Frank Rehberger <Frank.Rehberger@xtradyne.de>
1445
1446 * test/test-mem.c: autmatic memory verification based on 'ps' command,
1447 added POA test
1448
14492003-08-26 Michael Meeks <michael@ximian.com>
1450
1451 * Version 2.8.0
1452
14532003-08-21 Frank Rehberger <Frank.Rehberger@xtradyne.de>
1454
1455 * src/orb/orb-core/corba-any.c (ORBit_sequence_concat): initial
1456 implementaion
1457
14582003-08-19 Frank Rehberger <Frank.Rehberger@xtradyne.de>
1459
1460 * src/orb/orb-core/corba-loc.c (ORBit_corbaloc_from): encode
1461 giop-version in corbaloc
1462
1463 * src/orb/orb-core/corba-object.c (ORBit_object_to_corbaloc):
1464 representation for empty object reference
1465 (ORBit_object_by_corbaloc): accept corbaloc representation for
1466 empty object
1467
1468 * src/orb/orb-core/corba-orb.c (CORBA_ORB_object_to_string): if
1469 corbaloc fails, fallback to common marshalling
1470
14712003-08-11 Michael Meeks <michael@ximian.com>
1472
1473 * Version 2.7.6
1474
14752003-08-08 Michael Meeks <michael@ximian.com>
1476
1477 * src/orb/orb-core/corba-object.c
1478 (ORBit_try_connection_T): rename to this, return the
1479 correct state, and handle the result.
1480 (ORBit_object_get_connection): in here.
1481 (ORBit_try_connection_T): drop the lock over the
1482 [re-]connection phase - it's possibly re-enterant. #117970
1483
1484 * src/orb/GIOP/giop-connection.c
1485 (giop_connection_try_reconnect): return the status.
1486
14872003-08-07 Michael Meeks <michael@ximian.com>
1488
1489 * src/orb/orb-core/corba-orb.c (shutdown_orb):
1490 set init_level to 1, so our g_atexit handler
1491 actually does clean-up the ORB bits.
1492
14932003-08-06 Michael Meeks <michael@ximian.com>
1494
1495 * configure.in: don't link libIDL into the name
1496 service; thanks Morten.
1497
14982003-08-04 James Henstridge <james@daa.com.au>
1499
1500 * src/services/imodule/orbit-imodule.c (build_cpp_args): add
1501 function to build up a full set of cpp args (adds __ORBIT_IDL__
1502 and __basename_COMPILATION). Makes many Gnome IDL files just
1503 work.
1504 (ORBit_iinterfaces_from_file): use build_cpp_args() to build the
1505 full set of CPP args.
1506
15072003-07-31 Michael Meeks <michael@ximian.com>
1508
1509 * Version 2.7.5
1510
1511 * src/orb/orb-core/corba-object.c: by-pass invoke_stub
1512 in-proc, since we may have a transient policy on our
1513 object; and we want an answer now.
1514
1515 * test/everything/server.c
1516 (TestFactory_getDerivedServer): impl.
1517 (test_TestFactory__init): upd.
1518
1519 * test/everything/derivedServer.c: add.
1520
1521 * src/orb/orb-core/corba-loc.c (ORBit_corbaloc_from):
1522 invert ssl_info NULL check's sense, remove redundant
1523 braces / inits. Add a 'break' so we don't drop through
1524 to the next case by mistake.
1525
1526 * test/everything/client.c (testIsA): hammer _is_a
1527 on the 'diamond of death'.
1528
15292003-07-30 Frank Rehberger <Frank.Rehberger@xtradyne.de>
1530
1531 * src/orb/orb-core/corba-object.c (g_CORBA_Object_hash): use
1532 object key for calculation, remove commented code
1533
1534 * src/orb/orb-core/corba-loc.c (ORBit_corbaloc_from): if ssl port
1535 given create ssliop-profile instead of iiop-profile.
1536
15372003-07-30 Michael Meeks <michael@ximian.com>
1538
1539 * test/everything/server.c, client.c: upd. to
1540 "orbit-local-non-threaded-orb".
1541
1542 * src/orb/orb-core/corba-orb.c
1543 (CORBA_ORB_init): default to a thread-safe ORB, since we
1544 can't have GConf initializing without threads, and then
1545 libbonobo requiring that we have them later; and (it seems)
1546 GConf won't change.
1547
1548 * Makefile.shared: parallel build messing.
1549
1550 * src/orb/orb-core/Makefile.am: parallel build fixage.
1551
15522003-07-29 Michael Meeks <michael@ximian.com>
1553
1554 * configure.in: disable linux/irda.h check / include,
1555 causing misc. problems, and the code is unused anyway.
1556 #118495.
1557
15582003-07-29 Frank Rehberger <Frank.Rehberger@web.de>
1559
1560 * src/orb/orb-core/corba-loc.c (corbaloc_profile_iiop_parse):
1561 polishing comments and layout (true K&R)
1562 (corbaloc_profile_iiop): target supports full security features,
1563 target requires at least integrity and confidentiality
1564
1565 * src/orb/orb-core/corba-object.c (g_CORBA_Object_hash): polishing
1566 comments
1567
15682003-07-28 Frank Rehberger <Frank.Rehberger@web.de>
1569
1570 * test/everything/test.sh (SAMPLE_NAME): regression test for corbaloc
1571
1572 * src/orb/orb-core/corba-orb.c (CORBA_ORB_object_to_string):
1573 feature allows stringified represantation in corbaloc syntax
1574
15752003-07-28 Frank Rehberger <Frank.Rehberger@web.de>
1576
1577 * test/Makefile.am (noinst_PROGRAMS): add target test-corbaloc
1578
1579 * test/test-corbaloc.c: test verifies string->object
1580 transformation from corbaloc strings
1581
1582 * src/orb/orb-core/corba-orb.c (CORBA_ORB_string_to_object):
1583 provide corbaloc parsing
1584
1585 * src/orb/orb-core/Makefile.am (main_src): add corba-loc.c
1586
1587 * src/orb/orb-core/corba-loc.c: new module, provides OMG corbaloc
1588 support
1589
1590 * src/orb/orb-core/corba-object.c (ORBit_object_to_corbaloc):
1591 thread safe invocation of corbaloc functions
1592 (ORBit_object_by_corbaloc): thread safe creation of object from
1593 corbaloc string
1594
15952003-07-28 Frank Rehberger <Frank.Rehberger@web.de>
1596
1597 * src/orb/orb-core/iop-profiles.c (IOP_ObjectKey_dump): zero
1598 padding in hex object key
1599
1600 * src/orb/orb-core/iop-profiles.c (IOP_profile_dump): free
1601 temporary 'key'
1602
1603 * src/orb/orb-core/corba-orb.c (ORBit_initial_references_by_user):
1604 protect initial references "RootPOA" and "POACurrent" from being
1605 set by user
1606
16072003-07-25 Dan Winship <danw@ximian.com>
1608
1609 * src/idl-compiler/orbit-idl-main.c (main): Don't print version
1610 info / flags to stderr. They're not errors.
1611
16122003-07-15 Michael Meeks <michael@ximian.com>
1613
1614 * src/orb/util/orbit-options.c
1615 (ORBit_option_command_line_parse): fix warning,
1616 bin redundant commenting.
1617
1618 * Version 2.7.3
1619
16202003-07-15 Michael Meeks <michael@ximian.com>
1621
1622 * src/orb/orb-core/corba-object.c
1623 (ORBit_try_connection): bin the TESTME g_warning.
1624
16252003-07-14 Mark McLoughlin <mark@skynet.ie>
1626
1627 Fix for bug #103159.
1628 Patiently tracked down by Brian Cameron <brian.cameron@sun.com>
1629
1630 * src/orb/orb-core/corba-any.c: (ORBit_value_equivalent):
1631 align to the discriminator before figure out the members
1632 typecode based on the discriminator value.
1633
16342003-07-14 Michael Meeks <michael@ximian.com>
1635
1636 * test/everything/client.c (testSegv): fix silly -
1637 amazing that gcc didn't catch this for me (!?)
1638
1639 * src/orb/GIOP/giop-recv-buffer.c: bin execinfo,
1640 thanks Morten.
1641
16422003-07-11 Michael Meeks <michael@ximian.com>
1643
1644 * src/orb/orb-core/corba-orb.c
1645 (ORBit_initial_references_by_user): fix iterator type.
1646
1647 * src/orb/orb-core/corba-object.c
1648 (ORBit_try_connection): use the (now) thread safe
1649 linc_connection_wait_connected [ although not re-enterant
1650 sadly ], if we've connected in the past, always return
1651 the same connection - but have a go at reviving it if
1652 it dropped.
1653
16542003-07-09 Michael Meeks <michael@ximian.com>
1655
1656 * test/everything/client.c (testNonExistent): impl.
1657
1658 * src/orb/orb-core/corba-object.c
1659 (CORBA_Object_non_existent): wait until it's connected
1660 before giving a verdict.
1661
16622003-07-08 Michael Meeks <michael@ximian.com>
1663
1664 * src/orb/orb-core/corba-orb.c: bin popt.h include.
1665
16662003-07-07 Michael Meeks <michael@ximian.com>
1667
1668 * test/everything/client.c (testPingPong): reset max_buffer
1669 on the cnx to 0 afterwards the test - ie. don't poison other
1670 stuff.
1671
1672 * src/orb/orb-core/orbit-small.c (async_recv_cb):
1673 call destroy_queue_entry on the mqe.
1674
1675 * src/orb/GIOP/giop-recv-buffer.c (giop_recv_list_setup_queue_entry)
1676 (giop_recv_list_destroy_queue_entry): hold a ref. on the cnx.
1677 (giop_recv_destroy_queue_entry_T): split out.
1678
1679 * src/orb/dynamic/dynany.c (ORBit_DynAnyFactory_new): impl.
1680
1681 * src/orb/orbit-init.c (ORBit_init_internals): register
1682 DynAnyFactory - a completely bogus object to satisfy the spec.
1683
1684 * src/orb/orb-core/corba-orb.c
1685 (ORBit_initial_references_by_user): cleanup.
1686
16872003-07-07 Michael Meeks <michael@ximian.com>
1688
1689 * test/everything/test.sh: put the failures first.
1690
1691 * src/orb/GIOP/giop-send-buffer.c
1692 (giop_send_buffer_unuse): shrink indirect chunk size, so
1693 we don't keep vast buffers kicking around.
1694
1695 * src/orb/orb-core/corba-any.c (ORBit_sequence_append):
1696 prune comments.
1697
1698 * src/orb/orb-core/allocators.c (ORBit_realloc_tcval):
1699 bin comments / extra braces - nice otherwise.
1700
17012003-07-03 Frank Rehberger <Frank.Rehberger@web.de>
1702
1703 * src/orb/orb-core/corba-any.c (ORBit_sequence_alloc): undo
1704 previous change, now sequence length initially seq->_length=length
1705 * test/everything/client.c (testSequenceHelpers): undo previous
1706 changes to client.c
1707
17082003-07-03 Frank Rehberger <Frank.Rehberger@web.de>
1709
1710 * src/orb/orb-core/corba-context.c (ORBit_Context_demarshal): fix
1711 for #116338
1712
17132003-07-02 Frank Rehberger <Frank.Rehberger@web.de>
1714
1715 * src/orb/orb-core/allocators.c (ORBit_realloc_tcval): prevent
1716 SEGV on empty sequences; if(old_num_elements==0 && !old_buffer)
1717 return ORBit_alloc_tcval(tc,num_elements);
1718
17192003-07-01 Frank Rehberger <Frank.Rehberger@web.de>
1720
1721 * src/orb/orb-core/corba-any.c (ORBit_sequence_alloc): invoke
1722 CORBA_sequence_set_release (seq, CORBA_TRUE) on new sequence,
1723 otherwise _buffer wouldn't be CORBA_free'd! Length of new sequence
1724 is 0 instead of _length==_maximum.
1725 (ORBit_sequence_append): calculate resized seq-length by
1726 new_len = MAX (2, (seq->_maximum * 2));
1727
1728 * test/everything/client.c (testSequenceHelpers): extend
1729 ORBit_sequence* tests
1730
17312003-06-30 Padraig O'Briain <padraig.obriain@sun.com>
1732
1733 * linc2/src/linc-connection.c: Move link_source_remove and
1734 link_source_add to before link_connection_state_changed_T_R.
1735
1736 This fixes bug #116350.
1737
17382003-06-28 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net>
1739
1740 * docs/api/Makefile.am (DOC_SOURCE_DIR): indicate a source dir, so
1741 that gtk-doc can scan for inline docs.
1742
1743 * src/orb/orb-core/allocators.c: Added an extra asterisk to the
1744 comment block in the beginning of the file, to prevent gtk-doc
1745 from thinking this is an inline documentation comment.
1746
17472003-06-27 Frank Rehberger <Frank.Rehberger@web.de>
1748
1749 * src/orb/orb-core/corba-orb.c (CORBA_ORB_resolve_initial_references):
1750 feature-disabled: disabled exceptions that broke GNOME in
1751 bonobo_arg_new(). Feature should be re-enabled for later release.
1752
17532003-06-24 Michael Meeks <michael@ximian.com>
1754
1755 * test/everything/client.c (testUnboundedSequence): fix silly.
1756
1757 * src/orb/orb-core/orbit-small.c (ORBit_small_listen_for_broken)
1758 (ORBit_small_unlisten_for_broken_full): upd.
1759
17602003-06-22 Frank Rehberger <Frank.Rehberger@web.de>
1761
1762 * src/orb/util/orbit_optionss.h: introducing type ORBit_OptionKeyValue
1763 * src/orb/orb-core/corba-orb.c: bugfix in CORBA_init() of initial
1764 -ORBInitRef and -ORBNamingIOR option parsing
1765
17662003-06-22 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net>
1767
1768 * docs/api/ORBit2-sections.txt: Created the orbit2-small section.
1769
1770 * docs/api/Makefile.am: Instead of specifying an include directory
1771 for gtkdoc-scan, indicate a specific set of files to scan instead,
1772 via the variable EXTRA_HFILES.
1773
1774 * docs/api/ORBit2-docs.sgml: Added the orbit2-small section.
1775
1776 * docs/api/tmpl/orbit2-small.sgml: New template file for the orbit-small.h header.
1777
1778 * docs/api/tmpl/orbit2-allocators.sgml: Added some documention for
1779 this section.
1780
17812003-06-19 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net>
1782
1783 * Makefile.shared: Moved the target 'distclean-local' out of the
1784 MAINTAINER_MODE conditional because, since the deps are always
1785 generated (regardless of maintainer mode), they should be always
1786 be deleted too; This avoids the "files left in build directory
1787 after distclean" automake 1.7 error.
1788
1789 * test/Makefile.am (DYNANY_IDLOUT): Added skels and stubs sources.
1790
1791 * docs/api/ORBit2-sections.txt: New file, ORBit2 API sections.
1792
1793 * docs/api/ORBit2-docs.sgml: New file, main ORBit2 API docbook source.
1794
1795 * docs/api/Makefile.am: New makefile, to build ORBit2 API docs.
1796
1797 * linc2/configure.in, linc2/acconfig.h, linc2/autogen.sh: Removed
1798 these files: they're no longer used, and are getting in the way.
1799
1800 * autogen.sh: Use (include) generic gnome autogen; Require
1801 automake >= 1.6 because of gtk-doc.
1802
1803 * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Added --enable-gtk-doc,
1804 to make distcheck work.
1805
1806 * configure.in: Write linc2/include/linc/linc-config.h; gtk-doc
1807 detection. Write docs/api/Makefile.
1808
1809 * test/poa/Makefile.am: Avoid "blank line following trailing
1810 backslash" automake warning.
1811
1812 * test/everything/Makefile.am (BUILT_SOURCES): Removed duplicate
1813 definition.
1814 (CLEANFILES): Also removed this duplicate definition.
1815
1816 * src/orb/dynamic/Makefile.am: Removed duplicate definition of
1817 DYNAMIC_IDLOUT.
1818
1819 * src/orb/orb-core/Makefile.am (IDL_COMPILER): Removed, twice;
1820 already defined in Makefile.shared.
1821
18222003-06-19 Michael Meeks <michael@ximian.com>
1823
1824 * configure.in: add gthread to ORBIT_LIBS etc.
1825
18262003-06-19 Bowie Owens <bowie.owens@csiro.au>
1827
1828 * test/everything/sequenceServer.c
1829 (SequenceServer_opMassiveSeq): impl. & hook it up.
1830
1831 * test/everything/client.c (testUnboundedSequence):
1832 invoke opMassiveSeq.
1833
18342003-06-18 Frank Rehberger <Frank.Rehberger@web.de>
1835
1836 * src/orb/util/orbit-options.c: enable parsing of command line options
1837 * src/orb/util/orbit-options.h: declare ORBIT_OPTION_KEY_VALUE
1838 * src/orb/util/orbit-options.c: code for option ORBIT_OPTION_KEY_VALUE
1839 * src/orb/orb-core/corba-orb.c: support for -ORBNamingIOR, -ORBInitRef
1840
18412003-06-11 Michael Meeks <michael@ximian.com>
1842
1843 * test/everything/client.c (test_time_noop): fix.
1844
18452003-06-11 Frank Rehberger <Frank.Rehberger@web.de>
1846
1847 * src/orb/orb-core/orbit-small.c
1848 (ORBit_small_invoke_adaptor): ensure we free
1849 temporarily allocated fixed size struct/union
1850 return & out values.
1851
18522003-06-11 Michael Meeks <michael@ximian.com>
1853
1854 * src/orb/poa/poa.c: bin dupped set_classinfo macro.
1855
1856 * include/orbit/poa/poa.h
1857 (ORBIT_SERVANT_SET_CLASSINFO): add back to please
1858 old/stale stubs.
1859
18602003-06-09 Michael Meeks <michael@ximian.com>
1861
1862 * src/orb/GIOP/giop.c (giop_init): bin terrifying
1863 warning; hey-ho.
1864
18652003-06-09 Michael Meeks <michael@ximian.com>
1866
1867 * Version 2.7.2
1868
18692003-06-09 Michael Meeks <michael@ximian.com>
1870
1871 * include/orbit/orb-core/corba-object-type.h:
1872 internalize the CORBA_Object layout.
1873
1874 * src/orb/poa/orbit-adaptor.c
1875 (ORBit_ObjectAdaptor_set_thread_hintv): split
1876 (ORBit_ObjectAdaptor_set_thread_hint): impl.
1877
1878 * src/idl-compiler/orbit-idl-c-common.c
1879 (orbit_idl_output_c_common): guard the skel
1880 marshallers so they arn't built in the imodule.
1881
1882 * configure.in (ORBIT_SERIAL): bump it.
1883
1884 * include/orbit/poa/orbit-adaptor.h:
1885 internalize everything except the thread hint bits.
1886
1887 * include/orbit/poa/poa-types.h: internalize
1888 ORBit_POAObejct_type, drastically prune the
1889 macros / ABI exposure.
1890
1891 * src/orb/orb-core/orbit-small.c: disable
1892 ORBIT_SMALL_FAST_LOCALS to hugely prune our
1893 ABI.
1894
1895 * src/orb/poa/poa.c (ORBit_c_stub_invoke):
1896 add pre/post call macro values in comments here.
1897
18982003-06-06 Michael Meeks <michael@ximian.com>
1899
1900 * src/orb/Makefile.am: poke at deps again [!]
1901
1902 * src/orb/GIOP/giop-connection.c
1903 (giop_connections_shutdown): warn hackers only,
1904 an old problem.
1905
1906 * test/poa/test-poa.c: make the test effective &
1907 pass.
1908
1909 * src/orb/Makefile.am: fix deps again (?)
1910
1911 * src/orb/orb-core/orbit-small.c
1912 (ORBit_small_unlisten_for_broken_full): split from
1913 (ORBit_small_unlisten_for_broken): here, and allow
1914 a 'user_data' to be specified ie. make the method
1915 actually useful.
1916 (ORBit_small_invoke_stub_n): fix warning.
1917
19182003-06-06 Michael Meeks <michael@ximian.com>
1919
1920 * test/poa/test-poa.c: add.
1921
1922 * src/orb/poa/poa.c (ORBit_POA_copy_policies): impl.
1923 (ORBit_POA_new_from): impl.
1924
19252003-06-05 Michael Meeks <michael@ximian.com>
1926
1927 * include/orbit/orb-core/corba-object.h: fix
1928 include.
1929
1930 * src/orb/orb-core/orbit-policy.[ch]: stub.
1931
19322003-06-05 Michael Meeks <michael@ximian.com>
1933
1934 * test/everything/Makefile.am: use check_PROGRAMS
1935 instead of noinst_PROGRAMS - Mac people have
1936 problems with their static libraries it seems.
1937
1938 * test/everything/client.c (test_time_noop):
1939 upd for FORCE_GENERIC_MARSHAL etc.
1940
1941 * src/orb/poa/poa.c (get_c_method):
1942 in-line ORBIT_STUB_IsBypass (and the epv lookups)
1943 add ORBIT_SMALL_FORCE_GENERIC_MARSHAL
1944 (ORBit_POA_activate_object_T): tolerate a NULL
1945 vepvmap.
1946
19472003-06-04 Michael Meeks <michael@ximian.com>
1948
1949 * src/orb/Makefile.am: add dep on linc lib.
1950
1951 * test/everything/test.sh,
1952 * test/everything/client.c: run more tests.
1953
1954 * src/orb/GIOP/giop.c (giop_thread_new_check): impl.
1955
1956 * src/orb/poa/orbit-adaptor.c
1957 (ORBit_ObjectAdaptor_set_thread_hint): spawn the
1958 I/O thread when we set an interesting hint
1959
1960 * src/orb/orb-core/orbit-small.c
1961 (ORBit_small_invoke_stub): ensure we check to
1962 see if we're in another thread.
1963
1964 * src/orb/poa/poa.c
1965 (ORBit_poa_allow_cross_thread_call): add check
1966 to invoke switch to threaded io for XT case.
1967
1968 * src/orb/GIOP/giop-recv-buffer.c
1969 (giop_recv_buffer_get): use giop_thread_io instead
1970 of tdata != NULL.
1971
1972 * src/orb/poa/poa.c (pool_push_request_for_T)
1973 (ORBit_POA_handle_request, ORBit_POA_handle_request):
1974 use giop_thread_io.
1975 (ORBit_POA_handle_request): invoke_incoming_req
1976 outside the poa lock.
1977
1978 * src/orb/orb-core/corba-object.c
1979 (ORBit_try_connection): use giop_thread_safe (?),
1980 we don't want to drop into
1981 link_connection_wait_connected via re-enterancy.
1982
1983 * src/orb/GIOP/giop-recv-buffer.c
1984 (handle_reply): switch on giop_thread_io.
1985
1986 * src/orb/GIOP/giop.c (giop_threaded): rename to
1987 (giop_thread_safe): this, (giop_thread_io): add.
1988 (giop_shutdown, giop_thread_set_main_handler),
1989 (giop_thread_self, giop_thread_key_release),
1990 (giop_invoke_async, giop_main_run): upd.
1991
1992 * src/orb/Makefile.am (libORBit_2_la_LIBADD):
1993 libadd the link library.
1994
19952003-06-03 Michael Meeks <michael@ximian.com>
1996
1997 * src/orb/orb-core/corba-orb.c
1998 (CORBA_ORB_init): move genuid_init lower than
1999 giop_init (which does a linc_init).
2000
20012003-06-03 Alexander Larsson <alexl@redhat.com>
2002
2003 * src/orb/GIOP/giop.c (giop_request_handler_fn):
2004 use data as tdata instead of user_data
2005
20062003-06-03 Michael Meeks <michael@ximian.com>
2007
2008 * src/orb/GIOP/giop-connection.c
2009 (giop_connection_initiate): upd.
2010
20112003-05-31 Michael Meeks <michael@ximian.com>
2012
2013 * ORBit-2.0.pc.in: remove 'linc' in Requires,
2014 thanks oGalaxyo.
2015
20162003-05-30 Michael Meeks <michael@ximian.com>
2017
2018 * src/orb/GIOP/giop.c (giop_tmpdir_init):
2019 guard against double init.
2020 (ORBit_get_safe_tmp): impl. for hp/others.
2021
2022 * */Makefile.am: add LOCAL_LINC_LIBS/CFLAGS
2023
2024 * include/orbit/orbit.h: only include GIOP
2025 if we need to.
2026
2027 * include/orbit/GIOP/Makefile.am: don't
2028 install the GIOP headers - they're private.
2029
2030 * configure.in: include linc2/include in the
2031 include path.
2032
2033 * Updated *.[ch] with:
2034
2035 #!/usr/bin/perl -w -pi.bak
2036 s/linc_/link_/g;
2037 s/LINC([^_])/Link$1/g;
2038 s/LINC/LINK/g;
2039
2040 * configure.in: merge a chunk of checks in
2041 for linc2
2042
20432003-05-30 <waschk@informatik.uni-rostock.de>
2044
2045 * test/everything/Makefile.am
2046 (Everything_module_la_LDFLAGS): avoid version.
2047
20482003-05-29 Michael Meeks <michael@ximian.com>
2049
2050 * src/orb/orb-core/orbit-small.c (ORBit_small_invoke_stub_n):
2051 validate the index into the sequence.
2052
20532003-05-29 Michael Meeks <michael@ximian.com>
2054
2055 * src/orb/orb-core/orbit-small.c
2056 (ORBit_small_invoke_stub): check cross-thread calls,
2057 and generate an in-proc proxy for non-allowed xt cases.
2058
2059 * src/orb/poa/poa.c (ORBit_poa_allow_cross_thread_call): impl.
2060 (get_c_method): use it.
2061
2062 * src/orb/GIOP/giop.c (giop_thread_same_key): impl.
2063
20642003-05-28 Michael Meeks <michael@ximian.com>
2065
2066 * src/idl-compiler/orbit-idl-c-skels.c:
2067 move ck_output_skels (and deps) into:
2068
2069 * src/idl-compiler/orbit-idl-c-common.c: here.
2070 (orbit_idl_output_c_common): hook in, but only on
2071 stub/skelish builds.
2072
2073 * src/orb/poa/poa.c (ORBit_stub_post_invoke): kill.
2074 (ORBit_stub_pre_get_epv): rename to
2075 (get_c_method): this and re-hash.
2076 (ORBit_c_stub_invoke): impl. - a new plan.
2077
2078 * include/orbit/poa/poa-basics.h: bin old/stale
2079 ORBitSkeleton typedef.
2080
20812003-05-27 Michael Meeks <michael@ximian.com>
2082
2083 * src/orb/poa/poa.c (ORBit_stub_pre_get_epv)
2084 (ORBit_stub_post_invoke): impl. to get this
2085 out of the stubs.
2086
2087 * src/idl-compiler/orbit-idl-c-stubs.c
2088 (cs_output_stub): use the new stub methods.
2089
20902003-05-23 Michael Meeks <michael@ximian.com>
2091
2092 * src/orb/GIOP/giop-server.c
2093 (giop_server_handle_create_connection): upd.
2094 cnx instantiaton.
2095
2096 * src/orb/GIOP/giop-connection.c
2097 (giop_connection_get_property, giop_connection_set_property): impl.
2098 (giop_connection_class_init): upd.
2099 (giop_connection_set_orb_n_ver): kill.
2100
2101 * src/orb/orb-core/corba-object.c,
2102 * src/orb/orb-core/orbit-small.c: sed:
2103 s/linc_object_ref/giop_connection_ref/
2104 s/linc_object_unref/giop_connection_unref/
2105
21062003-05-22 Michael Meeks <michael@ximian.com>
2107
2108 * src/orb/GIOP/giop-connection.c
2109 (giop_connection_initiate): use new linc API.
2110 (giop_connection_list_lookup_T): bin.
2111 (giop_connection_list_add, giop_connection_list_init),
2112 (giop_connection_list_remove): bin.
2113
2114 * src/orb/GIOP/giop.c (giop_init): upd.
2115
2116 * src/orb/GIOP/giop.c (giop_thread_request_push_key):
2117 fix HINT_PER_REQUEST policy by not inserting NULL into
2118 the hash table (thanks to AlexL).
2119
2120 * src/orb/orb-core/corba-orb.c (CORBA_ORB_init): fix
2121 non-debugging build; thanks to Christophe.
2122
21232003-05-21 Michael Meeks <michael@ximian.com>
2124
2125 * src/orb/GIOP/giop-recv-buffer.c (handle_reply):
2126 re-work the code for a simpler, more readable flow,
2127 and fix async/ent ownership silly.
2128
2129 * src/orb/orb-core/corba-orb.c (ORBit_setup_debug_flags):
2130 add 'force_threaded' debug option.
2131 (CORBA_ORB_init): do the dirty bits.
2132
21332003-05-14 Michael Meeks <michael@ximian.com>
2134
2135 * src/orb/orb-core/orbit-small.c (orbit_small_demarshal):
2136 split out giop_recv_buffer_get, and pass the recv buffer in,
2137 remove the recv release argument.
2138 (ORBit_small_demarshal_async): pass the buffer straight in.
2139 (ORBit_small_invoke_stub): unref the recv buffer here.
2140
2141 * src/orb/GIOP/giop.c (giop_thread_request_process)
2142 (giop_thread_request_push): use a GQueue for request_queue.
2143 (giop_incoming_signal_T, giop_incoming_signal): impl.
2144
2145 * src/orb/GIOP/giop-recv-buffer.c
2146 (giop_recv_handle_queued_input): bin the return value,
2147 and re-hash.
2148 (giop_recv_buffer_get): use a GQueue for request_queue.
2149
2150 * src/orb/GIOP/giop.c (giop_thread_free): impl.
2151 (giop_invoke_async): re-factor bits into here.
2152 (giop_request_handler_fn): free the giop thread
2153 after use.
2154
2155 * src/orb/GIOP/giop-recv-buffer.c (handle_reply):
2156 bin process_now distinction.
2157 (giop_recv_list_zap): use giop_invoke_async so we
2158 work across threads.
2159
2160 * include/orbit/GIOP/giop-recv-buffer.h: make
2161 free_body a guchar not a (signed) gboolean;
2162 thanks to Morten.
2163
21642003-05-13 Michael Meeks <michael@ximian.com>
2165
2166 * test/everything/client.c (testDerivedServer): impl.
2167 (run_tests): call it.
2168
2169 * src/idl-compiler/orbit-idl-c-skels.c
2170 (cbe_skel_interface_print_vepvmap_offsets),
2171 (cbe_skel_do_interface): pass parent id through.
2172
2173 * src/idl-compiler/orbit-idl-utils.c
2174 (IDL_tree_traverse_helper): re-hash self inclusion;
2175 This bug was _really_ screwing up libbonobo.
2176
21772003-05-12 Michael Meeks <michael@ximian.com>
2178
2179 * src/idl-compiler/orbit-idl-utils.c
2180 (IDL_tree_traverse_parents_full): split from
2181 (IDL_tree_traverse_parents): here.
2182
2183 * include/orbit/poa/poa-types.h (ORBIT_VEPV_OFFSET): impl.
2184
2185 * src/idl-compiler/orbit-idl-c-skels.c
2186 (cbe_skel_interface_print_vepvmap_offsets): impl.
2187 (cbe_skel_do_interface): upd to call skel_class_register.
2188
2189 * src/orb/poa/poa.c (ORBit_classinfo_lookup): hold lock.
2190 (ORBit_skel_class_register): impl. for thread-safe skels
2191 (ORBit_poa_init): init lock.
2192
2193 * src/orb/poa/poa.c (ORBit_POAObject_handle_request):
2194 bin current_invocations->data assertion; we can get
2195 here without pushing the current invocation; was
2196 hurting libbonoboui.
2197
21982003-05-12 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net>
2199
2200 * MAINTAINERS: Declare myself as documentation maintainer.
2201
22022003-05-09 Michael Meeks <michael@ximian.com>
2203
2204 * test/everything/*.c: large scale servant re-factor.
2205
22062003-05-08 Michael Meeks <michael@ximian.com>
2207
2208 * test/everything/server.c (simple_finalize): impl.
2209 (test_TestFactory__fini, create_TestFactory):
2210 allocate servant.
2211 (simple_servant, TestFactory_createDeadReferenceObj)
2212 (test_TestFactory__init): allocate the servants, so
2213 we're thread-safe.
2214
2215 * test/everything/*.c: use Simple_base_epv to
2216 finalize the servant where appropriate.
2217
22182003-05-07 Michael Meeks <michael@ximian.com>
2219
2220 * src/orb/GIOP/giop-connection.c
2221 (giop_connection_dispose): release thread key.
2222
2223 * src/orb/poa/poa.c (pool_push_request_for_T): impl.
2224 (ORBit_POA_handle_request): implement
2225 PER_OBJECT,POA,CONNECTION,REQUEST policies.
2226 (ORBit_POA_free_fn, ORBit_POAObject_release_cb):
2227 de-register threading keys.
2228
2229 * src/orb/GIOP/giop.c (giop_thread_key_release_T)
2230 (giop_request_handler_fn, giop_thread_key_release)
2231 (giop_thread_request_push_for): impl.
2232 (giop_init): create the thread pool.
2233
22342003-05-06 Michael Meeks <michael@ximian.com>
2235
2236 * src/orb/orb-core/corba-object.c
2237 (ORBit_demarshal_object): add precondition.
2238
2239 * src/orb/orb-core/orbit-small.c
2240 (ORBit_small_get_connection_status): add
2241 pre-condition.
2242
22432003-05-03 Michael Meeks <michael@ximian.com>
2244
2245 * Version 2.7.1
2246
22472003-04-29 Michael Meeks <michael@ximian.com>
2248
2249 * test/everything/client.c (main, run_tests): pull
2250 out testSegv.
2251
2252 * src/orb/orb-core/corba-object.c
2253 (ORBit_try_connection): bin some type-checked casts.
2254
2255 * test/everything/client.c (run_threaded_tests),
2256 (test_thread): impl.
2257
2258 * src/orb/util/genrand.c (genuid_rand_openssl),
2259 (genuid_glib_pseudo, genuid_simple): take lock for
2260 static incrementing foo.
2261 (ORBit_genuid_fini, ORBit_genuid_init): setup lock.
2262
2263 * src/orb/orb-core/corba-object.c (ORBit_objref_new):
2264 setup the adaptor_obj explicitely at construct time.
2265
2266 * src/orb/poa/poa.c (ORBit_POA_obj_to_ref): upd.
2267
2268 * test/everything/client.c (testAsync): upd.
2269
2270 * src/orb/orb-core/orbit-small.c
2271 (ORBit_small_get_connection): don't take a ref, for b/w
2272 compatibility.
2273 (ORBit_small_get_connection_ref): add separate method.
2274
22752003-04-25 Michael Meeks <michael@ximian.com>
2276
2277 * src/orb/orb-core/orbit-small.c
2278 (ORBit_small_invoke_stub, ORBit_small_invoke_async)
2279 (ORBit_small_get_connection_status)
2280 (ORBit_small_unlisten_for_broken, get_status)
2281 (ORBit_small_get_connection): update to handle cnx.
2282 reference correctly.
2283 (ORBit_small_connection_unref): impl.
2284
2285 * src/orb/orb-core/corba-object.c
2286 (ORBit_objref_get_proxy, ORBit_marshal_object): register
2287 objref after generating profiles, hold lock, refactor
2288 slightly.
2289 (ORBit_object_get_connection): return an incremented ref.
2290 (CORBA_Object_non_existent): handle ref.
2291
2292 * src/orb/orb-core/iop-profiles.c
2293 (IOP_generate_profiles): remove object registration.
2294
22952003-04-24 Michael Meeks <michael@ximian.com>
2296
2297 * test/everything/test.sh: add threaded tests into the
2298 default run: too bold perhaps.
2299
2300 * src/orb/orb-core/corba-object.c
2301 (_ORBit_object_init): impl.
2302 (ORBit_try_connection): re-hash; add locking.
2303 (CORBA_Object_release_cb): bin giop_connection_unref.
2304 (ORBit_object_get_connection): hold the lock while we're
2305 working on the object.
2306
2307 * src/orb/GIOP/giop-connection.c
2308 (giop_connection_unref): bin it.
2309
2310 * src/orb/orb-core/corba-orb.c (CORBA_ORB_init): add init.
2311
23122003-04-23 Michael Meeks <michael@ximian.com>
2313
2314 * src/orb/orb-core/corba-object.c
2315 (ORBit_try_connection): here lurketh much grief.
2316
2317 * src/orb/GIOP/giop-recv-buffer.c
2318 (giop_recv_msg_reading_body): add comment on 0 length
2319 message for CLOSECONNECTION.
2320 (giop_connection_handle_input): handle 0 length bodies
2321 properly.
2322
23232003-04-21 Herbert Valerio Riedel <hvr@gnu.org>
2324
2325 * src/orb/poa/orbit-adaptor.c
2326 (ORBit_handle_locate_request): impl. a stub (checks for POA,
2327 but not object itself so far).
2328
2329 * src/orb/orb-core/orbit-small.c (orbit_small_marshal):
2330 set the response_expected flag correctly for oneways.
2331
2332 * src/orb/GIOP/giop-send-buffer.c
2333 (giop_send_buffer_use_request): fix request id bits.
2334 (giop_send_buffer_write): don't tail align send buffers,
2335 we only want to do that (elsewhere) for fragments (it seems)
2336
2337 * src/orb/GIOP/giop-recv-buffer.c
2338 (giop_GIOP_TargetAddress_demarshal): clean it up.
2339 (giop_recv_buffer_demarshal_locate_request_1_2):
2340 fix id demarshal
2341 (giop_recv_buffer_get_request_id, giop_recv_buffer_demarshal):
2342 add "close connection" stub.
2343 (giop_recv_buffer_get_objkey): make it work fully for more
2344 msg types & versions.
2345 (giop_connection_handle_input): handle locate request.
2346
23472003-04-21 Michael Meeks <michael@ximian.com>
2348
2349 * src/orb/GIOP/giop-recv-buffer.c (giop_recv_set_limit): impl.
2350 (giop_recv_buffer_handle_fragmented, giop_recv_msg_reading_body):
2351 use the dynamic limit instead.
2352
2353 * src/orb/orb-core/corba-orb.c (CORBA_ORB_init): set the limit,
2354 add an "ORBInitialMsgLimit" option.
2355
2356 * src/orb/GIOP/giop.c (wakeup_mainloop): handle EINTR.
2357
23582003-04-19 Michael Meeks <michael@ximian.com>
2359
2360 * src/orb/GIOP/giop.c (giop_init, giop_shutdown): bin
2361 incoming thread bits.
2362
2363 * src/orb/orb-core/orbit-small.c (get_status): use
2364 linc_connection_get_status.
2365
2366 * src/orb/GIOP/giop-connection.c (giop_connection_close):
2367 use linc_connection_disconnect instead of a dubious forced
2368 state change.
2369
23702003-04-18 Michael Meeks <michael@ximian.com>
2371
2372 * src/orb/GIOP/giop-recv-buffer.c (giop_connection_handle_input):
2373 hold neither ref nor lock, linc does it.
2374
2375 * src/orb/GIOP/giop-connection.c (giop_connection_real_state_changed)
2376 (giop_connection_dispose, giop_connection_init): bin locking action.
2377
2378 * include/orbit/GIOP/giop-connection.h: bin incoming and
2379 outgoing mutex; all locking is in linc-connection now.
2380
23812003-04-18 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net>
2382
2383 * src/orb/poa/orbit-adaptor.c
2384 (ORBit_ObjectAdaptor_set_thread_hint): Update debugging check to
2385 consider the new _IDLE thread hints.
2386
23872003-04-17 Michael Meeks <michael@ximian.com>
2388
2389 * test/everything/client.c (test_basic_server):
2390 re-factor this out so we can apply it to different remote
2391 POA policies later.
2392
2393 * src/orb/poa/poa.c (push_request_idle, poa_invoke_at_idle),
2394 (ORBit_POA_handle_request): impl both. both idle policies.
2395 (poa_recv_is_oneway): impl.
2396
23972003-04-15 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2398
2399 * Makefile.shared: append $(EXEEXT) to IDL_COMPILER.
2400
2401 * configure.in: call AC_LIBTOOL_WIN32_DLL.
2402
2403 * configure.in: call AC_PROG_CC earlier. because AM_PROG_LIBTOOL
2404 needs it.
2405
2406 * src/orb/GIOP/giop.c (test_safe_socket_dir): disable permission
2407 checking on Cygwin.
2408
2409 * src/orb/Makefile.am: add -no-undefined to libORBit_2_la_LDFLAGS.
2410
2411 * src/services/imodule/Makefile.am: add -no-undefined to
2412 libORBit_imodule_2_la_LDFLAGS and write dependency libraries in
2413 libORBit_imodule_2_la_LIBADD explicitly.
2414
2415 * src/services/name/Makefile.am: add -no-undefined to
2416 libORBitCosNaming_2_la_LDFLAGS and write dependency libraries in
2417 libORBitCosNaming_2_la_LIBADD explicitly.
2418
2419 * test/everything/Makefile.am: add -no-undefined to
2420 Everything_module_la_LDFLAGS.
2421
24222003-04-10 Michael Meeks <michael@ximian.com>
2423
2424 * docs/FAQ: update threading bits.
2425
24262003-04-08 Michael Meeks <michael@ximian.com>
2427
2428 * configure.in: check for a slew of sys headers.
2429
2430 * src/orb/orb-core/orbhttp.c: only include
2431 headers we have.
2432
24332003-04-04 Michael Meeks <michael@ximian.com>
2434
2435 * test/poa/poatest-basic11.c (poatest_run): test
2436 the ObjectId <-> string methods. This test fails.
2437
2438 * src/orb/poa/poa.c (PortableServer_ObjectId_to_wstring)
2439 (PortableServer_ObjectId_to_string): don't trample
2440 on bits off the end of the string terminating it.
2441
2442 * src/orb/GIOP/giop-recv-buffer.c
2443 (giop_recv_thread_fn): remove shutdown warning.
2444
2445 * src/orb/GIOP/giop.c (giop_shutdown): guard
2446 against double invocation.
2447
2448 * src/orb/orb-core/corba-orb.c
2449 (ORBit_ORB_shutdown_servers): remove warning.
2450 (CORBA_ORB_shutdown): delay server shutdown until giop
2451 worker thread is joined.
2452
2453 * src/orb/orb-core/iop-profiles.c
2454 (IOP_delete_profiles): NULL ORB profiles pointer.
2455
24562003-04-03 Michael Meeks <michael@ximian.com>
2457
2458 * src/orb/orb-core/corba-object.c
2459 (ORBit_register_objref): take the ORB lock, and
2460 work on the ORB.
2461 (ORBit_lookup_objref, CORBA_Object_release_cb): ditto.
2462 (ORBit_objref_find): set the orb before lookup.
2463
2464 * src/orb/orb-core/corba-orb.c
2465 (CORBA_ORB_shutdown): don't do an init_level check,
2466 don't barf half way on 'wait for completion', but
2467 actually do a full shutdown (doh).
2468 (strip_object_profiles): do this on the objects.
2469
2470 * test/everything/server.c
2471 (TestFactory_segv): do a shutdown, not a dodgy
2472 loop kill.
2473
24742003-04-02 Richard Kinder <r_kinder@yahoo.com>
2475
2476 * configure.in: fix for #108932 - warning spat out for linux/irda.h.
2477 Also fix up error case when no pkg-config script exists - exit with
2478 AC_MSG_ERROR rather than letting the script die by coincidence.
2479
24802003-04-01 Michael Meeks <michael@ximian.com>
2481
2482 * src/orb/GIOP/giop.c (giop_shutdown, giop_main_run):
2483 add shared seperate 'main-thread' glib mainloop,
2484 If you are running your own loop, you get to quit that
2485 yourself on CORBA_ORB_shutdown, we only break out of
2486 CORBA_ORB_run's loop, if it's going.
2487
2488 * src/orb/poa/poa-private.h: add.
2489
2490 * src/orb/poa/poa.c (ORBit_POA_free_fn, ORBit_POA_new):
2491 add a per poa lock, add '_T' suffixes to things that
2492 take / release no locks. Push POA_[UN]LOCK throught,
2493 need some work on pre-conditions though.
2494 (ORBit_POAObject_handle_request): do some ref holding
2495 over invocation & re-factor exception processing.
2496
2497 * src/orb/poa/poa-manager.c
2498 (PortableServer_POAManager_get_state): lock
2499 sprinkling.
2500
2501 * src/orb/poa/poa.c (ORBit_POACurrent_get_object):
2502 hold the orb lock while poking at current_invocations.
2503 (ORBit_POAObject_handle_request),
2504 (PortableServer_POA_servant_to_reference): ditto.
2505 (push_request): split out
2506
2507 * src/orb/orb-core/orbit-small.c
2508 (orbit_small_demarshal): add comment for Rich Burridge.
2509
25102003-03-31 Michael Meeks <michael@ximian.com>
2511
2512 * src/orb/GIOP/giop-recv-buffer.c
2513 (giop_recv_buffer_get): integrate the request
2514 processing into the same condition.
2515
2516 * src/orb/GIOP/giop.c (giop_thread_get_main): impl.
2517
2518 * test/everything/client.c (run_tests): shunt
2519 testMisc belong pingPong.
2520
2521 * src/orb/GIOP/giop.c: massive threading re-hash,
2522 realised a seprate GIOPQueue to the GIOPThread was
2523 a painful waste of time.
2524
2525 * src/orb/poa/poa.c (queue_request, local_main_handle)
2526 (LocalClosure): kill old hacks.
2527 (ORBit_POA_handle_request): use new external hacks.
2528
2529 * src/orb/poa/poa.c (ORBit_poa_init): add.
2530
2531 * src/orb/orb-core/corba-orb.c (CORBA_ORB_init):
2532 do the poa_init.
2533
2534 * src/orb/GIOP/giop.c (scan_socket_dir): handle
2535 non-existant directories gracefully.
2536
2537 * test/everything/test.sh: stop 'make check'
2538 destroying the system socket directory - and causing
2539 all manner of grief.
2540
2541 * src/orb/GIOP/giop-connection.c
2542 (giop_connection_initiate): bin last ORBIT_THREADED
2543 conditionals.
2544
2545 * include/orbit/GIOP/giop-basics.h,
2546 * src/orb/GIOP/giop-server.c (giop_server_new): ditto
2547
25482003-03-29 Michael Meeks <michael@ximian.com>
2549
2550 * src/orb/orb-core/corba-orb.c (CORBA_ORB_run):
2551 add a nasty hack to not do a linc_mainloop in the
2552 threaded case, since that causes acute problems.
2553
2554 * test/everything/test.sh: add --threaded test.
2555
2556 * src/orb/GIOP/giop-connection.c
2557 (giop_connection_dispose):
2558 (giop_connection_init): bin outgoing_mutex, move this
2559 into linc for easier cross thread output task transfer.
2560
2561 * src/orb/GIOP/giop-send-buffer.c
2562 (giop_send_buffer_write): ditto.
2563
25642003-03-30 Richard Kinder <r_kinder@yahoo.com>
2565
2566 * src/orb/orb-core/corba-context.c: Code cleanups. Remove gboolean
2567 return value from free_child since it is never used. Clean up some
2568 unused user_data arguments to g_slist_foreach and
2569 g_hash_table_foreach_remove. Fixes #109358.
2570
25712003-03-28 Michael Meeks <michael@ximian.com>
2572
2573 * src/orb/GIOP/giop-send-buffer.c (giop_send_buffer_write):
2574 do the nasty re-entering connection wait phase here
2575 instead of in linc, so we can make it thread safe later.
2576
25772003-03-28 Michael Haubenwallner <michael.haubenwallner@salomon.at>
2578
2579 * src/orb/orb-core/corba-any.c
2580 (ORBit_marshal_value): fix silly marshalling packed types.
2581
25822003-03-28 Michael Meeks <michael@ximian.com>
2583
2584 * test/everything/client.c
2585 (testFixedLengthArray): split into (testLongArray)
2586 add (testOctetArray).
2587
2588 * test/everything/arrayServer.c
2589 (ArrayServer_opOctetArray): add.
2590
25912003-03-27 Michael Meeks <michael@ximian.com>
2592
2593 * src/orb/GIOP/giop-send-buffer.c
2594 (giop_send_buffer_init): always enable wire data
2595 wiping if ORBIT_PURIFY.
2596
2597 * src/orb/GIOP/giop.c (giop_tmpdir_init):
2598 use g_get_tmp_dir instead of hard-coding "/tmp".
2599
26002003-03-25 Michael Meeks <michael@ximian.com>
2601
2602 * Version 2.7.0
2603
26042003-03-25 Richard Kinder <r_kinder@yahoo.com>
2605
2606 * src/services/name/orbit-name-server.c: return CORBA_OBJECT_NIL rather
2607 than NULL, clean up rn_unref functions. Fixes #109125.
2608
26092003-03-24 Richard Kinder <r_kinder@yahoo.com>
2610
2611 * src/orb/poa/poa.c: Change return values for ORBit_POA_is_inuse and
2612 ORBit_POA_destroy to gboolean's, not CORBA_boolean's. Fixes #109066
2613
26142003-03-18 Archana Shah <archana.shah@wipro.com>
2615
2616 * /configure.in: Put a check to read the argument for,
2617 whether to enable orbhttp compilation.
2618
2619 * /src/orb/orb-core/Makefile.am: Changed so that orbhttp.c
2620 and orbhttp.h will be compiled only if mentioned.
2621
2622 * /src/orb/orb-core/corba-orb.c (CORBA_ORB_init):
2623 Put checks for compilation of http-ior segment.
2624
26252003-03-18 Shailesh Mittal <shailesh.mittal@wipro.com>
2626
2627 * src/orb/orb-core/iop-profiles.c (IOP_start_profiles):
2628 Fixed the bug, now it works for IPv6 options without having
2629 unix option set, by eliminating the requirement of osi profile for IPv6.
2630 Fixed sense of string comparision which check for duplicate profiles.
2631
26322003-03-17 Michael Meeks <michael@server.home>
2633
2634 * src/orb/orb-core/orbit-small.c
2635 (ORBit_small_invoke_adaptor): memset scratch, args to 0.
2636 (ORBit_small_invoke_adaptor, orbit_small_demarshal):
2637 handle de-marshalling overruns with an exception, rather
2638 a goto spaghetitfication.
2639
2640 * src/orb/include/Makefile.am: check and install
2641 rules depend on 'all', hopefully fixes brokenness
2642 with 'make install'
2643
2644 * src/orb/orb-core/orbit-small.c
2645 (ORBit_small_invoke_adaptor): use g_alloca now
2646 we have it.
2647
2648 * src/orb/GIOP/giop-recv-buffer.c
2649 (giop_connection_handle_input): debug dump the correct
2650 body offset instead of starting at 0, use 12.
2651
2652 * src/orb/GIOP/giop.c (giop_dump): print --- delimiter
2653 after dumping the full block.
2654
26552003-03-15 Christophe Merlet <redfox@redfoxcenter.org>
2656
2657 * ORBit-imodule-2.0.pc.in: Fix a typo.
2658
26592003-03-14 Michael Meeks <michael@ximian.com>
2660
2661 * src/orb/orb-core/corba-any.c
2662 (ORBit_demarshal_value): optimize zero length
2663 sequences.
2664
2665 * src/orb/orb-core/corba-orb.c
2666 (CORBA_ORB_destroy): give a different warning if
2667 people unref but don't destroy the ORB.
2668
26692003-03-11 Michael Meeks <michael@ximian.com>
2670
2671 * src/orb/orb-core/corba-any.c (ORBit_sequence_alloc)
2672 (ORBit_sequence_append, ORBit_sequence_set_size)
2673 (ORBit_sequence_concat): impl & stub sequence helpers.
2674 (SKIP_ALIAS): use this throught.
2675
2676 * src/orb/orb-core/allocators.c
2677 (ORBit_alloc_get_tcval): impl.
2678
2679 * src/orb/poa/poa.c (ORBit_POAObject_handle_request):
2680 only lookup CORBA_Object small skels in-proc.
2681
26822003-03-03 Michael Meeks <michael@localhost.localdomain>
2683
2684 * src/orb/poa/poa.c (ORBit_POA_handle_request):
2685 add HINT_ONEWAY_AT_IDLE and HINT_ALL_AT_IDLE
2686 thread hints - currently ONEWAY doesn't distinguish.
2687
26882003-02-14 Mark McLoughlin <mark@skynet.ie>
2689
2690 * include/orbit/poa/orbit-adaptor.h: add
2691 ORBit_ObjectAdaptor_(get|set)_thread_hint.
2692
2693 * src/idl/misc/PortableServer.idl: kill non spec compliant
2694 ThreadPolicy enum values.
2695
2696 * src/orb/poa/orbit-adaptor.c:
2697 (ORBit_ObjectAdaptor_set_thread_hint),
2698 (ORBit_ObjectAdaptor_get_thread_hint): impl.
2699 (ORBit_adaptor_setup): init the hint.
2700
2701 * src/orb/poa/poa.c:
2702 (queue_request): split out from handle_request().
2703 (ORBit_POA_handle_request): upd and treat ORB_CTRL mode
2704 with no hint just like single threaded mode.
2705
27062003-02-11 Mark McLoughlin <mark@skynet.ie>
2707
2708 * Makefile.am, ORBit-imodule-2.0.pc.in,
2709 configure.in: build and install a pkg-config
2710 file for the imodule service.
2711
2712 * src/services/imodule/Makefile.am: actually
2713 install the damn thing. Doh.
2714
27152003-02-10 Michael Meeks <michael@ximian.com>
2716
2717 * src/orb/GIOP/giop.c (wakeup_mainloop): spew
2718 errors on error.
2719
2720 * src/orb/GIOP/giop-recv-buffer.c
2721 (giop_connection_handle_input): add more helpful
2722 messages.
2723
2724 * configure.in: make the "can't link" message more
2725 generally helpful.
2726
27272003-01-26 Michael Meeks <michael@ximian.com>
2728
2729 * test/everything/client.c (wait_till_done):
2730 split out, and add thread safe path.
2731
2732 * src/orb/poa/poa.c (ORBit_POA_handle_request):
2733 free the recv buffer if we've handled it
2734 immediately in this thread.
2735 (ORBit_POA_object_id_lookup): return a ref.
2736 (PortableServer_POA_create_reference_with_id),
2737 (PortableServer_POA_activate_object_with_id),
2738 (PortableServer_POA_id_to_reference),
2739 (PortableServer_POA_id_to_servant): tool up
2740 with matching releases.
2741 (ORBit_POA_handle_request): hold the pobj
2742 during the scope.
2743 (ORBit_POA_set_policies): init threading type
2744 to STM by default.
2745
2746 * src/orb/GIOP/giop-recv-buffer.c
2747 (giop_connection_handle_input): let
2748 ORBit_handle_request free the recv buffer when
2749 convenient.
2750
2751 * src/orb/poa/orbit-adaptor.c
2752 (ORBit_adaptor_find): dup the returned ref,
2753 and hold lifecycle lock over orb->adaptors
2754 manipulation.
2755 (ORBit_handle_request): release the ref.
2756 (ORBit_adaptor_setup): hold lifecycle lock
2757 over adaptor setup.
2758
27592002-11-29 Michael Meeks <michael@ximian.com>
2760
2761 * src/orb/GIOP/giop-connection.c
2762 (giop_connection_list_lookup),
2763 (giop_connection_initiate),
2764 (giop_connections_shutdown): use linc_object_[un]ref.
2765
2766 * src/orb/GIOP/giop-recv-buffer.c
2767 (giop_connection_handle_input): ditto.
2768
27692002-10-31 Michael Meeks <michael@ximian.com>
2770
2771 * src/orb/orb-core/corba-orb.c
2772 (ORBit_ORB_start_servers): lock the ORB
2773 while setting up the profiles.
2774 (ORBit_ORB_shutdown_servers): guard with
2775 locks.
2776
2777 * src/orb/GIOP/giop.c (giop_shutdown): impl.
2778
2779 * src/orb/GIOP/giop-connection.c
2780 (giop_connection_remove_by_orb): rename to
2781 (giop_connections_shutdown): this & upd.
2782 (giop_connection_unref): use linc_object_unref.
2783
2784 * src/orb/GIOP/giop.c (giop_init):
2785 actually start the IO thread ;-)
2786
27872002-10-31 Michael Meeks <michael@ximian.com>
2788
2789 * test/echo-client-t.c (main): init mt orb.
2790
2791 * src/orb/GIOP/giop-recv-buffer.c
2792 (giop_recv_list_destroy_queue_entry): kill
2793 bogus thread stuff.
2794 (handle_reply): queue up reply recv's on
2795 the right thread for processing elsewhere.
2796 (giop_recv_buffer_get): kill unused non-blocking
2797 mode, substantially re-write.
2798 (giop_recv_list_zap): use locking.
2799
2800 * src/orb/GIOP/giop.c
2801 (giop_thread_push_recv): impl.
2802
28032002-10-30 Michael Meeks <michael@ximian.com>
2804
2805 * src/orb/GIOP/giop-recv-buffer.c
2806 (giop_recv_list_setup_queue_entry_async),
2807 (giop_recv_list_setup_queue_entry): upd.
2808 (giop_connection_handle_input): upd.
2809
2810 * include/orbit/GIOP/giop-recv-buffer.h
2811 (GIOPMessageQueueEntry): bin bogus thread bits,
2812 add thread id.
2813
2814 * src/orb/GIOP/giop.c (giop_init): pass threaded,
2815 setup main thread / context wakeup.
2816 (giop_thread_new, giop_thread_self): impl.
2817
2818 * src/orb/orb-core/corba-orb.c
2819 (CORBA_ORB_init): check for orbit-local-mt-orb
2820 profile.
2821
28222003-01-26 Michael Meeks <michael@ximian.com>
2823
2824 * test/everything/server.c (main),
2825 * test/everything/client.c (main): add --threaded
2826 option to enable threading.
2827
28282002-12-20 Michael Meeks <michael@ximian.com>
2829
2830 * src/orb/poa/poa.c (ORBit_POAObject_handle_request): upd.
2831
2832 * include/orbit/poa/poa-types.h: make the first
2833 element a 'dummy' - reflecting reality.
2834
2835 * include/orbit/poa/poa-basics.h: bin the old
2836 relay_call. Rename the impl_finder.
2837
28382003-01-09 Mark McLoughlin <mark@skynet.ie>
2839
2840 * src/orb/orb-core/corba-orb.c: (CORBA_ORB_create_struct_tc),
2841 (CORBA_ORB_create_union_tc), (CORBA_ORB_create_enum_tc),
2842 (CORBA_ORB_create_alias_tc), (CORBA_ORB_create_exception_tc),
2843 (CORBA_ORB_create_interface_tc), (CORBA_ORB_create_string_tc),
2844 (CORBA_ORB_create_wstring_tc), (CORBA_ORB_create_fixed_tc),
2845 (CORBA_ORB_create_sequence_tc),
2846 (CORBA_ORB_create_recursive_sequence_tc),
2847 (CORBA_ORB_create_array_tc): remove malloc return value
2848 checks - its all through glib.
2849
28502003-01-09 Michael Meeks <michael@ximian.com>
2851
2852 * configure.in: bump version to 2.7.0,
2853 require linc >= 1.1.0
2854
2855 * Branch for gnome-2-2
2856
28572003-01-06 Michael Meeks <michael@ximian.com>
2858
2859 * test/everything/server.c (CLOBBER_SYM):
2860 actually clobber the symbol.
2861
28622002-12-28 Michael Meeks <michael@ximian.com>
2863
2864 * Version 2.5.1
2865
28662002-12-28 Michael Meeks <michael@ximian.com>
2867
2868 * test/everything/Makefile.am: define
2869 TEST_SRCDIR
2870
2871 * test/everything/server.c (init_interfaces):
2872 re-write.
2873 (main): use TEST_SRCDIR.
2874
2875 * src/services/imodule/orbit-imodule-utils.c
2876 (ORBit_imodule_jam_int): split out of
2877 (ORBit_imodule_setup_label_any): here, fix memory
2878 corrupting nasties with using '0', '1' for booleans,
2879 and wrong 'node' for binops. Handle 'short' tc's.
2880
28812002-12-17 Michael Meeks <michael@ximian.com>
2882
2883 * src/idl-compiler/orbit-idl-c-typecode.c
2884 (orbit_add_align): impl.
2885 (orbit_find_c_align): re-write to use a string
2886 list of the ALIGNOF defines.
2887 (orbit_output_tcstruct_c_align): build a MAX
2888 statement, where appropriate.
2889
28902002-12-26 James Henstridge <james@daa.com.au>
2891
2892 * src/orb/orb-core/Makefile.am (IDL_FLAGS): add -I. to IDL_FLAGS.
2893 This gets rid of the multiple symbol definition errors with newer
2894 autoconf and/or automake (not sure which one is causing the
2895 problem).
2896
28972002-12-02 Michael Meeks <michael@ximian.com>
2898
2899 * src/idl-compiler/orbit-idl-utils.c
2900 (oidl_param_info): bail out if we get an exception
2901 as a parameter.
2902
29032002-11-21 Michael Meeks <michael@ximian.com>
2904
2905 * src/orb/orb-core/orbit-small.c
2906 (ORBit_handle_exception_array): ensure we always
2907 exit with an exception set, even with odd wire data.
2908
29092002-11-05 Mark McLoughlin <mark@skynet.ie>
2910
2911 * test/everything/everything.idl: add simple
2912 regression test to catch the bug below.
2913
29142002-11-05 Mark McLoughlin <mark@skynet.ie>
2915
2916 * src/idl-compiler/orbit-idl-c-headers.c: (ch_prep):
2917 out enum types declared as part of a typedef. Fixes #97238.
2918
29192002-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
2920
2921 * configure.in:
2922 - require pkg-config 0.14.0
2923 - make AC_DEFINE* three-argument
2924 (someone might want to remove acconfig.h)
2925 * autogen.sh:
2926 - fail if configure failed
2927
29282002-10-28 Marion Schuenemann <schuenemann@fokus.gmd.de>
2929
2930 * src/services/name/boot.c (main): move ORB
2931 init up the heap, so we can use eg. ORBIIOPIPName
2932
29332002-10-24 Michael Meeks <michael@ximian.com>
2934
2935 * test/echo-client-t.c (echo_client_thread):
2936 add a threaded test client, so we at least know
2937 where things break.
2938
29392002-10-18 Michael Meeks <michael@ximian.com>
2940
2941 * Version 2.5.0
2942
29432002-10-18 Michael Meeks <michael@ximian.com>
2944
2945 * test/everything/Makefile.am (INCLUDES): add
2946 IDL_CFLAGS for the imodule service; we need a new
2947 .pc.in file for that service I think, we don't want
2948 to pollute the include space with libIDL unnecessarily.
2949
29502002-10-18 Mark McLoughlin <mark@skynet.ie>
2951
2952 * src/services/imodule/orbit-imodule-utils.[ch]:
2953 (typecodes_hash_foreach), (ORBit_imodule_get_typecodes_seq):
2954 impl converting a typecode hash into a sequence.
2955
2956 * src/services/imodule/orbit-imodule.[ch]:
2957 (ORBit_iinterface_from_tree): kill. Its useless.
2958 (ORBit_iinterfaces_from_tree): return a sequence of
2959 typecodes. Add docs.
2960 (ORBit_iinterfaces_from_file): ditto.
2961
2962 * test/everything/client.c: (main): upd and test the
2963 typecodes sequence.
2964
2965 * test/everything/server.c: (get_server): upd.
2966
29672002-10-18 Mark McLoughlin <mark@skynet.ie>
2968
2969 * src/services/imodule/orbit-imodule-utils.[ch]:
2970 * src/services/imodule/orbit-imodule.[ch]:
2971 Don't use a global has of TypeCodes.
2972
29732002-10-18 Mark McLoughlin <mark@skynet.ie>
2974
2975 * src/services/imodule/*: added runtime IDL->IInterfaces
2976 service.
2977
2978 * configure.in, src/services/Makefile.am: added build
2979 for above.
2980
2981 * test/everything/Makefile.am: build against libORBit-imodule.
2982
2983 * test/everything/client.c: (main):
2984 * test/everything/server.c: (init_iinterfaces), (get_server):
2985 add --gen-imodule arg to run tests using runtime generated
2986 IInterfaces.
2987
2988 * test/everything/test.sh: use it.
2989
29902002-10-17 Albert Chin <china@thewrittenword.com>
2991
2992 * src/orb/orb-core/orbit-debug.h
2993 (dprintf): add ERRORS define for ugly
2994 non-varargs case.
2995
2996 * test/everything/client.c
2997 (test_BasicServer_opStringA_cb),
2998 (test_BasicServer_opStringA): kill duff
2999 array inits in decl.
3000
30012002-10-16 James Henstridge <james@daa.com.au>
3002
3003 * src/idl-compiler/orbit-idl-c-imodule.c (ci_build_types): handle
3004 types nested within structs, unions and exceptions.
3005
3006 * test/everything/client.c (testIInterface): add a test to check
3007 that the subnames array of the FixedLengthUnion typecode is
3008 correct.
3009
3010 * src/idl-compiler/orbit-idl-c-typecode.c
3011 (orbit_output_tcstruct_anon_subnames_array): when generating the
3012 subnames array for unions, repeat the name once for each label
3013 associated with the case statement.
3014
30152002-10-16 Michael Meeks <michael@ximian.com>
3016
3017 * test/everything/client.c (testIInterface):
3018 add type regression tests for James' work.
3019
3020 * src/idl-compiler/orbit-idl-c-utils.c
3021 (orbit_cbe_flatten_args): use _args[i] =...;
3022 initialization instead of array init, to make
3023 HP/UX happy.
3024
30252002-10-14 Mark McLoughlin <mark@skynet.ie>
3026
3027 * src/orb/poa/orbit-adaptor.c: (ORBit_handle_request): init
3028 and free the exception to stop crasher on exception.
3029
30302002-10-02 James Henstridge <james@daa.com.au>
3031
3032 * src/idl-compiler/orbit-idl-c-typecode.c (cbe_tc_generate): same
3033 here.
3034
3035 * src/idl-compiler/orbit-idl-c-common.c (cc_output_class_id):
3036 check for IMODULE symbol including file name.
3037 (cc_output_itypes): and here.
3038
3039 * src/idl-compiler/orbit-idl-c-headers.c (ch_type_alloc_and_tc):
3040 only define typecode struct as static if the header matches the
3041 imodule we are compiling.
3042 (ch_output_itypes): and here too.
3043
3044 * src/idl-compiler/orbit-idl-c-imodule.c
3045 (orbit_idl_output_c_imodule): only define
3046 ORBIT_IDL_C_IMODULE_filename.
3047
30482002-10-02 Mark McLoughlin <mark@skynet.ie>
3049
3050 * src/orb/orb-core/corba-typecode.c:
3051 (CORBA_TypeCode_get_compact_typecode),
3052 (CORBA_TypeCode_type_modifier),
3053 (CORBA_TypeCode_concrete_base_type): add stubs for these
3054 that just through a NO_IMPLEMENT exception.
3055 (CORBA_TypeCode_kind), (CORBA_TypeCode_id), (CORBA_TypeCode_name),
3056 (CORBA_TypeCode_member_count), (CORBA_TypeCode_member_name),
3057 (CORBA_TypeCode_member_type), (CORBA_TypeCode_member_label),
3058 (CORBA_TypeCode_discriminator_type),
3059 (CORBA_TypeCode_default_index), (CORBA_TypeCode_length),
3060 (CORBA_TypeCode_content_type), (CORBA_TypeCode_fixed_digits),
3061 (CORBA_TypeCode_fixed_scale), (CORBA_TypeCode_member_visibility):
3062 Add implementations for these. Based on original implementation
3063 by Tom Tromey which was merged into the cpp branch by Sam Couter.
3064
30652002-10-02 Mark McLoughlin <mark@skynet.ie>
3066
3067 * src/idl-compiler/orbit-idl-backend.c:
3068 (load_language_backend): kill bogus g_module_close.
3069 Thanks to Gergo for pointing it out.
3070
30712002-09-30 ERDI Gergo <cactus@cactus.rulez.org>
3072
3073 * src/idl-compiler/orbit-idl-c-stubs.c (cs_output_stub): Cast EPV
3074 to correct type before storing it
3075
30762002-09-30 Michael Meeks <michael@ximian.com>
3077
3078 * test/everything/client.c (find_tc): return
3079 the typecode.
3080 (testIInterface): do some tests on StrSeq.
3081
3082 * src/orb/orb-core/orbit-small.c
3083 (orbit_small_marshal, orbit_small_demarshal),
3084 (ORBit_small_invoke_adaptor): bin inefficient
3085 trailing TC_void business.
3086
30872002-09-24 Michael Meeks <michael@ximian.com>
3088
3089 * src/orb/orb-core/corba-typecode.c: TC_void's
3090 kind should be tk_void.
3091
3092 * configure.in: bump to 2.5.0, so it's clear
3093 this is the devel-branch.
3094
3095 * src/idl-compiler/orbit-idl-c-common.c
3096 (cc_output_method): output TC_void not
3097 CORBA_OBJECT_NIL for no return value.
3098
3099 * src/idl-compiler/orbit-idl-c-common.c
3100 (cc_output_iargs, cc_output_method): don't do
3101 silly things with the argument list length,
3102 fixes #93928
3103
31042002-09-24 Michael Meeks <michael@ximian.com>
3105
3106 * configure.in: require linc >= 0.7.0
3107
3108 * src/orb/GIOP/giop-connection.c
3109 (giop_connection_real_state_changed): remove
3110 nasty locking silly workaround.
3111
31122002-09-20 Mark McLoughlin <mark@skynet.ie>
3113
3114 * ORBit.spec.in: remove name-client-2 and
3115 orbit-name-server-2 since they are no longer
3116 installed. Fixes #93643.
3117
31182002-09-20 Mark McLoughlin <mark@skynet.ie>
3119
3120 * test/Makefile.am:
3121 * test/poa/Makefile.am:
3122 * test/inhibit/Makefile.am: add $(ORBIT_LIBS)
3123 to LDADD.
3124
31252002-09-17 Murray Cumming <murrayc@usa.net>
3126
3127 * src/idl-compiler/orbit-idl-backend.c (orbit_idl_backend_output):
3128 Warn if the specified idl compliler backend could not be found.
3129
31302002-09-04 Mark McLoughlin <mark@skynet.ie>
3131
3132 Re-implement the idl-compiler language backend loading.
3133
3134 * configure.in: add src/idl-compiler/ORBit-idl-2.0.pc.
3135
3136 * src/idl-compiler/orbit-idl-backend.[ch]: implement.
3137
3138 * src/idl-compiler/Makefile.am: remove orbit-idl-backends.c
3139 from the build and add orbit-idl-backend.[ch]. Install
3140 orbit-idl-backend.h into $(prefix)/include/orbit-2.0/orbit-idl,
3141 install the pkg-config file into $(prefix)/lib/pkgconfig.
3142
3143 * src/idl-compiler/orbit-idl-backends.c: remove.
3144
3145 * src/idl-compiler/orbit-idl-c-backend.[ch]: (orbit_idl_output_c):
3146 return a bool.
3147
3148 * src/idl-compiler/orbit-idl-driver.c: (orbit_idl_to_backend):
3149 hardwire in the c backend and use the loader for anything else.
3150 Also return a bool.
3151
3152 * src/idl-compiler/orbit-idl-main.c: don't define the backend
3153 directory here.
3154
3155 * src/idl-compiler/orbit-idl2.h: kill OIDL_Backend_Info.
3156
3157 * src/idl-compiler/orbit-idl3-types.h: upd.
3158
3159 * src/idl-compiler/ORBit-idl-2.0.pc.in: add
3160
31612002-09-04 Mark McLoughlin <mark@skynet.ie>
3162
3163 Merged some stuff from orbit-cpp-cactus.
3164
3165 * include/orbit/orb-core/corba-typecode.h: include giop-basics.h
3166 if we're using the headers internally.
3167
3168 * src/idl-compiler/Makefile.am: don't define -DDEBUG.
3169
3170 * src/orb/orb-core/corba-orb.c: (ORBit_TypeCode_allocate),
3171 (CORBA_ORB_create_struct_tc), (CORBA_ORB_create_union_tc),
3172 (CORBA_ORB_create_enum_tc), (CORBA_ORB_create_alias_tc),
3173 (CORBA_ORB_create_exception_tc), (CORBA_ORB_create_interface_tc),
3174 (CORBA_ORB_create_string_tc), (CORBA_ORB_create_wstring_tc),
3175 (CORBA_ORB_create_fixed_tc), (CORBA_ORB_create_sequence_tc),
3176 (CORBA_ORB_create_recursive_sequence_tc),
3177 (CORBA_ORB_create_array_tc):
3178 s/CORBA_TypeCode_allocate/ORBit_TypeCode_allocate/g
3179
31802002-09-04 Mark McLoughlin <mark@skynet.ie>
3181
3182 * src/idl-compiler/*: chop, chop - take 2: a year on,
3183 remove all the non-small code again, except this time
3184 a lot more cleanly. That's 6,000 lines of code we don't
3185 have to maintain anymore :-)
3186
31872002-08-23 Michael Meeks <michael@ximian.com>
3188
3189 * Version 2.4.3
3190
31912002-08-23 Michael Meeks <michael@ximian.com>
3192
3193 * src/orb/orb-core/corba-any.c
3194 (ORBit_demarshal_value): don't do expensive re-allocs
3195 on every sequence from length 1 upwards, re-assuring
3196 this works though, start with 4096 elements.
3197
31982002-08-18 Havoc Pennington <hp@pobox.com>
3199
3200 * autogen.sh: hardcode aclocal-1.4/automake-1.4 so that users with
3201 both automake 1.6 and 1.4 installed get the right automake. Means
3202 compilation from CVS will now require the latest automake 1.4
3203 release, or manually creating symlinks called "automake-1.4" and
3204 "aclocal-1.4"
3205
32062002-08-16 Michael Meeks <michael@ximian.com>
3207
3208 * Version 2.4.2
3209
3210 * test/test-performance.c (test_copy): more
3211 tests.
3212
32132002-08-15 Darren Kenny <Darren.Kenny@Sun.COM>
3214
3215 * src/orb/orb-core/corba-object.c
3216 (get_small_skel_CORBA_Object): upd. to '_is_a'
3217 (CORBA_Object__imethods): update _is_a,
3218 get_interface->_interface, non_existent -> _non_existent
3219 to comply with the spec and interop with Java.
3220
32212002-08-07 Michael Meeks <michael@ximian.com>
3222
3223 * src/idl-compiler/orbit-idl-c-headers.c
3224 (ch_type_alloc_and_tc): add missing '\n's spiking
3225 build, thanks Jody.
3226
32272002-08-05 Michael Meeks <michael@ximian.com>
3228
3229 * src/orb/orb-core/orbit-object.c
3230 (object_hash_dump): fix output.
3231
32322002-08-05 Laurent Vivier <Laurent.Vivier@bull.net>
3233
3234 * src/orb/orb-core/orbit-small.c
3235 (ORBit_handle_exception_array): char cast.
3236 (ORBit_small_unlisten_for_broken): add
3237 G_CALLBACK cast on fn.
3238
3239 * src/orb/orb-core/orbit-debug.h: stubs
3240 for unsupported vararg types.
3241
3242 * src/orb/orb-core/corba-orb.c: no static
3243 after extern.
3244
3245 * src/orb/orb-core/allocators.c
3246 (ORBit_freekids_via_TypeCode_T): char * cast.
3247
3248 * src/orb/dynamic/dynany.c
3249 (MAKE_DYNANY_INSERT): prune redundant ';'s
3250 (DynamicAny_DynSequence_get_elements_as_dyn_any):
3251 kill redundant cast.
3252
3253 * src/orb/GIOP/giop-recv-buffer.c
3254 (giop_recv_buffer_demarshal_request_1_1),
3255 (giop_recv_buffer_demarshal_request_1_2):
3256 signedness string casts.
3257
3258 * src/idl-compiler/orbit-idl-c-headers.c
3259 (ch_output_types): undefine before define.
3260 (ch_type_alloc_and_tc): improve imodule output.
3261 (ch_output_itypes): deal with empty imethods.
3262
3263 * *.[ch]: remove trailing ','s at end of enums
3264 for AIX compiler.
3265
3266 * src/idl-compiler/orbit-idl-c-common.c
3267 (cc_small_output_method): same - in compiler.
3268 (cc_small_output_itypes): only output an itype if
3269 it's non-empty (/used)
3270
32712002-08-05 Michael Meeks <michael@ximian.com>
3272
3273 * src/idl-compiler/orbit-idl-c-backend.h:
3274 use guint instead of guint8 for bitfields.
3275
3276 * src/orb/poa/poa.c
3277 (ORBit_POAObject_object_to_objkey): switch
3278 to guchar * pointer for arithmetic.
3279
32802002-08-05 Michael Meeks <michael@ximian.com>
3281
3282 * Version 2.4.1
3283
3284 * src/services/name/Makefile.am: objects fix.
3285
32862002-07-24 Michael Meeks <michael@ximian.com>
3287
3288 * test/test-giop.c (run_test): upd.
3289
3290 * src/orb/orb-core/corba-object.c
3291 (ORBit_object_get_connection): pass the orb
3292 into cnx initiate.
3293
3294 * src/orb/GIOP/giop-connection.c
3295 (giop_connection_initiate): upd.
3296 (giop_connection_set_orb_n_ver): impl.
3297
3298 * src/orb/GIOP/giop-server.c
3299 (giop_server_handle_create_connection): upd.
3300
33012002-07-10 Brian Cameron <Brian.Cameron@sun.com>
3302
3303 * src/services/name/Makefile.am
3304 No longer install name-client-2 or orbit-name-server-2
3305 since they are not used.
3306
33072002-07-10 Michael Meeks <michael@ximian.com>
3308
3309 * configure.in: detect the dofus earlier and more
3310 explicitely.
3311
33122002-07-08 Martin Pool <mbp@samba.org>
3313
3314 * src/services/name/Makefile.am: update build rules
3315 requiring CosNaming.h to be built first.
3316
33172002-07-01 Michael Meeks <michael@ximian.com>
3318
3319 * src/orb/poa/orbit-adaptor.c (ORBit_handle_request):
3320 return a system exception if we can't find the method,
3321 so the remote end won't just hang forever.
3322
3323 * src/orb/poa/poa.c (return_exception): split guts out.
3324 (ORBit_recv_buffer_return_sys_exception): into here
3325
33262002-07-01 Murray Cumming <murrayc@usa.net>
3327
3328 * src/idl-compiler/orbit-idl3-types.h:
3329 Applied Felix Breuer's "namespace -> ns" patch, and added
3330 comment to code so that it won't be reverted again. The C++
3331 keyword "namespace" was being used as a struct field name.
3332
33332002-06-27 Michael Meeks <michael@ximian.com>
3334
3335 * src/orb/GIOP/giop-recv-buffer.c (giop_recv_list_zap):
3336 always remove the stale ent from the list, and NULL the
3337 dying cnx.
3338 (giop_recv_buffer_get): check for a NULL ent's cnx.
3339 (giop_connection_destroy_frags): impl.
3340 (giop_recv_buffer_handle_fragmented): check that we
3341 don't have an inconsistant 'fragments_follow' state.
3342
3343 * src/orb/GIOP/giop-connection.c
3344 (giop_connection_dispose): dispose the fragments.
3345
3346 * src/orb/orb-core/orbit-small.c (async_recv_cb): treat
3347 a NULL cnx, like the disconnection it is.
3348
3349 * src/orb/orb-core/corba-any.c
3350 (ORBit_demarshal_value): do exponential growing of
3351 sequences so we don't blow the memory - since we
3352 find it hard to do pre-alloc bounds checking on
3353 arbitrary sequence contents.
3354 Free the sequence on failing to de-marshal.
3355
3356 * src/orb/orb-core/allocators.c
3357 (ORBit_realloc_tcval): impl. for the above scheme.
3358
33592002-06-27 Michael Meeks <michael@ximian.com>
3360
3361 * src/orb/GIOP/giop-recv-buffer.c
3362 (giop_connection_handle_input): update reporting
3363 to make DEBUG=errors more useful.
3364 (handle_reply): don't dump the reply.
3365
3366 * test/test-giop.c (test_mangling): impl.
3367 (main): upd.
3368 (test_incoming_mangler): randomly mangle passing data.
3369
3370 * src/orb/GIOP/giop-server.c: conditionalize
3371 new_connection debug hook.
3372
33732002-06-26 Michael Meeks <michael@ximian.com>
3374
3375 * src/orb/GIOP/giop-recv-buffer.c (concat_frags):
3376 propagate out of memory condition upwards.
3377 (giop_connection_remove_frag): move buffer unuse here.
3378 conditionalize debug hooks on a debug build.
3379 (giop_connection_handle_input): close the connection
3380 on out of bound input more aggressively.
3381 (concat_frags): make sure head->end points at the
3382 right bound.
3383 (giop_recv_buffer_handle_fragmented): build the overall
3384 length into the head message_size, and bounds check it
3385 against MSG_SIZE_LIMIT.
3386
3387 * test/ior-decode.c (main): re-hash & expand.
3388
33892002-06-25 Michael Meeks <michael@ximian.com>
3390
3391 * src/orb/GIOP/giop-recv-buffer.c
3392 (alloc_buffer):
3393 (giop_recv_msg_reading_body): handle the out of
3394 memory situation gracefully.
3395
33962002-06-25 Michael Meeks <michael@ximian.com>
3397
3398 * src/orb/GIOP/giop.c
3399 (giop_tmpdir_init): update to new genuid
3400 API, how did this get missed (!), dependency
3401 problems it seems.
3402
3403 * src/orb/GIOP/giop-send-buffer.c
3404 (giop_send_buffer_init): upd.
3405 (get_next_indirect): blank newly allocated
3406 memory if giop_blank_wire_data is set.
3407 (giop_send_buffer_use): blank indirects we
3408 have already used.
3409
3410 * src/orb/GIOP/giop.c (giop_init): upd.
3411
3412 * src/orb/orb-core/corba-orb.c
3413 (CORBA_ORB_init): pass flag to giop_init.
3414
3415 * src/orb/poa/poa.c
3416 (PortableServer_POA__get_the_children): fix annoying
3417 typedef warning type thing, needs an IDL compiler fix
3418 really.
3419
34202002-06-25 Michael Meeks <michael@ximian.com>
3421
3422 * src/orb/poa/orbit-adaptor.c (ORBit_adaptor_setup),
3423 (ORBit_adaptor_find): upd.
3424
3425 * src/orb/poa/poa.c (ORBit_POA_new_system_objid),
3426 (ORBit_POA_create_object, ORBit_POA_object_key_lookup): upd.
3427
3428 * src/orb/util/genrand.c (ORBit_genuid_init):
3429 always do simple init, fallback to /dev/random
3430 if we don't have /dev/urandom, return a status.
3431 (ORBit_genuid_fini): upd.
3432 (ORBit_genuid_buffer): update to pass a role in.
3433 (genuid_simple): upd.
3434
3435 * src/orb/orb-core/corba-orb.c (CORBA_ORB_init): split out
3436 (genuid_init): this, and trap some of the more heinous
3437 error cases we can catch.
3438
3439 * test/test-giop.c (test_cookie): add.
3440
34412002-06-24 Michael Meeks <michael@ximian.com>
3442
3443 * src/orb/util/genrand.c (ORBit_genuid_init):
3444 prune bits out.
3445
3446 * src/orb/poa/poa.c (ORBit_POA_new_system_objid):
3447 update arithmetic.
3448
34492002-06-24 Michael Meeks <michael@ximian.com>
3450
3451 * test/test-giop.c: fix the non-debugging build.
3452
34532002-06-24 Gustavo Giráldez <gustavo.giraldez@gmx.net>
3454
3455 * src/orb/util/orbit-options.c
3456 (ORBit_option_command_line_parse): fix '\0'
3457 termination regression.
3458
34592002-06-21 Michael Meeks <michael@ximian.com>
3460
3461 * test/test-giop.c (run_test): add symmetry test.
3462 (main): test things both ways around.
3463
34642002-06-21 Michael Meeks <michael@ximian.com>
3465
3466 * test/test-giop.c (test_spoof_callback),
3467 (test_spoof_hook, test_spoofing): impl.
3468 (run_test): impl.
3469 (wait_for_disconnect): impl.
3470 (run_test_hook_new_connection): impl.
3471 (main): upd.
3472
3473 * src/orb/GIOP/giop-server.c
3474 (giop_server_handle_create_connection): add a new
3475 connection debugging hook.
3476
3477 * src/orb/GIOP/giop-recv-buffer.c (handle_reply):
3478 validate the reply came from the right connection,
3479 return TRUE/FALSE depending.
3480 (giop_connection_handle_input): terminate connections
3481 that do bad things to us.
3482
3483 * src/orb/orbit-init.c (ORBit_init_internals):
3484 add a getuid to the srand.
3485
34862002-06-20 Michael Meeks <michael@ximian.com>
3487
3488 * src/orb/orb-core/orbit-typelib.c
3489 (ORBit_get_typelib_paths): use GNOME2_PATH to be
3490 consistant with the rest of the platform.
3491 (ORBit_small_load_typelib): document.
3492
3493 * src/orb/util/orbit-options.c
3494 (ORBit_option_command_line_parse): properly erase
3495 arguments we chew, instead of nulling them via
3496 argv [j++] = '\0' - odd indeed. We decrement argc
3497 anyway.
3498
3499 * src/orb/orb-core/corba-orb.c
3500 (CORBA_ORB_string_to_object): only use the
3501 orbhttp code if it's explicitely enabled with
3502 --ORBHTTPIORs.
3503
3504 * src/orb/orb-core/orbhttp.c: brief review and
3505 condemn as riddled with security holes, env. var
3506 buffer overflows, dubious un-integrated socket
3507 code etc. etc.
3508
35092002-06-19 jacob berkman <jacob@ximian.com>
3510
3511 * configure.in: fix obvious typo in debug cflags stuff
3512
35132002-06-18 Michael Meeks <michael@ximian.com>
3514
3515 * test/everything/pingServer.c
3516 (PingPongServer_opOneWayCallback): kill warning.
3517
3518 * src/orb/GIOP/giop-send-buffer.c
3519 (giop_send_buffer_use): paranoid checks on
3520 the giop version we are passed
3521
35222002-06-18 Alexander Larsson <alla@lysator.liu.se>
3523
3524 * test/everything/client.c (testPingPong):
3525 Initialize broken.
3526
35272002-06-18 Michael Meeks <michael@ximian.com>
3528
3529 * src/orb/GIOP/giop-send-buffer.c
3530 (get_next_indirect): check the send buffer
3531 for 8 byte alignment, thanks to Alex Larsson
3532
35332002-06-17 Michael Meeks <michael@ximian.com>
3534
3535 * src/orb/orb-core/corba-orb.c
3536 (ORBit_ORB_start_servers): pass local only
3537 create_options into linc_server_new
3538 add "ORBLocalOnly" option.
3539
35402002-06-13 Michael Meeks <michael@ximian.com> &
3541
3542 * test/everything/client.c (testPingPong):
3543 disable this test - ultimately oneways suck.
3544 You can't block the event consumer, because you
3545 deadlock, you can't block the event client
3546 because you don't know when the server has a
3547 full stack.
3548
35492002-06-13 Michael Meeks <michael@ximian.com> &
3550 Bill Haneman <bill.haneman@sun.com>
3551
3552 * test/everything/client.c (testPingPong):
3553 add client limited stack smash test.
3554
3555 * test/everything/pingServer.c
3556 (PingPongServer_opOneWayCallback): impl.
3557 (PingPongServer_opRoundTrip): impl.
3558
35592002-06-13 Bill Haneman <bill.haneman@sun.com>
3560
3561 * test/everything/Makefile.am: fix
3562 DEPENDENCIES typo.
3563
35642002-06-13 Mark McLoughlin <mark@skynet.ie>
3565
3566 * src/orb/GIOP/giop-recv-buffer.c: (handle_reply):
3567 don't use _orbit_debug_flags unles debugging
3568 is switched on.
3569
35702002-06-12 Michael Meeks <michael@ximian.com>
3571
3572 * src/orb/GIOP/giop-connection.c
3573 (giop_connection_real_state_changed): fix a
3574 logic silly.
3575
35762002-06-11 Michael Meeks <michael@ximian.com>
3577
3578 * src/orb/orb-core/corba-orb.c
3579 (CORBA_ORB_destroy): don't print out debug
3580 unless G_ENABLE_DEBUG is on.
3581
35822002-06-10 Michael Meeks <michael@ximian.com>
3583
3584 * src/orb/GIOP/giop.c (giop_init): upd.
3585 (test_safe_socket_dir): impl.
3586 (scan_socket_dir): impl.
3587 (giop_tmpdir_init): impl.
3588
3589 * src/orb/orb-core/corba-orb.c
3590 (CORBA_ORB_init): hoist random init up the
3591 file so we can use it in the giop init.
3592
35932002-06-09 Michael Meeks <michael@ximian.com>
3594
3595 * src/orb/GIOP/giop.c (giop_init):
3596 g_strdup_printf instead of snprintf.
3597
35982002-06-07 Michael Meeks <michael@ximian.com>
3599
3600 * src/orb/GIOP/giop-connection.c
3601 (giop_connection_list_add): remove bogus ref,
3602 we've been leaking connection objects a lot it
3603 seems.
3604 (giop_connection_real_state_changed): add broken
3605 lock handling, all because Mark added a status
3606 change notification to linc_connection_read
3607 [ that should go long term ].
3608
3609 * test/test-giop.c (test_fragments): upd.
3610
3611 * test/Makefile.am (INCLUDES): add some internals.
3612
3613 * src/orb/GIOP/giop-recv-buffer.c
3614 (handle_reply): add unexpected reply debug hook.
3615 (giop_connection_get_frag): calm printout.
3616
3617 * src/orb/orb-core/corba-orb.c
3618 (ORBit_setup_debug_flags): add ORBIT_DEBUG_ERRORS,
3619 so we don't spew stuff all the time.
3620
36212002-06-07 Michael Meeks <michael@ximian.com>
3622
3623 * src/orb/orb-core/corba-typecode.c
3624 (CDR_get): remove impossible signedness wise
3625 comparison.
3626
3627 * src/orb/orb-core/iop-profiles.c
3628 (ORBit_demarshal_IOR): ditto.
3629
36302002-06-06 Michael Meeks <michael@ximian.com>
3631
3632 * src/orb/orb-core/corba-typecode.c: update
3633 TC_null's name #84354
3634
36352002-06-05 Michael Meeks <michael@ximian.com>
3636
3637 * src/orb/GIOP/giop-recv-buffer.c
3638 (giop_recv_buffer_handle_fragmented): GIOP_FRAGMENTs
3639 don't have message_id's we can get in the same way.
3640 (concat_frags): fix mem copying.
3641
36422002-06-05 Michael Meeks <michael@ximian.com>
3643
3644 * src/orb/GIOP/giop-recv-buffer.c
3645 (giop_connection_handle_input): more re-arrangement,
3646 and death of sillies.
3647
36482002-06-05 Michael Meeks <michael@ximian.com>
3649
3650 * src/orb/GIOP/giop-recv-buffer.c
3651 (giop_connection_handle_input): upd. frag_out to move
3652 onto the next incoming buffer properly.
3653
36542002-06-04 Michael Meeks <michael@ximian.com>
3655
3656 * src/orb/GIOP/giop-recv-buffer.c
3657 (giop_connection_get_frag, giop_connection_add_frag),
3658 (giop_connection_remove_frag): impl.
3659 (alloc_buffer): split out of
3660 (giop_recv_msg_reading_body): here.
3661 (concat_frags): use it & impl.
3662 (giop_recv_buffer_handle_fragmented): impl.
3663 (giop_connection_handle_input): upd & fix nasty with
3664 locking / leaking & msg_error path.
3665
36662002-05-31 Mark McLoughlin <mark@skynet.ie>
3667
3668 * src/orb/orb-core/corba-orb.c: (copy_case_value): handle
3669 alias typecodes.
3670
3671 * src/orb/orb-core/orbit-object.c: (object_hash_dump): print
3672 out helpful info on leaked TypeCodes.
3673
3674 * src/orb/orb-core/orbit-small.c: (orbit_small_marshal),
3675 (orbit_small_demarshal): don't rely on the sequences _buffer
3676 to be null terminated. We have _length after all ...
3677
36782002-05-27 Michael Meeks <michael@ximian.com>
3679
3680 * Version 2.4.0
3681
36822002-05-27 Michael Meeks <michael@ximian.com>
3683
3684 * src/orb/GIOP/giop-recv-buffer.c
3685 (giop_recv_list_zap): unuse the buffer, don't print
3686 a message that we're leaking it.
3687
36882002-05-27 Michael Meeks <michael@ximian.com>
3689
3690 * test/everything/client.c (main): re-instate
3691 run_tests [doh] (testIsA): impl. (run_tests): use it.
3692
3693 * src/idl/CORBA/orb.idl: add #pragma prefix.
3694
3695 * src/idl-compiler/orbit-idl-c-common.c
3696 (cc_small_output_itypes): upd.
3697
3698 * src/orb/orb-core/corba-typecode.c
3699 (DEF_TC_BASIC): upd. (void): upd.
3700
3701 * src/orb/orb-core/corba-object.c
3702 (CORBA_Object_is_a): handle omg.org/CORBA/Object
3703
37042002-05-27 Michael Meeks <michael@ximian.com>
3705
3706 * test/everything/server.c (TestFactory_noOp): impl.
3707
37082002-05-24 Michael Meeks <michael@ximian.com>
3709
3710 * src/orb/orb-core/orbit-small.c
3711 (ORBit_small_invoke_stub_n): impl. to help bin-compat,
3712 we add this method, and leave 'ORBit_small_invoke_stub'
3713
3714 * src/idl-compiler/orbit-idl-c-stubs.c
3715 (cs_small_output_stub): remove bulky system exception
3716 setting logic.
3717 (cs_small_output_stub): call invoke_stub_n instead, so
3718 we have the method index, so we could do strange, but
3719 index rather than name based associations on methods
3720 later.
3721
3722 * include/orbit/poa/poa-types.h
3723 (ORBIT_STUB_GetEpv): cast to gpointer, to save
3724 huge & ugly cast in the stubs.
3725
3726 * src/orb/orb-core/orbit-object.c
3727 (ORBit_RootObject_shutdown): only dump debug on
3728 exit if we have G_ENABLE_DEBUG.
3729
37302002-05-22 Michael Meeks <michael@ximian.com>
3731
3732 * src/orb/orb-core/corba-orb.c
3733 (ORBit_setup_debug_flags): add inproc_traces,
3734 disable fast calls if flag is on.
3735
3736 * include/orbit/orb-core/orbit-small.h: add
3737 ORBIT_SMALL_FAST_LOCALS.
3738
3739 * src/idl-compiler/orbit-idl-marshal.c: update all
3740 the printed strings to 'orbit-idl-2'
3741
3742 * src/idl-compiler/*.c: update all the auto-generated
3743 warnings to a standard define in
3744
3745 * src/idl-compiler/orbit-idl-c-backend.h (OIDL_C_WARNING):
3746 here and version to orbit-idl-2 correctly.
3747
37482002-05-24 Richard Kinder <r_kinder@yahoo.com>
3749
3750 * src/orb/orb-core/orbhttp.c: cleanup magic numbers, closes #78938
3751
37522002-05-22 Michael Meeks <michael@ximian.com>
3753
3754 * src/orb/orb-core/corba-object.c
3755 (g_CORBA_Object_hash): don't bother hashing the
3756 profiles they're all the same, and it's theoretically
3757 wrong anyway (cf. equal), use the object key instead,
3758 for a huge reduction in hash collisions.
3759
3760 * src/orb/orb-core/iop-profiles.c (IOP_ObjectKey_hash): impl.
3761
37622002-05-21 Michael Meeks <michael@ximian.com>
3763
3764 * include/orbit/orb-core/corba-object-type.h:
3765 move 'orb' down the structure, so that the only bits
3766 the stubs could possibly use are at the end.
3767
37682002-05-20 Michael Meeks <michael@ximian.com>
3769
3770 * Version 2.3.110
3771
3772 * prune cleanup from the build, will move to linc.
3773
37742002-05-16 Jacob Berkman <jacob@ximian.com>
3775
3776 * src/cleanup/Makefile.am (orbit_cleanup_sockets_LDADD): fix LDADD
3777 var name
3778
37792002-05-16 Michael Meeks <michael@ximian.com>
3780
3781 * src/orb/orb-core/orbit-small.c
3782 (orbit_small_demarshal): add a parameter as to
3783 whether we should release the recv buffer.
3784
3785 * src/orb/GIOP/giop-recv-buffer.c (handle_reply):
3786 unuse the async buffer here.
3787
3788 * src/orb/GIOP/giop-connection.c
3789 (giop_connection_dispose): check we don't leak
3790 a pending msg on cnx close.
3791
37922002-05-16 Michael Meeks <michael@ximian.com>
3793
3794 * src/orb/GIOP/giop-recv-buffer.c
3795 (giop_recv_buffer_unuse): free GIOP_1_0 service
3796 contexts in the same way as GIOP_1_1, that's how we
3797 de-marshal them in giop_recv_buffer_demarshal.
3798
3799 * test/everything/client.c (testMisc): fix leak.
3800 (testMiscUnions): don't dup inArg's string.
3801 don't alloc the inSeq's _buffer, or dup it's string.
3802
38032002-05-15 Michael Meeks <michael@ximian.com>
3804
3805 * src/cleanup/Makefile.am,
3806 * src/cleanup/cleanup.c: add.
3807
3808 * configure.in,
3809 * src/Makefile.am: add cleanup.
3810
38112002-05-14 Sean Atkinson <sean@cantab.net>
3812
3813 * src/orb/orb-core/orbit-trace.c
3814 (ORBit_trace_value): Replace middle of long strings with dots.
3815 (ORBit_trace_timestamp): Pad microseconds with zeros.
3816
38172002-05-13 Michael Meeks <michael@ximian.com>
3818
3819 * Version 2.3.109
3820
38212002-05-07 Michael Meeks <michael@ximian.com>
3822
3823 * src/services/name/orbit-name-server.c
3824 (impl_NamingContext_list): re-order to kill swathe of
3825 redundant forward prototypes.
3826 (ORBit_CosNaming_NamingContextExt_create),
3827 (impl_BindingIterator__create): dup the poa ref we hold.
3828 (impl_NamingContextExt__destroy),
3829 (impl_BindingIterator__destroy, impl_BindingIterator__destroy):
3830 don't de-activate ourselves in a finalize method.
3831
38322002-05-02 ERDI Gergo <cactus@cactus.rulez.org>
3833
3834 * src/idl-compiler/orbit-idl-c-headers.c (ch_prep_sequence): Cast
3835 return value of _allocbuf method to pointer to member type, to
3836 make typesafe C++ compilers happy
3837
38382002-04-23 Mark McLoughlin <mark@skynet.ie>
3839
3840 * src/orb/orb-core/iop-profiles.c:
3841 (CodeSetComponent_demarshal): fix off by one error manifesting
3842 itself with the Java ORB.
3843
38442002-04-18 Michael Meeks <michael@ximian.com>
3845
3846 * src/orb/orb-core/orbit-small.c (async_recv_cb):
3847 handle a NULL callback.
3848
3849 * test/everything/client.c (testMisc): fix
3850 ev mis-direction.
3851
3852 * configure.in (DISABLE_DEPRECATED_CFLAGS): add.
3853
3854 * */Makefile.am: add deprecated cflag guards.
3855
38562002-04-15 Michael Meeks <michael@ximian.com>
3857
3858 * Version 2.3.108
3859
38602002-04-15 Michael Meeks <michael@ximian.com>
3861
3862 * configure.in: require linc >= 0.1.21
3863
3864 * src/orb/orb-core/orbit-small.c
3865 (ORBit_small_invoke_adaptor): fix the same bug just
3866 above Gergo's, and just below too - gack.
3867
3868 * test/everything/*: update the sequence tests so
3869 we have longer runs.
3870
38712002-04-13 ERDI Gergo <cactus@cactus.rulez.org>
3872
3873 * src/orb/orb-core/orbit-small.c (ORBit_small_invoke_adaptor):
3874 Check for FIXED flag on the argument type and not the method (as
3875 that would be silly:)
3876
38772002-04-10 Michael Meeks <michael@ximian.com>
3878
3879 * configure.in: remove poll & basename checks,
3880 socklen_t check, inet_aton check,
3881 we don't need them.
3882
38832002-04-09 Michael Meeks <michael@ximian.com>
3884
3885 * src/orb/orb-core/corba-typecode.c (tc_dec):
3886 fix #76777 warning issue.
3887
38882002-04-09 Michael Meeks <michael@ximian.com>
3889
3890 * src/orb/util/genrand.c
3891 (genrand_openssl): rename to
3892 (genuid_rand_openssl): this to be consistant and work.
3893 [thanks to Colin Campbell].
3894
38952002-04-02 Michael Meeks <michael@ximian.com>
3896
3897 * src/orb/orb-core/corba-orb.c
3898 (shutdown_orb): impl. we need it to close floating UDS.
3899
39002002-04-01 Murray Cumming <murrayc@usa.net>
3901
3902 * Added --headerguardprefix option to orbit-idl-2. This allows the
3903 C++ bindings to use generated C bindings which in turn #include
3904 already-generated installed C bindings.
3905 This has already been applied to the cpp branch. Applying it here
3906 should simplify merging.
3907
39082002-03-30 ERDI Gergo <cactus@cactus.rulez.org>
3909
3910 * src/idl-compiler/orbit-idl-c-utils.c (cs_small_unflatten_ref):
3911 Explicitly cast array arguments to silence C++ compiler error
3912 messages
3913
39142002-03-28 Mark McLoughlin <mark@skynet.ie>
3915
3916 * src/services/name/Makefile.am: link against
3917 dependancies (75709)
3918
39192002-03-27 Michael Meeks <michael@ximian.com>
3920
3921 * test/everything/client.c (testMisc): add IOR
3922 stringification roundtrip check.
3923
39242002-03-25 Mark McLoughlin <mark@skynet.ie>
3925
3926 * src/idl-compiler/orbit-idl-c-common.c:
3927 (cc_small_output_itypes): initialise the ORBit_IMethod array
3928 in a friendly way.
3929
39302002-03-04 Mark McLoughlin <mark@skynet.ie>
3931
3932 * configure.in: version 2.3.107
3933
39342002-03-09 Dou Wen <orbkernel@hotmail.com>
3935
3936 * src/orb/GIOP/giop-recv-buffer.c
3937 (giop_recv_msg_reading_body): assert that the buffer is
3938 correctly aligned.
3939
39402002-03-20 Gregory Leblanc <gleblanc@linuxweasel.com>
3941
3942 * ORBit.spec.in: Lots of re-writing and such.
3943 * configure.in: Added AC_SUBST for a couple of missing variables
3944 used in the spec file
3945
39462002-03-20 Mark McLoughlin <mark@skynet.ie>
3947
3948 * src/orb/orb-core/iop-profiles.c:
3949 (IOP_components_marshal): also marshal the CODE_SETS component
3950 in an encapsulated buffer.
3951 (IOP_TAG_CODE_SETS_demarshal): demarshal it from the
3952 encapsulated buffer.
3953
39542002-03-13 Laszlo Peter <laca@ireland.sun.com>
3955
3956 * include/orbit/orb-core/corba-typecode.h: change CORBA_tk_recursive
3957 to unsigned.
3958
3959 * src/orb/orb-core/corba-typecode.c (tc_dec): test the unsigned
3960 lkind instead of kind that can be signed or unsigned on different
3961 platforms.
3962
39632002-03-04 Mark McLoughlin <mark@skynet.ie>
3964
3965 * configure.in: version 2.3.106
3966
39672002-03-01 jacob berkman <jacob@ximian.com>
3968
3969 * autogen.sh: pass --copy to automake, and pass --include-deps
3970 unless using gcc
3971
39722002-03-01 Mark McLoughlin <mark@skynet.ie>
3973
3974 * test/poa/poatest-basic*.c: don't use lovely C99 compliant
3975 structure initialisation .... just to keep forte happy.
3976
39772002-03-01 Mark McLoughlin <mark@skynet.ie>
3978
3979 * src/idl-compiler/orbit-idl-c-headers.c: (ch_output_type_union):
3980 output the enum decl here if need be.
3981
3982 * src/idl-compiler/orbit-idl-c-imodule.c: (cc_small_build_types):
3983 ditto.
3984
3985 * test/everything/everything.idl: add new soup constats and
3986 declare the colour enum in the union decl.
3987
3988 * test/everything/client.c:
3989 (testConst): test the soup consts.
3990 (testIInterface): test the soup and colour typecodes.
3991 (testMiscUnions): update for colour scope change.
3992
3993 * test/everything/unionServer.c: (UnionServer_opMisc): ditto.
3994
39952002-02-28 Mark McLoughlin <mark@skynet.ie>
3996
3997 * src/orb/orb-core/orbit-debug.h: fix typo.
3998
39992002-02-26 Michael Meeks <michael@ximian.com>
4000
4001 * src/orb/orb-core/corba-orb.c
4002 (CORBA_ORB_list_initial_services): update
4003 assertion to not do an assignment.
4004
40052002-02-26 Yanko Kaneti <yaneti@declera.com>
4006
4007 * src/orb/orb-core/orbit-debug.h: handle different
4008 var-arg cases in the parser.
4009
40102002-02-24 Sam Couter <scouter@bigpond.net.au>
4011
4012 * Add G_BEGIN_DECLS and G_END_DECLS to installed headers to allow
4013 exported interfaces to be used from C++ code.
4014
40152002-02-18 Mark McLoughlin <mark@skynet.ie>
4016
4017 * src/idl-compiler/orbit-idl-c-common.c:
4018 (cc_small_build_interfaces): don't initialise ai twice.
4019
4020 * docs/FAQ: add bit about refs and giop debugging.
4021
40222002-02-11 Mark McLoughlin <mark@skynet.ie>
4023
4024 * configure.in: version 2.3.105
4025
40262002-02-08 Mark McLoughlin <mark@skynet.ie>
4027
4028 * src/idl-compiler/orbit-idl-c-typecode.c:
4029 (orbit_output_tcstruct_anon_sublabels_array): cleanup.
4030
40312002-02-06 Michael Meeks <michael@ximian.com>
4032
4033 * src/orb/util/genrand.c
4034 (genuid_rand_device): handle EINTR, EAGAIN,
4035 and short reads.
4036
40372002-02-06 Michael Meeks <michael@ximian.com>
4038
4039 * src/orb/orb-core/orbit-small.c
4040 (ORBit_small_invoke_stub): make trace debugging
4041 more meaningfull in-proc.
4042
40432002-02-05 Michael Meeks <michael@ximian.com>
4044
4045 * src/orb/orb-core/orbit-object.c
4046 (object_hash_dump): impl.
4047 (ORBit_RootObject_shutdown),
4048 (ORBit_RootObject_init, do_unref): add more verbose
4049 and powerful object debugging.
4050
4051 * src/orb/orb-core/corba-orb.c
4052 (ORBit_setup_debug_flags): add 'refs'
4053
4054 * src/orb/orb-core/orbit-debug.h: fix bitmask cockup.
4055
40562002-02-05 Mark McLoughlin <mark@skynet.ie>
4057
4058 * src/orb/orb-core/corba-any.c: (ORBit_value_equivalent):
4059 add union_size to the original pointers.
4060
4061 * test/everything/client.c: (testAnyEquivalence): re-enable
4062 testing this.
4063
40642002-02-05 Mark McLoughlin <mark@skynet.ie>
4065
4066 * src/orb/orb-core/corba-any.c: (ORBit_get_union_switch):
4067 don't assume pointers are correctly alligned.
4068
4069 * src/orb/util/genrand.c: (genuid_glib_pseudo): fix silly.
4070
40712002-02-04 Michael Meeks <michael@ximian.com>
4072
4073 * src/orb/orb-core/corba-context.c
4074 (ORBit_Context_free_fn): remove ourselves correctly
4075 from the parent.
4076
4077 * test/everything/client.c (testAnyEquivalence):
4078 knobble for now so we pass the tests.
4079
4080 * src/orb/orb-core/corba-any.c: do a proper boolean
4081 compare.
4082
40832002-02-02 Michael Meeks <michael@ximian.com>
4084
4085 * Makefile.am (EXTRA_DIST): add Makefile.shared.
4086
40872002-02-04 Mark McLoughlin <mark@skynet.ie>
4088
4089 * configure.in: version 2.3.104.
4090
40912002-02-04 Shivram U <shivaram.upadhyayula@wipro.com>
4092
4093 reviewed by: Mark McLoughlin <mark@skynet.ie>
4094
4095 * src/idl-compiler/orbit-idl-c-demarshal.c:
4096 * src/idl-compiler/orbit-idl-c-marshal.c:
4097 * src/idl-compiler/orbit-idl-c-skelimpl.c:
4098 * src/idl-compiler/orbit-idl-c-stubs.c:
4099 * src/idl-compiler/orbit-idl-c-typecode.c:
4100 * src/idl-compiler/orbit-idl-c-utils.c:
4101 * src/idl-compiler/orbit-idl-utils.c:
4102 * src/orb/orb-core/corba-object.c:
4103 Remove deprecated glib functions.
4104 s/g_string_sprintf/g_string_printf/
4105 s/g_string_sprintfa/g_string_append_printf/
4106 s/g_main_iteration/g_main_context_iteration/.
4107
41082002-01-31 Mark McLoughlin <mark@skynet.ie>
4109
4110 * src/orb/GIOP/giop-debug.h: make giop dumping a runtime
4111 debugging option.
4112
4113 * src/orb/GIOP/giop-recv-buffer.c: (giop_recv_msg_reading_body):
4114 use dprintf (GIOP.. instead of giop_dprintf.
4115
4116 * src/orb/orb-core/corba-orb.c: (ORBit_setup_debug_flags):
4117 add ORBIT_DEBUG_GIOP.
4118
4119 * src/orb/orb-core/orbit-debug.h: ditto.
4120
41212002-01-30 Mark McLoughlin <mark@skynet.ie>
4122
4123 * include/orbit/orb-core/corba-any.h: kill dup_strings
4124 arg from demarshal funcs. Kill duplicated
4125 ORBit_demarshal_value.
4126
4127 * src/orb/GIOP/giop-recv-buffer.c:
4128 (giop_IOP_ServiceContextList_demarshal): upd for dup_strings.
4129
4130 * src/orb/orb-core/corba-any.c:
4131 (ORBit_get_union_tag): kill unused variable.
4132 (ORBit_demarshal_value), (ORBit_demarshal_arg),
4133 (ORBit_demarshal_any): kill dup_strings arg.
4134
4135 * src/orb/orb-core/orbit-small.c:
4136 (ORBit_handle_exception_array): upd for dup_strings.
4137 (ORBit_small_marshal_context): move branch to
4138 (orbit_small_marshal): here. We rarely take this branch, so
4139 lets kill the fuction call overhead for the common case.
4140 (orbit_small_demarshal), (ORBit_small_invoke_adaptor): upd
4141 for dup_strings change.
4142
4143 * test/everything/basicServer.c: (BasicServer_opString),
4144 (BasicServer_opFloat), (BasicServer_opDouble),
4145 (BasicServer_opLongDouble): implement floating point tests.
4146
4147 * test/everything/unionServer.c: (UnionServer_opMisc): impl another
4148 union test.
4149
4150 * test/everything/client.c:
4151 (testConst): test float, double and long double constants.
4152 (testFloat), (testDouble), (testLongDouble): use floating point
4153 tests.
4154 (testMiscUnions): use new union test.
4155 (testAnyException): add output.
4156 (testAnyEquivalence): test ORBit_any_equivalent and ORBit_copy_value
4157 code paths.
4158 (test_BasicServer_opExceptionA): update vtable offset.
4159 (run_tests): run new tests.
4160
4161 * test/everything/constants.h: add floating point constants.
4162
4163 * test/everything/everything.idl: add idl for new tests.
4164
41652002-01-29 Mark McLoughlin <mark@skynet.ie>
4166
4167 * src/orb/orb-core/corba-orb.c: clean up.
4168
41692002-01-28 Mark McLoughlin <mark@skynet.ie>
4170
4171 * configure.in: version 2.3.103.
4172
41732002-01-28 Mark McLoughlin <mark@skynet.ie>
4174
4175 * src/orb/util/genrand.c: (genuid_simple),
4176 (genuid_glib_pseudo): more tweaks.
4177
41782002-01-25 Michael Meeks <michael@ximian.com>
4179
4180 * test/everything/client.c (main): upd.
4181 (test_init): test it.
4182
4183 * src/orb/orb-core/corba-orb.c
4184 (CORBA_ORB_shutdown, CORBA_ORB_init),
4185 (CORBA_ORB_destroy): count init / destroy pairs
4186 and don't allow people to destroy if someone else
4187 has inited.
4188
41892002-01-25 Mark McLoughlin <mark@skynet.ie>
4190
4191 * acinclude.m4: (AC_CHECK_ALIGNOF): error out if an alignment
4192 is found to be zero.
4193
4194 * test/everything/client.c: (make_large_str_seq): fix leak.
4195
41962002-01-24 Michael Meeks <michael@ximian.com>
4197
4198 * src/orb/orb-core/corba-typecode.c
4199 (ORBit_TypeCode_free_fn): kill bogus typecode free.
4200
4201 * src/orb/util/genrand.c (ORBit_genuid_init): seed
4202 the random number generator but once.
4203 (genuid_glib_pseudo): use rand more sensibly, use
4204 genuid_simple first.
4205 (genuid_simple): make inc a gulong.
4206
42072002-01-22 Mark McLoughlin <mark@skynet.ie>
4208
4209 * src/orb/orb-core/corba-typecode.c
4210 (ORBit_TypeCode_free_f): sublabels isn't an 'any' sequence
4211 anymore.
4212
42132002-01-22 Mark McLoughlin <mark@skynet.ie>
4214
4215 * include/orbit/orb-core/corba-typecode.h: change the
4216 sublabels member to a CORBA_long *.
4217
4218 * src/idl-compiler/orbit-idl-c-typecode.c:
4219 (orbit_output_tcstruct_anon_sublabels_array),
4220 (orbit_output_tcstruct_sublabels), (cbe_tc_generate):
4221 output the array.
4222
4223 * src/orb/orb-core/corba-any.c: (ORBit_get_union_tag):
4224 simplify the discrim compare.
4225
4226 * src/orb/orb-core/corba-orb.c: (copy_case_value): impl.
4227 (CORBA_ORB_create_union_tc): don't copy the whole any, just
4228 the value.
4229
4230 * src/orb/orb-core/corba-typecode.c: (tc_enc_tk_union),
4231 (tc_dec_tk_union), (typecode_equiv_internal): upd.
4232
42332002-01-22 Mark McLoughlin <mark@skynet.ie>
4234
4235 * src/idl-compiler/orbit-idl-utils.c:
4236 (orbit_idl_check_oneway_op): impl to check if oneways have
4237 returns or outs/inouts.
4238
4239 * src/idl-compiler/orbit-idl-c-headers.c:
4240 (ch_output_stub_protos): use.
4241
4242 * test/everything/everything.idl,
4243 test/everything/server.c,
4244 test/everything/client.c: make segv return void.
4245
42462002-01-21 Mark McLoughlin <mark@skynet.ie>
4247
4248 * src/orb/orb-core/corba-orb.c:
4249 (ORBit_setup_debug_flags): fix silly so that debug options
4250 in orbitrc works correctly.
4251
42522002-01-21 Michael Meeks <michael@ximian.com>
4253
4254 * src/orb/orb-core/corba-any.c
4255 (ORBit_copy_value): tolerate NULL.
4256
4257 * src/orb/orb-core/orbit-small.c
4258 (orbit_small_demarshal): kill warning.
4259
4260 * test/everything/client.c (testMisc): add a check.
4261
42622002-01-21 Xiong Jiang <jxiong@offtopic.org>
4263
4264 * src/idl-compiler/orbit-idl-c-stubs.c
4265 (cs_small_output_stub): put the endif in a comment, to
4266 make the preprocessor happy.
4267
42682002-01-17 Michael Meeks <michael@ximian.com>
4269
4270 * configure.in: require the new linc with different
4271 protocol structure size.
4272
4273 * test/everything/client.c (main): upd.
4274
42752002-01-17 Mark McLoughlin <mark@skynet.ie>
4276
4277 Allow ORBit2 debugging to be switched on/off at runtime.
4278 Based on a patch by Jacob Berkman <jacob@ximian.com>
4279
4280 * configure.in: --enable-debug option.
4281
4282 * src/orb/GIOP/Makefile.am, src/orb/Makefile.am,
4283 src/orb/dynamic/Makefile.am, src/orb/orb-core/Makefile.am,
4284 src/orb/poa/Makefile.am, src/orb/util/Makefile.am:
4285 use ORBIT_DEBUG_CFLAGS.
4286
4287 * src/orb/orb-core/corba-object.c: (g_CORBA_Object_equal),
4288 (ORBit_objref_find), (ORBit_object_get_connection),
4289 (ORBit_marshal_object): upd.
4290
4291 * src/orb/orb-core/corba-orb.c: (ORBit_setup_debug_flags),
4292 (CORBA_ORB_init): add --ORBDebugFlags option and ORBIT2_DEBUG
4293 env variable and parse.
4294
4295 * src/orb/orb-core/orbit-debug.h: kill old debug stuff and
4296 make everything conditional on G_ENABLE_DEBUG.
4297
4298 * src/orb/orb-core/orbit-small.c: (ORBit_handle_exception_array),
4299 (ORBit_small_send_user_exception), (orbit_small_marshal),
4300 (orbit_small_demarshal), (ORBit_small_invoke_stub),
4301 (ORBit_small_invoke_adaptor), (ORBit_small_demarshal_async): upd.
4302
4303 * src/orb/orb-core/orbit-trace.c: (ORBit_trace_timestamp): upd.
4304
4305 * src/orb/orb-core/orbit-typelib.c: (load_module): upd.
4306
4307 * src/orb/poa/orbit-adaptor.c: (ORBit_handle_request): upd.
4308
4309 * src/orb/util/genrand.c: (ORBit_genuid_init), (genuid_simple):
4310 incorporate the pid and an incrementing number into simple uid.
4311
43122002-01-16 Mark McLoughlin <mark@skynet.ie>
4313
4314 * include/orbit/orb-core/corba-orb-type.h: kill genrand
4315 ORB member.
4316
4317 * include/orbit/util/orbit-genrand.h: rename to genuid, we're
4318 not allways taking about randomness.
4319
4320 * src/orb/orb-core/corba-orb.c:
4321 (ORBit_genuid_type): impl to figure what genuid type we'll use.
4322 (CORBA_ORB_init): upd.
4323 (ORBit_proto_use): fix silly.
4324 Also add a --ORBSimpleUIDs option.
4325
4326 * src/orb/poa/orbit-adaptor.c: (ORBit_adaptor_setup): upd.
4327
4328 * src/orb/poa/poa.c: (ORBit_POA_new_system_objid): upd.
4329
4330 * src/orb/util/genrand.c:
4331 (ORBit_genuid_init), (ORBit_genuid_fini): impl.
4332 (genuid_glib_pseudo): impl id generator using glib's prng.
4333 (genrand_unix): kill.
4334 (genuid_simple): impl non-random id generator.
4335 (ORBit_genuid_buffer): upd.
4336
4337 * test/test-performance.c: (main): pass argc and argv to
4338 ORB_init.
4339
4340 * docs/FAQ, docs/internals/poa-notes.txt: upd.
4341
43422002-01-16 Michael Meeks <michael@ximian.com>
4343
4344 * src/orb/orb-core/corba-object.c: update to free
4345 result of IOP profile dumpage.
4346
4347 * src/orb/orb-core/iop-profiles.c
4348 (IOP_components_free): make it free the list too,
4349 and NULL the list for safety.
4350
43512002-01-14 Mark McLoughlin <mark@skynet.ie>
4352
4353 * include/orbit/orb-core/corba-policy-type.h,
4354 src/orb/orb-core/corba-policy.c: kill ORBit_Policy_(set|get)
4355
4356 * include/orbit/poa/orbit-adaptor.h: (ORBit_adaptor_setup): add.
4357
4358 * include/orbit/poa/poa-types.h:
4359 (ORBit_vepvmap_init): kill.
4360 Kill init_vepvmap and vepvlen ClassInfo members.
4361 Enable vepvmap cache by default. Add next member to
4362 ORBit_POAObject_type to replace servant->_private GSList.
4363 Kill unused macros.
4364
4365 * include/orbit/poa/poa.h: don't include poa-policy.h.
4366
4367 * include/orbit/poa/portableserver-poa-type.h: kill poa_rand_len
4368 POA struct member.
4369
4370 * src/idl-compiler/orbit-idl-c-skels.c:
4371 (cbe_skel_interface_print_vepvmap_initializer): kill.
4372 (cbe_skel_interface_print_vepvmap_line), (cbe_skel_do_interface):
4373 initialise the vepvmap in servant init. No need for init_vepvmap method.
4374
4375 * src/orb/orb-core/corba-orb.c: (CORBA_ORB_destroy): s/poa/adaptor/.
4376
4377 * src/orb/poa/orbit-adaptor.c: (ORBit_adaptor_setup): move here from
4378 poa.c - all adaptor's keys should be the same.
4379
4380 * src/orb/poa/orbit-poa.h:
4381 * src/orb/poa/poa-manager.c: (ORBit_POAManager_new),
4382 (ORBit_POAManager_register_poa), (ORBit_POAManager_unregister_poa): kill
4383 unneeded ev args. Move ownership of the poa_manager reference into poa.c
4384 where it belongs.
4385
4386 * src/orb/poa/poa-policy.c: set the policy structs directly. Kill okey
4387 randomness policy.
4388
4389 * src/orb/poa/poa-servants.c: use poa_execption macros.
4390
4391 * src/orb/poa/poa.c:
4392 (check_object_inuse): impl instead of hacking traverse_cb.
4393 (ORBit_POA_object_id_lookup): rename from ORBit_POA_oid_to_obj, removing
4394 crackness in the process.
4395 (ORBit_POA_remove_child): kill unneeded ev arg.
4396 (ORBit_POA_destroy): cleanup.
4397 (traverse_cb): rationalise. Kill unneeded TraverseInfo members.
4398 (ORBit_POA_deactivate): upd.
4399 (ORBit_POA_free_fn): check members are allocated before freeing.
4400 (ORBit_POA_set_policy): update fro policy changes.
4401 (ORBit_POA_set_policies): set defaults here, use poa_exception macros.
4402 (ORBit_POA_new): big cleanup.
4403 (ORBit_POA_activate_object): don't init vepvpmap here. Update for
4404 servant pobj list changes.
4405 (ORBit_POA_deactivate_object): ditto.
4406 (ORBit_POAObject_handle_request): use policy checking macros.
4407 (ORBit_POA_object_key_lookup): impl.
4408 (ORBit_POA_handle_request): use ORBit_POA_object_key_lookup and
4409 return_exception.
4410 (ORBit_POA_ServantManager_use_servant),
4411 (ORBit_POA_ServantManager_unuse_servant): big cleanup and update for
4412 servant pobj list change.
4413
4414 * test/everything/server.c: (TestFactory_getStructServerIOR): use
4415 global_orb.
4416
44172002-01-09 Michael Meeks <michael@ximian.com>
4418
4419 * Version 2.3.102
4420
44212002-01-09 Michael Meeks <michael@ximian.com>
4422
4423 * src/orb/GIOP/giop-send-buffer.c
4424 (send_buffer_list): initialize it.
4425
4426 * src/orb/GIOP/giop-connection.c
4427 (giop_connection_remove_by_orb): fix acute
4428 re-enterancy hazard.
4429
4430 * src/orb/GIOP/giop-recv-buffer.c
4431 (giop_recv_list_zap): fix re-enterancy hazard.
4432 (giop_queued_messages): initialize it.
4433
44342002-01-09 Mark McLoughlin <mark@skynet.ie>
4435
4436 * test/test-performance.c: (create_mult_id_poa), (test_activation),
4437 (main): add object activation/de-activation performance test.
4438
4439 * test/Makefile.am: upd.
4440
44412002-01-07 Mark McLoughlin <mark@skynet.ie>
4442
4443 * src/services/name/Makefile.am: install idl files in
4444 $(datadir)/idl/orbit-2.0.
4445
44462002-01-04 Michael Meeks <michael@ximian.com>
4447
4448 * test/everything/client.c (testSegv): remove
4449 race condition assert.
4450
4451 * test/everything/everything.idl: make segv
4452 oneway.
4453
44542002-01-03 Michael Meeks <michael@ximian.com>
4455
4456 * Version 2.3.101
4457
44582001-12-31 Michael Meeks <michael@ximian.com>
4459
4460 * src/orb/poa/orbit-adaptor.c
4461 (ORBit_handle_request): debug.
4462
4463 * src/orb/poa/poa.c (ORBit_POA_handle_request):
4464 add debug.
4465
44662002-01-03 Laszlo Peter <laca@ireland.sun.com>
4467
4468 * test/test-performance.c: s/time/elapsed_time/ (conflicts with
4469 Solaris system headers)
4470
44712002-01-03 Mark McLoughlin <mark@skynet.ie>
4472
4473 * test/test-performance.c: make global symbols static to
4474 stop core dumps in my ldap libraries. Don't ask me :/
4475
44762002-01-03 Mark McLoughlin <mark@skynet.ie>
4477
4478 * src/idl-compiler/orbit-idl-c-stubs.c: (cs_small_output_stub):
4479 output local case code to check to see if the operation is
4480 implemented and return NO_IMPLEMENT if not.
4481
4482 * src/idl-compiler/orbit-idl2.h: add ORBIT_EPV_VAR_NAME.
4483
4484 * test/everything/client.c: (testMisc): test this in the local
4485 case as well.
4486
44872002-01-03 Mark McLoughlin <mark@skynet.ie>
4488
4489 * include/orbit/poa/poa-types.h:
4490 (ORBIT_STUB_IsBypass): check for nil reference, and pawn off
4491 on ORBit_small_invoke_stub if it is nil.
4492
4493 * src/orb/orb-core/orbit-small.c: (ORBit_small_invoke_stub):
4494 return INV_OBJREF exception if obj is nil.
4495
4496 * test/everything/client.c: (testException): test.
4497
4498 * test/everything/pingServer.c: (PingPongServer_opSleep):
4499 kill unused variable.
4500
45012001-12-31 Michael Meeks <michael@ximian.com>
4502
4503 * configure.in: require the new linc.
4504
45052001-12-28 Michael Meeks <michael@ximian.com>
4506
4507 * src/orb/dynamic/dynany.c
4508 (ORBit_dynany_new_default): publicise internaly
4509 for time trials.
4510
4511 * src/idl-compiler/orbit-idl-c-headers.c
4512 (ch_output_const_dcl): output unsigned types
4513 properly.
4514
4515 * test/everything/client.c (testPingPong): add
4516 non-blocking IO test.
4517
4518 * test/everything/pingServer.c
4519 (PingPongServer_opSleep): impl.
4520
4521 * src/orb/poa/poa.c
4522 (ORBit_POA_handle_request, return_exception):
4523 non blocking writes.
4524
4525 * src/orb/orb-core/orbit-small.c
4526 (orbit_small_marshal): do a non-blocking write.
4527 (ORBit_small_invoke_adaptor): ditto.
4528
45292001-12-27 Michael Meeks <michael@ximian.com>
4530
4531 * src/orb/GIOP/giop-connection.c
4532 (giop_connection_close): block on send notification.
4533
4534 * src/orb/GIOP/giop-send-buffer.c
4535 (giop_send_buffer_write): do blocking and non-blocking
4536 writes.
4537
4538 * include/orbit/GIOP/giop-send-buffer.h: kill duff
4539 prototype.
4540
4541 * src/orb/orb-core/orbit-small.c
4542 (ORBit_small_get_connection): impl.
4543 (ORBit_connection_set_max_buffer): impl.
4544
45452001-12-21 Roland Juelich <rj@atecom.com>
4546
4547 * src/orb/orb-core/iop-profiles.c: (IOP_ObjectKey_demarshal):
4548 don't modify key length.
4549
45502001-12-19 Mark McLoughlin <mark@skynet.ie>
4551
4552 * test/everything/test.sh: niceify.
4553
45542001-12-19 Mark McLoughlin <mark@skynet.ie>
4555
4556 * src/orb/orb-core/iop-profiles.c: (IOP_profiles_sync_objkey):
4557 reduce the scream and shout error to a warning.
4558
45592001-12-18 Michael Meeks <michael@ximian.com>
4560
4561 * src/orb/orb-core/corba-orb.c (CORBA_ORB_init):
4562 check the ALIGNOF_DOUBLE instead, since all sys
4563 allocated memory has to be aligned to this.
4564
45652001-12-15 Ross Golder <rossg@golder.org>
4566
4567 * ORBit.spec.in: updated shared library directory.
4568
45692001-12-14 Roland Juelich <rj@atecom.com>
4570
4571 * src/orb/orb-core/corba-orb.c: add ORBIIOPIPName
4572 and ORBIIOPIPSock options.
4573 (ORBit_ORB_start_servers): use the arguments.
4574
45752001-12-13 Sam Couter <sam@topic.com.au>
4576
4577 * configure.in: move type alignment test
4578
4579 * acinclude.m4: here & make it pretty.
4580
45812001-12-11 Michael Meeks <michael@ximian.com>
4582
4583 * Version 2.3.100
4584
45852001-12-10 jacob berkman <jacob@ximian.com>
4586
4587 * src/orb/GIOP/Makefile.am (libGIOP_la_SOURCES): add giop-debug.h
4588
45892001-12-08 Kristian Rietveld <kris@gtk.org>
4590
4591 * src/orb/GIOP/giop-send-buffer.c: move down sys/uio.h, so it
4592 builds on FreeBSD
4593
45942001-12-07 Laszlo Peter <laca@ireland.sun.com>
4595
4596 * src/orb/orb-core/orbit-debug.h:
4597 src/orb/orb-core/orbit-trace.c: get the trace code work on Solaris
4598
45992001-12-07 Mark McLoughlin <mark@skynet.ie>
4600
4601 * src/orb/orb-core/corba-typecode.c: (CDR_get):
4602 use proper casts.
4603
46042001-12-07 Mark McLoughlin <mark@skynet.ie>
4605
4606 * src/orb/orb-core/corba-typecode.c: (CDR_get):
4607 do byteswap if neccessary.
4608
46092001-12-07 Mark McLoughlin <mark@skynet.ie>
4610
4611 * src/orb/orb-core/corba-any.c:
4612 (ORBit_demarshal_value): do byteswap if neccessary.
4613
46142001-12-07 Mark McLoughlin <mark@skynet.ie>
4615
4616 * include/orbit/GIOP/giop-recv-buffer.h:
4617 include/orbit/GIOP/giop-send-buffer.h:
4618 src/orb/orb-core/orbit-debug.h:
4619 src/orb/orb-core/orbit-small.c:
4620 src/orb/poa/poa.c:
4621 src/orb/GIOP/giop.c:
4622 src/orb/GIOP/giop-recv-buffer.c: rework the recv
4623 buffer dumping to do it as we receive.
4624
4625 * src/orb/orb-core/iop-profiles.c:
4626 (CodeSetComponent_demarshal): fix silly.
4627
46282001-12-07 Mark McLoughlin <mark@skynet.ie>
4629
4630 * src/idl-compiler/orbit-idl-c-typecode.c:
4631 (orbit_find_c_align): only calculate the alignment of
4632 the union.
4633
4634 * src/orb/orb-core/corba-any.c: (ORBit_marshal_value),
4635 (ORBit_demarshal_value), (ORBit_copy_value_core),
4636 (ORBit_value_equivalent): upd.
4637
46382001-12-06 Mark McLoughlin <mark@skynet.ie>
4639
4640 * src/orb/orb-core/corba-any.c:
4641 (ORBit_copy_value_core),
4642 (ORBit_value_equivalent): fix union alignment.
4643
46442001-12-06 Michael Meeks <michael@ximian.com>
4645
4646 * src/orb/orb-core/corba-object.c (CORBA_Object_hash),
4647 (CORBA_Object_is_equivalent): make faster and better -
4648 we were screwing up if we hashed an object before
4649 remoting it. Since we garentee a CORBA_Object <-> profile
4650 mapping anyway these can be trivial methods.
4651
4652 * test/everything/client.c (testPingPong): test hashing.
4653
46542001-12-05 Michael Meeks <michael@ximian.com>
4655
4656 * test/everything/structServer.c (opObjectStruct): impl.
4657
4658 * test/everything/client.c (testObjectStruct): impl.
4659
46602001-12-06 Mark McLoughlin <mark@skynet.ie>
4661
4662 * src/idl-compiler/orbit-idl-c-common.c:
4663 (cc_small_output_method): don't add 1 to name_len.
4664
46652001-12-06 Mark McLoughlin <mark@skynet.ie>
4666
4667 * src/orb/GIOP/giop.c (giop_dump_recv): start dumping
4668 the message body at message_body + 12. Why do we allocate
4669 this space?
4670
46712001-12-05 Mark McLoughlin <mark@skynet.ie>
4672
4673 * src/orb/orb-core/corba-any.c (ORBit_marshal_value): align
4674 the union properly. Thanks to Laca for the debugging.
4675
46762001-12-05 Mark McLoughlin <mark@skynet.ie>
4677
4678 * src/orb/orb-core/iop-profiles.c:
4679 (CodeSetComponent_demarshal): byte swap the code sets
4680 if necessary and fix silly.
4681
46822001-12-05 Mark McLoughlin <mark@skynet.ie>
4683
4684 * src/orb/orb-core/corba-object.c:
4685 (ORBit_handle_location_forward),
4686 (ORBit_demarshal_object): intialise type_id and profiles.
4687
4688 * src/orb/orb-core/iop-profiles.c:
4689 (ORBit_demarshal_IOR): cleanup code flow.
4690
46912001-12-05 Mark McLoughlin <mark@skynet.ie>
4692
4693 * src/orb/orb-core/corba-orb.c:
4694 (CORBA_ORB_string_to_object): tidy up a bit. Use g_ascii_*
4695 functions.
4696
46972001-12-04 Michael Meeks <michael@ximian.com>
4698
4699 * test/everything/basicServer.c
4700 (BasicServer_testLargeStringSeq): stub.
4701
4702 * test/everything/client.c
4703 (make_large_str_seq): impl.
4704 (testMisc): use it.
4705
47062001-12-03 Mark McLoughlin <mark@skynet.ie>
4707
4708 * src/orb/GIOP/giop.c: (giop_dump): tidy up
4709 output a little.
4710
47112001-12-02 Laszlo Peter <laca@ireland.sun.com>
4712
4713 * src/idl-compiler/orbit-idl-c-typecode.c
4714 (cbe_tc_generate): fix order to match corba-typecode.h
4715
47162001-12-01 Theo van Klaveren <t.vanklaveren@student.utwente.nl>
4717
4718 * src/orb/include/Makefile.am: make -> $(MAKE).
4719 * src/orb/GIOP/giop-send-buffer.c: add <sys/types.h> to the
4720 includes. Fixes the build on FreeBSD.
4721
47222001-11-29 Mark McLoughlin <mark@skynet.ie>
4723
4724 * src/orb/GIOP/giop.c: (giop_dump_recv): print the
4725 header as well as the message body.
4726
47272001-11-26 Michael Meeks <michael@ximian.com>
4728
4729 * Version 2.3.99
4730
4731 * configure.in: bump serial.
4732
47332001-11-26 Michael Meeks <michael@ximian.com>
4734
4735 * src/idl-compiler/orbit-idl-c-typecode.c
4736 (cbe_tc_generate): upd & re-order.
4737
4738 * include/orbit/orb-core/corba-typecode.h: give us
4739 some space for expansion & re-order.
4740
47412001-11-26 Michael Meeks <michael@ximian.com>
4742
4743 * Version 2.3.98
4744
4745 * src/orb/util/orbit-options.c
4746 (ORBit_option_command_line_parse): allow NULL argc
4747 on init.
4748
4749 * test/test-dynany.c (main): test it.
4750
47512001-11-23 Michael Meeks <michael@ximian.com>
4752
4753 * docs/internals/typecode-flags.txt: add.
4754
4755 * src/orb/poa/poa.c
4756 (ORBit_POAObject_handle_request): add debug.
4757
47582001-11-25 Havoc Pennington <hp@redhat.com>
4759
4760 * src/orb/poa/Makefile.am (main_src): add poa-macros.h
4761
47622001-11-22 Michael Meeks <michael@ximian.com>
4763
4764 * test/everything/client.c (run_tests): disable
4765 the async tests - need more thought.
4766
4767 * src/orb/orb-core/iop-profiles.c
4768 (IOP_TAG_INTERNET_IOP_copy): copy the host too.
4769
4770 * src/orb/GIOP/giop-connection.c
4771 (giop_connection_initiate): add pre-condition.
4772
47732001-11-21 Michael Meeks <michael@ximian.com>
4774
4775 * test/everything/client.c (testPingPong): add a
4776 scad of equivalence tests.
4777
4778 * src/orb/orb-core/corba-object.c
4779 (ORBit_register_objref): add pre-condition.
4780 (g_CORBA_Object_equal): allow NULL object keys -
4781 these are local objects.
4782 (CORBA_Object_is_equivalent): fix to cope with
4783 the concept of 'local' and NULL objects.
4784 (g_CORBA_Object_equal): remove checks.
4785
4786 * src/orb/orb-core/iop-profiles.c
4787 (IOP_delete_profiles): cope with no ORB on
4788 remote objects.
4789
47902001-11-21 Michael Meeks <michael@ximian.com>
4791
4792 * src/orb/dynamic/dynany.c
4793 (dynany_sequence_realloc_to): undo a stupidity.
4794
47952001-11-21 Michael Meeks <michael@ximian.com>
4796
4797 * src/orb/orb-core/iop-profiles.c
4798 (IOP_delete_profiles): use orb->profiles not common_profiles.
4799 (ORBit_demarshal_IOR): upd.
4800
4801 * src/orb/orb-core/corba-object.c
4802 (ORBit_objref_find, CORBA_Object_release_cb),
4803 (ORBit_handle_location_forward): upd.
4804
4805 * src/orb/orb-core/corba-types.c
4806 (CORBA_sequence__freekids): kill.
4807 (ORBit_sequence_CORBA_octet_dup): upd.
4808
4809 * src/orb/orb-core/iop-profiles.c
4810 (IOP_start_profiles): impl.
4811 (IOP_generate_profiles): upd. ensure that
4812 we always register an objref as we generate
4813 it's profiles.
4814
4815 * src/orb/orb-core/corba-object.c
4816 (ORBit_start_servers): move into the ORB.
4817 (ORBit_objref_find): add some debug.
4818
4819 * src/orb/orb-core/corba-orb.c
4820 (ORBit_ORB_start_servers): here.
4821
4822 * src/orb/orb-core/iop-profiles.c
4823 (IOP_generate_profiles): prune cut & paste
4824 shutdown code - argh; split out,
4825 (boot_profiles): this.
4826
4827 * src/orb/orb-core/corba-object.c
4828 (ORBit_lookup_objref): don't pointlessly setup an
4829 objref hash when we don't need one.
4830
4831 * test/everything/client.c (testPingPong): check we
4832 remote and return correctly.
4833
48342001-11-20 Michael Meeks <michael@ximian.com>
4835
4836 * src/orb/orb-core/corba-typecode.c
4837 (CORBA_TypeCode__freekids): kill.
4838
4839 * src/orb/orb-core/orbit-small.c (ORBit_small_alloc),
4840 (ORBit_small_invoke_adaptor): upd.
4841
4842 * src/orb/orb-core/corba-any.c
4843 (ORBit_copy_value, ORBit_demarshal_arg): alloc_by_tc.
4844 (CORBA_any__freekids): kill.
4845
4846 * src/orb/dynamic/dynany.c (dynany_any_new_default),
4847 (dynany_sequence_realloc_to),
4848 (DynamicAny_DynStruct_get_members),
4849 (DynamicAny_DynSequence_get_elements): alloc_by_tc
4850
4851 * src/orb/orb-core/allocators.c
4852 (ORBit_alloc_by_tc): impl.
4853
4854 * src/orb/orb-core/corba-any.c
4855 (CORBA_any__alloc): do it with _alloc_by_tc.
4856
4857 * src/orb/orbit-init.c: include our own header.
4858
4859 * src/orb/GIOP/giop-recv-buffer.c
4860 (giop_IOP_ServiceContextList_demarshal): warning fix.
4861
4862 * src/orb/orb-core/corba-env.c
4863 (CORBA_exception__alloc): upd.
4864
4865 * src/orb/orb-core/corba-object.c
4866 (CORBA_Object__freekids): kill.
4867
4868 * src/orb/orb-core/allocators.c
4869 (ORBit_alloc_kidfnc): rename to
4870 (ORBit_alloc_with_free_fn): this
4871
4872 * src/orb/orb-core/corba-any.c
4873 (CORBA_any__alloc): upd.
4874
4875 * include/orbit/orb-core/allocators.h: kill the
4876 ORBit_alloc macro.
4877
48782001-11-20 Michael Meeks <michael@ximian.com>
4879
4880 * src/orb/orb-core/corba-string.c
4881 (CORBA_string_alloc, CORBA_string_dup): use alloc_string.
4882 (CORBA_string__freekids): kill, unused.
4883
4884 * src/orb/orb-core/allocators.c
4885 (ORBit_alloc_string): impl.
4886
4887 * test/Makefile.am: add test-mem
4888
4889 * test/test-mem.c: add.
4890
4891 * src/orb/orb-core/allocators.c
4892 (ORBit_alloc_core): kill.
4893 (ORBit_free_T): re-write.
4894 (ORBit_freekids_via_TypeCode_T): re-order args to
4895 make it a freekids fn, privatize.
4896 (ORBit_freekids_via_TypeCode): upd.
4897 (ORBit_alloc_tcval): re-write.
4898 (ORBit_alloc_kidfnc): re-write.
4899 (ORBit_alloc_simple): re-write.
4900
4901 * src/orb/orb-core/corba-any.c
4902 (ORBit_demarshal_value): upd.
4903
4904 * src/orb/orb-core/corba-orb.c (CORBA_ORB_init): check
4905 our processor is a real processor.
4906
4907 * src/orb/orb-core/orbit-small.c (ORBit_small_alloc):
4908 use ORBit_small_alloc.
4909
4910 * src/orb/GIOP/giop-recv-buffer.c
4911 (giop_IOP_ServiceContextList_free): use CORBA_free
4912 (giop_IOP_ServiceContextList_demarshal): do it genericaly
4913 by typecode.
4914
49152001-11-19 Mark McLoughlin <mark@skynet.ie>
4916
4917 * src/orb/poa/poa-macros.h: new file with convience macros.
4918
4919 * src/orb/poa/poa.c: (PortableServer_POA_servant_to_id),
4920 (PortableServer_POA_servant_to_reference),
4921 (PortableServer_POA_reference_to_servant),
4922 (PortableServer_POA_reference_to_id),
4923 (PortableServer_POA_id_to_servant),
4924 (PortableServer_POA_id_to_reference): update to use macros
4925 to simplify policy checking, exception returning.
4926
49272001-11-19 Michael Meeks <michael@ximian.com>
4928
4929 * src/orb/GIOP/giop-connection.c
4930 (giop_connection_close): remove bogus fsync breaking
4931 encapsulation.
4932
49332001-11-19 Michael Meeks <michael@ximian.com>
4934
4935 * src/orb/GIOP/giop-connection.c
4936 (giop_connection_list_lookup): kill retval.
4937 (giop_cnx_descr): impl. for debug.
4938 (giop_connection_initiate): DOH ! pass the right args to
4939 the connection cache.
4940 (giop_connection_list_add): validate connection, add debug.
4941 (giop_connection_list_remove): only try to remove
4942 initiated connections, add debug.
4943
49442001-11-16 Michael Meeks <michael@ximian.com>
4945
4946 * test/everything/client.c
4947 (test_BasicServer_opStringA_cb): free the returned strings.
4948
49492001-11-18 Mark McLoughlin <mark@skynet.ie>
4950
4951 * configure.in: add warning cflags : -Wall -Wunused
4952 -Wmissing-prototypes -Wmissing-declarations.
4953 add --enable-compile-warnings option.
4954
4955 * src/idl-compiler/Makefile.am, src/orb/GIOP/Makefile.am,
4956 src/orb/GIOP/giop-private.h, src/orb/Makefile.am,
4957 src/orb/dynamic/Makefile.am, src/orb/poa/Makefile.am,
4958 src/orb/orb-core/Makefile.am, src/orb/util/Makefile.am,
4959 src/services/name/Makefile.am, test/Makefile.am,
4960 test/everything/Makefile.am, test/inhibit/Makefile.am,
4961 test/poa/Makefile.am (INCLUDES): add $(WARN_CFLAGS).
4962
4963 * src/orb/GIOP/giop-connection.c,
4964 src/orb/GIOP/giop-recv-buffer.c: include correct headers
4965 and make some functions static.
4966
4967 * src/orb/dynamic/dynany.c:
4968 (DynamicAny_DynSequence_get_elements_as_dyn_any): rename to
4969 DynamicAny_DynSequence_get_elements_as_dyn_any, its correct
4970 name.
4971
4972 * src/orb/orb-core/corba-nvlist.c,
4973 src/orb/orb-core/corba-object.c:
4974 src/orb/orb-core/corba-orb.c,
4975 src/orb/orb-core/iop-profiles.c
4976 src/orb/orb-core/orb-core-export.h,
4977 src/orb/orb-core/orbit-object.c:
4978 include correct headers, make some functions static and kill
4979 unused variables.
4980
4981 * src/orb/poa/poa.c:
4982 (ORBit_classinfo_lookup_id): kill unused fuction.
4983 (ORBit_POA_obj_to_ref): kill unused variable.
4984
4985 * test/everything/arrayServer.c., test/everything/client.c
4986 test/everything/pingServer.c, test/everything/server.c:
4987 make some functions static.
4988
4989 * test/poa/poatest-basic01.c, test/poa/poatest-basic02.c,
4990 test/poa/poatest-basic03.c, test/poa/poatest-basic04.c,
4991 test/poa/poatest-basic05.c, test/poa/poatest-basic06.c,
4992 test/poa/poatest-basic07.c, test/poa/poatest-basic08.c,
4993 test/poa/poatest-basic09.c, test/poa/poatest-basic10.c:
4994 include correct headers and make some functions static.
4995
49962001-11-16 Mark McLoughlin <mark@skynet.ie>
4997
4998 * include/orbit/poa/poa.h: kill ORBit_POA_object_to_shutdown.
4999
5000 * src/orb/orb-core/corba-object.c:
5001 (CORBA_Object_release_cb): upd.
5002
5003 * src/orb/poa/poa.c:
5004 (PortableServer_POA_id_to_reference): duplicate returned
5005 reference.
5006
50072001-11-16 Michael Meeks <michael@ximian.com>
5008
5009 * test/everything/server.c (main): kill sleep.
5010
5011 * test/everything/client.c (main): kill sleep.
5012
50132001-11-16 Michael Meeks <michael@ximian.com>
5014
5015 * configure.in: require a linc we can work with.
5016
5017 * src/orb/orb-core/corba-object.c
5018 (ORBit_try_connection): use giop_connection_unref.
5019 (ORBit_objref_find): release the object key - don't
5020 leak it.
5021
5022 * src/orb/GIOP/giop-recv-buffer.c
5023 (giop_connection_handle_input): prune cruft.
5024
5025 * src/orb/GIOP/giop-connection.c
5026 (giop_connection_remove_by_orb): unref the
5027 connection here as well as a close.
5028 (giop_connection_unref): hold the right locks.
5029 (giop_connection_list_remove): don't take the locks.
5030
5031 * src/orb/orb-core/corba-object.c
5032 (CORBA_Object_release_cb): don't close what might be a
5033 shared connection; it'll happen on dispose anyway, use
5034 giop_connection_unref to get locking right.
5035
5036 * src/orb/orb-core/corba-context.c: make it all
5037 look pretty.
5038
50392001-11-16 Michael Meeks <michael@ximian.com>
5040
5041 * src/orb/poa/poa.c (PortableServer_POA_servant_to_reference):
5042 dup the reference we return if we return the same twice ...
5043
5044 * src/orb/orb-core/orbit-small.c
5045 (ORBit_small_invoke_adaptor): get the ORB via. the poa
5046 and not the objref.
5047
5048 * src/orb/poa/poa.c (ORBit_POA_object_shutdown): impl.
5049 (ORBit_POA_deactivate_object): free the environment after
5050 setting it up.
5051
5052 * src/orb/orb-core/corba-object.c
5053 (CORBA_Object_release_cb): move the connection close
5054 right to the end; it can re-enter, invoke
5055 ORBit_POA_object_shutdown instead of an unref - the poa
5056 holds a ref too ...
5057
5058 * test/everything/deadReference.c (DeadReferenceObj_test):
5059 release references, kill spurious global.
5060
5061 * test/everything/server.c (TestFactory_createDeadReferenceObj):
5062 release the poa and the poa_current.
5063
5064 * test/everything/pingServer.c (PingPongServer_get),
5065 (PingPongServer_set): don't leak.
5066 (create_ping_pong_servant): upd.
5067
5068 * test/everything/server.c
5069 (TestFactory_createPingPongServer): upd.
5070
5071 * src/orb/orb-core/corba-context.c
5072 (ORBit_Context_demarshal): don't init me as a RootObject,
5073 I'm static.
5074
5075 * src/orb/orb-core/corba-nvlist.c
5076 (CORBA_NVList_free_memory): always blank the type &
5077 value on free.
5078
5079 * src/orb/orb-core/corba-orb.c (CORBA_ORB_create_list):
5080 remove bogus 'no memory' op.
5081
5082 * test/everything/server.c (main): exit cleanly,
5083 release the factory.
5084
50852001-11-15 Michael Meeks <michael@ximian.com>
5086
5087 * test/everything/client.c (testException): fix mem
5088 corruption.
5089
5090 * src/orb/GIOP/giop-connection.c
5091 (giop_connection_initiate): don't ref here,
5092 (giop_connection_list_add): ref here instead.
5093 (giop_connection_list_remove): privatize.
5094 (giop_connection_dispose): move locking into
5095 (giop_connection_list_remove): here.
5096 (giop_connection_dispose): protect vs. double disposes.
5097 (giop_connection_list_lookup): accelerate & robustify.
5098
5099 * src/orb/orb-core/iop-profiles.c
5100 (IOP_generate_profiles): re-flow & simplify confusion.
5101
5102 * src/orb/orb-core/orbit-trace.c
5103 (ORBit_trace_value): update so an strace doesn't give
5104 us a thousand writes.
5105
51062001-11-15 Mark McLoughlin <mark@skynet.ie>
5107
5108 * src/orb/poa.c (ORBit_POAObject_handle_request): warn
5109 if queueing a request because the POAManager is holding.
5110
51112001-11-12 Michael Meeks <michael@ximian.com>
5112
5113 * src/orb/orb-core/orbit-trace.c
5114 (ORBit_trace_header): print pid in decimal.
5115 (ORBit_trace_value): only print printable
5116 characters.
5117
5118 * test/everything/client.c (testPingPong): upd.
5119
5120 * test/everything/pingServer.c
5121 (PingPongServer_opOneWay),
5122 (PingPongServer_pingPong): add method to try and
5123 confuse - no joy.
5124 (PingPongServer_set, PingPongServer_get): impl.
5125
51262001-11-12 Michael Meeks <michael@ximian.com>
5127
5128 * src/orb/GIOP/giop-recv-buffer.c (handle_reply):
5129 dump unexpected system exceptions silently.
5130
5131 * test/everything/client.c (testMisc): add ops. on
5132 a deactivated object.
5133
51342001-11-12 Michael Meeks <michael@ximian.com>
5135
5136 * src/orb/poa/poa.c (ORBit_POAObject_handle_request):
5137 only free exceptions iff we're not in proc, we
5138 need to return them otherwise.
5139
51402001-11-12 Michael Meeks <michael@ximian.com>
5141
5142 * src/orb/GIOP/giop-server.c (giop_server_new):
5143 always pass non blocking flag.
5144
5145 * src/orb/orb-core/corba-object.c
5146 (ORBit_start_servers): don't pass non blocking
5147 flag.
5148
5149 * src/orb/GIOP/giop-connection.c
5150 (giop_connection_initiate): always initate non
5151 blocking connections.
5152
5153 * src/orb/GIOP/giop-recv-buffer.c
5154 (giop_connection_handle_input): use new
5155 linc_connection_read semantics, kills
5156 deadlock, and heinous EAGAIN handling, we now
5157 idle in the mainloop on EAGAIN.
5158
5159 * configure.in: require linc >= 0.1.8 and it's
5160 new linc_connection_read.
5161
51622001-11-09 Michael Meeks <michael@ximian.com>
5163
5164 * src/orb/GIOP/giop-recv-buffer.c
5165 (giop_connection_handle_input): close the
5166 connection on a GIOP_CLOSECONNECTION - shock.
5167
5168 * HACKING: update.
5169
51702001-11-09 Michael Meeks <michael@ximian.com>
5171
5172 * src/orb/GIOP/giop-recv-buffer.c
5173 (handle_reply): split out of
5174 (giop_recv_list_push): here, kill and fold into
5175 (giop_connection_handle_input): here & simplify.
5176 (giop_recv_buffer_use): kill, confused & unused.
5177 (giop_recv_list_pop_T, giop_recv_list_pop): kill;
5178 unused
5179 (recv_list_push_or_handle): don't do silly things
5180 with lists.
5181 (giop_recv_buffer_init): kill lock init.
5182 (giop_connection_handle_input): don't pile up
5183 GIOP_CLOSECONECTION requests in the bit bucket.
5184
51852001-11-09 Michael Meeks <michael@ximian.com>
5186
5187 * include/orbit/GIOP/giop-recv-buffer.h: kill
5188 GIOPMessageInfo, not neccessary.
5189 remove giop_recv_buffer_data_read prototype.
5190
5191 * src/orb/GIOP/giop-recv-buffer.c
5192 (giop_recv_list_push): a crack smoking & inefficient
5193 loop search; re-order compare - most unlikely first,
5194 get request_id only once. re-order locking to be yet
5195 more transparent. Remove the huge, paranoid and
5196 incorrect ( except for Elliot's huge stubs/skels )
5197 message.
5198 (giop_recv_buffer_demarshal): make robust against
5199 duff giop versions.
5200 (giop_recv_buffer_use_buf): simplify, remove bogus
5201 is_auth parameter.
5202 (giop_connection_handle_input): upd. to not pass isauth.
5203 (giop_recv_list_push): add processed concept outline.
5204
52052001-11-08 Michael Meeks <michael@ximian.com>
5206
5207 * configure.in: require linc >= 0.1.7
5208
52092001-11-08 Michael Meeks <michael@ximian.com>
5210
5211 * src/orb/poa/poa.c (ORBit_POAList_add_child),
5212 (PortableServer_Current_get_POA),
5213 (PortableServer_POA_find_POA),
5214 (PortableServer_POA__get_the_parent),
5215 (PortableServer_POA_get_servant_manager): RootObject
5216 duplicate, not CORBA_Object_duplicate.
5217
5218 * src/orb/orb-core/corba-orb.c
5219 (CORBA_ORB_init): RootObject duplicate.
5220
5221 * src/orb/orb-core/corba-context.c
5222 (CORBA_Context_new): RootObject duplicate.
5223 (CORBA_ORB_get_default_context): ditto.
5224
5225 * src/orb/orb-core/corba-any.c: indent pleasantly
5226
5227 * src/orb/util/genrand.c
5228 (genrand_unix): use p_memzero
5229
5230 * src/orb/GIOP/giop-send-buffer.c
5231 (giop_send_buffer_append_aligned),
5232 (giop_send_buffer_align): use p_memzero.
5233
5234 * src/orb/util/Makefile.am
5235 (liborb_util_la_SOURCES): add orbit-purify.h
5236
5237 * src/orb/dynamic/dynany.c
5238 (DynamicAny_DynAny_release_fn): p_free.
5239
5240 * src/orb/poa/poa-manager.c
5241 (ORBit_POAManager_free_fn): p_free.
5242
5243 * src/orb/poa/poa.c (ORBit_POACurrent_free_fn),
5244 (ORBit_POA_free_fn): p_free.
5245
5246 * src/orb/orb-core/corba-policy.c
5247 (ORBit_Policy_release): p_free.
5248
5249 * src/orb/orb-core/corba-typecode.c
5250 (ORBit_TypeCode_free_fn): p_free.
5251
5252 * src/orb/orb-core/corba-orb.c
5253 (CORBA_ORB_release_fn): p_free
5254
5255 * src/orb/orb-core/corba-object.c
5256 (CORBA_Object_release_cb): p_free
5257
5258 * src/orb/util/orbit-options.c,
5259 * src/orb/util/genrand.c,
5260 * src/orb/util/orbit-util.c,
5261 * src/orb/poa/orbit-adaptor.c,
5262 * src/orb/poa/poa.c,
5263 * src/orb/poa/poa-servants.c,
5264 * src/orb/poa/poa-policy.c,
5265 * src/orb/poa/poa-manager.c,
5266 * src/orb/GIOP/giop-endian.c,
5267 * src/orb/orb-core/corba-orb.c,
5268 * src/orb/orb-core/orbit-object.c,
5269 * src/orb/orb-core/iop-profiles.c: include config.h
5270
5271 * src/orb/orb-core/orb-core-export.h
5272 (p_memzero, p_memwipe, p_free): impl. helpers.
5273
5274 * src/orb/orb-core/corba-context.c
5275 (ORBit_Context_free_fn): p_free.
5276
52772001-11-08 Michael Meeks <michael@ximian.com>
5278
5279 * src/orb/GIOP/giop-recv-buffer.c
5280 (giop_connection_handle_input): move here.
5281 (giop_recv_buffer_data_read): kill; fold into the above
5282 to flatten control flow.
5283 (giop_recv_buffer_state_change): privatize.
5284
5285 * src/orb/GIOP/giop-connection.c
5286 (giop_connection_handle_input): move into giop-recv-buffer.c.
5287
5288 * src/orb/GIOP/giop.c (dump): rename to
5289 (giop_dump): and publicise.
5290
5291 * test/everything/server.c: clean &
5292 (TestFactory_createPingPongServer): impl.
5293 (main): upd.
5294
5295 * test/everything/client.c: prune BIG_STUBS cruft,
5296 they'll never work again :-)
5297 (testPingPong): impl.
5298
5299 * test/everything/pingServer.c: impl.
5300
5301 * test/everything/everything.idl: add PingPongServer.
5302
53032001-11-06 Johan Dahlin <jdahlin@telia.com>
5304
5305 * test/everything/Makefile.am (Everything_module_la_LIBADD):
5306 Add $(top_builddir)/src/orb/libORBit-2.la
5307
5308 * src/orb/orb-core/Makefile.am (TYPELIB_DIR): fix
5309 to be $(libdir)/orbit-2.0
5310
53112001-11-05 Michael Meeks <michael@ximian.com>
5312
5313 * src/orb/GIOP/giop-send-buffer.c
5314 (giop_send_buffer_append_aligned): remove erroneous
5315 assertion - the indirect (system) align and message
5316 align are not synchronized.
5317 (giop_send_buffer_append_string): fix an incredibly
5318 daft bug; accelerate further.
5319
53202001-11-02 Abel Cheung <maddog@linux.org.hk>
5321
5322 * configure.in: Update required linc version.
5323
53242001-11-02 Michael Meeks <michael@ximian.com>
5325
5326 * src/orb/orb-core/orbit-small.c
5327 (ORBit_small_invoke_async, ORBit_small_invoke_stub),
5328 (ORBit_small_invoke_adaptor),
5329 (ORBit_small_demarshal_async): use tprintf_end_method.
5330
5331 * src/orb/orb-core/orbit-trace.c
5332 (ORBit_trace_timestamp): split out.
5333 (ORBit_trace_header): invoke.
5334 (ORBit_trace_end_method): impl.
5335
5336 * src/orb/orb-core/orbit-small.c
5337 (ORBit_small_unlisten_for_broken),
5338 (ORBit_small_listen_for_broken): tolerate a
5339 NULL object sensibly.
5340
53412001-11-01 Michael Meeks <michael@ximian.com>
5342
5343 * src/orb/GIOP/giop-send-buffer.c
5344 (giop_send_buffer_append_string): Optimize more to
5345 the hilt for the common case.
5346
5347 * src/orb/orb-core/corba-object.c
5348 (ORBit_marshal_object): upd.
5349
5350 * src/orb/orb-core/corba-env.c
5351 (ORBit_send_system_exception): upd.
5352 (ORBit_send_user_exception): upd.
5353
5354 * src/orb/orb-core/corba-any.c
5355 (ORBit_marshal_value): upd.
5356
5357 * src/orb/orb-core/orbit-small.c
5358 (ORBit_small_send_user_exception): upd.
5359
5360 * src/orb/orb-core/iop-profiles.c
5361 (IOP_TAG_GENERIC_SSL_SEC_TRANS_marshal),
5362 (IOP_TAG_INTERNET_IOP_marshal),
5363 (IOP_TAG_GENERIC_IOP_marshal),
5364 (IOP_TAG_ORBIT_SPECIFIC_marshal): upd.
5365
5366 * src/orb/orb-core/corba-typecode.c
5367 (CDR_put_string): make a #define.
5368
5369 * src/orb/GIOP/giop-send-buffer.c
5370 (giop_send_buffer_append_string): impl.
5371
5372 * src/orb/orb-core/corba-typecode.c (tc_enc): make
5373 typecode marshaling smaller and faster.
5374
53752001-11-01 Michael Meeks <michael@ximian.com>
5376
5377 * Version 2.3.97
5378
53792001-11-01 Michael Meeks <michael@ximian.com>
5380
5381 * src/orb/orb-core/corba-typecode.c: populate tk_info
5382 with CORBA_TypeCodes for the empty case, so we don't
5383 have to alloc / free them continualy.
5384 (tc_dec): re-vamp to use faster basic type path.
5385
5386 * src/orb/orb-core/orbit-small.c: s/CORBA_free/ORBit_free/
5387
5388 * src/orb/orb-core/iop-profiles.c: ditto.
5389
5390 * src/orb/orb-core/corba-string.c
5391 (CORBA_string__freekids): use ORBit_free
5392
5393 * src/orb/orb-core/corba-nvlist.c
5394 (ORBit_NamedValue_free): use ORBit_free.
5395 (CORBA_NVList_free_memory): ditto.
5396
5397 * test/everything/client.c (dummy_cb): impl.
5398 (testSegv): upd. to test unlisten.
5399 (testAnyStrSeq): add
5400 (main): call it.
5401
5402 * test/everything/everything.idl: add method.
5403
5404 * test/everything/anyServer.c
5405 (AnyServer_opAnyStrSeq): forward port
5406
5407 * src/orb/orb-core/orbit-small.c
5408 (ORBit_small_unlisten_for_broken): impl. sigh, there
5409 had to be something to break the API freeze.
5410
54112001-10-31 Mark McLoughlin <mark@skynet.ie>
5412
5413 * include/orbit/orb-core/corba-ir.h:
5414 * include/orbit/orb-core/corba-nvlist-type.h:
5415 * include/orbit/orb-core/orb-defs.h:
5416 * include/orbit/util/os-feature-alloca.h:
5417 * include/orbit/util/thread-safety.h
5418 * src/orb/util/genrand.h: remove unused headers.
5419
54202001-10-31 Mark McLoughlin <mark@skynet.ie>
5421
5422 * configure.in: version 2.3.96.
5423
54242001-10-31 Mark McLoughlin <mark@skynet.ie>
5425
5426 * test/poa/Makefile.am: add poatest-basic-shell.h.
5427
54282001-10-31 Mark McLoughlin <mark@skynet.ie>
5429
5430 I feel violated. What's bonobo-config doing poking
5431 around with this stuff?
5432
5433 * include/orbit/orb-core/allocators.h: expose
5434 ORBit_alloc_tcval.
5435
5436 * include/orbit/orb-core/corba-typecode.h: expose
5437 ORBit_TypeCode_epv.
5438
5439 * include/orbit/orb-core/orbit-object.h: expose
5440 ORBit_RootObject_init.
5441
54422001-11-01 Michael Meeks <michael@ximian.com>
5443
5444 * src/orb/orb-core/orbit-small.c
5445 (ORBit_small_get_servant): tolerate a NULL obj.
5446
5447 * test/everything/client.c (testMisc): add test.
5448
54492001-11-01 Michael Meeks <michael@ximian.com>
5450
5451 * src/orb/orb-core/orbit-small.c
5452 (ORBit_small_get_servant): fixup.
5453 (get_status): use correct LINC_CONNECTION enum.
5454
5455 * test/everything/client.c (testMisc): use in_proc,
5456 not evil hacks, expand to test new methods.
5457 (testSegv): upd, & listen for 'broken'
5458
54592001-11-01 Michael Meeks <michael@ximian.com>
5460
5461 * src/orb/orb-core/orbit-small.c
5462 (ORBit_small_get_servant, get_status),
5463 (ORBit_small_get_connection_status),
5464 (ORBit_small_listen_for_broken): impl.
5465
54662001-10-31 Michael Meeks <michael@ximian.com>
5467
5468 * src/orb/orb-core/orbit-small.c
5469 (ORBit_small_get_servant),
5470 (ORBit_small_get_connection_status),
5471 (ORBit_small_listen_for_broken): stub - impl. to follow.
5472
54732001-10-30 Mark McLoughlin <mark@skynet.ie>
5474
5475 * include/orbit/util/orbit-util.h: make ALIGN_ADDRESS publicly
5476 available. It seems bonobo-config uses it. hmmm.
5477
54782001-10-30 Mark McLoughlin <mark@skynet.ie>
5479
5480 * include/orbit/*/*.h: wrap all internal defines in #ifdef
5481 ORBIT2_INTERNAL_API and all defines for the benefits of
5482 stubs/skels in #ifdef ORBIT2_STUBS_API.
5483
5484 * include/orbit/orb-core/Makefile.am: don't install empty
5485 files.
5486
5487 * include/orbit/util/Makefile.am: ditto.
5488
5489 * src/idl-compiler/Makefile.am: define ORBIT2_INTERNAL_API.
5490
5491 * src/idl-compiler/orbit-idl-c-common.c:
5492 (orbit_idl_output_c_common): define ORBIT2_STUBS_API in
5493 generated code.
5494
5495 * src/idl-compiler/orbit-idl-c-skels.c:
5496 (orbit_idl_output_c_skeletons): ditto.
5497
5498 * src/idl-compiler/orbit-idl-c-stubs.c:
5499 * (orbit_idl_output_c_stubs): ditto.
5500
5501 * src/idl-compiler/orbit-idl-c-headers.c: (ch_output_types):
5502 don't define exception marshallers in small mode.
5503
5504 * src/orb/GIOP/Makefile.am:
5505 * src/orb/Makefile.am:
5506 * src/orb/dynamic/Makefile.am:
5507 * src/orb/orb-core/Makefile.am:
5508 * src/orb/poa/Makefile.am:
5509 * src/orb/util/Makefile.am: define ORBIT2_INTERNAL_API.
5510
5511 * src/orb/util/genrand.c: don't include genrand.h.
5512
5513 * src/orb/util/genrand.h: kill, duplicate of
5514 include/orbit/util/orbit-genrand.h.
5515
5516 * test/Makefile.am:
5517 * test/everything/Makefile.am: define ORBIT2_INTERNAL_API.
5518
55192001-10-31 Michael Meeks <michael@ximian.com>
5520
5521 * src/orb/poa/poa.c (return_exception): if in-proc,
5522 we have no valid recv_buffer, so just return - ev is
5523 the actual exception context.
5524
55252001-10-31 Michael Meeks <michael@ximian.com>
5526
5527 * src/orb/orb-core/corba-env.c
5528 (CORBA_exception_free_T): impl & upd.
5529 (CORBA_exception_free): do correct locking.
5530
5531 * test/everything/client.c
5532 (testException): test copying.
5533
5534 * src/orb/orb-core/corba-env.c
5535 (CORBA_exception__alloc),
5536 (CORBA_exception__copy),
5537 (CORBA_exception__freekids): move from bonobo.
5538
55392001-10-30 Michael Meeks <michael@ximian.com>
5540
5541 * src/orb/orb-core/orbit-object.c
5542 (ORBit_RootObject_shutdown): upd. to account for the ORB
5543 hanging around.
5544
5545 * src/orb/orb-core/corba-orb.c (CORBA_ORB_destroy): set
5546 exceptions on an unclean shutdown, release default ctx.
5547 (CORBA_ORB_release_fn): check refs where we have an ev,
5548 don't release default ctx here.
5549
55502001-10-29 Mark McLoughlin <mark@skynet.ie>
5551
5552 * include/orbit/poa/poa-basics.h
5553 (PortableServer_ServantBase__epv): added extra members
5554 to the epv to handle servant refcounting and CORBA::Object
5555 method overiding.
5556
5557 * include/orbit/poa/poa.h: upd.
5558
5559 * src/orb/poa/poa-servants.c:
5560 (PortableServer_ServantBase__get_interface),
5561 (PortableServer_ServantBase__is_a),
5562 (PortableServer_ServantBase__add_ref),
5563 (PortableServer_ServantBase__remove_ref),
5564 (PortableServer_RefCountServantBase__add_ref),
5565 (PortableServer_RefCountServantBase__remove_ref),
5566 (PortableServer_RefCountServantBase__init),
5567 (PortableServer_RefCountServantBase__fini): impl.
5568 (PortableServer_ServantBase__init): initialise function
5569 pointers if not already set.
5570 (PortableServer_ServantBase__fini): upd.
5571
5572 * include/orbit/orb-core/corba-orb-type.h: add
5573 CORBA_InterfaceDef definition to keep poa headers
5574 happy.
5575
55762001-10-30 Michael Meeks <michael@ximian.com>
5577
5578 * src/orb/poa/poa.c (ORBit_POA_handle_request): make it
5579 more robust vs. NULL pobjs.
5580
55812001-10-29 Michael Meeks <michael@ximian.com>
5582
5583 * configure.in: bump required glib version.
5584
55852001-10-27 Michael Meeks <michael@ximian.com>
5586
5587 * src/orb/orb-core/corba-typecode.c: re-order to kill
5588 redundant forward prototypes.
5589 (ORBit_decode_CORBA_TypeCode): return a typecode with a
5590 single reference - not no reference.
5591 (tc_dec): ditto duplicate here.
5592 (tc_dec_tk_sequence, tc_dec_tk_struct, tc_dec_tk_union),
5593 (tc_dec_tk_alias, tc_dec_tk_except, tc_dec_tk_array): update
5594 all callers to not do their own duplicates.
5595
5596 * src/orb/orb-core/corba-any.c
5597 (ORBit_demarshal_value, ORBit_demarshal_any): push back
5598 the refs into ORBit_decode_CORBA_TypeCode.
5599
5600 * test/everything/client.c (testMisc): fix reference leak.
5601
5602 * src/orb/orb-core/orbit-object.c (ORBit_RootObject_shutdown):
5603 add a total ref count, always taken regardless of locking.
5604 (ORBit_RootObject_duplicate, do_unref),
5605 (ORBit_RootObject_duplicate_T),
5606 (ORBit_RootObject_duplicate): upd.
5607
5608 * src/orb/orb-core/corba-orb.c (CORBA_ORB_release_fn):
5609 release the default context.
5610
5611 * test/everything/client.c (testMisc): regression test.
5612
56132001-10-27 Michael Meeks <michael@ximian.com>
5614
5615 * test/test-dynany.c (main): shutdown the ORB correctly.
5616
5617 * test/everything/server.c (TestFactory_segv): use exit
5618 instead of a segv - more friendly.
5619
5620 * test/poa/poatest-basic*.c: include poatest-basic-shell.h
5621 create into the global child_poa so we can destroy it later.
5622 don't unref the child_poa, leave that to the shell.
5623
5624 * test/poa/poatest-basic-shell.h: add.
5625
5626 * test/poa/poatest-basic-shell.c (main): destroy any child
5627 poas we have created.
5628
5629 * src/orb/poa/poa.c (ORBit_POA_new): duplicate the poa we
5630 return, one ref is released by 'POA_destroy' and another
5631 by CORBA_Object_release.
5632 (ORBit_POAObject_handle_request): survive even if the
5633 poa manager is dead.
5634 (PortableServer_POA_create_POA): remove extra duplicate.
5635
5636 * src/orb/orbit-init.c (ORBit_init_internals): release the
5637 references after set_initial_reference.
5638
5639 * src/orb/poa/poa.c (ORBit_POA_destroy): remove superstition
5640 about the RootPOA entry.
5641
56422001-10-26 Michael Meeks <michael@ximian.com>
5643
5644 * src/orb/orb-core/corba-orb.c (CORBA_ORB_release_fn): don't
5645 destroy the initial refs here - some of them are poas and hold
5646 refs on the ORB so we never get here ...
5647 (ORBit_service_list_free_ref): use locking mode.
5648 (CORBA_ORB_destroy): unref the initial_refs here instead,
5649 we don't need to explicitely kill the poas ourselves here.
5650 (CORBA_ORB_shutdown): destroy the current poa as well.
5651
5652 * test/everything/client.c (main): release the orb
5653 after destroy.
5654
5655 * test/everything/server.c (main): ditto.
5656
5657 * src/orb/orb-core/corba-orb.c
5658 (CORBA_ORB_init): split out static ORB variable, so
5659 we can NULL it on destroy and seek leaks.
5660 (CORBA_ORB_destroy): check we are destroying the right
5661 thing, NULL the pointer.
5662 (CORBA_ORB_release_fn): call ORBit_RootObject_shutdown,
5663 to see if we leaked anything.
5664
5665 * src/orb/orb-core/corba-object.c (ORBit_objref_find):
5666 kill deadlock.
5667
5668 * src/orb/orb-core/orbit-object.c
5669 (ORBit_RootObject_duplicate): actualy do some locking !
5670 (ORBit_RootObject_duplicate_T): impl.
5671 (ORBit_RootObject_release_T): duplicate into
5672 (ORBit_RootObject_release): here - for more speed, we
5673 gamble that robj->refs == ORBIT_REFCOUNT_STATIC is not
5674 a likely intermediate for an incomplete set of a normal
5675 ref count: garenteed pretty much.
5676 (do_unref): split out the guts, add alive object count.
5677 (ORBit_RootObject_init): count live objects if there is
5678 no locking.
5679 (ORBit_RootObject_shutdown): impl.
5680
5681
56822001-10-26 Michael Meeks <michael@ximian.com>
5683
5684 * docs/FAQ: add a first pass at a FAQ.
5685
5686 * src/orb/orb-core/orbit-typelib.c
5687 (ORBit_get_typelib_paths): use g_getenv not getenv.
5688
5689 * test/everything/Makefile.am (orbittypelibdir):
5690 install in orbit-2.0
5691
5692 * src/orb/orb-core/orbit-typelib.c (add_if_unique):
5693 use the orbit-2.0 directory for type libs.
5694
56952001-10-23 Mark McLoughlin <mark@skynet.ie>
5696
5697 * include/orbit/orb-core/Makefile.am: reverse Michael's
5698 change.
5699
57002001-10-24 Michael Meeks <michael@ximian.com>
5701
5702 * src/orb/GIOP/giop-server.c (giop_server_destroy):
5703 kill misleadingly named method.
5704 (giop_server_class_init): don't init it, or setup
5705 parent_class
5706
57072001-10-24 Michael Meeks <michael@ximian.com>
5708
5709 * include/orbit/orb-core/Makefile.am: prune broken special
5710 case for orbit-interface.idl.
5711
5712 * test/everything/client.c (main): upd, use linc_set_threaded,
5713 requires HEAD linc; sorry.
5714
57152001-10-23 Michael Meeks <michael@ximian.com>
5716
5717 * src/orb/GIOP/giop-recv-buffer.c
5718 (giop_recv_buffer_state_change): re-format to make pretty.
5719 (giop_recv_buffer_handle_fragmented): return GIOP_MSG_INVALID
5720
5721 * src/orb/GIOP/giop-connection.c
5722 (giop_connection_handle_input): drasticaly simplify crack
5723 smoking flow control, release cnx->incoming_mutex much
5724 earlier to avoid deadlock.
5725
57262001-10-18 Mark McLoughlin <mark@skynet.ie>
5727
5728 * include/orbit/orb-core/corba-orb-type.h
5729 (CORBA_ORB_type): kill poa_current, make poa_current_invocations
5730 a GSList and rename to current_invocations.
5731 (ORBit_InitialReference): kill.
5732
5733 * include/orbit/orb-core/corba-orb.h,
5734 src/orb/orb-core/orb-core-private.h,
5735 src/orb/orb-core/corba-object.c:
5736 (CORBA_ORB_set_initial_reference): rename to
5737 ORBit_set_initial_reference, privatise and simplify arguments.
5738 (ORBit_service_list_add_id): kill ugly _maximum++ hack.
5739 (ORBit_service_list_free_ref): impl.
5740 (CORBA_ORB_release_fn): unref all initial references.
5741 (CORBA_ORB_resolve_initial_references): update.
5742
5743 * src/orb/poa/poa.c (ORBit_POACurrent_get_object): update.
5744 (ORBit_POAObject_handle_request): ditto.
5745 (PortableServer_Current_get_POA): ditto.
5746 (PortableServer_Current_get_object_id): ditto.
5747 (PortableServer_POA_servant_to_id): ditto.
5748 (PortableServer_POA_servant_to_reference): ditto.
5749 (CORBA_ORB_list_initial_services): update.
5750
5751 * src/orb/orbit-init.c (ORBit_init_internals): update, and
5752 create + register a "POACurrent" reference.
5753
5754 * include/orbit/poa/poa-types.h
5755 (ORBIT_STUB_PreCall, PostCall): update.
5756
5757 * include/orbit/poa/poa.h(ORBit_POAInvocation): kill.
5758
5759 * src/orb/poa/orbit-poa.h: add ORBit_POACurrent_new.
5760
5761 * test/everything/client.c, test/everything/everything.idl,
5762 test/everything/server.c, test/everything/deadReference.c,
5763 test/everything/test.sh: added regression test for dead
5764 server-side references and ORB initial services.
5765
5766 * src/idl-compiler/orbit-idl-c-stubs.c (cs_small_output_stub):
5767 update.
5768
5769 * configure.in: bump up ORBIT_SERIAL.
5770
57712001-10-18 Michael Meeks <michael@ximian.com>
5772
5773 * test/everything/client.c (testSegv): invoke a remote segv.
5774 (run_tests): upd.
5775
5776 * test/everything/server.c (TestFactory_segv): impl. a segv.
5777
5778 * src/orb/GIOP/giop-connection.c
5779 (giop_connection_handle_input): kill uber wierd error
5780 handling, and make return value always TRUE.
5781
57822001-10-18 Michael Meeks <michael@ximian.com>
5783
5784 * include/orbit/orb-core/corba-object-type.h: make type_id
5785 a GQuark to save space, and time.
5786
5787 * src/orb/poa/poa.c (ORBit_POA_obj_to_ref): upd.
5788
5789 * src/orb/orb-core/corba-object.c (g_CORBA_Object_hash),
5790 (CORBA_Object_release_cb, ORBit_objref_new, ORBit_objref_find):,
5791 (ORBit_marshal_object, CORBA_Object_is_a): upd.
5792
57932001-10-17 jacob berkman <jacob@ximian.com>
5794
5795 * Makefile.am: orbit-config is no more
5796
57972001-10-18 Michael Meeks <michael@ximian.com>
5798
5799 * src/orb/GIOP/giop-connection.c (giop_connection_handle_input):
5800 hold a ref on the connection whilst handling the input.
5801
5802 * src/orb/GIOP/giop-recv-buffer.c (giop_recv_list_push):
5803 release the incoming mutex around the ent. call,
5804 set the cnx->incoming_msg to NULL much earlier.
5805
5806 * src/orb/orb-core/iop-profiles.c (IOP_profiles_copy): impl.
5807 (ORBit_demarshal_IOR): kill redundant gbuf = buf, no nasty
5808 global variables thank you.
5809 (IOP_ObjectKey_copy, IOP_components_copy),
5810 (IOP_TAG_COMPLETE_OBJECT_KEY_copy),
5811 (IOP_TAG_GENERIC_SSL_SEC_TRANS_copy),
5812 (IOP_TAG_SSL_SEC_TRANS_copy, IOP_TAG_CODE_SETS_copy),
5813 (IOP_UnknownComponent_copy, IOP_component_copy),
5814 (IOP_components_copy, IOP_TAG_INTERNET_IOP_copy),
5815 (IOP_TAG_GENERIC_IOP_copy),
5816 (IOP_TAG_ORBIT_SPECIFIC_copy),
5817 (IOP_TAG_MULTIPLE_COMPONENTS_copy),
5818 (IOP_TAG_UnknownProfile_copy),
5819 (IOP_profile_copy, IOP_profiles_copy): impl.
5820
5821 * src/orb/orb-core/corba-object.c (CORBA_Object_release):
5822 misc. style cleans.
5823 (ORBit_objref_get_proxy): impl. to make a local object
5824 able to access itself as if remote.
5825
5826 * src/orb/orb-core/orbit-small.c
5827 (ORBit_small_invoke_async): if we have no local profiles,
5828 create some.
5829
5830 * test/everything/client.c (testAsync): beef up regression
5831 tests to catch the above.
5832
5833 * test/everything/client.c (testAsync): perform
5834 some normal work while waiting for the async
5835 method result.
5836 Lots of stylistic seds.
5837
5838 * src/orb/orb-core/orbit-trace.c
5839 (ORBit_trace_header): impl & add timing information.
5840
5841 * src/orb/orb-core/orbit-small.c
5842 (ORBit_small_invoke_adaptor),
5843 (orbit_small_marshal): use it
5844
58452001-10-16 jacob berkman <jacob@ximian.com>
5846
5847 * src/orb/orb-core/Makefile.am: fix to dist from a clean checkout
5848
5849 * autogen.sh: don't look in libIDL
5850
5851 * configure.in (AC_OUTPUT): generate orbit2-config
5852
58532001-10-16 Ross Golder <rossg@golder.org>
5854
5855 * orbit-config.in: replaced with orbit2-config.in
5856 * orbit2-config.in: use pkg-config ORBit2 for --cflags
5857
5858 * ORBit.spec.in: update.
5859
5860 * ORBit2.m4: was generating stubs etc with older IDL compiler.
5861
58622001-10-16 Mark McLoughlin <mark@skynet.ie>
5863
5864 * Makefile.am (EXTRA_DIST): add HACKING AND MAINTAINERS.
5865 Remove ORBit.spec.in, *.pc.in which are automatically
5866 included.
5867
5868 * include/orbit/Makefile.am (EXTRA_DIST): remove
5869 orbit-config.h.in.
5870
5871 * src/orb/dynamic/Makefile.am, src/orb/orb-core/Makefile.am,
5872 src/orb/poa/Makefile.am, test/Makefile.am,
5873 test/everything/Makefile.am, test/inhibit/Makefile.am,
5874 test/poa/Makefile.am: remove idl compiler generated files
5875 before dist-ing.
5876
58772001-10-13 Michael Meeks <michael@ximian.com>
5878
5879 * src/orb/orb-core/orbit-small.c
5880 (ORBit_small_demarshal_async): fix brokenness.
5881
5882 * test/everything/client.c (test_BasicServer_opStringA_cb),
5883 (test_BasicServer_opStringA): impl async method with ret.
5884 (testAsync): upd.
5885
58862001-10-13 Michael Meeks <michael@ximian.com>
5887
5888 * src/orb/GIOP/giop-recv-buffer.c: lots of debugging
5889 instrumentation.
5890
5891 * src/orb/orb-core/orbit-small.c (ORBit_small_invoke_stub):
5892 un-queue the reply tag for oneway methods - there is no reply.
5893 (ORBit_small_invoke_async): ditto.
5894
5895 * src/orb/GIOP/giop-recv-buffer.c (giop_recv_list_zap):
5896 iterate over the full list, invoke the unthreaded cb
5897 when the connection is dead, and unlink before invoke.
5898 (giop_recv_list_push): unlink from giop_queued_messages.
5899
5900 * src/orb/orb-core/orbit-small.c (async_recv_cb): upd,
5901 and set COMM_FAILURE on a broken method ...
5902 (ORBit_small_demarshal_async): impl. to simplify
5903 de-marshaling.
5904 (ORBit_small_invoke_async): upd.
5905
59062001-10-11 Michael Meeks <michael@ximian.com>
5907
5908 * src/orb/GIOP/giop-recv-buffer.c (giop_recv_buffer_get):
5909 don't do a blocking iteration, check the queue first.
5910 (giop_recv_list_push): re-jig locking.
5911
5912 * test/everything/client.c (testAsync): impl.
5913 (test_BasicServer_opExceptionA): impl.
5914 (test_BasicServer_opExceptionA_cb): impl.
5915
5916 * src/orb/GIOP/giop-recv-buffer.c
5917 (giop_recv_list_setup_queue_entry_async): impl.
5918
5919 * src/orb/orb-core/orbit-small.c (orbit_small_marshal): split
5920 out the recv_list_setup_queue_entry.
5921 (ORBit_small_invoke_stub): put it here instead.
5922 (async_recv_cb): impl.
5923 (ORBit_small_invoke_async): impl.
5924
5925 * src/orb/GIOP/giop-recv-buffer.c (giop_recv_list_push): add
5926 an async callback on a GIOPMessageQueueEntry
5927
59282001-10-02 Mark McLoughlin <mark@skynet.ie>
5929
5930 * test/Makefile.am(test_dynany_LDFLAGS): add -lm
5931 for non-glibc systems.
5932
59332001-10-02 Glynn Foster <glynn.foster@sun.com>
5934
5935 * autogen.sh, configure.in: Dumb commit to fix
5936 spelling mistake and remove build fail references to
5937 ORBit and replace with ORBit2. Yeah, this is lame.
5938
59392001-10-02 Laszlo Peter <laca@ireland.sun.com>
5940
5941 * src/orb/orb-core/iop-profiles.c:
5942 change g_string_printfa to g_string_append_printf
5943 because it was renamed in glib.
5944
5945 * test/ior-decode.c: ditto.
5946
59472001-10-03 Michael Meeks <michael@ximian.com>
5948
5949 * src/orb/orb-core/orbit-small.c
5950 (ORBit_small_invoke_adaptor): use the incomming buffer's
5951 giop_version on the reply, not the connection's version.
5952 FIXME: either the connections ver. negotiation is broken
5953 or using it was broken - investigate.
5954
5955 * test/everything/client.c (main): add a 'success' printf.
5956
5957 * src/orb/orb-core/orbit-small.c
5958 (ORBit_small_invoke_adaptor): trace all incoming data.
5959
5960 * src/orb/orb-core/orbit-debug.h: include stdio if
5961 debug is turned on for fprintf.
5962
5963 * src/orb/orb-core/iop-profiles.c
5964 (IOP_TAG_ORBIT_SPECIFIC_marshal): output the IIOP version
5965 fields - because ORBit 1 expects this.
5966 (IOP_TAG_ORBIT_SPECIFIC_demarshal): ignore the IOP version
5967 fields.
5968
59692001-09-25 Mark McLoughlin <mark@skynet.ie>
5970
5971 * Version 2.3.95.
5972
59732001-09-24 Mark McLoughlin <mark@skynet.ie>
5974
5975 * Makefile.am(SUBDIRS): remove libIDL - this is to built
5976 seperately.
5977
5978 * configure.in: cleanup libtool versioning. Use pkg-config
5979 to check for dependancies. Remove libIDL config call.
5980
5981 * ORBit-2.0.pc.in, ORBit-CosNaming-2.0.pc.in,
5982 ORBit.spec.in: update.
5983
5984 * src/idl-compiler/Makefile.am: update and remove all libIDL
5985 build rules.
5986
5987 * src/orb/Makefile.am: update and don't use libtool's -release
5988 flag which makes binary compatibility impossible.
5989
5990 * src/orb/GIOP/Makefile.am: update. Don't supply version-info
5991 to libtool.
5992
5993 * src/orb/dynamic/Makefile.am, src/orb/orb-core/Makefile.am,
5994 src/orb/poa/Makefile.am, src/orb/util/Makefile.am,
5995 src/services/name/Makefile.am, test/Makefile.am,
5996 test/everything/Makefile.am, test/inhibit/Makefile.am,
5997 test/poa/Makefile.am: update.
5998
59992001-09-24 Mark McLoughlin <mark@skynet.ie>
6000
6001 * test/Makefile.am: -lm for test-dynany.
6002
60032001-09-21 Mark McLoughlin <mark@skynet.ie>
6004
6005 * src/orb/GIOP/giop-recv-buffer.c,
6006 include/orbit/GIOP/giop-recv-buffer.c
6007 (giop_recv_buffer_reply_status): macroise - another forte fix.
6008
60092001-09-21 Mark McLoughlin <mark@skynet.ie>
6010
6011 * src/orb/orb-core/corba-typecode.c (CDR_get): remove
6012 unused align param. Tidy up macros, hard code the
6013 CDR alignments. Fixes a forte build problem.
6014
60152001-09-20 Mark McLoughlin <mark@skynet.ie>
6016
6017 * src/orb/GIOP/giop-connection.c (giop_connection_handle_input):
6018 If linc_connection_read returns 0 and was not passed a length
6019 of 0, then the connection has been closed. Unlock incoming_mutex
6020 and change state to LINC_DISCONNECTED. Clients should no longer
6021 hang when servers have dumped code while servicing a request.
6022
60232001-09-20 Mark McLoughlin <mark@skynet.ie>
6024
6025 * ORBit-2.0.pc.in (Requires): add linc.
6026
6027 * .cvsignore, src/idl-compiler/.cvsignore,
6028 src/services/name/.cvsignore, test/.cvsignore: update.
6029
60302001-09-19 Havoc Pennington <hp@redhat.com>
6031
6032 * src/idl-compiler/Makefile.am (orbit_idl_2_SOURCES): don't
6033 install orbit-idl2.h, apparently it isn't used.
6034
6035 * ORBit-CosNaming-2.0.pc.in (Libs): update
6036
6037 * ORBit-2.0.pc.in (orbit_idl): orbit-idl-2
6038
6039 * test/Makefile.am (ior_decode_2_SOURCES): rename ior-decode to
6040 ior-decode-2
6041
6042 * src/services/name/Makefile.am (libORBitservicesincludedir): put
6043 ORBitservices inside /usr/include/orbit to avoid ORBit1 conflicts
6044 (lib_LIBRARIES): rename libname-server to libname-server-2
6045
6046 * src/orb/poa/Makefile.am (IDL): s/orbit-idl/orbit-idl-2/
6047
6048 * src/orb/orb-core/Makefile.am: s/orbit-idl/orbit-idl-2/
6049
6050 * Makefile.shared (IDL_COMPILER): s/orbit-idl/orbit-idl-2/
6051
6052 * src/idl-compiler/Makefile.am: s/orbit-idl/orbit-idl-2/
6053
6054 * src/services/name/Makefile.am: s/name-client/name-client-2/
6055 s/orbit-name-server/orbit-name-server-2/
6056
60572001-09-19 Mark McLoughlin <mark@skynet.ie>
6058
6059 * src/orb/orb-core/Makefile.am: revert Darin's patch. That
6060 header is not generated by this rule.
6061
60622001-09-19 Darin Adler <darin@bentspoon.com>
6063
6064 * src/orb/orb-core/Makefile.am: Fix build by mentioning the
6065 generated header file explicitly as a target. Otherwise, the
6066 dependencies trigger the default orbit-idl compile rule,
6067 which uses the wrong flags.
6068
60692001-09-19 Mark McLoughlin <mark@skynet.ie>
6070
6071 Implement orbitrc option handling.
6072
6073 * src/orb/orb-core/corba-orb.c
6074 (ORBit_proto_use): fix typo.
6075 (orbit_supported_options): move orbitrc options.
6076
6077 * src/orb/util/Makefile.am: define ORBIT_SYSTEM_RCFILE.
6078
6079 * src/orb/util/orbit-options.c,
6080 src/orb/util/orbit-options.h
6081 (ORBit_option_set): change options_list to const.
6082 (ORBit_option_rc_parse): impl.
6083 (ORBit_option_parse): rename to ORBit_option_command_line_parse.
6084 (ORBit_option_parse): impl.
6085 (orbit_sysrc_options): add orbitrc options.
6086
60872001-09-19 Raja R Harinath <harinath@cs.umn.edu>
6088
6089 * src/orb/orb-core/corba-typecode.c: Have
6090 definitions of '*_struct's agree with declarations
6091 in include/orbit/orb-core/corba-typecode.h.
6092
60932001-09-19 Raja R Harinath <harinath@cs.umn.edu>
6094
6095 Fixes bug #60730
6096
6097 * Makefile.shared: Make dependency output file name
6098 agree with pattern used for IDL_DEPS_MAGIC.
6099
61002001-09-18 Mark McLoughlin <mark@skynet.ie>
6101
6102 Port command line option handling from ORBit-0.5.x.
6103
6104 * src/orb/util/orbit-options.[ch]: two new files with two
6105 new functions - ORBit_option_set and ORBit_option_parse
6106 courtesy of Dick I think.
6107
6108 * src/orb/util/Makefile.am: update.
6109
6110 * src/orb/orb-core/corba-orb.c,
6111 src/orb/orb-core/orb-core-private.h
6112 (ORBit_proto_use): impl.
6113 Added all of the sensible options from ORBit-0.5.x. Only
6114 the IIOP protocol options are implemented as yet.
6115
6116 * src/orb/orb-core/corba-object.c(ORBit_start_servers):
6117 check to see if we should use the protocol before starting
6118 a server using that protocol.
6119
61202001-09-18 Mark McLoughlin <mark@skynet.ie>
6121
6122 * src/orb/orb-core/Makefile.am: depend on $(IDL_COMPILER)
6123 not on $(IDL). hmmm.
6124
61252001-09-18 Jens Finke <jens@gnome.org>
6126
6127 * ORBit.spec.in: Updated, matches gpp requirements now, renamed the
6128 package to ORBit2 and reworked the files section.
6129
61302001-09-17 Mark McLoughlin <mark@skynet.ie>
6131
6132 * Makefile.shared: s/DEPS_MAGIC/IDL_DEPS_MAGIC/. Using
6133 the same variable name used by automake causes automake
6134 to get confused. This was causing automatic Makefile
6135 dependancy tracking to not work.
6136
61372001-09-17 Mark McLoughlin <mark@skynet.ie>
6138
6139 * src/orb/poa/Makefile.am: remove bogus BUILT_SOURCE
6140 dependancy.
6141
6142 * src/orb/poa/poa.c: clean up includes. Don't include
6143 corba-ops.h.
6144
6145 * test/inhibit/test-inhibit.c: include stdio.h.
6146
61472001-09-17 Mark McLoughlin <mark@skynet.ie>
6148
6149 * include/orbit/orb-core/orbit-small.h: don't include
6150 IDL.h.
6151
6152 * src/orb/GIOP/giop.c: include stdio.h.
6153
6154 * src/orb/orb-core/orbit-typelib.c
6155 (ORBit_iinterface_from_idl): kill. This is never going
6156 to be implemented as it would require linking against
6157 libIDL.
6158 Also include stdlib.h.
6159
61602001-09-11 Mark McLoughlin <mark@skynet.ie>
6161
6162 * src/orb/orb-core/iop-profiles.c
6163 (IOP_profile_get_info): don't forget to return TRUE.
6164
6165 * include/orbit/GIOP/giop-connection.h,
6166 src/orb/GIOP/giop-connection.c
6167 (giop_connection_from_fd): this function is unused
6168 and unneeded. fds are handled inside linc.
6169
61702001-09-10 Mark McLoughlin <mark@skynet.ie>
6171
6172 * test/ior-decode.c: fixup object key handling.
6173
6174 * include/orbit/GIOP/giop-server.h,
6175 src/orb/GIOP/giop-server.c: minor tidying.
6176
61772001-09-09 Michael Meeks <michael@ximian.com>
6178
6179 * src/orb/orb-core/corba-object.c
6180 (get_small_skel_CORBA_Object): make impl non NULL to
6181 simplify checks.
6182
6183 * test/everything/client.c (testMisc): expand regression
6184 tests.
6185
6186 * src/orb/poa/poa.c (ORBit_POAObject_handle_request):
6187 return exceptions that we have thrown, re-organise the
6188 exception throwing code to flow more smoothly.
6189 (return_exception): impl; ie. with the old 'Lee' stubs,
6190 we have no way to tell that the method was oneway - so
6191 we might stil try and return an exception - another nail
6192 in it's coffin.
6193
61942001-09-09 Michael Meeks <michael@ximian.com>
6195
6196 * src/orb/orb-core/corba-typecode.c: fix alignment of
6197 CORBA_TC_Object, or we get serious marshaling issues.
6198
61992001-09-06 Mark McLoughlin <mark@skynet.ie>
6200
6201 * src/orb/orb-core/corba-object.c
6202 (g_CORBA_Object_equal): compare object keys.
6203 (ORBit_objref_find): sync the object keys before
6204 looking up the object.
6205 (ORBit_try_connection): sync object keys in
6206 forward locations profiles.
6207
6208 * src/orb/orb-core/iop-profiles.c,
6209 src/orb/orb-core/iop-profiles.h
6210 (IOP_profile_find): remove unused.
6211 (IOP_profile_dump): the object key is never in the
6212 profiles anymore.
6213 (IOP_profiles_sync_objkey): impl.
6214 (IOP_profile_get_info): remove objkey arg.
6215 (IOP_ObjectKey_equal): export.
6216 (IOP_profile_equal): don't compare object keys.
6217 (IOP_component_free, IOP_TAG_INTERNET_IOP_free,
6218 IOP_TAG_ORBIT_SPECIFIC_free): don't free the object key.
6219
62202001-09-04 Mark McLoughlin <mark@skynet.ie>
6221
6222 * src/orb/poa/Makefile.am,
6223 src/orb/dynamic/Makefile.am,
6224 src/orb/orb-core/Makefile.am: add --noheaders
6225 options to fix build dependancy problem and remove
6226 headers from BUILT_SOURCES.
6227
62282001-09-04 Mark McLoughlin <mark@skynet.ie>
6229
6230 * src/orb/orb-core/corba-orb.c(CORBA_ORB_shutdown):
6231 quit linc's main loop.
6232
62332001-09-03 Maciej Stachowiak <mjs@noisehavoc.org>
6234
6235 * Makefile.shared: Re-enable generating deps, fixing a potential
6236 distcheck-breaking problem.
6237
6238 * src/orb/orb-core/Makefile.am: Re-disable generating headers;
6239 they are generated in include/orbit/orb-core.
6240
62412001-09-03 Mark McLoughlin <mark@skynet.ie>
6242
6243 * src/idl-compiler/orbit-idl-c-headers.c
6244 (ch_output_const_dcl): implement the unsigned
6245 check correctly. Michael should have more faith
6246 in the splendifuredness of libIDL ;)
6247
62482001-09-03 Mark McLoughlin <mark@skynet.ie>
6249
6250 * src/orb/orb-core/corba-any.c,
6251 src/orb/orb-core/orb-core-private.h
6252 (ORBit_find_alignment): kill - we have that info
6253 in the TypeCode now.
6254
6255 * src/orb/dynamic/dynany.c,
6256 src/orb/orb-core/allocators.c,
6257 src/orb/orb-core/corba-any.c,
6258 src/orb/orb-core/orbit-trace.c: update for
6259 above change.
6260
62612001-09-03 Mark McLoughlin <mark@skynet.ie>
6262
6263 * src/idl-compiler/orbit-idl-c-typecode.c:
6264 Big cleanup. Split out the generation of individual
6265 TypeCode members from cbe_tc_generate into seperate
6266 functions. Also seperate functions for various anon
6267 arrays.
6268
62692001-09-01 Darin Adler <darin@bentspoon.com>
6270
6271 * src/orb/orb-core/.cvsignore: New generated file that needs
6272 ignoring.
6273
62742001-08-31 Mark McLoughlin <mark@skynet.ie>
6275
6276 * include/orbit/orb-core/corba-typecode.h:
6277 (CORBA_TypeCode_struct): fill unused flags,
6278 add c_align.
6279
6280 * include/orbit/orb-core/orb-types.h: add alignment
6281 macro for fixed types.
6282
6283 * src/idl-compiler/orbit-idl-c-typecode.c
6284 (orbit_find_c_alignment) impl.
6285
6286 * src/orb/orb-core/corba-any.c(ORBit_find_alignment):
6287 replace with temporary wrapper.
6288
6289 * src/orb/orb-core/corba-typecode.c
6290 (ORBit_TC_find_c_alignment): impl.
6291 (tc_dec): update.
6292
62932001-08-30 Mark McLoughlin <mark@skynet.ie>
6294
6295 * acconfig.h, configure.in,
6296 include/orbit/orbit-config.h.in:
6297 move ALIGNOF defines out of config.h
6298 and into public view. Rename to ORBIT_ALIGNOF*.
6299
6300 * include/orbit/orb-core/orb-types.h,
6301 src/idl-compiler/orbit-idl-passes.c,
6302 src/orb/orb-core/allocators.c,
6303 src/orb/orb-core/corba-any.c: update.
6304
63052001-08-29 Mark McLoughlin <mark@skynet.ie>
6306
6307 * src/orb/orb-core/corba-any.c: minor cleanups.
6308
63092001-08-28 Mark McLoughlin <mark@skynet.ie>
6310
6311 * src/orb/orb-core/corba-any.c
6312 (ORBit_find_alignment): no need to recurse for aliases.
6313 (ORBit_gather_alloc_info): ditto.
6314 (ORBit_get_union_switch): ditto.
6315 (ORBit_demarshal_value): ditto.
6316 (ORBit_copy_value_core): ditto.
6317 (ORBit_value_equivalent): ditto.
6318 (ORBit_marhsal_value): ditto and fix silly bug with
6319 previous commit.
6320
63212001-08-28 Mark McLoughlin <mark@skynet.ie>
6322
6323 * src/orb/orb-core/corba-any.c(ORBit_marhsal_value):
6324 cleanup and document.
6325
63262001-08-28 Mark McLoughlin <mark@skynet.ie>
6327
6328 * src/orb/GIOP/giop-send-buffer.c
6329 (giop_send_buffer_append_aligned): kill
6330 unused indirect_left.
6331
6332 * src/orb/orb-core/corba-any.c(ORBit_marhsal_value):
6333 Use giop_send_buffer_append_aligned when appropriate.
6334 Fixup long long and long double cases.
6335
6336 * test/everything/: added long long regression test.
6337
63382001-08-28 Mark McLoughlin <mark@skynet.ie>
6339
6340 * include/orbit/orb-core/corba-any-type.h:
6341 kill ORBit_marshal_value_info_struct.
6342
6343 * include/orbit/orb-core/corba-any.h,
6344 /src/orb/orb-core/corba-any.c
6345 (ORBit_marshal_value): remove
6346 ORBit_marshal_value_info arg, special case
6347 boolean/char/octet sequences and arrays.
6348 (ORBit_marshal_arg): update ORBit_marshal_value call.
6349 (ORBit_marshal_any): ditto.
6350
6351 * src/orb/orb-core/orbit-small.c
6352 (orbit_small_marshal): ditto.
6353
6354 * src/orb/orb-core/orbit-trace.c
6355 (ORBit_trace_value): kill ORBit_marshal_value_info.
6356
63572001-08-27 Mark McLoughlin <mark@skynet.ie>
6358
6359 * test/everything/server.c
6360 (test_TestFactory__fini): free context ref.
6361 (test_TestFactory_Servant): free poa ref.
6362
63632001-08-27 Mark McLoughlin <mark@skynet.ie>
6364
6365 * src/orb/orb-core/iop-profiles.c
6366 (IOP_component_free): free object key.
6367 (IOP_TAG_INTERNET_IOP_free): ditto.
6368 (IOP_TAG_ORBIT_SPECIFIC_free): ditto.
6369 Note: To avoid deadlock use ORBit_free_T, even
6370 though the lock is not neccessarily taken.
6371 This doesn't matter, because no RootObjects
6372 are affected.
6373
63742001-08-27 Mark McLoughlin <mark@skynet.ie>
6375
6376 * src/orb/poa/poa.c(ORBit_POA_setup_root): release
6377 the policy.
6378
63792001-08-27 Mark McLoughlin <mark@skynet.ie>
6380
6381 * configure.in, ORBit-2.0.pc.in: removed
6382 THREADLIBS stuff. Handled by linc.
6383
63842001-08-24 Michael Meeks <michael@ximian.com>
6385
6386 * Version 2.3.94
6387
6388 * Makefile.shared: don't generate .deps - totaly broken.
6389
6390 * test/Makefile.am: dynany.idl not .idk !
6391
6392 * src/idl-compiler/orbit-idl-main.c (main): use
6393 the full filename not the basename !
6394
6395 * src/idl-compiler/orbit-idl-c-backend.c
6396 (out_for_pass): create the .deps directory if it doesn't
6397 exist - spew only warnings.
6398
6399 * src/orb/orb-core/Makefile.am: why not generate the
6400 headers we go on to include ?
6401
6402 * src/idl-compiler/orbit-idl-c-backend.c
6403 (out_for_pass): print the correct name of what it failed
6404 to open...
6405
64062001-08-23 Mark McLoughlin <mark@skynet.ie>
6407
6408 * src/orb/orb-core/allocators.c
6409 (ORBit_freekids_via_TypeCode_T): unref the
6410 object reference.
6411
6412 * src/orb/orb-core/corba-policy.c
6413 (CORBA_Policy_destroy): don't unref the
6414 object - that's CORBA_Object_release's job.
6415
64162001-08-23 Michael Meeks <michael@ximian.com>
6417
6418 * configure.in: require linc 0.1.4
6419 bump version to 2.3.94
6420
64212001-08-23 Sander Vesik <Sander.Vesik@sun.com>
6422
6423 * configure.in: check for popt.h
6424
64252001-08-23 Mark McLoughlin <mark@skynet.ie>
6426
6427 * test/poa/poatest-basic??.c:
6428 do the policy thang correctly.
6429
64302001-08-23 Mark McLoughlin <mark@skynet.ie>
6431
6432 Bunch of warnings fixes.
6433
6434 * libIDL/lexer.l, libIDL/parser.y,
6435 libIDL/util.c,
6436 src/idl-compiler/orbit-idl-c-headers.c:
6437 cast char to int for isspace() etc.
6438
6439 * src/orb/GIOP/giop-recv-buffer.c
6440 (giop_recv_list_push): kill G_BREAKPOINT.
6441
6442 * src/orb/dynamic/dynany.c
6443 (DynamicAny_DynStruct_get_elements_as_dyn)
6444 kill unused newdyn.
6445
6446 * src/orb/orb-core/corba-context.c
6447 (ctx_get_values) changes CORBA_Identifier arg
6448 to const CORBA_char *.
6449
6450 * src/orb/orb-core/iop-profiles.c
6451 (IOP_components_marshal): kill unsed lenptr.
6452
6453 * test/test-dynany.c(test_struct): pass dyn_struct
6454 to DynamicAny_DynStruct_* instead of dyn_any.
6455
64562001-08-23 Mark McLoughlin <mark@skynet.ie>
6457
6458 * src/orb/orb-core/corba-context.c,
6459 src/orb/orb-core/corba-nvlist.c,
6460 src/orb/orb-core/corba-object.c,
6461 src/orb/orb-core/corba-orb.c,
6462 src/orb/orb-core/corba-request.c,
6463 src/orb/poa/poa.c: The implications of Maciej's
6464 patch. Match up API defs with IDL generated defs.
6465
6466 * src/orb/orb-core/iop-profiles.c:
6467 include orb-core-private.h.
6468
6469 * src/orb/poa/poa.c(ORBit_POA_okey_to_poa): killed
6470 unused.
6471
64722001-08-22 Maciej Stachowiak <mjs@noisehavoc.org>
6473
6474 * src/idl-compiler/orbit-idl-c-utils.c
6475 (orbit_cbe_write_param_typespec_str): If a type Foo is a typedef
6476 for CORBA_string, write const CORBA_char * instead of const
6477 Foo. This is needed to avoid warnings in the generated skeletons.
6478
64792001-08-20 Mark McLoughlin <mark@skynet.ie>
6480
6481 * src/orb/orb-core/poa.c
6482 (ORBit_POAObject_object_to_objkey) removed
6483 objid.
6484 (ORBit_ORB_find_POA_for_okey) killed.
6485
64862001-08-20 Martin Baulig <baulig@suse.de>
6487
6488 * src/orb/GIOP/giop-connection.c (giop_connection_initiate): If
6489 the connection could not be established, drop the connection list
6490 lock right before calling g_object_unref(cnx).
6491
64922001-08-20 Michael Meeks <michael@ximian.com>
6493
6494 * src/idl-compiler/orbit-idl-c-typecode.c
6495 (cbe_tc_generate): only do strange object mapping things for PIDL.
6496
64972001-08-20 Mark McLoughlin <mark@skynet.ie>
6498
6499 * src/orb/poa/poa-servants.c,
6500 src/orb/poa/poa-manager.c,
6501 src/orb/poa/poa.c: more cleanup.
6502
65032001-08-20 Martin Baulig <baulig@suse.de>
6504
6505 * src/orb/dynamic/dynany.c (dynany_kind_mismatch):
6506 Make it work with aliases.
6507 (DynamicAny_DynStruct_get_elements_as_dyn_any): Implemented.
6508 (DynamicAny_DynSequence_set_elements_as_dyn_any): Implemented.
6509
65102001-08-18 Michael Meeks <michael@ximian.com>
6511
6512 * test/everything/server.c: init threads, before ORB init.
6513
6514 * test/everything/client.c: ditto.
6515
6516 * src/orb/GIOP/giop.c (giop_init): actualy do pass
6517 FALSE to linc_init now we know it works in threaded
6518 mode.
6519
65202001-08-20 Mark McLoughlin <mark@skynet.ie>
6521
6522 * src/orb/poa/poa-policy.c: create policy
6523 methods with macros. Simplifies things.
6524
6525 * src/orb/poa/poa-manager.c: more scrubbing.
6526
65272001-08-19 Maciej Stachowiak <mjs@noisehavoc.org>
6528
6529 * src/orb/orbit-init.c: Include <sys/time.h> to fix build.
6530
65312001-08-19 Mark McLoughlin <mark@skynet.ie>
6532
6533 * src/orb/poa/poa.c: code movement, cleaning etc.
6534
6535 * src/orb/poa/orbit-poa.h: only export what's
6536 neccessary.
6537
65382001-08-18 Michael Meeks <michael@ximian.com>
6539
6540 * src/orb/orb-core/corba-object.c
6541 (CORBA_Object_release_cb): fix deadlock.
6542
6543 * src/orb/GIOP/giop.c (giop_init): pass FALSE to
6544 linc_init, if peopl want threads they have to
6545 initialize them before initializing the ORB.
6546
6547 * src/orb/orb-core/orbit-object.c
6548 (ORBit_RootObject_release): upd locking.
6549 move global lock into corba-orb.c
6550
6551 * src/orb/orb-core/allocators.c
6552 (ORBit_freekids_via_TypeCode, ORBit_free): upd locking.
6553
6554 * src/orb/orb-core/corba-object.c
6555 (ORBit_objref_find): fix locking
6556 homogenise style.
6557
6558 * include/orbit/orb-core/orbit-object.h: update
6559 ORBit_RootObject_lifecycle_lock decl. - wtf. is this
6560 global !?
6561
6562 * src/orb/orb-core/corba-orb.c
6563 (ORBit_locks_initialize): upd.
6564 (CORBA_ORB_init): always init locks.
6565
6566 * src/orb/GIOP/giop-recv-buffer.c:
6567 (giop_recv_buffer_init): re-write.
6568 s/O_MUTEX/LINC_MUTEX/ fix stylistic ugliness,
6569 remove redundant forward prototypes.
6570
6571 * src/orb/GIOP/giop-connection.c
6572 (giop_connection_dispose): update lock destruction.
6573 (giop_connection_handle_input): FIXME: introduced
6574 possible re-enterancy deadlock here.
6575 s/O_MUTEX/LINC_MUTEX/
6576
6577 * src/orb/orb-core/corba-object.c
6578 (CORBA_Object_release_cb): use g_object_unref not
6579 giop_connection_unref
6580 (ORBit_try_connection): ditto.
6581
6582 * src/orb/GIOP/giop-connection.c
6583 (giop_connection_list_init): upd. mutex code.
6584 (giop_connection_unref): kill.
6585
6586 * src/orb/GIOP/giop-send-buffer.c
6587 (giop_get_request_id): prune redundant, slow cruft.
6588 (giop_send_buffer_init): update locking code, kill 'id'
6589 lock - just use a heap / stack pointer - doh.
6590 (giop_send_buffer_append_real): kill redundant forward
6591 prototype.
6592 (giop_IOP_ServiceContextList_marshal),
6593 (giop_CORBA_sequence_octet_marshal): remove cruft.
6594 use linc mutex code throught.
6595
6596 * configure.in: require linc 0.1.3
6597
65982001-08-18 Mark McLoughlin <mark@skynet.ie>
6599
6600 * configure.in: kill AC_CONFIG_SUBDIRS(popt)
6601
66022001-08-18 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
6603
6604 * src/idl-compiler/orbit-idl-c-backend.c
6605 (out_for_pass): raise a g_error instead of segfaulting
6606 if the output can't be opened or popened
6607
66082001-08-16 Mark McLoughlin <mark@skynet.ie>
6609
6610 * src/orb/orb-core/orbit-debug.h:
6611 add.
6612
6613 * src/orb/orb-core/orbit-small.c,
6614 * src/orb/orb-core/orbit-typelib.c,
6615 src/orb/orb-core/orbit-trace.c:
6616 move debug/trace stuff to orbit-debug.h
6617
66182001-08-16 Michael Meeks <michael@ximian.com>
6619
6620 * configure.in: require linc >= 0.1.2
6621
6622 * src/orb/GIOP/giop-connection.c
6623 (giop_connection_handle_input): update sig.
6624 (giop_connection_real_state_changed): hack out
6625 linc_io_add_watch. Use new linc 'handle_input'
6626 abstraction.
6627
66282001-08-15 Michael Meeks <michael@ximian.com>
6629
6630 * src/idl-compiler/orbit-idl-c-deps.c: update.
6631 (orbit_idl_output_c_deps): if we didn't open the fh;
6632 return.
6633
6634 * src/idl-compiler/orbit-idl-c-backend.c
6635 (out_for_pass): only fopen non NULL deps files.
6636
66372001-08-14 Michael Meeks <michael@ximian.com>
6638
6639 * src/orb/orb-core/orbit-small.c
6640 (ORBit_small_marshal_context): trace CORBA contexts nicely.
6641
66422001-08-15 Mark McLoughlin <mark@skynet.ie>
6643
6644 * include/orbit/orb-core/corba-any.h,
6645 src/orb/orb-core/corba-any.c: implement
6646 CORBA_any_{set|get}_release as macros.
6647
66482001-08-13 Maciej Stachowiak <mjs@noisehavoc.org>
6649
6650 Implemented dependency tracking in the IDL compiler (much like the
6651 similar feature of gcc) and use it everywhere.
6652
6653 * src/idl-compiler/orbit-idl-c-deps.c (orbit_idl_output_c_deps,
6654 output_deps): New pass that outputs dependency info in a format
6655 suitable for including into a Makefile.
6656 * src/idl-compiler/orbit-idl-main.c (main): Add a --deps switch
6657 which takes a filename argument.
6658 * src/idl-compiler/orbit-idl-c-backend.h,
6659 src/idl-compiler/orbit-idl-c-backend.c (orbit_idl_output_c):
6660 Output dependencies when requested.
6661 (orbit_idl_c_filename_for_pass, out_for_pass): Split out the code
6662 that generates the output filename for each pass and make it
6663 public, to help the new dependency pass.
6664 * src/idl-compiler/orbit-idl-driver.c (orbit_idl_to_backend):
6665 Always pass IDLF_SRCFILES flag, since SRCFILE nodes are required
6666 by the dependency generation pass.
6667 * src/idl-compiler/orbit-idl-c-headers.c (ch_output_types): Only
6668 output weird stuff for SRCFILE nodes when suppressing includes.
6669 * src/idl-compiler/orbit-idl3-types.h: Add dependency pass and a
6670 #define for the number of passes, to help avoid magic numbers in
6671 code.
6672 * src/idl-compiler/Makefile.am: Add orbit-idl-c-deps.c to build.
6673
6674 * Makefile.shared: Common Makefile segment that has the
6675 appropriate rules for building IDL files and generating dependency
6676 info for targets of IDL sources.
6677
6678 * include/orbit/dynamic/Makefile.am,
6679 include/orbit/orb-core/Makefile.am, include/orbit/poa/Makefile.am,
6680 src/orb/dynamic/Makefile.am, src/orb/include/Makefile.am,
6681 src/orb/orb-core/Makefile.am, src/orb/poa/Makefile.am,
6682 src/services/name/Makefile.am, test/Makefile.am,
6683 test/everything/Makefile.am, test/inhibit/Makefile.am,
6684 test/poa/Makefile.am: Use Makefile.shared and IDL dependencies to
6685 simplify and sanitize IDL compilation.
6686
6687 * include/orbit/dynamic/.cvsignore,
6688 include/orbit/orb-core/.cvsignore, include/orbit/poa/.cvsignore:
6689 Ignore .deps directories.
6690
66912001-08-14 Michael Meeks <michael@ximian.com>
6692
6693 * src/idl-compiler/orbit-idl-c-headers.c
6694 (ch_output_const_dcl): try and get libIDL to give us some
6695 useful information - right !
6696
6697 * src/idl-compiler/orbit-idl-driver.c
6698 (orbit_idl_to_backend): set rinfo->namespace.
6699
6700 * src/orb/orb-core/corba-any.c (ORBit_copy_value_core): fix
6701 heinous _buffer = TRUE bug.
6702
67032001-08-13 Michael Meeks <michael@ximian.com>
6704
6705 * test/everything/client.c (testMisc): invoke a non
6706 existant method on an object.
6707 (testMisc): add a (currently failing) check for Martin's bug.
6708
6709 * test/everything/everything.idl: add ObjectStruct.
6710
6711 * src/orb/orb-core/iop-profiles.c
6712 (IOP_profile_dump): dump the correct oki.
6713
67142001-08-13 Mark McLoughlin <mark@skynet.ie>
6715
6716 * include/orbit/orb-core/corba-object-type.h:
6717 kill IOP_ObjectKey_info. Use ORBit_ObjectKey.
6718
6719 * include/orbit/poa/orbit-adaptor.h,
6720 src/orb/orb-core/corba-object.c,
6721 src/orb/orb-core/iop-profiles.c,
6722 src/orb/orb-core/iop-profiles.h,
6723 src/orb/orb-core/orb-core-private.h,
6724 src/orb/poa/orbit-adaptor.c,
6725 test/ior-decode.c:
6726 s/IOP_ObjectKey_info/ORBit_ObjectKey/. Add
6727 ORBit_AdaptorKey. CORBA_free the object key
6728 instead of g_free-ing it.
6729
6730 * include/orbit/poa/portableserver-poa-type.h:
6731 kill num_to_koid_map and koid_rand_len.
6732
6733 * src/orb/poa/orbit-poa.h:
6734 kill ORBit_POAKOid, ORBIT_POAKOID_OidLenOf etc.
6735
6736 * src/orb/poa/poa.c
6737 (ORBit_POAObject_object_to_objkey): Just use the
6738 adaptor key and object Id for the key. Improvements
6739 will follow. Kill num_to_koid_map etc.
6740
6741 * include/orbit/GIOP/giop-send-buffer.h,
6742 src/orb/GIOP/giop-send-buffer.c
6743 (giop_send_buffer_use_request,
6744 giop_send_buffer_use_locate_request):
6745 Take a ORBit_ObjectKey instead an iovec.
6746
67472001-08-13 Mark McLoughlin <mark@skynet.ie>
6748
6749 * include/orbit/poa/poa-policy.h,
6750 include/orbit/poa/portableserver-poa-type.h,
6751 src/orb/poa/poa-policy.c,
6752 src/orb/poa/poa-policy.c,
6753 src/orb/poa/poa.c: kill obj_rand_len. kill
6754 ORBit_PortableServer_OkeyrandPolicy_t.
6755
67562001-08-13 Martin Baulig <baulig@suse.de>
6757
6758 * src/idl-compiler/orbit-idl-c-common.c: Increase the
6759 length of the ORBit::IArguments sequence by one so that
6760 the trailing NULL element is copied as well.
6761
67622001-08-11 Michael Meeks <michael@ximian.com>
6763
6764 * test/typelib-dump.c (list_libs): impl.
6765 (main): list installed type libraries.
6766
67672001-08-11 Mark McLoughlin <mark@skynet.ie>
6768
6769 * src/orb/poa/orbit-poa.h,
6770 src/orb/poa/poa.c:
6771 (ORBit_POA_make_sysoid): Always use random
6772 data. Rename to ORBit_POA_new_system_objid.
6773 (ORBit_POA_create_object): make static. Remove
6774 unused asDefault arg.
6775 (ORBit_POAObject ORBit_POA_okey_to_obj): kill unused.
6776
67772001-08-10 Michael Meeks <michael@ximian.com>
6778
6779 * src/orb/orb-core/orbit-typelib.c
6780 (ORBit_get_typelib_paths): expose internaly.
6781
67822001-08-10 Michael Meeks <michael@ximian.com>
6783
6784 * src/orb/orb-core/orbit-small.c
6785 (ORBit_handle_exception_array): set the typecode in the
6786 CORBA_Environment as we demarshal.
6787
6788 * src/orb/orb-core/orbit-trace.c
6789 (ORBit_trace_typecode): upd.
6790 (ORBit_trace_any): impl.
6791
6792 * src/orb/orb-core/orbit-small.c (orbit_small_demarshal):
6793 more trace debug: out parameters & exceptions.
6794
67952001-08-10 Michael Meeks <michael@ximian.com>
6796
6797 * test/everything/test.sh: trash /tmp/orbit-$USER before
6798 we start ...
6799
68002001-08-09 Michael Meeks <michael@ximian.com>
6801
6802 * src/orb/orb-core/Makefile.am: add orbit-typelib.c
6803
6804 * src/orb/orb-core/orbit-small.c: split out type libraries
6805
6806 * src/orb/orb-core/orbit-typelib.c: to here.
6807
6808 * src/orb/orb-core/orbit-trace.c (ORBit_trace_value): fixup.
6809
68102001-08-08 Michael Meeks <michael@ximian.com>
6811
6812 * test/Makefile.am: add typelib-dump
6813
6814 * test/typelib-dump.c (dump_iface): impl.
6815
68162001-08-08 Michael Meeks <michael@ximian.com>
6817
6818 * src/orb/orb-core/iop-profiles.c (IOP_component_free):
6819 don't free the non-allocated oki - it's part of the
6820 component's structure.
6821
6822 * include/orbit/orbit.h: add orbit_version.
6823
6824 * configure.in (then): kill HAVE_LIMITED_WRITEV check.
6825
6826 * include/orbit/orbit-config.h.in: kill HAVE_ALLOCA,
6827 HAVE_LIMITED_WRITEV - unused.
6828
6829 * src/orb/orbit-init.c: setup orbit_version char *
6830
6831 * src/orb/Makefile.am: define ORBIT_VERSION.
6832
68332001-08-08 Mark McLoughlin <mark@skynet.ie>
6834
6835 * src/orb/orb-core/orbit-small.c
6836 (load_module): unload module, if not needed.
6837
6838 * src/orb/orb-core/corba-object.c
6839 (CORBA_Object_release_cb): free object key.
6840
6841 * test/everything/client.c
6842 (testString): free ior.
6843
68442001-08-08 Mark McLoughlin <mark@skynet.ie>
6845
6846 * test/everything/client.c
6847 (testIInterface): free iinterface.
6848
68492001-08-08 Mark McLoughlin <mark@skynet.ie>
6850
6851 * test/everything/client.c
6852 (testUnboundedSequence): set _release.
6853 (testBoundedSequence): ditto.
6854 (testSequenceOfAny): ditto.
6855
68562001-08-07 Michael Meeks <michael@ximian.com>
6857
6858 * test/everything/client.c: call testMisc.
6859 (testMisc): impl CORBA_TypeCode_equal / equivalent
6860 regression tests.
6861
68622001-08-07 Michael Meeks <michael@ximian.com>
6863
6864 * Version 2.3.93
6865
6866 * src/orb/orb-core/corba-typecode.c
6867 (CORBA_TypeCode_eqivalent): rename to
6868 (CORBA_TypeCode_equivalent): this, doh.
6869
6870 * src/orb/orb-core/corba-typecode.c
6871 (typecode_equiv_internal): fixup.
6872
68732001-08-07 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
6874
6875 * src/orb/orb-core/allocators.c
6876 (ORBit_free_T): do g_error instead of g_assert,
6877 makes debugging a bit easier.
6878
68792001-08-07 Mark McLoughlin <mark@skynet.ie>
6880
6881 * src/orb/dynamic/dynany.c
6882 (DynamicAny_DynStruct_get_members): set _release
6883 to CORBA_TRUE.
6884 (DynamicAny_DynStruct_get_members_as_dyn_any): ditto.
6885 (DynamicAny_DynSequence_get_elements): ditto.
6886
6887 * ORBit2/src/orb/orb-core/corba-any.c
6888 (ORBit_copy_value_core): ditto.
6889
6890 * src/orb/poa/poa.c(ORBit_POA_new): ditto.
6891
6892 * src/orb/orb-core/corba-orb.c
6893 (CORBA_ORB_list_initial_services): use CORBA_TRUE instead
6894 of TRUE.
6895
6896 * src/orb/orb-core/corba-types.c
6897 (ORBit_sequence_CORBA_octet_dup): ditto.
6898
6899 * src/orb/orb-core/orbit-small.c(load_module): ditto.
6900
69012001-08-07 Michael Meeks <michael@ximian.com>
6902
6903 * test/everything/client.c (testIInterface): actualy
6904 free the iinterface structure.
6905
6906 * src/orb/orb-core/orbit-small.c (load_module): fix leak.
6907
6908 * src/orb/orb-core/corba-types.c
6909 (ORBit_sequence_CORBA_octet_dup): set release to TRUE.
6910
6911 * src/orb/orb-core/corba-orb.c
6912 (CORBA_ORB_list_initial_services): ditto.
6913
6914 * src/orb/poa/clean-poa.c
6915 (PortableServer_POA__get_the_children): ditto.
6916
6917 * src/orb/poa/clean-poa.c (ORBit_POA_create_object): ditto.
6918
6919 * src/orb/poa/poa.c (PortableServer_POA__get_the_children),
6920 (ORBit_POA_create_object): ditto.
6921 (PortableServer_string_to_ObjectId): revert.
6922
69232001-08-07 Mark McLoughlin <mark@skynet.ie>
6924
6925 * src/orb/poa/poa.c
6926 (PortableServer_string_to_ObjectId): set _release
6927 to TRUE.
6928
69292001-08-07 Mark McLoughlin <mark@skynet.ie>
6930
6931 * src/orb/orb-core/corba-policy.c
6932 (ORBit_Policy_release): impl.
6933 (ORBit_Policy_new): ref the policy.
6934 (CORBA_Policy_destroy): unref the policy.
6935
6936 * include/orbit/orb-core/corba-policy-type.h: killed
6937 CORBA_Policy_t, POLICY_CAST_OUT, POLICY_CAST_IN.
6938
6939 * src/orb/poa/poa.c(ORBit_POA_setup_root): cleaned up.
6940
69412001-08-07 Michael Meeks <michael@ximian.com>
6942
6943 * src/orb/orb-core/orbit-trace.c
6944 (ORBit_trace_value): impl.
6945
6946 * src/orb/orb-core/Makefile.am: add orbit-trace.c
6947
69482001-08-06 Michael Meeks <michael@ximian.com>
6949
6950 * src/orb/orb-core/corba-typecode.c
6951 (typecode_equiv_internal): split this out of
6952 (CORBA_TypeCode_equal): here.
6953 (CORBA_TypeCode_eqivalent): impl.
6954 (typecode_equiv_internal): impl equivalent checking.
6955
69562001-08-06 Mark McLoughlin <mark@skynet.ie>
6957
6958 * src/orb/orb-core/orbit-small.c
6959 (ORBit_small_getepv): put back.
6960
69612001-08-04 Michael Meeks <michael@ximian.com>
6962
6963 * src/orb/poa/orbit-adaptor.c
6964 (ORBit_handle_request): fix potential segv.
6965 on NULL objkey.
6966
69672001-08-02 Martin Baulig <baulig@suse.de>
6968
6969 * src/orb/orb-core/orbit-interface.idl:
6970 (ORBit::IInterfaces): New typedef.
6971
6972 * include/orbit/orb-core/orbit-small.h,
6973 src/orb/orb-core/orbit-small.c
6974 (ORBit_small_get_iinterfaces): New function.
6975
69762001-08-02 Mark McLoughlin <mark@skynet.ie>
6977
6978 * src/orb/poa(ORBit_OAObject_invoke): let's not
6979 return a value from a void function, shall we.
6980
69812001-08-01 Mark McLoughlin <mark@skynet.ie>
6982
6983 * test/poa/*: re-indent. sigh.
6984
69852001-08-01 Mark McLoughlin <mark@skynet.ie>
6986
6987 * include/orbit/poa/orbit-adaptor.h,
6988 src/orb/poa/orbit-adaptor.c
6989 (ORBit_OAObject_invoke,
6990 ORBit_OAObject_object_to_objkey): impl.
6991
6992 * src/orb/orb-core/iop-profiles.c,
6993 src/orb/orb-core/orbit-small.c:
6994 used the above.
6995
69962001-07-31 Darin Adler <darin@bentspoon.com>
6997
6998 * src/orb/orb-core/corba-object.c: (CORBA_Object_non_existent):
6999 Don't dereference obj until after we check it for nil.
7000
70012001-07-31 Mark McLoughlin <mark@skynet.ie>
7002
7003 * include/orbit/poa/orbit-adaptor.h,
7004 src/orb/poa/orbit-adaptor.c,
7005 include/orbit/poa/Makefile.am,
7006 src/orb/poa/Makefile.am:
7007 added orbit-adaptor.[ch]. Virtual Object Adaptor
7008 interface.
7009
7010 * include/orbit/poa/poa-basics.h: added
7011 typedefs for ORBit_OAObject and ORBit_ObjectAdaptor.
7012
7013 * include/orbit/poa/poa-types.h,
7014 include/orbit/poa/portableserver-poa-type.h:
7015 Included base structures in ORBIt_POAObject and
7016 PortableServer_POA.
7017
7018 * src/orb/poa/orbit-poa-export.h
7019 (ORBit_handle_request, ORBit_small_handle_request,
7020 ORBit_POA_object_to_okey): kill.
7021
7022 * src/orb/poa/poa.c
7023 (ORBit_POAObject_is_active, ORBit_POAObject_invoke): impl.
7024 (ORBit_POA_object_to_okey) rename to
7025 ORBit_POAObject_object_to_objkey.
7026 (ORBit_handle_request) rename to
7027 ORBit_POA_handle_request.
7028 (ORBit_small_handle_rquest) rename to
7029 ORBit_POAObject_handle_request.
7030
7031 * include/orbit/orb-core/corba-object-type.h,,
7032 include/orbit/orb-core/corba-orb-type.h,
7033 include/orbit/orb-core/orbit-object.h,
7034 include/orbit/orb-core/orbit-small.h,
7035 src/orb/orb-core/corba-object.c,
7036 src/orb/orb-core/corba-orb.c,
7037 src/orb/orb-core/iop-profiles.c,
7038 src/orb/orb-core/orbit-small.c,
7039 test/everything/server.c: host of minor
7040 supporting changes.
7041
70422001-07-31 Michael Meeks <michael@ximian.com>
7043
7044 * Version 2.3.92
7045
70462001-07-31 Michael Meeks <michael@ximian.com>
7047
7048 * test/poa/Makefile.am: fixup.
7049
70502001-07-31 Martin Baulig <baulig@suse.de>
7051
7052 * src/orb/dynany.c
7053 (DynamicAny_DynStruct_set_members_as_dyn_any): Impl.
7054 (DynamicAny_DynStruct_get_members_as_dyn_any): Impl.
7055
7056 * tests/test-dynany.c: Added tests for them.
7057
70582001-07-31 Michael Meeks <michael@ximian.com>
7059
7060 * test/everything/client.c (find_tc): impl.
7061 (testIInterface): beef up, and test new methods.
7062
7063 * src/orb/orb-core/orbit-small.c (ORBit_small_get_types): impl.
7064 (ORBit_small_load_typelib): fixup local lib names.
7065
7066 * src/idl-compiler/orbit-idl-c-imodule.c (cc_small_build_exceptions):
7067 prune.
7068 (cc_small_build_types): merge exceptions to here.
7069
7070 * src/orb/orb-core/orbit-small.c (ORBit_iinterface_from_idl):
7071 kill cruft.
7072 (add_iinterface, lookup_iinterface, get_type_db): impl.
7073 (ORBit_small_get_iinterface): lookup in the local db first
7074 then classinfo, then remote.
7075 (shallow_copy_iinterface): rename to
7076 (copy_iinterface): & add 'shallow' arg.
7077 (load_module): actualy close the handle and register the types.
7078 (get_types, add_types): impl.
7079 (ORBit_small_load_typelib): upd.
7080 (load_module): upd.
7081 (get_types, add_types): impl.
7082
7083 * test/everything/Makefile.am (included_src): add
7084 context-server
7085
70862001-07-31 Michael Meeks <michael@ximian.com>
7087
7088 * configure.in: require linc-0.1.1
7089 bump version to 2.3.92
7090
7091 * src/orb/orb-core/orbit-small.c
7092 (ORBit_small_get_types): stub for API freeze.
7093
70942001-07-30 Martin Baulig <baulig@suse.de>
7095
7096 * src/orb/dynamic.c (dynamic_sequence_realloc_to): Initialize
7097 the newly created elements.
7098
70992001-07-30 Martin Baulig <baulig@suse.de>
7100
7101 * configure.in: Bump ORBIT_SERIAL to 16.
7102
7103 * include/orbit/orb-core/corba-object.h (CORBA_Object__itype):
7104 Renamed to CORBA_Object__iinterface.
7105
7106 * include/orbit/orb-core/orbit-small.h (ORBit_IModule):
7107 Added `CORBA_TypeCode *exceptions' and `CORBA_TypeCode *types'.
7108
7109 * include/orbit/orb-core/corba-typecode.h
7110 (CORBA_TypeCode_struct): Added `CORBA_unsigned_long flags'.
7111
7112 * src/idl-compiler/orbit-idl-c-*.c: Use `__iinterface' instead of
7113 `__itype' as prefix for the ORBit_IInterface structs.
7114
7115 * src/idl-compiler/orbit-idl-c-imodule.c: Create the new type and
7116 exception arrays.
7117
71182001-07-28 Michael Meeks <michael@ximian.com>
7119
7120 * test/everything/client.c (testStructAny): impl.
7121 (run_tests): hook up.
7122
7123 * test/everything/structServer.c (StructServer_opStructAny): impl.
7124 (StructServer_epv): add. & fix all the serious stylistic issues.
7125
71262001-07-27 Mark McLoughlin <mark@skynet.ie>
7127
7128 * /src/idl-compiler/orbit-idl-c-common.c:
7129 add a couple of '\n's to the generated code. We shouldn't rely
7130 on indent to fix up broken code.
7131
71322001-07-27 Michael Meeks <michael@ximian.com>
7133
7134 * src/orb/orb-core/orbit-small.c (quick_compare): impl.
7135 (ORBit_small_invoke): use it instead of a hard pointer
7136 compare - since we can make new multiple IInterfaces
7137 to point to the same data.
7138
71392001-07-26 Michael Meeks <michael@ximian.com>
7140
7141 * src/orb/orb-core/orbit-small.c (get_typelib_paths):
7142 add to the search path.
7143
7144 * src/orb/orb-core/Makefile.am: define ORBIT_TYPELIB_DIR
7145
71462001-07-26 Michael Meeks <michael@ximian.com>
7147
7148 * src/idl-compiler/orbit-idl-c-typecode.c
7149 (cbe_tc_generate): fix duplicate static bug.
7150
71512001-07-26 Michael Meeks <michael@ximian.com>
7152
7153 * src/idl-compiler/orbit-idl-main.c (main): only
7154 output imodule information if explicitely asked,
7155 and then only output the neccessary.
7156
71572001-07-25 Michael Meeks <michael@ximian.com>
7158
7159 * src/idl-compiler/orbit-idl-c-typecode.c
7160 (cbe_tc_generate): make TC's static in typelibs.
7161
7162 * src/idl-compiler/orbit-idl-c-common.c
7163 (cc_small_output_itypes): make the __itype data static if
7164 for a type library, also for __imethods.
7165 (cc_output_alloc_interface): only output __classids
7166 in certain cases.
7167
7168 * src/orb/orb-core/orbit-small.c (ORBit_small_load_typelib),
7169 (get_typelib_paths, add_if_unique): impl.
7170
7171 * test/everything/Makefile.am: build an _module typelib.
7172
7173 * test/everything/client.c (testIInterface): load it.
7174
7175 * configure.in: we need gmodule.
7176
7177 * ORBit-2.0.pc.in (Requires): add @THREAD_LIBS@ and gmodule.
7178
7179 * src/idl-compiler/orbit-idl-c-common.c
7180 (orbit_idl_output_c_common): inhibit GIOP include for small.
7181
7182 * src/idl-compiler/orbit-idl-c-imodule.c
7183 (cc_small_output_imodule): kill.
7184 (cc_small_output_base_itypes): ditto.
7185 (cc_small_build_interfaces): upd.
7186 (orbit_idl_output_c_imodule): upd.
7187
7188 * include/orbit/orb-core/orbit-small.h: define the
7189 ORBit_IModule interface in standard C - not IDL, so we can
7190 have nicer dereferencing.
7191
7192 * src/orb/orb-core/orbit-interface.idl: kill IModule bits.
7193
71942001-07-25 Maciej Stachowiak <mjs@noisehavoc.org>
7195
7196 * src/idl-compiler/orbit-idl-c-headers.c: (ch_output_codefrag):
7197 Add a newline after emitted codefrag lines to avoid line
7198 directives running together with the next line.
7199
72002001-07-25 Mark McLoughlin <mark@skynet.ie>
7201
7202 * src/orb/orb-core/iop-profiles.c(IOP_components_marshal),
7203 src/orb/orb-core/corba-contexts.c(ORBit_Context_marhsal),
7204 see below... more of the same.
7205
72062001-07-25 Mark McLoughlin <mark@skynet.ie>
7207
7208 * src/orb/iop-profiles.c(IOP_profile_marshal),
7209 src/orb/corba-typecode.c(tc_enc):
7210 do not dereference pointers that aren't neccessarily
7211 properly aligned.
7212
7213 * src/orb/GIOP/giop-send-buffer.c: document this.
7214
72152001-07-25 Michael Meeks <michael@ximian.com>
7216
7217 * src/orb/GIOP/giop.c (giop_dump_send, giop_dump_recv),
7218 (dump): move here.
7219
7220 * test/everything/basicServer.c (BasicServer_opOneWay): impl.
7221
7222 * test/everything/client.c (testString): call it.
7223
7224 * test/everything/everything.idl: add opOneWay to BasicServer.
7225
72262001-07-24 Michael Meeks <michael@ximian.com>
7227
7228 * src/orb/orb-core/orbit-small.c (ORBit_small_invoke_poa): don't send
7229 anything back for oneway methods ...
7230 (giop_dump_recv, giop_dump_send): robustify and publicise.
7231
7232 * src/orb/GIOP/giop-recv-buffer.c (giop_recv_buffer_handle_fragmented):
7233 add a warning for the broken fragmentation case ...
7234 (giop_recv_buffer_use_noblock): kill.
7235 (giop_recv_list_push): add conditional debug
7236
72372001-07-24 Martin Baulig <baulig@suse.de>
7238
7239 * src/idl-compiler/orbit-idl-c-imodule.c: Correctly calculate
7240 the length of the __base_types array.
7241
72422001-07-24 Michael Meeks <michael@ximian.com>
7243
7244 * src/orb/orb-core/orbit-small.c (shallow_copy_iinterface): impl.
7245 (ORBit_small_get_iinterface): use it.
7246
7247 * src/orb/orb-core/corba-object.c: update to mention exceptions
7248 we fire on get_iinterface.
7249
7250 * src/orb/orb-core/corba-env.c (CORBA_exception_free): NULL
7251 the exception id after freeing it, so we don't double free: doh !
7252
7253 * src/orb/orb-core/orbit-small.c (ORBit_handle_exception_array):
7254 robustify the 'fired an unknown exception' case.
7255 (ORBit_small_send_user_exception): don't use a fakeev - use
7256 the real one, since the exception type is grokked elsewhere,
7257 return a boolean to indicate a re-marshal of a sys exception,
7258 and free the send_buffer.
7259 (ORBit_small_invoke_poa): upd to loopback on exception.
7260
7261 * test/everything/client.c (testIInterface): update tests
7262 to go over the wire.
7263
72642001-07-24 Martin Baulig <baulig@suse.de>
7265
7266 The IDL compiler now creates a -imodule.c file which
7267 contains a `ORBit_IModule orbit_imodule_data' struct.
7268 We'll compile these -imodule.c files into shared
7269 libraries which can be dlopen()ed by scripting languages.
7270 There is a --noimodule command line option to turn this
7271 feature off.
7272
7273 * src/orb/orb-core/orbit-interface.idl
7274 (IModuleVersion, IInterfaces): New typedefs.
7275 (IModule): New struct type.
7276
7277 * configure.in: Bump ORBIT_SERIAL to 14.
7278
7279 * src/idl-compiler/orbit-idl3-types.h (enabled_passes):
7280 Added OUTPUT_IMODULE.
7281
7282 * src/idl-compiler/orbit-idl-main.c: Added "--noimodule"
7283 command line option to disable output of the -imodule.c
7284 files.
7285
7286 * src/idl-compiler/orbit-idl-c-imodule.c: New file.
7287
72882001-07-23 Michael Meeks <michael@ximian.com>
7289
7290 * src/idl-compiler/orbit-idl-main.c (main): add version
7291 output.
7292
72932001-07-23 Michael Meeks <michael@ximian.com>
7294
7295 * src/orb/orb-core/orbit-small.c (ORBit_small_invoke_poa):
7296 only free the return value if there is no exception.
7297
72982001-07-20 Michael Meeks <michael@ximian.com>
7299
7300 * src/orb/orb-core/iop-profiles.c (IOP_generate_profiles):
7301 remove 'need_object_key_component' - we always do, to flag
7302 UTF-8.
7303 (IOP_profile_get_info): fallback to obj->oki if coki is NULL.
7304 (IOP_components_marshal): hook up CODE_SETS.
7305 (IOP_TAG_CODE_SETS_marshal): impl.
7306 (CodeSetComponent_marshal): impl.
7307 (IOP_components_demarshal): upd.
7308 (CodeSetComponent_demarshal): impl.
7309 (IOP_component_free): upd.
7310
73112001-07-20 Michael Meeks <michael@ximian.com>
7312
7313 * src/orb/GIOP/giop-send-buffer.c
7314 (giop_send_buffer_append_indirect): rename to
7315 (giop_send_buffer_append_aligned): this, to make not only
7316 more efficient, but clean and sane.
7317 (giop_send_buffer_align): re-write to be actualy fast,
7318 remove the 'register' keyword - it doesn't speed things up.
7319 (get_next_indirect): split out of _append & re-write.
7320 (giop_send_buffer_append_aligned): here & re-write.
7321 (giop_send_buffer_append_copy): impl simple version for
7322 (giop_send_buffer_append): to use & upd.
7323
7324 * src/orb/orb-core/iop-profiles.c: upd.
7325
7326 * src/orb/orb-core/corba-context.c: upd.
7327
7328 * src/orb/orb-core/corba-any.c: upd.
7329
7330 * src/orb/orb-core/corba-typecode.c: upd.
7331
7332 * src/orb/orb-core/corba-env.c: upd.
7333
7334 * src/orb/orb-core/corba-object.c: upd.
7335
7336 * src/orb/orb-core/orbit-small.c: upd.
7337
73382001-07-19 Michael Meeks <michael@ximian.com>
7339
7340 * src/orb/poa/poa.c (ORBit_POAObject_release_cb): try
7341 freeing the object_id before we free the pobj we need
7342 to reference it, also NULL it for safety.
7343
73442001-07-19 Michael Meeks <michael@ximian.com>
7345
7346 * src/orb/orb-core/orbit-small.c: remove redundant
7347 DEBUG_LOCAL_TEST macro ...
7348
7349 * src/orb/GIOP/giop-connection.c
7350 (giop_connection_real_state_changed): use
7351 linc watches.
7352
73532001-07-18 Michael Meeks <michael@ximian.com>
7354
7355 * test/echo-server.c (main): use CORBA_ORB_run.
7356
7357 * src/orb/orb-core/corba-orb.c
7358 (CORBA_ORB_perform_work, CORBA_ORB_work_pending),
7359 (CORBA_ORB_run): use new linc_main stuff instead of
7360 g_main.
7361
7362 * src/orb/GIOP/giop-recv-buffer.c
7363 (giop_recv_buffer_get): use linc_main_iteration, this
7364 requires the latest CVS linc.
7365 (giop_recv_buffer_use): ditto.
7366
73672001-07-18 Mark McLoughlin <mark@skynet.ie>
7368
7369 * src/idl-compiler/orbit-idl-c-headers.c(ch_output_native),
7370 src/idl-compiler/orbit-idl-c-stubs.c(cs_small_output_stub):
7371 add a couple of '\n's to the generated code. We shouldn't rely
7372 on indent to fix up broken code.
7373
73742001-07-18 Michael Meeks <michael@ximian.com>
7375
7376 * src/orb/orb-core/corba-object.c
7377 (_ORBit_object_get_connection): rename to
7378 (ORBit_object_get_connection): this & re-order slightly.
7379 (CORBA_Object_non_existent): local objects always exist,
7380 even if we havn't bothered remoting them yet => no
7381 connection.
7382
7383 * include/orbit/orb-core/corba-object.h: kill macro
7384 (ORBit_object_get_connection): somewhat confusing.
7385
7386 * test/everything/client.c (testIInterface): add
7387 CORBA_Object_non_existent and CORBA_Object_is_nil
7388 regression tests.
7389
73902001-07-17 Michael Meeks <michael@ximian.com>
7391
7392 * src/idl-compiler/orbit-idl-main.c (main): make
7393 the runtime message more pleasant.
7394
7395 * src/orb/orb-core/corba-object.c
7396 (ORBit_IInterface_is_a): upd. to sequence<String>
7397
7398 * src/idl-compiler/orbit-idl-c-common.c
7399 (cc_small_output_itypes): output sequence<string> for
7400 base types & get the length right.
7401 (cc_small_output_base_itypes): upd.
7402
7403 * src/orb/orb-core/orbit-small.c
7404 (ORBit_small_invoke_skel): kill.
7405 (ORBit_small_invoke): impl.
7406
7407 * configure.in (ORBIT_SERIAL): bump.
7408
7409 * src/orb/orb-core/orbit-interface.idl: switch
7410 to sequence<string> for base_interfaces.
7411
74122001-07-17 Michael Meeks <michael@ximian.com>
7413
7414 * test/everything/client.c (testIInterface):
7415 ORBit_small_get_type_id regression test.
7416 (run_tests): hook it up.
7417
7418 * src/orb/poa/poa.c (ORBit_classinfo_lookup): impl.
7419
7420 * src/orb/poa/clean-poa.c (ORBit_classinfo_lookup): impl.
7421
7422 * src/orb/orb-core/corba-object.c
7423 (ORBit_impl_ORBit_get_iinterface): impl.
7424 (ORBit_impl_ORBit_get_type_id): impl.
7425 (get_small_skel_CORBA_Object): extend.
7426
7427 * src/orb/orb-core/orbit-small.c
7428 (ORBit_small_get_iinterface): impl.
7429 (ORBit_small_get_type_id): impl.
7430
7431 * src/orb/orb-core/corba-object.c: add
7432 ORBit_get_iinterface / ORBit_get_type_id methods.
7433
74342001-07-13 Peter Williams <peterw@ximian.com>
7435
7436 * configure.in (ACLOCAL): Preserve ACLOCAL_FLAGS in
7437 ACLOCAL. (Update: whoops, typo! Fixed.) (Update: I
7438 do not believe it. Fix another typo.)
7439
74402001-07-14 Martin Baulig <baulig@suse.de>
7441
7442 * ORBit-2.0.pc.in (orbit_idl): New variable.
7443
74442001-07-13 Mark McLoughlin <mark@skynet.ie>
7445
7446 * docs/devel/internals/poa-notes.txt: added.
7447
74482001-07-13 Michael Meeks <michael@ximian.com>
7449
7450 * test/everything/client.c (testString): use the getIOR
7451 method to test stringification.
7452
7453 * test/everything/server.c
7454 (TestFactory_getBasicServerIOR): impl.
7455
74562001-07-13 Michael Meeks <michael@ximian.com>
7457
7458 * src/orb/poa/poa.c (ORBit_small_handle_request):
7459 re-indent to make legible.
7460
7461 * src/orb/orb-core/corba-object.c (CORBA_Object_is_a):
7462 fix invocation code.
7463 (ORBit_impl_CORBA_Object_is_a): fix indirection.
7464 Thanks to Martin Baulig for reporting repo_id matching
7465 bug.
7466
7467 * test/everything/client.c (testFixedLengthStruct):
7468 add CORBA_Object_is_a test.
7469
7470 * src/orb/orb-core/allocators.c
7471 (ORBit_freekids_via_TypeCode_T): kill broken assumption
7472 that align == length !
7473
7474 * src/orb/orb-core/corba-typecode.c
7475 (ORBit_tk_to_name): impl.
7476
7477 * test/test-dynany.c: portability fix for CHECK_OK.
7478
74792001-07-12 Darin Adler <darin@bentspoon.com>
7480
7481 * include/orbit/poa/Makefile.am: Install poa-basics.h.
7482
74832001-07-12 Mark McLoughlin <mark@skynet.ie>
7484
7485 * src/idl-compiler/orbit-idl-c-common.c,
7486 src/orb/orb-core/orbit-interface.idl,
7487 (IInterface)change name string to typcode.
7488
7489 * src/orb/orb-core/corba-object.c,
7490 src/orb/orb-core/orb-core-export.h,
7491 src/orb/poa/poa.c: re-jig CORBA_Object_is_a
7492 using the IInterface data.
7493
74942001-07-12 Michael Meeks <michael@ximian.com>
7495
7496 * src/orb/orb-core/corba-object.c (ORBit_register_objref):
7497 assert profile_list != NULL.
7498
7499 * src/orb/poa/poa.c (ORBit_POA_object_to_okey): add precondition.
7500
7501 * src/orb/orb-core/iop-profiles.c
7502 (IOP_TAG_ORBIT_SPECIFIC_marshal): use the local oki if we have it.
7503 (IOP_TAG_INTERNET_IOP_marshal): use obj->oki where appropriate.
7504 (IOP_generate_profiles): only set obj->oki if we have a pobj.
7505
7506 * NB. obj->oki == NULL for objects passed in remotely, need
7507 to bear this in mind when re-marshaling the profiles.
7508
75092001-07-12 Mark McLoughlin <mark@skynet.ie>
7510
7511 * include/orbit/orb-core/corba-object.h,
7512 src/idl-compiler/orbit-idl-c-common.c,
7513 src/idl-compiler/orbit-idl-c-skels.c,
7514 src/orb/orb-core/corba-object.c,
7515 src/orb/poa/orbit-poa.h,
7516 src/orb/poa/poa.c:
7517 add IInterface data for CORBA_object.
7518
7519 * include/orbit/orbit-types.h,
7520 include/orbit/poa/poa-types.h,
7521 include/orbit/poa/poa-basics.h: split out
7522 some of poa-types.h into new poa-basics.h. Include
7523 poa-basics.h from orbit-types.h.
7524
7525 * include/orbit/orb-core/corba-object-type.h,
7526 include/orbit/poa/poa-types.h,
7527 include/orbit/poa/poa.h,
7528 src/orb/orb-core/orbit-small.c,
7529 src/orb/poa/orbit-poa-export.h:
7530 make ORBit_POAObject a pointer to ORBit_POAObject_type
7531 instead of a struct.
7532
75332001-07-12 Mark McLoughlin <mark@skynet.ie>
7534
7535 * include/orbit/orb-core/orbit-small.h,
7536 include/orbit/poa/poa-types.h,
7537 src/idl-compiler/orbit-idl-c-backend.h,
7538 src/idl-compiler/orbit-idl-c-common.c,
7539 src/idl-compiler/orbit-idl-c-demarshal.c,
7540 src/idl-compiler/orbit-idl-c-headers.c,
7541 src/idl-compiler/orbit-idl-c-marshal.c,
7542 src/idl-compiler/orbit-idl-c-skels.c,
7543 src/idl-compiler/orbit-idl-c-stubs.c,
7544 src/idl-compiler/orbit-idl-c-utils.c,
7545 src/idl-compiler/orbit-idl-main.c,
7546 src/orb/dynamic/Makefile.am,
7547 src/orb/orb-core/orbit-small.c,
7548 src/orb/poa/Makefile.am,
7549 src/orb/poa/poa.c: put all the 'non-small'
7550 code back, at Elliot's behest.
7551
7552 Note: The --noidata option remains and the PIDL is
7553 still no longer being compiled with --oldstyle.
7554
7555 * configure.in: bump up ORBIT_SERIAL.
7556
75572001-07-11 Mark McLoughlin <mark@skynet.ie>
7558
7559 * src/idl-compiler/orbit-idl-c-headers.c
7560 (ch_type_alloc_and_tc): do the allocbuf thing.
7561
7562 * src/orb/dynamic/dynany.c,
7563 src/orb/poa/poa.c,
7564 test/poa/poatest-exception.h: kill temporary
7565 hacks for the above.
7566
75672001-07-11 Mark McLoughlin <mark@skynet.ie>
7568
7569 * src/idl-compiler/orbit-idl-c-backend.h,
7570 src/idl-compiler/orbit-idl-c-common.c,
7571 src/idl-compiler/orbit-idl-c-demarshal.c,
7572 src/idl-compiler/orbit-idl-c-headers.c,
7573 src/idl-compiler/orbit-idl-c-marshal.c,
7574 src/idl-compiler/orbit-idl-c-skels.c,
7575 src/idl-compiler/orbit-idl-c-stubs.c,
7576 src/idl-compiler/orbit-idl-c-utils.c,
7577 src/idl-compiler/orbit-idl-main.c,
7578 src/idl-compiler/orbit-idl3-types.h: chop, chop.
7579 Remove all non-small code. Kill orbit-idl-c-demarshal.c
7580 and orbit-idl-c-marshal.c. Add --noidata option.
7581
7582 * include/orbit/orb-core/orbit-small.h,
7583 include/orbit/poa/poa-types.h,
7584 src/orb/orb-core/orbit-small.c,
7585 src/orb/poa/poa.c: remove all non-small
7586 code.
7587
7588 * src/orb/dynamic/dynany.c,
7589 src/orb/poa/poa.c,
7590 test/poa/poatest-exception.h: temp hacks
7591 to get around fact that orbit-idl is not
7592 generating aliased sequence allocbufs.
7593
7594 * include/orbit/orb-core/Makefile.am,
7595 src/orb/dynamic/Makefile.am,
7596 src/orb/include/Makefile.am,
7597 src/orb/orb-core/Makefile.am,
7598 src/orb/poa/Makefile.am: kill --oldstyle,
7599 use --noidata.
7600
7601 * test/poa/Makefile.am: depend on orbit-idl.
7602
7603 * configure.in: bump up ORBIT_SERIAL.
7604
76052001-07-11 Michael Meeks <michael@ximian.com>
7606
7607 * src/orb/orb-core/corba-object.c (CORBA_Object__freekids):
7608 fix brokenness.
7609
7610 * src/orb/orb-core/corba-typecode.c (ORBit_TypeCode_free_fn):
7611 ditto.
7612
76132001-07-11 Michael Meeks <michael@ximian.com>
7614
7615 * src/orb/poa/poa.c (ORBit_POA_free_fn),
7616 (ORBit_POACurrent_free_fn): fix deadlocks
7617
7618 * src/orb/poa/clean-poa.c (ORBit_POACurrent_free_fn),
7619 (ORBit_POA_free_fn): ditto.
7620
7621 * src/orb/orb-core/corba-typecode.c (ORBit_TypeCode_free_fn):
7622 kill deadlocks.
7623
7624 * src/orb/dynamic/dynany.c (DynamicAny_DynAny_release_fn):
7625 use ORBit_free_T to stop deadlock & don't lock on invalidate.
7626 (dynany_invalidate): add 'lock' argument.
7627 update all references.
7628
7629 * src/orb/orb-core/allocators.c (ORBit_free): take
7630 the RootObject_lifecycle_lock, and call
7631 (ORBit_free_T): split out.
7632 (ORBit_freekids_via_TypeCode): split out to
7633 (ORBit_freekids_via_TypeCode_T): here & kill deadlock plague.
7634
7635 * src/orb/orb-core/corba-object.c
7636 (CORBA_Object_release_cb): use the non-locking
7637 release on obj->pobj.
7638
76392001-07-10 Michael Meeks <michael@ximian.com>
7640
7641 * configure.in: Bump version to 2.3.91
7642
76432001-07-10 Peter Williams <peter@beta.newton.cx>
7644
7645 * test/poa/Makefile.am ($(POATEST_IDLOUT)): use $<
7646 instead of poatest.idl for when srcdir != builddir.
7647
76482001-07-10 Mark McLoughlin <mark@skynet.ie>
7649
7650 * include/orbit/poa/poa.h(ORBit_POAInvocation):
7651 killed object_id and doUnuse members.
7652
7653 * include/orbit/poa/portableserver-poa-type.h
7654 (PortableServer_POA): replaced default_pobj
7655 member with default_servant;
7656
7657 * src/orb/poa/poa.c
7658 (ORBit_POA_ServantManager_{un}use_servant): pass
7659 a pobj instead of an iframe.
7660 (ORBit_handle_request): split in two. Now
7661 ORBit_small_handle_request can be used for local
7662 calls and original function is a wrapper for
7663 remote calls.
7664 Also various default_servant fixes.
7665
7666 * src/orb/poa/orbit-poa-export.h: introduce
7667 ORBit_small_handle_request.
7668
7669 * src/orb/orb-core/orbit-small.c
7670 (ORBit_small_invoke_stub): call
7671 ORBit_small_handle_request.
7672
7673 * test/poa/poatest-basic09.c,
7674 test/poa/poatest-basic10.c: commit default
7675 servant tests.
7676
76772001-07-09 Mark McLoughlin <mark@skynet.ie>
7678
7679 * src/orb/orb-core/corba-object.c,
7680 src/orb/poa/poa.c: fixed some extreme
7681 braindeadness on my part.
7682
76832001-07-07 Mark McLoughlin <mark@skynet.ie>
7684
7685 * include/orbit/orb-core/corba-object-type.h,
7686 src/orb/orb-core/Makefile.am,
7687 src/orb/orb-core/corba-object.c,
7688 src/orb/orb-core/orb-core-private.h,
7689 src/orb/orb-core/iop-profiles.c,
7690 src/orb/orb-core/iop-profiles.h: split off all the
7691 profiles stuff on its own.
7692
76932001-07-08 Michael Meeks <michael@ximian.com>
7694
7695 * src/orb/orb-core/orbit-object.c
7696 (ORBit_RootObject_release): split out core to:
7697 (ORBit_RootObject_release_T): here.
7698
7699 * src/orb/orb-core/corba-object.c
7700 (CORBA_Object_release_cb): use the non-locking release.
7701
7702 * src/orb/poa/poa.c (remove_cb): return FALSE instead of
7703 nothing.
7704 (ORBit_POAObject_release_cb): use non-locking release.
7705
77062001-07-07 Mark McLoughlin <mark@skynet.ie>
7707
7708 * include/orbit/orb-core/corba-object.h,
7709 src/orb/orb-core/corba-object.c,
7710 src/orb/poa/poa.c: sharing is caring.
7711 Make the POA generated references share their
7712 profile_lists.
7713
77142001-07-07 Mark McLoughlin <mark@skynet.ie>
7715
7716 * src/orb/orb-core/corba-object.c: don't carry around
7717 multiple copies of the object key. Only generate it when
7718 it the ref is to be exported.
7719
7720 * src/orb/poa/orbit-poa-export.h,
7721 src/orb/poa/poa.c: rename ORBit_POA_oid_to_okey to
7722 ORBit_POA_object_to_okey and export.
7723
77242001-07-07 Mark McLoughlin <mark@skynet.ie>
7725
7726 * src/orb/orb-core/corba-object.c,
7727 src/orb/orb-core/corba-orb.c: only opening listening
7728 sockets when externalising a reference.
7729
77302001-07-06 Mark McLoughlin <mark@skynet.ie>
7731
7732 * include/orbit/orb-core/corba-object.h,
7733 include/orbit/poa/poa-types.h,
7734 src/orb/orb-core/corba-object.c,
7735 src/orb/poa/orbit-poa.h,
7736 src/orb/poa/poa.c: make an object reference's
7737 profile_list only be generated when it is about to
7738 be externalised.
7739
77402001-07-04 Michael Meeks <michael@ximian.com>
7741
7742 * src/orb/orb-core/orbit-small.c
7743 (ORBit_small_invoke_stub): add ORBIT_STUB_PostCall/PreCall
7744 ref counting checks.
7745
77462001-07-05 Mark McLoughlin <mark@skynet.ie>
7747
7748 * include/orbit/orb-core/corba-object-type.h,
7749 include/orbit/poa/poa-types.h,
7750 src/orb/orb-core/corba-object.c,
7751 src/orb/orb-core/orbit-small.c,
7752 src/orb/poa/poa.c,
7753 src/services/name/orbit-name-server.c: make every reference
7754 created by the POA have a POAOjbect associated with it.
7755 s/bypass_obj/pobj/.
7756
77572001-07-05 Mark McLoughlin <mark@skynet.ie>
7758
7759 * test/poa/poatest-basic04.c,
7760 test/poa/poatest-basic05.c,
7761 test/poa/poatest-basic06.c,
7762 test/poa/poatest-basic07.c,
7763 test/poa/poatest-basic08.c: use
7764 CORBA_PolicyList_allocbuf instead of g_new0.
7765
77662001-07-04 Mark McLoughlin <mark@skynet.ie>
7767
7768 * configure.in: updated glib check.
7769
77702001-07-04 Mark McLoughlin <mark@skynet.ie>
7771
7772 * src/orb/orb-core/orbit-interface.idl,
7773 src/idl-compiler/orbit-idl-c-common.c,
7774 src/idl-compiler/orbit-idl-c-headers.c:
7775 added inheritance data to ORBit::IInterface.
7776
77772001-07-03 Michael Meeks <michael@ximian.com>
7778
7779 * src/orb/orbit-init.c (ORBit_init_internals): seed
7780 the random number generator once, properly.
7781
7782 * src/orb/GIOP/giop-connection.c s/shutdown/dispose/
7783
7784 * include/orbit/util/basic_types.h: include
7785 glib/gunicode.h Mark needs to update his glib :-)
7786
77872001-06-29 Michael Meeks <michael@ximian.com>
7788
7789 * src/orb/orb-core/corba-object.c
7790 (IOP_TAG_INTERNET_IOP_demarshal): NULL components if
7791 version is !> GIOP_1_0.
7792
7793 * src/idl-compiler/orbit-idl-c-utils.c
7794 (orbit_cbe_get_typespec_str): return CORBA_wstring not
7795 CORBA_wchar *.
7796
7797 * include/orbit/util/basic_types.h: add CORBA_wstring.
7798
77992001-06-29 Mark McLoughlin <mark@skynet.ie>
7800
7801 * include/orbit/util/basic_types.h: include gunicode.h,
7802 not glib/gunicode.h.
7803
78042001-06-29 Mark McLoughlin <mark@skynet.ie>
7805
7806 * src/orb/poa/poa.c: fixed a couple of porblems
7807 with yesterday's commit.
7808
78092001-06-28 Mark McLoughlin <mark@skynet.ie>
7810
7811 * include/orbit/poa/poa-types.h,
7812 src/orb/orbit-init.c,
7813 src/orb/orb-core/corba-object.c,
7814 src/orb/orb-core/corba-orb.c,
7815 src/orb/poa/orbit-poa.h,
7816 src/orb/poa/poa.c: sorted out the POA and
7817 POAObject ref counting mess - I hope ;)
7818
7819 * src/orb/poa/poa-servants.c: remove assertions -
7820 not valid in MULT_ID case.
7821
7822 * test/poa/poatest-basic-shell.c,
7823 test/poa/poatest-basic04.c,
7824 test/poa/poatest-basic05.c,
7825 test/poa/poatest-basic06.c,
7826 test/poa/poatest-basic07.c,
7827 test/poa/poatest-basic08.c: release more refs,
7828 and invoke orb->destroy and orb->shutdown.
7829
78302001-06-28 Michael Meeks <michael@ximian.com>
7831
7832 * include/orbit/util/basic_types.h: include glib/gunicode.h,
7833 we require HEAD glib.
7834
78352001-06-26 Mark McLoughlin <mark@skynet.ie>
7836
7837 * src/orb/orb-core/corba-context.c,
7838 src/orb/poa/poa.c: kill deprecated
7839 g_hash_table_(freeze|thaw) functions.
7840
78412001-06-26 Mark McLoughlin <mark@skynet.ie>
7842
7843 * include/orbit/poa/poa-types.h,
7844 src/idl-compiler/orbit-idl-c-skels.c :
7845 kill POAObject members use_count, death_callback
7846 and user_data. Relics from an old hack from ORBit0
7847 thats not used anymore.
7848
7849 * src/orb/poa/poa.c: add a few TODO items.
7850
78512001-06-26 Michael Meeks <michael@ximian.com>
7852
7853 * src/idl-compiler/orbit-idl-c-skels.c
7854 (cbe_skel_interface_print_relayer): chop specious overall idx
7855 calculation.
7856 (cbe_skel_interface_print_relayers): calc. m_data idx per
7857 interface so inheritance works, sigh.
7858
7859 * test/everything/everything.idl: inherit StructServer
7860 from BasicServer to regression test method layout under
7861 inheritance.
7862
7863 * test/everything/structServer.c (StructServer_vepv): upd.
7864
78652001-06-26 Michael Meeks <michael@ximian.com>
7866
7867 * src/orb/GIOP/giop-connection.c
7868 (giop_connection_handle_input): unuse the incoming
7869 message off the cnx list as we handle it.
7870
7871 * src/orb/orb-core/corba-orb.c
7872 (CORBA_ORB_run): just do a g_main_loop_run
7873
78742001-06-25 Mark McLoughlin <mark@skynet.ie>
7875
7876 * test/poa/.cvsignore: added.
7877
78782001-06-25 Mark McLoughlin <mark@skynet.ie>
7879
7880 * test/poa/*: import.
7881
7882 * configure.in, test/Makefile.am: add poa.
7883
78842001-06-25 Mark McLoughlin <mark@skynet.ie>
7885
7886 * include/orbit/poa/poa-types.h,
7887 src/idl-compiler/orbit-idl-c-skels.c,
7888 src/orb/poa/poa-servants.c,
7889 src/orb/poa/poa.c : make MULT_ID work by having a list of
7890 POAObjects in the servant's '_private' member.
7891
78922001-06-25 Mark McLoughlin <mark@skynet.ie>
7893
7894 * include/orbit/poa/poa.h: add string_to_ObjectId etc.
7895
7896 * src/orb/poa/poa.c: make root POA have non default
7897 IMPLICIT_ACTIVATION policy.
7898
78992001-06-25 Michael Meeks <michael@ximian.com>
7900
7901 * src/orb/dynamic/dynany.c
7902 (CORBA_sequence_DynamicAny_NameValuePair_allocbuf),
7903 (CORBA_sequence_DynamicAny_NameValuePair__alloc): impl.
7904
79052001-06-25 Martin Baulig <baulig@suse.de>
7906
7907 * src/orb/dynamic/dynany.c
7908 (DynamicAny_DynStruct_set_members),
7909 (DynamicAny_DynStruct_get_members): copy from
7910 ORBit-martin-forked.
7911
79122001-06-25 Michael Meeks <michael@ximian.com>
7913
7914 * test/echo-server.c (main): remove hack.
7915
7916 * src/orb/orb-core/corba-orb.c (idle_fn),
7917 (ORBit_ORB_idle_init): kill ugly hack.
7918
79192001-06-25 Martin Baulig <baulig@suse.de>
7920
7921 * src/orb/orb-core/corba-object.c: add include.
7922
7923 * src/orb/GIOP/giop-connection.c
7924 (giop_connection_handle_input): handle request as
7925 it finished coming in.
7926
79272001-06-23 Martin Baulig <baulig@suse.de>
7928
7929 * configure.in: Don't output the .pc files twice.
7930
7931 * src/idl-compiler/Makefile.am: s/libIDL.la/libIDL-2.la/g.
7932
7933 * test/inhibit/Makefile.am: Removed $(IDLOUT), test_any_built
7934 and $(TEST_ANY_IDLOUT) so this actually works.
7935
79362001-06-19 Michael Meeks <michael@ximian.com>
7937
7938 * src/idl-compiler/orbit-idl-c-stubs.c (cs_small_output_stub):
7939 output pre / post call code even for small stubs / skels.
7940
7941 * include/orbit/poa/poa-types.h: remove redundant type defines.
7942
79432001-06-19 Michael Meeks <michael@ximian.com>
7944
7945 * src/orb/util/genrand.c (genrand_unix): if ORBIT_PURIFY don't
7946 use bits of uninitialized stack.
7947
79482001-06-18 Erik Walthinsen <omega@temple-baptist.com>
7949
7950 * ORBit-2.0.pc.in, ORBit-CosNaming-2.0.pc.in: brought in from
7951 ORBit-martin-forked.
7952
7953 * .cvsignore, Makefile.am, configure.in: added necessary lines
7954 for above .pc files to be created/installed.
7955
79562001-06-19 Mark McLoughlin <mark@skynet.ie>
7957
7958 * src/orb/include/Makefile.am: use --oldstyle
7959
7960 * src/orb/dynamic/Makefile.am: fix build.
7961
7962 * src/orb/poa/Makefile.am: fix build.
7963
7964 * test/Makefile.am: Fix build, kill -lefence.
7965
79662001-05-30 Michael Meeks <michael@ximian.com>
7967
7968 * src/orb/orb-core/Makefile.am: simplify makefile ugliness.
7969
7970 * test/Makefile.am (echo_built): fix recursive build
7971 issue.
7972
79732001-05-30 Michael Meeks <michael@ximian.com>
7974
7975 * src/orb/GIOP/giop-connection.c (giop_connection_initiate):
7976 only ref the connection if we didn't just destroy it.
7977
79782001-05-30 Michael Meeks <michael@ximian.com>
7979
7980 * src/orb/orb-core/orbit-small.c (ORBit_small_invoke_stub):
7981 don't do an alloca (0), just use &obj - this points to
7982 the stack in a safer, quicker and cleaner way.
7983
79842001-05-30 Michael Meeks <michael@ximian.com>
7985
7986 * src/orb/dynamic/dynany.c (dynany_sequence_realloc_to): only
7987 copy old_len elements from the old buffer.
7988
79892001-05-30 Michael Meeks <michael@ximian.com>
7990
7991 * src/orb/dynamic/dynany.c: Port from ORBit-stable.
7992
7993 * src/orb/orb-core/allocators.c (ORBit_free): use
7994 ORBit_free internaly not CORBA_free to clean stack traces.
7995
7996 * src/orb/orb-core/corba-any.c (CORBA_any__freekids): ditto
7997 & accelerate.
7998
7999 * src/orb/orb-core/corba-orb.c
8000 (CORBA_ORB_set_initial_reference): fix g_hash_table
8001 manipulation leak / bug.
8002
80032001-05-29 Michael Meeks <michael@ximian.com>
8004
8005 * src/orb/dynamic/Makefile.am: install dynamic-defs.h
8006 in the right place ...
8007
8008 * src/orb/orb-core/corba-typecode.c: add long_double TC def.
8009
8010 * src/idl-compiler/orbit-idl-c-headers.c
8011 (ch_type_alloc_and_tc): fixup emmission of __allocbuf as
8012 well as __alloc for sequences.
8013
8014 * include/orbit/orb-core/corba-typecode.h: declare.
8015 TC_CORBA_long_double_struct and TC_CORBA_wstring_struct.
8016
8017 * src/orb/orb-core/corba-any.c (CORBA_any__copy): constipate.
8018
8019 * include/orbit/dynamic/dynamic.h: upd.
8020
8021 * include/orbit/orbit.h: add dynamic.h
8022
8023 * src/orb/dynamic/Makefile.am: add dynany.c
8024
80252001-05-25 Michael Meeks <michael@ximian.com>
8026
8027 * src/orb/poa/Makefile.am (runidl_poa): install poa-defs into
8028 the correct directory, fixup the include brokenness.
8029 (POA_IDLOUT): add poa-defs.h - doh.
8030
8031 * src/idl-compiler/orbit-idl-c-headers.c (ch_output_interface):
8032 output TC_ #defines even for PIDL types.
8033
8034 * src/idl-compiler/orbit-idl-c-common.c
8035 (build_marshal_funcs): only output marshalers if we
8036 need to.
8037 (cc_output_tc_walker): Output typecode information for
8038 PIDL types - why not, might help automated language bindings
8039 to the PIDL.
8040
80412001-05-25 Michael Meeks <michael@ximian.com>
8042
8043 * src/orb/orb-core/orbit-small.c (dump): print in-buffer
8044 offsets as well as the data.
8045
8046 * src/orb/orb-core/corba-typecode.c (tc_dec_tk_except):
8047 decode sub_parts sub-types not length.
8048 (tc_enc_tk_except): ditto for encode.
8049 (tc_enc): use the buffer length in the message header
8050 instead of the current_idx, since we now marshal straight
8051 into a single buffer without the encaps cruft.
8052 (tc_dec): fix the recursive arithmetic, make it remember
8053 to duplicate the recursive typecode references.
8054
8055 * src/orb/orb-core/corba-any.c (ORBit_demarshal_value):
8056 duplicate the correct pointer.
8057
8058 * src/orb/orb-core/orbit-small.c (ORBit_small_alloc): re-write
8059 to memset 0 the returned memory.
8060
8061 * src/orb/orb-core/corba-any.c (CORBA_any__freekids): release
8062 the typecode pointer as well.
8063
8064 * src/idl-compiler/orbit-idl-c-common.c (cc_alloc_prep): pass
8065 rinfo around.
8066
80672001-05-25 Michael Meeks <michael@ximian.com>
8068
8069 * src/orb/orb-core/corba-context.c (CORBA_Context_set_one_value):
8070 remove the hash table value, so we don't screw up the key allocation.
8071
80722001-05-24 Michael Meeks <michael@ximian.com>
8073
8074 * src/orb/GIOP/giop-connection.c (giop_connection_initiate):
8075 reference the connection before returning it, if it wasn't
8076 looked up in the list.
8077 (giop_connection_remove_by_orb): fix serious brokenness.
8078 (giop_connection_close): publicise.
8079 (giop_connection_shutdown): remove the connection from the
8080 connection list.
8081 (giop_connection_unref): remove last unref sillies.
8082
8083 * src/orb/orb-core/corba-object.c (g_CORBA_Object_equal): uglify,
8084 we need to be able to scan for MULTIPLE_COMPONENTS profiles in
8085 order to do the GIOP profile comparison (get_mci): impl helper.
8086 (IOP_Profile_equal): similarly uglify.
8087 (CORBA_Object_release_cb): close the connection and
8088 unref it.
8089
8090 * src/orb/poa/poa.c (ORBit_POA_oid_to_ref): set the profile_type
8091 on the iiop profile.
8092
8093 * src/orb/orb-core/corba-object.c (ORBit_objref_new): actualy
8094 insert new object references into the objrefs hash.
8095 (IOP_Profile_dump): impl.
8096
80972001-05-24 Michael Meeks <michael@ximian.com>
8098
8099 * src/orb/orb-core/corba-object.c (CORBA_Object_release_cb):
8100 only unref the connection if it is valid.
8101 (IOP_Profile_equal): re-order compares to accelerate & warn
8102 on unknown profile.
8103
8104 * src/orb/GIOP/giop-connection.c (giop_connection_list_add):
8105 re-privatize.
8106
8107 * src/orb/GIOP/giop-server.c (giop_server_handle_new_connection):
8108 remove - was broken.
8109
8110 * src/orb/GIOP/giop-recv-buffer.c (giop_recv_buffer_data_read):
8111 kill warning.
8112
8113 * src/orb/GIOP/giop-connection.c (giop_connection_handle_input):
8114 if we return FALSE set the source tag to 0, since on return it
8115 is removed.
8116 (giop_connection_real_state_changed): add some source management
8117 assertions.
8118 (giop_connection_destroy): rename to
8119 (giop_connection_shutdown): this.
8120
81212001-05-20 Michael Meeks <michael@ximian.com>
8122
8123 * src/orb/orb-core/corba-object.c
8124 (CORBA_Object_release_cb): remove bypass_obj unref, hmm.
8125
81262001-05-20 Michael Meeks <michael@ximian.com>
8127
8128 * src/orb/orb-core/corba-orb.c
8129 (ORBit_ORB_idle_init, idle_fn): FIXME these suck.
8130
8131 * src/orb/GIOP/giop-recv-buffer.c
8132 (giop_recv_buffer_use_noblock): impl.
8133
81342001-05-19 Michael Meeks <michael@ximian.com>
8135
8136 * src/idl-compiler/orbit-idl-c-headers.c
8137 (orbit_idl_output_c_headers): re-order.
8138
81392001-05-19 Michael Meeks <michael@ximian.com>
8140
8141 * src/orb/poa/poa.c (ORBit_POA_free_fn): free the poa's
8142 name and key buffer.
8143
8144 * src/orb/orb-core/corba-orb.c (CORBA_ORB_release_fn):
8145 free the initial refs hash.
8146
81472001-05-18 Martin Baulig <baulig@suse.de>
8148
8149 * ORBit-2.0.pc.in (Cflags): Added `-DORBIT2=1'.
8150
81512001-05-18 Martin Baulig <baulig@suse.de>
8152
8153 * ORBit-2.0.pc.in: Use `ORBit-2.0' as package name.
8154 * ORBit-CosNaming-2.0.pc.in: Use `ORBit-CosNaming-2.0' as name.
8155
8156 * Makefile.am: Install the .pc files.
8157
8158 * src/orb/orb-core/Makefile.am: Added explicit dependency
8159 `$(top_builddir)/include/orbit/orb-core/orbit-interface.h: runidl_iface'.
8160
81612001-05-19 Michael Meeks <michael@ximian.com>
8162
8163 * src/orb/orb-core/corba-any.c (ORBit_demarshal_value):
8164 set _release = TRUE for sequences.
8165
81662001-05-18 Michael Meeks <michael@ximian.com>
8167
8168 * src/orb/orb-core/orbit-small.c
8169 (ORBit_small_invoke_poa): fix more stupid leaks.
8170
81712001-05-18 Michael Meeks <michael@ximian.com>
8172
8173 * src/orb/orb-core/corba-object.c
8174 (IOP_TAG_ORBIT_SPECIFIC_demarshal): allocate the correct
8175 buffer size for the sock_path.
8176 (IOP_Profile_equal): fix bug in GIOP compare, and compare
8177 on host for IOP, impl for ORBIT_SPECIFIC and re-order to
8178 accelerate.
8179 (IOP_ObjectKey_equal): split out.
8180 (IOP_TAG_ORBIT_SPECIFIC_free): don't double free the profile
8181 itself.
8182
8183 * src/orb/poa/poa.c (ORBit_POA_oid_to_ref): put the osi
8184 profile on the profile list, and do this later, to ensure
8185 that the ORBit specific profile is later than the GIOP
8186 profile.
8187
8188 * test/everything/server.c (create_object): free the object id...
8189
8190 * src/orb/orb-core/orbit-small.c (ORBit_small_invoke_poa): fix misc.
8191 leaks.
8192
8193 * src/orb/orb-core/corba-context.c (CORBA_Context_get_values): remove
8194 redundant call to create_list.
8195
81962001-05-18 Michael Meeks <michael@ximian.com>
8197
8198 * src/orb/GIOP/giop-server.c (giop_server_handle_new_connection): impl.
8199 (giop_server_class_init): hook it up.
8200
8201 * src/orb/orb-core/corba-orb.c (CORBA_ORB_run):
8202 unuse reliably here.
8203
8204 * src/orb/poa/poa.c (ORBit_handle_request):
8205 remove the unuse.
8206
8207 * src/orb/orb-core/corba-context.c (CORBA_Context_new): fix leak.
8208
82092001-05-18 Michael Meeks <michael@ximian.com>
8210
8211 * src/orb/poa/poa.c (PortableServer_POA_find_POA): bugfix.
8212 (ORBit_POA_is_inuse):
8213
8214 * src/orb/orb-core/corba-orb.c (CORBA_ORB_init): duplicate
8215 the ORB before returning it.
8216
8217 * src/orb/orb-core/corba-object.c (ORBit_delete_profiles): upd.
8218 (ORBit_handle_location_forward, ORBit_demarshal_IOR): upd.
8219 (CORBA_Object_release_cb): finish.
8220 (ORBit_objref_find): fix leak.
8221
82222001-05-18 Michael Meeks <michael@ximian.com>
8223
8224 * src/orb/orb-core/corba-typecode.c (tc_dec): remove broken
8225 ref set to 1.
8226
82272001-05-17 Michael Meeks <michael@ximian.com>
8228
8229 * src/orb/orb-core/corba-object.c
8230 (ORBit_profile_free): actualy free the sub-profiles.
8231 (IOP_TAG_INTERNET_IOP_free, IOP_TAG_GENERIC_IOP_free),
8232 (IOP_TAG_MULTIPLE_COMPONENTS_free, IOP_TAG_ORBIT_SPECIFIC_free):
8233 impl.
8234
8235 * src/orb/GIOP/giop-recv-buffer.c
8236 (giop_IOP_ServiceContextList_free): impl.
8237 (giop_recv_buffer_unuse): use it.
8238
8239 * src/orb/orb-core/corba-typecode.c (tc_dec): unuse
8240 the encapsulated buffer after creation.
8241
82422001-05-17 Michael Meeks <michael@ximian.com>
8243
8244 * src/orb/orb-core/corba-context.c (ORBit_Context_demarshal):
8245 move buf->cur over the length to point at the value.
8246
8247 * src/orb/orb-core/corba-orb.c (CORBA_ORB_create_list): impl.
8248
8249 * src/orb/orb-core/corba-typecode.c (tc_dec_tk_sequence),
8250 (tc_dec_tk_alias, tc_dec_tk_array): set sub_parts to 1.
8251 (tc_dec): set ref count to 1.
8252
8253 * src/orb/orb-core/corba-any.c (ORBit_marshal_value),
8254 (ORBit_demarshal_value): Make TypeCode indirection consistant
8255 with CORBA_Object indirection [ and in fact all other types ] -
8256 they are both Pseudo-objects.
8257
8258 * src/orb/orb-core/corba-typecode.c (tc_dec): hack.
8259
8260 * src/orb/orb-core/corba-env.c (ORBit_send_user_exception): fixup.
8261
82622001-05-16 Michael Meeks <michael@ximian.com>
8263
8264 * src/orb/orb-core/orbit-small.c (ORBit_small_invoke_skel): impl.
8265
82662001-05-16 Michael Meeks <michael@ximian.com>
8267
8268 * src/orb/orb-core/corba-object.c (CORBA_Object_non_existent):
8269 reverse polarity.
8270
8271 * src/orb/orb-core/orbit-small.c (ORBit_small_allocbuf):
8272 fix silly allocbuf bug.
8273
8274 * test/everything/client.c: #include yet another
8275 .c file - yuck.
8276
8277 * test/everything/server.c: kugly #ifdef hacks.
8278
82792001-05-14 Michael Meeks <michael@ximian.com>
8280
8281 * src/orb/orb-core/corba-object.c
8282 (CORBA_Object_non_existent): fix.
8283
8284 * configure.in: add pkgconfig bits.
8285
82862001-05-12 Michael Meeks <michael@ximian.com>
8287
8288 * src/orb/orb-core/orbit-small.c: impl. context code.
8289
82902001-05-11 Michael Meeks <michael@ximian.com>
8291
8292 * src/orb/orb-core/corba-any.c (ORBit_demarshal_value):
8293 don't try to de-marshal a _maximum that isn't there.
8294
82952001-05-10 Michael Meeks <michael@ximian.com>
8296
8297 * src/idl-compiler/orbit-idl-c-utils.c
8298 (orbit_cbe_write_param_typespec_str): split from
8299 (orbit_cbe_write_param_typespec_raw): here.
8300 (cs_small_unflatten_ref, cbe_small_unflatten_args): impl.
8301
8302 * include/orbit/poa/poa-types.h:
8303 add ORBit_small_impl_finder, add ORBitSmallSkeleton.
8304
83052001-05-09 Michael Meeks <michael@ximian.com>
8306
8307 * test/everything/Makefile.am: remove ugly hack.
8308
83092001-05-08 Michael Meeks <michael@ximian.com>
8310
8311 * src/idl-compiler/orbit-idl-c-skels.c (ck_output_small_skel):
8312 impl.
8313
8314 * src/idl-compiler/orbit-idl-c-utils.c
8315 (cs_small_flatten_ref, cbe_small_output_args): move here
8316 from orbit-idl-c-stubs.c
8317
8318 * src/idl-compiler/orbit-idl-c-skels.c
8319 (cbe_skel_interface_print_relayers),
8320 (cbe_skel_interface_print_relayer): make small variants
8321 like to change sig to have const char *method, but needs
8322 poa work... perhaps expand the PortableServer_ClassInfo
8323 struct with a more sensible option ? / put it on the
8324 object.
8325
8326 * src/idl-compiler/orbit-idl-c-stubs.c
8327 (orbit_cbe_param_printptrs): unused - kill.
8328
83292001-05-05 Michael Meeks <michael@ximian.com>
8330
8331 * src/idl-compiler/orbit-idl-c-headers.c
8332 (orbit_idl_output_c_headers): upd.
8333 (ch_output_itypes, ch_output_itype): impl.
8334
8335 * src/idl-compiler/orbit-idl-c-stubs.c
8336 (orbit_idl_output_c_stubs): upd.
8337 (cs_small_output_stubs, cs_small_flatten_ref),
8338 (cs_small_output_args, cs_small_output_small_stub): impl.
8339
8340 * src/orb/orb-core/corba-any.c (ORBit_demarshal_value),
8341 (ORBit_marshal_value): publicise.
8342
8343 * src/idl-compiler/orbit-idl-c-common.c
8344 (cc_small_output_itypes, cc_small_output_itype): add.
8345
83462001-05-04 Michael Meeks <michael@ximian.com>
8347
8348 * include/orbit/orb-core/allocators.h
8349 (ORBit_freekids_via_TypeCode): publicize.
8350
8351 * src/idl-compiler/orbit-idl-c-common.c: don't dump any
8352 allocs if we are in small mode.
8353
8354 * src/idl-compiler/orbit-idl-c-utils.c
8355 (orbit_cbe_get_typecode_name): add.
8356
8357 * include/orbit/orb-core/orb-core.h: add orbit-small.h
8358
8359 * src/idl-compiler/orbit-idl-c-headers.c (ch_output_type_enum):
8360 (ch_output_interface, ch_output_type_dcl, ch_output_type_struct),
8361 (ch_output_type_union, ch_prep_fixed, ch_prep_sequence): pass
8362 rinfo around so we can get at the 'small' flag.
8363 (ch_prep): upd.
8364
8365 * src/idl-compiler/orbit-idl-main.c (main): add arg '--small'
8366
83672001-05-04 Michael Meeks <michael@ximian.com>
8368
8369 * test/everything/*: import & port.
8370
8371 * src/orb/orb-core/corba-any.c (ORBit_any_equivalent),
8372 copy straight from ORBit stable - no mods.
8373 (ORBit_value_equivalent): ditto + add scratch to union_tag
8374 handling.
8375 (ORBit_copy_value_core): fix bug in CORBA_tk_union handling
8376
8377 * src/orb/orb-core/corba-typecode.c (CORBA_TypeCode_equal): copy
8378 straight from ORBit stable - no mods.
8379
8380 * test/Makefile.am (SUBDIRS): add 'everything'
8381
8382 * src/idl-compiler/orbit-idl-c-common.c (orbit_idl_output_c_common):
8383 setup ORBit_zero_int as a static local.
8384
8385 * include/orbit/orb-core/allocators.h (CORBA_sequence_get_release):
8386 define CORBA_sequence_get_release
8387
8388 * src/idl-compiler/orbit-idl-c-skels.c:
8389 add G_GNUC_UNUSED attribute to some potentialy unused bits.
8390
8391 * src/idl-compiler/orbit-idl-c-stubs.c
8392 add G_GNUC_UNUSED attribute to some potentialy unused bits.
8393 (cs_output_stub): always generate _ORBIT_demarshal_error.
8394
8395 * src/orb/orb-core/corba-any.c (CORBA_any_get_release): impl.
8396
8397 * test/everything/Makefile.am: update.
Note: See TracBrowser for help on using the repository browser.