52867 Commits

Author SHA1 Message Date
Axel Dörfler
ddf7ecfaa9 E-mail: take fCheckMailCheckBox into account on save.
* Only the time you entered mattered (ie. 0 would have turned
  the auto check off).
2015-01-23 21:00:30 +01:00
Axel Dörfler
88fed28aff MediaPlayer: reworked info window to use layout API.
* Use BStringViews instead of BTextView - it's more flexible (truncation,
  and tool tips), and allows for fine grained updates.
* The file name and location views are now showing tool tips with their
  full contents.
* Also, its look is now less exotic, if boring.
2015-01-23 21:00:29 +01:00
Axel Dörfler
95fdee0bc0 BStringView: added truncation support.
* Added new truncation mode B_NO_TRUNCATION.
* The Truncation()/SetTruncation() methods itself are Dano-compatible,
  however, there was no B_NO_TRUNCATION.
2015-01-23 21:00:28 +01:00
Axel Dörfler
1bfa46f230 BLayoutBuilder::Grid: added spacing setters. 2015-01-23 21:00:26 +01:00
Adrien Destugues
0e652ab2dc Forgot to reset fBitmap to NULL.
Thanks to Rene for reviewing.
hrev48713
2015-01-23 15:15:30 +01:00
Adrien Destugues
8bcd69044c Call ReleaseReference when a BReference is not needed
Reduces complexity and is actualñly more readable.
hrev48712
2015-01-23 14:57:23 +01:00
Adrien Destugues
6f3acb9163 app_server: fix misuse of BReferenceable.
Fixes #9989.
hrev48711
2015-01-23 13:46:04 +01:00
Adrien Destugues
84ed7b4bb4 SATGroup: fix misuse of BReferenceable object
LinearSpec is a BReferenceable, so it is not correct to allocate it as a
member of another object. Wrap it in a BReference to avoid the problem.

Fixes #11089.
hrev48710
2015-01-23 13:05:38 +01:00
John Scipione
a82d6bdd3e Replace 'should' with 'must' in BInvoker::SendMessage() docs hrev48709 2015-01-22 13:43:45 -05:00
Automatic Committer
01f0c66a74 Update pci.ids from pciids.sourceforge.net hrev48708 2015-01-22 05:20:26 +01:00
Alexander von Gluck IV
a8ac9faab8 haikuports: Update x86_64 llvm to 3.5.0-1 hrev48707 2015-01-22 03:00:29 +00:00
Adrien Destugues
3b520fdcd4 Fix missing include in NetworkInterfaceTest. hrev48706 2015-01-21 11:18:55 +01:00
Adrien Destugues
31ea76548a Move getifaddrs to libnetwork again.
* BNetworkInterfaceAddress is moved to libnetwork. It is modified to not
use BNetworkAddress (which is in libbnetapi) and instead use sockaddr
and sockaddr_storage directly. All callers are adjusted to this.
* Some support code is shared between BNetworkInterface and
BNetworkInterfaceAddress, move it to libnetwork but in the BPrivate
namespace.
hrev48705
2015-01-21 10:07:03 +01:00
John Scipione
a66de90c49 Clarify BInvoker::SetMessage() docs some more
The language on SetMessage() was still a bit confusing, this should
hopefully clear it up.
hrev48704
2015-01-20 20:13:57 -05:00
John Scipione
da51f9c366 Make Tracker MIME type add-ons list a BStringList hrev48703 2015-01-19 20:50:30 -05:00
Axel Dörfler
8b6e513a2e BFS: _SplitNode() could overflow the new node.
* When the keys were large enough, a large key entering the node could
  overflow the available data in the target node. This caused tree and
  memory corruption.
* This fixes bug #6034.
hrev48702
2015-01-19 21:21:12 +01:00
Axel Dörfler
f1dd9654ed BFS: Made bplustree_header::CheckNode() use const node. 2015-01-19 21:21:11 +01:00
Adrien Destugues
c299b09cff SupportDefs: make it C89-safe again
The atomic inlines were not implemented in a C89 safe way:
* Use of "static inline" not allowed, but static __inline__ is
* __inline__ is a GCC extension, but these are already in a __GNUC__
block (other compilers use a non-inline version)
* also fix a C++ style comment
hrev48701
2015-01-19 13:54:18 +01:00
Guillermo Bonvehi
4c61114eff Make sure Mail leaves enough space for all strings
* The code was assuming "Attachments" would be the longer word used, but
this doesn't always work outside of english. Actually search for the
longest string in the translations.
* Fixes #5285.
* It would be even better to convert the whole window to use layouts,
but this makes it useable until that's done.

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>
hrev48700
2015-01-18 14:37:16 +01:00
Hamish Morrison
64f6fcbccd TCP, UNIX sockets: allow multiple calls to listen
* Subsequent calls to listen on an already-listening socket can resize
  the backlog.
* While not explicitly spelled out by POSIX, this behaviour is
  consistent with FreeBSD and Linux.
