You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Kevin Hoyt (JIRA)" <xe...@xml.apache.org> on 2006/12/04 22:37:23 UTC
[jira] Created: (XERCESC-1656) Project uses deprecated Mac OS X
functions and data types.
Project uses deprecated Mac OS X functions and data types.
----------------------------------------------------------
Key: XERCESC-1656
URL: http://issues.apache.org/jira/browse/XERCESC-1656
Project: Xerces-C++
Issue Type: Bug
Components: Utilities
Affects Versions: 2.7.0
Environment: Mac OS X 10.4 with Xcode 2.4.1
Reporter: Kevin Hoyt
All functions that take an FSSpec are depricated. These functions need to be replaced with FSRef based functions so Xerces can still be used once these functions become obsolete.
Also, I vote for removing support for Classic (Mac OS 9). If anyone really needs this, they can use an older release.
And, I'd say the same thing about supporting CodeWarrior.
These are the files that need to be updated.
MacOSPLatformUtils.cpp
MacOSPlatformUtils.hpp
MacOSUnicodeConverter.cpp
Is anyone working on updating the Mac specific code for Xerces???
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org
[jira] Closed: (XERCESC-1656) Project uses deprecated Mac OS X
functions and data types.
Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XERCESC-1656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Kolpackov closed XERCESC-1656.
------------------------------------
Resolution: Fixed
Fix Version/s: 3.0.1
Assuming this is fixed in the 3-series.
> Project uses deprecated Mac OS X functions and data types.
> ----------------------------------------------------------
>
> Key: XERCESC-1656
> URL: https://issues.apache.org/jira/browse/XERCESC-1656
> Project: Xerces-C++
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 2.7.0
> Environment: Mac OS X 10.4 with Xcode 2.4.1
> Reporter: Kevin Hoyt
> Assignee: James Berry
> Fix For: 3.0.1
>
>
> All functions that take an FSSpec are depricated. These functions need to be replaced with FSRef based functions so Xerces can still be used once these functions become obsolete.
> Also, I vote for removing support for Classic (Mac OS 9). If anyone really needs this, they can use an older release.
> And, I'd say the same thing about supporting CodeWarrior.
> These are the files that need to be updated.
> MacOSPLatformUtils.cpp
> MacOSPlatformUtils.hpp
> MacOSUnicodeConverter.cpp
> Is anyone working on updating the Mac specific code for Xerces???
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org
[jira] Commented: (XERCESC-1656) Project uses deprecated Mac OS X
functions and data types.
Posted by "James Berry (JIRA)" <xe...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XERCESC-1656?page=comments#action_12455482 ]
James Berry commented on XERCESC-1656:
--------------------------------------
Hi Kevin,
Thanks for the bug report.
I believe all the FSRef and FSSpec functions are gone from the code in the Xerces 3.0 trunk, since it relies on the Posix file manager code which is not Mac specific.
2.7 is another matter, which I haven't spent much time thinking about. As I recall, there's basically a code path through the MacPlatformUtils that doesn't need the FSSpec routines at all (so I believe it would be pretty easy to simply remove those routines).
I've been the maintainer of the Mac code for Xerces, but haven't been too involved lately, having my hands full elsewhere. If you put together patches and a list of files to delete, I'd be happy to look them over and commit them... I agree with your statements regarding CodeWarrior and Classic (once again, the 3.0 trunk has support for neither of these).
James
> Project uses deprecated Mac OS X functions and data types.
> ----------------------------------------------------------
>
> Key: XERCESC-1656
> URL: http://issues.apache.org/jira/browse/XERCESC-1656
> Project: Xerces-C++
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 2.7.0
> Environment: Mac OS X 10.4 with Xcode 2.4.1
> Reporter: Kevin Hoyt
>
> All functions that take an FSSpec are depricated. These functions need to be replaced with FSRef based functions so Xerces can still be used once these functions become obsolete.
> Also, I vote for removing support for Classic (Mac OS 9). If anyone really needs this, they can use an older release.
> And, I'd say the same thing about supporting CodeWarrior.
> These are the files that need to be updated.
> MacOSPLatformUtils.cpp
> MacOSPlatformUtils.hpp
> MacOSUnicodeConverter.cpp
> Is anyone working on updating the Mac specific code for Xerces???
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org
[jira] Assigned: (XERCESC-1656) Project uses deprecated Mac OS X
functions and data types.
Posted by "James Berry (JIRA)" <xe...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XERCESC-1656?page=all ]
James Berry reassigned XERCESC-1656:
------------------------------------
Assignee: James Berry
Assigning to me, though I may wait for a possible path from Kevin before doing anything with it.
> Project uses deprecated Mac OS X functions and data types.
> ----------------------------------------------------------
>
> Key: XERCESC-1656
> URL: http://issues.apache.org/jira/browse/XERCESC-1656
> Project: Xerces-C++
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 2.7.0
> Environment: Mac OS X 10.4 with Xcode 2.4.1
> Reporter: Kevin Hoyt
> Assigned To: James Berry
>
> All functions that take an FSSpec are depricated. These functions need to be replaced with FSRef based functions so Xerces can still be used once these functions become obsolete.
> Also, I vote for removing support for Classic (Mac OS 9). If anyone really needs this, they can use an older release.
> And, I'd say the same thing about supporting CodeWarrior.
> These are the files that need to be updated.
> MacOSPLatformUtils.cpp
> MacOSPlatformUtils.hpp
> MacOSUnicodeConverter.cpp
> Is anyone working on updating the Mac specific code for Xerces???
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org
[jira] Commented: (XERCESC-1656) Project uses deprecated Mac OS X
functions and data types.
Posted by "Kevin Hoyt (JIRA)" <xe...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XERCESC-1656?page=comments#action_12458253 ]
Kevin Hoyt commented on XERCESC-1656:
-------------------------------------
nevermind...
looks like this does the trick:
svn co http://svn.apache.org/repos/asf/xerces/c/trunk ./xerces_3_0
> Project uses deprecated Mac OS X functions and data types.
> ----------------------------------------------------------
>
> Key: XERCESC-1656
> URL: http://issues.apache.org/jira/browse/XERCESC-1656
> Project: Xerces-C++
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 2.7.0
> Environment: Mac OS X 10.4 with Xcode 2.4.1
> Reporter: Kevin Hoyt
> Assigned To: James Berry
>
> All functions that take an FSSpec are depricated. These functions need to be replaced with FSRef based functions so Xerces can still be used once these functions become obsolete.
> Also, I vote for removing support for Classic (Mac OS 9). If anyone really needs this, they can use an older release.
> And, I'd say the same thing about supporting CodeWarrior.
> These are the files that need to be updated.
> MacOSPLatformUtils.cpp
> MacOSPlatformUtils.hpp
> MacOSUnicodeConverter.cpp
> Is anyone working on updating the Mac specific code for Xerces???
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org
[jira] Commented: (XERCESC-1656) Project uses deprecated Mac OS X
functions and data types.
Posted by "Kevin Hoyt (JIRA)" <xe...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XERCESC-1656?page=comments#action_12458229 ]
Kevin Hoyt commented on XERCESC-1656:
-------------------------------------
How do I get the Xerces 3.0 code?
Is it available as a tarball?
I tried to look in the snapshot directory, but it could not be found...
> Project uses deprecated Mac OS X functions and data types.
> ----------------------------------------------------------
>
> Key: XERCESC-1656
> URL: http://issues.apache.org/jira/browse/XERCESC-1656
> Project: Xerces-C++
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 2.7.0
> Environment: Mac OS X 10.4 with Xcode 2.4.1
> Reporter: Kevin Hoyt
> Assigned To: James Berry
>
> All functions that take an FSSpec are depricated. These functions need to be replaced with FSRef based functions so Xerces can still be used once these functions become obsolete.
> Also, I vote for removing support for Classic (Mac OS 9). If anyone really needs this, they can use an older release.
> And, I'd say the same thing about supporting CodeWarrior.
> These are the files that need to be updated.
> MacOSPLatformUtils.cpp
> MacOSPlatformUtils.hpp
> MacOSUnicodeConverter.cpp
> Is anyone working on updating the Mac specific code for Xerces???
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org
[jira] Commented: (XERCESC-1656) Project uses deprecated Mac OS X
functions and data types.
Posted by "Kevin Hoyt (JIRA)" <xe...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XERCESC-1656?page=comments#action_12455501 ]
Kevin Hoyt commented on XERCESC-1656:
-------------------------------------
I'm actualy at v1.6 but that looks almost exactly the same as 2.7.
I did take a quick look at 3.0 and would really rather use the Posix file manager code... the less dependency we've got on Apple APIs the better... just a personal preference!
I'll see if I can figure out how to get 3.0 up and running. If that works out, I'll see what needs to be done to actually use it.
I'm also concerned about the transcoder. I think all I really had to do was replace the call that copies a C string to a Pascal string. However, pascal strings and associated functions aren't going to be around much longer. I'm just not sure what all is going on in there... my change looks pretty safe.
Do you have any idea when 3.0 will be ready for production use?
Based upon the plan:
"Xerces-C++ 3.0 - Targetted roughly for second half of 2005."
It should be any day now :-)
Based upon the comments in the source file... take a look at my e-mail address, maybe we can have a quick Sametime conversation about things that are covered by the Apple NDA...
> Project uses deprecated Mac OS X functions and data types.
> ----------------------------------------------------------
>
> Key: XERCESC-1656
> URL: http://issues.apache.org/jira/browse/XERCESC-1656
> Project: Xerces-C++
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 2.7.0
> Environment: Mac OS X 10.4 with Xcode 2.4.1
> Reporter: Kevin Hoyt
> Assigned To: James Berry
>
> All functions that take an FSSpec are depricated. These functions need to be replaced with FSRef based functions so Xerces can still be used once these functions become obsolete.
> Also, I vote for removing support for Classic (Mac OS 9). If anyone really needs this, they can use an older release.
> And, I'd say the same thing about supporting CodeWarrior.
> These are the files that need to be updated.
> MacOSPLatformUtils.cpp
> MacOSPlatformUtils.hpp
> MacOSUnicodeConverter.cpp
> Is anyone working on updating the Mac specific code for Xerces???
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org