gpgol.git
14 years agoRenamed to olgpgmain and olgpgcore. Added fucntion to retrieve the
Werner Koch [Fri, 12 Aug 2005 11:26:06 +0000 (11:26 +0000)]
Renamed to olgpgmain and olgpgcore.  Added fucntion to retrieve the
version and a stub to allow displaying a custom version dialog.

14 years agoCleanups, revamped logging. Timo: If you want to provide a new
Werner Koch [Thu, 11 Aug 2005 18:43:28 +0000 (18:43 +0000)]
Cleanups, revamped logging.  Timo: If you want to provide a new
GPGEchg, please move the new logDebug method directly after the
existing one first.

14 years agoMinor fixes. As a temporrary solution we use mapi32.dll as import lib.
Werner Koch [Tue, 9 Aug 2005 17:04:43 +0000 (17:04 +0000)]
Minor fixes.  As a temporrary solution we use mapi32.dll as import lib.
Fix is underway.

14 years agoSee ChangeLog.
Timo Schulz [Tue, 9 Aug 2005 16:37:56 +0000 (16:37 +0000)]
See ChangeLog.

14 years agoSee ChangeLog.
Timo Schulz [Tue, 9 Aug 2005 16:37:02 +0000 (16:37 +0000)]
See ChangeLog.

14 years agoSee ChangeLog.
Timo Schulz [Tue, 9 Aug 2005 10:38:12 +0000 (10:38 +0000)]
See ChangeLog.

14 years agoSplitted MapiGPGME into interface and implementation. This is required
Werner Koch [Tue, 9 Aug 2005 08:22:29 +0000 (08:22 +0000)]
Splitted MapiGPGME into interface and implementation.  This is required
to allow builiding of the DLLS with different compilers.

14 years agoAdded basic build files
Werner Koch [Mon, 8 Aug 2005 14:25:16 +0000 (14:25 +0000)]
Added basic build files

14 years agoAt least it compiles with mingw now.
Werner Koch [Mon, 8 Aug 2005 14:24:42 +0000 (14:24 +0000)]
At least it compiles with mingw now.

14 years ago(no commit message)
Werner Koch [Wed, 3 Aug 2005 10:43:31 +0000 (10:43 +0000)]

14 years agoAdded Makefile
Werner Koch [Wed, 3 Aug 2005 10:40:25 +0000 (10:40 +0000)]
Added Makefile

14 years agoMoved files to the top directory
Werner Koch [Wed, 3 Aug 2005 10:40:04 +0000 (10:40 +0000)]
Moved files to the top directory

14 years agoChanged layout and names of directories. Removed unused cruft.
Werner Koch [Wed, 3 Aug 2005 10:23:59 +0000 (10:23 +0000)]
Changed layout and names of directories.  Removed unused cruft.

14 years ago2005-07-20 Timo Schulz <twoaday@g10code.com>
Timo Schulz [Mon, 25 Jul 2005 13:35:14 +0000 (13:35 +0000)]
2005-07-20  Timo Schulz  <twoaday@g10code.com>

        * MapiGPGME.cpp (addHtmlLineEndings): New.
        (encrypt):Use it here.
        (signEncrypt): Likewise. Free memory in case of errors.
        (decrypt): Free memory in case of the verify procedure.
        Issue a warning when the text of the mail could not be
        updated.
        (isMessageEncrypted): New.
        (countAttachments): Check for null pointers.
        (clearPassphrase): Likewise.
        * config-dialog.c (store_config_value): Support '%val%' input.
        * verify-dialog.c (load_akalist): Return the number of user-ids
        which were added.
        * passphrase-dialog.c (load_secbox): Make sure we really start
        to add the item data at the begin.
        * intern.h: Fixed GCC compiler problem.

14 years ago2005-07-18 Timo Schulz <twoaday@g10code.com>
Timo Schulz [Mon, 25 Jul 2005 13:33:42 +0000 (13:33 +0000)]
2005-07-18  Timo Schulz  <twoaday@g10code.com>

        * GPGExch.cpp (GetPages): Native language support.
        * GPGExch.rc: New dialog in German.

2005-07-05  Timo Schulz  <twoaday@g10code.de>

        * GPGOptionsDlg.cpp (GPGOptionsDlgProc): Support
        for 'sign attachment' flag.

