Commit Graph

9492 Commits

Author SHA1 Message Date
Michael Schmitt
6d396fc136 * src/output_plaintext.C: avoid empty line at the end of
a paragraph if the previous line exceeds runparams.linelen


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17233 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-17 15:43:11 +00:00
Michael Schmitt
1afeb2e34f * src/insets/insetfloatlist.C: fix plaintex()
* src/insets/insetfloatlist.h:
	* src/insets/insetcharstyle.[Ch]: code formatting


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17232 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-17 15:28:50 +00:00
Michael Schmitt
757d2bc963 * src/insets/insettoc.[Ch]:
* src/insets/insetspecialchar.[Ch]: fix plaintext(); WS changes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17231 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-17 11:59:42 +00:00
Michael Schmitt
6d2a778724 * insetgraphics.[Ch]:
* insetquotes.C: fix plaintext(); WS changes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17230 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-17 11:30:58 +00:00
Michael Schmitt
ac5f26744c * src/insets/insetnewline.C:
* src/insets/insetpagebreak.C:
	* src/insets/insetvspace.C: fix/comment on plaintext() return value
	* src/insets/insetvspace.h: WS changes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17229 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-17 11:18:15 +00:00
Georg Baum
6bf6c8453d add pure ASCII encoding for LaTeX export
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17224 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-16 18:29:48 +00:00
Enrico Forestieri
e04b3303a1 Give the "Note" text a better color
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17223 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-16 16:22:55 +00:00
Bo Peng
204f783bb1 Forget to set selection in r17213
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17222 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-16 15:38:34 +00:00
Michael Schmitt
85e92379ef * src/insets/insetbase.[Ch]: make plaintext() abstract to force subclasses to
implement it by themselves
	* src/insets/insetenv.[Ch]: fix plaintext()


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17220 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-16 10:05:30 +00:00
Michael Schmitt
bcb5133e54 * src/insets/insetcaption.*: fix plaintext(); add private computeFullLabel() to
refactor code used at two places


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17219 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-16 09:53:51 +00:00
Michael Schmitt
26054c940e * src/insets/insetbranch.[Ch]:
* src/insets/inseturl.[Ch]:
	* src/insets/insetfoot.[Ch]: fix plaintext() & WS changes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17218 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-16 09:28:25 +00:00
Michael Schmitt
6c9e07b2da * src/insets/insetcollapsable.[Ch]: constify floatName()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17217 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-16 09:11:19 +00:00
Michael Schmitt
0703d88b00 * src/mathed/InsetMath.h: "implement" plaintext() which will become
a virtual method soon in InsetBase


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17216 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-16 09:08:38 +00:00
Michael Schmitt
c2407338d0 * src/insets/insetfloat.[Ch]:
* src/insets/insetwrap.[Ch]:
	* src/insets/insetmarginal.[Ch]: fix plaintext(); code formatting


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17215 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-16 08:15:16 +00:00
Georg Baum
b619dbfedf forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17214 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-16 07:50:15 +00:00
Bo Peng
9448169466 Fix of bug 3238. Disable persistent selection for selections in tablemode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17213 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-16 03:49:19 +00:00
Michael Schmitt
922dbdb1db * src/insets/insetspace.[Ch]:
* src/insets/insetoptarg.[Ch]:
	* src/insets/insetlabel.C: fix plaintext()


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17210 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-15 23:44:33 +00:00
Michael Schmitt
bfef2cba5e * insetref.C:
* insetcommand.[Ch]:
	* insetpagebreak.[Ch]: fix plaintext(); some header cleanup


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17209 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-15 23:28:31 +00:00
Michael Schmitt
517fdc10c3 * src/insets/insetnewline.C: plaintext(): fix line length
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17208 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-15 23:24:15 +00:00
Michael Schmitt
2ca15c641a * src/insets/insetbox.[Ch]:
* src/insets/insetnote.[Ch]: fix plaintext()


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17207 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-15 22:59:06 +00:00
Michael Schmitt
5caa8e2c6d * insetert.[Ch]:
* insetnewline.[Ch]:
	* insetline.[Ch]: fix plaintext()


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17206 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-15 22:27:45 +00:00
Michael Schmitt
e5dab3fc94 * src/insettext.C: fix line lengths and par breaks in plaintext()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17205 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-15 22:04:33 +00:00
Georg Baum
e1efef8a60 Fix bug 3240
* src/insets/ExternalSupport.C
	(updateExternal): Add new dryrun flag and only record updated files
	for the exporter if that flag is false
	(writeExternal): Call updateExternal also if dryrun is true and the
	product contains the $$Contents placeholder. In this case we need to
	run the conversion(s) even in dryrun mode, because we would not
	output the right stuff to the .tex file otherwise.

	* src/insets/ExternalSupport.[Ch]
	(writeExternal): rename external_in_comment flag to dryrun


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17204 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-15 21:22:40 +00:00
Georg Baum
4b449892e1 Fix import of \={\i}
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17203 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-15 20:49:29 +00:00
Georg Baum
3ccb9d8af9 * src/exporter.C
(Exporter::Export): Remove hardcoded check for lyx backend.
	Use the shortest converter path instead, that is more flexible and
	always correct.

	* lib/configure.py: Add new formats and converters for importing and
	exporting files from CJK LyX.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17202 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-15 20:14:12 +00:00
Michael Schmitt
1baa28f2bc * src/output_plaintext.C: check line length before outputting
a word in front of an inset; make sensible use of plaintext()
	return value (IMHO totally broken before)
	* insets/insetfoot.[Ch]: add plaintext()
	* insets/insethfill.[Ch]: adjust plaintext(); make the 
	number of characters determinitic; minor header cleanup
	* insets/insetbase.h: add comment on return value
	of plaintext() - before its meaning was unclear 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17200 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-15 16:07:36 +00:00
