Commit Graph

55201 Commits

Author SHA1 Message Date
Augustin Cavalier
1d11475790 BAboutWindow: Put the AboutView and StripeView into BPrivate.
To avoid name clashes. Possibly fixes the HaikuDepot crashes.
2016-01-06 15:08:34 -05:00
looncraz
cef0a7b262 Deskbar: Correct StatusView colors following Set*UIColor merge.
Previous colors matched the menu background color, but should have been
darkened.

The tint value was not being updated for the SetViewUIColor call construction,
therefore the tint parameter was still B_NO_TINT.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-01-06 14:55:46 -05:00
looncraz
678f8a7b5d Tracker: Fix column title colors following Set*UIColor merge.
Repair regression where low color for text drawing was not set properly.
Do not use tinted color for default color state.

Prior to this, the hinting font would not respond to being pressed and the
column title background was the wrong color initially, but correct after
resizing (but then wrong again after a redraw on exposure).

In addition, the initial tint values used for the view color were unused,
so I removed them.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-01-06 14:54:33 -05:00
Dario Casalinuovo
135a195875 InterfaceAddress: The real fix. 2016-01-06 14:35:12 +01:00
Dario Casalinuovo
ab1adabf14 Revert "Follow-up fix for #12152 from axeld suggestions"
This reverts commit 6f5971cf52.

* Sorry there was a misunderstanding in the Ticket and IRC.
2016-01-06 14:35:12 +01:00
François Revol
32d85aaa97 Add an App_Dropbox icon
A blend of App_Expander_2 and Folder_Virtual for the colors.

Could be used for Dropbox clients like Orphilia.
2016-01-06 13:33:24 +01:00
Dario Casalinuovo
6f5971cf52 Follow-up fix for #12152 from axeld suggestions 2016-01-06 13:17:40 +01:00
Phil Costin
466081d08a When realloc(address, size) returns NULL, address must be freed manually.
Signed-off-by: Dario Casalinuovo <b.vitruvio@gmail.com>
2016-01-06 13:17:40 +01:00
Markus Himmel
1c68b67a36 MediaPlayer: Show total playlist length
Signed-off-by: Dario Casalinuovo <b.vitruvio@gmail.com>
2016-01-06 13:17:40 +01:00
Markus Himmel
beddc8eefa MediaPlayer: Add missing null check
Signed-off-by: Dario Casalinuovo <b.vitruvio@gmail.com>
2016-01-06 13:17:39 +01:00
Rudolf Cornelissen
b0c69e8490 nVidia driver: added option to block EDID resolution restrictions (check_edid) 2016-01-05 23:49:00 +01:00
Rudolf Cornelissen
32276e7762 via driver: fixed kerneldriver crashing system because of failing area mapping 2016-01-05 21:21:55 +01:00
Axel Dörfler
8180539313 IMAP: setting flags, and body fetching works now.
* The direct methods in BMailProtocol now forward the request to the
  looper; it's no longer the mail_daemon's responsibility to know
  anything about that protocol.
* It's in desperate need of refactoring, but it doesn't hurt to add
  it to the repository as is.
2016-01-05 20:12:26 +01:00
Augustin Cavalier
3592932936 BApplication: Remove added PrintToStream().
Another missed debugging snippet from the merge.
2016-01-04 18:52:41 -05:00
RudolfC
063436816d nVidia driver: Added basic dualhead support for native Haiku ScreenPrefs app 2016-01-04 22:17:48 +00:00
Humdinger
3d1fa65454 Updated SVG logos.
As suggested by Christopher Sean Morrison:
"Curiously, the two svg files lack styling / namespace declarations so
they won’t render in a browser.  Adding an xml namespace to their <svg>
opening tag lets them render correctly: xmlns="http://www.w3.org/2000/svg"

