[LyX/master] Remove duplicate call to Cursor::selHandle

2014-03-17 Thread Jean-Marc Lasgouttes
commit 220fe66a67602cd43b08c4c72aee0e39726ad795 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Mon Mar 17 10:55:49 2014 +0100 Remove duplicate call to Cursor::selHandle diff --git a/src/Text3.cpp b/src/Text3.cpp index da9f876..41e47a5 100644 --- a/src/Text3.cpp +++ b/src/Tex

[LyX/master] Also show boundary when displaying Cursor value.

2014-03-17 Thread Jean-Marc Lasgouttes
commit a27333144dc193e71bcef17944b73492b7bbfa2c Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Mon Mar 17 11:14:19 2014 +0100 Also show boundary when displaying Cursor value. diff --git a/src/Cursor.cpp b/src/Cursor.cpp index be32a76..89db3a6 100644 --- a/src/Cursor.cpp +++

[LyX/master] Fix bug #8837: LyX hangs on selection

2014-03-17 Thread Jean-Marc Lasgouttes
commit 264ea28cbd2a4c24dc6b81fa77422898167fa9f4 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Mon Mar 17 11:15:42 2014 +0100 Fix bug #8837: LyX hangs on selection The code that checks whether the cursor was at the end of a row in Cursor::upDowninText was no

[LyX/2.0.x] Fix bug #8837: LyX hangs on selection

2014-03-19 Thread Jean-Marc Lasgouttes
commit e72b3f8e3e259df4fc7340e186d51c95eac8b70e Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Mon Mar 17 11:15:42 2014 +0100 Fix bug #8837: LyX hangs on selection The code that checks whether the cursor was at the end of a row in Cursor::upDowninText was no

[LyX features/str-metrics] Fix bug #9040: In RtL documents end-of-paragraph marker shifts the row display

2014-03-20 Thread Jean-Marc Lasgouttes
The branch, str-metrics, has been updated. - Log - commit 82c77f14dbf637e793f38a62c020b024e2eece44 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Thu Mar 20 11:00:14 2014 +0100 Fix bug #9040: In RtL documen

[LyX/2.2-staging] Do not store Languages objects in completion words lists

2014-03-24 Thread Jean-Marc Lasgouttes
commit 8ac5f09c1783261018a107b54ce398733b8f97a4 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Fri Mar 21 12:24:47 2014 +0100 Do not store Languages objects in completion words lists In the current code each paragraph contains a map<Language, WordList*>,

[LyX/2.1.1-staging] Do not store Languages objects in completion words lists

2014-03-26 Thread Jean-Marc Lasgouttes
commit 531e46f2b863395368d4765ece07ba5bfb93a340 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Fri Mar 21 12:24:47 2014 +0100 Do not store Languages objects in completion words lists In the current code each paragraph contains a map<Language, WordList*>,

[LyX/2.2-staging] Fix oversight in autotools packaging selection

2014-03-31 Thread Jean-Marc Lasgouttes
commit 8ce47ecdc85e89b1ee29524099140eff47a68120 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Thu Mar 27 13:51:25 2014 +0100 Fix oversight in autotools packaging selection The only consequence of this thinko is that the lyx.desktop and the svg icons were installed

[LyX features/str-metrics] Fix various selection-related problems

2014-04-07 Thread Jean-Marc Lasgouttes
The branch, str-metrics, has been updated. - Log - commit 14f8a24b4aeeb4671a3117fb79ba56343a022f0e Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Fri Mar 21 11:56:42 2014 +0100 Fix various selection-related pr

Re: [LyX/master] Update INSTALL

2014-04-10 Thread Jean-Marc Lasgouttes
Le 10/04/14 22:37, Vincent van Ravesteijn a écrit : * Other things to note -If you make modifications to files in src/ (for example by applying a -patch), you will need to have the GNU gettext package installed, due -to some dependencies in the makefiles. You can get the latest version -from:

[LyX features/str-metrics] Draw right-to-left text string-wise using Qt

2014-04-17 Thread Jean-Marc Lasgouttes
The branch, str-metrics, has been updated. - Log - commit b792eff2d6bd70f877ea217bccfd60893e7bd3ad Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Thu Apr 10 16:37:21 2014 +0200 Draw right-to-left text strin

[LyX/master] Respect group integrity when removing stuff from the Undo stack.

2014-04-20 Thread Jean-Marc Lasgouttes
commit 4356f2254af1a0ea5e4215e29881296452b1e8d9 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Mon Apr 7 16:46:47 2014 +0200 Respect group integrity when removing stuff from the Undo stack. Fixes: #9079 diff --git a/src/Undo.cpp b/src/Undo.cpp index a335873..3

[LyX/2.2-staging] Use subdir-objects for automake 1.14 or newer

