Commit Graph

42 Commits

Author SHA1 Message Date
Axel Dörfler
ca13bd31a7 * The Deskbar tray icon menu "Check Mail" and the status window "Check Now" button
are now only enabled if there are any inbound accounts.
* BMailSettings::StatusWindowFrame() now returns some useful defaults.
* Minor cleanup.
* The MDR kit needs some serious overhaul before it can be part of R1.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-22 00:15:17 +00:00
Axel Dörfler
b5937fc6e6 The Message-Id field now gets a default hostname added in case there is none set in the system.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-10 12:33:33 +00:00
Ingo Weinhold
eb9b19800b Fixed gcc 4(.1.2) build problems.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-04 05:00:40 +00:00
DarkWyrm
09ffe40f08 Remove stray carriage returns.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-02 17:50:45 +00:00
DarkWyrm
48a8aa4985 More font sensitivity tweaks
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 23:25:36 +00:00
DarkWyrm
24b82945f5 Capitalization fixes - HIG compliant now :^)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 22:41:24 +00:00
Ryan Leavengood
a26cf893d0 This removes some of the accidental submissions from my last commit.
For those wondering "mark_as" is the directory for the MarkAsRead and MarkAsNew
Tracker add-ons I'm planning to add (for email.) If anyone is violently 
opposed to this idea, speak now.

The WorkspacesLayer change was mostly an update to existing and ifdef 0'd
code so it would compile under ifdef 1. I left those changes and just set the
ifdef back to 0 here.

The other changes below were debugging and build changes that definitely were
not needed in the repository.

The undocumented changes in the last submission include some new keyboard
shortcuts in ShowImage as well as various changes to the input server and
roster as part of my ongoing work on those. I will clean this up some more 
and make another submission in a few hours.

Note to self: never submit from a high-level directory...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 00:43:13 +00:00
Ryan Leavengood
252f476782 Added some needed stdio.h includes. I don't know what magic was used to compile
these for other people, but they wouldn't compile for me when building the
app_server test environment.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 00:15:56 +00:00
Alexander G.M. Smith
8e34360a9c Fixed it up so it now compiles for R5 and Haiku. Don't know about
BONE or DANO, and I'm pretty sure it won't work in Zeta!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-02 04:37:47 +00:00
Alexander G.M. Smith
deb238df7d Tried to get MDR to compile under Zeta RC3 but to no avail, with lots of
brick wall collisions.  Along the way I found a few defines that no longer
exist in Haiku - changed B_BEOS_VERSION_DANO to use Haiku versions (anyone
rebuilding under Dano might want to undo it).  By the way, the BeOS version
number define system might be worth using, since it's a numerical compare
rather than #if defined(V1) || defined (V2) || defined (V3) and so on.

What sort of errors?  Besides needing libzeta.so for some things, the
networking compatibility compile doesn't work (libbind and all that).
Some examples among many:

In file included from /boot/home/Haiku/src/kits/mail/numailkit.cpp:14:
/boot/develop/headers/be/support/Autolock.h:3: using directive `BAutolock' introduced ambiguous type `BAutolock'

