Commit Graph

55080 Commits

Author SHA1 Message Date
Stefano Ceccherini
abf565b12b FlattenPictureTest: add tests for Gradients.
None of the tests pass. BPicture currently doesn't have support for gradients.
Also add DrawString with offsets test.
2015-09-17 22:54:05 +02:00
François Revol
eed4335a85 libmpdclient: update package 2015-09-17 21:19:25 +02:00
Automatic Committer
ccff90f597 Update pci.ids from pciids.sourceforge.net 2015-09-17 05:21:31 +02:00
François Revol
045af160e7 df: silently accept -h
Traditional Unix 'df' use -h for human readable units.
I always end up typing 'df -h' so it's frustrating to see the usage there.
2015-09-17 00:29:50 +02:00
François Revol
490dc7aa16 keymap: avoid showing usage twice 2015-09-17 00:22:13 +02:00
Axel Dörfler
90ec3fc165 AHCI: disable interrupt reset for unsolicited COMINIT for now. 2015-09-15 10:23:24 +02:00
Jessica Hamilton
8927348ef1 Boot menu: change colours of sub-menu headers. Fixes #12371.
Changed from white on red background, to yellow on black
(neutral) background. Red on black made it look like a
warning, whereas yellow feels more informative.
2015-09-15 01:32:07 +00:00
Jessica Hamilton
31b0eb9f53 BWindow::MoveOnScreen(), fix parentheses warning. 2015-09-15 00:51:07 +00:00
Jessica Hamilton
93244a65e6 BScrollView: _ComputeFrame(BRect,...) used incorrect insets.
Previously, the BRect would be expanded by the call to
InsetBy(), but the replacement _InsetBorders() forgot to
take this into account.

Fixes #12380.
2015-09-15 00:39:23 +00:00
Fredrik Holmqvist
c8bd1b0ad0 Set ACPI io and physical address to 32 bit on 32 bit arch.
This is temporary fix, our ACPI.h header needs a review, and perhaps
a better approach.
2015-09-14 22:18:02 +02:00
Axel Dörfler
268e4ea27d ScreenSaver: Make preview relative to font size.
* This commit got somehow eaten by git rebase :-/
2015-09-14 20:54:26 +02:00
Axel Dörfler
64ee9242db Time: properly center the window.
* The previous code was broken, and did not take the actual window
  size into account; it's now using BWindow::MoveOnScreen().
* Also, make the width of the time zone list relative to the font size.
2015-09-14 20:46:02 +02:00
Axel Dörfler
8d46a99fe9 Sounds: Center initial window.
* Now uses BWindow::MoveOnScreen().
2015-09-14 20:46:00 +02:00
Axel Dörfler
8bf216d6dd Screen: improved window position, fixed empty line.
* The monitor size now scales with the font size.
* It now uses BWindow::MoveOnScreen() to find a good position on screen.
* The monitor info is now properly hidden when there is no info (this
  removes a blank line at the top of the left box).
2015-09-14 20:45:58 +02:00
Axel Dörfler
4d9fc65ec7 Mouse: let the mouse scale with the font size.
* It's really confusing that SetOrigin() ignores the current
  scaling.
2015-09-14 20:45:55 +02:00
Axel Dörfler
881325a06e Keymap: improve initial window size, and position.
* By making it scale with the font size, and by using
  BWindow::MoveOnScreen().
2015-09-14 20:45:53 +02:00
Axel Dörfler
3f772f525b Backgrounds: let the preview scale with the font size. 2015-09-14 20:45:51 +02:00
Axel Dörfler
b11399ff60 BAlert: fixed missing initialization of fAlertSem.
* Fixes bug #12372.
2015-09-14 20:45:49 +02:00
Axel Dörfler
4df20b63c0 Sudoku: improve initial window size, and position.
* By making it scale with the font size, and by using
  BWindow::MoveOnScreen().
2015-09-14 20:45:47 +02:00
Axel Dörfler
adcbc17bf5 DeskCalc: improve initial window size.
* By making it scale with the font size.
2015-09-14 20:45:45 +02:00
Axel Dörfler
0342049e48 CharacterMap: improved initial window size, and position.
* By making it scale with the font size, and by using
  BWindow::CenterOnScreen().
* Minor cleanup.
2015-09-14 20:45:43 +02:00
Axel Dörfler
2603848d7d ActivityMonitor: improve initial window size, and position.
* By making it scale with the font size, and by using
  BWindow::CenterOnScreen().
2015-09-14 20:45:40 +02:00
Axel Dörfler
8e96ec340b BWindow::MoveOnScreen() now has a flags field.
* You can now specify whether or not you want to resize the window,
  and move it on screen, or center it.
* Removed PulseWindow::MoveOnScreen() method.
2015-09-14 20:45:38 +02:00
Humdinger
2080899fd5 Added package fasm. 2015-09-14 19:18:52 +02:00
Fredrik Holmqvist
65ecbac0dc Switch from ACPI_SIZE to ACPI_PHYSICAL_ADDRESS.
Should fix build bustage on 32 bit builds.
2015-09-13 22:16:19 +02:00
Fredrik Holmqvist
e226d1d04f Update ACPICA to 20150818.
Previous update was 20140724.
    Changes at:
    https://acpica.org/sites/acpica/files/changes_25.txt