Abdelrazak Younes
018cb4905e It seems that commit 17167 was not enough to ensure that the proper hide/show/update methods are called.
* QDialogView.h:
  - QDialogView::forms() now requires a QWidget instead of a QDialog. This will allow us to use DockWidget in the future.
  - QView class code simplification: implement inline instead of repeating in the same file.
  - QView::forms() now returns the real object.
  - QController class code simplification: implement inline instead of repeating in the same file.

* QDocumentDialog::update(): renamed to updateParams() to avoid clash with QWidget::update()

* QPrefsDialog::update(): renamed to updateRc() to avoid clash with QWidget::update()

* QTexinfoDialog::update(): now public so that it can be used in QDialogView.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17195 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-15 10:16:35 +00:00
Georg Baum
a47f5f168e Revert revision 15019 and use translateIfPossible instead.
This brings back some untranslated strings.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17189 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-14 19:11:09 +00:00
Georg Baum
a69aaf5685 file format change due to new change tracking behaviour
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17187 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-14 16:10:50 +00:00
Abdelrazak Younes
0a36347897 Fix bug 3231 (hopefully).
http://bugzilla.lyx.org/show_bug.cgi?id=3231

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17184 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-14 14:51:47 +00:00
Abdelrazak Younes
2ab3247df4 Fix bug 3236 and 3237.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17182 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-14 13:39:11 +00:00
Abdelrazak Younes
aaf4cf6f9f Fix bug 3225.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17181 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-14 11:21:39 +00:00
Enrico Forestieri
1b21743511 Fix bug 3220
* src/insets/ExternalSupport.C
	(updateExternal): Avoid computing crc of a directory as this leads
	to a crash on Cygwin.

	* lib/configure.py:
	Use a python script to get the current date in order to avoid
	a stalling condition with the date command on Win32.

	* lib/scripts/date.py:
	New python script.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17168 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-13 19:09:54 +00:00
Abdelrazak Younes
a4f3aa748e While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17167 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-13 18:27:46 +00:00
Abdelrazak Younes
9313c6c39a Fix bug 3225 and maybe others as well.
http://bugzilla.lyx.org/show_bug.cgi?id=3225

* QIndexDialog:
  - QIndexDialog(): setFocusProxy() to the QLineEdit
  - show(): deleted.

* QDialogView::show(): also setFocus() when raising or showing a window.
  
 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17166 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-13 18:20:07 +00:00
Georg Baum
9fd8a86961 Allow utf8x \inputencoding
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17164 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-13 17:36:55 +00:00
Jürgen Spitzmüller
65b1b08a5c * src/LaTeX.C (deplog): fix the regex to parse filenames in the log file
(fixes bug 3224)
*src/support/filename.C: limit asserts to windows platform
	(fixes bug 3132)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17163 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-13 17:31:43 +00:00
Abdelrazak Younes
46839bd500 Tentatively fix bug 3225, the inset width and the outer text width should stay in sync.
http://bugzilla.lyx.org/show_bug.cgi?id=3225

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17159 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-13 10:37:22 +00:00
Georg Baum
6b98d4747e fix misleading comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17157 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-12 20:51:00 +00:00
Uwe Stöhr
9652acee93 small fix to changeset 17143
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17156 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-12 20:03:41 +00:00
Peter Kümmel
e5035aaa8a enable size grip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17155 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-12 19:34:14 +00:00
Georg Baum
19240e9827 zero-byte files don't make sense...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17151 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-12 08:02:17 +00:00
Georg Baum
b42547ac13 missing bit of InsetLatexAccent patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17150 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-12 08:01:21 +00:00
Uwe Stöhr
9492044ef7 rename label for prettyref inset to fix bug 1134
http://bugzilla.lyx.org/show_bug.cgi?id=1134

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17149 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-12 02:15:04 +00:00
José Matox
76c3d964df Convert lyxaccents to unicode (most of the work comes from Georg)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17144 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-11 23:52:07 +00:00
Uwe Stöhr
c9008ed3d8 adjust caption metrics to fix bug 3217
http://bugzilla.lyx.org/show_bug.cgi?id=3217

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17143 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-11 23:35:12 +00:00
Jürgen Spitzmüller
c4551768a3 * src/frontends/qt4/ui/QNomenclUi.ui:
- fix bug 3147: Incorrect input field order in glossary dialog

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17136 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-11 13:29:53 +00:00
Abdelrazak Younes
996dc43578 Minimal support for systems with input method (CJK).
* GuiWorkArea::inputMethodEvent(): process a keyPressEvent() for each character of the commitString().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17134 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-10 16:30:11 +00:00
Georg Baum
365cc69f82 whitespace only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17128 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-10 11:08:05 +00:00
Georg Baum
a405fc2708 * src/insets/insetexternal.C
(InsetExternal::latex): Handle the dryrun flag correctly: Only
	create the LaTeX output, do not do any file conversions.
	(InsetExternal::plaintext): ditto
	(InsetExternal::docbook): ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17127 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-10 11:03:26 +00:00
