Commit Graph

55201 Commits

Author SHA1 Message Date
looncraz
3e08f21606 MenuField Low Color (for frame)
BMenuField's frame is drawn from the LowColor() which is adopted from its
parent.  However, we should be adopting the parent's view color for our low
color, otherwise we sometimes end up with a miscolored border (most often white).

This was not noticed earlier as most views have matching view and low colors.

Fixes ticket #12603

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-01-27 19:43:11 -05:00
looncraz
220f79d835 Deskbar TimeView Text Render Fix
Erroneous use of SetLowUIColor(ViewUIColor()) when the old API was more
appropriate resulted in the tint value being ignored which resulted in some
text rendering issues with certain color combinations and LCD subpixel aliasing.

Fixes ticket# 12596

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-01-27 19:42:13 -05:00
Pete Goodeve
7beac31fbc addattr: Fix some deficiencies.
The addattr didn't quite match its help text, wrt the kinds of values one can
use for type codes. Aside from the list of named types (which isn't actually
quite complete compared to the choices in the source) the help said one can
enter "numeric values", and gives both hex and decimal examples.

However, trying a hex value didn't work -- only decimal numbers were accepted.
This turned out to be because the sscanf format option is "%u" (actually
B_SCNu32) which only handles decimal. It has to be B_SCNi32 (which means it
would be allowed to enter a negative value -- just not very sensible...) The
other example entry given is " 'ABCD' ", which apparently is meant to indicate
that one can enter 'FourCC' direct type-code representations, but of course
that wouldn't work as shown because the shell strips off the quotes. Escaping
the quotes -- \'ABCD\' -- or adding a second layer -- "'ABCD'" -- does work
but is not obvious. (I can't think of any other command line that requires
such a convention.)

I have added another option: "-c ABCD". The current way can
still work, but the new option should be fairly evident to anyone.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Fixes #12562.
2016-01-27 19:38:09 -05:00
Augustin Cavalier
a83b9383fa Zlib license: Make it generic like the other licenses.
Fixes #12619.
2016-01-27 19:25:10 -05:00
Axel Dörfler
de4b1dede1 BMailProtocol: Removed delete/append methods.
* The mail system is file based which makes these methods pretty much
  superfluous.