2015-09-13 21:12:49 +02:00
Rene Gollent
b03721632c x86: Add packages for libpcre0 for compat reasons.
Thanks to Jerome for the hint.
2015-09-13 10:56:53 -04:00
Rene Gollent
2d6cf4f6e8 x86: Add/update some more packages. 2015-09-12 23:56:04 -04:00
Rene Gollent
597bcfc4dc x86: Update pe to 2.4.5-2. 2015-09-12 19:53:34 -04:00
Rene Gollent
67cfdb4470 x86: Add/update various packages. 2015-09-12 19:32:04 -04:00
autonielx
6d16a7f007 Update translations from Pootle 2015-09-12 06:37:23 +02:00
Axel Dörfler
41082c87ac AHCI: only perform the reset when ST is not set.
* As the specs say, this causes undefined behavior.
* Should help with the recently introduced boot issues, but cannot
  be considered a full fix -- as mmlr pointed out, one has to detect
  unsolicited COMINITs.
2015-09-11 17:34:27 +02:00
Axel Dörfler
eb62d3337b VFS: Slight rework of the FD disconnect feature.
* This should fix ticket #4157, although I probably have missed
  something.
* In any case, it no longer messes with the ref counts of the
  file descriptor, and the race condition in put_fd() should be
  gone.
* It's still rather messy all in all.
2015-09-11 17:25:01 +02:00
Axel Dörfler
6adf7a0c75 VFS: prevent FD inheritance for the kernel completely.
* Each io_context now has a "inherit_fds" member that decides whether
  or not this context allows to inherit FDs to its children.
* This replaces the former O_CLOEXEC mechanism.
2015-09-11 17:08:35 +02:00
Axel Dörfler
16844b92fc launch_daemon: Open stdin/out/err FDs.
* As with the boot script, point them to /dev/null.
* This should fix #12298.
2015-09-11 09:01:26 +02:00
Axel Dörfler
e668e80db0 VFS: Always open kernel FDs with O_CLOEXEC.
* Avoids leaking them into userland.
2015-09-11 08:57:15 +02:00
Stephan Aßmus
8d611f17a7 TextDocumentView: Fixed leak of BMessageRunner. 2015-09-10 21:56:38 +02:00
Stephan Aßmus
81f55cc896 HaikuDepot, text framework: Rework blinking the caret
Make sure that the caret starts blinking half a second after it last moved.
The previous solution using Pulse() had a number of problems:
 * The caret could be hidden during moving it or during typing. It would then
   be shown again very soon after, i.e. when typing the next character or
   when moving it to the next offset. But it looks bad anyway.
 * When the caret stopped moving, it started blinking a random amount of
   time afterwards, getting back into the rhythm of Pulse() messages.
   However, starting to blink a constant time after the caret last moved,
   looks much more satisfying.
2015-09-10 21:56:33 +02:00
Automatic Committer
877d731e03 Update usb.ids from www.linux-usb.org 2015-09-10 05:20:36 +02:00
Automatic Committer
6f7ee12593 Update pci.ids from pciids.sourceforge.net 2015-09-10 05:20:34 +02:00
Axel Dörfler
ac9ec47d27 BMenu: made left side padding font size relative.
* Also changed BMenuItem to make better use of that size.
2015-09-09 21:06:19 +02:00
Axel Dörfler
d8b517b50f Tracker: made title view height depend on font size.
* It now uses a font that's 3/4 the size of the plain font; ie. there
  shouldn't be any change with the default font size.
* Also cleaned up some weird layout code on the way.
2015-09-09 21:05:10 +02:00
Axel Dörfler
46dd7d5077 Tracker: Fixed vertical list icon position.
* Instead of drawing it at the bottom of the line, draw it in the
  middle of it.
2015-09-09 21:03:58 +02:00
Axel Dörfler
bf5480299e Tracker: Made list element spacing relative to font size.
* Instead of always adding two pixels, we now multiply the size with 1.1.
2015-09-09 21:02:15 +02:00
Axel Dörfler
f0b3691d10 Tracker: Removed extra border next to the draggable icon.
* Also removed extraneous call to BMenuBar::SetBorder(); B_BORDER_FRAME
  is the default, anyway.
2015-09-09 21:00:13 +02:00
Axel Dörfler
14cc5b4c44 BMenuBar::SetBorders() added.
* This allows you to only draw some of the borders.
2015-09-09 20:58:57 +02:00
Axel Dörfler
f74aab0a2e Appearance: Added font sizes 19, and 20 to the set.
* We might want to find a better solution for this, and also use it
  for the Terminal then.
2015-09-09 20:56:11 +02:00
Axel Dörfler
fd79684a5f BScrollView::SetBorders() added to disable borders.
* You can specify which borders will be drawn using the
  BControlLook::B_TOP_BORDER, ... constants.
* Adapted Mail to no longer need the SetInsets() hack.
2015-09-09 20:51:49 +02:00
Alexander von Gluck IV
635fe4746d network: Add missing hosts configuration file
* Provides localhost define to the network kit
* Resolves #12260 and others
2015-09-09 09:30:38 -05:00
Axel Dörfler
fb956f2561 Deskbar: scale better with the font size.
* This makes it much more usable with a larger font size.
2015-09-08 18:01:10 +02:00