Merge lp://staging/~ricotz/plank/wayland into lp://staging/plank

Proposed by Rico Tzschichholz
Status: Work in progress
Proposed branch: lp://staging/~ricotz/plank/wayland
Merge into: lp://staging/plank
Diff against target: 275 lines (+65/-22)
9 files modified
lib/DockController.vala (+5/-0)
lib/Factories/AbstractMain.vala (+2/-8)
lib/HideManager.vala (+18/-8)
lib/Items/ApplicationDockItem.vala (+17/-5)
lib/Items/ApplicationDockItemProvider.vala (+3/-0)
lib/Items/DefaultApplicationDockItemProvider.vala (+7/-1)
lib/Items/TransientDockItem.vala (+3/-0)
lib/Widgets/CompositedWindow.vala (+4/-0)
lib/Widgets/DockWindow.vala (+6/-0)
To merge this branch: bzr merge lp://staging/~ricotz/plank/wayland
Reviewer Review Type Date Requested Status
Docky Core Pending
Review via email: mp+277344@code.staging.launchpad.net

Description of the change

Just make it run under Wayland nothing more.

* No window management
* Unable to position dock-window
* Broken DND

Wayland doesn't provide a common interface to interact or query information needed for a standalone dock to work, it requires support by the running compositor or even being integrated in it.

To post a comment you must log in.
lp://staging/~ricotz/plank/wayland updated
1443. By Rico Tzschichholz

Add methods to check some desktop environment types

1444. By Rico Tzschichholz

trash: Implement perform_empty_trash()

Only try using Nautilus on "GNOME" and "Unity" enviroments

1445. By Rico Tzschichholz

theme: Add "CascadeHide" option

If true it will cause background and icons to unhide/hide with different
speeds so they will leave/hit the screen-edge at the same time.

1446. By Rico Tzschichholz

po: Update translations

1447. By Rico Tzschichholz

dragmanager: Don't grab input and abort this drag if DragItem is null

1448. By Rico Tzschichholz

dockwindow: Be more persuasive to get the window where is should be

1449. By Rico Tzschichholz

po: Update translations

1450. By Rico Tzschichholz

Use fixed ObjectClass.list_properties() of valac 0.31/32 if available

1451. By Rico Tzschichholz

dockitem: Actually use internal constant ITEM_INVALID_DURATION

1452. By Rico Tzschichholz

po: Make use of "translator-credits" for Gtk.AboutDialog

1453. By Rico Tzschichholz

po: Update translations

1454. By Rico Tzschichholz

lib: Add internal compatibility wrapper for gtk+ 3.19.1+

1455. By Rico Tzschichholz

widgets: Adjust custom widgets for gtk+ 3.19.1+

1456. By Rico Tzschichholz

theme: Create and use custom Gtk.StyleContext

1457. By Rico Tzschichholz

dragmanager: Better handling if the actual selection-data is null

1458. By Rico Tzschichholz

dockitem: Only use file-monitor for "file://"-icon-files

1459. By Rico Tzschichholz

build: Add "run-debug" target for running plank uninstalled within gdb

1460. By Rico Tzschichholz

lib: Move HoverWindow instance into DockController

1461. By Rico Tzschichholz

dragmanager: Show descriptive tooltip on external-dnd actions

1462. By Rico Tzschichholz

dragmanager: desktop-files are special and deserve the drop-to-dock text

1463. By Rico Tzschichholz

po: Update translations

1464. By Rico Tzschichholz

po: Update translations

1465. By Rico Tzschichholz

data: Update appdata to 0.6+ format

1466. By Rico Tzschichholz

appdata: Make "summary" translatable, re-use tweaked desktop-file comment

1467. By Rico Tzschichholz

po: Update translations

1468. By Rico Tzschichholz

Welcome to 2016

1469. By Rico Tzschichholz

Use clamp() instead of min(max())

1470. By Rico Tzschichholz

dockpreferences: No need to notify about external changes of DockItems

1471. By Rico Tzschichholz

dockcontroller: Serialize possible DockItems change on start-up

1472. By Rico Tzschichholz

dockcontroller: Fix r1471 and actually save DockItems change on start-up

1473. By Rico Tzschichholz

color: Fix mess-up of r1469

1474. By Rico Tzschichholz

filedockitem: Hide "Keep in Dock" wile LockItems is enabled

1475. By Rico Tzschichholz

po: Update translations

1476. By Rico Tzschichholz

dockrenderer: Don't apply window-scale-factor twice on foreground-icon-size

Regression of r1343

1477. By Rico Tzschichholz

applicationdockitem: Check LauncherEntry values for actual changes

Also restrict the precision of "progress".

1478. By Rico Tzschichholz

items: Reduce redraw requests on LauncherEntry updates

1479. By Rico Tzschichholz

items: Fix build without dbusmenu-glib

1480. By Rico Tzschichholz