14 years ago2005-07-13 Timo Schulz <ts@g10code.de>
Timo Schulz [Wed, 13 Jul 2005 08:59:47 +0000 (08:59 +0000)]
2005-07-13  Timo Schulz  <ts@g10code.de>

        * MapiGPGME.cpp (sign): Ignore empty bodies.
        (signEncrypt): Likewise. Free recipient memory.
        (encrypt): Modify code so it really works.
        (attachPublicKey): New.
        * engine-gpgme.c (op_export_keys): New.

2005-07-12  Timo Schulz  <ts@g10code.de>

        * MapiGPGME.cpp (displayError): New.
        (writeOptions): Use it here. Simplify the code.
        (signAttachments): New.
        (sign): Sign attachments. Noted by Ralf.
        (processAttachment): Support for sign-only.

2005-07-08  Timo Schulz  <ts@g10code.de>

        * MapiGPGME.cpp (setEnableLogging): New.
        (getEnableLogging): New.
        (logDebug): Move all logging code to this function.
        (readOptions): Automatically enable logging if the
        'LogFile' registry entry is valid.

14 years ago2005-07-05 Timo Schulz <twoaday@g10code.de>
Timo Schulz [Wed, 13 Jul 2005 08:59:28 +0000 (08:59 +0000)]
2005-07-05  Timo Schulz  <twoaday@g10code.de>

        * GPGOptionsDlg.cpp (GPGOptionsDlgProc): Support
        for 'sign attachment' flag.

14 years ago2005-07-03 Timo Schulz <ts@g10code.com>
Timo Schulz [Mon, 4 Jul 2005 08:25:21 +0000 (08:25 +0000)]
2005-07-03  Timo Schulz  <ts@g10code.com>

        * MapiGPGME.cpp (processAttachment): Implement
        the decryption part and only use it if the 'save
        decrypted attachment' flag is set.
        (saveDecryptedAttachment): New.
        (writeOptions): Save 'decrypt attachment' flag.
        (readOptions): Load it here.
        (cleanupTempFiles): Check handle.
        (encrypt): If the message has no body skip the
        procedure.
        (op_decrypt_file): Set recipient callback.
        (decryptAttachments): We do not alter the attachment
        so there is no need to release it again.

        Replace all 'free' with 'xfree'.

2005-07-01  Timo Schulz  <ts@g10code.com>

        * MapiGPGME.cpp (processAttachment): Check that
        the file has a valid PGP extension before we try
        to decrypt the attachment.
        (checkAttachmentExtension): Check if the file
        extension is a vliad PGP extension.

14 years ago2005-06-14 Timo Schulz <twoaday@g10code.de>
Timo Schulz [Wed, 15 Jun 2005 07:31:50 +0000 (07:31 +0000)]
2005-06-14  Timo Schulz  <twoaday@g10code.de>

        * GPGExch.cpp (Help): Use appropriate array boundaries.
        (OnWriteComplete): Removed unused code.
        (CGPGExchExt): There is no need to initialize the COM
        library any longer.
        (~CGPGExchExt): Likewise, but we don't need to unload it.
        * GPGOptionsDlg.cpp (GPGOptionsDlgProc): Support to
        store also the default 'encrypt-to' ID.

14 years ago2005-06-13 Timo Schulz <ts@g10code.com>
Timo Schulz [Wed, 15 Jun 2005 07:31:26 +0000 (07:31 +0000)]
2005-06-13  Timo Schulz  <ts@g10code.com>

        * MapiGPGME.cpp (writeOptions): New Option 'defaultKey'.
        (readOptions): Likewise. Force overwrite 'addDefaultKey'.

2005-06-07  Timo Schulz  <ts@g10code.com>

        * passphrase-dialog.c (decrypt_key_dlg_proc): Add a
        reference to the key object so it will be still valid
        after the dialog is destroyed.
        * MapiGPGME.cpp (freeUnknownKeys): Do not try to free
        the context if no keys are available. Fixed a segv.
        (signEncrypt): The new code now gets a persistent pointer
        to the key.
        * engine-gpgme.c (op_sign_encrypt): Load the right
        dialog to request the passphrase.

