Home
last modified time | relevance | path

Searched hist:"4 e7b0f82" (Results 1 – 13 of 13) sorted by relevance

/aoo42x/main/oox/source/helper/
H A Dopenssl_wrapper.cxx4e7b0f82 Sat Mar 02 16:47:05 UTC 2024 Damjan Jovanovic <damjan@apache.org> Implement the (MS Office 2010+) OOXML "Agile encryption" support, so that we
can open such password-protected OOXML files.

Adds all the Agile encryption XML tokens and namespaces, and parses the XML
from EncryptionInfo stream, gets OpenOffice to recognize the file is encrypted
and ask for a password, and successfully decrypts the file if password is
correct.

Also a number of other fixes and improvements:
- Sorted main/oox/source/token/tokens.txt so it's in alphabetical order
(wrong order might have broken certain tokens?).
- Refactored how OOXML encryption is generally handled. It's now in its
own file.
- Added logging to the FilterDetect class. It logs to the office-wide default
logger.
- Added a flush() method to the BinaryXOutputStream class.
- Changed FilterDetect to use XMultiComponentFactory and XComponentContext
instead of the deprecated XMultiServiceFactory.
- Error handling was generally improved.
- Exception safety and some memory safety (::std::vector instead of new[])
in all the new code. Memory leaks should not be possible.

Much of the code involved in the decryption was ported from the excellent
Apache POI project, so it's been credited in our NOTICE file.

Patch by: me

(cherry picked from commit 506fa58b1970084a0caacb50b3a805e469be4756)
H A Dbinaryoutputstream.cxxdiff 4e7b0f82 Sat Mar 02 16:47:05 UTC 2024 Damjan Jovanovic <damjan@apache.org> Implement the (MS Office 2010+) OOXML "Agile encryption" support, so that we
can open such password-protected OOXML files.

Adds all the Agile encryption XML tokens and namespaces, and parses the XML
from EncryptionInfo stream, gets OpenOffice to recognize the file is encrypted
and ask for a password, and successfully decrypts the file if password is
correct.

Also a number of other fixes and improvements:
- Sorted main/oox/source/token/tokens.txt so it's in alphabetical order
(wrong order might have broken certain tokens?).
- Refactored how OOXML encryption is generally handled. It's now in its
own file.
- Added logging to the FilterDetect class. It logs to the office-wide default
logger.
- Added a flush() method to the BinaryXOutputStream class.
- Changed FilterDetect to use XMultiComponentFactory and XComponentContext
instead of the deprecated XMultiServiceFactory.
- Error handling was generally improved.
- Exception safety and some memory safety (::std::vector instead of new[])
in all the new code. Memory leaks should not be possible.

Much of the code involved in the decryption was ported from the excellent
Apache POI project, so it's been credited in our NOTICE file.

Patch by: me

(cherry picked from commit 506fa58b1970084a0caacb50b3a805e469be4756)
/aoo42x/main/oox/inc/oox/core/
H A Dencryption.hxx4e7b0f82 Sat Mar 02 16:47:05 UTC 2024 Damjan Jovanovic <damjan@apache.org> Implement the (MS Office 2010+) OOXML "Agile encryption" support, so that we
can open such password-protected OOXML files.

Adds all the Agile encryption XML tokens and namespaces, and parses the XML
from EncryptionInfo stream, gets OpenOffice to recognize the file is encrypted
and ask for a password, and successfully decrypts the file if password is
correct.

Also a number of other fixes and improvements:
- Sorted main/oox/source/token/tokens.txt so it's in alphabetical order
(wrong order might have broken certain tokens?).
- Refactored how OOXML encryption is generally handled. It's now in its
own file.
- Added logging to the FilterDetect class. It logs to the office-wide default
logger.
- Added a flush() method to the BinaryXOutputStream class.
- Changed FilterDetect to use XMultiComponentFactory and XComponentContext
instead of the deprecated XMultiServiceFactory.
- Error handling was generally improved.
- Exception safety and some memory safety (::std::vector instead of new[])
in all the new code. Memory leaks should not be possible.

Much of the code involved in the decryption was ported from the excellent
Apache POI project, so it's been credited in our NOTICE file.

Patch by: me

(cherry picked from commit 506fa58b1970084a0caacb50b3a805e469be4756)
H A Dfilterdetect.hxxdiff 4e7b0f82 Sat Mar 02 16:47:05 UTC 2024 Damjan Jovanovic <damjan@apache.org> Implement the (MS Office 2010+) OOXML "Agile encryption" support, so that we
can open such password-protected OOXML files.

