moonshot-ui.git
12 years agoClient library: make MT-safe; add get_default_identity()
Sam Thursfield [Tue, 5 Jul 2011 10:49:02 +0000 (11:49 +0100)]
Client library: make MT-safe; add get_default_identity()

12 years agoClient library: basic D-Bus backend
Sam Thursfield [Tue, 5 Jul 2011 09:39:04 +0000 (10:39 +0100)]
Client library: basic D-Bus backend

12 years agoMerge client library with moonshot-ui
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)

12 years agoMerge branch 'master' of ssh://69.25.196.28:822/srv/git/moonshot-ui
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

12 years agoWindows: store moonshot.exe location in registry
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

12 years agoInitial web provisioning parsing, error handling
Alberto Ruiz [Mon, 4 Jul 2011 12:56:09 +0000 (13:56 +0100)]
Initial web provisioning parsing, error handling

12 years agoCreated initial parser
Alberto Ruiz [Mon, 4 Jul 2011 12:38:29 +0000 (13:38 +0100)]
Created initial parser

12 years agoGetting webp file information
Alberto Ruiz [Mon, 4 Jul 2011 11:59:52 +0000 (12:59 +0100)]
Getting webp file information

12 years agoChecking whether the web provisioning file exists or not
Alberto Ruiz [Mon, 4 Jul 2011 10:46:39 +0000 (11:46 +0100)]
Checking whether the web provisioning file exists or not

12 years agoAdd initial web provisioning program
Alberto Ruiz [Fri, 1 Jul 2011 14:11:47 +0000 (15:11 +0100)]
Add initial web provisioning program

12 years agoMerge branch 'master' of gitorious.codethink.co.uk:moonshot-ui/moonshot-ui
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

12 years ago(Fix CRLF endings in .gitignore)
Sam Thursfield [Mon, 4 Jul 2011 10:42:12 +0000 (11:42 +0100)]
(Fix CRLF endings in .gitignore)

12 years agoMove API docs to client library
Sam Thursfield [Fri, 1 Jul 2011 11:31:13 +0000 (12:31 +0100)]
Move API docs to client library

12 years agoFix Windows test client
Sam Thursfield [Thu, 30 Jun 2011 16:54:22 +0000 (17:54 +0100)]
Fix Windows test client

12 years agoAdd get_identity() certificate parameters
Sam Thursfield [Thu, 30 Jun 2011 15:29:37 +0000 (16:29 +0100)]
Add get_identity() certificate parameters

12 years agoMake get_identity() 'service' parameter optional
Sam Thursfield [Thu, 30 Jun 2011 15:03:15 +0000 (16:03 +0100)]
Make get_identity() 'service' parameter optional

12 years agoAdd get_default_identity()
Sam Thursfield [Thu, 30 Jun 2011 13:22:07 +0000 (14:22 +0100)]
Add get_default_identity()

12 years ago(Whitespace fixes)
Sam Thursfield [Thu, 30 Jun 2011 10:37:21 +0000 (11:37 +0100)]
(Whitespace fixes)

12 years ago(Fix typo)
Sam Thursfield [Thu, 30 Jun 2011 10:31:22 +0000 (11:31 +0100)]
(Fix typo)

12 years agoMerge branch 'master' of origin
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

12 years agoFix 'make dist'
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.

12 years ago(Add .gitignore)
Sam Thursfield [Wed, 29 Jun 2011 13:12:52 +0000 (14:12 +0100)]
(Add .gitignore)

12 years ago(Rename sources for RPC servers)
Sam Thursfield [Wed, 29 Jun 2011 13:09:55 +0000 (14:09 +0100)]
(Rename sources for RPC servers)

12 years ago(Tweak conditionals in Makefile.am)
Sam Thursfield [Wed, 29 Jun 2011 13:02:20 +0000 (14:02 +0100)]
(Tweak conditionals in Makefile.am)

12 years agoNeaten IdentityRequest callback code
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.

12 years agoFix new identity request code on Windows
Sam Thursfield [Wed, 15 Jun 2011 14:40:08 +0000 (15:40 +0100)]
Fix new identity request code on Windows

