Commit Graph

37 Commits

Author SHA1 Message Date
Caolán McNamara
12bcfec04f markup with event type not checker type
Change-Id: I14c0c5d90b67000cb4fe9e6be647854abfe784da
2014-11-05 14:58:00 +00:00
Caolán McNamara
2152628832 see if we can auto-ignore new Sequence false positives as such
Change-Id: I7099dcf15843a80c25c7fb508dd9c0e8df6447e0
2014-10-27 14:34:19 +00:00
Noel Grandin
d8be5a5576 optimise UNO Sequence destructor
to avoid expensive function calls until the refcount reaches 0

Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, slightly changing it to
add a uno_type_sequence_destroy to uno/sequence2.h instead of a
uno_type_destructSequence to uno/data.h.

Change-Id: I3bbff3294f2b515fc3c68c4c6c1cb16829f5cc44
2014-10-02 13:00:08 +02:00
Alexander Wilms
f480f26e61 Remove visual noise from cppu
Change-Id: Ib776a6e5397eb9731cf908c4015642c29b320ff6
Reviewed-on: https://gerrit.libreoffice.org/8247
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-27 06:12:56 -06:00
Alexander Wilms
0ce0c369aa Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23 03:38:49 +00:00
Stephan Bergmann
a2c464868a [API CHANGE] Remove UNOIDL "array" and "union" vaporware remnants from cppu
This leaves only aborting stubs (for SONAME stability) for

  typelib_static_array_type_init
  typelib_typedescription_newArray
  typelib_typedescription_newUnion

and completely removes corresponding

  typelib_ArrayTypeDescription
  typelib_UnionTypeDescription

structs and C++ inline

  getCppuArrayType*

functions.  None of this should ever have been called by client code anyway, so
while technically an API change it should not matter for practical purposes.

Change-Id: I23769d104d545533bf578762b79994e269d78c22
2014-01-31 10:18:17 +01:00
Stephan Bergmann
d55155cad0 Include <cassert>
Also, move assert into uno_type_sequence_construct so that all its callers
benefit.

Also, change some OSL_ENSURE to assert.

