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

netusagemonitor@pdcurtis Update to version 3.2.6 (multiversion to support Cinnamon 4.0) #2114

Merged
merged 3 commits into from Nov 27, 2018

Conversation

pdcurtis
Copy link
Contributor

@pdcurtis pdcurtis commented Nov 25, 2018

  • Changes for Cinnamon 4.0 and higher to avoid segfaults when old Network Manager Library is no longer available by using multiversion with folder 4.0
  • Remove Try-Catch as no longer required in 4.0 and associated changes.
  • It is believed that all Distributions packaging Cinnamon 4.0 have changed to the new Network Manager Libraries
  • Add cinnamon-version to metadata.json (Provides information on which Cinnamon versions can load it)

This is in response to linuxmint/cinnamon#8050 (comment)

@jaszhix I have been unable to test this under Cinnamon 4.0 but it follows closely what you have found works for the applets you have already modified. Can you please check it before it is merged or leave the WIP until I can check myself when the beta becomes available.

@jaszhix
Copy link
Contributor

jaszhix commented Nov 26, 2018

@pdcurtis Both network applets load fine on 4.0. I would move the applet files in files/UUID/ to its own version directory though, I think Cinnamon will ignore them if multiversion is enabled in metadata.json. Directory should be the lowest cinnamon version number they will support.

@pdcurtis
Copy link
Contributor Author

@jaszhix Thanks for the quick response but I am once more confused. That does not seem to be what the only actual documentation I could find at http://developer.linuxmint.com/reference/git/cinnamon-tutorials/xlet-versioning.html says about where earlier versions should live. To quote:

To enable extension versioning, extensions have to add the line

{
"multiversion": true
}

in metadata.json. The different versions should be put in different subdirectories. For example, the version for 2.6 should be put in extension@uuid/2.6/. The contents in 2.6/ should be exactly what you will normally put in extension@uuid/, apart from metadata.json, which should always be put in the parent directory, ie. extension@uuid/.

You do not need to create a subdirectory for every single Cinnamon version out there. Cinnamon looks for the most recent subdirectory that is not newer than the running Cinnamon version. For example, if you are running 2.6 and there are 2.4, 2.8 directories, the 2.4 directory will be loaded, until the you upgrade to 2.8 in which case the 2.8 directory will be used. Minor version numbers can also be used, eg. 2.6.4, and are sorted accordingly.

If no suitable directory is found, then the contents in extension@uuid/ will be loaded. Note that Cinnamon versions prior to 2.6 will not understand this directory magic, and will always try to load the contents in extension@uuid/. Hence it is suggested that extension maintainers put the version for 2.4 in extension@uuid, and create new directories if changes specific to newer Cinnamon versions are made. Don’t make a new directory whenever a Cinnamon version is out since it is just a waste of space (and maintenance effort).

I also looked at several other applets before I started. The system seems to be very tolerant and one only seemed to have the changed files in the x.y folder but most seemed to follow the above. Your applets however work with nothing in extension@uuid/

The applets also work fine on my Mint 19 system so Cinnamon is not ignoring them with multiversion
enabled in metadata.json and are supported back to 2.2 which came with LTS version 17 which is current until some time in 2019.

Do you have some more up to date documentation that I have not found?

@pdcurtis
Copy link
Contributor Author

pdcurtis commented Nov 26, 2018

@jaszhix Another question.
I have noticed in https://github.com/linuxmint/Cinnamon/wiki/%5Bdevelopment%5D-extensions that metadata.json has:

    requiredProperties: ['uuid', 'name', 'description', 'cinnamon-version'],
    niceToHaveProperties: ['url'],

Is this the case as it means every applet would need cinnamon-version to be updated every time the cinnamon version is changed and hundreds of PRs?

It also means I should add it cinnamon-version to metadata.json in all my applets next time they are updated!

@jaszhix
Copy link
Contributor

jaszhix commented Nov 26, 2018

Most of that documentation and examples of other applets you're seeing were from before I refactored the extension system. Mint 19 has the new bindings so you wouldn't be able to tell if the legacy version or the 4.0 version is working, did you try logging to see if the file you thought was loaded was loaded?

You can specify the cinnamon version if you want to, you don't really need to if you have the versions taken care of with directories. I haven't made note of the exact behavior of how this works recently, my suggestion to you would be to experiment, which is often times what I do to learn more about how the system works. Keep in mind a lot of this documentation is old and the code is always changing. Even if it wasn't required to use a version directory for every version fork, I would recommend doing it anyway because it looks a lot clearer what files are for which version.

@pdcurtis
Copy link
Contributor Author

As far as I can tell the files that are being used are what I expect, for example the help and log files have the correct contents. There is a BUT as I am not loading as such but have a symbolic links to the git repository so any changes automatically update for testing as I change branches eg by:

ln -s ~/cinnamon-spices-applets/netusagemonitor@pdcurtis/files/netusagemonitor@pdcurtis ~/.local/share/cinnamon/applets/netusagemonitor@pdcurtis

I will do some further tests and experiments in another branch as you suggest including adding some test code outputting to the system log files but I am pretty sure that I am running the code I expect under Mint 19 and you found it worked under Cinnamon 4.0

I can however see problems coming if even those at the heart of Cinnamon need to run experiments and when we have 148 applets which may need to be checked and potentially updated even in a trivial manner for every version - that's potentially a lot of PRs.

Would you like me to also take on netusage@30yavash.com - I have already done quite a bit of work on it in the past and keep it on my installed on my desktop and I obviously have a fork of the desklet repository. I can make the same changes as the two I am already doing - when I know what they should be!

@jaszhix
Copy link
Contributor

jaszhix commented Nov 26, 2018

If you want to maintain it, sure - I mainly got the desklet to not crash Cinnamon, but there may be other issues with it using the new NM API.

If you want me to merge this, I will - what I'm saying in this discussion is more along the lines of advice.