Thanks!
2016-01-04 20:17:27 +01:00
Augustin Cavalier
153b2eeace APRWindow: Delete another missed <stdio.h> include. 2016-01-04 13:56:51 -05:00
Augustin Cavalier
36cbd68b37 Various Jamfiles: Remove added "UsePrivateHeaders interface".
Added by looncraz in previous commits, and not needed.
2016-01-04 13:45:44 -05:00
looncraz
2567fac21d app_server: Fix for LinkReciever.
LinkReceiver would spin endlessly when given a timeout value which prevented
DelayedMessageSender from being operational.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patch 0002 from looncraz, unmodified.
2016-01-04 13:37:33 -05:00
looncraz
16c1051785 Deskbar: Convert to using Set*UIColor.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patches 0076 from looncraz, unmodified.
2016-01-04 13:35:12 -05:00
Augustin Cavalier
e8a15cb354 Mail preferences: Delete added code to resize the window.
Breaks the build, and shouldn't be needed anyway.
2016-01-04 13:32:22 -05:00
Augustin Cavalier
673b9591b2 app_server: Remove include looncraz forgot to remove. 2016-01-04 12:42:59 -05:00
looncraz
fa19dd4470 apps: Convert to using Set*UIColor.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patches 0045-0075, 0077-0087 from looncraz, unmodified.
2016-01-04 07:33:09 -05:00
looncraz
f696e88a2c Convert various more things to using Set*UIColor.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patches 0038, 0040, 0042-0044 from looncraz, unmodified.
2016-01-04 07:29:14 -05:00
looncraz
f56d45ced4 BToolBar: Convert to using Set*UIColor.
This was a bigger change than many others as BButton now defaults to using
control background colors, and we can not do that here without the buttons
not appearing as we desire (blending in with the toolbar).

Using the control background color for the toolbar would be unacceptable.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patch 0041 from looncraz, unmodified.
2016-01-04 07:27:25 -05:00
looncraz
c5b4dc4007 Tracker: Use Set*UIColor, improved font awareness.
InfoWindow now uses the font size to determine the window size and
placement of elements. Also uses system colors, including link
colors. Permissions view not font sensitive yet.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patch 0039 from looncraz, unmodified.
2016-01-04 07:24:41 -05:00
looncraz
f0650dc98f preferences: Convert to using Set*UIColor.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patches 0023-0037 from looncraz, unmodified.
2016-01-04 07:21:14 -05:00
looncraz
1a8c00c14b servers: Convert to using Set*UIColor.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patches 0020-0022 from looncraz, unmodified.
2016-01-04 07:18:48 -05:00
looncraz
d231c2a7a5 tests: Convert to using Set*UIColor.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patches 0018-0019 from looncraz.
2016-01-04 07:15:57 -05:00
Augustin Cavalier
d8ca833a35 SliderTest: dos2unix. 2016-01-04 07:10:54 -05:00
Augustin Cavalier
3199cff322 kits/interface: Convert the new BCardView over as well. 2016-01-04 07:08:24 -05:00
Augustin Cavalier
a4f254fa49 Remove printf() definition added in previous commit. 2016-01-04 07:06:55 -05:00
looncraz
7a96554cb3 kits/interface: Convert to using Set*UIColor.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patches 0003-0017 from looncraz, unmodified.
2016-01-04 07:04:45 -05:00
looncraz
7f9368cae5 Set*UIColor, etc.
The inseparable changes necessary to support live color updating across the
system in a sane, safe, and performant manner.

BView gains:

