Plugin:PluginUpdater/pl: Difference between revisions

From Miranda NG
Plugin:PluginUpdater/pl
Jump to navigation Jump to search
m ({{Menu}} used)
(Updating to match new version of source page)
Line 1: Line 1:
{{PluginCard}}{{todo|lang=pl|sync}}
<languages/>{{PluginCard}}
[[File:PluginUpdater 01.png|200px|thumb|Menedżer komponentów]]
{{TNT|Note|This plugin should not be confused with {{Plugin|IM Updater}} plugin for '''Miranda IM'''.}}
{{Note|Nie mylić z wtyczką {{Plugin|IM Updater}} dla '''Mirandy IM'''.}}


Instaluje i aktualizuje wtyczki oraz inne komponenty Mirandy.
Installs and updates plugins and other Miranda NG components (icon and {{GlossLink|Language pack|language packs}}).


__TOC__


Porównuje kody skrótu zainstalowanych wtyczek z tymi na serwerze i jeśli się różnią, to pobiera archiwum z plikami do aktualizacji, a następnie podmienia lokalne pliki.
== Version choice ==


'''PluginUpdater''' zapamiętuje wybór użytkownika odnośnie tego, jakie z zainstalowanych komponentów aktualizować. Jeżeli nie chcesz aby coś było aktualizowane (np. ikony) to odznacz je w oknie aktualizacji. Wspiera także aktualizację pakietów językowych.
You can choose among {{GlossLink|Stable version|stable}} and {{GlossLink|development version}} in {{Menu|Options|Services|Plugin Updater}} under ''Files source'' section. There are the following settings there:
* '''Stable version''' is released "when it is ready", about once in 1–2 months.
* '''Development version (less stable)''' is updated more often so you'll be able to take advantage of new features sooner.
* '''Development version with debug symbols''' – use this one if you are going to make a [[Crash reports|crash report]].
* '''Custom version''' is for pack creators: if you distribute '''your own''' Miranda pack, select this one and set your URL for PluginUpdater to download updates from. In this case you become responsible for keeping your repository of plugins up-to-date.


'''PluginUpdater''' dostarcza również menedżera komponentów (opcja ''Pobierz komponenty'' w menu głównym), pozwalającego użytkownikowi na instalowanie wtyczek, ikon i pakietów językowych z poziomu samej Mirandy.
[[File:PluginUpdater 01.png|200px|thumb|Component list]]
== Adding plugins and components ==


PluginUpdater allows to download and install several plugins at once.
* Go to {{Menu|Main menu|Available components list}}.
* Select additional plugins, a langpack or icon sets to install (see the screenshot). Clicking on "Information" icon will open the plugin's wiki page in your browser.
* Click ''Download'' button.


== Jak to działa ==
== How it works ==
# Należy zaznaczyć, że '''PluginUpdater''' nie sprawdza wersji wtyczki czy daty jej kompilacji. Dlatego jeżeli skompilowałeś wtyczkę samodzielnie (lub zrobił to ktoś inny i podzielił się nią z Tobą), '''PluginUpdater''' w dalszym ciągu będzie próbował zastąpić ją "starszą" wersją. Jest to celowe działanie mające służyć uniknięciu problemów z wtyczkami pochodzącymi z wątpliwych źródeł.
# Specjalny algorytm obliczający kod skrótu ignoruje informacje o czasie kompilacji pliku <tt>DLL</tt> (który również jest w nim zapisywany). Dlatego wtyczki skompilowane z tego samego kodu źródłowego, z tego samego kompilatora, ale w różnym czasie będą miały ten sam kod skrótu według '''PluginUpdater''''a natomiast inny według zwykłych narzędzi obliczeniowych bazujących na MD5.
# Domyślnie '''PluginUpdater''' jest ustawiony na sprawdzanie aktualizacji w wersji stabilnej. Będzie więc próbował nadpisać najnowsze wersje rozwojowe stabilnymi. To nie jest błąd. Aby to zmienić przejdź do: {{Menu|Opcje|Usługi|Aktualizacje}}, i ustaw to co Ci odpowiada.


This plugin compares hashes of the installed plugins with those on the server and if they differ, downloads archived updates and replaces the local copy.


