Commit Graph

52602 Commits

Author SHA1 Message Date
Axel Dörfler
4d30240166 Renamed smtp.{cpp|h} to SMTP.{cpp|h}. 2015-01-06 15:22:00 +01:00
Axel Dörfler
146357b547 Completed transition to the new mail API; ie. it compiles.
* Completely untested yet. Unlikely to work yet.
2015-01-06 15:21:55 +01:00
Axel Dörfler
383b34adac Moved ProtocolConfigView to headers/private/mail.
* This is by no means meant as a public header.
2015-01-06 15:21:50 +01:00
Axel Dörfler
bebcc474f8 Renamed a few files to better match their class names. 2015-01-06 15:21:45 +01:00
Axel Dörfler
794a013e9b Adapted fortune filter to the new mail API. 2015-01-06 15:21:40 +01:00
Axel Dörfler
715bf3d17a Work in progress of mail rework.
* Not everything compiles; all protocols, and inbound filters do, though.
* Renamed a few classes to give a better idea what they are for; prefixed
  public classes with the 'B' prefix.
* Moved ProtocolConfigView's classes into the BPrivate namespace.
* Moved BMailFilter into its own file.
* Added BMailFilter::DescriptiveName(). This is now used by the RuleFilter
  in order to give a description of what it's doing (ie. no more dozens of
  "Rule filter" entries in the preferences).
* Removed no longer used MailAddon.h.
* Renamed Addon to AddOn where found, since that is more consistent with the
  rest of the API.
* Merged the former MailProtocol with the former MailProtocolThread; the
  differentiation between those two was pretty messy.
* All configuration views touched so far are now using the layout kit.
* The RuleFilter is currently broken functionality wise; I have not yet decided
  how to solve the stuff it uses (TriggerFileMove() does not exist anymore,
  for example).
* BMailAddOnSettings (formerly known as AddonSettings) now directly subclass
  BMessage; there are no Settings() and EditSettings() method anymore. The
  class uses a copy of itself to determine whether or not it has been changed.
* Lots of cleanup.
2015-01-06 15:21:36 +01:00
Axel Dörfler
0f11280e6d Minor MailNotifier cleanup.
* Renamed to BMailNotifier, as it's part of the public API.
* Renamed Notifier.{cpp|h} to DefaultNotifier.{cpp|h} as that's the class it
  implements.
* Made the mail counts uint32, and the byte counts uint64.
2015-01-06 15:21:31 +01:00
Axel Dörfler
e0676bb982 Fixed typo. 2015-01-06 15:21:26 +01:00
Axel Dörfler
20537ad067 Minor coding style cleanup. 2015-01-06 15:21:21 +01:00
Axel Dörfler
7135c4f8fe Renamed pop3.{cpp|h} to POP3.{cpp|h}. 2015-01-06 15:21:17 +01:00
Axel Dörfler
6a6b7ae7a0 Style cleanup, no functional change. 2015-01-06 15:21:12 +01:00
Axel Dörfler
f06916d572 Initial work on a class that manages an IMAP folder on disk. 2015-01-06 15:21:07 +01:00
Axel Dörfler
077338a9b8 Completed literal handling.
* LiteralHandler commands now receive the literal data as intended.
* The 'fetch' command in the imap_tester now uses this to print the literal
  to stdout.
2015-01-06 15:21:03 +01:00
Axel Dörfler
3e4e5c2cf6 Improved folder config window a bit.
* Now uses the BLayoutBuilder instead of ALM layout - not only is the code much
  simpler now, resizing the window isn't as sluggish anymore (less flickering).
* Fixed a drawing bug in the list view; the drawing state wasn't properly
  maintained, leading to rendering artefacts.
* Moved the checkbox to the start of the line.
* Use B_ASYNCHRONOUS_CONTROLS for all windows.
* Fixed a few typos.
2015-01-06 15:20:58 +01:00
Axel Dörfler
cc3aa99cb3 Use GETQUOTAROOT instead of GETQUOTA.
* At least with my ISP, there is no "" root, so the command would fail when used
  as is.
* Now we always use the GETQUOTAROOT command instead, by default for the INBOX
  mailbox. This isn't entirely correct either, but better than nothing.
