[jira] [Closed] (XERCESC-2152) Wrong value for XERCES_SIZE_T in XercesIntTypes.cmake

2018-09-08 Thread Roger Leigh (JIRA)


 [ 
https://issues.apache.org/jira/browse/XERCESC-2152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roger Leigh closed XERCESC-2152.

   Resolution: Fixed
 Assignee: Roger Leigh
Fix Version/s: 3.2.2

Thanks for reporting this.  I couldn't see any other instances of unquoted 
types with spaces in this file.  This should only be hit if size_t was not 
defined, so should not be possible on anything but the most ancient and 
non-standard compilers.

Fixed in SVN r1840375.

> Wrong value for XERCES_SIZE_T in XercesIntTypes.cmake
> -
>
> Key: XERCESC-2152
> URL: https://issues.apache.org/jira/browse/XERCESC-2152
> Project: Xerces-C++
>  Issue Type: Bug
>  Components: Build
>Affects Versions: 3.2.1
>Reporter: Volo Zyko
>Assignee: Roger Leigh
>Priority: Minor
> Fix For: 3.2.2
>
>
> In the line {{set(XERCES_SIZE_T unsigned long)}} the value should be quoted, 
> otherwise cmake incorrectly inserts it as {{#define XERCES_SIZE_T 
> unsigned;long}} to InstalXerces_autoconf_config.hpp



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org



[jira] [Created] (XERCESC-2152) Wrong value for XERCES_SIZE_T in XercesIntTypes.cmake

2018-09-08 Thread Volo Zyko (JIRA)
Volo Zyko created XERCESC-2152:
--

 Summary: Wrong value for XERCES_SIZE_T in XercesIntTypes.cmake
 Key: XERCESC-2152
 URL: https://issues.apache.org/jira/browse/XERCESC-2152
 Project: Xerces-C++
  Issue Type: Bug
  Components: Build
Affects Versions: 3.2.1
Reporter: Volo Zyko


In the line {{set(XERCES_SIZE_T unsigned long)}} the value should be quoted, 
otherwise cmake incorrectly inserts it as {{#define XERCES_SIZE_T 
unsigned;long}} to InstalXerces_autoconf_config.hpp



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org



Making a 3.2.2 release

2018-09-08 Thread Roger Leigh

Hi folks,

Since the 3.2.1 release on the 1st of March there have been a few changes:

- documentation of a security advisory
- explicit export of ArrayJanitor templates
- addition of an optional C++11 mutex manager
- restoring the use of a resource file when building Windows DLLs
- a couple of minor cmake build fixes
- removing fixed CURL timeout

https://issues.apache.org/jira/projects/XERCESC/versions/12342890

Would it be appropriate to make a new point release at this time to 
publish these accumulated fixes?  Are there any other outstanding issues 
which also need addressing for 3.2.2?



Thanks,
Roger

-
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org



[jira] [Closed] (XERCESC-2147) CURL input stream class is using a fixed timeout that adds delays

2018-09-08 Thread Roger Leigh (JIRA)


 [ 
https://issues.apache.org/jira/browse/XERCESC-2147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roger Leigh closed XERCESC-2147.

Resolution: Fixed
  Assignee: Roger Leigh

Fixed in SVN r1840352.

 

{{Tested with samples, e.g. ./samples/DOMPrint 
[https://raw.githubusercontent.com/rleigh-codelibre/xerces-c/curl-timeout/samples/data/personal.xml]}}

In all cases, the CURL input stream appears to be working just fine.  I haven't 
tested it under more extreme conditions, however.

> CURL input stream class is using a fixed timeout that adds delays
> -
>
> Key: XERCESC-2147
> URL: https://issues.apache.org/jira/browse/XERCESC-2147
> Project: Xerces-C++
>  Issue Type: Improvement
>  Components: Utilities
>Reporter: Scott Cantor
>Assignee: Roger Leigh
>Priority: Major
> Fix For: 3.2.2
>
>
> For future cleanup, a bug was identified in code that I copied originally 
> from the Xerces libcurl implementation, and the fix is described at 
> [https://issues.shibboleth.net/jira/browse/CPPXT-132]
> Next opportunity we can copy over the fix.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org



Building on Windows with vcpkg

2018-09-08 Thread Roger Leigh

Hi folks,

I don't know how many people are developing with Xerces-C++ and/or 
Xalan-C++ on Windows and have tried out the new "vcpkg" BSD ports-like 
package builder/manager from Microsoft, but it supports building 
"xerces-c" and "xalan-c" packages, and this PR:


  https://github.com/Microsoft/vcpkg/pull/4246

updates it to build with 3.2.1 and also updates "xalan-c" to work with 
it.  If anyone wanted to try it out or look over the changes, that would 
be really helpful.


One sticking point is that "xalan-c" fails to build in debug mode, and 
I'm uncertain why.


The other point to mention is the size of the patch set required to 
build a working xalan-c on contemporary systems.  We could really do 
with a new xalan-c release which includes all these small bugfixes.  I 
would be happy to help here if I could join the project, or for someone 
else to do the work, but it does need doing by someone.



Regards,
Roger

-
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org



[jira] [Commented] (XERCESC-2151) Wrong CURL components are looked up in XercesNetAccessorSelection.cmake

2018-09-08 Thread Roger Leigh (JIRA)


[ 
https://issues.apache.org/jira/browse/XERCESC-2151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16607986#comment-16607986
 ] 

Roger Leigh commented on XERCESC-2151:
--

Builds passed in 
[https://ci.appveyor.com/project/ApacheSoftwareFoundation/xerces-c/build/1.0.55]
 and 
https://travis-ci.org/apache/xerces-c/builds/426042588?utm_source=github_status_medium=notification

> Wrong CURL components are looked up in XercesNetAccessorSelection.cmake
> ---
>
> Key: XERCESC-2151
> URL: https://issues.apache.org/jira/browse/XERCESC-2151
> Project: Xerces-C++
>  Issue Type: Bug
>  Components: Build
>Affects Versions: 3.2.1
>Reporter: Volo Zyko
>Assignee: Roger Leigh
>Priority: Minor
> Fix For: 3.2.2
>
>
> It looks like in line {{find_package(CURL COMPONENTS uc data)}} there are ICU 
> components looked up. Anyway CURL doesn't provide such libraries.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org



[jira] [Commented] (XERCESC-2150) There is double check for timegm in XercesFunctions.cmake

2018-09-08 Thread Roger Leigh (JIRA)


[ 
https://issues.apache.org/jira/browse/XERCESC-2150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16607984#comment-16607984
 ] 

Roger Leigh commented on XERCESC-2150:
--

Builds passed in 
https://ci.appveyor.com/project/ApacheSoftwareFoundation/xerces-c/build/1.0.55

> There is double check for timegm in XercesFunctions.cmake
> -
>
> Key: XERCESC-2150
> URL: https://issues.apache.org/jira/browse/XERCESC-2150
> Project: Xerces-C++
>  Issue Type: Bug
>  Components: Build
>Affects Versions: 3.2.1
>Reporter: Volo Zyko
>Assignee: Roger Leigh
>Priority: Trivial
> Fix For: 3.2.2
>
>
> The same line {{check_function_exists(timegm HAVE_TIMEGM)}} is added twice.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org



[jira] [Closed] (XERCESC-2150) There is double check for timegm in XercesFunctions.cmake

2018-09-08 Thread Roger Leigh (JIRA)


 [ 
https://issues.apache.org/jira/browse/XERCESC-2150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roger Leigh closed XERCESC-2150.

   Resolution: Fixed
Fix Version/s: 3.2.2

Fixed in SVN r1840341.  This change is mainly cosmetic, removing a redundant 
check.

> There is double check for timegm in XercesFunctions.cmake
> -
>
> Key: XERCESC-2150
> URL: https://issues.apache.org/jira/browse/XERCESC-2150
> Project: Xerces-C++
>  Issue Type: Bug
>  Components: Build
>Affects Versions: 3.2.1
>Reporter: Volo Zyko
>Assignee: Roger Leigh
>Priority: Trivial
> Fix For: 3.2.2
>
>
> The same line {{check_function_exists(timegm HAVE_TIMEGM)}} is added twice.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org



[jira] [Closed] (XERCESC-2151) Wrong CURL components are looked up in XercesNetAccessorSelection.cmake

2018-09-08 Thread Roger Leigh (JIRA)


 [ 
https://issues.apache.org/jira/browse/XERCESC-2151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roger Leigh closed XERCESC-2151.

   Resolution: Fixed
Fix Version/s: 3.2.2

Fixed in SVN r1840341.  Since this was not affecting the behaviour of FindCURL, 
this bug was harmless.

> Wrong CURL components are looked up in XercesNetAccessorSelection.cmake
> ---
>
> Key: XERCESC-2151
> URL: https://issues.apache.org/jira/browse/XERCESC-2151
> Project: Xerces-C++
>  Issue Type: Bug
>  Components: Build
>Affects Versions: 3.2.1
>Reporter: Volo Zyko
>Assignee: Roger Leigh
>Priority: Minor
> Fix For: 3.2.2
>
>
> It looks like in line {{find_package(CURL COMPONENTS uc data)}} there are ICU 
> components looked up. Anyway CURL doesn't provide such libraries.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org



[jira] [Assigned] (XERCESC-2150) There is double check for timegm in XercesFunctions.cmake

2018-09-08 Thread Roger Leigh (JIRA)


 [ 
https://issues.apache.org/jira/browse/XERCESC-2150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roger Leigh reassigned XERCESC-2150:


Assignee: Roger Leigh

> There is double check for timegm in XercesFunctions.cmake
> -
>
> Key: XERCESC-2150
> URL: https://issues.apache.org/jira/browse/XERCESC-2150
> Project: Xerces-C++
>  Issue Type: Bug
>  Components: Build
>Affects Versions: 3.2.1
>Reporter: Volo Zyko
>Assignee: Roger Leigh
>Priority: Trivial
>
> The same line {{check_function_exists(timegm HAVE_TIMEGM)}} is added twice.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org



[jira] [Assigned] (XERCESC-2151) Wrong CURL components are looked up in XercesNetAccessorSelection.cmake

2018-09-08 Thread Roger Leigh (JIRA)


 [ 
https://issues.apache.org/jira/browse/XERCESC-2151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roger Leigh reassigned XERCESC-2151:


Assignee: Roger Leigh

> Wrong CURL components are looked up in XercesNetAccessorSelection.cmake
> ---
>
> Key: XERCESC-2151
> URL: https://issues.apache.org/jira/browse/XERCESC-2151
> Project: Xerces-C++
>  Issue Type: Bug
>  Components: Build
>Affects Versions: 3.2.1
>Reporter: Volo Zyko
>Assignee: Roger Leigh
>Priority: Minor
>
> It looks like in line {{find_package(CURL COMPONENTS uc data)}} there are ICU 
> components looked up. Anyway CURL doesn't provide such libraries.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org