]>
git.lyx.org Git - lyx.git/log
Michael Schmitt [Sat, 20 Jan 2007 16:59:13 +0000 (16:59 +0000)]
* src/text.C: move forward when logically deleting character
(previously broken; the cursor was even moved forward if
the character was physically removed and the next character was
marked as deleted)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16783
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sat, 20 Jan 2007 16:38:58 +0000 (16:38 +0000)]
* src/output_plaintext.C: fix line break handling;
don't stop 10 characters before max line length
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16782
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sat, 20 Jan 2007 16:25:52 +0000 (16:25 +0000)]
* src/output_plaintext.C: remove cryptic comment;
do not output deleted characters in plain text output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16781
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sat, 20 Jan 2007 16:14:39 +0000 (16:14 +0000)]
* src/output_plaintext.C: save two *.po entries;
output label+space only if label is not empty
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16780
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sat, 20 Jan 2007 15:35:39 +0000 (15:35 +0000)]
* src/output_plaintext.C: fix line breaks in plain text output;
add a line break at the end of each paragraph; add a second line break
if maximum line length is > 0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16779
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sat, 20 Jan 2007 15:07:20 +0000 (15:07 +0000)]
* src/paragraph_pimpl.C: check for linelen == 0 in LaTeX output;
otherwise, every word in printed on a separate line
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16778
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sat, 20 Jan 2007 14:51:40 +0000 (14:51 +0000)]
* output_plaintext.C: cosmetics in comment: line length cannot be < 0
* frontends/qt4/ui/QPrefPlaintextUi.ui:
* lyxrc.C: align descriptions (saves a message in *.po)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16777
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 20 Jan 2007 13:17:40 +0000 (13:17 +0000)]
whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16776
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 20 Jan 2007 08:43:51 +0000 (08:43 +0000)]
Fix typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16775
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 20 Jan 2007 01:23:07 +0000 (01:23 +0000)]
Fix cursor navigation in math.
* metricsinfo.h:
- ScreenUpdateStrategy: new enum describing the screen update strategy (replace singlepar boolean).
* UpdateFlags.h:
new Update::Decoration flag.
* BufferView.C
- update(): takes Decoration flag into account (CoordCache is not cleared out). Fills in metrics_info_.update_strategy
* mathed/InsetMathNest.C: adjust the cursor flags to new strategy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16774
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 20 Jan 2007 01:15:05 +0000 (01:15 +0000)]
PreparePrepare for independent decoration drawing and correct a CoordCache bug: Previously, only the math insets containing the cursor were put in the cache. I believe this was the reason for some of the weird problems with cursors in math (egg: cursor trapped in a fraction).
* insetbase.C
- drawMarkers(): draw the decoration in any case (but visible only in editing mode). Fill-in the CoordCache in any case.
- drawMarkers2(): ditto.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16773
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 20 Jan 2007 00:55:24 +0000 (00:55 +0000)]
Prepare for independent decoration drawing.
* InsetBase::drawDecoration(): new method.
* all other files: implement drawDecoration().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16772
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Fri, 19 Jan 2007 23:01:05 +0000 (23:01 +0000)]
TOC/tab crash bug fixed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16771
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Fri, 19 Jan 2007 22:17:01 +0000 (22:17 +0000)]
coding style: fix crash on buffer-switching (2 tabs) + toc-clicking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16770
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Fri, 19 Jan 2007 22:16:26 +0000 (22:16 +0000)]
fix crash on buffer-switching (2 tabs) + toc-clicking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16769
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Fri, 19 Jan 2007 20:32:55 +0000 (20:32 +0000)]
update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16768
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Fri, 19 Jan 2007 16:23:47 +0000 (16:23 +0000)]
* insetbranch.C (textString): implement, so that branches appear
in the ToC.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16767
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Fri, 19 Jan 2007 16:23:13 +0000 (16:23 +0000)]
* insets/insetbase.h (textString): Simplify the signature
* insets/insetquotes.C (textString):
* insets/insetcharstyle.C (textString):
* mathed/InsetMathHull.C (textString): adapt.
* insets/insetquote.C (plaintext, textString): output disString
instead of a raw quote.
* paragraph.C: adapt and remove unused methods.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16766
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Fri, 19 Jan 2007 16:17:39 +0000 (16:17 +0000)]
* output_plaintext.C (asciiParagraph): output things in the right
order when there is an inset and runparams.linelen == 0.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16765
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Fri, 19 Jan 2007 14:30:30 +0000 (14:30 +0000)]
* lyx_main.C (readUIFile): when reading an include file which name
ends in .ui, try the .inc version too (support for user ui files)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16762
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Fri, 19 Jan 2007 00:55:17 +0000 (00:55 +0000)]
Fix encoding of bibtex keys and files read from the latex aux file
* src/LaTeX.C
(LaTeX::scanAuxFile): Convert to utf8 citation keys and filenames.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16758
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Thu, 18 Jan 2007 23:04:01 +0000 (23:04 +0000)]
* po/*.po: remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16757
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Thu, 18 Jan 2007 22:29:50 +0000 (22:29 +0000)]
* insets/insetfloatlist.C:
* insets/insettoc.C:
* TocBackend.C:
* TocBackend.h: rename 'asciiTocList()' to '.writePlaintextTocList'
* insets/insettext.C:
* output_plaintext.C:
* output_plaintext.h: rename 'asciiParagraph' to 'writePlaintextParagraph'
* output_plaintext.C:
* exporter.C:
* output_plaintext.h: rename 'writeFileAscii' to 'writePlaintextFile'
* lyxrc.C: change lyxrc section title (ASCII => PLAIN TEXT)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16756
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Thu, 18 Jan 2007 21:47:27 +0000 (21:47 +0000)]
* LyXView.C:
* qt4/GuiWorkArea.h:
* qt4/GuiWorkArea.C:
* WorkArea.h: fix typos: "shedule" => "schedule"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16755
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 18 Jan 2007 21:06:49 +0000 (21:06 +0000)]
Fix bug 3063, the problem was a recursive call to QRef::gotoRef() (which indirectly call
QRef::updateRefs() which called gotoRef(), etc).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16754
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 18 Jan 2007 20:47:27 +0000 (20:47 +0000)]
Fix several filename and environment variable encoding problems
* src/LaTeX.C
(LaTeX::deplog): Assume that filenames in log files are stored in
the file system encoding
* src/frontends/qt4/qt_helpers.[Ch]
(internal_path): delete
* src/frontends/qt4/QGraphics.C: Adjust to change above
* src/frontends/qt4/QPrefsDialog.C: ditto
* src/frontends/qt4/QExternal.C: ditto
* src/frontends/qt4/QInclude.C: ditto
* src/support/os.h: Document the encoding of filename arguments
* src/support/os_win32.h: ditto
* src/support/filetools.C
(findtexfile): Convert filename from file system encoding
* src/support/os_win32.C: Convert filenames from utf8 to file system
encoding and vice versa where needed
* src/support/os_cygwin.C: ditto
* src/support/getcwd.C
(getcwd): Use internal_path() with correct encoding
* src/support/docstring.[Ch]
(from_filesystem8bit): new conversion function
* src/support/environment.C
(getEnv): convert environment variable from local 8bit encoding to utf8
(setEnv): convert environment variable from utf8 to local 8bit encoding
* src/support/environment.h: document encoding of function arguments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16753
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Thu, 18 Jan 2007 19:20:32 +0000 (19:20 +0000)]
require needed packages for beamer class
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16752
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 18 Jan 2007 19:16:08 +0000 (19:16 +0000)]
Add new information to old bug. This one is a show stopper for the beta IMO.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16750
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 18 Jan 2007 15:20:33 +0000 (15:20 +0000)]
remove unneeded extra lyx:: namespace qualifier
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16746
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 18 Jan 2007 13:35:01 +0000 (13:35 +0000)]
Partly revert revision 16744. Georg doesn't want to mix string/docstring in there.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16745
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 18 Jan 2007 12:30:07 +0000 (12:30 +0000)]
Convert internal_path() to unicode (partially). Fix bug 3114:
http://bugzilla.lyx.org/show_bug.cgi?id=3114
* os.h
- new docstring adapted internal_path()
* qt_helpers.[Ch]:
- new QString adapted internal_path()
All other files: use that.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16744
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 18 Jan 2007 08:42:53 +0000 (08:42 +0000)]
* mover.h
- SpecialisedMover(): add virtual destructor (fix bug 2916)
- Movers: rename iterator to const_iterator.
- theMovers(), theSystemMovers(), getMover(), setMover(): new extern definitions.
* mover.C:
- SpecialisedMover::operator(): get rid of bogus MSVC warning.
- delete global variable movers and system_movers.
* lyx_main.C:
- LyX::Singletons: new movers_ ans system_movers members.
- implement Movers access functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16743
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Thu, 18 Jan 2007 07:23:58 +0000 (07:23 +0000)]
* stdmenus.inc: change wording of "as Lines", "as Paragraphs"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16742
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Thu, 18 Jan 2007 01:03:23 +0000 (01:03 +0000)]
fix bug 2418
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16741
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 17 Jan 2007 22:01:08 +0000 (22:01 +0000)]
Fix regression to 1.4.x: Additional vertical space if inputenc == auto
* src/output_latex.C
(TeXOnePar): Postpone the output of newlines after the call of
switchEncoding(), since we may get additional whitespace otherwise.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16740
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 17 Jan 2007 21:25:17 +0000 (21:25 +0000)]
whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16739
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 17 Jan 2007 21:22:19 +0000 (21:22 +0000)]
* src/insets/insetbase.h
(forceDefaultParagraphs): Fix comment: Not all text classes have a
"Standard" layout. What was meant here is the default layout of the
text class.
* src/paragraph.C
(Paragraph::simpleTeXOnePar): ditto
* src/output_latex.C
(latexParagraphs): ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16738
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 17 Jan 2007 21:12:14 +0000 (21:12 +0000)]
* src/lyxlayout.h
(LyXLayout::is_environment): Document
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16737
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 17 Jan 2007 20:41:22 +0000 (20:41 +0000)]
* src/output_latex.C
(TeXOnePar): Remove dead code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16736
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Wed, 17 Jan 2007 16:18:02 +0000 (16:18 +0000)]
* math_hullinset.C (numbered): clear the label when unnumbering
(workaround for bug 2556).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16734
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Wed, 17 Jan 2007 15:40:55 +0000 (15:40 +0000)]
* src/text3.C (doDispatch):
- record undo on LFUN_BREAKLINE (bug 3111).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16730
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Wed, 17 Jan 2007 15:32:43 +0000 (15:32 +0000)]
* BufferView.C (mouseSetCursor): if the cursor was in an empty
script inset and the new position is in the nucleus of the inset,
notifyCursorLeaves will kill the script inset itself. So we check
all the elements of the cursor to make sure that they are correct
(bug 2933).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16729
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 17 Jan 2007 14:49:48 +0000 (14:49 +0000)]
replace BufferView::reload() uses with LyXFunc::reloadBuffer().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16727
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 17 Jan 2007 14:46:20 +0000 (14:46 +0000)]
Fix bug 3093:
http://bugzilla.lyx.org/show_bug.cgi?id=3093
* LyXFunc:
- reloadBuffer(): new method.
- dispatch(LFUN_VC_REGISTER): use reloadBuffer().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16726
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 17 Jan 2007 13:18:16 +0000 (13:18 +0000)]
Transfer the global converters and system_converters variables to LyX::Singletons class.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16725
a592a061 -630c-0410-9148-
cb99ea01b6c8
Edwin Leuven [Wed, 17 Jan 2007 13:06:16 +0000 (13:06 +0000)]
* replace many toggled(bool) with changed() signals
the former is also trigged when updating dialogs. we should use toggled(bool) to en/disable widgets and in situations when we are sure that we always want to act on a toggle
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16724
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 17 Jan 2007 12:29:18 +0000 (12:29 +0000)]
Fix bug 3101 and 3108
http://bugzilla.lyx.org/show_bug.cgi?id=3101
http://bugzilla.lyx.org/show_bug.cgi?id=3108
* BufferView::setCursor(): delete the call to cursor_.setTargetX(). This is called differently for any LFUN anyway.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16723
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Wed, 17 Jan 2007 08:18:20 +0000 (08:18 +0000)]
* lib/images/buffer-update_pdf2.xpm:
* lib/Makefile.am:
* development/scons/scons_manifest.py:
- add missing "update pdf" icon. Not beautiful, but matches
the other view/update icons.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16722
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Wed, 17 Jan 2007 05:35:03 +0000 (05:35 +0000)]
Use getline() to read filenames with space in session.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16721
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Wed, 17 Jan 2007 02:53:33 +0000 (02:53 +0000)]
Fix inline collapsable inset set focus crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16720
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 17 Jan 2007 01:09:24 +0000 (01:09 +0000)]
fix accidentally broken image
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16719
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 17 Jan 2007 01:05:22 +0000 (01:05 +0000)]
updated icons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16718
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Tue, 16 Jan 2007 22:33:44 +0000 (22:33 +0000)]
* lib/CREDITS:
* lib/generate_contributions.py:
* development/MacOSX/LyX.app/Contents/Resources/lyxrc.dist: rename "ascii" to "plain text"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16715
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Tue, 16 Jan 2007 22:29:33 +0000 (22:29 +0000)]
* development/scons/scons_manifest.py:
* src/frontends/qt4/Makefile.dialogs:
* src/frontends/qt4/QPrefsDialog.C:
* src/frontends/qt4/QPrefsDialog.h:
* src/frontends/qt4/ui/compile_uic.sh:
* src/frontends/qt4/ui/QPrefAsciiUi.ui:
* src/frontends/qt4/ui/QPrefPlaintextUi.ui: rename QPrefAsciiUi.ui to QPrefPlaintextUi.ui;
rename PrefAscii to PrefPlaintext
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16714
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 16 Jan 2007 22:18:40 +0000 (22:18 +0000)]
Update install instructions: require two DLLs
(The mentioned LyXWinBuildDLLs.zip was also updated)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16713
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Tue, 16 Jan 2007 22:15:33 +0000 (22:15 +0000)]
* lib/doc/*.lyx: replace "ascii" by "plain text"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16712
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Tue, 16 Jan 2007 22:11:00 +0000 (22:11 +0000)]
* src/paragraph.C: remove unused sgmlLineBreak()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16711
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Tue, 16 Jan 2007 18:10:10 +0000 (18:10 +0000)]
Pass input data to a CAS program through a file instead of piping it to stdin
* src/mathed/MathExtern.C:
(captureOutput): redirect stdin from a file.
(pipeThroughMaxima, pipeThroughOctave, pipeThroughMathematica): use
"output:" instead of "out:" in the informational messages in order to
better match the "input:" message from captureOutput.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16709
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 16 Jan 2007 15:16:09 +0000 (15:16 +0000)]
* LyXView::updateInset(): schedule a redraw instead of redraw immediately.
* WorkArea::sheduleRedraw(): new pure virtual method.
* GuiWorkArea::showCursor(): handle the scheduled redraw.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16708
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 16 Jan 2007 14:45:12 +0000 (14:45 +0000)]
Cleanup declaration.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16707
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 16 Jan 2007 14:31:07 +0000 (14:31 +0000)]
Fix compilation problem with gcc-3.3.4-11.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16706
a592a061 -630c-0410-9148-
cb99ea01b6c8
Edwin Leuven [Tue, 16 Jan 2007 12:24:49 +0000 (12:24 +0000)]
* avoid signal triggered by setChecked(bool)
* get rid of suprefluous mailer updates
should get rid of bugs:
http://bugzilla.lyx.org/show_bug.cgi?id=3076
http://bugzilla.lyx.org/show_bug.cgi?id=3077
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16705
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 16 Jan 2007 11:28:37 +0000 (11:28 +0000)]
Make LyX compile again.
* lib/Makefile.am:
- fix URIs introduced with r16699
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16704
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 16 Jan 2007 07:29:02 +0000 (07:29 +0000)]
* src/frontends/qt4/ui/QPrefCygwinPathUi.ui:
- fix layout (bug 3103).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16703
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Tue, 16 Jan 2007 07:05:07 +0000 (07:05 +0000)]
replace 'ascii' by 'plain text' (more to come)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16702
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Mon, 15 Jan 2007 23:59:23 +0000 (23:59 +0000)]
fix tipo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16701
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Mon, 15 Jan 2007 23:57:24 +0000 (23:57 +0000)]
Update Win build instructions
(require Microsoft.VC80.CRT.manifest)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16700
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Mon, 15 Jan 2007 23:22:06 +0000 (23:22 +0000)]
- remove duplicate PDFs
- correct entries in makefile.am
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16699
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Mon, 15 Jan 2007 22:49:14 +0000 (22:49 +0000)]
* change LFUN file-insert-ascii to file-insert-plaintext
* change LFUN file-insert-ascii-para to file-insert-plaintext-para
* change LyXRC::RC_ASCIIROFF_COMMAND to LyXRC::RC_PLAINTEXT_ROFF_COMMAND
* change LyXRC::RC_ASCII_LINELEN to LyXRC::RC_PLAINTEXT_LINELEN
* replace "ascii" by "plaintext" in method names
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16697
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Mon, 15 Jan 2007 22:10:56 +0000 (22:10 +0000)]
* Status.15x: remove some bugs which are already listed at bugzilla.lyx.org
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16696
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 15 Jan 2007 16:58:14 +0000 (16:58 +0000)]
Translate labels based on the paragraph language instead of the Buffer language.
* Buffer:
- translateLabel(): deleted.
* Paragraph:
- translateIfPossible(): new method.
- expandLabel(): new method.
* buffer_funcs.[Ch]
- expandLabel(): deleted.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16694
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 15 Jan 2007 15:51:45 +0000 (15:51 +0000)]
Fix bug 3058: changes in LyX's preferences aren't taken immediately
http://bugzilla.lyx.org/show_bug.cgi?id=3058
Bug fixed by setting the UpdateFlags correctly in LFUN_LYXRC_APPLY and LFUN_SCREEN_FONT_UPDATE.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16693
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Mon, 15 Jan 2007 00:47:01 +0000 (00:47 +0000)]
Update to latest from boost 1.34.x branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16692
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 14 Jan 2007 21:05:26 +0000 (21:05 +0000)]
forgot this in r16687
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16689
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 14 Jan 2007 20:40:06 +0000 (20:40 +0000)]
remove unneeded image
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16687
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 14 Jan 2007 18:30:28 +0000 (18:30 +0000)]
- updated: removed the stuff that is now described in Extended-Insets (The same as done some days ago in the 1.4.x branch)
Now all docs are in sync again.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16686
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sun, 14 Jan 2007 18:27:27 +0000 (18:27 +0000)]
* src/CutAndPaste.C:
* src/paragraph.C:
* src/paragraph.h:
* src/text2.C: consider change tracking in stripLeadingSpaces()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16684
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sun, 14 Jan 2007 18:17:56 +0000 (18:17 +0000)]
* lib/*: rename Extended-Insets to ExtendedInset
* development/scons/scons_manifest.py: add es_ExtendedInset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16683
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 14 Jan 2007 17:53:30 +0000 (17:53 +0000)]
fix member initialization order (gcc warning)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16682
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sun, 14 Jan 2007 17:31:15 +0000 (17:31 +0000)]
* src/buffer.C: save(): use correct filesystem encoding; check whether backup was successful
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16681
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sun, 14 Jan 2007 17:14:31 +0000 (17:14 +0000)]
The Mac doesn't need a offset for the save/restore window position code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16678
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 14 Jan 2007 17:13:54 +0000 (17:13 +0000)]
add new docs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16677
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 14 Jan 2007 16:41:42 +0000 (16:41 +0000)]
- new documentation
- images used in the new documentation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16676
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 14 Jan 2007 11:31:30 +0000 (11:31 +0000)]
it seems that queryUserLyXDir needs to have access to the translation...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16674
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 14 Jan 2007 10:37:14 +0000 (10:37 +0000)]
* messages.h:
- getMessages(), getGuiMessages(): new global function definitions
* lyx_main.C: implementation of getMessages() and getGuiMessages().
* LyX class:
- getMessages(), getGuiMessages(), setGuiLanguage(): new interface for Messages access.
* LyX::Singletons class:
- messages_: new container for Messages objects.
* Buffer::Impl::messages is now a pointer to the singleton defined in lyx_main.C.
* gettext.C: _() uses the global getGuiMessages() instead of the local static Messages object.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16673
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 14 Jan 2007 09:55:08 +0000 (09:55 +0000)]
- In order to properly cache <language, Messages> pair I needs to get rid of the pimpl. This was not necessary anyway because minimal header change is needed (<map> is added and <boost/scoped_ptr> is removed).
- I changed (again) the get() interface to return full copy instead of const reference because the no ENABLE_NLS case was not working.
- I put the C++ example implementation at the end of messages.C.
- I did some header cleanup in messages.C.
This will be the last change to the Messages class.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16672
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 13 Jan 2007 21:08:13 +0000 (21:08 +0000)]
Add two files that are included by the beamer example file and that I forgot.
Found out by Jean-Pierre Chretien.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16671
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 13 Jan 2007 20:05:48 +0000 (20:05 +0000)]
fix completely stupid commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16670
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 13 Jan 2007 18:29:50 +0000 (18:29 +0000)]
Fix bug 2138: copy and paste should preserve formatting between different
LyX instances. This re-enables copy/paste from the internal clipboard on
OS X (currently broken since Clipboard::isInternal() always returns false for
some reason).
* src/insets/insettabular.C
(InsetTabular::doDispatch): adjust to clipboard interface change
(InsetTabular::copySelection): ditto
* src/mathed/InsetMathGrid.C
(InsetMathGrid::doDispatch): ditto
* src/mathed/InsetMathNest.C
(InsetMathNest::doDispatch): ditto
* src/buffer.[Ch]
(Buffer::readString): New method: Read document from a string
(Buffer::readFile): Change return value from bool to enum (needed
for readString). Return wrongversion if we are reading from a string
and the version does not match.
(Buffer::do_writeFile): make public and rename to write
* src/CutAndPaste.C
(putClipboard): New helper, put stuff to the system clipboard
(void copySelectionHelper): Use putClipboard instead of
theClipboard().put()
(void copySelection): ditto
(void pasteClipboard): new method for pasting in text
(void pasteParagraphList):
* src/frontends/Clipboard.h
(Clipboard::get): Rename to getAsText
(Clipboard::getAsLyX): New method for getting the system clipboard
in LyX format
(Clipboard::hasLyXContents): New method telling whether there is LyX
contents in the clipboard
* src/frontends/qt4/GuiClipboard.[Ch]: Implement the new methods
* src/text3.C
(LyXText::dispatch): Use pasteClipboard for pasting the system
clipboard
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16669
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 13 Jan 2007 17:10:39 +0000 (17:10 +0000)]
- rename CacheType
- replace static string with private member
- test the success of the cache insertion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16668
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 13 Jan 2007 14:36:54 +0000 (14:36 +0000)]
Change lyx2lyx conversion and LaTeX export of documents with
\inputencoding default
* src/paragraph_pimpl.C
(isEncoding): Explain why bparams.inputenc == "default" is ignored
* src/bufferparams.C
(BufferParams::encoding): Determine the encoding from the language
for inputenc == "default"
* src/buffer.h
(writeLaTeXSource): Mention inputenc == "default" in documentation
* src/bufferparams.h
(inputenc): Update documentation of "default"
* src/output_latex.C
(switchEncoding): Switch the encoding also for inputenc == "default",
but don't output \inputencoding commands in that case
* lib/lyx2lyx/LyX.py
(get_encoding): Determine the encoding from the language for
inputencoding == "default"
* lib/lyx2lyx/lyx_1_5.py
(convert_multiencoding): ditto
* development/FORMAT: Update documentation of \inputencoding default
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16667
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 13 Jan 2007 14:19:58 +0000 (14:19 +0000)]
whitespace only again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16665
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Sat, 13 Jan 2007 10:33:04 +0000 (10:33 +0000)]
* src/frontends/qt4/QGraphicsDialog.C:
- allow double values in the bounding box widgets (bug 3055, 3056).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16664
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 13 Jan 2007 09:31:47 +0000 (09:31 +0000)]
Messages:
- cache_: new cache for gettext translated string.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16662
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 13 Jan 2007 02:25:14 +0000 (02:25 +0000)]
whitespace only -- improve readability
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16661
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 12 Jan 2007 10:19:51 +0000 (10:19 +0000)]
Add a const. A second const as in:
InsetBase const * const nextinset = = nextInset();
is not possible because InsetBase::asInsetMath() is not const.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16660
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Fri, 12 Jan 2007 03:19:58 +0000 (03:19 +0000)]
Make sure that all inputed filenames are in internal style, and avoid
a bug on Windows due to an unnecessary conversion to external style.
* src/insets/ExternalSupport.C
(subst_path): avoid a bug in the external material inset on Windows
by don't using external_path. The filename will be quoted and thus
there will be no problems with forward slashes.
* src/frontends/qt4/QGraphics.C
* src/frontends/qt4/QExternal.C
* src/frontends/qt4/QInclude.C:
(Qxxx::apply): On Windows, the user could input an absolute path in
native style by hand (without using the file dialog), so make sure
that no backslashes can slip in by this way.
* src/frontends/qt4/QPrefsDialog.C
(internal_path_list, external_path_list): new wrappers for the
corresponding functions in the os namespace.
(PrefPaths::apply): make sure that path_prefix is stored in the
internal style, i.e., without backslashes.
(PrefPaths::update): make sure that path_prefix is displayed to
the user in the native style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16659
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 11 Jan 2007 22:56:21 +0000 (22:56 +0000)]
optimization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16658
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 11 Jan 2007 22:38:37 +0000 (22:38 +0000)]
tiny optimization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16657
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 11 Jan 2007 22:38:00 +0000 (22:38 +0000)]
tiny optimisation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16656
a592a061 -630c-0410-9148-
cb99ea01b6c8