gpgex.git
11 years ago2007-10-08 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 8 Oct 2007 16:39:03 +0000 (16:39 +0000)]
2007-10-08  Marcus Brinkmann  <marcus@g10code.de>

* autogen.sh: Add --add-missing to automake invocation.
* configure.ac (AC_CONFIG_FILES): Add doc/Makefile.
* Makefile.am (SUBDIRS): Add doc.
* doc/: New directory.

11 years ago2007-10-05 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 5 Oct 2007 17:48:11 +0000 (17:48 +0000)]
2007-10-05  Marcus Brinkmann  <marcus@g10code.de>

* main.cc (DllMain): Call WSACleanup.

11 years ago2007-10-05 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 5 Oct 2007 15:03:44 +0000 (15:03 +0000)]
2007-10-05  Marcus Brinkmann  <marcus@g10code.de>

* main.cc (DllMain): Initialize winsock.

11 years ago2007-10-05 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 5 Oct 2007 14:41:25 +0000 (14:41 +0000)]
2007-10-05  Marcus Brinkmann  <marcus@g10code.de>

* po/de.po: Fix translation.

11 years ago2007-10-05 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 5 Oct 2007 14:40:33 +0000 (14:40 +0000)]
2007-10-05  Marcus Brinkmann  <marcus@g10code.de>

* po/de.po: Fix translation.

11 years ago2007-10-05 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 5 Oct 2007 02:29:48 +0000 (02:29 +0000)]
2007-10-05  Marcus Brinkmann  <marcus@g10code.de>

* client.cc (percent_escape): Also escape ':' again.
* gpgex.cc (start_help): Do not sleep.

11 years ago2007-10-05 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 5 Oct 2007 00:48:16 +0000 (00:48 +0000)]
2007-10-05  Marcus Brinkmann  <marcus@g10code.de>

* po/de.po: Update.

11 years ago2007-10-05 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 5 Oct 2007 00:40:21 +0000 (00:40 +0000)]
2007-10-05  Marcus Brinkmann  <marcus@g10code.de>

* client.h (class client_t): Two new member functions
create_checksums and verify_checksums.
* client.cc (client_t::create_checksums, client_t::verify_checksums): New functions.
(client_t::encrypt_sign, client_t::encrypt): Fix spelling.
* gpgex.cc (ID_CMD_CREATE_CHECKSUMS, ID_CMD_VERIFY_CHECKSUMS,
ID_CMD_STR_CREATE_CHECKSUMS, ID_CMD_STR_VERIFY_CHECKSUMS): New macros.
(gpgex_t::QueryContextMenu): Add create and verify checksums menu entries.
(gpgex_t::GetCommandString): Support these here as well.  Translate all strings.

11 years ago2007-10-03 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 3 Oct 2007 10:48:48 +0000 (10:48 +0000)]
2007-10-03  Marcus Brinkmann  <marcus@g10code.de>

* client.cc (percent_escape, escape): New functions.
(client_t::call_assuan): Fix INPUT command.

11 years agoMade registry based homedir work.
Werner Koch [Fri, 21 Sep 2007 14:08:29 +0000 (14:08 +0000)]
Made registry based homedir work.

11 years ago2007-09-16 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sun, 16 Sep 2007 16:27:20 +0000 (16:27 +0000)]
2007-09-16  Marcus Brinkmann  <marcus@g10code.de>

* gpgex.cc (gpgex_t::QueryContextMenu): Implement popup menu
correctly, such that the explorer can clean up correctly (in the
file dialog).
(gpgex_t::GetCommandString): Implement help texts.
(start_help): New function.
(gpgex_t::InvokeCommand): Call start_help.
* Makefile.am (gpgex_LDADD): Add -loleaut32.

11 years ago2007-09-11 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 11 Sep 2007 14:53:06 +0000 (14:53 +0000)]
2007-09-11  Marcus Brinkmann  <marcus@g10code.de>

* client.cc (client_t::call_assuan): Send --nohup as argument to
command.

11 years agopo/
Marcus Brinkmann [Tue, 11 Sep 2007 14:28:55 +0000 (14:28 +0000)]
po/
2007-09-11  Marcus Brinkmann  <marcus@g10code.de>

* po/de.po: Update.

src/
2007-09-11  Marcus Brinkmann  <marcus@g10code.de>