Michael Schmitt
7485d9f552 * src/paragraph.C: simplify another occurrence of LaTeXFeatures::isAvailable();
fix LaTeX output wrt change tracking - a file with changes and CT output disabled
	should result in the same TeX file as a file with all changes accepted


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17126 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-09 23:52:22 +00:00
Michael Schmitt
5e5420be30 * src/BufferView.C: call LaTeXFeatures::isAvailable() without an object
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17124 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-09 11:09:04 +00:00
Michael Schmitt
63023c18e5 * src/text3.C: fix float inset insertion in case the
user has selected some text


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17123 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-09 10:57:23 +00:00
Michael Schmitt
bc13b0e095 * src/CutAndPaste.C: copySelectionHelper(): fix bug #2306 (deleted text should
not be copied); rename paragraphs to copy_pars for better readability; add
	comment on the required order of delete operations


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17122 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-09 10:27:41 +00:00
Georg Baum
30c57da67b Never strip the extension for non-nice latex export, since pdflatex might
otherwise use wrong images (png instead of png).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17118 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-08 21:14:40 +00:00
Georg Baum
3515584551 * src/insets/insetgraphics.C
(InsetGraphics::prepareFile): Use correct extension if it cannot be
	stripped. I overlooked this when I did the
	stripExtension -> stripExtensionIfPossible change in revision 10093.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17117 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-08 21:12:33 +00:00
Michael Schmitt
ea53fcb86a * src/paragraph.[Ch]: remove Paragraph::clearContents(); this
method is unused and would make LyX crash (no CT support etc)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17113 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-08 17:47:51 +00:00
Enrico Forestieri
a894faa25e Fix bug 3150
* src/frontends/qt4/GuiWorkArea.C
	(GuiWorkArea::GuiWorkArea): initialize pixmap.
	(GuiWorkArea::doGreyOut): remove unneeded setVerticalScrollBarPolicy.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17112 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-08 16:41:06 +00:00
Michael Schmitt
744c35a6b4 * src/bufferparams.[Ch]: remove more unneeded LaTeXFeatures objects
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17111 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-08 15:18:36 +00:00
Michael Schmitt
54e3044232 * src/lyxtext.h: deleteEmptyParagraphMechanism(LCursor &, LCursor &, bool &),
fixCursorAfterDelete(CursorSlice &, CursorSlice const &): declare both methods
	as static. Note: I kept the methods in this file deliberately, because it makes
	it easier to keep both depm methods in sync


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17110 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-08 15:01:58 +00:00
Michael Schmitt
21ce544b9c * src/frontends/controllers/ControlDocument.C: remove workaround now that
LaTeXFeatures::isAvailabe has become static


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17109 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-08 14:44:13 +00:00
Michael Schmitt
02c1c7df6d * src/LaTeXFeatures.C: remove const-ness from static method
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17108 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-08 13:35:04 +00:00
Jean-Marc Lasgouttes
2a62933ce5 fix description of replaceSelection and cutSelection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17107 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-08 10:40:46 +00:00
Michael Schmitt
1bcf8c6747 * src/LaTeXFeatures.h: isAvailable() becomes a static method
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17106 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-08 10:40:33 +00:00
Abdelrazak Younes
0fcd28f006 Revert unrelated change from rev. 17104.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17105 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-08 08:53:29 +00:00
Abdelrazak Younes
a780e25d38 Preliminary safeguard code to fix bug 3189.
* DocIterator::prevInset(): return 0 if the mathed cell() is empty.

* LCursor::info(): use prevInset() only if different from zero.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17104 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-08 08:44:45 +00:00
Abdelrazak Younes
bf3f30c478 Fix bug 3023 (Clicking into a math inset resets the position of the TOC dialog):
http://bugzilla.lyx.org/show_bug.cgi?id=3023

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17102 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-07 22:24:17 +00:00
Abdelrazak Younes
643c360f0d Comment out unimplemented method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17099 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-07 21:49:00 +00:00
Peter Kümmel
be4be30532 disable scrollbar context menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17093 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-07 18:50:58 +00:00
Abdelrazak Younes
e8aae76ec5 Fix bug 3187 (second round) by Martin V.:
http://bugzilla.lyx.org/show_bug.cgi?id=3187

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17089 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-07 17:08:24 +00:00
Abdelrazak Younes
d5669d9087 Fix bug 3176 ( Focus not set to edit box for inset->label):
http://bugzilla.lyx.org/show_bug.cgi?id=3176

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17088 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-07 17:00:37 +00:00
Jean-Marc Lasgouttes
ff1ebed78f From John McCabe-Dansted:
* src/bufferlist.C (updateIncludedTeXfiles): use addName instead of
	hardcoding '/'.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17083 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-07 10:51:48 +00:00