14 years ago2005-06-05 Timo Schulz <ts@g10code.com>
Timo Schulz [Mon, 6 Jun 2005 09:46:49 +0000 (09:46 +0000)]
2005-06-05  Timo Schulz  <ts@g10code.com>

        * passphrase-dialog.c (load_recipbox): Check ctx if null.
        (passphrase_callback_box): Different dialogs for sign
        and decrypt.
        (signer_dialog_box): Do not zero the context too early.
        * keycache.c (enum_gpg_seckeys): Also reload if ctx
        is NULL.
        * MapiGPGME.cpp (signEncrypt): Return if the user
        cancelled the signer selection dialog.
        * recipient-dialog.c (recipient_dlg_proc): Check 'Text Mode'
        button.
        * keycache.c (enum_gpg_keys, enum_gpg_seckeys): Fully
        reset the keycache initializing it again. Thanks to Ralf.

2005-06-04  Timo Schulz  <ts@g10code.com>

        * verify-dialog.c (load_sigbox): Only issue a warning
        if the key exists but is not valid.
        Get pkalgo from the signature.
        Fixed format string problem s/%d/%s.
        * config-dialog.c (load_config_value): Close reg handle.
        (config_dlg_proc): Show error if the values could not
:

14 years agoReleased 0.99.1
Timo Schulz [Mon, 6 Jun 2005 09:44:54 +0000 (09:44 +0000)]
Released 0.99.1

14 years ago2005-05-29 Timo Schulz <ts@g10code.com>
Timo Schulz [Tue, 31 May 2005 07:38:00 +0000 (07:38 +0000)]
2005-05-29  Timo Schulz  <ts@g10code.com>

        * passphrase-dialog.c (decrypt_key_dlg_proc): Warning
        if the user cancels the signing process.
        Make the passphrase field invisible if the key is used
        in selection mode.
        (recipient_dlg_proc): Likewise.
        (signer_dialog_box): Return -1 if the user cancelled the
        dialog.
        * engine-gpgme.c (op_sign): Set flags to '1' to indicate
        signing process.
        * config-dialog.c (does_file_exist): Use appropriate
        length for xmalloc. Noted by Sebastian.

14 years ago2005-05-22 Timo Schulz <ts@g10code.com>
Timo Schulz [Mon, 23 May 2005 07:38:34 +0000 (07:38 +0000)]
2005-05-22  Timo Schulz  <ts@g10code.com>

        * MapiGPGME.cpp (createAttachment): New.
        (deleteAttachment): New.
        (encryptAttachments): New.
        (encrypt): Also encrypt the attachments if possible.
        (signEncrypt): Likewise.
        (setEncodingFormat): New.
        (getEncodingFormat): New.
        (readOptions, writeOptions): Store encoding format.
        (MapiGPGME): The default encoding is 'CLASSIC'.

14 years agoRemove corrupted binary files.
Timo Schulz [Thu, 12 May 2005 09:46:47 +0000 (09:46 +0000)]
Remove corrupted binary files.

14 years agoCommit install guide.
Timo Schulz [Wed, 11 May 2005 08:49:46 +0000 (08:49 +0000)]
Commit install guide.

14 years agoUpdated the README.
Timo Schulz [Wed, 11 May 2005 08:46:21 +0000 (08:46 +0000)]
Updated the README.

14 years ago2005-05-10 Timo Schulz <ts@g10code.com>
Timo Schulz [Wed, 11 May 2005 08:25:51 +0000 (08:25 +0000)]
2005-05-10  Timo Schulz  <ts@g10code.com>

        * passphrase-dialog.c (decrypt_key_dlg_proc): Reset 'hide state'.
        Show some text when the user entered a wrong passphrase.
        * MapiGPGME.cpp (findMessageWindow): New.
        (setRTFBody): New.
        (decrypt): Just change the window text, not the MAPI object.
        Call verify() if this is a clearsigned message.
        (getMessageType): New.
        (getAttachmentExtension): New.
        (verify): Extract text and set it.
        * engine-gpgme.c (op_decrypt): Spawn verify dialog if the text
        was also signed.
        (op_decrypt_file): New.
        * verify-dialog.c (load_sigbox): Avoid key cache and give more
        information.
        * passphrase-dialog.c (decrypt_key_dlg_proc): Handle 'x' clicks.
        * logging.c (log_debug): Disable it for release versions.

