Skip to content

Commit 07336ac

Browse files
committed
Add "What's New" page to show release notes after update to new version
Currently when a user uses Sparkle updater to update, they will see the release notes beforehand. However, if they are updating across multiple versions, they only see the latest one. Also, if they are using automatic update, they will not see the release notes page. Users who get MacVim from Homebrew or manually building from source also do not see the release notes as those mechanisms are driven from command line. This makes it harder to communicate new features and announcements to these users. Add a new "What's New" page that will be automatically shown whenever the user has updated to a new version of MacVim. The last version of MacVIm is tracked by the MMLastUsedBundleVersion value previously added in #1357, which allows us to detect such update no matter what installation method was used and display a dialog box. Other than opening at launch, the user can also open it in the Help menu, and there's an option to make it not open at launch if it's annoying to the user. The release notes is served by http://macvim.org/ (done in macvim-dev/macvim-dev.github.io#1) so we don't have to bundle it locally and it makes it easier to update them. MacVim will know the request a range of release notes (if updating across multiple versions at once) so that all new versions will be visible. Also, fix it so that both Sparkle updater and the new What's New page will properly be shown on top of the new MacVim window that gets opened when MacVim is launched. Previously when we get a new update, Sparkle frequently gets hid behind the editor window.
1 parent 9bae3e4 commit 07336ac

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+481
-25
lines changed

runtime/doc/gui_mac.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ KEY VALUE ~
308308
*MMVerticalSplit* files open in vertical splits [bool]
309309
*MMZoomBoth* zoom button maximizes both directions [bool]
310310
*MMUpdaterPrereleaseChannel* opt-in to pre-release software update [bool]
311+
*MMShowWhatsNewOnStartup* show "What's New" after updating to new version [bool]
311312

312313
As an example, if you have more than one mouse button and would wish to free
313314
up Ctrl-click so you can bind it to something else, then the appropriate

runtime/doc/tags

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5520,6 +5520,7 @@ MMNonNativeFullScreenShowMenu gui_mac.txt /*MMNonNativeFullScreenShowMenu*
55205520
MMRendererClipToRow gui_mac.txt /*MMRendererClipToRow*
55215521
MMShareFindPboard gui_mac.txt /*MMShareFindPboard*
55225522
MMShowAddTabButton gui_mac.txt /*MMShowAddTabButton*
5523+
MMShowWhatsNewOnStartup gui_mac.txt /*MMShowWhatsNewOnStartup*
55235524
MMSmoothResize gui_mac.txt /*MMSmoothResize*
55245525
MMTabMaxWidth gui_mac.txt /*MMTabMaxWidth*
55255526
MMTabMinWidth gui_mac.txt /*MMTabMinWidth*

runtime/lang/macvim_menu/menu_ca_es.latin1.apple.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@ menutrans Zoom\ All Fer\ zoom\ a\ tot
2525
menutrans Show\ Next\ Tab Mostrar\ la\ pestanya\ següent
2626
menutrans Show\ Previous\ Tab Mostrar\ la\ pestanya\ anterior
2727
menutrans Bring\ All\ to\ Front Portar-ho\ tot\ a\ primer\ pla
28+
menutrans What's\ New Novetats
2829
menutrans Release\ Notes Notes\ de\ la\ versió
2930
menutrans Look\ Up Consultar

runtime/lang/macvim_menu/menu_cs_cz.utf-8.apple.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@ menutrans Zoom\ All Přepnout\ velikost\ všech
2525
menutrans Show\ Next\ Tab Zobrazit\ další\ panel
2626
menutrans Show\ Previous\ Tab Zobrazit\ předchozí\ panel
2727
menutrans Bring\ All\ to\ Front Převést\ vše\ do\ popředí
28+
menutrans What's\ New Novinky
2829
menutrans Release\ Notes Poznámky\ k\ vydání
2930
menutrans Look\ Up Vyhledat

runtime/lang/macvim_menu/menu_da.utf-8.apple.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@ menutrans Zoom\ All Zoom\ alle
2525
menutrans Show\ Next\ Tab Vis\ næste\ fane
2626
menutrans Show\ Previous\ Tab Vis\ forrige\ fane
2727
menutrans Bring\ All\ to\ Front Anbring\ alle\ forrest
28+
menutrans What's\ New Nyheder
2829
menutrans Release\ Notes Frigivelsesnoter
2930
menutrans Look\ Up Slå\ op

runtime/lang/macvim_menu/menu_de_de.latin1.apple.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@ menutrans Zoom\ All Alle\ zoomen
2525
menutrans Show\ Next\ Tab Nächsten\ Tab\ anzeigen
2626
menutrans Show\ Previous\ Tab Vorherigen\ Tab\ anzeigen
2727
menutrans Bring\ All\ to\ Front Alle\ nach\ vorne\ bringen
28+
menutrans What's\ New Neue\ Funktionen
2829
menutrans Release\ Notes Aktuelle\ Informationen
2930
menutrans Look\ Up Nachschlagen

runtime/lang/macvim_menu/menu_es_es.latin1.apple.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@ menutrans Zoom\ All Aplicar\ zoom\ a\ todas\ las\ ventanas
2525
menutrans Show\ Next\ Tab Mostrar\ pestaña\ siguiente
2626
menutrans Show\ Previous\ Tab Mostrar\ pestaña\ anterior
2727
menutrans Bring\ All\ to\ Front Traer\ todo\ al\ frente
28+
menutrans What's\ New Novedades
2829
menutrans Release\ Notes Notas\ de\ la\ versión
2930
menutrans Look\ Up Consultar

runtime/lang/macvim_menu/menu_fi_fi.latin1.apple.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@ menutrans Zoom\ All Zoomaa\ kaikki
2525
menutrans Show\ Next\ Tab Näytä\ seuraava\ välilehti
2626
menutrans Show\ Previous\ Tab Näytä\ edellinen\ välilehti
2727
menutrans Bring\ All\ to\ Front Tuo\ kaikki\ eteen
28+
menutrans What's\ New Uutta
2829
menutrans Release\ Notes Julkaisutiedot
2930
menutrans Look\ Up Katso\ lisää

runtime/lang/macvim_menu/menu_fr_fr.latin1.apple.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@ menutrans Zoom\ All Réduire/agrandir\ toutes\ les\ fenêtres
2525
menutrans Show\ Next\ Tab Afficher\ l’onglet\ suivant
2626
menutrans Show\ Previous\ Tab Afficher\ l’onglet\ précédent
2727
menutrans Bring\ All\ to\ Front Tout\ ramener\ au\ premier\ plan
28+
menutrans What's\ New Nouveautés
2829
menutrans Release\ Notes Notes\ de\ mise\ à\ jour
2930
menutrans Look\ Up Définition

runtime/lang/macvim_menu/menu_hu_hu.utf-8.apple.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@ menutrans Zoom\ All Összes\ nagyítása
2525
menutrans Show\ Next\ Tab Következő\ lap\ megjelenítése
2626
menutrans Show\ Previous\ Tab Előző\ lap\ megjelenítése
2727
menutrans Bring\ All\ to\ Front Összes\ előtérbe\ hozása
28+
menutrans What's\ New Újdonságok
2829
menutrans Release\ Notes Kibocsátási\ megjegyzések
2930
menutrans Look\ Up Definiálás

0 commit comments

Comments
 (0)