== Porady i sztuczki ==
It should be noted that PluginUpdater doesn't check plugins' versions nor their compilation dates. So if you compile a plugin by yourself (or somebody does and shares it with you), PluginUpdater will still download its "older" version from the server. This was done on purpose to avoid problems with plugins from doubtful sources.
# Jeśli udostępniasz swoją własną paczkę Mirandy, to możesz w opcjach wybrać ''Niestandardowa wersja'' i podać adres, z którego będą aktualizowane wtyczki. W takiej sytuacji stajesz się odpowiedzialny za utrzymanie aktualności repozytorium z wtyczkami.
# Jeżeli w bazie danych ustawisz wartość klucza typu <tt>BYTE</tt> {{DBKey|PluginUpdater|RestartCurrentProfile|0}}, to wtyczka będzie restartować Mirandę do ''Menedżera profili'', a nie, jak to jest domyślnie, do aktualnego profilu ({{Rev|3346|r3346}}).


Special algorithm for calculating plugins' hashes ignores information about DLL compilation time (which is also written to DLL). Thus a plugin compiled from the same source code with the same compiler but at different time will have the same hash for PluginUpdater but different one for ordinary MD5 calculation tools.


== Zobacz również ==
== Tips and tricks ==
* [[Instalacja i aktualizacja#Instalowanie wtyczek | Instalowanie wtyczek]].
 
# PluginUpdater remembers user's choice of the components in the list of updates. If you have a custom langpack or an icon set (e.g. <tt>Proto_Jabber.dll</tt>) which you don't want to update, uncheck the corresponding items in the list. You need to do this once, those components will remain unchecked during the next updates and thus won't get updated.
# If you set the key of <tt>{{L10n:DBTypes|byte|lang={{PageLangCode}}}}</tt> type {{DBKey|PluginUpdater|RestartCurrentProfile|0}}, the plugin will restart Miranda to [[Profile management|Profile manager]] ({{Rev|3346|revision 3346}}). PluginUpdater restarts Miranda to current profile by default.


{{PluginGroups}}
{{PluginGroups}}

Revision as of 14:14, 31 December 2017

Plugin updater
Plugin updater
Nazwa pliku PluginUpdater.dll
Autorzy Mataes, George Hazan
Pobierz
Wersja stabilna: 32-bit, 64-bit
Wersja rozwojowa: 32-bit, 64-bit

Informacja
This plugin should not be confused with IM Updater plugin for Miranda IM.

Installs and updates plugins and other Miranda NG components (icon and language packs).

Version choice

You can choose among stable and development version in Options → Services → Plugin Updater under Files source section. There are the following settings there:

  • Stable version is released "when it is ready", about once in 1–2 months.
  • Development version (less stable) is updated more often so you'll be able to take advantage of new features sooner.
  • Development version with debug symbols – use this one if you are going to make a crash report.
  • Custom version is for pack creators: if you distribute your own Miranda pack, select this one and set your URL for PluginUpdater to download updates from. In this case you become responsible for keeping your repository of plugins up-to-date.
Component list

Adding plugins and components

PluginUpdater allows to download and install several plugins at once.

  • Go to Main menu → Available components list.
  • Select additional plugins, a langpack or icon sets to install (see the screenshot). Clicking on "Information" icon will open the plugin's wiki page in your browser.
  • Click Download button.

How it works

This plugin compares hashes of the installed plugins with those on the server and if they differ, downloads archived updates and replaces the local copy.

It should be noted that PluginUpdater doesn't check plugins' versions nor their compilation dates. So if you compile a plugin by yourself (or somebody does and shares it with you), PluginUpdater will still download its "older" version from the server. This was done on purpose to avoid problems with plugins from doubtful sources.

Special algorithm for calculating plugins' hashes ignores information about DLL compilation time (which is also written to DLL). Thus a plugin compiled from the same source code with the same compiler but at different time will have the same hash for PluginUpdater but different one for ordinary MD5 calculation tools.

Tips and tricks

  1. PluginUpdater remembers user's choice of the components in the list of updates. If you have a custom langpack or an icon set (e.g. Proto_Jabber.dll) which you don't want to update, uncheck the corresponding items in the list. You need to do this once, those components will remain unchecked during the next updates and thus won't get updated.
  2. If you set the key of Byte type PluginUpdater/RestartCurrentProfile = 0, the plugin will restart Miranda to Profile manager (revision 3346). PluginUpdater restarts Miranda to current profile by default.