14 years agoCommit newest DLL version.
Timo Schulz [Wed, 11 May 2005 08:24:58 +0000 (08:24 +0000)]
Commit newest DLL version.

14 years agoAdded missing file.
Timo Schulz [Mon, 9 May 2005 08:57:13 +0000 (08:57 +0000)]
Added missing file.

14 years ago2005-05-03 Timo Schulz <twoaday@g10code.de>
Timo Schulz [Mon, 9 May 2005 08:56:22 +0000 (08:56 +0000)]
2005-05-03  Timo Schulz  <twoaday@g10code.de>

        * GPGExch.cpp: Remove 'Add standard key' items.
        Use symbolic names for constants and not Command1, 2...

14 years ago2005-05-08 Timo Schulz <ts@g10code.com>
Timo Schulz [Mon, 9 May 2005 08:55:04 +0000 (08:55 +0000)]
2005-05-08  Timo Schulz  <ts@g10code.com>

        * MapiGPGME.cpp (readOptions): Handle logfile.
        (writeOptions): Likewise.
        (storePassphrase): New.
        (clearPassphrase): New.
        (passphraseCallback): New. Needs to be static...
        (decrypt): Store passphrase if requested.
        (~MapiGPGME): Free memory.
        (streamOnFile): New.
        (getAttachMethod): New.
        (getAttachFilename): New.
        (setAttachMethod): New.
        (getAttachFilename): New.
        (getMessageHasAttachments): New.
        (getMessageFlags): New.

        * engine-gpgme.c (op_decrypt): New. Factoured out
        code from...
        (op_decrypt_start): ..here. Now call op_decrypt
        with standard parameters.
        (op_decrypt_next): Allow to use a pre-defined
        passphrase callback. Needed for caching.
:

14 years agoAdd missing DLL.
Timo Schulz [Wed, 4 May 2005 07:54:09 +0000 (07:54 +0000)]
Add missing DLL.

14 years ago2005-05-02 Timo Schulz <ts@g10code.com>
Timo Schulz [Wed, 4 May 2005 07:52:26 +0000 (07:52 +0000)]
2005-05-02  Timo Schulz  <ts@g10code.com>

        * MapiGPGME.cpp (fail_if_null, delete_buf): New
        (doCmd): New.
        (setBody): If the body to set is empty, do nothing.
        (freeKeyArray): New.
        (readOptions): New.
        (writeOptions): New.
        Implement all getters and setters for the config code.

        * keycache.c: Now that we use a DLL, we create a
        shared data segment for static data.
        (load_keycache_objects): New.

14 years agoOutlook GPG new version.
Timo Schulz [Wed, 4 May 2005 07:46:57 +0000 (07:46 +0000)]
Outlook GPG new version.

14 years ago2005-04-18 Timo Schulz <ts@g10code.com>
Timo Schulz [Mon, 18 Apr 2005 10:17:31 +0000 (10:17 +0000)]
2005-04-18  Timo Schulz  <ts@g10code.com>

        * recipient-dialog.c (recipient_dialog_box2): New
        way to show pre-selected keys.
        (copy_item): New paramenter for the pos.
        (find_item): Do not select the item.

        * gpgmedlgs.rc (IDD_ENC): New label to describe
        the listbox.

14 years ago2005-04-13 Timo Schulz <ts@g10code.com>
Timo Schulz [Thu, 14 Apr 2005 12:54:57 +0000 (12:54 +0000)]
2005-04-13  Timo Schulz  <ts@g10code.com>

        * engine-gpgme.c (do_init): Alloc keycache objects.
        (do_deinit): Cleanup the mess.
        (op_lookup_keys): New. Allow to find keys via the email.

        * GPGME.cpp (MapiGPGME): New. MAPI interface.

14 years ago2005-04-07 Timo Schulz <ts@g10code.com>
Timo Schulz [Fri, 8 Apr 2005 09:48:20 +0000 (09:48 +0000)]
2005-04-07  Timo Schulz  <ts@g10code.com>

        * verify-dialog.c (load_akalist): New.
        (load_sigbox): Handle bad signatures.
        * keycache.c (enum_gpg_keys): Allow to reset the
        enum context.
        * config-dialog.c (get_open_file_name): Use MAX_PATH.
        (get_folder): Likewise.
        * recipient-dialog.c (load_rsetbox): Modify code to
        add the last keycache item.
        * passphrase-dialog.c (load_secbox): Likewise.

