Re: [Evolution-hackers] WebKit port of the composer

2012-06-04 Thread Milan Crha
On Fri, 2012-06-01 at 23:43 +0100, David Woodhouse wrote:
 Fixing some of the brokenness of the To/Cc/Bcc headers in the composer
 would be wonderful.
 ...
 We should also be able to send a mail with the following headers:
   To: Some people I want to invite to my party : ; 
   Bcc: f...@bar.com
 
 ...

Hi,
both issues are unrelated to Dan's changes, from my point of view, and
I suppose both of them are filled as bugs in bugzilla. Dan's effort is
to get rid of GtkHTML from evolution, while your issues are partly in
ENameSelectorEntry - the first one, the other one in SMTP provider (or
somewhere around, in evolution's sending routines).
Bye,
Milan

___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] WebKit port of the composer

2012-06-01 Thread Dan Vratil
On Friday 01 of June 2012 11:47:31 Matthew Barnes wrote:
 On Fri, 2012-06-01 at 16:49 +0200, Daniel Vratil wrote:
  I have nearly finished reworking the e-mail formatter (details in the
  other
  mail) and I want to slowly turn my attention to the composer. It will be a
  lot of work, but hopefully I'll make it for 3.6 (no, I WILL make it for
  3.6!!!).
 Awesome that you're starting in on that already!

Next week or two will be mostly about fixing the bugs that I've postponed until 
the new formatter is landed. But I want to start shaping the composer in my 
head already :)

 
 3.6 is pretty ambitious though.  We can't be landing major features too
 late in the development cycle and 3.6 is already a doozy.  You need to
 allow adequate time for testing and bug fixing before a stable release.
 
 3.7.1 seems a more realistic target.  I'd be no less thrilled to be rid
 of GtkHtml by 3.8.

I wanted to aviod shipping a hybrid. But if you say so...

 
  If you have any special wish (I bet Andre will come with many feature
  requests from bugzilla :P ) you'd like to have in the new composer,
  please share them now. Regarding features, I want to make exact copy of
  GtkHTMLEditor and only fix the most annoying GtkHTML issues, all crazy
  ideas will be deferred for 3.8 
  :)
 
 Sounds pretty reasonable.
 
 My only request off the top of my head is to not subclass GtkWindow for
 your simple/html editors like GtkhtmlEditor does. 

That was never my intention :)

 That was a mistake on
 my part because it precludes us from embedding the editor in an existing
 window, and you'll likely want to do that later when you start working
 on a Conversation View.  ;)  

I probably missed something...? :)

 I suggest GtkGrid as a base class.

Yup :)

 
 Out of curiosity, what does WebKit/GTK+ use for spell checking?
 Enchant?  Will their APIs allow us to recreate the context menu with
 spelling suggestions plus other editing actions?

Yes, they use Enchant. The API [0] seem to be able to return only single word  
for autocorrect, but I guess we can fill in the missing functionality by 
working directly with Enchant?

Dan


[0] http://webkitgtk.org/reference/webkitgtk/stable/WebKitSpellChecker.html

 
 Matthew Barnes
-- 
dvra...@redhat.com | Evolution developer
GPG Key: 0xC59D614F6F4AE348
Fingerprint: 4EC1 86E3 C54E 0B39 5FDD B5FB C59D 614F 6F4A E348

signature.asc
Description: This is a digitally signed message part.
___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] WebKit port of the composer

2012-06-01 Thread David Woodhouse
On Fri, 2012-06-01 at 16:49 +0200, Daniel Vratil wrote:
 If you have any special wish (I bet Andre will come with many feature 
 requests 
 from bugzilla :P ) you'd like to have in the new composer, please share them 
 now. Regarding features, I want to make exact copy of GtkHTMLEditor and only 
 fix the most annoying GtkHTML issues, all crazy ideas will be deferred for 
 3.8 
 :) 

Fixing some of the brokenness of the To/Cc/Bcc headers in the composer
would be wonderful.

Try this in the current composer:
 1. Paste or enter this address into the To: header, exactly as follows:
Woodhouse, David david.woodho...@intel.com
 
 2. Click somewhere *outside* the To: header entry box.

 3. Realise that the name is stupidly backwards and contains a stupid
comma that shouldn't be in an RFC5322 display-name. (Yay Exchange)

 4. Go back to the To: header entry, and put quotes around the
display-name so it looks like
Woodhouse, David david.woodho...@intel.com

 5. Click somewhere outside the entry, again.

 6. Watch the address magically transform itself to nonsense:
Woodhouse, David david.woodho...@intel.com, David 
david.woodho...@intel.com


In the past when our message *display* also gratuitously screwed with
display-names to *remove* the quotes which were necessary to make them
correct, this used to happen quite a lot when addresses were cut and
pasted.

We should also be able to send a mail with the following headers:
  To: Some people I want to invite to my party : ; 
  Bcc: f...@bar.com

Currently I get an SMTP error when I try that, because it treats the
group in the To: header as a single address, and submits it in 
RCPT TO:Some people... party : ;

-- 
dwmw2


smime.p7s
Description: S/MIME cryptographic signature
___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-hackers