]>
git.lyx.org Git - lyx.git/log
José Matox [Thu, 27 Jul 2006 18:30:13 +0000 (18:30 +0000)]
* LyX.py
* lyx_1_1_5.py
* lyx_1_2.py
* lyx_1_3.py
* lyx_1_4.py
* lyx_1_5.py
* parser_tools.py: remove functions that are not generic, i.e.
assume a specific pattern for the file format, and move them to the
places where they are used.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14503
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Thu, 27 Jul 2006 16:39:27 +0000 (16:39 +0000)]
Update development/Win32/hidecmd.c, from Enrico Forestieri
The usage of hidecmd.c is now 'lyx.exe [var=val] [other lyx options]'
The realy console lyx.exe should be renamed to lyxc.exe.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14502
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Thu, 27 Jul 2006 14:18:47 +0000 (14:18 +0000)]
lib/configure.py: do not wait till the end of 'latex wrap_chkconfig.ltx' to display latex class availability info
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14501
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Thu, 27 Jul 2006 14:13:45 +0000 (14:13 +0000)]
load files from lyx_main.C instead of lyx_gui.C, do not add session-restored files to lastfile list.
* src/frontends/lyx_gui.h: add prototype for create_view
* src/frontends/(gtk,qt3,qt4)/lyx_gui.C: separate start()
* src/lyx_main.C: call create_view, load file, and call start
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14500
a592a061 -630c-0410-9148-
cb99ea01b6c8
José Matox [Thu, 27 Jul 2006 11:37:26 +0000 (11:37 +0000)]
parser_tools.py (del_token): rename arguments to be coherent with other functions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14499
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Tue, 25 Jul 2006 19:38:56 +0000 (19:38 +0000)]
Remove the hide console trick in support/os_win32.C since wrapper hidecmd.c can completely hide the console.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14498
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Tue, 25 Jul 2006 19:30:58 +0000 (19:30 +0000)]
Add development/Win32/hidecmd.c, which hides windows console window when starting lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14497
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 24 Jul 2006 11:08:44 +0000 (11:08 +0000)]
Fix bug 2616
* src/LaTeX.C
(LaTeX::deplog): Add the toc file to the dependencies if a line
\tf@toc=\write#
is present in the log file, since miktex does not write the line
\openout# = `sample.toc'.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14496
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 22 Jul 2006 20:20:51 +0000 (20:20 +0000)]
Partial fix for bug 2420
* src/tex2lyx/preamble.C
(parse_preamble): ignore the definition of the lyxgreyedout
environment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14495
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 22 Jul 2006 16:47:31 +0000 (16:47 +0000)]
Revert autoconf change, 2.60 is broken wrt prefix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14494
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 22 Jul 2006 15:17:27 +0000 (15:17 +0000)]
Do not add backup .lyx~ files to lib/doc/Makefile.depend.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14493
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 22 Jul 2006 14:32:57 +0000 (14:32 +0000)]
Support autoconf 2.60
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14492
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Sat, 22 Jul 2006 11:23:41 +0000 (11:23 +0000)]
split the qt.m4 in two, separate file for qt4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14491
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Thu, 20 Jul 2006 18:57:29 +0000 (18:57 +0000)]
scons: make "scons install" succeed without msgfmt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14490
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Wed, 19 Jul 2006 18:17:23 +0000 (18:17 +0000)]
* lengthCommon.C: add an empty string as the last element
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14489
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 19 Jul 2006 16:25:54 +0000 (16:25 +0000)]
Give feedback if TeXFiles.py fails
* src/frontends/controllers/tex_helpers.h: doxyfy comment
* src/frontends/controllers/tex_helpers.C
(rescanTexStyles): Pop up a message box when TeXFiles.py fails
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14488
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 19 Jul 2006 10:50:18 +0000 (10:50 +0000)]
Fix read in of \over (related to bug 2481)
* src/mathed/math_factory.C
(createMathInset): Create a MathFracInset of kind OVER for \over
* src/mathed/math_fracinset.C
(MathFracInset::draw): handle kind OVER
(MathFracInset::drawT): ditto
(MathFracInset::write): ditto
(MathFracInset::name): ditto
(MathFracInset::extraBraces): ditto
* src/mathed/math_fracinset.h
(Kind): New kind OVER
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14487
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Tue, 18 Jul 2006 21:56:07 +0000 (21:56 +0000)]
* lengthcommon.[Ch]: remove obsolete unit_name_ltx;
choose user-friendly names for unit_name_gui
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14485
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Tue, 18 Jul 2006 21:06:47 +0000 (21:06 +0000)]
* pocheck.pl: re-introduce check for '|' shortcuts
which are not only used by the former xforms frontend
but also in the menus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14484
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Tue, 18 Jul 2006 20:46:24 +0000 (20:46 +0000)]
* INSTALL: Mention that LyX has been tested with Qt 4.x.
Do not mention Qt 2.x any longer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14483
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Tue, 18 Jul 2006 20:40:57 +0000 (20:40 +0000)]
* README: Mention qt4 library
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14482
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 17 Jul 2006 20:06:58 +0000 (20:06 +0000)]
fix bug 2687
* src/lyxfunc.C
(quoteArg): new, quotes arguments for the "log" dialog
(LyXFunc::dispatch): quote log filename
* src/frontends/controllers/ControlLog.C
(ControlLog::initialiseParams): parse \" as " and \\ as \ in filename
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14481
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Mon, 17 Jul 2006 19:41:32 +0000 (19:41 +0000)]
Remove hardcoded option -tt from python scripts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14478
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Mon, 17 Jul 2006 19:37:24 +0000 (19:37 +0000)]
Change the encoding of some python scripts from ISO-8859-15 to ISO-8859-1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14477
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Mon, 17 Jul 2006 19:34:58 +0000 (19:34 +0000)]
Scons: small fix for target msvs_projects
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14476
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 17 Jul 2006 15:21:54 +0000 (15:21 +0000)]
* src/bufferlist.C
(BufferList::close): Don't ignore unsaved changes if quitting == true
(BufferList::close): Use menuWrite(buf) instead of buf->save(),
because menuWrite tells the user if the file could not be saved and
asks for another name
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14475
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 17 Jul 2006 15:13:49 +0000 (15:13 +0000)]
Fix bug 2404
* src/lyx_cb.C
(newFile): Only set the new buffer if it is valid
* src/BufferView_pimpl.C
(BufferView::Pimpl::loadLyXFile): Test whether newFile succeeded
* src/lyxfunc.C
(LyXFunc::menuNew): Only set the new buffer if it is valid
(LyXFunc::open): ditto
* src/importer.C
(Importer::Import): ditto
* src/lyx_main.C
(LyX::exec2): Only use the new buffer if newFile succeeded
* src/buffer_funcs.C
(newFile): discard the buffer and return 0 if the template is invalid
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14474
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Mon, 17 Jul 2006 05:30:36 +0000 (05:30 +0000)]
Fix "inset in tabular cell sticks out over cell border" bug
* insetcollapsable.C
(InsetCollapsable::metrics): make sure openinlined_ does not
contain mi.base.textwidth
* insettabular.C
(InsetTabular::metrics): modify m.base.textwidth calculation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14472
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 16 Jul 2006 17:19:05 +0000 (17:19 +0000)]
Fix bug 2481
* src/mathed/math_fracinset.[Ch]
(MathFracInset::extraBraces): new, return true for \atop
* src/mathed/math_binominset.[Ch]
(MathBinomInset::extraBraces): new, return true for \choose
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14470
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 16 Jul 2006 13:04:59 +0000 (13:04 +0000)]
Fix bug 2667
* src/tex2lyx/tex2lyx.C
(tex2lyx): output an empty paragraph if the document is empty
* src/tex2lyx/context.C
(Context::check_layout): set empty to false
* src/tex2lyx/context.[Ch]
(empty): new flag, tells whether all contexts are empty
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14469
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 16 Jul 2006 10:04:26 +0000 (10:04 +0000)]
Fix bug 2524
* src/support/tests/test_convert: Change shell from bash to sh
* src/support/tests/test_filetools: ditto
* src/support/tests/test_lstrings: ditto
* src/frontends/controllers/tests/test_biblio: ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14468
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 15 Jul 2006 22:43:37 +0000 (22:43 +0000)]
This commit transfer the ErrorList handling from LyXView to Buffer. It also removes the need for the error signal and simplify the kerbel <-> frontend communication. I think it should speed-up _significantly_ the latex compilation for example in case of problematic files.
TODO 1: All occurrences of "LyXView::showErrorList()" in the "kernel" should be replaced by a boost signal emission (Buffer::errors()). This signal is already connected to this showErrorList() slot.
TODO 2: The ErrorList mechanism is used wrongly in a number of place, most notably in "Converter.C". Instead of replacing the ErrorList in the "Buffer" class, the "Converter" class should maintain its own list instead and connect directly to the LyXView::showErrorList() slot.
Buffer:
* errorList_: new private member and associated access methods.
* setErrorList(): new accessor method.
* addError(): apend an error to the errorList_.
* error(): deleted.
* errors(): new boost signal, unused for now. Shall be used instead of LyXView::showErrorList().
LyXView:
* getErrorList(), addError(), errorlist_, errorConnection_: deleted.
* errorsConnection_: new boost connection for the Buffer::errors() signal.
lyx_main.C:
* LyX::exec2(): manually print all errors.
BufferView.h: remove unneeded ErrorList forward declaration.
BufferView::pimpl::menuInsertLyXFile(): delete Buffer::error() connection and add a FIXME comment
text.C: Use Buffer::addError() instead of Buffer::error() signal emission.
ControlErrorList.C: get the ErrorList from the Buffer instead of LyXView
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14467
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 15 Jul 2006 11:39:58 +0000 (11:39 +0000)]
compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14461
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 15 Jul 2006 11:37:20 +0000 (11:37 +0000)]
fix line ending
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14460
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 15 Jul 2006 11:25:49 +0000 (11:25 +0000)]
Fix bug 2637
* src/graphics/GraphicsCacheItem.C
(CacheItem::Impl::convertToDisplayFormat): Don't derive the temp
file name from the original file name. This ensures that it is
composed of valid characters only.
* src/graphics/GraphicsConverter.C: remove example script, since it
will get out of date.
(build_script): Copy the original file to a temp file before the
conversion chain starts. This avoids problems with converters that
can't handle ' in filenames.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14459
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 14 Jul 2006 21:47:48 +0000 (21:47 +0000)]
This commit continues the drastic diet operated on BufferView. It removes all boost signal connections from BufferView::pimpl and put them in LyXView. LyXView already inherits from boost::signals::trackable so this is not a big deal. If you look closely at the signal connections, it all makes sense IMO.
With this change, the only difference between BufferView.h and BufferView_pimpl.h is "cursor.h" so I think it is time to merge the two classes at last.
BufferView:
* showErrorList(), getErrorList(): transfered to LyXView.
BufferView::pimpl
* addError(), showReadonly(), connectBuffer(), disconnectBuffer(): transfered to LyXView.
CutAndPaste.C: adapted to API changes
frontends/controllers/ControlErrorList.C: ditto
lyxfunc.C: ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14458
a592a061 -630c-0410-9148-
cb99ea01b6c8
Edwin Leuven [Fri, 14 Jul 2006 13:14:41 +0000 (13:14 +0000)]
Math Panel:
* add dropdown menu with fractions
* repair panel switching
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14457
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 14 Jul 2006 09:56:21 +0000 (09:56 +0000)]
This commit removes the needRedraw() interface and simplify the screen update procedure. It also fixes all crash problems.
The performance may suffer a bit because we do the second drawing step in all cases. This could be possibly optimized out by checking the return value of the BufferView::update() method in "lyxfunc.C:1610". But it is maybe better to keep those two parts of the frontend ignorant of each other: the event handling and the drawing.
BufferView:
* needRedra(), need_redraw_: deleted.
* updateMetrics(): now public.
* update(): only do the first drawing step. Returns true if a full updateMetrics is needed before drawing on screen.
WorkArea:
* redraw(): no check on BufferView::needRedraw(), call updateMetrics() unconditionally.
* processKeySim(): uneeded "redraw()" call commented out. When/if the call to LyXView::redrawWorkArea() in "lyxfunc.C:1610" is not needed anymore, this line should be uncommented out.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14456
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Fri, 14 Jul 2006 08:58:32 +0000 (08:58 +0000)]
remove xforms and libXpm; fix gv's URL
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14455
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Fri, 14 Jul 2006 08:56:07 +0000 (08:56 +0000)]
update to \lyxformat 245
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14454
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Fri, 14 Jul 2006 08:41:46 +0000 (08:41 +0000)]
Indicate that the description is outdated
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14453
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Fri, 14 Jul 2006 08:30:26 +0000 (08:30 +0000)]
major cleanup of this totally outdated file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14452
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Fri, 14 Jul 2006 08:12:57 +0000 (08:12 +0000)]
do not mention xform(s) frontend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14451
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Fri, 14 Jul 2006 08:11:23 +0000 (08:11 +0000)]
remove LFUN_INSET_DIALOG_SHOW
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14450
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Thu, 13 Jul 2006 17:52:41 +0000 (17:52 +0000)]
Scons: check for unused/misspelled command line option, allow rebuild=yes/no/all/none.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14449
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 13 Jul 2006 16:37:55 +0000 (16:37 +0000)]
GUI API Cleanup step 3: merge with "younes" branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14448
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Thu, 13 Jul 2006 07:43:48 +0000 (07:43 +0000)]
* src/text3.C (dispatch): merge the SELECT and non-SELECT cursor
movement LFUNs; use LCursor::selHandle consistently (fixes bugs 2119
and 2259, and also a crash related to with dEPM)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14436
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Wed, 12 Jul 2006 19:10:17 +0000 (19:10 +0000)]
remove redrawGUI()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14433
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Mon, 10 Jul 2006 19:40:55 +0000 (19:40 +0000)]
* SConstruct: remove xforms relicts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14417
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Mon, 10 Jul 2006 18:58:44 +0000 (18:58 +0000)]
* gtk/lyx_gui.C:
* qt3/lyx_gui.C:
* qt3/Dialogs.C:
* qt4/lyx_gui.C:
* qt4/Dialogs.C: remove special handling of preamble dialog
(which no longer exists)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14416
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Mon, 10 Jul 2006 18:51:17 +0000 (18:51 +0000)]
* lyxrc.h:
* lyxfunc.C: remove RC_WHEEL_JUMP
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14415
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 10 Jul 2006 17:44:36 +0000 (17:44 +0000)]
delete some Qt "signals" macro reference.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14414
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 10 Jul 2006 17:40:14 +0000 (17:40 +0000)]
Add -DQT_NO_KEYWORDS to compiler option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14413
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 10 Jul 2006 17:30:35 +0000 (17:30 +0000)]
Add a const inside BufferView::Pimpl::updateMetrics(bool singlepar)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14412
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 10 Jul 2006 17:14:44 +0000 (17:14 +0000)]
rev 14409 committed the file from a wrong tree, here is the file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14411
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 10 Jul 2006 15:14:29 +0000 (15:14 +0000)]
delete Painter::fillPolygon() and associated frontend implementations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14410
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 10 Jul 2006 14:32:11 +0000 (14:32 +0000)]
BufferView::Pimpl::updateMetrics(): Simple optimization; avoid looking in the coord cache map and the paragraph vector multiple time.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14409
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 10 Jul 2006 11:32:25 +0000 (11:32 +0000)]
Split clipboard and X selection
* src/LyXAction.C
(LyXAction::init): handle new LFUN_CLIPBOARD_PASTE
* src/insets/insettabular.C
(InsetTabular::doDispatch): ditto
* src/insets/insetbox.C
(InsetBox::doDispatch): ditto
* src/insets/insetert.C
(InsetERT::doDispatch): ditto
(InsetERT::getStatus): ditto
* src/insets/insetcharstyle.C
(InsetCharStyle::doDispatch): ditto
* src/BufferView_pimpl.C
(BufferView::Pimpl::selectionRequest): stuff selection, not clipboard
* src/mathed/math_nestinset.C
(MathNestInset::lfunMousePress): get stuff selection, not clipboard
(MathNestInset::lfunMouseRelease): clipboard -> selection in
commented code
* src/CutAndPaste.C
(cutSelection): ditto
* src/frontends/{qt3,gtk}/GuiImplementation.C
(GuiImplementation::newWorkArea): create new selection, not clipboard,
since the clipboard is now an object
(GuiImplementation::destroyWorkArea): destroy selection, not clipboard
* src/frontends/{qt4,qt3,gtk}/GuiSelection.h: new, copied from
GuiClipboard.h
* src/frontends/{qt4,qt3,gtk}/GuiSelection.C: new, copied from
GuiClipboard.C
* src/frontends/{qt3,gtk}/GuiImplementation.h
(selection): new accessor for selection_
(selection_): new, the global selection object
* src/frontends/{qt4,qt3,gtk}/Makefile.am: add GuiSelection.C and
GuiSelection.h
* src/frontends/{qt4,qt3,gtk}/GuiClipboard.C
(GuiClipboard::get): return clipboard, not selection
(GuiClipboard::put): stuff clipboard, not selection
* src/frontends/{qt4,qt3,gtk}/GuiClipboard.h
(haveSelection): remove (this is now in GuiSelection)
* src/frontends/{qt3,gtk}/GuiClipboard.h
(old_work_area_): remove, since it is not needed anymore
* src/frontends/gtk/ghelpers.C
(getGTKStockIcon): handle LFUN_CLIPBOARD_PASTE
* src/frontends/Clipboard.h
(haveSelection): remove (this is now in Selection)
* src/frontends/qt4/GuiImplementation.[Ch]
(GuiImplementation::selection): new accessor for selection_
* src/frontends/Gui.h
(selection): New accessor for the global selection object
* src/frontends/Selection.h; new, copied from Clipboard.h
* src/frontends/Makefile.am: add Selection.h
* src/text3.C
(various): s/clipboard().haveSelection/selection().haveSelection/
(LyXText::dispatch): handle LFUN_CLIPBOARD_PASTE
(LyXText::getStatus): ditto
* src/lfuns.h: new lfun LFUN_CLIPBOARD_PASTE
* lib/ui/stdmenus.ui: add new lfun LFUN_CLIPBOARD_PASTE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14408
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 10 Jul 2006 08:53:57 +0000 (08:53 +0000)]
disable concept checks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14407
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sun, 9 Jul 2006 17:57:15 +0000 (17:57 +0000)]
* src/lyxrc.C:
* src/lyxrc.h:
* lib/lyxrc.example: remove wheel jump option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14406
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sun, 9 Jul 2006 17:48:34 +0000 (17:48 +0000)]
* configure.ac
* src/Makefile.am: rename lyx[-_]qt => lyx[-_]qt3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14405
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Sun, 9 Jul 2006 17:30:21 +0000 (17:30 +0000)]
Let Meta be an alias for Alt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14404
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sun, 9 Jul 2006 17:27:17 +0000 (17:27 +0000)]
* FileDialog.h: make private_ member private
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14403
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sun, 9 Jul 2006 17:25:55 +0000 (17:25 +0000)]
* classic.ui:
* stdmenus.ui: remove menu entries for LaTeX preamble
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14402
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 9 Jul 2006 16:35:20 +0000 (16:35 +0000)]
initialize member variables: width_, scriptable_
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14401
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 9 Jul 2006 14:44:37 +0000 (14:44 +0000)]
* src/graphics/GraphicsConverter.C
(build_script): replace unused code for equal formats by an assert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14400
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 9 Jul 2006 10:14:04 +0000 (10:14 +0000)]
fix image paths
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14394
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 9 Jul 2006 10:06:58 +0000 (10:06 +0000)]
* src/graphics/GraphicsConverter.C
(Converter::Impl::Impl): move block of python code to build_script
(build_script): adjust formatting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14393
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Sun, 9 Jul 2006 01:08:47 +0000 (01:08 +0000)]
Fix some WorkArea fallouts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14391
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Sat, 8 Jul 2006 22:55:22 +0000 (22:55 +0000)]
Extracted from r14281
* BufferView:
- hideCursor(): deleted (for real)
* frontends/GuiCursor:
- deleted. Functionality transfered to WorkArea.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14389
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sat, 8 Jul 2006 22:42:09 +0000 (22:42 +0000)]
SCons: fix a small bug in scons_utils.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14388
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Sat, 8 Jul 2006 22:06:50 +0000 (22:06 +0000)]
Extracted from r14281
* BufferView:
- hideCursor(): deleted
* frontends/WorkArea:
- now each instance handles its blinking cursor independently.
- hideCursor(), howCursor(), toggleCursor(): new methods
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14387
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sat, 8 Jul 2006 21:31:57 +0000 (21:31 +0000)]
Scons: fix DESTDIR
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14386
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Sat, 8 Jul 2006 21:22:18 +0000 (21:22 +0000)]
* BufferView::Pimpl:
- remove unused variable using_xterm_cursor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14385
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Sat, 8 Jul 2006 21:16:21 +0000 (21:16 +0000)]
Extracted from r14281
* rowpainter:
- paintText: take the painter as an argument
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14384
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Sat, 8 Jul 2006 21:04:21 +0000 (21:04 +0000)]
Extracted from 14281
* frontends/WorkArea:
- processKeySym(): new method that should be used by all frontends
instead of buffer_view_->workAreaKeyPress().
* frontends/qt4/GuiWorkArea:
- keyPressEvent(): call WorkArea::processKeySym() instead of
buffer_view_->workAreaKeyPress().
* frontends/gtk/GWorkArea.C:
* frontends/qt3/QContentPane.C:
- call WorkArea::processKeySym() instead of
buffer_view_->workAreaKeyPress()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14383
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Sat, 8 Jul 2006 20:40:04 +0000 (20:40 +0000)]
Extracted from r14281
* CoordCache:
- startUpdating(), doneUpdating(): deleted because the screen drawing
is now done at one place (WorkArea::redraw()) and cannot be called
for within itself. Those debug methods are then not useful.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14382
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Sat, 8 Jul 2006 20:24:32 +0000 (20:24 +0000)]
Extracted from r14281
* frontends/LyXView:
- redrawWorkArea(): new temporary method called from within
BufferView::pimpl::update() that calls WorkArea::redraw()
in order to do the actual screen redrawing.
* frontends/WorkArea:
- the redraw() method now check if the the attached bufferView
needs a screen redraw().
* BufferView:
- needsRedraw(): new method for WorkArea::redraw()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14381
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 8 Jul 2006 15:45:15 +0000 (15:45 +0000)]
qt -> qt3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14380
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 8 Jul 2006 15:20:08 +0000 (15:20 +0000)]
forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14379
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 8 Jul 2006 15:11:18 +0000 (15:11 +0000)]
Move more methods from WorkArea to Clipboard in qt3 and gtk
* src/frontends/gtk/GWorkArea.[Ch]
(getClipboard): Move to GuiClipboard.[Ch]
(putClipboard): ditto
* src/frontends/gtk/Makefile.am: add GuiClipboard.C
* src/frontends/gtk/GuiClipboard.C: new file
* src/frontends/gtk/GuiClipboard.h
(get, put): only declare
* src/frontends/qt3/Makefile.am: add GuiClipboard.C
* src/frontends/qt3/QWorkArea.[Ch]
(getClipboard): Move to GuiClipboard.[Ch]
(putClipboard): ditto
* src/frontends/qt3/GuiClipboard.C: new file
* src/frontends/qt3/GuiClipboard.h
(get, put): only declare
* src/frontends/qt4/GuiClipboard.C: remove unneeded include
(GuiClipboard::get): adjust debug output
(GuiClipboard::put): ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14378
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 8 Jul 2006 14:40:22 +0000 (14:40 +0000)]
Fix potential crashes related to element presence in a given map.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14377
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 8 Jul 2006 14:16:56 +0000 (14:16 +0000)]
make FileName::isZipped more efficient by caching previous results
* src/insets/insetgraphics.C
(copyToDirIfNeeded): replace file_in and zipped arguments with a
FileName argument
(InsetGraphics::prepareFile): adjust call of copyToDirIfNeeded
* src/support/filename.C
(FileName::FileName): set zipped_valid_
(FileName::set): ditto
(FileName::erase): ditto
(isZipped): use zipped_
* src/support/filename.[Ch]
(zipped_): new cache for isZipped()
(zipped_valid_): new, tell whether zipped_ is valid
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14376
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 8 Jul 2006 13:27:43 +0000 (13:27 +0000)]
* src/frontends/gtk/GuiImplementation.C: include config.h
* src/frontends/qt4/GuiImplementation.C: ditto
* src/frontends/qt4/TocModel.C: ditto
* src/frontends/qt4/GuiClipboard.C: ditto
* src/frontends/gtk/GuiClipboard.h fix spelling
* src/frontends/qt3/GuiClipboard.h: ditto
* src/frontends/qt4/GuiClipboard.h: ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14375
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sat, 8 Jul 2006 11:16:17 +0000 (11:16 +0000)]
* configure.ac: qt becomes qt3
* INSTALL: remove xforms description; update
--with-frontend args
* config/lyxinclude.m4: update possible values
of --with-frontend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14373
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sat, 8 Jul 2006 09:40:15 +0000 (09:40 +0000)]
remove xforms relicts
* src/frontends/qt3/QPrefs.C:
* src/frontends/controllers/BCView.tmpl:
* src/support/package.h: fix/remove comment
* po/pocheck.pl: no longer check for xforms shortcuts
* development/Win32/lyx.vcproj: ignore ControlPreamble.[Ch]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14372
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sat, 8 Jul 2006 02:50:24 +0000 (02:50 +0000)]
lib/configure.py: fix CheckTexPaths
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14370
a592a061 -630c-0410-9148-
cb99ea01b6c8
Angus Leeming [Fri, 7 Jul 2006 16:22:46 +0000 (16:22 +0000)]
Update Geoffrey Tobin's email address to something that doesn't bounce...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14367
a592a061 -630c-0410-9148-
cb99ea01b6c8
Angus Leeming [Fri, 7 Jul 2006 16:21:45 +0000 (16:21 +0000)]
Fix the fix so that it actually works ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14366
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Fri, 7 Jul 2006 16:21:10 +0000 (16:21 +0000)]
Scons: allow non-exist build_dir option, adjust QTDIR/bin handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14365
a592a061 -630c-0410-9148-
cb99ea01b6c8
Angus Leeming [Fri, 7 Jul 2006 15:58:57 +0000 (15:58 +0000)]
Fix humiliating typo and update the link to the licence page on the web.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14361
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 7 Jul 2006 15:11:37 +0000 (15:11 +0000)]
add version_suffix documentation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14360
a592a061 -630c-0410-9148-
cb99ea01b6c8
Angus Leeming [Fri, 7 Jul 2006 14:05:23 +0000 (14:05 +0000)]
* Enable man2ps to work without hard-coding the locations of groff or dpost.
* Re-add whitespace fluff to {dvi,dtl}.doc --- minimize change to original package.
* Enable man2ps (and hence doc) targets in Makefile to build out of the box.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14359
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Fri, 7 Jul 2006 13:37:59 +0000 (13:37 +0000)]
* src/rowpainter.h (rightMargin): reduce to 10 pixels, like the left
margin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14357
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Fri, 7 Jul 2006 10:18:33 +0000 (10:18 +0000)]
* src/insets/insettabular.h: return true for allowSpellcheck (bug 2675)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14356
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Fri, 7 Jul 2006 03:08:37 +0000 (03:08 +0000)]
Scons: check system boost version, probe qt3 libs for qt2 frontend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14354
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Fri, 7 Jul 2006 02:39:54 +0000 (02:39 +0000)]
Scons: update cygwin instructions, by Enrico
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14353
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Thu, 6 Jul 2006 19:28:59 +0000 (19:28 +0000)]
* remove various xforms relicts, in particular:
* src/frontends/controllers/ControlPreamble.[Ch]:
remove files, since this controller was only used
by the xforms frontend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14352
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Thu, 6 Jul 2006 14:27:46 +0000 (14:27 +0000)]
fix hyphens in man pages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14351
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 6 Jul 2006 11:28:05 +0000 (11:28 +0000)]
* MSVC Compilation fix: #warning is not supported.
* Change the comment to "This is not a memory leak:"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14347
a592a061 -630c-0410-9148-
cb99ea01b6c8