You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ar...@apache.org on 2019/10/27 06:56:42 UTC

[openoffice] branch trunk updated (f954927 -> 1828d08)

This is an automated email from the ASF dual-hosted git repository.

arielch pushed a change to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git.


    from f954927  Changed URLs for search engines to https
     new 958717d  Avoid comparison between pointer and integer
     new 1828d08  i123947 - fix stlport emulation when compiling in C++11 mode

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 main/stlport/systemstl/list       | 2 ++
 main/stlport/systemstl/map        | 2 ++
 main/stlport/systemstl/numeric    | 2 ++
 main/stlport/systemstl/set        | 2 ++
 main/stlport/systemstl/vector     | 2 ++
 main/vcl/unx/headless/svptext.cxx | 2 +-
 6 files changed, 11 insertions(+), 1 deletion(-)


Re: [openoffice] 01/02: Avoid comparison between pointer and integer

Posted by Don Lewis <tr...@apache.org>.
On 27 Oct, arielch@apache.org wrote:
> This is an automated email from the ASF dual-hosted git repository.
> 
> arielch pushed a commit to branch trunk
> in repository https://gitbox.apache.org/repos/asf/openoffice.git
> 
> commit 958717d596e223826fa78462155b4447d227e5d3
> Author: Ariel Constenla-Haile <ar...@apache.org>
> AuthorDate: Sun Oct 27 03:43:35 2019 -0300
> 
>     Avoid comparison between pointer and integer
> ---
>  main/vcl/unx/headless/svptext.cxx | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/main/vcl/unx/headless/svptext.cxx b/main/vcl/unx/headless/svptext.cxx
> index 21e5546..e58b65f 100644
> --- a/main/vcl/unx/headless/svptext.cxx
> +++ b/main/vcl/unx/headless/svptext.cxx
> @@ -154,7 +154,7 @@ void SvpGlyphPeer::RemovingFont( ServerFont& )
>  
>  void SvpGlyphPeer::RemovingGlyph( ServerFont&, GlyphData& rGlyphData, sal_GlyphId /*aGlyphId*/ )
>  {
> -    if( rGlyphData.ExtDataRef().mpData != Format::NONE )
> +    if( rGlyphData.ExtDataRef().mpData != NULL )
>      {
>          // release the glyph related resources
>          DBG_ASSERT( (rGlyphData.ExtDataRef().meInfo <= Format::MAX), "SVP::RG() invalid alpha format" ); 
> 

This code is actually more deeply broken.  A while ago I started
investigating a patch, but I have absolutely no idea of how to test it.
I think I sent a message to the list at the time.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: [openoffice] 01/02: Avoid comparison between pointer and integer

Posted by Don Lewis <tr...@apache.org>.
On 27 Oct, arielch@apache.org wrote:
> This is an automated email from the ASF dual-hosted git repository.
> 
> arielch pushed a commit to branch trunk
> in repository https://gitbox.apache.org/repos/asf/openoffice.git
> 
> commit 958717d596e223826fa78462155b4447d227e5d3
> Author: Ariel Constenla-Haile <ar...@apache.org>
> AuthorDate: Sun Oct 27 03:43:35 2019 -0300
> 
>     Avoid comparison between pointer and integer
> ---
>  main/vcl/unx/headless/svptext.cxx | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/main/vcl/unx/headless/svptext.cxx b/main/vcl/unx/headless/svptext.cxx
> index 21e5546..e58b65f 100644
> --- a/main/vcl/unx/headless/svptext.cxx
> +++ b/main/vcl/unx/headless/svptext.cxx
> @@ -154,7 +154,7 @@ void SvpGlyphPeer::RemovingFont( ServerFont& )
>  
>  void SvpGlyphPeer::RemovingGlyph( ServerFont&, GlyphData& rGlyphData, sal_GlyphId /*aGlyphId*/ )
>  {
> -    if( rGlyphData.ExtDataRef().mpData != Format::NONE )
> +    if( rGlyphData.ExtDataRef().mpData != NULL )
>      {
>          // release the glyph related resources
>          DBG_ASSERT( (rGlyphData.ExtDataRef().meInfo <= Format::MAX), "SVP::RG() invalid alpha format" ); 
> 

This code is actually more deeply broken.  A while ago I started
investigating a patch, but I have absolutely no idea of how to test it.
I think I sent a message to the list at the time.


[openoffice] 01/02: Avoid comparison between pointer and integer

Posted by ar...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

arielch pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit 958717d596e223826fa78462155b4447d227e5d3
Author: Ariel Constenla-Haile <ar...@apache.org>
AuthorDate: Sun Oct 27 03:43:35 2019 -0300

    Avoid comparison between pointer and integer
---
 main/vcl/unx/headless/svptext.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/vcl/unx/headless/svptext.cxx b/main/vcl/unx/headless/svptext.cxx
index 21e5546..e58b65f 100644
--- a/main/vcl/unx/headless/svptext.cxx
+++ b/main/vcl/unx/headless/svptext.cxx
@@ -154,7 +154,7 @@ void SvpGlyphPeer::RemovingFont( ServerFont& )
 
 void SvpGlyphPeer::RemovingGlyph( ServerFont&, GlyphData& rGlyphData, sal_GlyphId /*aGlyphId*/ )
 {
-    if( rGlyphData.ExtDataRef().mpData != Format::NONE )
+    if( rGlyphData.ExtDataRef().mpData != NULL )
     {
         // release the glyph related resources
         DBG_ASSERT( (rGlyphData.ExtDataRef().meInfo <= Format::MAX), "SVP::RG() invalid alpha format" ); 


Re: [openoffice] 02/02: i123947 - fix stlport emulation when compiling in C++11 mode

Posted by Don Lewis <tr...@apache.org>.
I've run into quite a few issues in C++11 mode.  On FreeBSD, I'm forcing
gnu++98 mode with modern compilers.  That matches the long time gcc
default.

On 27 Oct, arielch@apache.org wrote:
> This is an automated email from the ASF dual-hosted git repository.
> 
> arielch pushed a commit to branch trunk
> in repository https://gitbox.apache.org/repos/asf/openoffice.git
> 
> commit 1828d080320011efd486c973e80e3eec3ad241f7
> Author: Ariel Constenla-Haile <ar...@apache.org>
> AuthorDate: Sun Oct 27 03:51:33 2019 -0300
> 
>     i123947 - fix stlport emulation when compiling in C++11 mode
> ---
>  main/stlport/systemstl/list    | 2 ++
>  main/stlport/systemstl/map     | 2 ++
>  main/stlport/systemstl/numeric | 2 ++
>  main/stlport/systemstl/set     | 2 ++
>  main/stlport/systemstl/vector  | 2 ++
>  5 files changed, 10 insertions(+)
> 
> diff --git a/main/stlport/systemstl/list b/main/stlport/systemstl/list
> index 1fa1dc5..36f5d86 100644
> --- a/main/stlport/systemstl/list
> +++ b/main/stlport/systemstl/list
> @@ -32,6 +32,8 @@
>      #pragma warning(disable:4555)
>      #include <../../VC/include/list>
>      #pragma warning(pop)
> +#elif defined(__cplusplus) && (__cplusplus >= 201103L)
> +    #include_next <list>
>  #else // fall back to boost/tr1
>      #include <boost/tr1/tr1/list>
>  #endif
> diff --git a/main/stlport/systemstl/map b/main/stlport/systemstl/map
> index 13f783b..ec1c3db 100644
> --- a/main/stlport/systemstl/map
> +++ b/main/stlport/systemstl/map
> @@ -25,6 +25,8 @@
>  #ifdef HAVE_STL_INCLUDE_PATH
>  	// TODO: use computed include file name
>  	#include_next <map>
> +#elif defined(__cplusplus) && (__cplusplus >= 201103L)
> +    #include_next <map>
>  #elif defined(_MSC_VER)
>  	#include <../../VC/include/map>
>  #else // fall back to boost/tr1
> diff --git a/main/stlport/systemstl/numeric b/main/stlport/systemstl/numeric
> index 975612b..5bd6b90 100644
> --- a/main/stlport/systemstl/numeric
> +++ b/main/stlport/systemstl/numeric
> @@ -25,6 +25,8 @@
>  #ifdef HAVE_STL_INCLUDE_PATH
>  	// TODO: use computed include file name
>  	#include_next <numeric>
> +#elif defined(__cplusplus) && (__cplusplus >= 201103L)
> +    #include_next <numeric>
>  #elif defined(_MSC_VER)
>  	#include <../../VC/include/numeric>
>  #else // fall back to boost/tr1
> diff --git a/main/stlport/systemstl/set b/main/stlport/systemstl/set
> index 2d99053..674cab0 100644
> --- a/main/stlport/systemstl/set
> +++ b/main/stlport/systemstl/set
> @@ -27,6 +27,8 @@
>  	// TODO: use computed include file name
>  	#include "utility"
>  	#include_next <set>
> +#elif defined(__cplusplus) && (__cplusplus >= 201103L)
> +    #include_next <set>
>  #elif defined(_MSC_VER)
>  	#include <../../VC/include/set>
>  #else // fall back to boost/tr1
> diff --git a/main/stlport/systemstl/vector b/main/stlport/systemstl/vector
> index 8b4e86f..3275372 100644
> --- a/main/stlport/systemstl/vector
> +++ b/main/stlport/systemstl/vector
> @@ -25,6 +25,8 @@
>  #ifdef HAVE_STL_INCLUDE_PATH
>  	// TODO: use computed include file name
>  	#include_next <vector>
> +#elif defined(__cplusplus) && (__cplusplus >= 201103L)
> +    #include_next <vector>
>  #elif defined(_MSC_VER)
>  	#include <../../VC/include/vector>
>  #else // fall back to boost/tr1
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


[openoffice] 02/02: i123947 - fix stlport emulation when compiling in C++11 mode

Posted by ar...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

arielch pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit 1828d080320011efd486c973e80e3eec3ad241f7
Author: Ariel Constenla-Haile <ar...@apache.org>
AuthorDate: Sun Oct 27 03:51:33 2019 -0300

    i123947 - fix stlport emulation when compiling in C++11 mode
---
 main/stlport/systemstl/list    | 2 ++
 main/stlport/systemstl/map     | 2 ++
 main/stlport/systemstl/numeric | 2 ++
 main/stlport/systemstl/set     | 2 ++
 main/stlport/systemstl/vector  | 2 ++
 5 files changed, 10 insertions(+)

diff --git a/main/stlport/systemstl/list b/main/stlport/systemstl/list
index 1fa1dc5..36f5d86 100644
--- a/main/stlport/systemstl/list
+++ b/main/stlport/systemstl/list
@@ -32,6 +32,8 @@
     #pragma warning(disable:4555)
     #include <../../VC/include/list>
     #pragma warning(pop)
+#elif defined(__cplusplus) && (__cplusplus >= 201103L)
+    #include_next <list>
 #else // fall back to boost/tr1
     #include <boost/tr1/tr1/list>
 #endif
diff --git a/main/stlport/systemstl/map b/main/stlport/systemstl/map
index 13f783b..ec1c3db 100644
--- a/main/stlport/systemstl/map
+++ b/main/stlport/systemstl/map
@@ -25,6 +25,8 @@
 #ifdef HAVE_STL_INCLUDE_PATH
 	// TODO: use computed include file name
 	#include_next <map>
+#elif defined(__cplusplus) && (__cplusplus >= 201103L)
+    #include_next <map>
 #elif defined(_MSC_VER)
 	#include <../../VC/include/map>
 #else // fall back to boost/tr1
diff --git a/main/stlport/systemstl/numeric b/main/stlport/systemstl/numeric
index 975612b..5bd6b90 100644
--- a/main/stlport/systemstl/numeric
+++ b/main/stlport/systemstl/numeric
@@ -25,6 +25,8 @@
 #ifdef HAVE_STL_INCLUDE_PATH
 	// TODO: use computed include file name
 	#include_next <numeric>
+#elif defined(__cplusplus) && (__cplusplus >= 201103L)
+    #include_next <numeric>
 #elif defined(_MSC_VER)
 	#include <../../VC/include/numeric>
 #else // fall back to boost/tr1
diff --git a/main/stlport/systemstl/set b/main/stlport/systemstl/set
index 2d99053..674cab0 100644
--- a/main/stlport/systemstl/set
+++ b/main/stlport/systemstl/set
@@ -27,6 +27,8 @@
 	// TODO: use computed include file name
 	#include "utility"
 	#include_next <set>
+#elif defined(__cplusplus) && (__cplusplus >= 201103L)
+    #include_next <set>
 #elif defined(_MSC_VER)
 	#include <../../VC/include/set>
 #else // fall back to boost/tr1
diff --git a/main/stlport/systemstl/vector b/main/stlport/systemstl/vector
index 8b4e86f..3275372 100644
--- a/main/stlport/systemstl/vector
+++ b/main/stlport/systemstl/vector
@@ -25,6 +25,8 @@
 #ifdef HAVE_STL_INCLUDE_PATH
 	// TODO: use computed include file name
 	#include_next <vector>
+#elif defined(__cplusplus) && (__cplusplus >= 201103L)
+    #include_next <vector>
 #elif defined(_MSC_VER)
 	#include <../../VC/include/vector>
 #else // fall back to boost/tr1