Commit Graph
65 Commits
Author SHA1 Message Date
Mike Kaganski 0b3ecd909c bean: MSVC: pragma warning: make more specific, remove obsolete
Change-Id: Id575db58199f438e95d9c73778cc520c452e1a42
Reviewed-on: https://gerrit.libreoffice.org/48948
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-01-31 21:02:06 +01:00
Andrea Gelmini cfffb09b3d Fix typos
Change-Id: I2a578961837076ebce3c1fb2681b0785d1d490ac
Reviewed-on: https://gerrit.libreoffice.org/47857
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-01-14 16:24:04 +01:00
Stephan Bergmann 794120f5c6 loplugin:includeform: bean (Windows)
Change-Id: Id35caf31499a437cba9ed3329920c560705be0cf
2017-10-27 19:28:53 +02:00
Stephan Bergmann 8568732c0f loplugin:includeform: bean
Change-Id: I3487839569e34552d8b6409b04ef842346c43f5c
2017-10-23 22:46:13 +02:00
Mike Kaganski 362a21d3a1 Use explicit function names for fooA/fooW WinAPI; prefer fooW
We should only use generic foo function name when it takes params
that are also dependent on UNICODE define, like
LoadCursor( nullptr, IDC_ARROW )
where IDC_ARROW is defined in MSVC headers synchronised with
LoadCursor definition.

We should always use Unicode API for any file paths operations,
because otherwise we will get "?" for any character in path that
is not in current non-unicode codepage, which will result in failed
file operations.

Change-Id: I3a7f453ca0f893002d8a9764318919709fd8b633
Reviewed-on: https://gerrit.libreoffice.org/42935
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-09-30 11:23:41 +02:00
Mike Kaganski afeff9102c Use even more WIN32_LEAN_AND_MEAN
Change-Id: I538fe5b41156366e0e87b3a93e58a3947afd18f5
Reviewed-on: https://gerrit.libreoffice.org/42398
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-09-18 01:13:30 +02:00
Stephan Bergmann 2200177856 clang-cl loplugin: bean
Change-Id: Iedaf2fc0c1e2cab446687c6c73cceb3c6b77e6e1
Reviewed-on: https://gerrit.libreoffice.org/29880
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-10-16 14:19:32 +00:00
Stephan Bergmann 667c9c1897 Revert "Don't use the (win32) jawt_md.h as we don't have that when cross-compiling"
This reverts commit db57823374, as it causes
loplugin:externandnotdefined under clang-cl, and cross-compiling Windows on
Linux seems a rather dead project for now.

Change-Id: Ia7fd742385fa0d609007f70e5116a99729224f77
Reviewed-on: https://gerrit.libreoffice.org/29835
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-10-14 19:27:59 +00:00
Stephan Bergmann 79a359fea1 jboolean-related clean-up
Change-Id: Iecd03d0343b9b7c3a8b23b5a1e9654148b94d44c
2015-05-08 09:49:01 +02:00
Noel Grandin ba233e87ef remove unnecessary parenthesis in return statements
found with
$ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;'

Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
2015-02-23 09:26:58 +02:00
Stephan Bergmann b03eb878a8 Remove unnecessary bean/inc/comp_LocalOfficeWindow.h
Change-Id: Ia3f5d11aace705f36016aabda7f325ba46aa8640
2015-01-02 18:31:10 +01:00
Stephan Bergmann 6ae099ff43 Deprecated com.sun.star.beans is gone
Change-Id: Ifce16ea732dd79730bff7bfa6269bd8b1d8e8aa6
2014-12-02 21:44:08 +01:00
Noel Grandin dac4ca5f68 new loplugin: externalandnotdefined
Find "missing headers," where a function is declared directly in the
.cxx (as extern) and not defined, and should arguably instead be declared
in an include file.

Change-Id: I6d83ee432b2ab0cd050aec2b27c3658d32ac02a2
2014-07-11 14:12:25 +02:00
Stephan Bergmann fc583270f9 Remove (hopefully) obsolete workarounds
...that lead to -Werror=unused-macros with gcj on Linux.

Change-Id: I7a77789fe212d1c87a4ac0a93a79cc7a8ba7a7ad
2014-02-14 08:41:15 +01:00
Fridrich Štrba 378b2522b4 mingw64: use integer able to contain pointer
Change-Id: Id37c488531add53fd8d7514cde9ac37e61f67c38
2013-06-10 14:03:34 +02:00
Fridrich Štrba abd89db2a9 Fix bean linking on wntgccx
Change-Id: I8d5d62be630f85e9a807dc108baca8be2930224e
2013-06-07 16:26:59 +02:00
Stephan Bergmann aa753f01ba -Wunused-macros
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-27 09:36:53 +01:00
Michael Meeks 6f36747661 re-base on ALv2 code. 2012-06-12 17:31:21 +01:00
Stephan Bergmann 708229dc96 fdo#49580: Fix bean after gbuild'ification
4478b739dd "convert bean to gbuild and add to
tail_build" broke the following:
* The name of the officebean dynamic library must not be changed (by adding the
  "lo" extension), as code in officebean.jar uses it in NativeLibraryLoader.
* With gbuild's per-default hidden visibility, JNIEXPORT functions must instead
  use SAL_DLLPUBLIC_EXPORT.  (Windows-only code in bean/native/win32/ should be
  safe to continue using JNIEXPORT.)