unity: Handle bad LauncherAPI clients which have an insane update-rate

Skip/hold requests if they are arriving within a defined threshold of
32ms after the previous one.

This avoids plank to freeze while not being able to handle all requests.

1481. By Rico Tzschichholz

positionmanager: Expand dock on external-drag without enabled zoom too

Also try harder to insert dropped elements at the actually desired spot.

1482. By Rico Tzschichholz

unity: Allow a specific amount of fast-updates before skipping/delaying

Cope with applications which are firing update-requests for multiple
application-uris at the same time.

1483. By Rico Tzschichholz

Revert "dockpreferences: No need to notify about external changes of DockItems"

This breaks GLib.Settings.bind() so that DockItems never get saved.

1484. By Rico Tzschichholz

Allow and handle uris with "docklet" scheme

1485. By Rico Tzschichholz

tests: Drop PreferencesWindow test

1486. By Rico Tzschichholz

Add some functionality to docklets GUI

Drag'n'drop or double-click a docklet to add it.

1487. By Rico Tzschichholz

settings: Must take reference of matched ParamSpec

Not doing so results in an undefined behaviour while things ran out of
scope when calling GSettings.bind().

This reverts r1430

1488. By Rico Tzschichholz

build: Fix gtk+-3.0 < 3.10 (non-HiDPI)

1489. By Rico Tzschichholz

preferenceswindow: Allow changing the backing DockController

1490. By Rico Tzschichholz

unity: Expose API to handle LauncherEntry DBus clients

1491. By Rico Tzschichholz

po: Update translations

1492. By Rico Tzschichholz

Cast callbacks to GLib.SourceFunc where possible

1493. By Rico Tzschichholz

unity: Use the real sender-name given by NameOwnerChanged

1494. By Rico Tzschichholz

build: Add autogen.sh to tarball

Conveniently rebuild/update the autotools downstream.

1495. By Rico Tzschichholz

po: Update translations

1496. By Rico Tzschichholz

examples: Add UnityClient example

1497. By Rico Tzschichholz

abstractmain: Use new GLib.Application commandline handling API

Require glib >= 2.40

1498. By Rico Tzschichholz

build: Drop support for gee-1.0

1499. By Rico Tzschichholz

build: Drop obsololete glib conditionals and bump vala's target-glib

1500. By Rico Tzschichholz

build: Drop support for gtk+ < 3.10

1501. By Rico Tzschichholz

ui: Use valac's gtktemplate support

1502. By Rico Tzschichholz

po: Update translations

1503. By Rico Tzschichholz

lib: Update symbols

1504. By Rico Tzschichholz

build: Only cairo >= 1.13 is required for HiDPI

1505. By Rico Tzschichholz

tests: Make sure to quit "dock" test application

1506. By Rico Tzschichholz

preferenceswindow: Keep translated "Preferences" string around for now

1507. By Rico Tzschichholz

docktheme: Adjust draw-position item-badge to avoid cropped shadow

1508. By Rico Tzschichholz

positionmanager: Partly restore original icon-zoom

1509. By Rico Tzschichholz

dockitem: Handle file-monitor event where current launcher was target

If "other" of FileMonitorEvent.MOVED matches our current launcher-file
than it got replaced by a new file, so avoid doing anything other than
loading possible new information.

1510. By Rico Tzschichholz

items: Handle "PinnedOnly" in DefaultApplicationDockItemProvider

This is more efficient than doing this in the DockController. Only the
actually effected items are created/purged on a settings change.

1511. By Rico Tzschichholz

factories: Generalize "dockitem-file" loader

1512. By Rico Tzschichholz

items: Add LauncherEntry's transient-items only if allowed

Regression of r1510

1513. By Rico Tzschichholz

Add "simple and experimental" multi-dock support

Running multiple concurrent instances while using "-n|--name"
is still possible.

There are no exposed GUI controls, therefore the newly added
"enabled-docks" settings-key should be used.

1514. By Rico Tzschichholz

items: Add transient-items only if allowed

1515. By Rico Tzschichholz

Update NEWS

1516. By Rico Tzschichholz

po: Update translations

1517. By Rico Tzschichholz

utils: Add internal create_settings() and try_create_settings()

... and make use of them where possible.

1518. By Rico Tzschichholz

utils: Add internal string_split_combine()

1519. By Rico Tzschichholz

utils: Add internal file_is_dockitem()

1520. By Rico Tzschichholz

settings: Allow to specify gsetting's bind-flags

1521. By Rico Tzschichholz

Follow the environment's setting whether to show notifications or not

If false, urgent-bounce and urgent-glow animations are disabled.

1522. By Rico Tzschichholz

lib: Move DockItemDrawValue and its dependencies to top-level namespace

1523. By Rico Tzschichholz

docs: Fix build

1524. By Rico Tzschichholz

controller: If the item-count has changed do a more thorough size-update

1525. By Rico Tzschichholz

