]> git.lyx.org Git - lyx.git/log
lyx.git
17 years agoExtracted from r14281
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

17 years agoSCons: fix a small bug in scons_utils.py
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

17 years agoExtracted from r14281
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

17 years agoScons: fix DESTDIR
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

17 years ago* BufferView::Pimpl:
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

17 years agoExtracted from r14281
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

17 years agoExtracted from 14281
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

17 years agoExtracted from r14281
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

17 years agoExtracted from r14281
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

17 years agoqt -> qt3
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

17 years agoforgot this
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

17 years agoMove more methods from WorkArea to Clipboard in qt3 and gtk
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

17 years agoFix potential crashes related to element presence in a given map.
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

17 years agomake FileName::isZipped more efficient by caching previous results
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

17 years ago * src/frontends/gtk/GuiImplementation.C: include config.h
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

17 years ago * configure.ac: qt becomes qt3
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

17 years ago remove xforms relicts
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

17 years agolib/configure.py: fix CheckTexPaths
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

17 years agoUpdate Geoffrey Tobin's email address to something that doesn't bounce...
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

17 years agoFix the fix so that it actually works ;-)
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

17 years agoScons: allow non-exist build_dir option, adjust QTDIR/bin handling
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

17 years agoFix humiliating typo and update the link to the licence page on the web.
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

17 years agoadd version_suffix documentation
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

17 years ago* Enable man2ps to work without hard-coding the locations of groff or dpost.
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

17 years ago * src/rowpainter.h (rightMargin): reduce to 10 pixels, like the left
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

17 years ago* src/insets/insettabular.h: return true for allowSpellcheck (bug 2675)
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

18 years agoScons: check system boost version, probe qt3 libs for qt2 frontend
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

18 years agoScons: update cygwin instructions, by Enrico
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

18 years ago * remove various xforms relicts, in particular:
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

18 years agofix hyphens in man pages
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

18 years ago* MSVC Compilation fix: #warning is not supported.
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

18 years agoRemove quite a few compiler warnings:
Lars Gullik Bjønnes [Thu, 6 Jul 2006 08:18:51 +0000 (08:18 +0000)]
Remove quite a few compiler warnings:
- Change unsigned -> signed
- Change signed -> unsigned
        - Add a cast or two (really few of those)
- Remove/comment out unused variables
- Comment out unused arguments
- Add missing cases to switches.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14344 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoScons: exclude boost headers only for system boost header files.
Bo Peng [Wed, 5 Jul 2006 18:48:59 +0000 (18:48 +0000)]
Scons: exclude boost headers only for system boost header files.
* INSTALL.scons: document this change.
* development/scons/SConstruct: check for included_boost to exclude boost
  headers from the dependency tree.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14343 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoReduce calls of ::exit()
Georg Baum [Wed, 5 Jul 2006 17:01:26 +0000 (17:01 +0000)]
Reduce calls of ::exit()
* src/main.C
(main): return LyX::exec()

* src/frontends/{gtk,qt3,qt4}/lyx_gui.C
(lyx_gui::exec): Change return value to int
(lyx_gui::start): ditto

* src/frontends/qt[3,4]/lyx_gui.C
(lyx_gui::exit): Call QApplication::exit instead of ::exit, this
hack is not needed anymore

* src/frontends/lyx_gui.h
(lyx_gui::exec): Change return value to int
(lyx_gui::start): ditto

* src/lyxtextclasslist.[Ch]
(LyXSetStyle): SChange return value to bool and don't call ::exit

* src/lyx_main.C
(showFileError): Don't exit anymore

* src/lyx_main.[Ch]
(LyX::exec): Change return value to int
(LyX::priv_exec): ditto
(LyX::exec2): ditto
(LyX::init): Change return value to bool
(LyX::readRcFile): ditto
(LyX::readUIFile): ditto

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14339 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoScons: do not build boost dependency tree, use debug/release boost system library...
Bo Peng [Wed, 5 Jul 2006 15:33:38 +0000 (15:33 +0000)]
Scons: do not build boost dependency tree, use debug/release boost system library, check for boost system header files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14338 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agolib/configure.py: fix checkTeXAllowSpaces, by Enrico
Bo Peng [Tue, 4 Jul 2006 13:55:28 +0000 (13:55 +0000)]
lib/configure.py: fix checkTeXAllowSpaces, by Enrico

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14336 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago* BufferView::Pimpl::update:
Lars Gullik Bjønnes [Tue, 4 Jul 2006 00:30:34 +0000 (00:30 +0000)]
* BufferView::Pimpl::update:
- slight speedup by checking if debugging before creating
  the debug output.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14333 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago* BufferView::Pimpl::update:
