Commit Graph

10204 Commits

Author SHA1 Message Date
Peter Kümmel
1137260f55 tab correcten to <don't process generated key events if the system is busy>
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18377 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-17 08:26:05 +00:00
Peter Kümmel
032d16501d don't process generated key events if the system is busy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18376 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-17 08:24:44 +00:00
Bo Peng
aa9f87addb InsetListings: fix bug 3627
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18374 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-16 20:57:03 +00:00
Bo Peng
a90f967d6f InsetListings: fix bug 3626
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18373 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-16 20:34:57 +00:00
Bo Peng
40a746bb0f InsetListings: Use a combo box for number placement, fix bug 3623
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18372 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-16 20:28:46 +00:00
Abdelrazak Younes
d2649159ca Toc navigation doesn't work well with child document. This is the first part of the fix: the Toc item selection is properly done before the location of the child document.
Use case solved by this patch:
1) open EmbeddedObject.lyx
2) open the TOC widget (Uwe says it crashes there but I can't reproduce)
3) try to select an item previous to 6.2.2: crash because of an assertion:

Assertion triggered in bool __cdecl lyx::operator <(const class lyx::CursorSlice
 &,const class lyx::CursorSlice &) by failing check "false" in file D:\LyXSVN\ly
x-devel\src\CursorSlice.cpp:106

I think this patch will also solve bug 3616:
http://bugzilla.lyx.org/show_bug.cgi?id=3616 

* TocItem::child_: new member for child document; default to false.
* TocBackend::item(): skip DocIterator comparison if item is in child docuemt.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18370 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-16 16:43:14 +00:00
Bo Peng
be8a8c302c InsetListings: rename Number style to Line numbering, as suggested by Uwe, bug 3621
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18368 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-16 13:57:58 +00:00
Abdelrazak Younes
961db56ed8 Temptatively fix bug 3546 by testing for more exceptionm types and by unifying the possible errors. I think the reason why we did not have a crash on windows is because we don't use wchar_t and the related basic_filebuf etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18366 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-16 10:39:41 +00:00
Abdelrazak Younes
e9780fe317 Fix cursor movement inside insets within RTL mode.
* Bidi.{h,cpp}:
  - isWithinRtlParagraph(): new helper function.

* Text2.cpp: use function above for cursor up and down instead of needReverseDirection() which is about cursor left and right.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18364 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-16 09:35:12 +00:00
Bo Peng
291b765a61 InsetListings: fix bug mouse symbol in the layout dialog, bug 3620
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18362 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-16 02:58:00 +00:00
José Matox
04e3cd2297 Add file format change to support the standard font size for ext* family of textclasses
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18358 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 23:31:47 +00:00
Peter Kümmel
daf8c932ce bug 3203: try to load as local 8-bit encoded when it is not utf-8
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18356 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 18:45:23 +00:00
Abdelrazak Younes
ff19dcb49c Fix assertion with LOF and LOT by transfering the test from TocWidget::select() to QToc::getCurrentIndex().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18355 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 18:01:22 +00:00
Jürgen Spitzmüller
4912255342 * src/mathed/IndetMathNest.cpp (getStatus):
- disable specialchar inset (bug 3590)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18354 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 17:33:42 +00:00
Abdelrazak Younes
06676b6d5b rev 18350: forgot this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18352 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 17:25:30 +00:00
Abdelrazak Younes
105b8b2bf1 rev 18350: forgot this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18351 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 17:24:26 +00:00
Abdelrazak Younes
55a26d72d4 Fix cursor movement inside insets by Dov Feldstern.
* Bidi.[h,cpp]: new helper function reverseDirectionNeeded()

* Cursor::isRTL(): delete unused method



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18350 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 17:19:05 +00:00
Abdelrazak Younes
6277ba63ab Properly search for relevant TocItem. Now works fine with sections inside insets.
* DocIterator
  - new comparison operators: <, > and <= (Courtesy of JMarc)

* TocBackend::item() use above <= operator instead of crude pit() comparison.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18349 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 17:07:55 +00:00
Abdelrazak Younes
f653540961 Fix bug 3183 by Ozgur Ugras BARAN:
* TocWidget::select()
    - Do not allow select ModelItem from the code for non-TOC types
    - add a FIXME explaining the situation.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18348 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 17:02:10 +00:00
Peter Kümmel
2c7396cc59 Add debug output, harmless
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18347 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 16:29:04 +00:00
Jürgen Spitzmüller
4944e64733 From Ozgur Ugras BARAN:
* src/TocBackend.cpp:
   	- Allow TOC entries with depth larger than bufferParams.tocdepth.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18346 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 15:09:19 +00:00
Bo Peng
7ea0cd1dd9 InsetListingsParams.h/cpp: fix compiler warning about initialization order
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18344 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 14:56:55 +00:00
Georg Baum
9c765e64de * src/ConverterCache.cpp
(ConverterCache::Impl::readIndex): prevent assertion in
	fs::last_write_time for corrupted cache index


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18341 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 11:34:26 +00:00
José Matox
111516498d André was nice to scons and forgot autotools :-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18339 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 11:27:04 +00:00
Jürgen Spitzmüller
9e4022e235 From Ozgur Ugras BARAN: Fix bug 3529
* src/frontends/qt4/TocWidget.{cpp,h}:
	-  new member disconnectSelectionModel()
	- (select): replace blockSignal() directives for tocTV selectionModel() 
	   with disconnect (the above new function) and reconnect relevant signal

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18338 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 11:26:24 +00:00
Edwin Leuven
ccc639d842 * layout tweak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18332 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 07:22:55 +00:00
Bo Peng
d7ccd7a35f InsetListings: properly clear values of widgets when jumping between insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18329 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 02:37:59 +00:00
Bo Peng
2260a558da InsetListings: minor fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18327 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 01:38:27 +00:00
Bo Peng
72e0b87a90 Separate caption and label from InsetListingsParams and handle them separately in listings and Include dialog, from Jurgen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18324 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 20:42:14 +00:00
Bernhard Roider
9b5b7587a3 add comments and rtl support for cursor positioning problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18323 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 20:03:40 +00:00
Martin Vermeer
fd70aabcc8 Add charstyles Alert and Structure to beamer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18322 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 19:56:05 +00:00
Abdelrazak Younes
5849954507 restore changed() connection that vanished in revision 18307 with the creation of the PreambleModule class.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18313 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 16:54:27 +00:00
Abdelrazak Younes
9e371e2a24 Fix gcc warning and be 64 bit clean.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18312 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 16:41:50 +00:00
Bo Peng
accafcb88c InsetListings: use Edwin's dialog, which is much nice
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18311 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 14:56:21 +00:00
Bo Peng
6e81ea9be8 InsetListings: fix a few checkbox logics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18310 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 14:55:26 +00:00
Abdelrazak Younes
fcc2297ba7 compil fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18309 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 14:23:55 +00:00
Abdelrazak Younes
043fdb9141 Fix bug similar to 3377 by Ozgur Ugras BARAN.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18308 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 12:43:17 +00:00
Abdelrazak Younes
06099a8959 restore cursor position in preamble.
* ControlDocument::id(): new method returning the id of the current buffer.

* PreambleModule: new class for the preamble module. Handle everything preamble related, including memorizing the cursor position for each Buffer.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18307 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 12:09:14 +00:00
Abdelrazak Younes
c35007dbce Add two optimized versions of the ucs4 to local encoding.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18306 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 09:41:00 +00:00
Abdelrazak Younes
e2da5d1771 Improve Farsi support by Mostafa Vahedi. Arabic support now depends on 'ArabTeX' and Farsi support depends on the 'Arabi' package.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18305 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 09:34:53 +00:00
Jürgen Spitzmüller
a8010a4dc6 fix bug 2758:
* src/Paragraph.cpp:
	- make sure removed bibitems (inside a par) are restored correctly
	  (in pos 0).
* src/Text.{cpp,h} (handleBibitems):
	- new member, used by erase and backspace.
* src/Text3.cpp (getStatus):
	- allow inserting of bibitems only in pos 0.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18304 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 09:24:17 +00:00
Jürgen Spitzmüller
c0b5b39246 * src/LaTeXFeatures.cpp:
- fix definition of \lyxadded and \lyxdeleted

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18301 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 06:28:47 +00:00
Stefan Schimanski
eb96bab927 The source view dialog does not send a lfun, so it can be applied
unconditionally. This fixes #3398 and #3594.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18300 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 05:16:57 +00:00
Bo Peng
9f3c96efc5 Bug 3600, not a real solution but prevents lyx from crashing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18299 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 03:07:00 +00:00
Bernhard Roider
5d9e65058c fix cursor movement (up/down) problem at the end of lines in insets and table cells.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18293 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-13 19:53:06 +00:00
Jürgen Spitzmüller
0f2bcd0d0c * src/Color.cpp:
- fix encoding

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18287 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-13 16:35:31 +00:00
Jürgen Spitzmüller
babc15ea87 * src/Color.cpp:
- add proper x11 colors for lyxadded and lyxdeleted (preventing an assert in RGBColor)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18285 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-13 16:24:03 +00:00
Michael Schmitt
8684c07664 output changes by means of xcolor and soul
- when exporting with pdflatex 
  - when exporting with latex and dvipost is not available
rename two colors (strikeout => deletedtext, newtext => addedtext)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18284 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-13 15:17:57 +00:00
Bo Peng
1fb2456cec InsetLisings: fix extra npos comparisons intruduced by wrongful commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18283 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-13 14:39:44 +00:00
Bo Peng
0bbdc3ffeb InsetListings: Enhanced listings dialog, more than 10 widgets are added to handle common listings parameters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18282 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-13 04:06:37 +00:00
Bo Peng
dfa6012292 Remove unused var in InsetMathHull.cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18281 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-12 22:51:13 +00:00
Bernhard Roider
6de5d0ad58 fix bug 2453
change of behavior of rotate-tabular and rotate-cell toolbar buttons such that they toggle the rotation. Therefore a toggle feature is added to the tabular features. Moreover after the patch the state of the set-rotate-cell and toggle-rotate-cell buttons is on only if all selected cells in the table are rotated. If not all selected cells are rotated then the toggle button rotates all selected cells.

