Commit Graph

33812 Commits

Author SHA1 Message Date
Georg Baum
507cc07c2d Add commented ASCII control pictures
The list was taken by a patch from Jürgen for bug #5704.
2015-05-08 22:00:40 +02:00
Georg Baum
51cc8aa9f6 Fix build with GNU libstdc++ C++11 ABI
The GNU libstdc++ that ships witch gcc 5 can be used with the same ABI as
older versions, or with a new ABI which is conformant to the C++11 standard.
LyX did not build if the latter was used:
https://kojipkgs.fedoraproject.org//work/tasks/1267/9651267/build.log

This is now fixed by detecting the ABI version and disabling the wrong forward
declarations. At the same time, STD_STRING_USES_COW is switched off for the
C++11 ABI version, because the std::basic_string implementation is now C++11
conformant. Since the GNU libstdc++ can also used by other compilers such as
clang, we must not test for the compiler version.
2015-05-08 21:12:42 +02:00
Stephan Witt
da548dbe30 #1720 disable document buffer related LFUNs in GUI view if the work area has no focus 2015-05-08 19:09:00 +02:00
Enrico Forestieri
bc8717b297 Fix compilation after e93444e7
Stephan, please check whether RowPainter::paintMisspelledMark has
to be extended to use a third parameter, instead.
2015-05-08 14:15:38 +02:00
Stephan Witt
e93444e7e9 #9514 improved document iterator for correct check of speller disabled state 2015-05-08 11:13:51 +02:00
Juergen Spitzmueller
9162a3f40e Forgot this. 2015-05-08 09:51:09 +02:00
Juergen Spitzmueller
32341edbb7 Document PassThruChars option of argument. 2015-05-08 09:37:28 +02:00
Juergen Spitzmueller
5b03ae11a0 Implement PassThruChars to Argument
Closes: #9535.
2015-05-08 09:32:31 +02:00
Uwe Stöhr
16bfcc0e91 LINGUAS: ad another missing bit and correct sorting 2015-05-08 00:37:08 +02:00
Georg Baum
7793a66168 Fix building of .gmo files
This was missing in 026b6ad29c.
2015-05-07 21:59:14 +02:00
Georg Baum
b0e387e013 Make static variable non-static
This is still a hack, but a less dangerous one. The old code had a problem
if it was called from different threads, or if for some reason it would get
called recursively.
2015-05-07 20:24:02 +02:00
Jean-Marc Lasgouttes
bb987c50c1 Revert correctly cursor font after undo a font toggle
The recordUndoSelection call was done after the modification of cursor font. This is bad.

Fixes: #9537
2015-05-07 15:56:22 +02:00
Kornel Benko
01bacfd060 Cmake build: New libmagic dependency after commit 93b0f9c080
The command check_ExternalTransforms was no longer linked.
2015-05-06 18:59:26 +02:00
Stephan Witt
93b0f9c080 #9514 contents inside of LyX insets with spell check disabled should be ignored by spell checker.
The document iterator now skips math insets and insets like notes where spell check is disabled.
The continuous spell checking is part of the row painter drawing and the spell check disabled state
has to be passed down recursively while doing the inset painting.
2015-05-06 18:39:24 +02:00
Jean-Marc Lasgouttes
4f3d9d0092 Autotools: configure AR program
Some distros may use target-specific prefix for ar program (like
x86_64-pc-linux-gnu-ar). Automake can handle that since version 1.12.

Since we still support automake 1.8 (not that it is really crucial,
but ubuntu 12.04 ships with automake 1.11.3), make the code
conditional.

Update a bit the gitignore files (automake creates some files in config/).