Lars Gullik Bjønnes [Tue, 4 Jul 2006 00:19:59 +0000 (00:19 +0000)]
* BufferView::Pimpl::update:
- streamline a bit to only run updateMetrics once
- do not take a backup copy of theCoords

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14332 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoExtraced from r14281 from the younes branch.
Lars Gullik Bjønnes [Tue, 4 Jul 2006 00:04:46 +0000 (00:04 +0000)]
Extraced from r14281 from the younes branch.

* BufferView, BufferView::pimpl:
- metrics_info_: private variable holding ViewMetricsInfo
- viewMetricsInfo(): accessor function
- updateMetrics(): renamed from metrics(), sets metrics_info_
- update(): change to use updateMetrics()

* frontends/WorkArea:
- redraw(): get the ViewMetricsInfo through accessor to BufferView.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14331 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoPartially extracted from r14281 from the younes branch.
Lars Gullik Bjønnes [Mon, 3 Jul 2006 22:54:30 +0000 (22:54 +0000)]
Partially extracted from r14281 from the younes branch.

* BufferView, BufferView::Pimpl:
- painter(): remove method
* rowpainter.C:
- paintText(): get painter through LyXView and WorkArea

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14330 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoExtracted from r14281 from the younes branch.
Lars Gullik Bjønnes [Mon, 3 Jul 2006 22:31:51 +0000 (22:31 +0000)]
Extracted from r14281 from the younes branch.

* BufferView,BufferView::Pimple:
-  workArea_ removed
* frontends/LyXView:
- now contains a pointer reference to the current
  WorkArea instead of the BufferView.
        - workArea(): temporary access method
* frontends/WorkArea:
- bufferView(): new access methods.

* GuiImplementation: updated due to above changes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14329 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoupdate postats script to use proper trac URL
Jean-Marc Lasgouttes [Mon, 3 Jul 2006 22:00:18 +0000 (22:00 +0000)]
update postats script to use proper trac URL

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14328 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoScons: fix handling of lib/lyx2lyx/lyx2lyx_version.py.in
Bo Peng [Mon, 3 Jul 2006 20:57:25 +0000 (20:57 +0000)]
Scons: fix handling of lib/lyx2lyx/lyx2lyx_version.py.in

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14325 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoSecond part of r14315 from the younes branch:
Lars Gullik Bjønnes [Mon, 3 Jul 2006 20:37:34 +0000 (20:37 +0000)]
Second part of r14315 from the younes branch:

* BufferView and Bufferview::pimpl: repaintAll() methods deleted.

* rowpainter.C:
  - refreshInside : new variable in the anonymous namespace.
  - use of refreshInside instead of the repaintAll() methods

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14324 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoFirst part of r14315 from the younes branch:
Lars Gullik Bjønnes [Mon, 3 Jul 2006 20:19:33 +0000 (20:19 +0000)]
First part of r14315 from the younes branch:

* BufferView and BufferView::pimpl:
    - getClipboard, stuffClipboard, haveSelection: deleted

* CutAndPaste.C: use BufferView::owner()->gui().clipboard()
* insettabular.C: ditto
* math_nestinset.C: ditto
* text3.C: ditto

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14323 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agolib/lyx2lyx/lyx_1_5.py: replace tab with spaces
Bo Peng [Mon, 3 Jul 2006 20:09:43 +0000 (20:09 +0000)]
lib/lyx2lyx/lyx_1_5.py: replace tab with spaces

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14322 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoRemove the XForms frontend, update the autotools files, and fixup po.
Lars Gullik Bjønnes [Mon, 3 Jul 2006 19:20:25 +0000 (19:20 +0000)]
Remove the XForms frontend, update the autotools files, and fixup po.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14320 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agomerge booktabs branch
Georg Baum [Mon, 3 Jul 2006 19:13:56 +0000 (19:13 +0000)]
merge booktabs branch

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14319 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agolib/configure.py: use \nonstopmode instead of -interaction=nonstopmode, from JMarc...
Bo Peng [Mon, 3 Jul 2006 15:28:13 +0000 (15:28 +0000)]
lib/configure.py: use \nonstopmode instead of -interaction=nonstopmode, from JMarc and Enrico

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14316 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoScons: polish scons' 1.4.x support.
Bo Peng [Mon, 3 Jul 2006 02:02:11 +0000 (02:02 +0000)]
Scons: polish scons' 1.4.x support.
* INSTALL.scons: add instruction for 1.4.x
* development/scons/SConstruct: fix a installation bug for 1.4.x, better handling of QTDIR

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14311 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoScons: rename option qt_include_path to qt_inc_path (we have extra_inc_path etc.)
Bo Peng [Sun, 2 Jul 2006 22:09:11 +0000 (22:09 +0000)]
Scons: rename option qt_include_path to qt_inc_path (we have extra_inc_path etc.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14307 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoScons: check the validity of QTDIR, and the existence of uic and moc
Bo Peng [Sun, 2 Jul 2006 17:35:14 +0000 (17:35 +0000)]
Scons: check the validity of QTDIR, and the existence of uic and moc

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14293 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoScons: fix a isdir typo
Bo Peng [Sun, 2 Jul 2006 03:17:15 +0000 (03:17 +0000)]
Scons: fix a isdir typo

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14288 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agolib/configure.py: add -interaction=nonstopmode to cygwin/latex test.
Bo Peng [Sun, 2 Jul 2006 03:09:00 +0000 (03:09 +0000)]
lib/configure.py: add -interaction=nonstopmode to cygwin/latex test.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14287 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoScons: set default qt lib directory under cygwin
Bo Peng [Sun, 2 Jul 2006 01:54:44 +0000 (01:54 +0000)]
Scons: set default qt lib directory under cygwin

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14286 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoRemove all tabs in lib/lyx2lyx/*.py, corresponding to the added -tt option
Bo Peng [Sat, 1 Jul 2006 19:16:09 +0000 (19:16 +0000)]
Remove all tabs in lib/lyx2lyx/*.py, corresponding to the added -tt option

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14285 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoAdd config.h to src/frontends/qt4/Application.C to avoid MSVC BOOST_ALL_NO_LIB problem.
Bo Peng [Sat, 1 Jul 2006 18:14:58 +0000 (18:14 +0000)]
Add config.h to src/frontends/qt4/Application.C to avoid MSVC BOOST_ALL_NO_LIB problem.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14284 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago* ui/QPrefUIModule.ui: fix layout.
Jürgen Spitzmüller [Sat, 1 Jul 2006 11:22:33 +0000 (11:22 +0000)]
* ui/QPrefUIModule.ui: fix layout.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14282 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agomake sure eol-style native is set and fix eol style
Lars Gullik Bjønnes [Fri, 30 Jun 2006 14:50:44 +0000 (14:50 +0000)]
make sure eol-style native is set and fix eol style

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14279 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoMake signals and slots to not be defined, and replace them with Q_SIGNALS and Q_SLOTS
Lars Gullik Bjønnes [Fri, 30 Jun 2006 14:37:33 +0000 (14:37 +0000)]
Make signals and slots to not be defined, and replace them with Q_SIGNALS and Q_SLOTS

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14277 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoStop using 'sh uname' etc for cygdrive, from Enrico Forestieri <forenr@tlc.unipr.it>
Bo Peng [Fri, 30 Jun 2006 14:28:36 +0000 (14:28 +0000)]
Stop using 'sh uname' etc for cygdrive, from Enrico Forestieri <forenr@tlc.unipr.it>
* src/support/os_win32.C: Query the registry about cygwin, instead of
  calling uname

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14276 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agodelete some emits that I missed, add comments about emitting signals
Lars Gullik Bjønnes [Fri, 30 Jun 2006 14:11:50 +0000 (14:11 +0000)]
delete some emits that I missed, add comments about emitting signals

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14273 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoCall python with the -tt switch to make mixed tab/space indentation an error
Georg Baum [Fri, 30 Jun 2006 13:54:01 +0000 (13:54 +0000)]
Call python with the -tt switch to make mixed tab/space indentation an error

* src/support/os.[Ch]
(python): new function, return the python command

* lib/lyx2lyx/lyx_1_5.py
(revert_font_settings): replace tabs with spaces

The rest is simply s/python/python -tt/ and
s/"python"/lyx::support::os::python()/ where appropriate.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14270 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoDo not use the qt "keyword" emit. Make qt not emit it at all. (pun intended)
Lars Gullik Bjønnes [Fri, 30 Jun 2006 11:57:17 +0000 (11:57 +0000)]
Do not use the qt "keyword" emit. Make qt not emit it at all. (pun intended)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14269 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoReplace lib/scriptsfig2pdftex.sh and fig2pstex.sh by their python version
Bo Peng [Thu, 29 Jun 2006 15:30:22 +0000 (15:30 +0000)]
Replace lib/scriptsfig2pdftex.sh and fig2pstex.sh by their python version

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14265 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoinitialize correctly multiparsel_cache_ (may fix bug 2630); fix warning about initial...
Jean-Marc Lasgouttes [Thu, 29 Jun 2006 14:52:48 +0000 (14:52 +0000)]
initialize correctly multiparsel_cache_ (may fix bug 2630); fix warning about initialization order

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14264 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoReplace lib/scripts/fig_copy.sh with fig_copy.py
Bo Peng [Wed, 28 Jun 2006 14:26:27 +0000 (14:26 +0000)]
Replace lib/scripts/fig_copy.sh with fig_copy.py

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14261 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoremove annoying debug messages
Jean-Marc Lasgouttes [Wed, 28 Jun 2006 14:22:31 +0000 (14:22 +0000)]
remove annoying debug messages

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14260 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoheader cleanups and removal of unused methods.
Abdelrazak Younes [Wed, 28 Jun 2006 13:23:39 +0000 (13:23 +0000)]
header cleanups and removal of unused methods.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14258 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agosome connections not made because of:
Edwin Leuven [Wed, 28 Jun 2006 12:48:51 +0000 (12:48 +0000)]
some connections not made because of:
- signal typo
- slots typos

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14257 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoQURL renamed to UrlView
Abdelrazak Younes [Wed, 28 Jun 2006 12:09:25 +0000 (12:09 +0000)]
QURL renamed to UrlView

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14256 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoput citation dialog in good state:
Edwin Leuven [Wed, 28 Jun 2006 08:28:16 +0000 (08:28 +0000)]
put citation dialog in good state:
- natbib style (the combox) works
- when moving/up down the item stays selected (allowing sequential ups/downs)
- when deleting the next selected entry gets focus (allowing sequential deletes)
- the info is now shown and updated
- find subsets the available entries as you type
- no additional find dialog (removed QCitationFind.ui)
- selecting with double-click
- removal of unused: Citation class, toVector() function

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14252 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoChange the indent level of python code from two to four
Bo Peng [Tue, 27 Jun 2006 21:08:54 +0000 (21:08 +0000)]
Change the indent level of python code from two to four

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14250 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoPatch from Martin Vermeer for bug 2218.
Jean-Marc Lasgouttes [Tue, 27 Jun 2006 12:20:16 +0000 (12:20 +0000)]
Patch from Martin Vermeer for bug 2218.

* src/frontends/xforms/FormSpellchecker.C (update):
* src/frontends/qt[34]/QSpellchecker.C (update_contents): fix bug
2218: Spellchecker doesn't pop up dialogue window for the first
misspelled word.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14246 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoforward port it.po from 1.4.x branch to fix a bug with counters
Jean-Marc Lasgouttes [Tue, 27 Jun 2006 12:02:27 +0000 (12:02 +0000)]
forward port it.po from 1.4.x branch to fix a bug with counters

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14245 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoforward port pl.po from 1.4.x branch to fix a bug with counters
Jean-Marc Lasgouttes [Tue, 27 Jun 2006 12:01:17 +0000 (12:01 +0000)]
forward port pl.po from 1.4.x branch to fix a bug with counters

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14244 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago Renaming:
Jean-Marc Lasgouttes [Tue, 27 Jun 2006 10:51:24 +0000 (10:51 +0000)]
Renaming:
cygwin_path_fix -> windows_style_tex_paths
cygwin_path_fix_needed -> tex_expects_windows_paths
check_cygwin_path -> check_windows_style_tex_paths
use_cygwin_paths -> use_windows_paths
RC_CYGWIN_PATH_FIX -> RC_TEX_EXPECTS_WINDOWS_PATHS

* src/frontends/qt4/ui/QPrefCygwinPathUi.ui
* src/frontends/qt3/ui/QPrefCygwinPathModule.ui
  Updated checkbutton label and description

* src/frontends/qt4/QPrefsDialog.C
  (PrefCygwinPath): cygwin_path_fix -> windows_style_tex_paths
  (QPrefsDialog): Enable checkbutton for native WIN32 builds

* src/frontends/xforms/forms/form_preferences.fd
  Updated label and name of checkbutton

* src/frontends/xforms/FormPreferences.C
  (apply): cygwin_path_fix -> windows_style_tex_paths
           check_cygwin_path -> check_windows_style_tex_paths
  (build): Enable checkbutton for native WIN32 builds
  (update): Ditto
  (feedback): Updated description

* src/frontends/qt3/QPrefs.C
* src/frontends/qt3/QPrefsDialog.C
* src/frontends/qt3/QPrefsDialog.h
  Renaming as above, enabled checkbutton for native WIN32 builds

* src/support/os_unix.C
* src/support/os.h
* src/support/os_win32.C
  Renaming cygwin_path_fix -> windows_style_tex_paths
* src/support/os_cygwin.C
  Ditto
  (external_path, external_path_list): always return windows
  style paths, not depending on the checkbutton status

* src/lyxrc.C
* src/lyxrc.h
* src/lyxfunc.C
* src/lyx_main.C
  Renaming

* lib/configure.py
  Renaming, more meaningful diagnostics

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14242 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoPotential Bux fix: call "update()" instead of "vieport()->update()"
Abdelrazak Younes [Tue, 27 Jun 2006 10:28:04 +0000 (10:28 +0000)]
Potential Bux fix: call "update()"  instead of "vieport()->update()"

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14241 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoadd link to the task tracker of the Qt4 bug
Peter Kümmel [Tue, 27 Jun 2006 07:53:44 +0000 (07:53 +0000)]
add link to the task tracker of the Qt4 bug

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14240 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoScons: fix DESTDIR, reloate intl/libintl.h, libgnuintl.h
Bo Peng [Tue, 27 Jun 2006 03:53:04 +0000 (03:53 +0000)]
Scons: fix DESTDIR, reloate intl/libintl.h, libgnuintl.h

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14239 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoReplace TeXFiles.sh by TeXFiles.py
Bo Peng [Tue, 27 Jun 2006 02:39:03 +0000 (02:39 +0000)]
Replace TeXFiles.sh by TeXFiles.py
* src/frontends/controllers/tex_helpers.C: call TeXFiles.py
* lib/scripts/TeXFiles.py: add
* lib/scripts/TeXFiles.sh: remove
* lib/scripts/convertDefault.py: add encoding line
* lib/Makefile.am

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14238 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago* src/insets/insettabular.C (doDispatch): set cursor properly on mouse
Jürgen Spitzmüller [Mon, 26 Jun 2006 18:16:38 +0000 (18:16 +0000)]
* src/insets/insettabular.C (doDispatch): set cursor properly on mouse
(button 3) press. Fixes crash.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14237 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoPass width = 0 and height = 0 as unsigned int to indicate the usage of the geometry...
Peter Kümmel [Mon, 26 Jun 2006 18:07:10 +0000 (18:07 +0000)]
Pass width = 0 and height = 0 as unsigned int to indicate the usage of the geometry option
* lyx_main.C set             width and height to 0
* frontends/qt3/lyx_gui.C    test on 0
* frontends/qt4/lyx_gui.C    test on 0

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14235 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoGUI API Cleanup step 2: merge of the "younes" branch. What's missing
Abdelrazak Younes [Mon, 26 Jun 2006 17:18:28 +0000 (17:18 +0000)]
GUI API Cleanup step 2: merge of the "younes" branch. What's missing

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14234 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoRemoved files because of conflict when merging the "younes" branch
Abdelrazak Younes [Mon, 26 Jun 2006 17:14:25 +0000 (17:14 +0000)]
Removed files because of conflict when merging the "younes" branch

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14233 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoRemoved file because of conflict when merging the "younes" branch
Abdelrazak Younes [Mon, 26 Jun 2006 17:13:31 +0000 (17:13 +0000)]
Removed file because of conflict when merging the "younes" branch

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14232 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoGUI API Cleanup step 2: merge of the "younes" branch.
Abdelrazak Younes [Mon, 26 Jun 2006 16:55:35 +0000 (16:55 +0000)]
GUI API Cleanup step 2: merge of the "younes" branch.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14231 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago * lib/Makefile.am s/convertDefault.sh/convertDefault.py/
Georg Baum [Mon, 26 Jun 2006 15:13:32 +0000 (15:13 +0000)]
* lib/Makefile.am s/convertDefault.sh/convertDefault.py/

* src/converter.C
(Converters::convert): ditto

* src/graphics/GraphicsConverter.C
(Converter::Impl::Impl): ditto

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14227 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoFix limit display of intop and ointop
Georg Baum [Mon, 26 Jun 2006 15:01:35 +0000 (15:01 +0000)]
Fix limit display of intop and ointop
* src/mathed/math_scriptinset.C
(MathScriptInset::hasLimits): handle \intop and \ointop

* lib/symbols: add intop and ointop

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14225 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoGenerate python code in GraphicsConverter.C, replace convertDefault.sh by convertDefa...
Bo Peng [Mon, 26 Jun 2006 14:17:12 +0000 (14:17 +0000)]
Generate python code in GraphicsConverter.C, replace convertDefault.sh by convertDefault.py
* src/graphics/GraphicsConverter.C: generate python instead of shell scripts
* src/converter.C: use convertDefault.py
* lib/scripts/convertDefault.sh: translated to convertDefault.py

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14223 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agofix image paths in German UserGuide (part of bug 2660)
Jean-Marc Lasgouttes [Mon, 26 Jun 2006 10:35:31 +0000 (10:35 +0000)]
fix image paths in German UserGuide (part of bug 2660)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14216 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoFix 64bit<->32bit issue.
Lars Gullik Bjønnes [Sun, 25 Jun 2006 11:27:33 +0000 (11:27 +0000)]
Fix 64bit<->32bit issue.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14203 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago* reset color/linestyle/linewidth cache to QPen defaults on QPainter creation
Edwin Leuven [Sun, 25 Jun 2006 11:18:56 +0000 (11:18 +0000)]
* reset color/linestyle/linewidth cache to QPen defaults on QPainter creation
* get rid of QPainter arg in setQPainterPen(..)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14201 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoScons: remove pch, add stdlib_debug and profiling options
Bo Peng [Sat, 24 Jun 2006 03:49:11 +0000 (03:49 +0000)]
Scons: remove pch, add stdlib_debug and profiling options

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14188 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agorevert last accidental commit and do the intended one
Georg Baum [Fri, 23 Jun 2006 14:20:49 +0000 (14:20 +0000)]
revert last accidental commit and do the intended one

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14186 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago * src/mathed/math_gridinset.C
Georg Baum [Fri, 23 Jun 2006 14:17:14 +0000 (14:17 +0000)]
* src/mathed/math_gridinset.C
(doDispatch): fix off by one error when checking cur.idx() (bug 2655)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14185 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago* qp_ member is now used for painting
Abdelrazak Younes [Fri, 23 Jun 2006 14:12:17 +0000 (14:12 +0000)]
* qp_ member is now used for painting
* QLPainter::start() now re-initialize qp_
* QLPainter::end() now end qp_

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14184 a592a061-630c-0410-9148-cb99ea01b6c8

18 years ago * frontends/qt3/QtView.C: use QRect ctor, coding style
Peter Kümmel [Fri, 23 Jun 2006 10:19:31 +0000 (10:19 +0000)]
* frontends/qt3/QtView.C: use QRect ctor, coding style
* frontends/qt4/lyx_gui.C: coding style
* frontends/qt4/GuiView.C: use QRect ctor, coding style

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14183 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agolib/doc/UserGuide.lyx: remove description of obsolete Comment layout
Jean-Marc Lasgouttes [Fri, 23 Jun 2006 09:38:32 +0000 (09:38 +0000)]
lib/doc/UserGuide.lyx: remove description of obsolete Comment layout

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14182 a592a061-630c-0410-9148-cb99ea01b6c8

18 years agoScons: fix rebuildTargetOnly for lyx msvs projects
Bo Peng [Thu, 22 Jun 2006 15:46:35 +0000 (15:46 +0000)]
Scons: fix rebuildTargetOnly for lyx msvs projects

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14180 a592a061-630c-0410-9148-cb99ea01b6c8