2014-04-20 Thread Jean-Marc Lasgouttes
commit 330b4fbf5caddba022b1d86676c839ba31ecaa8e Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Sun Apr 20 20:20:25 2014 +0200 Use subdir-objects for automake 1.14 or newer This option is going to be mandatory starting with automake 2.0. LyX is able to use this

[LyX/2.1.x] Respect group integrity when removing stuff from the Undo stack.

2014-04-20 Thread Jean-Marc Lasgouttes
commit 6bce9abfee581c5ca03670a5b7f8e50dd911d83e Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Mon Apr 7 16:46:47 2014 +0200 Respect group integrity when removing stuff from the Undo stack. Fixes: #9079 diff --git a/src/Undo.cpp b/src/Undo.cpp index a335873..3

[LyX features/str-metrics] Speed-up drawing when text is not justified.

2014-05-02 Thread Jean-Marc Lasgouttes
The branch, str-metrics, has been updated. - Log - commit 37494dfbccb8c0d9a66cedd059efc39903c44385 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Fri May 2 15:03:20 2014 +0200 Speed-up drawing whe

[LyX/master] Cleanup the code for boost configuration

2014-05-05 Thread Jean-Marc Lasgouttes
commit 3cbd343a55780dc646833bc3a1d3373909e950ca Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Mon Apr 21 16:10:49 2014 +0200 Cleanup the code for boost configuration diff --git a/config/common.am b/config/common.am index 6f7e310..cabc35a 100644 --- a/config/common.am +++ b/

[LyX/master] Turn an error message into a Debug::LOCALE warning

2014-05-06 Thread Jean-Marc Lasgouttes
commit ac9a2fa9f8eea4afc9d5afee48328b900838aa34 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Tue May 6 14:29:42 2014 +0200 Turn an error message into a Debug::LOCALE warning diff --git a/src/support/Messages.cpp b/src/support/Messages.cpp index ef6bb2d..fd5d228 100644 ---

[LyX/2.1.x] Turn an error message into a Debug::LOCALE warning

2014-05-06 Thread Jean-Marc Lasgouttes
commit bd206ff5f5b2902ef87baa27c359f7a1b58f418d Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Tue May 6 14:29:42 2014 +0200 Turn an error message into a Debug::LOCALE warning diff --git a/src/support/Messages.cpp b/src/support/Messages.cpp index ef6bb2d..fd5d228 100644 ---

[LyX/master] Rely on Qt to handle small caps text

2014-05-07 Thread Jean-Marc Lasgouttes
commit 015333d987ae029aa1a6d3bcab3e96d70658a256 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Wed May 7 12:06:56 2014 +0200 Rely on Qt to handle small caps text This has the advantage of simplifying our code and to produce the correct output: the small capitals

[LyX features/str-metrics] Update description of what has been done in the branch.

2014-05-12 Thread Jean-Marc Lasgouttes
The branch, str-metrics, has been updated. - Log - commit c8d3203da8ffa9e0547a06822a529b0b801144ee Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Mon May 12 11:02:22 2014 +0200 Update description of what ha

[LyX features/str-metrics] Remove support for LyXRC::force_paint_single_char

2014-05-14 Thread Jean-Marc Lasgouttes
The branch, str-metrics, has been updated. - Log - commit f5ed81b270502b31cf2a6969573dc7488714ea31 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Wed May 14 15:36:44 2014 +0200 Remove support for

[LyX/master] Rename misleading parameter.

2014-05-14 Thread Jean-Marc Lasgouttes
commit 3b3d28cf8ed2168637ff7a3491a82a330e70c28e Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Wed May 14 18:03:37 2014 +0200 Rename misleading parameter. ... and a typo and some whitespace. diff --git a/src/mathed/MathData.h b/src/mathed/MathData.h index 6f92852..e

[LyX/master] Do not forget last word of paragraph in completion

2014-05-16 Thread Jean-Marc Lasgouttes
commit ee7c4db72a9dd392d7e1e34463c3ae11fce670ee Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Fri May 16 15:17:10 2014 +0200 Do not forget last word of paragraph in completion With the old code, the last word of a paragraph would not be added in the completio

[LyX/master] Remove unused parameter.

2014-05-16 Thread Jean-Marc Lasgouttes
commit f9e0d4a595bb568ca5f952e507d39487b05b8dd7 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Fri May 16 15:25:17 2014 +0200 Remove unused parameter. diff --git a/src/insets/InsetSeparator.cpp b/src/insets/InsetSeparator.cpp index 68b2fb8..ba98552 100644 --- a/src/

[LyX features/str-metrics] Fix positionning of cursor

2014-05-16 Thread Jean-Marc Lasgouttes
The branch, str-metrics, has been updated. - Log - commit 7b9b69f33c6d9bf0e6611e5fb8c406f3d3cefb80 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Wed May 14 17:46:43 2014 +0200 Fix positionning of

[LyX features/str-metrics] Fix bug where x2pos could return negative values

2014-05-16 Thread Jean-Marc Lasgouttes
The branch, str-metrics, has been updated. - Log - commit 13551a9f203a5f8d2d28ea9af4eeeb7fe15171b0 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Fri May 16 20:59:22 2014 +0200 Fix bug where x2pos could

[LyX features/str-metrics] Fix breaking of loooong word in RTL languages

2014-05-19 Thread Jean-Marc Lasgouttes
The branch, str-metrics, has been updated. - Log - commit c73940031ae93d40fb72798a4373eb7771090caa Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Mon May 19 11:35:15 2014 +0200 Fix breaking of lng word

[LyX/master] Code cleanup: get rid of RenderPreview::status()

2014-05-20 Thread Jean-Marc Lasgouttes
commit 275b7af75e5367c449d0f680d0965994c92d37d9 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Tue May 20 12:19:26 2014 +0200 Code cleanup: get rid of RenderPreview::status() This method is a proxy for LyXRC::preview that forces to forward declare some wrapper

[LyX features/str-metrics] Do not split words at selection boundary

2014-05-27 Thread Jean-Marc Lasgouttes
The branch, str-metrics, has been updated. - Log - commit 0096a8716c2d5219ac0854a076bcaa73dab86be3 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Fri May 23 18:59:53 2014 +0200 Do not split words at sel

[LyX features/str-metrics] Some cleanup of previous patch

2014-05-27 Thread Jean-Marc Lasgouttes
The branch, str-metrics, has been updated. - Log - commit 544c7e01ca7039b11bf9304213ca9cd94e580c09 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Tue May 27 16:50:49 2014 +0200 Some cleanup of previous patch

[LyX features/str-metrics] Do not allow Row::shortenIfNeeded to create empty rows

2014-05-30 Thread Jean-Marc Lasgouttes
The branch, str-metrics, has been updated. - Log - commit 06e4a11deb2678fb712546c7ae571b7ce5f70b86 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Fri May 30 18:50:35 2014 +0200 Do not allow Row::shortenIf

[LyX/2.1.x] Make TextMetrics::editXY more robust

2014-06-04 Thread Jean-Marc Lasgouttes
commit d4faf127d74643ce10a1a5240ea02601336e48fe Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Tue May 27 15:14:14 2014 +0200 Make TextMetrics::editXY more robust This fixes a crash in examples/fa/splash.lyx when selecting text representing menu entries. This h

[LyX/master] Fix crash when accepting change

2014-06-05 Thread Jean-Marc Lasgouttes
commit 7c3d1d7423908c4e2481f320876400622f78f359 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Thu Jun 5 12:18:09 2014 +0200 Fix crash when accepting change The problem is the use of cursor movement methods to update cursor. Cursor::forwardPos() steps into

[LyX/master] Fix checkmark on current entry for InsetSeparator context menu

2014-06-13 Thread Jean-Marc Lasgouttes
commit 01ba22efffaa06e8c8ee4730b5d63ffd16e95c9f Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Fri Jun 13 10:30:25 2014 +0200 Fix checkmark on current entry for InsetSeparator context menu The code supposed to do that contained a typo and was not completely correct.

[LyX features/str-metrics] Remove obsolete code to handle Hebrew and Arabic characters

2014-06-13 Thread Jean-Marc Lasgouttes
The branch, str-metrics, has been updated. - Log - commit 7a23bfc80742c7ecaf758073e818c63c07ec0009 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Fri Jun 13 16:33:58 2014 +0200 Remove obsolete code to handle

[LyX features/str-metrics] Update 00README_STR_METRICS_BRANCH

2014-06-25 Thread Jean-Marc Lasgouttes
The branch, str-metrics, has been updated. - Log - commit 0bdf12ff4ff041d8a37abd8c7b7d625e17302acb Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Fri Jun 13 16:46:05 2014 +0200 Update 00README_STR_METRICS_

[LyX features/str-metrics] Fix Qt5 incompatibility

2014-07-01 Thread Jean-Marc Lasgouttes
The branch, str-metrics, has been updated. - Log - commit 14ef2214cd68ad75e5a309595ef27bc34f5b4dba Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Tue Jul 1 23:54:14 2014 +0200 Fix Qt5 incompatibility S

Re: [LyX/master] Update autotools for building with Qt5.

2014-07-19 Thread Jean-Marc Lasgouttes
Le 19/07/14 03:41, Enrico Forestieri a écrit : commit 4bdeae27334536164cb7e37da9a9e491075fd682 Author: Enrico Forestieri Date: Sat Jul 19 03:34:28 2014 +0200 Update autotools for building with Qt5. The option --enable-qt5 allows configuring for Qt5. The default is

[LyX/2.1.x] Fix error spotted by cppcheck