* client.h (class client_t): New members decrypt, verify, encrypt,
and sign.
* client.cc: Add implementations for these.
* gpgex.h: Move all ID_CMD_* macros to ...
* gpgex.cc: ... here.  Add new macros for new commands.
(gpgex_t::InvokeCommand, gpgex_t::QueryContextMenu): Implement new
commands.

11 years ago2007-09-11 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 11 Sep 2007 13:52:39 +0000 (13:52 +0000)]
2007-09-11  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (libgpg-error.a, libassuan.a): Use -f flag with ln.
* registry.h (default_dir): New prototype.
* registry.c (default_dir, standard_homedir): New functions.
* client.cc (default_socket_name): Use default home dir instead
install directory.

11 years agoFix translations.
Marcus Brinkmann [Tue, 11 Sep 2007 13:03:34 +0000 (13:03 +0000)]
Fix translations.

11 years ago2007-09-11 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 10 Sep 2007 22:37:03 +0000 (22:37 +0000)]
2007-09-11  Marcus Brinkmann  <marcus@g10code.de>

* po/de.po: New file.
* po/LINGUAS: Add de.
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Add
--with-libassuan-prefix and --with-gpg-error-prefix.

11 years ago2007-09-05 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 5 Sep 2007 14:41:42 +0000 (14:41 +0000)]
2007-09-05  Marcus Brinkmann  <marcus@g10code.de>

* gpgex.h (class gpgex_t): Make destructor virtual to silence
compiler warning.

11 years ago2007-09-05 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 5 Sep 2007 14:36:45 +0000 (14:36 +0000)]
2007-09-05  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (ICON_NAMES, ICON_SIZES, ICONS): New variables.
(gpgex_SOURCES): Add $(ICONS).

11 years ago2007-09-05 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 5 Sep 2007 14:24:18 +0000 (14:24 +0000)]
2007-09-05  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (gpgex_LDADD): More -lws2_32 after ./libassuan.a.

11 years ago2007-09-04 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 4 Sep 2007 16:07:02 +0000 (16:07 +0000)]
2007-09-04  Marcus Brinkmann  <marcus@g10code.de>

* m4/libassuan.m4, m4/gpg-error.m4: New files.
* configure.ac: Check for libgpg-error and libassuan.
* po/POTFILES.in: Add src/client.cc, src/gpgex.h and src/gpgex.cc.

src/
2007-09-04  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (AM_CFLAGS, AM_CXXFLAGS): Remove $(GPGME_CFLAGS),
add $(LIBASSUAN_CFLAGS) and $(GPG_ERROR_CFLAGS).
(gpgex_SOURCES): Add client.h and client.cc.
(libgpg-error.a, libassuan.a, clean-local): New targets.
(gpgex_LDADD): Add ./libassuan.a and ./libgpg-error.a.
* client.h, client.cc: New files.
* gpgex.cc: Include client.h.
(gpgex_t::InvokeCommand): Use client class to implement bunch of
functionality.
* main.h: Include <gpg-error.h>.
(DEBUG_ASSUAN, REGKEY, TRACE_GPGERR): New macros.
* main.cc: Include <gpg-error.h> and <assuan.h>.
(REGKEY): Deleted.
(debug_init): Free filename and add DEBUG_ASSUAN to debug flags.
(DllMain): Set assuan log stream and prefix, and the error source.

11 years agom4/
Marcus Brinkmann [Mon, 3 Sep 2007 21:51:34 +0000 (21:51 +0000)]
m4/
2007-09-03  Marcus Brinkmann  <marcus@g10code.de>

* m4/Makefile.am (EXTRA_DIST): Remove gpgme.m4 and gpg-error.m4.

src/
2007-09-03  Marcus Brinkmann  <marcus@g10code.de>

* bitmaps.h, bitmaps.cc, icons.rc, icon-key-12.bmp,
icon-key-16.bmp: New files.
* Makefile.am (gpgex_SOURCES): Add icons.rc, bitmaps.h and
bitmaps.cc.
(noinst_gpgex_SOURCES): Add versioninfo.rc.
(gpgex_LDADD): Add -lgdi32.
(resource.o): Remove target.
* gpgex.h: Include bitmaps.h.
(class gpgex_t): New member key_bitmap.
(gpgex_t::gpgex_t, gpgex_t::~gpgex_t): Initialize and deinitialize
it.
* gpgex.cc (gpgex_t::QueryContextMenu): Add dummy bitmap for menu.