In file included from /boot/home/Haiku/src/kits/network/compat/libnet/netdebug.c:6:
/boot/home/Haiku/headers/private/net/netdebug.h:32: syntax error before `void'


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-01 23:59:24 +00:00
Ingo Weinhold
b22fc00fa8 Fixed invalid use of STL vector. I wonder, why I always involuntarily
shudder when looking into MDR code (and happily use Beam). Error
checking, anyone?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-30 23:55:02 +00:00
Ingo Weinhold
9a8ef58959 Build fixes for gcc 4 by Ilzu Siiteri. Small changes by myself.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-30 23:41:40 +00:00
Alexander G.M. Smith
1663fe079b Updated a few old BONE references to use the new build system defines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-07 12:57:55 +00:00
Alexander G.M. Smith
7f9c73dbd5 Updated mail libmail.so compile and IMAP add-on to use the new build system
and work under both R5 and Haiku (didn't test Bone/Dano but they should work
too).  Still have SMTP, POP3 and a few other things to fix up, but ran out
of time again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-02 03:46:50 +00:00
Ingo Weinhold
338b8dc301 Merged changes from branch build_system_redesign at revision 14573.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-29 16:27:43 +00:00
Alexander G.M. Smith
47a6a63e35 Need to convert text/html to UTF-8 too, not just text/plain. So that
the spam classifier can handle those Russian HTML only spam messages.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-16 18:33:20 +00:00
Axel Dörfler
d67e6bc8a2 Fixed the build of several network apps under R5:
- removed libnetapi.so from $NETWORK_LIBS - it's not used by anyone anyway,
  and it's definitely not necessary to link against it by default.
  Note, this might cause problems in some of the mail add-ons; I haven't
  tested this.
- route/ping/... now also link against $SELECT_UNAME_ETC_LIB

makehdimage should now work again under all BeOS platforms.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 04:22:55 +00:00
Axel Dörfler
c7def18e6d Fixed at least the most obvious violations of our style guide...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 04:15:15 +00:00
Axel Dörfler
79de26ad08 This fixes a bug and two warnings:
- pending_chain was set to -1, then MAIL:pending_chain was read into the variable "chain",
  but later pending_chain was used again for comparison - and if that was not enough,
  "chain" was later used again as well... (Nathan please check this)
- pending_chain was int32, Chain()->ID() uint32
- renamed pending_chain to pendingChain


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 03:49:59 +00:00
Nathan Whitehorn
37dd67fbd1 Fixed a bug that would cause messages to be redownloaded in the event of an unclean shutdown on systems with leave mail on server enabled, but bidirectional synchronization off.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-31 01:04:44 +00:00
Nathan Whitehorn
71f0d1ebbe Fixed a bug that would cause bogus Message-IDs on BONE systems. It seems that our utsname structure is 8 times larger than BONE's, so all the offsets are screwed up when you try to link our headers against BONE libraries. If we're really aiming for BONE compatibility in our network stack, perhaps this should be changed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11036 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 18:32:29 +00:00
shatty
acd73dba51 address compiler warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 07:22:19 +00:00
shatty
6040be9931 use NETWORK_LIBS for linking, define BUILDING_R5_LIBNET if necessary
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-20 21:10:54 +00:00
Nathan Whitehorn
e1198ce1a8 Fixed the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-13 03:06:14 +00:00
Nathan Whitehorn
3155ad9584 GCC 3 compilation fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-12 18:58:55 +00:00
Nathan Whitehorn
8a3a4e98dc Added sanity to the C++ ABI hack. If we aren't using GCC 2 or mwcc, we clearly don't care about binary compatibility, so there is no point in using the BC shim.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-12 18:53:45 +00:00
Nathan Whitehorn
5344cdf47b Made encoding detection actually work. Added a deprecation notice in E-mail.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 23:17:48 +00:00
shatty
6837f5b69c convert message body using textencoding, change default to latin 9 (iso-8859-15) instead of latin 1 (iso-8859-1)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 13:11:30 +00:00
shatty
eaed7feae7 mime commentary in array, utilize textencoding for subject conversion to utf8
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 13:03:53 +00:00
shatty
1096e45fc5 use BONE_COMPATIBLE instead of TARGET_PLATFORM
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 11:23:14 +00:00
Nathan Whitehorn
40c831ab93 Fixed a crashing bug that would occur if mails were placed during an IMAP session in the root hierarchy of the IMAP directory structure with a non-NULL mailbox root prefix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-07 21:50:46 +00:00
shatty
6371ad42f3 simplify Jamfile
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 21:55:46 +00:00
Nathan Whitehorn
d67b4412fa Fixed net_server build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 21:40:41 +00:00
Nathan Whitehorn
c3a2f3930f Fixed a bug that would cause queued messages stored in IMAP directories not to be sent if IMAP mail was checked before queued mail was sent. This the last known bug in MDR.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 19:34:01 +00:00
Nathan Whitehorn
83cb1d3403 Finished fixing forward with attachments. There had been some UI issues when forwarding HTML e-mail. Only one more bug to go.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 17:43:01 +00:00
Nathan Whitehorn
fcdc48f1a7 Fixed a nasty bug I introduced when I fixed IMAP that made it impossible to send mail. Apparently I don't send that much.... it's been in there for a good week or so.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 17:19:06 +00:00
Nathan Whitehorn
6686b03883 Fixed forward with attachments
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 02:45:37 +00:00
Nathan Whitehorn
c60f83369f Renamed BMailRemoteStorageProtocol to BRemoteMailStorageProtocol. Because I like it better. This should complete the API modifications from the Haiku import.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-16 17:21:26 +00:00
Nathan Whitehorn
a622d7bb47 Fixed the everlasting IMAP crash-on-timeout bug and the everlasting zombie-chain bug. This eliminates all known bugs in the MDR network layer.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-16 00:29:32 +00:00
Nathan Whitehorn
0edd0ce523 Removed the makefile I accidentally committed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 23:29:39 +00:00
Nathan Whitehorn
0d21a7f43f Added packaging for the mail daemon, added build support for SSL mode (although it currently relies on manually uncommenting things in the Jamfile). PPP state detection still broken.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-21 20:23:32 +00:00
Nathan Whitehorn
f7215ac853 Imported MDR. Some code still not entirely functional -- I haven't been able to figure out how to detect SSL, so IMAP and POP have it turned off. PPP auto-detect is also not functional at the moment. Other than that, it seems to work beautifully. Packaging will come later.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 22:31:50 +00:00