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

Stage 9 of clang compiler warning patches. #31

Merged
merged 2 commits into from
Nov 4, 2015

Conversation

ethoms
Copy link
Contributor

@ethoms ethoms commented Oct 27, 2015

Stage 9:

These fix build errors on FreeBSD and/or Clang and/or libobjc2.

They address the following issues:
(i) Runtime compatability logic in #if statements needs support for GNUSTEP_RUNTIME.
(ii) Fix build error by setting attribute for root class in EOFault.h.
(iii) Removed need for EXPOSE_?_IVARS in NGBundleManager.m by using isLoaded instead of codeLoaded.
(iv) Removed need for EXPOSE
?_IVARS in NSException+misc.h by removing the bad method 'setReason'. All uses of this method have been removed by setting the exceptions' 'reason' at init time, as it should be. An exceptions' 'reason' should be immutable, thus why there is no safe setter for it in NSException.

Setting an ivar is not acceptable, and will be impossible in future versions of GNUstep Runtime.

extrafu added a commit that referenced this pull request Nov 4, 2015
Stage 9 of clang compiler warning patches.
@extrafu extrafu merged commit 5d8819b into Alinto:master Nov 4, 2015
@ethoms ethoms deleted the clang-warnings-stage9 branch November 27, 2015 04:47
the-nic added a commit to the-nic/sope that referenced this pull request May 11, 2020
Implement support for SMTPS. Remove some unused initialization
functions and add one expecting NSURL. From this url we can extract
the scheme: smtp:// or smtps://, whereas the former is unencrypted SMTP
and the latter refers to smtp in SSL/TLS wrapper mode (usually port 465).

As with IMAPS and STARTTLS for sieve, openssl or GnuTLS need to be present
for this to work.

Fixes Alinto#31
the-nic added a commit to the-nic/sope that referenced this pull request May 11, 2020
Following the implementations on IMAP and Sieve, implement STARTTLS
also for SMTP: A new TLS socket is built on the already open socket
which performs all TLS related actions. The SMTP client then
only has to talk on the TLS socket.

Note that after issuing STARTTLS command, we have to re-request the
supported server capabilities (i.e. send EHLO again and parse the
server response), because the announced AUTH mechanism may change.

Fixes Alinto#31
the-nic added a commit to the-nic/sope that referenced this pull request May 11, 2020
Implement support for SMTPS. Remove some unused initialization
functions and add one expecting NSURL. From this url we can extract
the scheme: smtp:// or smtps://, whereas the former is unencrypted SMTP
and the latter refers to smtp in SSL/TLS wrapper mode (usually port 465).

As with IMAPS and STARTTLS for sieve, openssl or GnuTLS need to be present
for this to work.

Fixes Alinto#31
the-nic added a commit to the-nic/sope that referenced this pull request May 11, 2020
Following the implementations on IMAP and Sieve, implement STARTTLS
also for SMTP: A new TLS socket is built on the already open socket
which performs all TLS related actions. The SMTP client then
only has to talk on the TLS socket.

Note that after issuing STARTTLS command, we have to re-request the
supported server capabilities (i.e. send EHLO again and parse the
server response), because the announced AUTH mechanism may change.

Fixes Alinto#31
the-nic added a commit to the-nic/sope that referenced this pull request May 12, 2020
Implement support for SMTPS. Remove some unused initialization
functions and add one expecting NSURL. From this url we can extract
the scheme: smtp:// or smtps://, whereas the former is unencrypted SMTP
and the latter refers to smtp in SSL/TLS wrapper mode (usually port 465).

As with IMAPS and STARTTLS for sieve, openssl or GnuTLS need to be present
for this to work.

Fixes Alinto#31
the-nic added a commit to the-nic/sope that referenced this pull request May 12, 2020
Following the implementations on IMAP and Sieve, implement STARTTLS
also for SMTP: A new TLS socket is built on the already open socket
which performs all TLS related actions. The SMTP client then
only has to talk on the TLS socket.

Note that after issuing STARTTLS command, we have to re-request the
supported server capabilities (i.e. send EHLO again and parse the
server response), because the announced AUTH mechanism may change.

Fixes Alinto#31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants