]> git.lyx.org Git - lyx.git/log
lyx.git
6 years agode.po: update
Juergen Spitzmueller [Mon, 7 May 2018 07:27:08 +0000 (09:27 +0200)]
de.po: update

6 years agoUpdate sk.po
Kornel Benko [Mon, 7 May 2018 07:19:34 +0000 (09:19 +0200)]
Update sk.po

6 years ago Update fr.po (last step after character style review)
jpc [Mon, 7 May 2018 07:19:18 +0000 (09:19 +0200)]
Update fr.po (last step after character style review)

6 years agoUserGuide: Reset > Default
Juergen Spitzmueller [Mon, 7 May 2018 07:14:55 +0000 (09:14 +0200)]
UserGuide: Reset > Default

6 years agoGuiCharacter: Reset > Default
Juergen Spitzmueller [Mon, 7 May 2018 07:03:45 +0000 (09:03 +0200)]
GuiCharacter: Reset > Default

6 years agoPaint nospell mark lower than foeign mark, since these can appear both
Juergen Spitzmueller [Mon, 7 May 2018 06:41:28 +0000 (08:41 +0200)]
Paint nospell mark lower than foeign mark, since these can appear both

Also, assure that misspelled mark is not shown when nospellcheck()

6 years agoAdd \nospellcheck font property
Juergen Spitzmueller [Sun, 6 May 2018 17:48:21 +0000 (19:48 +0200)]
Add \nospellcheck font property

This revives a ten year old idea (and patch) by Dov.

You can now mark in the character dialog text and exclude it from spell
checking.

Fixes: #1042
File format change

Remaining issue: The instant spell checking marks are not immediately
removed, but only after some editing.

6 years agoTry some new icons for new dynamic inset and charstyle menus.
Richard Kimberly Heck [Fri, 4 May 2018 01:28:09 +0000 (21:28 -0400)]
Try some new icons for new dynamic inset and charstyle menus.

Suggestions by Pavel. Also move menus on toolbars per his suggestions.

6 years ago Update fr.po (first step)
jpc [Sun, 6 May 2018 15:43:44 +0000 (17:43 +0200)]
 Update fr.po (first step)

6 years agoSmall corrections in slovak.nsh
Kornel Benko [Sun, 6 May 2018 13:29:41 +0000 (15:29 +0200)]
Small corrections in slovak.nsh

6 years agoUserGuide: Adapt to new character dialog.
Juergen Spitzmueller [Sun, 6 May 2018 12:17:28 +0000 (14:17 +0200)]
UserGuide: Adapt to new character dialog.

Also differentiate more between (semantic) Character Styles and (formal)
Text Properties.

6 years agoUpdate sk.po
Kornel Benko [Sat, 5 May 2018 17:23:20 +0000 (19:23 +0200)]
Update sk.po

6 years agode.po: update
Juergen Spitzmueller [Sat, 5 May 2018 16:57:26 +0000 (18:57 +0200)]
de.po: update

6 years agoMore UI tuning following Scott's suggestions
Juergen Spitzmueller [Sat, 5 May 2018 16:48:43 +0000 (18:48 +0200)]
More UI tuning following Scott's suggestions

6 years agoRemove unused function.
Richard Kimberly Heck [Sat, 5 May 2018 16:02:10 +0000 (12:02 -0400)]
Remove unused function.

6 years agoFine-tune character dialog UI
Juergen Spitzmueller [Sat, 5 May 2018 15:45:17 +0000 (17:45 +0200)]
Fine-tune character dialog UI

6 years agoFurther BC fixes to GuiCharacter
Juergen Spitzmueller [Sat, 5 May 2018 15:24:09 +0000 (17:24 +0200)]
Further BC fixes to GuiCharacter

6 years agode.po: update
Juergen Spitzmueller [Sat, 5 May 2018 14:04:54 +0000 (16:04 +0200)]
de.po: update

6 years agoMake textcommabelow feature conditional on encoding
Juergen Spitzmueller [Sat, 5 May 2018 13:43:54 +0000 (15:43 +0200)]
Make textcommabelow feature conditional on encoding

6 years agoUse a copy of BufferParams
Juergen Spitzmueller [Sat, 5 May 2018 13:26:58 +0000 (15:26 +0200)]
Use a copy of BufferParams

6 years agoCheck script char fontenc from main language.
Juergen Spitzmueller [Sat, 5 May 2018 13:26:37 +0000 (15:26 +0200)]
Check script char fontenc from main language.

6 years agoFix BC issue with autoapply
Juergen Spitzmueller [Sat, 5 May 2018 10:35:07 +0000 (12:35 +0200)]
Fix BC issue with autoapply

6 years agode.po: update
Juergen Spitzmueller [Sat, 5 May 2018 10:00:22 +0000 (12:00 +0200)]
de.po: update

6 years agoUpdate sk.po
Kornel Benko [Sat, 5 May 2018 09:55:38 +0000 (11:55 +0200)]
Update sk.po

6 years agoHave OK/Apply buttons initially disabled.
Juergen Spitzmueller [Sat, 5 May 2018 09:33:45 +0000 (11:33 +0200)]
Have OK/Apply buttons initially disabled.

6 years agoAdd missing transition to button controller
Juergen Spitzmueller [Sat, 5 May 2018 09:32:56 +0000 (11:32 +0200)]
Add missing transition to button controller

(needed by GuiCharacter, the only user of that specific policy)

6 years agoRemove unused code
Juergen Spitzmueller [Sat, 5 May 2018 09:28:54 +0000 (11:28 +0200)]
Remove unused code

6 years agoFix signals
Juergen Spitzmueller [Sat, 5 May 2018 08:29:26 +0000 (10:29 +0200)]
Fix signals

6 years agoRemove hack that's no longer needed
Juergen Spitzmueller [Sat, 5 May 2018 08:28:43 +0000 (10:28 +0200)]
Remove hack that's no longer needed

6 years agoAdd and correct tooltips
Juergen Spitzmueller [Sat, 5 May 2018 08:05:01 +0000 (10:05 +0200)]
Add and correct tooltips

6 years agoAdd translator hints
Juergen Spitzmueller [Sat, 5 May 2018 08:04:46 +0000 (10:04 +0200)]
Add translator hints

6 years agoRemove connections
Juergen Spitzmueller [Sat, 5 May 2018 08:00:20 +0000 (10:00 +0200)]
Remove connections

We have on_emphCB_clicked() and on_nounCB_cklicked() that call
change_adaptor at the end (after doing other things)

6 years ago008-greek-and-coptic.lyx now compilable with iso8859-7 inputencoding
Kornel Benko [Sat, 5 May 2018 06:24:50 +0000 (08:24 +0200)]
008-greek-and-coptic.lyx now compilable with iso8859-7 inputencoding

Removed from invertedTests

6 years agoConstify.
Richard Kimberly Heck [Fri, 4 May 2018 19:42:01 +0000 (15:42 -0400)]
Constify.

6 years agoAdd missing connection after fb393b45.
Richard Kimberly Heck [Fri, 4 May 2018 19:11:53 +0000 (15:11 -0400)]
Add missing connection after fb393b45.

6 years agoSmall cosmetic addon to the character dialog redesign
Juergen Spitzmueller [Fri, 4 May 2018 17:50:41 +0000 (19:50 +0200)]
Small cosmetic addon to the character dialog redesign

6 years agoTowards a sane character dialog
Juergen Spitzmueller [Fri, 4 May 2018 17:34:09 +0000 (19:34 +0200)]
Towards a sane character dialog

This is a proposal, but I think you should try it out in order to comment

What this does, is:

1. Remove the toggle madness. This is really not something anyone
understands without knowing the code, and its very unusual UI
(fixes #4836)

2. Separate and group things that were put all into the "Misc" trashcan
combo

3. Let the dialog reflect the font settings at cursor (selection)

Now the dialog looks more like character dialogs from other applications,
and I think it is more in line with what users expect.

Comments very welcome (and of course I will revert if you want to have
the old idiosyncratic thing back).

6 years agoFixes for nested ulem commands
Juergen Spitzmueller [Fri, 4 May 2018 17:32:38 +0000 (19:32 +0200)]
Fixes for nested ulem commands

1. \uuline must be on top of \sout
2. \uwave in \xout needs a hack to compile

6 years agoNote.
Richard Kimberly Heck [Fri, 4 May 2018 16:39:07 +0000 (12:39 -0400)]
Note.

6 years agoSet main_fontenc runparam also for paragraph-only source preview.
Juergen Spitzmueller [Fri, 4 May 2018 14:37:21 +0000 (16:37 +0200)]
Set main_fontenc runparam also for paragraph-only source preview.

6 years agoUse combining accents instead of ERT for accented cyrillic letters.
Günter Milde [Fri, 4 May 2018 13:25:13 +0000 (15:25 +0200)]
Use combining accents instead of ERT for accented cyrillic letters.

Combining accent charactrs were not supported at the time the Russian
documentation was written. Eventual display problems with some GUI
fonts are still less distracting  than ERT.

6 years agoDrop "force" from replacements for letters with comma-below accent.
Günter Milde [Tue, 24 Apr 2018 15:05:38 +0000 (17:05 +0200)]
Drop "force" from replacements for letters with comma-below  accent.

6 years agocprotect include inset
Juergen Spitzmueller [Fri, 4 May 2018 09:56:42 +0000 (11:56 +0200)]
cprotect include inset

We \cprotect them in fragile context. This allows \input, \include as
well as \verbatiminput and \lstinputlisting in sections etc.

They still don't work in titling (#2528)

6 years agoUpdate sk.po
Kornel Benko [Thu, 3 May 2018 06:42:50 +0000 (08:42 +0200)]
Update sk.po

6 years agoDo not step equation numbers in deleted equations.
Richard Kimberly Heck [Thu, 3 May 2018 04:05:21 +0000 (00:05 -0400)]
Do not step equation numbers in deleted equations.

6 years agoDo not step counters in deleted material.
Richard Kimberly Heck [Thu, 3 May 2018 03:56:41 +0000 (23:56 -0400)]
Do not step counters in deleted material.

Also, display the counter as "#" if the inset is deleted.

6 years agoAdd toolbar menus for custom insets and character styles.
Richard Heck [Fri, 24 Jun 2016 21:47:30 +0000 (17:47 -0400)]
Add toolbar menus for custom insets and character styles.

I'm open to putting this elsewhere on the toolbar, or even on a
different toolbar. Also, we need decent icons. These ones are not
intended seriously but were just borrowed for testing purposes.
Anyone have good ideas about icons?

6 years agoFix indentation.
Richard Kimberly Heck [Wed, 2 May 2018 23:57:09 +0000 (19:57 -0400)]
Fix indentation.

6 years agoEnable graphics-unify only for selections containing graphics insets.
Pavel Sanda [Wed, 2 May 2018 20:35:09 +0000 (22:35 +0200)]
Enable graphics-unify only for selections containing graphics insets.

Follow-up of
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg204907.html

6 years agoDo not use needauth when only exporting code
Scott Kostyshak [Mon, 30 Apr 2018 00:06:16 +0000 (20:06 -0400)]
Do not use needauth when only exporting code

We have a couple of converters (using Sweave and knitr to "tangle"
an intermediate file) that are used for exporting code chunks
contained in a .lyx file. Since the code is just exported to a text
file and is not executed, needauth is not necessary.

6 years agoMergedManuals.lyx: remove example files in Note
Scott Kostyshak [Wed, 2 May 2018 14:59:56 +0000 (10:59 -0400)]
MergedManuals.lyx: remove example files in Note

A Note inset contained two example files. The linguistics example
file caused terminal messages like

  step: Counter does not exist: examplei

An alternative to removing the example file would be to add the
module, but it is not clear we want example files in the merged
file anyway.

6 years agoMove code around
Jean-Marc Lasgouttes [Wed, 2 May 2018 10:43:10 +0000 (12:43 +0200)]
Move code around

6 years agoRevert "Update documentation"
Jean-Marc Lasgouttes [Wed, 2 May 2018 10:38:40 +0000 (12:38 +0200)]
Revert "Update documentation"

This update was wrong.

This reverts commit 969540be59de2dcb15a694cea268a4b16af24688.

6 years agoUpdate documentation
Jean-Marc Lasgouttes [Wed, 2 May 2018 10:21:29 +0000 (12:21 +0200)]
Update documentation

6 years agorevert accidental commit
Juergen Spitzmueller [Tue, 1 May 2018 19:47:41 +0000 (21:47 +0200)]
revert accidental commit

6 years agoGroup the switch of encoding for listings in utf8 documents
Juergen Spitzmueller [Tue, 1 May 2018 12:21:05 +0000 (14:21 +0200)]
Group the switch of encoding for listings in utf8 documents

Else, \cprotect'ed documents fail.

6 years agoFix link
Juergen Spitzmueller [Tue, 1 May 2018 11:30:26 +0000 (13:30 +0200)]
Fix link

6 years agoaa_sample: cosmetics.
Juergen Spitzmueller [Tue, 1 May 2018 06:16:43 +0000 (08:16 +0200)]
aa_sample: cosmetics.

6 years agode/EmbeddedObjects: make compilable with utf8 encoding
Juergen Spitzmueller [Tue, 1 May 2018 05:04:15 +0000 (07:04 +0200)]
de/EmbeddedObjects: make compilable with utf8 encoding

6 years agoRequest buffer update rather than do it.
Richard Kimberly Heck [Tue, 1 May 2018 02:31:50 +0000 (22:31 -0400)]
Request buffer update rather than do it.

6 years agoFix bug 11070.
Richard Heck [Sat, 7 Apr 2018 01:31:11 +0000 (21:31 -0400)]
Fix bug 11070.

Allows plural, caps, no prefix to be set via context menu.

6 years agoUpdate it.po
Enrico Forestieri [Mon, 30 Apr 2018 17:12:08 +0000 (19:12 +0200)]
Update it.po

6 years agoWhen using ERT for accent in Russian docs, embrace base character
Juergen Spitzmueller [Mon, 30 Apr 2018 16:31:37 +0000 (18:31 +0200)]
When using ERT for accent in Russian docs, embrace base character

Otherwise utf8 inputenc chokes.

It is also possible to enter those accented chars directly, but this
results in display problems in the workarea (the line is shifted downwards).

6 years agoUpdate sk.po
Kornel Benko [Mon, 30 Apr 2018 15:55:50 +0000 (17:55 +0200)]
Update sk.po

6 years agoFake CJK quotes also for utf8 inputenc
Juergen Spitzmueller [Mon, 30 Apr 2018 13:22:50 +0000 (15:22 +0200)]
Fake CJK quotes also for utf8 inputenc

The glyphs are not covered yet.

6 years ago0x2dd is not covered by utf8 inputenc yet (TL 2018)
Juergen Spitzmueller [Mon, 30 Apr 2018 12:50:19 +0000 (14:50 +0200)]
0x2dd is not covered by utf8 inputenc yet (TL 2018)

6 years agode.po: update
Juergen Spitzmueller [Mon, 30 Apr 2018 11:00:18 +0000 (13:00 +0200)]
de.po: update

6 years agoTry to make an educated guess about the logo extension on the banner
Juergen Spitzmueller [Mon, 30 Apr 2018 10:59:54 +0000 (12:59 +0200)]
Try to make an educated guess about the logo extension on the banner

6 years agocprotect: don't consider content in Notes, deactivated branches etc.
Juergen Spitzmueller [Mon, 30 Apr 2018 07:53:14 +0000 (09:53 +0200)]
cprotect: don't consider content in Notes, deactivated branches etc.

6 years agoFix comment
Juergen Spitzmueller [Mon, 30 Apr 2018 07:41:12 +0000 (09:41 +0200)]
Fix comment

6 years agocprotect allows to place environments in fragile contexts.
Juergen Spitzmueller [Mon, 30 Apr 2018 07:06:15 +0000 (09:06 +0200)]
cprotect allows to place environments in fragile contexts.

use that possibility.

Fixes parts of #5128.

6 years agoPassThru paragraphs have latex_language; consider this when checking
Juergen Spitzmueller [Sun, 29 Apr 2018 11:18:05 +0000 (13:18 +0200)]
PassThru paragraphs have latex_language; consider this when checking
previous language

Fixes: #10793.
6 years agoUpdate sk.po
Kornel Benko [Sun, 29 Apr 2018 10:48:21 +0000 (12:48 +0200)]
Update sk.po

6 years agode.po: update
Juergen Spitzmueller [Sun, 29 Apr 2018 09:56:54 +0000 (11:56 +0200)]
de.po: update

6 years agoAllow adjustment of banner slogan size to localized slogan
Juergen Spitzmueller [Sun, 29 Apr 2018 09:56:17 +0000 (11:56 +0200)]
Allow adjustment of banner slogan size to localized slogan

6 years agoLocalize slogan on LyX banner
Juergen Spitzmueller [Sun, 29 Apr 2018 09:26:25 +0000 (11:26 +0200)]
Localize slogan on LyX banner

Fixes: #11107
6 years agoLanguage::fontenc(): Don't check for LaTeX font with nonTeX fonts.
Juergen Spitzmueller [Sun, 29 Apr 2018 07:21:35 +0000 (09:21 +0200)]
Language::fontenc(): Don't check for LaTeX font with nonTeX fonts.

6 years agoctests: invert ar/UserGuide_pdf4_texF
Scott Kostyshak [Sun, 29 Apr 2018 03:53:31 +0000 (23:53 -0400)]
ctests: invert ar/UserGuide_pdf4_texF

Consistent with the other ar docs, this file was never meant to
compile with TeX Fonts (for more information, see the note next to
the inversion).

6 years agoUse insert_document_option to remove Georgian when reverting.
José Matos [Sat, 28 Apr 2018 17:47:32 +0000 (18:47 +0100)]
Use insert_document_option to remove Georgian when reverting.

Less code for the same functionality. :-)

