Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get last updates and update to gnome 42 #12

Open
wants to merge 516 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
516 commits
Select commit Hold shift + click to select a range
0bdc2de
cleanup: Use consistent return in functions
3v1n0 Feb 22, 2023
5af7663
cleanup: Use frozen objects for enum-like definitions
3v1n0 Feb 22, 2023
91645b1
docking: Remove autohide trigger timeout on destruction
3v1n0 Feb 22, 2023
8673724
cleanup: Remove unused variables
3v1n0 Feb 22, 2023
10a216b
cleanup: Use prefer-const as a required rule
3v1n0 Feb 22, 2023
1397c25
cleanup: Use deconstruction before using index access
3v1n0 Feb 22, 2023
650e1b0
windowPreview: Get scale size without using an utility function
3v1n0 Feb 22, 2023
0fec43b
cleanup: Use a limit of 110 chars for line length
3v1n0 Feb 23, 2023
fb1bb3f
cleanup: Prefer destructuring and fix code to do that
3v1n0 Feb 23, 2023
2008169
cleanup: Avoid usage of for-in
3v1n0 Feb 23, 2023
4a57e2c
appIcons: Allow marking urgent applications when not running
3v1n0 Feb 23, 2023
e4345b2
appIconIndicators: Do not load theme node for off-stage widgets
3v1n0 Feb 23, 2023
75aa95e
cleanup: Always use deconstruction to perform imports
3v1n0 Feb 23, 2023
7209c47
locations: Notify error message to the user, not the error itself
3v1n0 Feb 23, 2023
26f7b06
locations: Ignore errors when mounting a mounted device or umounting …
3v1n0 Feb 23, 2023
afad2bb
locations: Do not try to use the handler app twice to launch if not f…
3v1n0 Feb 23, 2023
078c71f
cleanup: Use destructured imports in missing places
3v1n0 Feb 23, 2023
fb75142
locations: Check for gjs version just once
3v1n0 Feb 23, 2023
29d6ce6
locations: Do not return anything on open_new_window
3v1n0 Feb 23, 2023
3d75111
locations: Mark the application as stopped if launching fails
3v1n0 Feb 23, 2023
2fa4b19
locations: Use async API to get the handler APP for uri
3v1n0 Feb 23, 2023
cd21857
locations: Use better logic to check if a new window can be opened
3v1n0 Feb 24, 2023
e198902
locations: Handle undefined error gracefully
3v1n0 Feb 24, 2023
75b0474
eslint: Ignore _build path files
3v1n0 Feb 24, 2023
3d1e45f
Makefile: Move each installed file in a single line
3v1n0 Feb 24, 2023
2539020
New e.g.o. release v76
3v1n0 Feb 24, 2023
61cc0be
locations: Keep track of launch wait timeouts
3v1n0 Feb 27, 2023
3ed707c
New e.g.o. release v77
3v1n0 Feb 27, 2023
5572edf
locations: Ensure we always remove tracked launch timeout sources
3v1n0 Feb 27, 2023
668f7ce
fix: this._launchMaxWaitIds is undefined
dav1app Feb 27, 2023
f914bbf
appIconIndicators: Unpack texture names, not the iconInfo
3v1n0 Feb 28, 2023
68041cd
locations: Create launchMaxWait in order
3v1n0 Feb 28, 2023
4788aea
Release v78
3v1n0 Feb 28, 2023
c374d66
windowPreview: Honor button layout settings for the window preview close
3v1n0 Feb 28, 2023
664b76f
docking: export Docking.State enum
3v1n0 Mar 2, 2023
ed774f4
Hide application tooltip option
SubZ69 Mar 1, 2023
27f0478
cleanup: get scaleFactor using deconstruction
3v1n0 Mar 7, 2023
30df036
utils: Use St.IconTheme if available
3v1n0 Mar 7, 2023
2e8a272
appIndicators: Destroy the notifications badge on destruction
3v1n0 Mar 7, 2023
6dff209
prefs: Use SHELL_VERSION not to depend on running shell
3v1n0 Mar 7, 2023
be3069e
prefs: Add ability to toggle visibility of icon emblems
3v1n0 Mar 7, 2023
90fce4c
appIconIndicators: Add add unhanded notifications to icon count
3v1n0 Mar 7, 2023
1c619af
fixup! appIndicators: Destroy the notifications badge on destruction
3v1n0 Mar 7, 2023
a66b333
appIcons: Do not show icon emblems on do-not-disturb mode
3v1n0 Mar 7, 2023
23377ce
locations: Re-use cached handler app instead of querying it all the t…
3v1n0 Mar 7, 2023
a21bfc1
Release v79
3v1n0 Mar 7, 2023
4d6c982
Update German translation
Amr-Ibra Mar 7, 2023
ce4061e
Update Spanish translation
hasecilu Mar 13, 2023
b0432b4
Update potfile changes to es.po
hasecilu Mar 16, 2023
a9dce92
Change "dance" to "wiggle"
Amr-Ibra Mar 28, 2023
8fe467d
prefs: Set default window height to 850, if it fits
vanvugt Mar 28, 2023
21a383a
Fix consistency of fullstops in strings
stuarthayhurst Apr 11, 2023
a34aca4
Updated translations
stuarthayhurst Apr 12, 2023
7e0f741
docking: Set dance timeline duration to 1 if animations are disabled
3v1n0 Apr 12, 2023
b6b3645
appInconIndicators: Improve the computing of the counter badge size
3v1n0 Apr 12, 2023
b59a42d
notificationsMonitor: Do not count the acknowledged resident notifica…
3v1n0 Apr 12, 2023
1d3f774
docking: Initialize settings before than other classes that could use…
3v1n0 Apr 12, 2023
3012286
notificationsMonitor: Add an options to disable notifications counter…
3v1n0 Apr 12, 2023
5c5f9e0
appIconIndicators: Add an option to control whether the counters are …
3v1n0 Apr 12, 2023
89427a8
docking: Initialize the Launcher remote model only if needed
3v1n0 Apr 12, 2023
89643c7
locations: Use a CommandLine App to launch new windows
3v1n0 Apr 13, 2023
a5f2e9d
locations: Use correct name for default handler finish function
3v1n0 Apr 13, 2023
64b373a
locations: Use an external helper to get the location handler
3v1n0 Apr 13, 2023
bd80db5
locations: Use normal launch operation if location is not set yet
3v1n0 Apr 13, 2023
884e30f
locationsWorker: Use more async awaitness
3v1n0 Apr 14, 2023
6f002c5
Update Russian translation
proninyaroslav Apr 17, 2023
f41d9f5
Release v80
3v1n0 Apr 17, 2023
20c885d
docking: Cleanup startup animation injections once done
3v1n0 May 15, 2023
48ddc18
docking: Handling monitors changed events while preparing startup ani…
3v1n0 May 15, 2023
dfc515a
docking: Keep clip and coverPane size matching current setup
3v1n0 May 15, 2023
1d7b2cd
schemas: Update some descriptions to match actual behavior
3v1n0 Apr 19, 2023
ca78fda
docking: Cleanup some stray lines
3v1n0 Apr 19, 2023
b912649
dash: Do DockDash class initialization at first thing
3v1n0 Apr 19, 2023
541d51f
dash: Add option to keep the icons always centered in extended mode
3v1n0 Apr 19, 2023
4816e08
Settings: improve wording on show-apps option
3v1n0 Apr 19, 2023
693ab5b
dash: Add option to show the show-apps button bound to icons in panel…
3v1n0 Apr 19, 2023
9231955
Release v81
3v1n0 May 15, 2023
8a88bd4
intellihide: add dropdown menu to handled window types
taoky May 20, 2023
810c1a5
Merge pull request #2014 from taoky/master
vanvugt May 29, 2023
ec96127
Update Turkish translation
May 20, 2023
c6c4092
docking: Use upstream addChrome to track actors
3v1n0 May 15, 2023
4a7f3a6
docking: Do ControlsManagerLayout allocation with box-adjusted workArea
3v1n0 May 31, 2023
2bdc7ee
docking: Be more consistent in reducing the overlay layout space
3v1n0 May 31, 2023
dfb1ac1
docking: Add both bottom and top spacing when there are no workspaces…
3v1n0 May 31, 2023
f1e558b
dash: Use a different container to hold floating ShowAppsIcon
3v1n0 May 31, 2023
c89c8d6
dash: Temporary remove separator when re-displaying icons
3v1n0 Jun 2, 2023
50d7a98
dash: Compute number of icons easily and correctly to show the separator
3v1n0 Jun 2, 2023
46e6036
dash: Cleanup a bit the icons ordering code
3v1n0 Jun 2, 2023
cae9f64
dash: Animate icons during overview animation but not during startup
3v1n0 Jun 2, 2023
f4008aa
Release v82
3v1n0 Jun 2, 2023
e1d38ae
Update Simplified Chinese translation
WhiredPlanck Jun 6, 2023
f07f557
Update Traditional Chinese translation
WhiredPlanck Jun 6, 2023
bd4e3fb
Revert "dash: Compute number of icons easily and correctly to show th…
3v1n0 Jun 2, 2023
365aeaa
dash: Take in account the number of removed favorites to add the sepa…
3v1n0 Jun 2, 2023
9e030e4
Fixed dash-js app issue
addieStarr Jun 7, 2023
827391a
Release v83
3v1n0 Jun 13, 2023
09c9d92
docking: Always affect the input region when adding the dock
3v1n0 Jun 13, 2023
3ff9552
Releasing v84
3v1n0 Jun 15, 2023
9d33d03
docking: Update dock visibility after overview hide animation is done
stuarthayhurst Jul 9, 2023
bf80d68
Update German translation
Amr-Ibra Jul 4, 2023
0bebc3e
Fix some icons missing dominant color
jrom99 Jun 16, 2023
124ee3d
Adds sensible fallback if dominant color is missing
jrom99 Jun 16, 2023
cc089fe
Fix mounted drives missing dominant color
jrom99 Jun 16, 2023
26cfb37
appIconIndicators: Address eslint comments on dominant color fix
3v1n0 Aug 14, 2023
2ec2e0e
extension: Port to ESM
3v1n0 Aug 14, 2023
574c424
eslint: Update rules to match gnome-shell 45 and fix syntax
3v1n0 Aug 14, 2023
71189a9
Relasing v85
3v1n0 Aug 17, 2023
d92faf0
Imports: use less verbose export strategy
3v1n0 Aug 17, 2023
ff9347e
prefs: Use GObject class for signal emission
3v1n0 Aug 17, 2023
efb3f56
cleanup: Avoid setting modules versions
3v1n0 Aug 17, 2023
59818fc
prefs: Remove unneeded log line
3v1n0 Aug 17, 2023
962bc4a
Releasing v87
3v1n0 Aug 17, 2023
3a9831f
dependencies/gi: Use shorter syntax for dependencies imports
3v1n0 Aug 22, 2023
127a2b2
eslint: Force dangle comma on multi-line imports
3v1n0 Aug 22, 2023
9fd7000
locations: Use TextDecoder instead of deprecated ByteArray
3v1n0 Aug 29, 2023
b4986eb
locations: Throw a clearer error if handlerApp is not found
3v1n0 Aug 29, 2023
11277e2
locationsWorker: Exit with the main script exit code
3v1n0 Aug 29, 2023
2633851
appIcons: Use Mtk.Rectangle instead of Meta.Rectangle
stuarthayhurst Sep 11, 2023
251a3fc
Update Ukrainian translation
xalt7x Sep 27, 2023
70e34ab
Update Hungarian translation
urbalazs Sep 25, 2023
b93e8bd
Fix dashtodock.pot generation
xalt7x Sep 24, 2023
969c442
Created sl-po
urmatej Aug 29, 2023
e168975
metadata: Bump to version 88
3v1n0 Oct 9, 2023
d9e5db2
docking: Do not manually dispose the settings object
3v1n0 Oct 9, 2023
d851937
docking: Use St.IconTheme directly, without wrappers
3v1n0 Oct 9, 2023
6cc0995
dependencies/gi: Do not import Gdk or Gtk into the shell
3v1n0 Oct 9, 2023
2912e1e
Bump version to v89
3v1n0 Oct 9, 2023
dd7c89b
Update Spanish translations
hasecilu Oct 10, 2023
ff313db
appIcons: Add support for translating plural forms
3v1n0 Oct 9, 2023
a972be0
Add missing third argument
xalt7x Oct 11, 2023
ac7e317
Use the function ngettext directly
xalt7x Oct 11, 2023
47b9bb7
Update Ukrainian translation (sync with PR #2102)
xalt7x Oct 14, 2023
61e711f
Update German translation
Amr-Ibra Nov 2, 2023
e7c53bf
Fix Polish translation of "Empty Trash"
pwiecz Jan 5, 2024
e66ff9c
Merge pull request #2140 from pwiecz/master
vanvugt Jan 24, 2024
c19354d
Merge pull request #2118 from Amr-Ibra/german-translation
vanvugt Jan 24, 2024
c569e2e
Merge pull request #2107 from xalt7x/ukrainian-translation
vanvugt Jan 24, 2024
523cba9
Change "Show Details" to GNOME's "App Details"
proninyaroslav Nov 1, 2023
fc35381
Fix auto format indents
proninyaroslav Nov 1, 2023
46b81ae
Fix for blurry background when opening a new application
sniirful Feb 15, 2024
e48a602
Simplify animation duration expression into one-liner
sniirful Feb 16, 2024
da38b12
Update for Gnome Shell 46
sergio-costas Feb 12, 2024
9b037f8
Fix hover highlight in Gnome Shell 45
sergio-costas Feb 29, 2024
6a657eb
Right detection of barriers
sergio-costas Feb 21, 2024
aadd53b
Fix Overview mode
sergio-costas Feb 27, 2024
e4a84f2
Code simplification
sergio-costas Feb 27, 2024
4191811
Fix position error
sergio-costas Feb 29, 2024
68e0203
Remove the gray background in each icon
sergio-costas Feb 29, 2024
de35ab6
Show the currently focused application
sergio-costas Feb 29, 2024
5f6d27c
Nitpicks requested
sergio-costas Mar 1, 2024
3759956
Remove unneeded settings in overview-til
sergio-costas Mar 12, 2024
42ee745
windowPreview: Use set_child instead of add_child
vanvugt Mar 12, 2024
8349757
Fix odd rectangle in apps view
sergio-costas Mar 18, 2024
506dd02
Merge pull request #2146 from sergio-costas/update_to_gnome_shell_46
vanvugt Mar 20, 2024
bc7af63
Remove any dependency on dockmanager in desktopIconsIntegration.js
smedir Dec 12, 2023
f509ece
appIndicators: Update progress bar colors to be more modern
sergio-costas Mar 1, 2024
6ba648a
appIndicators: Use track instead of background
sergio-costas Mar 1, 2024
554f7c5
stylesheet: Allow to use CSS to fully set gradient colors
sergio-costas Mar 1, 2024
07cd4c5
docking: adapt ControlsManagerLayout spacing for GNOME 46
taoky Mar 25, 2024
1053b3e
Fix dot height in default mode (#2168)
sergio-costas Mar 27, 2024
7482669
docking: Hard code the startup animation time
vanvugt Mar 20, 2024
936b866
docking: Use the upstream gnome-shell startup animation code
vanvugt Mar 20, 2024
6954508
i18n: Fix sl-po file extension
yakushabb Mar 30, 2024
44a4726
fix deprecated "St.ScrollView.[hv]scroll" property
K1ngjulien Mar 28, 2024
1322cf7
docking: fix window picker space for multi-monitor environments
taoky Mar 16, 2024
d6c0b6b
intellihide: enable/disable unredirect when dock shows/hides
taoky Feb 3, 2024
cfb78f5
ci/make: Bump to checkout@v4
3v1n0 Apr 8, 2024
fe5dcc0
make: Continue using flat config
3v1n0 Apr 8, 2024
5d417c0
locations: Remove unused variable
3v1n0 Apr 8, 2024
3e7095a
appIcon: Allow customizing the showAppsIcon based on the session mode
3v1n0 Apr 17, 2024
c398b93
intellihide: Fix unexpected unredirection disable with overview
taoky Apr 15, 2024
f01f978
intellihide: treat fullscreen windows as maximized
JimmyJichi Mar 28, 2024
35e2b31
Release dash-to-dock v90
3v1n0 Apr 17, 2024
4aad71e
docking: Use the signal handler to disconnect on startup-completed si…
3v1n0 Apr 18, 2024
f6579c0
locations: Do not cancel operations after a volume has been umounted …
3v1n0 Apr 18, 2024
6585266
locations: Do not warn if a file info has not the icon attribute
3v1n0 Apr 18, 2024
10db863
Release dash-to-dock v91
3v1n0 Apr 19, 2024
b9bf062
i18n: Add Korean translation
bc-lee Apr 21, 2024
6745d8c
Fix window preview in Gnome 45
sergio-costas Apr 24, 2024
e4f1a2e
Move .actor test to its own function
sergio-costas Apr 24, 2024
8a73fa6
Releasing dash-to-dock v92
3v1n0 Apr 25, 2024
a3f37c2
locations: Ask again for password on encryption failures
3v1n0 May 5, 2024
57c0ce0
Fix communication with DING
sergio-costas May 12, 2024
e37e325
Apply changes in all cases
sergio-costas May 16, 2024
28e64a9
Fix style
sergio-costas May 16, 2024
88a1160
Don't show error messages when disabling
sergio-costas Jun 24, 2024
55f8310
UDENG-3111: allow to disable an icon in the dock during updates (#2240)
sergio-costas Jul 1, 2024
9270a6e
docking: Fix allocation failure in GNOME 47 that completely broke the…
vanvugt May 28, 2024
ec21858
Fix window selected from preview not getting focus
Voltara Jul 1, 2024
dd35fb1
metadata.json: Enable support for gnome-shell 47 (#2248)
vanvugt Jul 5, 2024
d9297ed
appIcons: Make possible to override updating icons style from css
3v1n0 Aug 5, 2024
0a7d1a6
appIcons: Do not allow launching a new window if the app is updating
3v1n0 Aug 5, 2024
a5c3a24
appIcons: Hide launch menu items and generic actions if the app is up…
3v1n0 Aug 5, 2024
d958238
Releasing dash-to-dock v93
3v1n0 Aug 10, 2024
e81ef20
cleanup: Fix various comments and code typos
3v1n0 Aug 13, 2024
bf2137f
notificationsMonitor: Try to get appId from the source if set
3v1n0 Aug 12, 2024
b50b813
appIcons: Sync comment change with ubuntu-dock
3v1n0 Aug 13, 2024
63a3a4b
appIcons: Fix comment typo
3v1n0 Aug 13, 2024
6c1aa9f
appIcons: Remove duplicate source definition on DockAppIconMenu
3v1n0 Aug 13, 2024
abdfd09
stylesheet: Add missing declaration for overview tile states
3v1n0 Aug 13, 2024
c61ad56
appIcons: Allow to update the dot style offset in x too
3v1n0 Aug 13, 2024
03cf127
appIcons: Show an OSD error if trying to launch an updating app
3v1n0 Aug 13, 2024
e8f4817
appIcons: Always add a disabled menu item with the app title
3v1n0 Aug 13, 2024
44adf22
appIcons: Inform in menu items that the app is being being updated
3v1n0 Aug 13, 2024
2ade408
appIcons: Delete menu instance from app icon on destruction
3v1n0 Aug 13, 2024
560e072
appIcons: use upstream definition of shouldShowTooltip
3v1n0 Aug 13, 2024
f32f702
docking: Patch AppIcon to have more consistent Pin labels
3v1n0 Aug 13, 2024
4faeb78
appIcons: Use a labeled menu item separator for application title
3v1n0 Aug 13, 2024
87d64da
appIcons: Drop code that is not used anymore by any supported version
3v1n0 Aug 13, 2024
6dff79f
appIconIndicator: Move style handling for updating state here
3v1n0 Aug 24, 2024
136de6b
appIcons: Setup unity indicator properties on construction
3v1n0 Aug 24, 2024
a9a76ac
appIconsDecorator: Support decorating app icons with emblems everywhere
3v1n0 Aug 24, 2024
df98d46
launcherAPI: Avoid using regexes to replace all values in a string
3v1n0 Aug 24, 2024
4756955
appIndicators: Allow theming progress offsets
3v1n0 Aug 24, 2024
611690c
utils: Support injecting properties that are not on the main object
3v1n0 Aug 24, 2024
a2f4f4e
appIconsDecorator: Update icons style on updating changes
3v1n0 Aug 24, 2024
4d1515c
appIconsDecorator: Do not allow launching any application in updating…
3v1n0 Aug 24, 2024
7862abb
appIconsDecorator: Hide all menu items except unpinning ones on updating
3v1n0 Aug 24, 2024
37dd477
Release dash-to-dock v94
3v1n0 Aug 24, 2024
721eb6d
appIconsDecorator: Use the generic icons signal handler for result
3v1n0 Aug 26, 2024
ee2e5cc
appIconsDecorator: Destroy indicators on removal
3v1n0 Aug 26, 2024
ae46d1a
appIconsDecorator: Drop unneeded eslint ignores
3v1n0 Aug 26, 2024
fa9a15a
appIconsDecorator: Use a signal signals handler with labels
3v1n0 Aug 26, 2024
fc83603
appIconIndicators: Use lambda-style callbacks for better debugging
3v1n0 Aug 26, 2024
06c43e1
utils: Remove signal handler item on object destruction
3v1n0 Aug 26, 2024
5a61b50
Release dash-to-dock v95
3v1n0 Aug 27, 2024
6ab2267
Fix "Show Applications" button
sergio-costas Aug 28, 2024
924347d
Add `Dot` running indicator style
proninyaroslav Aug 28, 2024
8a01676
Update Russian translations
proninyaroslav Aug 30, 2024
dd7632a
Merge pull request #2277 from proninyaroslav/russian-translations
sergio-costas Aug 30, 2024
5e680cb
utils: Add clamp function and use it for Indicators values
3v1n0 Aug 29, 2024
a21998a
appIndicators: Add function to read theme values in a more JS way
3v1n0 Aug 29, 2024
745cdf1
appIconIndicators: Make progress bar paddings styled
3v1n0 Aug 29, 2024
93f4b8d
stylesheet: Make alignment in progress overview icons more consistent
3v1n0 Aug 29, 2024
6d8f0b1
appIconIndicators: Make progress bar height factor styled
3v1n0 Aug 29, 2024
5d87888
stylesheet: Use lighter progress bar on bigger overview icons
3v1n0 Aug 29, 2024
f4fab6b
appIconIndicators: Do not add notification badge code unless needed
3v1n0 Sep 2, 2024
e023157
appIcons[Decorator]: Improve wording on updating messages
3v1n0 Sep 5, 2024
5aad7f3
Release dash-to-dock v96
3v1n0 Sep 5, 2024
f322cc5
theming: Add support for Cogl.Color since Clutter.Color is deprecated…
vanvugt Sep 16, 2024
aac7cca
appIcons: Show app details menu for snap applications
3v1n0 Sep 16, 2024
66e239d
appIconsDecorator: Keep showing the details items when updating
3v1n0 Sep 16, 2024
b1628db
theming, appIconIndicators: Support both Cogl.Color and Clutter.Color
3v1n0 Sep 16, 2024
2b751ab
Update French translation
vinchatl Sep 27, 2024
16efec3
Release dash-to-dock v97
3v1n0 Oct 1, 2024
68cfb19
theming: Give Clutter.Color priority over Cogl.Color
3v1n0 Oct 3, 2024
5e6ae8f
Release dash-to-dock v98
3v1n0 Oct 3, 2024
b815d68
utils: Use an extra parameter for property injector constructor
3v1n0 Oct 3, 2024
54bf864
Release dash-to-dock v99
3v1n0 Oct 3, 2024
846f1fd
Fix dot position on Gnome 46.2 and greater (#2315)
sergio-costas Oct 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
ignorePatterns:
- _build/**

extends:
- ./lint/eslintrc-gjs.yml
- ./lint/eslintrc-shell.yml

overrides:
- files: ./*.js
globals:
global: readonly
_: readonly
C_: readonly
N_: readonly
ngettext: readonly

rules:
prefer-const: error
prefer-destructuring: warn
guard-for-in: error
max-len:
- error
- code: 110
ignoreUrls: true
ignoreTemplateLiterals: true

comma-dangle:
- error
- arrays: always-multiline
objects: always-multiline
imports: always-multiline
functions: never

parserOptions:
sourceType: module
32 changes: 32 additions & 0 deletions .github/workflows/make.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Make
'on':
pull_request:
push:
branches:
- master
- ubuntu-dock
- make_ci

jobs:
make:
name: Make
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v4

- name: Install dependencies.
run: sudo apt-get install -y sassc gettext

- name: Make
run: make

- name: Install modules
run: sudo npm install eslint -g

- name: Make Check
run: make check

- name: Make Install
run: make install
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ [email protected]
*.mo
po/dashtodock.pot
stylesheet.css
Settings.ui.h
_build
64 changes: 57 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,48 @@
# Basic Makefile

UUID = [email protected]
BASE_MODULES = extension.js metadata.json COPYING README.md
EXTRA_MODULES = dash.js docking.js appIcons.js appIconIndicators.js fileManager1API.js launcherAPI.js locations.js windowPreview.js intellihide.js prefs.js theming.js utils.js dbusmenuUtils.js Settings.ui
EXTRA_MEDIA = logo.svg glossy.svg highlight_stacked_bg.svg highlight_stacked_bg_h.svg
TOLOCALIZE = prefs.js appIcons.js locations.js
BASE_MODULES = extension.js \
metadata.json \
COPYING \
README.md \
$(NULL)

EXTRA_MODULES = \
appSpread.js \
dash.js \
docking.js \
appIcons.js \
appIconsDecorator.js \
appIconIndicators.js \
fileManager1API.js \
imports.js \
launcherAPI.js \
locations.js \
locationsWorker.js \
notificationsMonitor.js \
windowPreview.js \
intellihide.js \
prefs.js \
theming.js \
utils.js \
dbusmenuUtils.js \
desktopIconsIntegration.js \
Settings.ui \
$(NULL)

EXTRA_MEDIA = logo.svg \
glossy.svg \
highlight_stacked_bg.svg \
highlight_stacked_bg_h.svg \
$(NULL)

TOLOCALIZE = prefs.js \
docking.js \
appIcons.js \
appIconsDecorator.js \
locations.js \
$(NULL)

MSGSRC = $(wildcard po/*.po)
ifeq ($(strip $(DESTDIR)),)
INSTALLTYPE = local
Expand Down Expand Up @@ -48,9 +86,9 @@ mergepo: potfile

./po/dashtodock.pot: $(TOLOCALIZE) Settings.ui
mkdir -p po
xgettext -k --keyword=__ --keyword=N__ --add-comments='Translators:' -o po/dashtodock.pot --package-name "Dash to Dock" --from-code=utf-8 $(TOLOCALIZE)
xgettext --keyword=__ --keyword=N__ --add-comments='Translators:' -o po/dashtodock.pot --package-name "Dash to Dock" --from-code=utf-8 $(TOLOCALIZE)
intltool-extract --type=gettext/glade Settings.ui
xgettext -k --keyword=_ --keyword=N_ --join-existing -o po/dashtodock.pot Settings.ui.h
xgettext --keyword=_ --keyword=N_ --join-existing -o po/dashtodock.pot Settings.ui.h

./po/%.mo: ./po/%.po
msgfmt -c $< -o $@
Expand Down Expand Up @@ -82,7 +120,7 @@ endif
-rm -fR _build
echo done

zip-file: _build
zip-file: _build check
cd _build ; \
zip -qr "$(UUID)$(VSTRING).zip" .
mv _build/$(UUID)$(VSTRING).zip ./
Expand All @@ -92,6 +130,7 @@ _build: all
-rm -fR ./_build
mkdir -p _build
cp $(BASE_MODULES) $(EXTRA_MODULES) _build
cp -a dependencies _build
cp stylesheet.css _build
mkdir -p _build/media
cd media ; cp $(EXTRA_MEDIA) ../_build/media/
Expand All @@ -106,3 +145,14 @@ _build: all
cp $$l $$lf/LC_MESSAGES/dashtodock.mo; \
done;
sed -i 's/"version": -1/"version": "$(VERSION)"/' _build/metadata.json;

ifeq ($(strip $(ESLINT)),)
ESLINT = eslint
endif

ifneq ($(strip $(ESLINT_TAP)),)
ESLINT_ARGS = -f tap
endif

check:
ESLINT_USE_FLAT_CONFIG=false $(ESLINT) $(ESLINT_ARGS) .
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ The extension can be installed directly from source, either for the convenience

To compile the stylesheet you'll need an implementation of SASS. Dash to Dock supports `dart-sass` (`sass`), `sassc`, and `ruby-sass`. Every distro should have at least one of these implementations, we recommend using `dart-sass` (`sass`) or `sassc` over `ruby-sass` as `ruby-sass` is deprecated.

By default, Dash to Dock will attempt to build with `dart-sass`. To change this behavior set the `SASS` environment variable to either `sassc` or `ruby`.
By default, Dash to Dock will attempt to build with `sassc`. To change this behavior set the `SASS` environment variable to either `dart` or `ruby`.

```bash
export SASS=sassc
export SASS=dart
# or...
export SASS=ruby
```
Expand All @@ -32,10 +32,18 @@ Next use `make` to install the extension into your home directory. A Shell reloa

```bash
git clone https://github.com/micheleg/dash-to-dock.git
make
make install
make -C dash-to-dock install
```

If `msgfmt` is not available on your system, you will see an error message like the following:

```bash
make: msgfmt: No such file or directory
```

In this case install the `gettext` package from your distribution's repository.


## Bug Reporting

Bugs should be reported to the Github bug tracker [https://github.com/micheleg/dash-to-dock/issues](https://github.com/micheleg/dash-to-dock/issues).
Expand Down
Loading