2016-01-26 16:01:03 +01:00
Humdinger
522150d01a Updated DocumentViewer package
Needed a recompile after app_server changes.
2016-01-25 17:36:14 +01:00
Adrien Destugues
f9fe8e12c3 Style fixes as suggested by Axel. 2016-01-24 17:04:06 +01:00
Adrien Destugues
be1537b41a BBox: tolerate non-layouted child in layouted mode
While mixing layouted and non-layouted views is not supported, we are
doing it in some cases, including translator preferences (which uses
layout, but the views may come from a translator add-on which doesn't).

So, try to handle that case and at least avoid crashes by calling
MinSize/MaxSize and other unsupported layout code on views which won't
handle it.

Fixes #12610.
2016-01-24 13:42:11 +01:00
looncraz
37f9a29216 Improve Default BButton Appearance
Change control border color to 172, 172, 172 and use for default button
indicator drawing.

People doing an in-place upgrade will need to modify the border color from
its previous default manually or by pressing "Default" in the Appearance
preflet.  This is a one-time annoyance.

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

Fixes: #12589
2016-01-24 11:22:52 +01:00
Adrien Destugues
efc430eaf3 Remove unused code. 2016-01-24 11:22:52 +01:00
Rudolf Cornelissen
0fa7d5c4df VIA gfx driver: overlay engine on K8M800 responds now, wip. 2016-01-23 23:46:22 +01:00
Hannah
8376bc1bc1 screeninfo:also print all supported bitmap overlay colorspaces 2016-01-23 22:33:01 +01:00
Humdinger
bd0b62b178 Rebuilt psqlODBC package.
Rebuilt to make it installable again with regard to the libssl
dependency.
2016-01-23 17:09:56 +01:00
autonielx
2bc48401b4 Update translations from Pootle 2016-01-23 06:37:35 +01:00
Dario Casalinuovo
9b8f9f7a2e Revert "SystemTimeSource: Exit loop when the port is closed"
This reverts commit c21a2c7fed.
2016-01-21 16:21:44 +01:00
Automatic Committer
3565a24b44 Update pci.ids from pciids.sourceforge.net 2016-01-21 05:20:24 +01:00
Augustin Cavalier
6352a1b8c3 Add the 'mail' tool to the build. 2016-01-20 13:28:46 -05:00
Augustin Cavalier
83082f2e9c mail_utils/mail: Reformat & fix a few error handling problems. 2016-01-20 13:28:46 -05:00
Augustin Cavalier
2037db1489 bin/mail: move to 'mail_utils' subdir. 2016-01-20 13:28:46 -05:00
Humdinger
1a352e46cc Updated Clipdinger to v0.5.2
Bug fix: The Auto-paste setting was ignored on startup.
2016-01-20 19:31:51 +01:00
Dario Casalinuovo
c21a2c7fed SystemTimeSource: Exit loop when the port is closed 2016-01-20 01:14:42 +01:00
Dario Casalinuovo
08a65695bb AudioMixer: Replace debug_printf with TRACE 2016-01-19 22:43:25 +01:00
Dario Casalinuovo
1fe3cb8742 AudioMixer: Notify the producer basing on latency variation
* Since the producer may take an undefined amount of buffers to
process the latency increase, possibly depending on it's queue,
the consumer will notify only the difference between the old latency
and the new. While not solving completely, this improves the situation
under virtual box (and slow systems) making the sound more stable.
2016-01-19 22:43:25 +01:00
Fredrik Holmqvist
b64e8511cd Update ACPICA to 20160108, removed common.
Changelog: https://acpica.org/sites/acpica/files/changes_29.txt

 * This is based on the upgrade waddlesplash aborted due to a bug
in ACPICA which has since been fixed.
 * Some ACPICA code is excluded until needed. (You may want to
   compare our acpica dir to ACPICA if you are missing functions.)
2016-01-17 21:55:44 +01:00
Kostadin Damyanov
bb0ca427df unittests: link libcppunit.so to the unittests directory
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #12595.
2016-01-17 09:29:37 +01:00
looncraz
9909ce416d BSlider - Don't Use Control Mark Color
This returns BSlider to its original appearance.

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

Fixes #12578.
2016-01-17 09:27:34 +01:00
Alexander von Gluck IV
b8dd04e428 ahci: Handle FBS on soft reset (unused still)
* Report FBS cap for #9098
* Should be 0-impact for now
2016-01-16 23:22:54 -06:00
Adrien Destugues
69f2466090 IMAP: Fix exception message. 2016-01-16 18:56:40 +01:00
autonielx
65a6933a81 Update translations from Pootle 2016-01-16 06:40:24 +01:00
Jessica Hamilton
b8878f83ca Build: adjust Jamfiles in unittests for libshared.a change. 2016-01-16 15:44:26 +13:00
Rene Gollent
8028ede7db Build: Add architecture rule for libshared.a.
- As suggested by Ingo, add libshared.a to the architecture name map.
  This allows it to be linked by its short name like other frequently
  used libraries.
- Adjust all Jamfiles referencing the lib accordingly.
2016-01-15 21:12:24 -05:00
Rene Gollent
7a3892f439 BWindow: Fix keyboard handling bug.
- In the case of certain messages that are dispatched from the
  app_server with multiple target tokens (i.e. due to an attached
  view that has a mouse or keyboard event mask set), we need to
  strip the focus flag from the message before passing it to the
  non-focus views. Fixes a bug observed via Clipdinger where the
  aforementioned circumstance would result in all keyboard shortcuts
  being invoked multiple times.
2016-01-15 20:31:26 -05:00
Rene Gollent
2eb5cc49ab libmail: Fix build on secondary architecture. 2016-01-14 16:38:51 -05:00
Viktor Müntzing
e280cbdb93 virtio_net: Obvious mistake in comparison for NULL
Signed-off-by: PulkoMandy <pulkomandy@pulkomandy.tk>
2016-01-14 21:17:53 +01:00
Viktor Müntzing
39002b213b radeon CP_setup: Fixed probable copy/paste mistake
- No hardware so can't verify myself.
2016-01-14 21:17:22 +01:00
Viktor Müntzing
cc9a637eb0 acpi NamespaceDump: "unsigned <= 0" comparison, better check of byte length 2016-01-14 21:16:46 +01:00
Viktor Müntzing
81b134d33c intel_extreme: Incorrect paranthesis in overlay 2016-01-14 21:16:19 +01:00
Axel Dörfler
aeaf68cf4b IMAP: Extra local messages are now deleted.
* When a message on the server is deleted, it will now be deleted
  locally, too.
2016-01-14 21:03:46 +01:00
Axel Dörfler
618cc43b64 IMAP: New folders will now adopt default mail attributes.
* Added a function CopyMailFolderAttributes() that copies the attribute
  layout from the text/x-email default query folder.
* This using the new CopyAttributes() method in libshared that is pretty
  much a copy of a similar method from copyattr. However, I did not
  replace the latter, as that one allows for more fine grained error
  reporting (and attribute filtering).
* Closes ticket #3498.
2016-01-14 21:00:38 +01:00
Axel Dörfler
4681e405ef MatchHeader: Fixed crash with action, use tooltips.
* When an action was already set, a menu item was being selected before
  the menu had been created -- must have happened on some refactoring.
* Use tooltips rather than fill the header/value text controls with some
  help texts.
2016-01-14 20:53:51 +01:00
Axel Dörfler
ecd3b5d5f1 E-mail: Fixed view deletion order.
* The FiltersConfigView now ensures that its current filter is deleted
  before itself, as the filter's add-in would already be unloaded at
  that point.
* This fixes crashing when leaving the filter config view.
2016-01-14 20:51:43 +01:00
Axel Dörfler
94834e20a8 E-mail: Use BPathFinder to collect add-ons. 2016-01-14 20:50:18 +01:00
Axel Dörfler
7e267cd3b5 StyledEdit: Make default window size depend on font size. 2016-01-14 20:44:43 +01:00
Automatic Committer
85ff70f435 Update pci.ids from pciids.sourceforge.net 2016-01-14 05:20:26 +01:00
Julian Harnath
0ccd1db15c app_server: fix lines which are pixel dots, in layers
* Painter::StrokeLine() has an optimization for lines which are
  single pixel dots, i.e. identical start and end point and pen
  size 1: it sets the pixel directly in the buffer, completely
  bypassing the AGG base renderer.

  This is a problem when inside a layer since this also bypasses
  the low-level offset in the base renderer (which moves drawing
  coordinates into the layer bitmap), causing an out-of-bounds
  access.

* Fixes #12587
2016-01-13 23:56:48 +01:00
Augustin Cavalier
cf78be3fd1 TouchpadPrefView: Remove debugging message from destructor. 2016-01-13 16:02:59 -05:00
Augustin Cavalier
56af4c7c2b BShelf: Use strcmp(). 2016-01-13 10:14:03 -05:00
Jérôme Duval
63df190c0e Add giflib6 package for x86_gcc2.
* It should provide what's needed by libwebp on this architecture.
2016-01-13 02:46:32 +01:00
Rudolf Cornelissen
14de50bad7 VIA gfx driver:K8M800 now works (fixed PLL), fixed info in GetDeviceInfo 2016-01-13 01:01:32 +01:00
Jérôme Duval
1a40c81cfe Update icu packages to 56.1.
* Add icu55 packages for compatibility with version 55.
2016-01-12 23:22:44 +01:00