Abdelrazak Younes
e2c8e359c0 Properly adjust space after collapsable inset (the (int) cast there was applied to 1.5 only).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17082 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-07 10:39:38 +00:00
Uwe Stöhr
666572dc19 only whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17080 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-07 01:14:36 +00:00
Uwe Stöhr
24e75cb711 add missing changed signals
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17079 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-07 01:13:17 +00:00
Abdelrazak Younes
3b8a3f91bc Fix bug 3187 from Martin Vermeer:
http://bugzilla.lyx.org/show_bug.cgi?id=3187


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17069 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-06 14:23:06 +00:00
Abdelrazak Younes
ea06ca9265 * QLyXKeySym::getUCSEncoded(): properly handle the QString (UTF16) to ucs4 conversion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17068 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-06 14:13:02 +00:00
Edwin Leuven
a6c58db0f6 * Add comment that clarifies toggled() vs clicked()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17061 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-05 19:41:58 +00:00
Abdelrazak Younes
96512e74cb Preliminary longtable caption support. If there is a caption in the first cell of the table it will be labeled as a table.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17060 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-05 18:04:03 +00:00
Abdelrazak Younes
52b5a2c5e1 Fix bug 3192 and 3193
http://bugzilla.lyx.org/show_bug.cgi?id=3192
http://bugzilla.lyx.org/show_bug.cgi?id=3193


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17059 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-05 17:39:42 +00:00
Abdelrazak Younes
c81094bef0 * Fix bug 3202 (http://bugzilla.lyx.org/show_bug.cgi?id=3202)
* Augment a bit the space between nested insets.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17058 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-05 17:07:44 +00:00
Abdelrazak Younes
40d7cf1478 This inset does not have to be wide. This property does not fit well inside captions and longtables.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17055 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-05 16:38:51 +00:00
Abdelrazak Younes
e1caf60408 Prepare for longtable caption support.
* setCaptionLabels(): Pass type and label instead of Floating object.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17054 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-05 14:09:53 +00:00
Jürgen Spitzmüller
1c945497fb * src/frontends/qt4/QGraphicsDialog.C:
- fix r17050: use signals that are known to Qt 4.0 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17053 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-05 10:11:16 +00:00
Jürgen Spitzmüller
f90b39698e * src/frontends/qt4/QGraphicsDialog.C:
- use signals that are known to Qt 4.0

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17050 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-05 10:04:56 +00:00
Jean-Marc Lasgouttes
57498fc643 * GuiView.C (setGeometry): whitespace and warning.
(updateTab,currentTabChanged): simplify code further.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17044 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-04 21:19:20 +00:00
Georg Baum
bbc3a0f0c4 * src/MenuBackend.C
(expandFormats): Document hack

	* lib/configure.py
	(checkFormatEntries): s/Plain text (paragraphs)/Plain Text, Join Lines/
	since this is the term we use elsewhere and it shows up in the file
	filter.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17039 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-04 15:16:44 +00:00
Abdelrazak Younes
b36dd63921 For each operation, stop the blinking cursor before acting and restart it _after_ redrawing. This latter fixes the spurious cursor jumps in mathed. This was due to the fact that MathArray are filled-in at draw time (as opposed to text positions in the CoordCache which are filled in at metrics calculation time.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17033 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-03 06:53:22 +00:00
Georg Baum
1c5815ed31 Bug fix of the day: 3200 (Not possible to insert short title to captions)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17029 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-02 21:08:44 +00:00
Abdelrazak Younes
8842f9a009 A better fix for bug 3194 (see rev. 17027).
* BufferView::mouseSetCursor(): do not call setTargetX() here because this needs the mathed coordcache which is not ensured to be up to date. Because of this, cursor movement might need some adjustment.

* InsetMathNest::lfunMousePress(): revert commit 17027.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17028 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-02 20:23:56 +00:00
Abdelrazak Younes
0405bfcf04 Fix bug 3194:
http://bugzilla.lyx.org/show_bug.cgi?id=3194

This also seems to fix the annoying mouse cursor movement bug 3023:

http://bugzilla.lyx.org/show_bug.cgi?id=3023


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17027 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-02 15:14:43 +00:00
Jean-Marc Lasgouttes
8615d0a6fa * insetbase.h: add new enum PAGEBREAK_CODE
* insetpagebreak.h: use it

	* insetcaption.C (insetAllowed): new method. Reduce the list of 
	forbidden insets
	(dispatch): remove code handled above; re-allow some LFUNs.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17026 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-02 13:55:14 +00:00
Abdelrazak Younes
475232ed47 Revert commit 17010.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17025 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-02 10:31:22 +00:00
Bo Peng
8b56166641 Persistent-selection (and fix bug 3162)
* src/CutAndPaste.h/C: add selectionBuffer to save selected text
	* src/text3.C: proper handling of paste
	* src/lyxfind.C: save selection
	* src/BufferView.C: save selection
	* src/text.C: save selection
	* src/cursor.C: save selection
	* src/insets/insettabular.C: save selection
	* src/mathed/InsetMathGrid.C: save selection
	* src/mathed/InsetMathHull.C: save selection
	* src/mathed/InsetMathNest.C: save selection


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17022 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-02 03:10:15 +00:00
Michael Schmitt
bbc332f234 * frontends/qt4/QChanges.C:
* frontends/controllers/ControlChanges.C:
	* frontends/controllers/ControlChanges.h: fix merge-changes dialog;
	remove old cruft; strip interface down to what is really needed


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17019 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-01 20:48:43 +00:00
Michael Schmitt
2cf58651ed * src/mathed/InsetMathNest.C: simplify call to innerText()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17018 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-01 20:05:59 +00:00
Michael Schmitt
5d41611407 * BufferView.C:
* BufferView.h:
	* lyxfunc.C:
	* factory.C:
	* mathed/InsetMathNest.C:
	* mathed/InsetMathHull.C:
	* lyx_cb.C:
	* frontends/WorkArea.C: remove BufferView::getLyXText() methods, because their
	names were absolutely misleading; resolve indirection where needed


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17016 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-01 19:27:37 +00:00
Peter Kümmel
c9ff277e1f simpilfy tabbar code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17014 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-01 18:48:58 +00:00
Abdelrazak Younes
35bb5af289 linux compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17013 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-01 17:36:56 +00:00
Georg Baum
53bc1cca58 remove stupid error message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17012 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-01 17:30:35 +00:00
Michael Schmitt
1761baaf24 * src/lyxfind.C: fix change tracking crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17011 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-01 17:26:29 +00:00
Abdelrazak Younes
cdd8c9e076 As explained in the comments, this is a partial fix for bug 2154:
http://bugzilla.lyx.org/show_bug.cgi?id=2154

This will automatically put the label inset _after_ a numbered section. It is possible to extend the mechanism to any kind of LateX environment.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17010 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-01 17:21:05 +00:00
Michael Schmitt
3988637488 * src/text3.C: fix comment (now it makes sense)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17009 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-01 16:23:24 +00:00
Abdelrazak Younes
969ab85d98 A better fix for bug 675:
http://bugzilla.lyx.org/show_bug.cgi?id=675

The former one also disabled cross-reference insertion.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17008 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-01 14:43:13 +00:00
Abdelrazak Younes
685e90bc49 Really fix bug 675:
http://bugzilla.lyx.org/show_bug.cgi?id=675



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17006 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-01 14:18:50 +00:00
Abdelrazak Younes
0a1a789c52 Partially fix bug 675, the graphics dialog still opens will disabled button...
http://bugzilla.lyx.org/show_bug.cgi?id=675



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17005 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-01 13:39:20 +00:00
Michael Schmitt
5ffb6cfbe2 * src/BufferView.C: make accept/reject-all-changes atomic operations (also fixes a crash)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17003 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-01 13:19:05 +00:00
Georg Baum
b5787f6112 Bug fix of the day: 2963 (print to file overwrites files without warning)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17002 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-01 12:55:57 +00:00
Abdelrazak Younes
0e0a17ff0a Fix lists of figures and tables. Prepare the code for user defined captions.
* buffer_funcs.C::setCaptionLabels(): set the type as well as the custom label.

* InsetCaption:
  - setType(): new method to set the type of the caption
  - setCustomLabel(): renamed from setLabel, translate if possible.
  - addToToc(): implement.
  - metrics(): use custom_label_ if defined.

* InsetFloat::addToToc(): don't do anything.

* InsetWrap::addToToc(): don't do anything.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17001 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-01 12:45:14 +00:00
Abdelrazak Younes
42ff801ec9 Add empty paragraphs before and after the caption inset upon float (or wrap) inset creation.
Hopefully fix bug 675:

http://bugzilla.lyx.org/show_bug.cgi?id=675

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16999 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-01 09:22:03 +00:00
Georg Baum
7a9da2b93a From John C. McCabe-Dansted:
Don't display n copies of the errors if you run chktex n times.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16998 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-01 08:55:31 +00:00
Enrico Forestieri
bdbe6d3d7d Fix bug 3181.
* src/frontends/qt4/QLPainter.C
	(QLPainter::text): Render the symbol whose codepoint is 0x00ad
	through a one-column QTextLine in order to fool Qt, which displays
	what it thinks is a soft-hyphen only when occurring at a line-break.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16997 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-01 03:56:23 +00:00
Uwe Stöhr
76bac51526 fix bug 895
http://bugzilla.lyx.org/show_bug.cgi?id=895

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16992 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 20:41:28 +00:00
Georg Baum
a980f1bd61 Missing bits of Uwe's file format change from yesterday.
Uwe, please add an exact decsription of the lyxline changes to
development/FORMAT: How did the old version work, and what are the changes
of the new one.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16991 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 20:39:46 +00:00
Abdelrazak Younes
24e8395eb8 Avoid recursive loop and let it crash "normally" (bug 3189).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16982 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 17:59:48 +00:00
Georg Baum
5af543c25e Fix bug 3107
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16981 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 16:07:37 +00:00
Jean-Marc Lasgouttes
6673b00059 * buffer.C (readFile): reword error message when lyx2lyx fails.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16974 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 15:27:05 +00:00
Abdelrazak Younes
e215d6c8f6 Fix bug 3124: always update the Labels after an undo or redo operation.
http://bugzilla.lyx.org/show_bug.cgi?id=3124

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16971 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 14:36:15 +00:00
Abdelrazak Younes
0da3d53269 Fix bug 3148: always update the Labels if a DEPM is triggered.
http://bugzilla.lyx.org/show_bug.cgi?id=3148

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16969 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 14:07:37 +00:00
Abdelrazak Younes
198a1c3976 Add "Senseless!!! " label to non supported caption.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16968 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 13:35:12 +00:00
Abdelrazak Younes
ce7c45bb43 Fix 3188, update the labels at each Caption insertion.
http://bugzilla.lyx.org/show_bug.cgi?id=3188




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16965 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 10:54:36 +00:00
Abdelrazak Younes
99b41514b6 Fix bug 3170:
http://bugzilla.lyx.org/show_bug.cgi?id=3170

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16964 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 09:55:12 +00:00
Bo Peng
f189214a89 Session: restore toolbars in the right order and location
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16963 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 02:39:46 +00:00
Uwe Stöhr
9f871ade65 new \lyxline difinition, fixes also bug 1988:
http://bugzilla.lyx.org/show_bug.cgi?id=1988

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16962 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 01:15:14 +00:00
Peter Kümmel
056550b311 prepare lyxerr for using
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16952 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-30 20:11:05 +00:00
Bo Peng
aaa544313d Slightly better toolbar session restoration, from Jurgen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16950 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-30 15:30:33 +00:00
Abdelrazak Younes
c0fad86431 Fix bug 3177:
http://bugzilla.lyx.org/show_bug.cgi?id=3177


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16949 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-30 13:54:28 +00:00
Abdelrazak Younes
500a5f959f The caption inset patch by Georg, Martin and myself.
* buffer.C: increase LyX format to 257.

* lyxtextclass.C: increase FORMAT format to 3.

* buffer_funcs.C: 
  - setCaptionLabels(): new recursive function
  - setCaptions(): new function
  - updateLabels(): call setCaptions() for each paragraph.

* InsetCaption:
  - add a virtual destructor
  - overload InsetText' getStatus() and wide().
  - setLabel(): only set the new private member label_.
  - metrics(): don't set label here and correct for title metrics.
  - draw(): don't set label here
  - latex(): fix optional argument.
  - plaintext(): implement!

* InsetText:
  - add a virtual destructor
  - add virtual to getStatus() and wide().

*  output_latex.[Ch]: move latexOptArgInsets() out of anon namespace.

* text3.C: enable LFUN_CAPTION_INSERT


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16948 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-30 13:23:21 +00:00
Jean-Marc Lasgouttes
bff9688e4a fix typo reported by John McCabe-Dansted
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16944 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-30 10:42:19 +00:00
Peter Kümmel
2af3ebc903 revert tab patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16942 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-29 22:07:40 +00:00
José Matox
efa3955204 Fix bug 2841
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16938 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-29 20:28:44 +00:00
Peter Kümmel
fda173a818 Berhard's tab patch: crash after saving new buffer and change to another new buffer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16937 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-29 20:06:08 +00:00
Peter Kümmel
40bced2e30 Berhard's tab patch: immediatly show saved filename
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16936 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-29 20:04:10 +00:00
Georg Baum
04debb8056 Revert unwanted stuff from last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16932 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-29 18:37:13 +00:00
Georg Baum
a76050219a Fix LyX paste from system clipboard when the file format does not match
* src/buffer.C
	(Buffer::readString): Tell readFile that we do not have a file
	(Buffer::readString): readFile(name) returns a bool, not an enum


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16931 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-29 18:35:56 +00:00
Georg Baum
cc04805782 fix another crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16930 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-29 18:08:13 +00:00
Jürgen Spitzmüller
662d9e7d85 * src/frontends/qt4/QLToolbar.C: whitespace only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16929 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-29 17:03:21 +00:00
Jürgen Spitzmüller
e36f9947cb * src/frontends/qt4/GuiView.[Ch]:
- fix false toolbar positioning for qt < 4.2.2
	- only add ToolBarBreak if the toolbar exceeds the line
	  (not perfect yet)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16927 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-29 14:23:05 +00:00
Abdelrazak Younes
b3ced091d2 fix typo in commit 16925
.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16926 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-29 10:05:41 +00:00
Abdelrazak Younes
aa2300a621 Fix bug 3142 (LyX crashes when using mouse wheel)
http://bugzilla.lyx.org/show_bug.cgi?id=3142

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16925 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-29 10:04:02 +00:00
Georg Baum
e4bc56a27e Do not attempt to output characters of empty paragraphs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16924 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-29 09:40:04 +00:00
Jürgen Spitzmüller
f0fa6f4448 * src/encoding.C: add forgotten header
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16923 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-29 08:49:01 +00:00
Georg Baum
9f720aa3bd add forgotten header
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16922 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-29 08:18:21 +00:00
Abdelrazak Younes
4455968d79 Fix this bug:
After saving a new file or "save as.." the filename is not updated in the tab. This patch fixes this.

Credits goes to Bernhard Roider.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16921 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 22:27:26 +00:00
Georg Baum
feb7895965 Add machinery to output arbitrary unicode characters with LaTeX commands
read from a text file.

	* src/encoding.[Ch]

	(Encoding::latexChar): New, output a character to LaTeX
	(Encoding::validate): New, add needed preamble stuff for a character
	(Encodings::read): Read new unicodesymbols file
	(Encodings::isCombiningChar): New, is a character a combining char?

	* src/paragraph_pimpl.C
	(isEncoding): Delete, no longer needed
	(getEncoding): New, get the real encoding of a font
	(Paragraph::Pimpl::latexSurrogatePair): New, output a surrogate pair
	to LaTeX
	(Paragraph::Pimpl::simpleTeXBlanks): Use latexSurrogatePair if needed
	(Paragraph::Pimpl::simpleTeXSpecialChars): Ditto, and replace several
	hardcoded characters with a call of encoding.latexChar()
	(Paragraph::Pimpl::validate): replace several hardcoded characters
	with a call of encoding.validate()

	* src/support/debugstream.h
	(basic_debugstream::disable): New, disable the stream completely
	(basic_debugstream::enable): New, reenable the stream

	* src/lyx_main.[Ch]: Adjust to changes above

	* src/paragraph.C: Ditto

	* lib/unicodesymbols: New file with UCS4 -> LaTeX command mapping.
	It is far from complete yet, but contains most accents on latin
	characters.

	* lib/Makefile.am: add lib/unicodesymbols

	* development/scons/scons_manifest.py: ditto

	* development/tools/unicodesymbols.py: Helper script to update
	lib/unicodesymbols with new symbols


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16920 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 21:27:45 +00:00
Bo Peng
eb495d2e98 Fix Bug3171: update bookmark after saveCursor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16919 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 21:12:33 +00:00
Abdelrazak Younes
1e74e516dc Fix focus bug 3153.
http://bugzilla.lyx.org/show_bug.cgi?id=3153

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16912 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 20:10:47 +00:00
Georg Baum
e6b2b34097 Add two FIXMEs for Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16911 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 19:36:30 +00:00
Georg Baum
8b90b75501 * src/text.C
(LyXText::currentState): Unicode debugging aid: Display UCS4 code
	point in devel builds


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16910 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 19:17:59 +00:00
Bo Peng
94408c72a7 Fix confirm overwrite asked twice, from Bernhard
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16907 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 15:19:20 +00:00
Georg Baum
fdba3fadfe Small optimization for the unicodesymbols patch
* src/encoding.C
	(LaTeXNamesEqual): Delete comparison class: It is no longer needed
	(Encodings::getFromLaTeXName): Don't use std::find_if since it makes
	copies of the map contents


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16903 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 10:07:17 +00:00
Bo Peng
66b7c7eebf BUG3127 Toolbar display: restore all toolbars to different lines. Not good but better than the current situation. qt > 4.2.2 is required.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16895 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-27 20:54:17 +00:00
Georg Baum
b15a9ade28 Fix bug 2182: LyX should default unknown classes to article class
* src/bufferparams.C
	(BufferParams::readToken): If the text class is unknown, use the
	same code as in the constructor to set a default


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16888 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-27 17:22:58 +00:00
Georg Baum
4ad3995b2a Fix bug 3145: not possible to copy stuff from dialogs to document text.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16887 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-27 16:55:25 +00:00
Michael Schmitt
0522d02d08 * frontends/qt4/GuiView.C: fix localization
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16882 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-27 14:42:45 +00:00
Abdelrazak Younes
c4d317d217 Prepare for advanced mouse click selections.
* WorkArea::dispatch(): add modifiers argument.

* GuiWorkArea::mousePressEvent(): transmit the modifier to WorkArea::dispatch().
 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16878 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-27 10:41:03 +00:00
Abdelrazak Younes
ecb37d95df Limit the work-around in rev. 16874 to Windows.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16877 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-27 10:24:15 +00:00
Abdelrazak Younes
a8d01415d1 Fix bug 3138 (http://bugzilla.lyx.org/show_bug.cgi?id=3138).
* BufferView::setCursorFromScrollbar(): Reset the cursor in any case because bv_funcs::status() does not work when the cursor is within mathed.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16876 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-27 09:04:36 +00:00
Abdelrazak Younes
d4f8fe1249 Allows editing when the Prefs dialog is opened; fix bug 3140:
http://bugzilla.lyx.org/show_bug.cgi?id=3140

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16875 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-26 22:38:14 +00:00
Abdelrazak Younes
ca144be319 Work around bug 2859 by Bernhard R.:
http://bugzilla.lyx.org/show_bug.cgi?id=2859



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16874 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-26 22:04:51 +00:00
Abdelrazak Younes
dcbc8a1566 MSVC warning (signed/unsigned).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16869 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-26 12:32:03 +00:00
Bo Peng
ef17f583f3 Fix compiling errors caused by LyXText::ChangeOp::ACCEPT
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16865 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-26 04:08:27 +00:00
Michael Schmitt
89b422b320 * src/text2.C: deleteEmptyParagraphMechanism(): fix a crash in
LyXText::acceptOrRejectChanges() caused by too aggressive deletion
	


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16860 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-25 22:51:00 +00:00
Michael Schmitt
77427d620a * src/lyxtext.h:
* src/text.C: rename acceptOrRejectChange() to acceptOrRejectChanges() because it can handle many changes within the given selection; add acceptChanges() and rejectChanges()

* src/text3.C:
* src/BufferView.C: adjust

* src/insets/insettext.C: accept/rejectChanges() become wrapper methods that call LyXText::acccept/rejectChanges

* src/text2.C: add assertion

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16859 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-25 22:28:15 +00:00
Michael Schmitt
f4cc84d5a6 * src/lyxtext.h: add enum ChangeOp (ACCEPT/REJECT); add deleteEmptyParagraphMechanism()
* src/text.C:
* src/text3.C:
* src/BufferView.C: adjust

* src/insets/insettext.C: acceptChanges() / rejectChanges(): fix pars_size bug introduced in previous commit; call deleteEmptyParagraphMechanism()

* src/text2.C: track changes in DEPM (I am not sure about whether this is actually useful; time will tell..); add deleteEmptyParagraphMechanism(pit_type, pit_type, bool)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16858 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-25 21:18:36 +00:00
Georg Baum
27a777ccc6 Real fix from Bernhard Roider
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16857 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-25 21:12:12 +00:00
Georg Baum
c68f3da771 add comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16856 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-25 21:02:08 +00:00
Abdelrazak Younes
3c1d5a48af Fix bug 3135 by Bernhard Roider:
<http://bugzilla.lyx.org/show_bug.cgi?id=3135> 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16855 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-25 20:16:30 +00:00
Abdelrazak Younes
d682f36a67 Fix this bug:
1) View->Postscript
2) Export->LaTeX (plain)
 
1) will generate an error. 2) succeeeds (as it should), but the old error list is displayed again.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16850 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-25 13:10:27 +00:00
Abdelrazak Younes
2a890b4b96 Avoid errorList copy.
* ControlErrorList:
  - error_list_: deleted
  - error_type_: new private member.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16849 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-25 10:39:40 +00:00
Abdelrazak Younes
2a1da61470 * QErrorList::update_contents(): avoid touching the dialog here.
* QErrorListDialog::showEvent(): new method. Set the error on the first item.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16848 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-25 10:21:02 +00:00
Enrico Forestieri
cc5b44cb1c Fix compiler warning about multi-character constant
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16845 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-25 02:06:06 +00:00
Abdelrazak Younes
c347f0467b Remove buggy and redundant BufferView::update() calls.
* BufferView::dispatch() now returns an Update::flags.

* lyx_cb.C::insertPlaintextFile(): delete redundant BufferView::update() call.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16844 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-24 23:10:03 +00:00
Abdelrazak Younes
e4c489376c Fix screen update after CT bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16843 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-24 23:05:40 +00:00
Georg Baum
0657a91fd0 fix compiler warnings about unused parameter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16839 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-24 19:02:41 +00:00
Abdelrazak Younes
024275f069 Small formatting and comment cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16838 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-24 17:19:56 +00:00
Abdelrazak Younes
3f8fa07c6e get rid of MSVC warning (signed/unsigned comparison)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16837 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-24 17:05:49 +00:00
Georg Baum
753d2cafa5 compile fix: std::exception does only have a default constructor, the other
constrcutor is non-standard.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16835 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-24 16:24:47 +00:00
Abdelrazak Younes
801f807063 Display error/warning dialogs if possible.
* ExceptionMessage: new exception based message for errors and warnings.