Change-Id: I I3c312dd05c90421ba0c726496b7149a26d155604
2012-05-07 17:03:00 +02:00
David Tardon c6ade7266f WaE: cast from pointer to integer of different size 2012-04-18 21:01:18 +02:00
Tor Lillqvist b1b25a9a1e Kill a bunch of empty lines 2011-12-12 22:14:55 +02:00
Michael Meeks 9142f9a1a1 WaE: win32 cleanup 2011-10-07 16:30:52 +02:00
Peter Foley 4478b739dd convert bean to gbuild and add to tail_build 2011-09-18 19:17:17 -04:00
Tor Lillqvist db57823374 Don't use the (win32) jawt_md.h as we don't have that when cross-compiling
Just insert the trivial JAWT_GetAWT declaration and
JAWT_Win32DrawingSurfaceInfo struct definition.
2011-06-29 12:42:20 +03:00
Tor Lillqvist 1b13657acf jawt_md.h is not needed in this file 2011-06-29 12:42:20 +03:00
Tor Lillqvist ea9d29c0bc Drop OS2 2011-05-21 15:49:48 +03:00
Caolán McNamara e76e239b23 we only need the java lib path to link bean 2011-03-31 12:50:26 +01:00
Thomas Arnhold 2945b56030 Clean up makefiles 2011-02-01 18:21:17 +01:00
Tor Lillqvist 152ae301d7 Remove superfluous empty lines at end 2011-01-28 20:24:33 +02:00
Tor Lillqvist 422f6dd134 Bypass if no SOLAR_JAVA 2011-01-28 20:24:31 +02:00
Tor Lillqvist c37747173d Use SetWindowLongPtr 2011-01-26 21:22:06 +02:00
Caolán McNamara 6045d6569d WaE: gcc 4.6.0 various warnings 2011-01-25 10:24:49 +00:00
Caolán McNamara b77940e5af add modelines to .hxx files as well 2010-10-28 15:48:02 +01:00
Jens-Heiner Rechtien 36de66bdf0 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
Oliver Bolte d7cfa3d873 CWS-TOOLING: integrate CWS sb104
2009-01-27 13:09:06 +0100 sb  r266986 : #i97992# cws rebase: merged cws/sb104/config_office/set_soenv.in with moved tags/DEV300_m40/set_soenv.in
2009-01-27 10:56:40 +0100 sb  r266966 : CWS-TOOLING: rebase CWS sb104 to trunk@266944 (milestone: DEV300:m40)
2009-01-20 14:37:00 +0100 sb  r266581 : #i97992# missing treatment of Solaris-only adjustvisibility as build-internal tool
2009-01-20 09:32:38 +0100 sb  r266554 : CWS-TOOLING: rebase CWS sb104 to trunk@266428 (milestone: DEV300:m39)
2009-01-14 13:40:45 +0100 sb  r266296 : #i97992# do not pass comment lines to shell
2009-01-14 12:50:34 +0100 sb  r266290 : #i97992# avoid problems with checkdll not finding AWTLIB and its dependents
2009-01-14 12:49:20 +0100 sb  r266289 : #i97992# on Linux and Solaris, regxpcom apparently needs to be called with the libxpcom.so directory on the LD_LIBRARY_PATH
2009-01-13 09:41:37 +0100 sb  r266196 : #i97992# fixed AUGMENT_LIBRARY_PATH definitions
2009-01-12 18:02:03 +0100 sb  r266177 : #i97992# get rid of LD_LIBRARY_PATH in build environment
2009-02-19 11:42:47 +00:00
Vladimir Glazounov 57a8051720 CWS-TOOLING: integrate CWS jsc311 2008-10-01 08:05:58 +00:00
Rüdiger Timm d19b971ee0 INTEGRATION: CWS changefileheader (1.4.36); FILE MERGED
2008/03/28 16:08:23 rt 1.4.36.1: #i87441# Change license header to LPGL v3.
2008-04-10 15:22:31 +00:00
Rüdiger Timm 685b75dfa3 INTEGRATION: CWS changefileheader (1.6.8); FILE MERGED
2008/03/28 16:08:23 rt 1.6.8.1: #i87441# Change license header to LPGL v3.
2008-04-10 15:21:59 +00:00
Rüdiger Timm dbd7fe14d6 INTEGRATION: CWS changefileheader (1.6.8); FILE MERGED
2008/03/28 16:08:22 rt 1.6.8.1: #i87441# Change license header to LPGL v3.
2008-04-10 15:21:42 +00:00
Vladimir Glazounov 4b95ec7f3c INTEGRATION: CWS s390port01 (1.9.10); FILE MERGED
2008/02/29 23:19:13 cmc 1.9.10.1: #i86425# fix up s309
2008-03-18 15:10:18 +00:00
Rüdiger Timm 8a03a7c064 INTEGRATION: CWS pmladek06 (1.5.28); FILE MERGED
2007/09/11 12:00:07 pmladek 1.5.28.1: #i81385#
fixes build with IBM Java 1.5.0 on PPC; syntax error in jni.h
2007-10-04 07:13:20 +00:00
Jens-Heiner Rechtien 56efc10a84 INTEGRATION: CWS ause081 (1.3.46); FILE MERGED
2007/06/22 12:26:23 hjs 1.3.46.1: #i78393# remove now obsolete setting to avoid description
2007-06-26 16:45:58 +00:00
Jens-Heiner Rechtien c77502b42d INTEGRATION: CWS ause081 (1.8.18); FILE MERGED
2007/06/22 12:26:22 hjs 1.8.18.1: #i78393# remove now obsolete setting to avoid description
2007-06-26 16:45:46 +00:00
Jens-Heiner Rechtien 658c2667fb INTEGRATION: CWS gcjsix (1.7.28); FILE MERGED
2006/08/02 10:46:15 cmc 1.7.28.1: #i67465# gcc's 4.1.2 libawt is like sun's now, and doesn't require linking against -lgcj, move -lgcj into AWTLIB if needed
2006-08-11 15:19:59 +00:00
Jens-Heiner Rechtien 63845eab08 INTEGRATION: CWS warnings01 (1.3.6); FILE MERGED
2006/02/28 15:54:57 sb 1.3.6.1: #i53898# Made code waring-free.
2006-06-19 19:03:53 +00:00
Jens-Heiner Rechtien 39f28b6025 INTEGRATION: CWS warnings01 (1.4.6); FILE MERGED
2006/02/28 15:54:56 sb 1.4.6.2: #i53898# Made code waring-free.
2005/11/10 08:44:43 pl 1.4.6.1: #i53898# removed warnings
2006-06-19 19:03:23 +00:00
Rüdiger Timm 1f75f16da6 INTEGRATION: CWS ooo19126 (1.2.4); FILE MERGED
2005/09/05 14:47:19 rt 1.2.4.1: #i54170# Change license header: remove SISSL
2005-09-07 21:04:37 +00:00
Rüdiger Timm 13dd14a11a INTEGRATION: CWS ooo19126 (1.2.28); FILE MERGED
2005/09/05 14:47:19 rt 1.2.28.1: #i54170# Change license header: remove SISSL
2005-09-07 21:04:20 +00:00
Rüdiger Timm b317ddf2f5 INTEGRATION: CWS ooo19126 (1.3.4); FILE MERGED
2005/09/05 14:47:18 rt 1.3.4.1: #i54170# Change license header: remove SISSL
2005-09-07 21:04:06 +00:00
Rüdiger Timm e366a31bae INTEGRATION: CWS ooo19126 (1.3.18); FILE MERGED
2005/09/05 14:47:18 rt 1.3.18.1: #i54170# Change license header: remove SISSL
2005-09-07 21:03:48 +00:00