Module: wine
Branch: master
Commit: 65305a474e2c14cd0efdcdfd4936d20f527e636f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=65305a474e2c14cd0efdcdfd4…
Author: Kim Malmo <berencamlost(a)msn.com>
Date: Thu Jun 8 09:08:11 2017 +0000
po: Update Norwegian translation.
Signed-off-by: Kim Malmo <berencamlost(a)msn.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
po/nb_NO.po | 30 +++++-------------------------
1 file changed, 5 insertions(+), 25 deletions(-)
diff --git a/po/nb_NO.po b/po/nb_NO.po
index 479385b..e478435 100644
--- a/po/nb_NO.po
+++ b/po/nb_NO.po
@@ -11762,10 +11762,8 @@ msgid "Expand"
msgstr "Utvid"
#: regedit.rc:134 regedit.rc:232
-#, fuzzy
-#| msgid "Modify Binary Data..."
msgid "Modify &Binary Data..."
-msgstr "Endre binærdata..."
+msgstr "Endre &binærdata..."
#: regedit.rc:266
msgid "Export registry"
@@ -11864,10 +11862,6 @@ msgid "Contains commands for accessing frequently used keys"
msgstr "Inneholder kommandoer for å få tilgang til nøkler som brukes ofte"
#: regedit.rc:163
-#, fuzzy
-#| msgid ""
-#| "Contains commands for displaying help and information about registry "
-#| "editor"
msgid ""
"Contains commands for displaying Help and information about Registry Editor"
msgstr ""
@@ -12115,8 +12109,6 @@ msgid "regedit: The line contains invalid syntax.\n"
msgstr "regedit: Linjen inneholder ugyldig syntaks.\n"
#: regedit.rc:187
-#, fuzzy
-#| msgid "Quits the registry editor"
msgid "Quits the Registry Editor"
msgstr "Avslutter Registerredigering"
@@ -12133,8 +12125,6 @@ msgid "Shows or hides the status bar"
msgstr "Viser eller skjuler statuslinjen"
#: regedit.rc:191
-#, fuzzy
-#| msgid "Change position of split between two panes"
msgid "Changes the position of the split between two panes"
msgstr "Endrer posisjonen til delingslinjen mellom to ruter"
@@ -12179,10 +12169,8 @@ msgid "Adds a new binary value"
msgstr "Legger til en ny binærverdis"
#: regedit.rc:174
-#, fuzzy
-#| msgid "Adds a new binary value"
msgid "Adds a new 32-bit value"
-msgstr "Legger til en ny binærverdis"
+msgstr "Legger til en ny 32-bit verdi"
#: regedit.rc:177
msgid "Imports a text file into the registry"
@@ -12197,10 +12185,8 @@ msgid "Prints all or part of the registry"
msgstr "Skriver ut hele eller deler av registeret"
#: regedit.rc:181
-#, fuzzy
-#| msgid "Registry Editor"
msgid "Opens Registry Editor Help"
-msgstr "Registerredigering"
+msgstr "Åpner register-redigeringshjelp"
#: regedit.rc:182
msgid "Displays program information, version number and copyright"
@@ -12243,26 +12229,20 @@ msgid "Unable to query the registry key '%1'."
msgstr "Kan ikke forespørre registernøkkelen \"%1\"."
#: regedit.rc:170
-#, fuzzy
-#| msgid "Modifies the value's data"
msgid "Modifies the value's data in binary form"
-msgstr "Endrer verdiens data"
+msgstr "Endrer verdiens data i binær form"
#: regedit.rc:175
msgid "Adds a new multi-string value"
msgstr "Legger til en ny flerstrengverdi"
#: regedit.rc:198
-#, fuzzy
-#| msgid "Exports selected branch of the registry to a text file"
msgid "Exports the selected branch of the registry to a text file"
msgstr "Eksporterer den valgte greinen av registeret til en tekstfil"
#: regedit.rc:176
-#, fuzzy
-#| msgid "Adds a new string value"
msgid "Adds a new expandable string value"
-msgstr "Legger til en ny strengverdi"
+msgstr "Legger til en ny utvidbar strengverdi"
#: regedit.rc:211
msgid "Confirm Key Delete"
Module: wine
Branch: master
Commit: eb04665281481688478206ef87b801ef394d5bc3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=eb04665281481688478206ef8…
Author: Huw Davies <huw(a)codeweavers.com>
Date: Wed Jun 7 16:09:14 2017 +0100
wineandroid: The event list may have been altered by a recursive call, so restart the loop from the beginning.
Signed-off-by: Huw Davies <huw(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/wineandroid.drv/window.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/wineandroid.drv/window.c b/dlls/wineandroid.drv/window.c
index 7dff297..e3fd865 100644
--- a/dlls/wineandroid.drv/window.c
+++ b/dlls/wineandroid.drv/window.c
@@ -360,6 +360,8 @@ static int process_events( DWORD mask )
}
HeapFree( GetProcessHeap(), 0, event );
count++;
+ /* next may have been removed by a recursive call, so reset it to the beginning of the list */
+ next = LIST_ENTRY( event_queue.next, struct java_event, entry );
}
current_event = previous;
return count;
Module: wine
Branch: master
Commit: 580915040edfdd6308aad7b98ccfa675a912e0ab
URL: http://source.winehq.org/git/wine.git/?a=commit;h=580915040edfdd6308aad7b98…
Author: Huw Davies <huw(a)codeweavers.com>
Date: Mon Jun 5 13:05:12 2017 +0100
user32: A second button-up on the system menu should end the tracking.
This isn't quite how Windows behaves. Windows doesn't follow the
tracking between the menu-bar and the system menu, while Wine does.
Since the system menu of top-level windows is likely to be hidden by
Wine's graphics driver, this seems like useful behaviour to keep and
thus this patch makes things behave sensibly.
Even without Wine's special tracking behaviour, this patch is an
improvement. The tracking state has no reason to be stored in the
menu structure.
Signed-off-by: Huw Davies <huw(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/user32/menu.c | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/dlls/user32/menu.c b/dlls/user32/menu.c
index d198ddf..95e4ef6 100644
--- a/dlls/user32/menu.c
+++ b/dlls/user32/menu.c
@@ -94,7 +94,6 @@ typedef struct {
MENUITEM *items; /* Array of menu items */
UINT FocusedItem; /* Currently focused item */
HWND hwndOwner; /* window receiving the messages for ownerdraw */
- BOOL bTimeToHide; /* Request hiding when receiving a second click in the top-level menu item */
BOOL bScrolling; /* Scroll arrows are active */
UINT nScrollPos; /* Current scroll position */
UINT nTotalHeight; /* Total height of menu items inside menu */
@@ -114,6 +113,7 @@ typedef struct {
#define TF_ENDMENU 0x10000
#define TF_SUSPENDPOPUP 0x20000
#define TF_SKIPREMOVE 0x40000
+#define TF_RCVD_BTN_UP 0x80000
typedef struct
{
@@ -2643,11 +2643,11 @@ static INT MENU_ButtonUp( MTRACKER* pmt, HMENU hPtMenu, UINT wFlags)
/* If we are dealing with the menu bar */
/* and this is a click on an already "popped" item: */
/* Stop the menu tracking and close the opened submenus */
- if((pmt->hTopMenu == hPtMenu) && ptmenu->bTimeToHide)
+ if(((pmt->hTopMenu == hPtMenu) || IS_SYSTEM_MENU(ptmenu)) && (pmt->trackFlags & TF_RCVD_BTN_UP))
return 0;
}
- if( GetMenu(ptmenu->hWnd) == hPtMenu )
- ptmenu->bTimeToHide = TRUE;
+ if( GetMenu(ptmenu->hWnd) == hPtMenu || IS_SYSTEM_MENU(ptmenu) )
+ pmt->trackFlags |= TF_RCVD_BTN_UP;
}
return -1;
}
@@ -3303,9 +3303,6 @@ static BOOL MENU_TrackMenu( HMENU hmenu, UINT wFlags, INT x, INT y,
MENU_SelectItem( mt.hOwnerWnd, mt.hTopMenu, NO_SELECTED_ITEM, FALSE, 0 );
SendMessageW( mt.hOwnerWnd, WM_MENUSELECT, MAKEWPARAM(0,0xffff), 0 );
}
-
- /* Reset the variable for hiding menu */
- if( menu ) menu->bTimeToHide = FALSE;
}
SetLastError( ERROR_SUCCESS );
@@ -4073,7 +4070,6 @@ HMENU WINAPI CreatePopupMenu(void)
if (!(hmenu = CreateMenu())) return 0;
menu = MENU_GetMenu( hmenu );
menu->wFlags |= MF_POPUP;
- menu->bTimeToHide = FALSE;
return hmenu;
}
@@ -4122,7 +4118,6 @@ HMENU WINAPI CreateMenu(void)
if (!(menu = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*menu) ))) return 0;
menu->FocusedItem = NO_SELECTED_ITEM;
- menu->bTimeToHide = FALSE;
if (!(hMenu = alloc_user_handle( &menu->obj, USER_MENU ))) HeapFree( GetProcessHeap(), 0, menu );