12 years agoNeaten IdentityRequest callback code
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.

12 years agoFix new identity request code on Windows
Sam Thursfield [Wed, 15 Jun 2011 14:40:08 +0000 (15:40 +0100)]
Fix new identity request code on Windows

12 years ago(Update README.windows)
Sam Thursfield [Wed, 15 Jun 2011 13:10:28 +0000 (14:10 +0100)]
(Update README.windows)

12 years agoUpdate RPC server for new msprc-mingw
Sam Thursfield [Wed, 15 Jun 2011 13:10:12 +0000 (14:10 +0100)]
Update RPC server for new msprc-mingw

12 years agoMake 'enter' in password dialog activate 'OK'
Sam Thursfield [Wed, 15 Jun 2011 10:57:52 +0000 (11:57 +0100)]
Make 'enter' in password dialog activate 'OK'

12 years agoImplement 'remember password' option for password requests
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.

12 years agoFix ReturnIdentity callback for vala 0.10
Sam Thursfield [Wed, 15 Jun 2011 10:50:11 +0000 (11:50 +0100)]
Fix ReturnIdentity callback for vala 0.10

12 years agoMake 'send' action safe when there are no ID requests
Sam Thursfield [Wed, 15 Jun 2011 10:32:59 +0000 (11:32 +0100)]
Make 'send' action safe when there are no ID requests

12 years agoFix setting password GtkEntry text to NULL
Sam Thursfield [Wed, 15 Jun 2011 10:30:06 +0000 (11:30 +0100)]
Fix setting password GtkEntry text to NULL

12 years agoHandle concurrent identity requests correctly
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.

12 years agoMerge branch 'master' of gitorious.codethink.co.uk:moonshot-ui/moonshot-ui
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

12 years ago(Update README.windows)
Sam Thursfield [Wed, 15 Jun 2011 13:10:28 +0000 (14:10 +0100)]
(Update README.windows)

12 years agoUpdate RPC server for new msprc-mingw
Sam Thursfield [Wed, 15 Jun 2011 13:10:12 +0000 (14:10 +0100)]
Update RPC server for new msprc-mingw

12 years agoMake 'enter' in password dialog activate 'OK'
Sam Thursfield [Wed, 15 Jun 2011 10:57:52 +0000 (11:57 +0100)]
Make 'enter' in password dialog activate 'OK'

12 years agoImplement 'remember password' option for password requests
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.

12 years agoFix ReturnIdentity callback for vala 0.10
Sam Thursfield [Wed, 15 Jun 2011 10:50:11 +0000 (11:50 +0100)]
Fix ReturnIdentity callback for vala 0.10

12 years agoMake 'send' action safe when there are no ID requests
Sam Thursfield [Wed, 15 Jun 2011 10:32:59 +0000 (11:32 +0100)]
Make 'send' action safe when there are no ID requests

12 years agoFix setting password GtkEntry text to NULL
Sam Thursfield [Wed, 15 Jun 2011 10:30:06 +0000 (11:30 +0100)]
Fix setting password GtkEntry text to NULL

12 years agoHandle concurrent identity requests correctly
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.

12 years agoFix missing \ in Makefile.am
Sam Thursfield [Tue, 14 Jun 2011 14:37:40 +0000 (15:37 +0100)]
Fix missing \ in Makefile.am

12 years agomoonshot-dbus-server: Document the get_identity IPC interface
Javier Jardón [Tue, 14 Jun 2011 14:35:16 +0000 (15:35 +0100)]
moonshot-dbus-server: Document the get_identity IPC interface

12 years agomoonshot-dbus-server: Initialize out parameters
Javier Jardón [Tue, 14 Jun 2011 14:52:03 +0000 (15:52 +0100)]
moonshot-dbus-server: Initialize out parameters

12 years agomoonshot-dbus-server: Only return if we choose a ID card that has the requested service
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

12 years agoFill the selected Id Card with the introduced password
Javier Jardón [Tue, 14 Jun 2011 13:08:06 +0000 (14:08 +0100)]
Fill the selected Id Card with the introduced password

