Commit Graph

53001 Commits

Author SHA1 Message Date
Adrien Destugues
69ff01cb9e Migrate image hash table to BOpenHashTable.
For #9552.
2015-01-09 18:09:09 +01:00
Adrien Destugues
ce39d3a366 BTextView: use calloc to replace malloc+memset
Fixes #11721.
2015-01-09 11:04:16 +01:00
Adrien Destugues
149ce46d14 Update Shortcuts to use standard ColumnListView
Patch by atalax (GCI2014)

There are some useability changes because our CLV isn't as flexible as
the Santa's Gift Bag one.

Fixes #11007.
2015-01-09 09:03:52 +01:00
Axel Dörfler
e3debc9e26 Sudoku: remove hints when setting a value.
* When you set a value, all then superfluous hints are removed
  automatically now.
2015-01-09 08:57:41 +01:00
Axel Dörfler
fc64ef86ff Sudoku: reordered SudokuView's methods.
* Their declaration order now matches their implementation order.
2015-01-09 08:57:39 +01:00
Axel Dörfler
50e3347692 Sudoku: minor refactoring.
* Pulled _Toggle[Hint]Value() methods out of MouseDown().
2015-01-09 08:57:38 +01:00
Jérôme Duval
b9962ceac2 IMAP,POP3,NewMailNotification: fixed x86_64 build.
* Notifier::HeaderFetched(): fixed the method signature (go figure how it could
build on x86).
* POP3: fSizes type is now std::vector<size_t> instead of BList. Please review.
off_t might be a better choice.
* added the mail_daemon add-ons to the Haiku package again.
2015-01-08 22:31:43 +01:00
Jérôme Duval
1d766e9dd3 mixerToy: fix build on gcc4 2015-01-08 21:21:42 +01:00
Humdinger
c531aa7cc5 Update Clockwerk package. Added the "Quick HowTo" document. 2015-01-08 17:01:54 +01:00
Adrien Destugues
6e19777018 AboutSystem: Activate() window on B_SILENT_RELAUNCH
Fixes #9094.
2015-01-08 16:39:32 +01:00
Axel Dörfler
070e77cc59 PowerStatus: added note battery color.
* When the capacity drops below 30%, it now turns yellow.
2015-01-08 15:37:00 +01:00
Axel Dörfler
e889ce2519 PowerStatus: fixed how the info is retrieved.
* The state was usually 0 once there was more than one battery
  slot.
* We now ignore missing batteries completely, instead of taking
  eventually bogus data into account.
* Fixed how to determine fOnline, and fHasBattery, and when to ignore
  probes.
* Made it more strict when to show the notification, ie. it's now only
  shown when actually discharging.
* This fixes all spurious notifications for me.
2015-01-08 15:36:57 +01:00
Axel Dörfler
b19e9d5b71 PowerStatus: improved API, minor fixes.
* ioctl() does not return a status_t; fixed its usage.
* Do not overwrite the cached battery info with bogus data (this is
  quite strict, though).
* Improved DriverInterface API with a more "natural" argument order.
* Simplified some code.
2015-01-08 15:36:55 +01:00
Axel Dörfler
90169e6310 PowerStatus: give the locker a name.
* Plus minor cleanup.
2015-01-08 15:36:52 +01:00
Axel Dörfler
6f04ad0358 ACPI: increased acpi DPC thread priority.
* Since the power status outages only happen on load, it's likely
  that we run some code too late (I haven't looked at the ACPI specs,
  though).
