Commit Graph

9924 Commits

Author SHA1 Message Date
Lars Gullik Bjønnes
66d51d71f9 Let Meta be an alias for Alt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14404 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-09 17:30:21 +00:00
Michael Schmitt
0961bc2d97 * FileDialog.h: make private_ member private
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14403 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-09 17:27:17 +00:00
Michael Schmitt
d4c773d845 * 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
2006-07-09 17:25:55 +00:00
Abdelrazak Younes
6dd6b5b22a initialize member variables: width_, scriptable_
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14401 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-09 16:35:20 +00:00
Georg Baum
f01a63d10b * 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
2006-07-09 14:44:37 +00:00
Georg Baum
149d7394bf fix image paths
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14394 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-09 10:14:04 +00:00
Georg Baum
34e73f7823 * 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
2006-07-09 10:06:58 +00:00
Lars Gullik Bjønnes
7afbc908eb Fix some WorkArea fallouts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14391 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-09 01:08:47 +00:00
Lars Gullik Bjønnes
e7b69c030e 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
2006-07-08 22:55:22 +00:00
Bo Peng
7dcf1bdb26 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
2006-07-08 22:42:09 +00:00
Lars Gullik Bjønnes
ae348f8af9 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
2006-07-08 22:06:50 +00:00
Bo Peng
1f831d0a99 Scons: fix DESTDIR
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14386 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-08 21:31:57 +00:00
Lars Gullik Bjønnes
7dc5b51079 * 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
2006-07-08 21:22:18 +00:00
Lars Gullik Bjønnes
34eb5e241e 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
2006-07-08 21:16:21 +00:00
Lars Gullik Bjønnes
721497d5e5 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
2006-07-08 21:04:21 +00:00
Lars Gullik Bjønnes
b4b9c09202 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
2006-07-08 20:40:04 +00:00
Lars Gullik Bjønnes
28c5673ff4 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
2006-07-08 20:24:32 +00:00
Georg Baum
ca55190481 qt -> qt3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14380 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-08 15:45:15 +00:00
Georg Baum
c9eeee5f5d forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14379 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-08 15:20:08 +00:00
Georg Baum
457b334926 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
2006-07-08 15:11:18 +00:00
Abdelrazak Younes
7cca51ed18 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
2006-07-08 14:40:22 +00:00
Georg Baum
82a4214f7b 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
2006-07-08 14:16:56 +00:00
Georg Baum
a7fe209a13 * 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
2006-07-08 13:27:43 +00:00
Michael Schmitt
131f9b0b62 * 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
2006-07-08 11:16:17 +00:00
Michael Schmitt
4eccc22119 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
2006-07-08 09:40:15 +00:00
Bo Peng
f8404ec837 lib/configure.py: fix CheckTexPaths
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14370 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-08 02:50:24 +00:00
Angus Leeming
136fc28dae 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
2006-07-07 16:22:46 +00:00
Angus Leeming
7c0e56ff5d 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
2006-07-07 16:21:45 +00:00
Bo Peng
563c1b6b24 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
2006-07-07 16:21:10 +00:00
Angus Leeming
0edeef83b7 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
2006-07-07 15:58:57 +00:00
Abdelrazak Younes
f0d5b5b19b add version_suffix documentation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14360 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-07 15:11:37 +00:00
Angus Leeming
9a88b1d8be * 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
2006-07-07 14:05:23 +00:00
Jean-Marc Lasgouttes
9c5a0331a3 * 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
2006-07-07 13:37:59 +00:00
Jürgen Spitzmüller
1d8fa4fd2c * 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
2006-07-07 10:18:33 +00:00
Bo Peng
fc42d0d4f9 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
2006-07-07 03:08:37 +00:00
Bo Peng
c8c3f0ed11 Scons: update cygwin instructions, by Enrico
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14353 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-07 02:39:54 +00:00
Michael Schmitt
0be696bff0 * 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
2006-07-06 19:28:59 +00:00
Jean-Marc Lasgouttes
2558af85af fix hyphens in man pages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14351 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-06 14:27:46 +00:00
Abdelrazak Younes
a0d93c0c49 * 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
2006-07-06 11:28:05 +00:00
Lars Gullik Bjønnes
1afb2a6b05 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
2006-07-06 08:18:51 +00:00
Bo Peng
a54d3e83bd 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
2006-07-05 18:48:59 +00:00
Georg Baum
da9cdaf218 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
2006-07-05 17:01:26 +00:00
Bo Peng
e85cfec957 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
2006-07-05 15:33:38 +00:00
Bo Peng
efc3b4e52a lib/configure.py: fix checkTeXAllowSpaces, by Enrico
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14336 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-04 13:55:28 +00:00
Lars Gullik Bjønnes
b16aafd88e * 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
2006-07-04 00:30:34 +00:00
Lars Gullik Bjønnes
32cd0ee6f9 * 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
2006-07-04 00:19:59 +00:00
Lars Gullik Bjønnes
1ff081141d 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
2006-07-04 00:04:46 +00:00
Lars Gullik Bjønnes
ee1871ef71 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
2006-07-03 22:54:30 +00:00
Lars Gullik Bjønnes
b1a87cc778 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
2006-07-03 22:31:51 +00:00
Jean-Marc Lasgouttes
48a5df5ffe 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
2006-07-03 22:00:18 +00:00