Adds all the Agile encryption XML tokens and namespaces, and parses the XML
from EncryptionInfo stream, gets OpenOffice to recognize the file is encrypted
and ask for a password, and successfully decrypts the file if password is
correct.

Also a number of other fixes and improvements:
- Sorted main/oox/source/token/tokens.txt so it's in alphabetical order
(wrong order might have broken certain tokens?).
- Refactored how OOXML encryption is generally handled. It's now in its
own file.
- Added logging to the FilterDetect class. It logs to the office-wide default
logger.
- Added a flush() method to the BinaryXOutputStream class.
- Changed FilterDetect to use XMultiComponentFactory and XComponentContext
instead of the deprecated XMultiServiceFactory.
- Error handling was generally improved.
- Exception safety and some memory safety (::std::vector instead of new[])
in all the new code. Memory leaks should not be possible.

Much of the code involved in the decryption was ported from the excellent
Apache POI project, so it's been credited in our NOTICE file.

Patch by: me

(cherry picked from commit 506fa58b1970084a0caacb50b3a805e469be4756)
/aoo42x/main/oox/inc/oox/helper/
H A Dopenssl_wrapper.hxx4e7b0f82 Sat Mar 02 16:47:05 UTC 2024 Damjan Jovanovic <damjan@apache.org> Implement the (MS Office 2010+) OOXML "Agile encryption" support, so that we
can open such password-protected OOXML files.

Adds all the Agile encryption XML tokens and namespaces, and parses the XML
from EncryptionInfo stream, gets OpenOffice to recognize the file is encrypted
and ask for a password, and successfully decrypts the file if password is
correct.

Also a number of other fixes and improvements:
- Sorted main/oox/source/token/tokens.txt so it's in alphabetical order
(wrong order might have broken certain tokens?).
- Refactored how OOXML encryption is generally handled. It's now in its
own file.
- Added logging to the FilterDetect class. It logs to the office-wide default
logger.
- Added a flush() method to the BinaryXOutputStream class.
- Changed FilterDetect to use XMultiComponentFactory and XComponentContext
instead of the deprecated XMultiServiceFactory.
- Error handling was generally improved.
- Exception safety and some memory safety (::std::vector instead of new[])
in all the new code. Memory leaks should not be possible.

Much of the code involved in the decryption was ported from the excellent
Apache POI project, so it's been credited in our NOTICE file.

Patch by: me

(cherry picked from commit 506fa58b1970084a0caacb50b3a805e469be4756)
H A Dbinaryoutputstream.hxxdiff 4e7b0f82 Sat Mar 02 16:47:05 UTC 2024 Damjan Jovanovic <damjan@apache.org> Implement the (MS Office 2010+) OOXML "Agile encryption" support, so that we
can open such password-protected OOXML files.

Adds all the Agile encryption XML tokens and namespaces, and parses the XML
from EncryptionInfo stream, gets OpenOffice to recognize the file is encrypted
and ask for a password, and successfully decrypts the file if password is
correct.

Also a number of other fixes and improvements:
- Sorted main/oox/source/token/tokens.txt so it's in alphabetical order
(wrong order might have broken certain tokens?).
- Refactored how OOXML encryption is generally handled. It's now in its
own file.
- Added logging to the FilterDetect class. It logs to the office-wide default
logger.
- Added a flush() method to the BinaryXOutputStream class.
- Changed FilterDetect to use XMultiComponentFactory and XComponentContext
instead of the deprecated XMultiServiceFactory.
- Error handling was generally improved.
- Exception safety and some memory safety (::std::vector instead of new[])
in all the new code. Memory leaks should not be possible.

Much of the code involved in the decryption was ported from the excellent
Apache POI project, so it's been credited in our NOTICE file.

Patch by: me

(cherry picked from commit 506fa58b1970084a0caacb50b3a805e469be4756)
/aoo42x/main/oox/source/core/
H A Dencryption.cxx4e7b0f82 Sat Mar 02 16:47:05 UTC 2024 Damjan Jovanovic <damjan@apache.org> Implement the (MS Office 2010+) OOXML "Agile encryption" support, so that we
can open such password-protected OOXML files.

Adds all the Agile encryption XML tokens and namespaces, and parses the XML
from EncryptionInfo stream, gets OpenOffice to recognize the file is encrypted
and ask for a password, and successfully decrypts the file if password is
correct.