11 years ago2007-08-31 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 31 Aug 2007 21:59:38 +0000 (21:59 +0000)]
2007-08-31  Marcus Brinkmann  <marcus@g10code.de>

* gpgex.cc (gpgex_t::QueryContextMenu): Fix menu separators.

11 years ago2007-08-30 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 30 Aug 2007 15:48:38 +0000 (15:48 +0000)]
2007-08-30  Marcus Brinkmann  <marcus@g10code.de>

        * gpgex.h (ID_CMD_HELP, ID_CMD_VERIFY_DECRYPT)
        (ID_CMD_SIGN_ENCRYPT, ID_CMD_IMPORT, ID_CMD_MAX)
        (ID_CMD_STR_HELP, ID_CMD_STR_VERIFY_DECRYPT)
        (ID_CMD_STR_SIGN_ENCRYPT, ID_CMD_STR_IMPORT): New macros.
        (class gpgex_t): New member ALL_FILES_GPG.
        * gpgex.cc (gpgex_t::reset): Initialize THIS->all_files_gpg.
        (gpgex_t::Initialize): Check ending of added files.
        (gpgex_t::QueryContextMenu): Create a more involved dummy menu.
        (gpgex_t::InvokeCommand): Show different commands being invoked.

11 years ago2007-08-30 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 30 Aug 2007 15:41:44 +0000 (15:41 +0000)]
2007-08-30  Marcus Brinkmann  <marcus@g10code.de>

* gpgex-class.cc (gpgex_class::init): Also register the shell
extension for directories.
(gpgex_class::deinit): Unregister shell extension for directories.

11 years ago2007-08-28 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 28 Aug 2007 12:12:14 +0000 (12:12 +0000)]
2007-08-28  Marcus Brinkmann  <marcus@g10code.de>

* main.cc (DllRegisterServer): Do not trash gpgex_server::instance.
* gpgex-class.cc (gpgex_class::init): Now that DllMain loads, we
can access the DLL file name.

11 years ago2007-08-28 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 28 Aug 2007 12:00:29 +0000 (12:00 +0000)]
2007-08-28  Marcus Brinkmann  <marcus@g10code.de>

* main.cc (DllMain): Change return type to "STADPI" to get an
extern "C" declaration.
(_gpgex_debug): Remove lazy initialization cruft.  DllMain is
called now, and initialization works properly.

11 years ago2007-08-28 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 27 Aug 2007 23:43:19 +0000 (23:43 +0000)]
2007-08-28  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (gpgex_LDADD): Add -lole32.
* gpgex.def: Rename functions to not carry the @NR thingie.
* main.h: Many TRACE macros added.
(DEBUG_INIT, DEBUG_CONTEXT_MENU, STRINGIFY, GUID_FMT, GUID_ARG):
New macros.
(_gpgex_debug): New prototype.
* main.cc: Include <stdarg.h>, <stdio.h> and <shlobj.h>.  Add
debugging traces.
(debug_lock, debug_flags, debug_file): New statics.
(get_debug_file, debug_init, debug_deinit): New static functions.
(_gpgex_debug): New function.
(DllMain): Call debug_init.
(DllRegisterServer, DllUnregisterServer): Call SHChangeNotify.
* gpgex.h: Include <vector> and <string>.  Use std::vector and
std::string namespaces.
(class gpgex_t): New member filenames, and new method reset.
* gpgex.cc: Include <vector>, <string>, <stdexcept> and use
std::vector and std::string namespaces.  Add debugging traces.
(gpgex_t::reset): New function.
(gpgex_t::Initialize): Implement dummy function.
(gpgex_t::QueryContextMenu): Implement dummy function.
(gpgex_t::GetCommandString): Implement dummy function.
(gpgex_t::InvokeCommand): Implement dummy function.
* gpgex-factory.cc: Add debugging traces.
* gpgex-class.cc (gpgex_class::init): Implement registration of
shell extension.
(gpgex_class::deinit): Implement corresponding unregistration.

11 years agoInitial commit.
Marcus Brinkmann [Thu, 23 Aug 2007 10:43:51 +0000 (10:43 +0000)]
Initial commit.

11 years agoNew repository
Werner Koch [Thu, 23 Aug 2007 10:13:55 +0000 (10:13 +0000)]
New repository