6 years agoRemove spurious spaces at the end of lines
José Matos [Sat, 28 Apr 2018 17:31:31 +0000 (18:31 +0100)]
Remove spurious spaces at the end of lines

6 years agoFix duplicate, disabled "Separated Frame Below"
Scott Kostyshak [Sat, 28 Apr 2018 03:01:01 +0000 (23:01 -0400)]
Fix duplicate, disabled "Separated Frame Below"

This commit fixes an issue where the menu option "Insert Separated
Frame Below" would show up twice, with one instance disabled. This
occurred when there was a "Standard" environment nested in a
"Frame". With this commit, the duplicate instance is removed.

6 years agoAdd new semantic functions to add an remove document options.
José Matos [Sat, 28 Apr 2018 14:10:09 +0000 (15:10 +0100)]
Add new semantic functions to add an remove document options.

The objective is to identify common operations and place them
in functions in order to improve the readability and correctness of the code.

is_document_option(document, option):
  Find if _option_ is a document option (\\options in the header).

insert_document_option(document, option):
  Insert _option_ as a document option.

remove_document_option(document, option):
  Remove _option_ as a document option.

6 years agoSmall improvement to pre-historic file format conversion.
José Matos [Sat, 28 Apr 2018 13:57:57 +0000 (14:57 +0100)]
Small improvement to pre-historic file format conversion.