2014-07-19 Thread Jean-Marc Lasgouttes
commit fa67a6ae89e94fcbd1dbd7446320a7806b74ff21 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Sun Jul 20 00:04:45 2014 +0200 Fix error spotted by cppcheck diff --git a/src/support/lstrings.cpp b/src/support/lstrings.cpp index 7af8aae..d4b1ccf 100644 --- a/src/support/lstrin

[LyX/2.1.x] Do not forget last word of paragraph in completion

2014-07-19 Thread Jean-Marc Lasgouttes
commit 3e60f58a92e6860d904b8c1373b9968603a1d180 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Fri May 16 15:17:10 2014 +0200 Do not forget last word of paragraph in completion With the old code, the last word of a paragraph would not be added in the completio

[LyX features/str-metrics] Revert optimization where several words are drawn at the same time

2014-07-20 Thread Jean-Marc Lasgouttes
The branch, str-metrics, has been updated. - Log - commit bbe6e9f593fc585ee9f5d69275487bf3ddbcaf47 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Sun Jul 20 18:54:31 2014 +0200 Revert optimization where several

[LyX/master] Handle boundary in getColumnNearX (and more)

2014-07-25 Thread Jean-Marc Lasgouttes
commit ff608f46fdb40aa565190aa050e49df16ee96040 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Sun Jul 21 20:22:32 2013 +0200 Handle boundary in getColumnNearX (and more) Use proper font everywhere for end-of-par marker Fix getColumnNearX for RT

[LyX/master] Revert temporarily changes related to InsetSeparator

2014-07-25 Thread Jean-Marc Lasgouttes
commit edcedf33243d549c24a9ed9e37383f9c7d14d1e0 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Wed Jun 25 12:39:58 2014 +0200 Revert temporarily changes related to InsetSeparator This is to avoid many conflicts with the str-metrics branch. diff --git a/src/TextMetri

[LyX/master] Get rid of ugly font metrics workarounds.

2014-07-25 Thread Jean-Marc Lasgouttes
commit 01c9bcb4328b286a922215c3c1a1583949c33d10 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Sun Jul 21 12:24:08 2013 +0200 Get rid of ugly font metrics workarounds. Now we have proper ligatures and kerning on screen... diff --git a/src/LyXRC.cpp b/src/LyXRC.cpp

[LyX/master] Fix line breaking algorithm

2014-07-25 Thread Jean-Marc Lasgouttes
commit 6258cebb77d63928313cae14bbba5d7f092d0a5e Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Tue Jul 23 16:24:01 2013 +0200 Fix line breaking algorithm Break words longer than the screen width. The code is more complicated than I would like, but I have no bette

[LyX/master] Change TextMetrics::rowHeight to setRowHeight

2014-07-25 Thread Jean-Marc Lasgouttes
commit cf3107793295e5550c67a1bd7e26776309e5dbc7 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Fri Jun 14 19:24:29 2013 +0200 Change TextMetrics::rowHeight to setRowHeight This new function takes a row as parameter. Also, add direct access to Row::dim_ diff

[LyX/master] Store in the Row object the list of elements it contains

2014-07-25 Thread Jean-Marc Lasgouttes
commit 452fb6035999c88279a72b3e374bd69d39a3d67f Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Tue Jun 25 14:57:09 2013 +0200 Store in the Row object the list of elements it contains * Row now contains a vector of Elements * replace Row::dump by a proper <&

[LyX/master] Implement proper handling of RtL in Rows

2014-07-25 Thread Jean-Marc Lasgouttes
commit b2eba66083f41b242faaad45d192abeb7d7480d2 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Wed Jul 17 00:59:34 2013 +0200 Implement proper handling of RtL in Rows Now the row elements are sorted according to RtL/LtR. Some additional cleanup. diff

[LyX/master] Fix getColumnNearX for nested insets

2014-07-25 Thread Jean-Marc Lasgouttes
commit 059de2d04c40c63a013896e99a444b65529eb82d Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Fri Oct 11 16:12:20 2013 +0200 Fix getColumnNearX for nested insets The horizontal position of the inset was not taken in account. The rounding is not always th

[LyX/master] Implement real string width computation

2014-07-25 Thread Jean-Marc Lasgouttes
commit 8539f756ed20092fc6ea6273e77299963f6cc7b6 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Tue Jun 25 08:18:25 2013 +0200 Implement real string width computation Important features: * widths are cached in a map * old behavior is still use

[LyX/master] Small fixes to cursor positioning.

2014-07-25 Thread Jean-Marc Lasgouttes
commit 9ba97a85f06c6f0272d43e61a86cceefbec8fa29 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Fri Dec 20 12:12:27 2013 +0100 Small fixes to cursor positioning. Two small fixed to Row::Element::x2pos: * fix position for elements that are not strings * make ro