Also a number of other fixes and improvements:
- Sorted main/oox/source/token/tokens.txt so it's in alphabetical order
(wrong order might have broken certain tokens?).
- Refactored how OOXML encryption is generally handled. It's now in its
own file.
- Added logging to the FilterDetect class. It logs to the office-wide default
logger.
- Added a flush() method to the BinaryXOutputStream class.
- Changed FilterDetect to use XMultiComponentFactory and XComponentContext
instead of the deprecated XMultiServiceFactory.
- Error handling was generally improved.
- Exception safety and some memory safety (::std::vector instead of new[])
in all the new code. Memory leaks should not be possible.

Much of the code involved in the decryption was ported from the excellent
Apache POI project, so it's been credited in our NOTICE file.

Patch by: me

(cherry picked from commit 506fa58b1970084a0caacb50b3a805e469be4756)
H A Dfilterdetect.cxxdiff 4e7b0f82 Sat Mar 02 16:47:05 UTC 2024 Damjan Jovanovic <damjan@apache.org> Implement the (MS Office 2010+) OOXML "Agile encryption" support, so that we
can open such password-protected OOXML files.

Adds all the Agile encryption XML tokens and namespaces, and parses the XML
from EncryptionInfo stream, gets OpenOffice to recognize the file is encrypted
and ask for a password, and successfully decrypts the file if password is
correct.

Also a number of other fixes and improvements:
- Sorted main/oox/source/token/tokens.txt so it's in alphabetical order
(wrong order might have broken certain tokens?).
- Refactored how OOXML encryption is generally handled. It's now in its
own file.
- Added logging to the FilterDetect class. It logs to the office-wide default
logger.
- Added a flush() method to the BinaryXOutputStream class.
- Changed FilterDetect to use XMultiComponentFactory and XComponentContext
instead of the deprecated XMultiServiceFactory.
- Error handling was generally improved.
- Exception safety and some memory safety (::std::vector instead of new[])
in all the new code. Memory leaks should not be possible.

Much of the code involved in the decryption was ported from the excellent
Apache POI project, so it's been credited in our NOTICE file.

Patch by: me

(cherry picked from commit 506fa58b1970084a0caacb50b3a805e469be4756)
/aoo42x/main/oox/
H A DLibrary_oox.mkdiff 4e7b0f82 Sat Mar 02 16:47:05 UTC 2024 Damjan Jovanovic <damjan@apache.org> Implement the (MS Office 2010+) OOXML "Agile encryption" support, so that we
can open such password-protected OOXML files.

Adds all the Agile encryption XML tokens and namespaces, and parses the XML
from EncryptionInfo stream, gets OpenOffice to recognize the file is encrypted
and ask for a password, and successfully decrypts the file if password is
correct.

Also a number of other fixes and improvements:
- Sorted main/oox/source/token/tokens.txt so it's in alphabetical order
(wrong order might have broken certain tokens?).
- Refactored how OOXML encryption is generally handled. It's now in its
own file.
- Added logging to the FilterDetect class. It logs to the office-wide default
logger.
- Added a flush() method to the BinaryXOutputStream class.
- Changed FilterDetect to use XMultiComponentFactory and XComponentContext
instead of the deprecated XMultiServiceFactory.
- Error handling was generally improved.
- Exception safety and some memory safety (::std::vector instead of new[])
in all the new code. Memory leaks should not be possible.

Much of the code involved in the decryption was ported from the excellent
Apache POI project, so it's been credited in our NOTICE file.

Patch by: me

(cherry picked from commit 506fa58b1970084a0caacb50b3a805e469be4756)
/aoo42x/main/oox/source/token/
H A Dtokens.txtdiff 4e7b0f82 Sat Mar 02 16:47:05 UTC 2024 Damjan Jovanovic <damjan@apache.org> Implement the (MS Office 2010+) OOXML "Agile encryption" support, so that we
can open such password-protected OOXML files.

Adds all the Agile encryption XML tokens and namespaces, and parses the XML
from EncryptionInfo stream, gets OpenOffice to recognize the file is encrypted
and ask for a password, and successfully decrypts the file if password is
correct.

Also a number of other fixes and improvements:
- Sorted main/oox/source/token/tokens.txt so it's in alphabetical order
(wrong order might have broken certain tokens?).
- Refactored how OOXML encryption is generally handled. It's now in its
own file.
- Added logging to the FilterDetect class. It logs to the office-wide default
logger.
- Added a flush() method to the BinaryXOutputStream class.
- Changed FilterDetect to use XMultiComponentFactory and XComponentContext
instead of the deprecated XMultiServiceFactory.
- Error handling was generally improved.
- Exception safety and some memory safety (::std::vector instead of new[])
in all the new code. Memory leaks should not be possible.