hrev48699
2015-01-17 19:51:16 +00:00
autonielx
ba483af7de Update userguide translations hrev48698 2015-01-17 18:26:48 +01:00
Adrien Destugues
5c9a335c57 More build tools fix. hrev48697 2015-01-17 17:45:00 +01:00
Adrien Destugues
1985b16d1e Also fix the buildtool version of catalogs. hrev48696 2015-01-17 17:18:01 +01:00
Adrien Destugues
4bb4130ff2 Fix instanciate_catalog prototype
The prototype didn't match what the Locale Kit actually uses, making the
plaintext catalog (and any other add-on) unusable.
hrev48695
2015-01-17 17:02:40 +01:00
Adrien Destugues
412f030b0f Some clarifications to BInvoker docs. 2015-01-17 13:41:55 +01:00
Adrien Destugues
658f64c3f1 LocaleRosterData: use BPathFinder to locate catalog add-ons
* Makes the code slightly simpler and more future proof.
hrev48694
2015-01-17 13:16:49 +01:00
autonielx
1ff0a2b51a Update translations from Pootle hrev48693 2015-01-17 06:35:41 +01:00
John Scipione
db7ef1292a Add BMessageRunner docs hrev48692 2015-01-16 18:00:50 -05:00
John Scipione
1f4de50d39 Style fixes to BMessageRunner, no functional changes intended 2015-01-16 18:00:27 -05:00
John Scipione
2eb2dcfabe Small fixes to BMessenger docs 2015-01-16 17:59:48 -05:00
John Scipione
fd3c25a928 Move the operator function docs over too hrev48691 2015-01-16 16:43:34 -05:00
John Scipione
973984649c Add BMessenger docs 2015-01-16 16:43:33 -05:00
John Scipione
6fd099550f Style fixes to Messenger, no functional change intended 2015-01-16 16:43:33 -05:00
Puck Meerburg
14d1920039 bindfs: Keep settings in scope for the entire Mount operation
Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>

* Fixes #11760.
* Bug made visible by the changes to fix private driver settings. Before
the change, the settings were most often leaked, so there was no
use-after-free.
hrev48690
2015-01-16 22:38:01 +01:00
John Scipione
19ce061e0b Update BInvoker docs to clarify them
...with notes from PulkoMandy and Axel. Also added author credits.

Class documentation is moved to the appropriate method and then \sa
is used to point to the documentation so it is only documented in
one location.

Added some text about how the interaction between BInvoker and
BHandler and/or BLooper works.

BMessenger needs to be documented to understand how SetTimeout() is
suppose to work, refer to BeBook for now.
hrev48689
2015-01-16 14:24:32 -05:00
Puck Meerburg
0bc1fc98a5 TabDecorator: Invalidate all tabs when updating a title
Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>

Fixes #8569

I'm not sure if this works properly if you reorder tabs (see #9175). But
the fix for that is reordering the tab list to match the visible order,
which doesn't affect this part of the code.
hrev48688
2015-01-16 18:45:02 +01:00
Humdinger
bccd0cd661 Update QuickLaunch package.
Don't ignore /system/bin by default.
Now that more and more ports are available for Haiku, some GUI apps
do appear in that folder...
hrev48687
2015-01-16 15:36:20 +01:00
Adrien Destugues
8e13d9d6a6 getifaddrs: std::nothrow and allocation checks.
Thanks to Axel for reviewing.
hrev48686
2015-01-16 15:03:44 +01:00
Adrien Destugues
46c267cf18 Move getifaddrs to libbnetapi
* Since it uses BNetworkAddress, it can't be in libnetwork.
hrev48685
2015-01-16 13:29:47 +01:00
Adrien Destugues
e2fc7cd3c7 Implement getifaddrs.
This is a BSD extension also available in glibc, but is not POSIX.
Fixes #6279.
hrev48684
2015-01-16 13:10:57 +01:00
John Scipione
23f1ce0756 BInvoker::Timeout was introduced in BeOS R5, not R3 hrev48683 2015-01-15 15:33:27 -05:00
John Scipione
9bf7584d96 Add BInvoker docs hrev48682 2015-01-15 15:30:23 -05:00
Axel Dörfler
7fb1396861 BFS B+tree test: use set to ensure string uniqueness.
* The previous solution was rather slow, and also could produce
  duplicates under some circumstance.
hrev48681
2015-01-15 20:30:50 +01:00
Axel Dörfler
9b61a43ad6 MediaPlayer: make sure info window is on screen. 2015-01-15 20:30:48 +01:00
Axel Dörfler
aeb121ec03 Sudoku: consolidated set value code paths.
* Renamed _ToggleValue() to _SetValue(), and only let it do that.
* It's now called from _InsertKey(), and _SolveSingle() as well which
  results in a correct visual update (ie. completed values, and the
  value hints are updated correctly).
* _SolveSingle() would also not test for a completed game.
2015-01-15 20:30:46 +01:00
Axel Dörfler
758cfd808a BFS B+tree test: style cleanup. 2015-01-15 20:30:45 +01:00
Axel Dörfler
f982c9ed88 BFS btreeTest: fixed DEBUG build. 2015-01-15 20:30:43 +01:00
Automatic Committer
eb27e2297a Update usb.ids from www.linux-usb.org hrev48680 2015-01-15 05:20:28 +01:00
Adrien Destugues
684eb9df1e keymap: Fix unused variable warning.
These constants are not used when building on the host, move them inside
the appropriate ifdef.
hrev48679
2015-01-14 16:40:37 +01:00
Adrien Destugues
0b90f99bc3 Mail server: fix disabling notifications
* The default notifier didn't always take the setting into account.
* The mail server was not using the setting from the settings file and
instead waiting for a message that wasn't sent anywhere.

Fixes #10852.
hrev48678
2015-01-14 16:27:33 +01:00