@pdcurtis
Copy link
Contributor Author

I will take on netusage@30yavash.com and test it out and fix the problem with filling error logs when no connection is present. I will also use it as a test bed for some of the other points you have raised before we merge them all.

As a first input I have done a search with grep and there are only 13 of 148 applets which use 'cinnamon-version' in metadata.json and quite a few already have "4.0" included. There are also several which do not get to "3.8" so that updating is a much smaller task than I feared. It is also clear that a 'cinnamon-version' is not obligatory.

@pdcurtis
Copy link
Contributor Author

@jaszhix I have now looked at all the applets which either use cinnamon-version (13) or multiversion (14) and they mostly overlap and I have assumed most of them work although I have put emphasis on those from those from authors I know about.

I have run tests:

  1. to make sure that cinnamon-version does prevent loading of applets and shows it in error log in Looking Glass.

  2. to make sure that applets load from default position of extension@uuid/ as well as from folders

I am assuming one should cover back to LTS 17.x for the next 6 months (until 19.2) although users numbers of 17.x are likely to be small.

Some conclusions are:

  • If support does not extend back over the currently supported LTSs then cinnamon-version is essential regardless of whether multiversion is in use.

  • One should currently use cinnamon-version to provide the first version supported or one should have the contents in extension@uuid/ as there is no mechanism to support multiversion until cinnamon 2.6. Examples of the contents in extension@uuid/ from better known players include sticky@scollins and searchbox@mtwebster.

  • Once LTS 17 has dropped out of support at 19.2 and if multiversion is needed then having a 2.6 folder and nothing in extension@uuid/ will be preferable and more clear.

  • Likewise use of cinnamon-version when multiversion is in use is good practice (although it currently does not seem to be essential).

  • If the use of cinnamon-version increases then there are advantages in keeping it to a single line so a find and replace can be used to automatically update all the applets as cinnamon versions increment.

So my current plan is to:

  • Add a cinnamon-version to the applets here via an extra commit and leave the code in in extension@uuid/

When Mint 19.2/Cinnamon 4.2 becomes available

  • Move the code for early versions from to a 2.6 folder from extension@uuid/

@pdcurtis
Copy link
Contributor Author

@jaszhix Pushed changes as above. It is currently 3 commits - last two could be combined but the initial two are best separate so diff of changes in 4.0 from earlier version is more clear.

I see no reason why it can not be merged so I will taken the WIP off

Thank you for the enormous amount of effort you have been putting into this latest release. Please and let me know if there is anything I can do to help.

@pdcurtis pdcurtis changed the title [WIP] netusagemonitor@pdcurtis Update to version 3.2.6 (multiversion) netusagemonitor@pdcurtis Update to version 3.2.6 (multiversion to support Cinnamon 4.0) Nov 27, 2018
@jaszhix jaszhix merged commit 625d456 into linuxmint:master Nov 27, 2018
@pdcurtis pdcurtis deleted the netusagemonitor-3.2.6 branch December 7, 2018 04:57
jorgenqv added a commit to jorgenqv/cinnamon-spices-applets that referenced this pull request Jan 30, 2019
* officeCenter@scollins: Add Spanish translation

