Jürgen Spitzmüller
7a7676e3fe
Menus.cpp: use proper ifdefs.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37693 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-16 15:56:07 +00:00
Jürgen Spitzmüller
f450acaefe
Menus.cpp: QProyStyle was introduced in Qt 4.6.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37692 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-16 15:50:39 +00:00
Vincent van Ravesteijn
66ca99798b
Squeeze warning.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37680 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-15 17:09:15 +00:00
Peter Kümmel
1a363f80e6
try a autosave next time even when currently no buffer is open
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37679 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-15 17:07:01 +00:00
Vincent van Ravesteijn
b9e7a9b269
Fix bug #5414 : Show context menu accelerators when the context menu is shown after pressing the keyboard context menu key.
...
This should have been done by qt, but we can override qt by adapting the style on the windows platform.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37678 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-15 16:53:37 +00:00
Peter Kümmel
8486940675
use more common millisecond notation
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37677 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-15 15:25:16 +00:00
Peter Kümmel
ed4bebf698
suppress abbreviated descriptions in document dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37674 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-15 09:37:19 +00:00
Vincent van Ravesteijn
fbaba7782a
Fix bug #7209 : Crash when clicking on unfinished command in math.
...
This was a similar problem as for bug #5796 in r30807. There I made sure that the position that is used for the context menu is set at mousepress. That was because also the cursor was set at mousepress and we want to get the context menu at the place where the mousebutton was pressed, and not where the mousebutton was released.
However, in this case, the position of the context menu is stored on mousepress, but we don't take into account that the cursor might move afterwards due to the DEPM.
So, the solution is not to save the position of the mouseclick, but to save the name of the context menu we requested.
PS. Perhaps we could save the cursor position, but this seems to work too.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37669 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 21:30:12 +00:00
Stephan Witt
2c7d38a55c
#7292 use MetaModifier for AltModifier on mac - alt is used to reach many special symbols, now they are usable for regular text input. Note: with swapped Command/Ctrl keys Ctrl is the MetaModifier.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37659 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 19:41:23 +00:00
Vincent van Ravesteijn
f6a3b37d18
Do not compile unused code.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37634 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 10:08:52 +00:00
Vincent van Ravesteijn
1b6f1ee810
Remove an include an reorder.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37631 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 10:03:05 +00:00
Vincent van Ravesteijn
57cc26305a
GuiView: Small simplification.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37629 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 10:00:42 +00:00
Vincent van Ravesteijn
a80599aa4d
Typos in the comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37626 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 09:59:14 +00:00
Vincent van Ravesteijn
a5be70af87
GuiWorkArea: coding style.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37625 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 09:58:31 +00:00
Vincent van Ravesteijn
99ff27e1b8
Fix tabstops in the preference dialog.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37622 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 09:54:55 +00:00
Vincent van Ravesteijn
9f21c23633
String tweaks.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37620 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 09:43:06 +00:00
Jürgen Spitzmüller
0489d3c496
Introduce new file format flag "menu=export" to define which document formats the File > Export menu should list. All other formats are available via the "More Formats & Options ..." (former "Custom ...") dialog.
...
The actual selection of formats needs to be audited.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37616 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 09:34:10 +00:00
Enrico Forestieri
a2d1092ecd
Trial and error shows that this works for yap (what a poor documentation it has)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37607 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-12 22:54:52 +00:00
Enrico Forestieri
4460f32dfd
Fix bug #7186 (Forward Search not working for Child Documents)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37602 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-12 20:24:09 +00:00
Enrico Forestieri
7569903af6
For some reason, when a latex error occurs, it may happen that
...
err.pos_start > err.pos_end such that range == 0 and nothing
gets highlighted, even if the paragraph id is correct.
In this case, it is better to highlight everything.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37586 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-10 21:28:43 +00:00
Jürgen Spitzmüller
149ceafa77
* GuiSendto: allow to simply export from this dialog if no command is given.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37582 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-10 14:06:53 +00:00
Jürgen Spitzmüller
064e74011d
* Menus.cpp: fix comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37571 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-09 10:45:59 +00:00
Jürgen Spitzmüller
2ce1e6783a
Fix typo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37569 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-09 08:31:18 +00:00
Jürgen Spitzmüller
5a2121f77e
Check for fontspec an configure the GUI accordingly.
...
If fontspec is not found, the "Use non-TeX fonts" checkbox is disabled, and the tooltip hints at installing the package.
Also add fontspec to LaTeXConfig.lyx, documenting that v2 of the package is needed for LuaTeX support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37567 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-09 08:23:11 +00:00
Stephan Witt
b6340b83c4
#7170 Disable hunspell dict path in prefs when hunspell is not compiled in
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37564 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-08 14:48:46 +00:00
Richard Heck
4c55d02ec6
Fix a couple of compilation issues with gcc 4.6. See bug #7285 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37550 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-07 22:47:02 +00:00
Tommaso Cucinotta
fcae022192
Search and replace buffers are now passed from the GUI to the Model
...
just by their file-name, and directly accessed there.
All string/latex exporting of those buffers is handled on the Model
side (lyxfind.cpp) according to the selected options.
Fixed bugs when searching with ignore-format disabled material
in the middle of a paragraph, and when using regular expressions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37549 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-07 20:36:40 +00:00
Enrico Forestieri
2b0bbbc7e9
In the tabular dialog, associate label with the correct field.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37510 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-06 16:25:36 +00:00
Edwin Leuven
7d7b96be78
attempt at consistency in widget naming in tabular dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37489 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-04 13:11:48 +00:00
Edwin Leuven
0a369db7b0
forgot to initialize the tabular width length validator
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37487 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-04 09:58:55 +00:00
Edwin Leuven
93c5d5922a
update tabular width fields in dialog correctly
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37486 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-04 09:32:14 +00:00
Jürgen Spitzmüller
13739f37d5
revert r37459 and add a note to the sources:
...
This was no oversight but a security concern. We do not want the LyX document to define arbitrary index and bibtex converters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37478 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-04 07:37:12 +00:00
Pavel Sanda
4224a6606e
Repair tooltip so it can be translated, spotted by Jim.
...
New designers are evil.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37474 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-03 23:55:26 +00:00
Pavel Sanda
2b42eddafb
Resave ExternalUi in Qt 4.4 designer
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37473 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-03 23:55:21 +00:00
Edwin Leuven
119ea9cd24
support for tabular*
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37471 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-03 23:11:26 +00:00
Georg Baum
e2982037d9
add busy.gif to resources (in line with cmake)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37468 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-03 21:16:41 +00:00
Jürgen Spitzmüller
73ab3e8b9c
* GuiDocument.cpp:
...
* GuiIndices.cpp:
- allow custom processor setting per document. The missing UI was an oversight.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37459 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-03 15:03:38 +00:00
Pavel Sanda
728d664367
Spotted by Jim Rotmalm.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37458 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-03 14:56:47 +00:00
Jürgen Spitzmüller
f27d5aa9ae
* Allow to set language package on a per-document basis (fixes bug 2909).
...
File format change. Commit approved by Pavel on trac.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37457 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-03 14:17:31 +00:00
Enrico Forestieri
0c581e8cea
Help avoiding shortcut clashes by discriminating strings.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37450 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-03 10:22:10 +00:00
Richard Heck
636440b8a8
Finally, disentangle IsPredefined and UsesFloatPkg. Now achemso gives us
...
the option to insert a List of Schemes, etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37436 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 22:57:00 +00:00
Richard Heck
32ab2ff2b7
Fix bug #7224 . This allows two different floats to declare the same
...
ListCommand without our writing it to the menu twice. There's a minor
annoyance, which is that we always take the list name from the first
declaration of the Float, but it's not clear whether this is a real
issue.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37424 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 17:11:56 +00:00
Tommaso Cucinotta
fcd769c58c
Fixed focusing issue when dialog already open on lyx start,
...
and added selection of entire find/replace WAs when switching
among them on Tab/Alt+Tab.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37413 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 08:55:59 +00:00
Jürgen Spitzmüller
6e9a59841e
InsetParamsDialog: update the dialog settings on context change (on user request).
...
Fixes bug 7271.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37388 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-31 14:48:16 +00:00
Enrico Forestieri
1ef605f625
Introduce a wrapper class for odocstream to help ensuring that no
...
blank lines may be inadvertently output. This is achieved by using two
special iomanip-like variables (breakln and safebreakln) in the lyx::
namespace. When they are inserted in the stream, a newline is output
only if not already at the beginning of a line. The difference between
breakln and safebreakln is that, if needed, the former outputs '\n'
and the latter "%\n".
In future, the new class will also be used for counting the number of
newlines issued. Even if the infractrure for doing that is already in
place, the counting is essentially still done the old way.
There are still places in the code where the functionality of the
class could be used, most probably. ATM, it is used for InsetTabular,
InsetListings, InsetFloat, and InsetText.
The Comment and GreyedOut insets required a special treatment and a
new InsetLayout parameter (Display) has been introduced. The default
for Display is "true", meaning that the corresponding latex
environment is of "display" type, i.e., it stands on its own, whereas
"false" means that the contents appear inline with the text. The
latter is the case for both Comment and GreyedOut insets.
Mostly, the only visible effects on latex exports should be the
disappearing of some redundant % chars and the appearing/disappearing
of null {} latex groups after a comment or lyxgreyedout environments
(they are related to the presence or absence of a space immediately
after those environments), as well as the fact that math environments
are now started on their own lines.
As a last thing, only the latex code between \begin{document} and
\end{document} goes through the new class, the preamble being directly
output through odocstream, as usual.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37360 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-29 02:41:13 +00:00
Jean-Marc Lasgouttes
92e708fd6d
For the default View and Update actions of the View menu, use the lfuns without parameters.
...
This paves the way for having a shortcut for buffer-view and buffer-update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37338 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-27 11:53:51 +00:00
Tommaso Cucinotta
b39f4a1de7
Fixes this issue:
...
with this sequence:
-) C-N (new doc)
-) C-S-f (open advanced find dialog)
-) Alt-Tab (switch to other application)
-) Alt-Tab (switch back to LyX)
the focus now is on the main document WA. I think it should be back on the Find WA where I was before the Alt-Tab.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37334 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-26 23:18:36 +00:00
Jean-Marc Lasgouttes
370044551c
Unify handling of pass thru insets and paragraphs by introducing Paragraph::isPassThru. Many lfuns are now disabled in sweave chunks.
...
Also, fix #7175 (do not output \noindent in passthru pars)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37328 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-26 11:04:42 +00:00
Peter Kümmel
9ca53c6af8
fix c&p bug
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37318 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-24 15:06:39 +00:00
Peter Kümmel
4a1a425213
remove obsolete code: we have now a animation to indicate that LyX is busy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37316 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-24 11:38:13 +00:00
Stephan Witt
dd2e73f365
#7149 correct current_view_ or add checks for it for: LFUN_WINDOW_CLOSE,LFUN_SET_COLOR,LFUN_SERVER_GET_FILENAME and LFUN_BOOKMARK_GOTO
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37313 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-24 10:13:18 +00:00
Jean-Marc Lasgouttes
23e17774e1
Fix ticket #7260 : Error when opening all floats, when a figure contains a \textcompwordmark command.
...
Actually, this was an oversight in r33226. There is no need to touch the physical cursor in this method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37310 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-24 09:40:57 +00:00
Edwin Leuven
edf0e85f4b
add busy spinner to status bar when threads are running in the background
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37304 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-23 09:17:52 +00:00
Stephan Witt
911961193f
#7149 improve the comment
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37249 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-18 15:30:59 +00:00
Stephan Witt
1a1c9dba4c
#7149 fix a crash on file-open with having some view but no current one
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37248 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-18 15:22:10 +00:00
Richard Heck
9815078bab
Format conversion for bind files. This completes the coding part of the
...
rc2rc project. (Was there a bug number for that? I can't find it, if
there was.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37247 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-18 15:09:43 +00:00
Richard Heck
0de73b8866
Don't try to convert any of the preference files except the user's own.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37243 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-17 15:54:51 +00:00
Richard Heck
00b35a8309
Factor out the code that actually does the reading of UI files. This is
...
preparatory to prefs2prefs conversion here, which will be the last piece
of that work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37235 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-16 20:38:08 +00:00
Richard Heck
c8766b2e42
We don't want to write an empty string here. Keep it the default, unless
...
something else has been provided. (This is only an issue when no spell
checkers are detected.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37234 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-16 20:30:23 +00:00
Richard Heck
dfb67984f2
Conversion routines for preference files.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37233 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-16 20:28:43 +00:00
Richard Heck
a26dd20159
Whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37226 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-16 04:02:59 +00:00
Peter Kümmel
726b602329
start the timer in the correct thread
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37224 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-15 22:39:46 +00:00
Stephan Witt
fa632bfd7e
make thesaurus usable for readonly documents
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37216 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-15 12:09:23 +00:00
Georg Baum
a89dbd75e6
Fix crash in lyx -e latex lib/doc/Shortcuts.lyx: theApp() is 0 in batch mode.
...
Unfortunately the commandline export of InsetInfo is still broken for MENU_INFO.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37134 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-06 18:40:39 +00:00
Vincent van Ravesteijn
3d08e82957
LyX remembers the state and geometry of the advanced find and replace dockview.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37121 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-06 00:52:46 +00:00
Tommaso Cucinotta
78eecdabf8
Avoid crash on exiting LyX while Adv Search is shown in full-screen mode.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37115 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-05 15:08:08 +00:00
Vincent van Ravesteijn
8ba5c7f886
Better fix for part 3 of bug #7182 : LyX truncates file names to about 25 chars.
...
Now, when hovering the tabs, the full paths are shown as a tooltip.
see r37084.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37101 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-04 09:41:27 +00:00
Vincent van Ravesteijn
cc00b9aaca
Fix bug #5600 : View source panel isn't updating after restart.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37096 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-04 00:00:20 +00:00
Vincent van Ravesteijn
0faafa47bf
Fix bug #5082 : Outline visibility not remembered.
...
When a document with a InsetTOC was closed, the outline was closed. But this shouldn't happen because editedInset("toc") does never return something.
The reason that this happened was that if currentBufferView() is 0, we don't even care wehther inset was specified. If inset is specified, it should match the editedInset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37094 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 23:23:09 +00:00
Vincent van Ravesteijn
d23120b3ba
Fix bug 7137: Main WA disappears on wrap-around dialog.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37085 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 20:04:03 +00:00
Vincent van Ravesteijn
a1f8d221c8
Fix part 3 of bug #7182 : LyX truncates file names to about 25 chars.
...
Now, when hovering the tabs, the longer name is shown as a tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37084 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 18:50:37 +00:00
Vincent van Ravesteijn
4579492569
Fix part 2 of bug #7182 : LyX truncates file names to about 25 chars.
...
Now, when hovering the lastfiles menu, the full file names are shown in the statusbar.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37083 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 18:44:52 +00:00
Jürgen Spitzmüller
f7334ebfdb
Fix UI glitch in the prefs dialog (bug 7190).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37081 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 17:21:22 +00:00
Vincent van Ravesteijn
02fb4a784e
Fix bug #7099 : Fix bug #7099 : Math toolbars don't autoshow.
...
When applying the preference we need to save the full session information, because when this information is not yet saved, we will lose it forever. We can enter the preferences without a saved state when we start LyX with a modified default.ui.
see also: r37075 and r37076.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37077 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 16:49:15 +00:00
Vincent van Ravesteijn
46d7462ea7
This comment introduced in r37075 was wrong. We should never end up here!
...
However, it cannot hurt to warn the user and fall back to the defaults in case.
The real cause of bug #7099 is something else (which I will fix soon).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37076 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 15:56:27 +00:00
Vincent van Ravesteijn
94ede89c57
Fix bug #7099 : Math toolbars don't autoshow.
...
In GuiApplication::readUIFile() the settings for views gets removed if the ui file is newer than the saved timestamp in the settings. Later the non existing settings will be used to initialize the visibility. The default value for a non existing setting is 0. The visibility_ variable does never get changed afterwards. And therefore
we will again write 0 to the registry.
We should have read the ui file instead when we can't find the registry value.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37075 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 14:39:41 +00:00
Vincent van Ravesteijn
6e53e4e5d3
Remove unused member variable GuiToolbar::name_.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37070 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 12:39:56 +00:00
Vincent van Ravesteijn
9b1b65665d
Fix another instance of "visibility >= MATH". This was forgotten in r37068.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37069 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 12:14:44 +00:00
Vincent van Ravesteijn
e38c604887
Remove GuiToolbar::allowauto_ and define this property in the Toolbars.h::Visibility enum.
...
Now, there is the bug that autoallow is incorrectly set to true when visibility_ has the Visibility::SAMEROW flag. One shouldn't use >= on an enum (GuiToolbar::setVisibility), as newly added items will exhibit unexpected behaviour.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37068 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 11:42:01 +00:00
Enrico Forestieri
36ee8cdd52
Revert r36465 and r36467. Soon to be replaced by proper code for correctly
...
show on screen italic uppercase greek letters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37059 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-01 19:19:32 +00:00
Tommaso Cucinotta
dbb3f12aa5
Also copying the document language to the find/replace WA cursors' current language. This avoids typing in the replace WA results in underscored text while editing non-English documents.
...
This addresses (and hopefully closes) #6171 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37058 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-31 15:07:03 +00:00
Tommaso Cucinotta
426c5671d5
Copy document params (including language settings) to find and replace WAs buffers on activation of Advanced Search.
...
This hopefully fixes #6171 , i.e., when copying from main document with non-English language to find/replace WAs,
the pasted text is not underlined anymore.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37057 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-31 14:35:16 +00:00
Tommaso Cucinotta
fab8c264aa
Applying (variation of) fix by stwitt to solve #7172 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37043 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-29 19:59:41 +00:00
Jürgen Spitzmüller
a2b087e75f
* GuiPrefs.{cpp,h}:
...
- update screen font sizes in dialog after prefs change, since the localization of float values might have changed.
(fixes bug 6771).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37035 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-29 13:50:22 +00:00
Vincent van Ravesteijn
fbd84bc185
Add some extra information about bug #3684 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37031 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-29 05:50:50 +00:00
Vincent van Ravesteijn
1f5c77ec65
Fix bug #7187 : Font painting problems with emulated scaling.
...
When creating the QFontMetrics object, we should specify a QPaintDevice. 0 is a paint device which is screen-compatible or pixmap-compatible. This makes sure that the correct DPI is used in font metrics calculations.
see also:
http://bugreports.qt.nokia.com/browse/QTBUG-16331 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37030 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-29 05:35:03 +00:00
Enrico Forestieri
432e32cd3a
lyx_pot.py cannot deal with raw newlines in ui files. So, use the
...
html entity "
" and then transform it to "\n".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37026 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-28 23:29:51 +00:00
Pavel Sanda
d4c52f54e1
Kill unneeded string
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37000 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-26 23:33:27 +00:00
Pavel Sanda
80570c5b8e
Resave spellcheck ui in older designer
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36999 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-26 23:33:23 +00:00
Pavel Sanda
705ba90d7b
Make outliner delays again more invisible in some cases.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36997 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-26 23:23:48 +00:00
Stephan Witt
ab9de435b4
fix typo: double semicolon at line end of code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36985 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-21 15:28:55 +00:00
Stephan Witt
12cc8a301d
correct a cut-and-paste typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36983 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-21 11:55:31 +00:00
Pavel Sanda
01677a6577
Unneeded quotes in ui title
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36966 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-20 14:31:38 +00:00
Stephan Witt
3bb4d6559d
little optimization: avoid a duplicate cursor get from buffer
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36963 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-20 07:10:05 +00:00
Pavel Sanda
121fdba366
Attempt to workaround movement and editation slowness.
...
If it turns out to be too annoying for other we can disable it again.
Hopefully fix #7138 .
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg164385.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36951 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-19 22:27:21 +00:00
Pavel Sanda
5007ee4dad
Let filenames to be longer in window title.
...
Fixes first part of #7182
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36950 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-19 22:05:48 +00:00
Abdelrazak Younes
1614a64e15
TeXOnePar() simplification: use pit_type instead of iterator
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36936 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-18 15:57:27 +00:00
Stephan Witt
22c88a38c4
fix compiler warnings in pedantic mode: remove trailing comma after last enum member
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36924 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-17 19:57:55 +00:00
Stephan Witt
c7e6a677c4
fix compiler warnings in pedantic mode: remove trailing comma after last enum member
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36923 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-17 19:56:51 +00:00
Stephan Witt
5179e2f4d8
remove superfluous semicolons at the end of namespaces
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36901 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-16 08:06:00 +00:00
Pavel Sanda
3451601447
Fix #7057
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36853 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 23:57:21 +00:00
Enrico Forestieri
573694da5f
Fix bug #6538 (Figure: relative path changed to absolute on copy/paste)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36835 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-11 23:04:24 +00:00
Stephan Witt
937984898a
#7084 provide spelling suggestions only when replacement is possible - if there is no selection or the misspelled word is selected; use the replace2string to construct the LFUN arguments
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36834 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-11 19:10:44 +00:00
Enrico Forestieri
f5cd2ebe71
No tabs in ui files.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36829 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-11 15:44:54 +00:00
Jürgen Spitzmüller
53250a1269
* GuiDocument.cpp (paramsToDialog):
...
- stupid thinko! (bug 7076).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36828 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-11 15:28:02 +00:00
Enrico Forestieri
51aa20b3ed
Disable the "Single instance" check box if the lyxpipe has not been set up.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36827 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-11 15:21:23 +00:00
Pavel Sanda
d0ba83d814
Fix #7057
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36817 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-10 17:22:12 +00:00
Pavel Sanda
5ce8c4d36b
Simplify tooltips
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36808 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-10 15:43:00 +00:00
Jürgen Spitzmüller
1e98a4f240
Add the option to select the output format in Source View.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36806 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-10 10:34:24 +00:00
Uwe Stöhr
ab883f647f
GuiTabular.cpp: typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36805 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-10 06:25:52 +00:00
Georg Baum
f2cc066c49
improve fix for #6303 as suggested by Richard
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36799 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-09 22:35:44 +00:00
Richard Heck
a7de5bc8b3
This routine does not need to take a pointer to a WorkArea. Also, remove
...
some dead code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36798 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-09 22:29:12 +00:00
Georg Baum
d0933f4bd9
fix another crash like bug #6303
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36796 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-09 21:35:39 +00:00
Pavel Sanda
a03d15bbdd
Default decimal point mask is not translatable string
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36795 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-09 20:31:56 +00:00
Pavel Sanda
34c26f89bb
Resave in older designer
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36794 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-09 20:31:54 +00:00
Pavel Sanda
17196a24f4
Kill another "
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36792 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-09 20:05:30 +00:00
Pavel Sanda
0fcab2dece
Fix "
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36784 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-09 00:44:12 +00:00
Pavel Sanda
b442ca019d
No more wavy lines
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36783 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-09 00:33:33 +00:00
Richard Heck
ea23ded591
Georg's fix for my crash moved too much inside the inTexted() crash: We
...
never update the buffer if we're not in text!!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36782 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-08 21:46:57 +00:00
Richard Heck
51de359770
Committed wrong thing.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36781 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-08 21:02:28 +00:00
Richard Heck
3f40bb1432
At least prevent the crash in #7152 . Patch by John McCabe-Dansted, more
...
or less.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36780 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-08 20:55:24 +00:00
Jean-Marc Lasgouttes
3370b1d2fa
Fix the last part of #3733 :
...
- In GuiApplication::dispatch, do not call markDirty() for lfuns that are not ReadOnly
- In Undo::Private::recordUndo, call markDirty(). The indicator of dirtyness is now the existence of an undo element.
- In lyxfind, remove several markDirty calls that are not needed anymore.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36772 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-08 10:30:45 +00:00
Georg Baum
c24f8ae84e
Fix bug #6603 .
...
The problem was that the child buffers were closed,
and therefore the TOC contained dangling pointers.
The fix is simple: Reopen all child docs and create a new TOC.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36766 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 21:31:31 +00:00
Jürgen Spitzmüller
f255f93b9e
* Follow Vincent's advice to keep constness. Thanks Vincent.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36759 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 09:00:50 +00:00
Jürgen Spitzmüller
2653011613
* Use default output flavor for View Source.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36758 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 08:36:42 +00:00
Pavel Sanda
571663dcf8
Replay r36747
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36756 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 00:13:18 +00:00
Pavel Sanda
72f91cb394
Replay r36745
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36754 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 00:13:14 +00:00
Pavel Sanda
c68d754a74
Revert commits from 36745
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36749 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 00:05:40 +00:00
Peter Kümmel
256b236675
use tabs
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36747 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-06 20:57:48 +00:00
Peter Kümmel
099059758d
don't show errors when auto saving, #7132
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36745 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-06 20:54:03 +00:00
Stephan Witt
627c118d5e
avoid recursive check calls triggered by updateView(); show summary and close window when forward move not possible anymore
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36736 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-05 06:51:32 +00:00
Abdelrazak Younes
9cf9f86b8f
Move buffer dispatching code from GuiView::dispatchToBufferView() to BufferView::dispatch().
...
The execution order bv -> doc_bv -> buffer -> doc_buffer was artificial and not important AFAIU.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36734 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-05 01:18:32 +00:00
Abdelrazak Younes
ae7bcd3312
GuiView::dispatchToBufferView(): simplify code and move some to Cursor::dispatch().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36733 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-05 00:57:04 +00:00
Abdelrazak Younes
9fa93b2ea8
revert r36721, this was not needed after all... chasing a wrong track.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36729 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 23:19:42 +00:00
Abdelrazak Younes
6a500079e5
Move code from GuiApplication::dispatch() to GuiView::dispatch().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36726 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 22:48:08 +00:00
Abdelrazak Younes
28896d1bdd
revert previous commit, it did not compile of course...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36723 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 22:19:53 +00:00
Abdelrazak Younes
7916b0dc68
GuiApplication::dispatch(): decrease indentation at the end.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36722 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 22:15:51 +00:00
Abdelrazak Younes
1376c39ae6
Make sure the current view is set to busy in order to avoid a crash due to a screen redraw in the middle of a dispatch operation just because a warning or an error was displayed and the focus came back.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36721 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 22:07:39 +00:00
Abdelrazak Younes
ecc492a3ce
Fix #7021 : the problem was that activating the border combo was triggering dialogToParams() and thus disallowed because of the empty value.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36712 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 10:55:03 +00:00
Richard Heck
ab47822680
Towards a proper fix for bug #6846 , this just disentangles a couple
...
things we will ultimately want to do separately.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36694 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 19:00:55 +00:00
Georg Baum
53a72a4526
fix bug #6584
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36687 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 17:48:06 +00:00
Pavel Sanda
840fa81104
Abdel wants to transliterate
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36682 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 15:14:00 +00:00
Pavel Sanda
0464d83ce0
Nothing to translate here.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36662 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 20:13:50 +00:00
Pavel Sanda
a831d1bf36
Another shortcut
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36646 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-01 17:10:37 +00:00
Pavel Sanda
8539c4a197
Missing shortcut
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36645 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-01 17:10:34 +00:00
Vincent van Ravesteijn
75cb1ebdc1
Fix crash when apply Preferences. This was introduced in r36625. Just one check too few.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36641 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-01 00:51:10 +00:00
Pavel Sanda
8d31d48bdd
Default decimal point mask is not translatable string
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36635 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 18:38:32 +00:00
Pavel Sanda
5a5c4321e1
Resave with another designer
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36634 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 18:38:30 +00:00
Vincent van Ravesteijn
1f8b9bf9b0
Fix bug #6263 : Order of Tabs in Menu and used in Ctrl+PgUp/PgDwn is not the same as in the workarea.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36625 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 13:03:46 +00:00
Jürgen Spitzmüller
bea55b35a0
* mark string (due to gender)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36620 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 08:11:36 +00:00
Enrico Forestieri
eb2600483a
Fix bug #7068 (Crash when pressing down arrow in an equation when there is a suggestion)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36617 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 03:54:29 +00:00
Pavel Sanda
aef9d84e83
Disentangle various "in"s
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36613 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 00:55:34 +00:00
Vincent van Ravesteijn
c9da62fb08
Implement the possibility of concatenating (context) menus.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36605 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 23:15:31 +00:00
Jean-Marc Lasgouttes
940ab1261b
Fix part of bug #7072 by opening undo groups as needed.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36597 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 16:38:13 +00:00
Jean-Marc Lasgouttes
87a0c25bc4
Fix missing undo group when doing the following:
...
* create math inset
* enter macro name \ww
* press left arrow to re-enter the macro name inset, add a third 'w'.
* when leaving the inset is is updated through notifyCursorLeaves, but no undo group is active
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36596 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 16:06:43 +00:00
Pavel Sanda
fdc3b1efd5
ui glitches
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36583 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 11:26:10 +00:00
Pavel Sanda
182100d376
UI for #4581 .
...
Patch from Ale.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36582 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 11:26:08 +00:00
Uwe Stöhr
d80053cda8
GuiTabular.cpp: fix #3517
...
- disable column alignment and width if there is a LaTeX argument
- use also for the LaTeX argument the editingFinished method (as for all other edit fields in the dialog)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36566 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 02:38:29 +00:00
Uwe Stöhr
aa69852341
TabularUi.ui: fix spacing of column width unitCB
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36565 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 02:36:25 +00:00
Georg Baum
c5799b7019
Fix bug #7091 and bug #7094
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36556 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 17:02:10 +00:00
Stephan Witt
0ff09a4e49
#7082 add submenu for suggestions only when not empty
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36535 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-27 10:53:27 +00:00
Pavel Sanda
8435660410
This string composition badly fails on some languages since as a translator
...
you have no clue about the context for the proper grammatical case.
I'm not particularly happy about the fix, but didn't see much better alternatives.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36532 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-27 03:04:56 +00:00
Richard Heck
4540c4a18e
Final batch of BufferParam renaming.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36525 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 18:42:53 +00:00
Richard Heck
fc3b06eac8
Rename a bunch of BufferParams to conform to our usual style.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36524 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 18:32:29 +00:00
Richard Heck
58978d7bb5
Begin renaming some BufferParams to conform to our usual style.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36523 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 18:20:48 +00:00
Richard Heck
c981018111
Fix bug #2743 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36521 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 17:30:45 +00:00
Jürgen Spitzmüller
2dc2e4770b
Implement GUI for LuaTeX. File format change due to the renaming of the \use_xetex buffer param.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36500 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 09:42:03 +00:00
Vincent van Ravesteijn
f27853ad41
Cosmetics, typos and comments.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36492 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 16:53:56 +00:00
Uwe Stöhr
e16ee11f18
fix #1983 (rest of #4606 ): add missing \var*** characters (gig Greek math letters)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36465 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 01:27:53 +00:00
Pavel Sanda
4c39b9d84e
Transition to QTreeView in module list was not finished.
...
Hide the tree decoration from users now, visually we are back at QListView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36462 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 00:09:49 +00:00
Richard Heck
f3ff65f4df
Fix bug #7066 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36454 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-24 14:45:27 +00:00
Georg Baum
d89bde0652
Load mhchem if it is requested unconditionally, fix some typos
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36425 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-21 18:07:04 +00:00
Tommaso Cucinotta
f8e4f97b67
Finalize macros that are being typed (both in main document WA and in search/replace one), right before starting an advanced search/replace operation.
...
Fixes #6887 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36423 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-21 15:45:35 +00:00
Uwe Stöhr
518dc69f48
HyperlinkUi.ui:
...
- one link type must be the default (type Web) (as in LyX 1.6.x)
- add spacer as link type radiobox was too wide
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36412 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-20 17:03:51 +00:00
Jürgen Spitzmüller
ef79a1fe8a
* UI changes in anticipation of polyglossia support:
...
- rename \language_package to \language_custom_package
- the bool \language_use_babel is replaced by a more fine-grained selection:
* chose language package automatically (later: babel or polyglossia)
* always use babel (also with XeTeX)
* custom (i.e. use \language_custom_package)
* none (equivalent to former \language_use_babel false)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36407 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-20 13:34:14 +00:00
Uwe Stöhr
08f49bc27a
InsetTabular.cpp: correct alignment for multirows:
...
- if column of multirow has no width, the alignment is that of the column
- otherwise multirows are fix left-aligned
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36403 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-20 07:57:35 +00:00
Vincent van Ravesteijn
bc05bc2c59
Let LyX compile when there is no session manager.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36399 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-20 01:43:18 +00:00
Stephan Witt
44d0829586
back to a version broken for Mac but working on other platforms
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36397 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-19 09:15:25 +00:00
Richard Heck
2be835f925
Line length, better grammar.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36391 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 23:12:46 +00:00
Vincent van Ravesteijn
518c8974a6
Add error message when using a Qt compiled with QT_NO_SESSIONMANAGER defined. The error message that QSessionManager is incomplete is not very useful to find out the problem.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36388 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 22:14:49 +00:00
Pavel Sanda
8fa5778221
typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36380 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 21:00:34 +00:00
Vincent van Ravesteijn
7222ce9e31
set eol-style
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36379 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 19:50:29 +00:00
Stephan Witt
89f5c437a8
Fix for the spellchecker dialog on OS X and Linux too
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36373 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 17:08:17 +00:00
Stephan Witt
7eff534df7
Fix for the spellchecker dialog on OS X
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36369 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 10:41:37 +00:00
Enrico Forestieri
4c1d8f5f96
Possible fix for the spellchecker dialog on OS X.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36367 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 09:30:20 +00:00
Uwe Stöhr
ff77ea6a63
SpellcheckerUi.ui: set button policy to maximum because the Ignore buttons were much to large, depending on the size of LyX's main window
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36363 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 04:32:32 +00:00
Richard Heck
67a4b590aa
We don't generally use "static" this way in the LyX code any more. (Just
...
a bit of cleanup while studying other things....)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36354 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 22:00:42 +00:00
Vincent van Ravesteijn
7bf7fabb13
Correct bug number and typo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36329 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 03:22:37 +00:00
Vincent van Ravesteijn
c701342593
Reset the autosave timers also for the threaded case. This fixes the bug that autosave doesn't work in beta-1.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36328 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 02:27:02 +00:00
Vincent van Ravesteijn
ae852848fa
Let GuiViewPrivate::autosaveAndDestroy use Buffer::autoSave() and remove the now unneeded parameter filename.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36326 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 02:23:39 +00:00
Vincent van Ravesteijn
208acbc728
Generalize Buffer::autoSave() for both the threaded as the forked process call. Also move out the resetAutosaveTimers as this is the task of the frontend as the core shouldn't know about any timer.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36325 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 02:18:12 +00:00
Vincent van Ravesteijn
a0916d4fef
Rename GuiViewPrivate::saveAndDestroy to autosaveAndDestroy (because that's what it actually does according to the return string).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36324 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 02:07:54 +00:00
Pavel Sanda
630f72ed6c
UI naming synchro.
...
Actually, I wonder how is this dialog triggered.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36321 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-16 19:39:44 +00:00
Pavel Sanda
29849a143c
tooltip
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36320 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-16 19:20:28 +00:00
Pavel Sanda
13d63e5ce6
ui tooltip
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36305 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-15 15:50:30 +00:00
Pavel Sanda
4c952c612b
Clash of accelerators
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36289 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-13 23:28:24 +00:00
Pavel Sanda
b197c99449
This should be fixed.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36288 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-13 23:01:30 +00:00
Jürgen Spitzmüller
a85ae19bf8
* GuiView: puzzle-constructions like this will make proper translations impossible (and it was not even correct English).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36284 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-13 15:47:42 +00:00
Enrico Forestieri
22ffc93467
The "single instance" patch.
...
By default, if the lyxpipe is set up and working, loading of documents
is deferred to an already running instance. Note that an already running
instance is only used for loading, such that export from command line
still works as usual.
The default behavior can be changed through a preference setting, and,
whatever the default is, it can be overridden by command line options.
Unticking the "Single instance" check box in the preferences, LyX behaves
exactly as before the introduction of this feature.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36278 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-13 11:55:05 +00:00
Pavel Sanda
0dd3ea40f1
Add accelerators to Line UI
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36274 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-13 01:44:07 +00:00
Pavel Sanda
018029e248
ui glitch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36273 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-13 00:37:43 +00:00
Pavel Sanda
19d0eea9c0
Reintroduce expandMacrosCB, code partially knows it. Sorry.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36272 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-13 00:25:09 +00:00
Pavel Sanda
ae4df32c25
Kill disabled items of advanced search, they won't be implemented any time soon.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36271 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-12 20:55:33 +00:00
Pavel Sanda
87db71a61a
Return title back, I was too fast.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36250 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-11 20:06:08 +00:00
Pavel Sanda
4e8e58cc14
Synchro for index strings
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36248 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-11 19:53:21 +00:00
Pavel Sanda
0070191c4e
Kill title never used
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36247 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-11 19:49:02 +00:00
Pavel Sanda
7923b74d1d
propset eoln
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36246 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-11 19:47:45 +00:00
Pavel Sanda
9ad45aa03d
Tooltip string
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36245 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-11 19:09:06 +00:00
Enrico Forestieri
91208a2f79
Fix the 100% cpu load problem when previewing with Qt 4.2 and 4.3.
...
Now it works fine again with those Qt versions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36235 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-10 15:35:56 +00:00
Enrico Forestieri
74a3fa9cf1
Correct style and squash compiler warnings.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36234 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-10 14:36:35 +00:00
Enrico Forestieri
06e963f73e
Fix export for Qt < 4.4.0.
...
The 100% cpu problem is still there and the culprit turns out to be r35795.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36231 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-10 13:45:33 +00:00
Pavel Sanda
b71e606b94
Standard button label
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36217 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-09 01:54:28 +00:00
Peter Kümmel
433f4621cc
don't eat a CPU core when using Qt < 4.4 or EXPORT_in_THREAD == 1
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36208 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-08 08:40:12 +00:00
Uwe Stöhr
0a6f607c81
GuiTabular.cpp: workaround fix for #7022
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36207 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-08 04:36:11 +00:00
Peter Kümmel
6513556867
fix linker errors when using Qt 4.2
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36205 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-08 00:37:58 +00:00
Vincent van Ravesteijn
8e7d7e4295
Move the buffer related part from GuiView::renameBuffer to Buffer::saveAs.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36202 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-07 21:26:02 +00:00
Abdelrazak Younes
7ff3e84c5d
Fix assert in all InsetParamsWidget's for unicode characters (bug #7017 )
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36194 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-07 17:38:39 +00:00
Uwe Stöhr
86b99f8f32
GuiTabular: support for multirow offset; fileformat change
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36182 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-07 05:32:28 +00:00
Uwe Stöhr
930729048f
GuiTabular.cpp:
...
- apply our naming scheme to unit comboboxes
- set default units
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36180 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-07 03:01:26 +00:00
Stephan Witt
ba00acbd65
check for user cancel or errors on vcs revert before reload of buffer in LFUN_VC_REVERT
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36160 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-06 11:54:08 +00:00
Pavel Sanda
0586a14d63
Compil fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36150 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-06 00:34:03 +00:00
Vincent van Ravesteijn
ab8d87f26a
Allow for nested setBusy calls.
...
Before, LyX could crash when calling setBusy(false) while LyX is still in a busy state due to a surrounding setBusy(true)/setBusy(false) construction.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36140 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 20:24:58 +00:00
Vincent van Ravesteijn
2810b7aef7
typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36062 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 15:35:12 +00:00
Uwe Stöhr
bbb8671328
GuiTabular.cpp: add comments
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36011 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-03 01:29:01 +00:00
Enrico Forestieri
31b5ba7e25
Be compatible with Qt 4.2 and 4.3 (Q_EMIT).
...
Actually, it still fails to link with anything less than Qt 4.4.0
due to the xxxAndDestroy() business in GuiView.cpp ...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36009 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-03 00:38:35 +00:00
Richard Heck
dc5934737d
Improve display of index names under Insert>Lists/TOC.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36006 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-02 20:38:42 +00:00
Richard Heck
cddf32f152
Use bformat so we get RTL etc correct here.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36005 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-02 20:31:52 +00:00
Pavel Sanda
70db6e30c8
Be compatible with Qt 4.2.
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg162871.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36002 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-02 16:37:47 +00:00
Richard Heck
efa0da26c8
Fix the following sort of crash, reported on the list. This is also
...
#6884 .
1. Open LyX. File>New. Document>Outline, to make sure the TOC is open.
That isn't necessary, but it helps you to see what is happening.
2. Create a section heading (alt-P, 2) with an x in it.
3. Split the screen.
4. File>New. You should now still see the TOC for the OLD buffer.
5. Click in the top screen. You now see an empty TOC (the one for the
empty buffer).
6. Click in the empty buffer. Other TOC!
7. Back to the "x" buffer. Empty TOC. Type something. Boom!
The problem is that teh setCurrentWorkArea() call eventually gets us to
structureChanged(), which accesses documentBufferView(). But that
doesn't get reset until later, and hence everything is out of sync.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35999 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-02 15:33:52 +00:00
Abdelrazak Younes
3142a62c7a
Table dialog: Fix enabling/disabling of first header and last footer
...
check boxes.
This should fix bug #7008
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35993 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-02 13:35:16 +00:00
Uwe Stöhr
f0b79f00fc
GuiTabular.cpp: fix #7006 : the caption checkbox was simply not connected
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35983 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-01 21:52:08 +00:00
Peter Kümmel
8718c455a6
check also if there is a QApplication instance
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35981 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-01 21:32:59 +00:00
Uwe Stöhr
3e7d87f489
GuiTabular.cpp: add a comment
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35979 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-01 21:20:27 +00:00
Abdelrazak Younes
8b7584846c
Fix bug #6997
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35977 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-01 21:00:03 +00:00
Richard Heck
fa6118e4af
Revert unintentional commit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35976 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-01 20:58:24 +00:00
Richard Heck
64e77d6c14
Fix bug #6888 .
...
This is why it was worth doing the updateBuffer() rewrite.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35975 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-01 20:57:10 +00:00
Richard Heck
9b105fc6bf
Fix bug #7002 . I think this is correct, but Peter should check.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35970 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-01 19:37:59 +00:00
Vincent van Ravesteijn
892bc7dac3
In r35952 we reverted r35933, but InsetParamsWidget.h was forgotten.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35954 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-31 23:59:07 +00:00
Uwe Stöhr
e882f797bf
GuiTabular.cpp: apply immediately for all edit fields in the table dialog as discusses in #7001
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35953 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-31 22:32:53 +00:00
Richard Heck
79811671e9
Revert r35933. There are insets not based upon InsetCommand, such as
...
VSpace, that use InsetParamsWidget, so we cannot have code that requires
InsetCommandParams there.
Stephen Witt reported a similar crash with the info dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35952 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-31 18:56:32 +00:00
Vincent van Ravesteijn
a59fec10ff
Squash warning about unused variable
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35949 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-31 14:41:59 +00:00
Vincent van Ravesteijn
222b3580d2
More include frenzy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35940 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-31 01:04:03 +00:00
Abdelrazak Younes
766e300f42
Migrate GuiPrintNomencl to InsetParamsDialog.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35938 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-30 20:14:57 +00:00
Uwe Stöhr
30879d6553
GuiTabular.cpp: display width and alignment for multirows, fixes rest of #6958
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35934 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-30 19:00:23 +00:00
Abdelrazak Younes
5320ce0206
GuiLabel: generalize initialiseParams() and transfer to InsetParamsWidget as this will be used by other insets. The implementation of the new paramsToDialog(InsetCommandParams) is optional.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35933 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-30 18:40:53 +00:00
Uwe Stöhr
eef6b32eff
InsetTabular.cpp; remove SET_SPECIAL_MULTIROW because according to the multirow documentation multirows inherit the LaTeX-argument from the current column since they don't span multiple columns
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35931 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-30 16:36:08 +00:00
Uwe Stöhr
7c6a642f01
GuiTabular.cpp: fix #7001
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35930 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-30 16:26:12 +00:00
Jürgen Spitzmüller
023afde520
* GuiTabular.cpp:
...
- fix console warning about unknown feature.
Not sure if SET_SPECIAL_MULTIROW is supposed to do something eventually, but if not, specialAlignmentED should probably be disabled in multirows.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35928 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-30 10:41:46 +00:00
Richard Heck
3a4ebf380c
Squash warning.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35923 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-29 20:54:26 +00:00
Vincent van Ravesteijn
0c9da47505
BufferList should not determine that the current author has id = 0. This should really be in AuthorList. Besides BufferList shouldn't have to create an Author by itself.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35921 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-29 19:27:55 +00:00
Vincent van Ravesteijn
e703e02db5
Compile fix in case DEVEL_VERSION is defined.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35919 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-29 19:07:41 +00:00
Vincent van Ravesteijn
e9e577f6a4
All occurrences of buf->errors("Parse") in GuiApplication an GuiView are positioned after a call to GuiView::loadDocument which already should handle any errors.
...
GuiView::loadDocument also already calls setBuffer(), so this is not needed everytime too.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35917 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-29 18:57:40 +00:00
Vincent van Ravesteijn
e82cd410c1
Pass the Buffer to GuiView::reloadBuffer. We always know which buffer we want to reload, so don't ask the documentBufferView again.
...
Besides, now we can always call GuiView::reloadBuffer instead of calling Buffer::reload directly. This means we don't have to do the error handling each time over and over again.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35916 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-29 18:50:48 +00:00
Vincent van Ravesteijn
ef7ecea2b3
Move the call to Buffer::errors("Parse") from BufferView::insertLyXFile to GuiView::insertLyXFile.
...
Buffer::errors("Parse") is called 7 times in the whole project. 4 times from GuiView and three times from functions in other classes, but which are (almost) only called from the GuiView.
Buffer::errors is used to signal the GUI that there might be an error occuring, but what sense does it make if it is only called from the Gui ?
Isn't it better to let the function return wether it succeeded or not and let the GuiView take action in doing something with the possible errors.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35911 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-29 16:51:50 +00:00
Vincent van Ravesteijn
c9a91c5474
Relay the ReadStatus all the way up to the GUI also for Buffer::reload().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35908 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-29 16:26:32 +00:00
Richard Heck
6fa8ea97c4
Complete Jurgen's fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35905 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-29 13:06:52 +00:00
Jürgen Spitzmüller
2b604413e7
* GuiDocument.cpp:
...
use translateIfPossible here, since the module names might be non-ASCII
(thanks rgh).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35898 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-29 08:34:26 +00:00
Uwe Stöhr
fadde98eb3
InsetTabular: implement some SET/UNSET functions as prerequisite to fix #6985
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35897 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-29 04:09:49 +00:00
Uwe Stöhr
b47d15cb71
GuiTabular.cpp: table caption inside table is only allowed for longtables (fixes regression to LyX 1.6.x)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35896 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-29 01:38:58 +00:00
Uwe Stöhr
a0b84e0ba0
GuiTabular.cpp: fix #6585
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35894 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-29 01:18:18 +00:00
Vincent van Ravesteijn
c5b9664476
Remove the name parameter from string2params and params2string. We can always derive the name with insetName(params.code()).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35891 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-29 00:25:28 +00:00
Richard Heck
e313d3a12b
Move saveCheckSum() call to Buffer::readFile(). Also, remove the
...
argument from that function. We are always saving the checksum for the
Buffer's file. The argument is a left-over from a time when we did the
wrong thing and saved it for e.g. the emergency file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35890 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-28 22:12:29 +00:00
Richard Heck
2101b37a0f
Rename invisible buffers to hidden ones, thanks to John McC-D.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35889 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-28 22:00:50 +00:00
Richard Heck
c4f5d8fae2
Typo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35888 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-28 20:23:39 +00:00
Richard Heck
d8d239cae0
InsetParamsWidget should not just ignore the initialization data. I
...
don't know if there are similar issues with other dialogs based on it,
but this seems to fix it for GuiLabel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35886 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-28 16:31:14 +00:00
Enrico Forestieri
8590a51f9b
Fix bug #6589 (Crash when reverting to saved while cursor is in mathed)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35880 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-28 12:32:32 +00:00
Abdelrazak Younes
716cfaea68
Another compile fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35872 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-27 20:18:50 +00:00
Abdelrazak Younes
ea96796437
Compile fix, sorry.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35871 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-27 20:15:35 +00:00
Abdelrazak Younes
190439eccf
GuiNomencl.xxx: Rename to be in line with class name.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35870 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-27 20:05:38 +00:00
Abdelrazak Younes
ee535fa8ea
Migrate GuiNomencl to InsetParamsDialog.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35869 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-27 20:01:49 +00:00
Abdelrazak Younes
585f8b9fda
Migrate GuiLabel to InsetParamsDialog.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35868 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-27 17:25:55 +00:00
Abdelrazak Younes
26dc500557
Migrate GuiHyperlink to InsetParamsDialog.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35867 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-27 17:02:42 +00:00
Abdelrazak Younes
77713af558
InsetParamsDialog: fix Restore button enabling/disabling.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35866 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-27 12:55:57 +00:00
Vincent van Ravesteijn
e52a8ba627
Revert r32909: make input completion case sensitive again.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35864 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-27 08:45:21 +00:00
Jürgen Spitzmüller
74b9bce881
* GuiDocument.cpp: translate module names also in descriptions (bug 6987)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35857 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-26 16:53:59 +00:00
Vincent van Ravesteijn
5518b04248
Adjust comments to the truth.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35850 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-26 12:34:04 +00:00
Vincent van Ravesteijn
e48942bbbb
Fix bug #6550 : "Any Changes will be lost" even when there are no changes.
...
Patch from JOhn McCabe-Dansted.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35835 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-25 16:10:01 +00:00
Vincent van Ravesteijn
9fbc3dd5ba
Fix bug #5878 : Cursor position not restored in hidden documents.
...
A hidden document does not have an associated Cursor. So, each time we create a new workArea, we should restore the cursor position.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35811 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-24 23:41:15 +00:00
Vincent van Ravesteijn
1a9fe125f6
Update the cursor shape also when the cursor shape changes without a mouse move actions.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35808 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-24 22:14:31 +00:00
Edwin Leuven
4e5d3469f6
have pointing cursor when hovering something clickable
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35806 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-24 21:41:47 +00:00
Stephan Witt
4b7ad8b864
validate version control status after buffer save-as, avoid that for saveBuffer()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35800 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-24 17:14:10 +00:00
Pavel Sanda
6147f97ddd
Fix #6966 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35797 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-23 20:17:41 +00:00
Stephan Witt
b2137a65de
validate version control status after buffer save or save-as
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35796 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-23 18:35:13 +00:00
Peter Kümmel
d0feccc7ed
switch mouse to busy symbol every 3 seconds and then back to show the
...
user something is done in the background
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35795 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-23 10:49:45 +00:00
Jürgen Spitzmüller
d2b7bb6525
compile fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35792 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-23 08:29:57 +00:00
Vincent van Ravesteijn
f3ed8071d8
Fix #6597 : LyX Appears frozen if the process holding the clipboard is frozen
...
Implements CacheMimeData type so that we only need to query the
clipboard once on startup and once each time the contents of the
clipboard change. This is important as Qt takes 5 seconds to time-out when the clipboard is non-responsive.
Patch by John McCabe-Dansted.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35790 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-23 00:21:58 +00:00
Peter Kümmel
ad51a8e88e
bind makes a copy of the arguments by default. This is secure if the
...
bound object survives the existance of the arguments, but it also breaks
"change by non-const reference" parameter passing, like in
Alert::askForString. Here the arguments exists the whole bound function
call so we could pass by refernce.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35789 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-23 00:06:22 +00:00
Vincent van Ravesteijn
d9c6263c6a
Fix crashes and asserts if LyX doesn't have a view (on Mac for example).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35787 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-22 20:54:18 +00:00
Vincent van Ravesteijn
56bce65dd0
Restructure processFuncRequest* function family:
...
- move a comment back from to GuiApplication to GuiView.cpp, so we have the comment in the place where we decide to process the func request asynchronously;
- rename dispatchDelayed to processFuncRequestAsync to have the same terminology as in the other processFuncRequest* methods;
- introduce a new function processFuncRequest to complete the set of processFuncRequest* methods. It is strange that for the normal processFuncRequest one should suddenly use lyx::dispatch. Besides, I think it is good that the whole GUI will dispatch funcRequests through GuiApplication::processFuncRequest from now on;
- use the slotProcessFuncRequestQueue to relay to processFuncRequestQueue;
- properly camelBump addToFuncRequestQueue;
- group the implementation of the processFuncRequest* functions;
- document the side-effect of processFuncRequestAsync.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35784 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-22 18:08:21 +00:00
Vincent van Ravesteijn
f6c7f63f0b
GuiApplication.h cosmetics:
...
- reorder some function declarations,
- remove some declarations from the list of functions that inherit from Application,
- add and clarify some comments,
- whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35781 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-22 17:53:09 +00:00
Richard Heck
723b619317
Typo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35780 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-22 17:08:57 +00:00
Jürgen Spitzmüller
a94fe452ff
Fix bug 6944: crash on drag and drop multiple files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35779 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-22 15:46:46 +00:00
Richard Heck
b7b5c8cecd
Comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35764 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-21 22:04:06 +00:00
Peter Kümmel
d3392418c4
use QWaitCondition instead of QEventLoop for waiting on GUI thread-call finished, it's cheaper
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35763 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-21 21:29:08 +00:00
Richard Heck
eafafd8121
Revert r35760, as suggested by Vincent.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35762 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-21 19:33:29 +00:00
Richard Heck
1f87b2ef5d
Restore should, uh, restore the initial state. Other half of #6964 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35760 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-21 18:25:15 +00:00
Richard Heck
74c8cfc5f5
Fix bug #6964 . Problem was that we always saw the first branch.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35759 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-21 18:20:12 +00:00
Vincent van Ravesteijn
725591221f
Fix bug #6963 : LaTeXUi.ui: add some accelerators and fix some clashes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35751 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-21 17:06:06 +00:00
Abdelrazak Younes
e0f9645186
DialogView: make GuiView the parent widget to partly solve bug #6710 .
...
This make sense anyway for all dialogs to be above the GuiView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35747 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-21 13:40:49 +00:00
Peter Kümmel
9cfeaf4c0a
only connect when needed
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35743 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-21 08:02:09 +00:00
Peter Kümmel
cf570e0a8d
update .am files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35742 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-21 01:15:12 +00:00
Peter Kümmel
fc8d5ee0b6
enable EXPORT_in_THREAD to prevent gui calls in non gui-threads
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35741 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-21 00:24:57 +00:00
Peter Kümmel
f54200b078
no QtGui in support
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35740 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-21 00:07:48 +00:00
Peter Kümmel
c259957b69
add generic helper class for calling functions in gui thread
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35735 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-20 23:50:49 +00:00
Uwe Stöhr
e35f55975e
GuiTabular.cpp: fix #6957
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35734 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-20 22:35:05 +00:00
Uwe Stöhr
8c4b64cf83
TabularUi.ui: fix position of spacer to make alignment entry "At Decimal Separator" readable
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35733 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-20 22:33:32 +00:00
Peter Kümmel
a024d3aee6
use bind, is this really better?
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35726 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-20 01:45:51 +00:00
Richard Heck
65e871e100
Cut and paste solution to get export working. The issue is that the old
...
exportAndDestroy was calling:
buffer->doExport(format, true, update_unincluded);
where "true" means: Leave it in the tempdir. We need false, which means
we need another parameter, if we're not doing it as cut and paste.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35717 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-19 15:34:13 +00:00
Richard Heck
97910b056e
Revert r35715. Didn't mean to commit both.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35716 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-19 15:33:39 +00:00
Richard Heck
a773428fce
Cut and paste solution to get export working. The issue is that the old
...
exportAndDestroy was calling:
buffer->doExport(format, true, update_unincluded);
where "true" means: Leave it in the tempdir. We need false, which means
we need another parameter, if we're not doing it as cut and paste.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35715 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-19 15:10:13 +00:00
Vincent van Ravesteijn
4968c32293
Fix bug #6950 : Cursor remains in waiting state after incompatible command.
...
P.S. How do we prevent other cases like this? By throwing exceptions, we never know whether it's assured that we will return to the function to call setBusy(false). In JAVA you always have to either make a function throwable or to catch the exception, but AFAICS you have to crawl through the code to find out whether a function can throw an exception.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35714 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-19 10:42:54 +00:00
Vincent van Ravesteijn
152491f916
Some cosmetics (from my local cosmetics branch).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35708 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-18 14:20:03 +00:00
Vincent van Ravesteijn
5b2ede473e
Let asyncBufferProcessing return a value also if EXPORT_in_THREAD is turned off.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35706 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-18 11:30:30 +00:00
Peter Kümmel
e237d57020
fix formatting
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35704 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-18 10:59:23 +00:00
Peter Kümmel
75a9d47628
fix comment:
...
We have to copy the files because export is asynchronous now,
What about the children?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35703 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-18 10:55:01 +00:00
Peter Kümmel
131edd61dc
For testing: export asynchronous, #412
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35701 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-18 10:16:32 +00:00
Peter Kümmel
c5cf867e89
also use update_unincluded for preview,
...
maybe we could use bind here
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35700 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-18 09:35:33 +00:00
Peter Kümmel
c54fd8c74a
split out common async code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35699 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-18 09:31:50 +00:00
Peter Kümmel
d3312032ee
I assume this was a c&p error
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35697 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-18 08:23:29 +00:00
Peter Kümmel
40d2aed83a
prepare splitting out c&p code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35696 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-18 08:18:56 +00:00
Peter Kümmel
5520817bd3
Use DispatchResult also in GuiView::dispatchVC to handle messages.
...
Make it possible to suppress messages stored in DispatchResult objects.
BUG: 6417
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35662 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-17 10:44:53 +00:00
Jürgen Spitzmüller
ee2eabd416
* GuiDelimiter.cpp: disable cut and paste inside the listviews (bug 6942).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35654 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-15 07:12:49 +00:00
Richard Heck
ee7dd4a11e
Whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35653 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-14 20:49:34 +00:00
Richard Heck
aa473bb568
Comments.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35652 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-14 15:04:57 +00:00
Richard Heck
b1df2bd306
Move the screen redraw call out of the selection-setting routine. This
...
avoids multiple screen redraws in some cases.
If someone knows how to fix the FIXMEs in GuiErrorList and
GuiSpellcheker, I'd really appreciate it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35651 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-14 15:02:48 +00:00
Richard Heck
3af1fa5abb
I am basically trying here to get rid of random calls to
...
processUpdateFlags. This one is easy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35650 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-14 14:47:33 +00:00
Richard Heck
f0833aa774
This is already done by the previous call.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35632 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 18:03:10 +00:00
Richard Heck
6a80ce62ca
DispatchResult::update() ==> DispatchResult::screenUpdate()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35631 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 17:28:55 +00:00
Richard Heck
a08ab87d1e
Indicate alternative.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35625 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 15:10:57 +00:00
Richard Heck
28bf6a66ac
Fix #6948 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35624 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 12:43:13 +00:00
Richard Heck
01013c0785
Refstyle support. The user can now choose between prettyref and restyle
...
for formatted references. Fixes #2295 , in so far as it makes it possible
to translate formatted references.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35623 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 12:36:53 +00:00
Richard Heck
d4634167cc
Get rid of "CharStyle:", "Custom:", and "Element:" prefixes, per a
...
suggestion of JMarc's. Docs to follow.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35608 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 14:46:17 +00:00
Stephan Witt
fd341b3a0e
correct typo of button link init of open-from-template dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35574 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-08 05:34:48 +00:00
Stephan Witt
1b93af1009
add some tests for LFUN_VC_REVERT and LFUN_VC_REPO_UPDATE
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35573 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-08 05:30:07 +00:00
Stephan Witt
d87cdfa5e1
#5970 more exact modifier check for Tab keys filter
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35571 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-08 05:23:59 +00:00
Stephan Witt
4127f57e32
#6796 add sizePolicy to get the size of pushbuttons proper in spell checker and find/replace ui
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35544 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-30 06:43:04 +00:00
Stephan Witt
029ac601a8
disable the check box for compound word handling because of missing API for it with apples native spell checker
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35541 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 19:05:28 +00:00
Richard Heck
346f3aa503
Clean up this code a little bit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35540 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 13:14:20 +00:00
Richard Heck
5a46224f73
Remove the magic boolean in getChildren() from the public interface.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35538 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 13:05:57 +00:00
Richard Heck
d07c00032a
Simplify some of the find and replace code now, since allRelatives() is
...
stable and always has the root document at the beginning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35535 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 12:50:24 +00:00
Richard Heck
2f1af8892b
I prefer this style....
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35533 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 12:19:57 +00:00
Richard Heck
7ff1a60d12
Introduce Buffer::hasChildren() and use it.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35531 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 12:17:24 +00:00
Richard Heck
2291614a6c
Introduce a typedef for vector<Buffer *>. No change in behavior
...
anticipated.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35529 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 11:55:10 +00:00
Stephan Witt
1a681aaf24
#6917 move forward after adding a word to personal dictionary or the list of ignored words
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35525 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-28 15:09:06 +00:00
Uwe Stöhr
9fa49ecafa
GuiPainter.cpp: correct attempt from r35491
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35498 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-25 14:14:50 +00:00
Edwin Leuven
ad12fa6eb5
correct icon size in math panels
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35492 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-24 12:59:43 +00:00
Pavel Sanda
b1b1e13ad4
My compilator issues warning. Uwe, please check that this was intended.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35491 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-24 12:26:28 +00:00
Uwe Stöhr
3c9928285a
LineUi.ui: Qt's designer use XML as default - revert this from previous commit
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35489 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-24 04:29:07 +00:00
Uwe Stöhr
1557a6f2f9
LineUi.ui: a line has a thickness rather then a height
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35487 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-24 04:26:13 +00:00
Uwe Stöhr
7aac2c0502
GuiMathMatrix:
...
- decorated matrices can have horizontal alignment
- remove unused void
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35485 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-24 03:44:34 +00:00