The toggle-icons are copied from the set-icons.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18280 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-12 20:59:21 +00:00
Bo Peng
59252c1f8f InsetListingsParams.h/cpp: Allow , in parameter string which is common in caption
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18279 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-12 15:07:18 +00:00
Bo Peng
4d0552dd80 add color mathcorners and implement mathbg (partially)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18277 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-12 06:24:46 +00:00
Uwe Stöhr
e1d855eb41 BufferParams.cpp: forgot this in last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18275 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-12 00:22:37 +00:00
Uwe Stöhr
40ba4d3630 BufferParams.cpp: the long discussed babel call logic cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18274 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-12 00:13:35 +00:00
Uwe Stöhr
ff8f2b3609 output_latex.cpp: Fix bug 3571:
http://bugzilla.lyx.org/show_bug.cgi?id=3571

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18273 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 23:43:17 +00:00
Bo Peng
b8813615ea InsetListings: touch up the TextLayout dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18271 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 17:59:32 +00:00
Bo Peng
203b569b7b InsetListings: touch up the include dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18270 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 17:53:01 +00:00
Bo Peng
6099a3dba7 InsetListings: touch up the listings dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18269 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 16:56:16 +00:00
Abdelrazak Younes
d5acfddef7 Fix bug 3377 by Ozgur Ugras BARAN:
In insert graphic window: canceling open dialog erases entry in text box). This bug is not Mac specific, but exist in Linux. (should exist in other OSes.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18268 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 14:25:25 +00:00
Abdelrazak Younes
b9765984c0 remove unneeded header.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18267 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 14:19:59 +00:00
Abdelrazak Younes
bd3e07179f Remove optimization to avoid char and symbol metrics calculation. This was incompatible with the way the font zooming works in LyX.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18266 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 14:17:53 +00:00
Abdelrazak Younes
7831aff546 Bug fix: the type combo was not cleared at each update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18265 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 14:05:43 +00:00
Abdelrazak Younes
bee94bbcd2 Enable RTL language support and Converter cache by default.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18264 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 13:01:59 +00:00
Bo Peng
e44fc571cc revert wrongly committed patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18263 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 02:34:56 +00:00
Bo Peng
a8e9fe82d0 lib/lyx2lyx/lyx_1_5.py: fix revert of listings insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18262 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 02:28:14 +00:00
Bo Peng
fe879a0a6c revert src/frontends/qt4/ui/ListingsUi.ui
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18260 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-10 20:56:58 +00:00
Peter Kümmel
950e4b2097 fix crash: change empty line to paragraph and press a key
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18259 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-10 17:55:07 +00:00
Abdelrazak Younes
5b5ee8cc32 Fix bugs 3528 and 3534 by Ozgur Ugras BARAN and myself:
* ControlToc::updateBackend(): emit Buffer::structureChanged()

* QToc:
  - updateToc(), updateType(), typeModel(): deleted.

* TocWidget
  - updateGui() manually with ControlToc::typenames()
  - on_typeCO_activated(): changed to on_typeCO_currentIndexChanged()



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18258 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-10 16:25:11 +00:00
Jean-Marc Lasgouttes
e916170647 Use QTextEdit::setPlainText instead of QTextEdit::setText, because the
later is not available in Qt 4.1.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18257 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-10 10:44:16 +00:00
Jean-Marc Lasgouttes
aeeac15128 Patch from "hzluo" <memcache@gmail.com>:
Remove all explicit 8bit characters from the source, to fix compilation
with windows xp under a chinese locale (bug 3496).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18256 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-10 10:35:57 +00:00
Abdelrazak Younes
63fca5a1ce Fix number display for Farsi and Arabic from Mostafa Vahedi:
In Hebrew, Arabic and Farsi (Right-to-Left) languages the numbers are written from left to write.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18255 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-10 09:25:44 +00:00
Jean-Marc Lasgouttes
5f7d6947e1 * BufferView.cpp (moveToPosition): do not use ParIterator, which moves
through nested insets; what we want here is much simpler (bug 3472)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18254 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-10 07:53:00 +00:00
Bo Peng
ae9afa946a fix a listings param name
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18253 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 21:28:43 +00:00
Uwe Stöhr
3db8583e2b BufferParams.cpp: only whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18252 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 21:17:22 +00:00
Uwe Stöhr
0d555fa675 BufferParams.cpp: Simplify babel call
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18251 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 21:10:55 +00:00
Bernhard Roider
b5c5c1efe6 Problem: When canceling the preferences dialog after changing a color then the icon in the colors list is not reverted after reopening the dialog. Moreover when pressing apply later then the color is really changed.
Solution: Move the color initialization from the constructor to the update() method. I've read the mail from Richard (referenced in the source code) concerning this, but i don't understand why we should not move parts of the initialization the constructor does into the update method. With this changes the hack for fixing http://bugzilla.lyx.org/show_bug.cgi?id=3109 is not needed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18249 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 20:16:31 +00:00
Bernhard Roider
4a2ffc83f8 Problem: A crash when no color is selected and the "alter" button is pressed.
Solution: Disable the alter button if no item is selected and add an additional test for a valid index.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18247 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 20:09:03 +00:00
Bo Peng
1038ed69e6 Fix InsetListings::init, call setButtonLabel explicitly because that function is not virtual
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18246 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 20:00:06 +00:00
Bernhard Roider
43419ef0bd Problem: When canceling the color selection dialog the color of the selected item is changed to black.
Solution: Add a test whether the color returned from the color dialog is valid.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18245 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 19:52:24 +00:00
Peter Kümmel
e5df7b6978 also compile with merged files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18244 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 19:31:42 +00:00
Bo Peng
4ce743a0a7 Add support for listings package. Two listings command \lstinline, \lstinputlisting and an environment \lstlisting are supported, along with preamble \lstset. \lstinputlisting is implemented through Include dialog, and the other two are implemented with a new inset listings, along with its dialog.
* src/LyXAction.cpp: listing-insert action
	* src/insets/Inset.h,cpp: LISTINGS_CODE
	* src/insets/InsetInclude.cpp: handle \lstinputlisting
	* src/insets/InsetListings.h,cpp: new listings inset
	* src/insets/InsetListingsParams.h,cpp: parameters from listings package
	* src/insets/InsetCommandParams.h,cpp: handle lstinputlisting option
	* src/Bidi.cpp: handle LISTINGS_CODE
	* src/frontends/qt4/ui/TextLayoutUi.ui: update UI
	* src/frontends/qt4/ui/ListingsUi.ui: new dialog
	* src/frontends/qt4/ui/IncludeUi.ui: update UI
	* src/frontends/qt4/QInclude.h,cpp: add lstinputlisting
	* src/frontends/qt4/QDocument.h,cpp: add textedit for preamble listings_params
	* src/frontends/qt4/QListings.h,cpp: new listings inset
	* src/frontends/qt4/Dialogs.cpp: new listings dialog
	* src/frontends/controllers/ControlInclude.h,cpp: add lstinputlisting
	* src/frontends/controllers/ControlListings.h,cpp: new listings inset
	* src/LyXFunc.cpp: handle LISTING_CODE
	* src/Paragraph.cpp: handle LISTING_CODE
	* src/factory.cpp: new listings inset
	* src/CutAndPaste.cpp: handle LISTINGS_CODE
	* src/LaTeXFeatures.cpp: require listings
	* src/Text3.cpp: Handle LISTINGS_CODE
	* src/lfuns.h: add LFUN_LISTING_INSERT
	* src/Buffer.cpp: change lyx file format to 269
	* src/BufferParams.h,cpp: add listings_params to preamble
	* lib/lyx2lyx/LyX.py: lyx2lyx 
	* lib/lyx2lyx/lyx_1_5.py: lyx2lyx
	* lib/ui/stdmenus.inc: new menu item (no shortcut!)
	* src/insets/Makefile.am: update autotools
	* src/frontends/controllers/Makefile.am
	* src/frontends/qt4/Makefile.dialogs
	* src/frontends/qt4/Makefile.am
	* po/POTFILES.in: a few more translatable files.
	* development/scons/scons_manifest.py: scons build system
	* development/FORMAT: document format changes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18243 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 19:11:42 +00:00
Abdelrazak Younes
31c9218c7e Fix cursor movement in RTL embedded math insets by Elazar Leibovich.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18241 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 09:42:33 +00:00
Edwin Leuven
f5cfb824aa * set some sizehints to ingore so that toc widget does not take up too much space on toggle...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18240 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 08:23:57 +00:00
Uwe Stöhr
c9baa9bd3f BufferParams.cpp: fix bug 3569:
http://bugzilla.lyx.org/show_bug.cgi?id=3569

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18238 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-08 23:53:35 +00:00
Michael Schmitt
038cc70650 change tracking:
introduce 'semantic' TeX commands \lyxinserted and \lyxdeleted in order to decouple change tracking
output from dvipost. Raise user warning if dvipost is not installed (i.e. no changes are shown in TeX output)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18237 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-08 17:46:03 +00:00
Richard Heck
bd71f0adac Fix for bug 3524: Indent checkbox is enabled even when paragraphs are marked
with skips.

Added helper method canIndent() to controller and appropriate logic to
QParagraph::update_contents().



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18236 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-08 15:35:44 +00:00
Richard Heck
7753dd6e6f Fix for bug 2951. Adds default fn: prefix tolabels in footnotes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18235 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-08 15:10:08 +00:00
Abdelrazak Younes
fe4da6920b remove 'lyx::'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18234 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-08 14:09:27 +00:00
Abdelrazak Younes
492562091e declare 'std::foo' and remove 'lyx::'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18233 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-08 14:01:40 +00:00
Abdelrazak Younes
b6407071cf code formatting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18232 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-08 13:21:50 +00:00
Uwe Stöhr
db72d04fd9 BufferParams.h: add comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18230 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-07 22:32:44 +00:00
Uwe Stöhr
f910f7d6e8 BufferParams.cpp: fix bug 3568:
http://bugzilla.lyx.org/show_bug.cgi?id=3568

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18227 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-07 18:55:14 +00:00
Uwe Stöhr
8d8b55cf92 QMathMatrixDialog.cpp: fix part of bug 3475
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18226 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-07 18:30:41 +00:00
Abdelrazak Younes
b5ff27fdd1 Cleanup in order to better understand bug 3043 and 3561.
* switchEncoding(): simplify return logic (transform 'and -> do' to 'or ->return')


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18224 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-07 17:10:10 +00:00
Jürgen Spitzmüller
7f4becba15 * src/Encoding.cpp (latexChar):
- assure the encodings are proper initialized.
	  supposedely fixes bugs 3561 and 3562 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18221 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-07 15:08:27 +00:00
Jürgen Spitzmüller
8b238ec805 Fix remaining parts of bug 3146.
* src/Cursor.cpp:
	- new helper function parbreak that checks whether a blank line is
	  to be inserted or not (currently only relevant for ERT content)
	- (selectionAsString): use parbreak instead of hardcoded "\n\n"

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18220 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-07 08:57:53 +00:00
Uwe Stöhr
80b94c6bf5 Georg's patch for bug 3043:
Introduces new encodings for the CJK-languages.
The CJK-languages can now be selected from LyX's menu.
For remaining small problems, see the thread "Help needed for bug 3043" on the devel-list.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18216 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-06 20:26:02 +00:00
Uwe Stöhr
2550861643 fix inputenc handling bug introduced with r18198
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18210 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-06 14:18:40 +00:00
Jürgen Spitzmüller
b9350d4038 * src/Cursor.cpp:
- revert accidental commit in r18206.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18209 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-06 08:38:10 +00:00
Jürgen Spitzmüller
574b28db65 Fix bug 3508:
* src/ToolbarBackend.cpp:
* lib/ui/stdtoolbars.inc:
	- add tooltip to table widget
* src/frontends/qt4/QLToolbar.cpp:
	- display tooltip as icon text

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18208 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-06 07:26:51 +00:00
Uwe Stöhr
fabf9f5af3 forgot this in my last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18207 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-05 20:27:43 +00:00
Uwe Stöhr
c5527942f3 set infrastructure to allow not to call babel
This is a part of the fix for bug 3043.
I got the OK from Georg, that this patch doesn't introduce conflicts as it only sets the infrastructure.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18206 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-05 19:18:34 +00:00
Jürgen Spitzmüller
71d75896e0 * src/TextMetrics.cpp (setHeightOfRow):
- don't use parkip in ERT insets (bug 3146)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18205 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-05 12:06:37 +00:00
Abdelrazak Younes
94674dec6a revision 18202: I forgot this one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18203 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 17:46:03 +00:00
Abdelrazak Younes
ab2324315b TOC Widget beautification by Stefan Schimanski:
* lib/images: 3 new icons 
* TocUi/TocWidget: Replace labeled button with icon buttons.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18202 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 17:37:05 +00:00
Abdelrazak Younes
1becd845c1 * LyX::addFileToLoad(): new method for double-clicked file icons on MacOS.
* GuiApplication::event():
  special case for FileOpen events: memorize the filenames if LyX is not properly started yet.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18201 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 17:20:53 +00:00
Edwin Leuven
1f9652587e * do not ignore "requires" field in MathMacro
(fixes http://bugzilla.lyx.org/show_bug.cgi?id=3520)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18199 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 15:30:27 +00:00
Jürgen Spitzmüller
ced73c33e6 * lib/encodings:
- add new encoding utf8-plain for the sake of XeTeX users (bug 3526)
* src/BufferParams.cpp:
	- implement new encoding (skip inputenc)
	- fix logic error with thailatex

* src/Buffer.cpp:
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_5.pyx:
* development/FORMAT:
	- format increment to 267
	- reset encoding to utf8 on reversion.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18198 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 12:27:00 +00:00
Abdelrazak Younes
ce3fce19c4 * QLPainter: antialias edges of primitives only if text is antialiased.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18197 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 09:24:44 +00:00
Abdelrazak Younes
58cc6d28e8 Fix antialiasing problem in straight lines within polylines. Prepare for optional antialiasing.
* QLPainter::lines(): use QPainter::drawLine() multiple times instead QPainter::drawPolyline().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18196 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 08:52:40 +00:00
Enrico Forestieri
1f3bec86bd Last(?) missing rename: version.C -> version.cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18194 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 00:47:24 +00:00
Jürgen Spitzmüller
410a946f1f * src/insets/InsetMarginal.h:
- revert accidental encoding change

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18189 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 15:54:56 +00:00
Jürgen Spitzmüller
6896eafabd * src/insets/InsetMarginal.h:
- add missing name() (fix bug 3540)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18188 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 15:53:14 +00:00
Abdelrazak Younes
9ed920f62a revert 18186: this cannot be done right now because of the way LFUN_BUFFER_PARAMS_APPLY is implemented.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18187 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 14:47:22 +00:00
Abdelrazak Younes
696b6a2167 Fix interface problem in order to cleanly support "cursor position memory" in the preamble editor.
* ControlDocument::params(): replace BufferParams local copy with Buffer::params() direct access.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18186 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 14:20:12 +00:00
Jean-Marc Lasgouttes
a67a27e6de * src/Cursor.cpp (isRTL): simplify
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18185 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 13:31:16 +00:00
Uwe Stöhr
701f204b22 LaTeXFeatures.h: fix tipo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18157 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 18:12:31 +00:00
Uwe Stöhr
227f80157c file format change: support for Armenian
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18155 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 17:48:04 +00:00
Abdelrazak Younes
cf5a9defdd Restor 1.4.x behaviour: Don't touch the preamble QTextEdit if the preamble text is unchanged.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18154 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 17:33:04 +00:00
Michael Schmitt
8dcc7cf00e * src/Text2.cpp: fix error message (do not refer to old, non-existing menu item);
I wonder whether this message is used at all, as it does not occur when
	runnig font-free-apply after program start


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18149 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 10:25:46 +00:00
Michael Schmitt
cd289ad718 * src/frontends/qt4/QParagraph.cpp: reduce the verbosity of a tooltip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18147 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 10:07:29 +00:00
Michael Schmitt
a746aa5214 "fix" bug #3332 (plain text export depends on the menu language)
Please note that method B_ (translate text to buffer language) is presently broken (at least on Windows)!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18143 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 08:26:40 +00:00
Jürgen Spitzmüller
3d1225a5c0 * src/LyXFunc.cpp: add comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18140 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 06:50:09 +00:00
André Pönitz
75637c0dd8 remove RowList_fwd.h. Not really needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18135 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 22:02:15 +00:00
André Pönitz
a939474037 consolidate tex-accent.* Trans.* KmodInfo.h into Trans.{h,cpp}. All stuff was used at most once and basically implementation details
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18131 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 21:44:00 +00:00
André Pönitz
40e4ab9bf3 distribute content sof tex-strings.cpp to their respective unique places of usage
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18130 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 21:01:24 +00:00
André Pönitz
e941660705 merge lyx_sty.* into LaTeXFearures.cpp. was not used anywhere else
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18128 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 20:20:05 +00:00
Abdelrazak Younes
845feeabfc Fix bug 3186?
http://bugzilla.lyx.org/show_bug.cgi?id=3186

Caption outside float or long table will get the "Senseless!!" label.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18120 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 15:17:16 +00:00
Abdelrazak Younes
2640b21228 * Inset and derivatives: insetName() -> name()
* InsetMath::name(): deleted.

* buffer_funcs.cpp:setCaptions() fix potential bug by using docstring copy instead of reference while using Inset::name.





git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18119 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 14:39:09 +00:00
Jürgen Spitzmüller
699fd5a7b4 * src/lfuns.h:
* src/LyXAction.cpp:
* src/LyXFunc.cpp:
	- implement new LFUN_DIALOG_TOGGLE
	- remove obsolete LFUN_TOC_VIEW

* lib/ui/classic.ui:
* lib/ui/stdmenus.inc:
	- use dialog-toggle for toc and view-source

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18118 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 14:29:49 +00:00
Abdelrazak Younes
9d37c60314 Get rid of GridInsetMailer: this is completely useless and unused and consumes a lot of CPU when editing a file with a lot of macro (which is a heavy user of InsetMathGrid).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18117 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 12:27:12 +00:00
Abdelrazak Younes
7b06307cc6 * Cursor::isRTL(): correctly deal with the inner paragraph when within mathed.
* DocIterator::innerParagraph(): new method giving the inner paragraph.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18114 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 11:46:02 +00:00
Abdelrazak Younes
9fa2880677 revert unrelated change in rev 18110 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18111 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 10:44:23 +00:00
Abdelrazak Younes
00e1771f94 Now that setPosCache() is in Inset, InsetMathDim is not needed anymore: ERASED!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18110 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 10:31:51 +00:00
André Pönitz
e0d54dd3b4 LyXText -> Text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18103 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 23:33:02 +00:00
Michael Schmitt
295eea310e replace term "Glossary" by "Nomenclature"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18102 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 22:21:00 +00:00
André Pönitz
757d5d67ac resolve the layout.h <=> Layout.h conflict
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18099 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 22:04:32 +00:00
André Pönitz
6add1994c7 rename LyXTextClass* into TextClass*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18097 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 19:53:54 +00:00
André Pönitz
0bf9ac02a8 rename LyXLayout into Layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18096 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 18:58:28 +00:00
André Pönitz
fc6ce7cd08 rename LyXFont to Font except in tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18095 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 18:17:15 +00:00
André Pönitz
d079c908b3 rename LyXServer into Server
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18092 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 16:22:46 +00:00
André Pönitz
32871c1284 rename InsetBase to Inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18089 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 13:39:47 +00:00
André Pönitz
51fbea02a8 Remove InsetOld
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18087 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 12:32:14 +00:00
Jürgen Spitzmüller
b0b7aa2bf5 Implement shortcut (M-x) to hide the minibuffer
* src/frontends/controllers/ControlCommandBuffer.{cpp,h}:
	- new member hide()
* src/frontends/qt4QCommandEdit.{cpp,h}:
	- new signal hidePressed(), emit it on M-x/Alt-x
* src/frontends/qt4/QCommandBuffer.{cpp,h}:
	- new slot hideParent(), connected to QCommandEdit::hidePressed()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18081 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 08:58:09 +00:00
Abdelrazak Younes
b3548c1f72 * Cursor::isRTL(): new method that gives the RTL state of the paragraph.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18080 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 08:29:16 +00:00
Bo Peng
d30304cf84 Rename class RefInset to InsetMathRef
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18077 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-28 20:49:56 +00:00
Bo Peng
e36fba33ab Last (?) batch of renames:
src/frontends/Alert.h src/frontends/alert.h
src/frontends/Alert.cpp src/frontends/alert.cpp
src/frontends/Alert_pimpl.cpp src/frontends/alert_pimpl.cpp
src/frontends/qt4/Alert_pimpl.cpp src/frontends/qt4/alert_pimpl.cpp
src/frontends/controllers/ButtonPolicies.cpp src/frontends/controllers/ButtonPolicy.cpp
src/frontends/controllers/ButtonPolicies.h src/frontends/controllers/ButtonPolicy.h
src/insets/InsetEnv.cpp src/insets/InsetEnvironment.cpp
src/insets/InsetEnv.h src/insets/InsetEnvironment.h
src/mathed/MathMacroTable.h src/mathed/MacroTable.h
src/mathed/MathMacroTable.cpp src/mathed/MacroTable.cpp
src/lyx_cb.h src/callback.h
src/lyx_cb.cpp src/callback.cpp
src/UpdateFlags.h src/update_flags.h


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18076 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-28 20:44:46 +00:00
Bo Peng
153c9b0461 Rename version.C.in to version.cpp.in, and Package.C.in to package.cpp.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18074 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-28 15:05:08 +00:00
André Pönitz
8c622e4ff0 rename/merge LyXLength related stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18067 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-28 12:58:49 +00:00
Abdelrazak Younes
2409b887af Fix arabic character transformation by Mostafa Vahedi:
The old code in the method "Paragraph::transformChar" had a bug, when the prev_char is a COMPOSE character (such as FATHA) and the previous BASE character is a SPECIAL character (such as ALEF). In this case the current character (such as BAA) gets the medial form and gets connected to the previous SPECIAL character which is not correct. The correct way to handle this situation is that, similar to the next_char, the first previous non-COMPOSE character should be assigned to the prev_char if exists.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18065 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-27 20:37:57 +00:00
André Pönitz
50016ccf3a rename LyXKeySym into KeySymbol
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18059 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-27 08:43:38 +00:00
André Pönitz
5265a8c02c rename kb_sequence into KeySequence
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18057 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-27 08:19:12 +00:00
André Pönitz
1d6c4787f9 rename kb_keymap into KeyMap
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18056 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-27 08:05:58 +00:00
Uwe Stöhr
82b70e9c64 File format change: Fix bug 1746 partly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18052 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 21:40:51 +00:00
André Pönitz
02703f47bf I guess Windows folks are not too happy with files named color.h and Color.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18048 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 19:21:38 +00:00
André Pönitz
5008ee540f rename LColor into Color
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18046 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 17:34:20 +00:00
André Pönitz
76dec26fec rename MathArray into MathData
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18044 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 16:06:39 +00:00
André Pönitz
31059d1741 rename MathArray into MathData
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18043 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 16:05:57 +00:00
André Pönitz
42123ab8a7 rename LCursor->Cursor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18040 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 14:56:30 +00:00
André Pönitz
bf2221d990 forgot and this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18038 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 13:39:14 +00:00
André Pönitz
ab780e843e forgot these
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18037 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 13:34:23 +00:00
André Pönitz
ef1a53c492 merge LyXTabular.{cpp,h} and insets/InsetTabular.{cpp,h}. More reorganization necessary. Not now...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18036 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 12:54:21 +00:00
André Pönitz
39e79d8602 rename LyXLex into Lexer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18033 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 11:30:54 +00:00
Jean-Marc Lasgouttes
ea9b792b6a remove obsolete comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18031 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 10:03:22 +00:00
André Pönitz
345d7c00cd remove ParagraphList_fwd.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18030 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 08:30:11 +00:00
André Pönitz
f63d0e05df fix problem reported by Uwe
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18029 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 07:12:31 +00:00
André Pönitz
71797f6d72 fix Makefile.am after .C -> .cpp conversion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18028 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 06:55:43 +00:00
Bo Peng
bcc90ce1c9 Rename three remaining .C files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18026 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 05:18:04 +00:00
Bo Peng
f212b48335 Rename .C ==> .cpp for files in src/support, part two
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18025 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 05:13:44 +00:00
Bo Peng
138b23fac8 Rename files in src/support, step one.
src/support/package.h                              src/support/Package.h    Package
src/support/package.C.in                           src/support/Package.C.in  Package
src/support/path.h                                 src/support/Path.h    Path
src/support/fs_extras.h                            src/support/fs_extras.h NOCLASSES
src/support/RandomAccessList.h                     src/support/RandomAccessList.h    RandomAccessList
src/support/lyxmanip.h                             src/support/lyxmanip.h NOCLASSES
src/support/rename.C                               src/support/rename.cpp  NOCLASSES
src/support/abort.C                                src/support/abort.cpp  NOCLASSES
src/support/lyxlib.h                               src/support/lyxlib.h NOCLASSES
src/support/ExceptionMessage.h                     src/support/ExceptionMessage.h    ExceptionMessage
src/support/copy.C                                 src/support/copy.cpp  NOCLASSES
src/support/limited_stack.h                        src/support/limited_stack.h    limited_stack
src/support/filefilterlist.C                       src/support/FileFilterList.cpp    ['FileFilterList', 'Filter']
src/support/cow_ptr.h                              src/support/cow_ptr.h    cow_ptr
src/support/os_unix.C                              src/support/os_unix.cpp  NOCLASSES
src/support/socktools.h                            src/support/socktools.h NOCLASSES
src/support/forkedcontr.h                          src/support/ForkedcallsController.h    ForkedcallsController
src/support/os.h                                   src/support/os.h NOCLASSES
src/support/FileMonitor.h                          src/support/FileMonitor.h    FileMonitor
src/support/copied_ptr.h                           src/support/copied_ptr.h    copied_ptr
src/support/translator.h                           src/support/Translator.h    Translator
src/support/filetools.C                            src/support/filetools.cpp  NOCLASSES
src/support/unlink.C                               src/support/unlink.cpp  NOCLASSES
src/support/os_win32.C                             src/support/os_win32.cpp    GetFolderPath
src/support/lstrings.C                             src/support/lstrings.cpp  NOCLASSES
src/support/qstring_helpers.C                      src/support/qstring_helpers.cpp  NOCLASSES
src/support/getcwd.C                               src/support/getcwd.cpp  NOCLASSES
src/support/systemcall.C                           src/support/Systemcall.cpp    Systemcall
src/support/lyxalgo.h                              src/support/lyxalgo.h NOCLASSES
src/support/filefilterlist.h                       src/support/FileFilterList.h    ['FileFilterList', 'Filter']
src/support/unicode.C                              src/support/unicode.cpp    IconvProcessor
src/support/userinfo.C                             src/support/userinfo.cpp  NOCLASSES
src/support/lyxtime.C                              src/support/lyxtime.cpp  NOCLASSES
src/support/kill.C                                 src/support/kill.cpp  NOCLASSES
src/support/docstring.C                            src/support/docstring.cpp    to_local8bit_failure
src/support/os_cygwin.C                            src/support/os_cygwin.cpp  NOCLASSES
src/support/lyxsum.C                               src/support/lyxsum.cpp  NOCLASSES
src/support/environment.C                          src/support/environment.cpp  NOCLASSES
src/support/filetools.h                            src/support/filetools.h NOCLASSES
src/support/textutils.C                            src/support/textutils.cpp  NOCLASSES
src/support/mkdir.C                                src/support/mkdir.cpp  NOCLASSES
src/support/forkedcall.C                           src/support/Forkedcall.cpp    ['ForkedProcess', 'Forkedcall']
src/support/tempname.C                             src/support/tempname.cpp  NOCLASSES
src/support/os_win32.h                             src/support/os_win32.h    GetFolderPath
src/support/types.h                                src/support/types.h NOCLASSES
src/support/lstrings.h                             src/support/lstrings.h NOCLASSES
src/support/forkedcallqueue.C                      src/support/ForkedCallQueue.cpp    ForkedCallQueue
src/support/qstring_helpers.h                      src/support/qstring_helpers.h NOCLASSES
src/support/convert.C                              src/support/convert.cpp  NOCLASSES
src/support/filename.C                             src/support/FileName.cpp    ['FileName', 'DocFileName']
src/support/tests/convert.C                        src/support/tests/convert.cpp  NOCLASSES
src/support/tests/filetools.C                      src/support/tests/filetools.cpp  NOCLASSES
src/support/tests/lstrings.C                       src/support/tests/lstrings.cpp  NOCLASSES
src/support/tests/boost.C                          src/support/tests/boost.cpp  NOCLASSES
src/support/docstream.C                            src/support/docstream.cpp    ['iconv_codecvt_facet_exception', 'idocfstream', 'odocfstream']
src/support/std_istream.h                          src/support/std_istream.h NOCLASSES
src/support/systemcall.h                           src/support/Systemcall.h    Systemcall
src/support/chdir.C                                src/support/chdir.cpp  NOCLASSES
src/support/std_ostream.h                          src/support/std_ostream.h NOCLASSES
src/support/unicode.h                              src/support/unicode.h    IconvProcessor
src/support/path.C                                 src/support/Path.cpp    Path
src/support/fs_extras.C                            src/support/fs_extras.cpp  NOCLASSES
src/support/userinfo.h                             src/support/userinfo.h NOCLASSES
src/support/lyxtime.h                              src/support/lyxtime.h NOCLASSES
src/support/docstring.h                            src/support/docstring.h    to_local8bit_failure
src/support/debugstream.h                          src/support/debugstream.h    basic_debugstream
src/support/environment.h                          src/support/environment.h NOCLASSES
src/support/textutils.h                            src/support/textutils.h NOCLASSES
src/support/forkedcall.h                           src/support/Forkedcall.h    ['ForkedProcess', 'Forkedcall']
src/support/socktools.C                            src/support/socktools.cpp  NOCLASSES
src/support/forkedcallqueue.h                      src/support/ForkedCallQueue.h    ForkedCallQueue
src/support/forkedcontr.C                          src/support/ForkedcallsController.cpp    ForkedcallsController
src/support/os.C                                   src/support/os.cpp  NOCLASSES
src/support/convert.h                              src/support/convert.h NOCLASSES
src/support/filename.h                             src/support/FileName.h    ['FileName', 'DocFileName']
src/support/docstream.h                            src/support/docstream.h    ['iconv_codecvt_facet_exception', 'idocfstream', 'odocfstream']
src/support/FileMonitor.C                          src/support/FileMonitor.cpp    FileMonitor



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18024 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 05:12:52 +00:00
Bo Peng
04591a6e34 Rename .C ==> .cpp for files in src/tex2lyx, part two
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18023 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 04:53:30 +00:00
Bo Peng
8cc88bf1ec Rename files under src/tex2lyx
src/tex2lyx/lyxfont.C                              src/tex2lyx/LyXFont.cpp    LyXFont
src/tex2lyx/lyxfont.h                              src/tex2lyx/LyXFont.h    LyXFont
src/tex2lyx/texparser.C                            src/tex2lyx/Parser.cpp    ['Token', 'Parser']
src/tex2lyx/tex2lyx.C                              src/tex2lyx/tex2lyx.cpp  NOCLASSES
src/tex2lyx/texparser.h                            src/tex2lyx/Parser.h    ['Token', 'Parser']
src/tex2lyx/text.C                                 src/tex2lyx/text.cpp  NOCLASSES
src/tex2lyx/tex2lyx.h                              src/tex2lyx/tex2lyx.h NOCLASSES
src/tex2lyx/context.C                              src/tex2lyx/Context.cpp    ['Font', 'Context']
src/tex2lyx/gettext.C                              src/tex2lyx/gettext.cpp  NOCLASSES
src/tex2lyx/boost.C                                src/tex2lyx/boost.cpp  NOCLASSES
src/tex2lyx/table.C                                src/tex2lyx/table.cpp  NOCLASSES
src/tex2lyx/preamble.C                             src/tex2lyx/preamble.cpp  NOCLASSES
src/tex2lyx/math.C                                 src/tex2lyx/math.cpp  NOCLASSES
src/tex2lyx/context.h                              src/tex2lyx/Context.h    ['Font', 'Context']
src/tex2lyx/Spacing.h                              src/tex2lyx/Spacing.h    Spacing
src/tex2lyx/lengthcommon.C                         src/tex2lyx/lengthcommon.cpp  NOCLASSES



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18022 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 04:53:06 +00:00
Bo Peng
bacd98eab6 Rename .C ==> .cpp for files in src/client, part two
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18021 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 04:50:47 +00:00
Bo Peng
8331bff30b rename files under src/client, step one
src/client/client.C                                src/client/client.cpp  NOCLASSES
src/client/pch.h                                   src/client/pch.h NOCLASSES
src/client/gettext.C                               src/client/gettext.cpp  NOCLASSES
src/client/boost.C                                 src/client/boost.cpp  NOCLASSES
src/client/debug.C                                 src/client/debug.cpp    lyx_debug_trait
src/client/messages.C                              src/client/Messages.cpp    Messages
src/client/debug.h                                 src/client/debug.h    lyx_debug_trait
src/client/messages.h                              src/client/Messages.h    Messages


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18020 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 04:50:23 +00:00
Bo Peng
f630be8904 Rename .C ==> .cpp for files in src/
Oldname, newname, classes
src/pspell.C                                       src/PSpell.cpp    PSpell
src/ParagraphMetrics.h                             src/ParagraphMetrics.h    ParagraphMetrics
src/author.C                                       src/Author.cpp    ['Author', 'AuthorList']
src/Floating.C                                     src/Floating.cpp    Floating
src/lyxvc.C                                        src/LyXVC.cpp    LyXVC
src/intl.C                                         src/Intl.cpp    Intl
src/paragraph.h                                    src/Paragraph.h    ['FontSpan', 'Paragraph']
src/LyXAction.C                                    src/LyXAction.cpp    LyXAction
src/SpellBase.C                                    src/SpellBase.cpp    SpellBase
src/TextMetrics.C                                  src/TextMetrics.cpp    TextMetrics
src/LaTeXFeatures.C                                src/LaTeXFeatures.cpp    LaTeXFeatures
src/buffer_funcs.h                                 src/buffer_funcs.h NOCLASSES
src/Variables.h                                    src/Variables.h    Variables
src/cursor.C                                       src/LCursor.cpp    LCursor
src/lyx_cb.C                                       src/lyx_cb.cpp  NOCLASSES
src/DepTable.C                                     src/DepTable.cpp    ['DepTable', 'dep_info']
src/vspace.C                                       src/VSpace.cpp    VSpace
src/Thesaurus.C                                    src/Thesaurus.cpp    Thesaurus
src/Color.h                                        src/color.h NOCLASSES
src/Spacing.C                                      src/Spacing.cpp    Spacing
src/dociterator.h                                  src/DocIterator.h    ['DocIterator', 'StableDocIterator']
src/trans.C                                        src/Trans.cpp    Trans
src/metricsinfo.h                                  src/MetricsInfo.h    ['MetricsBase', 'MetricsInfo', 'PainterInfo', 'TextMetricsInfo', 'ViewMetricsInfo', 'Changer', 'FontChanger', 'FontSetChanger', 'StyleChanger', 'ScriptChanger', 'FracChanger', 'ArrayChanger', 'ShapeChanger', 'WidthChanger', 'ColorChanger']
src/box.C                                          src/Box.cpp    Box
src/language.h                                     src/Language.h    ['Language', 'Languages']
src/output_plaintext.C                             src/output_plaintext.cpp  NOCLASSES
src/coordcache.C                                   src/CoordCache.cpp    ['Point', 'CoordCache']
src/lyxlex.h                                       src/LyXLex.h    ['LyXLex', 'pushpophelper']
src/encoding.h                                     src/Encoding.h    ['Encoding', 'Encodings', 'const_iterator']
src/debug.h                                        src/debug.h    lyx_debug_trait
src/Chktex.h                                       src/Chktex.h    Chktex
src/output.C                                       src/output.cpp  NOCLASSES
src/output_latex.h                                 src/output_latex.h NOCLASSES
src/sgml.C                                         src/sgml.cpp  NOCLASSES
src/pspell.h                                       src/PSpell.h    PSpell
src/bufferlist.C                                   src/BufferList.cpp    BufferList
src/author.h                                       src/Author.h    ['Author', 'AuthorList']
src/Bidi.C                                         src/Bidi.cpp    Bidi
src/exporter.C                                     src/Exporter.cpp    ['Exporter', 'ExportedFile', 'ExportData']
src/Floating.h                                     src/Floating.h    Floating
src/lyxvc.h                                        src/LyXVC.h    LyXVC
src/intl.h                                         src/Intl.h    Intl
src/lyxlength.C                                    src/LyXLength.cpp    LyXLength
src/LyXAction.h                                    src/LyXAction.h    LyXAction
src/SpellBase.h                                    src/SpellBase.h    SpellBase
src/TextMetrics.h                                  src/TextMetrics.h    TextMetrics
src/LaTeXFeatures.h                                src/LaTeXFeatures.h    LaTeXFeatures
src/cursor.h                                       src/LCursor.h    LCursor
src/layout.h                                       src/layout.h NOCLASSES
src/DepTable.h                                     src/DepTable.h    ['DepTable', 'dep_info']
src/lyx_cb.h                                       src/lyx_cb.h NOCLASSES
src/vspace.h                                       src/VSpace.h    VSpace
src/PrinterParams.C                                src/PrinterParams.cpp    PrinterParams
src/tex-strings.C                                  src/tex-strings.cpp  NOCLASSES
src/Thesaurus.h                                    src/Thesaurus.h    Thesaurus
src/Spacing.h                                      src/Spacing.h    Spacing
src/BranchList.C                                   src/BranchList.cpp    ['Branch', 'BranchList', 'BranchNamesEqual']
src/trans.h                                        src/Trans.h    Trans
src/output_plaintext.h                             src/output_plaintext.h NOCLASSES
src/box.h                                          src/Box.h    Box
src/coordcache.h                                   src/CoordCache.h    ['Point', 'CoordCache']
src/graph.C                                        src/Graph.cpp    ['Graph', 'Vertex']
src/lyxserver.C                                    src/LyXServer.cpp    ['LyXComm', 'LyXServer']
src/undo.C                                         src/Undo.cpp    Undo
src/output.h                                       src/output.h NOCLASSES
src/text2.C                                        src/text2.cpp  NOCLASSES
src/ParagraphList_fwd.h                            src/ParagraphList_fwd.h NOCLASSES
src/sgml.h                                         src/sgml.h NOCLASSES
src/converter.C                                    src/Converter.cpp    ['Converter', 'Converters']
src/factory.C                                      src/factory.cpp  NOCLASSES
src/RowList_fwd.h                                  src/RowList_fwd.h NOCLASSES
src/buffer.C                                       src/Buffer.cpp    Buffer
src/bufferlist.h                                   src/BufferList.h    BufferList
src/CutAndPaste.C                                  src/CutAndPaste.cpp  NOCLASSES
src/Bidi.h                                         src/Bidi.h    Bidi
src/exporter.h                                     src/Exporter.h    ['Exporter', 'ExportedFile', 'ExportData']
src/InsetList.C                                    src/InsetList.cpp    ['InsetList', 'InsetTable']
src/FontIterator.C                                 src/FontIterator.cpp    FontIterator
src/session.C                                      src/Session.cpp    ['SessionSection', 'LastFilesSection', 'LastOpenedSection', 'LastFilePosSection', 'BookmarksSection', 'Bookmark', 'ToolbarSection', 'ToolbarInfo', 'SessionInfoSection', 'Session']
src/lyxlength.h                                    src/LyXLength.h    LyXLength
src/main.C                                         src/main.cpp    LyXLength
src/lyxsocket.C                                    src/LyXServerSocket.cpp    ['LyXServerSocket', 'LyXDataSocket']
src/errorlist.C                                    src/ErrorList.cpp    ['ErrorItem', 'ErrorList']
src/lyxtext.h                                      src/LyXText.h    LyXText
src/lyxfunc.C                                      src/LyXFunc.cpp    LyXFunc
src/format.C                                       src/Format.cpp    ['Format', 'Formats']
src/lengthcommon.C                                 src/lengthcommon.cpp  NOCLASSES
src/tex-strings.h                                  src/tex-strings.h NOCLASSES
src/PrinterParams.h                                src/PrinterParams.h    PrinterParams
src/insetiterator.C                                src/InsetIterator.cpp    InsetIterator
src/vc-backend.C                                   src/VCBackend.cpp    ['VCS', 'RCS', 'CVS']
src/TocBackend.C                                   src/TocBackend.cpp    ['TocItem', 'TocList', 'TocBackend']
src/BranchList.h                                   src/BranchList.h    ['Branch', 'BranchList', 'BranchNamesEqual']
src/FuncStatus.C                                   src/FuncStatus.cpp    FuncStatus
src/Sectioning.C                                   src/Section.cpp    ['Section', 'SectioningList']
src/counters.C                                     src/Counters.cpp    ['Counter', 'Counters']
src/graph.h                                        src/Graph.h    ['Graph', 'Vertex']
src/lyxserver.h                                    src/LyXServer.h    ['LyXComm', 'LyXServer']
src/undo.h                                         src/Undo.h    Undo
src/paper.h                                        src/paper.h NOCLASSES
src/converter.h                                    src/Converter.h    ['Converter', 'Converters']
src/factory.h                                      src/factory.h NOCLASSES
src/LaTeX.C                                        src/LaTeX.cpp    ['TeXErrors', 'Error', 'Aux_Info', 'LaTeX']
src/bufferparams.C                                 src/BufferParams.cpp    ['BufferParams', 'MemoryTraits']
src/buffer.h                                       src/Buffer.h    Buffer
src/CutAndPaste.h                                  src/CutAndPaste.h NOCLASSES
src/InsetList.h                                    src/InsetList.h    ['InsetList', 'InsetTable']
src/kbsequence.C                                   src/kb_sequence.cpp    kb_sequence
src/FontIterator.h                                 src/FontIterator.h    FontIterator
src/dimension.C                                    src/Dimension.cpp    Dimension
src/Bullet.C                                       src/Bullet.cpp    Bullet
src/texrow.C                                       src/TexRow.cpp    ['TexRow', 'RowItem']
src/session.h                                      src/Session.h    ['SessionSection', 'LastFilesSection', 'LastOpenedSection', 'LastFilePosSection', 'BookmarksSection', 'Bookmark', 'ToolbarSection', 'ToolbarInfo', 'SessionInfoSection', 'Session']
src/ParagraphParameters.C                          src/ParagraphParameters.cpp    ParagraphParameters
src/lyxsocket.h                                    src/LyXServerSocket.h    ['LyXServerSocket', 'LyXDataSocket']
src/errorlist.h                                    src/ErrorList.h    ['ErrorItem', 'ErrorList']
src/tabular.C                                      src/LyXTabular.cpp    ['LyXTabular', 'ltType', 'cellstruct', 'rowstruct', 'columnstruct']
src/pariterator.C                                  src/ParIterator.cpp    ['ParIterator', 'ParConstIterator']
src/lyxfunc.h                                      src/LyXFunc.h    LyXFunc
src/format.h                                       src/Format.h    ['Format', 'Formats']
src/aspell_local.h                                 src/ASpell_local.h    ASpell
src/lengthcommon.h                                 src/lengthcommon.h NOCLASSES
src/insetiterator.h                                src/InsetIterator.h    InsetIterator
src/lyxrc.C                                        src/LyXRC.cpp    ['LyXRC', 'LyXRC_PreviewStatus']
src/TocBackend.h                                   src/TocBackend.h    ['TocItem', 'TocList', 'TocBackend']
src/vc-backend.h                                   src/VCBackend.h    ['VCS', 'RCS', 'CVS']
src/dispatchresult.h                               src/DispatchResult.h    DispatchResult
src/lyxtextclasslist.C                             src/LyXTextClassList.cpp    LyXTextClassList
src/paragraph_funcs.C                              src/paragraph_funcs.cpp  NOCLASSES
src/funcrequest.C                                  src/FuncRequest.cpp    FuncRequest
src/FuncStatus.h                                   src/FuncStatus.h    FuncStatus
src/UpdateFlags.h                                  src/UpdateFlags.h NOCLASSES
src/lyxrow.C                                       src/Row.cpp    ['Row', 'RowMetrics']
src/outputparams.C                                 src/OutputParams.cpp    OutputParams
src/counters.h                                     src/Counters.h    ['Counter', 'Counters']
src/Sectioning.h                                   src/Section.h    ['Section', 'SectioningList']
src/text3.C                                        src/text3.cpp    ['Section', 'SectioningList']
src/lyxlayout.C                                    src/LyXLayout.cpp    LyXLayout
src/lyxfind.C                                      src/lyxfind.cpp  NOCLASSES
src/bufferparams.h                                 src/BufferParams.h    ['BufferParams', 'MemoryTraits']
src/LaTeX.h                                        src/LaTeX.h    ['TeXErrors', 'Error', 'Aux_Info', 'LaTeX']
src/trans_decl.h                                   src/KmodInfo.h    KmodInfo
src/gettext.C                                      src/gettext.cpp  NOCLASSES
src/dimension.h                                    src/Dimension.h    Dimension
src/kbmap.C                                        src/kb_keymap.cpp    kb_keymap
src/kbsequence.h                                   src/kb_sequence.h    kb_sequence
src/rowpainter.C                                   src/rowpainter.cpp  NOCLASSES
src/ConverterCache.C                               src/ConverterCache.cpp    ConverterCache
src/lyxgluelength.C                                src/LyXGlueLength.cpp    LyXGlueLength
src/tex-accent.C                                   src/tex-accent.cpp  NOCLASSES
src/Bullet.h                                       src/Bullet.h    Bullet
src/texrow.h                                       src/TexRow.h    ['TexRow', 'RowItem']
src/ParagraphParameters.h                          src/ParagraphParameters.h    ParagraphParameters
src/tabular.h                                      src/LyXTabular.h    ['LyXTabular', 'ltType', 'cellstruct', 'rowstruct', 'columnstruct']
src/importer.C                                     src/Importer.cpp    Importer
src/pariterator.h                                  src/ParIterator.h    ['ParIterator', 'ParConstIterator']
src/lyxfont.C                                      src/LyXFont.cpp    ['LyXFont', 'LyXFont_size']
src/BufferView.C                                   src/BufferView.cpp    BufferView
src/ParagraphList.h                                src/ParagraphList.h NOCLASSES
src/lyxrc.h                                        src/LyXRC.h    ['LyXRC', 'LyXRC_PreviewStatus']
src/lyxtextclass.C                                 src/LyXTextClass.cpp    ['CharStyle', 'LyXTextClass']
src/changes.C                                      src/Changes.cpp    ['Change', 'Changes', 'Range', 'ChangeRange']
src/lyxtextclasslist.h                             src/LyXTextClassList.h    LyXTextClassList
src/paragraph_funcs.h                              src/paragraph_funcs.h NOCLASSES
src/funcrequest.h                                  src/FuncRequest.h    FuncRequest
src/lyxrow.h                                       src/Row.h    ['Row', 'RowMetrics']
src/outputparams.h                                 src/OutputParams.h    OutputParams
src/MenuBackend.C                                  src/MenuBackend.cpp    ['MenuItem', 'Menu', 'MenuBackend']
src/lyxlayout.h                                    src/LyXLayout.h    LyXLayout
src/lyxfind.h                                      src/lyxfind.h NOCLASSES
src/gettext.h                                      src/gettext.h NOCLASSES
src/LColor.C                                       src/LColor.cpp    ['LColor', 'LColor_color']
src/version.h                                      src/version.h NOCLASSES
src/cursor_slice.C                                 src/CursorSlice.cpp    CursorSlice
src/WordLangTuple.h                                src/WordLangTuple.h    WordLangTuple
src/lfuns.h                                        src/lfuns.h NOCLASSES
src/trans_mgr.C                                    src/TransState.cpp    ['TransState', 'TransFSMData', 'TransInitState', 'TransDeadkeyState', 'TransCombinedState', 'TransFSM', 'TransManager']
src/kbmap.h                                        src/kb_keymap.h    kb_keymap
src/rowpainter.h                                   src/rowpainter.h NOCLASSES
src/ConverterCache.h                               src/ConverterCache.h    ConverterCache
src/lyxgluelength.h                                src/LyXGlueLength.h    LyXGlueLength
src/output_docbook.C                               src/output_docbook.cpp  NOCLASSES
src/tex-accent.h                                   src/tex-accent.h NOCLASSES
src/FloatList.C                                    src/FloatList.cpp    FloatList
src/bufferview_funcs.C                             src/bufferview_funcs.cpp  NOCLASSES
src/importer.h                                     src/Importer.h    Importer
src/messages.C                                     src/Messages.cpp    Messages
src/lyxfont.h                                      src/LyXFont.h    ['LyXFont', 'LyXFont_size']
src/BufferView.h                                   src/BufferView.h    BufferView
src/ToolbarBackend.C                               src/ToolbarBackend.cpp    ['ToolbarItem', 'ToolbarInfo', 'ToolbarBackend']
src/lyx_sty.C                                      src/lyx_sty.cpp  NOCLASSES
src/lyxtextclass.h                                 src/LyXTextClass.h    ['CharStyle', 'LyXTextClass']
src/changes.h                                      src/Changes.h    ['Change', 'Changes', 'Range', 'ChangeRange']
src/aspell.C                                       src/ASpell.cpp
src/lyx_main.C                                     src/LyX.cpp    LyX
src/MenuBackend.h                                  src/MenuBackend.h    ['MenuItem', 'Menu', 'MenuBackend']
src/toc.C                                          src/toc.cpp  NOCLASSES
src/boost.C                                        src/boost.cpp  NOCLASSES
src/ispell.C                                       src/ISpell.cpp    ISpell
src/mover.C                                        src/Mover.cpp    ['Mover', 'SpecialisedMover', 'Movers']
src/ParagraphMetrics.C                             src/ParagraphMetrics.cpp    ParagraphMetrics
src/LColor.h                                       src/LColor.h    ['LColor', 'LColor_color']
src/cursor_slice.h                                 src/CursorSlice.h    CursorSlice
src/trans_mgr.h                                    src/TransState.h    ['TransState', 'TransFSMData', 'TransInitState', 'TransDeadkeyState', 'TransCombinedState', 'TransFSM', 'TransManager']
src/lyxlayout_ptr_fwd.h                            src/lyxlayout_ptr_fwd.h NOCLASSES
src/output_docbook.h                               src/output_docbook.h NOCLASSES
src/paragraph.C                                    src/Paragraph.cpp    ['FontSpan', 'Paragraph']
src/FloatList.h                                    src/FloatList.h    FloatList
src/bufferview_funcs.h                             src/bufferview_funcs.h NOCLASSES
src/buffer_funcs.C                                 src/buffer_funcs.cpp  NOCLASSES
src/Variables.C                                    src/Variables.cpp    Variables
src/messages.h                                     src/Messages.h    Messages
src/Color.C                                        src/color.cpp  NOCLASSES
src/dociterator.C                                  src/DocIterator.cpp    ['DocIterator', 'StableDocIterator']
src/ToolbarBackend.h                               src/ToolbarBackend.h    ['ToolbarItem', 'ToolbarInfo', 'ToolbarBackend']
src/lyx_sty.h                                      src/lyx_sty.h NOCLASSES
src/metricsinfo.C                                  src/MetricsInfo.cpp    ['MetricsBase', 'MetricsInfo', 'PainterInfo', 'TextMetricsInfo', 'ViewMetricsInfo', 'Changer', 'FontChanger', 'FontSetChanger', 'StyleChanger', 'ScriptChanger', 'FracChanger', 'ArrayChanger', 'ShapeChanger', 'WidthChanger', 'ColorChanger']
src/language.C                                     src/Language.cpp    ['Language', 'Languages']
src/text.C                                         src/text.cpp    ['Language', 'Languages']
src/lyx_main.h                                     src/LyX.h    LyX
src/lyxlex.C                                       src/LyXLex.cpp    ['LyXLex', 'pushpophelper']
src/encoding.C                                     src/Encoding.cpp    ['Encoding', 'Encodings', 'const_iterator']
src/debug.C                                        src/debug.cpp    lyx_debug_trait
src/Chktex.C                                       src/Chktex.cpp    Chktex
src/toc.h                                          src/toc.h NOCLASSES
src/ispell.h                                       src/ISpell.h    ISpell
src/mover.h                                        src/Mover.h    ['Mover', 'SpecialisedMover', 'Movers']
src/output_latex.C                                 src/output_latex.cpp  NOCLASSES



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18019 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 04:46:45 +00:00
Bo Peng
00e305c9d9 Rename .C ==> .cpp for files in src, part one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18018 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 04:41:58 +00:00
Bo Peng
9a17e559f2 Rename .C ==> .cpp for files in src/frontends, part two
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18017 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 04:03:46 +00:00
Bo Peng
31334d3934 Rename .C ==> .cpp for files in src/frontends, part one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18016 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 04:02:55 +00:00
Bo Peng
8c5f097b5d Rename .C ==> .cpp for files in src/frontends/qt4, part two
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18015 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 03:53:51 +00:00
Bo Peng
6fdb8bf85a Rename .C ==> .cpp for files in src/frontends/qt4, part one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18014 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 03:53:02 +00:00
André Pönitz
d22eb752ee remove half-baked greek-insert stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18013 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 23:15:49 +00:00
André Pönitz
3ca52db8d1 remove some lyx:: etc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18012 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 23:06:48 +00:00
Michael Schmitt
1e7479247a * src/frontend/qt4/ui/NomenclUi.ui: fix tab order (by Ugras Baran)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18008 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 21:37:43 +00:00
Bo Peng
8d850dcb7e Rename .C => .cpp for files in src/frontends/controllers, step 2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18000 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 18:06:07 +00:00
Bo Peng
98ebb77841 Rename .C => .cpp for files in src/frontends/controllers, step 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17999 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 18:04:04 +00:00
Bo Peng
f6ab280632 merge src/frontends/controllers/biblio, character, frnt_lang, helper_funcs and tex_helpers to frontend_helpers, step 3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17998 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 17:53:54 +00:00
Bo Peng
5d80bf1a22 merge src/frontends/controllers/biblio, character, frnt_lang, helper_funcs and tex_helpers to frontend_helpers, step 2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17997 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 17:20:29 +00:00
Bo Peng
65d89a8af3 merge src/frontends/controllers/biblio, character, frnt_lang, helper_funcs and tex_helpers to frontend_helpers, step 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17996 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 17:15:56 +00:00
André Pönitz
c6b932f467 code cosmetics whitespace, unneeded lyx:: qualification, indentation, unneeded destructors and the like
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17994 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 16:39:21 +00:00
José Matox
5924500e24 Update file format, textclass cv -> simplecv
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17993 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 16:14:59 +00:00
Bo Peng
176715bd56 Fix a few rename inconsistencies discovered by JMarc in insets and mathed, step 2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17992 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 16:12:54 +00:00
Bo Peng
6e3a75969b Fix a few rename inconsistencies discovered by JMarc in insets and mathed, step 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17991 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 16:11:45 +00:00
Jean-Marc Lasgouttes
20fa198c28 * os_unix.C (addFontResources): for Qt/Mac use the "fonts" directory, not "Fonts".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17987 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 14:05:03 +00:00
André Pönitz
a77a19e497 more dialog merging
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17981 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 10:57:54 +00:00
André Pönitz
ee2966faba more dialog merging
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17979 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 10:25:37 +00:00
André Pönitz
163a95106e more dialog merging
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17977 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 08:42:22 +00:00
André Pönitz
a3828f81ee the greek-insert stuff, incidently containing unrelated the removal of paragraph_pimpl.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17972 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 07:48:35 +00:00
André Pönitz
2dcd61cc9c merge QPref and QPrefDialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17971 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 07:13:54 +00:00
Bo Peng
f497296c30 Rename files in src/mathed and src/graphics from .C to .cpp, step 2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17969 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 03:03:25 +00:00
Bo Peng
fcfcc3ff6e Rename files in src/mathed and src/graphics from .C to .cpp, step 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17968 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 03:01:35 +00:00
Bo Peng
c8d00ed127 Rename insets/insetxxx to insets/InsetXxx, part 2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17965 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 01:25:51 +00:00
Bo Peng
b6a2a76700 Rename insets/insetxxx to insets/InsetXxx, part 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17964 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 01:24:38 +00:00
Richard Heck
e62e3a695c Fix bug 2474; partial fix for 1777. Added last_reference_ member to QRef class and reworked logic involving display of last added reference. Added logic to make sure selected item is visible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17959 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 22:10:56 +00:00
André Pönitz
24bb9669a5 more Foo/FooDialog merge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17956 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 19:37:34 +00:00
André Pönitz
078bdf9c27 merge the tabular/gui related files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17954 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 17:46:08 +00:00
André Pönitz
2c7f20e2ec merge QSpellChecker and QSpellcheckerDialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17953 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 15:32:14 +00:00
André Pönitz
735934a376 merge QTexinfo and QTexinfoDialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17952 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 15:10:14 +00:00
André Pönitz
1ed0c6be12 merge QWrapDialog and QWrap
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17951 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 14:59:51 +00:00
André Pönitz
998a68b13e merge QThesaurus and QThesaurusDialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17950 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 14:35:15 +00:00
Jürgen Spitzmüller
8dcd22492d * src/frontends/qt4/ui/DelimiterUi.ui:
somewhat better layout; ideally, the whole dialog should be laid out in a grid,
	but then qt insists on drawing the listwidgets much wider than the need to be.
	The drawback of this approach is that the dialog cannot really be resized.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17949 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 14:34:31 +00:00
André Pönitz
700c7cf5bd merge QViewSource and QViewSourceDialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17947 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 14:08:53 +00:00
André Pönitz
90e03494bb merge QERT and QERTDialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17946 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 13:47:33 +00:00
André Pönitz
822fbb710c merge QSearch and QSearchDialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17945 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 13:27:23 +00:00
André Pönitz
888ba9e94b merge QVSpace and QVSpaceDialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17944 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 12:02:27 +00:00
André Pönitz
e9b92c06a3 merge QAbout and QAboutDialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17943 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 11:32:09 +00:00
André Pönitz
97fe710a4f merge QBox and QBoxDialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17942 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 10:56:22 +00:00
André Pönitz
4b7da6b24e move lyxlex_pimpl.* into lyxlex.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17941 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 10:52:22 +00:00
André Pönitz
1567e4ad84 paragraph_funcs.C should not have used paragraph_pimpl.h from the beginning...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17940 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 10:28:45 +00:00
André Pönitz
d9a5f157ae move paragraph_pimpl.* into paragraph.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17939 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 10:01:03 +00:00
André Pönitz
0575b97869 forgot this...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17937 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 09:02:09 +00:00
André Pönitz
a1607b414a renaming in frontends/qt4/ui: s/Q//g
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17936 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 08:56:28 +00:00
Michael Schmitt
bb98a39589 * src/insets/insetcommandparams.C: fix WS
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17928 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-23 19:34:09 +00:00
Georg Baum
477a4da1a2 make the nomencl inset work with older versions of nomencl.sty
* src/LaTeXFeatures.C
	(LaTeXFeatures::getPackages): Do not require newest nomencl.sty,
	output compatibility code instead

	* src/LaTeX.C
	(LaTeX::deleteFilesOnError): delete .gls file
	(LaTeX::run): Check .glo and .gls files, too
	(handleFoundFile): do not ignore .glo files
	(LaTeX::deplog): add regex for old nomencl version

	* src/LaTeX.[Ch]
	(LaTeX::runMakeIndexNomencl) new method, factored out to avoid
	code duplication


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17923 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-23 18:33:36 +00:00
Richard Heck
4a67bd31bd Fix bug 3461. Add reset_dialog() method that resets the QRef::at_ref_ boolean on dialog close.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17920 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-23 15:25:02 +00:00
Richard Heck
05ba87fe7a Fix case of BibTeX keys and remove unused variable. By myself and Bernhard.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17919 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-23 15:18:01 +00:00
Abdelrazak Younes
898d0f05dd fix std::endl declaration.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17917 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-23 13:12:23 +00:00
Jean-Marc Lasgouttes
c33d6344fd remove outdated "status" file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17915 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-23 09:35:28 +00:00
Abdelrazak Younes
bc92746781 * In the process of fixing the math background color bug, this commit transfer backgroundColor() management from InsetOld to InsetBase; because this will be needed for InsetMath based insets.
* Also transfer InsetBase ctors from .h to .C


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17913 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 21:40:10 +00:00
Michael Schmitt
3ac4f80ef4 * src/mathed/BUGS: remove old stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17908 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 10:11:16 +00:00
Michael Schmitt
5756cddc64 * src/frontend/qt4/QLToolbar.C: fix translation of toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17907 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 10:05:17 +00:00
Abdelrazak Younes
058aecf539 fix std declaration.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17901 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 08:41:50 +00:00
Jürgen Spitzmüller
c98876b48e Satisfy André's Sprachgefühl.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17900 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 08:37:48 +00:00
Abdelrazak Younes
24c8ca10d2 Trying to solve bug-2452, I optimized some of the most significant problems outlined in the profile report attached in there.
This commit avoids unnecessary metrics recalculations by caching the last LyXFont used. I had to cleanup the width(), ascent() and descend() redundancies by transferring that to InsetBase.

InsetMathDim should go now as it is not really needed.

* InsetBase: properly handle inset Dimension.

* InsetOld: get rid of redundant width(), ascent() and descent()

* InsetMathDim: ditto

* InsetMathChar::metrics(): avoid metrics recalculation if font is unchanged.

* InsetMathSymbol::metrics(): ditto

* InsetMathKern: use InsetBase::dim_ instead of local ones.

* InsetMathSpace:
  - use InsetBase::dim_ instead of local ones.
  - space to width transformation transferred to anonymous namespace.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17899 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 08:26:06 +00:00
Abdelrazak Younes
48744f0fbd Pass the main window (GuiView) to the delimiter dialog so that it is properly handled by the window manager.
* Dialog.h
  - Dialog::Controller::view(): new method.

* QDelimiterDialog::QDelimiterDialog(): pass the Main Window parent.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17898 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 07:54:36 +00:00
Abdelrazak Younes
1757d1b1cd * operator==(docstring const & l, char const * r): optimized a bit because it showed a lot in profile.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17897 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 22:39:04 +00:00
Abdelrazak Younes
e841d41a92 Optimisation: remove the inset mailer used in the dtor because it was far from negligible in profile results with Macro (which is a heavy user of thi MathGrid class). This matrix dialog showing/hiding was not working anyway.
* InsetMathGrid::~InsetMathGrid(): deleted.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17896 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 22:33:07 +00:00
Abdelrazak Younes
c9dffa27a2 * InsetMathNest::cell(): inlined because of profile.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17895 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 22:28:21 +00:00
Michael Schmitt
db36eae4c0 * frontends/LyXView.h:
* frontends/qt4/GuiView.C:
	* frontends/qt4/GuiView.h:
	* frontends/qt4/QLToolbar.C:
	* frontends/Toolbars.C:
	* frontends/Toolbars.h:
	* ToolbarBackend.C: use better names for ToolbarInfo variables


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17894 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 17:38:43 +00:00
Michael Schmitt
33f2f32beb * src/frontend/qt4/ui/QDelimiter.ui: add space to unused label such
that no extra entry is created in the po files


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17892 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 15:29:55 +00:00
Michael Schmitt
ec393ad65c * src/frontends/controllers/ControlMath.h: remove reference to
math panel dialog
	* lib/Makefile.am: do not install images/dialog-show_mathpanel.xpm
	* lib/bind/aqua.bind: remove math-panel binding
	* development/scons/scons_manifest.py: remove QMathDialog.C and
	dialog-show_mathpanel.xpm


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17889 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 13:30:27 +00:00
Jürgen Spitzmüller
44b504c45f * src/frontends/qt4/ui/QTocUI.ui: add tooltips.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17888 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 13:22:28 +00:00
Jürgen Spitzmüller
bba7ac2a66 Fix bug 2884 and 3437:
* src/insets/insetbase.h:
* src/insets/insetcollapsable.h:
	- make isFixedWidth (former insetcollapsable member) a member of insetbase.
src/insets/insettext.h:
	- make border_ public (needed by insetcollapsable).
src/insets/insettext.C (draw, drawSelection):
	- adjust drawing for fixed width insets
* src/insets/insetcollapsable.C (metrics):
	- adjust dimension for fixed width insets
src/insets/insetbox.C (metrics):
	- properly calculate metrics for fixed width insets.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17879 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 08:43:46 +00:00
Jürgen Spitzmüller
d661baca0a Compilation fixes:
* src/frontends/qt4/iconpallete.h: add missing header
* src/frontends/qt4/Makefile.dialogs: remove removed math panel dialog.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17875 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-20 07:29:02 +00:00
Edwin Leuven
2632fa5d95 * remove old iconpalette (and rename iconpanel to iconpalette)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17873 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 22:01:28 +00:00
Edwin Leuven
22fb43fd8f * removal of math panel
some code is moved from QMath 
  to QDelimiterDialog and QMathMatrixDialog
  for the rest pretty mechanical

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17872 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 21:42:42 +00:00
Edwin Leuven
06cd0adcf6 * include missing header (msvc complains)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17871 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 21:26:38 +00:00
Edwin Leuven
996de70e56 * Action.[Ch]
add signal that provides action when triggered

* ToolbarBackend.[Ch]
	add popupmenu and iconpallete item types

* QLToolbar.[Ch]
	take care of popupmenu and iconpallete

* stdtoolbars.inc
	add panels and menus (and move spellchecker to main ;-)

* functions.xpm
	icon for function list

* iconpalette.[Ch]
	new iconpanel that will replace old iconpalette,
	als subclass of qmenu that updates parent toolbutton


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17868 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 20:29:27 +00:00
Edwin Leuven
f73cedc1d0 * Refactoring of ToolbarBackend.[Ch] into
toolbaritems, toolbar(info) and backend

  stdtoolbars.inc now defines the toolbars inbetween
  a ToolbarSet/End tag just as the menus

* the other files contain straightforward changes
  because of the toolbarbackend refactoring


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17867 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 19:43:15 +00:00
Richard Heck
4ef5d3fb59 Fix some shortcut issues with the converters subdialog. Problem was that some shortcuts defined here are also defined in the main preferences dialog, and some were doubly defined here, too. Also set focus proxy for definitions group box.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17864 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 17:29:59 +00:00
Abdelrazak Younes
2da59470a9 * QCommandBuffer::complete(): Add connection to QListWidget::itemActivated() in order to select in the help list with "Enter".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17863 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 16:43:09 +00:00
Jürgen Spitzmüller
f16d156a63 * src/frontends/qt4/ui/QPrefConvertersUI.ui: lay out in a grid (fixes bug 3476)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17862 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 16:37:39 +00:00
Abdelrazak Younes
789f9e5ee3 Fix bug 2466 by Stefan Schimanski:
If the cursor is currently in macro mode (e.g. the user is typing \fra, but
hasn't finished the command \frac) macros shouldn't be updated.
Another forced screen update is needed if the user leaves macro mode just with
the cursor right key (which doesn't trigger full screen updates itself).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17860 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 13:37:17 +00:00
Abdelrazak Younes
4eb949274d Switch to an Icon View mode in the symbol lists.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17859 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 12:25:58 +00:00
Abdelrazak Younes
00e8a7d13a Fix bug 3460:
http://bugzilla.lyx.org/show_bug.cgi?id=3460

The problem was that the list_items map is ordered by key.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17858 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 08:22:41 +00:00
Michael Schmitt
3c4367e0ac * QDelimiterDialog.C: make "TeX Code:" translatable
* ui/QDelimiterUi.ui: fix (unused) message - single \'s caused gettext problems


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17854 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-18 19:52:32 +00:00
Michael Schmitt
3f380081e0 * src/frontends/qt4/ui/QPrefConvertersUi.ui: add missing ':' in label
* po/de.po: adjust


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17853 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-18 19:36:12 +00:00
Abdelrazak Younes
08380ca491 Fix bug 3454 and 3463: Don't allow ill-formed commands. With this commit an error dialog will be shown to the user if the inset parameters were wrong upon creation. This patch uses exceptions.
* factory.C::createInset(): catch eventual exception.
* InsetCommandParams::read(): throw warning exception in case of errors.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17850 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-18 12:59:07 +00:00
Abdelrazak Younes
ab13c59979 commit again the drawing fix of revision 17826. This was accidentally reverted in revision 17841.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17849 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-18 09:59:02 +00:00
Abdelrazak Younes
7a3600ac0a Style cleanup and tex code display bug correction.
* bigleft, bigright: move empty item from last to first to synchronize it with GUI representation
* fix_name(): add FIXME for Enrico
* updateTeXCode():
  - move C-style string declaration.
  - simplify empty string  logic.





git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17848 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-18 09:44:24 +00:00
Uwe Stöhr
3802882900 fix bug 3456 and 3457
http://bugzilla.lyx.org/show_bug.cgi?id=3456
http://bugzilla.lyx.org/show_bug.cgi?id=3457

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17845 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 20:04:15 +00:00
Richard Heck
4fddff272f Fix for bug 3321. Changed error message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17844 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 17:57:57 +00:00
Abdelrazak Younes
1d55e044d0 Fix Andre's name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17842 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 16:58:59 +00:00
Abdelrazak Younes
49395dd85e Real fix for bug 1395 by Stefan Schimanski, this commit replace the one done at revision 17836 which was reverted!
Locking counter added to MacroData: it is increased before drawing/
metric calculations and decreased afterwards in InsetMathMacro. If a  
macro is already locked at that point, "Self reference: \foo" is  
drawn instead of the macro definition to avoid endless loops.  
Moreover inside of the arguments of the macro the counter is  
temporarily decreased as those cases do not cause loops. (fixes bug  
#1395)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17841 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 16:52:43 +00:00
Abdelrazak Younes
86c1053f51 Revert to revision 17835: I applied the wrong tree!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17840 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 16:49:17 +00:00
Abdelrazak Younes
0a1d3c186a style correction.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17839 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 16:35:13 +00:00
Abdelrazak Younes
9450626942 Fix compilation. Use BOOST_ASSERT instead of assert()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17838 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 15:59:47 +00:00
Bo Peng
7a854d3a91 Fix bug 2993: mark buffer dirty when the status of a collapsable inset is changed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17837 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 14:35:27 +00:00
Abdelrazak Younes
71e8668375 Fix bug 1395 by Stefan Schimanski:
Locking counter added to MacroData: it is increased before drawing/
metric calculations and decreased afterwards in InsetMathMacro. If a  
macro is already locked at that point, "Self reference: \foo" is  
drawn instead of the macro definition to avoid endless loops.  
Moreover inside of the arguments of the macro the counter is  
temporarily decreased as those cases do not cause loops. (fixes bug  
#1395)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17836 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 13:15:00 +00:00
Jürgen Spitzmüller
8874db5f22 Fix loop when opening TOC widget in an empty document, basically by Richard Heck.
* src/frontends/qt4/TocWidget.[Ch]: 
	- rename enableButtons to enableControls and include slider enabling/disabling
	- only set slider if there is some content

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17835 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 10:27:53 +00:00
Richard Heck
840ee198e2 Captions do not accept alignment, spacing, etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17834 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 03:46:55 +00:00
Bo Peng
6f005d2efa Validate DocIterator before setting cursor with it, in moveToPosition
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17831 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-16 20:47:40 +00:00
Bo Peng
a390aa8fe7 Bookmarks: use bottom level pit and pos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17829 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-16 19:01:32 +00:00
Georg Baum
9e8f7c38a4 remove unused parameter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17828 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-16 18:20:49 +00:00
Georg Baum
8971c25508 Prevent invalid latex for multilingual sections and inputenc == auto.
We output the \inputencoding command before the section if possible, and we
ignore all encoding changes in the section. Commands from the unicodesymbols
file will be used for characters that can't be encoded in the current
encoding instead of switching the encoding.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17827 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-16 18:06:01 +00:00
Abdelrazak Younes
e216ceee77 Fixed bug 3449 by Stefan Schimanski:
http://bugzilla.lyx.org/show_bug.cgi?id=3449

One problem was no metric calculation was done for insets on cursor movement. Of course scrolling or entering character caused the missing metric calls, hence the described behavior in the bug report. This is fixed by re-implementing idxLast(), idxFirst() and notifyCursorLeaves().

Another problem was that 'a' and '1' were drawn at the same position because of a mis-calculation of the x-position in InsetMathMacro::draw().



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17826 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-16 14:42:53 +00:00
Richard Heck
8c56bd3ac9 Fix compilation problem on some systems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17822 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-15 19:17:53 +00:00
Bo Peng
9cf5358d7d lastFilePos: save bottom level pit and pos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17814 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-15 04:50:42 +00:00
Uwe Stöhr
526d7a0936 Add Updownarrow and updownarrow to the delimiter dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17811 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-14 16:41:55 +00:00
Uwe Stöhr
b0cc76db74 Fix bugs 3458:
http://bugzilla.lyx.org/show_bug.cgi?id=3458

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17809 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-14 16:19:05 +00:00
Georg Baum
1bec1b4b55 remove unused declaration
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17806 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-14 11:15:50 +00:00
Georg Baum
f97b5dee78 small doxygen fix, remove unused declaration
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17803 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-14 10:26:45 +00:00
Edwin Leuven
a2b645cbca layout tweak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17802 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-14 09:49:52 +00:00
Richard Heck
c31c84926d Add margin to paragraph dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17798 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-13 15:25:53 +00:00
Peter Kümmel
c701b8ff65 fix bug 3319: LyX starts offscreen when changing monitor configuration
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17796 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-13 13:42:59 +00:00
Abdelrazak Younes
ab2b590abe fix comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17795 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-13 11:49:58 +00:00
Abdelrazak Younes
008287fd3d Fix a missing metrics update when clicking within a previewed formula.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17794 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-13 11:35:11 +00:00
Abdelrazak Younes
ea303561ee Reorder panels in Preference Settings dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17793 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-13 10:10:10 +00:00
Abdelrazak Younes
919d0e6e02 I forgot this in revision 17786. Hope bug 3450 is really fixed now...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17792 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-13 09:17:55 +00:00
Abdelrazak Younes
20c5d212ca * QPrefConvertersUi.ui
- change GUI layout in accordance with latest "copiers" and "file format" changes.
  - add converter cache section.

* QPrefsDialog: implement converter cache enabling and maximum age.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17791 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-13 09:16:06 +00:00
Richard Heck
4502bc5f3d Disable signals on programmatic checks to prevent unnecessary trigger of slots.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17790 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-13 02:09:50 +00:00
Richard Heck
580ca795dd Redo layout of dialog to solve sizing issue.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17789 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-13 02:07:55 +00:00
Abdelrazak Younes
4d9c1bc296 Fix bug 3450:
http://bugzilla.lyx.org/show_bug.cgi?id=3450
* ControlMath
  - new MathSymbol struct that summarize the symbol attributes (including font and fontcode)

* QDelimiterDialog: 
  - make use of the new MathSymbol for the ListWidget.
  - store the latex name in the tooltip instead of lookup for it.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17786 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-12 16:49:01 +00:00
Georg Baum
7861398f94 remove stupid commented line
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17784 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-12 12:51:29 +00:00
Uwe Stöhr
8725953d78 make LyX compile again after changeset 17776
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17781 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-11 19:35:35 +00:00
Richard Heck
eb07cac2c3 Changes to paragraph settings dialog so that it offers only
options accepted by the current paragraph.

ui/QParagraphUi.ui
  Changed combo box for alignment to radio buttons. Added
  checkbox for default alignment.
QParagraphDialog.[Ch]
  public:
    void checkAlignmentRadioButtons();
    void alignmentToRadioButtons(LyXAlignment);
    LyXAlignment getAlignmentFromDialog();
  private:
    typedef std::map<LyXAlignment, QRadioButton *> QPRadioMap;
    QPRadioMap radioMap;
  protected Q_SLOTS:
    void change_adaptor();
    void enableLinespacingValue(int);
    void on_alignDefaultCB_toggled(bool);
QParagraph.C
  Rework apply() and update_contents() using new functions just
  mentioned.

Thanks to Abdel for his help.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17776 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-11 14:04:40 +00:00
Richard Heck
687bc61934 Reorganize dialogs along lines suggested by Abdel to give more room to line edit boxes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17775 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-11 13:45:44 +00:00
Richard Heck
6bfc69eb38 Add vertical spacer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17774 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-11 13:44:26 +00:00
Richard Heck
bd4e8ea46c Move alter button to match other dialogs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17773 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-11 13:42:59 +00:00