HasSystemColors()
HasDefaultColors()
AdoptSystemColors()
AdoptParentColors()
AdoptViewColor(BView*)
SetViewUIColor(color_which, float tint)
SetHighUIColor(...
SetLowUIColor(...
ViewUIColor(float* tint)
HighUIColor(...
LowUIColor(...
DelayedInvalidate()

BWindow gains a simple helper method:
IsOffscreenWindow()

BMessage gains:

AddColor()
FindColor()
GetColor()
HasColor()            * allegedly this API is deprecated, but I implemented it anyway
ReplaceColor()
SetColor()

Previous private ColorTools methods are made public and moved into GraphicsDefs:

mix_color, blend_color, disable_color

These are fully compatible with BeOS dan0 R5.1 methods and are just code cleanup
of BeOS example code under the OpenTracker license.

In addition, four new colors are created:
B_LINK_TEXT_COLOR
B_LINK_HOVER_COLOR
B_LINK_ACTIVE_COLOR
B_LINK_VISITED_COLOR

These changes are documented in their proper user documentation files.

In addition, due to a history rewrite, B_FOLLOW_LEFT_TOP has been defined and
used in lieu of B_FOLLOW_TOP | B_FOLLOW_LEFT and is included in this commit.

On the app_server side, the following has changed:

Add DelayedMessage - a system by which messages can be sent at a scheduled time,
and can also be merged according to set rules.  A single thread is used to service the
message queue and multiple recipients can be set for each message.
Desktop gains the ability to add message ports to a DelayedMessage so that
said messages can target either all applications or all windows, as needed.

Desktop maintains a BMessage which is used to queue up all pending color changes
and the delayed messaging system is used to enact these changes after a short
period of time has passed.  This prevents abuse and allows the system to merge
repeated set_ui_color events into one event for client applications, improving
performance drastically.

In addition, B_COLORS_UPDATED is sent to the BApplication, which forwards the message
to each BWindow.  This is done to improve performance over having the app_server
independently informing each window.

Decorator changes are live now, which required some reworking.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-01-04 06:48:22 -05:00
Humdinger
a3212ce3e9 Update Clipdinger package for 64bit 2016-01-04 17:26:30 +01:00
Humdinger
c97bb97467 Update Clipdinger package for gcc4 2016-01-04 17:20:49 +01:00
Humdinger
60321baacc Updated version of Clipdinger package
New in v0.5:
* Added a feature to paste to the online service Sprunge.us
* Bug fix: A chosen favorite will now appear at the top of the clip list,
  which always shows what's currently in the clipboard.
* Bug fix: Using the mouse instead of the cursor keys to switch list now
  correctly shows the inactive list "dimmed".
2016-01-04 16:42:00 +01:00
DarkmatterVale
e1474dd440 BSnow: Remove from tree.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
It now lives at HaikuArchives.
2016-01-03 08:33:25 -05:00
François Revol
59405aa6be App_FLUID: Set MinLOD of reflexes back to 0
It makes the icon look less flat in 16x16.
2016-01-03 17:48:35 +01:00
Julian Harnath
85e034e479 app_server: lock previous alpha mask when generating mask
* Also, regenerate masks from bottom to top to make sure all
  of the lower mask is generated before masks higher in the
  stack are rendered.
2016-01-03 16:42:48 +01:00
Julian Harnath
e532264bcb app_server: attach correct rendering buffer to cloned mask
* When cloning a cached mask, we have to attach the
  AGG rendering buffer of the new instance to the AGG clipped
  mask object. Before, it was using the buffer description from
  the clone source.. which can later disappear at any time.

* Fixes bug #12478
2016-01-03 16:42:40 +01:00
Dario Casalinuovo
6f5c753d12 MediaPlayer: Show tip with current time when seeking.
* Rework of the patch from dburkart, Thanks!
* Fixes #8567.
2016-01-02 19:26:33 +01:00
Augustin Cavalier
4dfbf1d04c network/stack: #if 0 out ppp_frame datalink protocol.
Forgot to do this in previous push.
2016-01-02 12:28:00 -05:00
mshlyn
e3724c38cb PPP: Port to the new stack.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>

This is a squash of the 42 commits by @mshlyn, as I couldn't find a
way to break them into logical chunks. I did not include these in the build,
as it appears that they only partially work anyway, and much more cleanup is
still needed. However, this is a huge improvement on what was in the tree
before, which looked horrendous and didn't even compile (as it was designed
for the old stack).

Mostly fixes #812.
2016-01-02 07:22:13 -05:00
François Revol
7121057cb7 Add an App_FLUID icon (FLTK's IDE)
Based on Misc_Erlenmeyer
2016-01-01 22:41:55 +01:00
François Revol
733150c77a Add a Misc_Erlenmeyer icon
Hmm, transparency!
2016-01-01 22:41:55 +01:00
DarkmatterVale
6511a06111 Add help option to RemoteDesktop 2016-01-01 21:03:33 +01:00
DarkmatterVale
8de8a927ee Fix white screen of death in remotedesktop
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2016-01-01 21:03:30 +01:00
François Revol
b23cb01e7c Add a Misc_Milestone icon
How come we didn't have one yet?
2016-01-01 20:25:35 +01:00
François Revol
62aa9bd547 Misc_FreeBSD: fix shadows 2016-01-01 19:49:49 +01:00