diff --git a/ChangeLog b/ChangeLog index c8c478ed1..e481f567a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2004-12-21 Jeroen Zwartepoorte + + * gnomevfs/Gnomevfs.metadata: Hide the auto-generated ModuleCallback + stuff in favor of the more developer friendly custom bindings. + * gnomevfs/Makefile.am: + * gnomevfs/ModuleCallbackAuthentication.cs: + * gnomevfs/ModuleCallbackFillAuthentication.cs: + * gnomevfs/ModuleCallbackFullAuthentication.cs: + * gnomevfs/ModuleCallbackSaveAuthentication.cs: + * gnomevfs/ModuleCallbackStatusMessage.cs: Complete the module callback + implementations. + 2004-12-20 Mike Kestner * gdk/Gdk.metadata : mark a couple array params. diff --git a/doc/ChangeLog b/doc/ChangeLog index 965a5aef5..3a11077ad 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2004-12-21 Jeroen Zwartepoorte + + * en/Gnome.Vfs/*.xml : updater run for recent changes. Remove obsolete + ModuleCallback*[In|Out].xml files. + 2004-12-20 John Luke * en/Gtk/Widget.xml: finish diff --git a/doc/en/Gnome.Vfs/ModuleCallbackAuthentication.xml b/doc/en/Gnome.Vfs/ModuleCallbackAuthentication.xml index 28dc5262b..2e49d0b26 100644 --- a/doc/en/Gnome.Vfs/ModuleCallbackAuthentication.xml +++ b/doc/en/Gnome.Vfs/ModuleCallbackAuthentication.xml @@ -113,5 +113,81 @@ To be added + + + Property + + System.String + + + + To be added + a + To be added + + + + + Property + + System.String + + + + To be added + a + To be added + + + + + Property + + System.Boolean + + + + To be added + a + To be added + + + + + Property + + Gnome.Vfs.ModuleCallbackAuthentication+AuthenticationType + + + + To be added + a + To be added + + + + + Property + + System.String + + + To be added + a + To be added + + + + + Property + + System.String + + + To be added + a + To be added + + \ No newline at end of file diff --git a/doc/en/Gnome.Vfs/ModuleCallbackAuthenticationIn.xml b/doc/en/Gnome.Vfs/ModuleCallbackAuthenticationIn.xml deleted file mode 100644 index 0d0a6cb34..000000000 --- a/doc/en/Gnome.Vfs/ModuleCallbackAuthenticationIn.xml +++ /dev/null @@ -1,61 +0,0 @@ - - - - gnome-vfs-sharp - [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] - 2.0.0.0 - neutral - - - Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added - To be added - - - System.ValueType - - - - - - - Field - - System.String - - - - - To be added - To be added - - - - - Field - - System.String - - - - - To be added - To be added - - - - - Field - - System.Boolean - - - - - To be added - To be added - - - - diff --git a/doc/en/Gnome.Vfs/ModuleCallbackAuthenticationOut.xml b/doc/en/Gnome.Vfs/ModuleCallbackAuthenticationOut.xml deleted file mode 100644 index 4a8571a07..000000000 --- a/doc/en/Gnome.Vfs/ModuleCallbackAuthenticationOut.xml +++ /dev/null @@ -1,48 +0,0 @@ - - - - gnome-vfs-sharp - [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] - 2.0.0.0 - neutral - - - Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added - To be added - - - System.ValueType - - - - - - - Field - - System.String - - - - - To be added - To be added - - - - - Field - - System.String - - - - - To be added - To be added - - - - diff --git a/doc/en/Gnome.Vfs/ModuleCallbackFillAuthentication.xml b/doc/en/Gnome.Vfs/ModuleCallbackFillAuthentication.xml new file mode 100644 index 000000000..ec8d02aff --- /dev/null +++ b/doc/en/Gnome.Vfs/ModuleCallbackFillAuthentication.xml @@ -0,0 +1,245 @@ + + + + gnome-vfs-sharp + [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] + 2.0.0.0 + neutral + + + Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + To be added + To be added + + + Gnome.Vfs.ModuleCallback + + + + + + + Method + + System.Void + + + + To be added + To be added + + + + + Method + + System.Void + + + + To be added + To be added + + + + + Method + + System.Void + + + + To be added + To be added + + + + + Method + + System.Void + + + + To be added + To be added + + + + + Method + + System.Void + + + + To be added + To be added + + + + + Method + + System.Void + + + + To be added + To be added + + + + + Constructor + + + + To be added + a + To be added + + + + + Property + + System.String + + + + To be added + a + To be added + + + + + Property + + System.String + + + + To be added + a + To be added + + + + + Property + + System.String + + + + To be added + a + To be added + + + + + Property + + System.String + + + + To be added + a + To be added + + + + + Property + + System.Int32 + + + + To be added + a + To be added + + + + + Property + + System.String + + + + To be added + a + To be added + + + + + Property + + System.String + + + + To be added + a + To be added + + + + + Property + + System.String + + + + To be added + a + To be added + + + + + Property + + System.Boolean + + + To be added + a + To be added + + + + + Property + + System.String + + + To be added + a + To be added + + + + + Event + + Gnome.Vfs.ModuleCallbackHandler + + + + To be added + To be added + + + + \ No newline at end of file diff --git a/doc/en/Gnome.Vfs/ModuleCallbackFillAuthenticationIn.xml b/doc/en/Gnome.Vfs/ModuleCallbackFillAuthenticationIn.xml deleted file mode 100644 index 59f25489f..000000000 --- a/doc/en/Gnome.Vfs/ModuleCallbackFillAuthenticationIn.xml +++ /dev/null @@ -1,155 +0,0 @@ - - - - gnome-vfs-sharp - [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] - 2.0.0.0 - neutral - - - Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added - To be added - - - System.ValueType - - - - - - - Field - - Gnome.Vfs.ModuleCallbackFillAuthenticationIn - - - - - To be added - To be added - - - - - Field - - System.String - - - - - To be added - To be added - - - - - Field - - System.String - - - - - To be added - To be added - - - - - Field - - System.String - - - - - To be added - To be added - - - - - Field - - System.String - - - - - To be added - To be added - - - - - Field - - System.Int32 - - - - - To be added - To be added - - - - - Field - - System.String - - - - - To be added - To be added - - - - - Field - - System.String - - - - - To be added - To be added - - - - - Field - - System.String - - - - - To be added - To be added - - - - - Method - - Gnome.Vfs.ModuleCallbackFillAuthenticationIn - - - - - - To be added - a - a - To be added - - - - \ No newline at end of file diff --git a/doc/en/Gnome.Vfs/ModuleCallbackFillAuthenticationOut.xml b/doc/en/Gnome.Vfs/ModuleCallbackFillAuthenticationOut.xml deleted file mode 100644 index 12373aece..000000000 --- a/doc/en/Gnome.Vfs/ModuleCallbackFillAuthenticationOut.xml +++ /dev/null @@ -1,103 +0,0 @@ - - - - gnome-vfs-sharp - [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] - 2.0.0.0 - neutral - - - Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added - To be added - - - System.ValueType - - - - - - - Field - - Gnome.Vfs.ModuleCallbackFillAuthenticationOut - - - - - To be added - To be added - - - - - Field - - System.Boolean - - - - - To be added - To be added - - - - - Field - - System.String - - - - - To be added - To be added - - - - - Field - - System.String - - - - - To be added - To be added - - - - - Field - - System.String - - - - - To be added - To be added - - - - - Method - - Gnome.Vfs.ModuleCallbackFillAuthenticationOut - - - - - - To be added - a - a - To be added - - - - \ No newline at end of file diff --git a/doc/en/Gnome.Vfs/ModuleCallbackSaveAuthentication.xml b/doc/en/Gnome.Vfs/ModuleCallbackSaveAuthentication.xml new file mode 100644 index 000000000..5f407936b --- /dev/null +++ b/doc/en/Gnome.Vfs/ModuleCallbackSaveAuthentication.xml @@ -0,0 +1,247 @@ + + + + gnome-vfs-sharp + [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] + 2.0.0.0 + neutral + + + Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + To be added + To be added + + + Gnome.Vfs.ModuleCallback + + + + + + + Method + + System.Void + + + + To be added + To be added + + + + + Method + + System.Void + + + + To be added + To be added + + + + + Method + + System.Void + + + + To be added + To be added + + + + + Method + + System.Void + + + + To be added + To be added + + + + + Method + + System.Void + + + + To be added + To be added + + + + + Method + + System.Void + + + + To be added + To be added + + + + + Constructor + + + + To be added + a + To be added + + + + + Property + + System.String + + + + To be added + a + To be added + + + + + Property + + System.String + + + + To be added + a + To be added + + + + + Property + + System.String + + + + To be added + a + To be added + + + + + Property + + System.String + + + + To be added + a + To be added + + + + + Property + + System.String + + + + To be added + a + To be added + + + + + Property + + System.Int32 + + + + To be added + a + To be added + + + + + Property + + System.String + + + + To be added + a + To be added + + + + + Property + + System.String + + + + To be added + a + To be added + + + + + Property + + System.String + + + + To be added + a + To be added + + + + + Property + + System.String + + + + To be added + a + To be added + + + + + Event + + Gnome.Vfs.ModuleCallbackHandler + + + + To be added + To be added + + + + \ No newline at end of file diff --git a/doc/en/Gnome.Vfs/ModuleCallbackSaveAuthenticationIn.xml b/doc/en/Gnome.Vfs/ModuleCallbackSaveAuthenticationIn.xml deleted file mode 100644 index f7de1997d..000000000 --- a/doc/en/Gnome.Vfs/ModuleCallbackSaveAuthenticationIn.xml +++ /dev/null @@ -1,181 +0,0 @@ - - - - gnome-vfs-sharp - [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] - 2.0.0.0 - neutral - - - Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added - To be added - - - System.ValueType - - - - - - - Field - - Gnome.Vfs.ModuleCallbackSaveAuthenticationIn - - - - - To be added - To be added - - - - - Field - - System.String - - - - - To be added - To be added - - - - - Field - - System.String - - - - - To be added - To be added - - - - - Field - - System.String - - - - - To be added - To be added - - - - - Field - - System.String - - - - - To be added - To be added - - - - - Field - - System.String - - - - - To be added - To be added - - - - - Field - - System.Int32 - - - - - To be added - To be added - - - - - Field - - System.String - - - - - To be added - To be added - - - - - Field - - System.String - - - - - To be added - To be added - - - - - Field - - System.String - - - - - To be added - To be added - - - - - Field - - System.String - - - - - To be added - To be added - - - - - Method - - Gnome.Vfs.ModuleCallbackSaveAuthenticationIn - - - - - - To be added - a - a - To be added - - - - \ No newline at end of file diff --git a/doc/en/Gnome.Vfs/ModuleCallbackSaveAuthenticationOut.xml b/doc/en/Gnome.Vfs/ModuleCallbackSaveAuthenticationOut.xml deleted file mode 100644 index eeef81b7a..000000000 --- a/doc/en/Gnome.Vfs/ModuleCallbackSaveAuthenticationOut.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - gnome-vfs-sharp - [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] - 2.0.0.0 - neutral - - - Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added - To be added - - - System.ValueType - - - - - - - Field - - Gnome.Vfs.ModuleCallbackSaveAuthenticationOut - - - - - To be added - To be added - - - - - Method - - Gnome.Vfs.ModuleCallbackSaveAuthenticationOut - - - - - - To be added - a - a - To be added - - - - \ No newline at end of file diff --git a/doc/en/Gnome.Vfs/ModuleCallbackStatusMessage.xml b/doc/en/Gnome.Vfs/ModuleCallbackStatusMessage.xml new file mode 100644 index 000000000..d10a2d5aa --- /dev/null +++ b/doc/en/Gnome.Vfs/ModuleCallbackStatusMessage.xml @@ -0,0 +1,156 @@ + + + + gnome-vfs-sharp + [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] + 2.0.0.0 + neutral + + + Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + To be added + To be added + + + Gnome.Vfs.ModuleCallback + + + + + + + Method + + System.Void + + + + To be added + To be added + + + + + Method + + System.Void + + + + To be added + To be added + + + + + Method + + System.Void + + + + To be added + To be added + + + + + Method + + System.Void + + + + To be added + To be added + + + + + Method + + System.Void + + + + To be added + To be added + + + + + Method + + System.Void + + + + To be added + To be added + + + + + Constructor + + + + To be added + a + To be added + + + + + Property + + System.String + + + + To be added + a + To be added + + + + + Property + + System.String + + + + To be added + a + To be added + + + + + Property + + System.Int32 + + + + To be added + a + To be added + + + + + Event + + Gnome.Vfs.ModuleCallbackHandler + + + + To be added + To be added + + + + \ No newline at end of file diff --git a/doc/en/Gnome.Vfs/ModuleCallbackStatusMessageIn.xml b/doc/en/Gnome.Vfs/ModuleCallbackStatusMessageIn.xml deleted file mode 100644 index 9e1e9a5c4..000000000 --- a/doc/en/Gnome.Vfs/ModuleCallbackStatusMessageIn.xml +++ /dev/null @@ -1,90 +0,0 @@ - - - - gnome-vfs-sharp - [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] - 2.0.0.0 - neutral - - - Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added - To be added - - - System.ValueType - - - - - - - Field - - Gnome.Vfs.ModuleCallbackStatusMessageIn - - - - - To be added - To be added - - - - - Field - - System.String - - - - - To be added - To be added - - - - - Field - - System.String - - - - - To be added - To be added - - - - - Field - - System.Int32 - - - - - To be added - To be added - - - - - Method - - Gnome.Vfs.ModuleCallbackStatusMessageIn - - - - - - To be added - a - a - To be added - - - - \ No newline at end of file diff --git a/doc/en/Gnome.Vfs/ModuleCallbackStatusMessageOut.xml b/doc/en/Gnome.Vfs/ModuleCallbackStatusMessageOut.xml deleted file mode 100644 index d06a32ec3..000000000 --- a/doc/en/Gnome.Vfs/ModuleCallbackStatusMessageOut.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - gnome-vfs-sharp - [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] - 2.0.0.0 - neutral - - - Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added - To be added - - - System.ValueType - - - - - - - Field - - Gnome.Vfs.ModuleCallbackStatusMessageOut - - - - - To be added - To be added - - - - - Method - - Gnome.Vfs.ModuleCallbackStatusMessageOut - - - - - - To be added - a - a - To be added - - - - \ No newline at end of file diff --git a/gnomevfs/Gnomevfs.metadata b/gnomevfs/Gnomevfs.metadata index b2b07d5e4..5ad0f0564 100644 --- a/gnomevfs/Gnomevfs.metadata +++ b/gnomevfs/Gnomevfs.metadata @@ -79,21 +79,20 @@ MimeAction MimeApplication 1 - ModuleCallbackAdditionalHeadersIn - ModuleCallbackAdditionalHeadersOut - ModuleCallbackAuthenticationIn - ModuleCallbackAuthenticationOut - 1 - ModuleCallbackFillAuthenticationIn - ModuleCallbackFillAuthenticationOut - ModuleCallbackFullAuthenticationIn - ModuleCallbackFullAuthenticationOut - ModuleCallbackReceivedHeadersIn - ModuleCallbackReceivedHeadersOut - ModuleCallbackSaveAuthenticationIn - ModuleCallbackSaveAuthenticationOut - ModuleCallbackStatusMessageIn - ModuleCallbackStatusMessageOut + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 1 Process ProgressCallbackState diff --git a/gnomevfs/Makefile.am b/gnomevfs/Makefile.am index c8a4f5656..67d285fb0 100644 --- a/gnomevfs/Makefile.am +++ b/gnomevfs/Makefile.am @@ -41,7 +41,10 @@ sources = \ MimeType.cs \ ModuleCallback.cs \ ModuleCallbackAuthentication.cs \ + ModuleCallbackFillAuthentication.cs \ ModuleCallbackFullAuthentication.cs \ + ModuleCallbackSaveAuthentication.cs \ + ModuleCallbackStatusMessage.cs \ Monitor.cs \ Sync.cs \ Vfs.cs \ diff --git a/gnomevfs/ModuleCallbackAuthentication.cs b/gnomevfs/ModuleCallbackAuthentication.cs index 55c750082..bbc130923 100644 --- a/gnomevfs/ModuleCallbackAuthentication.cs +++ b/gnomevfs/ModuleCallbackAuthentication.cs @@ -22,8 +22,7 @@ using System; using System.Runtime.InteropServices; namespace Gnome.Vfs { - public class ModuleCallbackAuthentication : ModuleCallback - { + public class ModuleCallbackAuthentication : ModuleCallback { public enum AuthenticationType { Basic, Digest @@ -34,7 +33,7 @@ namespace Gnome.Vfs { public string Uri; public string Realm; public bool PreviousAttemptFailed; - public AuthenticationType authType; + public AuthenticationType AuthType; private IntPtr _reserved1; private IntPtr _reserved2; } @@ -55,6 +54,49 @@ namespace Gnome.Vfs { ref ModuleCallbackAuthenticationOut authOut, int outSize, IntPtr data, IntPtr resp, IntPtr resp_data); + private string uri; + private string realm; + private bool previousAttemptFailed; + private AuthenticationType authType; + private string username; + private string password; + + public string Uri { + get { + return uri; + } + } + + public string Realm { + get { + return realm; + } + } + + public bool PreviousAttemptFailed { + get { + return previousAttemptFailed; + } + } + + public AuthenticationType AuthType { + get { + return authType; + } + } + + public string Username { + set { + username = value; + } + } + + public string Password { + set { + password = value; + } + } + public override event ModuleCallbackHandler Callback; [DllImport ("gnomevfs-2")] @@ -123,7 +165,20 @@ namespace Gnome.Vfs { private void OnNativeCallback (ref ModuleCallbackAuthenticationIn authIn, int inSize, ref ModuleCallbackAuthenticationOut authOut, int outSize, IntPtr data) { - Console.WriteLine ("OnNativeCallback"); + // Copy the authIn fields. + uri = authIn.Uri; + realm = authIn.Realm; + previousAttemptFailed = authIn.PreviousAttemptFailed; + authType = authIn.AuthType; + + // Activate the callback. + ModuleCallbackHandler handler = Callback; + if (handler != null) { + handler (this); + // Copy the values back to the authOut. + authOut.Username = username; + authOut.Password = password; + } } } } diff --git a/gnomevfs/ModuleCallbackFillAuthentication.cs b/gnomevfs/ModuleCallbackFillAuthentication.cs new file mode 100644 index 000000000..7af3d6bcc --- /dev/null +++ b/gnomevfs/ModuleCallbackFillAuthentication.cs @@ -0,0 +1,227 @@ +// ModuleCallbackFillAuthentication.cs - GnomeVfsModuleCallback* bindings. +// +// Authors: Jeroen Zwartepoorte +// +// Copyright (c) 2004 Jeroen Zwartepoorte +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of version 2 of the Lesser GNU General +// Public License as published by the Free Software Foundation. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this program; if not, write to the +// Free Software Foundation, Inc., 59 Temple Place - Suite 330, +// Boston, MA 02111-1307, USA. + +using System; +using System.Runtime.InteropServices; + +namespace Gnome.Vfs { + public class ModuleCallbackFillAuthentication : ModuleCallback { + [StructLayout(LayoutKind.Sequential)] + internal struct ModuleCallbackFillAuthenticationIn { + public string Uri; + public string Protocol; + public string Server; + public string Object; + public int Port; + public string Authtype; + public string Username; + public string Domain; + private IntPtr _reserved1; + private IntPtr _reserved2; + } + + [StructLayout(LayoutKind.Sequential)] + internal struct ModuleCallbackFillAuthenticationOut { + public bool Valid; + public string Username; + public string Domain; + public string Password; + private IntPtr _reserved1; + private IntPtr _reserved2; + } + + private delegate void ModuleCallbackFillAuthenticationNative (ref ModuleCallbackFillAuthenticationIn authIn, int inSize, + ref ModuleCallbackFillAuthenticationOut authOut, int outSize, + IntPtr data); + + private delegate void ModuleCallbackAsyncFillAuthenticationNative (ref ModuleCallbackFillAuthenticationIn authIn, int inSize, + ref ModuleCallbackFillAuthenticationOut authOut, int outSize, + IntPtr data, IntPtr resp, IntPtr resp_data); + + // ModuleCallbackFillAuthenticationIn fields. + private string uri; + private string protocol; + private string server; + private string obj; + private int port; + private string authtype; + private string username; + private string domain; + // ModuleCallbackFillAuthenticationOut fields. + private bool valid; + private string password; + + public string Uri { + get { + return uri; + } + } + + public string Protocol { + get { + return protocol; + } + } + + public string Server { + get { + return server; + } + } + + public string Object { + get { + return obj; + } + } + + public int Port { + get { + return port; + } + } + + public string AuthType { + get { + return authtype; + } + } + + public string Username { + get { + return username; + } + set { + username = value; + } + } + + public string Domain { + get { + return domain; + } + set { + domain = value; + } + } + + public bool Valid { + set { + valid = value; + } + } + + public string Password { + set { + password = value; + } + } + + public override event ModuleCallbackHandler Callback; + + [DllImport ("gnomevfs-2")] + private static extern void gnome_vfs_module_callback_push (string callback_name, ModuleCallbackFillAuthenticationNative callback, IntPtr data, IntPtr destroy); + + public override void Push () + { + gnome_vfs_module_callback_push ("fill-authentication", + new ModuleCallbackFillAuthenticationNative (OnNativeCallback), + IntPtr.Zero, IntPtr.Zero); + } + + [DllImport ("gnomevfs-2")] + private static extern void gnome_vfs_module_callback_pop (string callback_name); + + public override void Pop () + { + gnome_vfs_module_callback_pop ("fill-authentication"); + } + + [DllImport ("gnomevfs-2")] + private static extern void gnome_vfs_module_callback_set_default (string callback_name, ModuleCallbackFillAuthenticationNative callback, IntPtr data, IntPtr destroy); + + public override void SetDefault () + { + gnome_vfs_module_callback_set_default ("fill-authentication", + new ModuleCallbackFillAuthenticationNative (OnNativeCallback), + IntPtr.Zero, IntPtr.Zero); + } + + [DllImport ("gnomevfs-2")] + private static extern void gnome_vfs_async_module_callback_push (string callback_name, ModuleCallbackAsyncFillAuthenticationNative callback, IntPtr data, IntPtr destroy); + + public override void PushAsync () + { + gnome_vfs_async_module_callback_push ("fill-authentication", + new ModuleCallbackAsyncFillAuthenticationNative (OnNativeAsyncCallback), + IntPtr.Zero, IntPtr.Zero); + } + + [DllImport ("gnomevfs-2")] + private static extern void gnome_vfs_async_module_callback_pop (string callback_name); + + public override void PopAsync () + { + gnome_vfs_async_module_callback_pop ("fill-authentication"); + } + + [DllImport ("gnomevfs-2")] + private static extern void gnome_vfs_async_module_callback_set_default (string callback_name, ModuleCallbackAsyncFillAuthenticationNative callback, IntPtr data, IntPtr destroy); + + public override void SetDefaultAsync () + { + gnome_vfs_async_module_callback_set_default ("fill-authentication", + new ModuleCallbackAsyncFillAuthenticationNative (OnNativeAsyncCallback), + IntPtr.Zero, IntPtr.Zero); + } + + private void OnNativeAsyncCallback (ref ModuleCallbackFillAuthenticationIn authIn, int inSize, + ref ModuleCallbackFillAuthenticationOut authOut, int outSize, + IntPtr data, IntPtr resp, IntPtr resp_data) + { + OnNativeCallback (ref authIn, inSize, ref authOut, outSize, data); + } + + private void OnNativeCallback (ref ModuleCallbackFillAuthenticationIn authIn, int inSize, + ref ModuleCallbackFillAuthenticationOut authOut, int outSize, IntPtr data) + { + // Copy the authIn fields. + uri = authIn.Uri; + protocol = authIn.Protocol; + server = authIn.Server; + obj = authIn.Object; + port = authIn.Port; + authtype = authIn.Authtype; + username = authIn.Username; + domain = authIn.Domain; + + // Activate the callback. + ModuleCallbackHandler handler = Callback; + if (handler != null) { + handler (this); + // Copy the values back to the authOut. + authOut.Valid = valid; + authOut.Username = username; + authOut.Domain = domain; + authOut.Password = password; + } + } + } +} diff --git a/gnomevfs/ModuleCallbackFullAuthentication.cs b/gnomevfs/ModuleCallbackFullAuthentication.cs index 438d059e0..802be690b 100644 --- a/gnomevfs/ModuleCallbackFullAuthentication.cs +++ b/gnomevfs/ModuleCallbackFullAuthentication.cs @@ -22,8 +22,7 @@ using System; using System.Runtime.InteropServices; namespace Gnome.Vfs { - public class ModuleCallbackFullAuthentication : ModuleCallback - { + public class ModuleCallbackFullAuthentication : ModuleCallback { [StructLayout(LayoutKind.Sequential)] internal struct ModuleCallbackFullAuthenticationIn { public ModuleCallbackFullAuthenticationFlags Flags; diff --git a/gnomevfs/ModuleCallbackSaveAuthentication.cs b/gnomevfs/ModuleCallbackSaveAuthentication.cs new file mode 100644 index 000000000..786b7f14c --- /dev/null +++ b/gnomevfs/ModuleCallbackSaveAuthentication.cs @@ -0,0 +1,221 @@ +// ModuleCallbackSaveAuthentication.cs - GnomeVfsModuleCallback* bindings. +// +// Authors: Jeroen Zwartepoorte +// +// Copyright (c) 2004 Jeroen Zwartepoorte +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of version 2 of the Lesser GNU General +// Public License as published by the Free Software Foundation. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this program; if not, write to the +// Free Software Foundation, Inc., 59 Temple Place - Suite 330, +// Boston, MA 02111-1307, USA. + +using System; +using System.Runtime.InteropServices; + +namespace Gnome.Vfs { + public class ModuleCallbackSaveAuthentication : ModuleCallback { + [StructLayout(LayoutKind.Sequential)] + internal struct ModuleCallbackSaveAuthenticationIn { + public string Keyring; + public string Uri; + public string Protocol; + public string Server; + public string Object; + public int Port; + public string Authtype; + public string Username; + public string Domain; + public string Password; + private IntPtr _reserved1; + private IntPtr _reserved2; + } + + [StructLayout(LayoutKind.Sequential)] + internal struct ModuleCallbackSaveAuthenticationOut { + private IntPtr _reserved1; + private IntPtr _reserved2; + } + + private delegate void ModuleCallbackSaveAuthenticationNative (ref ModuleCallbackSaveAuthenticationIn authIn, int inSize, + ref ModuleCallbackSaveAuthenticationOut authOut, int outSize, + IntPtr data); + + private delegate void ModuleCallbackAsyncSaveAuthenticationNative (ref ModuleCallbackSaveAuthenticationIn authIn, int inSize, + ref ModuleCallbackSaveAuthenticationOut authOut, int outSize, + IntPtr data, IntPtr resp, IntPtr resp_data); + + // ModuleCallbackSaveAuthenticationIn fields. + private string keyring; + private string uri; + private string protocol; + private string server; + private string obj; + private int port; + private string authtype; + private string username; + private string domain; + private string password; + + public string Keyring { + get { + return keyring; + } + } + + public string Uri { + get { + return uri; + } + } + + public string Protocol { + get { + return protocol; + } + } + + public string Server { + get { + return server; + } + } + + public string Object { + get { + return obj; + } + } + + public int Port { + get { + return port; + } + } + + public string AuthType { + get { + return authtype; + } + } + + public string Username { + get { + return username; + } + set { + username = value; + } + } + + public string Domain { + get { + return domain; + } + set { + domain = value; + } + } + + public string Password { + get { + return password; + } + } + + public override event ModuleCallbackHandler Callback; + + [DllImport ("gnomevfs-2")] + private static extern void gnome_vfs_module_callback_push (string callback_name, ModuleCallbackSaveAuthenticationNative callback, IntPtr data, IntPtr destroy); + + public override void Push () + { + gnome_vfs_module_callback_push ("save-authentication", + new ModuleCallbackSaveAuthenticationNative (OnNativeCallback), + IntPtr.Zero, IntPtr.Zero); + } + + [DllImport ("gnomevfs-2")] + private static extern void gnome_vfs_module_callback_pop (string callback_name); + + public override void Pop () + { + gnome_vfs_module_callback_pop ("save-authentication"); + } + + [DllImport ("gnomevfs-2")] + private static extern void gnome_vfs_module_callback_set_default (string callback_name, ModuleCallbackSaveAuthenticationNative callback, IntPtr data, IntPtr destroy); + + public override void SetDefault () + { + gnome_vfs_module_callback_set_default ("save-authentication", + new ModuleCallbackSaveAuthenticationNative (OnNativeCallback), + IntPtr.Zero, IntPtr.Zero); + } + + [DllImport ("gnomevfs-2")] + private static extern void gnome_vfs_async_module_callback_push (string callback_name, ModuleCallbackAsyncSaveAuthenticationNative callback, IntPtr data, IntPtr destroy); + + public override void PushAsync () + { + gnome_vfs_async_module_callback_push ("save-authentication", + new ModuleCallbackAsyncSaveAuthenticationNative (OnNativeAsyncCallback), + IntPtr.Zero, IntPtr.Zero); + } + + [DllImport ("gnomevfs-2")] + private static extern void gnome_vfs_async_module_callback_pop (string callback_name); + + public override void PopAsync () + { + gnome_vfs_async_module_callback_pop ("save-authentication"); + } + + [DllImport ("gnomevfs-2")] + private static extern void gnome_vfs_async_module_callback_set_default (string callback_name, ModuleCallbackAsyncSaveAuthenticationNative callback, IntPtr data, IntPtr destroy); + + public override void SetDefaultAsync () + { + gnome_vfs_async_module_callback_set_default ("save-authentication", + new ModuleCallbackAsyncSaveAuthenticationNative (OnNativeAsyncCallback), + IntPtr.Zero, IntPtr.Zero); + } + + private void OnNativeAsyncCallback (ref ModuleCallbackSaveAuthenticationIn authIn, int inSize, + ref ModuleCallbackSaveAuthenticationOut authOut, int outSize, + IntPtr data, IntPtr resp, IntPtr resp_data) + { + OnNativeCallback (ref authIn, inSize, ref authOut, outSize, data); + } + + private void OnNativeCallback (ref ModuleCallbackSaveAuthenticationIn authIn, int inSize, + ref ModuleCallbackSaveAuthenticationOut authOut, int outSize, IntPtr data) + { + // Copy the authIn fields. + keyring = authIn.Keyring; + uri = authIn.Uri; + protocol = authIn.Protocol; + server = authIn.Server; + obj = authIn.Object; + port = authIn.Port; + authtype = authIn.Authtype; + username = authIn.Username; + domain = authIn.Domain; + password = authIn.Password; + + // Activate the callback. + ModuleCallbackHandler handler = Callback; + if (handler != null) { + handler (this); + } + } + } +} diff --git a/gnomevfs/ModuleCallbackStatusMessage.cs b/gnomevfs/ModuleCallbackStatusMessage.cs new file mode 100644 index 000000000..0811ea273 --- /dev/null +++ b/gnomevfs/ModuleCallbackStatusMessage.cs @@ -0,0 +1,153 @@ +// ModuleCallbackStatusMessage.cs - GnomeVfsModuleCallback* bindings. +// +// Authors: Jeroen Zwartepoorte +// +// Copyright (c) 2004 Jeroen Zwartepoorte +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of version 2 of the Lesser GNU General +// Public License as published by the Free Software Foundation. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this program; if not, write to the +// Free Software Foundation, Inc., 59 Temple Place - Suite 330, +// Boston, MA 02111-1307, USA. + +using System; +using System.Runtime.InteropServices; + +namespace Gnome.Vfs { + public class ModuleCallbackStatusMessage : ModuleCallback { + [StructLayout(LayoutKind.Sequential)] + internal struct ModuleCallbackStatusMessageIn { + public string Uri; + public string Message; + public int Percentage; + private IntPtr _reserved1; + private IntPtr _reserved2; + } + + [StructLayout(LayoutKind.Sequential)] + internal struct ModuleCallbackStatusMessageOut { + private int Dummy; + private IntPtr _reserved1; + private IntPtr _reserved2; + } + + private delegate void ModuleCallbackStatusMessageNative (ref ModuleCallbackStatusMessageIn authIn, int inSize, + ref ModuleCallbackStatusMessageOut authOut, int outSize, + IntPtr data); + + private delegate void ModuleCallbackAsyncStatusMessageNative (ref ModuleCallbackStatusMessageIn authIn, int inSize, + ref ModuleCallbackStatusMessageOut authOut, int outSize, + IntPtr data, IntPtr resp, IntPtr resp_data); + + // ModuleCallbackStatusMessageIn fields. + private string uri; + private string message; + private int percentage; + + public string Uri { + get { + return uri; + } + } + + public string Message { + get { + return message; + } + } + + public int Percentage { + get { + return percentage; + } + } + + public override event ModuleCallbackHandler Callback; + + [DllImport ("gnomevfs-2")] + private static extern void gnome_vfs_module_callback_push (string callback_name, ModuleCallbackStatusMessageNative callback, IntPtr data, IntPtr destroy); + + public override void Push () + { + gnome_vfs_module_callback_push ("status-message", + new ModuleCallbackStatusMessageNative (OnNativeCallback), + IntPtr.Zero, IntPtr.Zero); + } + + [DllImport ("gnomevfs-2")] + private static extern void gnome_vfs_module_callback_pop (string callback_name); + + public override void Pop () + { + gnome_vfs_module_callback_pop ("status-message"); + } + + [DllImport ("gnomevfs-2")] + private static extern void gnome_vfs_module_callback_set_default (string callback_name, ModuleCallbackStatusMessageNative callback, IntPtr data, IntPtr destroy); + + public override void SetDefault () + { + gnome_vfs_module_callback_set_default ("status-message", + new ModuleCallbackStatusMessageNative (OnNativeCallback), + IntPtr.Zero, IntPtr.Zero); + } + + [DllImport ("gnomevfs-2")] + private static extern void gnome_vfs_async_module_callback_push (string callback_name, ModuleCallbackAsyncStatusMessageNative callback, IntPtr data, IntPtr destroy); + + public override void PushAsync () + { + gnome_vfs_async_module_callback_push ("status-message", + new ModuleCallbackAsyncStatusMessageNative (OnNativeAsyncCallback), + IntPtr.Zero, IntPtr.Zero); + } + + [DllImport ("gnomevfs-2")] + private static extern void gnome_vfs_async_module_callback_pop (string callback_name); + + public override void PopAsync () + { + gnome_vfs_async_module_callback_pop ("status-message"); + } + + [DllImport ("gnomevfs-2")] + private static extern void gnome_vfs_async_module_callback_set_default (string callback_name, ModuleCallbackAsyncStatusMessageNative callback, IntPtr data, IntPtr destroy); + + public override void SetDefaultAsync () + { + gnome_vfs_async_module_callback_set_default ("status-message", + new ModuleCallbackAsyncStatusMessageNative (OnNativeAsyncCallback), + IntPtr.Zero, IntPtr.Zero); + } + + private void OnNativeAsyncCallback (ref ModuleCallbackStatusMessageIn authIn, int inSize, + ref ModuleCallbackStatusMessageOut authOut, int outSize, + IntPtr data, IntPtr resp, IntPtr resp_data) + { + OnNativeCallback (ref authIn, inSize, ref authOut, outSize, data); + } + + private void OnNativeCallback (ref ModuleCallbackStatusMessageIn authIn, int inSize, + ref ModuleCallbackStatusMessageOut authOut, int outSize, IntPtr data) + { + // Copy the authIn fields. + uri = authIn.Uri; + message = authIn.Message; + percentage = authIn.Percentage; + + // Activate the callback. + ModuleCallbackHandler handler = Callback; + if (handler != null) { + handler (this); + } + } + } +}