Juergen Spitzmueller
b13f5dee53
Fix assertion in editing math (bug #8946 )
2014-02-06 11:09:02 +01:00
Juergen Spitzmueller
5a669fa62b
Style
2014-02-04 10:37:29 +01:00
Vincent van Ravesteijn
cda585baf5
CMake: Move biblio test projects into tests group
2014-02-03 20:07:09 +01:00
Juergen Spitzmueller
ef5d702325
Harmonize naming
2014-01-27 12:04:58 +01:00
Juergen Spitzmueller
e6c5f9a17c
Whitespace
2014-01-27 11:14:24 +01:00
Juergen Spitzmueller
5a3f1a731f
Extend environment-split to an 'outer' split function
...
This fixes a major beamer UI flaw reported by several users.
2014-01-27 08:01:24 +01:00
Scott Kostyshak
27131e655a
Shortcut box now stays open if bad input ( #8703 )
...
This allows the user to correct the bad input without
having to enter the other fields again in a new dialog.
Patch from Martin Hoffmann.
2014-01-14 08:04:05 -05:00
Stephan Witt
358e9ab31b
fix Symbols dialog box grid size in case of broken QFontMetrics::maxWidth()
2014-01-04 20:14:06 +01:00
Enrico Forestieri
581400937d
Fix file dialogs with Qt 5.2.0 and later.
...
See https://bugreports.qt-project.org/browse/QTBUG-34132
* [QTBUG-34132] QFileDialog does no longer instantiate widgets if a
native dialog will be used instead. Therefore some accessors
which previously returned unused objects will now return null.
As before, you can set the DontUseNativeDialog option to ensure
that widgets will be created and used instead.
Seemingly, Qt uses native dialogs by default starting from version 5.2.0.
When trying to open a file dialog, LyX segfaults in release mode, whereas
Qt asserts in debug mode:
ASSERT failure in QList<T>::at: "index out of range",
file /usr/local/qt/5.2.0/include/QtCore/qlist.h, line 472
This is avoided by explicitly setting the DontUseNativeDialog option
in the code path selected by *not* setting USE_NATIVE_FILEDIALOG.
This option was introduced in Qt 4.5, which is the minimum required
for compiling LyX. So, it is not protected by a preprocessor macro.
2013-12-24 17:21:56 +01:00
Juergen Spitzmueller
49d3557d0c
Correct \file statement
2013-12-21 12:58:23 +01:00
Vincent van Ravesteijn
a4d881c58e
Return an error on file-open only when a filename is given
...
Fixes: 9c4461de
2013-12-03 06:37:27 +01:00
Vincent van Ravesteijn
9c4461deea
Return an error if file-open is called with a non-absolute path
2013-12-02 21:04:46 +01:00
Juergen Spitzmueller
44df37ab2a
Check if string holds absolute file name before passing to FileName
...
See http://comments.gmane.org/gmane.editors.lyx.cvs/38213http://comments.gmane.org/gmane.editors.lyx.cvs/38213
2013-12-02 09:50:21 +01:00
Juergen Spitzmueller
766e8b1e33
Also when not using tabs, do not open a file twice if already opened (part of #8787 )
2013-11-26 16:12:52 +01:00
Pavel Sanda
105f9bb5d9
Get rid of one useless translation.
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg181106.html
2013-11-17 10:41:18 -08:00
Juergen Spitzmueller
c89ae3b517
Add missing widget update
2013-11-15 19:29:15 +01:00
Juergen Spitzmueller
e014f3fabf
Some fixes to the SaveAs dialog
...
LFUN_BUFFER_SAVE_AS has an optional argument where an initial format can be preset
This fixes:
* The remainder of bug #3402 : Open Export As dialog when attempting to export to read-only directories
* Bug #8886 : 'export as' should default to the default document output format
2013-11-15 09:20:07 +01:00
Juergen Spitzmueller
ed268ac9f7
Clarify description
2013-11-15 08:57:11 +01:00
Juergen Spitzmueller
ab96df492a
List all exportable document formats in the Save As dialog, not only the selection from the export menu
2013-11-15 08:56:13 +01:00
Scott Kostyshak
1e365fe315
Focus on custom line edit when custom is selected
...
Do so for the horizontal and vertical space dialogs.
2013-11-15 01:03:14 -05:00
Juergen Spitzmueller
68a4a53b36
Do not try to validate custom value in VSpace dialog if it is disabled
2013-11-14 10:42:24 +01:00
Juergen Spitzmueller
70b0298fe2
Fix shortcut clash (bug #8878 )
...
Patch by charley
2013-11-12 16:27:32 +01:00
Juergen Spitzmueller
7e22abec5d
Fix bug 8880: do not try to validate custom value if it is disabled
2013-11-12 15:48:34 +01:00
Juergen Spitzmueller
ce8ec78783
Fix crash when using context menu in empty outliner
...
Fixes : #8885
2013-11-10 15:31:27 +01:00
Tommaso Cucinotta
275f269cb7
Advanced F&R dialog does not need to be restored at start-up.
2013-10-26 18:37:25 +01:00
Vincent van Ravesteijn
514aef937a
Revert "Fix make distcheck for monolithic build"
...
This was committed by accident.
This reverts commit 9734ab7e34
.
2013-10-12 02:41:36 +02:00
Vincent van Ravesteijn
9734ab7e34
Fix make distcheck for monolithic build
2013-10-12 02:38:15 +02:00
Tommaso Cucinotta
acbba50a65
Added tooltip to new math-only checkbox in advanced options of advanced find & replace.
2013-10-13 11:36:38 +01:00
Tommaso Cucinotta
b93f2c20d3
Added restrict-search-to-maths-only checkbox to advanced pane of Advanced F&R.
2013-10-13 00:59:46 +01:00
Jean-Marc Lasgouttes
b89ef8a5b3
Revert "Do not kill the undo stack when doing a Save As..."
...
This commit was causing bug #8821 .
This reverts commit 467422f9df
.
2013-10-04 15:01:42 +02:00
Juergen Spitzmueller
5686ad11f3
Fix loop when trying to export a read-only document
2013-09-16 10:13:16 +02:00
Juergen Spitzmueller
b7c1bbfb0b
Export as: Further cleanup
2013-09-14 17:53:57 +02:00
Juergen Spitzmueller
2535f2f271
Further localization fixes
2013-09-14 15:40:57 +02:00
Juergen Spitzmueller
e100536d59
Fix 'Export As...' in non-English localizations
...
It is always a bad idea to compare a localized string. I think the whole method Formats::getFormatFromPrettyName (which is now unused) should be ditched. This is bound to fail.
2013-09-14 13:11:47 +02:00
Juergen Spitzmueller
53445f7b99
Localize 'Export As...' dialog
2013-09-14 12:36:58 +02:00
Juergen Spitzmueller
151158f191
Fix string (patch by Jean-Pierre Chretien)
2013-09-14 11:39:33 +02:00
Jean-Marc Lasgouttes
78780e7b38
Allow master view/update when current buffer is the master
2013-09-01 20:14:44 +02:00
Tommaso Cucinotta
cd84a3024d
Now an attempt to export into a folder without write permission causes LyX to automatically pop-up the "Export As" dialog (addressing #3402 ).
2013-08-26 11:28:07 +01:00
Kornel Benko
bbe183b087
Cmake testing: Added test_biblio
2013-08-07 15:00:03 +02:00
Juergen Spitzmueller
138bb4d14f
Fix the fix to the decimal separator problem with Qt5
2013-07-27 11:18:16 +02:00
Enrico Forestieri
92863de517
Fix Qt5 decimal separator bug
...
Always use '.' as the decimal separator in the GUI, because we
call setlocale(LC_NUMERIC, "C") in setLocale() (GuiApplication.cpp).
2013-07-26 20:52:44 +02:00
Tommaso Cucinotta
b32ce2cf08
When agreeing to wrap-around, but nothing is found, keep the cursor where it originally was.
...
Now this is coherent with Advanced F&R.
2013-07-22 23:55:43 +01:00
Juergen Spitzmueller
2f2841a016
Establish missing connections to change_adaptor
2013-07-21 19:27:57 +02:00
Tommaso Cucinotta
2a86379ea7
Adding wrap-around pop-up question to simple find and replace dialog (fixing enhancement request #1262 ).
2013-07-21 17:51:53 +01:00
Juergen Spitzmueller
6445cd9df4
Bug in 'Use non-tex fonts' checkbox auto-toggling ( #8717 )
2013-07-20 16:15:47 +02:00
Juergen Spitzmueller
d788d497aa
Trivial fix: escape ampersands in file names before pushing to tab header ( #8757 )
2013-07-19 15:55:56 +02:00
Juergen Spitzmueller
6f9a272ca3
Fix toggling of 'misc' font options (bug #8764 )
2013-07-17 08:30:42 +02:00
Jean-Marc Lasgouttes
deb6e16e79
Move a Qt workaround to the Qt frontend.
2013-06-04 12:08:36 +02:00
Vincent van Ravesteijn
9a6c402a82
Make sure numeric conversions are not locale dependent
...
In [19024f72\lyxgit] this line was removed. Later this caused that floats were converted to strings using ','s instead of '.'s. Readding this line fixes this.
2013-06-03 17:58:06 +02:00
Vincent van Ravesteijn
83399dcb7a
PrefsUi: Remove unneeded widths
2013-06-02 23:30:06 +02:00