Much of the code involved in the decryption was ported from the excellent
Apache POI project, so it's been credited in our NOTICE file.

Patch by: me

(cherry picked from commit 506fa58b1970084a0caacb50b3a805e469be4756)
H A Dnamespaces.hxx.taildiff 4e7b0f82 Sat Mar 02 16:47:05 UTC 2024 Damjan Jovanovic <damjan@apache.org> Implement the (MS Office 2010+) OOXML "Agile encryption" support, so that we
can open such password-protected OOXML files.

Adds all the Agile encryption XML tokens and namespaces, and parses the XML
from EncryptionInfo stream, gets OpenOffice to recognize the file is encrypted
and ask for a password, and successfully decrypts the file if password is
correct.

Also a number of other fixes and improvements:
- Sorted main/oox/source/token/tokens.txt so it's in alphabetical order
(wrong order might have broken certain tokens?).
- Refactored how OOXML encryption is generally handled. It's now in its
own file.
- Added logging to the FilterDetect class. It logs to the office-wide default
logger.
- Added a flush() method to the BinaryXOutputStream class.
- Changed FilterDetect to use XMultiComponentFactory and XComponentContext
instead of the deprecated XMultiServiceFactory.
- Error handling was generally improved.
- Exception safety and some memory safety (::std::vector instead of new[])
in all the new code. Memory leaks should not be possible.

Much of the code involved in the decryption was ported from the excellent
Apache POI project, so it's been credited in our NOTICE file.

Patch by: me

(cherry picked from commit 506fa58b1970084a0caacb50b3a805e469be4756)
H A Dnamespaces.txtdiff 4e7b0f82 Sat Mar 02 16:47:05 UTC 2024 Damjan Jovanovic <damjan@apache.org> Implement the (MS Office 2010+) OOXML "Agile encryption" support, so that we
can open such password-protected OOXML files.

Adds all the Agile encryption XML tokens and namespaces, and parses the XML
from EncryptionInfo stream, gets OpenOffice to recognize the file is encrypted
and ask for a password, and successfully decrypts the file if password is
correct.

Also a number of other fixes and improvements:
- Sorted main/oox/source/token/tokens.txt so it's in alphabetical order
(wrong order might have broken certain tokens?).
- Refactored how OOXML encryption is generally handled. It's now in its
own file.
- Added logging to the FilterDetect class. It logs to the office-wide default
logger.
- Added a flush() method to the BinaryXOutputStream class.
- Changed FilterDetect to use XMultiComponentFactory and XComponentContext
instead of the deprecated XMultiServiceFactory.
- Error handling was generally improved.
- Exception safety and some memory safety (::std::vector instead of new[])
in all the new code. Memory leaks should not be possible.

Much of the code involved in the decryption was ported from the excellent
Apache POI project, so it's been credited in our NOTICE file.

Patch by: me

(cherry picked from commit 506fa58b1970084a0caacb50b3a805e469be4756)
/aoo42x/main/
H A DNOTICEdiff 4e7b0f82 Sat Mar 02 16:47:05 UTC 2024 Damjan Jovanovic <damjan@apache.org> Implement the (MS Office 2010+) OOXML "Agile encryption" support, so that we
can open such password-protected OOXML files.

Adds all the Agile encryption XML tokens and namespaces, and parses the XML
from EncryptionInfo stream, gets OpenOffice to recognize the file is encrypted
and ask for a password, and successfully decrypts the file if password is
correct.

Also a number of other fixes and improvements:
- Sorted main/oox/source/token/tokens.txt so it's in alphabetical order
(wrong order might have broken certain tokens?).
- Refactored how OOXML encryption is generally handled. It's now in its
own file.
- Added logging to the FilterDetect class. It logs to the office-wide default
logger.
- Added a flush() method to the BinaryXOutputStream class.
- Changed FilterDetect to use XMultiComponentFactory and XComponentContext
instead of the deprecated XMultiServiceFactory.
- Error handling was generally improved.
- Exception safety and some memory safety (::std::vector instead of new[])
in all the new code. Memory leaks should not be possible.

Much of the code involved in the decryption was ported from the excellent
Apache POI project, so it's been credited in our NOTICE file.

Patch by: me

(cherry picked from commit 506fa58b1970084a0caacb50b3a805e469be4756)

Completed in 84 milliseconds