* In any case, I now get wrong results much less often.
2015-01-08 15:36:49 +01:00
Axel Dörfler
4fe2002b47 IMAP: fixed GCC4 build. 2015-01-08 15:36:47 +01:00
Adrien Destugues
f873c092c7 Network: make sure the DNS list is wide enough to show the addresses.
Fixes #11720.
2015-01-08 09:17:35 +01:00
Augustin Cavalier
7732094125 data/bin/welcome: update #! line to reference sh and not bash.
Fixes #11719.
Makes it possible to use another shell package to run Haiku (such as zsh
or mksh).

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>
2015-01-08 08:58:29 +01:00
Dario Casalinuovo
14896b937a Implement BMediaRoster::RollNode().
Fixes #9083.

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>
2015-01-08 08:57:01 +01:00
Rene Gollent
67d5656fab Fix x86,x86_64 build.
For the time being, exclude the new mail_daemon add-ons from the image,
as they break both the x86 and x86_64 builds by failing to compile in a
variety of ways.
2015-01-07 18:25:48 -05:00
Automatic Committer
612375687c Update usb.ids from www.linux-usb.org 2015-01-08 05:20:29 +01:00
Automatic Committer
eacb73f53d Update pci.ids from pciids.sourceforge.net 2015-01-08 05:20:26 +01:00
John Scipione
b433c2ad87 Keymap: Add ability to remove a key mapping
... of a normal (non-modifier) key via a right click menu.
2015-01-07 21:11:39 -05:00
Adrien Destugues
6aa4d138bf LayoutBuilder: document C++ method chaining behavior
Fixes #8515.
2015-01-07 17:29:35 +01:00
Humdinger
61c227c6eb Added Clockwerk package. 2015-01-07 17:21:07 +01:00
Augustin Cavalier
c09cca4a79 BSize docs: fix description of B_SIZE_UNSET.
Thanks Ingo for noticing!
2015-01-07 15:34:49 +01:00
Adrien Destugues
d37cd1e172 Network preferences: add a checkbox to control NetworkStatus
Fixes #3314.
Based on Barrett initial patch, reworked for the current network
preferences implementation.
2015-01-07 09:27:31 +01:00
Timothy Gu
beb9b3453b CID991576: ICNSLoader: fix stray semicolon
Fixes #11715.

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>
2015-01-07 08:36:30 +01:00
Augustin Cavalier
ab00c90d87 Create docs for BSize class.
Fixes #11713.

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>
2015-01-07 08:29:33 +01:00
Axel Dörfler
4772658841 E-mail: fixed GCC4 build. 2015-01-06 18:41:01 +01:00
Adrien Destugues
caf3e27a08 BMessage: fix unflattening from a KMessage buffer
The BDataIO version of MessagePrivate::Unflatten only handles the R5 and
Dano formats, so we must call the buffer version for KMessages.
2015-01-06 17:07:52 +01:00
Adrien Destugues
607dfee24c Really fix passing BMessages by area. 2015-01-06 16:51:06 +01:00
Adrien Destugues
1bfcb75b29 BMessage: fix passing messages by area
I missed the fact that the BDataIO based Unflatten didn't handle this.
Restore the code from the recently removed buffer-based unflatten, so
it's possible to pass a message by area again.
2015-01-06 16:18:34 +01:00
Adrien Destugues
29b7900ec8 Add BJoystick docs to the Haiku Book. 2015-01-06 15:58:50 +01:00
mandar
70916faa5d Add documentation for BJoystick::CountDevices
Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>
2015-01-06 15:58:45 +01:00
Adrien Destugues
784064856f Appearance: allow to use it in test_app_server
For testing fonts and font antialiasing settings.
2015-01-06 15:58:40 +01:00
Axel Dörfler
4601929263 IMAP: let mail retrieval scale better.
* We now also maintain a mail index -> UID array in IMAPMailbox.
* Instead of fetching the message entries by a fixed range of UIDs, we use the
  message count, and get the entries by index.
* Likewise, in FetchHeadersCommand, we now get a list of UIDs rather than a
  range. This makes it possible to only download exactly the headers we want.
* Extended FetchCommand to be able to dynamically build a sequence list from
  a list of UIDs.
* Besides the suboptimal body fetching (one at a time, due to holes in the
  IMAP specification), we should now be able to retrieve the messages with
  pretty much optimal performance, while retaining an acceptable responsiveness
  to user requests.