6 years agoImprove the readability of lyx2lyx -l option
José Matos [Sat, 28 Apr 2018 13:42:31 +0000 (14:42 +0100)]
Improve the readability of lyx2lyx -l option

Example:
$ lyx2lyx -l
...
2.2     stable format:       508
        stable versions:     ['2.2.0', '2.2.1', '2.2.2', '2.2.3', '2.2.4']
        development formats: 475 - 507

2.3     stable format:       544
        stable versions:     ['2.3.0']
        development formats: 509 - 543

2.4     stable format:       -- not yet --
        stable versions:     -- not yet --
        development formats: 545 - 550

6 years agounicodesymbols: add general way to require a feature only for specific encodings
Juergen Spitzmueller [Sat, 28 Apr 2018 11:31:29 +0000 (13:31 +0200)]
unicodesymbols: add general way to require a feature only for specific encodings

A feature can now be required only for specific input or font encodings:
- <feature>=enc1;enc2...  Require the feature <feature> only if the
                          character is used in one if the specified font
                          or input encodings.
- <feature>!=enc1;enc2... Require the feature <feature> only if the
                          character is used in a font or input encoding
                          that is not among the specified.

6 years agoUpdate scripts to support simultaneously python 2 and 3
José Matos [Sat, 28 Apr 2018 09:51:35 +0000 (10:51 +0100)]
Update scripts to support simultaneously python 2 and 3

