1
2005-09-06 Mark McLoughlin <mark@skynet.ie>
5
2005-09-06 Mark McLoughlin <mark@skynet.ie>
7
Backported patch Tor Lillqvist <tml@novell.com> from HEAD
9
* include/orbit/orb-core/orbit-object.h: Add macro
10
ORBIT2_MAYBE_CONST which expands to "const" on Unix, empty on
13
* src/orb/orb-core/corba-typecode.c
14
* include/orbit/orb-core/corba-orb-type.h
15
* include/orbit/orb-core/corba-typecode.h
16
* src/idl-compiler/orbit-idl-c-headers.c (ch_type_alloc_and_tc)
17
* src/idl-compiler/orbit-idl-c-typecode.c
18
(orbit_output_tcstruct_anon_subtypes_array,
19
orbit_output_tcstruct_anon_sublabels_array, cbe_tc_generate): Use
20
ORBIT2_MAYBE_CONST. This reintroduces constness on Unix, saving
21
some memory. (#169428)
23
2005-08-16 Michael Meeks <michael.meeks@novell.com>
1
2006-02-06 Kjartan Maraas <kmaraas@gnome.org>
3
* configure.in: Release 2.13.3.
5
2006-02-01 Tor Lillqvist <tml@novell.com>
7
Improve configury on Win32, patch by Georg Steffers:
9
* configure.in: Set MINGW_LDFLAGS to
10
-Wl,--enable-runtime-pseudo-reloc on Win32. AC_SUBST it. That GNU
11
ld flag is needed when building software that uses DLLs containing
12
code produced by the ORBit2 IDL compiler, because of the way
13
variables imported from DLLs are used. Add MINGW_LDFLAGS to the
14
LDFLAGS used when building ORBit2 itself, too.
16
* ORBit-2.0.pc.in: Add @MINGW_LDFLAGS@ (empty on Unix) to Libs .
18
* ORBit2.m4: If no orbit2-config script is found, use pkg-config.
20
2006-01-13 Kjartan Maraas <kmaraas@gnome.org>
22
* src/orb/GIOP/giop-recv-buffer.c: Fix a compiler warning
24
(giop_recv_buffer_handle_fragmented):
25
* src/orb/poa/orbit-adaptor.c: (ORBit_adaptor_find): Guard
26
against NULL adaptor. (Michael). Closes bug #326283. Seen as
27
an invalid read on startup of the drivemount applet.
29
2005-11-11 Jens Granseuer <jensgr@gmx.net>
31
* src/idl-compiler/orbit-idl-c-skelimpl.c
32
(prev_char_is_nl): fix // comment.
34
2005-11-08 Richard Hult <richard@imendio.com>
38
* configure.in (LT_VERSION): Set back to 2.13.2, the version was
41
2005-11-08 Anders Carlsson <andersca@imendio.com>
43
* configure.in: Up version to 2.13.3
45
2005-11-08 Anders Carlsson <andersca@imendio.com>
47
* src/orb/orb-core/corba-object.c (CORBA_Object_release_cb):
48
Allow releasing objects even if orb is NULL.
50
(ORBit_object_get_connection):
51
Make sure to remove and re-add the object from the objref hash
52
table so we won't be left with dangling references which will lead
53
to crashes when trying to shut down the ORB.
55
* src/orb/orb-core/corba-orb.c (strip_object_profiles):
56
Set object's orb to NULL.
58
* src/orb/poa/poa.c (ORBit_POA_deactivate_object_T):
59
Write out an error message here instead of "assertion failed".
61
2005-09-26 Martin Blom <martin@blom.org>
63
* src/orb/orb-core/allocators.c (ORBit_realloc_tcval):
64
realloc should update the length/tracking information.
67
2005-09-24 Tor Lillqvist <tml@novell.com>
69
* orbit2-zip.in: Add share/aclocal/ORBit2.m4 to the developer
72
2005-09-20 Jules Colding <colding@omesc.com>
74
* configure.in (CFLAGS): Stricter coding style checks by adding
75
"-Werror-implicit-function-declaration -std=gnu89" to CFLAGS.
77
2005-09-16 Jules Colding <colding@omesc.com>
79
* include/orbit/orb-core/corba-orb.h: Added ORBit_proto_use() to
80
ORBIT2_EXTENSIONS section. This is needed to deduce protocol
81
capabilities if you are not the fortunate first thread to invoke
84
2005-09-07 Jules Colding <colding@omesc.com>
86
* configure.in (LT_VERSION): Version 2.13.2. This is needed as the change
87
below actually makes some programs run when they would otherwise not.
89
* src/orb/GIOP/giop.c (giop_main_run): Remove g_assert().
91
2005-09-06 Mark McLoughlin <mark@skynet.ie>
93
* configure.in: Version 2.13.1
95
2005-08-28 Tor Lillqvist <tml@novell.com>
97
* README.win32: New file.
99
* Makefile.am (EXTRA_DIST): Add README.win32.
101
* orbit2-zip.in: Include also lib/libname-server-2.a in the
104
2005-08-26 Brian Cameron <Brian.Cameron@sun.com>
106
* configure.in: Bumping minor LT_VERSION since
107
interfaces have changed since the initial ORBit2
108
release and it has never been bumped, but
109
interfaces have been added since that time.
110
Sorry for commiting this twice, but I didn't
111
read the comments closely to see that you
112
modify it to C+1:0:A+1 to indicate interfaces
113
have been added but binary compatibility has
27
116
2005-08-15 Michael Meeks <michael.meeks@novell.com>
55
144
* src/orb/orb-core/corba-orb.c: (CORBA_ORB_destroy): Release
56
145
the lock here. Patch from Aivars Kalvans. Closes bug #153897.
147
2005-07-28 Tor Lillqvist <tml@novell.com>
149
* configure.in: Include ws2tcpip.h on Win32 when looking for
152
2005-07-25 Jules Colding <colding@omesc.com>
154
* src/orb/orb-core/corba-orb.c: Added new ORB_init option, ORBNetID.
155
Valid values for a hypothetical local host (FQDN:thor.test.com, IP:10.0.3.2):
156
"local": all attempts to resolve the local host will be done using "localhost"
157
"short": all attempts to resolve the local host will be done using "thor".
158
"fqdn" : all attempts to resolve the local host will be done using "thor.test.com".
159
"ipaddr: all attempts to resolve the local host will be done using "10.0.3.2".
160
The new option will be evaluated after ORBLocalOnly but ORBLocalOnly will always take
163
2005-06-20 Fernando Herrera <fherrera@onirica.com>
165
* include/orbit/orb-core/corba-orb-type.h:
166
* src/orb/orb-core/corba-orb.c: (CORBA_ORB_init),
167
(CORBA_ORB_destroy), (ORBit_ORB_forw_bind):
168
* src/orb/poa/orbit-adaptor.c: (ORBit_forw_bind_find),
169
(ORBit_handle_request): implement forward binding.
171
Patch by Alejandro Garcļæ½a Castro <acastro@igalia.com>
173
reviewed by: Michael Meeks
175
2005-06-03 Jules Colding <colding@omesc.com>
177
* docs/README: Added pointers to documentation and sample code
178
for developers using ORBit2, not ORBit2 hackers.
58
180
2005-06-02 Sandie Vanderme <sandie.vanderme@bull.net>
60
182
* configure.in: add missing AC_CHECK_HEADERS(netdb.h)
184
2005-04-18 Tor Lillqvist <tml@novell.com>
186
* src/orb/orb-core/corba-orb.c (DllMain): As we reguire GLib 2.6,
187
no need to use GLIB_CHECK_VERSION(). And anyway, what we really
188
should have used here was the run-time glib_check_version() and
189
not compile-time GLIB_CHECK_VERSION()... Also, only check for a
190
"bin" subfolder. DLLs are always installed in "bin" and not "lib"
193
* src/orb/orb-core/orb-core-private.h: As we require GLib 2.6,
194
G_IS_DIR_SEPARATOR() is always present.
196
2005-04-16 Kjartan Maraas <kmaraas@gnome.org>
198
* linc2/test/test-linc.c: Make some variables static.
199
* src/idl-compiler/orbit-idl-c-skelimpl.c: Same
200
* src/orb/orb-core/corba-orb.c: (CORBA_ORB_create_list):
201
Don't use the C++ reserved word 'new' for variables.
202
* test/echo-client-t.c: Make vars static.
203
* test/echo-client.c: Same
204
* test/echo-srv.c: Same
205
* test/empty-client.c: Same
206
* test/empty-server.c: Same
207
* test/poa/poatest-basic01.c: Again
208
* test/poa/poatest-basic05.c: Again
209
* test/poa/poatest-basic11.c: Again
210
* test/test-any-server.c: Again
211
* test/test-corbaloc.c: Again
212
* test/test-giop-frag.h: Again
213
* test/test-performance.c: And again
215
2005-04-14 Arvind Samptur <arvind.samptur@wipro.com>
217
* src/orb/orb-core/corba-object.c :
218
(ORBit_object_get_connection): if we have failed on the unix
219
socket, have IPv4 or IPv6 connections enabled and are on localhost,
220
then don't connect on the corresponding port from the profiles.
221
Patch reviewed by Michael Meeks.
223
2005-04-13 Tor Lillqvist <tml@novell.com>
225
* src/orb/util/genrand.c: Use the Win32 crypto API.
227
* src/orb/GIOP/giop.c
228
* src/idl-compiler/orbit-idl-c-backend.c: Use gstdio wrappers for
229
better localized filename support on Win32. Use GLib directory and
230
filename API. Don't bother with the rather useless utime() setting
231
on the GIOP tmpdir on Win32. Use g_strerror() instead of
234
* src/orb/util/orbit-options.c: As we reguire GLib 2.6, no need to
235
use GLIB_CHECK_VERSION.
237
2005-04-12 Mark McLoughlin <mark@skynet.ie>
239
* ORBit-2.0.pc.in: require gmodule-no-export-2.0 rather
240
than gmodule-2.0 so we don't -export-dynamic on our
243
2005-04-11 Tor Lillqvist <tml@novell.com>
245
* test/everything/Makefile.am (Everything_module_la_LIBADD): Need
246
to link with ORBIT_LIBS thanks to a recent change for Win32 in
62
249
2005-04-11 James Henstridge <james@jamesh.id.au>
64
251
* configure.in: rename PKG_CONFIG_MIN_VERSION variable to
65
252
xPKG_CONFIG_MIN_VERSION, to work with pkg-config >= 0.16.0.
67
2005-04-07 Jules Colding <colding@omesc.com>
69
* configure.in: Bump version to 2.12.2
73
254
2005-04-06 Anders Carlsson <andersca@imendio.com>
75
256
* src/orb/orb-core/corba-orb.c:
76
257
(ORBit_initial_references_by_user):
79
260
(ORBit_set_initial_reference):
80
261
Release existing objects.
82
263
2005-04-06 Anders Carlsson <andersca@imendio.com>
84
265
* src/orb/orb-core/corba-object.c:
85
(ORBit_handle_location_forward):
86
Reset the connection since the forwarded object has a new
88
2005-02-13 Arvind Samptur <arvind.samptur@wipro.com>
266
(ORBit_handle_location_forward):
267
Reset the connection since the forwarded object has a new
270
2005-03-29 Brian Cameron <Brian.Cameron@Sun.Com>
272
* docs/internals/orbitrc.txt: Docs file explaining how to
273
make use of the ORBit2 Resource File and how the options
276
2005-03-11 Tor Lillqvist <tml@novell.com>
278
* include/orbit/orb-core/orbit-object.h: Add macro
279
ORBIT2_MAYBE_CONST which expands to "const" on Unix, empty on
282
* src/orb/orb-core/corba-typecode.c
283
* include/orbit/orb-core/corba-orb-type.h
284
* include/orbit/orb-core/corba-typecode.h
285
* src/idl-compiler/orbit-idl-c-headers.c (ch_type_alloc_and_tc)
286
* src/idl-compiler/orbit-idl-c-typecode.c
287
(orbit_output_tcstruct_anon_subtypes_array,
288
orbit_output_tcstruct_anon_sublabels_array, cbe_tc_generate): Use
289
ORBIT2_MAYBE_CONST. This reintroduces constness on Unix, saving
290
some memory. (#169428)
292
2005-03-10 Tor Lillqvist <tml@novell.com>
294
* configure.in: Bump version to 2.13.0 to distinguish from the
295
gnome-2-10 branch. Call AC_CANONICAL_HOST before the Win32 test to
296
make sure $host is set up. Require GLib 2.6.
298
* src/idl-compiler/orbit-idl-main.c: Make the default not to show
299
CPP errors, so that --showcpperrors actually changes the
302
* src/orb/orb-core/corba-any.c (ORBit_demarshal_value)
303
* src/services/imodule/orbit-imodule.c (build_cpp_args): Minor
304
const correctness fixes.
306
* src/orb/orb-core/corba-orb.c: Drop inclusion of <windows.h>, we
307
get it through <winsock2.h> in linc-protocol.h anyway. Add
308
prototype for DllMain() to silence gcc.
310
2005-02-23 Tor Lillqvist <tml@novell.com>
312
* orbit2-zip.in: Include also etc/orbitrc (even if it is
313
empty). Don't include lib/orbit-2.0, just the Everything_module
314
gets installed there by ORBit2, and that's just for testing.
316
* configure.in: Drop the -DPOPT_STATIC. The version of popt that
317
we recommend is used on Windows doesn't cause import of variables
318
from libpopt. Using a libpopt DLL works fine.
320
* test/test-giop.c (run_test): Use IPv4 instead of UNIX domain
323
* src/idl-compiler/orbit-idl-c-skels.c
324
(cbe_skel_interface_print_relayers): It's the temporary pointer
325
that should be declared volatile, not what it's pointing to. Now
326
auto-import actually works also from optimized code.
328
2005-02-21 Tor Lillqvist <tml@novell.com>
330
* configure.in: Use -DPOPT_STATIC on Win32 when building the IDL
331
compiler and name server, so that we avoid the problems with
332
referring to variables imported from a DLL in static
333
initializers. In newer libpopt distributions the headers have
334
dllimport decorations for the variables exported from libpopt
335
unless one defines POPT_STATIC.
337
To actually then link with the static libpopt.a you might also
338
have to move the import library libpopt.dll.a away so that the
339
linker won't find it, and perhaps edit libpopt.la.
341
Remove leftover AC_MSG_WARN([host is $host]).
343
2005-02-14 Tor Lillqvist <tml@novell.com>
345
* configure.in: New autoconf variable LIBM, set to -lm on Unix,
348
* ORBit-2.0.pc.in (Libs): Use @LIBM@. The dummy -lm in mingw prevents
349
libtool from creating DLLs.
350
(orbit_idl): Append @EXEEXT@.
352
* src/idl-compiler/Makefile.am
353
* test/Makefile.am: Use $(LIBM) here, less verbiage than if using
356
* src/orb/orb-core/orb-core-private.h
357
* src/orb/util/orbit-options.c: On Win32, #undef the compile-time
358
pathnames from the Makefiles, instead use run-time strings set up
359
by DllMain(), see below.
361
* src/orb/orb-core/corba-orb.c (DllMain): New function. When
362
ORBit2 is built as a DLL on Win32 (as it should be), this function
363
is called automatically when the DLL is loaded. It fetches the
364
full path of the DLL, and deduces the ORBit2 installation folder
365
from that. Then it forms the type library directory and system
366
orbitrc path names. Some complexity needed by it having to work
367
both when built with GLib 2.4 or 2.6.
369
* src/orb/orb-core/orbit-typelib.c (ORBit_small_load_typelib): Use
370
GLib API to check pathnames, for improved Win32 portability.
372
* src/orb/util/orbit-options.c (ORBit_option_rc_parse): When built
373
against GLib 2.6, use g_fopen().
374
(ORBit_option_parse): Guard against g_get_home_dir() returning
377
* src/orb/util/genrand.c (ORBit_genuid_init): Bypass the attempts
378
to use /dev/urandom on Win32.
380
* src/orb/orb-core/corba-any.c (ORBit_marshal_value): Don't do any
381
post-realignment for array elements. We don't do that for array
382
elements in ORBit_demarshal_value() either, and the marshalling of
383
structs and unions already takes care of their post-alignment.
385
* src/idl-compiler/orbit-idl-c-utils.c: Revert the change from
386
2005-02-01. It's unnecessary now with the alignment fixes in the
387
marshalling code. (The changes were not sufficient anyway; without
388
the alignment fixes in the marshalling code, even more sillyness
389
in the IDL compiler generated code would have been necessary to
390
make it work on Win32.)
392
2005-02-13 Arvind Samptur <arvind.samptur@wipro.com
90
394
* src/orb/orb-core/corba-orb.c (ORBit_ORB_start_servers): if we
91
395
are using LocalOnly option or only UNIX sockets then set
92
396
hostname to be "localhost"
93
397
Patch reviewed by Michael Meeks
95
2005-02-04 Gustavo J. A. M. Carneiro <gjc@gnome.org>
99
* configure.in: Bump version to 2.12.1.
399
2005-02-11 Tor Lillqvist <tml@novell.com>
401
* src/orb/orb-core/orbit-trace.c (ORBit_trace_value): Print also
402
long long values, using G_GINT64_FORMAT. Ditto unsigned long long
403
and G_GUINT64_FORMAT.
405
2005-02-11 Michael Meeks <michael.meeks@novell.com>
407
* src/orb/dynamic/dynany.c
408
(DynamicAny_DynStruct_get_members),
409
(DynamicAny_DynStruct_set_members): add field
410
alignment logic now missing from ORBit_copy_value etc.
412
2005-02-11 Tor Lillqvist <tml@novell.com>
414
* src/orb/orb-core/corba-any.c
415
(ORBit_marshal_value, ORBit_demarshal_value),
416
(ORBit_copy_value_core, ORBit_value_equivalent):
417
re-work, bin pre-align: assume incoming ABI walking
418
data is aligned, do alignment only on outgoing
419
data & during struct/union walking.
421
* test/everything/arrayServer.c
422
(ArrayServer_opAlignHoleStructArray),
423
(ArrayServer_opStrArray): add.
424
* test/everything/unionServer.c
425
(UnionServer_opFixedLengthUnionArray): add
427
* test/everything/client.c (testUnionArray, testStrArray),
428
(testFixedLengthStructArray, testAlignHoleStructArray),
429
(testVariableLengthArray): add more beef to the regression
432
2005-02-08 Tor Lillqvist <tml@novell.com>
434
* orbit2-zip.in: New file, expands to a script to be used for
435
packaging ORBit2 distributions as zipfiles for Windows.
438
* Makefile.am: Generate and distribute it.
440
2005-02-07 Tor Lillqvist <tml@novell.com>
442
* test/Makefile.am (check_PROGRAMS): Must use check_PROGRAMS as
443
the name for the list of test programs in order for Automake to
444
properly use EXEEXT on Windows.
101
446
2005-02-02 Hans Petter Jansson <hpj@novell.com>