[LyX/master] New reverseRTL implementation

2014-07-25 Thread Jean-Marc Lasgouttes
commit 443a45342743615977b024ebfbaf1ecf1af7ddc8 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Wed Mar 19 14:44:31 2014 +0100 New reverseRTL implementation The old version was a bit complicated and wrong for RtL paragraphs containing LtR text. THe new one is c

[LyX/master] Change getColumnNearX to getPosNearX

2014-07-25 Thread Jean-Marc Lasgouttes
commit f686375eecc92a2658425a6bb93ee184c5049ec1 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Fri Dec 20 14:02:31 2013 +0100 Change getColumnNearX to getPosNearX The semantics was bad: the old implementation would return pos - row.pos(), and then all user of the fu

[LyX/master] Update README and do a small code cleanup

2014-07-25 Thread Jean-Marc Lasgouttes
commit 1a4b3201e747c45d12044105d86cfc4a3f11af3c Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Mon Mar 3 15:29:37 2014 +0100 Update README and do a small code cleanup diff --git a/00README_STR_METRICS_BRANCH b/00README_STR_METRICS_BRANCH index 1983dfe..1bb7026

[LyX/master] Remove debug code from TextMetrics

2014-07-25 Thread Jean-Marc Lasgouttes
commit b0543270a9055dcd43df3d72e2a5584895c77ac4 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Fri May 2 15:55:10 2014 +0200 Remove debug code from TextMetrics After this, it is possible to remove one parameter to getPosNearX. diff --git a/src/Cursor.cpp b/src/Curs

[LyX/master] Implement a better solution for painting of RTL text

2014-07-25 Thread Jean-Marc Lasgouttes
commit 3013ce3716603e751152e162a5b155cd455c745e Author: Jean-Marc Lasgouttes <jean-marc.lasgout...@inria.fr> Date: Wed Apr 30 16:15:31 2014 +0200 Implement a better solution for painting of RTL text Instead of relying on character range (Hebrew or Arabic) or character dir

[LyX/master] Update description of what has been done in the branch.

2014-07-25 Thread Jean-Marc Lasgouttes
commit 973adaf7d1eb874741ac140c987901367dd9e887 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Mon May 12 11:02:22 2014 +0200 Update description of what has been done in the branch. diff --git a/00README_STR_METRICS_BRANCH b/00README_STR_METRICS_BRANCH index 73f5ed3..0

[LyX/master] Fix positionning of cursor

2014-07-25 Thread Jean-Marc Lasgouttes
commit 2ff639a0e6d051c6411fe6655cefc36a4e902211 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Wed May 14 17:46:43 2014 +0200 Fix positionning of cursor The old implementation of Row::Element::pos2x and x2pos did not work correctly with Arabic text, because char

[LyX/master] Draw right-to-left text string-wise using Qt

2014-07-25 Thread Jean-Marc Lasgouttes
commit ea1a5cb80eaef71bc1cb7021bc3dbf2ef7a793b7 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Thu Apr 10 16:37:21 2014 +0200 Draw right-to-left text string-wise using Qt We rely on Qt built-in unicode support for handling Arabic and Hebrew compose char

[LyX/master] Fix various selection-related problems

2014-07-25 Thread Jean-Marc Lasgouttes
commit b8170e0e01f486fefb94b19566e24dd391419c12 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Fri Mar 21 11:56:42 2014 +0100 Fix various selection-related problems All these problems are related to what happens at the extreme points of rows * since V

[LyX/master] Do not split words at selection boundary

2014-07-25 Thread Jean-Marc Lasgouttes
commit ec42b2e4c9daa458df1c5c0454d61fbe4987701c Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Fri May 23 18:59:53 2014 +0200 Do not split words at selection boundary The display of partially-selected word is now done in a new Painter::text method which di

[LyX/master] Move some text from the readme file to relevant source files

2014-07-25 Thread Jean-Marc Lasgouttes
commit 4bd5a7e883b76f36d1ebc3ae1c9a6765da5165f6 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Mon Jun 30 15:55:30 2014 +0200 Move some text from the readme file to relevant source files diff --git a/00README_STR_METRICS_BRANCH b/00README_STR_METRICS_BRANCH index 6668623..1

[LyX/master] Get rid of rtl_support preference

2014-07-25 Thread Jean-Marc Lasgouttes
commit 45eb314a863a7bc76c2880f2352b7b430eeaf1c0 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Wed Jul 9 20:12:06 2014 +0200 Get rid of rtl_support preference This variable was introduced to guard against any bad consequence of the then-new right-to-left lan

[LyX/master] Remove obsolete code to handle Hebrew and Arabic characters

2014-07-25 Thread Jean-Marc Lasgouttes
commit d6337a248847aa4c72f8a813d92d349d1035c79f Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Fri Jun 13 16:33:58 2014 +0200 Remove obsolete code to handle Hebrew and Arabic characters This is handled by Qt now. Note that a small optimization (do not dra

[LyX/master] Fix bug #9040: In RtL documents end-of-paragraph marker shifts the row display

2014-07-25 Thread Jean-Marc Lasgouttes
commit 7167d90b505f9b98db3de00d081023afed473913 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Thu Mar 20 11:00:14 2014 +0100 Fix bug #9040: In RtL documents end-of-paragraph marker shifts the row display The fact that the bug was still present in the features/str-m

[LyX/master] Fix breaking of loooong word in RTL languages

2014-07-25 Thread Jean-Marc Lasgouttes
commit e1c4cb7146e0dfd25bb705178618da251bdfde8c Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Mon May 19 11:35:15 2014 +0200 Fix breaking of lng word in RTL languages Moreover, breaks row at insets when there is no suitable separator. Also make th

[LyX/master] Remove LyXRC option force_paint_single_char

2014-07-25 Thread Jean-Marc Lasgouttes
commit 9d5c9471104cedc4600daab101ef1958f48dab76 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Tue Jul 8 23:12:09 2014 +0200 Remove LyXRC option force_paint_single_char It was not honored anymore. diff --git a/00README_STR_METRICS_BRANCH b/00README_STR_METRICS_

[LyX/master] Some fixes related to RTL text

2014-07-25 Thread Jean-Marc Lasgouttes
commit 8649ac7fe66ac0efca20918fff2fea051cc88512 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Wed Mar 19 14:44:53 2014 +0100 Some fixes related to RTL text * fix handling of boundary situations in Row::Elements::x2pos; * fix handling of boundary situ

[LyX/master] Speed-up drawing when text is not justified.

2014-07-25 Thread Jean-Marc Lasgouttes
commit 7734270163ed1e689dc5f7db06a85f876f96f399 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Fri May 2 15:03:20 2014 +0200 Speed-up drawing when text is not justified. Do not cut strings at separators in RowPainter when text is not justified. This speeds-up pa

[LyX/master] Revert optimization where several words are drawn at the same time

2014-07-25 Thread Jean-Marc Lasgouttes
commit bbe6e9f593fc585ee9f5d69275487bf3ddbcaf47 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Sun Jul 20 18:54:31 2014 +0200 Revert optimization where several words are drawn at the same time This can only be done where splitting of string is identical in row br

[LyX/master] More fixes to cursorX

2014-07-25 Thread Jean-Marc Lasgouttes
commit 79014c7551de71488bb18e58ae8344cdbbde9490 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Fri Oct 18 17:55:30 2013 +0200 More fixes to cursorX In Row::Element::pos2x, handle the boundaries in a cleaner way. diff --git a/src/Row.cpp b/src/Row.cpp index d

[LyX/master] Re-implement getColumNearX using row elements

2014-07-25 Thread Jean-Marc Lasgouttes
commit f215bb3b926d8b7d9240f0f08793fc3d731d5398 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Sun Jul 21 20:22:32 2013 +0200 Re-implement getColumNearX using row elements The code is now so much shorter that it is scary... Expect that further changes will be nec

[LyX/master] Reintroduce the code related to InsetEnvSeparator

2014-07-25 Thread Jean-Marc Lasgouttes
commit f3924a52b32cdddec0fbcac40d631a3f27761e37 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Mon Jun 30 11:45:24 2014 +0200 Reintroduce the code related to InsetEnvSeparator This commits (tries to) reintroduce properly the code that was reverted at the beg

[LyX/master] Add a readme file describing the state of the branch

2014-07-25 Thread Jean-Marc Lasgouttes
commit b044696d592b1602015828eb3db66c54562751c9 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Tue Jun 18 10:18:32 2013 +0200 Add a readme file describing the state of the branch diff --git a/00README_STR_METRICS_BRANCH b/00README_STR_METRICS_BRANCH new file mode 100644

[LyX/master] Cleanup TextMetrics::rowBreakPoint.

2014-07-25 Thread Jean-Marc Lasgouttes
commit fe8c3b4348b47099171957ea76daf9ccc019a5d1 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Fri Jun 14 00:01:49 2013 +0200 Cleanup TextMetrics::rowBreakPoint. Collect properly all strings to compute string metrics Some changes with respect to existin

[LyX/master] Rename rowpainter.* to RowPainter.*

2014-07-25 Thread Jean-Marc Lasgouttes
commit b54deb36839c97886ac9ff607e248cf16b0443c7 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Fri Jul 25 21:55:08 2014 +0200 Rename rowpainter.* to RowPainter.* This is the convention for files that define classes. diff --git a/src/Makefile.am b/src/Makefile.am

[LyX/master] Whitespace only

2014-07-25 Thread Jean-Marc Lasgouttes
commit 5e126d2920df9fd48d24967f7b0a4a04e61aac65 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Fri Jul 25 22:35:08 2014 +0200 Whitespace only diff --git a/src/BufferView.cpp b/src/BufferView.cpp index bc8162b..faa08f0 100644 --- a/src/BufferView.cpp +++ b/src/BufferVi

[LyX features/scroll-reloaded] Fine tune the scroll offset setting code

2014-07-26 Thread Jean-Marc Lasgouttes
The branch, scroll-reloaded, has been updated. - Log - commit b5e4ba6fa7cf3937a09eed143f4e17f236afe424 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Sat Jul 26 16:25:56 2014 +0200 Fine tune the scroll offset s

[LyX/master] Whitespace

2014-07-26 Thread Jean-Marc Lasgouttes
commit 7f7dc5d314791ed6894d9d18cda032f32093af21 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Sat Jul 26 16:29:23 2014 +0200 Whitespace diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index 8a8c212..ac8e723 100644 --- a/src/insets/InsetTabular.cpp +++

[LyX features/scroll-reloaded] Remove the special horizontal scrolling support in InsetTabular

2014-07-26 Thread Jean-Marc Lasgouttes
The branch, scroll-reloaded, has been updated. - Log - commit 3e44bc8bee905a4997ff55b4d8c9ecf0f292d274 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Sat Jul 26 22:25:48 2014 +0200 Remove the special hori

[LyX features/scroll-reloaded] Fix some display glitches

2014-07-27 Thread Jean-Marc Lasgouttes
The branch, scroll-reloaded, has been updated. - Log - commit 14ba5154aa10a7e0f7977e17f3b66483727644d1 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Sun Jul 27 17:30:57 2014 +0200 Fix some display gl

[LyX features/scroll-reloaded] Add marks to indicate when a row is too large

2014-07-27 Thread Jean-Marc Lasgouttes
The branch, scroll-reloaded, has been updated. - Log - commit b13ce27430f78fff9c8c58e1bd26d73c9f355aec Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Sun Jul 27 18:55:10 2014 +0200 Add marks to indicate when

[LyX/master] Fix compilation warnings on windows.

2014-07-28 Thread Jean-Marc Lasgouttes
commit f9caebd29ff52ceee774af7152f0ad6bd1434071 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Mon Jul 28 09:46:13 2014 +0200 Fix compilation warnings on windows. diff --git a/src/Row.cpp b/src/Row.cpp index 1336d05..cab3ab7 100644 --- a/src/Row.cpp +++ b/src/Row.cpp @@

[LyX/master] Use enum instead of int in TextMetrics::getAlign

2014-07-29 Thread Jean-Marc Lasgouttes
commit 37fd7b24ba60d9357fde0c218de051b71e222f80 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Tue Jul 29 11:05:14 2014 +0200 Use enum instead of int in TextMetrics::getAlign This is just a code cleanup, no (intented) effect. diff --git a/src/TextMetrics.cpp

[LyX/master] Fix ticket #9276: Labeling cursor off by several characters

2014-10-09 Thread Jean-Marc Lasgouttes
commit d605048b5c3efd3088c4db31147a633284ec30c9 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Thu Oct 9 22:09:33 2014 +0200 Fix ticket #9276: Labeling cursor off by several characters The length of STRING row elements is not updated until finalizeLast() is called.

Re: [LyX/master] pass git commit hash within CPPFLAGS to add it to version info

2014-10-09 Thread Jean-Marc Lasgouttes
Le 28/08/2014 08:31, Stephan Witt a écrit : commit f2aeca65b491f4a2396ec2b8834713e5c156c5ef Author: Stephan Witt Date: Thu Aug 28 08:30:45 2014 +0200 pass git commit hash within CPPFLAGS to add it to version info Stephan, I was about to add this to autotools and then I

Re: [LyX/master] Some more SVG icons

2014-10-10 Thread Jean-Marc Lasgouttes
Le 10/10/2014 14:01, Juergen Spitzmueller a écrit : commit 8e12587910195a6dbfbae2838be0c0066cf30669 Author: Juergen Spitzmueller Date: Fri Oct 10 14:00:52 2014 +0200 Some more SVG icons Hi Juergen, Why do we have a mix of svg and svgz files? Is that desirable? JMarc

[LyX/master] Fix ticket #9224: text overflows through adjacent insets

2014-10-16 Thread Jean-Marc Lasgouttes
commit ac018bd8db4e81c92320fe026cceff4e9f2181d2 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Wed Oct 15 17:34:56 2014 +0200 Fix ticket #9224: text overflows through adjacent insets The logic of Row::shortenIfNeeded is completely changed to look at the row from the

[LyX/master] Erase correctly math multi-cell selection

2014-10-16 Thread Jean-Marc Lasgouttes
commit f58d9f27a239db757efbab54524bd5a6bb6a1532 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Thu Oct 16 16:16:15 2014 +0200 Erase correctly math multi-cell selection What a selection spans several cells in mathed, and a deletion occurs though LFUN_CHAR_DELETE_F

[LyX/master] Add Stéphane Mourey as contributor

2014-10-23 Thread Jean-Marc Lasgouttes
commit 3706d900374407add26cea4b53ff5ece01d0659a Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Thu Oct 23 15:58:41 2014 +0200 Add Stéphane Mourey as contributor diff --git a/lib/CREDITS b/lib/CREDITS index afa88c1..048aca4 100644 --- a/lib/CREDITS +++ b/lib/CREDITS @@

[LyX/master] Add LFUN_SERVER_GET_STATISTICS command

2014-10-23 Thread Jean-Marc Lasgouttes
commit 11e679f73ecca718c61307973c3d67739354e1c7 Author: brokenclock Date: Tue Oct 14 21:55:04 2014 +0200 Add LFUN_SERVER_GET_STATISTICS command This function can be used with the LyX server to obtain the word, character or character+space

[LyX/master] Fix wrong test: boolean variable is never negative

2014-11-01 Thread Jean-Marc Lasgouttes
commit c559f85ccb3040af4117daa139a7a2c9c1f12b8a Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Sat Nov 1 16:02:34 2014 +0100 Fix wrong test: boolean variable is never negative This has been spotted by clang++. diff --git a/src/Server.cpp b/src/Server.cpp index 1

Re: [LyX/master] Fix wrong test: boolean variable is never negative

2014-11-01 Thread Jean-Marc Lasgouttes
Le 01/11/2014 16:37, Jean-Marc Lasgouttes a écrit : commit c559f85ccb3040af4117daa139a7a2c9c1f12b8a Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Sat Nov 1 16:02:34 2014 +0100 Fix wrong test: boolean variable is never negative This has been spotted by clang++. R

[LyX/master] Reimplement inset-select-all in a generic way

2014-11-01 Thread Jean-Marc Lasgouttes
commit e52a38549328a58b6fe8efeecef21a71fb9c8d65 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Sun Oct 19 20:43:17 2014 +0200 Reimplement inset-select-all in a generic way There are 3 possible actions (in order) * select current cell * select all calls of

[LyX/master] Implement "callstack printing" checking for autotools

2014-11-04 Thread Jean-Marc Lasgouttes
commit dc7ef3c81ff6e906c41da5ad40117ab87ac214da Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Tue Nov 4 23:30:53 2014 +0100 Implement "callstack printing" checking for autotools Contrary to cmake, we do not rely on platform/compiler check, but on the

[LyX/2.1.x] Fix wrong test: boolean variable is never negative

2014-11-05 Thread Jean-Marc Lasgouttes
commit 02a22417278f8dffcce65a170f87f18661df41af Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Sat Nov 1 16:02:34 2014 +0100 Fix wrong test: boolean variable is never negative This has been spotted by clang++. diff --git a/src/Server.cpp b/src/Server.cpp index 1

Re: [LyX/master] Fix wrong test: boolean variable is never negative

2014-11-05 Thread Jean-Marc Lasgouttes
Le 01/11/2014 19:23, Richard Heck a écrit : On 11/01/2014 11:47 AM, Jean-Marc Lasgouttes wrote: Le 01/11/2014 16:37, Jean-Marc Lasgouttes a écrit : commit c559f85ccb3040af4117daa139a7a2c9c1f12b8a Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Sat Nov 1 16:02:34 2014 +0100

[LyX/master] Fix some glitches in inset-select-all

2014-11-14 Thread Jean-Marc Lasgouttes
commit 3cbdfa17629e4a1f78901c88231faf7e3d6470e3 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Fri Nov 14 10:10:29 2014 +0100 Fix some glitches in inset-select-all Fix a crash reported in #7727. This happened because cur.pos() was reset before cur.pit(). In thi

[LyX/master] Fix overflow of inset over text (see #9224)

2014-11-14 Thread Jean-Marc Lasgouttes
commit 81badf8550f2fd5e614a22261c4885d747a72106 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Fri Nov 14 11:13:38 2014 +0100 Fix overflow of inset over text (see #9224) The symptoms are the same as the original #9224, but the reason is different. In the ne

[LyX/master] Make sure that UpdateLocker is used correctly in the future

2014-11-17 Thread Jean-Marc Lasgouttes
commit 689e54f34a4d735e6081b1b1ac8487bf028f3982 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Mon Nov 17 11:52:14 2014 +0100 Make sure that UpdateLocker is used correctly in the future diff --git a/src/mathed/MathMacro.cpp b/src/mathed/MathMacro.cpp index 941e29a..38d07e6

<    3   4   5   6   7   8   9   10   11   12   >