Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated code #4426

Closed
aleks-f opened this issue Jan 30, 2024 · 2 comments · Fixed by #4551
Closed

Remove deprecated code #4426

aleks-f opened this issue Jan 30, 2024 · 2 comments · Fixed by #4551
Assignees
Labels

Comments

@aleks-f
Copy link
Member

aleks-f commented Jan 30, 2024

All deprecated code should be removed.

List of deprecated items:

Data:

  • SQLParser::parseSQLString
  • RecordSet::totalRowCount
  • SQLChannel::PROP_ASYNC

Foundation:

  • AbstractObserver::accepts(Notification* pNf, const char* pName)
  • DirectorySeparator::operator++ (postfix operator)
  • Dynamic::Var::empty
  • DynamicAny
  • Event::Event(bool autoReset)
  • FIFOEvent
  • FIFOStrategy
  • HashFunction
  • HashStatistic
  • HashTable
  • NObserver::accepts(Notification* pNf, const char* pName)
  • NumericString::uIntToStr
  • Observer::accepts(Notification* pNf, const char* pName)
  • SimpleHashTable

Net:

  • HTTPResponse::HTTP_USEPROXY
  • HTTPResponse::HTTP_REQUESTENTITYTOOLARGE
  • HTTPResponse::HTTP_REQUESTURITOOLONG
  • HTTPResponse::HTTP_UNSUPPORTEDMEDIATYPE
  • NetworkInterface::NetworkInterfaceList
  • Socket::select

Applications can define POCO_SILENCE_DEPRECATED to disable Poco deprecation warnings if needed.

@aleks-f aleks-f added breaking A breaking change release labels Jan 30, 2024
@aleks-f aleks-f added this to the Release 1.14.0 milestone Jan 30, 2024
@aleks-f aleks-f added this to 1.14 Jan 30, 2024
@matejk
Copy link
Contributor

matejk commented Jan 30, 2024

Does everything labelled with @deprecated or [[deprecated]] qualify for removal?

@obiltschnig
Copy link
Member

Maybe, as a first step, change everything marked //@ deprecated to [[deprecated]] so that everyone has a chance to fix their code.

@matejk matejk moved this to In Progress in 1.14 Feb 1, 2024
matejk added a commit that referenced this issue Jul 12, 2024
matejk added a commit that referenced this issue Jul 15, 2024
matejk added a commit that referenced this issue Jul 15, 2024
matejk added a commit that referenced this issue Jul 25, 2024
matejk added a commit that referenced this issue Jul 25, 2024
matejk added a commit that referenced this issue Jul 25, 2024
matejk added a commit that referenced this issue Jul 25, 2024
matejk added a commit that referenced this issue Jul 29, 2024
…l usage of deprecated functions (#4551)

* enh(poco): Replace deprecated comments with C++ deprecated attribute.

* enh(Poco): Replace some deprecated functionality in Poco sources. (#4426)

* enh(Poco): Replace more deprecated functionality in Poco sources. (#4426)

* fix(CMake): Variable BUILD_SHARED_LIBS must be defined properly to create valid binaries.

* enh: Code improvements done while resolving deprecated functionality (#4426)

* Un-deprecate LocalDateTme (#4426)

* enh(Poco): Replace usage of deprecated functionality with other functions/classes (#4426)

* chore(SSL): temporarily un-deprecate SSL-related functionality (#4426)

* chore(SSL): temporarily un-deprecate old MongoDB protocol functionality (#4426)

* enh(Poco): Minor Hash improvements (#4426)

* enh(Foundation): Compile deprecated hash tests only when POCO_TEST_DEPRECATED is enabled (#4426)

* enh(Net): Compile deprecated Socket::select functionality only when POCO_TEST_DEPRECATED is enabled (#4426)

* enh(Bonjour): Replace deprecated Socket::select with PollSet (#4426)

* enh(Poco): Introduce POCO_DEPRECATED macro to have the ability to disable deprecation warnings in applications (#4426)

* test(ODBC): add few asserts to testStoredProcedureDynamicVar

* fix(ODBC): rename DynamicAny -> DynamicVar in tests

* fix(ODBC): make Dignostics static members inline to prevent explicit instantiation warnings on windows

---------

Co-authored-by: Alex Fabijanic <[email protected]>
@github-project-automation github-project-automation bot moved this from In Progress to Done in 1.14 Jul 29, 2024
matejk added a commit that referenced this issue Jul 29, 2024
…lve internal usage of deprecated functions (#4551)

* enh(poco): Replace deprecated comments with C++ deprecated attribute.

* enh(Poco): Replace some deprecated functionality in Poco sources. (#4426)

* enh(Poco): Replace more deprecated functionality in Poco sources. (#4426)

* fix(CMake): Variable BUILD_SHARED_LIBS must be defined properly to create valid binaries.

* enh: Code improvements done while resolving deprecated functionality (#4426)

* Un-deprecate LocalDateTme (#4426)

* enh(Poco): Replace usage of deprecated functionality with other functions/classes (#4426)

* chore(SSL): temporarily un-deprecate SSL-related functionality (#4426)

* chore(SSL): temporarily un-deprecate old MongoDB protocol functionality (#4426)

* enh(Poco): Minor Hash improvements (#4426)

* enh(Foundation): Compile deprecated hash tests only when POCO_TEST_DEPRECATED is enabled (#4426)

* enh(Net): Compile deprecated Socket::select functionality only when POCO_TEST_DEPRECATED is enabled (#4426)

* enh(Bonjour): Replace deprecated Socket::select with PollSet (#4426)

* enh(Poco): Introduce POCO_DEPRECATED macro to have the ability to disable deprecation warnings in applications (#4426)

* test(ODBC): add few asserts to testStoredProcedureDynamicVar

* fix(ODBC): rename DynamicAny -> DynamicVar in tests

* fix(ODBC): make Dignostics static members inline to prevent explicit instantiation warnings on windows

---------

Co-authored-by: Alex Fabijanic <[email protected]>
@matejk matejk added the fixed label Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
3 participants