2015-01-06 15:26:51 +01:00
Axel Dörfler
d33e4744df IMAP: downloading mails is now working.
* Changed the way the attributes are written to make sure that everything
  that can be written once is in fact written just once.
* The rename code in BMailProtocol::_ProcessFetchedHeader() was broken,
  and caused the hang of the last commit.
2015-01-06 15:26:47 +01:00
Axel Dörfler
cf14e7f21f Build fixes.
* Never built a complete image from the IMAP branch before.
2015-01-06 15:26:42 +01:00
Axel Dörfler
549949b26f Mail Kit: Changed how filter changes work.
* BMailFilter::HeaderFetched() now only alters the entry_ref, and returns
  B_MOVE_MAIL_ACTION to move a mail.
* Instead of potentially moving the file around several times, the
  BMailProtocol now takes care of carrying out the filter action just once,
  including trying to make the file name unique.
* This also allows the IMAP add-on to know the final location of the mail,
  and thus downloading a message actually works.
* However, with my test inbox, it currently hangs, and a current Debugger does
  not work on my older system -- I guess I need to update.
* Replaced the duplicated space mechanism within the "HaikuMailFormatFilter"
  that is substantially faster, and handles all whitespace, not just spaces.
  It will also replace tabs with spaces.
2015-01-06 15:26:37 +01:00
Axel Dörfler
c1f779e350 IMAP: FetchMessageEntriesCommand now also works without UIDs
* This will be used to solve the TODO in CheckMailboxesCommand::Process()
  when the initial message sizes/flags are retrieved.
* Also fixed imap_tester build.
2015-01-06 15:26:33 +01:00
Axel Dörfler
1052525dc5 IMAP: work in progress of downloading the mail body.
* Most things are in place now, we just try to download the body to the
  wrong file, as the final location is currently unknown.
* Added local only kPartialMessage flag for mails, but it's not being
  used yet.
2015-01-06 15:26:28 +01:00
Axel Dörfler
dcb85ffa51 IMAP: if connecting fails, try again a few times.
* Also documented SyncCommand.
2015-01-06 15:26:24 +01:00
Axel Dörfler
e9a197ffff IMAP: make the body fetch limit setting available.
* This is set by the ProtocolConfigView -- there should really be
  some constant for this.
2015-01-06 15:26:19 +01:00
Axel Dörfler
8705e1f6e7 mail_daemon: cleanup, 30s auto check startup delay.
* Refactored new message retrieval a bit, so that the notification strings
  aren't duplicated.
* The daemon now waits 30 seconds before doing the first mail check.
2015-01-06 15:26:14 +01:00
Axel Dörfler
29e5da6f20 IMAP: allow only one sync at a time, divided header fetching.
* CheckMailboxesCommand, and FetchHeadersCommand now inherit from SyncCommand
  which will prevent new CheckMailboxesCommand to be enqueued.
* FetchHeadersCommand now only retrieves up to kMaxFetchEntries headers at
  once. This gets the same TODO about scaling as the limit in
  CheckMailboxesCommand when fetching the flags/UIDs. Since we already read
  all new UIDs at that point, we could easily do better there, though.
2015-01-06 15:26:10 +01:00
Axel Dörfler
aebdd0c14b IMAP: call the folder's handler like the mailbox. 2015-01-06 15:26:05 +01:00
Axel Dörfler
4b2c5571c0 IMAP: sync when requested. 2015-01-06 15:26:00 +01:00
Axel Dörfler
47b68f5806 IMAP: IMAPFolder now stores the last UID.
* So mails are no longer downloaded every time.
2015-01-06 15:25:56 +01:00
Axel Dörfler
28ee6c2839 IMAP: Use useful default without destination.
* We now use the account name as destination directory.
* Turns out that an empty string is written as destination which worked
  around the GetString() solution.
2015-01-06 15:25:51 +01:00