The fixes are simple and on line with the changes made during
the 2.3 development. It was an oversight to leave them out.

With this commit all the python scripts should be supported by
python 2 and 3.

6 years agoRework OK/Apply/Cancel UI of prefs dialog
Juergen Spitzmueller [Sat, 28 Apr 2018 09:19:26 +0000 (11:19 +0200)]
Rework OK/Apply/Cancel UI of prefs dialog

Instead of "Save" (permanently) and "Apply" (temporarily), OK and Apply
now always save permanently, unless the new checkbox "Apply to current
session only" is checked.

Addresses: #10016

6 years agoInitialize toolbarsMovable_
Scott Kostyshak [Fri, 27 Apr 2018 21:41:26 +0000 (17:41 -0400)]
Initialize toolbarsMovable_

Valgrind detected a conditional jump because this member was not
initialized.

6 years agoFix bug #11127.
Richard Kimberly Heck [Sat, 28 Apr 2018 00:13:07 +0000 (20:13 -0400)]
Fix bug #11127.

6 years agoMake the lyx2lyx test-file 'lyx_2_1_test.lyx' compilable.
Kornel Benko [Fri, 27 Apr 2018 17:58:25 +0000 (19:58 +0200)]
Make the lyx2lyx test-file 'lyx_2_1_test.lyx' compilable.

Inserted short German text to provoke loading its language feature
to babel.

6 years agoDon't add localswitch if no language changes
Juergen Spitzmueller [Fri, 27 Apr 2018 16:27:21 +0000 (18:27 +0200)]
Don't add localswitch if no language changes

6 years agoAmend 26ea1e1 for roundtrip tests
Kornel Benko [Fri, 27 Apr 2018 10:49:13 +0000 (12:49 +0200)]
Amend 26ea1e1 for roundtrip tests

6 years agoCorrect graphical reference
Kornel Benko [Fri, 27 Apr 2018 08:52:15 +0000 (10:52 +0200)]
Correct graphical reference

6 years agoClose/reopen local language switches at each par
Juergen Spitzmueller [Fri, 27 Apr 2018 07:48:14 +0000 (09:48 +0200)]
Close/reopen local language switches at each par

Fixes: #11128
6 years agoAdapt caret height to context in mathed.
Jean-Marc Lasgouttes [Thu, 26 Apr 2018 22:03:48 +0000 (00:03 +0200)]
Adapt caret height to context in mathed.

Compute a height from current font and current cell vertical
dimensions in MathData::metrics(), because this is where current font
is known.

Introduce BufferView::setCaretAscentDescent to remember this value.

This mechanism is not used for text because Cursor::current_font is
restored by undo, and the caret height would not be changed then. But
in principle it is doable.

6 years agoRework caret display code
Jean-Marc Lasgouttes [Wed, 18 Apr 2018 08:10:08 +0000 (10:10 +0200)]
Rework caret display code

The new code is much simpler: what it does is, after redrawing has
been done, to mark the cursor row as changed, so that it will be
repainted on next paint event.

This avoids some crashes at the price of possibly repainting the row
when it was not necessary.

6 years agoUpdate sk.po
Kornel Benko [Thu, 26 Apr 2018 05:29:51 +0000 (07:29 +0200)]
Update sk.po

6 years agoTry to fix bug #10989.
Richard Kimberly Heck [Thu, 26 Apr 2018 03:46:13 +0000 (23:46 -0400)]
Try to fix bug #10989.

The problem is that popping dialogs during reload can cause paint
events for which we are not ready. If this does not work, then we
can introduce a new flag, besides 'busy', for that case. But busy
does not seem to be used very widely, so hopefully this works.

6 years agoConst.
Richard Kimberly Heck [Thu, 26 Apr 2018 02:51:57 +0000 (22:51 -0400)]
Const.

6 years agoSimplify some code now that we don't need it for indexes.
Richard Kimberly Heck [Thu, 26 Apr 2018 02:22:36 +0000 (22:22 -0400)]
Simplify some code now that we don't need it for indexes.

This has the effect that inserting nomenclature entries does not
cut the selection (implicit or explicit) but rather copies it, which
seems to me to make a lot more sense. If anyone objects, let me know.