* Cinnamenu@json: Fix being unable to select context menu options from the first app button in a group (linuxmint#1959)

* Cinnamenu@json: Fix being unable to select context menu options from the first app button in a group

* Update changelog

* temperature@fevimu: Resolved 'NaN' applet value when 'sensors' command returns no Package or Core temperature but shows 'CPU Temperature'

* temperature@fevimu: Fix for Ryzen CPUs (linuxmint#1961)

* temperature@fevimu: Updated cpuIdentifier to full label 'CPU Temperature' instead of substring 'CPU'. (linuxmint#1962)

* IcingTaskManager@json: Fix invalid access errors (linuxmint#1964)

* IcingTaskManager@json: Fix invalid access errors

* Check if WindowThumbnail is nullified in MetaWindowActor destroy signal

* Update Spices notifier v3.8 (spices-notifier@germanfr) (linuxmint#1967)

Changelog at: https://github.com/germanfr/spices-notifier/commits/master

* gpaste-reloaded@feuerfuchs.eu: Avoid passing xlet context to SignalManager (linuxmint#1965)

* collapsible-systray@feuerfuchs.eu: Avoid passing context to SignalManager (linuxmint#1966)

* pomodoro@gregfreeman.org: Fix custom sound path in newer versions of cinnamon, filechooser returns a file uri (linuxmint#1969)

* [bash-sensors@pkkk] added stylesheet (linuxmint#1970)

* added stylesheet to implement consolas font for click menu.
also added some styles to it

* updated comment

* background more like cinnamon default

* change author

* manage multiple commands with the character ;

* fix use get_names() as an array

* change author

* Cinnamenu@json: 3.2.6 (linuxmint#1971)

* Fix invalid object access errors

* Fix list view not filling the width of the parent ScrollView container

* Make dot alignment more consistent across list and grid views, fix label vertical alignment in list view

Misc. formatting

* 3.2.6

* New applet CustomPlaces (linuxmint#1977)

* New applet CustomPlaces

* Change the appletUUID

* Remove sound-with-apps-volume@koutch (linuxmint#1978)

* Fix Skype tray icon (linuxmint#1979)

* clipboard-qr@wrouesnel: Added python interpreter into clipboard-qr.py launch command to circumvent lack of execute bit on clipboar-qr.py helper program. (linuxmint#1980)

clipboard-qr@wrouesnel: Added python interpreter into clipboard-qr.py launch command to circu…

* IcingTaskManager@json: Fix more invalid object access issues (linuxmint#1982)

* Fix invalid object access when windows are rapidly opened and closed

* Fix groupState.trigger TypeError on reload + cinnamon restart

* Bump version

* Cinnamenu@json: Fix invalid object access when new apps are installed (linuxmint#1983)

* multicore-sys-monitor@ccadeptic23: 1.8.6 (linuxmint#1984)

* Improve notification of missing GTop dependency

Based on:
linuxmint@46eb558

* Cache actors on the GPU

* Update PO files

* Minor formatting clean up

* Prevent setting a refresh rate lower than 500ms

Too low of a value can prevent Cinnamon from starting.

* Fix network device list getting stale when vnics are removed

* 1.8.6

* Fix up translation script configuration

* turn-off-monitor@zablotski: Disable mouse for one second after applet (linuxmint#1988)

clicked, icon changes

* hwmonitor@sylfurd: Misc. clean up (linuxmint#1989)

* hwmonitor@sylfurd: Clean up

- Ensures the timeout_add callback returns `true` instead of recursively
calling Mainloop.timeout_add, and returns `false` (stops interval) when
removed from the panel.
- Caches the actor on the GPU.
- Reduces redundant calculations and function invocation in
Graph.prototype.paint.
- Minor style fixes for more consistency.
- Removes unnecessary try-catch blocks.

* Fix mixed spaces and tabs

* Remove more tabs

* system-monitor@pixunil: Remove broken applet (linuxmint#1990)

* sane-menu@nooulaif: Remove broken applet (linuxmint#1992)

* jenkins@backuity: Fix strict mode issues (linuxmint#1993)

* mailnagapplet@ozderya.net: Create pl.po (linuxmint#1998)

Add Polish translation

* temperature@fevimu: Created pl.po (linuxmint#1999)

Added polish translation to temperature@fevimu

* mailnagapplet@ozderya.net: Polish translation (linuxmint#2000)

* mailnagapplet@ozderya.net: Polish translation

Moving it to correct directory

* Delete pl.po from wrong directory

* hwmonitor@sylfurd: Fix up "Misc. clean up" (linuxmint#2001)

* windowlist@cobinja.de Fix preview size in HiDPI mode (linuxmint#2002)

* CinnVIIStarkMenu@NikoKrause: remove dead code (linuxmint#2004)

fixes linuxmint#1791

* CinnVIIStarkMenu@NikoKrause: replace missing default terminal icon (linuxmint#2005)

The desktop file for GNOME terminal in my system uses
"utilities-terminal", not "terminal". That icon is not even in the
hicolor theme nor in Adwaita on my system, so it is missing.

* vpnLookOut@claudiux v2.5.0 - Multiversion. Change to Class Syntax for Cinnamon 3.8 (linuxmint#2006)

* vpnLookOut v2.5.1 - Adds a keyboard shortcut option to activate / deactivate the last VPN used. (linuxmint#2007)

* Cinnamenu@json: Fix context menu positioning in list view mode (linuxmint#2010)

* IcingWindowSaver@json: 1.0.1 (linuxmint#2011)

* IcingWindowSaver@json: 1.0.1

* Added detection for missing dependencies.
  * Removed Babel.

* Change display name to Window Position Saver

* Cinnamenu@json: Fix menu toggling in list view mode (linuxmint#2012)

* vpnLookOut v2.5.2 - Update translation files (linuxmint#2013)

* bash-sensors: fix stylesheet handling (linuxmint#2014)

older Cinnamon versions do not have the setCustomStyleClass method and use actor.add_style_class_name instead

* vpnLookOut@claudiux - v3.0.0 with VPN-related Apps Manager (linuxmint#2016)

* vpnLookOut@claudiux - v3.0.0 with VPN-related Apps Manager

* Update CHANGELOG.md

* placesCenter@scollins - fr.po updated

* Fix strict mode errors (linuxmint#2017)

* Update Spices notifier v3.8 (spices-notifier@germanfr) (linuxmint#2018)

Changelog at: https://github.com/germanfr/spices-notifier/commits/master

* rancher@centurix: Rancher not loading (linuxmint#2020)

* Add new Shell sheet, fix clipboard copying, fix missing sheet icons

* Fix strict assignments to enable the applet to load in Cinnamon 3.8.x

* vpnLookOut@claudiux - Italian translation - New file it.po (linuxmint#2021)

* rancher@centurix: Update default project folder in settings-schema.json (linuxmint#2022)

* Add new Shell sheet, fix clipboard copying, fix missing sheet icons

* Update the default Homestead project home from the old ~/.homestead to ~/Homestead

* vpnLookOut@claudiux - Spanish translation - New version of es.po (linuxmint#2023)

* multicore-sys-monitor@ccadeptic23: 1.8.7 (linuxmint#2025)

- Fixes compatibility with cinnamon/new-panel-layout. This seems to be
the only applet that attempted to assign to `this._panelHeight`, which
is now a getter in ui/applet.
- Fixes the enabled state on devices not persisting after settings
change.

* AutostartPrograms@spacy01: Add Turkish translation (linuxmint#2026)

* a4techTool@mous: Add Turkish translation (linuxmint#2030)

* vpnLookOut@claudiux: Update sv.po (linuxmint#2031)

Update Swedish translation

* Fix misspelling (linuxmint#2029)

- ShutdownMenuWithIcons@LLOBERA/files/ShutdownMenuWithIcons@LLOBERA/README.txt
 - back-up_state@natsakis.com/README.md
 - commandLauncher@scollins/README.md
 - netusagemonitor@pdcurtis/files/netusagemonitor@pdcurtis/README.md

* acerhk-ctl@mcnielcho.org: Add Turkish translation (linuxmint#2033)

* back-up_state@natsakis.com: Add Turkish translation (linuxmint#2036)

* workspace-name@willurd: add tr.po (linuxmint#2037)

workspace-name@willurd: add tr.po

* workspace-grid@hernejj: add tr.po (linuxmint#2039)

workspace-grid@hernejj: add tr.po

* slingshot@jfarthing84: Remove broken unmaintained applet (linuxmint#2034)

* hwmonitor@sylfurd: add tr.po (linuxmint#2040)

hwmonitor@sylfurd: add tr.po

* printers@linux-man: add tr.po (linuxmint#2041)

printers@linux-man: add tr.po

* bash-sensors@pkkk: Add Turkish translation (linuxmint#2042)

* ScreenShot+RecordDesktop@tech71: add tr.po (linuxmint#2044)

ScreenShot+RecordDesktop@tech71: add tr.po

* multicore-sys-monitor@ccadeptic23: add tr.po (linuxmint#2046)

* multicore-sys-monitor@ccadeptic23: add tr.po

multicore-sys-monitor@ccadeptic23: add tr.po

* multicore-sys-monitor@ccadeptic23: fixed tr.po

multicore-sys-monitor@ccadeptic23: fixed tr.po

* placesCenter@scollins: add tr.po

placesCenter@scollins: add tr.po

* placesCenter@scollins: fixed tr.po

placesCenter@scollins: fixed tr.po

* vpnLookOut v3.0.1 - Now compatible with Cinnamon 4.0 (linuxmint#2049)

* pomodoro@gregfreeman.org: add tr.po (linuxmint#2048)

pomodoro@gregfreeman.org: add tr.po

* CinnVIIStarkMenu@NikoKrause: add tr.po (linuxmint#2043)

* sessionManager@scollins: add tr.po

sessionManager@scollins: add tr.po

* Update Spices notifier v4.0~20181106 (spices-notifier@germanfr) (linuxmint#2051)

Changelog at: https://github.com/germanfr/spices-notifier/commits/master

* Fixed this.panel is null (linuxmint#2053)

* vpnLookOut@claudiux v3.1.0 - Improves VPN-related Apps Management, and French, Spanish and Italian translations (linuxmint#2054)

* vpnLookOut@claudiux: add tr.po (linuxmint#2055)

* vpnLookOut@claudiux: add tr.po

vpnLookOut@claudiux: add tr.po

* vpnLookOut@claudiux: update tr.po

vpnLookOut@claudiux: update tr.po

* [collapsible-systray@feuerfuchs.eu] Make compatible with Cinnamon 4.0 (linuxmint#2056)

* Cinnamenu@json: Improve search, fork 4.0 version (linuxmint#2027)

* Cinnamenu@json: Improve search

* Remove duplicate key

* Fix mozjs24 compat for debian

* Give exact matches max scores

* Let open windows being matched by ID

* Make sure all result types have a score property

Otherwise the sort order will break.

* Ensure favorites always have the correct order after exiting a search query

* Lower keywords threshold

* Only add markup formatting to name, description app type props

* Fix exact match formatting

* Work around ClutterText markup warning

Cause TBD, but this prevents all of the warnings for now.

(cinnamon:3430): Clutter-WARNING **: 21:43:21.021: Failed to set the
markup of the actor 'ClutterText': Error on line 1 char 44: Element '<b'
was closed, but the currently open element is 'u'

* Create 4.0 version

This also fixes auto-completion behavior. Since this was fixed on the
4.0 version before realizing it wasn't a regression from syntax changes,
it has been removed for <4.0 as it never worked correctly.

* 4.0: remove Cinnamon utility functions

* placeDisplay: Use tryFn

* <=3.8: Fix settings schema

* Copy icon into version directories

* placeDisplay: Fix PlaceInfo.prototype.getFileName

* Base the height on natural height of layout actors, and fallback to original monitor height calculation when clipping

* schema: Use no menu label by default

* Use the distro's preferred menu icon by default

Adapted from
linuxmint/cinnamon@917f379

* Fix height increasing on every toggle

* Make sure scrollbox scrolls on categories key navigation

* Refresh on custom menu height toggle

* Batch state setting in refresh

* Add modified version of the vector box from the Cinnamon menu

The main difference is the vector box is not recreated on every hover
event, only updated after initial creation.

Fix height in the list view

* Toggle vector box reactivity on categoriesOverlayBox enter/leave

* Adjust vector box reactivity

* Ensure the vector box does not interfere with category dragging

* Remove vector box debug

* Let the categories scroll box auto-scroll

* Fix vector box invalid object access on refresh

* Fix list box width

* Don't let tooltips obstruct list view buttons

* Consolidate desciption placement options into a single drop-down setting, move the info box preset to the bottom

* Fix category selection resetting when descriptions are in the bottom pane

* Refresh on theme change

* Improve category selection responsiveness

* Only use the vector box when categories change on hover

* Base the vector box cursor offset on category button height

* Fix categories scroll box

* Add support for two instances

This adds getters on both instances and will toggle the menu that is on
the monitor containing the cursor instead of cycling between each other.

* Update changelog, bump version

* Simplify some search code

* Rename properties starting with an underscore

These properties can't be private in JS, and will likely not collide
with namespaces from the parents in the prototype chain.

* Update metadata.json

* Cinnamenu: Fix multi-instance behavior (linuxmint#2057)

Fixes an issue with the menu only opening on the primary monitor when
activated with the Super key.

* CinnVIIStarkMenu@NikoKrause: Cinnamon 4.0 support (linuxmint#2059)

... and reduce the min-height of the menu (Closes linuxmint#1911)

* cheaty@centurix: Added Regex cheatsheet (linuxmint#2058)

Added a regular expressions cheatsheet with the characters classes, quantifiers, anchors, etc.

* batterymonitor@pdcurtis: add tr.po (linuxmint#2064)

batterymonitor@pdcurtis: add tr.po

* windowlist@cobinja.de: add tr.po (linuxmint#2052)

windowlist@cobinja.de: add tr.po

* CustomApplicationsMenu@LLOBERA: add tr.po (linuxmint#2065)

CustomApplicationsMenu@LLOBERA: add tr.po

* pa-equalizer@jschug.com: add tr.po (linuxmint#2066)

pa-equalizer@jschug.com: add tr.po

* graphicsCenter@scollins: add tr.po

graphicsCenter@scollins: add tr.po

* vpnLookOut@claudiux: Update sv.po (linuxmint#2069)

New strings translated and some aprovements

* SW++@mohammad-sn: Fix binding issue (linuxmint#2070)

* color-picker@fmete: python3 and xclip (linuxmint#2060)

* port `cp.py` to python3
* replace xsel with xclip: xsel does not work with Java apps, e.g. phpStorm

* vpnLookOut@claudiux v3.2.0 - Added logging capabilities (linuxmint#2071)

* vpnLookOut@claudiux v3.2.0 - Added logging capabilities

* update of generate_pot.py

* fr.po - Fixes a regression

* Prettified settings-schema.json and updated .pot file

* Logging becomes independent of distrib

* temperature@fevimu: Add 4.0 to supported versions (linuxmint#2074)

* IcingWindowSaver@json: Update da.po (linuxmint#2076)

* feeds@jonbrettdev.wordpress.com: add tr.po (linuxmint#2077)

feeds@jonbrettdev.wordpress.com: add tr.po

* vpnLookOut@claudiux v3.2.1 - Improves display and management of Activity Log (linuxmint#2078)

* vpnLookOut@claudiux v3.2.1 - Improves display and management of Activity Log

* update CHANGELOG

* bash-sensors@pkkk: Update da.po (linuxmint#2079)

* collapsible-systray@feuerfuchs.eu: Update da.po (linuxmint#2081)

* betterlock: update da.po (linuxmint#2080)

* Fixed broken commands in ShutdownApplet. (linuxmint#2082)

* Fixed broken commands in applet.

* Took ownership of unmaintained applet.

* repo: Add a utility for reloading applets on code change (linuxmint#2075)

* repo: Add a utility for reloading applets on code change

* Fix help task

* gulpfile: Create non-existent target directories

More convenient than needing to install from spices, or copying
manually.

* Cinnamenu: Fix the menu becoming too tall (linuxmint#2083)

* Cinnamenu: Fix the menu becoming too tall

* Remove local gulpfile

* vpnLookOut@claudiux: Update sv.po (linuxmint#2085)

Update Swedish translation

* multicore-sys-monitor@ccadeptic23: Update da.po (linuxmint#2086)

multicore-sys-monitor@ccadeptic23: Update da.po

* radio@driglu4it: update da.po (linuxmint#2088)

* sound150@claudiux: update da.po (linuxmint#2089)

* placesCenter@scollins: update da.po

* spices-notifier@germanfr - Added fr.po (linuxmint#2090)

French translation for spices-notifier@germanfr, from .pot file.

* sound150@claudiux: add sv.po (linuxmint#2091)

Add Swedish translation

* spices-notifier@germanfr: create da.po (linuxmint#2092)

* multicore-sys-monitor@ccadeptic23: Fix segfault caused by switch to new libnm (linuxmint#2094)

This was wrapped in a try-catch, but that will not prevent segfaults if
Cinnamon no longer links to the original NM bindings.

* sticky@scollins: Update da.po

* xampp-panel@backids99: refreshed icons and screenshot of xamppanel applet (linuxmint#2098)

xampp-panel@backids99: refreshed icons and screenshot of xamppanel applet

* vpnLookOut@claudiux v3.3.0 - A new option allows requested disconnection even if automatic reconnection is selected (linuxmint#2095)

* vpnLookOut@claudiux: Update da.po (linuxmint#2100)

* turbonote@iksws.com.br: Remove broken unmaintained applet (linuxmint#2099)

* back-up_state@natsakis.com: Fix start-up errors (linuxmint#2103)

* back-up_state@natsakis.com: Fix start-up errors

* Check for file://

* Fix undeclared var

* sessionManager@scollins: add translation support and Brazilian Portuguese translation.

* windowlist@cobinja.de: Update da.po (linuxmint#2101)

* Cinnamenu: Load the icon theme before setting the menu icon (linuxmint#2105)

* Cinnamenu: Load the icon theme before setting the menu icon

* Fix for Cinnamon <4.0

* vpnLookOut@claudiux v3.3.1 - Shows shortcuts in tooltip. Update of fr.po it.po es.po (linuxmint#2106)

* vpnLookOut@claudiux v3.3.1 - Shows shortcuts in tooltip. Update fr.po it.po es.po

* New message to log

* Update of CHANGELOG.md

* vpnLookOut@claudiux: Update sv.po (linuxmint#2107)

Update Swedish translation

* ShutdownApplet@shelley: Fixed broken commands (linuxmint#2108)

* Fixed broken commands. Removed Hibernate cmd.

* Took ownership of unmaintained applet.

* vpnLookOut@claudiux: update tr.po (linuxmint#2109)

vpnLookOut@claudiux: update tr.po

* batterymonitor@pdcurtis Update to version 1.3.3 (linuxmint#2110)

* stopwatch@pdcurtis Update to version 2.1.1 (linuxmint#2111)

* bumblebee@pdcurtis Update to version 3.2.5 (linuxmint#2112)

* nvidiarime@pdcurtis Update to version 3.3.4 (linuxmint#2113)

* bumblebee@pdcurtis: add tr.po (linuxmint#2116)

bumblebee@pdcurtis: add tr.po

* nvidiaprime@pdcurtis: add tr.po (linuxmint#2117)

nvidiaprime@pdcurtis: add tr.po

* temperature@fevimu: Fix fall-back behavior when the temp can't be found from sensors (linuxmint#2118)

* netusagemonitor@pdcurtis Update to version 3.2.6 (multiversion to support Cinnamon 4.0)  (linuxmint#2114)

* netusagemonitor@pdcurtis Update to version 3.2.6 (multiversion)

* netusagemonitor@pdcurtis Update to version 3.2.6.1 (multiversion)

* netusagemonitor@pdcurtis Update to version 3.2.6.2 (multiversion)

*  vnstat@linuxmint.com Update to version 1.0.1 (multiversion  to support Cinnamon 4.0)  (linuxmint#2115)

* vnstat@linuxmint.com Update to version 1.0.1 (multiversion)

* vnstat@linuxmint.com Update to version 1.0.1.1 (multiversion)

* vnstat@linuxmint.com Update to version 1.0.1.2 (multiversion)

* Fix variable scope issue stopping repos from listing (linuxmint#2120)

* AutostartPrograms@spacy01: Hungarian translation (linuxmint#2124)

* Translate AutostartPrograms into Hungarian

* Add xampp-panel hungarian translation (linuxmint#2129)

* Weather applet Hungarian translation update (linuxmint#2130)

* Hungarian localization

* IcingTaskManager: Hungarian translation

* WindowListGroup: Hungarian translation

* Translate AutostartPrograms into Hungarian

* Updated Hungarian translation of weather applet

* Add system-monitor Hungarian translation (linuxmint#2132)

* Add Hungarian translation of sysmonitor (linuxmint#2133)

* Add search-box's Hungarian translations (linuxmint#2134)

* Add Hungarian translation of tor-button (linuxmint#2131)

* CinnVIIStarkMenu: Hungarian translation (linuxmint#2128)

* vpnLookOut@claudiux: Update sv.po (linuxmint#2135)

Minor improvements

* IcingWindowSaver@json: 2.0.0 (linuxmint#2136)

* Copy into 4.0 version

* Switch to class syntax

* Improve restore behavior after monitor unplug events

TODO: Save windowStates to a JSON file

* Fix id lookup

* 3.6: Fix window save path

* Add settings, persist window states across cinnamon restarts

* Check minimized state

* Fix re-positioning

* Remove dead code

No longer have any dependencies to check.

* Update pot files

* Use object destructuring assignment for imports

* Bump version, update changelog

* IcingWindowSaver@json: Fix framed window positioning (linuxmint#2137)

* commandLauncher@scollins: add tr.po

commandLauncher@scollins: add tr.po

* batterymonitor@pdcurtis Update to version 1.3.4.1 (linuxmint#2139)

* netusagemonitor@pdcurtis Update to version 3.2.7 (multiversion 2.6, 4.0) (linuxmint#2140)

* IcingWindowSaver@json: Fix CSD window positioning (linuxmint#2143)

* CinnVIIStarkMenu@NikoKrause: Fix broken option "Open menu on hover" (linuxmint#2144)

*  sshlauncher@sumo: Add ability to have Server Groups in SSH Launcher.   Using `#GroupStart MyName` will create a group called "MyName".   `#GroupEnd` will close the group.  Used `#` since it is a comment character; so it won't have any negative effects on anything else that read SSH Config files. (linuxmint#2096)

* vnstat@linuxmint.com Update to version 1.0.2 (Add settings to select vnstati format) (linuxmint#2148)

* netusagemonitor@pdcurtis v 3.2.8 Add vnstati display options and change settings to use tabs (linuxmint#2149)

* IcingTaskManager@json: Add migration functionality for moving pinned apps from ITM to GWL (linuxmint#2146)

* IcingTaskManager@json: Add migration functionality for moving pinned apps from ITM to GWL

Don't re-use the notification icon

Fix Uint8Array check

Give more details after file errors occur

Update po files again

Fix gettext call

Update po files

* Only run the deprecation notification once, clarify messages

Run the notification once, and cache its run state in settings. We
really only need the notification to run once - enough to inform, not to
annoy.

* Adjust notification a bit

* [brightness-and-gamma-applet@cardsurf] Fixes GLib.file_set_contents usage error (linuxmint#2145)

* ifstat@tagadan: Make empty arrows appear if network state is undefined. (linuxmint#2150)

The applet changes sizes when network state is undefined, which is jarring. Changed it to show the empty arrows instead of nothing.

* xampp-panel@backids99 - fixed ( linuxmint#2147), added polish translation and new feature. (linuxmint#2151)

* make xampppanel work again

* Polish translation

* Added option to 'Start XAMPP Manager', updated polish translation and updated *.pot file, added new file 'xamp_manager_wrap.sh'

* Updated icon, bigger size.

* windowlist@cobinja.de Add support for Cinnamon 4.0 (linuxmint#2153)

* Cinnamenu: Add option to customize the startup category, misc. fixes (linuxmint#2157)

* Move setSchema to utils.js

Doesn't need to be in the prototype.

* Move functions in setSchema to outer scope

* Add .eslintrc, fix issues

* Fix high DPI tile widths

* Add option to customize the startup category

* Add easier to use async methods, make all file I/O asynchronous

* Make bookmarks file I/O asynchronous, consolidate

* Always restore the schema from backup on error

* Only bind settings once on init

* Fix TypeError

* Update readFileAsync to match Cinnamon#8210

* Organize _init a bit

* Clean up placesManager

- Fixes the promise usage typo preventing gtk bookmarks from loading
- Fixes the file monitors not being stopped
- Removes redundant getters, unused signals

* Update changelog

* Remove dead code not compatible with in-tree clutter

* Fix the start up category resetting when some settings are changed

* Fix system button tooltips

* Fix tooltips covering menu items in some orientations

* Fix clutter markup errors, simplify doSearch

* Update changelog

* Fix schema resetting on every load

* Batch writes to the schema file

There was a race condition occurring between the schema updating for
search providers and startup category options, causing the category
options to disappear. Schema options need to be processed all at once.

* Resolve VBox version and issue new startvm command (linuxmint#2170)

* Resolve VBox version and issue new startvm command

* Update vboxlauncher@mockturtl/files/vboxlauncher@mockturtl/applet.js

Sweet

Co-Authored-By: Centurix <centurix@gmail.com>

* Cinnamenu: Fix "Add to desktop" context menu option (linuxmint#2171)

* vboxlauncher@mockturtl: fix version detection (linuxmint#2173)

See [comment](linuxmint@5751e8d#r31813483) on linuxmint#2170.

* SpicesUpdate@claudiux - Checks for available updates for your Spices (linuxmint#2174)

* SpicesUpdate@claudiux - Checks for available updates for your Spices

* Removing get_theme_node call

* Better management of the loop

* SpicesUpdate@claudiux v1.0.1 - Improves notifications. Added Spanish translation: es.po (linuxmint#2175)

* Spices update@claudiux cro lng (linuxmint#2176)

* Add cro lng

* Add files via upload

* SpicesUpdate@claudiux v1.0.2 - Improves lists management and menu. Fixes linuxmint#2180. (linuxmint#2179)

* SpicesUpdate@claudiux v1.0.2 - Improves lists management and menu

* Make this applet icon resizable. (Fixes linuxmint#2180)

* Minor changes. Improves debugging.

* SpicesUpdate@claudiux: Update cro lng (linuxmint#2177)

* Added new icon, added polish translation, increment version of the applet. (linuxmint#2181)

* Create de.po (linuxmint#2186)

* netusagemonitor@pdcurtis v 3.2.9 Refine stylesheet for 4.0 (linuxmint#2188)

* Update Spices notifier v4.0~20190105 (spices-notifier@germanfr) (linuxmint#2190)

Changelog at: https://github.com/germanfr/spices-notifier/commits/master

* batterymonitor@pdcurtis v 1.3.5 Refine stylesheet (linuxmint#2191)

* stopwatch@pdcurtis v 2.1.2 Refine stylesheet (linuxmint#2192)

* BgRadio@spacy01: Added icon what wasn't show in cinnamon applet manager. (linuxmint#2184)

* SpicesUpdate@claudiux - icon.png update (linuxmint#2193)

* Update of icon.png

* Update icon.png

* AutostartPrograms@spacy01 - Added polish translation and icon (linuxmint#2182)

* Added icon

* Added polish translation

* French translation - Update fr.po (linuxmint#2195)

* vpnLookOut@claudiux v3.3.2 - Improves time zone detection (linuxmint#2196)

* color-picker@fmete - Added polish translation and ... (linuxmint#2185)

* Added polish translation

* I added "--hint=int:transient:1 " to "notify send".
Spamming in notify stack by the ColorPicker applet has ended.

* SpicesUpdate@claudiux - refined German translation (linuxmint#2198)

First translation was to literal, now it is more usual.

One suggestion: Why not set the default icon color in the case of updates to the Cinnamon Spices orange (like in icon.png) instead of blue?

* Change icons and default color. Disconnects signals when reloading. (linuxmint#2199)

* Spices update - Update icon.png - Fixes linuxmint#2200 (linuxmint#2201)

* Update icon.png

* Update icon.png

* Tooltip now contains the list of Spices to update. (linuxmint#2203)

* printers@linux-man: Implement Scrollbars (linuxmint#2205)

* todo@threefi: Do not freeze when the input file has no entries. (linuxmint#2206)

The addon entered an infinite loop when the "todo.list" file had no entries to display effectively freezing itself and Cinnamon.

* SpicesUpdate@claudiux v1.1.0 - Fixes linuxmint#2202: Add support for new packages (linuxmint#2207)

* SpicesUpdate@claudiux: Update German translation (incl. new spices) (linuxmint#2208)

* SpicesUpdate@claudiux: Update Croatian language (linuxmint#2211)

* SpicesUpdate@claudiux v1.1.1: Solves FR linuxmint#2213 (linuxmint#2214)

* SpicesUpdate@claudiux: v1.1.2 Solves Feature Request linuxmint#2210 (linuxmint#2215)

* places center: allow multiple instances

* graphics center: allow multiple instances

* office center: allow multiple instances

* office center: switch from cinnamon appsys to using cmenu directly

* graphics center: switch from cinnamon appsys to using cmenu directly

* SpicesUpdate@claudiux: v1.1.3 Added dependency: Presence of symbola ttf. Fixes linuxmint#2219. (linuxmint#2218)

* SpicesUpdate@claudiux: v1.1.3 Added dependency: Presence of symbola ttf.

* Fixes linuxmint#2219

* SpicesUpdate@claudiux: Update German translation (linuxmint#2220)

* SpicesUpdate@claudiux: Create nl.po (linuxmint#2221)

* Create nl.po

Dutch Translation Spices Update

* Add files via upload

Dutch Translation off restart-cinnamon

* Delete restart-cinnamon nl_NL.po

* Restart Cinnamon nl.po

Dutch Translation

* Fix up linuxmint#2221

* Restart cinnamon nl.po (linuxmint#2225)

Dutch Translation off Restart Cinnamon

* Add a dependency check and install for Python feedparser

* Appeasing Codacy

* CinnVIIStarkMenu@NikoKrause: Use DocInfo singleton

Some versions of this applet were creating a new instance of DocInfo
instead of using the existing one.

* Remove calls to appsys.lookup_setting*

These are obsolete and return nothing since Cinnamon 1.8
linuxmint/cinnamon@0673810

* Cinnamenu@json remove old comment

* Cinnamenu@json: Replace Gtk.RecentManager with docinfo (linuxmint#2204)

* Cinnamenu@json: Replace Gtk.RecentManager with docinfo

* Update DocInfo API

* Bump version

* Shutdown Menu with icons nl.po (linuxmint#2227)

Dutch translation

* sshlauncher@sumo: add sv.po (linuxmint#2229)

Add Swedish translation

* VPN Look-Out nl _NL.po (linuxmint#2232)

Dutch Translation off VPN Look-Out Applet

* Remove usage of old appsys functions (linuxmint#2233)

We want to remove these functions going forward as they are not needed.

* VPN Look- Out Applet (linuxmint#2236)

Upload Dutch translation off VPN Look-Out Applet to the right file

* Delete nl.po (linuxmint#2237)

* SpicesUpdate@claudiux: Update Croatian language (linuxmint#2238)

* multicore-sys-monitor@ccadeptic23: Update Croatian language (linuxmint#2239)

* sticky notes: fix copy/paste not working from the context menu

The problem was due to a change in the api for St.Clipboard where
an additional argument is now passed to the respective functions.

* weather@mocturtl - Update 2.0.0: New API added after Yahoo API closure (linuxmint#2223)

Removed Yahoo Weather API support and added OpenWeatherMAP instead, with capability to extend to  support other APIs later on.

* SpicesUpdate@claudiux: Update cinnamon-spices applet nl.po (linuxmint#2240)

Improved translation and sentence structure

* multicore-sys-monitor@ccadeptic23: French translation fr.po (linuxmint#2241)

* multicore-sys-monitor@ccadeptic23: fr.po

* Update header of fr.po

* command launcher: switch to es6 classes

* graphics center: switch to es6 classes

* office center: switch to es6 classes

* places center: switch to es6 classes

* session manager: fix extra quote in pt_BR.po that was causing an install error

* session manager: switch to es6 classes

* sticky notes: switch to es6 classes

* cinnamon-timer@jake1164 - Added support for cinnamon 4.0 (linuxmint#2244)

* cinnamon-timer@jake1164 - Updated metadata to allow to run on cinnamon 3.8

* cinnamon-timer: Added the license info to the info.json file.

* cinnamon-timer@jake1164 - Updated with support for 4.0

* weather@mockturtl 2.0.1 Update (linuxmint#2246)

* Fixed issue where sunset/sunrise displayed twice
* Forecast compiling uses timezone calculation to separate forecasts to the correct days now
* Fixed issue where days were displayed incorrectly, now are calculated displayed with timezone offset (was bad with people near the day boundary i guess)
* using HTTPS to call OpenWeather

* Updates German translations for version 2.0.0 of weather@mockturtl (linuxmint#2242)

* Updates German translations for version 2.0.0

* Update de.po

* Further tweaks

* Spices Update po.nl (linuxmint#2245)

Last revision of Dutch translation

* cinnamon-timer@jake1164: French translation - fr.po (linuxmint#2248)

* cinnamon-timer@jake1164: French tranlation - fr.po

* Update fr.po - Change header

* AutostartPrograms@spacy01: Update for Cinnamon module and icon name (linuxmint#2028)

AutostartPrograms@spacy01: Update for Cinnamon module and icon name

* SpicesUpdate@claudiux: v1.2.0 - Fixes linuxmint#2230 (linuxmint#2235)

* SpicesUpdate@claudiux: v1.2.0 - Fixes linuxmint#2230

* Scripts .py modified to simplify maintenance

* Spices notifier nl.po (linuxmint#2250)

Dutch translations

* brightness-and-gamma-applet@cardsurf: French translation fr.po (linuxmint#2251)

* SpicesUpdate@claudiux: v1.2.1 - Can hide icon while nothing is to report (linuxmint#2254)

* SpicesUpdate@claudiux: v1.2.1 Can hide icon while nothing is to report

* Translation updates: fr.po it.po es.po

* open_download_tab.py: fixes errors reported by Codacy

* Update Dutch translation SpicesUpdate linuxmint#2254 

Add Dutch translation ./settings-schema.json:316 and json.317
SpicesUpdate@claudiux: v1.2.1 - Can hide icon while nothing is to report linuxmint#2254

* Update README.md

* Update README.md

* Image added

* Image added

* SpicesUpdate@claudiux - update German translation (linuxmint#2255)

You update to often... ;-)

* Update Simplified Chinese translations for version 2.0.1 for weather@mockturtl

* Updates Simplified Chinese translations for version 2.0.1

* Update zh_CN.po

* Further tweaks

* Update nl.po

Updates the Dutch translation for version 2.0.0 of the modified weather@mockturtl plugin

* Update nl.po

A few small improvements. Sorry to bother you again so soon....

*  weather@mockurtl 2.1.0 Update

* weather@mockturtl 2.0.1 Update

* Fixed issue where sunset/sunrise displayed twice
* Forecast compiling uses timezone calculation to separate forecasts to the correct days now
* Fixed issue where days were displayed incorrectly, now are calculated displayed with timezone offset (was bad with people near the day boundary i guess)
* using HTTPS to call OpenWeather

* Adding some additional information on API and TZ handling

* Added higher min refresh limit, switched from request callbacks to fully async functions for more manageable flow

* * Moved Error messages to the top as consts,
* Weather data is now stored inside the Applet object,
* Preparing to port API related functions to a separate object,
* Preparing to use API to fetch Timezone information on demand,
* Fixed logging,
* Cleanup

* Added DarkSky API support

* DarkSky fully implemented, long conditions are not in the correct units
* Started ReImplementing OpenWeather
* Greatly Improved Logging, try/catch used in correct places

* DarkSky and OpenWeather Premium fully implemented

* Preparing to phase out OpenWeatherMap free
* Now Mainloop is always preserved by a try/catch now
* Error Messages are getting phased out to the new ones.

* Automatic location lookup added

* Minor darksky icon and condition text fixes
* Hungarian Translation
* Old error messages removed

* Made Main Loop Independent from Refresh

Weather Updates every refreshinterval based on elapsed time since last weather update.

Any action can refresh weather, it does not affect the loop, It might skip updating the weather.

Good Laptops after waking up from sleep and stuff or for spotty internet connections

* Changed version number

* SpicesUpdate@claudiux: Update Croatian language (linuxmint#2266)

* weather@mockturtl: Update Croatian language (linuxmint#2268)

* weather@mockturtl: Update Croatian language

* Update hr.po
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants