Commit Graph

421 Commits

Author SHA1 Message Date
Bo Peng
eb485caa96 view-source feature, from Bo Peng <ben.bob@gmail.com>
* src/buffer.h buffer.C - getSourceCode()
	* src/lyxfunc.C -  open view-source dialog
	* src/text3.C - change LFUN_MOUSE_RELEASE
	* src/output_linuxdoc.C, src/output_docbook.C, src/output_latex.C 
		- intercept output
	* src/outputparams.h, outputparams.C - add par_begin, par_end, dryrun
	* src/insets/insetgraphics.C  - add dryrun mode of file conversion
	* lib/ui/stdmenus.ui - add view-source menu item under view
	* Add view-source dialog, add 
	    src/frontends/qt2/QViewSourceDialog.h, QViewSource.C, QViewSource.h, QViewSourceDialog.C
	    src/frontends/qt2/ui/QViewSourceDialogBase.ui
	    src/frontends/controllers/ControlViewSource.h ControlViewSource.C
	  modify
	    src/frontends/qt2/Makefile.dialogs, Makefile.am, Dialogs.C,
	    src/frontends/controllers/Makefile.am, po.POTFILES.in


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13610 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-09 02:48:54 +00:00
Lars Gullik Bjønnes
9d6cad3fe6 * output_latex.h:
* buffer.h:
        * CutAndPaste.h:
        * pariterator.h:
        * paragraph_funcs.h:
        * output_linuxdoc.h:
        * output_docbook.h:
        * insets/insettext.h: get forward declaration of ParagraphList

        * output_plaintext.C:
        * bufferlist.C:
        * undo.C:
        * lyxtext.h:
        * undo.h:
        * buffer_funcs.C:
        * insets/insetbibitem.C: get proper ParagraphList decls

        * output_linuxdoc.C (linuxdocParagraphs):
        * output_latex.C (TeXOnePar):
        * insets/insettext.C (appendParagraphs):
        * insets/insetcharstyle.C (docbook): use std::distance

        * CutAndPaste.C (pasteSelectionHelper, copySelectionHelper):
        * paragraph_funcs.C (breakParagraph,
        breakParagraphConservative, mergeParagraph):
        * text.C (acceptChange, rejectChange):
        * text2.C (deleteEmptyParagraphMechanism): use boost::next

        * output_docbook.C (several places): use boost::next and
        std::distance

        * ParagraphList_fwd.h: modify to provid a forward declaratoin
        of the new ParagraphList.

        * RandomAccessList.h: New container for Paragraphs from
        Abdelrazak Younes

        * ParagraphList.h: new file, setup user of RandomAccessList

        * paragraph.C: remove ParagraphList constructor from this file



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13467 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-23 20:11:06 +00:00
Lars Gullik Bjønnes
aa485c36b4 remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10792 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-28 22:01:12 +00:00
Lars Gullik Bjønnes
387fafc5d3 remerge and CRLF removal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10567 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-23 13:26:52 +00:00
Lars Gullik Bjønnes
1368806376 remerge po files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10403 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-21 13:14:34 +00:00
Jean-Marc Lasgouttes
4f96e3c41e get rid of the lib/xfonts hack
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10238 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 11:06:12 +00:00
Jean-Marc Lasgouttes
988551da8b tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10120 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-04 10:40:10 +00:00
Jean-Marc Lasgouttes
0f51d7cabf better (and localizable) display of vertical spaces
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9968 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-24 10:23:30 +00:00
Lars Gullik Bjønnes
0f52688b3a remove reference to gnome files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9961 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-20 10:31:21 +00:00
Angus Leeming
a8a852b4e9 Make the Qt Alert boxes recognize their parent.
Lots of gratuitous changes that should not alter Lyx's behaviour.

**************************************************************************
You're all going to get failure on link. Please "rm -f lengthvalidator.*".
**************************************************************************


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9940 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-12 22:37:43 +00:00
Angus Leeming
201e5bdf70 Fully enable compilation of LyX 1.4.x on Windows with MinGW/MinSYS.
Break compilation with MSVC. See accompanying mail on the lyx-devel list.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9895 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-02 13:35:30 +00:00
Angus Leeming
4991816dc9 support/userinfo.C now contains some translated text.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9870 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-25 11:07:54 +00:00
Angus Leeming
bc5b71cc96 Someone got busy and added i18n-able warnings to some mathed insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9841 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-20 17:33:51 +00:00
Jean-Marc Lasgouttes
2e7621d77b enable running latex on files which path contains spaces
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9745 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-25 15:27:30 +00:00
Jean-Marc Lasgouttes
208c57fad7 clean-up gettext support code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9710 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-11 10:49:09 +00:00
Jean-Marc Lasgouttes
733b1b1363 remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9641 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-16 16:23:37 +00:00
Lars Gullik Bjønnes
cfe1079df3 update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9548 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-31 11:43:28 +00:00
Lars Gullik Bjønnes
342cdf4322 the convert patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9538 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-27 21:05:44 +00:00
Angus Leeming
412f8af4fd Enable "lyx -dbg init" to run.
Tweak gettext search mechanism.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9467 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-12 12:25:30 +00:00
Angus Leeming
b5589bf6cf The package reworking.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9463 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-10 19:17:43 +00:00
Angus Leeming
998d99a057 *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9356 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-07 10:43:01 +00:00
Lars Gullik Bjønnes
686f1e276f InsetOld -> InsetBase renaming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9310 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-25 19:13:07 +00:00
Jean-Marc Lasgouttes
ce2cab2732 update the screen while spellchecking and merging changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9289 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-22 14:56:14 +00:00
Jean-Marc Lasgouttes
3c6f968676 correctly disable buffer-related menu entries when a dialog has focus (bug 1720)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9258 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-16 10:46:23 +00:00
Jean-Marc Lasgouttes
c80d330132 better fix for bug 1523
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9164 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-04 14:44:34 +00:00
Jean-Marc Lasgouttes
ec733357e0 fix bug 1694
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9090 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-15 08:27:59 +00:00
Angus Leeming
7a8f2f4743 Re-sync with the new GCharacter.C, GParagraph.C, GSearch.C and GToc.C.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9042 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-05 08:25:19 +00:00
Lars Gullik Bjønnes
cf40817160 lyxclient moved from development and cleaned up a bit + some assorted fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8967 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-04 12:13:50 +00:00
Lars Gullik Bjønnes
d20f0af816 some nicer margins and some small cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8925 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 15:55:22 +00:00
Jean-Marc Lasgouttes
42afdcb9c4 forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8880 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-09 12:37:48 +00:00
Lars Gullik Bjønnes
225610e3e0 some more gettext work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8782 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-26 20:26:10 +00:00
Lars Gullik Bjønnes
31bfe0870f makefile gtk fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8778 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-25 23:45:52 +00:00
Lars Gullik Bjønnes
2c0668646a update m4 files and remove warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8774 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-25 14:42:10 +00:00
Angus Leeming
b03580df17 A layout engine for XForms.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8704 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-28 17:22:05 +00:00
John Levon
3bcf40e96d Make M-x show the minibuffer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8686 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-21 00:19:27 +00:00
Jean-Marc Lasgouttes
b3bed8d879 Georg\'s last patch for bug 605
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8627 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-08 10:09:09 +00:00
Lars Gullik Bjønnes
fd80d9ff4e Define BOOST_USER_CONFIG.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8595 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-03 09:06:18 +00:00
Angus Leeming
d2603b93c7 Remove all the cruft needed by the original MVC dialog code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8578 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-31 22:09:52 +00:00
Jürgen Spitzmüller
4072a82b6e support for sidewaysfloats and fix for bug 1016 (float placement allows impossible settings).
BTW: floats are still broken (dialogs do not get updated). No idea where this bug sits.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8557 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-29 11:38:39 +00:00
Angus Leeming
7c70a8ee0f Georg's take on Bug 605.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8528 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-25 10:12:44 +00:00
Angus Leeming
5394e9acc5 Remove the Forks dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8497 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-17 21:21:47 +00:00
Jürgen Spitzmüller
891bb08e37 support for second \cite option.
Natbib users can now use the before field.
file format is up to 230.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8479 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-05 14:49:10 +00:00
Jean-Marc Lasgouttes
c4bbb682aa fix crash with drag and drop
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8465 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-27 14:21:00 +00:00
Jean-Marc Lasgouttes
d891a896f4 Georg Baum\'s no-tempdir patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8458 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-25 12:00:53 +00:00
Lars Gullik Bjønnes
65047994df gtk-patch_2004_2_9.new
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8454 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-23 00:21:04 +00:00
Lars Gullik Bjønnes
3420904448 The func.diff patch. Functors work and some tiny cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8377 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-31 15:30:24 +00:00
Lars Gullik Bjønnes
7ea6f6e883 use std::advance and std::distance instead of home-grown versions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8372 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-26 17:00:09 +00:00
Angus Leeming
2f1d525ee1 Handle Qt-style file filters like
"TeX documents (*.tex);;LyX Documents (*.lyx)".


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8327 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-08 10:59:51 +00:00
Angus Leeming
d80377e089 No longer mention InsetMinipage in the po files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8252 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-15 11:41:20 +00:00
Angus Leeming
028edb795e Update POTFILES.in to reflect the current state.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8216 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-09 11:52:55 +00:00