Commit Graph

6132 Commits

Author SHA1 Message Date
Lars Gullik Bjønnes
01b31c56c9 make lyx compile with gcc 3.4. remove some warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7314 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 08:46:00 +00:00
Alfredo Braunstein
54b1bb8637 somewhat managed to misunderstand the logic. should be ok now, sorry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7313 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 07:51:21 +00:00
André Pönitz
99b64f351e two-phase-drawing for InsetText & InsetTabular
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7312 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 07:47:07 +00:00
Alfredo Braunstein
8d2394b02c fix crash reported by Kayvan + ws
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7311 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 07:25:16 +00:00
Angus Leeming
389bc3fc89 Enable the math (sub-)dialogs to be opened when the cursor is in an math inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7310 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 16:55:03 +00:00
André Pönitz
6da2800573 prepare passing down max text widths...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7309 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 15:57:08 +00:00
Angus Leeming
2353291b37 Doxygen fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7308 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 15:35:42 +00:00
André Pönitz
3a3d06a4fd remove some commented out code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7307 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 15:04:09 +00:00
André Pönitz
389fc95d77 remove recently introduced additionla 'fullRebreak' when inserting LyX
files. Not needed anymore


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7306 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 11:48:41 +00:00
André Pönitz
341e897787 remove spurious call to repaint()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7305 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 11:42:03 +00:00
André Pönitz
7b0b1cdaae remove twice unused variable 'tmpheight'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7304 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 11:34:48 +00:00
André Pönitz
652a08b0a4 remove unneeded InsetText::old_max_width member
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7303 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 09:32:06 +00:00
André Pönitz
bb0175e906 simplify InsetTabular::calculate_dimensions_of_cells a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7302 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 09:25:06 +00:00
André Pönitz
b853229344 reduce number of metrics calls in InsetTabular calculate_dimensions_
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7301 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 09:10:16 +00:00
Alfredo Braunstein
dfbd44997a moved some converter/format functions to more appropriate places
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7300 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 08:23:33 +00:00
André Pönitz
52b22859af remove unneeded in_update_ members
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7299 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 07:43:55 +00:00
André Pönitz
e62ce55f8c remove Inset::update()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7298 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 07:32:01 +00:00
André Pönitz
cf31c9b219 Disable InsetText::update and InsetTabular::update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7297 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 06:45:39 +00:00
Angus Leeming
a8644bb74d Remove preprocessor warning.
(To answer Andre's question, yes it is but FormDialogBase is a straight
replacement of FormBase which will go the way of the dodo once I convert
the remaining controllers to derive from Dialog::Controller. 25 done, 9 to go.)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7296 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-16 22:45:42 +00:00
Angus Leeming
3c1e87c1a1 Rewrite to use find_if rather than a big if block.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7295 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-16 22:34:31 +00:00
Angus Leeming
7e156107d1 Do not pass -Winline to gcc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7294 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-16 20:44:24 +00:00
Angus Leeming
5db268b9e3 Fix compiler warning at expense of creating doxygen one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7293 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-16 20:43:57 +00:00
Angus Leeming
b1924a9bca Improved doxygen documentation. Could people please have a look at Lars'
autogenerated files tomorrow (Thursday) and throw their comments my way.
http://www.lyx.org/sourcedoc/classDialog.html
http://www.lyx.org/sourcedoc/classKernel.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7292 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-16 20:10:59 +00:00
André Pönitz
a105cf94a9 'fix' stupid compiler warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7291 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-16 14:20:43 +00:00
André Pönitz
31b0364c2d replace the LyXCursor::irow_ member with on-demand computation of the value
(as quickly tested by John last week)

LyXCursor does not know about rows anymore...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7290 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-16 08:42:26 +00:00
André Pönitz
0c448197ec *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7289 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-16 07:15:10 +00:00
John Levon
46f43b7b44 Note Settings menu item
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7288 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 23:52:37 +00:00
John Levon
f64d7de0bf showInsetDialog() for note
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7287 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 23:52:05 +00:00
Jürgen Spitzmüller
bd76214fd4 QTabularDialog: fix width input (bug 1156)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7286 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 18:44:49 +00:00
André Pönitz
cd12251e27 'full redraw' related stuff that's innocent for the upward-selection-in-tables bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7285 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 16:25:02 +00:00
John Levon
b3ed50a4d3 Fix for changed Qt behaviour
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7282 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 15:24:33 +00:00
Dekel Tsur
62c09c9630 Fix handling of \hfill inside ERT.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7281 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 14:04:35 +00:00
Jürgen Spitzmüller
dc85736c7f The QNote dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7280 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 12:48:24 +00:00
André Pönitz
69572ae035 remove unneeded refresh_row
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7279 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 11:47:27 +00:00
André Pönitz
9f24c7105a don't redraw excessivly (Bug spotted by Lars)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7278 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 11:13:06 +00:00
André Pönitz
09378fd7c1 changelogs...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7277 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 11:10:05 +00:00
André Pönitz
4ec8f6453d refresh_status_ trisate -> need_refresh_ bool
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7276 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 11:08:02 +00:00
André Pönitz
e347e9e925 collapse REFRESH_AREA and REFRESH_ROW handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7275 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 09:44:54 +00:00
Alfredo Braunstein
4cd3bf1c07 remove reinit argument from LyXText::init (act as if always true)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7274 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 08:26:17 +00:00
Alfredo Braunstein
68e8fb6694 Juergen's clear-selection-before-insertion patch. See Bug: 441, Bug: 673, Bug: 702, Bug: 954, and Bug: 1226.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7273 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 06:51:47 +00:00
André Pönitz
8aff4a1530 slimmer row painter interface
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7272 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-14 17:50:00 +00:00
André Pönitz
e4c194b9c0 avoid a few more getLyXTexts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7271 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-14 16:34:23 +00:00
André Pönitz
135e7dc8a8 * insets/insettext.[Ch] (cy, ciy, setUpdateStatus):
remove unused BufferView * argument


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7270 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-14 15:17:40 +00:00
André Pönitz
cf319aa81c used pre-computed metrics a bit more...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7269 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-14 13:49:13 +00:00
Alfredo Braunstein
7e5c4e7695 fix a crash on resize
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7268 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-14 09:15:58 +00:00
Alfredo Braunstein
dcb9c3eabb fixes buffer closing crashes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7267 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-11 12:21:31 +00:00
Jean-Marc Lasgouttes
0271e16afc fix pl.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7266 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-11 08:38:47 +00:00
John Levon
24b1f70746 Fix Aiksaurus URL
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7265 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-10 16:20:05 +00:00
André Pönitz
90e2efe06b remove now unneeded LyXText * argument to save/restoreLyXTextState
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7264 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-10 14:44:13 +00:00
Jean-Marc Lasgouttes
f3a0435e42 special menu hack for qt/mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7263 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-10 14:39:38 +00:00