Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace the webkit_dom_node_get_node_type function with equivalent macros | Tomas Popela | 2014-09-12 | 1 | -3/+3 |
| | |||||
* | EHTMLEditor - Use get_parent_block_node_from_child where possible | Tomas Popela | 2014-09-05 | 1 | -21/+17 |
| | | | | | | This will ensure that the right node (the block node) will be returned when the selection is saved inside the bold/italic/underlined text or inside the anchor. | ||||
* | EHTMLEditorSelection - Disable the selection-changed callback when restoring ↵ | Tomas Popela | 2014-09-05 | 1 | -0/+5 |
| | | | | the caret position | ||||
* | EHTMLEditorSelection - Avoid the runtime warning when the caret was saved ↵ | Tomas Popela | 2014-09-05 | 1 | -1/+2 |
| | | | | | | outside of the body This could happen during the HTML -> plain text conversion. | ||||
* | Fix handling of the selection in the composer when saving the message draft | Tomas Popela | 2014-08-27 | 1 | -33/+37 |
| | | | | | | | When saving the draft don't lose the active selection in the web view. Also restore the selection when the draft is again opened. Also fix the situations when the spell check was not activated when the composer was opened. | ||||
* | EHTMLEditorSelection - Simplify some loops and free more of the WebKit DOM ↵ | Tomas Popela | 2014-08-14 | 1 | -48/+25 |
| | | | | variables | ||||
* | EHTMLEditorView - Fix changing of the format from the list to the Address ↵ | Tomas Popela | 2014-08-14 | 1 | -7/+6 |
| | | | | and Heading 1 - 6 formats | ||||
* | EHTMLEditor - Change the way how the Indent/Unindent and Alignment works | Tomas Popela | 2014-08-14 | 1 | -79/+121 |
| | | | | | | | | | | Before this change the indent was done with BLOCKQUOTE element. But the BLOCKQUOTE elements have marings around them set by the HTML engine. For composer we can override them, but when someone will receive that HTML message he will have unwanted margin around them. To solve this we will use the DIV elements instead. Also for the alignment we switched away from WebKit Editor, but we are doing it ourselves. | ||||
* | EHTMLEditorSelection - Remove just the BR elements that are used for the ↵ | Tomas Popela | 2014-08-07 | 1 | -2/+6 |
| | | | | wrapping unless it is forced | ||||
* | EHTMLEditorSelection - Limit the paragraph minimal width to 5 characters | Tomas Popela | 2014-08-07 | 1 | -3/+6 |
| | |||||
* | EHTMLEditorSelection - Fix the unindentation of the list | Tomas Popela | 2014-08-07 | 1 | -5/+12 |
| | |||||
* | EHTMLEditorSelection - Fix the spell check after settings alignment | Tomas Popela | 2014-08-07 | 1 | -0/+1 |
| | |||||
* | Reduce the memory used by DOM variables | Tomas Popela | 2014-08-07 | 1 | -8/+26 |
| | | | | | Free some of the DOM variables when they are not needed, before they are automatically freed when the frame is destroyed | ||||
* | EHTMLEditorSelection - Introduce e_html_editor_selection_is_collapsed and ↵ | Tomas Popela | 2014-07-31 | 1 | -5/+27 |
| | | | | | | | use it where possible Before we were comparing the selection text to look if the selection is collapsed. Use webkit_dom_range_get_collapsed instead. | ||||
* | EHTMLEditorSelection - Avoid runtime warning when trying to cast DOMText to ↵ | Tomas Popela | 2014-07-21 | 1 | -7/+9 |
| | | | | DOMElement | ||||
* | EHTMLEditorSelection - Optimalize the e_html_editor_selection_restore | Tomas Popela | 2014-07-21 | 1 | -179/+198 |
| | | | | | When the selection was not lost or changed between its save or restore, just remove the selection markers. | ||||
* | EHTMLEditorSelection - When wrapping the paragraph wrap just the text that ↵ | Tomas Popela | 2014-07-21 | 1 | -24/+63 |
| | | | | | | | is after the caret The text before the caret is alredy wrapped so we don't have to rewrap it again. | ||||
* | EHTMLEditor - Fix e_html_editor_view_force_spell_check_for_current_paragraph ↵ | Tomas Popela | 2014-07-21 | 1 | -4/+3 |
| | | | | | | | | and use it where possible Save the end node that we are using to mark the end of the paragraph into the right place to avoid the busy loop. Use e_html_editor_selection_save/restore to avoid lose of selection. | ||||
* | EHTMLEditorSelection - Avoid runtime warning when there is no selection or ↵ | Tomas Popela | 2014-07-15 | 1 | -0/+4 |
| | | | | the whole body element is selected | ||||
* | EHTMLEditor - Fix indent/undent of the block | Tomas Popela | 2014-07-15 | 1 | -155/+213 |
| | |||||
* | Bug 732608 - Composer paste issues | Tomas Popela | 2014-07-15 | 1 | -8/+12 |
| | | | | | | We have to treat the pasting into the normal and the quoted content separately. We have to also correctly process the new lines on the beginning/end of the pasted content to avoid their lose. | ||||
* | EHTMLEditorView - Save selection instead of just caret position when forcing ↵ | Tomas Popela | 2014-07-15 | 1 | -12/+4 |
| | | | | the spell check | ||||
* | EHTMLEditorSelection - Rework how the collapsed selection is saved | Tomas Popela | 2014-07-15 | 1 | -27/+133 |
| | | | | Also fixes the leakage of EHTMLEditorView is some code paths. | ||||
* | Bug 732609 - Cannot decrease indentation | Tomas Popela | 2014-07-02 | 1 | -225/+407 |
| | | | | | Don't use WebKit indent/unindent commands. Make our indentation/undentation code (that was used when there was no selection) selection aware. | ||||
* | EHTMLEditorSelection - Try to move with the caret only when it is possible ↵ | Tomas Popela | 2014-07-01 | 1 | -0/+2 |
| | | | | to save it | ||||
* | EHTMLEditorSelection - Fix wrapping of the anchor elements | Tomas Popela | 2014-06-30 | 1 | -1/+11 |
| | | | | | When there is a whitespace after the link leave it after the link and don't try to wrap before it. | ||||
* | Bug 731416 - [webkit-composer] Busy-loop when replying to an email | Tomas Popela | 2014-06-30 | 1 | -1/+6 |
| | | | | | | When wrapping lines with really long words (more that is defined in Composer settings) the maximal length for wrap could be less than zero. For proper functionality we have to set it to the right value. | ||||
* | EHTMLEditorSelection - Correctly find the element's parent node when ↵ | Tomas Popela | 2014-06-30 | 1 | -19/+46 |
| | | | | changing the block's format | ||||
* | EHTMLEditorSelection - When removing the elements use by composer for quoted ↵ | Tomas Popela | 2014-06-30 | 1 | -0/+6 |
| | | | | content remove all of them | ||||
* | EHTMLEditorSelection - Fix detection of the paragraph format inside the ↵ | Tomas Popela | 2014-06-30 | 1 | -18/+11 |
| | | | | quoted content | ||||
* | Bug 731508 - [webkit-composer] no option to paste as text (without formatting) | Tomas Popela | 2014-06-25 | 1 | -0/+16 |
| | |||||
* | Bug 732202 - [webkit-composer] Paste scrolls view | Tomas Popela | 2014-06-25 | 1 | -1/+24 |
| | | | | | We have to check if the caret is inside the viewport when we are trying to scroll to it. If it is in the viewport we won't scroll. | ||||
* | EHTMLEditor - Process text in convertor when pasting plain text from clipboard | Tomas Popela | 2014-06-23 | 1 | -6/+3 |
| | |||||
* | EHTMLEditor - Make functions that remove quote and wrap elements public | Tomas Popela | 2014-06-19 | 1 | -16/+16 |
| | | | | Use them whenever it's possible and remove their duplicates from EHTMLEditorView. | ||||
* | EHTMLEditorSelection - Fix caret position when changing block format | Tomas Popela | 2014-06-19 | 1 | -0/+14 |
| | |||||
* | EHTMLEditorSelection - Don't try to save selection markers straight into body | Tomas Popela | 2014-06-19 | 1 | -0/+72 |
| | | | | | | This caused unpredictable behavior in functions, which relies on the position of caret/selection. We won't save the selection markers and handle the situation (no selection markers) in those functions. | ||||
* | EHTMLEditorSelection - When changing the format of block set EHTMLEditorView ↵ | Tomas Popela | 2014-06-19 | 1 | -0/+2 |
| | | | | as changed | ||||
* | EHTMLEditor - When setting the body background image set it as its base64 ↵ | Tomas Popela | 2014-06-18 | 1 | -10/+19 |
| | | | | data instead of uri | ||||
* | EHTMLEditor: Move remove_node and remove_node_if_empty to EWebView | Tomas Popela | 2014-06-16 | 1 | -29/+0 |
| | | | | And use them in EHTMLEditorView if possible. | ||||
* | EHTMLEditor - Fix block format change with selection in quoted content | Tomas Popela | 2014-06-13 | 1 | -31/+63 |
| | |||||
* | EHTMLEditorSelection - Return the format of list that we determined for ↵ | Tomas Popela | 2014-06-13 | 1 | -1/+3 |
| | | | | ordered list | ||||
* | EHTMLEditor: Set right width to paragraphs that are quoted | Tomas Popela | 2014-06-11 | 1 | -4/+3 |
| | |||||
* | EHTMLEditor: Fix various bugs in block in/undent | Tomas Popela | 2014-06-10 | 1 | -9/+23 |
| | | | | | | Fix the wrong position of caret when in/undenting empty block and don't lose spell checked words when in/undenting. Also don't insert unnecessary empty lines into plain text version of message when processing indented block. | ||||
* | Bug 731416 - [webkit-composer] Busy-loop when replying to an email | Tomas Popela | 2014-06-10 | 1 | -1/+4 |
| | | | | | Don't try to wrap words that are longer than defined word wrap length, otherwise we will end in busy loop. | ||||
* | Bug 540362: [webkit-composer] Use webkit for composer | Tomas Popela | 2014-06-09 | 1 | -0/+5576 |
Merge wip/webkit-composer branch into master. |