Add files using upload-large-folder tool
Browse files- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/layout/bookmark_list_item.xml +61 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/layout/button_preference.xml +62 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/layout/credentials.xml +58 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/layout/dont_show_again_dialog.xml +33 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/layout/list_header.xml +20 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/layout/session.xml +67 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/layout/session_list_item.xml +66 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/layout/super_bar.xml +48 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/menu/bookmark_context_menu.xml +19 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/menu/home_menu.xml +24 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/menu/session_menu.xml +31 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/values-de/strings.xml +175 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/values-fr/strings.xml +175 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/values-ja/strings.xml +177 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/values-nb-rNO/strings.xml +175 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/values-w820dp/dimens.xml +6 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/values-zh-rTW/strings.xml +175 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/xml/debug_settings.xml +35 -0
- local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/xml/numpad_keyboard.xml +119 -0
- local-test-freerdp-delta-01/afc-freerdp/libfreerdp/codec/zgfx.c +644 -0
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/layout/bookmark_list_item.xml
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?><!--
|
| 2 |
+
/*
|
| 3 |
+
Copyright (C) 2007 Google Inc.
|
| 4 |
+
|
| 5 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 6 |
+
you may not use this file except in compliance with the License.
|
| 7 |
+
You may obtain a copy of the License at
|
| 8 |
+
|
| 9 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 10 |
+
|
| 11 |
+
Unless required by applicable law or agreed to in writing, software
|
| 12 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 13 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 14 |
+
See the License for the specific language governing permissions and
|
| 15 |
+
limitations under the License.
|
| 16 |
+
*/
|
| 17 |
+
-->
|
| 18 |
+
|
| 19 |
+
<TwoLineListItem xmlns:android="http://schemas.android.com/apk/res/android"
|
| 20 |
+
android:layout_width="fill_parent"
|
| 21 |
+
android:layout_height="wrap_content">
|
| 22 |
+
|
| 23 |
+
<ImageView
|
| 24 |
+
android:id="@+id/bookmark_icon1"
|
| 25 |
+
android:layout_width="wrap_content"
|
| 26 |
+
android:layout_height="wrap_content"
|
| 27 |
+
android:layout_centerVertical="true"
|
| 28 |
+
android:contentDescription="@+id/bookmark_icon1"
|
| 29 |
+
android:visibility="gone" />
|
| 30 |
+
|
| 31 |
+
<TextView
|
| 32 |
+
android:id="@+id/bookmark_text1"
|
| 33 |
+
android:layout_width="match_parent"
|
| 34 |
+
android:layout_height="wrap_content"
|
| 35 |
+
android:layout_marginLeft="6dip"
|
| 36 |
+
android:layout_marginTop="6dip"
|
| 37 |
+
android:layout_toRightOf="@id/bookmark_icon1"
|
| 38 |
+
android:textAppearance="?android:attr/textAppearanceLarge" />
|
| 39 |
+
|
| 40 |
+
<TextView
|
| 41 |
+
android:id="@+id/bookmark_text2"
|
| 42 |
+
android:layout_width="match_parent"
|
| 43 |
+
android:layout_height="wrap_content"
|
| 44 |
+
android:layout_alignLeft="@id/bookmark_text1"
|
| 45 |
+
android:layout_below="@id/bookmark_text1"
|
| 46 |
+
android:paddingBottom="4dip"
|
| 47 |
+
android:textAppearance="?android:attr/textAppearanceSmall" />
|
| 48 |
+
|
| 49 |
+
<ImageView
|
| 50 |
+
android:id="@+id/bookmark_icon2"
|
| 51 |
+
android:layout_width="wrap_content"
|
| 52 |
+
android:layout_height="wrap_content"
|
| 53 |
+
android:layout_alignParentRight="true"
|
| 54 |
+
android:layout_centerVertical="true"
|
| 55 |
+
android:layout_marginRight="7dip"
|
| 56 |
+
android:layout_marginTop="9dip"
|
| 57 |
+
android:contentDescription="@+id/bookmark_icon2"
|
| 58 |
+
android:focusable="false"
|
| 59 |
+
android:focusableInTouchMode="false"
|
| 60 |
+
android:src="@drawable/icon_star_off" />
|
| 61 |
+
</TwoLineListItem>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/layout/button_preference.xml
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?><!--
|
| 2 |
+
/*
|
| 3 |
+
Layout for custom preference item showing a button on the right side
|
| 4 |
+
|
| 5 |
+
Copyright 2013 Thincast Technologies GmbH, Author: Martin Fleisz
|
| 6 |
+
|
| 7 |
+
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
| 8 |
+
If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
| 9 |
+
*/
|
| 10 |
+
-->
|
| 11 |
+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
| 12 |
+
android:layout_width="match_parent"
|
| 13 |
+
android:layout_height="wrap_content"
|
| 14 |
+
android:baselineAligned="false"
|
| 15 |
+
android:gravity="center_vertical"
|
| 16 |
+
android:minHeight="?android:attr/listPreferredItemHeight"
|
| 17 |
+
android:paddingRight="?android:attr/scrollbarSize">
|
| 18 |
+
|
| 19 |
+
<RelativeLayout
|
| 20 |
+
android:layout_width="0dp"
|
| 21 |
+
android:layout_height="wrap_content"
|
| 22 |
+
android:layout_marginBottom="6dip"
|
| 23 |
+
android:layout_marginLeft="15dip"
|
| 24 |
+
android:layout_marginRight="6dip"
|
| 25 |
+
android:layout_marginTop="6dip"
|
| 26 |
+
android:layout_weight="1">
|
| 27 |
+
|
| 28 |
+
<TextView
|
| 29 |
+
android:id="@android:id/title"
|
| 30 |
+
android:layout_width="wrap_content"
|
| 31 |
+
android:layout_height="wrap_content"
|
| 32 |
+
android:ellipsize="marquee"
|
| 33 |
+
android:fadingEdge="horizontal"
|
| 34 |
+
android:singleLine="true"
|
| 35 |
+
android:textAppearance="?android:attr/textAppearanceLarge" />
|
| 36 |
+
|
| 37 |
+
<TextView
|
| 38 |
+
android:id="@android:id/summary"
|
| 39 |
+
android:layout_width="wrap_content"
|
| 40 |
+
android:layout_height="wrap_content"
|
| 41 |
+
android:layout_alignLeft="@android:id/title"
|
| 42 |
+
android:layout_below="@android:id/title"
|
| 43 |
+
android:maxLines="4"
|
| 44 |
+
android:textAppearance="?android:attr/textAppearanceSmall" />
|
| 45 |
+
|
| 46 |
+
</RelativeLayout>
|
| 47 |
+
|
| 48 |
+
<!-- Preference should place its actual preference widget here. -->
|
| 49 |
+
<LinearLayout
|
| 50 |
+
android:id="@android:id/widget_frame"
|
| 51 |
+
android:layout_width="wrap_content"
|
| 52 |
+
android:layout_height="match_parent"
|
| 53 |
+
android:gravity="center_vertical"
|
| 54 |
+
android:orientation="vertical">
|
| 55 |
+
|
| 56 |
+
<Button
|
| 57 |
+
android:id="@+id/preference_button"
|
| 58 |
+
android:layout_width="wrap_content"
|
| 59 |
+
android:layout_height="wrap_content"
|
| 60 |
+
android:text="@string/login" />
|
| 61 |
+
</LinearLayout>
|
| 62 |
+
</LinearLayout>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/layout/credentials.xml
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?><!--
|
| 2 |
+
/*
|
| 3 |
+
Layout for user credentials input
|
| 4 |
+
|
| 5 |
+
Copyright 2013 Thincast Technologies GmbH, Author: Martin Fleisz
|
| 6 |
+
|
| 7 |
+
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
| 8 |
+
If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
| 9 |
+
*/
|
| 10 |
+
-->
|
| 11 |
+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
| 12 |
+
android:layout_width="match_parent"
|
| 13 |
+
android:layout_height="wrap_content"
|
| 14 |
+
android:orientation="vertical">
|
| 15 |
+
|
| 16 |
+
<TextView
|
| 17 |
+
android:id="@android:id/empty"
|
| 18 |
+
android:layout_width="match_parent"
|
| 19 |
+
android:layout_height="wrap_content"
|
| 20 |
+
android:text="@string/settings_username"
|
| 21 |
+
android:textAppearance="@android:style/TextAppearance.Medium" />
|
| 22 |
+
|
| 23 |
+
<EditText
|
| 24 |
+
android:id="@+id/editTextUsername"
|
| 25 |
+
android:layout_width="match_parent"
|
| 26 |
+
android:layout_height="wrap_content"
|
| 27 |
+
android:inputType="text"
|
| 28 |
+
android:singleLine="true" />
|
| 29 |
+
|
| 30 |
+
<TextView
|
| 31 |
+
android:id="@android:id/empty"
|
| 32 |
+
android:layout_width="match_parent"
|
| 33 |
+
android:layout_height="wrap_content"
|
| 34 |
+
android:text="@string/settings_password"
|
| 35 |
+
android:textAppearance="@android:style/TextAppearance.Medium" />
|
| 36 |
+
|
| 37 |
+
<EditText
|
| 38 |
+
android:id="@+id/editTextPassword"
|
| 39 |
+
android:layout_width="match_parent"
|
| 40 |
+
android:layout_height="wrap_content"
|
| 41 |
+
android:inputType="textPassword"
|
| 42 |
+
android:singleLine="true" />
|
| 43 |
+
|
| 44 |
+
<TextView
|
| 45 |
+
android:id="@android:id/empty"
|
| 46 |
+
android:layout_width="match_parent"
|
| 47 |
+
android:layout_height="wrap_content"
|
| 48 |
+
android:text="@string/settings_domain"
|
| 49 |
+
android:textAppearance="@android:style/TextAppearance.Medium" />
|
| 50 |
+
|
| 51 |
+
<EditText
|
| 52 |
+
android:id="@+id/editTextDomain"
|
| 53 |
+
android:layout_width="match_parent"
|
| 54 |
+
android:layout_height="wrap_content"
|
| 55 |
+
android:inputType="text"
|
| 56 |
+
android:singleLine="true" />
|
| 57 |
+
|
| 58 |
+
</LinearLayout>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/layout/dont_show_again_dialog.xml
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?><!--
|
| 2 |
+
/*
|
| 3 |
+
Layout for dialogs with a "Don't show again" checkbox
|
| 4 |
+
|
| 5 |
+
Copyright 2013 Thincast Technologies GmbH, Author: Martin Fleisz
|
| 6 |
+
|
| 7 |
+
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
| 8 |
+
If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
| 9 |
+
*/
|
| 10 |
+
-->
|
| 11 |
+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
| 12 |
+
android:layout_width="fill_parent"
|
| 13 |
+
android:layout_height="fill_parent"
|
| 14 |
+
android:orientation="vertical">
|
| 15 |
+
|
| 16 |
+
<TextView
|
| 17 |
+
android:id="@+id/message"
|
| 18 |
+
android:layout_width="match_parent"
|
| 19 |
+
android:layout_height="wrap_content"
|
| 20 |
+
android:maxLines="3"
|
| 21 |
+
android:padding="5dip"
|
| 22 |
+
android:scrollbars="vertical"
|
| 23 |
+
android:singleLine="false"
|
| 24 |
+
android:textAppearance="?android:attr/textAppearanceMediumInverse" />
|
| 25 |
+
|
| 26 |
+
<CheckBox
|
| 27 |
+
android:id="@+id/checkBox"
|
| 28 |
+
style="?android:attr/textAppearanceMediumInverse"
|
| 29 |
+
android:layout_width="wrap_content"
|
| 30 |
+
android:layout_height="wrap_content"
|
| 31 |
+
android:text="@string/dlg_dont_show_again"></CheckBox>
|
| 32 |
+
|
| 33 |
+
</LinearLayout>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/layout/list_header.xml
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?><!--
|
| 2 |
+
/*
|
| 3 |
+
List header layout
|
| 4 |
+
|
| 5 |
+
Copyright 2013 Thincast Technologies GmbH, Author: Martin Fleisz
|
| 6 |
+
|
| 7 |
+
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
| 8 |
+
If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
| 9 |
+
*/
|
| 10 |
+
-->
|
| 11 |
+
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
| 12 |
+
android:id="@+id/list_header_title"
|
| 13 |
+
style="?android:attr/listSeparatorTextViewStyle"
|
| 14 |
+
android:layout_width="fill_parent"
|
| 15 |
+
android:layout_height="wrap_content"
|
| 16 |
+
android:background="@drawable/separator_background"
|
| 17 |
+
android:paddingBottom="2dip"
|
| 18 |
+
android:paddingLeft="5dip"
|
| 19 |
+
android:paddingTop="2dip"
|
| 20 |
+
android:textColor="@color/separator_text_color" />
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/layout/session.xml
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?><!--
|
| 2 |
+
/*
|
| 3 |
+
Session screen layout
|
| 4 |
+
|
| 5 |
+
Copyright 2013 Thincast Technologies GmbH, Author: Martin Fleisz
|
| 6 |
+
|
| 7 |
+
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
| 8 |
+
If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
| 9 |
+
*/
|
| 10 |
+
-->
|
| 11 |
+
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
| 12 |
+
android:id="@+id/session_root_view"
|
| 13 |
+
android:layout_width="match_parent"
|
| 14 |
+
android:layout_height="match_parent">
|
| 15 |
+
|
| 16 |
+
<!-- children are specified bottom-up so that we have a correct z-order in our final layout -->
|
| 17 |
+
<android.inputmethodservice.KeyboardView
|
| 18 |
+
android:id="@+id/extended_keyboard"
|
| 19 |
+
android:layout_width="match_parent"
|
| 20 |
+
android:layout_height="wrap_content"
|
| 21 |
+
android:layout_alignParentBottom="true"
|
| 22 |
+
android:visibility="gone" />
|
| 23 |
+
|
| 24 |
+
<com.freerdp.freerdpcore.presentation.ScrollView2D
|
| 25 |
+
android:id="@+id/sessionScrollView"
|
| 26 |
+
android:layout_width="match_parent"
|
| 27 |
+
android:layout_height="wrap_content"
|
| 28 |
+
android:layout_above="@id/extended_keyboard"
|
| 29 |
+
android:layout_alignParentTop="true"
|
| 30 |
+
android:drawingCacheQuality="low"
|
| 31 |
+
android:fillViewport="true"
|
| 32 |
+
android:isScrollContainer="true"
|
| 33 |
+
android:scrollbars="horizontal|vertical">
|
| 34 |
+
|
| 35 |
+
<com.freerdp.freerdpcore.presentation.SessionView
|
| 36 |
+
android:id="@+id/sessionView"
|
| 37 |
+
android:layout_width="wrap_content"
|
| 38 |
+
android:layout_height="wrap_content"
|
| 39 |
+
android:drawingCacheQuality="low"
|
| 40 |
+
android:focusable="true"
|
| 41 |
+
android:focusableInTouchMode="true" />
|
| 42 |
+
|
| 43 |
+
</com.freerdp.freerdpcore.presentation.ScrollView2D>
|
| 44 |
+
|
| 45 |
+
<com.freerdp.freerdpcore.presentation.TouchPointerView
|
| 46 |
+
android:id="@+id/touchPointerView"
|
| 47 |
+
android:layout_width="match_parent"
|
| 48 |
+
android:layout_height="match_parent"
|
| 49 |
+
android:src="@drawable/touch_pointer_default"
|
| 50 |
+
android:visibility="invisible" />
|
| 51 |
+
|
| 52 |
+
<android.widget.ZoomControls
|
| 53 |
+
android:id="@+id/zoomControls"
|
| 54 |
+
android:layout_width="wrap_content"
|
| 55 |
+
android:layout_height="wrap_content"
|
| 56 |
+
android:layout_alignBottom="@id/sessionScrollView"
|
| 57 |
+
android:layout_centerHorizontal="true" />
|
| 58 |
+
|
| 59 |
+
<android.inputmethodservice.KeyboardView
|
| 60 |
+
android:id="@+id/extended_keyboard_header"
|
| 61 |
+
android:layout_width="wrap_content"
|
| 62 |
+
android:layout_height="wrap_content"
|
| 63 |
+
android:layout_alignParentTop="true"
|
| 64 |
+
android:layout_centerHorizontal="true"
|
| 65 |
+
android:visibility="gone" />
|
| 66 |
+
|
| 67 |
+
</RelativeLayout>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/layout/session_list_item.xml
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?><!--
|
| 2 |
+
/*
|
| 3 |
+
Copyright (C) 2007 Google Inc.
|
| 4 |
+
|
| 5 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 6 |
+
you may not use this file except in compliance with the License.
|
| 7 |
+
You may obtain a copy of the License at
|
| 8 |
+
|
| 9 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 10 |
+
|
| 11 |
+
Unless required by applicable law or agreed to in writing, software
|
| 12 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 13 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 14 |
+
See the License for the specific language governing permissions and
|
| 15 |
+
limitations under the License.
|
| 16 |
+
*/
|
| 17 |
+
-->
|
| 18 |
+
|
| 19 |
+
<TwoLineListItem xmlns:android="http://schemas.android.com/apk/res/android"
|
| 20 |
+
android:layout_width="fill_parent"
|
| 21 |
+
android:layout_height="wrap_content">
|
| 22 |
+
|
| 23 |
+
<ImageView
|
| 24 |
+
android:id="@+id/session_screenshot"
|
| 25 |
+
android:layout_width="64dp"
|
| 26 |
+
android:layout_height="48dp"
|
| 27 |
+
android:layout_alignParentLeft="true"
|
| 28 |
+
android:layout_centerVertical="true"
|
| 29 |
+
android:contentDescription="@+id/session_screenshot"
|
| 30 |
+
android:padding="4dp"
|
| 31 |
+
android:scaleType="fitXY" />
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
<TextView
|
| 35 |
+
android:id="@+id/session_text1"
|
| 36 |
+
android:layout_width="match_parent"
|
| 37 |
+
android:layout_height="wrap_content"
|
| 38 |
+
android:layout_marginLeft="6dip"
|
| 39 |
+
android:layout_marginTop="6dip"
|
| 40 |
+
android:layout_toRightOf="@id/session_screenshot"
|
| 41 |
+
android:textAppearance="?android:attr/textAppearanceLarge" />
|
| 42 |
+
|
| 43 |
+
<TextView
|
| 44 |
+
android:id="@+id/session_text2"
|
| 45 |
+
android:layout_width="match_parent"
|
| 46 |
+
android:layout_height="wrap_content"
|
| 47 |
+
android:layout_alignLeft="@id/session_text1"
|
| 48 |
+
android:layout_below="@id/session_text1"
|
| 49 |
+
android:paddingBottom="4dip"
|
| 50 |
+
android:textAppearance="?android:attr/textAppearanceSmall" />
|
| 51 |
+
|
| 52 |
+
<ImageButton
|
| 53 |
+
android:id="@+id/session_disconnect"
|
| 54 |
+
android:layout_width="wrap_content"
|
| 55 |
+
android:layout_height="wrap_content"
|
| 56 |
+
android:layout_alignParentRight="true"
|
| 57 |
+
android:layout_centerVertical="true"
|
| 58 |
+
android:layout_marginRight="7dip"
|
| 59 |
+
android:layout_marginTop="9dip"
|
| 60 |
+
android:background="@drawable/button_background"
|
| 61 |
+
android:contentDescription="@+id/session_disconnect"
|
| 62 |
+
android:focusable="false"
|
| 63 |
+
android:focusableInTouchMode="false"
|
| 64 |
+
android:src="@drawable/icon_button_cancel" />
|
| 65 |
+
|
| 66 |
+
</TwoLineListItem>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/layout/super_bar.xml
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?><!--
|
| 2 |
+
/*
|
| 3 |
+
Super bar/Quick connect bar layout
|
| 4 |
+
|
| 5 |
+
Copyright 2013 Thincast Technologies GmbH, Author: Martin Fleisz
|
| 6 |
+
|
| 7 |
+
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
| 8 |
+
If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
| 9 |
+
*/
|
| 10 |
+
--><!-- Inner layout contains the button and EditText -->
|
| 11 |
+
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
| 12 |
+
android:id="@+id/search_plate"
|
| 13 |
+
android:layout_width="match_parent"
|
| 14 |
+
android:layout_height="wrap_content"
|
| 15 |
+
android:descendantFocusability="afterDescendants"
|
| 16 |
+
android:focusable="true"
|
| 17 |
+
android:gravity="center_vertical"
|
| 18 |
+
android:paddingBottom="16dip"
|
| 19 |
+
android:paddingLeft="12dip"
|
| 20 |
+
android:paddingRight="6dip"
|
| 21 |
+
android:paddingTop="7dip">
|
| 22 |
+
|
| 23 |
+
<EditText
|
| 24 |
+
android:id="@+id/superBarEditText"
|
| 25 |
+
android:layout_width="0dip"
|
| 26 |
+
android:layout_height="wrap_content"
|
| 27 |
+
android:layout_alignParentLeft="true"
|
| 28 |
+
android:layout_alignParentRight="true"
|
| 29 |
+
android:drawableLeft="@drawable/icon_edittext_search"
|
| 30 |
+
android:drawablePadding="2dip"
|
| 31 |
+
android:drawableRight="@drawable/icon_edittext_clear"
|
| 32 |
+
android:ellipsize="end"
|
| 33 |
+
android:hint="@string/search_hint"
|
| 34 |
+
android:inputType="text"
|
| 35 |
+
android:paddingLeft="8dip"
|
| 36 |
+
android:paddingRight="6dip"
|
| 37 |
+
android:singleLine="true" />
|
| 38 |
+
|
| 39 |
+
<Button
|
| 40 |
+
android:id="@+id/clear_search_btn"
|
| 41 |
+
android:layout_width="40dip"
|
| 42 |
+
android:layout_height="40dip"
|
| 43 |
+
android:layout_alignParentRight="true"
|
| 44 |
+
android:layout_gravity="right|center_vertical"
|
| 45 |
+
android:layout_marginRight="10dip"
|
| 46 |
+
android:background="@android:color/transparent" />
|
| 47 |
+
|
| 48 |
+
</RelativeLayout>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/menu/bookmark_context_menu.xml
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
| 2 |
+
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
| 3 |
+
|
| 4 |
+
<item
|
| 5 |
+
android:id="@+id/bookmark_connect"
|
| 6 |
+
android:showAsAction="ifRoom"
|
| 7 |
+
android:title="@string/menu_connect" />
|
| 8 |
+
|
| 9 |
+
<item
|
| 10 |
+
android:id="@+id/bookmark_edit"
|
| 11 |
+
android:showAsAction="ifRoom"
|
| 12 |
+
android:title="@string/menu_edit" />
|
| 13 |
+
|
| 14 |
+
<item
|
| 15 |
+
android:id="@+id/bookmark_delete"
|
| 16 |
+
android:showAsAction="ifRoom"
|
| 17 |
+
android:title="@string/menu_delete" />
|
| 18 |
+
|
| 19 |
+
</menu>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/menu/home_menu.xml
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
| 2 |
+
|
| 3 |
+
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
| 4 |
+
<item
|
| 5 |
+
android:id="@+id/newBookmark"
|
| 6 |
+
android:icon="@drawable/icon_menu_add"
|
| 7 |
+
android:showAsAction="ifRoom"
|
| 8 |
+
android:title="@string/menu_new_bookmark" />
|
| 9 |
+
<item
|
| 10 |
+
android:id="@+id/appSettings"
|
| 11 |
+
android:icon="@drawable/icon_menu_settings"
|
| 12 |
+
android:showAsAction="ifRoom"
|
| 13 |
+
android:title="@string/menu_app_settings" />
|
| 14 |
+
<item
|
| 15 |
+
android:id="@+id/help"
|
| 16 |
+
android:icon="@drawable/icon_menu_help"
|
| 17 |
+
android:showAsAction="ifRoom"
|
| 18 |
+
android:title="@string/menu_help" />
|
| 19 |
+
<item
|
| 20 |
+
android:id="@+id/about"
|
| 21 |
+
android:icon="@drawable/icon_menu_about"
|
| 22 |
+
android:showAsAction="ifRoom"
|
| 23 |
+
android:title="@string/menu_about" />
|
| 24 |
+
</menu>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/menu/session_menu.xml
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
| 2 |
+
|
| 3 |
+
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
| 4 |
+
<!--
|
| 5 |
+
<item android:id="@+id/session_touch_pointer"
|
| 6 |
+
android:title="@string/pointer"
|
| 7 |
+
android:icon="@drawable/icon_zoom_in"
|
| 8 |
+
android:showAsAction="ifRoom"
|
| 9 |
+
/>
|
| 10 |
+
-->
|
| 11 |
+
<item
|
| 12 |
+
android:id="@+id/session_touch_pointer"
|
| 13 |
+
android:icon="@drawable/icon_menu_touch_pointer"
|
| 14 |
+
android:showAsAction="ifRoom"
|
| 15 |
+
android:title="@string/menu_touch_pointer" />
|
| 16 |
+
<item
|
| 17 |
+
android:id="@+id/session_sys_keyboard"
|
| 18 |
+
android:icon="@drawable/icon_menu_sys_keyboard"
|
| 19 |
+
android:showAsAction="ifRoom"
|
| 20 |
+
android:title="@string/menu_sys_keyboard" />
|
| 21 |
+
<item
|
| 22 |
+
android:id="@+id/session_ext_keyboard"
|
| 23 |
+
android:icon="@drawable/icon_menu_ext_keyboard"
|
| 24 |
+
android:showAsAction="ifRoom"
|
| 25 |
+
android:title="@string/menu_ext_keyboard" />
|
| 26 |
+
<item
|
| 27 |
+
android:id="@+id/session_disconnect"
|
| 28 |
+
android:icon="@drawable/icon_menu_disconnect"
|
| 29 |
+
android:showAsAction="ifRoom"
|
| 30 |
+
android:title="@string/menu_disconnect" />
|
| 31 |
+
</menu>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/values-de/strings.xml
ADDED
|
@@ -0,0 +1,175 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
| 2 |
+
<resources>
|
| 3 |
+
<!-- Button labels -->
|
| 4 |
+
<string name="yes">Ja</string>
|
| 5 |
+
<string name="no">Nein</string>
|
| 6 |
+
<string name="cancel">Abbrechen</string>
|
| 7 |
+
<string name="cont">Fortfahren</string>
|
| 8 |
+
<string name="login">Login</string>
|
| 9 |
+
<string name="logout">Logout</string>
|
| 10 |
+
<!-- Home menu items -->
|
| 11 |
+
<string name="menu_exit">Beenden</string>
|
| 12 |
+
<string name="menu_about">Impressum</string>
|
| 13 |
+
<string name="menu_help">Hilfe</string>
|
| 14 |
+
<string name="menu_new_bookmark">Neue Verbindung</string>
|
| 15 |
+
<string name="menu_app_settings">Einstellungen</string>
|
| 16 |
+
<!-- Bookmark menu items -->
|
| 17 |
+
<string name="menu_title_bookmark">Verbindung</string>
|
| 18 |
+
<string name="menu_connect">Verbinden</string>
|
| 19 |
+
<string name="menu_edit">Bearbeiten</string>
|
| 20 |
+
<string name="menu_delete">Löschen</string>
|
| 21 |
+
<!-- Session menu items -->
|
| 22 |
+
<string name="menu_sys_keyboard">Tastatur</string>
|
| 23 |
+
<string name="menu_ext_keyboard">Funktionstasten</string>
|
| 24 |
+
<string name="menu_touch_pointer">Touch Pointer</string>
|
| 25 |
+
<string name="menu_home">home</string>
|
| 26 |
+
<string name="menu_disconnect">Verbindung trennen</string>
|
| 27 |
+
<!-- List section headers -->
|
| 28 |
+
<string name="section_bookmarks">Manuelle Verbindungen</string>
|
| 29 |
+
<string name="section_active_sessions">Aktive Sitzungen</string>
|
| 30 |
+
<!-- Search strings -->
|
| 31 |
+
<string name="search_hint">Mit Computer verbinden</string>
|
| 32 |
+
<!-- List placeholder labels -->
|
| 33 |
+
<string name="list_placeholder_login">Login</string>
|
| 34 |
+
<string name="list_placeholder_no_servers">Keine Server</string>
|
| 35 |
+
<string name="list_placeholder_connecting">Verbinde …</string>
|
| 36 |
+
<string name="list_placeholder_disconnecting">Trenne Verbundung …</string>
|
| 37 |
+
<string name="list_placeholder_connection_error">Verbindung unterbrochen</string>
|
| 38 |
+
<string name="list_placeholder_wrong_password">Falsches Passwort</string>
|
| 39 |
+
<string name="list_placeholder_invalid_username">Ungültiger Benutzername</string>
|
| 40 |
+
<string name="list_placeholder_add_bookmark">Verbindung hinzufügen</string>
|
| 41 |
+
<!-- Bookmark settings strings -->
|
| 42 |
+
<string name="settings_cat_host">Host</string>
|
| 43 |
+
<string name="settings_label">Label</string>
|
| 44 |
+
<string name="settings_hostname">Host</string>
|
| 45 |
+
<string name="settings_port">Port</string>
|
| 46 |
+
<string name="settings_cat_credentials">Zugangsdaten</string>
|
| 47 |
+
<string name="settings_credentials">Zugangsdaten</string>
|
| 48 |
+
<string name="settings_username">Benutzername</string>
|
| 49 |
+
<string name="settings_password">Passwort</string>
|
| 50 |
+
<string name="settings_domain">Domäne</string>
|
| 51 |
+
<string name="settings_cat_settings">Einstellungen</string>
|
| 52 |
+
<string name="settings_screen">Bildschirm</string>
|
| 53 |
+
<string name="settings_cat_screen">Bildschirm Einstellungen</string>
|
| 54 |
+
<string name="settings_colors">Farben</string>
|
| 55 |
+
<string-array name="colors_array">
|
| 56 |
+
<item>Palette (8 Bit)</item>
|
| 57 |
+
<item>High Color (15 Bit)</item>
|
| 58 |
+
<item>High Color (16 Bit)</item>
|
| 59 |
+
<item>True Color (24 Bit)</item>
|
| 60 |
+
<item>Highest Quality (32 Bit)</item>
|
| 61 |
+
</string-array>
|
| 62 |
+
<string name="settings_resolution">Auflösung</string>
|
| 63 |
+
<string name="resolution_automatic">automatisch</string>
|
| 64 |
+
<string name="resolution_fit">an Bildschirm anpassen</string>
|
| 65 |
+
<string name="resolution_custom">Benutzerdefiniert</string>
|
| 66 |
+
<string-array name="resolutions_array">
|
| 67 |
+
<item>automatisch</item>
|
| 68 |
+
<item>an Bildschirm anpassen</item>
|
| 69 |
+
<item>Benutzerdefiniert</item>
|
| 70 |
+
<item>640x480</item>
|
| 71 |
+
<item>720x480</item>
|
| 72 |
+
<item>800x600</item>
|
| 73 |
+
<item>1024x768</item>
|
| 74 |
+
<item>1280x1024</item>
|
| 75 |
+
<item>1440x900</item>
|
| 76 |
+
<item>1920x1080</item>
|
| 77 |
+
<item>1920x1200</item>
|
| 78 |
+
</string-array>
|
| 79 |
+
<string name="settings_width">Breite</string>
|
| 80 |
+
<string name="settings_height">Höhe</string>
|
| 81 |
+
<string name="settings_performance">Leistung</string>
|
| 82 |
+
<string name="settings_cat_performance">Leistungseinstellungen</string>
|
| 83 |
+
<string name="settings_perf_remotefx">RemoteFX</string>
|
| 84 |
+
<string name="settings_perf_wallpaper">Desktop Hintergrund</string>
|
| 85 |
+
<string name="settings_perf_font_smoothing">Kantenglättung</string>
|
| 86 |
+
<string name="settings_perf_desktop_composition">Desktop Composition</string>
|
| 87 |
+
<string name="settings_perf_full_window_drag">Zeige Fensterinhalt während</string>
|
| 88 |
+
<string name="settings_perf_menu_animation">Menü Animation</string>
|
| 89 |
+
<string name="settings_perf_theming">Visuelle Stile</string>
|
| 90 |
+
<string name="settings_advanced">Erweitert</string>
|
| 91 |
+
<string name="settings_cat_advanced">Erweiterte Einstellungen</string>
|
| 92 |
+
<string name="settings_enable_3g_settings">3G Einstellungen</string>
|
| 93 |
+
<string name="settings_screen_3g">3G Bildschirm</string>
|
| 94 |
+
<string name="settings_performance_3g">3G Leistung</string>
|
| 95 |
+
<string name="settings_cat_gateway">Gateway</string>
|
| 96 |
+
<string name="settings_enable_gateway_settings">Aktiviere Gateway</string>
|
| 97 |
+
<string name="settings_gateway_settings">Gateway Einstellungen</string>
|
| 98 |
+
<string name="settings_redirect_sdcard">SDCard umleiten</string>
|
| 99 |
+
<string name="settings_redirect_sound">Ton umleiten</string>
|
| 100 |
+
<string-array name="redirect_sound_array">
|
| 101 |
+
<item>Nicht abspielen</item>
|
| 102 |
+
<item>Auf Server abspielen</item>
|
| 103 |
+
<item>Auf Client abspielen</item>
|
| 104 |
+
</string-array>
|
| 105 |
+
<string name="settings_redirect_microphone">Mikrophon umleiten</string>
|
| 106 |
+
<string name="settings_security">Sicherheit</string>
|
| 107 |
+
<string-array name="security_array">
|
| 108 |
+
<item>Automatisch</item>
|
| 109 |
+
<item>RDP</item>
|
| 110 |
+
<item>TLS</item>
|
| 111 |
+
<item>NLA</item>
|
| 112 |
+
</string-array>
|
| 113 |
+
<string name="settings_remote_program">Remote Program</string>
|
| 114 |
+
<string name="settings_work_dir">Arbeitsverzeichnis</string>
|
| 115 |
+
<string name="settings_async_channel">Async channel</string>
|
| 116 |
+
<string name="settings_async_update">Async update</string>
|
| 117 |
+
<string name="settings_console_mode">Konsolenmodus</string>
|
| 118 |
+
<!-- App settings strings -->
|
| 119 |
+
<string name="settings_password_present">*******</string>
|
| 120 |
+
<string name="settings_password_empty">nicht gesetzt</string>
|
| 121 |
+
<string name="settings_cat_ui">Benutzeroberfläche</string>
|
| 122 |
+
<string name="settings_ui_hide_status_bar">verstecke Statusleiste</string>
|
| 123 |
+
<string name="settings_ui_hide_action_bar">Aktionsleiste ausblenden</string>
|
| 124 |
+
<string name="settings_ui_hide_zoom_controls">verstecke Zoom Tasten</string>
|
| 125 |
+
<string name="settings_ui_swap_mouse_buttons">Vertausche Maustasten</string>
|
| 126 |
+
<string name="settings_ui_invert_scrolling">Invertiere Bildlauf</string>
|
| 127 |
+
<string name="settings_ui_auto_scroll_touchpointer">Touch Zeiger automatischer Bildlauf</string>
|
| 128 |
+
<string name="settings_ui_ask_on_exit">Zeige Dialog beim Beenden</string>
|
| 129 |
+
<string name="settings_ui_use_back_as_altf4">Verwenden Sie die "Zurück"-Taste als Alt+F4</string>
|
| 130 |
+
<string name="settings_cat_power">Energiesparen</string>
|
| 131 |
+
<string name="settings_power_disconnect_timeout">Schließe ungenutzte Verbindungen</string>
|
| 132 |
+
<string name="settings_cat_security">Sicherheit</string>
|
| 133 |
+
<string name="settings_security_accept_certificates">Akzeptiere alle Zertifikate</string>
|
| 134 |
+
<string name="settings_security_clear_certificate_cache">Lösche Zertifikat Cache</string>
|
| 135 |
+
<string name="settings_description_after_minutes">Nach %1$d Minuten</string>
|
| 136 |
+
<string name="settings_description_disabled">Deaktiviert</string>
|
| 137 |
+
<!-- Activity titles -->
|
| 138 |
+
<string name="title_bookmark_settings">Verbindungseinstellungen</string>
|
| 139 |
+
<string name="title_application_settings">Einstellungen</string>
|
| 140 |
+
<string name="title_home">aFreeRDP - FreeRDP für Android</string>
|
| 141 |
+
<string name="title_create_shortcut">RDP Verbindungen</string>
|
| 142 |
+
<string name="title_help">Hilfe</string>
|
| 143 |
+
<string name="title_about">Impressum</string>
|
| 144 |
+
<!-- Error message strings -->
|
| 145 |
+
<string name="error_bookmark_incomplete_title">Verlassen ohne zu speichern?</string>
|
| 146 |
+
<string name="error_bookmark_incomplete"><i><b>Abbrechen</b></i> um Einstellungen zu verwerfen\n<i><b>Fortfahren</b></i> um weiter zu editieren</string>
|
| 147 |
+
<string name="error_connection_failure">Konnte keine Verbindung zum Server herstellen!</string>
|
| 148 |
+
<!-- Info message strings -->
|
| 149 |
+
<string name="info_capabilities_changed">Die Bildschirmeinstellungen mussten angepasst werden, da der Server die gewählten nicht unterstützt!</string>
|
| 150 |
+
<string name="info_reset_success">Lösche Zertifikatcache!</string>
|
| 151 |
+
<string name="info_reset_failed">Konnte Zertifikatcache nicht löschen!</string>
|
| 152 |
+
<!-- Dialog strings -->
|
| 153 |
+
<string name="dlg_title_verify_certificate">Prüfe Zertifikat</string>
|
| 154 |
+
<string name="dlg_msg_verify_certificate">Die Identität des Servers konnte nicht geprüft werden. Trotzdem verbinden?</string>
|
| 155 |
+
<string name="dlg_title_credentials">Bitte geben sie ihre Zugangsdaten ein:</string>
|
| 156 |
+
<string name="dlg_title_create_shortcut">Verknüpfung erzeugen</string>
|
| 157 |
+
<string name="dlg_msg_create_shortcut">Verknüpfungsname:</string>
|
| 158 |
+
<string name="dlg_msg_connecting">Verbinden …</string>
|
| 159 |
+
<string name="dlg_msg_logging_in">Einloggen …</string>
|
| 160 |
+
<string name="dlg_title_about">Über aFreeRDP</string>
|
| 161 |
+
<string name="dlg_title_create_bookmark_after_qc">Verbindungseinstellungen speichern?</string>
|
| 162 |
+
<string name="dlg_msg_create_bookmark_after_qc">Die Verbindungseinstellungen wurden nicht gespeichert! Jetzt speichern?</string>
|
| 163 |
+
<string name="dlg_title_save_bookmark">Verbindung speichern?</string>
|
| 164 |
+
<string name="dlg_save_bookmark">Wollen sie alle Änderungen der Verbindungseinstelleungen speichern?</string>
|
| 165 |
+
<string name="dlg_dont_show_again">Nicht noch einmal nachfragen</string>
|
| 166 |
+
<string name="dlg_title_exit">Anwendung beenden?</string>
|
| 167 |
+
<string name="dlg_msg_exit">Wollen sie die Anwendung wirklich beenden?</string>
|
| 168 |
+
<string name="dlg_title_clear_cert_cache">Lösche Zertifikate?</string>
|
| 169 |
+
<string name="dlg_msg_clear_cert_cache">Wollen sie wirklich alle gespeicherten Zertifikate löschen?</string>
|
| 170 |
+
<string name="debug_level">Debug Stufe</string>
|
| 171 |
+
<string name="settings_debug">Debug Einstellungen</string>
|
| 172 |
+
<string name="preference_title_client">Client</string>
|
| 173 |
+
<string name="preference_title_client_name">Client Name</string>
|
| 174 |
+
<string name="settings_cat_client">Client</string>
|
| 175 |
+
</resources>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/values-fr/strings.xml
ADDED
|
@@ -0,0 +1,175 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<resources>
|
| 2 |
+
<!-- Button labels -->
|
| 3 |
+
<string name="yes">"Oui"</string>
|
| 4 |
+
<string name="no">"Non"</string>
|
| 5 |
+
<string name="cancel">"Annuler"</string>
|
| 6 |
+
<string name="cont">"Continuer"</string>
|
| 7 |
+
<string name="login">"Se connecter"</string>
|
| 8 |
+
<string name="logout">"Déconnexion"</string>
|
| 9 |
+
<!-- Home menu items -->
|
| 10 |
+
<string name="menu_exit">"Quitter"</string>
|
| 11 |
+
<string name="menu_about">"À propos"</string>
|
| 12 |
+
<string name="menu_help">"Aide"</string>
|
| 13 |
+
<string name="menu_new_bookmark">"Nouvelle connexion"</string>
|
| 14 |
+
<string name="menu_app_settings">"Paramètres"</string>
|
| 15 |
+
<!-- Bookmark menu items -->
|
| 16 |
+
<string name="menu_title_bookmark">"Connexion"</string>
|
| 17 |
+
<string name="menu_connect">"Connexion"</string>
|
| 18 |
+
<string name="menu_edit">"Éditer"</string>
|
| 19 |
+
<string name="menu_delete">"Supprimer"</string>
|
| 20 |
+
<!-- Session menu items -->
|
| 21 |
+
<string name="menu_sys_keyboard">"Clavier"</string>
|
| 22 |
+
<string name="menu_ext_keyboard">"Touches de fonction"</string>
|
| 23 |
+
<string name="menu_touch_pointer">"Pointeur tactile"</string>
|
| 24 |
+
<string name="menu_home">"Accueil"</string>
|
| 25 |
+
<string name="menu_disconnect">"Se déconnecter"</string>
|
| 26 |
+
<!-- List section headers -->
|
| 27 |
+
<string name="section_bookmarks">"Connexions manuelles"</string>
|
| 28 |
+
<string name="section_active_sessions">"Sessions actives"</string>
|
| 29 |
+
<!-- Search strings -->
|
| 30 |
+
<string name="search_hint">"Connexion à l'ordinateur"</string>
|
| 31 |
+
<!-- List placeholder labels -->
|
| 32 |
+
<string name="list_placeholder_login">"Se connecter"</string>
|
| 33 |
+
<string name="list_placeholder_no_servers">"Pas de connexion"</string>
|
| 34 |
+
<string name="list_placeholder_connecting">"Connexion..."</string>
|
| 35 |
+
<string name="list_placeholder_disconnecting">"Déconnexion…"</string>
|
| 36 |
+
<string name="list_placeholder_connection_error">"Perte de la connexion"</string>
|
| 37 |
+
<string name="list_placeholder_wrong_password">"Mot de passe incorrect"</string>
|
| 38 |
+
<string name="list_placeholder_invalid_username">"Nom d'utilisateur invalide"</string>
|
| 39 |
+
<string name="list_placeholder_add_bookmark">"Ajouter une connexion"</string>
|
| 40 |
+
<!-- Bookmark settings strings -->
|
| 41 |
+
<string name="settings_cat_host">"Hôte"</string>
|
| 42 |
+
<string name="settings_label">"Étiquette"</string>
|
| 43 |
+
<string name="settings_hostname">"Hôte"</string>
|
| 44 |
+
<string name="settings_port">"Port"</string>
|
| 45 |
+
<string name="settings_cat_credentials">"Authentifiant"</string>
|
| 46 |
+
<string name="settings_credentials">"Authentifiant"</string>
|
| 47 |
+
<string name="settings_username">"Nom d'utilisateur"</string>
|
| 48 |
+
<string name="settings_password">"Mot de passe"</string>
|
| 49 |
+
<string name="settings_domain">"Nom de domaine"</string>
|
| 50 |
+
<string name="settings_cat_settings">"Paramètres"</string>
|
| 51 |
+
<string name="settings_screen">"Écran"</string>
|
| 52 |
+
<string name="settings_cat_screen">"Paramètres d'écran"</string>
|
| 53 |
+
<string name="settings_colors">"Couleurs"</string>
|
| 54 |
+
<string-array name="colors_array">
|
| 55 |
+
<item>"Palette (8 bits)"</item>
|
| 56 |
+
<item>"Hautes couleurs (15 bits)"</item>
|
| 57 |
+
<item>"Hautes couleurs (16 bits)"</item>
|
| 58 |
+
<item>"Couleurs vraies (24 bits)"</item>
|
| 59 |
+
<item>"Haute qualité (32 bits)"</item>
|
| 60 |
+
</string-array>
|
| 61 |
+
<string name="settings_resolution">"Résolution"</string>
|
| 62 |
+
<string name="resolution_automatic">"Automatique"</string>
|
| 63 |
+
<string name="resolution_fit">"Agrandir la fenêtre"</string>
|
| 64 |
+
<string name="resolution_custom">"Personalisé"</string>
|
| 65 |
+
<string-array name="resolutions_array">
|
| 66 |
+
<item>"Automatique"</item>
|
| 67 |
+
<item>"Agrandir la fenêtre"</item>
|
| 68 |
+
<item>"Personalisé"</item>
|
| 69 |
+
<item>"640x480"</item>
|
| 70 |
+
<item>"720x480"</item>
|
| 71 |
+
<item>"800x600"</item>
|
| 72 |
+
<item>"1024x768"</item>
|
| 73 |
+
<item>"1280x1024"</item>
|
| 74 |
+
<item>"1440x900"</item>
|
| 75 |
+
<item>"1920x1080"</item>
|
| 76 |
+
<item>"1920x1200"</item>
|
| 77 |
+
</string-array>
|
| 78 |
+
<!-- end protected string section -->
|
| 79 |
+
<string name="settings_width">"Largeur"</string>
|
| 80 |
+
<string name="settings_height">"Hauteur"</string>
|
| 81 |
+
<string name="settings_performance">"Performance"</string>
|
| 82 |
+
<string name="settings_cat_performance">"Paramètres de performance"</string>
|
| 83 |
+
<string name="settings_perf_remotefx">"RemoteFX"</string>
|
| 84 |
+
<string name="settings_perf_wallpaper">"Fond d'écran"</string>
|
| 85 |
+
<string name="settings_perf_font_smoothing">"Lissage des polices"</string>
|
| 86 |
+
<string name="settings_perf_desktop_composition">"Effets visuels Aero"</string>
|
| 87 |
+
<string name="settings_perf_full_window_drag">"Afficher le contenu des fenêtres en mouvement"</string>
|
| 88 |
+
<string name="settings_perf_menu_animation">"Animations de menu"</string>
|
| 89 |
+
<string name="settings_perf_theming">"Styles visuels"</string>
|
| 90 |
+
<string name="settings_advanced">"Avancé"</string>
|
| 91 |
+
<string name="settings_cat_advanced">"Paramètres avancés"</string>
|
| 92 |
+
<string name="settings_enable_3g_settings">"Paramètres 3G"</string>
|
| 93 |
+
<string name="settings_screen_3g">"Écran 3G"</string>
|
| 94 |
+
<string name="settings_performance_3g">"Performance 3G"</string>
|
| 95 |
+
<string name="settings_cat_gateway">Gateway</string>
|
| 96 |
+
<string name="settings_enable_gateway_settings">Enable Gateway</string>
|
| 97 |
+
<string name="settings_gateway_settings">Gateway Settings</string>
|
| 98 |
+
<string name="settings_redirect_sdcard">"Redirect SDCard"</string>
|
| 99 |
+
<string name="settings_redirect_sound">Redirect Sound</string>
|
| 100 |
+
<string-array name="redirect_sound_array">
|
| 101 |
+
<item>Do not play</item>
|
| 102 |
+
<item>Play on Server</item>
|
| 103 |
+
<item>Play on Device</item>
|
| 104 |
+
</string-array>
|
| 105 |
+
<string name="settings_redirect_microphone">Redirect Microphone</string>
|
| 106 |
+
<string name="settings_security">"Securité"</string>
|
| 107 |
+
<string-array name="security_array">
|
| 108 |
+
<item>"Automatique"</item>
|
| 109 |
+
<item>"RDP"</item>
|
| 110 |
+
<item>"TLS"</item>
|
| 111 |
+
<item>"NLA"</item>
|
| 112 |
+
</string-array>
|
| 113 |
+
<string name="settings_remote_program">"Lancement de programme"</string>
|
| 114 |
+
<string name="settings_work_dir">"Répertoire de travail"</string>
|
| 115 |
+
<string name="settings_async_channel">Async channel</string>
|
| 116 |
+
<string name="settings_async_update">Async update</string>
|
| 117 |
+
<string name="settings_console_mode">"Mode console"</string>
|
| 118 |
+
<!-- App settings strings -->
|
| 119 |
+
<string name="settings_password_present">"*******"</string>
|
| 120 |
+
<string name="settings_password_empty">"Valeur non définie"</string>
|
| 121 |
+
<string name="settings_cat_ui">"Interface utilisateur"</string>
|
| 122 |
+
<string name="settings_ui_hide_status_bar">"Masquer la barre d'état"</string>
|
| 123 |
+
<string name="settings_ui_hide_action_bar">\"Masquer la barre d\'action\"</string>
|
| 124 |
+
<string name="settings_ui_hide_zoom_controls">"Masquer les contrôles zoom"</string>
|
| 125 |
+
<string name="settings_ui_swap_mouse_buttons">"Inverser les boutons de la souris"</string>
|
| 126 |
+
<string name="settings_ui_invert_scrolling">"Inverser le défilement de la souris"</string>
|
| 127 |
+
<string name="settings_ui_auto_scroll_touchpointer">"Défilement automatique du pointeur tactile"</string>
|
| 128 |
+
<string name="settings_ui_ask_on_exit">"Confirmer au moment de quitter"</string>
|
| 129 |
+
<string name="settings_ui_use_back_as_altf4">Utiliser le bouton "retour" comme Alt+F4</string>
|
| 130 |
+
<string name="settings_cat_power">"Economie d'énergie"</string>
|
| 131 |
+
<string name="settings_power_disconnect_timeout">"Fermer les connexions inactives"</string>
|
| 132 |
+
<string name="settings_cat_security">"Securité"</string>
|
| 133 |
+
<string name="settings_security_accept_certificates">"Accepter tous les certificats"</string>
|
| 134 |
+
<string name="settings_security_clear_certificate_cache">"Vider la cache de certificats"</string>
|
| 135 |
+
<string name="settings_description_after_minutes">"Après %1$d minutes"</string>
|
| 136 |
+
<string name="settings_description_disabled">"Désactivé"</string>
|
| 137 |
+
<!-- Activity titles -->
|
| 138 |
+
<string name="title_bookmark_settings">"Paramètres de connexion"</string>
|
| 139 |
+
<string name="title_application_settings">"Paramètres"</string>
|
| 140 |
+
<string name="title_home">"aFreeRDP - FreeRDP pour Android"</string>
|
| 141 |
+
<string name="title_create_shortcut">"Connexions RDP"</string>
|
| 142 |
+
<string name="title_help">"Aide"</string>
|
| 143 |
+
<string name="title_about">"À propos"</string>
|
| 144 |
+
<!-- Error message strings -->
|
| 145 |
+
<string name="error_bookmark_incomplete_title">"Annuler sans enregistrer?"</string>
|
| 146 |
+
<string name="error_bookmark_incomplete">"Appuyez sur \"Annuler\" pour annuler, ou cliquez sur «Continuer» pour spécifier les champs obligatoires."</string>
|
| 147 |
+
<string name="error_connection_failure">"Impossible d'établir une connexion au serveur!"</string>
|
| 148 |
+
<!-- Info message strings -->
|
| 149 |
+
<string name="info_capabilities_changed">"Les paramètres de l'écran ont changé parce que le serveur ne prend pas en charge les paramètres que vous avez spécifiés!"</string>
|
| 150 |
+
<string name="info_reset_success">"La cache de certificats a été supprimée!"</string>
|
| 151 |
+
<string name="info_reset_failed">"Impossible de supprimer la cache de certificat!"</string>
|
| 152 |
+
<!-- Dialog strings -->
|
| 153 |
+
<string name="dlg_title_verify_certificate">"Validation de certificat"</string>
|
| 154 |
+
<string name="dlg_msg_verify_certificate">"L'identité de l'ordinateur distant ne peut pas être vérifiée. Voulez-vous poursuivre la connexion?"</string>
|
| 155 |
+
<string name="dlg_title_credentials">"Veuillez entrer votre nom d'usager et mot de passe"</string>
|
| 156 |
+
<string name="dlg_title_create_shortcut">"Créer un raccourci"</string>
|
| 157 |
+
<string name="dlg_msg_create_shortcut">"Nom du raccourci:"</string>
|
| 158 |
+
<string name="dlg_msg_connecting">"Connexion..."</string>
|
| 159 |
+
<string name="dlg_msg_logging_in">"Connexion..."</string>
|
| 160 |
+
<string name="dlg_title_about">"À propos de aFreeRDP"</string>
|
| 161 |
+
<string name="dlg_title_create_bookmark_after_qc">"Enregistrer les paramètres de connexion?"</string>
|
| 162 |
+
<string name="dlg_msg_create_bookmark_after_qc">"Vos paramètres de connexion n'ont pas été sauvegardés! Voulez-vous les enregistrer?"</string>
|
| 163 |
+
<string name="dlg_title_save_bookmark">"Enregistrer la connexion?"</string>
|
| 164 |
+
<string name="dlg_save_bookmark">"Voulez-vous enregistrer les modifications que vous avez apportées aux paramètres de connexion?"</string>
|
| 165 |
+
<string name="dlg_dont_show_again">"Ne plus demander"</string>
|
| 166 |
+
<string name="dlg_title_exit">"Quittez l'application?"</string>
|
| 167 |
+
<string name="dlg_msg_exit">"Êtes-vous sûr de vouloir quitter l'application?"</string>
|
| 168 |
+
<string name="dlg_title_clear_cert_cache">"Êtes-vous sûrs de vouloir supprimer les certificats?"</string>
|
| 169 |
+
<string name="dlg_msg_clear_cert_cache">"Êtes-vous sûr de vouloir supprimer tous les certificats mis en cache?"</string>
|
| 170 |
+
<string name="debug_level">Debug Level</string>
|
| 171 |
+
<string name="settings_debug">Debug Settings</string>
|
| 172 |
+
<string name="preference_title_client">Client</string>
|
| 173 |
+
<string name="settings_cat_client">Client</string>
|
| 174 |
+
<string name="preference_title_client_name">Identifiant</string>
|
| 175 |
+
</resources>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/values-ja/strings.xml
ADDED
|
@@ -0,0 +1,177 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
| 2 |
+
<resources>
|
| 3 |
+
<!-- Button labels -->
|
| 4 |
+
<string name="yes">はい</string>
|
| 5 |
+
<string name="no">いいえ</string>
|
| 6 |
+
<string name="cancel">キャンセル</string>
|
| 7 |
+
<string name="cont">続行</string>
|
| 8 |
+
<string name="login">ログイン</string>
|
| 9 |
+
<string name="logout">ログアウト</string>
|
| 10 |
+
<!-- Home menu items -->
|
| 11 |
+
<string name="menu_exit">終了</string>
|
| 12 |
+
<string name="menu_about">aFreeRDPについて</string>
|
| 13 |
+
<string name="menu_help">ヘルプ</string>
|
| 14 |
+
<string name="menu_new_bookmark">新しい接続</string>
|
| 15 |
+
<string name="menu_app_settings">設定</string>
|
| 16 |
+
<!-- Bookmark menu items -->
|
| 17 |
+
<string name="menu_title_bookmark">接続</string>
|
| 18 |
+
<string name="menu_connect">接続する</string>
|
| 19 |
+
<string name="menu_edit">編集</string>
|
| 20 |
+
<string name="menu_delete">削除</string>
|
| 21 |
+
<!-- Session menu items -->
|
| 22 |
+
<string name="menu_sys_keyboard">キーボード</string>
|
| 23 |
+
<string name="menu_ext_keyboard">ファンクションキー</string>
|
| 24 |
+
<string name="menu_touch_pointer">ポインター</string>
|
| 25 |
+
<string name="menu_home">ホーム</string>
|
| 26 |
+
<string name="menu_disconnect">切断</string>
|
| 27 |
+
<!-- List section headers -->
|
| 28 |
+
<string name="section_bookmarks">手動で接続</string>
|
| 29 |
+
<string name="section_active_sessions">アクティブなセッション</string>
|
| 30 |
+
<!-- Search strings -->
|
| 31 |
+
<string name="search_hint">コンピュータに接続する</string>
|
| 32 |
+
<!-- List placeholder labels -->
|
| 33 |
+
<string name="list_placeholder_login">ログイン</string>
|
| 34 |
+
<string name="list_placeholder_no_servers">サーバーがありません</string>
|
| 35 |
+
<string name="list_placeholder_connecting">接続中 …</string>
|
| 36 |
+
<string name="list_placeholder_disconnecting">切断中 …</string>
|
| 37 |
+
<string name="list_placeholder_connection_error">接続できませんでした</string>
|
| 38 |
+
<string name="list_placeholder_wrong_password">パスワードが違います</string>
|
| 39 |
+
<string name="list_placeholder_invalid_username">無効なユーザー名です</string>
|
| 40 |
+
<string name="list_placeholder_add_bookmark">接続を追加</string>
|
| 41 |
+
<!-- Bookmark settings strings -->
|
| 42 |
+
<string name="settings_cat_host">ホスト</string>
|
| 43 |
+
<string name="settings_label">ラベル</string>
|
| 44 |
+
<string name="settings_hostname">ホスト</string>
|
| 45 |
+
<string name="settings_port">ポート</string>
|
| 46 |
+
<string name="settings_cat_credentials">認証情報</string>
|
| 47 |
+
<string name="settings_credentials">認証情報</string>
|
| 48 |
+
<string name="settings_username">ユーザー名</string>
|
| 49 |
+
<string name="settings_password">パスワード</string>
|
| 50 |
+
<string name="settings_domain">ドメイン</string>
|
| 51 |
+
<string name="settings_cat_settings">設定</string>
|
| 52 |
+
<string name="settings_screen">画面</string>
|
| 53 |
+
<string name="settings_cat_screen">画面設定</string>
|
| 54 |
+
<string name="settings_colors">色</string>
|
| 55 |
+
<string-array name="colors_array">
|
| 56 |
+
<item>Palette (8 Bit)</item>
|
| 57 |
+
<item>High Color (15 Bit)</item>
|
| 58 |
+
<item>High Color (16 Bit)</item>
|
| 59 |
+
<item>True Color (24 Bit)</item>
|
| 60 |
+
<item>Highest Quality (32 Bit)</item>
|
| 61 |
+
</string-array>
|
| 62 |
+
<string name="settings_resolution">解像度</string>
|
| 63 |
+
<string name="resolution_automatic">自動</string>
|
| 64 |
+
<string name="resolution_fit">画面に合わせる</string>
|
| 65 |
+
<string name="resolution_custom">カスタム</string>
|
| 66 |
+
<string-array name="resolutions_array">
|
| 67 |
+
<item>自動</item>
|
| 68 |
+
<item>画面に合わせる</item>
|
| 69 |
+
<item>カスタム</item>
|
| 70 |
+
<item>640x480</item>
|
| 71 |
+
<item>720x480</item>
|
| 72 |
+
<item>800x600</item>
|
| 73 |
+
<item>1024x768</item>
|
| 74 |
+
<item>1280x1024</item>
|
| 75 |
+
<item>1440x900</item>
|
| 76 |
+
<item>1920x1080</item>
|
| 77 |
+
<item>1920x1200</item>
|
| 78 |
+
</string-array>
|
| 79 |
+
<string name="settings_width">幅</string>
|
| 80 |
+
<string name="settings_height">高さ</string>
|
| 81 |
+
<string name="settings_performance">パフォーマンス</string>
|
| 82 |
+
<string name="settings_cat_performance">パフォーマンスの設定</string>
|
| 83 |
+
<string name="settings_perf_remotefx">RemoteFX</string>
|
| 84 |
+
<string name="settings_perf_wallpaper">デスクトップの背景</string>
|
| 85 |
+
<string name="settings_perf_font_smoothing">フォントを滑らかにする</string>
|
| 86 |
+
<string name="settings_perf_desktop_composition">デスクトップの構成</string>
|
| 87 |
+
<string name="settings_perf_full_window_drag">ドラッグ中のウィンドウ</string>
|
| 88 |
+
<string name="settings_perf_menu_animation">メニューのアニメーション</string>
|
| 89 |
+
<string name="settings_perf_theming">視覚設定</string>
|
| 90 |
+
<string name="settings_advanced">高度な設定</string>
|
| 91 |
+
<string name="settings_cat_advanced">高度な設定</string>
|
| 92 |
+
<string name="settings_enable_3g_settings">3G 設定</string>
|
| 93 |
+
<string name="settings_screen_3g">3G 画面</string>
|
| 94 |
+
<string name="settings_performance_3g">3G パフォ��マンス</string>
|
| 95 |
+
<string name="settings_cat_gateway">ゲートウェイ</string>
|
| 96 |
+
<string name="settings_enable_gateway_settings">ゲートウェイを有効にする</string>
|
| 97 |
+
<string name="settings_gateway_settings">ゲートウェイの設定</string>
|
| 98 |
+
<string name="settings_redirect_sdcard">Redirect SDCard</string>
|
| 99 |
+
<string name="settings_redirect_sound">音声のリダイレクト</string>
|
| 100 |
+
<string-array name="redirect_sound_array">
|
| 101 |
+
<item>再生しない</item>
|
| 102 |
+
<item>サーバー側で再生する</item>
|
| 103 |
+
<item>デバイス側で再生する</item>
|
| 104 |
+
</string-array>
|
| 105 |
+
<string name="settings_redirect_microphone">マイクのリダイレクト</string>
|
| 106 |
+
<string name="settings_security">セキュリティ</string>
|
| 107 |
+
<string-array name="security_array">
|
| 108 |
+
<item>自動</item>
|
| 109 |
+
<item>RDP</item>
|
| 110 |
+
<item>TLS</item>
|
| 111 |
+
<item>NLA</item>
|
| 112 |
+
</string-array>
|
| 113 |
+
<!-- This array is used as is in code,
|
| 114 |
+
do not translate! -->
|
| 115 |
+
<string name="settings_remote_program">遠隔実行するプログラム</string>
|
| 116 |
+
<string name="settings_work_dir">作業フォルダ</string>
|
| 117 |
+
<string name="settings_async_channel">Async channel</string>
|
| 118 |
+
<string name="settings_async_update">Async update</string>
|
| 119 |
+
<string name="settings_console_mode">コンソールモード</string>
|
| 120 |
+
<!-- App settings strings -->
|
| 121 |
+
<string name="settings_password_present">*******</string>
|
| 122 |
+
<string name="settings_password_empty">入力されていません</string>
|
| 123 |
+
<string name="settings_cat_ui">ユーザーインターフェース</string>
|
| 124 |
+
<string name="settings_ui_hide_status_bar">ステータスバーを隠す</string>
|
| 125 |
+
<string name="settings_ui_hide_action_bar">アクションバーを隠す</string>
|
| 126 |
+
<string name="settings_ui_hide_zoom_controls">ズームコントローラーを隠す</string>
|
| 127 |
+
<string name="settings_ui_swap_mouse_buttons">マウスのボタンを交換する</string>
|
| 128 |
+
<string name="settings_ui_invert_scrolling">Invert Scrolling</string>
|
| 129 |
+
<string name="settings_ui_auto_scroll_touchpointer">Touch Pointer Auto Scroll</string>
|
| 130 |
+
<string name="settings_ui_ask_on_exit">Show Dialog on Exit</string>
|
| 131 |
+
<string name="settings_ui_use_back_as_altf4">「戻る」ボタンを Alt+F4 として使用する</string>
|
| 132 |
+
<string name="settings_cat_power">Power Saving</string>
|
| 133 |
+
<string name="settings_cat_client">Client</string>
|
| 134 |
+
<string name="settings_power_disconnect_timeout">Close idle Connections</string>
|
| 135 |
+
<string name="settings_cat_security">Security</string>
|
| 136 |
+
<string name="settings_security_accept_certificates">Accept all Certificates</string>
|
| 137 |
+
<string name="settings_security_clear_certificate_cache">Clear Certificate Cache</string>
|
| 138 |
+
<string name="settings_description_after_minutes">After %1$d Minutes</string>
|
| 139 |
+
<string name="settings_description_disabled">Disabled</string>
|
| 140 |
+
<!-- Activity titles -->
|
| 141 |
+
<string name="title_bookmark_settings">接続設定</string>
|
| 142 |
+
<string name="title_application_settings">設定</string>
|
| 143 |
+
<string name="title_home">aFreeRDP - FreeRDP for Android</string>
|
| 144 |
+
<string name="title_create_shortcut">RDP Connections</string>
|
| 145 |
+
<string name="title_help">ヘルプ</string>
|
| 146 |
+
<string name="title_about">aFreeRDPについて</string>
|
| 147 |
+
<!-- Error message strings -->
|
| 148 |
+
<string name="error_bookmark_incomplete_title">保存せずに戻りますか?</string>
|
| 149 |
+
<string name="error_bookmark_incomplete">保存せずに終了する場合は「キャンセル」を押してください。\n続行する場合は「続行」を押して、必要な項目を入力してください。</string>
|
| 150 |
+
<string name="error_connection_failure">サーバーとの接続を確立できませんでした。</string>
|
| 151 |
+
<!-- Info message strings -->
|
| 152 |
+
<string name="info_capabilities_changed">あなたの指定した画面設定はサーバーが対応していないため変更されました。</string>
|
| 153 |
+
<string name="info_reset_success">認証情報のキャッシュを削除しました。</string>
|
| 154 |
+
<string name="info_reset_failed">認証情報のキャッシュを削除できませんでした。</string>
|
| 155 |
+
<!-- Dialog strings -->
|
| 156 |
+
<string name="dlg_title_verify_certificate">認証情報の検証</string>
|
| 157 |
+
<string name="dlg_msg_verify_certificate">リモートコンピューターの認証情報が検証できません。接続しますか?</string>
|
| 158 |
+
<string name="dlg_title_credentials">認証情報を入力してください。</string>
|
| 159 |
+
<string name="dlg_title_create_shortcut">ショートカットを作成</string>
|
| 160 |
+
<string name="dlg_msg_create_shortcut">ショートカットの名前:</string>
|
| 161 |
+
<string name="dlg_msg_connecting">接続中 …</string>
|
| 162 |
+
<string name="dlg_msg_logging_in">ログイン中 …</string>
|
| 163 |
+
<string name="dlg_title_about">aFreeRDPについて</string>
|
| 164 |
+
<string name="dlg_title_create_bookmark_after_qc">接続設定を保存しますか?</string>
|
| 165 |
+
<string name="dlg_msg_create_bookmark_after_qc">接続設定は保存されていません。保存しますか?</string>
|
| 166 |
+
<string name="dlg_title_save_bookmark">接続設定を保存しますか?</string>
|
| 167 |
+
<string name="dlg_save_bookmark">接続設定の変更を保存しますか?</string>
|
| 168 |
+
<string name="dlg_dont_show_again">次回から表示しない</string>
|
| 169 |
+
<string name="dlg_title_exit">アプリを終了しますか?</string>
|
| 170 |
+
<string name="dlg_msg_exit">本当にアプリを終了しますか?</string>
|
| 171 |
+
<string name="dlg_title_clear_cert_cache">認証情報を削除しますか?</string>
|
| 172 |
+
<string name="dlg_msg_clear_cert_cache">本当にすべてのキャッシュされた認証情報を削除しますか?</string>
|
| 173 |
+
<string name="debug_level">デバッグレベル</string>
|
| 174 |
+
<string name="settings_debug">デバッグの設定</string>
|
| 175 |
+
<string name="preference_title_client">クライアント</string>
|
| 176 |
+
<string name="preference_title_client_name">クライアントの名前</string>
|
| 177 |
+
</resources>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/values-nb-rNO/strings.xml
ADDED
|
@@ -0,0 +1,175 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
| 2 |
+
<resources>
|
| 3 |
+
<!-- Button labels -->
|
| 4 |
+
<string name="yes">Ja</string>
|
| 5 |
+
<string name="no">Nei</string>
|
| 6 |
+
<string name="cancel">Avbryt</string>
|
| 7 |
+
<string name="cont">Fortsett</string>
|
| 8 |
+
<string name="login">Logg inn</string>
|
| 9 |
+
<string name="logout">Logg ut</string>
|
| 10 |
+
<!-- Home menu items -->
|
| 11 |
+
<string name="menu_exit">Avslutt</string>
|
| 12 |
+
<string name="menu_about">Om</string>
|
| 13 |
+
<string name="menu_help">Hjelp</string>
|
| 14 |
+
<string name="menu_new_bookmark">Ny tilkobling</string>
|
| 15 |
+
<string name="menu_app_settings">Innstilling</string>
|
| 16 |
+
<!-- Bookmark menu items -->
|
| 17 |
+
<string name="menu_title_bookmark">Tilkobling</string>
|
| 18 |
+
<string name="menu_connect">Koble til</string>
|
| 19 |
+
<string name="menu_edit">Rediger</string>
|
| 20 |
+
<string name="menu_delete">Slett</string>
|
| 21 |
+
<!-- Session menu items -->
|
| 22 |
+
<string name="menu_sys_keyboard">Tastatur</string>
|
| 23 |
+
<string name="menu_ext_keyboard">Funksjonstaster</string>
|
| 24 |
+
<string name="menu_touch_pointer">Trykkpeker</string>
|
| 25 |
+
<string name="menu_home">hjem</string>
|
| 26 |
+
<string name="menu_disconnect">Koble fra</string>
|
| 27 |
+
<!-- List section headers -->
|
| 28 |
+
<string name="section_bookmarks">Manuelle tilkoblinger</string>
|
| 29 |
+
<string name="section_active_sessions">Pågående økter</string>
|
| 30 |
+
<!-- Search strings -->
|
| 31 |
+
<string name="search_hint">Koble til datamaskin</string>
|
| 32 |
+
<!-- List placeholder labels -->
|
| 33 |
+
<string name="list_placeholder_login">Logg inn</string>
|
| 34 |
+
<string name="list_placeholder_no_servers">No Servers</string>
|
| 35 |
+
<string name="list_placeholder_connecting">Kobler til …</string>
|
| 36 |
+
<string name="list_placeholder_disconnecting">Kobler fra …</string>
|
| 37 |
+
<string name="list_placeholder_connection_error">Mistet tilknytning</string>
|
| 38 |
+
<string name="list_placeholder_wrong_password">Feil passord</string>
|
| 39 |
+
<string name="list_placeholder_invalid_username">Ugyldig brukernavn</string>
|
| 40 |
+
<string name="list_placeholder_add_bookmark">Ny tilkobling</string>
|
| 41 |
+
<!-- Bookmark settings strings -->
|
| 42 |
+
<string name="settings_cat_host">Vert</string>
|
| 43 |
+
<string name="settings_label">Etikett</string>
|
| 44 |
+
<string name="settings_hostname">Vertsnavn</string>
|
| 45 |
+
<string name="settings_port">Port</string>
|
| 46 |
+
<string name="settings_cat_credentials">Identitetsdetaljer</string>
|
| 47 |
+
<string name="settings_credentials">Identitetsdetaljer</string>
|
| 48 |
+
<string name="settings_username">Brukernavn</string>
|
| 49 |
+
<string name="settings_password">Passord</string>
|
| 50 |
+
<string name="settings_domain">Domene</string>
|
| 51 |
+
<string name="settings_cat_settings">Innstillinger</string>
|
| 52 |
+
<string name="settings_screen">Skjerm</string>
|
| 53 |
+
<string name="settings_cat_screen">Skjeminnstillinger</string>
|
| 54 |
+
<string name="settings_colors">Farger</string>
|
| 55 |
+
<string-array name="colors_array">
|
| 56 |
+
<item>Palett (8-biters)</item>
|
| 57 |
+
<item>Høy farge (15-biters)</item>
|
| 58 |
+
<item>Høy farge (16-biters)</item>
|
| 59 |
+
<item>Sann farge (24-biters)</item>
|
| 60 |
+
<item>Høyeste kvalitet (32-biters)</item>
|
| 61 |
+
</string-array>
|
| 62 |
+
<string name="settings_resolution">Oppløsning</string>
|
| 63 |
+
<string name="resolution_automatic">Automatisk</string>
|
| 64 |
+
<string name="resolution_fit">Tilpass til skjerm</string>
|
| 65 |
+
<string name="resolution_custom">Tilpasset</string>
|
| 66 |
+
<string-array name="resolutions_array">
|
| 67 |
+
<item>Automatic</item>
|
| 68 |
+
<item>Tilpass til skjerm</item>
|
| 69 |
+
<item>Egendefinert</item>
|
| 70 |
+
<item>640x480</item>
|
| 71 |
+
<item>720x480</item>
|
| 72 |
+
<item>800x600</item>
|
| 73 |
+
<item>1024x768</item>
|
| 74 |
+
<item>1280x1024</item>
|
| 75 |
+
<item>1440x900</item>
|
| 76 |
+
<item>1920x1080</item>
|
| 77 |
+
<item>1920x1200</item>
|
| 78 |
+
</string-array>
|
| 79 |
+
<string name="settings_width">Bredde</string>
|
| 80 |
+
<string name="settings_height">Høyde</string>
|
| 81 |
+
<string name="settings_performance">Ytelse</string>
|
| 82 |
+
<string name="settings_cat_performance">Ytelsesinnstillinger</string>
|
| 83 |
+
<string name="settings_perf_remotefx">RemoteFX</string>
|
| 84 |
+
<string name="settings_perf_wallpaper">Skrivebordsbakgrunn</string>
|
| 85 |
+
<string name="settings_perf_font_smoothing">Skriftglatting</string>
|
| 86 |
+
<string name="settings_perf_desktop_composition">Skrivebordskomposisjon</string>
|
| 87 |
+
<string name="settings_perf_full_window_drag">Vindusinnhold under dragning</string>
|
| 88 |
+
<string name="settings_perf_menu_animation">Menyanimasjon</string>
|
| 89 |
+
<string name="settings_perf_theming">Visuelle stiler</string>
|
| 90 |
+
<string name="settings_advanced">Advansert</string>
|
| 91 |
+
<string name="settings_cat_advanced">Avanserte innstillinger</string>
|
| 92 |
+
<string name="settings_enable_3g_settings">3G-innstillinger</string>
|
| 93 |
+
<string name="settings_screen_3g">3G-skjerm</string>
|
| 94 |
+
<string name="settings_performance_3g">3G-ytelse</string>
|
| 95 |
+
<string name="settings_cat_gateway">Portner</string>
|
| 96 |
+
<string name="settings_enable_gateway_settings">Skru på portner</string>
|
| 97 |
+
<string name="settings_gateway_settings">Portner-innstilinger</string>
|
| 98 |
+
<string name="settings_redirect_sdcard">Videresend SD-kort</string>
|
| 99 |
+
<string name="settings_redirect_sound">Videresend lyd</string>
|
| 100 |
+
<string-array name="redirect_sound_array">
|
| 101 |
+
<item>Ikke spill</item>
|
| 102 |
+
<item>Spill på tjener</item>
|
| 103 |
+
<item>Spill på enhet</item>
|
| 104 |
+
</string-array>
|
| 105 |
+
<string name="settings_redirect_microphone">Videresend mikrofon</string>
|
| 106 |
+
<string name="settings_security">Sikkerhet</string>
|
| 107 |
+
<string-array name="security_array">
|
| 108 |
+
<item>Automatisk</item>
|
| 109 |
+
<item>RDP</item>
|
| 110 |
+
<item>TLS</item>
|
| 111 |
+
<item>NLA</item>
|
| 112 |
+
</string-array>
|
| 113 |
+
<string name="settings_remote_program">Fjernprogram</string>
|
| 114 |
+
<string name="settings_work_dir">Arbeidsmappe</string>
|
| 115 |
+
<string name="settings_async_channel">Asynk-kanal</string>
|
| 116 |
+
<string name="settings_async_update">Asynk-oppdatering</string>
|
| 117 |
+
<string name="settings_console_mode">Konsollmodus</string>
|
| 118 |
+
<!-- App settings strings -->
|
| 119 |
+
<string name="settings_password_present">*******</string>
|
| 120 |
+
<string name="settings_password_empty">ikke satt</string>
|
| 121 |
+
<string name="settings_cat_ui">Brukergrensesnitt</string>
|
| 122 |
+
<string name="settings_ui_hide_status_bar">Skjul statusfelt</string>
|
| 123 |
+
<string name="settings_ui_hide_action_bar">Skjul handlingsfelt</string>
|
| 124 |
+
<string name="settings_ui_hide_zoom_controls">Skjul forstørrelseskontroller</string>
|
| 125 |
+
<string name="settings_ui_swap_mouse_buttons">Bytt museknapper</string>
|
| 126 |
+
<string name="settings_ui_invert_scrolling">Inverter rulling</string>
|
| 127 |
+
<string name="settings_ui_auto_scroll_touchpointer">Autorulling for trykkpeker</string>
|
| 128 |
+
<string name="settings_ui_ask_on_exit">Vis dialogvindu ved avslutning</string>
|
| 129 |
+
<string name="settings_ui_use_back_as_altf4">Bruk "tilbake"-knappen som Alt+F4</string>
|
| 130 |
+
<string name="settings_cat_power">Strømsparing</string>
|
| 131 |
+
<string name="settings_cat_client">Klient</string>
|
| 132 |
+
<string name="settings_power_disconnect_timeout">Lukk tilkoblinger ved lediggang</string>
|
| 133 |
+
<string name="settings_cat_security">Sikkerhet</string>
|
| 134 |
+
<string name="settings_security_accept_certificates">Godta alle sertifikater</string>
|
| 135 |
+
<string name="settings_security_clear_certificate_cache">Tøm sertifikatshurtiglager</string>
|
| 136 |
+
<string name="settings_description_after_minutes">Etter %1$d minutt</string>
|
| 137 |
+
<string name="settings_description_disabled">Avskrudd</string>
|
| 138 |
+
<!-- Activity titles -->
|
| 139 |
+
<string name="title_bookmark_settings">Tilkoblingsinnstillinger</string>
|
| 140 |
+
<string name="title_application_settings">Innstillinger</string>
|
| 141 |
+
<string name="title_home">aFreeRDP - FreeRDP for Android</string>
|
| 142 |
+
<string name="title_create_shortcut">RDP-tilkoblinger</string>
|
| 143 |
+
<string name="title_help">Hjelp</string>
|
| 144 |
+
<string name="title_about">Om</string>
|
| 145 |
+
<!-- Error message strings -->
|
| 146 |
+
<string name="error_bookmark_incomplete_title">Avbryt uten å lagre?</string>
|
| 147 |
+
<string name="error_bookmark_incomplete">Trykk "Avbryt" for å annullere!\nTrykk "Fortsett" for å angi påkrevde felter!</string>
|
| 148 |
+
<string name="error_connection_failure">Klarte ikke å etablere tilknytning til tjeneren!</string>
|
| 149 |
+
<!-- Info message strings -->
|
| 150 |
+
<string name="info_capabilities_changed">Skjerminnstillingene har blitt endret til noe tjeneren støtter istedenfor.</string>
|
| 151 |
+
<string name="info_reset_success">Slettet sertifikatshurtiglageret.</string>
|
| 152 |
+
<string name="info_reset_failed">Klarte ikke å slette sertifikatshurtigageret!</string>
|
| 153 |
+
<!-- Dialog strings -->
|
| 154 |
+
<string name="dlg_title_verify_certificate">Bekreft sertifikat</string>
|
| 155 |
+
<string name="dlg_msg_verify_certificate">Identiteten til datamaskinen annensteds hen kan ikke bekreftes. Ønsker du å koble til likevel?</string>
|
| 156 |
+
<string name="dlg_title_credentials">Skriv inn dine identitetsdetaljer</string>
|
| 157 |
+
<string name="dlg_title_create_shortcut">Opprett snarvei</string>
|
| 158 |
+
<string name="dlg_msg_create_shortcut">Snarveisnavn:</string>
|
| 159 |
+
<string name="dlg_msg_connecting">Kobler til …</string>
|
| 160 |
+
<string name="dlg_msg_logging_in">Logger inn …</string>
|
| 161 |
+
<string name="dlg_title_about">Om aFreeRDP</string>
|
| 162 |
+
<string name="dlg_title_create_bookmark_after_qc">Lagre tilkoblingsinnstillinger?</string>
|
| 163 |
+
<string name="dlg_msg_create_bookmark_after_qc">Ønsker du å lagre de ulagrede tilkoblingsinnstillingene?</string>
|
| 164 |
+
<string name="dlg_title_save_bookmark">Lagre tilkobling?</string>
|
| 165 |
+
<string name="dlg_save_bookmark">Ønsker du å lagre endringer gjort i tilkoblingsinnstillingene?</string>
|
| 166 |
+
<string name="dlg_dont_show_again">Ikke spør igjen</string>
|
| 167 |
+
<string name="dlg_title_exit">Avslutt program?</string>
|
| 168 |
+
<string name="dlg_msg_exit">Er du sikker på at du vil avslutte programmet?</string>
|
| 169 |
+
<string name="dlg_title_clear_cert_cache">Slett sertifikater?</string>
|
| 170 |
+
<string name="dlg_msg_clear_cert_cache">Er du sikker på at du vil slette alle sertifikater i hurtiglager?</string>
|
| 171 |
+
<string name="debug_level">Feilsøkingsnivå</string>
|
| 172 |
+
<string name="settings_debug">Avlusingsinnstillinger</string>
|
| 173 |
+
<string name="preference_title_client">Klient</string>
|
| 174 |
+
<string name="preference_title_client_name">Klientnavn</string>
|
| 175 |
+
</resources>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/values-w820dp/dimens.xml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<resources>
|
| 2 |
+
<!-- Example customization of dimensions originally defined in res/values/dimens.xml
|
| 3 |
+
(such as screen margins) for screens with more than 820dp of available width. This
|
| 4 |
+
would include 7" and 10" devices in landscape (~960dp and ~1280dp respectively). -->
|
| 5 |
+
<dimen name="activity_horizontal_margin">64dp</dimen>
|
| 6 |
+
</resources>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/values-zh-rTW/strings.xml
ADDED
|
@@ -0,0 +1,175 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
| 2 |
+
<resources>
|
| 3 |
+
<!-- Button labels -->
|
| 4 |
+
<string name="yes">是</string>
|
| 5 |
+
<string name="no">否</string>
|
| 6 |
+
<string name="cancel">取消</string>
|
| 7 |
+
<string name="cont">繼續</string>
|
| 8 |
+
<string name="login">登入</string>
|
| 9 |
+
<string name="logout">登出</string>
|
| 10 |
+
<!-- Home menu items -->
|
| 11 |
+
<string name="menu_exit">結束</string>
|
| 12 |
+
<string name="menu_about">關於</string>
|
| 13 |
+
<string name="menu_help">說明</string>
|
| 14 |
+
<string name="menu_new_bookmark">新連線</string>
|
| 15 |
+
<string name="menu_app_settings">設定</string>
|
| 16 |
+
<!-- Bookmark menu items -->
|
| 17 |
+
<string name="menu_title_bookmark">連線</string>
|
| 18 |
+
<string name="menu_connect">連線</string>
|
| 19 |
+
<string name="menu_edit">編輯</string>
|
| 20 |
+
<string name="menu_delete">刪除</string>
|
| 21 |
+
<!-- Session menu items -->
|
| 22 |
+
<string name="menu_sys_keyboard">鍵盤</string>
|
| 23 |
+
<string name="menu_ext_keyboard">功能鍵</string>
|
| 24 |
+
<string name="menu_touch_pointer">觸控指標</string>
|
| 25 |
+
<string name="menu_home">首頁</string>
|
| 26 |
+
<string name="menu_disconnect">中斷連線</string>
|
| 27 |
+
<!-- List section headers -->
|
| 28 |
+
<string name="section_bookmarks">手動連線</string>
|
| 29 |
+
<string name="section_active_sessions">使用中的連線</string>
|
| 30 |
+
<!-- Search strings -->
|
| 31 |
+
<string name="search_hint">連線到電腦</string>
|
| 32 |
+
<!-- List placeholder labels -->
|
| 33 |
+
<string name="list_placeholder_login">登入</string>
|
| 34 |
+
<string name="list_placeholder_no_servers">無遠端電腦</string>
|
| 35 |
+
<string name="list_placeholder_connecting">連線中 …</string>
|
| 36 |
+
<string name="list_placeholder_disconnecting">正在中斷連線 …</string>
|
| 37 |
+
<string name="list_placeholder_connection_error">連線失敗</string>
|
| 38 |
+
<string name="list_placeholder_wrong_password">密碼錯誤</string>
|
| 39 |
+
<string name="list_placeholder_invalid_username">無效的使用者名稱</string>
|
| 40 |
+
<string name="list_placeholder_add_bookmark">新增連線</string>
|
| 41 |
+
<!-- Bookmark settings strings -->
|
| 42 |
+
<string name="settings_cat_host">主機</string>
|
| 43 |
+
<string name="settings_label">標籤</string>
|
| 44 |
+
<string name="settings_hostname">主機名稱</string>
|
| 45 |
+
<string name="settings_port">連接埠</string>
|
| 46 |
+
<string name="settings_cat_credentials">登入資訊</string>
|
| 47 |
+
<string name="settings_credentials">登入資訊</string>
|
| 48 |
+
<string name="settings_username">使用者名稱</string>
|
| 49 |
+
<string name="settings_password">密碼</string>
|
| 50 |
+
<string name="settings_domain">網域</string>
|
| 51 |
+
<string name="settings_cat_settings">設定</string>
|
| 52 |
+
<string name="settings_screen">螢幕</string>
|
| 53 |
+
<string name="settings_cat_screen">螢幕設定</string>
|
| 54 |
+
<string name="settings_colors">顏色</string>
|
| 55 |
+
<string-array name="colors_array">
|
| 56 |
+
<item>256 色(8 位元)</item>
|
| 57 |
+
<item>高彩(15 位元)</item>
|
| 58 |
+
<item>高彩(16 位元)</item>
|
| 59 |
+
<item>全彩(24 位元)</item>
|
| 60 |
+
<item>最高品質(32 位元)</item>
|
| 61 |
+
</string-array>
|
| 62 |
+
<string name="settings_resolution">解析度</string>
|
| 63 |
+
<string name="resolution_automatic">自動</string>
|
| 64 |
+
<string name="resolution_fit">符合螢幕</string>
|
| 65 |
+
<string name="resolution_custom">自訂</string>
|
| 66 |
+
<string-array name="resolutions_array">
|
| 67 |
+
<item>自動</item>
|
| 68 |
+
<item>符合螢幕</item>
|
| 69 |
+
<item>自訂</item>
|
| 70 |
+
<item>640x480</item>
|
| 71 |
+
<item>720x480</item>
|
| 72 |
+
<item>800x600</item>
|
| 73 |
+
<item>1024x768</item>
|
| 74 |
+
<item>1280x1024</item>
|
| 75 |
+
<item>1440x900</item>
|
| 76 |
+
<item>1920x1080</item>
|
| 77 |
+
<item>1920x1200</item>
|
| 78 |
+
</string-array>
|
| 79 |
+
<string name="settings_width">寬</string>
|
| 80 |
+
<string name="settings_height">高</string>
|
| 81 |
+
<string name="settings_performance">效能</string>
|
| 82 |
+
<string name="settings_cat_performance">效能設定</string>
|
| 83 |
+
<string name="settings_perf_remotefx">RemoteFX</string>
|
| 84 |
+
<string name="settings_perf_wallpaper">桌面背景</string>
|
| 85 |
+
<string name="settings_perf_font_smoothing">字形平滑處理</string>
|
| 86 |
+
<string name="settings_perf_desktop_composition">桌面轉譯緩衝處理</string>
|
| 87 |
+
<string name="settings_perf_full_window_drag">拖曳時顯示視窗內容</string>
|
| 88 |
+
<string name="settings_perf_menu_animation">功能表及視窗動畫</string>
|
| 89 |
+
<string name="settings_perf_theming">視覺樣式</string>
|
| 90 |
+
<string name="settings_advanced">進階</string>
|
| 91 |
+
<string name="settings_cat_advanced">進階設定</string>
|
| 92 |
+
<string name="settings_enable_3g_settings">3G 設定</string>
|
| 93 |
+
<string name="settings_screen_3g">3G 螢幕</string>
|
| 94 |
+
<string name="settings_performance_3g">3G 效能</string>
|
| 95 |
+
<string name="settings_cat_gateway">閘道</string>
|
| 96 |
+
<string name="settings_enable_gateway_settings">啟用閘道伺服器</string>
|
| 97 |
+
<string name="settings_gateway_settings">閘道設定</string>
|
| 98 |
+
<string name="settings_redirect_sdcard">遠端 SD 卡</string>
|
| 99 |
+
<string name="settings_redirect_sound">遠端音訊</string>
|
| 100 |
+
<string-array name="redirect_sound_array">
|
| 101 |
+
<item>不要播放</item>
|
| 102 |
+
<item>在遠端電腦上播放</item>
|
| 103 |
+
<item>在這部裝置上播放</item>
|
| 104 |
+
</string-array>
|
| 105 |
+
<string name="settings_redirect_microphone">遠端麥克風</string>
|
| 106 |
+
<string name="settings_security">安全性</string>
|
| 107 |
+
<string-array name="security_array">
|
| 108 |
+
<item>自動</item>
|
| 109 |
+
<item>RDP</item>
|
| 110 |
+
<item>TLS</item>
|
| 111 |
+
<item>NLA</item>
|
| 112 |
+
</string-array>
|
| 113 |
+
<string name="settings_remote_program">遠端程式</string>
|
| 114 |
+
<string name="settings_work_dir">工作目錄</string>
|
| 115 |
+
<string name="settings_async_channel">非同步通道</string>
|
| 116 |
+
<string name="settings_async_update">非同步更新</string>
|
| 117 |
+
<string name="settings_console_mode">主控台模式</string>
|
| 118 |
+
<!-- App settings strings -->
|
| 119 |
+
<string name="settings_password_present">*******</string>
|
| 120 |
+
<string name="settings_password_empty">未設定密碼</string>
|
| 121 |
+
<string name="settings_cat_ui">使用者介面</string>
|
| 122 |
+
<string name="settings_ui_hide_status_bar">隱藏狀態列</string>
|
| 123 |
+
<string name="settings_ui_hide_action_bar">隱藏動作列</string>
|
| 124 |
+
<string name="settings_ui_hide_zoom_controls">隱藏縮放控制</string>
|
| 125 |
+
<string name="settings_ui_swap_mouse_buttons">滑鼠按鈕互換</string>
|
| 126 |
+
<string name="settings_ui_invert_scrolling">反向滾動</string>
|
| 127 |
+
<string name="settings_ui_auto_scroll_touchpointer">觸控指標自動滾動</string>
|
| 128 |
+
<string name="settings_ui_ask_on_exit">結束時顯示對話框</string>
|
| 129 |
+
<string name="settings_ui_use_back_as_altf4">將『返回』按鈕設為 Alt+F4 快捷鍵</string>
|
| 130 |
+
<string name="settings_cat_power">省電</string>
|
| 131 |
+
<string name="settings_cat_client">用戶端</string>
|
| 132 |
+
<string name="settings_power_disconnect_timeout">關閉閒置連線</string>
|
| 133 |
+
<string name="settings_cat_security">安全性</string>
|
| 134 |
+
<string name="settings_security_accept_certificates">接受所有憑證</string>
|
| 135 |
+
<string name="settings_security_clear_certificate_cache">清除憑證快取</string>
|
| 136 |
+
<string name="settings_description_after_minutes">在 %1$d 分鐘後</string>
|
| 137 |
+
<string name="settings_description_disabled">已停用</string>
|
| 138 |
+
<!-- Activity titles -->
|
| 139 |
+
<string name="title_bookmark_settings">連線設定</string>
|
| 140 |
+
<string name="title_application_settings">設定</string>
|
| 141 |
+
<string name="title_home">aFreeRDP - Android 的 FreeRDP</string>
|
| 142 |
+
<string name="title_create_shortcut">RDP 連線</string>
|
| 143 |
+
<string name="title_help">說明</string>
|
| 144 |
+
<string name="title_about">關於</string>
|
| 145 |
+
<!-- Error message strings -->
|
| 146 |
+
<string name="error_bookmark_incomplete_title">是否取消而不儲存?</string>
|
| 147 |
+
<string name="error_bookmark_incomplete">按「取消」以中止!\n按「繼續」以指定必要的欄位!</string>
|
| 148 |
+
<string name="error_connection_failure">無法建立與遠端電腦的連線!</string>
|
| 149 |
+
<!-- Info message strings -->
|
| 150 |
+
<string name="info_capabilities_changed">螢幕設定已更改為遠端電腦支援的設定。</string>
|
| 151 |
+
<string name="info_reset_success">憑證快取已刪除。</string>
|
| 152 |
+
<string name="info_reset_failed">無法刪除憑證快取!</string>
|
| 153 |
+
<!-- Dialog strings -->
|
| 154 |
+
<string name="dlg_title_verify_certificate">驗證憑證</string>
|
| 155 |
+
<string name="dlg_msg_verify_certificate">無法驗證遠端電腦的身份。您要繼續連線嗎?</string>
|
| 156 |
+
<string name="dlg_title_credentials">請輸入您的登入資訊</string>
|
| 157 |
+
<string name="dlg_title_create_shortcut">建立捷徑</string>
|
| 158 |
+
<string name="dlg_msg_create_shortcut">捷徑名稱:</string>
|
| 159 |
+
<string name="dlg_msg_connecting">連線中 …</string>
|
| 160 |
+
<string name="dlg_msg_logging_in">登入中 …</string>
|
| 161 |
+
<string name="dlg_title_about">關於 aFreeRDP</string>
|
| 162 |
+
<string name="dlg_title_create_bookmark_after_qc">儲存連線設定?</string>
|
| 163 |
+
<string name="dlg_msg_create_bookmark_after_qc">您要儲存未儲存的連線設定嗎?</string>
|
| 164 |
+
<string name="dlg_title_save_bookmark">儲存連線?</string>
|
| 165 |
+
<string name="dlg_save_bookmark">您要儲存對連線設定所做的任何更改嗎?</string>
|
| 166 |
+
<string name="dlg_dont_show_again">不再詢問</string>
|
| 167 |
+
<string name="dlg_title_exit">結束應用程式?</string>
|
| 168 |
+
<string name="dlg_msg_exit">您確定要結束應用程式嗎?</string>
|
| 169 |
+
<string name="dlg_title_clear_cert_cache">刪除憑證?</string>
|
| 170 |
+
<string name="dlg_msg_clear_cert_cache">您確定要刪除所有快取的憑證嗎?</string>
|
| 171 |
+
<string name="debug_level">偵錯等級</string>
|
| 172 |
+
<string name="settings_debug">偵錯設定</string>
|
| 173 |
+
<string name="preference_title_client">用戶端</string>
|
| 174 |
+
<string name="preference_title_client_name">用戶端名稱</string>
|
| 175 |
+
</resources>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/xml/debug_settings.xml
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?><!--
|
| 2 |
+
/*
|
| 3 |
+
Debug Settings Layout
|
| 4 |
+
|
| 5 |
+
Copyright 2013 Thincast Technologies GmbH
|
| 6 |
+
Copyright 2013 Armin Novak <[email protected]>
|
| 7 |
+
|
| 8 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 9 |
+
you may not use this file except in compliance with the License.
|
| 10 |
+
You may obtain a copy of the License at
|
| 11 |
+
|
| 12 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 13 |
+
|
| 14 |
+
Unless required by applicable law or agreed to in writing, software
|
| 15 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 16 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 17 |
+
See the License for the specific language governing permissions and
|
| 18 |
+
limitations under the License.
|
| 19 |
+
*/
|
| 20 |
+
-->
|
| 21 |
+
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
| 22 |
+
<PreferenceCategory android:title="@string/settings_debug">
|
| 23 |
+
<ListPreference
|
| 24 |
+
android:entries="@array/debug_array"
|
| 25 |
+
android:entryValues="@array/debug_values_array"
|
| 26 |
+
android:key="bookmark.debug_level"
|
| 27 |
+
android:title="@string/debug_level" />
|
| 28 |
+
<CheckBoxPreference
|
| 29 |
+
android:key="bookmark.async_channel"
|
| 30 |
+
android:title="@string/settings_async_channel" />
|
| 31 |
+
<CheckBoxPreference
|
| 32 |
+
android:key="bookmark.async_update"
|
| 33 |
+
android:title="@string/settings_async_update" />
|
| 34 |
+
</PreferenceCategory>
|
| 35 |
+
</PreferenceScreen>
|
local-test-freerdp-delta-01/afc-freerdp/client/Android/Studio/freeRDPCore/src/main/res/xml/numpad_keyboard.xml
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?><!--
|
| 2 |
+
/*
|
| 3 |
+
Numpad keyboard layout
|
| 4 |
+
|
| 5 |
+
Copyright 2013 Thincast Technologies GmbH, Author: Martin Fleisz
|
| 6 |
+
|
| 7 |
+
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
| 8 |
+
If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
| 9 |
+
*/
|
| 10 |
+
--><!--
|
| 11 |
+
|
| 12 |
+
Numpad Keyboard layout
|
| 13 |
+
|
| 14 |
+
Button Arrangement
|
| 15 |
+
|
| 16 |
+
( ) 7 8 9 -
|
| 17 |
+
/ * 4 5 6 +
|
| 18 |
+
Fn Num 1 2 3 BackSp
|
| 19 |
+
Cur = 0 . Enter
|
| 20 |
+
|
| 21 |
+
-->
|
| 22 |
+
|
| 23 |
+
<Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
|
| 24 |
+
android:horizontalGap="0px"
|
| 25 |
+
android:keyHeight="@dimen/key_height"
|
| 26 |
+
android:keyWidth="16.6%p"
|
| 27 |
+
android:verticalGap="0px">
|
| 28 |
+
|
| 29 |
+
<Row>
|
| 30 |
+
<Key
|
| 31 |
+
android:codes="@integer/keycode_numpad_left_paren"
|
| 32 |
+
android:keyEdgeFlags="left"
|
| 33 |
+
android:keyLabel="(" />
|
| 34 |
+
<Key
|
| 35 |
+
android:codes="@integer/keycode_numpad_right_paren"
|
| 36 |
+
android:keyLabel=")" />
|
| 37 |
+
<Key
|
| 38 |
+
android:codes="@integer/keycode_numpad_7"
|
| 39 |
+
android:keyLabel="7" />
|
| 40 |
+
<Key
|
| 41 |
+
android:codes="@integer/keycode_numpad_8"
|
| 42 |
+
android:keyLabel="8" />
|
| 43 |
+
<Key
|
| 44 |
+
android:codes="@integer/keycode_numpad_9"
|
| 45 |
+
android:keyLabel="9" />
|
| 46 |
+
<Key
|
| 47 |
+
android:codes="@integer/keycode_numpad_subtract"
|
| 48 |
+
android:keyLabel="-" />
|
| 49 |
+
</Row>
|
| 50 |
+
|
| 51 |
+
<Row>
|
| 52 |
+
<Key
|
| 53 |
+
android:codes="@integer/keycode_numpad_divide"
|
| 54 |
+
android:keyEdgeFlags="left"
|
| 55 |
+
android:keyLabel="/" />
|
| 56 |
+
<Key
|
| 57 |
+
android:codes="@integer/keycode_numpad_multiply"
|
| 58 |
+
android:keyLabel="*" />
|
| 59 |
+
<Key
|
| 60 |
+
android:codes="@integer/keycode_numpad_4"
|
| 61 |
+
android:keyLabel="4" />
|
| 62 |
+
<Key
|
| 63 |
+
android:codes="@integer/keycode_numpad_5"
|
| 64 |
+
android:keyLabel="5" />
|
| 65 |
+
<Key
|
| 66 |
+
android:codes="@integer/keycode_numpad_6"
|
| 67 |
+
android:keyLabel="6" />
|
| 68 |
+
<Key
|
| 69 |
+
android:codes="@integer/keycode_numpad_add"
|
| 70 |
+
android:keyEdgeFlags="right"
|
| 71 |
+
android:keyLabel="+" />
|
| 72 |
+
</Row>
|
| 73 |
+
|
| 74 |
+
<Row>
|
| 75 |
+
<Key
|
| 76 |
+
android:codes="@integer/keycode_specialkeys_keyboard"
|
| 77 |
+
android:keyEdgeFlags="left"
|
| 78 |
+
android:keyLabel="Fn" />
|
| 79 |
+
<Key
|
| 80 |
+
android:codes="@integer/keycode_numpad_numlock"
|
| 81 |
+
android:keyLabel="Num" />
|
| 82 |
+
<Key
|
| 83 |
+
android:codes="@integer/keycode_numpad_1"
|
| 84 |
+
android:keyLabel="1" />
|
| 85 |
+
<Key
|
| 86 |
+
android:codes="@integer/keycode_numpad_2"
|
| 87 |
+
android:keyLabel="2" />
|
| 88 |
+
<Key
|
| 89 |
+
android:codes="@integer/keycode_numpad_3"
|
| 90 |
+
android:keyLabel="3" />
|
| 91 |
+
<Key
|
| 92 |
+
android:codes="@integer/keycode_backspace"
|
| 93 |
+
android:keyEdgeFlags="right"
|
| 94 |
+
android:keyIcon="@drawable/sym_keyboard_delete" />
|
| 95 |
+
</Row>
|
| 96 |
+
|
| 97 |
+
<Row android:rowEdgeFlags="bottom">
|
| 98 |
+
<Key
|
| 99 |
+
android:codes="@integer/keycode_cursor_keyboard"
|
| 100 |
+
android:iconPreview="@drawable/sym_keyboard_arrows_black"
|
| 101 |
+
android:keyEdgeFlags="left"
|
| 102 |
+
android:keyIcon="@drawable/sym_keyboard_arrows" />
|
| 103 |
+
<Key
|
| 104 |
+
android:codes="@integer/keycode_numpad_equals"
|
| 105 |
+
android:keyLabel="=" />
|
| 106 |
+
<Key
|
| 107 |
+
android:codes="@integer/keycode_numpad_0"
|
| 108 |
+
android:keyLabel="0"
|
| 109 |
+
android:keyWidth="33.3%p" />
|
| 110 |
+
<Key
|
| 111 |
+
android:codes="@integer/keycode_numpad_comma"
|
| 112 |
+
android:keyLabel="." />
|
| 113 |
+
<Key
|
| 114 |
+
android:codes="@integer/keycode_numpad_enter"
|
| 115 |
+
android:keyEdgeFlags="right"
|
| 116 |
+
android:keyIcon="@drawable/sym_keyboard_return" />
|
| 117 |
+
</Row>
|
| 118 |
+
</Keyboard>
|
| 119 |
+
|
local-test-freerdp-delta-01/afc-freerdp/libfreerdp/codec/zgfx.c
ADDED
|
@@ -0,0 +1,644 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/**
|
| 2 |
+
* FreeRDP: A Remote Desktop Protocol Implementation
|
| 3 |
+
* ZGFX (RDP8) Bulk Data Compression
|
| 4 |
+
*
|
| 5 |
+
* Copyright 2014 Marc-Andre Moreau <[email protected]>
|
| 6 |
+
* Copyright 2017 Armin Novak <[email protected]>
|
| 7 |
+
* Copyright 2017 Thincast Technologies GmbH
|
| 8 |
+
*
|
| 9 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
| 10 |
+
* you may not use this file except in compliance with the License.
|
| 11 |
+
* You may obtain a copy of the License at
|
| 12 |
+
*
|
| 13 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
| 14 |
+
*
|
| 15 |
+
* Unless required by applicable law or agreed to in writing, software
|
| 16 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
| 17 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 18 |
+
* See the License for the specific language governing permissions and
|
| 19 |
+
* limitations under the License.
|
| 20 |
+
*/
|
| 21 |
+
|
| 22 |
+
#include <freerdp/config.h>
|
| 23 |
+
|
| 24 |
+
#include <winpr/assert.h>
|
| 25 |
+
#include <winpr/cast.h>
|
| 26 |
+
#include <winpr/crt.h>
|
| 27 |
+
#include <winpr/print.h>
|
| 28 |
+
#include <winpr/bitstream.h>
|
| 29 |
+
|
| 30 |
+
#include <freerdp/log.h>
|
| 31 |
+
#include <freerdp/codec/zgfx.h>
|
| 32 |
+
|
| 33 |
+
#define TAG FREERDP_TAG("codec")
|
| 34 |
+
|
| 35 |
+
/**
|
| 36 |
+
* RDP8 Compressor Limits:
|
| 37 |
+
*
|
| 38 |
+
* Maximum number of uncompressed bytes in a single segment: 65535
|
| 39 |
+
* Maximum match distance / minimum history size: 2500000 bytes.
|
| 40 |
+
* Maximum number of segments: 65535
|
| 41 |
+
* Maximum expansion of a segment (when compressed size exceeds uncompressed): 1000 bytes
|
| 42 |
+
* Minimum match length: 3 bytes
|
| 43 |
+
*/
|
| 44 |
+
|
| 45 |
+
typedef struct
|
| 46 |
+
{
|
| 47 |
+
UINT32 prefixLength;
|
| 48 |
+
UINT32 prefixCode;
|
| 49 |
+
UINT32 valueBits;
|
| 50 |
+
UINT32 tokenType;
|
| 51 |
+
UINT32 valueBase;
|
| 52 |
+
} ZGFX_TOKEN;
|
| 53 |
+
|
| 54 |
+
struct S_ZGFX_CONTEXT
|
| 55 |
+
{
|
| 56 |
+
BOOL Compressor;
|
| 57 |
+
|
| 58 |
+
const BYTE* pbInputCurrent;
|
| 59 |
+
const BYTE* pbInputEnd;
|
| 60 |
+
|
| 61 |
+
UINT32 bits;
|
| 62 |
+
UINT32 cBitsRemaining;
|
| 63 |
+
UINT32 BitsCurrent;
|
| 64 |
+
UINT32 cBitsCurrent;
|
| 65 |
+
|
| 66 |
+
BYTE OutputBuffer[65536];
|
| 67 |
+
UINT32 OutputCount;
|
| 68 |
+
|
| 69 |
+
BYTE HistoryBuffer[2500000];
|
| 70 |
+
UINT32 HistoryIndex;
|
| 71 |
+
UINT32 HistoryBufferSize;
|
| 72 |
+
};
|
| 73 |
+
|
| 74 |
+
static const ZGFX_TOKEN ZGFX_TOKEN_TABLE[] = {
|
| 75 |
+
// len code vbits type vbase
|
| 76 |
+
{ 1, 0, 8, 0, 0 }, // 0
|
| 77 |
+
{ 5, 17, 5, 1, 0 }, // 10001
|
| 78 |
+
{ 5, 18, 7, 1, 32 }, // 10010
|
| 79 |
+
{ 5, 19, 9, 1, 160 }, // 10011
|
| 80 |
+
{ 5, 20, 10, 1, 672 }, // 10100
|
| 81 |
+
{ 5, 21, 12, 1, 1696 }, // 10101
|
| 82 |
+
{ 5, 24, 0, 0, 0x00 }, // 11000
|
| 83 |
+
{ 5, 25, 0, 0, 0x01 }, // 11001
|
| 84 |
+
{ 6, 44, 14, 1, 5792 }, // 101100
|
| 85 |
+
{ 6, 45, 15, 1, 22176 }, // 101101
|
| 86 |
+
{ 6, 52, 0, 0, 0x02 }, // 110100
|
| 87 |
+
{ 6, 53, 0, 0, 0x03 }, // 110101
|
| 88 |
+
{ 6, 54, 0, 0, 0xFF }, // 110110
|
| 89 |
+
{ 7, 92, 18, 1, 54944 }, // 1011100
|
| 90 |
+
{ 7, 93, 20, 1, 317088 }, // 1011101
|
| 91 |
+
{ 7, 110, 0, 0, 0x04 }, // 1101110
|
| 92 |
+
{ 7, 111, 0, 0, 0x05 }, // 1101111
|
| 93 |
+
{ 7, 112, 0, 0, 0x06 }, // 1110000
|
| 94 |
+
{ 7, 113, 0, 0, 0x07 }, // 1110001
|
| 95 |
+
{ 7, 114, 0, 0, 0x08 }, // 1110010
|
| 96 |
+
{ 7, 115, 0, 0, 0x09 }, // 1110011
|
| 97 |
+
{ 7, 116, 0, 0, 0x0A }, // 1110100
|
| 98 |
+
{ 7, 117, 0, 0, 0x0B }, // 1110101
|
| 99 |
+
{ 7, 118, 0, 0, 0x3A }, // 1110110
|
| 100 |
+
{ 7, 119, 0, 0, 0x3B }, // 1110111
|
| 101 |
+
{ 7, 120, 0, 0, 0x3C }, // 1111000
|
| 102 |
+
{ 7, 121, 0, 0, 0x3D }, // 1111001
|
| 103 |
+
{ 7, 122, 0, 0, 0x3E }, // 1111010
|
| 104 |
+
{ 7, 123, 0, 0, 0x3F }, // 1111011
|
| 105 |
+
{ 7, 124, 0, 0, 0x40 }, // 1111100
|
| 106 |
+
{ 7, 125, 0, 0, 0x80 }, // 1111101
|
| 107 |
+
{ 8, 188, 20, 1, 1365664 }, // 10111100
|
| 108 |
+
{ 8, 189, 21, 1, 2414240 }, // 10111101
|
| 109 |
+
{ 8, 252, 0, 0, 0x0C }, // 11111100
|
| 110 |
+
{ 8, 253, 0, 0, 0x38 }, // 11111101
|
| 111 |
+
{ 8, 254, 0, 0, 0x39 }, // 11111110
|
| 112 |
+
{ 8, 255, 0, 0, 0x66 }, // 11111111
|
| 113 |
+
{ 9, 380, 22, 1, 4511392 }, // 101111100
|
| 114 |
+
{ 9, 381, 23, 1, 8705696 }, // 101111101
|
| 115 |
+
{ 9, 382, 24, 1, 17094304 }, // 101111110
|
| 116 |
+
{ 0 }
|
| 117 |
+
};
|
| 118 |
+
|
| 119 |
+
static INLINE BOOL zgfx_GetBits(ZGFX_CONTEXT* WINPR_RESTRICT zgfx, UINT32 nbits)
|
| 120 |
+
{
|
| 121 |
+
if (!zgfx)
|
| 122 |
+
return FALSE;
|
| 123 |
+
|
| 124 |
+
while (zgfx->cBitsCurrent < nbits)
|
| 125 |
+
{
|
| 126 |
+
zgfx->BitsCurrent <<= 8;
|
| 127 |
+
|
| 128 |
+
if (zgfx->pbInputCurrent < zgfx->pbInputEnd)
|
| 129 |
+
zgfx->BitsCurrent += *(zgfx->pbInputCurrent)++;
|
| 130 |
+
|
| 131 |
+
zgfx->cBitsCurrent += 8;
|
| 132 |
+
}
|
| 133 |
+
|
| 134 |
+
zgfx->cBitsRemaining -= nbits;
|
| 135 |
+
zgfx->cBitsCurrent -= nbits;
|
| 136 |
+
zgfx->bits = zgfx->BitsCurrent >> zgfx->cBitsCurrent;
|
| 137 |
+
zgfx->BitsCurrent &= ((1 << zgfx->cBitsCurrent) - 1);
|
| 138 |
+
return TRUE;
|
| 139 |
+
}
|
| 140 |
+
|
| 141 |
+
static INLINE void zgfx_history_buffer_ring_write(ZGFX_CONTEXT* WINPR_RESTRICT zgfx,
|
| 142 |
+
const BYTE* WINPR_RESTRICT src, size_t count)
|
| 143 |
+
{
|
| 144 |
+
if (count <= 0)
|
| 145 |
+
return;
|
| 146 |
+
|
| 147 |
+
if (count > zgfx->HistoryBufferSize)
|
| 148 |
+
{
|
| 149 |
+
const size_t residue = count - zgfx->HistoryBufferSize;
|
| 150 |
+
count = zgfx->HistoryBufferSize;
|
| 151 |
+
src += residue;
|
| 152 |
+
zgfx->HistoryIndex = (zgfx->HistoryIndex + residue) % zgfx->HistoryBufferSize;
|
| 153 |
+
}
|
| 154 |
+
|
| 155 |
+
if (zgfx->HistoryIndex + count <= zgfx->HistoryBufferSize)
|
| 156 |
+
{
|
| 157 |
+
CopyMemory(&(zgfx->HistoryBuffer[zgfx->HistoryIndex]), src, count);
|
| 158 |
+
|
| 159 |
+
if ((zgfx->HistoryIndex += count) == zgfx->HistoryBufferSize)
|
| 160 |
+
zgfx->HistoryIndex = 0;
|
| 161 |
+
}
|
| 162 |
+
else
|
| 163 |
+
{
|
| 164 |
+
const UINT32 front = zgfx->HistoryBufferSize - zgfx->HistoryIndex;
|
| 165 |
+
CopyMemory(&(zgfx->HistoryBuffer[zgfx->HistoryIndex]), src, front);
|
| 166 |
+
CopyMemory(zgfx->HistoryBuffer, &src[front], count - front);
|
| 167 |
+
zgfx->HistoryIndex = (UINT32)(count - front);
|
| 168 |
+
}
|
| 169 |
+
}
|
| 170 |
+
|
| 171 |
+
static INLINE void zgfx_history_buffer_ring_read(ZGFX_CONTEXT* WINPR_RESTRICT zgfx, int offset,
|
| 172 |
+
BYTE* WINPR_RESTRICT dst, UINT32 count)
|
| 173 |
+
{
|
| 174 |
+
UINT32 front = 0;
|
| 175 |
+
UINT32 index = 0;
|
| 176 |
+
INT32 bytes = 0;
|
| 177 |
+
UINT32 valid = 0;
|
| 178 |
+
INT32 bytesLeft = 0;
|
| 179 |
+
BYTE* dptr = dst;
|
| 180 |
+
BYTE* origDst = dst;
|
| 181 |
+
|
| 182 |
+
if ((count <= 0) || (count > INT32_MAX))
|
| 183 |
+
return;
|
| 184 |
+
|
| 185 |
+
bytesLeft = (INT32)count;
|
| 186 |
+
index = (zgfx->HistoryIndex + zgfx->HistoryBufferSize -
|
| 187 |
+
WINPR_ASSERTING_INT_CAST(uint32_t, offset)) %
|
| 188 |
+
zgfx->HistoryBufferSize;
|
| 189 |
+
bytes = MIN(bytesLeft, offset);
|
| 190 |
+
|
| 191 |
+
if ((index + WINPR_ASSERTING_INT_CAST(uint32_t, bytes)) <= zgfx->HistoryBufferSize)
|
| 192 |
+
{
|
| 193 |
+
CopyMemory(dptr, &(zgfx->HistoryBuffer[index]), WINPR_ASSERTING_INT_CAST(size_t, bytes));
|
| 194 |
+
}
|
| 195 |
+
else
|
| 196 |
+
{
|
| 197 |
+
front = zgfx->HistoryBufferSize - index;
|
| 198 |
+
CopyMemory(dptr, &(zgfx->HistoryBuffer[index]), front);
|
| 199 |
+
CopyMemory(&dptr[front], zgfx->HistoryBuffer,
|
| 200 |
+
WINPR_ASSERTING_INT_CAST(uint32_t, bytes) - front);
|
| 201 |
+
}
|
| 202 |
+
|
| 203 |
+
if ((bytesLeft -= bytes) == 0)
|
| 204 |
+
return;
|
| 205 |
+
|
| 206 |
+
dptr += bytes;
|
| 207 |
+
valid = WINPR_ASSERTING_INT_CAST(uint32_t, bytes);
|
| 208 |
+
|
| 209 |
+
do
|
| 210 |
+
{
|
| 211 |
+
bytes = WINPR_ASSERTING_INT_CAST(int32_t, valid);
|
| 212 |
+
|
| 213 |
+
if (bytes > bytesLeft)
|
| 214 |
+
bytes = bytesLeft;
|
| 215 |
+
|
| 216 |
+
CopyMemory(dptr, origDst, WINPR_ASSERTING_INT_CAST(size_t, bytes));
|
| 217 |
+
dptr += bytes;
|
| 218 |
+
valid <<= 1;
|
| 219 |
+
} while ((bytesLeft -= bytes) > 0);
|
| 220 |
+
}
|
| 221 |
+
|
| 222 |
+
static INLINE BOOL zgfx_decompress_segment(ZGFX_CONTEXT* WINPR_RESTRICT zgfx,
|
| 223 |
+
wStream* WINPR_RESTRICT stream, size_t segmentSize)
|
| 224 |
+
{
|
| 225 |
+
BYTE c = 0;
|
| 226 |
+
BYTE flags = 0;
|
| 227 |
+
UINT32 extra = 0;
|
| 228 |
+
int opIndex = 0;
|
| 229 |
+
UINT32 haveBits = 0;
|
| 230 |
+
UINT32 inPrefix = 0;
|
| 231 |
+
UINT32 count = 0;
|
| 232 |
+
UINT32 distance = 0;
|
| 233 |
+
BYTE* pbSegment = NULL;
|
| 234 |
+
|
| 235 |
+
WINPR_ASSERT(zgfx);
|
| 236 |
+
WINPR_ASSERT(stream);
|
| 237 |
+
|
| 238 |
+
if (segmentSize < 2)
|
| 239 |
+
return FALSE;
|
| 240 |
+
|
| 241 |
+
const size_t cbSegment = segmentSize - 1;
|
| 242 |
+
|
| 243 |
+
if (!Stream_CheckAndLogRequiredLength(TAG, stream, segmentSize) || (segmentSize > UINT32_MAX))
|
| 244 |
+
return FALSE;
|
| 245 |
+
|
| 246 |
+
Stream_Read_UINT8(stream, flags); /* header (1 byte) */
|
| 247 |
+
zgfx->OutputCount = 0;
|
| 248 |
+
pbSegment = Stream_Pointer(stream);
|
| 249 |
+
if (!Stream_SafeSeek(stream, cbSegment))
|
| 250 |
+
return FALSE;
|
| 251 |
+
|
| 252 |
+
if (!(flags & PACKET_COMPRESSED))
|
| 253 |
+
{
|
| 254 |
+
zgfx_history_buffer_ring_write(zgfx, pbSegment, cbSegment);
|
| 255 |
+
|
| 256 |
+
if (cbSegment > sizeof(zgfx->OutputBuffer))
|
| 257 |
+
return FALSE;
|
| 258 |
+
|
| 259 |
+
CopyMemory(zgfx->OutputBuffer, pbSegment, cbSegment);
|
| 260 |
+
zgfx->OutputCount = (UINT32)cbSegment;
|
| 261 |
+
return TRUE;
|
| 262 |
+
}
|
| 263 |
+
|
| 264 |
+
zgfx->pbInputCurrent = pbSegment;
|
| 265 |
+
zgfx->pbInputEnd = &pbSegment[cbSegment - 1];
|
| 266 |
+
/* NumberOfBitsToDecode = ((NumberOfBytesToDecode - 1) * 8) - ValueOfLastByte */
|
| 267 |
+
const size_t bits = 8u * (cbSegment - 1u);
|
| 268 |
+
if (bits > UINT32_MAX)
|
| 269 |
+
return FALSE;
|
| 270 |
+
if (bits < *zgfx->pbInputEnd)
|
| 271 |
+
return FALSE;
|
| 272 |
+
|
| 273 |
+
zgfx->cBitsRemaining = (UINT32)(bits - *zgfx->pbInputEnd);
|
| 274 |
+
zgfx->cBitsCurrent = 0;
|
| 275 |
+
zgfx->BitsCurrent = 0;
|
| 276 |
+
|
| 277 |
+
while (zgfx->cBitsRemaining)
|
| 278 |
+
{
|
| 279 |
+
haveBits = 0;
|
| 280 |
+
inPrefix = 0;
|
| 281 |
+
|
| 282 |
+
for (opIndex = 0; ZGFX_TOKEN_TABLE[opIndex].prefixLength != 0; opIndex++)
|
| 283 |
+
{
|
| 284 |
+
while (haveBits < ZGFX_TOKEN_TABLE[opIndex].prefixLength)
|
| 285 |
+
{
|
| 286 |
+
zgfx_GetBits(zgfx, 1);
|
| 287 |
+
inPrefix = (inPrefix << 1) + zgfx->bits;
|
| 288 |
+
haveBits++;
|
| 289 |
+
}
|
| 290 |
+
|
| 291 |
+
if (inPrefix == ZGFX_TOKEN_TABLE[opIndex].prefixCode)
|
| 292 |
+
{
|
| 293 |
+
if (ZGFX_TOKEN_TABLE[opIndex].tokenType == 0)
|
| 294 |
+
{
|
| 295 |
+
/* Literal */
|
| 296 |
+
zgfx_GetBits(zgfx, ZGFX_TOKEN_TABLE[opIndex].valueBits);
|
| 297 |
+
c = (BYTE)(ZGFX_TOKEN_TABLE[opIndex].valueBase + zgfx->bits);
|
| 298 |
+
zgfx->HistoryBuffer[zgfx->HistoryIndex] = c;
|
| 299 |
+
|
| 300 |
+
if (++zgfx->HistoryIndex == zgfx->HistoryBufferSize)
|
| 301 |
+
zgfx->HistoryIndex = 0;
|
| 302 |
+
|
| 303 |
+
if (zgfx->OutputCount >= sizeof(zgfx->OutputBuffer))
|
| 304 |
+
return FALSE;
|
| 305 |
+
|
| 306 |
+
zgfx->OutputBuffer[zgfx->OutputCount++] = c;
|
| 307 |
+
}
|
| 308 |
+
else
|
| 309 |
+
{
|
| 310 |
+
zgfx_GetBits(zgfx, ZGFX_TOKEN_TABLE[opIndex].valueBits);
|
| 311 |
+
distance = ZGFX_TOKEN_TABLE[opIndex].valueBase + zgfx->bits;
|
| 312 |
+
|
| 313 |
+
if (distance != 0)
|
| 314 |
+
{
|
| 315 |
+
/* Match */
|
| 316 |
+
zgfx_GetBits(zgfx, 1);
|
| 317 |
+
|
| 318 |
+
if (zgfx->bits == 0)
|
| 319 |
+
{
|
| 320 |
+
count = 3;
|
| 321 |
+
}
|
| 322 |
+
else
|
| 323 |
+
{
|
| 324 |
+
count = 4;
|
| 325 |
+
extra = 2;
|
| 326 |
+
zgfx_GetBits(zgfx, 1);
|
| 327 |
+
|
| 328 |
+
while (zgfx->bits == 1)
|
| 329 |
+
{
|
| 330 |
+
count *= 2;
|
| 331 |
+
extra++;
|
| 332 |
+
zgfx_GetBits(zgfx, 1);
|
| 333 |
+
}
|
| 334 |
+
|
| 335 |
+
zgfx_GetBits(zgfx, extra);
|
| 336 |
+
count += zgfx->bits;
|
| 337 |
+
}
|
| 338 |
+
|
| 339 |
+
if (count > sizeof(zgfx->OutputBuffer) - zgfx->OutputCount)
|
| 340 |
+
return FALSE;
|
| 341 |
+
|
| 342 |
+
zgfx_history_buffer_ring_read(zgfx, WINPR_ASSERTING_INT_CAST(int, distance),
|
| 343 |
+
&(zgfx->OutputBuffer[zgfx->OutputCount]),
|
| 344 |
+
count);
|
| 345 |
+
zgfx_history_buffer_ring_write(
|
| 346 |
+
zgfx, &(zgfx->OutputBuffer[zgfx->OutputCount]), count);
|
| 347 |
+
zgfx->OutputCount += count;
|
| 348 |
+
}
|
| 349 |
+
else
|
| 350 |
+
{
|
| 351 |
+
/* Unencoded */
|
| 352 |
+
zgfx_GetBits(zgfx, 15);
|
| 353 |
+
count = zgfx->bits;
|
| 354 |
+
zgfx->cBitsRemaining -= zgfx->cBitsCurrent;
|
| 355 |
+
zgfx->cBitsCurrent = 0;
|
| 356 |
+
zgfx->BitsCurrent = 0;
|
| 357 |
+
|
| 358 |
+
if (count > sizeof(zgfx->OutputBuffer) - zgfx->OutputCount)
|
| 359 |
+
return FALSE;
|
| 360 |
+
else if (count > zgfx->cBitsRemaining / 8)
|
| 361 |
+
return FALSE;
|
| 362 |
+
else if (zgfx->pbInputCurrent + count > zgfx->pbInputEnd)
|
| 363 |
+
return FALSE;
|
| 364 |
+
|
| 365 |
+
CopyMemory(&(zgfx->OutputBuffer[zgfx->OutputCount]), zgfx->pbInputCurrent,
|
| 366 |
+
count);
|
| 367 |
+
zgfx_history_buffer_ring_write(zgfx, zgfx->pbInputCurrent, count);
|
| 368 |
+
zgfx->pbInputCurrent += count;
|
| 369 |
+
zgfx->cBitsRemaining -= (8 * count);
|
| 370 |
+
zgfx->OutputCount += count;
|
| 371 |
+
}
|
| 372 |
+
}
|
| 373 |
+
|
| 374 |
+
break;
|
| 375 |
+
}
|
| 376 |
+
}
|
| 377 |
+
}
|
| 378 |
+
|
| 379 |
+
return TRUE;
|
| 380 |
+
}
|
| 381 |
+
|
| 382 |
+
/* Allocate the buffers a bit larger.
|
| 383 |
+
*
|
| 384 |
+
* Due to optimizations some h264 decoders will read data beyond
|
| 385 |
+
* the actual available data, so ensure that it will never be a
|
| 386 |
+
* out of bounds read.
|
| 387 |
+
*/
|
| 388 |
+
static INLINE BYTE* aligned_zgfx_malloc(size_t size)
|
| 389 |
+
{
|
| 390 |
+
return malloc(size + 64);
|
| 391 |
+
}
|
| 392 |
+
|
| 393 |
+
static INLINE BOOL zgfx_append(ZGFX_CONTEXT* WINPR_RESTRICT zgfx,
|
| 394 |
+
BYTE** WINPR_RESTRICT ppConcatenated, size_t uncompressedSize,
|
| 395 |
+
size_t* WINPR_RESTRICT pUsed)
|
| 396 |
+
{
|
| 397 |
+
WINPR_ASSERT(zgfx);
|
| 398 |
+
WINPR_ASSERT(ppConcatenated);
|
| 399 |
+
WINPR_ASSERT(pUsed);
|
| 400 |
+
|
| 401 |
+
const size_t used = *pUsed;
|
| 402 |
+
if (zgfx->OutputCount > UINT32_MAX - used)
|
| 403 |
+
return FALSE;
|
| 404 |
+
|
| 405 |
+
if (used + zgfx->OutputCount > uncompressedSize)
|
| 406 |
+
return FALSE;
|
| 407 |
+
|
| 408 |
+
BYTE* tmp = realloc(*ppConcatenated, used + zgfx->OutputCount + 64ull);
|
| 409 |
+
if (!tmp)
|
| 410 |
+
return FALSE;
|
| 411 |
+
*ppConcatenated = tmp;
|
| 412 |
+
CopyMemory(&tmp[used], zgfx->OutputBuffer, zgfx->OutputCount);
|
| 413 |
+
*pUsed = used + zgfx->OutputCount;
|
| 414 |
+
return TRUE;
|
| 415 |
+
}
|
| 416 |
+
|
| 417 |
+
int zgfx_decompress(ZGFX_CONTEXT* WINPR_RESTRICT zgfx, const BYTE* WINPR_RESTRICT pSrcData,
|
| 418 |
+
UINT32 SrcSize, BYTE** WINPR_RESTRICT ppDstData,
|
| 419 |
+
UINT32* WINPR_RESTRICT pDstSize, UINT32 flags)
|
| 420 |
+
{
|
| 421 |
+
int status = -1;
|
| 422 |
+
BYTE descriptor = 0;
|
| 423 |
+
wStream sbuffer = { 0 };
|
| 424 |
+
size_t used = 0;
|
| 425 |
+
BYTE* pConcatenated = NULL;
|
| 426 |
+
wStream* stream = Stream_StaticConstInit(&sbuffer, pSrcData, SrcSize);
|
| 427 |
+
|
| 428 |
+
WINPR_ASSERT(zgfx);
|
| 429 |
+
WINPR_ASSERT(stream);
|
| 430 |
+
WINPR_ASSERT(ppDstData);
|
| 431 |
+
WINPR_ASSERT(pDstSize);
|
| 432 |
+
|
| 433 |
+
*ppDstData = NULL;
|
| 434 |
+
*pDstSize = 0;
|
| 435 |
+
|
| 436 |
+
if (!Stream_CheckAndLogRequiredLength(TAG, stream, 1))
|
| 437 |
+
goto fail;
|
| 438 |
+
|
| 439 |
+
Stream_Read_UINT8(stream, descriptor); /* descriptor (1 byte) */
|
| 440 |
+
|
| 441 |
+
if (descriptor == ZGFX_SEGMENTED_SINGLE)
|
| 442 |
+
{
|
| 443 |
+
if (!zgfx_decompress_segment(zgfx, stream, Stream_GetRemainingLength(stream)))
|
| 444 |
+
goto fail;
|
| 445 |
+
|
| 446 |
+
if (zgfx->OutputCount > 0)
|
| 447 |
+
{
|
| 448 |
+
if (!zgfx_append(zgfx, &pConcatenated, zgfx->OutputCount, &used))
|
| 449 |
+
goto fail;
|
| 450 |
+
if (used != zgfx->OutputCount)
|
| 451 |
+
goto fail;
|
| 452 |
+
*ppDstData = pConcatenated;
|
| 453 |
+
*pDstSize = zgfx->OutputCount;
|
| 454 |
+
}
|
| 455 |
+
}
|
| 456 |
+
else if (descriptor == ZGFX_SEGMENTED_MULTIPART)
|
| 457 |
+
{
|
| 458 |
+
UINT32 segmentSize = 0;
|
| 459 |
+
UINT16 segmentNumber = 0;
|
| 460 |
+
UINT16 segmentCount = 0;
|
| 461 |
+
UINT32 uncompressedSize = 0;
|
| 462 |
+
|
| 463 |
+
if (!Stream_CheckAndLogRequiredLength(TAG, stream, 6))
|
| 464 |
+
goto fail;
|
| 465 |
+
|
| 466 |
+
Stream_Read_UINT16(stream, segmentCount); /* segmentCount (2 bytes) */
|
| 467 |
+
Stream_Read_UINT32(stream, uncompressedSize); /* uncompressedSize (4 bytes) */
|
| 468 |
+
|
| 469 |
+
for (segmentNumber = 0; segmentNumber < segmentCount; segmentNumber++)
|
| 470 |
+
{
|
| 471 |
+
if (!Stream_CheckAndLogRequiredLength(TAG, stream, sizeof(UINT32)))
|
| 472 |
+
goto fail;
|
| 473 |
+
|
| 474 |
+
Stream_Read_UINT32(stream, segmentSize); /* segmentSize (4 bytes) */
|
| 475 |
+
|
| 476 |
+
if (!zgfx_decompress_segment(zgfx, stream, segmentSize))
|
| 477 |
+
goto fail;
|
| 478 |
+
|
| 479 |
+
if (!zgfx_append(zgfx, &pConcatenated, uncompressedSize, &used))
|
| 480 |
+
goto fail;
|
| 481 |
+
}
|
| 482 |
+
|
| 483 |
+
if (used != uncompressedSize)
|
| 484 |
+
goto fail;
|
| 485 |
+
|
| 486 |
+
*ppDstData = pConcatenated;
|
| 487 |
+
*pDstSize = uncompressedSize;
|
| 488 |
+
}
|
| 489 |
+
else
|
| 490 |
+
{
|
| 491 |
+
goto fail;
|
| 492 |
+
}
|
| 493 |
+
|
| 494 |
+
status = 1;
|
| 495 |
+
fail:
|
| 496 |
+
if (status < 0)
|
| 497 |
+
free(pConcatenated);
|
| 498 |
+
return status;
|
| 499 |
+
}
|
| 500 |
+
|
| 501 |
+
static BOOL zgfx_compress_segment(ZGFX_CONTEXT* WINPR_RESTRICT zgfx, wStream* WINPR_RESTRICT s,
|
| 502 |
+
const BYTE* WINPR_RESTRICT pSrcData, UINT32 SrcSize,
|
| 503 |
+
UINT32* WINPR_RESTRICT pFlags)
|
| 504 |
+
{
|
| 505 |
+
/* FIXME: Currently compression not implemented. Just copy the raw source */
|
| 506 |
+
if (!Stream_EnsureRemainingCapacity(s, SrcSize + 1))
|
| 507 |
+
{
|
| 508 |
+
WLog_ERR(TAG, "Stream_EnsureRemainingCapacity failed!");
|
| 509 |
+
return FALSE;
|
| 510 |
+
}
|
| 511 |
+
|
| 512 |
+
(*pFlags) |= ZGFX_PACKET_COMPR_TYPE_RDP8; /* RDP 8.0 compression format */
|
| 513 |
+
Stream_Write_UINT8(s, WINPR_ASSERTING_INT_CAST(uint8_t, *pFlags)); /* header (1 byte) */
|
| 514 |
+
Stream_Write(s, pSrcData, SrcSize);
|
| 515 |
+
return TRUE;
|
| 516 |
+
}
|
| 517 |
+
|
| 518 |
+
int zgfx_compress_to_stream(ZGFX_CONTEXT* WINPR_RESTRICT zgfx, wStream* WINPR_RESTRICT sDst,
|
| 519 |
+
const BYTE* WINPR_RESTRICT pUncompressed, UINT32 uncompressedSize,
|
| 520 |
+
UINT32* WINPR_RESTRICT pFlags)
|
| 521 |
+
{
|
| 522 |
+
int fragment = 0;
|
| 523 |
+
UINT16 maxLength = 0;
|
| 524 |
+
UINT32 totalLength = 0;
|
| 525 |
+
size_t posSegmentCount = 0;
|
| 526 |
+
const BYTE* pSrcData = NULL;
|
| 527 |
+
int status = 0;
|
| 528 |
+
maxLength = ZGFX_SEGMENTED_MAXSIZE;
|
| 529 |
+
totalLength = uncompressedSize;
|
| 530 |
+
pSrcData = pUncompressed;
|
| 531 |
+
|
| 532 |
+
for (; (totalLength > 0) || (fragment == 0); fragment++)
|
| 533 |
+
{
|
| 534 |
+
size_t posDstSize = 0;
|
| 535 |
+
size_t posDataStart = 0;
|
| 536 |
+
|
| 537 |
+
const UINT32 SrcSize = (totalLength > maxLength) ? maxLength : totalLength;
|
| 538 |
+
posDstSize = 0;
|
| 539 |
+
totalLength -= SrcSize;
|
| 540 |
+
|
| 541 |
+
/* Ensure we have enough space for headers */
|
| 542 |
+
if (!Stream_EnsureRemainingCapacity(sDst, 12))
|
| 543 |
+
{
|
| 544 |
+
WLog_ERR(TAG, "Stream_EnsureRemainingCapacity failed!");
|
| 545 |
+
return -1;
|
| 546 |
+
}
|
| 547 |
+
|
| 548 |
+
if (fragment == 0)
|
| 549 |
+
{
|
| 550 |
+
/* First fragment */
|
| 551 |
+
/* descriptor (1 byte) */
|
| 552 |
+
Stream_Write_UINT8(sDst, (totalLength == 0) ? ZGFX_SEGMENTED_SINGLE
|
| 553 |
+
: ZGFX_SEGMENTED_MULTIPART);
|
| 554 |
+
|
| 555 |
+
if (totalLength > 0)
|
| 556 |
+
{
|
| 557 |
+
posSegmentCount = Stream_GetPosition(sDst); /* segmentCount (2 bytes) */
|
| 558 |
+
Stream_Seek(sDst, 2);
|
| 559 |
+
Stream_Write_UINT32(sDst, uncompressedSize); /* uncompressedSize (4 bytes) */
|
| 560 |
+
}
|
| 561 |
+
}
|
| 562 |
+
|
| 563 |
+
if (fragment > 0 || totalLength > 0)
|
| 564 |
+
{
|
| 565 |
+
/* Multipart */
|
| 566 |
+
posDstSize = Stream_GetPosition(sDst); /* size (4 bytes) */
|
| 567 |
+
Stream_Seek(sDst, 4);
|
| 568 |
+
}
|
| 569 |
+
|
| 570 |
+
posDataStart = Stream_GetPosition(sDst);
|
| 571 |
+
|
| 572 |
+
if (!zgfx_compress_segment(zgfx, sDst, pSrcData, SrcSize, pFlags))
|
| 573 |
+
return -1;
|
| 574 |
+
|
| 575 |
+
if (posDstSize)
|
| 576 |
+
{
|
| 577 |
+
/* Fill segment data size */
|
| 578 |
+
const size_t DstSize = Stream_GetPosition(sDst) - posDataStart;
|
| 579 |
+
if (DstSize > UINT32_MAX)
|
| 580 |
+
return -1;
|
| 581 |
+
Stream_SetPosition(sDst, posDstSize);
|
| 582 |
+
Stream_Write_UINT32(sDst, (UINT32)DstSize);
|
| 583 |
+
Stream_SetPosition(sDst, posDataStart + DstSize);
|
| 584 |
+
}
|
| 585 |
+
|
| 586 |
+
pSrcData += SrcSize;
|
| 587 |
+
}
|
| 588 |
+
|
| 589 |
+
Stream_SealLength(sDst);
|
| 590 |
+
|
| 591 |
+
/* fill back segmentCount */
|
| 592 |
+
if (posSegmentCount)
|
| 593 |
+
{
|
| 594 |
+
Stream_SetPosition(sDst, posSegmentCount);
|
| 595 |
+
Stream_Write_UINT16(sDst, WINPR_ASSERTING_INT_CAST(uint16_t, fragment));
|
| 596 |
+
Stream_SetPosition(sDst, Stream_Length(sDst));
|
| 597 |
+
}
|
| 598 |
+
|
| 599 |
+
return status;
|
| 600 |
+
}
|
| 601 |
+
|
| 602 |
+
int zgfx_compress(ZGFX_CONTEXT* WINPR_RESTRICT zgfx, const BYTE* WINPR_RESTRICT pSrcData,
|
| 603 |
+
UINT32 SrcSize, BYTE** WINPR_RESTRICT ppDstData, UINT32* WINPR_RESTRICT pDstSize,
|
| 604 |
+
UINT32* WINPR_RESTRICT pFlags)
|
| 605 |
+
{
|
| 606 |
+
int status = 0;
|
| 607 |
+
wStream* s = Stream_New(NULL, SrcSize);
|
| 608 |
+
status = zgfx_compress_to_stream(zgfx, s, pSrcData, SrcSize, pFlags);
|
| 609 |
+
const size_t pos = Stream_GetPosition(s);
|
| 610 |
+
if (pos > UINT32_MAX)
|
| 611 |
+
status = -1;
|
| 612 |
+
else
|
| 613 |
+
{
|
| 614 |
+
(*ppDstData) = Stream_Buffer(s);
|
| 615 |
+
(*pDstSize) = (UINT32)pos;
|
| 616 |
+
}
|
| 617 |
+
Stream_Free(s, FALSE);
|
| 618 |
+
return status;
|
| 619 |
+
}
|
| 620 |
+
|
| 621 |
+
void zgfx_context_reset(ZGFX_CONTEXT* WINPR_RESTRICT zgfx, BOOL flush)
|
| 622 |
+
{
|
| 623 |
+
zgfx->HistoryIndex = 0;
|
| 624 |
+
}
|
| 625 |
+
|
| 626 |
+
ZGFX_CONTEXT* zgfx_context_new(BOOL Compressor)
|
| 627 |
+
{
|
| 628 |
+
ZGFX_CONTEXT* zgfx = NULL;
|
| 629 |
+
zgfx = (ZGFX_CONTEXT*)calloc(1, sizeof(ZGFX_CONTEXT));
|
| 630 |
+
|
| 631 |
+
if (zgfx)
|
| 632 |
+
{
|
| 633 |
+
zgfx->Compressor = Compressor;
|
| 634 |
+
zgfx->HistoryBufferSize = sizeof(zgfx->HistoryBuffer);
|
| 635 |
+
zgfx_context_reset(zgfx, FALSE);
|
| 636 |
+
}
|
| 637 |
+
|
| 638 |
+
return zgfx;
|
| 639 |
+
}
|
| 640 |
+
|
| 641 |
+
void zgfx_context_free(ZGFX_CONTEXT* zgfx)
|
| 642 |
+
{
|
| 643 |
+
free(zgfx);
|
| 644 |
+
}
|