Change-Id: Idd0a03c4aa6eed1db453db84602c01ff16f0d72c
2013-01-15 11:25:59 +01:00
Norbert Thiebaud
195f17ee40 migrate some of the biggest consumer of osl_*InterlockedCount to osl_atomic
Change-Id: I0e6992afbeffaf3b993e6630fb396d93012890e0
Reviewed-on: https://gerrit.libreoffice.org/632
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-17 14:26:12 +00:00
Arnaud Versini
3638561bef Replace usage of rtl/memory.h in cppu with their equivalent from string.h
Change-Id: Ia49c97ad58b21dc360a366260b62bcc6b4975dee
2012-07-29 21:30:34 +02:00
Arnaud Versini
b8d5620181 Use memset and memcmp insteadof rtl_zeroMemory and rtl_compareMemory in cppu
Change-Id: I88976b215bc23ce5001916ccf123bc3561c2a33a
2012-07-24 20:35:21 +02:00
Michael Meeks
c3a6a57fc2 re-base on ALv2 code. 2012-06-13 14:18:29 +01:00
Caolán McNamara
bc4c7b52a8 get this to build under msvc 2008 2011-12-19 15:16:51 +00:00
Matúš Kukan
d899f976ee cppu: add visibility symbols 2011-12-19 10:14:52 +01:00
Norbert Thiebaud
24b4c075d5 remove include of pch header in cppu 2011-11-27 13:02:56 -06:00
Thomas Arnhold
adc6fe00e3 Move OSL_ENSURE(0,...) to OSL_FAIL(...) 2011-03-12 14:19:48 +01:00
Sebastian Spaeth
a715e1b3d0 Add vim/emacs modelines to all source files
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com)

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-14 17:04:31 +02:00
Jens-Heiner Rechtien
7c80db2eb3 changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
Rüdiger Timm
d119363272 INTEGRATION: CWS changefileheader (1.19.74); FILE MERGED
2008/04/01 15:10:35 thb 1.19.74.3: #i85898# Stripping all external header guards
2008/04/01 12:28:03 thb 1.19.74.2: #i85898# Stripping all external header guards
2008/03/31 07:23:22 rt 1.19.74.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:42:45 +00:00
Oliver Bolte
359f7a441b INTEGRATION: CWS pchfix02 (1.18.10); FILE MERGED
2006/09/01 17:23:03 kaib 1.18.10.1: #i68856# Added header markers and pch files
2006-09-16 23:21:45 +00:00
Jens-Heiner Rechtien
cef9611800 INTEGRATION: CWS warnings01 (1.17.4); FILE MERGED
2005/11/08 16:03:57 pl 1.17.4.1: #i53898# sal_Size is unsigned
2006-06-19 12:15:28 +00:00
Rüdiger Timm
049a9dec63 INTEGRATION: CWS ooo19126 (1.16.38); FILE MERGED
2005/09/05 13:54:34 rt 1.16.38.1: #i54170# Change license header: remove SISSL
2005-09-08 07:54:43 +00:00
Rüdiger Timm
a2d5fcd2e1 INTEGRATION: CWS ooo64bit01 (1.15.38); FILE MERGED
2004/03/16 23:54:06 fa 1.15.38.1: Merge cws_srx644_port64bit, other misc fixes
2004-06-17 11:46:50 +00:00
Oliver Bolte
c6a21f8418 INTEGRATION: CWS cliuno01 (1.14.2); FILE MERGED
2003/07/25 14:09:51 dbo 1.14.2.3: better name
2003/07/24 15:19:06 dbo 1.14.2.2: - sequence reallocation fix
- more code cleanup
- test code
2003/07/23 16:39:22 dbo 1.14.2.1: - fixing cppu core sequence routines returning 0 handle upon memory allocation failure
- C++ Sequence<> throws ::std::bad_alloc upon memory allocation failure
2003-09-04 09:53:42 +00:00
Vladimir Glazounov
26973d6099 INTEGRATION: CWS uno1 (1.13.18); FILE MERGED
2003/02/25 16:41:33 dbo 1.13.18.1: #107762# avoid use of generated headers; minor modifications
2003-03-20 11:30:14 +00:00
Daniel Boelzle
d8344847a2 #102391# cleaning up __ symbols 2002-08-21 08:19:40 +00:00
Daniel Boelzle
440012bf16 #89361# sequence realloc bug 2001-07-06 10:30:09 +00:00
Daniel Boelzle
d9950e4868 #89361# mem realloc anys 2001-07-06 10:06:23 +00:00
Daniel Boelzle
cf0cf8d73a #88593# any opt: avoiding heap allocation for any sizeof(type) <= sizeof(void *) 2001-06-29 10:10:47 +00:00
Philipp Lohmann
928779d153 rtl string api changes 2001-05-10 19:12:55 +00:00
Juergen Schmidt
9d46c93ef0 insert/modify for handling of array types 2001-03-30 12:41:39 +00:00
Daniel Boelzle
d17143e649 no use of SAL_DLLEXPORT anymore, using def file 2001-03-28 09:50:37 +00:00
Joachim Lingner
40b79cab48 OSL_ENSHURE replaced by OSL_ENSURE 2001-03-12 12:28:14 +00:00
Daniel Boelzle
fee2a34fc7 revised function throw () clauses 2001-03-09 11:10:57 +00:00
Daniel Boelzle
306dc80d0b #83492# seq realloc bug 2001-02-05 10:19:44 +00:00
Daniel Boelzle
61193f586b empty throw () clauses 2000-12-21 13:39:29 +00:00
Daniel Boelzle
a8a8af9f3a minor bug with union discriminant 2000-12-08 11:20:09 +00:00
Jens-Heiner Rechtien
b525a3115f initial import 2000-09-18 14:29:57 +00:00