Sam Thursfield [Wed, 6 Jul 2011 01:01:40 +0000 (02:01 +0100)]
client library: Use local exception handling; correct API
Sam Thursfield [Tue, 5 Jul 2011 11:59:41 +0000 (12:59 +0100)]
Fix Windows build; tidy up examples
Sam Thursfield [Tue, 5 Jul 2011 11:04:09 +0000 (12:04 +0100)]
Merge branch 'master' of ssh://69.25.196.28:822/srv/git/moonshot-ui
Conflicts:
Makefile.am
Sam Thursfield [Tue, 5 Jul 2011 10:49:02 +0000 (11:49 +0100)]
Client library: make MT-safe; add get_default_identity()
Sam Thursfield [Tue, 5 Jul 2011 09:39:04 +0000 (10:39 +0100)]
Client library: basic D-Bus backend
Sam Thursfield [Mon, 4 Jul 2011 18:44:14 +0000 (19:44 +0100)]
Merge client library with moonshot-ui
(client library is currently in progress)
Alberto Ruiz [Mon, 4 Jul 2011 16:43:57 +0000 (17:43 +0100)]
Added more data fields to IdCard, new TrustAnchor class
Alberto Ruiz [Mon, 4 Jul 2011 13:05:59 +0000 (14:05 +0100)]
Introspection of the element stack
Sam Thursfield [Mon, 4 Jul 2011 12:57:17 +0000 (13:57 +0100)]
Merge branch 'master' of ssh://69.25.196.28:822/srv/git/moonshot-ui
Sam Thursfield [Mon, 4 Jul 2011 12:56:52 +0000 (13:56 +0100)]
Windows: store moonshot.exe location in registry
This will be used by the client library to launch the service automatically
Alberto Ruiz [Mon, 4 Jul 2011 12:56:09 +0000 (13:56 +0100)]
Initial web provisioning parsing, error handling
Alberto Ruiz [Mon, 4 Jul 2011 12:38:29 +0000 (13:38 +0100)]
Created initial parser
Alberto Ruiz [Mon, 4 Jul 2011 11:59:52 +0000 (12:59 +0100)]
Getting webp file information
Alberto Ruiz [Mon, 4 Jul 2011 10:46:39 +0000 (11:46 +0100)]
Checking whether the web provisioning file exists or not
Alberto Ruiz [Fri, 1 Jul 2011 14:11:47 +0000 (15:11 +0100)]
Add initial web provisioning program
Sam Thursfield [Mon, 4 Jul 2011 10:42:57 +0000 (11:42 +0100)]
Merge branch 'master' of gitorious.codethink.co.uk:moonshot-ui/moonshot-ui
Sam Thursfield [Mon, 4 Jul 2011 10:42:12 +0000 (11:42 +0100)]
(Fix CRLF endings in .gitignore)
Sam Thursfield [Fri, 1 Jul 2011 11:31:13 +0000 (12:31 +0100)]
Move API docs to client library
Sam Thursfield [Thu, 30 Jun 2011 16:54:22 +0000 (17:54 +0100)]
Fix Windows test client
Sam Thursfield [Thu, 30 Jun 2011 15:29:37 +0000 (16:29 +0100)]
Add get_identity() certificate parameters
Sam Thursfield [Thu, 30 Jun 2011 15:03:15 +0000 (16:03 +0100)]
Make get_identity() 'service' parameter optional
Sam Thursfield [Thu, 30 Jun 2011 13:22:07 +0000 (14:22 +0100)]
Add get_default_identity()
Sam Thursfield [Thu, 30 Jun 2011 10:37:21 +0000 (11:37 +0100)]
(Whitespace fixes)
Sam Thursfield [Thu, 30 Jun 2011 10:31:22 +0000 (11:31 +0100)]
(Fix typo)
Sam Thursfield [Wed, 29 Jun 2011 17:06:30 +0000 (18:06 +0100)]
Merge branch 'master' of origin
Conflicts:
Makefile.am
src/moonshot-dbus-server.vala
src/moonshot-msrpc-server.vala
Sam Thursfield [Wed, 29 Jun 2011 16:41:36 +0000 (17:41 +0100)]
Fix 'make dist'
This is hairy; conditionally compiling .vala files breaks 'make dist'
because every possible generated .c file is required. I've worked
around the problem by putting all the RPC server code into one file
with a big #if, so that all of the .vala files are always compiled.
It's a bit ugly though.
Sam Thursfield [Wed, 29 Jun 2011 13:12:52 +0000 (14:12 +0100)]
(Add .gitignore)
Sam Thursfield [Wed, 29 Jun 2011 13:09:55 +0000 (14:09 +0100)]
(Rename sources for RPC servers)
Sam Thursfield [Wed, 29 Jun 2011 13:02:20 +0000 (14:02 +0100)]
(Tweak conditionals in Makefile.am)
Sam Thursfield [Wed, 15 Jun 2011 15:37:34 +0000 (16:37 +0100)]
Neaten IdentityRequest callback code
With Vala 0.10.4 a few compiler warnings about mismatched function pointer
types are generated. This is due to Vala's code generation and cannot be
avoided, the warnings are harmless.
Sam Thursfield [Wed, 15 Jun 2011 14:40:08 +0000 (15:40 +0100)]
Fix new identity request code on Windows
Sam Thursfield [Wed, 15 Jun 2011 15:37:34 +0000 (16:37 +0100)]
Neaten IdentityRequest callback code
With Vala 0.10.4 a few compiler warnings about mismatched function pointer
types are generated. This is due to Vala's code generation and cannot be
avoided, the warnings are harmless.
Sam Thursfield [Wed, 15 Jun 2011 14:40:08 +0000 (15:40 +0100)]
Fix new identity request code on Windows
Sam Thursfield [Wed, 15 Jun 2011 13:10:28 +0000 (14:10 +0100)]
(Update README.windows)
Sam Thursfield [Wed, 15 Jun 2011 13:10:12 +0000 (14:10 +0100)]
Update RPC server for new msprc-mingw
Sam Thursfield [Wed, 15 Jun 2011 10:57:52 +0000 (11:57 +0100)]
Make 'enter' in password dialog activate 'OK'
Sam Thursfield [Wed, 15 Jun 2011 10:51:15 +0000 (11:51 +0100)]
Implement 'remember password' option for password requests
Previously the password would be stored in the ID card regardless of whether
the user requested it to be saved.
Sam Thursfield [Wed, 15 Jun 2011 10:50:11 +0000 (11:50 +0100)]
Fix ReturnIdentity callback for vala 0.10
Sam Thursfield [Wed, 15 Jun 2011 10:32:59 +0000 (11:32 +0100)]
Make 'send' action safe when there are no ID requests
Sam Thursfield [Wed, 15 Jun 2011 10:30:06 +0000 (11:30 +0100)]
Fix setting password GtkEntry text to NULL
Sam Thursfield [Wed, 15 Jun 2011 10:23:36 +0000 (11:23 +0100)]
Handle concurrent identity requests correctly
Introduces the IdentityRequest class to replace the single selection
callback on the main window. A simple list of callbacks is not possible
due to limitations of Vala, and this method also allows sharing more
code between the D-Bus and MSRPC servers.
Sam Thursfield [Wed, 15 Jun 2011 13:10:44 +0000 (14:10 +0100)]
Merge branch 'master' of gitorious.codethink.co.uk:moonshot-ui/moonshot-ui
Sam Thursfield [Wed, 15 Jun 2011 13:10:28 +0000 (14:10 +0100)]
(Update README.windows)
Sam Thursfield [Wed, 15 Jun 2011 13:10:12 +0000 (14:10 +0100)]
Update RPC server for new msprc-mingw
Sam Thursfield [Wed, 15 Jun 2011 10:57:52 +0000 (11:57 +0100)]
Make 'enter' in password dialog activate 'OK'
Sam Thursfield [Wed, 15 Jun 2011 10:51:15 +0000 (11:51 +0100)]
Implement 'remember password' option for password requests
Previously the password would be stored in the ID card regardless of whether
the user requested it to be saved.
Sam Thursfield [Wed, 15 Jun 2011 10:50:11 +0000 (11:50 +0100)]
Fix ReturnIdentity callback for vala 0.10
Sam Thursfield [Wed, 15 Jun 2011 10:32:59 +0000 (11:32 +0100)]
Make 'send' action safe when there are no ID requests
Sam Thursfield [Wed, 15 Jun 2011 10:30:06 +0000 (11:30 +0100)]
Fix setting password GtkEntry text to NULL
Sam Thursfield [Wed, 15 Jun 2011 10:23:36 +0000 (11:23 +0100)]
Handle concurrent identity requests correctly
Introduces the IdentityRequest class to replace the single selection
callback on the main window. A simple list of callbacks is not possible
due to limitations of Vala, and this method also allows sharing more
code between the D-Bus and MSRPC servers.
Sam Thursfield [Tue, 14 Jun 2011 14:37:40 +0000 (15:37 +0100)]
Fix missing \ in Makefile.am
Javier Jardón [Tue, 14 Jun 2011 14:35:16 +0000 (15:35 +0100)]
moonshot-dbus-server: Document the get_identity IPC interface
Javier Jardón [Tue, 14 Jun 2011 14:52:03 +0000 (15:52 +0100)]
moonshot-dbus-server: Initialize out parameters
Javier Jardón [Tue, 14 Jun 2011 14:43:54 +0000 (15:43 +0100)]
moonshot-dbus-server: Only return if we choose a ID card that has the requested service
Javier Jardón [Tue, 14 Jun 2011 13:08:06 +0000 (14:08 +0100)]
Fill the selected Id Card with the introduced password
Javier Jardón [Tue, 14 Jun 2011 12:36:13 +0000 (13:36 +0100)]
Work around a bug in vala 0.10 compiler
Javier Jardón [Tue, 14 Jun 2011 12:27:33 +0000 (13:27 +0100)]
dbus-client: Use /org/janet/moonshot instead /org/janet/Moonshot
Javier Jardón [Mon, 13 Jun 2011 17:52:23 +0000 (18:52 +0100)]
Do not use const strings for the copyright and the license
Javier Jardón [Mon, 13 Jun 2011 17:51:43 +0000 (18:51 +0100)]
moonshot-window: Fix typos about the use of Stock icons
Javier Jardón [Mon, 13 Jun 2011 15:34:00 +0000 (16:34 +0100)]
Change license
Javier Jardón [Tue, 14 Jun 2011 15:06:36 +0000 (16:06 +0100)]
Merge branch 'master' of gitorious.codethink.co.uk:moonshot-ui/moonshot-ui into gitorious
Javier Jardón [Tue, 14 Jun 2011 14:35:16 +0000 (15:35 +0100)]
moonshot-dbus-server: Document the get_identity IPC interface
Javier Jardón [Tue, 14 Jun 2011 14:52:03 +0000 (15:52 +0100)]
moonshot-dbus-server: Initialize out parameters
Javier Jardón [Tue, 14 Jun 2011 14:43:54 +0000 (15:43 +0100)]
moonshot-dbus-server: Only return if we choose a ID card that has the requested service
Sam Thursfield [Tue, 14 Jun 2011 14:37:40 +0000 (15:37 +0100)]
Fix missing \ in Makefile.am
Javier Jardón [Tue, 14 Jun 2011 13:08:06 +0000 (14:08 +0100)]
Fill the selected Id Card with the introduced password
Javier Jardón [Tue, 14 Jun 2011 12:36:13 +0000 (13:36 +0100)]
Work around a bug in vala 0.10 compiler
Javier Jardón [Tue, 14 Jun 2011 12:27:33 +0000 (13:27 +0100)]
dbus-client: Use /org/janet/moonshot instead /org/janet/Moonshot
Javier Jardón [Mon, 13 Jun 2011 17:52:23 +0000 (18:52 +0100)]
Do not use const strings for the copyright and the license
Javier Jardón [Mon, 13 Jun 2011 17:51:43 +0000 (18:51 +0100)]
moonshot-window: Fix typos about the use of Stock icons
Javier Jardón [Mon, 13 Jun 2011 15:34:00 +0000 (16:34 +0100)]
Change license
Javier Jardón [Mon, 13 Jun 2011 15:30:54 +0000 (16:30 +0100)]
Add Sam to the list of authors
Javier Jardón [Fri, 10 Jun 2011 18:09:51 +0000 (19:09 +0100)]
Add DBus Activation
So the moonshot ui will be called when a client program request the
dbus service. Ie, It's not necessary a instance of the moonshot ui
running always in the system.
Javier Jardón [Wed, 8 Jun 2011 13:25:06 +0000 (14:25 +0100)]
Add password dialog
This dialog appears when the password is not already saved in the
identity card
Sam Thursfield [Mon, 23 May 2011 14:30:12 +0000 (15:30 +0100)]
(Fix mistake in README.windows)
Sam Thursfield [Mon, 23 May 2011 14:26:54 +0000 (15:26 +0100)]
Merge branch 'windows'
Sam Thursfield [Mon, 23 May 2011 14:25:15 +0000 (15:25 +0100)]
Update build instructions
Sam Thursfield [Mon, 23 May 2011 13:22:45 +0000 (14:22 +0100)]
Make IPC output parameters more vala-y
The outputs are no longer passed around so they can go back to
being ref parameters rather than explicit pointers.
Javier Jardón [Mon, 23 May 2011 13:26:38 +0000 (14:26 +0100)]
configure.ac: Fix dependencies checking
The pkg-config command is discovered through a separate macro,
PKG_PROG_PKG_CONFIG that takes care of identifying the presence (and version)
of pkg-config itself. This macro is called through AC_REQUIRE
so that is expanded before PKG_CHECK_MODULES.
If we have the first call to PKG_CHECK_MODULES inside a bash conditional block,
the expansion of PKG_PROG_PKG_CONFIG will also be conditional,
so the previous code will fail to work.
Javier Jardón [Mon, 23 May 2011 13:26:17 +0000 (14:26 +0100)]
moonshot-utils: Fix typo
Sam Thursfield [Mon, 23 May 2011 11:01:01 +0000 (12:01 +0100)]
Use configure to find win32-specific tools
Sam Thursfield [Sat, 21 May 2011 13:34:41 +0000 (14:34 +0100)]
Update to latest master
Sam Thursfield [Fri, 20 May 2011 13:57:07 +0000 (14:57 +0100)]
Add Windows helpers to Makefile
These will be improved :)
Sam Thursfield [Fri, 20 May 2011 13:52:54 +0000 (14:52 +0100)]
Load icons manually on Windows
Icon themes don't really make sense (or work) when the app is running
in an independent sandbox prefix. Instead, the icons we need will be
put in share/icons and loaded directly using GdkPixbuf.
Sam Thursfield [Fri, 20 May 2011 10:18:09 +0000 (11:18 +0100)]
Search for MIDL.EXE in its default install location
I'm going to recommend installing all the MS tools in their default
Program files folders, because they seem to end up there no matter
what I tell the installer in any case.
Sam Thursfield [Thu, 19 May 2011 16:27:57 +0000 (17:27 +0100)]
Add Gtk runtime to installer
Sam Thursfield [Thu, 19 May 2011 14:20:24 +0000 (15:20 +0100)]
Hardcode Gtk theme settings for Windows
This avoids packaging a gtkrc file which has no real benefit when
being used inside a single-application sandbox prefix.
Sam Thursfield [Thu, 19 May 2011 12:31:10 +0000 (13:31 +0100)]
Enable Windows-specific compilation in Vala
Sam Thursfield [Thu, 19 May 2011 10:44:35 +0000 (11:44 +0100)]
Initial installer code
Sam Thursfield [Thu, 19 May 2011 09:58:10 +0000 (10:58 +0100)]
Fix memory leak
Sam Thursfield [Thu, 19 May 2011 09:57:49 +0000 (10:57 +0100)]
Add msrpc-mingw.m4 to tree
Any autoconf macros used are required to be present on all platforms,
even if not actually called, and we can hardly expect linux users to
have a support package for a Win32 interface installed :)
Sam Thursfield [Wed, 18 May 2011 15:51:50 +0000 (16:51 +0100)]
Fix configure.ac errors when running on *nix
Sam Thursfield [Wed, 18 May 2011 14:59:13 +0000 (15:59 +0100)]
(Remove debugging message)
Sam Thursfield [Wed, 18 May 2011 14:52:56 +0000 (15:52 +0100)]
Keep RPC calls in the same thread
It seems it's not possible to reply to an async RPC call outside
of the thread it's executing in. This means to communicate with the
Gtk+ main loop we must wait in the get_identity() function on a
GCond until the identity has been chosen.
Sam Thursfield [Wed, 18 May 2011 14:25:07 +0000 (15:25 +0100)]
Add MSRPC client and fix server code
Sam Thursfield [Wed, 18 May 2011 11:23:42 +0000 (12:23 +0100)]
Use owned callback for send_identity
This allows user data associated with the callback to be kept
referenced until the callback is replaced.
It seems that there are other unsolved problems with this part
of the code currently, in that the callback is called whenever the
'send' button is pressed even when no actual query is active, which
currently leads to crashes.
Sam Thursfield [Wed, 18 May 2011 09:32:56 +0000 (10:32 +0100)]
Allow disabling maintainer-mode (for MSYS compiles)
Sam Thursfield [Wed, 18 May 2011 09:11:41 +0000 (10:11 +0100)]
Define IPC_DBUS when using DBUS
Sam Thursfield [Wed, 18 May 2011 09:08:42 +0000 (10:08 +0100)]
(Improve configure error message)
Sam Thursfield [Tue, 17 May 2011 18:12:46 +0000 (19:12 +0100)]
Use MS RPC server on Windows