* package.C.in:
  - replace lyxerr based errors and warning with ExceptionMessage throwing.
  - bail_out(): erased!

* os_win32.C:
  - replace lyxerr based errors and warning with ExceptionMessage throwing.
  - bail_out(): erased!

* tex2lyx.C: catch any exception from Package class.

* lyx_main.C:  catch any exception from Package class and act accordingly.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16834 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-24 15:49:20 +00:00
Georg Baum
9281cd4675 We use char_type, not size_t for storing UCS4 characters.
This may make a difference when char_type is signed.

	* src/frontends/LyXKeySym.h
	(getUCSEncoded): change return type from size_t to char_type

	* src/frontends/qt4/QLyXKeySym.[Ch]
	(getUCSEncoded): ditto

	* src/lyxfunc.C
	(LyXFunc::processKeySym): adjust to the above and add a FIXME since
	this is strange code that looks like it was not intended to do what
	it does.

	* src/lyxfunc.h
	(encoded_last_key): Correct documentation


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16833 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-24 14:01:34 +00:00
Georg Baum
cb71a1c869 whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16832 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-24 13:33:13 +00:00
Michael Schmitt
2e09a925a5 * src/lyxtext.h:
* src/BufferView.C:
* src/text3.C:
* src/text.C: merge methods acceptChange() and rejectChange() to acceptOrRejectChange() because they share a lot of tricky code

* src/text.C: yet another revision of acceptOrRejectChange()

* src/paragraph.C:
* src/paragraph.h:
* src/paragraph_pimpl.C:
* src/paragraph_pimpl.h:
* src/insets/insettabular.C:
* src/insets/insettabular.h:
* src/insets/insettext.C:
* src/insets/insettext.h:
* src/insets/insetbase.h: pass BufferParams to acceptChanges() and rejectChanges() (needed for paragraph merging)

* src/insets/insettext.C: handle end-of-par in acceptChanges() and rejectChanges()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16830 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-23 21:53:16 +00:00
Abdelrazak Younes
0e85d5b1c0 revert last change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16829 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-23 15:23:59 +00:00
Abdelrazak Younes
2b1740d92d revert last change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16828 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-23 15:09:00 +00:00
Abdelrazak Younes
278e4a7326 Write the warnings and errors both to lyxerr and to the dialog.
If the mode is nogui don't raise the dialog.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16827 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-23 14:29:15 +00:00
Abdelrazak Younes
6823d09f6b Replace lyxerr based warnings and errors with Alert::error() and Alert::warning().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16826 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-23 13:30:30 +00:00
Michael Schmitt
76ad6628fd * src/text.C: implement rejectChange() as the inverse of acceptChange()
(requires some further testing)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16825 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-23 13:25:50 +00:00
Abdelrazak Younes
a8c862dfe9 Replace lyxerr based warnings and errors with Alert::error() and Alert::warning().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16824 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-23 13:09:28 +00:00
Abdelrazak Younes
6d7cd27910 With this commit, errors and warnings can use message box even before LyX is properly initialized. This is especially useful for missing sysdir and/or userdir directory.
* Alert.C:
  - error(): calls error_pimpl() in any case.
  - warning(): calls warning_pimpl() in any case.