positionmanager: Drop redundant call of update_regions()

1526. By Rico Tzschichholz

surfacecache: Force allow-downscale if drawing-time is insanely high

If drawing-time of a single surface exceeds a certains limit (30ms) and
"flags" is NONE then set ALLOW_DOWNSCALE to make it less demanding.

Also mark the created surface, so the DockRenderer can try to ease things
out for later draw requests.

1527. By Rico Tzschichholz

services: Rename internal Offsettings to EnvironmentSettings

1528. By Rico Tzschichholz

Check existence of keys in 3rd-party GSchemas before using them

Accessing a non-existing key is a fatal error for GSettings.

1529. By Rico Tzschichholz

po: Update translations

1530. By Rico Tzschichholz

prefs: Add TooltipsEnabled setting

This controls whether to show tooltips on hovering items with the cursor.
Tooltips showing up to descibe ongoing DnD-actions are not impacted.

It is enabled by default.

1531. By Rico Tzschichholz

hidemanager: TOUCHPAD devices are able to perform pressure on a barrier

1532. By Rico Tzschichholz

preferenceswindow: Hide "auto-pinning" setting

1533. By Rico Tzschichholz

preferenceswindow: Hide "show-dock-item" setting

Make "show-dock-item" default to false

1534. By Rico Tzschichholz

data: Some tweaking of the default themes

1535. By Rico Tzschichholz

Update README

1536. By Rico Tzschichholz

Update NEWS

1537. By Rico Tzschichholz

Prepare 0.11.0 release

1538. By Rico Tzschichholz

Back to development

1539. By Rico Tzschichholz

system: Use DesktopAppInfo.from_filename() to set desktop-filename

If the filename property is not set then an empty string will be send out
via org.gtk.gio.DesktopAppInfo rather than the proper desktop-filename
that we actually have. This is used for startup-notifications by Bamf.

1540. By Rico Tzschichholz

po: Update translations

1541. By Rico Tzschichholz

dockletmanager: Only handle properly named docklet-libraries

1542. By Rico Tzschichholz

controller: Actually emmit elements_changed() to make DBusClient work

1543. By Rico Tzschichholz

vapi: Sync libbamf3.vapi with 0.5.3~bzr0+16.04.20160322.1-0ubuntu1

1544. By Rico Tzschichholz

applicationdockitem: Force indicator-update if running-state changed

1545. By Rico Tzschichholz

applicationdockitem: Use child-* signals of Bamf.View

The window-* signals are emitted too early and the internal window/xid
caches of Bamf aren't updated yet.

1546. By Rico Tzschichholz

po: Update translations

1547. By Rico Tzschichholz

Prepare 0.11.1 release

1548. By Rico Tzschichholz

Back to development

1549. By Rico Tzschichholz

lib: Update symbols

1550. By Rico Tzschichholz

surface: Some minor cleaning

1551. By Rico Tzschichholz

drawing/color: Add support for HSL and some convenience functions

1552. By Rico Tzschichholz

clippy: Pass correct index in menu-item-callback

1553. By Rico Tzschichholz

clippy: text parameter of ClipboardTextReceivedFunc is allowed to be null

1554. By Rico Tzschichholz

po: Update translations

1555. By Rico Tzschichholz

clippy: Need to own the clipboard's content before allowed to clear it

1556. By Rico Tzschichholz

po: Update translations

1557. By Rico Tzschichholz

build: Require valac >= 0.26.0 and drop obsolete conditionals

1558. By Rico Tzschichholz

lib: Use vala's Cairo.Surface.get/set_device_scale() bindings

1559. By Rico Tzschichholz

vapi: Drop internal copy of x11.vapi

1560. By Rico Tzschichholz

lib: Add and enforce some file-count limits

This is just a safe-guard to prevent plank from "blowing up" if we are
about to handle an unreasonable amount of files.

1561. By Rico Tzschichholz

docklets: Fill in some descriptions and not leave them blank

1562. By Rico Tzschichholz

Prepare 0.11.2 release

1563. By Rico Tzschichholz

Back to development

1564. By Rico Tzschichholz

po: Update translations

1565. By Rico Tzschichholz

Add CPUMonitor docklet

1566. By Rico Tzschichholz

po: Update translations

1567. By Rico Tzschichholz

appdata: Add some keywords and translate-url

1568. By Rico Tzschichholz

tests: Fix type mismatch

1569. By Rico Tzschichholz

clippy: Move generic-typed field initializer to construct

1570. By Rico Tzschichholz

po: Update translations

1571. By Rico Tzschichholz

surfacecache: Never clear the cache completely

1572. By Rico Tzschichholz

po: Update translations

1573. By Rico Tzschichholz

Make use of vala's native Regex support where possible

1574. By Rico Tzschichholz

WIP Wayland

Unmerged revisions

1574. By Rico Tzschichholz

WIP Wayland

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to status/vote changes: