History log of /haiku/src/preferences/mail/DNSQuery.cpp
Revision Date Author Comments
# 95080923 15-Aug-2022 Michael Brumbelow <mbrumbelow@mac.com>

Removed 'register' storage class compiler warnings

Change-Id: Iba89a9d0845bf7e816983f903281d33e273f6e35
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5558
Reviewed-by: X512 <danger_mail@list.ru>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# bdd02e0d 12-Jan-2017 Adrien Destugues <pulkomandy@pulkomandy.tk>

BString: rename SetCharAt to SetByteAt

Makes it clear that it operates on bytes, not unicode codepoints.
Thanks to mmlr for remembering me of this subtlety.


# 3eac8208 09-Jan-2017 Adrien Destugues <pulkomandy@pulkomandy.tk>

Remove BStringRef and users.

As discussed in 2008
(http://www.freelists.org/post/haiku-development/BString-on-GCC4,1),
this class was not efficient because of lack of inlining. Implement the
suggested solution of a SetCharAt method instead. Also add a CompareAt
which covers a specific use case in KeyboardLayout.cpp.

Adjust all places which were using this feature to safer APIs.

Also fixes a copypaste error in FormattingConventions.cpp.


# 73ad2473 05-Nov-2013 Pawel Dziepak <pdziepak@quarnos.org>

Remove remaining unnecessary 'volatile' qualifiers


# 4b7e2196 03-Oct-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Remove /boot/common for good

* Remove support for the "common" installation location from packagefs,
package kit, package daemon, package managers.
* Rename the B_COMMON_*_DIRECTORY constants referring to writable
directories to B_SYSTEM_*_DIRECTORY.
* Remove/adjust the use of various B_COMMON_*_DIRECTORY constants.
I'm sure some occurrence still remain. They can be adjusted when the
remaining B_COMMON_*_DIRECTORY constants are removed.


# 4c1efaad 10-May-2013 Jérôme Duval <jerome.duval@gmail.com>

MailPreferences: fixes 64 bit warnings


# 37f85698 11-Mar-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

- Fix race condition when start watching a mailbox and directly afterwards stop watching it. A BLooper was not suitable to synchronise start and stop watching. Wait till the IDLE command is send before returning the SyncAndStartWatchingMailbox method now. That ensures that a later StopWatchingMailbox call find the maibox in an expected watching state.

There is one thread (BLooper) to handle new commands and one watcher thread which is just listening at the server port for updates. The race condition occurred for example when a sync/watching and a fetch body message are send to the looper. The sync message just triggered the IDLE command in the watcher thread. In the meantime the fetch body command send a DONE command, because the IDLE command has not be send at this time the watcher keeps watching.

- fix int32 -> ssize_t thanks Axel and Stippi
- clean up



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40919 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0a3b9e75 10-Mar-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Fix spelling. Thanks Marcus.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40899 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c3a1b99c 10-Mar-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Fix gcc2 build.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40896 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6467e4b1 09-Mar-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Fix reading of compressed strings. This fixes #7266. Some clean up.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40895 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3e3735a8 08-Mar-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Add some error checks. Fix memory leak in mx record list. Remove debug translation.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40880 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c8057498 04-Mar-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

One more sanity check.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40810 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b5d27248 03-Mar-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Add a safety check. Should helps with #7266.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40798 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d26fee1a 08-Feb-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Switch to the new MailProtocol and account API. Lot of other smaller adaption to the new mail server.

Remove button in the pref app removes the complete account because we don't have separate chains any more. The pref app stays a mess, needs some layout love! (I did it even look worse...)

The new account/mail settings classes know if they have been changed but the current pref panel does not use this feature very well. It always mark the settings as modified when the settings view is displayed or more precise when the settings view is detached from the pref window, this could be optimized. The according mail protocol is completely restarted when their settings changed.

Some system filters are now directly integrated in the mail protocols. Hopefully make things easier to understand.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40398 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 26747978 29-Dec-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Various build fixes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40033 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f2758b75 29-Dec-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Patch by Mike Roll: localize Mail preferences.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40029 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5a5cebea 08-Aug-2010 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Forgot to commit this some time ago: Disable debug printfs()


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37975 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6d17af7e 27-Mar-2010 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added some error checking to DNSQuery::GetDNSServers(), since it could fail.
Temporarily enabled debug to help with ticket #5655.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35970 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 24957bd4 18-Mar-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Fixed last places where resolv.conf was still expected under /etc, UserGuide included. Fixed authentication misspelling

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35898 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4fba3522 11-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Removed src/kits/tracker/OpenHashTable.h. The shared version in
headers/private/shared is newer, though with small interface changes.
* Removed the unnecessary Debug.h include in
headers/private/shared/ObjectList.h.
* Adjusted sources using these headers, mostly by adding missing includes.
* Lots of automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30123 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ed6b5cc5 06-Apr-2009 Clemens Zeidler <clemens.zeidler@googlemail.com>

Simplify the mail configuration.
- Introduce a database of known providers.
- Guess the mx server if the provider is not known.
- Guess default setting.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29969 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 73ad2473e7874b3702cf5b0fdf4c81b747812ed9 05-Nov-2013 Pawel Dziepak <pdziepak@quarnos.org>

Remove remaining unnecessary 'volatile' qualifiers


# 4b7e219688450694efc9d1890f83f816758c16d3 03-Oct-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Remove /boot/common for good

* Remove support for the "common" installation location from packagefs,
package kit, package daemon, package managers.
* Rename the B_COMMON_*_DIRECTORY constants referring to writable
directories to B_SYSTEM_*_DIRECTORY.
* Remove/adjust the use of various B_COMMON_*_DIRECTORY constants.
I'm sure some occurrence still remain. They can be adjusted when the
remaining B_COMMON_*_DIRECTORY constants are removed.


# 4c1efaad9c318c63e71653392fdb595f414696b0 10-May-2013 Jérôme Duval <jerome.duval@gmail.com>

MailPreferences: fixes 64 bit warnings


# 37f85698cf1a799e6f8857928b61ef7fb2de3eba 11-Mar-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

- Fix race condition when start watching a mailbox and directly afterwards stop watching it. A BLooper was not suitable to synchronise start and stop watching. Wait till the IDLE command is send before returning the SyncAndStartWatchingMailbox method now. That ensures that a later StopWatchingMailbox call find the maibox in an expected watching state.

There is one thread (BLooper) to handle new commands and one watcher thread which is just listening at the server port for updates. The race condition occurred for example when a sync/watching and a fetch body message are send to the looper. The sync message just triggered the IDLE command in the watcher thread. In the meantime the fetch body command send a DONE command, because the IDLE command has not be send at this time the watcher keeps watching.

- fix int32 -> ssize_t thanks Axel and Stippi
- clean up



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40919 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0a3b9e75e0e20377dc4808b2079584cfa9e4f72e 10-Mar-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Fix spelling. Thanks Marcus.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40899 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c3a1b99caf6e3df151fb942043efefbcb42ad40d 10-Mar-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Fix gcc2 build.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40896 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6467e4b16db3b7ea20ad588c6977a33bc14092e6 09-Mar-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Fix reading of compressed strings. This fixes #7266. Some clean up.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40895 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3e3735a84c5ac272b65cc53c0db718d933ac8d6c 08-Mar-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Add some error checks. Fix memory leak in mx record list. Remove debug translation.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40880 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c8057498b34db35de195e36239009dbe2bf1b0d7 04-Mar-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

One more sanity check.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40810 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b5d2724841134af15c6e9045c6a426307bcd2d1b 03-Mar-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Add a safety check. Should helps with #7266.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40798 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d26fee1afb9b3f3fdee2ca569b4944c3ad377d39 08-Feb-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Switch to the new MailProtocol and account API. Lot of other smaller adaption to the new mail server.

Remove button in the pref app removes the complete account because we don't have separate chains any more. The pref app stays a mess, needs some layout love! (I did it even look worse...)

The new account/mail settings classes know if they have been changed but the current pref panel does not use this feature very well. It always mark the settings as modified when the settings view is displayed or more precise when the settings view is detached from the pref window, this could be optimized. The according mail protocol is completely restarted when their settings changed.

Some system filters are now directly integrated in the mail protocols. Hopefully make things easier to understand.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40398 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 267479782d9bfb61695ace95cc46e594186bdfd0 29-Dec-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Various build fixes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40033 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f2758b750b786135b3e039fabaf335b9e7754be8 29-Dec-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Patch by Mike Roll: localize Mail preferences.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40029 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5a5cebea3ded5d47c39db0e829d146f4a1a3a675 08-Aug-2010 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Forgot to commit this some time ago: Disable debug printfs()


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37975 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6d17af7e5e63481cab2e4d73f03c0813bab18da6 27-Mar-2010 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added some error checking to DNSQuery::GetDNSServers(), since it could fail.
Temporarily enabled debug to help with ticket #5655.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35970 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 24957bd499550082300fb1f9aa859881cf62c27b 18-Mar-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Fixed last places where resolv.conf was still expected under /etc, UserGuide included. Fixed authentication misspelling

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35898 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4fba3522e02906506b6c713ef5b57d72e9458fef 11-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Removed src/kits/tracker/OpenHashTable.h. The shared version in
headers/private/shared is newer, though with small interface changes.
* Removed the unnecessary Debug.h include in
headers/private/shared/ObjectList.h.
* Adjusted sources using these headers, mostly by adding missing includes.
* Lots of automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30123 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ed6b5cc571c142a5a5121998dee270a24e48b01e 06-Apr-2009 Clemens Zeidler <clemens.zeidler@googlemail.com>

Simplify the mail configuration.
- Introduce a database of known providers.
- Guess the mx server if the provider is not known.
- Guess default setting.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29969 a95241bf-73f2-0310-859d-f6bbb57e9c96