Based on a patch from Nikolay Orlyuk <virkony@gmail.com>.
2015-05-06 17:08:56 +02:00
Uwe Stöhr
026b6ad29c rename pt.po to pt_PT.po
to dinstinguish the 2 different pt variants. We do already the same for Chinese (zh).
No further change should be necessary.
2015-05-06 02:17:28 +02:00
Uwe Stöhr
65dcfe7d96 ar.po: some more corrections and translations by Hatim 2015-05-06 01:33:30 +02:00
Enrico Forestieri
d0146c8e82 Don't update paths of non-existing files 2015-05-05 22:30:10 +02:00
Stephan Witt
68ee68103a #5502 add binding for full screen toggle on mac 2015-05-05 22:05:46 +02:00
Juergen Spitzmueller
4ba17c90a0 Do not insert non-rpintable characters (such as ASCII control characters)
Fixes: #5704.
2015-05-05 14:23:24 +02:00
Kornel Benko
9e105996d6 Adapt tex2lyx testfiles to the new format 488. 2015-05-05 12:34:25 +02:00
Scott Kostyshak
73c2513758 Remove code that is no longer needed
Because of our better mechanism for dealing with errors (72c5385f),
the problem described in the comment is no longer possible.
NO_OUTPUT is treated as an error so there will no longer be a
lingering PDF in this case.
2015-05-05 03:00:29 -04:00
Scott Kostyshak
5f7395d648 ctex.lyx: use free fonts by default
Now with TeX Live 2014 (and also with 2015), we can export ctex.lyx
with free fonts. I have confirmed that the output is correct.
2015-05-05 02:15:44 -04:00
Scott Kostyshak
b21ccc0f76 Update format of ctex.lyx 2015-05-05 02:07:04 -04:00
Scott Kostyshak
e3546485ce ctests: PDF-form only works with (pdf|lua)latex
This is even stated in the file.
2015-05-05 01:19:29 -04:00
Scott Kostyshak
72c5385f83 Do a fresh compile for preview after error (#9061)
As Enrico said, the user might have installed a package that was
missing (in which case the .tex file would not have changed).

Another reason is that changing some document settings did not
automatically lead to a fresh compile after an error (#9061).

Our old mechanism for detemining whether there was an error was to
check if the dependent file existed in the temporary directory. If
it did not exist, that meant it was removed, presumably because
there was an error during compilation. That mechanism cannot be used
anymore because we keep the files around even after error because of
the "Show Output Anyway" button (09700d5b). This commit implements a
more straightforward way of checking whether there was an error in
the previous preview by simply storing the success of last compile
in a buffer variable.
2015-05-05 00:30:50 -04:00
Scott Kostyshak
a1aeea3f16 Rename deleteFilesOnError to removeAuxiliaryFiles
The function is no longer called when there is an error because
we keep the file around for the "Show Output Anyway" button
(see 09700d5b).
2015-05-05 00:26:25 -04:00
Uwe Stöhr
d9546de0bd ar.po: fix a mistake 2015-05-05 02:19:47 +02:00
Uwe Stöhr
73e87737c2 ar.po: update from Hatim 2015-05-05 02:13:54 +02:00
Uwe Stöhr
328dbe0602 Merge branch 'master' of git.lyx.org:lyx 2015-05-05 01:43:51 +02:00
Uwe Stöhr
0fbd25a250 pt_BR.po: another update from Georger 2015-05-05 01:43:40 +02:00
Enrico Forestieri
6e6abe1edd Fix #5760 also on Windows.
The problem was due to the use of the wrong symbol for the slash.
The zero-width symbol for the \not operator was being used.
Using TeX fonts for all symbols gives now a better uniform look.
It is not possible using the alternative code even with Qt 5.4.1
because some glyphs are still missing.
2015-05-05 01:38:50 +02:00
Uwe Stöhr
9f3d1e7773 pdfform.module: unset a PassTru
- this makes real life much easier since it saves more TeX code than with passThru
- adapt the example file accordingly
2015-05-05 01:33:11 +02:00
Uwe Stöhr
7dbf98a5e7 linguistics.module: fix 2 whitespace issues 2015-05-05 01:21:22 +02:00
Juergen Spitzmueller
1aea9864f3 TabularCreate.ui: Fix zorder. 2015-05-04 17:38:15 +02:00
Uwe Stöhr
f5648006fb Merge branch 'master' of git.lyx.org:lyx 2015-05-04 01:51:21 +02:00
Uwe Stöhr
9e87cf04ca pt_BR.po: update from Georger 2015-05-04 01:50:22 +02:00
Enrico Forestieri
8c351e32be Update paths of included files when saving to a different folder.
Fixes #9528 and #5115.
2015-05-03 23:55:19 +02:00
Juergen Spitzmueller
23297a3108 Revert "pdfform.module: repair whitespace"
This reverts commit d2e8e44a0e.
2015-05-03 16:43:14 +02:00
Uwe Stöhr
28ed8cf18a ar.po: today's updates from Hatim 2015-05-03 16:41:32 +02:00
Uwe Stöhr
d2e8e44a0e pdfform.module: repair whitespace
something is fishy her because commit 33a74748
destroyed the alignment for some entries
2015-05-03 16:28:06 +02:00
Uwe Stöhr
31b0af9857 PDF-form.lyx: add a note 2015-05-03 16:21:09 +02:00
Juergen Spitzmueller
b9573096f7 Factor out polyglossia language begin command construction and apply forcelocalfontswitch to polyglossia as well. 2015-05-03 16:08:14 +02:00
Juergen Spitzmueller
f7b152581c PDF-form.lyx: make it compile if insdljs.sty is not installed. 2015-05-03 14:02:26 +02:00
Juergen Spitzmueller
33a747483e Spelling and whitespace fixes. 2015-05-03 13:58:06 +02:00
Juergen Spitzmueller
ee771408e4 Fix display of math delimiters in delimiter dialog (#5760)
Exclude win32 from the fix due to #9428.
2015-05-03 13:23:27 +02:00
Uwe Stöhr
8932858563 PDF-form.lyx: more info and corrections
- add example how to check for numbers in text fields
- describe correctly that all fields must have a name
2015-05-03 04:37:28 +02:00
Pavel Sanda
4ecbabf5f9 Add Georger Araujo into contributors.
http://marc.info/?l=lyx-devel&m=143058265303480&w=2
2015-05-02 18:10:07 -07:00
Pavel Sanda
80e27ee283 pt_BR.gmo missed at Uwe's commit. 2015-05-02 18:07:47 -07:00
Pavel Sanda
ad6ab20bb1 Add layouttranslations from pt_BR. 2015-05-02 17:53:53 -07:00