12 years agoWork around a bug in vala 0.10 compiler
Javier Jardón [Tue, 14 Jun 2011 12:36:13 +0000 (13:36 +0100)]
Work around a bug in vala 0.10 compiler

12 years agodbus-client: Use /org/janet/moonshot instead /org/janet/Moonshot
Javier Jardón [Tue, 14 Jun 2011 12:27:33 +0000 (13:27 +0100)]
dbus-client: Use /org/janet/moonshot instead /org/janet/Moonshot

12 years agoDo not use const strings for the copyright and the license
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

12 years agomoonshot-window: Fix typos about the use of Stock icons
Javier Jardón [Mon, 13 Jun 2011 17:51:43 +0000 (18:51 +0100)]
moonshot-window: Fix typos about the use of Stock icons

12 years agoChange license
Javier Jardón [Mon, 13 Jun 2011 15:34:00 +0000 (16:34 +0100)]
Change license

12 years agoMerge branch 'master' of gitorious.codethink.co.uk:moonshot-ui/moonshot-ui into gitorious
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

12 years agomoonshot-dbus-server: Document the get_identity IPC interface
Javier Jardón [Tue, 14 Jun 2011 14:35:16 +0000 (15:35 +0100)]
moonshot-dbus-server: Document the get_identity IPC interface

12 years agomoonshot-dbus-server: Initialize out parameters
Javier Jardón [Tue, 14 Jun 2011 14:52:03 +0000 (15:52 +0100)]
moonshot-dbus-server: Initialize out parameters

12 years agomoonshot-dbus-server: Only return if we choose a ID card that has the requested service
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

12 years agoFix missing \ in Makefile.am
Sam Thursfield [Tue, 14 Jun 2011 14:37:40 +0000 (15:37 +0100)]
Fix missing \ in Makefile.am

12 years agoFill the selected Id Card with the introduced password
Javier Jardón [Tue, 14 Jun 2011 13:08:06 +0000 (14:08 +0100)]
Fill the selected Id Card with the introduced password

12 years agoWork around a bug in vala 0.10 compiler
Javier Jardón [Tue, 14 Jun 2011 12:36:13 +0000 (13:36 +0100)]
Work around a bug in vala 0.10 compiler

12 years agodbus-client: Use /org/janet/moonshot instead /org/janet/Moonshot
Javier Jardón [Tue, 14 Jun 2011 12:27:33 +0000 (13:27 +0100)]
dbus-client: Use /org/janet/moonshot instead /org/janet/Moonshot

12 years agoDo not use const strings for the copyright and the license
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

12 years agomoonshot-window: Fix typos about the use of Stock icons
Javier Jardón [Mon, 13 Jun 2011 17:51:43 +0000 (18:51 +0100)]
moonshot-window: Fix typos about the use of Stock icons

12 years agoChange license
Javier Jardón [Mon, 13 Jun 2011 15:34:00 +0000 (16:34 +0100)]
Change license

12 years agoAdd Sam to the list of authors
Javier Jardón [Mon, 13 Jun 2011 15:30:54 +0000 (16:30 +0100)]
Add Sam to the list of authors

12 years agoAdd DBus Activation
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.

12 years agoAdd password dialog
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

12 years ago(Fix mistake in README.windows)
Sam Thursfield [Mon, 23 May 2011 14:30:12 +0000 (15:30 +0100)]
(Fix mistake in README.windows)

12 years agoMerge branch 'windows'
Sam Thursfield [Mon, 23 May 2011 14:26:54 +0000 (15:26 +0100)]
Merge branch 'windows'

12 years agoUpdate build instructions
Sam Thursfield [Mon, 23 May 2011 14:25:15 +0000 (15:25 +0100)]
Update build instructions

12 years agoMake IPC output parameters more vala-y
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.

12 years agoconfigure.ac: Fix dependencies checking
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.

12 years agomoonshot-utils: Fix typo
Javier Jardón [Mon, 23 May 2011 13:26:17 +0000 (14:26 +0100)]
moonshot-utils: Fix typo