2015-01-06 15:20:49 +01:00
Axel Dörfler
f1c9cc4292 We need to copy the settings message. 2015-01-06 15:20:44 +01:00
Axel Dörfler
fe26284795 Added support for decoding RFC-3501 mailbox names.
* Added new RFC3501Encoding class that implements modified UTF-7 as specified
  in RFC-3501; only decoding is implemented right now.
* ListCommand now uses this new class to encode, and decode the folder names.
2015-01-06 15:20:39 +01:00
Axel Dörfler
9192d4dcf3 Started working on the IMAP add-on itself.
* Renamed imap_config.cpp to ConfigView.cpp, IMAPFolderConfig.(h|cpp)
  to FolderConfigWindow.(h|cpp).
* Got the latter to build.
* Added Settings class to simplify and unify the BMessage based
  settings access.
* Removed the InboundProtocol[Thread] implementation from the build for now.
2015-01-06 15:20:35 +01:00
Axel Dörfler
1704480100 Read some more specs, cleaned Protocol a bit.
* Added some TODO comments based on the various IMAP specs and extensions.
* Removed SelectMailbox() functionality from the Protocol class; it's not
  really useful to have it there.
* Removed some other methods that don't belong into the Protocol class.
2015-01-06 15:20:25 +01:00
Axel Dörfler
db0a4f2c00 More work in progress of the IMAP rework.
* Implemented FetchCommand, and some more.
* Improved and extended the imap_tester.
* The base to implement the new InboundProtocol on is now mostly done, at least
  for a start.
2015-01-06 15:20:20 +01:00
Axel Dörfler
a517047070 Got rid of the ConnectionReader, and implemented parsing literals.
* The parser now works on a BDataIO instead. It's now even a bit simpler
  overall.
* Implemented ParseLiteral() - the default implementation just reads the data
  into a string. Thanks to BDataIO this was now very simple to do.
* Tested the code: imap_tester can now successfully read mails (using the raw
  command only, at the moment).
2015-01-06 15:20:16 +01:00
Axel Dörfler
37d26ae5e2 Work in progress of rewrite; IMAP doesn't even compile at this point. 2015-01-06 15:20:11 +01:00
Adrien Destugues
2ba93e7d81 ColorControl: show the correct colors.
BColorControl was recently modified to preview the colors in the
sliders. However the computation was not correct and the colors shown
were not useful.

Fix the code so the correct colors are used. Since this can result in
the sliders having very bright colors, change the selection rings to use
black and white colors instead of just white, so they are always easily
visible.
2015-01-06 11:40:32 +01:00
Adrien Destugues
449e7cdde3 Actually remove RCS from the image. 2015-01-05 18:07:16 +01:00
Augustin Cavalier
45e1214ac1 RCS: delete from tree.
Moved to a package. Not added to the image as we keep this only for
POSIX compatibility.

Fixes #11662.

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>
2015-01-05 17:40:07 +01:00
Adrien Destugues
71c761d99b HttpRequest: rewind the input data before sending it
* This is needed for redirects to work as expected.
* It makes it harder to send data starting from the middle of a
BPositionIO (you now need a wrapper object), but that is an uncommon
feature so it is acceptable.

Fixes #11687.
2015-01-05 16:22:55 +01:00
Adrien Destugues
b5832c1759 Appearance: don't send kMsgUpdate on ATTRIBUTE_CHOSEN
As discussed in #11698, selecting an item in the list needs an update of
the selected color, but doesn't need a check for changes and status of
the "revert" button.
2015-01-05 15:51:41 +01:00
Adrien Destugues
a17012ab11 Clipboard: style fixes. 2015-01-05 15:49:52 +01:00
Adrien Destugues
569a7bfc3c Notification: align title with text. 2015-01-05 13:06:21 +01:00
Augustin Cavalier
0de25abadc bash_completion: delete from tree.
This was an old version of bash_completion and not included in the
image. An haikuports recipe is available if you need it.

Fixes #11660.

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>
2015-01-05 12:03:45 +01:00
Adrien Destugues
62ede2e6a2 BMessage: avoid code duplication in Unflatten
The buffer version of Unflatten can be implemented by wrapping the
buffer in a BMemoryIO. This allows sharing more code, and the BDataIO
version of Unflatten has some extra error checks.

