Commit Graph

55080 Commits

Author SHA1 Message Date
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
François Revol
1eafdb85fe Add a Misc_FreeBSD icon 2016-01-01 19:32:05 +01:00
Augustin Cavalier
599289f2f3 ACPI: Revert the upgrade.
I don't have any hardware that reproduces the KDLs, and the developers
that do don't seem to have time to test / debug it, so I'm just reverting.
2016-01-01 07:51:56 -05:00
François Revol
694f80a877 Add an App_LibreOffice icon
Not sure the design looks obvious enough though.
2016-01-01 17:18:08 +01:00
François Revol
340c698e80 Add an App_Lazarus icon 2016-01-01 16:50:01 +01:00
François Revol
4a44a4f15f Add a Misc_Terminal_ncurses icon
Really just to illustrate my next FOSDEM talk ;-)
2016-01-01 16:25:50 +01:00
François Revol
c7ae2d8296 Add an Misc_HaikuBook icon 2016-01-01 16:07:47 +01:00
François Revol
3e004e8c20 Add a Misc_BeBook icon 2016-01-01 15:56:58 +01:00
François Revol
a5f29c01b4 Misc_Book: add missing object names 2016-01-01 15:49:07 +01:00
François Revol
d3eeff20bd Add Be, Be_2 and Zeta Overlay icons
Separated from the Device_Harddisk versions.
2016-01-01 15:44:48 +01:00
François Revol
0b88c85656 Device_Harddisk_Zeta icon: remove unused colors 2016-01-01 15:43:55 +01:00
François Revol
7408c0a8a4 Fix some icon shadows
- Misc_ORICAtmos: the back is larger
- Misc_TARDIS: use a gradient since it also has a light atop
2016-01-01 15:28:30 +01:00
François Revol
1e0e585e44 Add an App_wxWidgets icon just so it's there 2016-01-01 06:37:53 +01:00
François Revol
0fe022fd0d Add a little script to generate a montage of all icons
This needs the 'montage' command from ImageMagick.
(it will install it with pkgman if missing)

It first uses 'translate' to convert Icon-O-Matic files to PNG,
then makes a montage with the icon titles.

Run it from the top source folder under Haiku, it might take a while.
2016-01-01 05:53:38 +01:00
François Revol
805569fcf3 Add an App_FLTK icon for FLTK-based apps 2016-01-01 05:47:12 +01:00
François Revol
cc27637f99 Add a Misc_UEFI icon mimicking the UEFI Forum logo 2016-01-01 04:20:33 +01:00
François Revol
98f17b72c1 Add a Misc_ORICAtmos icon
A much needed addition!

ASCII NEW YEAR
2016-01-01 03:15:23 +01:00
Augustin Cavalier
3c85734188 BTextView: Don't crash if the file supplied is zero-length.
Fixes #12551.
2015-12-31 20:54:27 -05:00
Augustin Cavalier
aa89e2de03 ACPI: Use AcpiGbl_OverrideDefaultRegionHandlers and do the init ourselves.
May help with the recent boot failures, according to a post on the ACPICA-dev
mailing list.
2015-12-31 16:36:38 -05:00
Adrien Destugues
2c49943980 Use the existing ffmpeg function to decide if a format is planar. 2015-12-31 16:19:59 +01:00
Jessica Hamilton
8113bbfe40 ffmpeg addon: only use swresample for planar audio.
Fixes #12547.
2015-12-31 16:19:57 +01:00
Automatic Committer
ccb3f7e7a0 Update pci.ids from pciids.sourceforge.net 2015-12-31 05:20:29 +01:00