* Alert_pimpl.C:
  - error_pimpl(): construct a QApplication if LyX is not initialized yet.
  - warning_pimpl(): ditto.

* lyx_main.C:
  - parse_sysdir(): replace lyxerr with Alert::error().
  - parse_userdir(): ditto.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16823 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-23 12:38:20 +00:00
Abdelrazak Younes
19eb9d6292 Fix inverse DVI search as reported on the french list.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16811 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-22 15:00:33 +00:00
Jean-Marc Lasgouttes
e28331ed63 * src/LyXAction.C: mark goto-clear-bookmark as working without buffer
* src/lyxfunc.C (getStatus): move handling of LFUN_LYX_QUIT, 
	LFUN_BOOKMARK_GOTO, LFUN_BOOKMARK_CLEAR and LFUN_TOOLBAR_TOGGLE_STATE
	where they belong.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16810 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-22 14:43:45 +00:00
Abdelrazak Younes
f653a9e979 Cleanup Action class: The mother should be the main window (GuiView). This will hopefully fix bug 3107 (Tooltips not showing on main window).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16807 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-22 11:31:42 +00:00
Enrico Forestieri
b9aa557b35 Fix encoding of converters path and arguments
* src/converter.C
	(Converters::convert): Convert command to be executed to the proper
	encoding. Use from_utf8 instead of from_ascii in order to avoid
	assertions when displaying an alert.

	* src/support/docstring.[Ch]
	(to_filesystem8bit): new conversion function.

	* lib/scripts/fig2pstex.py
	* lib/scripts/fig2pdftex.py:
	Modified to reflect the changes above.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16803 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-22 02:58:47 +00:00
Georg Baum
dbfda45b19 Compile fix.
Michael, I guess that you need to retest this code, since the old one did
obviously not do what you intended.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16801 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-21 21:52:01 +00:00
Georg Baum
bac837c959 From Bernhard Roider:
* src/insets/insetexternal.C
	(InsetExternalParams::read): Read filenames with spaces correctly


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16800 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-21 21:46:33 +00:00
Michael Schmitt
c4a10a953c * src/text.C: acceptChange(): complete rewrite; there should be no crashes any more
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16799 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-21 21:20:51 +00:00
Michael Schmitt
1a413a2d98 * src/paragraph.h:
* src/paragraph.C: stripLeadingSpaces(); return boolean indicating
	whether any character has been deleted - either physically or logically


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16798 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-21 21:11:27 +00:00
Abdelrazak Younes
ccd07a7fb4 add comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16797 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-21 16:55:41 +00:00
Abdelrazak Younes
02ec2834f1 Fix crash when breaking paragraph and Change tracking is involved.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16796 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-21 16:43:27 +00:00
Michael Schmitt
e5dbc07931 * src/output_plaintext.C: partially revert r16780
to support RtL languages


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16791 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-21 09:46:15 +00:00