Fixes #11670.
2015-01-05 11:53:07 +01:00
Adrien Destugues
0622135673 RTFTranslator: don't accept translations with no RTF involved.
Fixes #11650.
Thanks to TwoFx for investigating the issue.
2015-01-05 11:34:01 +01:00
Adrien Destugues
e7cf3254ad Appearance: enable Revert when a color is dropped
Fixes #11698.
2015-01-05 11:25:43 +01:00
luroh
1d5b36cee2 Clean up FreeType outsourcing leftovers
- Remove obsolete FreeType docs
  - Remove obsolete FreeType license
  - Update FreeType license and copyrights in AboutSystem

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>

Fixes #11697
2015-01-05 11:23:02 +01:00
Adrien Destugues
7bc8111cd2 AboutSystem: update localization credits.
* Reorder the languages to match the order used in Pootle, making this
easier to do.
* Remove Diver from hungarian translation on request from him.
* Add some missing languages from Pootle (commented out for now as they
are not exported yet)
2015-01-05 10:43:22 +01:00
Puck Meerburg
8e948cb398 CID 1224785: unsafe EOF detection.
Fixes #11691.

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>
2015-01-05 08:57:53 +01:00
luroh
73b2a864b9 Fix atftp copyright typo in AboutSystem
Fixes #11699

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>
2015-01-05 08:44:27 +01:00
Humdinger
c50f8331de Add app2png package
In order we can fill the Haiku Depot Server with icons for old apps.
2015-01-04 09:31:38 +01:00
Stephan Aßmus
2afa3f3b8b HaikuDepot: Improved screen shot window
* Black background
 * Auto-resize to fit new screen shot, re-center on screen
2015-01-03 22:07:31 +01:00
Rene Gollent
7f10f053c5 x86: Package updates.
- Add package for ninja.
- Update haikuwebkit to 1.4.8.
2015-01-03 15:02:43 -05:00
Markus Himmel
ef69f5d941 DiskProbe: Make block offset and file offset editable
Fix #4046

Signed-off-by: François Revol <revol@free.fr>

GCI2014 task https://www.google-melange.com/gci/task/view/google/gci2014/5488784896425984
2015-01-03 17:36:22 +01:00
autonielx
d35b138450 Update translations from Pootle 2015-01-03 06:38:47 +01:00
Markus Himmel
70dc2e27e9 Add BTranslatorRoster documentation 2015-01-03 01:20:35 +01:00
Markus Himmel
b9e01b33ed Fixup BTranslator documentation 2015-01-03 01:20:28 +01:00
François Revol
02bdb5db9a Add libtranslation group definition to doxygen stuff 2015-01-03 01:05:27 +01:00
John Scipione
4536c6033b Update BToolTip class docs, added credit.
with remarks from Axel and PulkoMandy, thanks guys.
2015-01-02 18:15:25 -05:00
Humdinger
985d0a7b8a Updated QuickLaunch package. 2015-01-02 13:45:39 +01:00
Rene Gollent
4d9388f389 Debugger: Adjustments to syntax highlighter.
SyntaxHighlighter/CLanguageFamilySyntaxHighlighter/SourceView:
- TeamTypeInformation is now passed as a parameter when requesting parsing,
  so highlighters can make use of it to identify types. Adjust callers.

CLanguageFamilySyntaxHighlightInfo:
- Use TeamTypeInformation to check if identifiers map to types, and highlight
  accordingly if they do.
2015-01-01 17:49:02 -05:00
Rene Gollent
d21bcbb0ac Debugger: Extend TeamTypeInformation interface.
TeamTypeInformation:
- Add interface function to allow simply querying for whether a
  type is known to exist by a name + constraints, without actually
  requesting that it be instantiated, and implement in TeamDebugInfo.

GlobalTypeLookup:
- Add analogous type lookup function to the above, and implement in
  TeamDebugInfo.

{Specific,Debugger,Dwarf}ImageDebugInfo:
- Add function for type existence query, and implement in subclasses.
2015-01-01 17:49:01 -05:00
Rene Gollent
492a649b19 Debugger: Optimize type lookups.
DwarfImageDebugInfo:
- On initialization, we now walk the list of compilation units and
  build a hash table of all of their contained types. The table is then
  used by GetType() to quickly find the subset of DIEType objects that
  match the requested name, and then compare only those to the
  given constraints to find the best match.

For a more complex image such as libbe or Debugger itself, this reduces
the time for an uncached type lookup from around 50 msec to < 10 usec on
my i7.
2015-01-01 17:44:36 -05:00