14 years agoImplemented verify dialog.
Timo Schulz [Thu, 7 Apr 2005 11:41:44 +0000 (11:41 +0000)]
Implemented verify dialog.

14 years agoGPGME adjustments.
Timo Schulz [Wed, 6 Apr 2005 15:59:32 +0000 (15:59 +0000)]
GPGME adjustments.
Added crypto engine.

14 years agoUpdated resource file.
Timo Schulz [Wed, 6 Apr 2005 06:04:42 +0000 (06:04 +0000)]
Updated resource file.

14 years agoAdd GPG configuration dialog.
Timo Schulz [Tue, 5 Apr 2005 14:53:11 +0000 (14:53 +0000)]
Add GPG configuration dialog.

14 years agoAdded missing file.c
Timo Schulz [Mon, 4 Apr 2005 06:51:34 +0000 (06:51 +0000)]
Added missing file.c

14 years agoChanged indent style and added some comments.
Timo Schulz [Mon, 4 Apr 2005 06:51:04 +0000 (06:51 +0000)]
Changed indent style and added some comments.

14 years agoInitial checkin of GPGME dialogs for W32.
Timo Schulz [Fri, 18 Mar 2005 13:38:02 +0000 (13:38 +0000)]
Initial checkin of GPGME dialogs for W32.

14 years ago2005-02-14 Timo Schulz <twoaday@g10code.de>
Timo Schulz [Tue, 15 Feb 2005 14:55:06 +0000 (14:55 +0000)]
2005-02-14  Timo Schulz  <twoaday@g10code.de>

        * GDGPGO.cpp (EncryptAndSignFile): Do not check empty
        passphrases. Noted by Dennis Martin.
        (DecryptNextFile): Do not touch .sig files. By Dennis.

14 years ago2005-02-14 Timo Schulz <twoaday@g10code.de>
Timo Schulz [Tue, 15 Feb 2005 14:54:43 +0000 (14:54 +0000)]
2005-02-14  Timo Schulz  <twoaday@g10code.de>

        * GPGExch.cpp (OnRead): Check return value. Noted by Dennis Martin.
        Free all buffers and be stricter with return codes.
        * GPGMessage.cpp (isUnset): Likewise.
        * GPG.cpp (ProcessAttachments): If we only sign without encryption,
        add .sig and not .pgp. Also noted by Dennis Martin.

2005-01-18  Timo Schulz  <twoaday@g10code.de>

        * GPGExch.cpp (ExchLogInfo): New.
        (OnRead): Log all errors.

15 years ago(no commit message)
Timo Schulz [Mon, 1 Nov 2004 11:59:03 +0000 (11:59 +0000)]

15 years ago(no commit message)
Timo Schulz [Tue, 12 Oct 2004 11:05:22 +0000 (11:05 +0000)]

15 years ago(no commit message)
Timo Schulz [Thu, 30 Sep 2004 11:01:02 +0000 (11:01 +0000)]

15 years ago(no commit message)
Timo Schulz [Thu, 9 Sep 2004 11:00:15 +0000 (11:00 +0000)]

15 years ago(no commit message)
Timo Schulz [Tue, 7 Sep 2004 11:22:30 +0000 (11:22 +0000)]

15 years ago(no commit message)
Timo Schulz [Tue, 7 Sep 2004 11:02:40 +0000 (11:02 +0000)]

15 years ago(no commit message)
Timo Schulz [Tue, 7 Sep 2004 11:02:07 +0000 (11:02 +0000)]

15 years ago(no commit message)
Timo Schulz [Mon, 6 Sep 2004 13:01:25 +0000 (13:01 +0000)]

15 years ago(no commit message)
Timo Schulz [Mon, 6 Sep 2004 12:51:02 +0000 (12:51 +0000)]

15 years agoGuess what or better read README
Werner Koch [Mon, 6 Sep 2004 11:04:25 +0000 (11:04 +0000)]
Guess what or better read README