12 years agoUse configure to find win32-specific tools
Sam Thursfield [Mon, 23 May 2011 11:01:01 +0000 (12:01 +0100)]
Use configure to find win32-specific tools

12 years agoUpdate to latest master
Sam Thursfield [Sat, 21 May 2011 13:34:41 +0000 (14:34 +0100)]
Update to latest master

12 years agoAdd Windows helpers to Makefile
Sam Thursfield [Fri, 20 May 2011 13:57:07 +0000 (14:57 +0100)]
Add Windows helpers to Makefile

These will be improved :)

12 years agoLoad icons manually on Windows
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.

12 years agoSearch for MIDL.EXE in its default install location
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.

12 years agoAdd Gtk runtime to installer
Sam Thursfield [Thu, 19 May 2011 16:27:57 +0000 (17:27 +0100)]
Add Gtk runtime to installer

12 years agoHardcode Gtk theme settings for Windows
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.

12 years agoEnable Windows-specific compilation in Vala
Sam Thursfield [Thu, 19 May 2011 12:31:10 +0000 (13:31 +0100)]
Enable Windows-specific compilation in Vala

12 years agoInitial installer code
Sam Thursfield [Thu, 19 May 2011 10:44:35 +0000 (11:44 +0100)]
Initial installer code

12 years agoFix memory leak
Sam Thursfield [Thu, 19 May 2011 09:58:10 +0000 (10:58 +0100)]
Fix memory leak

12 years agoAdd msrpc-mingw.m4 to tree
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 :)

12 years agoFix configure.ac errors when running on *nix
Sam Thursfield [Wed, 18 May 2011 15:51:50 +0000 (16:51 +0100)]
Fix configure.ac errors when running on *nix

12 years ago(Remove debugging message)
Sam Thursfield [Wed, 18 May 2011 14:59:13 +0000 (15:59 +0100)]
(Remove debugging message)

12 years agoKeep RPC calls in the same thread
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.

12 years agoAdd MSRPC client and fix server code
Sam Thursfield [Wed, 18 May 2011 14:25:07 +0000 (15:25 +0100)]
Add MSRPC client and fix server code

12 years agoUse owned callback for send_identity
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.

12 years agoAllow disabling maintainer-mode (for MSYS compiles)
Sam Thursfield [Wed, 18 May 2011 09:32:56 +0000 (10:32 +0100)]
Allow disabling maintainer-mode (for MSYS compiles)

12 years agoDefine IPC_DBUS when using DBUS
Sam Thursfield [Wed, 18 May 2011 09:11:41 +0000 (10:11 +0100)]
Define IPC_DBUS when using DBUS

12 years ago(Improve configure error message)
Sam Thursfield [Wed, 18 May 2011 09:08:42 +0000 (10:08 +0100)]
(Improve configure error message)

12 years agoUse MS RPC server on Windows
Sam Thursfield [Tue, 17 May 2011 18:12:46 +0000 (19:12 +0100)]
Use MS RPC server on Windows

12 years agomoonshot-dbus-server: Change dbus interface
Javier Jardón [Fri, 20 May 2011 13:43:43 +0000 (14:43 +0100)]
moonshot-dbus-server: Change dbus interface

We now have 6 parameters in the "get_identity" function
We send 3 optional strings (nai, password, service) and return 3
strings (nai, password, certificate).
Also, It returns a boolean that is true is all is correct

12 years agomoonshot-window: Use conditional code to support older vala compilers
Javier Jardón [Thu, 19 May 2011 13:21:38 +0000 (14:21 +0100)]
moonshot-window: Use conditional code to support older vala compilers

12 years agomoonshot-window: hide the window after send the Id card
Javier Jardón [Thu, 19 May 2011 10:48:55 +0000 (11:48 +0100)]
moonshot-window: hide the window after send the Id card

12 years agodbus: Remove some debug code
Javier Jardón [Thu, 19 May 2011 10:44:53 +0000 (11:44 +0100)]
dbus: Remove some debug code

12 years agomoonshot-dbus-server: Initialize return array
Javier Jardón [Thu, 19 May 2011 10:38:36 +0000 (11:38 +0100)]
moonshot-dbus-server: Initialize return array