1 2006-03-12 Martin Vermeer <martin.vermeer@hut.fi>
3 * lyxtext.h: doxygen documentation fix
5 2006-03-11 Martin Vermeer <martin.vermeer@hut.fi>
7 * paragraph.[Ch] (write, lookupChange, lookupChangeFull;
9 * paragraph_pimpl.[Ch] (trackChanges, cleanChanges, acceptChange,
10 rejectChange, erase; added setChangeFull):
11 * CutAndPaste.C (eraseSelectionHelper):
13 * text.C (readParToken, readParagraph, breakParagraph,
14 acceptChange, rejectChange, backspace, currentState;
16 * paragraph_funcs.C (breakParagraphConservative, mergeParagraph):
17 * lyxfind.C (findChange, findNextChange): fix bug 880: Change
18 tracked paragraphs should still allow a paragraph split (and related
19 things, i.e., multi-paragraph change tracking)
21 2006-03-10 Martin Vermeer <martin.vermeer@hut.fi>
23 * BufferView_pimpl.C: fix bug 2212: First change is skipped is
24 "Merge changes..." dialog
26 2006-03-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
28 * bufferparams.C (writeLaTeX): define \labelitemi with \def. Fixes LaTeX
29 error if the class has not defined them yet (bug 2053).
31 2006-03-10 Martin Vermeer <martin.vermeer@hut.fi>
34 * BufferView_pimpl.[Ch]:
38 * text3.C: Inside-inset speedup, esp. for the Mac (bug 2195)
40 2006-03-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
42 * pch.h: fix nullstream.hpp location for boost 1.33.0
44 2006-03-05 Lars Gullik Bjønnes <larsbj@lyx.org>
48 * support/debugstream.h: Use the correct nullstream.
50 2006-02-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
52 * text3.C (mathDispatch): fix math inset creation from string (bug 2315)
54 2006-02-28 Martin Vermeer <martin.vermeer@hut.fi>
56 * cursor.C (niceInsert): fix (properly) insertion of
57 fonts/decorations around selection
59 2006-02-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
61 * lyxfont.C (lyxWriteChanges): Don't write \lang latex
63 2006-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
65 * text3.C (mathDispatch): fix crash when selection is not empty
66 but selectionAsString is empty (bug 2321).
68 2006-02-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
70 * text.C (changeCase): avoid crash in empty paragraph or on last
71 word of the paragraph. (buf 2323)
72 (cursorRightOneWord): fix the logic to stop at a beginning of a word.
74 2006-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
76 * buffer.C (readHeader): also erase params.preamble in advance
77 so that an empty preamble is actually recognized (bug 2317).
79 * rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308).
81 2006-02-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
83 * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix
85 2006-02-05 Martin Vermeer <martin.vermeer@hut.fi>
95 * text3.C: Fix bug 2115: blue language lines (for default font)
96 popping up when the documnent font is different. This includes work
99 2006-02-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
101 * exporter.C (Backends): Add "lyx" backend
102 * exporter.C (Export): Handle "lyx" backend
103 * graph.C (getReachable): Don't exclude "lyx"
104 * MenuBackend.C (expandFormats): exclude "lyx" from export menu
106 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
108 * cursor.C (bruteFind2): convert relative to absolute co-ordinates
109 for correct in-mathed positioning
111 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
113 * rowpainter.C (paintForeignMark): fix foreign blue line under
116 2006-01-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
118 * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start
119 pit of the uno range (bug 2022).
121 2006-01-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
123 * messages.C (get): Only warn once if setlocale fails (bug 2177)
125 2006-01-28 Martin Vermeer <martin.vermeer@hut.fi>
127 * text2.C (setCharFont): take inset's own font settings into account
128 when defining the font to reduce to, fixes 2019
130 2006-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
132 * bufferview_funcs.C (coordOffset): remove the check for
133 collapsed collapsables (fix for bug 2094). This is now done
134 on a more general level (cursor.C).
136 * dociterator.[Ch] (forwardPos): add an optional argument
137 bool "ignorecollapsed" (default false), which lets forwardPos
138 skip collapsed insets.
140 * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
141 (fixes bug 2241 and 2094).
143 2006-01-26 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
145 * buffer.C: change tracking (dvipost) doesn't require
148 * LaTeXFeatures.C (getPackages): no need for the color
149 option "usenames" (bug 2169).
151 2006-01-23 Helge Hafting <helge.hafting@aitel.hist.no>
152 * buffer_funcs.C: Trivial fix - added {} around
153 the statements to be affected by a if-test. Now
154 label in a minipage in a float looks ok on screen again.
156 2006-01-23 Martin Vermeer <martin.vermeer@hut.fi>
158 * text2.C: fix bug 2015: on screen fonts in nested environments
161 2006-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
163 * converter.C (convert): handle unknown formats
165 2006-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
167 * cursor.C (goUpDown): comment out some debug messages.
169 * counters.C (newCounter): make error messages more explicit
170 (these appear with some textclasses like beamer)
172 2006-01-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
175 * lyxfunc.C (processKeySym): make sure new FuncRequest objects
176 have origin set to KEYBOARD. (bug 2221)
178 2006-01-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
180 * rowpainter.C (isCursorOnRow): do not exclude endpos().
182 2006-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
184 * cursor.C (macroModeClose): returns true if an inset actually got
185 inserted; revert faulty fix to bug 2034.
187 2006-01-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
189 * tabular.C (getLabelList): remove (not used anymore).
191 2006-01-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
193 * outputparams.[Ch]: add new flag inComment
195 2006-01-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
197 * text2.C (deleteEmptyParagraphMechanism): since we delete a
198 paragraph, recordUndo should span two paragraphs (bug 2155).
200 2006-01-01 Martin Vermeer <martin.vermeer@hut.fi>
202 * rowpainter.C (paintPar): always repaint the row with the
205 2006-01-01 Lars Gullik Bjønnes <larsbj@gullik.net>
211 * vspace.h: fix syntax error
213 2005-12-31 Martin Vermeer <martin.vermeer@hut.fi>
215 * text3.C (dispatch): Force refresh if typing into inset changes its
218 2005-12-30 Martin Vermeer <martin.vermeer@hut.fi>
223 * rowpainter.C: Speed up rendering by only re-painting rows that
224 have changed. When selection or whole-screen update active, all rows
225 are repainted, as are all rows within insets.
227 2005-12-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
229 * version.C.in: Use PACKAGE_VERSION instead of VERSION
231 2005-12-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
233 * tabular.C (toggleFixedWidth): Use default layout of text class
234 instead of hardcoded "Standard"
236 2005-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
238 * lyxfunc.C (dispatch): do not call getStatus again to determine
239 whether a lfun is disabled (bug 2172).
241 2005-12-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
243 * cursor.C (macroModeClose): set the cursor inside the new math
244 atom if relevant (think \frac{}{}) (bug 2034)
246 2005-12-19 Martin Vermeer <martin.vermeer@hut.fi>
250 * text3.C (Delete, backspace): force update when merging paragraphs
252 2005-12-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
254 * BufferView.C (mouseSetCursor): clear the selection properly (bug
257 2005-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
259 * text.C (redoParagraph): honor inset->noFontChange()
260 * rowpainter.C (paintInset): ditto
262 2005-12-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
264 * lyx_main.C (priv_exec): don't initialize Math on startup
265 (initMath() has been moved to math_hullinset).
267 2005-12-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
269 * lyxrc.C: set default_papersize to PAPER_DEFAULT;
270 handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
271 * paper.h: dispose dead PAPER_PACKAGES enum.
273 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
275 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
278 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
280 * exporter.C (Export): Don't try to copy a file if it does not exist
283 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
285 * text2.C (makeFontEntriesLayoutSpecific): remove.
288 * text.C (insertChar): remove bogus caching of fonts (did not do
291 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
292 ALL_SANE). (bug 2146)
294 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
296 * rowpainter.C (paintFirst): fix centering of
297 LABEL_CENTERED_TOP_ENVIRONMENT.
299 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
301 * BufferView.C (mouseSetCursor): new method. Calls
302 deleteEmptyParagraphMechanism if necessary.
304 * lyxtext.h: make deleteEmptyParagraphMechanism public.
306 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
307 BufferView::mouseSetCursor (bug 2109).
308 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
310 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
312 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
313 do not remove it (this inset behaves differently from the others).
315 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
319 * BufferView_pimpl.C (getStatus): it is only possible to insert a
320 file in a text inset.
322 * buffer.C (readDocument): remove pit argument and code releated
323 to it; set the inset owner correctly (unrelated, but useful).
324 (readFile): get rid of pit argument.
326 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
327 textclass instead of a selection index.
328 (pasteParagraphList): new function.
329 (pasteSelection): make it a wrapper around pasteParagraphList.
331 * BufferView_pimpl.C (MenuInsertLyXFile): use
332 cap::pasteParagraphList to insert a file.
334 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
336 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
338 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
340 * exporter.C: fix typo in text message
342 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
344 * text2.C (setLayout): move recUndo call to other setLayout method
345 * tabular.C (toggleFixedWidth): new, handle cell width changes
346 * tabular.C (setColumnPWidth): move some code from insettabular.C here
347 and use toggleFixedWidth
348 * tabular.C (setMColumnPWidth): ditto
350 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
352 * paragraph.C (asString): use new inset->textString method (fix
355 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
357 * CutAndPaste.C (numberOfSelections): new helper function.
359 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
361 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
362 LyXFunc::getStatus; implement LFUN_PASTE.
364 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
366 * dociterator.[Ch]: new member realInset() that returns the cell
367 for tabulars and the inset for the rest (bug 1952).
368 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
371 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
373 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
375 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
379 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
382 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
384 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
385 line after typing ctrl-enter
387 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
389 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
390 math insets do not return a proper editable() state yet (bug 2124).
392 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
394 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
395 docs containing very large paragraphs.
397 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
399 * cursor.C (selectionBegin, selectionEnd):
400 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
401 cursor at different depths.
403 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
405 * bufferview_funcs.C (coordOffset): do not call cursorPos
406 for collapsed collapsables (fix bug 2094).
408 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
410 * paragraph.C (fontSpan): make sure that the FontSpan does not
411 span across beginOfBody (bug 1947).
413 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
415 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
417 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
419 * messages.C: fix crash and localization on MinGW/Windows platform
421 2005-11-02 Angus Leeming <leeming@lyx.org>
424 * lyxtextclass.C: trivial fixes to some MSVS warnings.
426 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
428 * text3.C (getStatus): re-enable disabled code. (bug 2081)
430 * BranchList.h (empty): constify.
432 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
434 * text3.C (getStatus):
435 * MenuBackend.C (expandBranches): take the branch list from the
436 master document (bug 2092).
438 * MenuBackend.C (expandBranches):
439 * bufferparams.C (writeFile): use BranchList type.
441 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
443 * text3.C (dispatch, getStatus):
444 * LyXAction.C (init):
445 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
447 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
449 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
451 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
453 * text.C (insertChar): do not reset boundary (bug 2061)
455 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
457 * dociterator.C (updateInsets): new method. Updates the inset_
458 cache of all the slices of the iterator.
460 * text2.C (deleteEmptyParagraphMechanism): compare also containing
461 insets when comparing pit/pos; pass the right cursor to
462 recordUndo; when a paragraph has been deleted, compare `old.top()' to
463 the right cursor slice of `cur'; use updateInsets on cur to make
464 sure that the inset caches are correct; general cleanup.
466 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
468 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
469 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
470 containg inset. If this does not work, the same command will be
471 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
473 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
476 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
478 * lyxtextclass.C (Read): convert layout file if the format is wrong
479 * lyxtextclass.C (layout2layout): new, needed for the above
481 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
483 * messages.C: do not forget to include <cerrno>.
485 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
487 * dociterator.h (StableDocIterator): add access to pos().
488 * undo.C (samePar): new method to check if two
489 iterators are in the same paragraph
490 * undo.C (recordUndo): check for samePar instead of cell identity
491 (which includes pos() and is too strict) (fixes bug 2097)
493 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
495 * text.C (setCursorFromCoordinates): return a bool telling whether
498 * text3.C (cursorPrevious): update if needed after
499 setCursorFromCoordinates (when dEPM triggered).
501 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
502 (otherwise the anchor may be completely wrong and make dEPM assert).
504 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
506 * buffer.C: version upgrade to 245.
507 * bufferparams.C: remove \quotes_times (bug 2090).
508 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
509 quotation marks as default.
511 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
513 * CutAndPaste.C (nrOfParagraphs): remove (unused)
514 * CutAndPaste.C (cutSelection): Remove debug message
515 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
516 undo information and only copy if this is a real cut
517 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
519 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
521 * CutAndPaste.C (eraseSelection): prevent cursor corruption
522 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
523 superflous cur.selection() setting
524 * CutAndPaste.[Ch] (grabSelection): take a const cursor
525 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
527 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
529 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
532 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
534 * BufferView_pimpl.C: comment layout change
536 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
540 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
541 by bibliography managers (bug 2071).
543 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
545 * BufferView_pimpl.C (update): choose arguments to update call so
546 that single-par update works most times
547 * text3.C (dispatch): carefully tune updating separately for
548 whole-screen and current-paragraph
549 * rowpainter.C (paintText): 1) replace painting by caching for
550 the two extra paragraphs, because we can;
551 2) suppress greying out of areas below/above drawn area in case of
553 * lyxfunc.C (dispatch): remove superfluous update
554 * LyXAction.[Ch]: introduce SingleParUpdate
556 2005-10-05 Angus Leeming <leeming@lyx.org>
558 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
559 always initialised before use.
561 * text.C (setHeightOfRow): squash warning about comparison
562 of signed and unsigned types.
564 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
566 * text.C (cursorX): two fixes involving RtL text drawing
568 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
570 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
571 items, not only large ones (part of bug 2057)
573 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
575 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
576 argument, use "newcommand".
578 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
580 * cursor.C (setSelection): do not open collapsable insets;
581 the insets do by themselves now (autoopen).
583 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
585 * buffer.C: format is up to 244.
587 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
589 * text.C (redoParagraph): fix calcultation of inset width wrt
590 leftMargin (bug 1957).
592 * text3.C (dispatch): leave inset to the right when hitting ESC
595 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
600 * messages.C: include <boost/current_function.hpp>
602 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
604 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
605 when command is internal. (bug 1941)
607 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
609 * text2.C (cursorRight): do not honor boundary when at the end of
610 a paragraph. (bug 2010 again)
612 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
614 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
616 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
618 * rowpainter.C (paintText): fix RtL space width display bug (2029)
620 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
622 * text2.C (setCursor): remove the unused 'boundary' parameter for
623 the CursorSlice version; adapt the LCursor version.
626 * paragraph_pimpl.C (markErased):
627 * cursor.C (bruteFind2, bruteFond3): fix warnings.
629 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
631 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
632 as is already done for "chapter".
634 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
636 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
637 textclass; do not record undo if nothing is changed.
639 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
641 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
643 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
645 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
647 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
649 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
650 combox, it is necessary to search for the topmost paragraph in the
651 cursor stack (bug 1926)
653 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
655 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
656 end of paragraph. (bug 2010)
658 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
660 * text.C (leftMargin): check for inInset == 0
662 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
664 * text.C (leftMargin): test for insetbase's new neverIndent()
665 bool instead of listing each and every inset that does not
666 wish par indendation.
668 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
670 * buffer_funcs.C (setCounter): put the code to compute enum label
671 here (where it belongs).
673 * counters.C (enumLabel): move code to buffer_funcs.C.
675 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
677 * outputparams.[Ch]: store local_font instead of local_language
678 * paragraph.C (simpleTeXOnePar): adapt to the change above
680 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
683 * counters.[Ch]: clean up special code for Hebrew.
685 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
687 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
690 2005-09-08 Angus Leeming <leeming@lyx.org>
693 * lyxrc.C: correct grammar describing invocation of the
696 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
698 * text.C (read): remove unused variable.
699 (readParToken): remove static Change variable (never good in
700 recursive settings...); add it as a parameter instead.
702 * paragraph_pimpl.C (acceptChange): make debug info conditional.
704 * metricsinfo.C (PainterInfo): add new member erased_.
706 * rowpainter.C (RowPainter): add erased_ member, initialized from
708 (paintInset): pass erased_ to Inset::draw.
710 * lyxfunc.C (lookupChange): new function. Tells whether change
711 tracking is disabled at a given postion.
712 (getStatus): disable some actions when in deleted text with change
715 2005-08-03 John Levon <levon@movementarian.org>
717 * tabular.C (appendColumn, setMultiColumn): adapt to change to
720 * paragraph_pimpl.C (markErased): add bool argument and handle it.
721 Also make sure to mark insets recursively.
722 (rejectChange, erase): be recursive
724 * paragraph.C (markErased): add bool argument.
725 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
727 * lyxfind.C (findNextChange): tiny cleanup.
729 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
730 change tracking with the cursor in an inset; make sure the first
731 change is not skipped.
733 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
735 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
736 tabularStackDirty to work around bug 1919 (tabular needs
737 to know whether its own cell paste buffer or the one of
739 * CutAndPaste.C: mark tabular_stack_ clean after copy.
741 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
743 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
745 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
747 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
748 use old deleteion algorithm when changetracking is on.
750 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
752 * messages.C (get): add debug output.
754 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
756 * text.C (cursorX): fix bug 1965: cursor movement at
757 line end broken in RtL.
758 (drawSelection): fix bug 1970: drawing of single-line
759 selection broken for RtL.
761 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
765 * dociterator.h (clear, push_back, pop_back): change from
768 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
769 and changed to just return the value of the item depth; take a
770 ParIterator as argument; take the itemdepth at outer nesting level
771 in account if necessary; cleanup and comment the code.
772 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
773 and changed to just return true if reset is needed; take a
774 ParIterator as argument; cleanup and comment the code.
775 (setCounter): adapt to above changes.
777 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
779 * text3.C (dispatch): make debug message optional
781 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
783 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
786 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
788 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
790 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
792 * text.C (insertChar):
793 * text2.C (deleteEmptyParagraphMechanism): take care whether
794 a blank has been deleted (in change tracking mode) (bug 1254).
796 2005-07-20 John Levon <levon@movementarian.org>
798 * text2.C (insertStringAsLines): remove old dubious code,
801 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
803 * MenuBackend.C (expandToc): use Floating::listName() as title of
806 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
808 * toc.[Ch]: Do not use translatable strings (bug 1870).
810 2005-07-20 John Levon <levon@movementarian.org>
812 * tabular.C: fix 1748 - setting multicolumn adds
813 left line to the first cell
815 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
818 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
821 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
823 * messages.C: supress some lyxerr messages
825 2005-07-18 Juergen Vigna <jug@lyx.org>
827 * text.C (drawSelection): honor boundary when asking for cursorX.
829 2005-07-17 José Matos <jamatos@fc.up.pt>
831 * tabular.C (recalculateMulticolumns): fix handling of one column
834 2005-07-17 Juergen Vigna <jug@lyx.org>
836 * text.C (Delete, backspace): fixed so that paragraph with the
837 same layout can be merged by Delete/Backspace.
839 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
841 * text.C (readParToken): fix spelling.
843 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
845 * text2.C: fix counter update for DEPM problem reported by
848 2005-07-17 Juergen Vigna <jug@lyx.org>
850 * BufferView_pimpl.C (setBuffer): save/restore the
851 cursor/selection when switching buffers
854 * buffer.C (saveCursor): add saveDocumentIterators to save the
855 cursor when switching buffer.
857 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
860 * buffer.C: clarify message
862 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
864 * dociterator.C (DocIterator): fix initialization order
866 2005-07-17 Juergen Vigna <jug@lyx.org>
868 * text2.C (cursorHome):
869 * text.C (drawSelection, cursorX):
870 * dociterator.C (textRow): add boundary to getRow() call
872 * paragraph.C (getRow): implementation of below
874 * paragraph.h: add parameter boundary for getRow() function
876 2005-07-17 José Matos <jamatos@fc.up.pt>
880 * tex-strings.[Ch]: new file format, remove support for a4.sty,
881 a4wide.sty and a4widemargins.
883 2005-07-17 Juergen Vigna <jug@lyx.org>
885 * text2.C (cursorLeft): fix one of error
887 2005-07-17 Juergen Vigna <jug@lyx.org>
889 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
891 more fixes for boundary handling
893 * text3.C (dispatch): don't reset cursor if boundary has changed
896 2005-07-16 Juergen Vigna <jug@lyx.org>
898 * text2.C (getColumnNearX): hopefully got it right now,
899 check if we are on column 0 for special case.
901 2005-07-16 Juergen Vigna <jug@lyx.org>
903 * text2.C (getColumnNearX): handle special case Newline Inset
905 * text.C (singleWidth): Just remove bogus check
907 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
909 * funcrequest.C (split): avoid reading uninitialized char c
911 2005-07-16 José Matos <jamatos@fc.up.pt>
917 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
918 single papersize variable.
920 2005-07-16 Juergen Vigna <jug@lyx.org>
922 * text3.C (dispatch): honor boundary when checking if a cursor
923 movement has been done
925 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
926 (setCursor, setCursorIntern): fix cursor movement with boundary
928 2005-07-16 Juergen Vigna <jug@lyx.org>
930 * text.C (currentState): output the actual Boundary
932 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
934 * factory.C (createInset): fix bad logic for tabular creation
936 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
938 * lyx_main.C (init): change some reLyX reference to tex2lyx
940 2005-07-16 Juergen Vigna <jug@lyx.org>
942 * dociterator.C (DocIterator): initialize boundary
944 2005-07-16 Juergen Vigna <jug@lyx.org>
946 * text2.C (getColumnNearX): Consider rows without trailing blank.
948 2005-07-16 André Pönitz <poenitz@gmx.net>
950 * lyxfont.h: Change order of declarations to give the compiler
951 a better chance to inline things
953 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
954 questions on unsaved docs for better scritability
956 2005-07-16 André Pönitz <poenitz@gmx.net>
958 * paragraph.h (getChar): remove asserts as the same kind of security
959 can be achieved by using a suitable standard library implementation
960 and the function was in the critical path (25.9% in profiler)
962 2005-07-16 Juergen Vigna <jug@lyx.org>
964 * cursor.C (bruteFind2):
965 * bufferview_funcs.C (coordOffset):
966 * text.C (cursorX,cursorY): Handle cursor position after last char
967 in row before a inset which uses a whole row.
969 2005-07-15 José Matos <jamatos@lyx.org>
971 * output_plaintext.[Ch] (writeFileAscii): control reference title
973 (asciiParagraph): noparbreak was already deal and was incorrectly
976 2005-07-15 Juergen Vigna <jug@lyx.org>
978 * lyxfunc.C (dispatch): save and restore the cursor after a
981 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
983 * text.C (backspace): bug 806 for empty keepempty paragraphs we
984 change the layout to default before letting DEPM do its thing.
986 * paragraph_funcs.C (breakParagraph): dont reset the layout on
989 * text.C (setCursorFromCoordinates): add a debug statement
991 * text2.C (getColumnNearX): bug 1825 make sure that we don't
992 return a pos that is not on the row
994 * output_latex.C (TeXDeeper): get rid of potential dereferencing
995 of past the end iterator
997 2005-07-14 André Pönitz <poenitz@gmx.net>
999 * undo.C (recordUndoFullBuffer): implement undo for
1002 2005-07-14 André Pönitz <poenitz@gmx.net>
1004 * cursor.C (setSelection): open insets when selection is set there
1005 to avoid crashs with cold coord cache
1007 2005-07-14 André Pönitz <poenitz@gmx.net>
1009 * trans_mgr.C (insert): move cursor to the right after inserting
1012 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1014 * BufferView_pimpl.C (update): dampen some of the debug blabbering
1015 * factory.C (readInset): ditto
1016 * text.C, text2.C: ditto
1018 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1020 * buffer.C: format incremented to 242. There is no file format per
1021 se, but the "frenchb" language has been removed from lib/language
1022 and has to be translated to "french" by lyx2lyx.
1024 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1026 * cursor_slice.h, dociterator.h: add some documentation
1027 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
1029 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1031 * text.C (leftMargin): do not add identation to display() style
1032 insets, because they are always centered (bug 1293).
1034 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1036 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
1037 formatted_time methods in support/lyxtime.
1039 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1041 * toc.[Ch]: new method getGuiName, which is used by the frontends
1042 to set the toc combo (fixes bug 1870). Make TOC string translatable.
1044 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1046 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
1047 StableDocIterator const &)
1048 * undo.C (recordUndo): use the above instead of cell.size() comparison
1049 (fixes bug 1808; instructed by Andr�.
1051 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
1054 * dociterator.h: Fix the assert when copying rows/cols in math
1056 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1058 * BufferView_pimpl.C:
1060 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
1062 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
1063 (findInset): new functions, refactored from goto Inset that return
1064 the position of a certain inset without setting the buffer's cursor
1066 (gotoInset): rewrite to call findInset and then set the cursor
1069 2005-06-16 Angus Leeming <leeming@lyx.org>
1071 * lyxrc.C (output, read): wrap all input and output of paths with
1072 calls to os::internal_path and os::external_path, respectively.
1073 (output): wrap bind_file inside quotes.
1075 * format.C (view): enable the viewer to use the '$$s' placeholder.
1077 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1079 * LColor.[Ch] (getFromLaTeXName): new
1081 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
1083 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1085 2005-06-14 Angus Leeming <leeming@lyx.org>
1087 * lyx_main.C (init): ensure that the LyX binary dir is the first
1088 element in the PATH on non-POSIX builds.
1090 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1092 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1094 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1096 * rowpainter.C (paintInset, paintHebrewComposeChar)
1097 (paintArabicComposeChar, paintChars): add a LyXFont argument.
1098 (paintChars): use getFontSpan to reduce calls to getFont to a
1099 minimum; use Paragraph::lookupChange instead of isXXXText.
1100 (paintForeignMark): rename LyXFont argument.
1101 (paintFromPos): pass a LyXFont object to the various paintXXX
1104 * FontIterator.C (FontIterator, operator++): use
1105 Paragraph::getFontSpan
1107 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1108 version that returns the font span as a pair.
1110 2005-06-09 Angus Leeming <leeming@lyx.org>
1112 * converter.C (convert): Don't forget "outfile = real_outfile" as
1113 the final step in a conversion where the input and output file names
1114 are the same. Otherwise, future conversion steps won't work...
1116 2005-06-09 Angus Leeming <leeming@lyx.org>
1118 * lyxsocket.C: remove stub code as it isn't needed by
1119 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1121 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1123 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1124 effectively disabled -x
1126 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1128 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1129 when it actually makes sense.
1131 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
1133 * BufferView_pimpl.C: revert to showCursor in connection with
1134 Lars's front-end stack
1136 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1138 * text.C (redoParagraph): move cursor right after a bibitem
1141 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1143 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1145 * buffer_funcs.C (bufferErrors): fix computation of the end of an
1148 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
1150 * BufferView.[Ch] (update):
1151 * BufferView_pimpl.[Ch] (update, metrics):
1152 * dimension.h (operator==):
1153 * lyxfunc.C (dispatch):
1154 * metricsinfo.h (ViewMetricsInfo):
1155 * rowpainter.C (paintText):
1157 * text.C (redoParagraph):
1158 * text3.C (dispatch): Make LyX only repaint current paragraph in
1159 case of character insert --> speedup. Also fix cursor draw
1162 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1164 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1165 avoid a crash (bug 1891)
1167 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1171 * text2.C (getStringToIndex): constify cur argument.
1173 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1174 argument has been given
1175 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1176 try to invoke LFUN_INSET_APPLY).
1178 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1179 if no inset was created by doInsertInset
1180 (doInsertInset): return true if an inset has been inserted.
1182 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1184 * vspace.C (asGUIName): new method. A version of the space
1185 suitable for showing on screen.
1187 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
1190 * lyxrc.C: rename "ASCII" to "Plain Text"
1192 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1194 * buffer_funcs.C (expandLabel): take a Buffer as argument;
1195 translate the labelstring.
1196 (setCounter): translate labelstring as needed.
1198 * output_docbook.C (makeCommand): fix expandLabel invokation
1200 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
1202 * BufferView.C: fix dialog title
1204 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1206 * lyx_main.C (priv_exec): fix logic error with help from Angus
1207 * lyx_main.C (parse_execute): set is_gui = false and remove now
1208 obsolete comment about a segfault
1210 2005-05-18 Angus Leeming <leeming@lyx.org>
1212 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1214 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
1216 * tabular.[hC]: added setCellInset to fix tabular paste.
1218 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1220 * buffer.C (save): check if destination is writable before trying
1223 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
1225 * BufferView_pimpl.C (update): fix processEvents -caused update
1228 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1230 * buffer_funcs.C (setCounter): fix test for numbering of
1233 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1234 depth correctly; use optional argument when it exists
1236 * lyxtextclass.C: remove unused MaxCounterTags enum
1237 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1238 (max_toclevel, min_toclevel): new methods.
1240 * MenuBackend.C (expandToc2): fix case where depth is smaller than
1241 the smallest depth in toc.
1243 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1244 layouts that should not appear in a table of contents.
1246 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1248 * cursor.h (undispatched, noUpdate): add comments from Andr�
1249 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
1253 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1255 2005-05-07 André Pönitz <poenitz@gmx.net>
1257 * cursor.[Ch] (leaveInset): new function
1259 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1261 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1263 2005-05-04 Angus Leeming <leeming@lyx.org>
1265 * lyxfunc.C (getStatus): disable the spell checker dialog if
1266 none of USE_[AIP]SPELL are defined.
1268 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1270 * tabular.C (setWidthOfCell): remove obsolete comment
1272 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1274 * paragraph.C (bibitem):
1275 * buffer_funcs.C (setCounter):
1276 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1278 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1280 * text3.C (getStatus): immediately return after setOnOff
1282 * rowpainter.C: fix drawing of appendix start
1284 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1286 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1287 SwitchBetweenClasses and remove the unused return value.
1288 Handle character styles, too
1290 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1292 * factory.C (createInset): handle undefined character styles
1294 2005-05-02 Angus Leeming <leeming@lyx.org>
1296 * buffer.C: protect the #include of utime.h with a preprocessor
1299 2005-05-02 Angus Leeming <leeming@lyx.org>
1301 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1302 function so that auto-saving works, albeit in a blocking manner.
1304 * Makefile.am: make compilation of the client sub directory, of
1305 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1306 on conditionals set at configure time.
1308 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1309 it can be compiled in its own right but has no-op functionality.
1311 * aspell.C, pspell.C: remove preprocessor guards. The files should
1312 be compiled only if the necessary functionality exists.
1314 * lyxserver.C, lyxsocket.C: disable on Windows.
1316 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1318 * text.C (leftMargin): Fix the parindent use bug (1764)
1321 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1323 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1326 2005-04-25 Angus Leeming <leeming@lyx.org>
1334 include <config.h> in .C files, not .h ones.
1336 protect headers inside preprocessor guards.
1338 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1340 * FuncStatus.h (StatusCodes): document
1342 2005-04-21 André Pönitz <poenitz@gmx.net>
1344 * FuncStatus.h (enabled, onoff): document
1346 2005-04-19 Angus Leeming <leeming@lyx.org>
1348 * BufferView_pimpl.C (cursorToggle): no longer test whether
1349 any child processes have been reaped before calling
1350 handleCompletedProcesses().
1352 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1354 * text3.C (dispatch): fix, finally fix, the language problem in
1355 new lyxtexts, without disabling on-the-fly font changes (Helge's
1358 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1360 * text3.C (dispatch): set cursor on double/triple click events
1363 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1365 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1366 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1368 * rowpainter.C (paintFirst): simplify the code a little bit. In
1369 particular, remove the test for secnumdepth.
1370 * text.C (setHeightOfRow): only allocate space for chapter number
1371 when updateCounters provided an actual label, instead of looking
1372 at secnumdepth directly.
1374 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1376 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1377 paragraphs when secnumdepth is large enough or, for environments,
1378 when they are not the first in a sequence.
1380 2005-04-17 Angus Leeming <leeming@lyx.org>
1382 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1383 containing space and '~' characters with a call to latex_path().
1385 2005-04-17 Angus Leeming <leeming@lyx.org>
1387 * converter.C (convert): protect all args of convertDefault.sh
1390 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1392 * text3.C (dispatch): change the layout to "Caption" after inserting
1395 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1397 * text3.C (dispatch): fix language problem in newly created
1398 textinsets (and main text) in non-english docs
1400 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1402 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1403 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1404 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1406 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1410 * text2.C (getFont):
1411 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1414 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1416 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1417 output of \item arguments without trailing text.
1419 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1421 * FontIterator.C (operator*): avoid a copy of the font.
1423 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1425 * rowpainter.C (getFont): fix language bug from previous fix
1427 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1429 * rowpainter.C (RowPainter, getFont): fix font inside inset
1432 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1434 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1435 preventing inserted font, deco, delim insets jumping to start of
1438 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1440 * lyxfunc.C (dispatch): translate message before sending it to the
1443 2005-03-29 Angus Leeming <leeming@lyx.org>
1445 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1446 to LyX on the command line.
1448 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1450 * vc-backend.C: use QuoteName to protect file names wherever
1453 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1456 * BranchList.h: fix bugs 1844,1845: document settings don't
1459 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1461 * lyxrc.C (setDefaults, read, output, getDescription): add support
1462 for tex_allows_spaces.
1464 * exporter.C (Export): allows files in directory containing spaces
1465 if tex_allows_spaces is true.
1467 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1468 output it in double quotes.
1470 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1472 * rowpainter.C: use default text height for drawing change tracker
1475 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1477 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1479 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1481 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1482 directory is missing.
1484 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1486 * text2.C: fixed the fix, extended to other case.
1488 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1490 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1492 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1494 * text2.C (cursorUp): get rid of a crash
1495 * text.C (x2pos): add an assert
1497 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1499 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1503 * dociterator.C: include <boost/current_function.hpp>, which is
1504 needed when assertions are disabled.
1506 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1508 * text2.C: fix for stuck cursor when traversing two
1509 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1511 2005-02-25 Andreas Vox <avox@arcor.de>
1513 * output_docbook.C (makeParagraph): suppress trailing newline
1514 after a run of paragraphs
1516 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1518 * paragraph.C: fix for confused change tracker when pasting
1519 text that begins with a lineseparator. [bug 1827]
1520 (setChange(0, Change::INSERTED);)
1522 * paragraph_funcs.C: fix for lost changes on triple-paste
1523 in change tracking mode [bug 1827] (par.setChange()).
1525 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1527 * text2.C (updateCounters, setCounter, expandLabel): move to
1530 * buffer_funcs.C (updateCounters): turn into a free standing
1531 function and add a buffer parameter. Remove dead code for tracking
1533 (setCounter): change into a free-standing function which gets a
1534 dociterator as argument. Use this iterator to fix captions in a
1535 simple way. When no float is found above the caption, use the
1536 labelstring of the caption layout as default.
1538 * text.C (breakParagraph, backspace):
1539 * text2.C (init, setLayout, changeDepth):
1540 * text3.C (dispatch):
1541 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1544 * dociterator.C (forwardPar): make it much faster by calling
1545 forwardPos() only when really necessary.
1547 * output_docbook.C (makeCommand): adapt to expandLabel move.
1549 * cursor.C: remove unused variable
1551 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1553 * paragraph_funcs.C: fix crash when pasting insets in change
1554 tracking mode [bug 1277] (honour change type in moveItem).
1556 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1558 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1560 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1562 * BufferView.C (setCursor): change to use a DocIterator.
1563 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1564 (putSelectionAt): adapt to BufferView::setCursor change.
1566 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1567 moved here from LyXText and rewritten to use proper cursor
1568 methods. Fixes bug 1787, 616 and 835.
1570 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1571 when inside an inset (part of bug 781).
1572 (dispatch): adapt to change of BufferView::setCursor.
1573 (getStatus, dispatch): handle LFUN_GOTOERROR,
1574 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1576 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1577 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1578 * text3.C (gotoNextInset, gotoInset): removed.
1580 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1582 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1584 2005-02-15 Angus Leeming <leeming@lyx.org>
1586 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1587 can be used meaningfully in a comparison.
1589 2005-02-13 André Pönitz <poenitz@gmx.net>
1591 * bufferview_funcs.C (coordOffset): improve cursor drawing
1593 2005-02-13 André Pönitz <poenitz@gmx.net>
1595 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1596 * Cursor.C (dispatch): use fixIfBroken
1597 * lyxfunc.C (getStatus): use fixIfBroken
1599 2005-02-15 Angus Leeming <leeming@lyx.org>
1601 * lyx_main.C (error_handler):
1603 * lyxrc.C (setDefaults):
1605 #include "environment.h".
1607 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1609 2005-02-15 Angus Leeming <leeming@lyx.org>
1611 * lyxserver.C (startPipe): squash MSVC warning "local variable
1612 'fd' used without having been initialized".
1614 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1616 * BufferView_pimpl.C: revert accidental commit.
1618 2005-02-14 André Pönitz <poenitz@gmx.net>
1620 * dociterator.[Ch]: new member forwardPosNoDescent(),
1621 which doesn't enter nested insets.
1622 * text2.C (setFont): use forwardPosNoDescent() instead
1623 of ForwardPos() (fixes crash on font change).
1625 2005-02-13 Angus Leeming <leeming@lyx.org>
1627 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1628 only if lyxrc.path_prefix is not empty.
1630 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1632 * bufferparams.C (readGraphicsDriver): prevent crash
1634 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1636 * text2.C (setCounter): check for inInset() == 0
1638 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1640 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1641 but use update() to get correct screen display; use convert
1642 instead of istringstream.
1643 (getStatus): handle LFUN_GOTO_PARAGRAPH
1645 * lyxfunc.C (dispatch, getStatus): do not handle
1646 LFUN_GOTO_PARAGRAPH here.
1648 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1650 * text3.C (dispatch): size() -> depth()
1652 * text2.C: remove some debug output
1654 * paragraph.C: ws changes only
1656 * lyxfunc.C (getStatus): size() -> depth()
1658 * dociterator.h (clear, push_back, pop_back, internalData,
1659 operator[], resize, empty): new functions
1660 Make StableDocIterator and operator== be friends. Don't inherit
1661 from std::vector use a privat class variable slices_ instead.
1664 * dociterator.C: update because of not inheriting from std::vector
1665 anymore. Call explictly to slices_ instead. Use depth() instead of
1666 size() and top() instead of back()
1668 * cursor.C: chagne size() -> depth and back() -> top(). Also
1669 remove some direct operator[](i) calls in favour of foo[i]
1670 (getFont): remove some dead code
1672 * bufferview_funcs.C (coordOffset): size() -> depth()
1674 * buffer.C: ws changes only
1676 * CutAndPaste.C (eraseSelection): back() -> top()
1678 * BufferView_pimpl.C (selectionRequested): back() -> top()
1680 * BufferView.C (setCursor): size() -> depth()
1682 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1684 * text3.C (cursorPrevious): return true if depm changed something
1686 (dispatch): rename sl to oldTopSlice, remove moving use the new
1687 NoUpdate func attrib instead. Make sure that needsUpdate is set
1688 for function that have NoUpdate, but where depm might have changed
1691 * text2.C (cursorLeft): make us return true if depm changed
1693 (cursorRight): ditto
1694 (cursorUpParagraph): ditto
1695 (curosrDownParagraph): ditto
1696 (cursorUp, cursorDown): ditto, make sure to read comments in code
1697 (deleteEmptyParagraphMechanism): remove an assert, also return
1698 true if just a single char was deleted.
1700 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1701 cursor that we modify, to avoid modifying an active cursor before
1702 we call setCursor. This allows depm to run. Also return true if
1703 depm deleted something.
1705 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1706 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1707 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1708 something was changed in the buffer because of them (ie. depm run)
1710 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1711 debug messages. Make update by default be false. Make sure that
1712 the result of update is retained throught several calls down to
1715 * LyXAction.h: add a new func_attrib: NoUpdate
1717 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1718 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1719 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1721 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1723 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1725 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1726 bv_->owner(), bv_->buffer() by direct references to the private
1728 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1729 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1730 (fitCursor): center() is in BufferView::Pimpl.
1731 (getStatus, trackChanges, dispatch): no need for a temporary buf
1733 (fitCursor, workAreaDispatch): use workarea().workheight()
1735 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1737 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1739 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1741 * buffer.C: format up to 241.
1742 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1743 break if pasting into ERT
1744 * lyxfunc.C (getStatus): suppress mathpanel and
1745 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1747 2005-02-01 Angus Leeming <leeming@lyx.org>
1749 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1751 2005-02-01 Angus Leeming <leeming@lyx.org>
1753 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1754 calling fs::is_directory().
1756 2005-01-31 Angus Leeming <leeming@lyx.org>
1758 * lyx_main.C (priv_exec): specify explicitly the relative location
1759 of the top level build directory when run in-place.
1761 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1763 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1764 LyXText containing the cursor, not the top-level one.
1766 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1768 (insertStringAsLines): rename par to pit; use temporary variable
1769 par to hold a Paragraph; do not store par.layout() in a variable,
1770 since the pointer may die when breaking paragraphs; pass pars to
1771 breakParagraph() instead of Buffer::paragraphs().
1773 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1775 * lyxlex_pimpl.h: #include <fstream>.
1777 * BufferView.[Ch] (getLyXText): add a const version.
1779 * BufferView_pimpl.C: add debug aids.
1784 * paragraph_funcs.h: add commentary explaining what the class does.
1787 * coordcache.[Ch]: add lots of commentary.
1788 (startUpdating, doneUpdating): debug aids.
1789 (arrays, insets, parPos, getParPos): accessors to private data.
1791 * cursor_slice.[Ch] (text): add a const version.
1792 * dociterator.[Ch] (text, innerText): add const versions.
1794 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1797 * paragraph.C (getRow, pos2ros): add asserts.
1799 * paragraph.h: add commentary. Lots of.
1801 * paragraph.[Ch] (metrucs, draw): removed.
1804 * rowpainter.[Ch]: const-correct changes.
1806 * text.C: various obvious clean-ups. Removal of ancient cruft.
1809 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1811 * vc-backend.C (find_file): rewrite to use boost.filesystem
1814 * main.C (main): set default name check for boost.filesystem to
1817 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1820 (actOnUpdatedPrefs): ditto
1822 * lyx_main.C (init): rewrite to use boost.filesystem
1823 (queryUserLyXDir): ditto
1825 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1826 (getContentsOfAsciiFile): ditto
1828 * lastfiles.C (readFile): rewrite to use boost.filesystem
1830 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1832 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1833 (loadLyXFile): ditto
1835 * buffer.C (Buffer): adjust for destroydir
1836 (getLogName): rewrite to use boost.filesystem
1837 (setFileName): ditto
1838 (save): use fs::copy_file (from fs_extras)
1840 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1842 * LaTeX.C (run): rewrite to use boost.filesystem
1843 (scanAuxFiles): ditto
1844 (handleFoundFile): ditto
1846 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1848 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1850 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1852 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1854 * lyxlayout.[Ch]: change some vars from float to double
1856 * buffer.C (readFile): make a local var const
1858 * Several files: use convert<> instead of atoi,strToXXX and friends
1860 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1862 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1863 holds the contents of packages.lst. New functions getAvailable
1864 and isAvailable to parse and check that list, resp.
1868 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1870 * bufferparams.[Ch]: new param output_changes.
1872 * Buffer.C: increase file format to 240.
1873 Use output_changes and isVailable.
1877 * paragraph_pimpl.C: Use output_changes and isVailable.
1879 2005-01-23 Angus Leeming <leeming@lyx.org>
1881 * output_latex.C: #include "insetbibitem.h", rather than
1882 forward declare function bibitemWidest.
1884 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1886 * lyx_main.C (init): make it compile on the Mac.
1888 2005-01-20 Angus Leeming <leeming@lyx.org>
1890 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1891 (setLyXMisc): (char string literal) != (char string literal) is
1892 performing a comparison on the addresses. Convert one operand
1893 explicitly to string to guarantee expected behaviour.
1896 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1899 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1901 * output_plaintext.C: remove unneeded #include gzstream.h.
1903 2005-01-20 Angus Leeming <leeming@lyx.org>
1905 * SpellBase.h: rename some of the elements of the Result enum.
1912 * pspell.C (check): ditto
1914 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1916 * buffer.C: add #include <fstream>.
1918 * lyx_main.C (init): Compile fix.
1920 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1922 2005-01-20 Angus Leeming <leeming@lyx.org>
1924 * mover.h: change commentary to reflect the changed meaning of
1925 the $$s placeholder.
1927 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1929 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1931 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1933 2005-01-20 Angus Leeming <leeming@lyx.org>
1935 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1936 printing diagnostic data by not dereferecing an iterator past the
1939 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1941 * buffer.C (readHeader): use "&&" rather than "and".
1943 * lyxserver.h (inPipeName, outPipeName): make these const.
1945 2005-01-19 Angus Leeming <leeming@lyx.org>
1947 * lyx_main.C (error_handler, init): protect SIGHUP with
1948 #ifdef SIGHUP guards.
1950 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1952 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1954 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1956 * text.C (setHeightOfRow): add a margin at the top and bottom of
1957 the document (bug 1761)
1959 2005-01-17 Angus Leeming <leeming@lyx.org>
1961 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1962 with "python ". Workaround for a brain-dead Windows.
1964 2005-01-16 Angus Leeming <leeming@lyx.org>
1966 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1967 for MacOSX and Windows to use prependEnvPath.
1968 Strip out the hard-coded block to add elements to the PATH for
1969 MacOSX and replace it with a call to prependEnvPath using the
1970 contents of LyXRC::path_prefix.
1971 (queryUserLyXDir): strip out the code to run reconfigure, instead
1972 returning a boolean indicating the necessity to do so.
1973 (reconfigureUserLyXDir): contains the code to reconfigure the
1974 user support directory. Is now called after the various LyXRC data
1975 files have been read.
1977 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1979 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1981 * converter.[Ch] (convert): take a new parameter try_default. Use
1982 a default converter (imagemagick) if try_default is true.
1984 2005-01-13 Angus Leeming <leeming@lyx.org>
1986 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1987 os::cygwin_path_fix.
1988 (write): output LyXRC::cygwin_path_fix as necessary.
1990 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1993 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1995 2005-01-12 Angus Leeming <leeming@lyx.org>
1997 * lyx_main.C (init): set the PATH variable to include the
1998 directory containing the LyX binary when running on Mac or Windows.
2000 2005-01-12 Angus Leeming <leeming@lyx.org>
2002 * lyx_main.C (init): remove cruft that purports to set the locale
2003 dir. It doesn't and is not needed anyway.
2005 2005-01-10 Angus Leeming <leeming@lyx.org>
2007 * Makefile.am: remove the lyx_main.C special casing.
2009 * BufferView_pimpl.C:
2015 * messages.C: use support/package.h to provide the paths to the
2016 various directories used by LyX.
2018 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2020 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
2021 layout if pasting into an empty paragraph)
2023 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2025 * tex-accent.C: add <string>
2027 2005-01-06 José Matos <jamatos@lyx.org>
2029 * ParagraphParameters.C (write): put every parameter in its own line.
2030 * paragraph.C (write): reduce number of consecutive empty lines exported.
2031 * buffer.C (LYX_FORMAT): increase file format to 239.
2033 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2035 * everywhere: change support/tostr.h -> support/convert.h
2037 * tabular.C: make all write_attributes templates, tostr -> convert
2039 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
2040 (emptyTag): and -> &&, and fix type for ret from getChar
2041 (getFirstWord): fix type for ret from getChar
2042 (onlyText): and -> &&
2043 (simpleDocBookOnePar): and not -> && !, fix type for ret from
2046 * toc.C (goTo, action):
2047 * text3.C (dispatch):
2048 * text.C (currentState):
2049 * tex-accent.C (DoAccent):
2052 * lyxfunc.C (menuNew):
2053 * lyxfinc.C (replace):
2054 * counters.C (laberItem):
2055 * bufferview_funcs.C (font2string):
2056 * bufferparams.C (writeFile):
2057 * buffer.C (readFile):
2059 * MenuBackend.C: tostr -> convert
2061 * LaTeX.C (runMessage): fix format
2062 (scanAuxFiles): tostr -> convert
2064 * BufferView_pimpl.C (savePosition): fix format
2065 (restorePosition): ditto
2068 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2070 * Spacing.[Ch]: New method getValueAsString().
2074 * ParagraphParameters.C:
2077 * text3.C: store/read spacing value as string.
2079 * rowpainter.C: change float value (spacing_val) to double.
2081 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
2082 broken custom document spacing).
2084 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2086 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2087 namespace, also more use of temp references and const
2089 * cursor.[Ch] (getStatus): move to lyxfunc.C
2091 * bufferparams.C: reformat slightly
2093 * bufferview_funcs.C (font2string): constify arg
2099 * buffer_funcs.C: (many funcs): constify arg on function
2100 definitions, also make more local vars const, also add ASSERTS on
2103 * buffer.C (LYX_FORMAT): put const in correct place
2104 (many funcs): constify arg on function definitions, also make
2105 more local vars const
2107 * aspell_local.h: remove "struct" from typdef setup
2109 * aspell.C (check): make word_ok const
2110 (nextMiss): simplify slightly
2113 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2115 * lyxrc.[Ch]: store all float values as strings.
2116 use int (not float) for lyxrc.dpi.
2118 2005-01-04 Angus Leeming <leeming@lyx.org>
2120 * lyx_cb.C (Reconfigure):
2121 * lyx_main.C (queryUserLyXDir):
2122 to run the <system_lyxdir>/configure correctly on Windows, prefix
2123 the path to the script with "sh " when generating the string that
2124 is passed to system().
2126 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2128 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2130 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2132 * lyxlength.C (asLatexString): get rid of setprecision
2134 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2136 * text2.C (setLayout): remove unused variable endpit.
2137 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2139 * paragraph.C (onlyText): remove unused variable style.
2141 * cursor.C (bruteFind): remove unused variables beg and end.
2143 * Makefile.am (dist_noinset_DATA): not needed anymore
2145 * cheaders/*: remove.
2147 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2149 * text3.C: fix LFUN_MATH_MODE.
2151 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2153 * buffer_funcs.C (countWords): new function. Counts words between
2156 * BufferView_pimpl.C (getStatus, dispatch): handle
2159 * LyXAction.C (init):
2160 * lfuns.h: add LFUN_WORDS_COUNT.
2162 2004-12-19 Angus Leeming <leeming@lyx.org>
2164 * buffer.C (save): s/slashify_path/internal_path/.
2166 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2168 * lyxfind.C (findChange): do not search for end of pars, because
2169 the change tracker cannot handle this (fixes bug 1719).
2171 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
2173 * paragraph.[Ch] (autoBreakRows): remove
2175 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2177 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2178 avoid using the paragraph one
2180 * text2.C (LyXText, insertStringAsLines): adjust
2182 2004-12-16 Angus Leeming <leeming@lyx.org>
2186 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2188 2004-12-14 Angus Leeming <leeming@lyx.org>
2190 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2192 * bufferlist.C (emergencyWrite):
2193 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2196 2004-12-14 Angus Leeming <leeming@lyx.org>
2198 * main.C: (main): no longer pass pointers to os::init.
2200 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2202 * undo.C (textUndoOrRedo): simplify logic, fix a crash
2203 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2205 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2208 * text3.C: remove selection_possible global flag
2210 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2212 * text2.C (getSelectionSpan): remove
2213 (changeDepth, changeDepthAllowed): adjust
2215 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
2217 * Makefile.am (BOOST_LIBS): use boost variables
2219 2004-12-03 José Matos <jamatos@lyx.org>
2221 * buffer.C: format up to 238.
2223 2004-12-03 José Matos <jamatos@lyx.org>
2225 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2227 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2229 * cursor.C (goUpDown): remove call to idxUpDown2
2231 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2233 * tabular.[Ch]: use size_t-like types for cell, row and column
2236 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2238 * lyxfunc.C (getStatus): do not lose previous information when
2239 calling BufferView::getStatus; do not set a default "Command
2240 disabled" message at the beginning, but just before returning.
2242 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2244 * cursor.h (getStatus): add better comment from src/cursor.C
2246 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2248 * text3.C (getStatus): return false when the lfun is not handled
2250 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2252 * broken_headers.h: remove
2254 * Makefile.am (lyx_SOURCES): remove broken_headers.h
2256 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2258 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2259 offset_ref accessors
2261 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2262 top_y_, merge fitcursor with update
2263 (updateScrollbar, scrollDocView, fitCursor, center, update): new
2265 (metrics): introduce
2266 (workAreaDispatch): adapt to new coord scheme
2267 (redoCurrentBuffer): remove
2269 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2271 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2274 * coordcache.[Ch]: add paragraph cache and helpers
2276 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2279 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2280 (targetX, setTargetX): introduce
2282 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2283 baseline -> ascent, as the rest of lyx
2285 * lyxtext.h: remove redoParagraphs, updateParPositions,
2286 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2287 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2288 have ascent/descent (ascent is ascent of first par)
2290 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2293 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2295 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2297 * pariterator.C: fix infinite loop introduced in par->pit renaming
2299 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2300 in insets and LyXText, draw two off-screen paragraphs using
2301 NullPainter, and adapt to new coord scheme
2305 * text3.C: adapt lfun handlers to the new coord scheme, which
2306 means: there's only guaranteed coord information for onscreen pars
2307 plus one above and one below. This implies that one can do search
2308 from y coordinates in the range [-1,workHeight]
2310 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2312 * rename a lot of InsetOld to InsetBase
2314 2004-11-25 Angus Leeming <leeming@lyx.org>
2316 * BufferView_pimpl.C:
2318 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2320 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2322 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2323 call BufferView::getStatus if LCursor::getStatus did nothing
2324 (setStatusMessage, getStatusMessage): removed.
2326 * FuncStatus.C (message): new methods. Used to provide an error
2327 message indicating why a command is disabled.
2328 (clear, |=, FuncStatus): update for message.
2330 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2332 * lyxfunc.C (dispatch): always call sendDispatchMessage
2334 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2337 * BufferView_pimpl.C:
2342 * cursor_slice.[Ch]:
2345 * paragraph_funcs.C:
2351 * undo.C: par->pit renaming
2353 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2355 * tabular.C (cellstruct): use initialization, store a shared_ptr
2356 to insettext instead of the insettext directly, adjust to fit.
2357 (operator=): new function
2358 (swap): new function
2359 (rowstruct): use initialization
2360 (columnstruct): use initialization
2361 (ltType): use initialization
2364 * lyxlength.h (swap): new function
2366 * LColor.[Ch] (operator=): use the common semantics
2368 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2370 * lyxfind.C (findNextChange): update the bufferview after setting
2373 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2375 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2376 number of InsetOptArgs has already been inserted.
2378 * output_latex.C (latexOptArgInsets): new method. This outputs all
2379 the optarg insets, up to the limit defined in the layout file.
2380 (optArgInset): removed
2381 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2383 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2385 * paragraph.C (isLetter): remove special spellchecker-related
2386 code; return true also for digits
2387 (isWord, isKomma): remove
2389 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2390 * lyxfind.C (MatchString()): use isLetter instead of isWord
2392 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2394 * pariterator.h (operatir=): comment out un-implemented member
2397 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2400 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2402 * lyxfont.h: include LColor.h to satisfy concept checks.
2404 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2406 * pariterator.h: add typdefs for value_type, difference_type,
2407 pointer and reference to satisfy concept checks. Also add default
2408 constructor for same reason.
2410 * pariterator.C (operator++): add post-increment operator to
2411 satisfy concept checks.
2413 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2416 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2418 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2419 checks. Also rename base_type to BaseType to follow naming
2422 * FloatList.h: include Floating.h to satisfy concept checks.
2424 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2426 * lyxfunc.C (getStatus): when the origin of the request is menu or
2427 toolbar, and the LyXView does not have focus, do as if there was
2428 no buffer (bug 1720)
2430 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2431 FuncRequest to individual entries of LFUN_SEQUENCE
2433 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2435 * output_latex.C (TeXOnePar): override runparams.moving_arg
2436 according to the needprotect value of the current paragraph (bug
2439 * paragraph.C (simpleTeXOnePar): no need to override
2440 runparams.moving_args here
2442 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2444 * vspace.C: fix off-by-one-error, related to fix #1682
2446 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2448 * lengthcommon.C: a more general fix for bug 1682
2450 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2452 * text.C (backspace): fix crash
2454 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2456 * format.[Ch] (getFormatFromFile): new method
2457 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2459 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2461 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2463 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2465 * lyxfunc.C (dispatch): remove the verbose argument
2466 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2469 * kbmap.C (defkey): set the origin of func to KEYBOARD
2471 * MenuBackend.C (MenuItem):
2472 * ToolbarBackend.C (add): set the origin of func to UI
2474 * funcrequest.[Ch]: add origin member, which indicates which part
2475 of LyX requests an action
2477 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2479 * converter.C (move): don't lie in the error message
2480 * converter.h (isReachable, move): document
2482 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2484 * buffer.C: remove unused using lyx::support::atoi
2485 * paragraph_funcs.C: ditto
2487 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2489 * bufferlist.C (exists): use bind and equal_to instead of
2492 * lyxtextclasslist.C (NumberOfClass): ditto
2494 * cursor.C (insert): use for_each instead of explicit for loop
2496 * bufferlist.C (getFileNames): use std::transform and
2497 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2499 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2502 * buffer.C (changeLanguage): use for_each instead of explicit for
2504 (hasParWithID): implement using getParFromID
2506 * LaTeXFeatures.C: ws change only
2508 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2511 * BufferView_pimpl.C (trackChanges): use for_each instead of
2514 2004-11-04 André Pönitz <poenitz@gmx.net>
2517 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2519 * dociterator.C (asDocIterator): use hard assert again.
2521 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2523 * lyxlength.C (asLatexString): rewrite so that it does not use
2526 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2528 * text3.C (specialChar, dispatch): make sure cursor moves to the
2529 right after inserting an inset
2531 2004-11-02 José Matos <jamatos@lyx.org>
2533 * output_docbook.C (docbook):
2534 * paragraph.C (getID):
2535 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2536 garantee that the output is always legal.
2538 * tabular.C (docbook):
2539 * outputprams.[Ch]: remove mixed contents.
2541 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2543 * text2.C (setCounter): prevent endless loop
2545 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2547 * exporter.C (copyFile): use the mover instead of support::copy()
2548 * exporter.C (Export): pass format and latex name to copyFile()
2549 * exporter.h (addExternalFile): document
2550 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2552 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2554 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2556 2004-10-30 José Matos <jamatos@lyx.org>
2558 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2559 text and no inset or font change. This allows to use CDATA
2560 sections just for the whole paragraph.
2562 2004-10-30 José Matos <jamatos@lyx.org>
2564 * paragraph.C (getFirstWord): remove unused variable.
2566 2004-10-30 José Matos <jamatos@lyx.org>
2568 * paragraph.C (getFirstWord): the content should always be escaped
2570 (simpleDocBookOnePar):
2571 * output_docbook.C (makeEnvironment): replace reference to CDATA
2574 2004-10-30 José Matos <jamatos@lyx.org>
2576 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2578 2004-10-30 José Matos <jamatos@lyx.org>
2580 * output_docbook.C (makeParagraphs):
2581 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2582 standard paragraph has only a given type of content drop the wrapper.
2584 2004-10-29 José Matos <jamatos@lyx.org>
2586 * output_docbook.C (makeEnvironment):
2588 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2590 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2592 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2593 (cleanID): sanitize any id.
2595 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2597 * buffer.C, lyxlex_pimpl.C:
2598 * lyxlex_pimpl.C (setFile):
2599 s/getExtFromContents/getFormatFromContents/
2601 2004-10-28 José Matos <jamatos@lyx.org>
2603 * output_docbook.C (makeEnvironment): move id to broadest possible
2606 * sgml.C (openTag): apply substitution of <> for all attributes.
2608 2004-10-28 José Matos <jamatos@lyx.org>
2610 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2611 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2612 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2614 * sgml.[Ch]: new version for open and closeTag for paragraph and
2615 for strings. Now they handle the ids of paragraphs.
2617 2004-10-26 Angus Leeming <leeming@lyx.org>
2619 * Makefile.am: add mover.[Ch].
2621 * converter.C (convert, move): use the new Movers to move external
2622 files to the temp directory.
2624 * lyx_main.C (init): ensure that the global system_movers data
2627 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2630 * mover.[Ch]: new files, defining a Mover as a utility to move an
2631 external file between directories and, if necessary, manipulate this
2632 file using a helper script.
2634 2004-10-25 José Matos <jamatos@lyx.org>
2636 * output_docbook.C (makeCommand): merge two if's that tested the
2639 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2641 * sgml.C (escapeString): fix warning in a better way
2643 2004-10-25 José Matos <jamatos@lyx.org>
2645 * sgml.C (escapeString): import the require boosts header file for
2646 tie, and avoid a signed unsigned comparison.
2648 2004-10-25 José Matos <jamatos@lyx.org>
2650 * sgml.h: add #include <string>
2652 2004-10-25 José Matos <jamatos@lyx.org>
2654 * sgml.[Ch] (escapeString): new function to escape all the string.
2656 2004-10-24 José Matos <jamatos@lyx.org>
2658 * paragraph.[Ch] (getFirstWord): new function to get the first
2659 word. Useful for description.
2660 (simpleDocBookOnePar): remove depth argument, add another that
2661 says where to start the paragraph.
2663 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2664 use the new functions to fix cleanly the support for descriptions.
2666 2004-10-24 José Matos <jamatos@lyx.org>
2668 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2669 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2670 * output_linuxdoc.C (linuxdocParagraphs):
2671 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2672 add buffer as argument.
2674 2004-10-24 José Matos <jamatos@lyx.org>
2676 * output_docbook.C (makeEnvironment, searchEnvironment): place
2677 CDATA inside paragraphs and fix scope for listitems.
2679 2004-10-24 José Matos <jamatos@lyx.org>
2681 * output_docbook.C: remove using statement for stack.
2683 2004-10-23 José Matos <jamatos@lyx.org>
2685 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2686 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2687 docbook. The new scheme is recursive and makes use of iterators, the
2688 same as latex export works.
2689 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2690 directly with the paragraph contents. This code was moved up to
2691 output_docbook.C (docbookParagraphs).
2692 * sgml.C (openTag, closeTag): removed unneeded newlines.
2693 (closeEnvTags) removed.
2695 2004-10-23 André Pönitz <poenitz@gmx.net>
2697 * undo.C (textUndoOrRedo):
2698 * dociterator.C (asDocIterator): work around crash
2700 * cursor.C (getStatus): replace ASSERT by more verbose error message
2701 and manual correction of the problem. Should increase stability
2702 while providing more sensible information.
2704 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2706 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2708 * bufferlist.C (previous, next): new methods
2711 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2713 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2715 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2716 entities to preamble.
2718 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2720 * messages.C (Pimpl): strip off translation context information
2722 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2724 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2725 the cursor is correct (bug 1694)
2727 2004-10-13 José Matos <jamatos@lyx.org>
2729 * output_docbook.C (docbookParagraphs): fix closing tags in the
2730 end of the document.
2732 2004-10-09 José Matos <jamatos@lyx.org>
2734 * buffer.C: format up to 237.
2735 * bufferparams.C (write): use tostr to convert booleans to strings.
2737 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2739 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2741 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2743 * LaTeX.C: implement use of babel language in xindy.
2745 2004-10-05 José Matos <jamatos@lyx.org>
2747 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2748 Add new translators to help reading and writing the lyx file.
2750 2004-10-05 José Matos <jamatos@lyx.org>
2752 * ParagraphParameters.C (read):
2753 * text.C (readParToken): replace nexToken by more appropriate lex
2756 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2758 * LaTeX.C (runMakeIndex):
2759 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2760 (usually 'makeindex') configurable.
2762 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2763 with a variable rather than with a number.
2765 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2767 * output_latex.C (TeXOnePar): make sure font setting is the first
2768 thing that gets output (and the last at the end). Should fix bug
2771 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2773 * pch.h: use proper signal include
2775 * LaTeX.h: Use preferred calling of Boost.Signal
2778 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2780 * pch.h: dont include <boost/function/function0.hpp>
2782 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2784 * paragraph_pimpl.h: remove usage of ShareContainer
2786 * paragraph_pimpl.C: remove initialization of ShareContainer.
2788 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2792 * BufferView.C (putSelectionAt): change the semantics when
2793 backwards == true: now, this just swaps cursor and anchor wrt the
2796 * BufferView.h (putSelectionAt): add some documentation
2798 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2799 make sure backwardChar is done at least once (to avoid getting
2801 (findNextChange): use putSelectionAt in the forward direction
2802 (operator()): use Paragraph::isWord
2804 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2806 * Spacing.C (set): c_str fix
2808 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2810 * lyx_cb.C (Reconfigure): quote the name of configure script in
2811 case it contains spaces
2813 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2817 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2818 (BOOST_LIBS): use top_buildir when looking for the file
2820 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2822 * pch.h: do not use include boost/format.hpp, multiple symbols
2823 will result (gcc bug)
2826 2004-08-23 José Matos <jamatos@lyx.org>
2828 * bufferparams.C (readToken): fix reading of the author field.
2830 2004-08-20 José Matos <jamatos@lyx.org>
2832 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2834 2004-08-20 José Matos <jamatos@lyx.org>
2836 * lyxlex.[Ch] (findToken): remove function.
2838 * ParagraphParameters.C (findToken):
2839 * bufferparams.C (findToken): replace call for previous function
2840 with local copy. This local function has one more argument, the
2841 read string argument.
2843 2004-08-16 José Matos <jamatos@lyx.org>
2845 * ParagraphParameters.C (write):
2846 * Spacing.C (writeFile):
2847 * bufferparams.C (writeLaTeX):
2848 * lyx_cb.C (Reconfigure):
2849 * paragraph.C (write):
2850 * tabular.C (write): remove unnecessary space at end of line.
2853 2004-08-16 José Matos <jamatos@lyx.org>
2855 * text.C (readParagraph): remove debug message.
2857 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2859 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2862 * output_plaintext.C (asciiParagraph): set depth correctly
2864 * outputparams.h: add member depth
2866 * paragraph_funcs.C (ownerPar): remove.
2868 * text2.C (setCounter): remove first_pit; comment out some
2869 non-working code that uses ownerPar
2871 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2874 2004-08-16 José Matos <jamatos@lyx.org>
2876 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2877 For the same level of importance use the same chanel to report problems.
2878 (read): add code to deal with \begin_body and \end_body.
2881 2004-08-15 José Matos <jamatos@lyx.org>
2883 * lyxlex.C (getString): fix comment, buffer::readBody is now
2884 buffer:readDocument.
2886 * tex-strings.C (string_papersize): Default -> default,
2887 Custom -> custom, for consistency with other options.
2889 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2893 * Makefile.am: support pch
2895 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2897 * text.C (readParToken): remove the static LyXFont variable and
2898 pass it as a parameter instead. This fixes a nasty bug where an
2899 inset will be inserted with a bad font in some situations
2900 (readParagraph): adapt
2902 * text2.C (setCounter): reduce number of calls to pars_[pit]
2904 * text.C (singleWidth): add an assert, fix a test
2906 * rowpainter.C (paintText): reduce number of calls to singleWidth
2908 * paragraph.C (isHfill):
2909 (isNewline): ws only
2911 2004-08-14 André Pönitz <poenitz@gmx.net>
2916 * lyxtext.h (several functions): use a Paragraph & argument
2919 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2921 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2923 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2925 * text.C (singleWidth): remove useless test
2927 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2929 * tabular.h: remove bogus comments
2931 * tabular.C (getDescentOfRow):
2932 (isPartOfMultiColumn): add assertions
2934 * lyxlength.C (inPixels): remove #warning
2936 2004-08-14 André Pönitz <poenitz@gmx.net>
2938 * paragraph.h: inline getChar()
2940 * BufferView.h: remove unused declarations
2942 2004-08-14 José Matos <jamatos@lyx.org>
2944 * Buffer.[Ch] (readDocument): new name for old readBody.
2945 * Buffer.C: new file format, new keywords: \begin_document,
2946 \begin_header, \begin_body, \end_body.
2948 * bufferparams.C (readToken): replace all calls to lex.nextToken
2949 by lex.next(). Do the same to eatLine except where really needed.
2951 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2952 line when writing to the lyx file.
2954 * output_plaintext.C (asciiParagraph): fix Bibliography style
2957 * text.C (read): fix end of file handling.
2959 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2961 * MenuBackend.C (Menu::operator[]): new method to access
2962 individual menu items
2963 (Menu::hasFunc): new method. search for an item that corresponds
2965 (MenuBackend::specialMenu): new method
2966 (MenuBackend::expand): if a special menu has been set, skip
2967 entries whose func() appears in this menu
2969 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2971 * text3.C: use Debug::DEBUG a bit more
2973 * text.C (leftMargin): try to simplify a tiny bit change var x to
2974 l_margin. Dont output the wide margins always.
2975 (rightMargin): no margin in inner texts
2977 * rowpainter.h (nestMargin): new func
2978 (changebarMargin): new func
2979 (rightMargin): new func
2981 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2985 * factory.C (createInset): modify setDrawFrame
2987 * cursor.C: use Debug::DEBUG a bit more
2989 2004-08-14 André Pönitz <poenitz@gmx.net>
2992 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2993 cache for all insets in (at least partially) visible (top-level)
2996 * BufferView_pimpl.C: reset external coord cache before every update.
2997 This means the coord cache only contains valid entries.
2999 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
3002 * BufferView_pimpl.C (getInsetByCode): move function out of class
3003 and change in to a template in anon namespace. Also fix to do what
3006 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
3009 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
3011 (breakParagraph): rename par to par_offset and use a local
3012 reference. Add code to keep the language over a rebreak.
3013 (breakParagraphConservative): rename par to par_offset, use a
3015 (mergeParagraph): ditto
3017 (isFirstInSequence): ditto
3018 (outerFont): rename pit to par_offset
3020 * paragraph.C: ws change
3021 * paragraph.h: ditto
3025 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3027 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
3030 * paragraph.C (simpleTeXOnePar): when we have a \item with
3031 optional argument, enclose the argument with curly brackets (in
3032 case it contains a closing square bracket)
3036 * text3.C (checkInsetHit): constify
3038 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3040 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
3041 documents (bug 1629)
3043 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3045 Fix toggling of collapsable insets with the mouse (bug 1558)
3047 * lyxfunc.C (dispatch): adapt to LCursor changes
3049 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
3050 make sure that dispatch is not invoked twice
3052 * cursor.C (needsUpdate): new method
3053 (dispatch): return void
3054 (result): new method, to access the DispatchResult of the cursor.
3056 2004-08-13 José Matos <jamatos@lyx.org>
3058 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
3060 2004-08-13 André Pönitz <poenitz@gmx.net>
3062 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
3064 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
3067 2004-08-12 André Pönitz <poenitz@gmx.net>
3069 * text3.C: take out the 'cursor right' form insertInset and only
3070 do it in those places when it is really needed. Fixes crash on
3073 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3075 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
3077 * BufferView_pimpl.C (setBuffer): initialize the current font of
3078 the underlying LyXText
3080 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3082 * kbsequence.C (print): use UI native formatting for menu
3085 * text.C (insertChar): call Paragraph::insertChar with a font
3088 * paragraph.C (insertInset, insertChar): the version that takes a
3089 LyXFont argument is now a wrapper around the other one (the
3090 opposite used to be true).
3092 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3093 argument. Font setting is done in Paragraph now.
3095 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3097 * outputparams.h: add new members intitle and lang.
3099 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3100 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3102 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3104 * text3.C (dispatch): remove special handling of button 4 and 5,
3105 it is now taken care of in the frontend code.
3107 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3109 * Spacing.h: add <string> (STLPort compile fix)
3111 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3113 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3115 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3117 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3120 * converter.C (showMessage): inherit from unary_function, make
3123 * buffer.C (writeFile): initialize retval
3125 * InsetList.h: rename private variable list to list_
3126 * InsetList.[Ch]: adjust accordingly.
3128 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3130 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3131 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3132 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3133 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3134 * ParagraphParameters.C, LaTeXFeatures.C: replace
3135 "support/std_sstream.h" with <sstream>
3137 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3139 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3140 * lyxsocket.C (LyXServerSocket): ditto
3141 (serverCallback): ditto
3143 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3145 * LaTeXFeatures.C: check release date when loading jurabib.
3147 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3149 * lyxserver.C (startPipe): call register_socket_callback
3150 (endPipe): call unregister_socket_callback
3152 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3154 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3155 (LyXServerSocket): register the callback
3156 (LyXServerSocket): unregister the callback
3157 (fd): delete function
3158 (serverCallback): improve error checking and setup the callbacks.
3159 (dataCallback): change arg to fd.
3160 (writeln): new func (copied fro the client socket) used for server
3162 (LyXDataSocket): simplify
3163 (~LyXDataSocket): close ann unregiser callback
3164 (server): delete function
3165 (fd): delete function
3166 (readln): small changes, improve some std::string usage
3167 (writeln): constify a bit
3169 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3171 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3174 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3176 * BufferView_pimpl.C (setBuffer): set the layout combox value only
3177 after it has been populated
3179 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3181 * text2.C (insertInset): move cursor when inserting inset.
3183 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3185 * kbmap.C (findbindings): a couple of new methods. returns a
3186 container of kb_sequence objects. The real work is done by the
3187 private recursive version
3188 (printbindings): uses findbindings to print out a bracketed list
3189 of bindings (renamed from findbinding).
3191 * MenuBackend.C (binding): use kb_keymap::findbindings
3193 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3195 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3197 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3199 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3201 * paragraph.C (isWord): return true on insets that report
3204 * text.C (getWord): use Paragraph::isWord to decide what is in a
3205 word and what is not; fix bug 1609.
3207 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3209 * tex-strings.C: add "none" to string_paperpackages[], fixes
3210 off-by-one-error in the paperpackage selection.
3213 * tex-strings.[Ch]: char const * string[n]
3214 -> char const * const string[]
3216 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3218 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3219 command, return early.
3221 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3223 * debug.h: add DEBUG to enum and fix size of ANY.
3225 * debug.C: add support for Debug::DEBUG
3226 (showTags): cast errorTags.level to unsigned int
3228 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3229 (redoCurrentBuffer): ditto
3230 (updateScrollbar): ditto
3231 * cursor.C (dispatch): ditto
3232 * text2.C (setLayout): ditto
3234 (updateCounters): ditto
3236 (deleteEmptyParagraphMechanism): ditto
3238 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3240 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3241 annotations to cleanup the Makefile slightly.
3243 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3245 * lyxrc.C: do not set user_email to a default value but use empty
3246 instead. The entry used to be translated, which does not work
3247 since at the point where lyxrc is constructed there is no
3248 translation service available
3250 * messages.C (getLocaleDir): remove and use directly
3251 lyx_localedir() instead
3253 2004-06-02 Angus Leeming <leeming@lyx.org>
3255 Fix crash caused by dereferencing null pointer 'exportdata' in
3256 OutputParams by creating a new ExportData variable on the heap,
3257 storing it in a boost::shared_ptr.
3258 The crash was triggered when generating an Instant Preview
3259 of an external inset.
3261 * Makefile.am: add outputparams.C
3263 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3264 (c-tor): allocate memory to it.
3266 * exporter.C (c-tor): associated changes.
3268 2004-06-01 Angus Leeming <leeming@lyx.org>
3270 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3271 contains data before calling isInset(0). (Bug 1513.)
3273 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3275 * exporter.C (checkOverwrite): new method
3276 * exporter.C (copyFile): new method
3277 * exporter.C (Export): copy referenced files to the document dir
3278 * exporter.[Ch]: new class ExportedFile
3279 * exporter.[Ch]: new class ExportData. Contains currently the
3280 names of referenced external files
3281 * outputparams.h: add exportdata member.
3283 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3285 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3288 2004-05-19 Angus Leeming <leeming@lyx.org>
3293 * lyxfunc.C: small changes due to the introduction of namespace
3294 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3296 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3298 * text3.C (dispatch): supress update when only moving the cursor
3299 * cursor.C (selHandle): remove commented code
3301 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3303 * paragraph.C (startTeXParParams): correct column count
3304 * CutAndPaste.C (pasteSelection): remove const_cast
3305 * output_docbook.C (docbookParagraphs): remove const_cast
3306 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3307 const_cast and return ParagraphList::const_iterator
3308 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3309 * output_plaintext.C (writeFileAscii): remove const_cast
3310 * paragraph.[Ch] (simpleTeXOnePar): make const
3311 * paragraph_funcs.C (outerPar): use const iterators
3312 * paragraph_pimpl.C (validate): use const iterators
3313 * text.C (setHeightOfRow): use const iterators
3315 2004-05-17 Angus Leeming <leeming@lyx.org>
3318 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3320 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3321 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3322 if the citation engine has changed.
3324 2004-05-14 José Matos <jamatos@lyx.org>
3326 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3327 if the textclass does not provide it. Have it different for sgml and
3329 support the language of document.
3330 * output_docbook.C (docbookParagraphs):
3331 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3332 first anchor as the id of the paragraph, remove special case code.
3333 * sgml.C (escapeChar): escape only < & >.
3335 2004-05-14 Angus Leeming <leeming@lyx.org>
3337 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3338 dependencies on src/frontends/controllers/biblio.h. Define a
3339 CiteEngine_enum wrapper class to enable the enum to be forward
3342 2004-05-12 Angus Leeming <leeming@lyx.org>
3344 * buffer.C: up LYX_FORMAT to 234.
3345 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3346 use_numerical_citations with a single biblio::CiteEngine cite_engine
3348 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3350 2004-05-13 José Matos <jamatos@lyx.org>
3353 * converter.C (Converter, readFlags): add xml member.
3354 * outputparams.h: add XML flavor.
3355 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3357 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3359 * lyxfunc.C (dispatch):
3360 (getStatus): fix handling of LFUN_SEQUENCE
3362 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3364 * debug.C (showLevel): do not forget the end-of-line marker
3366 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3368 * kbmap.C (read): do not stop parsing a bind file when an error
3371 2004-04-29 Angus Leeming <leeming@lyx.org>
3376 * text2.C: wrap a bunch of #warning statements
3377 inside #ifdef WITH_WARNINGS blocks.
3379 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3381 * buffer.C: increment format to 233.
3383 2004-04-28 Angus Leeming <leeming@lyx.org>
3385 * BufferView_pimpl.C:
3388 s/updateToolbar()/updateToolbars()/
3389 s/Toolbar.h/Toolbars.h/
3391 2004-04-28 Angus Leeming <leeming@lyx.org>
3393 * BufferView.[Ch] (c-tor):
3394 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3395 No longer passes these data to the WorkArea generator.
3397 2004-04-28 Angus Leeming <leeming@lyx.org>
3399 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3401 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3403 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3405 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3407 * output_latex.C (TeXEnvironment): make sure that there is a line
3408 break before \end{foo} for the last paragraph of a document
3409 (TeXOnePar): if the paragraph is at the end of the document (or
3410 inset) and the language has to be reset, then make sure that the
3411 line break is _before_ the language command, not after (fixes bug
3412 1225); also make sure that the language reset command is the first
3413 thing after the paragraph (to ensure proper nesting of
3414 environments and thus fix bug 1404)
3416 2004-04-21 John Levon <levon@movementarian.org>
3419 * ToolbarBackend.C: make "name" be a programmatic name
3420 and a gui_name field.
3422 * lyxfunc.C: display the minibuffer on M-x
3424 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3426 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3429 2004-04-19 Angus Leeming <leeming@lyx.org>
3431 * BufferView_pimpl.C (setBuffer): changed preview interface.
3433 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3436 2004-04-19 John Levon <levon@movementarian.org>
3438 * BufferView_pimpl.C:
3439 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3441 2004-04-05 Angus Leeming <leeming@lyx.org>
3443 * text.C (redoParagraphs): add call to updateCounters(), thereby
3444 fixing the missing "Figure #:" label from the caption of a
3447 2004-04-13 Angus Leeming <leeming@lyx.org>
3449 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3450 cursor is clicked out of an inset.
3452 2004-04-13 Angus Leeming <leeming@lyx.org>
3454 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3455 than an InsetOld one.
3457 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3459 * format.[Ch]: add editor to Format
3460 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3461 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3463 2004-04-08 André Pönitz <poenitz@gmx.net>
3465 * metricsinfo.h: remove PainterInfo::width member
3467 2004-04-08 Angus Leeming <leeming@lyx.org>
3469 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3470 "\providecommand" rather than "\newcommand", thereby preventing
3471 clashes with packages that define "\boldsymbol" themselves.
3474 2004-04-08 Angus Leeming <leeming@lyx.org>
3476 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3477 thereby squashing an unnecessary warning.
3479 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3481 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3484 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3486 * BufferView.C (setCursor): call redoParagraph (some insets could
3488 (putSelectionAt): remove the 'double update' trick
3490 * BufferView_pimpl.C (fitCursor): call refreshPar
3491 (workAreaDispatch): remove an uneeded update call
3492 (dispatch): remove some manual update calls
3494 * cursor.[Ch]: remove cached_y_, updatePos
3495 (selHandle): set noUpdate when appropriate
3497 * lyxfunc.C (dispatch): track if we need an update
3499 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3501 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3502 (paintSelection): cheap optimization, do not call cursorX when not
3504 (paintPars): change signature
3507 (paintTextInset): adjust
3511 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3513 * lengthcommon.C: compilation fix: remove explicit array size from
3514 unit_name[] and friends
3516 2004-04-05 Angus Leeming <leeming@lyx.org>
3518 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3520 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3521 present only for the preferences dialog.
3522 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3524 2004-04-05 Angus Leeming <leeming@lyx.org>
3526 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3527 to enable the frontends to export changes to lyxrc correctly.
3529 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3531 2004-04-07 André Pönitz <poenitz@gmx.net>
3533 * cursor.[Ch] (selClear, adjust): remove math
3535 * cursor_slice.C: more agressive assert
3538 * BufferView_pimpl.C: rework mouse event dispatch
3545 2004-04-05 André Pönitz <poenitz@gmx.net>
3547 * cursor.[Ch] (valign, halign...): remove unneeded functions
3549 2004-04-05 Angus Leeming <leeming@lyx.org>
3551 * lyxlength.[Ch] (unit_name et al.): const-correct.
3553 2004-04-05 Angus Leeming <leeming@lyx.org>
3555 * BufferView_pimpl.C:
3564 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3566 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3568 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3570 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3572 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3573 * BufferView_pimpl.[Ch] (getStatus)
3574 * BufferView.[Ch] (getStatus): add
3575 * lyxfunc.C (getStatus): move lfuns handled in
3576 BufferView::dispatch to te function above
3577 * Cursor.C (setSelection): set selection() = true
3579 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3581 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3583 2004-03-31 Angus Leeming <leeming@lyx.org>
3585 * lyxfunc.C (dispatch): Fall through to the generic
3586 Dialogs::show("preamble").
3588 2004-03-31 Angus Leeming <leeming@lyx.org>
3590 * lyxfunc.C (dispatch): Fall through to the generic
3591 Dialogs::show("spellchecker").
3593 2004-03-31 Angus Leeming <leeming@lyx.org>
3595 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3598 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3603 * insetiterator.[Ch]:
3608 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3610 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3612 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3613 insets where we are putting the cursor.
3615 2004-03-31 Angus Leeming <leeming@lyx.org>
3618 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3620 * lyxrc.[Ch] (read, write): overloaded member functions taking
3621 a std::[io]stream arguments.
3623 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3625 2004-03-31 Angus Leeming <leeming@lyx.org>
3627 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3628 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3630 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3631 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3633 2004-03-31 Angus Leeming <leeming@lyx.org>
3635 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3636 the LFUN_ALL_INSETS_TOGGLE code.
3638 2004-03-30 Angus Leeming <leeming@lyx.org>
3640 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3641 has died. Fall through to the generic Dialogs::show("document").
3643 2004-03-30 Angus Leeming <leeming@lyx.org>
3646 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3647 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3649 * lyxfunc.C (getStatus, dispatch): define the actions for these
3650 lfuns. Little more than a cut and pste job from ControlDocument.C
3652 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3654 2004-03-30 Angus Leeming <leeming@lyx.org>
3657 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3658 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3660 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3661 open/closed state of ollapsable insets. Usage:
3663 all-inset-toggle <state> <name>, where
3664 <state> == "open" || "closed" || "toggle" and
3665 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3667 * lyxtext.h, text2.C (toggleInset): removed.
3669 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3670 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3671 now passes LFUN_INSET_TOGGLE to the found inset.
3673 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3674 is now invoked as "all-insets-toggle toggle branch".
3676 2004-03-30 Angus Leeming <leeming@lyx.org>
3680 * pariterator.[Ch]: added/corrected header blurb.
3682 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3684 * dociterator.[Ch]: add an inset_ member
3685 (backwardPos): implemented
3686 (backwardPos, forwardPos): use inset_ when the stack is empty.
3687 (doc_iterator_begin, doc_iterator_end): implemented
3688 * pariterator.[Ch]: adjust, add begin, end
3689 * insetiterator.[Ch]: adjust, add begin, end
3693 * BufferView_pimpl.C:
3694 * CutAndPaste.C: adjust
3696 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3698 * buffer.C: increment file format to 232.
3699 * LaTeXFeatures.C: add bibtopic package.
3700 * bufferparams.[Ch]: param \use_bibtopic.
3702 * lyxrc.[Ch]: add lyxrc bibtex_command
3703 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3705 * buffer.C: increment file format to 231.
3707 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3709 * dociterator.C: implement forwardPar
3710 * iterators.[Ch]: remove, replaced by
3711 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3713 * BufferView_pimpl.C:
3716 * bufferview_funcs.C:
3722 * Makefile.am: adjust
3724 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3726 * CutAndPaste.C (pasteSelection): fix 2 crashes
3727 (eraseSelection): fix a crash
3728 * paragraph_funcs.C: remove a warning
3730 2004-03-28 Angus Leeming <leeming@lyx.org>
3733 * LyXAction.C (init): new LFUN_PRINT.
3735 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3737 2004-03-27 Angus Leeming <leeming@lyx.org>
3740 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3742 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3744 2004-03-27 Angus Leeming <leeming@lyx.org>
3746 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3747 insetlist always contains non-null pointers to insets.
3749 2004-03-26 Angus Leeming <leeming@lyx.org>
3751 * src/BufferView_pimpl.C:
3752 * src/CutAndPaste.C:
3755 * src/output_plaintext.C:
3756 * src/outputparams.h:
3757 * src/paragraph_funcs.C:
3761 * src/frontends/controllers/ControlErrorList.C:
3762 * src/frontends/gtk/FileDialogPrivate.C:
3763 * src/frontends/gtk/GPainter.C:
3764 * src/frontends/gtk/GToolbar.C:
3765 * src/frontends/qt2/QRef.C:
3766 * src/mathed/math_scriptinset.C: squash compiler warnings.
3768 2004-03-26 Angus Leeming <leeming@lyx.org>
3770 * ispell.C (LaunchIspell::start):
3771 * lyx_cb.C (AutoSaveBuffer::start):
3772 invoke run(DontWait) rather than runNonBlocking().
3774 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3776 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3778 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3780 * kbsequence.C (print): adjust
3782 * kbmap.C (printKeySym): rename and change signature
3783 (printKey): use LyXKeySym::print()
3785 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3787 * undo.C: add using std::advance to compile for stlport
3789 2004-03-24 Angus Leeming <leeming@lyx.org>
3791 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3792 it leads to a crash when no buffer is present.
3794 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3795 Martin Vermeer <martin.vermeer@hut.fi>
3797 * lyxfunc.C (dispatch):
3798 * bufferparams.C (readToken): use the new LColor::setColor
3800 * LColor.[Ch] (setColor): new version that takes two strings as
3801 argument and creates a new color entry if necessary
3803 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3805 * buffer.C (makeLaTeXFile): if the main latex file that is
3806 processed is usually a subdocument of some master, then pretend
3807 for a while that it is actually the master
3809 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3811 * buffer.C (getLabelList):
3812 (getBibkeyList): use getMasterBuffer()
3813 (getMasterBuffer): new method. Returns the main document in the
3814 case where one is using included documents.
3816 2004-03-25 André Pönitz <poenitz@gmx.net>
3820 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3822 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3824 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3825 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3827 * ParameterStruct.h: merge with ParagraphParameters
3829 * lyxtext.h: remove LyXText::parOffset() and getPar()
3831 * text3.C: Remove all 'manual' update calls. We do now one per user
3832 interaction which is completely sufficient.
3836 * BufferView_pimpl.C:
3837 * FontIterator.[Ch]:
3839 * ParagraphParameters.[Ch]:
3844 * cursor_slice.[Ch]:
3851 * output_docbook.[Ch]:
3852 * output_latex.[Ch]:
3853 * output_linuxdoc.[Ch]:
3854 * output_plaintext.[Ch]:
3856 * paragraph_funcs.[Ch]:
3857 * paragraph_pimpl.[Ch]:
3865 * frontends/controllers/ControlDocument.C:
3866 * frontends/controllers/ControlErrorList.C:
3867 * frontends/controllers/ControlSpellchecker.C:
3870 * insets/insetbase.h:
3871 * insets/insetbibitem.C:
3872 * insets/insetbox.C:
3873 * insets/insetbranch.C:
3874 * insets/insetcaption.C:
3875 * insets/insetcharstyle.C:
3876 * insets/insetcharstyle.h:
3877 * insets/insetcollapsable.C:
3878 * insets/insetcollapsable.h:
3879 * insets/insetert.C:
3880 * insets/insetfloat.C:
3881 * insets/insetfoot.C:
3882 * insets/insetmarginal.C:
3883 * insets/insetnote.C:
3884 * insets/insetoptarg.C:
3885 * insets/insettabular.C:
3886 * insets/insettext.C:
3887 * insets/insettext.h:
3888 * insets/insetwrap.C:
3889 * mathed/math_mboxinset.C:
3890 * mathed/math_nestinset.C:
3891 * mathed/math_scriptinset.C:
3892 * mathed/math_scriptinset.h:
3895 2004-03-24 Angus Leeming <leeming@lyx.org>
3897 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3898 deal with any child processes that have finished but are waiting to
3899 communicate this fact to the rest of LyX.
3901 2004-03-24 Angus Leeming <leeming@lyx.org>
3903 64-bit compile fixes.
3905 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3906 (c-tor): pass lyx::pos_types rather than ints.
3908 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3911 * text.C (Delete): compile fix.
3912 (getPar): ensure that function declaration is the same as that in
3915 2004-03-23 Angus Leeming <leeming@lyx.org>
3917 * ispell.C (LaunchIspell):
3918 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3919 a boost::shred_ptr rather than a std::auto_ptr.
3921 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3923 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3924 handle LFUN_FILE_INSERT_*
3926 * lyxrc.C (setDefaults, getDescription, output, read):
3927 * lyxrc.h: remove ps_command
3929 2004-03-22 Angus Leeming <leeming@lyx.org>
3931 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3932 Ensure that error_handler is processed once only and that all data
3933 is saved before attempting to output any warning messages.
3935 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3937 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3939 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3941 2004-03-19 André Pönitz <poenitz@gmx.net>
3943 * cursor.[Ch] (reset): take main text inset as argument
3945 * BufferView: adjust
3946 * BufferView_pimpl.C: adjust
3948 * paragraph.[Ch]: fix completely broken operator=()
3950 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3952 * LColor.C (getFromLyXName): make sure that the color name is used
3955 2004-03-17 Angus Leeming <leeming@lyx.org>
3958 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3960 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3961 dialog and to kill a forked process.
3963 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3965 * text2.C (setCursorFromCoordinates): fix font problem
3967 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3969 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3970 bogus "rebuild cursor" code
3972 2004-03-11 André Pönitz <poenitz@gmx.net>
3974 * buffer.[Ch]: use InsetText instead of LyXText as container for
3977 * dociterator.[Ch]: drop the BufferView * member which is not needed
3978 anymore after the change to buffer.C
3980 * paragraph_funcs.C:
3984 * BufferView_pimpl.[Ch]:
3986 * cursor_slice.[Ch]: adjust
3988 * text3.C: fix bug in mathDispatch
3990 2004-03-08 André Pönitz <poenitz@gmx.net>
3992 * undo.[Ch]: use 'StableDocumentIterator' as base for
3995 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3998 * bufferparams.[Ch]: add jurabib support and param.
4000 * LaTeX.C: add FIXME/comment.
4002 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4004 * buffer.C: increment file format to 230.
4006 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
4008 * cursor.C (dispatch): avoid infinite loops
4010 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4012 * rowpainter.C (paintSelection): fix x coordinates
4014 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4016 * text.C (rowBreakPoint): fix breaking before displayed insets
4018 2004-03-01 André Pönitz <poenitz@gmx.net>
4020 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
4022 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
4026 * BufferView_pimpl.C:
4034 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4040 * BufferView_pimpl.C: rename textwidth -> maxwidth,
4041 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
4043 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4045 * Bidi.[Ch] (computeTables): const correctness
4046 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
4047 fill_hfill, fill_label_hfill and x from Row
4048 * lyxtext.h: prepareToPrint returns a RowMetrics
4049 * rowPainter.C: adjust
4050 * text.C (prepareToPrint): use width, not textWidth. adjust
4051 (redoParagraphInternal, cursorX): adjust
4052 * text2.C (getColumnNearX): adjust
4053 (init): put a default value to the top LyXText::width
4055 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4057 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
4059 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4061 * lyxtext.h: add FontIterator class
4063 * text.C (FontIterator, operator*, operator->, operator++): add
4064 (rowBreakPoint, setRowWidth): adjust (fixing a
4067 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4069 * BufferView_pimpl.C (workAreaDispatch): allow also
4070 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
4072 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
4074 * text.C (rowBreakPoint): fix a bug showing with very large insets
4076 2004-02-25 André Pönitz <poenitz@gmx.net>
4079 * cursor.[Ch]: move some mathed specific code to mathed
4081 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4083 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4084 use_tempdir in preferences
4085 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4087 * lyx_main.C: ensure that tempdir is valid
4088 * lyxlex.h: correct typo
4089 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4090 * paragraph.[Ch] (isMultiLingual): make const
4091 * cursor.[Ch] (openable): make const
4093 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4095 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4097 2004-02-20 André Pönitz <poenitz@gmx.net>
4099 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4101 * cursor.[Ch]: prepare for localized getStatus()
4107 * text3.C: streamlines the LyXText cursor movement handlers a bit.
4109 2004-02-20 André Pönitz <poenitz@gmx.net>
4111 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4113 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4115 * text2.C (setCursorFromCoordinates): switch to absolute coords
4117 (cursorDown): adjust
4118 * text3.C (dispatch): adjust
4120 2004-02-16 André Pönitz <poenitz@gmx.net>
4122 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4125 * cursor_slice.[Ch]: remove unneeded acessor function
4127 * lyxtext.h: rename rtl() to isRTL()
4135 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4137 * rowpainter.C (paintSelection): coord fix
4139 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4141 * Spacing.C: compile fix
4143 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4145 * cursor.C (dispatch): restore current_ before returning
4147 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4149 * text2.C (cursorUp, cursorDown): fix coords
4152 2004-02-12 André Pönitz <poenitz@gmx.net>
4157 * text3.C: add LCursor & parameter to most cursor movement functions
4158 remove usage of LyXText::cursorRow() and cursorPar()
4160 * cursor.[Ch]: add textRow() needed members
4163 * BufferView_pimpl.C:
4166 * BufferView_pimpl.C: adjust
4168 2004-02-11 André Pönitz <poenitz@gmx.net>
4172 * BufferView_pimpl.C: shift undo/redo handling
4174 * cursor.[Ch]: fix mathed crash
4177 * lyxtext.h: move selectionAsText to LCursor
4185 * rowpainter.C: fix excessive drawing
4187 2004-02-06 André Pönitz <poenitz@gmx.net>
4190 * BufferView_pimpl.[Ch]:
4191 * text3.C: move some text specific LFUN handling
4193 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
4195 * text3.C (checkInsetHit): adjust coords
4196 * text2.C (getColumnNearX): adjust coords
4197 (edit): adjust coords
4198 * text.C (getRowNearY): add two asserts
4200 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
4203 * format.C: add using std::distance to compile on gcc 2.95/stlport
4205 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
4207 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4209 2004-02-04 André Pönitz <poenitz@gmx.net>
4211 * BufferView.[Ch] (insertInset):
4212 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4217 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4219 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4220 on the default clause of the switch
4221 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4222 wasn't catched by LCursor::dispatch
4224 2004-02-03 André Pönitz <poenitz@gmx.net>
4227 * cursor.[Ch]: some additional asserts
4229 * undo.[Ch]: remove LyXText dependency in interface
4233 * lyxtext.h (firstPar, lastPar): remove dead functions
4238 * paragraph.[Ch]: adjust
4240 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4242 * lyxfind.C (find): fix argument order in call to ::find
4244 2004-02-02 André Pönitz <poenitz@gmx.net>
4246 * cursor.[Ch]: remove direct access to anchor
4248 * text.C: remove findText() hack
4250 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4252 * iterators.[Ch] (lockPath): remove in favour of...
4253 * BufferView.[Ch] (setCursor): this addition
4254 * BufferView.C (putSelectionAt): adjust
4255 * undo.C (performUndoOrRedo): adjust
4256 * lyxfunc.C (dispatch): adjust
4258 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4260 * iterators.C (lockPath): add a missing slice
4261 * undo.C (performUndoOrRedo): remove redundant positioning code
4263 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4265 * vc-backend.C (scanMaster): ";" -> ';'
4267 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4269 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4270 std::binary_function
4272 * lyxtextclass.C (compare_name): rename to...
4273 (LayoutNamesEqual): ...this
4275 * lyxlex_pimpl.C (compare_tags): inherit from
4276 std::binary_function, put back into anon namespace
4278 * lyxfind.C (MatchString): inherig from std::binary_function
4279 (findChange): use empty() istead of !size()
4281 * format.C (FormatNamesEqual): new functor
4288 * converter.C (compare_Converter): rename to...
4289 (ConverterEqual): ...this, and fixup a bit.
4290 (getConverter): use it, and make function const
4291 (getNumber): use it, and make function const
4295 * bufferlist.C: add using boost::bind
4297 * MenuBackend.C (MenuNamesEqual): new functor
4298 (hasMenu): use it, and make function const
4299 (hasSubmenu): use nested bind to get rid of compare_memfun.
4301 2004-01-30 André Pönitz <poenitz@gmx.net>
4303 * BufferView_pimpl.C:
4306 * cursor_slice.[Ch]:
4309 * paragraph_funcs.C:
4310 * paragraph_funcs.h:
4314 * text3.C: move some of the edit(x,y) handling to the insets
4315 some coordinate changes.
4317 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4319 * text.C: add using statements for std::advance and std::distance
4321 * paragraph.C: add using statement for std::distance
4323 * lyxfind.C: add using statement for std::advance
4325 * cursor.C (region): remove std:: from swap
4326 (openable): use nucleus in stead of operator->
4328 * BufferView.C: add using statements for std::distance and std::swap
4330 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4332 * iterators.C: Remove the pimple, move the needed structures to
4333 the header file. Create accessor for the positions stack.
4334 (asPosIterator): remove function
4336 * PosIterator.C (PosIterator): move constructors to top of file
4337 (PosIterator): reimplement the constructor taking a ParIterator in
4339 (setFrom): new function
4340 (operator!=): inline it
4342 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4344 * lyxfind.C (replaceAll): use std::advance
4346 * iterators.h: inherit from std::iterator.
4348 * PosIterator.C (advance, distance): remove
4349 * PosIterator.h: interit from std::iterator.
4351 2004-01-26 André Pönitz <poenitz@gmx.net>
4354 * BufferView_pimpl.[Ch]:
4358 * bufferview_funcs.C:
4368 * output_linuxdoc.C:
4369 * output_plaintext.C:
4371 * paragraph_funcs.[Ch]:
4372 * paragraph_pimpl.[Ch]:
4378 * text3.C: more IU: dumps most of the rest of the mathcursor
4379 implementation into cursor.[Ch]; "globalize" a bit of it.
4381 2004-01-25 Angus Leeming <leeming@lyx.org>
4383 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4385 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4387 * LaTeXFeatures.h: add nice_ and nice() const
4388 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4390 2004-01-20 André Pönitz <poenitz@gmx.net>
4393 * BufferView_pimpl.C:
4395 * bufferview_funcs.C:
4397 * cursor_slice.[Ch]:
4408 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4409 LCursor and mathcursor parts to LCursor and InsetBase.
4411 2004-01-15 André Pönitz <poenitz@gmx.net>
4413 * cursor_slice.[Ch]: add a few covienience functions
4415 * funcrequest.[Ch]: remove BufferView * member
4417 * BufferView_pimpl.C:
4424 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4426 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4428 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4429 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4431 2004-01-13 André Pönitz <poenitz@gmx.net>
4434 * lyxtext.h: hide cursor and selection anchor behind accessor function
4437 * BufferView_pimpl.[Ch]:
4439 * bufferview_funcs.C:
4449 * cursor_slice.[Ch]: some integer type changes for inset unification
4451 * lyxcursor.[hC]: remove, it's CursorSlice now.
4454 * BufferView_pimpl.[Ch]:
4455 * bufferview_funcs.C:
4461 * textcursor.[Ch]: adjust
4463 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4465 * text2.C (undoSpan): add and use
4466 * text.C (breakParagraph): use undoSpan (fix bug 578)
4469 2004-01-08 Angus Leeming <leeming@lyx.org>
4471 * BufferView_pimpl.C (MenuInsertLyXFile):
4472 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4473 * lyxfunc.C (menuNew, open, doImport):
4474 FileFilterList change to the FileDialog open and save functions.
4476 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4478 * ShareContainer.h: make isEqual and isUnique adaptable
4480 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4482 2004-01-07 Angus Leeming <leeming@lyx.org>
4485 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4487 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4489 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4490 functions replacing find, replace and replaceAll.
4492 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4493 LFUN_WORDFIND(FORWARD|BACKWARD).
4495 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4497 * text.C (breakParagraph): remove an outdated #warning
4499 2004-01-07 André Pönitz <poenitz@gmx.net>
4501 * lyxfind.C: somewhat clearer logic
4503 * text.C: prevent crash in cursorX on unitialized row cache
4505 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4507 * lyxcursor.[Ch] (operator>): add
4508 * textcursor.C (selStart, selEnd): use std::min and std::max
4510 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4512 * Chktex.C: include boost/format.hpp
4514 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4516 * InsetList.C: replace functor MathcIt with adaptable functor
4518 (insetIterator): modify accordingly
4520 * BranchList.h: move the BranchNamesEqual functor here from...
4521 * BranchList.C: ... to here
4523 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4525 (add): replace a finding loop with std::find_if.
4527 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4529 * output_docbook.C: moving LatexParam functionality into
4532 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4534 * buffer.C: increment format to 229.
4536 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4539 * lyx_sty.[Ch]: remove minipageindent_def
4545 * text3.C: remove LFUN_INSET_MINIPAGE
4547 2003-12-28 Angus Leeming <leeming@lyx.org>
4549 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4551 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4553 * text2.C (setParagraph): fix off-by-one crash
4555 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4557 * output_docbook.C: header stuff for AGU
4559 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4561 * text2.C (redoCursor): remove
4564 * BufferView_pimpl.C: remove calls to redoCursor and
4565 setCursor(cursor.par(), cursor.pos()) all around
4567 2003-12-15 Angus Leeming <leeming@lyx.org>
4569 * buffer.C: up the format to 228.
4571 2003-12-15 André Pönitz <poenitz@gmx.net>
4573 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4578 * BufferView_pimpl.C:
4587 2003-12-15 Angus Leeming <leeming@lyx.org>
4589 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4590 than getFromGUIName to manipulate the color.
4592 2003-12-14 Angus Leeming <leeming@lyx.org>
4594 * BranchList.[Ch]: minimize the API.
4595 (Branch::getBranch, getColor): now return a 'const &'.
4596 (Branch::setSelected) now returns a bool set to true if the
4597 selection status changes.
4598 (BranchList::clear, size, getColor, setColor, setSelected,
4599 allBranches, allSelected, separator): removed.
4600 (BranchList::find): new functions, returning the Branch with
4602 (BranchList::add, remove): return a bool indicating that
4603 the operation was successful.
4605 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4606 new InsetBranch::isBranchSlected member function.
4608 * LColor.[Ch]: mimimize the API.
4609 (fill): renamed as addColor and made private.
4610 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4611 versions of these functions taking a string arg have been removed.
4613 * bufferparams.C (readToken):
4614 * lyxfunc.C (dispatch):
4615 * lyxrc.C (read): changes due to the altered BranchList and
4618 * factory.C (createInset, readInset): changes due to altered
4621 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4624 * lyxfunc.C: remove insetminipage. "minipage-insert"
4625 now produces a frameless minipage box inset.
4627 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4629 * textcursor.[Ch] (selStart,selEnd): add new methods
4630 remove selection::start, end, use LyXCursor::operator<
4631 * lyxcursor.[Ch] (operator<): add
4632 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4633 * BufferView.[Ch] (unsetXSel): add
4634 * text2.C (clearSelection): use unsetXSel,adjust
4637 * rowpainter.C: adjust
4638 * bufferview_funcs.C (put_selection_at): adjust
4640 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4642 * BufferView_pimpl.C: small coord. correction
4644 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4646 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4647 dragging over the splash screen.
4649 2003-12-11 Angus Leeming <leeming@lyx.org>
4651 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4652 as it is now handled in LyXText::dispatch.
4654 * text3.C (doInsertInset): remove a level of nesting.
4656 2003-12-11 Angus Leeming <leeming@lyx.org>
4658 * factory.C (createInset): changes due to the changed interface to
4659 InsetCommandMailer::string2params.
4661 2003-12-10 Angus Leeming <leeming@lyx.org>
4663 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4664 'dialog-show-new-inset <inset name>'
4666 2003-12-10 Angus Leeming <leeming@lyx.org>
4668 * buffer.C: up the format to 227.
4670 * factory.C: the box inset is now identified simply by 'Box'.
4672 2003-12-10 Angus Leeming <leeming@lyx.org>
4674 * buffer.C: up the format to 226.
4676 * factory.C: the note inset is now identified simply by 'Note'.
4678 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4680 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4681 when a pit is enough. Standarize a couple of loops.
4683 2003-12-05 Angus Leeming <leeming@lyx.org>
4685 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4686 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4687 data to the re-worked "log" dialog.
4689 2003-12-03 André Pönitz <poenitz@gmx.net>
4695 * paragraph_funcs.C:
4697 * text2.C: use Inset::getText instead of Inset::getParagraph
4699 2003-12-03 André Pönitz <poenitz@gmx.net>
4703 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4704 InsetText::read() as LyXText::read()
4706 2003-12-02 Angus Leeming <leeming@lyx.org>
4708 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4709 type. Add a comment in the implementation that the function uses
4710 the stream's bad() function rather than fail() as the std::streams
4713 2003-12-02 André Pönitz <poenitz@gmx.net>
4715 * lyxlex.[Ch]: make interface more similar to std::stream
4717 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4719 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4721 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4723 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4725 * vspace.[Ch]: remove VSpace::NONE
4727 2003-12-01 André Pönitz <poenitz@gmx.net>
4730 * lyxtext.h: move ParagraphList member to LyXText
4731 rename LyXText::ownerParagraphs to LyXText::paragraph
4734 * bufferview_funcs.C:
4744 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4746 * undo.C: fix cursor positioning
4748 2003-12-01 John Levon <levon@movementarian.org>
4750 * BufferView_pimpl.C: fix a crash on exit with
4753 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4755 * BranchList.C: fix setSelected() method.
4757 2003-11-28 André Pönitz <poenitz@gmx.net>
4759 * ParagraphParameters.[Ch]:
4760 * ParameterStruct.h: remove space above/below from Paragraph to
4763 * BufferView_pimpl.C:
4769 * paragraph_funcs.C:
4775 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4777 * factory.C: Syntax change for CharStyles
4779 2003-11-28 André Pönitz <poenitz@gmx.net>
4784 * buffer.[Ch]: move LyXText member
4786 2003-11-28 André Pönitz <poenitz@gmx.net>
4788 * BufferView.[Ch]: make LyXText * text a private member
4790 * BufferView_pimpl.C:
4801 * output_plaintext.C: cleanup
4803 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4806 * lyxtextclass.[Ch]: parametrize SGML document header
4808 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4811 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4814 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4816 * text2.C (setFont): rework using PosIterator (no more recursive)
4817 (setCharFont): no more needed
4818 (setLayout): no more selection cursors fiddling (done by redoCursor)
4819 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4820 destroy remaining ones)
4822 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4824 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4826 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4829 * text3.C: adjust + re-allow multi par depth changes
4830 * textcursor.C: simplify a bit
4832 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4838 * src/output_docbook.C:
4839 * src/output_latex.C:
4844 * src/text2.C: Introducing a number of tags parametrizing various
4845 XML formats that we may want to support
4847 2003-11-25 André Pönitz <poenitz@gmx.net>
4849 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4851 * lyxtext.h (leftMargin/rightMargin): simplify interface
4858 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4860 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4861 master file to any child files. Fixes bug 546.
4863 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4865 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4867 2003-11-24 André Pönitz <poenitz@gmx.net>
4869 * rowpainter.C: simplification
4871 * text2.C (updateCounters): remove call to redoParagraph on
4872 changed labels as this is far too expensive.
4874 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4876 * converter.C (convert): fix a crash: this function gets
4877 called with buffer == 0 from importer code.
4879 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4881 * text3.C (cursorPrevious): make sure that we do not compare
4882 iterators form different containers.
4885 * rowpainter.C (paintSelection): make sure that we do not compare
4886 iterators from different containers.
4888 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4889 iterators from different ParagraphList containers.
4892 * text2.C (LyXText): change order of initialization slightly
4893 (operator=): new function. copy all variables except cache_par_
4894 (moveUp): make sure that we do not compare iterators from
4895 different ParagraphList constainers.
4898 * text.C (firstPar): new function
4899 (lastPar): new function
4900 (endPar): new function
4902 * lyxtext.h: move things around and group public functions, public
4903 variables, private functions, private variables
4905 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4907 * factory.C: change call to InsetERT constructor to avoid
4908 additional invocation of method status
4909 * text2.C (toggleInset): remove redundant update() call
4910 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4911 instead of a Bufferview pointer
4913 2003-11-21 André Pönitz <poenitz@gmx.net>
4915 * rowpainter.C: simplification
4917 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4919 * text3.C (dispatch): make possible to extend a word/row selection
4922 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4924 * lyxtext.h: x0_,y0_ -> xo_,yo_
4925 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4926 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4927 * rowpainter.C (paintRows): paint full paragraphs
4929 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4931 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4934 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4936 * lyxtext.h: add x0_, y0_
4937 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4938 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4940 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4942 * text2.C (setCursorIntern): move the x_target update here *
4943 * text3.C: change some bv() to true/false in calls to
4944 cursorUp/Down/Right/Left
4945 * cursor.C: use helper function.
4947 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4949 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4950 * paragraph_funcs.[Ch]: correct comment
4951 * rowpainter.C: do not paint selections away from bv->cursor()
4952 Fix a long standing selection painting bug.
4953 * text3.C: generalize mouse-selection code to LyXTexts other that
4955 * textcursor.C: do not use y coords if we can use par offsets
4957 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4959 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4960 cursor position after e.g. inset insert)
4962 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4964 * lyxfind.C (replace): adjust to locking removal + some
4967 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4969 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4972 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4975 * output_docbook.C: XML sanitation: new layout
4976 parameters InnerTag and CommandDepth
4978 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4980 * BufferView_pimpl.C:
4982 * text3.C: Fix the insertion and modification of button-style
4985 2003-11-13 André Pönitz <poenitz@gmx.net>
4987 * InsetList.[Ch]: remove deleteLyXText
4989 * paragraph.[Ch]: cache beginOfBody position
4994 * text3.C: remove superfluous update() calls
4998 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
5000 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
5001 * BufferView.C (fitLockedInsetCursor): remove
5002 * cursor.[Ch] (getDim): add
5003 * text.C (getRowNearY): add faster version
5004 * text3.C: remove some update calls
5006 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
5018 * text3.C: The Character Style /XML short element patch.
5020 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
5023 * factory.C: Small step to solving 'unable to insert some insets'
5026 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
5028 * cursor.[Ch] (updatePos): new function for updating the y
5029 position of the tip inset
5030 * bufferview_funcs.C (put_selection_at):
5031 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
5033 2003-11-11 André Pönitz <poenitz@gmx.net>
5035 * text.C: remove big comment on invalid Paragraph pointers as it is
5038 2003-11-11 André Pönitz <poenitz@gmx.net>
5040 * text_funcs.[Ch]: merge with ...
5048 * Makefile.am: remove text_funcs.[Ch]
5050 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
5052 * cursor.C (getPos): return absolute cached y coord
5054 * BufferView_pimpl.C (fitCursor): new simplistic code
5055 (workAreaDispatch): add a fitCursor call
5057 2003-11-10 André Pönitz <poenitz@gmx.net>
5060 * BufferView_pimpl.[Ch]: merge update() and updateInset()
5062 2003-11-10 André Pönitz <poenitz@gmx.net>
5064 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
5065 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
5066 indicate that the cursor needs to leave an inset
5068 * lyxtext.h: remove inset locking
5070 * cursor.[Ch]: re-implement functionality provided by inset locking
5073 * BufferView_pimpl.[Ch]:
5075 * bufferview_funcs.[Ch]:
5087 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
5089 * PosIterator.[Ch]: replace the stack with a vector, add inset
5091 * iterators.[C]: adjust
5093 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
5095 * lyxfind.C (replaceAll): mark the buffer dirty if something was
5097 * paragraph_funcs.C (readParToken): put the correct id in the
5098 error item, not the id of the top paragraph
5100 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
5102 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5103 * bufferview_funcs.C (put_selection_at): use the above
5105 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5107 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5109 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5111 * output_linuxdoc.h:
5112 * output_plaintext.h:
5114 * output_docbook.h: add #include statements
5116 2003-11-05 José Matos <jamatos@lyx.org>
5118 * output_docbook.[Ch]:
5119 * output_latex.[Ch]:
5120 * output_linuxdoc.[Ch]:
5121 * output_plaintext.[Ch]: New files for output formats.
5122 * output.[Ch]: New file for helper functions.
5125 * paragraph_funcs.[Ch]: output functions moved to new files.
5127 * outputparams.h: rename of latexrunparams.h
5135 * paragraph_funcs.[Ch]:
5136 * paragraph_pimpl.[Ch]:
5137 * tabular.[Ch]: rename ascii to plaintext
5138 and LatexRunParams to OutputParams.
5140 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5142 * iterators.[Ch] (text): require bv argument
5143 * undo.C (recordUndo):
5144 * lyxfunc.C (dispatch):
5145 * bufferview_funcs.C (put_selection_at): adjust
5147 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
5149 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5151 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5153 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5156 2003-11-04 André Pönitz <poenitz@gmx.net>
5158 * cursor.[Ch]: restructure
5161 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5163 * iterators.[Ch] (asCursor): remove
5165 * lfuns.h: remove LFUN_INSET_EDIT
5171 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5173 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5175 * lyxfind.[Ch]: complete overhaul
5176 * BufferView_pimpl.C:
5178 * paragraph.[Ch] (insert): add
5180 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5184 * text.C: remove dead spellcheck code
5186 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5188 * dispatchresult.h: add a val setter
5190 * cursor.C (dispatch): use a tempvar for data_[i]
5192 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5194 * PosIterator.[Ch]: compile fix
5196 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5198 * text.C (cursorPar): deactivate the cursor cache
5200 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5202 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5204 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5206 * text3.C (dispatch): adjust for new DisptchResult semantics.
5208 * lyxfunc.C (dispatch): handle update when return from
5209 Cursor::dispatch, adjust for new DispatchResult semantics.
5211 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5212 DispatchResult(true) mean to not update. Add class functions for
5213 setting dispatched and update, as well as reading.
5215 * cursor.C (dispatch): don't handle update here
5217 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5219 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5220 * trans_mgr.C: adjust
5222 * paragraph_funcs.C (readParToken): exception safety
5224 * lyxvc.h: store the vcs pointer in a scoped_ptr
5227 * lyxsocket.C (serverCallback): exception safety
5229 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5231 * ispell.C (clone): make it return a auto_ptr
5233 * factory.C (createInset): exception safety
5234 (readInset): exception safety
5236 * bufferlist.C (newBuffer): exception safety
5238 * Thesaurus.C (Thesaurus): use initialization for aik_
5240 * MenuBackend.C (expandToc): exception safety.
5242 2003-11-03 André Pönitz <poenitz@gmx.net>
5246 * bufferview_funcs.C: remove getInsetFromId()
5249 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5255 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5257 * PosIterator.C (distance, advance): new
5258 * bufferview_funcs.[Ch] (put_selection_at): new
5259 * iterators.[Ch] (lockPath): new
5261 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
5263 * iterators.[Ch] (asPosIterator): added
5264 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5265 * PosIterator.[Ch]: added
5267 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5271 * cursor.C (dispatch):
5272 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5274 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5275 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5276 contructor, add a class function dispatched. Remove operator>=
5278 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5280 * debug.C: only use the default constructor for debugstream
5283 * main.C (main): include debug.h and setup the lyxerr streambuf
5286 2003-10-31 José Matos <jamatos@lyx.org>
5288 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5290 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5291 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5292 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5293 * paragraph_pimpl.C (simpleTeXSpecialC):
5294 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5295 add LatexRunParams argument.
5297 * exporter.C (Export): change call accordingly.
5299 * latexrunparams.h: add new member to take care of the other backends.
5300 2003-10-30 José Matos <jamatos@lyx.org>
5302 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5303 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5304 factorise code for paragraph output.
5306 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5309 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5311 * text3.C (dispatch):
5312 * lyxfunc.C (dispatch):
5313 * cursor.C (dispatch):
5314 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5316 * dispatchresult.h: make the dispatch_result_t ctor explicit
5318 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5321 * buffer.C: small refactoring of docbook stuff
5323 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5325 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5328 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5330 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5331 operator dispatch_result_t, and operators for == != and >=
5333 * cursor.C (dispatch): adjust for operator dispatch_result_t
5334 removal. comment out call to update
5336 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5338 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5346 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5349 * dispatchresult.h: new file, DispatchResult broken out of
5352 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5354 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5356 * text.C (rowBreakPoint): put a hack inside #if 0
5358 2003-10-28 André Pönitz <poenitz@gmx.net>
5362 * paragraph_funcs.C:
5365 * text2.C: general cleanup (lots of small stuff)
5367 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5369 * text2.C (cursorEnd): simple fix to the "end key goes to one
5370 before the end on last row" bug
5372 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5374 * text.C (backspace): fix the "zombie characters"
5376 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5378 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5380 2003-10-27 André Pönitz <poenitz@gmx.net>
5382 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5384 * factory.C: handle new InsetPagebreak, InsetLine
5386 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5387 and move handling into new InsetPagebreak, InsetLine
5389 * BufferView_pimpl.C:
5391 * ParagraphParameters.C:
5392 * ParameterStruct.h:
5397 * paragraph_funcs.C:
5398 * paragraph_pimpl.C:
5404 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5407 * lyxrow_funcs.[Ch]:
5413 * text3.C: remove lastPos uses in favour of Row::endpos
5415 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5417 * undo.C (performUndoOrRedo): fix two crashes by setting a
5418 cursor by hand and reordering some calls. Use bv->lockInset instead
5419 of inset->edit because the latter loses cursor information
5421 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5423 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5425 (rowBreakPoint): fix width. change point to point + 1.
5426 Add a missing check.
5428 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5431 * lyxfunc.C: fix (at least partly) the problems
5432 with the Nav menu and headers inside branch insets
5435 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5437 * paragraph.C (getChar): add strong asserts
5439 * lyxrow_funcs.C (lastPos): remove hideous hack
5441 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5442 (fill): adjust to that (avoid an infinite loop)
5444 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5446 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5448 2003-10-23 André Pönitz <poenitz@gmx.net>
5450 * RowList_fwd.h: change list<> to vector<> to gain speed
5451 after suggestion from Alfredo
5453 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5455 * lyxtext.h: move the bidi stuff from here...
5458 * Bidi.[Ch]: ... to here
5460 2003-10-23 André Pönitz <poenitz@gmx.net>
5463 * text.C (isLastRow, isFirstRow): new functions
5465 * paragraph.h: new width cache member
5467 * rowpainter.C: replace RowList::iterator with Row & where possible
5469 * lyxfunc.C: replace several view()->text with a single call
5471 * toc.C: fix 'unused' warning
5473 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5475 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5476 when woring with stream::pos_type
5477 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5479 2003-10-22 André Pönitz <poenitz@gmx.net>
5482 * text.C: use Row & instead of RowList::iterator
5484 * lyxrow.h: rename end() to endpos()
5490 2003-10-22 Angus Leeming <leeming@lyx.org>
5492 * buffer.[Ch] (fully_loaded): new member function, returning true
5493 only when the file has been loaded fully.
5494 Used to prevent the premature generation of previews and by the
5495 citation inset to prevent computation of the natbib-style label.
5497 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5498 templates are all set up.
5500 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5502 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5504 * text.C: fixed an "oops" in the "is a bit silly"
5507 2003-10-21 André Pönitz <poenitz@gmx.net>
5509 * FuncStatus.[Ch]: small stuff, whitespace
5511 * lyxfont.[Ch]: operator<<() for debug reasons
5515 * lyxtext.h: whitespace, spelling
5517 * paragraph.C: naming of variables
5520 * text2.C: small stuff
5523 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5525 * text.C: (1) finish off the inset display() work;
5526 (2) fix the "is a bit silly" bug (accessing char
5529 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5531 * text.C: re-introduce display() for insets, fixing the
5532 various bugs (stretch of line above, math inset
5535 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5537 * text.C (rightMargin): remove spurious semicolon
5539 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5542 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5544 * text3.C: fix one crash due to wrong cursor def
5546 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5548 * vc-backend.C (scanMaster): make the regex static
5550 * LaTeX.C (scanAuxFile): make the regexs static
5552 * text3.C (doInsertInset, dispatch, dispatch):
5553 * text2.C (cursorUp, cursorDown):
5554 * text.C (selectNextWordToSpellcheck):
5555 * BufferView_pimpl.C (dispatch):
5556 * lyxfunc.C (dispatch): localDispatch -> dispatch
5558 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5560 * lyxsocket.C: include <cerrno>
5562 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5564 * lyxfunc.C (dispatch): remove textcache stuff
5566 * bufferlist.C (release): remove textcache stuff
5569 * TextCache.C: delete file
5570 * TextCache.h: delete file
5572 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5574 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5575 delete of the bv_->text.
5576 (resizeCurrentBuffer): remove texcache stuff
5577 (workAreaResize): ditto
5579 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5581 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5584 2003-10-16 André Pönitz <poenitz@gmx.net>
5591 * text3.C: speed up by storing y positions per paragraph plus per-row
5592 offset instead of having a 'full' y position in the row.
5594 2003-10-15 André Pönitz <poenitz@gmx.net>
5598 * undo.[Ch]: make undo aware of inner insets
5600 2003-10-14 Angus Leeming <leeming@lyx.org>
5602 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5603 static member functions LyX::ref() and LyX::cref.
5604 (lastfiles): new accessor functions for the new lastfiles_ member var.
5605 (addLyXView, views_): add a new LyXView to the list of views_.
5606 (updateInset): loop over all LyXViews to call their own updateInset
5607 member function, returning a pointer to the Buffer owning the inset.
5609 * BufferView_pimpl.C (loadLyXFile):
5610 * MenuBackend.C (expandLastfiles):
5611 * bufferlist.C (MenuWrite, QuitLyX):
5612 lastfiles is no longer a global variable.
5613 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5615 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5616 static function. Access through LyX::cref().emergencyCleanup().
5618 2003-10-14 André Pönitz <poenitz@gmx.net>
5620 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5622 * undo.[Ch]: restoring part of 'undo in insets'
5625 * undo_funcs.[Ch]: merge with undo.[Ch]
5627 * tabular.C: small cleansing stuff
5629 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5631 * paragraph_funcs.C (readParToken): report unknown insets as error
5632 boxes. Use the outer paragraph as location (also for unknown
5635 * factory.C (readInset): do not abort on reading an unknown inset.
5636 Eat it and return 0.
5638 2003-10-13 Angus Leeming <leeming@lyx.org>
5640 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5642 * lyxrc.C: displayTranslator is now a function,
5643 declared in GraphicsTypes.h.
5645 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5647 * format.C: new placeholder $$a to pass the socket address.
5649 * bufferlist.[Ch]: new function getBufferFromTmp.
5651 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5652 files in the temporary dir.
5654 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5656 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5658 * Makefile.am: add lyxsocket.[Ch].
5660 * lyx_main.C (error_handler): handle SIGPIPE.
5662 2003-10-13 André Pönitz <poenitz@gmx.net>
5664 * BufferView_pimpl.C:
5669 * undo_funcs.[Ch]: use paroffset_type instead of
5670 ParagraphList::iterators to prevent multiple conversion
5671 (and get a more robust interface)
5673 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5675 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5677 * text3.C (dispatch): ditto
5679 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5681 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5682 move the onlyfile, use onlyfile instead of foundfile in a couple
5685 * DepTable.C (update): flush the error stream a bit more
5687 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5689 * lyxserver.C (callback): adjust
5691 * lyxfunc.C (getStatus): add a missing brace in commented code
5692 (ensureBufferClean): reindent
5693 (dispatch): delete version taking a string
5695 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5697 * LaTeX.C (deplog): move found file handlig from here...
5698 (handleFoundFile): .. to new function here.
5699 (deplog): make sure to discover several files mentioned on the
5702 2003-10-10 André Pönitz <poenitz@gmx.net>
5709 * text3.C: fix some of the tabular crashes
5711 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5713 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5715 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5717 2003-10-09 André Pönitz <poenitz@gmx.net>
5719 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5722 * BufferView_pimpl.C:
5723 * bufferview_funcs.C:
5734 * undo_funcs.C: adjust
5736 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5738 * text2.C (incrementItemDepth): new function, use a backtracking
5739 algorithm to discover the correct item depth.
5740 (resetEnumCounterIfNeeded): new function, use a backtracking
5741 algorithm to discover if counter reset is needed.
5742 (setCounter): use them. Simplify a bit. Add different labels for
5743 different item depths for itemize.
5745 * paragraph.C (Paragraph): remove initialization of enumdepth
5748 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5749 enumerate and itemize. Change the type of itemdepth to signed char.
5751 2003-10-08 André Pönitz <poenitz@gmx.net>
5753 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5758 * tabular.[Ch]: fix crash after 'row-insert'
5760 2003-10-08 Angus Leeming <leeming@lyx.org>
5762 Fix doxygen warnings.
5764 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5765 Remove CutAndPaste:: prefix from header file declaration.
5767 * LColor.h (fill): remove LColor:: prefix from declaration.
5769 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5770 use lyx::depth_type rather than Paragraph::depth_type so that
5771 header file and .C file match.
5773 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5775 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5776 * aspell.C: \file aspell_local.C -> \file aspell.C
5777 * gettext.C: \file gettext.C -> \file src/gettext.C
5778 * gettext.h: \file gettext.h -> \file src/gettext.h
5779 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5780 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5781 * text.C: \file text.C -> \file src/text.C
5783 * toc.C: move comment so that doxygen is not confused.
5785 2003-10-07 Angus Leeming <leeming@lyx.org>
5787 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5789 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5792 * aspell_local.h: add forgotten std::string's.
5794 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5801 * text3.C: The Box patch. Fancybox support, minipage, parbox
5803 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5809 * ParagraphParameters.h:
5819 * lyxtextclasslist.h:
5822 * paragraph_pimpl.C:
5823 * textcursor.h: add <string> and other small fixes to make Lars'
5824 std::string patch compile with STLport.
5826 2003-10-06 Angus Leeming <leeming@lyx.org>
5828 * LColor.h: Add missing #include <string>.
5830 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5832 * All most all file in all subdirs: Make <string> be the prefered
5833 way of getting to std::string, add using declarations.
5835 2003-10-06 André Pönitz <poenitz@gmx.net>
5837 * metricsinfo.C: initialize LyXFont before changing attribute.
5838 (fixes the 'math in \emph is upright' bug)
5840 2003-10-06 André Pönitz <poenitz@gmx.net>
5842 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5844 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5847 * paragraph_pimpl.C: Small fixes to build using STLport
5849 2003-10-02 André Pönitz <poenitz@gmx.net>
5852 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5854 2003-10-01 André Pönitz <poenitz@gmx.net>
5856 * factory.C: assert early
5858 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5860 * lyx_main.C: remove the global debug object
5862 * debug.h: adjust for new debugstream
5864 * debug.C: adjust for new debugstream and keep the global debug
5867 2003-09-22 Angus Leeming <leeming@lyx.org>
5869 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5870 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5871 an incomplete class LyXFont.
5873 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5875 * factory.C: bug fix in branches
5877 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5879 * lyxfunc.C (processKeySym): adjust
5881 (dispatch): change arg name from ev to func, adjust
5882 (sendDispatchMessage): ditto
5884 * lyx_main.C (defaultKeyBindings): adjust keybindings
5885 (deadKeyBindings): ditto
5887 * kbsequence.C (addkey): return a FuncRequest
5889 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5891 * kbmap.C (bind): take a FuncRequest as arg, adjust
5894 (defkey): change to take a FuncRequest as arg, adjust
5895 (findbinding): take a FuncRequest as arg, adjust.
5897 * funcrequest.h (operator=): added
5899 * funcrequest.C (FuncRequest): default kb_action changed from
5900 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5902 * buffer.C (dispatch): simplify
5903 (dispatch): adjust to take a FuncRequest as arg, adjust
5905 * boost.C (assertion_failed): change assertion message slightly
5907 * ToolbarBackend.C (read): simplify
5909 * MenuBackend.C (binding): adjust call to findbinding, add a
5910 message if no binding is found.
5912 (expandToc): correct by adding a empty FuncRequest
5914 * LyXAction.C: include <boost/assert.hpp>
5915 (isPseudoAction): delete function
5916 (LookupFunc): change name to...
5917 (lookupFunc): this. change return type to FuncRequest.
5918 (getActionName): take kb_action as arg, simplify
5919 (funcHasFlag): add an assert, simplify.
5921 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5923 * toc.C (action): return a FuncRequest, simplify
5925 * lyxfunc.C (processKeySym): adjust
5926 (getStatus): delete version that takes an int.
5928 (dispatch): delete version that takes action as int
5930 (sendDispatchMessage): simplify and adjust
5932 * funcrequest.C (getArg): take unsigned int as arg
5934 * ToolbarBackend.C (read): adjust
5935 (add): delete version that takes func as a string.
5936 (getIton): take a FuncRequest as arg
5938 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5941 * MenuBackend.C (MenuItem): add a new construct that only takes a
5942 Kind, simplify the constructor use for submenus.
5944 (expandLastfiles): adjust
5945 (expandDocuments): adjust
5946 (expandFormats): adjust
5947 (expandFloatListInsert): adjust
5948 (expandFloatInsert): adjust
5949 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5951 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5952 Remove class variables lyx_pseudo_map and lyx_arg_map
5954 * LyXAction.C (searchActionArg): delete function
5955 (getPseudoAction): delete function
5956 (retrieveActionArg): delete function
5957 (LookupFunc): make it return kb_action, simplify.
5958 (getActionName): simplify
5960 * factory.C (createInset): fix new bug
5962 2003-09-19 Angus Leeming <leeming@lyx.org>
5964 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5965 masterFilename_ parameter in the include inset.
5967 * factory.C (createInset): changes due to the changes to InsetInclude.
5969 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5971 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5973 2003-09-18 Angus Leeming <leeming@lyx.org>
5976 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5977 Inset::fillWithBibKeys.
5978 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5980 2003-09-18 Angus Leeming <leeming@lyx.org>
5982 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5984 (ctor): pass and store a 'Buffer const &'
5985 (buffer): new member function.
5987 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5988 '*this' to the LaTeXFeatures ctor.
5990 2003-09-18 Angus Leeming <leeming@lyx.org>
5996 * text.C: rename EnumLColor as LColor_color.
5998 2003-09-18 Angus Leeming <leeming@lyx.org>
6000 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
6001 remove #include "insets/insetbase.h" from cursor.h.
6003 2003-09-18 Angus Leeming <leeming@lyx.org>
6005 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
6006 InsetOld_code to remove #include "inset.h".
6008 * iterators.C: add #include "insets/inset.h"
6010 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
6012 * BufferView.C: remove more locking stuff that apparently doesn't
6013 do anything sensible.
6015 2003-09-16 André Pönitz <poenitz@gmx.net>
6018 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
6021 2003-09-16 Angus Leeming <leeming@lyx.org>
6023 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
6025 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
6028 * paragraph.h: remove #include "lyxfont.h". Forward declare
6031 2003-09-16 Angus Leeming <leeming@lyx.org>
6033 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
6034 of support/textutils.h.
6035 (isWord): move the contents of support/textutils.h's IsWordChar here.
6041 * text2.C: add #include "paragraph.h".
6044 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
6046 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6052 * LaTeX.C: use namespace alias for lyx::support::os
6054 2003-09-16 Angus Leeming <leeming@lyx.org>
6057 * bufferview_funcs.C:
6060 * paragraph_pimpl.C:
6062 * text.C: add #include "LColor.h".
6064 2003-09-16 Angus Leeming <leeming@lyx.org>
6066 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
6067 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
6069 Store the FontBits::color variable as an int rather than as an
6070 LColor::colorso that we can move LColor.h out of the lyxfont.h header
6073 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
6074 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
6075 string calls together.
6077 * lyxrc.C: add #include "LColor.h".
6079 2003-09-15 Angus Leeming <leeming@lyx.org>
6081 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6084 2003-09-15 Angus Leeming <leeming@lyx.org>
6086 * LColor.h: add an EnumLColor wrapper for LColor::color.
6088 * lyxfont.[Ch] (color, setColor, realColor):
6089 * lyxtext.h, text.C (backgroundColor):
6090 pass EnumLColor args to/from the functions, rather than LColor::color
6094 * lyxtext.h: forward declare EnumLColor.
6096 * lyx_main.C: add #include "LColor.h".
6098 2003-09-15 Angus Leeming <leeming@lyx.org>
6100 * .cvsignore: add lyx-gtk.
6102 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6107 * ParagraphParameters.C
6111 * bufferview_funcs.C
6121 * vc-backend.C: remove usage of STRCONV
6123 2003-09-15 Angus Leeming <leeming@lyx.org>
6125 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6126 explicitly define the color passed to the painter.
6128 2003-09-15 Angus Leeming <leeming@lyx.org>
6130 * bufferparams.C (BufferParams): reorder member initializers to avoid
6133 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
6135 * CutAndPaste.C (pasteSelection): remove an outdated #warning
6136 * text.C (updateRowPositions): remove an unusual nop
6138 2003-09-12 André Pönitz <poenitz@gmx.net>
6140 * BufferView_pimpl.C:
6149 * Counters.[Ch]: finish the 'automatic counters' job
6151 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6153 * aspell.C: include <boost/assert.cpp> (compile fix)
6155 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
6157 * boost.C (assertion_failed): use lyx::support::abort instead of
6160 2003-09-10 Angus Leeming <leeming@lyx.org>
6162 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6163 with their _fwd progeny.
6165 2003-09-09 Angus Leeming <leeming@lyx.org>
6167 134 files throughtout the source tree: replace 'using namespace abc;'
6168 directives with the appropriate 'using abc::xyz;' declarations.
6170 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
6172 * boost.C (emergencyCleanup): moved here from LAssert.c
6173 (assertion_failed): new function, called by BOOST_ASSERT
6175 * several files: change Assert to BOOST_ASSERT
6177 2003-09-09 Angus Leeming <leeming@lyx.org>
6179 * buffer.[Ch]: Add an Impl class and move Buffer's member
6180 variables into it. As a result move several header files out of
6183 Add header files to lots of .C files all over the tree as a result.
6185 2003-09-09 Angus Leeming <leeming@lyx.org>
6187 * buffer.[Ch]: make Buffer's member variables private. Add
6190 Lots of changes all over the tree as a result.
6192 2003-09-08 Angus Leeming <leeming@lyx.org>
6194 * graph.C: #include <config.h>.
6196 2003-09-08 Angus Leeming <leeming@lyx.org>
6200 * BufferView_pimpl.C:
6229 * toc.C: remove redundant using directives.
6231 2003-09-07 Angus Leeming <leeming@lyx.org>
6233 * LaTeXFeatures.h: remove #include "support/types.h".
6234 * ToolbarBackend.h: remove #include <algorithm>.
6235 * changes.h: remove #include <ctime>.
6236 * debug.h: remove #include <iosfwd>.
6237 * graph.h: remove #include "support/std_string.h".
6238 * lyx_main.h: remove #include <csignal>.
6239 * lyxlex_pimpl.h: remove #include <fstream>.
6240 * sgml.h: remove #include <algorithm>, <utility>.
6241 * toc.h: remove #include "support/std_ostream.h".
6242 Add #include <iosfwd>.
6244 2003-09-07 Angus Leeming <leeming@lyx.org>
6246 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6248 * converter.h: forward declare LatexRunParams.
6249 * encoding.h: remove #include "lyxrc.h".
6250 * lyxtext.h: remove #include "LColor.h".
6251 * lyxtextclass.h: remove #include "support/types.h".
6252 * trans.h: remove #include "tex-accent.h".
6253 * trans_mgr.h: remove #include "tex-accent.h".
6254 * insets/inset.h: remove #include "support/types.h", <vector>.
6255 * insets/insetcollapsable.h: remove #include "LColor.h".
6256 * insets/insetinclude.h: remove #include "dimension.h".
6257 * insets/insetlatexaccent.h: remove #include "dimension.h".
6258 * insets/insetoptarg.h:: remove #include "insettext.h".
6259 * insets/insettext.h: remove #include "dimension.h",
6260 <boost/shared_ptr.hpp>
6262 * insets/renderers.h: add #include "dimension.h".
6263 * insets/updatableinset.h: add #include "support/types.h".
6265 * many .C files: Associated changes.
6267 2003-09-06 Angus Leeming <leeming@lyx.org>
6269 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6270 one, inside testInvariant.
6272 * PrinterParams.C: new file.
6273 * PrinterParams.[Ch]: move the function bodies out of line.
6275 2003-09-06 Angus Leeming <leeming@lyx.org>
6277 * ParagraphParameters.h: forward declare ParameterStruct rather than
6278 including its header file.
6279 (depth): moved out-of-line.
6281 2003-09-06 Angus Leeming <leeming@lyx.org>
6283 * BufferView_pimpl.h:
6286 * lyxfunc.h: forward declare LyXKeySym rather than
6287 #include "frontends/LyXKeySym.h".
6289 * BufferView_pimpl.C:
6292 * lyxfunc.C: associated changes.
6294 2003-09-06 Angus Leeming <leeming@lyx.org>
6296 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6297 As a result, can remove the #include "insets/inset.h" from BufferView.h
6299 2003-09-06 Angus Leeming <leeming@lyx.org>
6301 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6302 As a result, can remove the #include "insets/inset.h" from BufferView.h
6304 2003-09-06 Angus Leeming <leeming@lyx.org>
6310 * bufferview_funcs.C:
6311 * BufferView_pimpl.C:
6316 * ParagraphParameters.C:
6321 * frontends/controllers/ControlDocument.C:
6322 * insets/insetcaption.C: rearrange the #includes into some sort of
6325 * buffer.h: remove #includes ErrorList.h, undo.h
6327 2003-09-06 Angus Leeming <leeming@lyx.org>
6329 * support/types.h: add a 'depth_type' typedef, used to store the
6330 nesting depth of a paragraph.
6333 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6334 defining explicitly.
6337 * paragraph_funcs.h:
6338 * ParagraphParameters.h:
6339 * sgml.h: use lyx::depth_type rather than Paragraph or
6340 ParameterStruct's depth_type.
6343 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6346 * BufferView_pimpl.C:
6348 * ParagraphParameters.C:
6351 * bufferview_funcs.C:
6358 * frontends/LyXView.C:
6359 * frontends/controllers/ControlDocument.C:
6360 * frontends/controllers/ControlErrorList.C:
6361 * insets/insetbibitem.C:
6362 * insets/insetbranch.C:
6363 * insets/insetcaption.C:
6364 * insets/insetcollapsable.C:
6365 * insets/insetenv.C:
6366 * insets/insetert.C:
6367 * insets/insetfloat.C:
6368 * insets/insetfoot.C:
6369 * insets/insetfootlike.C:
6370 * insets/insetnewline.C:
6371 * insets/insetquotes.C:
6372 * insets/insettabular.C:
6373 * insets/insettext.C:
6374 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6376 * frontends/controllers/ControlChanges.C: #include "changes.h".
6378 2003-09-06 Angus Leeming <leeming@lyx.org>
6380 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6381 than #including paragraph.h.
6384 * RowList.h: deleted. Superfluous.
6394 * insets/insettext.h: use ParagraphList_fwd.h rather than
6397 * paragraph.h: don't forward declare ParagraphList.
6400 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6401 rather than ParagraphList.h. paragraph.h is still needed for the
6402 Paragraph::depth_type parameters.
6404 * textcursor.h: enable it to compile stand-alone in light of the
6407 * bufferview_funcs.C:
6419 * frontends/controllers/ControlParagraph.C:
6420 * frontends/controllers/ControlTabular.C:
6421 * insets/insetmarginal.C:
6422 * insets/insetminipage.C:
6423 * insets/insetnote.C:
6424 * insets/insetoptarg.C: add header files needed to compile again.
6426 2003-09-06 Angus Leeming <leeming@lyx.org>
6428 * RowList_fwd.h: new file, forward-declaring Row rather than
6429 #including lyxrow.h.
6434 * insets/insettext.h: use it instead of RowList.h
6436 * bufferview_funcs.C:
6443 * text3.C: #include "RowList.h".
6445 2003-09-05 Angus Leeming <leeming@lyx.org>
6447 * factory.C (createInset):
6448 * vspace.C (c-tor): replace sscanf call with an istringstream.
6449 * ispell.C: re-add missing HP/UX headers.
6450 * lyxserver.C: re-add missing os2 headers.
6452 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6461 * text3.C: re-add missing system headers, needed for 2.95.2.
6463 2003-09-05 Angus Leeming <leeming@lyx.org>
6465 Changes most place everywhere due to the removal of using directives
6466 from support/std_sstream.h.
6468 2003-09-05 Angus Leeming <leeming@lyx.org>
6470 Replace LString.h with support/std_string.h,
6471 Lsstream.h with support/std_sstream.h,
6472 support/LIstream.h with support/std_istream.h,
6473 support/LOstream.h with support/std_ostream.h.
6475 Changes resulting throughout the tree.
6477 2003-09-05 Angus Leeming <leeming@lyx.org>
6479 * sgml.h: ensure that the header file can be compiled stand-alone.
6480 * *.C: strip out redundant #includes. (320 in total.)
6482 2003-09-04 Angus Leeming <leeming@lyx.org>
6484 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6485 here (from getPackages).
6487 * debug.[Ch]: add a new EXTERNAL tag.
6489 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6491 * text2.C (cursorEnd): simplify
6493 (getColumnNearX): adjust
6495 * text.C (computeBidiTables): adjust
6498 * rowpainter.C (paintChars): adjust
6499 (paintSelection): adjust
6500 (paintChangeBar): adjust
6503 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6505 (numberOfSeparators): adjust
6507 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6513 * text3.C: Restricts the mouse click functionality
6514 of insets like bibtex, include, toc and floatlist to the visible
6515 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6516 up the dialogs. Cursor has to be in front of the inset (i.e.
6517 start of row) for this to function.
6519 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6521 * bufferview_funcs.C (currentState): output row information
6523 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6525 * bufferview_funcs.C (currentState): output paragraph position
6527 2003-09-04 Angus Leeming <leeming@lyx.org>
6529 * FloatList.h: move out #include "Floating.h".
6530 * LaTeX.h: move out #include "DepTable.h".
6531 * LyXAction.h: move out #include "funcrequest.h".
6532 * buffer.h: move out #include "author.h", "iterators.h".
6533 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6534 * lyx_main.h: move out #include "errorlist.h".
6535 * lyxfunc.h: move out #include "FuncStatus.h".
6536 * lyxtext: move out #include "lyxcursor.h".
6537 * paragraph_pimpl.h: move out #include "counters.h".
6539 2003-09-03 Angus Leeming <leeming@lyx.org>
6541 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6542 preamble_snippets list, enabling us to add snippets to the preamble
6543 only if the snippet was not there already.
6545 2003-09-04 Angus Leeming <leeming@lyx.org>
6547 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6549 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6551 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6554 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6556 * BranchList.C: point fix, earlier forgotten
6558 2003-09-02 Angus Leeming <leeming@lyx.org>
6560 * box.C (contains): renamed from 'contained' after a fantastic
6563 2003-09-02 John Levon <levon@movementarian.org>
6569 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6571 2003-09-02 John Levon <levon@movementarian.org>
6573 * text2.C: simplification of cursorEnd(), including partial
6576 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6578 * buffer.C (readFile): add a space
6580 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6582 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6584 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6586 * buffer.C (readFile): new function, take a filename and a
6587 ParagraphList::iterator
6589 (readFile): adjust, make it private. don't use setStream, make
6590 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6591 always contain the filename.
6593 * BufferView.C (insertLyXFile): simplify and make it work for
6596 2003-08-30 John Levon <levon@movementarian.org>
6598 * Makefile.am: fix dist (from Kayvan)
6600 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6602 * most files: change to use const Buffer refs
6604 2003-08-27 André Pönitz <poenitz@gmx.net>
6606 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6607 on top of ownerPar().
6609 2003-08-27 John Levon <levon@movementarian.org>
6611 * funcrequest.C: properly initialise POD members
6613 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6615 * lyxtext.h (top_y): move top_y from here
6620 * BufferView_pimpl.[Ch]: to here
6621 * frontends/screen.C:
6622 * insets/insettabular.C:
6623 * insets/insettext.C: adjust
6624 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6626 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6629 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6631 2003-08-26 André Pönitz <poenitz@gmx.net>
6633 * paragraph_func.[Ch] (outerPar): new function
6636 * paragraph_funcs.C:
6637 * paragraph_funcs.h:
6638 * paragraph_pimpl.C:
6639 * text2.C: remove Inset::par_owner
6641 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6646 * text2.C: eliminates the needFullRow/display() stuff
6647 altogether, putting the logic in metrics/draw in the insets.
6649 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6651 * text2.C (redoParagraphInternal, redoParagraphs):
6652 * text.C (redoParagraph): add a call to updateRowPositions at the
6653 end of each 'metrics-like' call. Remove all others.
6654 (getRow): remove the 'y-computing' version.
6655 (getRowNearY): do not compute nor return the real y. Solve the
6656 'y < 0' problem and simplify.
6658 2003-08-22 Angus Leeming <leeming@lyx.org>
6660 * *.[Ch]: clean-up of licence and author blurbs.
6661 Also move config.h out of a few .h files and into a few .C files.
6663 2003-08-22 André Pönitz <poenitz@gmx.net>
6665 * lyxrow.[Ch]: add x_ and *fill_ members
6670 * text2.C: adjust/remove prepareToPrint() calls
6672 2003-08-22 André Pönitz <poenitz@gmx.net>
6674 * lyxrow.[Ch]: add end_ member
6676 * lyxrow_funcs.C: use LyXRow::end_
6678 * lyxtext.h (singleWidth): add LyXFont parameter
6681 * text2.C: adjust LyXText::singleWidth() calls
6683 * text.C (redoParagraph): simplify row breaking logic
6686 2003-08-19 André Pönitz <poenitz@gmx.net>
6688 * funcrequest.C: initialize button_ member
6691 * rowpainter.[Ch]: interface consolidation
6693 2003-08-18 André Pönitz <poenitz@gmx.net>
6696 * BufferView_pimpl.C:
6698 * paragraph_funcs.C:
6700 * text3.C: remove LyXScreen::draw() and fitCursor calls
6702 * BranchList.h: remove spurious semicolons
6704 * MenuBackend.C: fix branchlist related crash
6706 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6714 * bufferparams.[Ch]:
6718 * text3.C: implements the 'branch inset'
6719 idea. This allows the output of various versions of a document
6720 from a single source version, selectively outputing or suppressing
6721 output of parts of the text.
6722 This implementation contains a 'branch list editor' in a separate
6723 tab of the document settings dialog. Branches are user definable
6724 and have a "display colour" to distinguish them on-screen.
6726 ColorHandler was somewhat cleaned up.
6727 (1) make possible a dynamically growing LColor list by allowing
6728 the graphic context cache to grow along (vector);
6729 (2) eliminate an IMHO unnecessary step in colour allocation.
6731 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6733 * BufferView_pimpl.C: compile fix
6735 2003-08-15 André Pönitz <poenitz@gmx.net>
6737 * rowpainter.C: remove extra metrics calls
6739 * lyxtext.h: merge the two constructors into a single one,
6740 pass reference to owner's par list
6742 * BufferView_pimpl.C:
6746 2003-08-15 André Pönitz <poenitz@gmx.net>
6748 * lyxrow_funcs.[Ch]:
6751 * paragraph_funcs.C:
6756 * text_funcs.C: split LyXText::rowlist_ into individual
6757 Paragraph::rows_ chunks
6760 * BufferView_pimpl.[Ch]:
6763 * text3.C: remove toggleSelection()
6765 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6767 * bufferlist.C: beautify two alerts (shorter text of buttons)
6768 * buffer.C: Remove redundant ' ' from message
6770 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6771 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6772 rename VALIGN_CENTER to VALIGN_MIDDLE
6774 2003-08-11 André Pönitz <poenitz@gmx.net>
6776 * lyxtext.h (getPar):
6777 * text.C: new function
6779 2003-08-11 André Pönitz <poenitz@gmx.net>
6782 * tracer.[Ch]: remove unneeded files
6784 * InsetList.[Ch]: remove resizeInsetsLyXText()
6789 * text3.C: merge insertParagraphs() and appendParagraph()
6790 remove breakAgain(), update()
6792 * BufferView_pimpl.[Ch]:
6793 * bufferview_funcs.[Ch]:
6797 * tabular.C: adjust after text & InsetList changes.
6799 2003-08-08 André Pönitz <poenitz@gmx.net>
6801 * text.C (insertChar, backspace): replace rowlist fiddling
6802 with rebreak of full par
6805 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6806 checkParagraph, updateInset): removed
6808 2003-08-07 André Pönitz <poenitz@gmx.net>
6811 * text3.C: merge some LFUN handlers, remove dead code
6813 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6815 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6817 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6819 * text2.C (DEPM): fix part of bug 1255 and 1256
6821 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6823 * BufferView_pimpl.C (workAreaDispatch): change to use
6824 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6825 that are no mouse related.
6827 2003-08-05 André Pönitz <poenitz@gmx.net>
6830 * BufferView_pimpl.[Ch]:
6831 * bufferview_funcs.C:
6833 * text3.C: rip out "deep update"
6835 * textcursor.[Ch] (last_sel_cursor): remove unused member
6837 2003-08-04 André Pönitz <poenitz@gmx.net>
6840 * BufferView_pimpl.[Ch]:
6841 * ParagraphParameters.C:
6842 * bufferview_funcs.C:
6848 * text3.C: replace "complicated" BufferView::update(...) calls with
6851 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6853 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6855 * Makefile.am (lyx_SOURCES): add paper.h
6857 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6859 * Makefile.am: move things around so that both lyx-qt and
6860 lyx-xforms can be built (according to --with-frontend). Then lyx
6861 is a symbolic link to lyx-[firstfrontend]
6863 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6865 * Always use std::endl with lyxerr
6867 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6869 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6871 2003-08-01 André Pönitz <poenitz@gmx.net>
6874 * BufferView_pimpl.[Ch]:
6876 * text3.C: merge BufferView::repaint() and BufferView::update()
6878 2003-08-01 José Matos <jamatos@lyx.org>
6880 * buffer.[Ch]: file_format is no longer a buffer data element.
6882 2003-08-01 André Pönitz <poenitz@gmx.net>
6887 * text2.C: make redoParagraph more independent of current cursor
6889 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6891 * text2.C: remove unneeded members
6893 2003-07-30 André Pönitz <poenitz@gmx.net>
6895 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6897 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6898 create a single function...
6900 * paragraph_funcs.C (moveItem): ... here.
6903 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6905 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6907 * LColor.[Ch]: Add comment and greyedout logical colors.
6909 2003-07-30 André Pönitz <poenitz@gmx.net>
6911 * tabular.C: don't use Assert too heavily. This crashes where it
6914 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6916 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6917 is disabled (bug 1232)
6919 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6921 * factory.C: limited 'arg' scope
6923 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6925 * factory.C: fixed Note submenu issues
6927 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6929 * factory.C: submenu for Note/Comment/Greyedout
6931 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6934 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6936 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6939 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6940 greyedout. Patch provided by Jürgen Spitzmüller.
6942 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6944 * kbmap.C (read): fix error message when reading bind files
6946 2003-07-29 Angus Leeming <leeming@lyx.org>
6948 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6949 certainly does not do what it purports to do. I am doing it, and
6950 us, a favour by killing it.
6952 2003-07-28 José Matos <jamatos@lyx.org>
6954 * buffer.C (readBody, do_writeFile):
6955 * paragraph.C(readParagraph): \end_document replaces \the_end.
6957 2003-07-29 André Pönitz <poenitz@gmx.net>
6960 * BufferView_pimpl.[Ch]:
6964 * textcursor.[Ch]: remove toggleToggle & Co
6966 2003-07-28 José Matos <jamatos@fep.up.pt>
6968 * buffer.C (readParagraph):
6969 * params_func (readParToken, readParagraph):
6970 * paragraph.C (write): \layout -> \begin_layout.
6972 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6974 * lyxlex_pimpl.C (setFile): clean up slightly.
6976 * bufferparams.h: add compressed var
6978 * buffer_funcs.C (readFile): adjust for LyXLex change
6979 (newFile): ditto + simplify
6981 * buffer.C (writeFile): handle writing of compressed files
6983 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6984 Check if the file is compressed and set a bufferparm if so.
6986 * Makefile.am (lyx_LDADD): remove explicit -lz
6988 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6990 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6991 makeDocBookFile): put the real LyX version in the first line of
6995 * version.C.in: remove lyx_docversion
6997 * tabular.C (write_attribute): add a template-based version to
6998 write enums properly
7000 2003-07-28 André Pönitz <poenitz@gmx.net>
7005 * text3.C: use doubles again for x-coordinates. They are needed.
7007 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7009 * messages.C (getLocaleDir): use lyx_localedir()
7011 * lyxlex_pimpl.C (setFile): compress stuff
7013 * buffer.C (writeFile): add some compression stuff
7014 (do_writeFile): new func, dont call expliti close... will this
7017 * Makefile.am (lyx_LDADD): add -lz
7019 2003-07-28 José Matos <jamatos@fep.up.pt>
7021 * buffer.C: increment file format.
7022 * paragraph_funcs (readParagraph, readParToken):
7023 * paragraph.C (readParagraph): add \end_layout.
7025 2003-07-27 Angus Leeming <leeming@lyx.org>
7027 * Makefile.am: remove special casing for configure-time setting of
7028 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
7030 * lyx_main.C (init): remove all Jean-Marc's magic setting of
7031 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
7033 2003-07-26 André Pönitz <poenitz@gmx.net>
7035 * paragraph_func.[Ch]:
7036 * paragraph.C (realizeFont): inline it whereever it is used
7041 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
7044 2003-07-26 André Pönitz <poenitz@gmx.net>
7048 * text2.C: get rid of LyXText::need_break_row
7050 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7052 * toc.[Ch]: put namespace toc inside namespace lyx
7054 * MenuBackend.C (expandToc2): adjust for lyx::toc
7057 * lyxfunc.C (dispatch): adjust for lyx::find
7059 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
7060 lyx::find instead. Reorganize a bit.
7061 (LyXReplace): rename to replace
7062 (LyXFind): rename to find
7064 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
7067 2003-07-26 André Pönitz <poenitz@gmx.net>
7069 * text.C (setHeightOfRow): restrict scope of temporary variable
7071 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
7072 code (never has been used?)
7074 2003-07-27 Asger Alstrup <alstrup@local>
7076 * text.C (fill): Optimise algorithm to exploit that we can reuse
7077 the LyXFont for many characters.
7078 (setHeightOfRow): Same thing.
7079 (rowBreakPoint): Same thing.
7081 2003-07-26 Asger Alstrup <alstrup@local>
7083 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7085 * text.C (singleWidth): Spurious font copying in hot-spot
7086 singleWidth avoided. Reorder tests for arabic for efficiency.
7088 * text.C (fill): handle empty paragraphs better.
7090 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7093 * encoding.h: add includes
7095 * lyxrc.C: remove reading of bind files
7097 * lyx_main.C (init): setup bindings and menus only if we have a
7100 * kbmap.C (read): new method. Do the actual reading of bind
7103 * converter.C (dvipdfm_options):
7106 (output): adapt PAPER_* enums.
7108 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7110 * bufferparams.h: remove paper-related enums from there
7112 * paper.h: New file. A trivial header file to hold paper-related
7113 enums. It should later expand to contain many paper-related
7116 * lyxrc.C: declare extern displayTranslator
7118 2003-07-27 José Matos <jamatos@fep.up.pt>
7120 * tabular.[Ch] (linuxdoc): add support for tables and figures
7123 2003-07-27 José Matos <jamatos@fep.up.pt>
7125 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7126 consistency in both functions.
7127 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7129 2003-07-26 Asger Alstrup <alstrup@local>
7131 * rowpainter.C (paintRows): Change algorithm to work directly on
7132 the insets rather than asking every character in the document
7133 whether its an inset.
7135 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
7137 * buffer.C (openFileWrite): factorize some code
7139 2003-07-26 Angus Leeming <leeming@lyx.org>
7142 * lyx_main.[Ch]: replace occurances of system_tempdir with
7145 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7147 * rename Inset to InsetOld
7149 2003-07-25 Asger Alstrup <alstrup@diku.dk>
7151 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7152 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7153 which I think is a bit clearer. EDIT is gone, since it was
7154 premature optimisation, and broken for mathed anyway.
7155 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7156 with cursor positioning in insets as well (math insets still do not
7157 work, but that's a different story anyway.) It mysteriously
7158 crashes sometimes with undo in the first paragraph, but I'm fairly
7159 confident that this is a compiler bug.
7161 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7163 * paragraph.C (Paragraph): adjust for new clone return type
7165 (copyIntoMinibuffer): ditto
7167 2003-07-25 Asger Alstrup <alstrup@lyx.org>
7169 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7170 by not having a special case, and always doing a full rebreak of
7171 the document after undo.
7173 2003-07-23 Angus Leeming <leeming@lyx.org>
7175 * factory.C (createInset): InsetExternal::setParams now takes a
7178 2003-07-23 Angus Leeming <leeming@lyx.org>
7180 * factory.C (createInset): changed interface to the external and
7181 graphics mailers' string2params functions.
7183 2003-07-23 Angus Leeming <leeming@lyx.org>
7185 * factory.C (createInset): pass a
7186 Buffer const * parameter to InsetExternalMailer's string2params.
7188 2003-07-22 John Levon <levon@movementarian.org>
7190 * Thesaurus.h: include the right aiksaurus header
7192 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7194 * MenuBackend.C (expand): check menu shortcuts unconditionally
7196 2003-07-21 Angus Leeming <leeming@lyx.org>
7198 * factory.C (createInset): pass a
7199 buffer_path parameter to InsetGraphicsMailer's string2params.
7201 2003-07-21 Angus Leeming <leeming@lyx.org>
7203 * BufferView_pimpl.C (buffer):
7206 * lyxfunc.C (dispatch):
7207 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7208 rather than the grfx shortcut.
7210 2003-07-21 André Pönitz <poenitz@gmx.net>
7212 * rowpainter.C: remove unused variables
7215 * tabular_funcs.h: move to tabular.C
7216 * Makefile.am: adjust
7218 * tabular.[Ch]: basic optical cleaning
7220 * author.h: pass references, not values
7222 2003-07-18 André Pönitz <poenitz@gmx.net>
7230 * text3.C: two-phase drawing for InsetText and InsetTabular
7231 some float -> int changes.
7233 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7235 * lyx_main.C: fix the fix
7237 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7239 * lyx_main.C: fix a crash in batch mode if no files specified
7242 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
7244 * format.[Ch] (papersize): moved to BufferParams
7245 * converter.[Ch] (dvips_options): moved to BufferParams
7246 (dvipdfm_options): moved to anon namespace
7247 * bufferparams.[Ch]: added above functions.
7249 2003-07-17 André Pönitz <poenitz@gmx.net>
7253 * text2.C: don't call inset->update() anymore
7255 * metricsinfo.[Ch]: add convenience constructor
7257 2003-07-16 André Pönitz <poenitz@gmx.net>
7262 * text2.C: replace the LyXCursor::irow_ member with
7263 on-demand computation of the value
7265 2003-07-16 John Levon <levon@movementarian.org>
7267 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7269 2003-07-15 André Pönitz <poenitz@gmx.net>
7272 * text2.C: remove no more needed refresh_row
7274 2003-07-15 André Pönitz <poenitz@gmx.net>
7279 * text3.C: refresh_status tristate -> need_update bool
7281 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7283 * lyxtext.h (init): remove reinit argument (act as if always true)
7284 * text2.C: adjust to that
7286 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7288 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7289 * text3.C: use it to delete selections in some cases
7290 (bugs 441, 673, 702, 954).
7292 2003-07-14 André Pönitz <poenitz@gmx.net>
7294 * rowpainter.[Ch]: reduce interface
7296 2003-07-14 André Pönitz <poenitz@gmx.net>
7298 * BufferView_pimpl.C:
7299 * text2.C: adjust after removing unused BufferView * argument
7301 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7303 * text2.C (init): fix a crash fired on resize
7305 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7307 * buffer.[Ch]: added new closing signal
7308 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7309 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7310 BufferView::Pimpl via the closing the signal
7312 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7314 * buffer.[Ch]: take out all bv-related from buffer
7316 * BufferView_pimpl.[Ch]: connect to new signals
7317 * CutAndPaste.C: removed useless asserts
7318 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7321 * lyxfunc.C: moved view-related funciontality from vc here
7322 * paragraph.C: removed outdated comments
7325 2003-07-10 André Pönitz <poenitz@gmx.net>
7327 * BufferView_pimpl.C:
7331 * text2.C: remove InsetText::InnerCache, clean up consequences
7333 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7335 * ispell.C: fix two typos in error messages
7337 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7339 * Extend Note inset to other forms of annotation like Comment
7340 and Greyedout. Right button click gives dialog.
7342 Files modified or added (+):
7346 * ControlNote.[Ch] +
7348 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7349 frontends/controllers
7353 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7355 * aspell.C: add missing namespace lyx::support
7357 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7359 * BufferView.[Ch] (newFile): Add
7360 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7361 * LaTeX.[Ch] (message): added this signal and use it
7362 * buffer.[Ch] (busy, message): added these signals and use them
7363 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7367 * importer.C: use buffer signals instead of direct bv calling
7368 * lyx_cb.[Ch] (ShowMessage): removed
7371 * paragraph_funcs.C:
7372 * text2.C: use buffer signals
7374 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7376 * introduce namespace lyx::graphics
7378 2003-07-02 André Pönitz <poenitz@gmx.net>
7380 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7382 2003-07-01 André Pönitz <poenitz@gmx.net>
7389 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7390 text*.C to text_func.C
7392 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7394 * introduce namespace lyx::support
7396 2003-06-30 André Pönitz <poenitz@gmx.net>
7401 * text.C: re-enable --with-included-string
7403 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7405 * textcursor.C: add <config.h>
7407 * text.C (getWord): remove const from word_location arg
7409 * lyxvc.C (getLogFile): fix const type order
7411 * lyxtext.h: remove const from word_location arg, add arg name
7413 * lyxlayout.h: currect type on labeltype.
7415 * importer.C: correct \file
7417 * converter.C (intToFormat): use std:: on ret val, ws changes
7419 * bufferlist.h: correct \file
7421 * buffer.C (makeLinuxDocFile): fix const type order
7422 (makeDocBookFile): ditto
7423 (fillWithBibKeys): use std:: on stdlib args.
7425 * CutAndPaste.C: fix authors.
7426 (availableSelections): use std:: on return vector
7428 2003-06-27 André Pönitz <poenitz@gmx.net>
7430 * BufferView_pimpl.C:
7431 * bufferview_funcs.C:
7439 * text3.C: remove LyXCursor::row_ member
7442 * text.C: rename fullRebreak() to partialRebreak() and implement
7443 a fullRebreak() that really bereks fully
7445 * textcursor.h: new struct for cursor-related data
7447 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7449 * lyx_main.C (LyX): get full path of document loaded on the
7452 2003-06-26 André Pönitz <poenitz@gmx.net>
7454 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7455 remove unused/broken operator>,<,>=.
7457 * text.C: remove only use of broken operator<= in an Assert().
7459 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7461 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7462 moved errorlist_.clear to showErrorList
7464 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7466 * converter.C (scanLog, runLaTeX):
7467 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7468 move the bv->showErrorList call to the callers
7469 * lyxfunc.C: i.e. here...
7471 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7472 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7473 namespace, the second to...
7474 * buffer_funcs (BufferFormat, parseErrors): added
7475 * errorlist.C (ErrorList(TeXErrors const &)): removed
7477 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7479 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7481 2003-06-24 "Garst R. Reese" <reese@isn.net>
7485 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7487 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7489 * version.C.in: change docversion to 1.4
7491 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7493 * buffer.C: fix a bug just introduced
7495 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7497 * buffer.[Ch]: added the parseError signal and use it, removed
7499 * BufferView.[Ch] (addError): moved to ...
7500 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7501 to the Buffer::parseError signal to catch (guess what) parse errors
7502 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7504 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7506 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7507 ability to create a buffer and to return an existing one from
7508 the list. Moved these functions to...
7509 * buffer_funcs.[Ch]: added
7510 * BufferView.[Ch] (loadLyXFile): added
7511 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7512 job removed from bufferlist::loadLyXFile.
7513 * buffer.C (setReadOnly): make it work without view
7514 (i.e added an if (users))
7516 2003-06-19 Angus Leeming <leeming@lyx.org>
7519 * LyXAction.C (init):
7520 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7521 with LFUN_DIALOG_SHOW <name> <data>.
7523 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7525 * CutAndPaste.C (availableSelections): small compilation fix for
7526 ancient (gcc 2.9x) compilers
7528 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7530 * text3.C (cursorNext): add tmp var
7532 * text2.C (updateCounters): for function calling out of for clause
7533 (replaceSelectionWithString): ditto
7534 (insertStringAsParagraphs): ditto
7535 (getColumnNearX): add tmp var
7536 (setCursorFromCoordinates): add tmp var
7537 (cursorDownParagraph): add tmp var
7538 (deleteEmptyParagraphMechanism): add tmp var
7540 * text.C (insertChar): add tmp var
7542 * rowpainter.C (paintDepthBar): add tmp var
7544 * CutAndPaste.C (availableSelections): potentially check all
7545 paragraphs in a cut to fill the shown strings.
7547 2003-06-18 André Pönitz <poenitz@gmx.net>
7549 * kbmap.[Ch]: use vector<> instead of list<>
7551 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7553 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7554 pasteSelection with index
7556 * text2.C (pasteSelection): modify, call pasteSelection with index
7558 * paragraph.C (asString): reimplement version with no interval to
7559 call the one with interval.
7561 * lyxtext.h: add index arg to pasteSelection
7563 * MenuBackend.C (MenuItem): handle PasteRecent
7564 (Menu::read::Menutags): add md_pasterecent
7566 (expandPasteRecent): new function
7569 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7571 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7573 (availableSelections): new function
7575 2003-06-17 Angus Leeming <leeming@lyx.org>
7577 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7579 2003-06-17 Angus Leeming <leeming@lyx.org>
7582 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7584 * lyxfunc.C (dispatch): invoke it.
7586 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7588 * iterators.C (operator++, ParPosition): reintroduce some
7589 const_cast for the benefit of older compilers.
7591 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7593 * text3.C (dispatch): do not modify clipboard when doing
7594 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7595 LFUN_DELETE_SKIP on a selection selection
7597 2003-06-16 André Pönitz <poenitz@gmx.net>
7603 * tabular.[Ch]: IU of clone() and getLabelList();
7605 2003-06-13 André Pönitz <poenitz@gmx.net>
7607 * tabular.h: compactification
7609 2003-06-12 André Pönitz <poenitz@gmx.net>
7613 * tabular_funcs.h: some renaming plus whitespace
7615 2003-06-12 André Pönitz <poenitz@gmx.net>
7618 * BufferView_pimpl.C:
7624 * toc.C: Return a Paragraph & for ParIterator::operator*()
7626 2003-06-11 John Levon <levon@movementarian.org>
7630 * ToolbarBackend.C: add "Toolbars" section and
7633 2003-06-10 Angus Leeming <leeming@lyx.org>
7636 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7638 * lyxfunc.C (dispatch): invoke it.
7640 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7642 * main.C: protect <ios> with HAVE_IOS
7643 (main): protect sync_with_stdio with HAVE_IOS
7645 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7647 * text2.C (cutSelection): adjust
7648 (pasteSelection): adjust
7650 * messages.C: handle get of empty string
7652 * main.C (main): use sync_with_stdio(false)
7654 * lyxfunc.C (dispatch): adjust
7656 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7657 (WriteAs): remove unneeded BufferView arg.
7659 * bufferparams.h: use correct types on papersize, papersize2 and
7662 * bufferparams.C (readToken): adjust for type
7663 (writeLaTeX): add missing cases to switch.
7665 * bufferlist.C (quitWriteBuffer): adjust
7668 * buffer.C (asciiParagraph): remove some commented code.
7670 * CutAndPaste.C: remove current_view extern variable.
7671 (cutSelection): add BufferParams arg.
7672 (eraseSelection): add BufferParams arg.
7673 (pasteSelection): add Buffer const & arg
7675 2003-06-07 John Levon <levon@movementarian.org>
7678 * paragraph_funcs.C:
7679 * paragraph_pimpl.C:
7683 * paragraph.C: allow InsetERT to freely space lines,
7684 and some consolidation of code
7686 2003-06-06 José Matos <jamatos@fep.up.pt>
7688 * buffer.C (makeDocBookFile): fix bug #821
7690 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7692 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7694 2003-06-04 Angus Leeming <leeming@lyx.org>
7696 * buffer.C: bump format to 224.
7698 2003-06-05 André Pönitz <poenitz@gmx.net>
7700 * text2.C (redoParagraphs): remove two const_cast<>
7702 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7704 * ParagraphList.h: remove last remnants of NO_STD_LIST
7706 2003-06-03 Angus Leeming <leeming@lyx.org>
7708 * factory.C (createInset): small change to the way InsetExternal's params
7711 2003-06-04 André Pönitz <poenitz@gmx.net>
7713 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7715 * paragraph_pimpl.h:
7716 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7718 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7720 * undo_funcs.C: make some simple cases of undo work again
7722 2003-06-03 John Levon <levon@movementarian.org>
7724 * ispell.C: HPUX doesn't have sys/select.h
7727 2003-06-03 John Levon <levon@movementarian.org>
7729 * CutAndPaste.C: update tabular and include inset
7734 * paragraph.C: remove owningBuffer(), don't pass Buffer
7737 * factory.C: insetGraphicsParams changed
7739 2003-06-02 John Levon <levon@movementarian.org>
7745 * text3.C: remove insetparent
7747 2003-06-02 John Levon <levon@movementarian.org>
7750 * buffer.C: fix inset_iterator.end(), move out of line
7753 2003-06-01 John Levon <levon@movementarian.org>
7755 * text3.C: use a proper cut/paste when doing inset
7756 insert (from Jürgen Spitzmüller)
7758 2003-06-01 John Levon <levon@movementarian.org>
7760 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7762 2003-05-30 André Pönitz <poenitz@gmx.net>
7764 * rowpainter.C: unify second drawing phase
7766 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7768 * trans_mgr.C: remove one case of current_view
7770 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7772 * paragraph_funcs.h: remove paragraph.h include
7774 * paragraph.h: delete NO_STD_LIST stuff
7776 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7778 * buffer.h: remove paragraph.h include
7780 * ParagraphList.C: delete file
7782 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7784 * toc.C (getTocList): adjust
7786 * paragraph_pimpl.C (validate): adjust
7788 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7790 * paragraph.C (Paragraph): adjust
7791 (getPositionOfInset): use const_iterator, adjust
7792 (bibitem): use const_iterator, adjust
7793 (setInsetOwner): adjust
7795 * iterators.C (operator++): adjust
7797 * InsetList.[Ch]: Replace selfmade iterator with standard
7798 vector::iterator also introduce const_iterator. Remove getPos,
7799 getInset and setInset from InsetTable. Adjust accordingly.
7801 * BufferView.C (lockInset): adjust
7802 (ChangeInsets): adjust
7804 * tabular.[Ch]: delete commented same_id functions
7806 2003-05-28 John Levon <levon@movementarian.org>
7808 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7810 2003-05-28 André Pönitz <poenitz@gmx.net>
7812 * metricsinfo.[Ch]: remove 'fullredraw' member
7814 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7816 * lyxtextclass.C (operator): remove caching.
7818 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7822 * text2.C (cursorBottom): adjust
7823 (setCounter): use ParagraphList::find, adjust
7825 * text.C (workWidth): use ParagraphList::find, adjust
7827 * lyxcursor.C (LyXCursor): adjust
7829 * buffer.C (inset_iterator): adjust
7831 * ParagraphList.h: make iterator(value_type) private, make
7832 ParagraphList a friend of iterator.
7834 * ParagraphList.C (find): new function
7836 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7838 2003-05-27 André Pönitz <poenitz@gmx.net>
7840 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7842 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7844 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7846 2003-05-26 John Levon <levon@movementarian.org>
7848 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7850 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7852 * remove same_id from function signatures, adjust.
7854 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7856 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7858 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7860 * paragraph.C (Paragraph): get rid of same_ids parameter
7862 * ParagraphList.C (insert): adjust
7865 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7867 * paragraph_funcs.C (breakParagraph): adjust
7868 (breakParagraphConservative): adjust
7870 * buffer.C (readParagraph): adjust
7872 * ParagraphList.C (insert): take a reference instead of a pointer
7875 * paragraph.[Ch] (id): new function
7877 * bufferlist.C (newFile): adjust
7879 * ParagraphList.C (ParagraphList): adjust
7881 (push_back): take a reference instead of a pointer.
7883 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7885 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7888 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7889 set else use old code.
7891 * ParagraphList.C: remove all NO_NEXT code and only compile this
7892 code of NO_STD_LIST is set.
7894 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7896 * BufferView_pimpl.C:
7906 * graphics/GraphicsConverter.C:
7907 * graphics/PreviewLoader.C: header adjustment
7909 2003-05-23 Angus Leeming <leeming@lyx.org>
7911 * LaTeXFeatures.[Ch] (useBabel): new method.
7912 * bufferparams.C (writeLaTeX): use it.
7914 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7916 * ParagraphList.h (set): remove unused function.
7918 2003-05-23 André Pönitz <poenitz@gmx.net>
7921 * BufferView_pimpl.C:
7925 * undo_funcs.C: setUndo reworked
7927 * iterators.[Ch]: add access to topmost ParagraphList
7929 * lyxtext.[Ch] (workWidth): add a const
7931 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7933 * texrow.[Ch] (increasePos): remove function
7934 * exporter.C (export): removed unused var and outdated comment
7936 2003-05-23 Angus Leeming <leeming@lyx.org>
7938 * latexrunparams.h: rename fragile as moving_arg.
7939 * paragraph.C (simpleTeXOnePar): ditto.
7940 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7942 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7944 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7946 (textUndoOrRedo): comment out a currently unused var.
7948 * paragraph.h (NO_NEXT): enable NO_NEXT
7950 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7952 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7954 * exporter.C (Export): adjust for removeAutoInsets removal.
7956 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7958 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7960 * BufferView.[Ch] (removeAutoInsets): delete function
7962 2003-05-22 Angus Leeming <leeming@lyx.org>
7964 * latexrunparams.h: add a free_spacing variable.
7966 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7967 to pass moving_arg, as the data is stored in runparams.fragile.
7969 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7970 to Inset::latexOptional or to simpleTeXOnePar.
7972 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7973 free_spacing arg to Inset::latexOptional.
7975 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7978 2003-05-22 Angus Leeming <leeming@lyx.org>
7980 * latexrunparams.h: add fragile and use_babel variables.
7982 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7983 * buffer.C (makeLaTeXFile): store this returned value in
7984 runparams.use_babel, thus passing it to the inset::latex methods.
7986 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7987 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7989 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7990 longer has a fragile arg, as it is stored in runparams.fragile.
7992 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7993 moving_arg parameter as the data is stored in runparams.fragile.
7995 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7996 a fragile parameter as the data is stored in runparams.fragile.
7998 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8000 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
8002 2003-05-22 Angus Leeming <leeming@lyx.org>
8004 * latexrunparams.h: add a 'bool nice' which defaults to false.
8006 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
8007 now encapsulated within runparams.
8009 * bufferlist.C (updateIncludedTeXfiles):
8010 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
8012 2003-05-22 Angus Leeming <leeming@lyx.org>
8014 * latexrunparams.h: new file containing struct LatexRunParams.
8015 * Makefile.am: add new file.
8017 * LaTeX.[Ch] (c-tor, run):
8018 * buffer.[Ch] (makeLaTeXFile):
8019 * bufferlist.[Ch] (updateIncludedTeXfiles):
8020 * converter.C (convert, scanLog):
8021 * converter.[Ch] (runLaTeX):
8022 * exporter.C (Export):
8023 * paragraph.[Ch] (simpleTeXOnePar):
8024 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
8025 * paragraph_funcs.[Ch] (latexParagraphs):
8026 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
8027 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
8028 pass around a LatexRunParams parameter.
8030 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8032 * paragraph.[Ch]: remove unused constructor
8034 * ParagraphList.C (erase): new function, taking two iterators
8036 2003-05-22 André Pönitz <poenitz@gmx.net>
8038 * undo_funcs.C: remove duplicated code
8040 * iterator.[Ch]: operator=
8042 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8044 * tabular.C (SetMultiColumn): ws changes
8046 * rowpainter.C (paintFirst): get rid of a ->previous
8048 * lyx_cb.C (getPossibleLabel): parlist simplification
8050 * BufferView.C (ChangeInsets): simplify slightly.
8052 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8054 * LyXAction.C: new lfun space-insert, kill protected-space-insert
8055 * lfuns.h: new LFUN_SPACE
8056 * lyxfunc.C: protected space has a new lfun
8057 * paragraph_funcs.C: read new space insets
8059 * factory.C: handle new space insets
8061 2003-05-22 André Pönitz <poenitz@gmx.net>
8064 * BufferView_pimpl.C:
8067 * undo_funcs.C: return a ParIterator from getParFromID.
8069 * iterators.[Ch]: add two const's
8071 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8073 * toc.C (getTocList): adjust
8075 * iterators.[Ch]: rework for parlist
8077 * buffer.C (par_iterator_begin): adjust
8078 (par_iterator_end): adjust
8080 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
8082 * BufferView.C (removeAutoInsets): adjust
8083 (ChangeInsets): adjust
8085 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
8087 * text.C (top_y): fix bug 1110
8089 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
8091 * errorlist.[Ch]: added
8094 * BufferView_pimpl.C:
8095 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8098 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8100 * Makefile.am: ensure that lyx is relinked upon changes to the
8101 various "convenience" libs.
8103 2003-05-20 Angus Leeming <leeming@lyx.org>
8105 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8106 files are compiled in alphabetical order again.
8108 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8110 2003-05-19 Angus Leeming <leeming@lyx.org>
8112 * gettext.[Ch]: remove "char const * _(char const *)".
8114 2003-05-19 André Pönitz <poenitz@gmx.net>
8116 * dimension.[Ch]: promote from mathed/dimension.[Ch]
8125 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8127 2003-05-19 André Pönitz <poenitz@gmx.net>
8131 * lyxtextclass.[Ch]:
8133 * paragraph_funcs.[Ch]:
8135 * text3.C: more insetenv work
8137 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
8139 * ParagraphParameters.C (params2string): small bug fixed
8141 2003-05-16 André Pönitz <poenitz@gmx.net>
8144 * bufferview_funcs.C: patch from Kornel Benko to prevent
8145 crash when _(...) is called twice in a statement
8147 2003-05-16 André Pönitz <poenitz@gmx.net>
8154 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8156 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
8158 * lyx_main.C (init): remove spurious static_cast
8160 2003-05-14 André Pönitz <poenitz@gmx.net>
8162 * BufferView.C: fix format string
8164 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
8166 * BufferView.[Ch] (insertErrors): removed
8167 * BufferView.[Ch] (showErrorList): added
8168 * buffer.C (runChkTeX):
8169 * converter.C (scanLog): call showErrorList instead of inserterrors
8171 2003-05-13 André Pönitz <poenitz@gmx.net>
8173 * BufferView_pimpl.C:
8175 * bufferview_func.C:
8182 * tabular_funcs.h: tostr() from its own header
8184 * ParagraphParameters.C:
8189 * text3.C: STRCONV()
8191 2003-05-12 André Pönitz <poenitz@gmx.net>
8194 * BufferView_pimpl.C:
8198 * ParagraphParameters.C:
8202 * bufferview_funcs.C:
8215 * paragraph_funcs.C:
8219 * text3.C: boost::format -> bformat all over the place
8222 2003-05-09 André Pönitz <poenitz@gmx.net>
8224 * LColor.[Ch]: Pimpl the #include <map> away
8226 2003-05-09 John Levon <levon@movementarian.org>
8228 * bufferlist.C: never remove emergency saves
8230 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8232 * Makefile.am: better lib building
8234 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
8236 * texrow.[Ch]: remove dependency on Paragraph and just store a id
8238 * paragraph_pimpl.C (simpleTeXBlanks): adjust
8239 (simpleTeXSpecialChars): adjust
8240 (simpleTeXSpecialChars): adjust
8241 * paragraph.C (simpleTeXOnePar): adjust
8242 * buffer.C (makeLaTeXFile): adjust
8244 * Makefile.am (BOOST_LIBS): allow boost as system lib.
8246 * text2.C (changeDepth): parlist cleanup
8247 (getColumnNearX): ditto
8249 * rowpainter.C (getLabelFont): parlist cleanup
8251 * bufferlist.C (newFile): parlist cleanup
8253 * CutAndPaste.C (eraseSelection): parlist cleanup
8255 * BufferView_pimpl.C (trackChanges): parlist cleanup
8258 * BufferView.C (lockInset): parlist cleanup.
8259 (ChangeInsets): ditto
8261 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8263 * CutAndPaste.h: Update file header.
8265 * CutAndPaste.C: Update file header.
8266 Store the parts cut out of the Document in a limited_stack.
8267 (copySelection): adjust
8268 (pasteSelection): new function, takes the index in the limited stack.
8269 (nrOfParagraphs): adjust
8270 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8271 simplify error inset insertion.
8272 (checkPastePossible): adjust
8274 2003-05-06 John Levon <levon@movementarian.org>
8276 * text2.C: don't cast wrap inset to float
8278 2003-05-05 André Pönitz <poenitz@gmx.net>
8281 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8283 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8284 few naked Paragraph *.
8286 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8288 * bufferparams.C: Output warning if a document with missing
8289 TeX document class is loaded
8290 * exporter.C: Disable TeX exports if the document class is missing
8293 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8294 isTeXClassAvailable()
8296 2003-05-03 John Levon <levon@movementarian.org>
8299 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8300 explicit cursor show/hide
8302 * BufferView_pimpl.h:
8303 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8304 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8306 * lyxfunc.C: hide cursor before dispatching.
8311 * text3.C: remove explicit cursor hides
8313 2003-05-02 André Pönitz <poenitz@gmx.net>
8315 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8318 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8321 * text2.C: tiny whitespace
8323 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8325 * undo_funcs.C: almost only ws changes.
8327 * ParagraphList.C (splice): just return if pl is empty.
8329 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8331 * ParagraphList.C (splice): new function.
8333 * CutAndPaste.C (pasteSelection): use it
8335 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8337 * CutAndPaste.C (pasteSelection): remove the last next and
8338 previous from this file.
8340 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8342 * CutAndPaste.C (pasteSelection): more clean up, user proper
8343 ParagraphList functions for pasteing.
8345 * ParagraphList.C (insert): new function, three arg insert
8347 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8349 * ParagraphList.C (insert): new function, three arg insert
8351 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8354 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8356 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8358 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8360 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8362 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8364 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8365 (copySelection): clean up a bit.
8366 (pasteSelection): use make_pair
8368 * ParagraphList.C (ParagraphList): implement copy constructor
8369 (operator=): implement, base on copy constructor.
8372 * paragraph.C (erase): return a bool
8374 * paragraph_pimpl.C (erasePos): remove function, move contents...
8375 (erase): ... here. Return a bool.
8376 (erase): call erase instead of erasePos.
8378 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8380 * ParagraphList.h: define PitPosPair
8381 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8382 ParagraphList, fix a bug on pasting multiple pars
8383 * text2.C: change interface to C&P
8385 2003-04-30 André Pönitz <poenitz@gmx.net>
8387 * undo_func.C: revert part of yesterday's patch 2
8389 2003-04-30 John Levon <levon@movementarian.org>
8391 * LColor.C: s/tabular/table/
8393 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8395 * text3.C (dispatch): do not convert iterator -> pointer
8396 * undo_funcs.C (setCursorParUndo): ditto
8397 * text_funcs.C (transposeChars): ditto
8399 * text2.C (setLayout): ws changes only
8401 * text.C (breakParagraph): do not convert iterator -> pointer
8403 (acceptChange): ditto
8404 (rejectChange): ditto
8409 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8412 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8414 * text3.C (gotoInset): YABG (yet another bad getChar)
8416 2003-04-29 André Pönitz <poenitz@gmx.net>
8418 * paragraph.h: make operator= private unimplemented as long as
8421 * ParagraphList.C: whitespace
8424 * paragraph_pimpl.[Ch]:
8425 * paragraph_funcs.C:
8427 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8430 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8432 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8434 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8435 * paragraph.[Ch] (erase):
8436 * paragraph_pimpl.[Ch] (erase): change return type and value
8437 * text2.C (cutSelection): some rework
8439 2003-04-28 John Levon <levon@movementarian.org>
8441 * bufferlist.C: changes for unsaved changes dialog
8443 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8445 * bufferlist.C (newFile): set language (messages_) for new
8448 * buffer.C (readFile): ws changes only.
8450 2003-04-28 André Pönitz <poenitz@gmx.net>
8455 * BufferView_pimpl.C:
8456 * BufferView.C: getParFromID related ParagraphList::iterator changes
8458 2003-04-28 André Pönitz <poenitz@gmx.net>
8460 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8463 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8465 * messages.C: remove one more localedir class variable.
8467 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8469 * messages.C (getLocaleDir): singleton generation function
8471 (Messages): add a default constructor.
8473 * main.C (main): do not setup localedir here, do not call
8476 * gettext.C (_): use it.
8477 (gettext_init): delete funciton
8479 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8481 * gettext.C (getLyXMessages): new singleton generating function.
8483 * buffer.C (updateDocLang): adjust
8485 * Makefile.am (messages.o): add target
8486 (main.o): remove target
8488 2003-04-27 John Levon <levon@movementarian.org>
8493 * lyxvc.C: specify cancel button in Alert::prompt
8495 2003-04-26 John Levon <levon@movementarian.org>
8500 * LyXAction.C: add LFUN_INSET_SETTINGS
8502 * lyxfunc.C: don't enable tabular-feature when there's
8503 just any locking inset
8505 2003-04-26 John Levon <levon@movementarian.org>
8507 * bufferlist.C: re-add Cancel to buffer close question
8509 * lyxfunc.C: fix import UI a bit
8511 2003-04-25 John Levon <levon@movementarian.org>
8513 * gettext.C: remove the broken asserts for now
8515 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8517 * messages.C: make case where setlocale cannot comply work better.
8519 * buffer.C (updateDocLang): new function
8520 (changeLanguage): use it
8523 * text2.C (setCounter): use B_ a bit.
8525 * lyxlayout.C (Read): be sure to trim the label strings.
8527 * messages.C (Messages): fix typo in comment
8529 * buffer.C (readFile): set message_ after file is loaded.
8530 (makeDocBookFile): remove double return
8531 (changeLanguage): reset message_ upon language change.
8532 (B_): new func, use this to get translated buffer strings.
8534 * main.C: add myself and Jean Marc as authors.
8536 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8538 * messages.[hC]: pimplify Messages, and three different pimpls to be
8539 used in different circumstances.
8541 * gettext.[Ch]: change for use with new message code.
8543 2003-04-24 André Pönitz <poenitz@gmx.net>
8545 * factory.C: support for eqref
8547 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8549 * messages.[Ch]: add missing char
8551 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8553 * messages.[Ch]: New files
8555 2003-04-18 John Levon <levon@movementarian.org>
8559 * BufferView_pimpl.C:
8563 * text2.C: remove layout-copy/paste (bug 778)
8565 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8567 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8569 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8571 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8572 if they succeed. Act accordingly.
8574 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8576 * text2.C (setCharFont): adjust
8577 (setCounter): adjust
8578 (insertStringAsLines): adjust
8580 * text.C (leftMargin): adjust
8581 (setHeightOfRow): adjust
8583 * rowpainter.C (paintFirst): adjust
8586 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8588 (isFirstInSequence): ditto
8589 (getEndLabel): ditto
8592 * paragraph.C (getParLanguage): comment out some hard stuff.
8594 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8596 (simpleDocBookOnePar): ditto
8597 (makeDocBookFile): use ParagraphList::iterator
8599 * CutAndPaste.C (pasteSelection): adjust
8601 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8603 * text2.C (getFont): adjust
8604 (getLayoutFont): adjust
8605 (getLabelFont): adjust
8607 * paragraph_funcs.C (TeXOnePar): adjust
8609 * buffer.C (simpleLinuxDocOnePar): adjust
8610 (simpleDocBookOnePar): adjust
8612 * CutAndPaste.C (pasteSelection): adjust
8614 * BufferView.C (getEncoding): adjust
8616 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8618 2003-04-16 John Levon <levon@movementarian.org>
8620 * lyxfind.C: use parlist stuff for search/changes
8622 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8624 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8626 * text2.C (deleteEmptyParagraphMechanism): adjust
8628 * text2.[Ch] (ownerParagraph): delete func (both of them
8630 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8632 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8634 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8636 * ParagraphList.C: prepare for NO_NEXT
8638 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8640 * text2.C (getFont): adjust
8641 (getLayoutFont): adjust
8642 (getLabelFont): adjust
8644 * paragraph.C (getFont): adjust
8645 (getLabelFont): adjust
8646 (getLayoutFont): adjust
8648 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8650 2003-04-15 John Levon <levon@movementarian.org>
8654 * lyx_main.C: handle Include in .ui files
8656 2003-04-15 John Levon <levon@movementarian.org>
8658 * MenuBackend.C: make the doc files length shorter
8661 * ToolbarBackend.C: handle toolbar placement flags,
8664 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8666 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8669 * paragraph_funcs.C (TeXOnePar): adjust
8671 * paragraph.C (getLabelFont): add outerfont arg, adjust
8672 (getLayoutFont): ditto
8673 (simpleTeXOnePar): adjust
8675 * paragraph_pimpl.C (realizeFont): delete func
8677 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8679 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8680 row argument, constify cur argument.
8682 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8684 * text2.C (getFont): adjust
8685 (getLayoutFont): adjust
8686 (getLabelFont): adjust
8688 * paragraph_funcs.C (TeXOnePar): adjust
8689 (outerFont): new func...
8690 (realizeFont): ...moved out from here, changed this to facilitate
8693 * paragraph.C (getFont): take outerfont as arg, adjust
8694 (simpleTeXOnePar): add outerfont arg, adjust
8696 * buffer.C (simpleLinuxDocOnePar): adjust
8697 (simpleDocBookOnePar): adjust
8699 * CutAndPaste.C (pasteSelection): adjust
8701 * BufferView.C (getEncoding): adjust
8703 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8705 * text2.C (setCharFont): adjust
8706 (setCounter): adjust
8708 * text.C (leftMargin): adjust
8709 (setHeightOfRow): adjust
8711 * rowpainter.C (paintFirst): adjust
8714 * paragraph_pimpl.C (realizeFont): adjust
8716 * paragraph.C (isFirstInSequence): move from here...
8717 * paragraph_funcs.C (isFirstInSequence): ...to here
8719 * paragraph.C (outerHook): move from here...
8720 * paragraph_funcs.C (outerHook): ...to here
8722 * paragraph.C (depthHook): move from here...
8723 * paragraph_funcs.C (depthHook): ...to here
8725 * paragraph.C (getEndLabel): move from here...
8726 * paragraph_funcs.C (getEndLabel): ...to here
8728 * text2.C (realizeFont): move from here...
8729 * paragraph_funcs.C (realizeFont): ...to here
8731 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8733 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8735 2003-04-14 Angus Leeming <leeming@lyx.org>
8737 * LColor.[Ch]: scrap LColor mathcursor.
8739 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8741 * lyxlex.[Ch] (text): delete function
8742 * trans.C (Load): adjust
8743 * paragraph_funcs.C (readParToken): adjust
8745 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8747 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8748 vector<char> instead of a char[].
8750 * lyxlex_pimpl.C (getString): adjust
8752 (lex): use getString
8756 * lyxlex.C (text): use pimpl_->getString()
8760 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8762 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8763 (makeFontEntriesLayoutSpecific): temp var for par.size()
8764 (setLayout): temp var for ownerParagraphs().end()
8765 (fullRebreak): temp var for rows().end()
8766 (selectionAsString): temp var for boost::next(startpit), realize
8767 that the while really is a regular for loop.
8768 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8769 setCursor in one place.
8770 (setParagraph): temp vr for ownerParagraphs().end()
8771 (updateCounters): make the while loop a for loop
8772 (cutSelection): temp var for ownerParagraphs().end()
8773 (updateInset): make the do {} while() a regular for loop
8774 (getCursorX): use temp vars
8775 (setCurrentFont): use temp vars
8776 (getColumnNearX): use temp vars
8778 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8780 * text.C (transformChar): use temp var for getChar
8781 (computeBidiTables): use temp var for row->par()
8782 (fill): move temp vars for row->par() and pit->layout() earlier in
8784 (labelFill): use temp var for row->par()
8785 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8786 asc and desc, realize that pit never changes and that firstpit is
8787 just a duplicate and not needed. Exchange rit->par() with pit in a
8789 (breakAgain): use a temp var for boost::next(rit)
8790 (breakAgainOneRow): ditto
8791 (breakParagraph): use a temp var for rows().begin()
8792 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8793 (cursorRightOneWord): use temp var for cursor.par() and
8794 cursor.pos(), remove usage of tmpcursor.
8795 (cursorLeftOneWord): use temp var for cursor.par() and
8796 cursor.pos() only set cur at end of function.
8798 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8800 * text.C, text2.C: exchange all usage of Paragraph::next with
8801 boost::next(ParagraphList::iterator)
8803 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8805 * text2.C (cursorTop): simplify implementation
8806 (cursorBottom): ditto
8807 (setParagraph): use ParagraphList::iterator
8808 (setCurrentFont): adjust
8809 (getColumnNearX): adjust
8810 (cursorRight): adjust
8811 (cursorLeft): remove usage of Paragraph::previous
8812 (cursorUpParagraph): ditto
8813 (deleteEmptyParagraphMechanism): slight cleanup
8815 * text.C (isBoundary): take a Paragraph const & instead of a
8817 (addressBreakPoint): ditto
8818 (leftMargin): remove usage of Paragraph::previous.
8819 (setHeightOfRow): ditto
8820 (cursorLeftOneWord): ditto
8821 (selectNextWordToSpellcheck): ditto
8824 (breakParagraph): remove one usage of Paragraph::next
8825 (redoParagraph): ditto
8826 (acceptChange): ditto
8827 (insertChar): adjust
8828 (rowBreakPoint): adjust
8830 * bufferview_funcs.C (toggleAndShow): adjust
8832 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8834 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8835 methods to access it.
8837 * text.C: Added updateRowPositions to compute all row positions.
8838 Make top_y and getRowNearY() to use the cached y position
8840 2003-04-11 John Levon <levon@movementarian.org>
8842 * text.C (rowBreakPoint): reintroduce the labelEnd
8843 checks, code copied from the row fill stuff. Deep voodoo.
8845 * text.C (fill): add a comment and debugging for the
8848 2003-04-11 John Levon <levon@movementarian.org>
8850 * text.C: make sure fullrow insets get wrapped to the next line,
8851 even when they're in a manual label
8853 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8855 * text2.C (insertParagraph): make it take ParagraphList::iterator
8857 (setLayout): make it return ParagraphList::iterator
8858 (redoParagraphs): ditto
8860 (checkParagraph): ditto
8862 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8864 * text2.C: adjust several funcs.
8865 (realizeFont): take a ParagraphList::iterator as arg.
8866 (getLayoutFont): ditto
8867 (getLabelFont): ditto
8868 (setCharFont): ditto
8870 * text.C: adjust several funcs.
8872 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8874 * text.C (selectNextWordToSpellcheck): don't accidentally
8877 2003-04-10 John Levon <levon@movementarian.org>
8879 * ToolbarBackend.C (getIcon): special handling for
8882 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8884 * text2.C (cursorRight): a getChar assert fixed
8886 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8888 * text2.C (getFont): change to take a ParagraphList::iterator
8889 instead of Paragraph*
8890 Adjust several functions.
8892 * text.C (transformChar): change to take a ParagraphList::iterator
8893 instead of Paragraph*
8894 (singleWidth): ditto
8895 Adjust several functions.
8897 * rowpainter.C: adjust several functions
8898 * rowpainter.h:store a ParagraphList::iterator and not a
8902 2003-04-09 John Levon <levon@movementarian.org>
8907 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8908 and the "help" bits as well
8910 2003-04-09 John Levon <levon@movementarian.org>
8913 * ToolbarBackend.C: allow multiple toolbars
8915 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8917 * undo_funcs.C (setCursorParUndo): adjust
8919 * text_funcs.C (transposeChars): adjust
8921 * text3.C (gotoNextInset): adjust
8924 * text2.C (setLayout): adjust
8925 (changeDepth): adjust
8927 (redoParagraphs): adjust
8928 (selectionAsString): adjust
8929 (setParagraph): adjust
8930 (insertInset): adjust
8931 (cutSelection): adjust
8932 (copySelection): adjust
8933 (pasteSelection): adjust
8934 (insertStringAsLines): adjust
8935 (updateInset): adjust
8936 (setCursor): change to take a ParagraphList::iterator parameter
8937 (setCursorIntern): change to take a ParagraphList::iterator parameter
8938 (setCurrentFont): adjust
8939 (cursorLeft): adjust
8940 (cursorRight): adjust
8941 (deleteEmptyParagraphMechanism): adjust
8943 * text.C (breakParagraph): adjust
8944 (insertChar): adjust
8945 (acceptChange): adjust
8946 (rejectChange): adjust
8947 (selectNextWordToSpellcheck): adjust
8948 (changeCase): adjust
8952 * lyxfind.C (SearchForward): adjust
8953 (SearchBackward): adjust
8954 (nextChange): adjust
8956 * lyxcursor.C (par): adjust
8958 * lyxcursor.h: store a ParagraphList::iterator instead of a
8961 * lyx_cb.C (getPossibleLabel): adjust
8963 * bufferview_funcs.C (toggleAndShow): adjust
8965 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8968 * BufferView.C (removeAutoInsets): adjust
8969 (lockedInsetStoreUndo): adjust
8971 2003-04-09 John Levon <levon@movementarian.org>
8973 * ToolbarBackend.C: try icon without argument
8974 if with argument fails
8976 2003-04-08 John Levon <levon@movementarian.org>
8979 * ToolbarBackend.C: add getIcon(), handle tooltip,
8980 and change from "Icon" to "Item".
8982 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8984 * BufferView.C (lockInset): another bad getchar crunched
8986 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8988 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8991 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8993 * lyxfind.C (searchForward, searchBackwards): bug 782
8995 2003-04-07 John Levon <levon@movementarian.org>
8997 * paragraph.C: remove dead comment
8999 * text.C: remove troublesome depth-fiddling code
9000 in leftMargin() and rightMargin() (bug 1017)
9002 * text.C: fix breaking of rows in nested lists
9005 * text2.C (updateCounters): fix up depth values
9008 2003-04-07 John Levon <levon@movementarian.org>
9010 * BufferView_pimpl.C: clear message when doc finishes resizing,
9011 and after a mouse event
9013 * lyxfunc.C: clear message after exiting inset
9015 2003-04-07 John Levon <levon@movementarian.org>
9017 * bufferview_funcs.C: show math status not outside
9018 status in the statusbar
9020 2003-04-07 John Levon <levon@movementarian.org>
9022 * lyxfunc.C: note status changed after a depth change
9024 2003-04-04 Angus Leeming <leeming@lyx.org>
9026 * LaTeX.h: move AuxInfo operator==, != out of line.
9027 Remove LaTeX virtual destructor; nothing derives from it.
9028 Move operator()() out of public area and rename it startscript().
9029 Change protected for private.
9031 2003-04-04 Angus Leeming <leeming@lyx.org>
9034 * text2.C: remove unneeded #includes.
9036 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
9038 * text2.C (dEPM): fix the heigth of the next row
9040 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
9042 * text.C: squashed an invalid getChar requester + some ws changes
9044 2003-04-03 John Levon <levon@movementarian.org>
9046 * bufferview_funcs.h:
9047 * bufferview_funcs.C:
9050 * text2.C: make getStatus work for the env depth lfuns
9052 2003-04-03 John Levon <levon@movementarian.org>
9054 * bufferview_funcs.h:
9055 * bufferview_funcs.C:
9058 * text2.C: parlistize decDepth(), by merging it with incDepth()
9060 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9062 * lyxrow.h: store a ParagraphList::iterator instead of a
9063 Paragraph* and adjust other class functions to suit.
9065 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
9068 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9070 * text2.C (setCursor): do not anchor to cursor row for the time being
9072 2003-04-02 John Levon <levon@movementarian.org>
9079 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
9081 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9083 * paragraph.h: make ParagraphList and ParagraphList::iterator
9084 friends of Paragraph.
9086 * buffer.C (makeLinuxDocFile): move towards ParagraphList
9088 * ParagraphList.C: Use the private next_ and previous_ from
9091 2003-04-01 John Levon <levon@movementarian.org>
9095 * Makefile.am: rename, remove defaults gunk
9098 * MenuBackend.C: remove defaults gunk
9101 * Languages.C: remove defaults gunk
9104 * lyx_main.C: error out if files couldn't be found.
9106 2003-04-02 John Levon <levon@movementarian.org>
9108 * text2.C: make incDepth() use parlist
9110 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9112 * undo_funcs.C (firstUndoParagraph): adjust
9114 * text3.C (gotoInset): adjust
9115 (dispatch): adjust, and rewrite loop.
9117 * text2.C (init): adjust, and rewrite loop.
9118 (redoParagraphs): adjust
9119 (updateInset): adjust, and rewrite loop.
9120 (deleteEmptyParagraphMechanism): adjust
9122 * tabular.C (LyXTabular): adjust
9123 (SetMultiColumn): adjust
9126 * lyxtext.[Ch] (ownerParagraph): delete function
9127 (ownerParagraphs): new function returns a ParagraphList.
9129 * BufferView.C (removeAutoInsets): adjust
9130 (insertErrors): adjust
9131 (setCursorFromRow): adjust
9133 2003-04-01 Angus Leeming <leeming@lyx.org>
9135 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9138 2003-04-02 John Levon <levon@movementarian.org>
9144 * text_funcs.C: make transposeChars a free function
9146 * lyxrow_funcs.C: remove wrong comment
9148 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9151 * rowpainter.C: adjust
9156 * lyxrow_funcs. [Ch]: new files
9158 * lyxrow.[Ch]: remove next and previous pointers
9159 (next,previous): remove accessor functions
9160 (isParEnd): move to lyxrow_funcs
9161 (lastPos): move to lyxrow_funcs
9162 (nextRowIsAllInset): move to lyxrow_funcs
9163 (lastPrintablePos): move to lyxrow_funcs
9164 (numberOfSeparators): move to lyxrow_funcs
9165 (numberOfHfills): move to lyxrow_funcs
9166 (numberOfLabelHfills): move to lyxrow_funcs
9167 (hfillExpansion): move to lyxrow_funcs
9171 * bufferview_funcs.C (toggleAndShow): adjust
9173 * RowList.h: Remove class RowList from file leave just a
9176 * RowList.C: delete file
9178 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9181 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9183 * text3.C (cursorPrevious): adjust
9184 (cursorNext): adjust
9187 * text2.C (redoHeightOfParagraph): adjust
9188 (redoDrawingOfParagraph): adjust
9191 * text.C (breakParagraph): adjust
9192 (insertChar): adjust
9195 * rowpainter.C (RowPainter): adjust
9196 (leftMargin): simplify and adjust
9197 (most rowpainter functions): adjust.
9199 * rowpainter.h: store the row as RowList::iterator not as Row*
9201 * lyxcursor.C (row): taka RowList::iterator as arg
9204 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9207 2003-04-01 Angus Leeming <leeming@lyx.org>
9209 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9210 stuff like bool Bool.
9212 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9214 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9217 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9219 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9222 * lyxtext.h (rows): drop one version and leve a const variant that
9223 returns a RowList::iterator.
9225 2003-03-31 Angus Leeming <leeming@lyx.org>
9227 * text.C (fill): ensure that the signature is the same as that in the
9230 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
9232 * text2.C (redoParagraphs): adjust
9233 (updateCounters): adjust
9234 (checkParagraph): adjust
9235 (getColumnNearX): adjust and reformat a bit.
9237 * text.C (top_y): adjust
9239 (leftMargin): adjust
9240 (prepareToPrint): adjust
9242 (getRowNearY): adjust
9244 * lyxtext.h: make rowlist_ mutable.
9246 * RowList.h: add const_iterator
9247 * RowList.C: adjust for RowList::const_iterator.
9249 * text2.C (getCursorX): make it take a RowList::iterator as arg,
9252 2003-03-31 John Levon <levon@movementarian.org>
9255 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9257 * lyx_main.C: set default fonts from using lyx_gui funcs
9259 * exporter.C: pdf_mode moved from lyxrc
9262 * lyxfunc.C: changes from above
9264 2003-03-31 John Levon <levon@movementarian.org>
9266 * lyx_main.C: fix to the last fix
9268 2003-03-31 John Levon <levon@movementarian.org>
9270 * bufferlist.C: "Load original" -> "Load Original"
9276 * format.C: more Alert cleanups
9278 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9280 * text2.C (removeParagraph): make it take a RowList::iterator as
9282 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9283 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9285 * text.C (anchor_row): make it take a RowList::iterator as arg,
9287 (computeBidiTables): make it take a const reference to Row instead
9288 of Row pointer, adjust.
9289 (leftMargin): make it take a RowList::iterator as arg, adjust.
9290 (rowBreakPoint): adjust
9291 (breakAgainOneRow): make it take a RowList::iterator as arg,
9293 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9295 * bufferview_funcs.C (toggleAndShow): adjust
9297 2003-03-30 John Levon <levon@movementarian.org>
9301 * boost-inst.C: moved to support
9303 * several files: changes as a result
9305 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9307 * text2.C (LyXText): adjust.
9309 (removeRow): make it take a RowList::iterator as arg, adjust.
9310 (fullRebreak): adjust
9311 (deleteEmptyParagraphMechanism): adjust
9312 (clearPaint): adjust
9315 * text.C (top_y): adjust
9316 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9317 (breakAgain): make it take a RowList::iterator as arg, adjust.
9318 (breakParagraph): adjust
9319 (insertChar): adjust
9322 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9323 need_break_row, and refresh_row.
9325 * text3.C (dispatch): adjust
9327 * text2.C (checkParagraph): adjust
9329 (setCursorFromCoordinates): adjust
9331 * text.C (top_y): adjust
9333 (getRow): make it return a RowList::iterator, adjust
9334 (getRowNearY): make it return a RowList::iterator, adjust
9336 * text2.C (init): adjust
9337 (insertRow): remove function
9338 (insertParagraph): adjust
9339 (redoParagraphs): adjust
9340 (fullRebreak): adjust
9341 (updateCounters): adjust
9343 * text.C (top_y): rewrite to use RowList iterators.
9345 (setHeightOfRow): rewrite to sue RowList iterators.
9346 (appendParagraph): adjust
9347 (breakAgain): adjust
9348 (breakAgainOneRow): adjust
9349 (breakParagraph): adjust
9351 (getRowNearY): adjust, and remove commented code.
9353 * lyxtext.h (firstRow): delete function
9354 (lastRow): delete function
9355 (rows): new function (const and non-const versions.)
9356 (insertRow): delete function
9358 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9360 2003-03-29 John Levon <levon@movementarian.org>
9362 * BufferView_pimpl.C: always update scrollbar top
9363 because pasting text when we're anchored could mean we
9364 miss an update altogether
9366 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9368 * text2.C (init): use rowlist_.end() and not 0.
9369 (insertRow): change to take a RowList::iterator as arg, adjust
9371 (insertParagraph): change to take a RowList::iterator as arg,
9373 (redoParagraphs): remove some debug msgs.
9375 * text.C (appendParagraph): change to take a RowList::iterator
9376 arg, adjust for this.
9377 (breakAgain): add an assert
9378 (breakAgainOneRow): ditto
9380 2003-03-29 John Levon <levon@movementarian.org>
9382 * text2.C: do not clear selection after inc/decDepth
9385 2003-03-29 John Levon <levon@movementarian.org>
9388 * buffer.C: fix broken strerrors according to Lars
9390 2003-03-29 John Levon <levon@movementarian.org>
9392 * converters.C: more Alert cleanups
9394 2003-03-29 John Levon <levon@movementarian.org>
9396 * bufferview_funcs.C: remove pointless Alert
9398 * buffer.C: fix confusing error message when
9399 a template is chmoded 000
9401 2003-03-29 John Levon <levon@movementarian.org>
9405 * BufferView_pimpl.C: Alert fixes
9409 * tabular-old.C: remove unused table compat reading
9411 2003-03-29 John Levon <levon@movementarian.org>
9416 * lyx_cb.C: more Alert cleanups
9418 * lyxfunc.C: don't allow chktex if not latex document
9420 2003-03-29 John Levon <levon@movementarian.org>
9424 * buffer.C: warnings pushed down from support/,
9427 2003-03-29 John Levon <levon@movementarian.org>
9429 * lyxfunc.C: safety check for C-r (revert)
9431 2003-03-29 John Levon <levon@movementarian.org>
9434 * bufferlist.C: several UI fixes using Alert::prompt.
9435 Fix the pointless looping quit code. Fix stupid revert
9440 * lyx_cb.C: use Alert::prompt
9442 * lyx_main.C: remove a silly question
9444 * lyxfunc.C: remove a couple of silly questions,
9447 2003-03-28 John Levon <levon@movementarian.org>
9449 * text2.C: fix bug 974 (End on empty par)
9451 2003-03-28 John Levon <levon@movementarian.org>
9453 * BufferView_pimpl.C:
9455 * lfuns.h: remove do-nothing math greek lfuns
9457 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9459 * lyxgluelength.h (isValidGlueLength): add default arg on
9460 parameter 2. Remove default arg from friend in class.
9462 * lyxlength.h (isValidLength): add default arg on parameter 2.
9463 Remove default arg from friend in class.
9465 * text2.C (LyXText): adjust, initialize refresh_row.
9469 (insertParagraph): adjst
9470 (redoParagraphs): adjust
9471 (fullRebreak): adjust
9472 (updateCounters): adjust
9473 (deleteEmptyParagraphMechanism): first attempt at fixing a
9476 * text.C (top_y): adjust
9477 (setHeightOfRow): adjust
9479 (getRowNearY): adjust
9481 * lyxtext.h: include RowList.h
9482 (~LyXText): not needed anymore, deleted.
9483 (firstRow): modify for RowList
9484 (lastRow): new function
9485 Delete firstrow and lastrow class variables, add a Rowlist
9486 rowlist_ class variable.
9488 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9491 * RowList.C (insert): fix case where it == begin().
9493 2003-03-26 Angus Leeming <leeming@lyx.org>
9495 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9496 the thesaurus dialog.
9498 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9500 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9502 * RowList.[Ch]: new files
9504 * ParagraphList.C (erase): handle the case where it == begin
9507 2003-03-25 John Levon <levon@movementarian.org>
9511 * aspell.C: add new aspell support
9514 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9517 2003-03-25 Angus Leeming <leeming@lyx.org>
9520 * LyXAction.C (init): new LFUN_INSET_INSERT.
9522 * BufferView_pimpl.C (dispatch): split out part of the
9523 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9525 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9528 2003-03-25 Angus Leeming <leeming@lyx.org>
9530 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9532 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9535 * text3.C: remove useless row->height(0)
9537 2003-03-25 John Levon <levon@movementarian.org>
9541 * text3.C: rename the refreshing stuff to better names
9543 2003-03-24 John Levon <levon@movementarian.org>
9545 * BufferView_pimpl.h:
9546 * BufferView_pimpl.C: update layout choice on a mouse
9549 2003-03-23 John Levon <levon@movementarian.org>
9551 * Makefile.am: fix commandtags.h reference
9553 2003-03-22 John Levon <levon@movementarian.org>
9555 * BufferView_pimpl.C:
9560 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9562 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9565 * text.C: take the rtl methods out of line
9567 2003-03-21 André Pönitz <poenitz@gmx.net>
9569 * metricsinfo.[Ch]: new files containing structures to be passed around
9570 during the two-phase-drawing...
9572 2003-03-21 André Pönitz <poenitz@gmx.net>
9574 * lyxtextclass.C: read 'environment' tag.
9576 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9578 * text2.C (removeRow): fix bug 964
9580 2003-03-20 John Levon <levon@movementarian.org>
9584 * text2.C: paint cleanups. Inset::update() dropped font
9587 2003-03-19 John Levon <levon@movementarian.org>
9589 * lyxfunc.C: only fitcursor/markDirty if available()
9591 2003-03-19 John Levon <levon@movementarian.org>
9593 * commandtags.h: rename to ...
9595 * lfuns.h: ... this, and renumber / cleanup
9597 2003-03-19 John Levon <levon@movementarian.org>
9599 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9600 fit the cursor after an lfun
9604 * BufferView_pimpl.h:
9605 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9607 * LyXAction.C: layout-character should have ReadOnly
9609 * ParagraphParameters.C:
9611 * bufferview_funcs.C:
9618 * undo_funcs.C: changes from above
9620 2003-03-18 John Levon <levon@movementarian.org>
9622 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9623 remove it from update()
9625 * lyxfunc.C: update layout choice after an lfun
9627 * text3.C: remove extra updateLayoutChoice()s
9629 2003-03-18 John Levon <levon@movementarian.org>
9631 * text.C: top_y change means full repaint, fix
9632 a drawing bug with cursor movement
9634 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9638 * text2.C: anchor row on setCursor
9640 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9642 * lyxtext.h: remove almost all mutable keywords
9645 * text3.C: remove const keywords accordingly
9647 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9649 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9651 (TeXEnvironment): ditto
9654 2003-03-17 John Levon <levon@movementarian.org>
9656 * text.C (rowBreakPoint): remove attempt to fix displayed
9657 math insets inside a manual label
9659 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9661 * lyxtext.h: remove BufferView* as first arg from almost all class
9663 * other files: adjust.
9665 2003-03-17 John Levon <levon@movementarian.org>
9669 * text2.C: more paint cleanups
9671 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9674 * rowpainter.C: remove "smart" background painting code
9676 2003-03-16 John Levon <levon@movementarian.org>
9681 * text3.C: add helper functions for setting refresh_row/y
9683 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9685 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9686 newline inset which *can* get inserted in the pass_thru layouts.
9687 This is primarily for literate documents.
9689 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9691 * buffer.C: increment LYX_FORMAT to 223
9693 2003-03-14 André Pönitz <poenitz@gmx.net>
9695 * textclass.h: prepare for environment handling, ws changes
9696 * lyxlayout.C: read latexheader and latexfooter tags
9698 2003-03-14 John Levon <levon@movementarian.org>
9700 * text2.C: rewrite ::status() a bit
9702 2003-03-13 John Levon <levon@movementarian.org>
9704 * lyxtext.h: add some docs
9706 2003-03-13 John Levon <levon@movementarian.org>
9711 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9713 2003-03-13 John Levon <levon@movementarian.org>
9715 * text3.C: fix appendix redrawing
9717 2003-03-13 John Levon <levon@movementarian.org>
9719 * text.C (setHeightOfRow):
9721 * rowpainter.C: make appendix mark have the text
9722 "Appendix" so the user knows what it is
9725 * LColor.C: s/appendixline/appendix/ from above
9727 2003-03-13 John Levon <levon@movementarian.org>
9729 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9731 * text.C: fix a getChar(pos) bug properly
9733 2003-03-13 Angus Leeming <leeming@lyx.org>
9736 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9737 Probably only temporary. Let's see how things pan out.
9739 * BufferView.C (unlockInset):
9740 * BufferView_pimpl.C (fitCursor):
9741 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9743 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9744 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9746 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9747 new functions that convert ParagraphParameters to and from a string.
9749 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9750 BufferView::Pimpl's dispatch.
9751 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9753 2003-03-13 André Pönitz <poenitz@gmx.net>
9757 * factory.C: make it aware of InsetEnv
9759 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9761 * text2.C (setCursor): never ask for one past last
9762 (setCursor): add some debugging messages.
9764 * text.C (singleWidth): never ask for one past last
9765 (singleWidth): ditto
9767 (rightMargin): ditto
9768 (rowBreakPoint): ditto
9769 (setHeightOfRow): ditto
9770 (prepareToPrint): ditto
9772 * rowpainter.C (paintBackground): never ask for one past last
9773 (paintText): never ask for one past last
9775 * paragraph_pimpl.C (getChar): make the assert stricter, never
9776 allow the one past last pos to be taken
9778 * paragraph.C (getChar): ws changes only
9780 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9781 (numberOfSeparators): ditto
9782 (numberOfHfills): ditto
9784 2003-03-12 John Levon <levon@movementarian.org>
9790 * paragraph_funcs.C: fix per-buffer authorlists
9792 2003-03-12 John Levon <levon@movementarian.org>
9794 * text.C: fix newline in right address
9796 2003-03-12 Angus Leeming <leeming@lyx.org>
9798 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9799 duplicate those in LyXFunc::dispatch.
9803 * ToolbarDefaults.C:
9804 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9805 Add LFUN_FONTFREE_UPDATE.
9807 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9808 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9810 * bufferview_func.[Ch]: several new functions to facilliate
9811 transfer of data to and from the character dialog.
9813 2003-03-12 John Levon <levon@movementarian.org>
9818 * paragraph_funcs.C:
9819 * paragraph_pimpl.C:
9823 * text3.C: remove META_NEWLINE in favour of an inset
9826 * rowpainter.C: remove paintNewline (done by inset)
9828 2003-03-12 John Levon <levon@movementarian.org>
9830 * paragraph_pimpl.C: complain about bad getChar()s
9831 for a while at least
9833 2003-03-12 John Levon <levon@movementarian.org>
9836 * buffer.C: move paragraph read into a separate function,
9837 a little renaming to reflect that.
9840 * bufferparams.C: remove the author_ids map, not necessary now
9843 * factory.C: moved Buffer::readInset to here
9845 * paragraph_funcs.h:
9846 * paragraph_funcs.C: readParagraph free function moved from
9849 * tabular.C: name change
9851 2003-03-12 John Levon <levon@movementarian.org>
9854 * ParagraphParameters.C: move par params input to
9857 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9858 behave like a normal read from the stream wrt reading
9859 a line vs. a \\token
9861 2003-03-12 John Levon <levon@movementarian.org>
9864 * ParagraphParameters.h:
9865 * ParagraphParameters.C: move output code to a
9868 2003-03-12 John Levon <levon@movementarian.org>
9870 * BufferView.C (insertLyXFile):
9873 * tabular.C: use a parlist iterator for creating the
9876 2003-03-12 John Levon <levon@movementarian.org>
9878 * buffer.C: make current_change static local not
9881 2003-03-12 John Levon <levon@movementarian.org>
9883 * buffer.C: fix insertStringAsLines for change tracking
9885 2003-03-12 John Levon <levon@movementarian.org>
9892 * bufferparams.C: move author list into params. Rename some
9893 functions. Move the header reading into a separate token
9894 loop. Move the header token reading into BufferParams.
9896 2003-03-12 John Levon <levon@movementarian.org>
9898 * changes.C: put debug inside lyxerr.debugging() checks
9900 2003-03-11 André Pönitz <poenitz@gmx.net>
9902 * factory.C: make it aware of InsetHFill
9904 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9906 * buffer.C (latexParagraphs): move function from here...
9907 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9910 2003-03-10 Angus Leeming <leeming@lyx.org>
9912 * LyXAction.C (init): fix bug in poplating array with multiple entries
9913 with the same LFUN (spotted by JMarc).
9915 2003-03-10 John Levon <levon@movementarian.org>
9918 * text2.C: move getColumnNearX() near its
9921 2003-03-10 John Levon <levon@movementarian.org>
9923 * text.C: fix break before a minipage
9925 2003-03-10 John Levon <levon@movementarian.org>
9927 * text.C: fix the last commit
9929 2003-03-09 John Levon <levon@movementarian.org>
9933 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9934 bug 365 (don't break before insets unless needed). Don't
9935 return a value > last under any circumstances.
9937 2003-03-09 Angus Leeming <leeming@lyx.org>
9939 * BufferView_pimpl.C (trackChanges, dispatch): call
9940 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9942 2003-03-09 Angus Leeming <leeming@lyx.org>
9944 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9945 than Dialogs::showAboutlyx().
9947 2003-03-09 Angus Leeming <leeming@lyx.org>
9949 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9950 than Dialogs::showTabularCreate().
9952 2003-03-09 John Levon <levon@movementarian.org>
9956 * text2.C: 3rd arg to nextBreakPoint was always the same.
9959 2003-03-08 John Levon <levon@movementarian.org>
9966 * text2.C: Remove the "main" bit from the "main body"
9969 2003-03-08 John Levon <levon@movementarian.org>
9971 * text.C (leftMargin): The left margin of an empty
9972 manual label paragraph should not include the label width
9975 * text.C (prepareToPrint): don't attempt to measure hfills
9976 for empty manual label paragraphs - the answer should be 0
9978 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9980 * CutAndPaste.C: remove commented code and reindent.
9982 2003-03-08 John Levon <levon@movementarian.org>
9985 * lyxfunc.C: move reloadBuffer()
9988 * BufferView.C: to here
9990 * lyxvc.C: add comment
9993 * vc-backend.C: call bv->reload() to avoid
9994 getStatus() check on MENURELOAD
9996 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9998 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9999 to an old format .dep file.
10001 2003-03-07 Angus Leeming <leeming@lyx.org>
10003 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
10004 when the LFUN_MOUSE_RELEASE should have been handled by
10005 inset->localDispatch.
10007 2003-03-07 Angus Leeming <leeming@lyx.org>
10009 * BufferView_pimpl.C (dispatch):
10010 * LyXAction.C (init):
10011 * ToolbarDefaults.C (init):
10013 * lyxfunc.C (getStatus):
10014 remove LFUN_INSET_GRAPHICS.
10016 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
10018 2003-03-07 Angus Leeming <leeming@lyx.org>
10021 * LyXAction.C (init):
10022 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
10024 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
10027 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
10029 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
10030 localDispatch method LFUN_INSET_DIALOG_UPDATE.
10032 2003-03-07 Angus Leeming <leeming@lyx.org>
10034 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
10037 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10039 * ParagraphList.C (front): new function
10042 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
10044 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
10045 and top_row_offset_. removed var first_y.
10047 * text2.C (LyXText, removeRow):
10049 * BufferView_pimpl.C:
10050 use these methods instead of using first_y
10052 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10054 * text2.C (pasteSelection): adjust for checkPastePossible
10056 * CutAndPaste.C: remove Paragraph * buf and replace with
10057 ParagraphList paragraphs.
10058 (DeleteBuffer): delete
10059 (cutSelection): change the tc type to textclass_type
10060 (copySelection): change the tc type to textclass_type
10061 (copySelection): adjust for ParagraphList
10062 (pasteSelection): change the tc type to textclass_type
10063 (pasteSelection): adjust for Paragraphlist
10064 (nrOfParagraphs): simplify for ParagraphList
10065 (checkPastePossible): simplify for ParagraphList
10066 (checkPastePossible): remove unused arg
10068 * ParagraphList.C (insert): handle the case where there are no
10071 * CutAndPaste.h: make CutAndPaste a namespace.
10073 * text3.C (dispatch): adjust
10075 * text.C (breakParagraph): add a ParagraphList as arg
10077 * paragraph_funcs.C (breakParagraph): change to take a
10078 BufferParams and a ParagraphList as args.
10079 (breakParagraphConservative): ditto
10080 (mergeParagraph): ditto
10081 (TeXDeeper): add a ParagraphList arg
10082 (TeXEnvironment): ditto
10085 * buffer.C (readLyXformat2): adjust
10086 (insertStringAsLines): adjust
10087 (latexParagraphs): adjust
10089 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10090 (cutSelection): adjust
10091 (pasteSelection): adjust
10093 * BufferView_pimpl.C (insertInset): adjust
10095 2003-03-05 Angus Leeming <leeming@lyx.org>
10098 * LyXAction.C (init):
10099 * BufferView_pimpl.C (dispatch):
10100 * lyxfunc.C (getStatus):
10101 remove LFUN_CHILD_INSERT.
10103 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10105 2003-03-05 Angus Leeming <leeming@lyx.org>
10108 * LyXAction.C (init):
10109 * src/factory.C (createInset):
10110 * lyxfunc.C (getStatus):
10111 * text3.C (dispatch):
10112 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10114 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10116 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10118 * ParagraphList.C (insert): handle insert right before end()
10119 (erase): fix cases where it can be first or last paragraph.
10121 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10123 * paragraph_funcs.C (TeXEnvironment): remove all usage of
10124 Paragraph::next and Paragraph::previous
10127 * text.C (breakParagraph): adjust
10129 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10130 BufferParams& as arg.
10131 (breakParagraph): use ParagraphList::insert
10132 (breakParagraphConservative): take a Buffer* instead of a
10133 BufferParams& as arg.
10134 (breakParagraphConservative): use ParagraphList::insert.
10136 * buffer.C (insertStringAsLines): un-const it
10137 (insertStringAsLines): adjust
10139 * ParagraphList.C (insert): new function
10141 * CutAndPaste.C (pasteSelection): adjust
10143 * text.C (backspace): adjust
10145 * tabular.C (SetMultiColumn): adjust
10147 * CutAndPaste.C (cutSelection): adjust
10148 (pasteSelection): adjust
10150 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10151 Buffer const * as arg
10153 * ParagraphList.C (erase): new function
10154 * paragraph_funcs.C (mergeParagraph): use it
10155 (mergeParagraph): make it take a Buffer* instead of a
10156 BufferParams* as arg
10158 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10160 (breakParagraphConservative): ditto
10162 * paragraph.h: remove the breakParagraph friend
10164 * paragraph.C (eraseIntern): new function
10165 (setChange): new function
10167 * paragraph_funcs.C (mergeParagraph): make it take a
10168 ParagraphList::iterator instead of a Paragraph *, adjust
10171 * paragraph.h: move an #endif so that the change tracking stuff
10172 also works in the NO_NEXT case.
10174 2003-03-04 Angus Leeming <leeming@lyx.org>
10177 * LyXAction.C: new LFUN_INSET_MODIFY.
10179 * BufferView_pimpl.C (dispatch): if an inset is found to be open
10180 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10182 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10184 * several files: ws changes only
10186 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10187 (TeXEnvironment): ditto
10190 * buffer.C (makeLaTeXFile): adjust
10191 (latexParagraphs): make it take ParagraphList::iterator as args
10193 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
10195 * buffer.C (latexParagraphs): adjust
10197 * paragraph.C (TeXOnePar): move function...
10198 (optArgInset): move function...
10199 (TeXEnvironment): move function...
10200 * paragraph_pimpl.C (TeXDeeper): move function...
10201 * paragraph_funcs.C: ...here
10203 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10205 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10207 * buffer.C (readInset): remove compability code for old Figure and
10210 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10212 * buffer.C: ws changes
10215 * BufferView_pimpl.C: ditto
10218 * bufferlist.h: ditto
10222 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
10224 * converter.[Ch]: split into itself +
10227 * Makefile.am: += graph.[Ch] + format.[Ch]
10234 * lyxrc.C: added #include "format.h"
10236 2003-02-27 Angus Leeming <leeming@lyx.org>
10238 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10241 * factory.C (createInset): add "label" to the factory.
10243 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10244 string and do no more.
10246 2003-02-27 Angus Leeming <leeming@lyx.org>
10249 * LyXAction.C (init):
10250 * factory.C (createInset):
10251 * BufferView_pimpl.C (dispatch):
10252 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10254 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10256 * lyxfunc.C (dispatch):
10257 * text3.C (dispatch): pass name to params2string.
10259 2003-02-26 Angus Leeming <leeming@lyx.org>
10261 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10263 Rearrange the ~includes. Strip out the unnecessary ones.
10265 * factory.C (createInset): reformat.
10266 create new insets for the various LFUN_XYZ_APPLY lfuns.
10268 2003-02-26 John Levon <levon@movementarian.org>
10271 * lyxrow.C: add isParStart,isParEnd helpers
10273 * paragraph.h: make isInserted/DeletedText take refs
10275 * paragraph_funcs.h:
10276 * paragraph_funcs.C: remove #if 0'd code
10281 * text.C: use lyxrow helpers above.
10282 Move draw and paint routines to RowPainter.
10283 Make several methods use refs not pointers.
10284 Make backgroundColor() const.
10285 Add markChangeInDraw(), isInInset().
10286 Merge changeRegionCase into changeCase.
10287 Make workWidth() shouldn't-happen code into an Assert.
10290 * rowpainter.C: new class for painting a row.
10293 * vspace.C: make inPixels take a ref
10295 2003-02-26 Angus Leeming <leeming@lyx.org>
10297 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10300 2003-02-25 John Levon <levon@movementarian.org>
10302 * ispell.C: give the forked command a more accurate name
10304 2003-02-22 John Levon <levon@movementarian.org>
10307 * toc.C: make TocItem store an id not a Paragraph *
10310 2003-02-21 Angus Leeming <leeming@lyx.org>
10312 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10313 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10314 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10315 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10316 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10317 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10319 * BufferView_pimpl.C (dispatch):
10320 * LyXAction.C (init):
10321 * factory.C (createInset):
10322 * lyxfunc.C (getStatus, dispatch):
10323 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10325 2003-02-21 Angus Leeming <leeming@lyx.org>
10327 * BufferView_pimpl.C (MenuInsertLyXFile):
10328 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10329 * lyxfunc.C (menuNew, open, doImport):
10330 no longer pass a LyXView & to fileDlg.
10332 2003-02-21 Angus Leeming <leeming@lyx.org>
10334 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10335 * LyXAction.C: change, BIBKEY to BIBITEM.
10336 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10337 Change InsetBibKey to InsetBibitem.
10338 Change BIBKEY_CODE to BIBITEM_CODE.
10339 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10340 * factory.C: replace insetbib.h with insetbibitem.h.
10341 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10342 * paragraph.C: replace insetbib.h with insetbibitem.h.
10343 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10344 Change bibkey() to bibitem().
10345 * text.C: remove insetbib.h.
10346 * text2.C: replace insetbib.h with insetbibitem.h.
10347 change bibkey() to bibitem().
10348 * text3.C: remove insetbib.h.
10349 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10351 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10353 * lyxrc.C (output): enclose user email in quotes (in case there are
10356 2003-02-18 John Levon <levon@movementarian.org>
10358 * buffer.h: add std::
10360 2003-02-17 John Levon <levon@movementarian.org>
10366 * pspell.C: reworking. Especially in ispell, a large
10367 number of clean ups and bug fixes.
10369 * lyxfunc.C: fix revert to behave sensibly
10371 2003-02-17 André Pönitz <poenitz@gmx.net>
10374 * commandtags.h: new LFUN_INSERT_BIBKEY
10384 * paragraph_func.C: remove special bibkey handling
10386 2003-02-17 John Levon <levon@movementarian.org>
10388 * text.C (Delete): fix case where delete at the end of
10389 the very first paragraph would not merge the pars
10391 2003-02-17 John Levon <levon@movementarian.org>
10393 * lyxrow.C: fix lastPrintablePos()
10395 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10397 * bufferparams.C (writeLaTeX): add a std:here
10399 * buffer.C: and remove a using directive there
10401 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10403 * buffer.C (makeLaTeXFile): move the code that generates the
10406 * bufferparams.C (writeLaTeX): ... in this new method
10408 * LaTeXFeatures.C (getEncodingSet): make const
10409 (getLanguages): make const
10411 * MenuBackend.C (binding): returns the binding associated to this
10413 (add): sets the status of each item by calling getStatus. Adds
10415 (read): add support for OptSubMenu
10416 (expand): remove extra separator at the end of expanded menu
10418 2003-02-15 John Levon <levon@movementarian.org>
10421 * BufferView_pimpl.C:
10423 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10424 inset code that had no actual effect. Remove unneeded status
10427 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10429 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10432 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10434 * text.C (drawLengthMarker): also draw an arrow marker for
10435 symbolic lengths (medskip...)
10437 2003-02-14 John Levon <levon@movementarian.org>
10440 * tabular.C: better method names
10442 2003-02-14 John Levon <levon@movementarian.org>
10444 * BufferView_pimpl.C:
10449 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10450 it's a more accurate name. Remove some pointless uses.
10452 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10454 * text2.C (LyXText): change order of initilizers to shut off
10457 2003-02-14 John Levon <levon@movementarian.org>
10459 * buffer.C: use ParIterator for getParFromID()
10463 * paragraph_pimpl.h:
10464 * paragraph_pimpl.C: remove unused getParFromID()
10466 2003-02-14 John Levon <levon@movementarian.org>
10468 * buffer.C: remove some very old #if 0'd parse code
10470 2003-02-13 John Levon <levon@movementarian.org>
10474 * text2.C: move hfillExpansion(), numberOfSeparators(),
10475 rowLast(), rowLastPrintable(), numberofHfills(),
10476 numberOfLabelHfills() ...
10479 * lyxrow.C: ... to member functions here.
10484 * text.C: remove LyXText::beginningOfMainBody(), and call
10485 p->beginningOfMainBody() directly. Move the check for
10486 LABEL_MANUAL into the latter.
10493 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10499 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10500 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10502 2003-02-13 John Levon <levon@movementarian.org>
10504 * CutAndPaste.C: remove debug
10506 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10508 * paragraph.C (asString): remove two unused variables
10510 * lyxtextclass.C (readTitleType):
10512 (LyXTextClass): handle new members titletype_ and titlename_
10514 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10516 2003-02-09 John Levon <levon@movementarian.org>
10519 * buffer.C: replace hand-coded list with a map for the dep clean
10521 2003-02-08 John Levon <levon@movementarian.org>
10523 * LaTeX.C: consolidate code into showRunMessage() helper
10525 2003-02-08 John Levon <levon@movementarian.org>
10530 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10531 and pass the size in explicitly
10533 * BufferView_pimpl.h:
10534 * BufferView_pimpl.C:
10536 * BufferView.C: add getCurrentChange()
10538 * BufferView_pimpl.h:
10539 * BufferView_pimpl.C: handle change lfuns
10541 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10542 for changes. Mark pasted paragraphs as new.
10544 * support/lyxtime.h:
10545 * support/lyxtime.C:
10546 * DepTable.C: abstract time_t as lyx::time_type
10549 * LColor.C: add colours for new text, deleted text, changebars
10551 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10552 package use "usenames" option.
10556 * LyXAction.C: add change lfuns
10560 * author.C: author handling
10563 * buffer.C: add a per-buffer author list, with first entry as
10564 current author. Handle new .lyx tokens for change tracking. Output
10565 author list to .lyx file. Output dvipost stuff to .tex preamble.
10566 Bump lyx format to 222.
10569 * bufferlist.C: add setCurrentAuthor() to reset current author details
10573 * bufferparams.C: add param for tracking
10575 * bufferview_funcs.C: output change info in minibuffer
10579 * changes.C: add change-tracking structure
10582 * debug.C: add CHANGES debug flag
10585 * lyxfind.C: add code for finding the next change piece
10588 * lyxrc.C: add user_name and user_email
10591 * lyxrow.C: add a metric for the top of the text line
10594 * text.C: implement accept/rejectChange()
10597 * text.C: paint changebars. Paint new/deleted text in the chosen
10598 colours. Strike through deleted text.
10602 * paragraph_pimpl.h:
10603 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10604 in the current change to the insert functions. Rework erase to
10605 mark text as deleted, adding an eraseIntern() and a range-based
10606 erase(). Implement per-paragraph change lookup and
10609 * paragraph_funcs.C: Fixup paste for change tracking.
10611 * tabular.C: mark added row/columns as new.
10613 * text.C: fix rowLast() to never return -1. Don't allow
10614 spellchecking of deleted text. Track transpose changes. Don't
10615 allow paragraph break or merge where appropriate.
10617 * text2.C: leave cursor at end of selection after a cut.
10619 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10621 * text.C (getLengthMarkerHeight):
10622 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10623 visible on screen too.
10625 2003-02-07 John Levon <levon@movementarian.org>
10627 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10629 2003-02-05 Angus Leeming <leeming@lyx.org>
10631 * lyxserver.C (read_ready): revert my patch of 11 September last year
10632 as it sends PC cpu through the roof. Presumably this means that
10633 the lyxserver will no longer run on an Alpha...
10635 2003-01-30 Angus Leeming <leeming@lyx.org>
10637 * factory.C (createInset): create an InsetCommandParam of type "index"
10638 and use it to 'do the right thing'.
10640 * text2.C (getStringToIndex): ensure that cursor position is always
10641 reset to the reset_cursor position.
10643 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10645 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10648 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10652 * lyxfunc.C: Output messages with identical spelling, punctuation,
10655 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10657 * MenuBackend.C (expandFormats): List only viewable export formats
10660 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10663 * lyxfunc.C (getStatus): Make sure that formats other than
10664 "fax" can also be disabled
10666 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10668 * text3.C (dispatch): put the lfuns that insert insets in 3
10669 groups, and call doInsertInset with appropriate arguments.
10670 (doInsertInset): new function, that creates an inset and inserts
10671 it according to some boolean parameters.
10673 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10675 * buffer.C (readFile): remember to pass on 'par' when calling
10676 readFile recursively.
10678 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10680 * MenuBackend.C (expandFormats): add "..." to import formats.
10682 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10684 * paragraph.C (asString): Remove XForms RTL hacks.
10686 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10687 * buffer.C: fix typo
10689 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10691 * Makefile.am (LIBS): delete var
10692 (lyx_LDADD): add @LIBS@ here instead.
10694 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10696 * Clarify the meaning of "wheel mouse jump"
10698 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10700 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10703 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10705 * importer.C (Loaders): do not preallocate 3 elements in the
10706 vector, since one ends up with 6 elements otherwise
10708 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10710 * DepTable.C (write): write the file name as last element of the
10711 .dep file (because it may contain spaces)
10712 (read): read info in the right order
10714 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10716 * paragraph_pimpl.C (simpleTeXBlanks):
10717 (simpleTeXSpecialChars):
10718 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10720 * tabular.C (latex): add some missing case statements. Reindent.
10722 * MenuBackend.C (expandToc): remove unused variable.
10724 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10733 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10736 2003-01-05 John Levon <levon@movementarian.org>
10739 * BufferView.C: add getEncoding()
10742 * kbsequence.C: do not store last keypress
10745 * lyxfunc.C: store last keypress here instead. Pass encoding
10748 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10750 * lyx_main.C (init): remove annoying error message when following
10751 symbolic links (bug #780)
10753 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10755 * text.C (insertChar):
10756 * lyxrc.C (getDescription): remove extra spaces
10758 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10760 * lyxrc.C (getDescription): remove extra spaces
10762 2002-12-20 John Levon <levon@movementarian.org>
10764 * text3.C: hack fix for page up/down across tall rows
10766 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10768 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10771 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10773 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10774 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10775 thesaurus is not compiled in
10777 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10779 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10781 2002-12-16 Angus Leeming <leeming@lyx.org>
10784 * lyx_main.C (init): remove override_x_deadkeys stuff.
10786 2002-12-12 John Levon <levon@movementarian.org>
10788 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10789 insert. Only remove shift modifier under strict
10792 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10794 * MenuBackend.C (expandToc): fix crash.
10796 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10798 * MenuBackend.C (expandToc): gettext on float names.
10800 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10802 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10803 implement bool empty() [bug 490]
10805 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10807 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10809 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10811 * several files: ws changes
10813 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10815 * text2.C (setCounter): clean up a bit, use boost.format.
10816 (updateCounters): initialize par upon declaration.
10818 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10819 if the layout exists. We do not just store the layout any more.
10820 (SwitchLayoutsBetweenClasses): use boost.format
10822 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10824 * converter.C (convert): if from and to files are the same, use a
10825 temporary files as intermediary
10827 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10830 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10832 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10834 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10836 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10838 * tabular.C (asciiPrintCell): use string(size, char) instead of
10841 * sgml.C (openTag): fix order of arguments to string constructor
10844 * lyxfunc.C (dispatch): use boost.format
10846 * lots of files: change "c" -> 'c'
10848 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10850 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10852 2002-11-25 Angus Leeming <leeming@lyx.org>
10854 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10856 * lyx_main.C (init): compile fix.
10858 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10860 * lyx_cb.C (start): boost.formatify
10861 do not include <iostream>
10863 * lengthcommon.C: ws only
10865 * boost-inst.C,BoostFormat.h: add more explict instantations
10867 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10869 * lots of files: handle USE_BOOST_FORMAT
10871 2002-11-21 John Levon <levon@movementarian.org>
10873 * pspell.C: fix compile
10875 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10877 * lyxfunc.C (dispatch): use boost::format
10881 * lyxfont.C (stateText): use boost::format
10883 * lyx_main.C (LyX): use boost::format
10885 (queryUserLyXDir): ditto
10886 (readRcFile): ditto
10888 (typedef boost::function): use the recommened syntax.
10890 * importer.C (Import): use boost::format
10892 * debug.C (showLevel): use boost::format
10894 * converter.C (view): use boost::format
10899 * bufferview_funcs.C (currentState): use boost::format
10901 * bufferlist.C (emergencyWrite): use boost::format
10903 * buffer.C (readLyXformat2): use boost::format
10904 (parseSingleLyXformat2Token): ditto
10906 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10908 * LaTeX.C (run): use boost::format
10910 * Chktex.C (scanLogFile): use boost::format
10912 * BufferView_pimpl.C (savePosition): use boost::format
10913 (restorePosition): ditto
10914 (MenuInsertLyXFile): ditto
10916 * BoostFormat.h: help file for explicit instation.
10918 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10920 * tabular.C (latex): Support for block alignment in fixed width
10923 2002-11-17 John Levon <levon@movementarian.org>
10925 * BufferView_pimpl.C:
10927 * lyxfunc.C: split filedialog into open/save
10929 2002-11-08 Juergen Vigna <jug@sad.it>
10931 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10932 by my last patch (hopefully).
10934 2002-11-08 John Levon <levon@movementarian.org>
10943 * toc.C: ParConstIterator, and use it (from Lars)
10945 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10947 * lyxtextclass.[Ch]: revise and add doxygen comments
10949 2002-11-07 John Levon <levon@movementarian.org>
10951 * text.C: fix progress value for spellchecker
10953 * toc.C: fix navigate menu for insetwrap inside minipage
10955 * paragraph_funcs.C: added FIXME for suspect code
10957 2002-11-07 John Levon <levon@movementarian.org>
10959 * BufferView_pimpl.C: fix redrawing of insets
10962 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10964 * text2.C (updateCounters): fix bug 668
10966 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10968 * text3.C (dispatch): Do not make the buffer dirty when moving the
10971 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10973 * vc-backend.C: STRCONV
10974 (scanMaster): ditto
10976 * text2.C (setCounter): STRCONV
10978 * paragraph.C (asString): STRCONV
10980 * lyxlength.C (asString): STRCONV
10981 (asLatexString): ditto
10983 * lyxgluelength.C (asString): STRCONV
10984 (asLatexString): ditto
10986 * lyxfunc.C (dispatch): STRCONV
10989 * lyxfont.C (stateText): STRCONV
10991 * importer.C (Import): STRCONV
10993 * counters.C (labelItem): STRCONV
10994 (numberLabel): ditto
10995 (numberLabel): remove unused ostringstream o
11000 * bufferview_funcs.C (currentState): STRCONV
11002 * buffer.C (readFile): STRCONV
11003 (asciiParagraph): ditto
11004 (makeLaTeXFile): ditto
11006 * Spacing.C (writeEnvirBegin): STRCONV
11008 * LaTeXFeatures.C (getLanguages): STRCONV
11009 (getPackages): ditto
11011 (getBabelOptions): ditto
11012 (getTClassPreamble): ditto
11013 (getLyXSGMLEntities): ditto
11014 (getIncludedFiles): ditto
11018 (scanAuxFile): ditto
11021 * LString.h: add the STRCONV macros
11023 * BufferView_pimpl.C (savePosition): STRCONV
11024 (restorePosition): ditto
11025 (MenuInsertLyXFile): ditto
11027 * vc-backend.C (scanMaster): change from submatch[...] to
11030 * funcrequest.C: include config.h
11032 * factory.C: include config.h
11034 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
11036 * box.C: include config.h
11038 * LaTeX.C (scanAuxFile): change from submatch[...] to
11042 2002-10-25 Angus Leeming <leeming@lyx.org>
11044 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
11046 * ispell.[Ch] (setError): new method.
11047 * ispell.C (c-tor): move out child process into new class LaunchIspell.
11048 Use setError() insetead of goto END.
11050 * lyx_cb.C (AutoSave): move out child process into new class
11053 2002-10-30 John Levon <levon@movementarian.org>
11055 * text3.C: make start appendix undoable
11057 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
11059 * lyxlength.C (inPixels): Fix returned value.
11061 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
11064 2002-10-24 Angus Leeming <leeming@lyx.org>
11066 * lyxgluelength.h: no need to forward declare BufferParams
11067 or BufferView, so don't.
11069 2002-10-21 John Levon <levon@movementarian.org>
11071 * BufferView.C: menuUndo ->undo, redo
11073 * BufferView.h: document, remove dead, make some methods private
11075 * paragraph_funcs.h:
11076 * paragraph_funcs.C:
11077 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
11082 * sgml.C: move sgml open/close tag into sgml.C
11084 * bufferview_funcs.h: unused prototype
11087 * lyxfunc.C: remove unused
11090 * text.C: remove unused
11092 2002-10-21 John Levon <levon@movementarian.org>
11096 * BufferView_pimpl.h:
11097 * BufferView_pimpl.C: fix mouse wheel handling based on
11098 patch from Darren Freeman
11100 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
11102 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11104 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
11106 * lyxlength.C (inPixels): Fix hanfling of negative length.
11107 Fix LyXLength::MU case.
11109 2002-10-16 John Levon <levon@movementarian.org>
11111 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11113 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11115 * converter.C (view): add support for $$i (file name) and $$p
11116 (file path) for the viewer command. If $$i is not specified, then
11117 it is appended to the command (for compatibility with old syntax)
11119 2002-10-14 Juergen Vigna <jug@sad.it>
11121 * undo_funcs.C (textHandleUndo): alter the order in which the
11122 new undopar is added to the LyXText, as we have to set first
11123 the right prev/next and then add it as otherwise the rebuild of
11124 LyXText is not correct. Also reset the cursor to the right paragraph,
11125 with this IMO we could remove the hack in "redoParagraphs()".
11127 2002-10-09 Angus Leeming <leeming@lyx.org>
11129 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11130 to turn off an optimisation if a new inset is to be inserted.
11132 2002-10-11 André Pönitz <poenitz@gmx.net>
11134 * lyxtext.h: make some functions public to allow access
11135 from inset/lyxtext for handling LFUN_PRIOR/NEXT
11137 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11139 * text3.C (dispatch): when changing layout, avoid an infinite loop
11142 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11144 * lyxrc.C (read): treat a viewer or converter command of "none" as
11147 * MenuBackend.C (expandFormats): for an update, also allow the
11148 formats that are not viewable
11150 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11151 script if it is newer than the lyxrc.defaults in user directory
11153 2002-10-07 André Pönitz <poenitz@gmx.net>
11155 * text.C: Vitaly Lipatov's small i18n fix
11157 2002-09-25 Angus Leeming <leeming@lyx.org>
11159 * ispell.h: doxygen fix.
11161 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
11163 * buffer.h (readFile): Add a new argument to the method, to allow
11164 reading of old-format templates.
11166 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
11168 * toc.C (getTocList): Get TOC from InsetWrap.
11170 2002-09-16 John Levon <levon@movementarian.org>
11172 * lyxfunc.C: check tabular for cut/copy too
11174 2002-09-12 John Levon <levon@movementarian.org>
11176 * LyXAction.C: tidy
11179 * factory.C: add header
11181 * paragraph_funcs.h:
11182 * paragraph_funcs.C: cleanup
11184 2002-09-11 John Levon <levon@movementarian.org>
11186 * PrinterParams.h: odd/even default to true
11188 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
11190 * PrinterParams.h: update printer parameters for new xforms dialog
11192 2002-09-11 Angus Leeming <leeming@lyx.org>
11194 * lyxserver.C (read_ready): re-write to make it more transparent
11195 and to make it work in coherent fashion under Tru64 Unix.
11197 2002-09-11 André Pönitz <poenitz@gmx.net>
11201 * text3.C: implement LFUN_WORDSEL
11203 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11205 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11206 make floatlist_ a boost::shared_ptr<FloatList>
11208 * lyxtextclass.C: include FloatList.h
11209 (LyXTextClass): initialize floatlist_
11210 (TextClassTags): add TC_NOFLOAT
11211 (Read): match "nofloat" to TC_NOFLOAT and use it.
11212 (readFloat): modify call to floatlist_
11216 * FloatList.[Ch] (FloatList): remove commented out float
11218 (erase): new function
11220 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11222 * MenuBackend.C (expandToc): fix crash when there is no document
11225 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
11227 * many files: Add insetwrap.
11229 2002-09-09 John Levon <levon@movementarian.org>
11231 * text2.C: remove confusing and awkward depth wraparound
11233 2002-09-09 John Levon <levon@movementarian.org>
11235 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11238 * buffer.C: remove getIncludeonlyList()
11241 * lyxfunc.C: remove headers
11243 2002-09-09 Juergen Vigna <jug@sad.it>
11245 * text.C (getColumnNearX): fix form Michael this is most
11246 probably a cut&paste bug.
11248 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
11250 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11252 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11253 references, ws changes.
11255 * text2.C (init): update counters after init
11256 (insertParagraph): no need to set counter on idividual paragraphs.
11257 (setCounter): access the counters object in the textclass object
11258 on in the buffer object.
11259 (updateCounters): ditto
11261 * lyxtextclass.C: include counters.h, add variable ctrs_ as
11262 shared_ptr<Counters> to avoid loading counters.h in all
11264 (LyXTextClass): initialize ctrs_
11265 (TextClassTags): add TC_COUNTER, and ...
11266 (Read): use it here.
11267 (CounterTags): new tags
11268 (readCounter): new function
11269 (counters): new funtion
11270 (defaultLayoutName): return a const reference
11272 * counters.C (Counters): remove contructor
11273 (newCounter): remove a couple of unneeded statements.
11274 (newCounter): simplify a bit.
11275 (numberLabel): some small formatting changes.
11277 * buffer.[Ch]: remove all traces of counters, move the Counters
11278 object to the LyXTextClass.
11280 2002-09-06 Alain Castera <castera@in2p3.fr>
11282 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11283 package to set the horizontal alignment on fixed width columns.
11286 * lyx_sty.h: added tabularnewline macro def.
11288 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11290 2002-09-06 John Levon <levon@movementarian.org>
11292 * LyXAction.C: tooltips for sub/superscript
11294 * MenuBackend.C: a bit more verbose
11296 * lyxfunc.C: tiny clean
11298 * undo_funcs.C: document undo_frozen
11300 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11302 * counters.C (Counters): add missing algorithm counter.
11304 * text2.C (setCounter): lookup the counter with layouts latexname
11305 instead of by section number.
11306 (setCounter): use a hackish way to lookup the correct enum
11308 a float name->type change
11309 reset enum couners with counter name directly instead of depth value.
11311 * counters.C (Counters): remove the push_backs, change to use the
11312 float type not the float name.
11313 (labelItem): remove unused string, float name->type change
11315 * counters.h: don't include vector, loose the enums and sects vectors
11317 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11319 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11320 (Read): add float->TC_FLOAT to textclassTags
11321 (Read): and handle it in the switch
11322 (readFloat): new function
11324 * FloatList.C (FloatList): comment out the hardcoded float
11327 * lyxlayout.h: ws change.
11329 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11331 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11333 2002-09-03 Angus Leeming <leeming@lyx.org>
11335 * BufferView_pimpl.h: qualified name is not allowed in member
11336 declaration: WorkArea & Pimpl::workarea() const;
11338 * factory.C: added using std::endl directive.
11340 * text3.C: added using std::find and std::vector directives.
11342 2002-08-29 André Pönitz <poenitz@gmx.net>
11345 * text2.C: remove unused member number_of_rows
11348 * BufferView2.C: remove file, move contents to...
11349 * BufferView.C: ... here
11351 * BufferView_pimpl.C:
11352 * factory.C: move more inset creation to factory
11354 * vspace.C: avoid direct usage of LyXText, ws changes
11357 don't provide direct access to WorkArea, use two simple
11358 acessors haveSelction() and workHeight() instead
11361 2002-08-29 John Levon <levon@movementarian.org>
11363 * BufferView_pimpl.C (dispatch): do not continue when
11366 2002-08-28 André Pönitz <poenitz@gmx.net>
11368 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11371 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11373 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11375 * buffer.C: increment LYX_FORMAT to 221
11377 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11378 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11380 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11382 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11384 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11386 * factory.C (createInset): use LyXTextClass::floats
11388 * MenuBackend.C (expandFloatListInsert):
11389 (expandFloatInsert):
11392 * text2.C (setCounter):
11394 * LaTeXFeatures.C (useFloat):
11395 (getFloatDefinitions):
11397 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11399 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11400 floatlist_, with accessor floats().
11402 * FloatList.h: remove global FloatList
11404 2002-08-26 André Pönitz <poenitz@gmx.net>
11406 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11410 * BufferView_pimpl.C:
11411 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11413 2002-08-25 John Levon <levon@movementarian.org>
11415 * LyXAction.C: fix margin note description
11417 2002-08-24 John Levon <levon@movementarian.org>
11421 * bufferview_funcs.C:
11423 * undo_funcs.C: cleanups
11425 * lyxfunc.C: disable CUT/COPY when no selection
11427 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11429 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11430 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11432 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11433 Add backward compatibility to "mono", "gray" and "no".
11435 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11437 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11438 (and file_format >= 200).
11440 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11442 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11444 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11446 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11448 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11450 * BufferView_pimpl.C:
11457 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11458 inset and code to make it work with the paragraph code. The inset
11459 can be anywhere in the paragraph, but will only do the expected
11460 thing in LaTeX if the layout file contains the parameter line
11462 (or more generally, a nonzero value) for that layout.
11464 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11466 * paragraph.h: remove the declaration of undefined counters class
11469 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11471 * text2.C (setCounter): fixed enumeration mis-count as reported by
11472 Dr. Richard Hawkins.
11474 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11476 * paragraph_funcs.h: remove some unneeded includes
11478 * text.C (backspace): pasteParagraph now in global scipe
11480 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11481 (pasteSelection): ditto
11483 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11484 * paragraph_funcs.C (pasteParagraph): ... here
11486 2002-08-20 André Pönitz <poenitz@gmx.net>
11488 * commandtags.h: new LFUNs for swapping/copying table row/colums
11491 * lyxfunc.C: support for new lfuns
11493 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11496 * buffer.[Ch]: remove NO_COMPABILITY stuff
11498 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11500 * boost.C (throw_exception): new file, with helper function for
11501 boost compiled without exceptions.
11506 * ParameterStruct.h:
11507 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11509 * bufferlist.C (emergencyWriteAll): use boost bind
11511 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11513 * text.C: include paragraph_funcs.h
11514 (breakParagraph): breakParagraph is now in global scope
11516 * paragraph_funcs.[Ch]: new files
11518 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11521 * buffer.C: include paragraph_funcs.h
11522 (insertStringAsLines): breakParagraph is now in global scope
11524 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11527 * CutAndPaste.C: include paragraph_funcs.h
11528 (cutSelection): breakParagraphConservative is now in global scope
11529 (pasteSelection): ditto
11531 * buffer.h: declare oprator== and operator!= for
11532 Buffer::inset_iterator
11534 * bufferlist.C (emergencyWrite): don't use fmt(...)
11536 * text3.C: add using std::endl
11538 * BufferView.C (moveCursorUpdate): remove default arg
11540 2002-08-20 André Pönitz <poenitz@gmx.net>
11542 * buffer.[Ch]: move inline functions to .C
11545 * BufferView_pimpl.C:
11547 * buffer.[Ch]: use improved inset_iterator
11550 * paragraph.[Ch]: write one paragraph at a time
11552 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11554 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11555 style if style is not specified.
11557 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11559 * text2.C (setCounter): when searching for right label for a
11560 caption, make sure to recurse to parent insets (so that a caption
11561 in a minipage in a figure float works) (bug #568)
11563 2002-08-20 André Pönitz <poenitz@gmx.net>
11565 * text3.C: new file for LyXText::dispatch() and helpers
11567 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11569 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11571 2002-08-19 André Pönitz <poenitz@gmx.net>
11574 * text.C: new LyXText::dispatch()
11576 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11578 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11580 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11582 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11585 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11587 * Makefile.am: use $(variables) instead of @substitutions@
11589 2002-08-15 André Pönitz <poenitz@gmx.net>
11592 * BufferView_pimpl.C: streamlining mathed <-> outer world
11596 * LyXAction.C: remove unused LFUN_MATH
11598 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11600 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11602 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11604 * paragraph.C (Paragraph): reformat a bit
11605 (cutIntoMinibuffer): use builtin InsetList function instad of
11609 * buffer.C: include boost/bind.hpp, add using std::for_each
11610 (writeFileAscii): use ParagraphList iterators
11611 (validate): use for_each for validate traversal of paragraphs
11612 (getBibkeyList): use ParagraphList iterators
11613 (resizeInsets): use for_each to resizeInsetsLyXText for all
11615 (getParFromID): use ParagraphList iterators
11617 * BufferView2.C (lockInset): use paragraph list and iterators
11619 2002-08-14 John Levon <levon@movementarian.org>
11621 * lyxserver.C: remove spurious xforms include
11623 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11625 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11627 2002-08-13 André Pönitz <poenitz@gmx.net>
11630 * lyxfunc.C: further cleaning
11632 2002-08-13 André Pönitz <poenitz@gmx.net>
11634 * funcrequest.h: new constructor
11636 * funcrequest.C: move stuff here from .h
11639 * BufferView_pimpl.C:
11642 * lyxfunc.C: subsequent changes
11644 * lyxfunc.h: new view() member function
11646 * lyxfunc.C: subsequent changes
11648 2002-08-13 Angus Leeming <leeming@lyx.org>
11651 * BufferView_pimpl.C:
11659 changes due to the changed LyXView interface that now returns references
11660 to member variables not pointers.
11662 2002-08-13 Angus Leeming <leeming@lyx.org>
11664 * WordLangTuple (word, lang_code): return references to strings,
11669 * lyxtext.h: forward-declare WordLangTuple.
11674 * text.C: #include "WordLangTuple.h".
11677 * text.C: (selectNextWordToSpellcheck): constify return type.
11679 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11685 * paragraph_pimpl.h:
11688 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11689 suggested by Angus.
11690 Made updateCounter always count from start of buffer, and removed
11691 second argument (par).
11692 Reverted floats number display to '#'. Perhaps I'll try again when the
11693 code base is sanitized a bit.
11695 2002-08-12 Angus Leeming <leeming@lyx.org>
11697 * buffer.[Ch] (getLabelList): constify.
11699 2002-08-07 André Pönitz <poenitz@gmx.net>
11701 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11703 * funcrequest.h: extension to keep mouse (x,y) position
11705 2002-08-12 Juergen Vigna <jug@sad.it>
11707 * BufferView2.C (insertErrors): forbid undo when inserting error
11710 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11712 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11714 * ParagraphList.[Ch]: new files
11716 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11718 * BufferView2.C (lockInset): ParagraphList changes
11721 * bufferlist.C: ditto
11725 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11727 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11728 unused class variable counter_,
11730 * paragraph.[Ch] (getFirstCounter): delete unused function
11732 * counters.C: include LAssert.h
11733 (reset): add a new function with no arg, change other version to
11734 not have def. arg and to not allow empty arg.
11736 * text2.C (setCounter): remove empty arg from call to Counters::reset
11738 2002-08-11 John Levon <levon@movementarian.org>
11740 * Makefile.am: add WordLangTuple.h
11742 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11744 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11745 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11747 * insets/insettext.C: InsetList changes
11749 * graphics/GraphicsSupport.C (operator()): InsetList changes
11751 * toc.C (getTocList): InsetList changes
11753 * paragraph_pimpl.[Ch]: InsetList changes
11755 * paragraph.[Ch]: InsetList changes
11757 * buffer.C (inset_iterator): InsetList changes
11758 (setParagraph): ditto
11759 * buffer.h (inset_iterator): ditto
11760 * iterators.C (operator++): ditto
11761 * iterators.h: ditto
11763 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11765 * InsetList.[Ch]: new files, most InsetList handling moved out of
11768 * BufferView2.C (removeAutoInsets): InsetList changes
11770 (ChangeInsets): ditto
11772 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11774 * paragraph_pimpl.h (empty): new function
11776 * paragraph.[Ch] (empty): new function
11778 * other files: use the new Paragraph::empty function
11780 2002-08-09 John Levon <levon@movementarian.org>
11782 * lyxtext.h: remove unused refresh_height
11784 2002-08-09 John Levon <levon@movementarian.org>
11791 * paragraph.C: move sgml char escaping out of paragraph
11794 * paragraph.C: remove id setter
11798 * paragraph_pimpl.C: remove dead tex_code_break_column
11800 * bufferview_funcs.C: small cleanup
11802 * lyxfunc.C: remove dead proto
11804 * lyxtext.h: make some stuff private. Remove some dead stuff.
11806 * lyxgluelength.C: make as[LyX]String() readable
11808 2002-08-08 John Levon <levon@movementarian.org>
11813 * ToolbarDefaults.C:
11816 * toc.C: lyxaction cleanup
11818 2002-08-08 John Levon <levon@movementarian.org>
11820 * BufferView2.C: small cleanup
11823 * lyxfind.C: move unnecessary header into the .C
11825 2002-08-08 John Levon <levon@movementarian.org>
11827 * funcrequest.h: just tedious nonsense
11830 * lyx_main.C: cleanups
11833 * vspace.C: remove dead header lyx_main.h
11835 2002-08-07 Angus Leeming <leeming@lyx.org>
11838 * paragraph_pimpl.h:
11839 Forward declare class Counters in paragraph.h by moving the ctrs member
11840 variable into Paragraph::Pimpl.
11841 (counters): new method, returning a reference to pimpl_->ctrs.
11843 * text2.C: ensuing changes.
11845 2002-08-07 John Levon <levon@movementarian.org>
11847 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11849 * BufferView_pimpl.C: announce X selection on double/triple
11852 * lyx_main.C: use correct bool in batch dispatch
11854 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11856 2002-08-07 André Pönitz <poenitz@gmx.net>
11858 * funcrequest.h: new class to wrap a kb_action and its argument
11861 * BufferView_pimpl[Ch]:
11865 * lyxrc.C: subsequent changes
11868 2002-08-07 John Levon <levon@movementarian.org>
11870 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11871 document options change.
11873 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11878 * makefile.am: move counters functionality over from
11879 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11881 2002-08-06 John Levon <levon@movementarian.org>
11883 * WordLangTuple.h: new file for word + language code tuple
11894 * BufferView2.C: use WordLangTuple
11897 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11899 2002-08-06 John Levon <levon@movementarian.org>
11901 * lyx_main.C: fix cmdline batch handling
11903 2002-08-06 André Pönitz <poenitz@gmx.net>
11905 * lyxrc.C: set default for show_banner to true
11907 2002-08-06 John Levon <levon@movementarian.org>
11909 * pspell.C: fix a crash, and allow new aspell to work
11911 2002-08-06 John Levon <levon@movementarian.org>
11914 * kbmap.C: small cleanup
11917 * vspace.C: add const
11919 2002-08-05 John Levon <levon@movementarian.org>
11921 * LyXAction.C: back to tabular-insert
11923 2002-08-04 John Levon <levon@movementarian.org>
11926 * BufferView.C: cosmetic change
11928 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11938 * BufferView2.C: purge all "Lyx" not "LyX" strings
11941 * lyxcursor.C: attempt to add some documentation
11946 * ToolbarDefaults.C:
11947 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11948 merge with LFUN_TABULAR_INSERT
11955 * pspell.C: split up i/pspell implementations into separate
11956 files, many cleanups
11958 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11960 * text2.C: some cleanup
11962 * lyxfunc.C: don't check for isp_command == "none" any more, it
11963 didn't make any sense
11965 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11970 * makefile.am: move counters functionality over
11971 from text2.C/paragraph.[Ch] to counters.[Ch], and
11973 2002-08-02 John Levon <levon@movementarian.org>
11975 * buffer.C: s/lyxconvert/lyx2lyx/
11977 2002-08-02 Angus Leeming <leeming@lyx.org>
11979 * lyxlex.C: revert John's change as it breaks reading of the user
11982 2002-08-02 Angus Leeming <leeming@lyx.org>
11984 * importer.C (Import):
11985 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11986 changes due to LyXView::view() now returning a boost::shared_ptr.
11988 2002-08-02 John Levon <levon@movementarian.org>
11990 * lyxlex.C: small cleanup
11992 2002-08-02 John Levon <levon@movementarian.org>
11994 * text2.C (status): small cleanup, no logic change
11996 2002-08-01 John Levon <levon@movementarian.org>
11999 * buffer.C (writeFile): don't output alerts, caller
12003 * lyx_cb.C: from above
12005 * lyxfunc.C: allow to open non-existent files
12007 2002-07-31 John Levon <levon@movementarian.org>
12009 * lyxserver.C: don't let incidental errors get
12012 2002-07-30 John Levon <levon@movementarian.org>
12014 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
12016 2002-07-30 John Levon <levon@movementarian.org>
12019 * lyxserver.C: remove I/O callback too
12021 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12023 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
12026 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
12028 * many files: strip,frontStrip -> trim,ltrim,rtrim
12030 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
12032 * PrinterParams.h: remove extern containsOnly, and include
12033 support/lstrings.h instead.
12035 * LaTeX.C (scanAuxFile): modify because of strip changes
12037 * buffer.C (makeLaTeXFile): ditto
12038 * bufferparams.C (writeFile): ditt
12039 * lyxfont.C (stateText): ditto
12040 * lyxserver.C (read_ready): ditto
12041 * vc-backend.C (scanMaster): ditto
12043 * BufferView_pimpl.h: ws changes
12045 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
12047 2002-07-26 André Pönitz <poenitz@gmx.net>
12049 * kb_sequence.C: remove unnedred usings
12051 2002-07-26 Juergen Vigna <jug@sad.it>
12053 * lyxfind.C (LyXReplace): we have to check better if the returned
12054 text is not of theLockingInset()->getLockingInset().
12056 2002-07-25 Juergen Vigna <jug@sad.it>
12058 * lyxfind.C (LyXReplace): don't replace if we don't get the
12061 * undo_funcs.C (createUndo): remove debugging code.
12063 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
12065 * buffer.C (parseSingleLyXformat2Token): Use default placement
12066 when reading old floats.
12068 * FloatList.C (FloatList): Change the default placement of figure
12069 and tables to "tbp".
12071 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
12073 * MenuBackend.C: using std::max
12075 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12077 * MenuBackend.C (expandToc):
12078 (expandToc2): code moved from xforms menu frontend. It is now
12079 generic and TOCs are transparent to menu frontends.
12081 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12083 * toc.C (getTocList): protect against buf=0
12085 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12086 Menu as first parameter. Now, this calls itself recursively to
12087 expand a whole tree (this will be useful for TOC handling)
12088 (expandFloatInsert): remove 'wide' version of floats
12090 * MenuBackend.h (submenuname): returns the name of the submenu.
12091 (submenu): returns the submenu itself, provided it has been
12092 created by MenuBackend::expand
12094 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12096 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12097 insets which have noFontChange == true. (bug #172)
12099 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12101 * BufferView_pimpl.C: add connection objects and use them...
12104 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12106 * MenuBackend.C (expandLastfiles):
12109 (expandFloatListInsert):
12110 (expandFloatInsert):
12111 (expand): split expand in parts
12113 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12115 * lyx_gui.C: use lyx_gui::exit()
12117 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12119 * LyXAction.C: show the failing pseudo action
12121 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
12123 * buffer.C (readFile): Run the lyxconvert script in order to read
12126 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12130 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12132 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12136 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12138 2002-07-22 Herbert Voss <voss@lyx.org>
12141 * lyxlength.[Ch]: add support for the vertical lengths
12143 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
12145 * toc.[Ch]: std:: fixes
12147 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12149 * lyxrc.C: do not include lyx_main.h
12151 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12157 * BufferView2.C: include "lyxlex.h"
12160 * bufferparams.h: do not #include "lyxlex.h"
12162 * lyxtextclasslist.C (Add): remove method
12163 (classlist): renamed to classlist_
12165 * paragraph_pimpl.C:
12169 * bufferview_funcs.C:
12174 * toc.C (getTocList): use BufferParams::getLyXTextClass
12176 * toc.C (getTocList): use InsetFloat::addToToc
12178 * toc.[Ch]: new files, containing helper functions to handle table
12181 * lyxfunc.C (dispatch): no need to remove spaces around command
12183 (getStatus): handle LFUN_SEQUENCE by returning the status of the
12184 first command of the sequence; it is not very clever, but I do not
12185 have a better idea, actually
12187 * LyXAction.C (LookupFunc): make sure to remove space at the
12188 beginning and end of the command
12190 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12192 * MenuBackend.C (getMenubar): new method: return the menubar of
12194 (read): treat differently reading of menu and menubar (in
12195 particular, the menubar has no name now)
12196 (Menu::menubar): remove
12198 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12201 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12203 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12204 a bibitem inset in a RTL paragraph.
12206 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
12208 * paragraph_pimpl.C: constify
12210 * BufferView_pimpl.C:
12212 * lyxfunc.C: fix dispatch in a nicer way
12214 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12216 * lyxfunc.C (dispatch):
12217 * BufferView_pimpl.C:
12218 * BufferView_pimpl.h:
12220 * BufferView.h: rename Dispatch() to dispatch()
12222 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12224 * lyxlayout.C (Read): honor DependsOn tag
12226 * lyxlayout.[Ch] (depends_on): new method
12228 * version.C.in: update lyx_docversion
12230 * LaTeXFeatures.C (getMacros): only define \LyX when needed
12232 * paragraph.C (validate): remove from here...
12233 * paragraph_pimpl.C (validate): ... and move here
12234 (isTextAt): make it const
12236 * buffer.C (getLists): ws cleanup
12238 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12240 * language.C (read): Use iso8859-1 encoding in latex_lang
12241 (this prevents LyX from crashing when using iso10646-1 encoding).
12243 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12245 * text2.C (toggleInset): if cursor is inside an inset, close the
12246 inset and leave cursor _after_ it
12248 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12250 * lyxfunc.C: move minibuffer completion handling out of here
12252 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12254 * BufferView_pimpl.C:
12255 * LaTeX.C: fix dispatch calls
12257 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
12259 * text.C (drawChars): Fix Arabic text rendering.
12261 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
12265 * lyxfunc.C: remove message-push/pop
12269 * lyxfunc.C: rationalise some code by removing verboseDispatch
12270 in favour of a bool argument to dispatch()
12272 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12274 * lyx_main.C (init): make sure to read symlinks as absolute paths
12276 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12279 * lyxfunc.C: no need for commandshortcut to be a member
12281 2002-07-15 André Pönitz <poenitz@gmx.net>
12283 * converter.C: add support for $$s (scripts from lib/scripts dir)
12284 * lyx_main.C: white space
12286 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12290 * lyxrc.C: remove second exit confirmation
12292 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12297 * BufferView_pimpl.h:
12298 * BufferView_pimpl.C:
12299 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12301 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12303 * MenuBackend.C (expand): add numeric shortcuts to document menu
12305 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12307 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12309 * lyxfont.C (setLyXFamily):
12316 * buffer.C (asciiParagraph): use ascii_lowercase
12318 2002-07-15 Mike Fabian <mfabian@suse.de>
12320 * lyxlex_pimpl.C (search_kw):
12321 * lyxlex.C (getLongString):
12322 * converter.h (operator<):
12323 * converter.C (operator<):
12324 * buffer.C (parseSingleLyXformat2Token):
12326 * ToolbarDefaults.C (read):
12327 * MenuBackend.C (checkShortcuts):
12329 * LColor.C (getFromGUIName):
12330 (getFromLyXName): use the compare_ascii_no_case instead of
12331 compare_no_case, because in turkish, 'i' is not the lowercase
12332 version of 'I', and thus turkish locale breaks parsing of tags.
12334 2002-07-16 Angus Leeming <leeming@lyx.org>
12336 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12337 now takes a Buffer const & argument.
12339 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12341 * BufferView.C (resize): check there's a buffer to resize
12343 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12345 * lyxfunc.C: remove dead code
12348 * lyxserver.C: use lyx_guii::set_read_callback
12350 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12352 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12353 an inset in a RTL paragraph.
12355 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12357 * lyxfunc.C: repaint after a font size update
12359 2002-07-15 André Pönitz <poenitz@gmx.net>
12361 * lyxlength.C: inBP should be able to return negative values
12363 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12365 * lyxfunc.C: use lyx_gui::update_fonts()
12367 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12369 * lyxfunc.C: use lyx_gui::update_color()
12371 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12377 * lyxrc.C: remove file->new asks for name option, and let
12378 buffer-new take an argument
12380 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12382 * BufferView_pimpl.C: remove unneeded extra repaint()
12384 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12386 * LyXAction.C: allow command-sequence with NoBuffer
12388 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12390 2002-07-10 Angus Leeming <leeming@lyx.org>
12392 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12394 2002-07-09 Angus Leeming <leeming@lyx.org>
12396 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12398 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12400 * lengthcommon.h: whitespace
12402 * lyxfunc.C: update scrollbar after goto paragraph
12404 * lyxtext.h: factor out page break drawing, and fix it so
12405 page break/added space paints as selected nicely
12407 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12409 * BufferView_pimpl.C: add FIXMEs, clean up a little
12411 2002-07-09 André Pönitz <poenitz@gmx.net>
12413 * lyxfont.[Ch]: support for wasy symbols
12415 2002-07-08 André Pönitz <poenitz@gmx.net>
12417 * BufferView_pimpl.C: apply John's patch for #93.
12419 2002-07-05 Angus Leeming <leeming@lyx.org>
12421 * BufferView_pimpl.C (buffer): generate previews if desired.
12423 * LColor.h: add "preview" to the color enum.
12425 * LColor.C (LColor): add a corresponding entry to the items array.
12427 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12430 2002-07-05 Angus Leeming <leeming@lyx.org>
12432 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12433 The body of the code is now in the method that is passed an ostream &
12434 rather than a file name.
12435 Pass an additional only_preamble parameter, useful for the forthcoming
12438 2002-07-03 André Pönitz <poenitz@gmx.net>
12440 * lyxfunc.C: simplify getStatus() a bit for math stuff
12442 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12444 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12446 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12448 * text.C (changeRegionCase): do not change case of all the
12449 document when region ends at paragraph end (bug #461)
12451 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12453 * paragraph.C (startTeXParParams):
12454 (endTeXParParams): add \protect when necessary
12456 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12458 * BufferView_pimpl.C (workAreaExpose): remove warning
12460 2002-06-27 Angus Leeming <leeming@lyx.org>
12462 * Makefile.am: add lyxlayout_ptr_fwd.h.
12464 2002-06-26 André Pönitz <poenitz@gmx.net>
12466 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12468 2002-06-25 Angus Leeming <leeming@lyx.org>
12470 * lyxfunc.C (dispatch): Comment out the call to
12471 grfx::GCache::changeDisplay. The method no longer exists now that the
12472 pixmap generation part of the graphics loader has been moved into
12475 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12477 * text2.C: layout as layout
12479 * text.C: layout as layout
12481 * tabular.C (OldFormatRead): layout as layout
12483 * paragraph_pimpl.C (TeXDeeper): layout as layout
12484 (realizeFont): layout as layout
12486 * paragraph.C (writeFile): layout as layout
12487 (validate): layout as layout
12488 (getFont): layout as layout
12489 (getLabelFont): layout as layout
12490 (getLayoutFont): layout as layout
12491 (breakParagraph): layout as layout
12492 (stripLeadingSpaces): layout as layout
12493 (getEndLabel): layout as layout
12494 (getMaxDepthAfter): layout as layout
12495 (applyLayout): layout as layout
12496 (TeXOnePar): layout as layout
12497 (simpleTeXOnePar): layout as layout
12498 (TeXEnvironment): layout as layout
12499 (layout): layout as layout
12500 (layout): layout as layout
12502 * lyxtextclass.C (compare_name): new functor to work with
12503 shared_ptr, layout as layout
12504 (Read): layout as layout
12505 (hasLayout): layout as layout
12506 (operator): layout as layout
12507 (delete_layout): layout as layout
12508 (defaultLayout): layout as layout
12510 * lyxlayout_ptr_fwd.h: new file
12512 * lyxlayout.C (Read): layout as layout
12514 * lyx_cb.C (MenuInsertLabel): layout as layout
12516 * bufferlist.C (newFile): layout as layout
12518 * buffer.C (readLyXformat2): layout as layout
12519 (parseSingleLyXformat2Token): layout as layout
12520 (insertStringAsLines): layout as layout
12521 (asciiParagraph): layout as layout
12522 (latexParagraphs): layout as layout
12523 (makeLinuxDocFile): layout as layout
12524 (simpleLinuxDocOnePar): layout as layout
12525 (makeDocBookFile): layout as layout
12526 (simpleDocBookOnePar): layout as layout
12527 (getLists): layout as layout
12529 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12531 * CutAndPaste.C (cutSelection): layout as layout
12532 (pasteSelection): layout as layout
12533 (SwitchLayoutsBetweenClasses): layout as layout
12535 * BufferView_pimpl.C (Dispatch): layout as layout
12536 (smartQuote): layout as layout
12538 * BufferView2.C (unlockInset): layout as layout
12540 2002-06-24 André Pönitz <poenitz@gmx.net>
12542 * lyxfunc.C: fix #487
12544 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12548 * lyxfunc.C: remove display_shortcuts, show_banner
12550 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12552 * Buffer_pimpl.C: oops, update on resize
12554 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12561 * BufferView.C: use repaint()
12563 * BufferView_pimpl.h:
12564 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12565 as it's a clearer description. Remove superfluous
12568 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12570 * text.C: fix bug 488. Not ideal, but getting
12571 getWord() to work properly for the insets that
12572 matter is more difficult ...
12574 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12576 * BufferView_pimpl.C:
12579 * lyxfunc.C: remove the six million index lyxfuncs to just
12580 one, and DTRT (bug 458)
12582 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12586 * BufferView_pimpl.h:
12587 * BufferView_pimpl.C: clean up resize() stuff,
12588 and unnecessary updateScreen()s
12590 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12594 * BufferView_pimpl.h:
12595 * BufferView_pimpl.C:
12598 * minibuffer.C: remove focus management of workarea,
12599 not needed. Use screen's greyOut()
12601 2002-06-17 Herbert Voss <voss@lyx.org>
12603 * converter.C: (convert) do not post a message, when converting
12604 fails, let the calling function decide what to do in this case
12606 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12608 * lyxfunc.C: tidy up a little
12610 2002-06-16 <alstrup@diku.dk>
12612 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12613 Got rid of FORMS_H_LOCATION include. Now we are
12616 2002-06-15 LyX Development team <lyx@rilke>
12618 * buffer.[Ch] (sgmlOpenTag):
12619 (sgmlCloseTag): Added support for avoiding pernicious mixed
12620 content. Return number of lines written.
12622 (makeLinuxDocFile):
12623 (makeDocBookFile): Fixed calls to sgml*Tag.
12624 Simple white space clean.
12626 (simpleDocBookOnePar): Simple white space clean.
12628 * tabular.[Ch] (docBook): Renamed to docbook and got another
12629 argument to related with the pernicious mixed content.
12631 (docbookRow): Fixed calls for docbook inset method.
12633 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12635 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12636 so it's X11 independent.
12640 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12642 2002-06-15 Lyx Development team <lyx@electronia>
12644 * intl.h: Renamed getTrans to getTransManager.
12646 2002-06-14 Angus Leeming <leeming@lyx.org>
12648 * Makefile.am: nuke forgotten stl_string_fwd.h.
12650 2002-06-12 Angus Leeming <leeming@lyx.org>
12652 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12654 2002-06-13 Angus Leeming <leeming@lyx.org>
12657 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12659 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12661 * kbmap.C (getiso): add support for cyrillic and greek
12663 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12667 * BufferView_pimpl.h:
12668 * BufferView_pimpl.C: move bogus scrolling logic
12671 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12674 * BufferView_pimpl.C: view->resize() change
12676 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12678 * BufferView_pimpl.C: topCursorVisible
12681 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12685 * lyx_gui.C: move to frontends/
12689 * lyx_main.C: changes from above
12691 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12698 * lyx_main.C: minor tidy
12700 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12702 * BufferView_pimpl.h:
12703 * BufferView_pimpl.C:
12705 * BufferView.C: make painter() const,
12708 * BufferView2.C: use screen() accessor
12711 * lyx_main.C: some minor cleanup
12713 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12715 * BufferView_pimpl.h:
12716 * BufferView_pimpl.C: remove enter/leaveView,
12719 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12724 * BufferView_pimpl.h:
12725 * BufferView_pimpl.C: only construct screen once,
12728 * lyxrc.C: remove pointless comment
12730 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12733 * BufferView.C: remove active() and belowMouse()
12735 * BufferView_pimpl.h:
12736 * BufferView_pimpl.C: use workarea() not workarea_,
12737 and make it use a scoped_ptr instead
12739 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12741 * lyx_gui.C: add debug message on BadWindow
12743 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12745 * sp_spell.C: fdopen is not part of the C++ standard.
12747 * paragraph.C (InsetIterator): use >= instead of ==
12749 2002-06-07 Angus Leeming <leeming@lyx.org>
12751 Fixes needed to compile with Compaq cxx 6.5.
12752 * BufferView_pimpl.C:
12759 * lyxtextclasslist.C:
12764 all c-library variables have been moved into namespace std. Wrap
12765 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12770 Add a using std::abs declaration.
12772 * kbmap.h (modifier_pair):
12773 * paragraph.h (InsetTable, InsetList):
12774 * lyxfont.h (FontBits):
12775 type definition made public.
12777 * bufferlist.C (emergencyWriteAll): the compiler complains that
12778 there is more than one possible lyx::class_fun template to choose from.
12779 I re-named the void specialisation as lyx::void_class_fun.
12781 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12783 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12784 the compiler is is unable to find tostr in write_attribute.
12786 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12788 * buffer.C (sgmlError): hide #warning
12790 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12792 * xtl/*: get rid of xtl, which is not in use anyway
12794 * LyXAction.C (init):
12795 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12796 were unimplemented xtl experimentation
12798 2002-06-04 André Pönitz <poenitz@gmx.net>
12800 * lyxfunc.C: disable array operation on simple formulae
12802 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12804 * converter.C: constify a bit
12806 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12808 * lyx_gui.C: check xforms version correctly
12810 2002-04-30 Herbert Voss <voss@lyx.org>
12812 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12815 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12817 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12818 attempt to register it with a VCS)
12820 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12822 * lyx_main.C (init): honor variables LYX_DIR_13x and
12825 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12829 * lyx_main.C: fix a crash on bad command line,
12830 and give a useful exit status on error
12832 * lyxfunc.C (doImport): allow -i lyx to work
12834 2002-03-30 André Pönitz <poenitz@gmx.net>
12836 * lyxfunc.C: mathed font changes
12838 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12853 * trans_mgr.h: srcdocs, and some minor cleanups
12855 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12857 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12858 call getFont all the time)
12860 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12862 * switch from SigC signals to boost::signals
12864 2002-05-29 André Pönitz <poenitz@gmx.net>
12866 * paragraph_pimpl.C (getChar): don't call size() too often...
12868 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12870 * paragraph_pimpl.C (insertChar): do not try to update tables when
12871 appending (pos == size())
12873 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12874 in order to reduce drastically the number of comparisons needed to
12875 parse a large document
12877 2002-05-29 André Pönitz <poenitz@gmx.net>
12883 * textclasslist.[Ch]:
12884 * sp_ispell.h: whitespace change
12886 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12888 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12889 lyxaction directly now.
12891 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12895 * lyxvc.C: remove unused headers
12897 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12904 * undo_funcs.C: some cleanups. Use shared_ptr
12905 and a template for the undo stacks.
12907 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12909 * BufferView_pimpl.h:
12910 * BufferView_pimpl.C:
12917 * text2.C: use key_state/mouse_state
12919 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12921 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12924 * chset.C: change include order
12925 (loadFile): use boost regex and get rid of LRegex and LSubstring
12927 * Makefile.am (BOOST_LIBS): new variable
12928 (lyx_LDADD): use it
12930 * LaTeX.C: change include order.
12931 (scanAuxFile): use boost regex and get rid of LRegex and
12935 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12940 * FontInfo.C: moved to frontends/xforms/
12943 * FontLoader.C: moved into frontends for GUIIzation
12948 * lyxfunc.C: changes from above
12950 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12952 * LColor.C: remove spurious X include
12954 * BufferView_pimpl.C:
12959 * text2.C: move font metrics to frontends/
12961 2002-05-24 Juergen Vigna <jug@sad.it>
12963 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12964 setting the undo_cursor.
12966 * ParagraphParameters.h: include local includes first.
12968 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12970 * BufferView_pimpl.C:
12971 * BufferView_pimpl.h:
12975 * screen.C: move WorkArea into frontends/
12981 * BufferView2.C: move LyXScreen into frontends/
12985 * lyx_gui.C: move lyxlookup into frontends/xforms/
12987 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12990 * BufferView_pimpl.C:
13000 * bufferview_funcs.C:
13013 * vc-backend.C: move LyX/XFormsView into frontends/
13015 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
13027 * text2.C: move Painter to frontends/
13029 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
13031 * buffer.C: comment out some some code that depend upon lyx_format
13034 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
13035 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
13037 * buffer.h (NO_COMPABILITY): turn off compability
13039 * ColorHandler.C: include scoped_array.hpp
13041 * font.C: Use more specific smart_ptr header.
13044 * ShareContainer.h: ditto
13045 * lyx_main.h: ditto
13047 * FontInfo.h: ditto
13048 * BufferView_pimpl.h: ditto
13049 * ColorHandler.h: ditto
13051 * kbmap.C (defkey): change call to shared_ptr::reset
13053 2002-05-21 Juergen Vigna <jug@sad.it>
13055 * buffer.C (insertErtContents): fix to insert ert asis if it is
13056 non empty. Skip it completely if it contains only whitespaces.
13058 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
13060 * BufferView_pimpl.C:
13061 * BufferView2.C: clear selection on paste (bug 393)
13063 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13065 * DepTable.C: include ctime
13067 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
13069 * buffer.C (latexParagraphs): Add new argument (moving_arg).
13071 2002-05-14 Juergen Vigna <jug@sad.it>
13073 * text.C (breakParagraph): fixed function to honor the keepempty
13074 layout in the right maner and also to permit the right breaking
13075 algorithm on empty or non empyt keepempty paragraphs.
13077 * paragraph.C (breakParagraph): we have to check also if the par
13078 is really empty (!size()) for isempty otherwise we do the wrong
13081 2002-05-10 Juergen Vigna <jug@sad.it>
13083 * buffer.[Ch] : The following are only changes to the ert
13084 compatibility read reading old LaTeX layout and font stuff and
13085 convert it to ERTInsets.
13087 * buffer.h: added isErtInset().
13089 * buffer.C (struct ErtComp): add a fromlayout bool to check
13090 if we're inside a LaTeX layout.
13091 (isErtInset): new helper function.
13092 (insertErtContents): look for other ert insets before this one
13093 and insert the contents there, so that we don't have subsequent
13094 ERT insets with nothing between them. This way we create only one
13095 inset with multiple paragraphs. Also check if we don't insert only
13096 spaces ' ' as they are ignored anyway afterwards in the .tex file
13097 so if we have only spaces we will ignore this latex part in the
13099 (parseSingleLyXformat2Token \\layout): better compatibility when
13100 reading layout-latex stuff.
13101 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13103 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13104 stuff after reading the inset only get the information back from
13107 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
13109 * buffer.C (makeLaTeXFile): Put language options after loading babel.
13111 * LaTeXFeatures.C (getBabelOptions): New method.
13113 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13115 * BufferView_pimpl.C (Dispatch): work around missing argument for
13118 2002-05-08 Juergen Vigna <jug@sad.it>
13120 * text.C (leftMargin): handle paragraph leftindent.
13122 * paragraph.C (writeFile): write the new \\leftindent tag.
13123 (validate): handle leftindent code.
13124 (TeXEnvironment): handle paragraphleftindent code again.
13126 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13128 * buffer.C (parseSingleLyXformat2Token): added compatibility code
13129 for paragrap_extra indent code and new token \\leftindent.
13130 (latexParagraphs): handle the leftindent as environment.
13132 * ParameterStruct.h: added leftindent support.
13134 * ParagraphParameters.C (leftIndent): added support functions for
13135 the paragraph left indent.
13137 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13140 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
13142 * paragraph.C (isRightToLeftPar): Return false for a paragraph
13145 * text.C (computeBidiTables): No bidi in insetERT.
13147 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13150 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13152 * version.C.in: pre 5
13154 2002-05-02 José Matos <jamatos@fep.up.pt>
13155 * buffer.C (makeDocBookFile): white space changes, add newline to
13157 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13159 * tabular.C (docBook): fix typo.
13161 2002-05-03 Juergen Vigna <jug@sad.it>
13163 * screen.C (drawFromTo): recalculate the rowpointer if we had a
13164 change in LyXText as we can not be sure it was not freed.
13165 (drawOneRow): remove unused code.
13167 * text.C (drawInset): redo the calculation of the need_break_row as
13168 it could have a row which was already freed.
13169 (draw): look at the return value of drawInset and return false if
13170 it also returned false.
13171 (paintRowText): look at the return value of draw and return false if
13172 it also returned false.
13174 * lyxtext.h: added bool return type to drawInset() and draw() so that
13175 if we have a change in the row so that the rowbreak has to be redone
13176 we abort drawing as it will be called again.
13178 2002-05-02 Juergen Vigna <jug@sad.it>
13180 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13181 a change in the maintext also if we're inside an inset.
13182 (Dispatch): set the cursor again after a break line and after the
13183 screen has been updated as it could be we're in a different row.
13185 * text2.C (fixCursorAfterDelete): check to make sure we don't request
13186 to set the cursor behind the pargraph with > size().
13187 (setCursor): check also for the same paragraph when checking where
13188 to put the cursor if we have a NFR inset.
13190 * buffer.C (parseSingleLyXformat2Token): move the compatibility
13191 parts of layout read further up as it still was in the wrong
13194 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13196 * screen.C (drawFromTo): change sine fullRebreak always return
13199 * buffer.C (parseSingleLyXformat2Token): reindent some
13201 * BufferView_pimpl.C (update): change since fullRebreak always
13203 (Dispatch): git rid of the last hardcoded "Standard"s.
13205 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13207 * text2.[Ch] (fullRebreak): make it return void now that we always
13210 2002-04-30 Juergen Vigna <jug@sad.it>
13212 * buffer.C (parseSingleLyXformat2Token): reset the font before the
13213 ert compatibility check for "latex" layout.
13215 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
13217 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13218 minipages: use col% instead of p%, and also use the current font.
13219 (makeLaTeXFile): Fix use babel condition.
13220 (parseSingleLyXformat2Token): Correct font when reading old floats.
13222 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
13224 * BufferView_pimpl.C (Dispatch): Check that float type exists when
13225 inserting list of floats.
13227 2002-04-25 Herbert Voss <voss@lyx.org>
13229 * MenuBackend.C (expand): don't add the graphics extensions to the
13232 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13234 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13235 non-existing layout, do not complain if it was the default layout
13236 of the original class (bug #342)
13238 2002-04-24 Juergen Vigna <jug@sad.it>
13240 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13241 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13243 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
13245 * buffer.C (getBibkeyList): If using \bibliography, return the
13246 option field with the reference itself. Enables us to provide natbib
13247 support when using \bibliography.
13249 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
13251 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13253 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13254 natbib is provided by the LaTeX class.
13256 2002-04-23 Juergen Vigna <jug@sad.it>
13258 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13261 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13263 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13265 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13267 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13268 ensuremath around textordmasculine, textordfeminine and
13271 2002-04-19 Juergen Vigna <jug@sad.it>
13273 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13274 reinitializing the buffer otherwise row-dimensions may be wrong.
13275 (update): reset also the selection cursors if they do exits otherwise
13276 their x/y positions may be wrong.
13278 * text2.C (cursorDown): don't enter the inset if we came from a row
13279 above and are one row over the inset.
13281 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13282 really leaving an inset.
13284 2002-04-18 Juergen Vigna <jug@sad.it>
13286 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13287 of the selected paragraph does not have the selected layout also if
13290 * text2.C (setLayout): fixed bug which did not change last selected
13293 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13294 changed the read and substituted \\end_float with \\end_inset!
13296 * BufferView_pimpl.C (cursorPrevious):
13297 (cursorNext): fixed to make it work with rows heigher than the work
13298 area without moving the cursor only the draw of the row.
13299 (workAreaMotionNotify): fix jumping over high rows.
13301 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13303 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13306 2002-04-16 Juergen Vigna <jug@sad.it>
13308 * text2.C (setCursor): set also the irow().
13309 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13311 (cursorDown): support for locking an inset if the x_fix value goes
13312 inside it. That way I can transverse insets too with cursor up/down.
13314 * lyxrow.h: added irow helper function same as other (i) functions.
13316 * BufferView_pimpl.C (cursorPrevious):
13317 (cursorNext): fixed for insets!
13319 2002-04-15 Juergen Vigna <jug@sad.it>
13321 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13322 position otherwise it is wrong in some cases.
13324 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13325 inside the inset before the call.
13327 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13329 * buffer.[Ch] (getBibkeyList): make it const.
13331 2002-04-12 Juergen Vigna <jug@sad.it>
13333 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13335 * text2.C (getCursorX): new helper function
13336 (setCursor): compute also ix_
13337 (setCursorFromCoordinates): set also ix.
13339 * lyxcursor.h: added ix_ and helper functions.
13341 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13343 * buffer.C (insertStringAsLines): dont break paragraph if the this
13344 paragraph is inside an inset which does not permit it!
13346 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13347 also with no chars on this paragraph.
13348 (paintRowText): only paint stuff if it's inside the workarea!
13350 * paragraph.C (breakParagraph): honor keepempty flag and break the
13351 paragraph always below not above.
13353 * BufferView2.C (unlockInset): update the paragraph layout on inset
13354 unlock as we changed paragraph in such a case.
13356 * lyxfind.C (LyXFind): clear the former selection if not found!
13358 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13359 again called in insertChar().
13361 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13362 an inset which uses the whole row!
13363 (rightMargin): ditto.
13364 (insertChar): force a rebreak if we inserted an inset!
13366 2002-03-28 Herbert Voss <voss@lyx.org>
13368 * lyxlength.[Ch]: add inBP() to get the right PS-point
13369 units (BigPoint). With inPixels we have rounding errors
13371 2002-04-11 Juergen Vigna <jug@sad.it>
13373 * text2.C (setCursorFromCoordinates): set iy to the right value.
13374 (setCursor): add check if row->previous exists!
13376 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13377 an old float_type as this was the case in the old code!
13379 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13381 * BufferView2.C (showLockedInsetCursor): use iy
13382 (fitLockedInsetCursor): ditto
13384 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13385 locked insets as there we have the right value now.
13387 * lyxcursor.C: added iy_ variable and iy functions to set to the
13388 baseline of cursor-y of the locked inset.
13390 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13391 (setCursor): fixed for insets which need a full row.
13393 * text.C (rowLastPrintable): don't ignore the last space when before
13394 an inset which needs a full row.
13395 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13396 as last character of a row when before a inset which needs a full row.
13398 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13400 * version.C.in: update date
13402 * text2.C (fullRebreak): try to always return true and see what
13405 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13407 * MenuBackend.C (expand): use Floating::listName
13409 * FloatList.C (FloatList): add listName argument to the built-in
13412 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13413 text associated with the float.
13415 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13417 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13419 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13421 * ShareContainer.h: add a couple of missing typenames.
13423 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13425 * lyxrc.C (getDescription): use _() correctly rather than N_().
13427 2002-03-28 Herbert Voss <voss@lyx.org>
13429 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13430 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13432 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13434 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13435 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13437 2002-03-29 Juergen Vigna <jug@sad.it>
13439 * lyxfunc.C (dispatch): add a missing fitCursor call.
13441 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13442 it was scrolled by a cursor move, so return the bool status.
13444 * BufferView.C (fitCursor): return the bool flag also to the outside
13445 world as this is needed.
13447 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13449 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13450 call the edit() as it is not needed (and wrong) IMO.
13451 (workAreaButtonPress): set the screen_first variable before evt.
13452 unlock the inset as this may change screen_first and then we have
13453 a wrong y position for the click!
13455 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13457 * MenuBackend.C (expand): another translation that I missed
13459 2002-03-28 Juergen Vigna <jug@sad.it>
13461 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13463 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13465 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13467 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13469 * MenuBackend.C (expand): fix export/view/update when there is no
13472 2002-03-27 Herbert Voss <voss@lyx.org>
13474 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13477 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13479 * bufferview_funcs.C (currentState): only show paragraph number
13480 for is DEVEL_VERSION is set.
13482 * lyxfunc.C (dispatch): put warning in INFO channel
13484 * MenuBackend.C (expand): translate the name of floats
13486 * FloatList.C (FloatList): mark the float names for translation
13488 * converter.C (convert): use LibScriptSearch
13490 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13492 * MenuBackend.C (defaults): fix default menu (we might as well get
13495 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13497 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13500 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13502 * lyxvc.C: reorder includes.
13504 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13506 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13509 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13511 * CutAndPaste.C: change layouts earlier on paste
13512 to avoid crashing when calling getFont()
13514 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13516 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13519 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13521 * WorkArea.C: remove 'Pending' debug message.
13523 * most files: ws cleanup
13525 * buffer.[Ch]: ws changes
13527 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13529 2002-03-21 Juergen Vigna <jug@sad.it>
13531 * tabular.C (SetMultiColumn): collapse also the contents of the
13532 cells and set the last border right. Added a Buffer const * param.
13534 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13536 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13539 2002-03-19 Juergen Vigna <jug@sad.it>
13541 * text2.C (clearSelection): reset also xsel_cache.
13543 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13544 where it needs to be called (John tells us to do so too :)
13545 (selectionLost): reset sel_cache.
13547 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13549 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13551 * text2.C (setCursorIntern): put debuging code in INSETS channel
13553 2002-03-19 André Pönitz <poenitz@gmx.net>
13555 * lyxfunc.C: tiny whitespace change
13557 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13559 * ToolbarDefaults.C (init):
13560 * LyXAction.C (init):
13562 * BufferView_pimpl.C (Dispatch):
13563 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13565 2002-03-19 Allan Rae <rae@lyx.org>
13567 * exporter.C (Export): removeAutoInsets before doing anything else.
13568 While I've just introduced a dependency on BufferView this really is
13569 the best place to clean the buffer otherwise you need to cleanup in
13570 a dozen places before calling export or cleanup in a dozen functions
13573 * converter.C (runLaTeX):
13574 (scanLog): Better handling of removeAutoInsets and screen updates.
13576 * lyxfunc.C (dispatch): small whitespace changes
13578 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13580 * WorkArea.C (C_WorkAreaEvent): return a value.
13581 (event_cb): return 1 if we handled the event, 0 otherwise.
13583 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13585 2002-03-18 Juergen Vigna <jug@sad.it>
13587 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13588 (GetAdditionalWidth): ditto.
13589 (RightLine): ditto.
13592 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13593 inset if we're there actually (probably not used right now but this
13594 is the direction to go for unifying code).
13595 (paste): disable code to clear the selection.
13597 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13598 inside an InsetText and move the check further up as it is in the
13601 * text2.C (pasteSelection): set a selection over the pasted text.
13603 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13605 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13606 and libgraphics to build on Cygwin.
13608 2002-03-15 Juergen Vigna <jug@sad.it>
13610 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13611 inserting an Inset into the paragraph. I know this is not the best
13612 fix but we already use current_view in CutAndPaste so we will remove
13613 all of it's using at the same time.
13615 * buffer.C (sgmlError): deactivated function till it is rewritten in
13616 the right mode, now it can create problems.
13618 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13619 before accessing it.
13621 2002-03-14 Juergen Vigna <jug@sad.it>
13623 * undo_funcs.C (textHandleUndo): do the right thing when updating
13624 the inset after the undo/redo.
13626 * text2.C (setCursor): just some testcode for #44 not ready yet.
13628 * undo_funcs.C (textHandleUndo): set the next() and previous()
13629 pointers of the paragraph to 0 before deleting otherwise we have
13630 problems with the Paragraph::[destructor].
13632 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13633 on a paragraph insertion.
13635 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13637 * buffer.C (asciiParagraph): use += operator for char append to
13640 * paragraph.C (getFontSettings): compare >= not just >
13641 (highestFontInRange): ditto
13644 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13646 * paragraph.C: change several algorithm to be more appripriate for
13647 the problem domain. This is lookip in FontList and in the InsetList.
13649 2002-03-13 André Pönitz <poenitz@gmx.net>
13652 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13654 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13659 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13661 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13663 * Painter.C (display): anon helper function, adjust code for this
13665 (pixmap): remove function.
13667 * Painter.h: remove private display variable.
13669 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13671 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13673 * WorkArea.[Ch]: remove figinset_canvas cruft.
13675 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13677 * lyxtextclass.C (operator): add one item cache optimization.
13679 * bufferlist.h: doxy changes
13681 * bufferlist.C: ws changes
13683 * DepTable.[Ch] (ext_exist): place const in the right spot.
13685 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13687 (workAreaExpose): call resizeInsets when the with BufferView changes.
13688 (Dispatch): adjust for protectedBlank removal
13689 (specialChar): call updateInset if the insert went ok.
13691 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13692 specialChar instead.
13694 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13696 * BufferView.h: doxy change
13698 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13700 * lyxtextclass.C (operator[]): remove non-const version
13701 (defaultLayout): remove non-const version
13703 2002-03-12 Juergen Vigna <jug@sad.it>
13705 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13706 did resize the LyXText too.
13708 * buffer.C (readLyXformat2): set layout information on newly allocated
13711 * tabular.C (OldFormatRead): set layout information on the paragraph.
13713 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13715 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13717 2002-03-11 Juergen Vigna <jug@sad.it>
13719 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13721 (resizeCurrentBuffer): force also the insets to resize themselfes.
13722 (moveCursorUpdate): fixed up for InsetText.
13724 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13727 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13728 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13729 value of Dialogs::tooltipsEnabled().
13730 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13732 2002-03-08 Juergen Vigna <jug@sad.it>
13734 * BufferView_pimpl.C (updateInset): update inset inside inset also
13735 if it isn't inside theLockingInset().
13737 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13739 * buffer.C (asciiParagraph): redo some of the word and line length
13741 (getLists): look for Caption instead of caption.
13743 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13745 * buffer.C (Buffer): initialize niceFile to true
13747 (makeLinuxDocFile):
13748 (makeDocBookFile): make sure niceFile is true on exit
13750 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13752 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13754 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13756 * LyXSendto.C: remove.
13757 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13758 * lyx_gui.C: remove now-redundant comment.
13759 * ColorHandler.h: remove forward declaration of class WorkArea.
13760 * lyxfunc.C: remove #include "WorkArea.h".
13762 2002-03-07 Juergen Vigna <jug@sad.it>
13764 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13765 got moved away with the DEPM and also set the inset_owner always
13766 right which before could have been omitted.
13768 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13770 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13771 wanted layout is not found.
13773 2002-03-07 Juergen Vigna <jug@sad.it>
13775 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13777 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13779 * paragraph.C (breakParagraph): use default layout not layout of
13781 (Paragraph): clear ParagraphParameters.
13783 2002-03-06 Juergen Vigna <jug@sad.it>
13785 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13786 otherwise it would not be a valid lenght. Fixed a special case in
13787 the minipage compatibility read where we end the document with a
13790 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13791 was set as it could be 0 for InsetTexts first entry.
13793 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13795 * paragraph.C (writeFile): if layout is empty write out
13796 defaultLayoutName().
13798 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13799 file without named layout we set layout to defaultLayoutName().
13801 2002-03-06 Juergen Vigna <jug@sad.it>
13803 * CutAndPaste.C (copySelection): set layout for new paragraph.
13805 * text.C (prepareToPrint): leave ERT inset left aligned
13806 (leftMargin): don't indent paragraphs inside ERT insets
13808 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13810 * paragraph.C (breakParagraph): dont call clear do the work manually
13812 * paragraph.[Ch] (clear): remove function
13814 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13816 * paragraph.C (Paragraph): dont call clear, the work has already
13819 * lyxtextclass.C (operator): assert if n is empty
13821 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13822 work manually instead.
13824 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13826 * BufferView_pimpl.C: protect selectionLost against text == 0
13828 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13830 * text.C (breakParagraph): fix a setting layout to '0' problem.
13832 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13834 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13835 final location of file, for the included files, and graphics.
13837 2002-03-05 Juergen Vigna <jug@sad.it>
13839 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13841 2002-03-04 Juergen Vigna <jug@sad.it>
13843 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13845 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13846 last column of multicolumn cells.
13847 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13849 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13851 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13852 file if it doesn't go to a temporary file.
13854 * buffer.C (sgmlOpenTag):
13855 (sgmlCloseTag): remove extra newline insertion.
13857 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13859 * text.C (getRowNearY): comment out debug msg
13861 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13863 * text2.C: first -> first_y
13865 * text.C (getRowNearY): add some attemts at a possible
13866 optimization, not working.
13868 * tabular.[Ch]: add BufferParams to several function so that newly
13869 created paragraph can be initialized to he default layotu for the
13872 * tabular-old.C (ReadOld): add buf->params to call of Init
13874 * screen.C: rename text->first to text->first_y
13876 * paragraph.C (breakParagraph): always set layout in the broken
13879 * lyxtextclass.C (Read): remove lowercase
13882 (delete_layout): ditto
13884 * lyxtext.h: rename first -> first_y
13886 * lyxlayout.C (Read): remove lowercase
13889 (obsoleted_by): ditto
13891 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13893 * buffer.C (insertErtContents): add params are to InsetERT
13894 (parseSingleLyXformat2Token): add code to check if a paragraphs
13895 layout really exist.
13896 (parseSingleLyXformat2Token): add params to several inset
13898 (asciiParagraph): remove lowercase, do the layout comparisons with
13901 * BufferView_pimpl.C (cursorNext): first -> first_y
13902 (resizeCurrentBuffer): first -> first_y
13903 (updateScrollbar): first -> first_y
13904 (scrollCB): first -> first_y
13905 (workAreaMotionNotify): first -> first_y
13906 (workAreaButtonPress): first -> first_y
13907 (checkInsetHit): first -> first_y
13908 (cursorPrevious): first -> first_y
13909 (cursorNext): first -> first_y
13910 (Dispatch): add buffer_->params to severl inset contructors
13912 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13914 * lyxlayout.C (Read): remove some debug info that I forgot.
13916 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13917 clean up the code slightly.
13918 (makeLinuxDocFile): ditto
13919 (makeDocBookFile): ditto
13921 * text2.C: layout as string
13923 * text.C: layout as string
13925 * paragraph_pimpl.C: layout as string
13927 * paragraph.[Ch]: layout as string
13929 * lyxtextclasslist.[Ch]: layout as string
13931 * lyxtextclass.[Ch]: layout as string
13933 * lyxtext.h: layout as string
13935 * lyxlayout.[Ch]: layout as string
13937 * lyx_cb.C: layout as string
13939 * bufferview_funcs.C: layout as string
13941 * bufferparams.C: layout as string
13943 * buffer.C: layout as string
13945 * LyXView.[Ch]: layout as string
13947 * LaTeXFeatures.[Ch]: layout as string
13949 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13951 * BufferView_pimpl.C: change current_layout to string, remove
13956 (workAreaButtonRelease): layout as string
13958 * BufferView2.C (unlockInset): adjust
13960 * vspace.C (asLatexCommand): use an explict temp variable.
13962 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13964 * Makefile.am: use FRONTEND_*
13966 2002-03-01 Juergen Vigna <jug@sad.it>
13968 * tabular.C (SetWidthOfMulticolCell): changed to something better
13969 I hope but still work in progress.
13970 (recalculateMulticolumnsOfColumn): renamed function from
13971 recalculateMulticolCells as it is more appropriate now.
13972 (SetWidthOfCell): calculate multicols better.
13974 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13976 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13978 * lyxfunc.C (processKeySym): print sequence also if it is
13979 `deleted' (complete)
13981 * kbsequence.C (print): print sequence even if it is deleted
13982 (complete would be a better word, actually).
13984 * lyxfunc.C (dispatch): print complete options after a prefix key
13986 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13988 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13990 * text2.C (setCharFont): eliminate setCharFont code duplication.
13992 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13994 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13995 LFUN_TABULAR_FEATURE (bug #177)
13997 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13999 * Makefile.am: remove figure.h
14001 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
14003 * Bufferview_pimpl.C:
14015 * text2.C: remove #include "lyx_gui_misc.h".
14017 * LaTeX.C: added #include <cstdio>
14019 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14021 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
14022 that the paragraph following this one can have.
14024 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
14026 * vspace.C (asLatexCommand): fix bogus gcc warning
14028 * Makefile.am (lyx_SOURCES): remove vms_defines.h
14030 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
14032 * text2.C (setLayout): get rid of redundant code
14034 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
14036 * text2.C (incDepth): make sure depth cannot be increased beyond
14039 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
14041 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
14042 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
14044 * PainterBase.h (image):
14045 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
14046 a LyXImage const *.
14048 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
14052 * BufferView_pimpl.C:
14053 * BufferView_pimpl.h:
14073 * sp_spell.C: remove fig inset, and the crap house of
14074 cards that follows it
14076 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
14081 * os2_errortable.h:
14082 * nt_defines.h: move .h into support/
14084 * vms_defines.h: remove
14086 * WorkArea.C: add space in debug output
14090 * buffer.C: add WITH_WARNINGS
14094 * bufferlist.C: s/retrive/retrieve/, add docs
14103 * chset.C: add docs
14105 * lyxgui.C: add ID to X error handler
14107 * lyxtestclass.c: fix typo
14109 2002-02-26 Juergen Vigna <jug@sad.it>
14111 * tabular_funcs.C (write_attribute): changed so that some default
14112 attributes are not written at all.
14113 (getTokenValue): set default values before trying to read the
14114 value so we have the return value always set as default if we don't
14115 find the token we search for.
14117 * tabular.C (Write): write bools as bools not as strings!
14119 2002-02-22 Juergen Vigna <jug@sad.it>
14121 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14122 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14124 * text.C (leftMargin): don't add an indent for paragraphs inside
14125 tabular cells (fix #208).
14127 2002-02-21 José Matos <jamatos@fep.up.pt>
14129 * tabular.C (docBook): fixed support for long tables.
14131 2002-02-20 Juergen Vigna <jug@sad.it>
14133 * text2.C (getFont): get the drawing font of the Inset if this
14134 paragraph is inside an inset (only important for InsetERT for now).
14136 * buffer.C (insertErtContents): use new lanugage params in ERT
14139 * CutAndPaste.C: commenting out seemingly uneeded code.
14141 2002-02-19 Allan Rae <rae@lyx.org>
14143 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14144 Iterators might be simple to use but they also get invalidated.
14145 (removeAutoInsets): renamed saved cursor tracking variables and added
14146 some comments to clarify what everything does.
14148 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
14155 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14156 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14159 * vc-backend.h: remove #include "support/syscall.h"
14163 * converter.C: rearrange #includes in Lars' approved fashion.
14165 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14166 forward declare class Timeout in the header file.
14168 * XFormsView.C: changes due to the above.
14170 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14171 similar to LyXView.
14173 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14174 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14176 2002-02-18 José Matos <jamatos@fep.up.pt>
14178 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14181 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14183 * a lot of small ws changes
14184 * add a lot of using std::XXX
14185 * use std construcs some places where approp.
14186 * use some exisint stuff from lyxfunctional where approp.
14187 * Make file changes to use partial linking (lets test this now...)
14189 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14193 remove #include "support/syscontr.h" as it's redundant. Always has been.
14201 change Systemcalls::System to Systemcalls::Wait and
14202 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14203 No change of functionality, just reflects the stripped down Systemcalls
14206 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14208 * debug.[Ch]: add a GRAPHICS type to the enum.
14210 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14212 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14214 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14217 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14219 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14220 match the changes below.
14222 * text2.C (toggleInset): if there is not editable inset at cursor
14223 position, try to see if cursor is _inside_ a collapsable inset
14226 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14228 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14229 document menu has a nice checkbox
14231 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14233 * lyxlength.C (asLatexString): change PW to output as percent of
14236 * lengthcommon.C: change '%' to 't%'
14238 * lyxfunc.C (dispatch): a few comments from Martin
14240 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
14244 * BufferView_pimpl.h:
14245 * BufferView_pimpl.C: clear our selection when X tells us we've lost
14248 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14250 * vspace.C (inPixels): fix compiler warning
14252 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14254 * lyxfunc.C (getStatus): fix status message for disabled commands.
14256 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
14258 * BufferView_pimpl.C: fix crash on close buffer
14259 during selection (#227)
14261 2002-01-27 Herbert Voss <voss@lyx.org>
14263 * buffer.C: link old Figure to new graphic inset
14265 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
14267 * FontLoader.C (getFontinfo): Change the latex font names in order
14268 to match the names of type1inst.
14270 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14272 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14274 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14275 (extchanged): ditto
14277 (remove_files_with_extension): ditto
14278 (remove_file): ditto
14281 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14282 document is smaller than the work area height. Do not initialize
14283 static variables to 0.
14285 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14287 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14289 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14290 LFUN_LAYOUT_PARAGRAPHS.
14292 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14293 tabular. It is possible to provide a possible cell, which will
14294 typically be the actcell from the corresponding insettabular
14296 * lyxfunc.C (getStatus): small cleanup; disable
14297 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14300 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14302 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14304 * paragraph.C (startTeXParParams):
14305 (endTeXParParams): new methods. The LaTeX code to
14306 start/end paragraph formatting
14307 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14308 empty (fixes bug #200)
14310 * vspace.C (inPixels): adapt to the change below
14311 (inPixels): [later] more cleanups (remove unused variables)
14313 * lyxlength.C (inPixels): change to use a width and a height as
14316 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14318 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14319 Replaced with \paperwidth
14321 * DepTable.C (insert): add std:: qualifier
14323 2002-01-18 Allan Rae <rae@lyx.org>
14325 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14328 * text.C (drawInset): Turned out I didn't know enough about how
14329 rebreaking worked. This fixes most of the redraw problems. I see
14330 an occasional cursor trail when a line is broken now and the cursor
14331 placement can seem out by a few pixels also after a rebreak.
14333 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14335 * buffer.C (parseSingleLyXformat2Token): update because minipage
14336 width is now a LyXLength
14338 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14340 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14343 2002-01-17 Juergen Vigna <jug@sad.it>
14345 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14347 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14348 is set correctly and the inset is updated correctly.
14350 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14352 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14353 the beginning of the loop.
14355 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14357 * lyxrc.C: improve help for use_scalable_fonts
14359 2002-01-17 Allan Rae <rae@lyx.org>
14361 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14363 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14365 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14366 make sure to set their inset_owner to the right value (bug #171)
14368 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14371 * DepTable.C: Implement mtime checking to reduce time spent doing
14374 2002-01-16 Juergen Vigna <jug@sad.it>
14376 * tabular.C (GetAdditionalHeight): one of error fixed.
14378 * lyxrc.C (output): small fix in writing use_pspell.
14380 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14382 * sp_base.h: #include LString.h
14384 2002-01-16 Allan Rae <rae@lyx.org>
14386 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14387 Can someone check this please?
14389 * text.C (drawInset): It was possible that p.row would be removed by
14390 breakAgainOneRow upsetting a few other settings. There may be another
14391 small tweak possible by setting need_break_row = 0 when p.row has been
14392 removed but I don't know enough about the logic here.
14394 2002-01-15 Allan Rae <rae@lyx.org>
14396 * text.C (insertChar): removed conditional truism.
14398 * BufferView2.C (removeAutoInsets): More tweaks.
14399 cur_par_prev could be a stray pointer. Check for trailing empty line
14400 in case last line was cur_par and only had an error inset on it.
14402 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14404 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14407 * vc-backend.C (most methods):
14408 * exporter.C (Export):
14409 * converter.C (convert):
14411 * LyXSendto.C (SendtoApplyCB):
14412 * lyxfunc.C (dispatch):
14416 * lyx_cb.C (AutoSave):
14418 * BufferView_pimpl.C (MenuInsertLyXFile):
14419 * buffer.C (runChktex): use Buffer::filePath().
14421 * buffer.h: rename filename to filename_; rename filepath to
14422 filepath_ and make it private
14423 (filePath): new method
14425 * buffer.C (writeFile): use fileName()
14428 * lyx_main.C (init): fix starting of LyX when the binary is a
14429 link from so,ewhere else.
14431 * minibuffer.C: include <cctype> for isprint
14433 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14435 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14436 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14437 name clash with InsetCollapsable's width function.
14439 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14441 * lastfiles.C: include <iterator>
14443 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14445 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14448 * buffer.C (makeLaTeXFile): ditto.
14449 Also make loop operation more transparent.
14451 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14453 * ToolbarDefaults.C: remove trailing comma closing namespace.
14455 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14457 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14460 * trans.C (Load): comment out unused variable, allowed.
14462 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14464 * minibuffer.[Ch] (append_char): new method to recieve input from the
14465 drop-down completion browser. If a key was pressed, then recieve this
14466 char and append it to the existing string.
14467 (peek_event): modify the positioning data passed to the completion
14468 browser so that it can be placed above the minibuffer rather than below.
14469 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14471 * LyXAction.C (init): alloe error-next for readonly documents.
14473 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14476 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14478 * bufferlist.C (readFile): create the buffer _after_ checking that
14481 * lyxfunc.C (verboseDispatch): fix handling of arguments
14483 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14485 * lyxrc.C: use string::erase() instead of initializing to "".
14488 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14490 * BufferView_pimpl.h:
14491 * BufferView_pimpl.C:
14494 * text2.C: tell X when we have made a selection for copying
14496 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14498 * BufferView_pimpl.C (MenuInsertLyXFile):
14499 * lyxfunc.C (menuNew):
14501 (doImport): add shortcuts to directory buttons
14503 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14506 * lyxfunc.C (setStatusMessage):
14507 (getStatusMessage): new methods
14508 (getStatus):use setStatusMessage instead of setErrorMessage
14509 (dispatch): when function is disabled, set error message here
14510 [instead of in getStatus previously]
14512 * BufferView_pimpl.C (workAreaButtonRelease): update
14513 toolbar/menubar here too.
14515 2002-01-13 Allan Rae <rae@lyx.org>
14517 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14518 Now seems indestructible. Remaining task is to audit all other
14519 code affected by deleteEmptyParagraphMechanism. One small quirk
14520 left is that an empty document with an error in the preamble can
14521 be made to report an error but no error box appears. I don't know
14523 (removeAutoInsets): Improved comments.
14525 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14528 * Thesaurus.C: update for Aiksaurus 0.14
14530 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14532 * text2.C (firstParagraph): removed member function, all uses
14533 replaces with ownerParagraph
14534 (redoParagraphs): here
14535 (updateInset): here
14536 (toggleAppendix): here
14537 * BufferView2.C (insertErrors): here
14538 (setCursorFromRow): here
14540 2002-01-13 Allan Rae <rae@lyx.org>
14542 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14543 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14544 There is still a way to segfault this although you may have to do this
14545 multiple times: Have an InsetERT with an unknown command in it.
14546 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14547 <down-arrow>, <Enter> again, View->DVI, BANG!
14549 * text2.C (setCursor):
14550 (deleteEmptyParagraphMechanism):
14551 * lyxtext.h (setCursor):
14552 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14553 Making use of the return value may help fix other bugs.
14555 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14557 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14559 * LyXView.C (updateMenubar): call MenuBar::update here
14560 (updateToolbar): but not here
14561 (showState): do not update toolbar/menubar
14563 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14564 should need to care about that.
14566 * lyxfunc.C (verboseDispatch): simplify a bit
14567 (getStatus): have a version which takes a pseudoaction, and
14568 another which requires a (kb_action,string).
14570 * LyXAction.C (retrieveActionArg): make it work also when action
14571 is not a pseudo-action.
14572 (getActionName): simplify a bit
14575 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14577 * lyxfunc.C (verboseDispatch): new families of methods with
14578 several ways to specify a command and a bool to indicate whether
14579 the command name and shortcut should be displayed in minibuffer
14580 (eventually, we could extend that to a finer bitmask like
14581 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14582 (dispatch): the pristine dispatch command which just, well,
14583 dispatchs! Note it still sets its result to minibuffer; I'm not
14586 * lyxfunc.h: remove setHintMessage
14588 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14590 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14592 * BufferView_pimpl.C (specialChar): delete new inset if we have
14593 not been able to insert it.
14595 * kbmap.C: revert to using int instead of kb_action, since all we
14596 are dealing with is pseudo-actions.
14598 * LyXAction.C (searchActionArg): change to return int instead of
14599 kb_action, since the result is a pseudoaction.
14601 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14603 * buffer.C (insertErtContents): Fix (partially) the font bug.
14605 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14607 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14608 as the other one is broken on my machine!
14610 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14613 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14615 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14617 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14618 reflect their actual use. Provide compatibility code for older lyxrc
14621 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14623 change names of popup font variables in line with the changes to lyxrc.C
14625 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14627 * buffer.C (asciiParagraph): avoid outputing a word twice after
14630 * lyxrc.C (getDescription): document that document_path and
14631 template_path can be empty.
14633 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14635 * LaTeXFeatures.C (getMacros):
14636 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14638 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14640 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14642 (getPackages): rename feature "floats" to "float". Use an array to
14643 iterate over 'simple' features (i.e. just a \usepackage). Add
14644 handling of "amsmath" (renamed from "amsstyle").
14646 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14648 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14651 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14653 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14654 FuncStaus::FuncStatus & FuncStaus::some_method().
14656 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14658 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14659 of the func_satus stuff. Edited and massaged in various ways by
14662 * lyxfunc.C (getStatus): use FuncStatus
14664 2002-01-08 Juergen Vigna <jug@sad.it>
14666 * text.C (nextBreakPoint): use function Inset::isChar().
14668 * paragraph.C (TeXOnePar): use function
14669 Inset::forceDefaultParagraphs.
14671 * buffer.C (latexParagraphs): use function
14672 Inset::forceDefaultParagraphs.
14674 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14676 * lyx_gui.C (init): set the style of the menu popups to
14677 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14679 2002-01-07 Juergen Vigna <jug@sad.it>
14681 * text.C (setHeightOfRow): small fix
14682 (prepareToPrint): don't look at alignment if we don't have the place
14685 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14687 * box.C: New file. Move the Box methods and functions out of box.h,
14688 following Lars' suggestion.
14690 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14692 * box.h: #include "support/LOstream.h", needed for inlined function.
14695 * lyxtextclasslist.C: added some using std declarations.
14697 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14699 * box.h: make signed dimensions to allow insets wider than
14700 the screen (bug #162)
14702 * BufferView_pimpl.C: add some insetHit debug
14704 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14706 * vc-backend.C: add FIXME
14708 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14710 * lyxfunc.C (getStatus): enable code for showing math font status
14713 2002-01-07 Juergen Vigna <jug@sad.it>
14715 * text.C (nextBreakPoint): removed debug output not needed anymore.
14717 2002-01-06 Juergen Vigna <jug@sad.it>
14719 * text.C (nextBreakPoint): fixed up this function we had this bug
14720 since ever but now hopefully we break row better.
14721 (insertChar): we have to check if an inset is the next char as it
14722 could now happen that a large inset is causing a break.
14724 2002-01-05 Juergen Vigna <jug@sad.it>
14726 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14727 if it doesn't like to be drawed.
14729 2002-01-04 Juergen Vigna <jug@sad.it>
14731 * BufferView2.C (lockInset): forgot to set a cursor.
14733 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14735 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14737 * FormMathsPanel.C:
14740 * form_maths_panel.C:
14741 * form_maths_panel.h:
14742 * form_maths_panel.fd: implemented sub- and super- buttons in math
14745 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14746 (or ^ space) to be used as in TeX (req'd by Andr�.
14748 * lyxfunc.C: Allow ^ and _ again to be used both as
14749 super/subscript (mathed) and as themselves (in text).
14751 2002-01-03 Allan Rae <rae@lyx.org>
14753 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14754 "LyX" or the filename of the current buffer if it has one. This is a
14755 modified form of John Levon's patch.
14757 * XFormsView.C (setWindowTitle): also set icon title.
14759 * LyXView.h (setWindowTitle): signature changed.
14760 * XFormsView.h (setWindowTitle): ditto.
14762 2002-01-02 Juergen Vigna <jug@sad.it>
14764 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14766 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14768 * screen.C (topCursorVisible): introduce a temp var for
14769 text->cursor.row(), handle the case where this row is null. (kindo
14772 * text2.C (setCursor): add a couple of asserts.
14774 * paragraph.h (inset_iterator): add -> operator
14776 * paragraph.[Ch] (autoDeleteInsets): remove member function
14778 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14779 cursor pos correctly and handle inset deletion by itself.
14780 (insertErrors): move iterator declaration out of for expression
14782 * lyxtextclass.C: add <algorithm>
14784 * Makefile.am: added the new files to sources, removed layout.C
14786 * layout.C: removed file
14788 * layout.h: remove LYX_DUMMY_LAYOUT
14790 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14794 * lyxtextclass.[Ch]:
14795 * lyxtextclasslist.[Ch]: new files
14797 * include order changes to a lot of files, also changes because of
14800 2001-12-27 Juergen Vigna <jug@sad.it>
14802 * buffer.C (asciiParagraph): more fixes.
14804 * tabular.C (ascii): make ascii export support export of only the
14805 data separated by a column-delimiter.
14806 (ascii): better support for ascii export.
14808 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14810 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14812 * tabular_funcs.C: use a "using std::getline" instead of the
14813 previous fix from Angus (necessary for cxx + lyxstring)
14815 2001-12-24 Juergen Vigna <jug@sad.it>
14817 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14819 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14820 problems. First check a minipage also if we have some ert-contents
14821 (not only on par->size(), second set the right depth of the paragraph
14822 on the relink to the root-paragraph-list!
14824 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14825 which then did not anymore update the main paragraphs on undo/redo!
14827 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14829 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14830 code. Support all font-changing funcs (even those which are not in
14831 menu currently). Support for reporting font settings in
14832 mathed (disabled until Andre provides a function on mathed's side).
14834 * func_status.h (toggle): small helper function to set toggle
14837 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14839 * tabular_funcs.C: getline -> std::getline
14841 2001-12-21 Juergen Vigna <jug@sad.it>
14843 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14844 accessed and could be 0 (I couldn't generate this but it seems
14847 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14849 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14850 * tabular_funcs.h: here and include iosfwd
14852 2001-12-20 Juergen Vigna <jug@sad.it>
14854 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14855 inside inset but undo_par was.
14857 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14859 * Thesaurus.C: always include <config.h> in sources.
14863 * box.h: do not include <config.h> in header files
14865 * text.C (paintLastRow): remove unused variable
14867 * text.C (transformChar):
14869 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14871 * Painter.C (text):
14872 * font.C (width): rewrite to use uppercase() instead of
14875 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14877 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14879 * lyxfind.C: clean up of find failure position change
14881 2001-12-20 Juergen Vigna <jug@sad.it>
14883 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14885 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14886 (TeXRow): added to LaTeX a single tabular row.
14887 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14888 (Latex): simplified and finally good LT-h/f support.
14889 (various_functions): just small adaptions for LT-h/f support.
14891 * tabular_funcs.[hC]: added and moved here all not classfunctions
14894 2001-12-19 Juergen Vigna <jug@sad.it>
14896 * tabular.[Ch]: better support for longtabular options (not finished
14899 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14901 * text.C (paintLastRow): use the label font instead of the font of
14902 the last character to compute the size of *_BOX. This makes more
14903 sense and avoids a crash with empty paragraphs.
14904 Use Painter::rectangle to draw EMPTY_BOX.
14906 2001-12-19 Juergen Vigna <jug@sad.it>
14908 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14909 the paragraphs if the replaced paragraph is not the first one!
14910 Tried to delete not used paragraphs but does not work yet so for
14911 now it's inside #ifdef's and by default off!
14913 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14915 * MenuBackend.C: include "lyx_main.h" instead of declaring
14916 lastfiles (actually was declared as LastFiles* instead of a
14919 2001-12-17 Juergen Vigna <jug@sad.it>
14921 * tabular.C (AppendColumn): applied John's fix
14923 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14927 * BufferView_pimpl.h:
14928 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14931 * box.h: new start of class for above
14933 * lyxfunc.C: ignore space-only minibuffer dispatches.
14934 Show the command name when it doesn't exist
14936 * minibuffer.C: don't add empty lines to the history
14938 * minibuffer.C: add a space on dropdown completion
14940 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14942 * text.C: fix line above/below drawing in insets
14944 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14946 * lyxlength.C (LyXLength): Initialize private variables.
14948 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14950 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14951 when inserting error insets.
14953 2001-12-13 Juergen Vigna <jug@sad.it>
14955 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14956 actually sometimes the before-paragraph.
14957 (setUndo): don't clear the redostack if we're not actually undoing!
14959 2001-12-06 Juergen Vigna <jug@sad.it>
14961 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14962 and fixed redoing of main paragraph, so we can use it now ;)
14964 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14966 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14968 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14971 2001-12-13 André Pönitz <poenitz@gmx.net>
14974 * undo_func.C: minor cleanup
14976 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14978 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14979 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14980 font in urw-fonts package which is marked as -urw-fontspecific and
14981 does not work (incidentally, changing the encoding in the
14982 fonts.dir of this package to -adobe-fontspecific fixes the
14985 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14986 is a crash when undoing first paragraph (Juergen, please take a
14987 look). THis does not mean the undo fix is wrong, just that it
14990 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14991 the (Paragraph*) version when needed instead of duplicating the
14994 * text.C (workWidth): use Inset::parOwner to find out where the
14995 inset has been inserted. This is a huge performance gain for large
14996 documents with lots of insets. If Inset::parOwner is not set, fall
14997 back on the brute force method
14999 * paragraph_pimpl.C (insertInset):
15000 * paragraph.C (Paragraph):
15001 (cutIntoMinibuffer): set parOwner of insets when
15002 inserting/removing them
15004 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15006 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
15012 * mathed/formulabase.C:
15013 * mathed/math_cursor.[Ch]:
15014 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
15017 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15019 * lyxlength.[Ch] (operator!=): new function
15021 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15023 * text.C (workWidth): use Inset::parOwner to find out where the
15024 inset has been inserted. This is a huge performance gain for large
15025 documents with lots of insets. If Inset::parOwner is not set, fall
15026 back on the brute force method
15028 * paragraph_pimpl.C (insertInset):
15029 * paragraph.C (Paragraph):
15030 (cutIntoMinibuffer): set parOwner of insets when
15031 inserting/removing them
15033 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15035 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15037 * tabular-old.C (getTokenValue):
15038 * tabular.C (getTokenValue):
15039 (write_attribute): new versions for LyXLength
15040 (everywhere): adjust the use of widths
15042 * tabular.h: change the type of widths from string to LyXLength
15044 2001-12-11 Ben Stanley <bds02@uow.edu.au>
15046 * paragraph.C: fixed missing line number count when exporting
15047 Environments to LaTeX file
15049 * buffer.C: added informational message for checking line numbers.
15051 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15053 * text2.C (deleteEmptyParagraphMechanism): if there is only one
15054 paragraph, do the 'double space' part, but not the 'empty
15057 * text.C (workWidth): small optimization
15058 (getLengthMarkerHeight): use minimal size for negative lengths.
15060 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
15062 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
15064 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
15066 2001-12-11 André Pönitz <poenitz@gmx.net>
15069 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
15071 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15073 * text2.C: keep selection on a setFont()
15075 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15077 * lyx_cb.C: another bv->text misuse, from insert label
15079 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15082 * kbsequence.C: re-instate nmodifier mask
15084 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
15086 * lyx_main.h: make lyxGUI private.
15088 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15090 * lyxfind.C: place the cursor correctly on failed search
15092 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15094 * text.C (getLengthMarkerHeight): for small heights, the arrows
15095 are not always on top/bottom of the text
15096 (drawLengthMarker): smaller arrows; take the left margin in
15097 account; draw also vfills.
15099 (paintLastRow): remove special code for vfill and standard spaces,
15100 since everything is handled in drawLengthMarker now.
15102 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15104 * buffer.C (insertErtContents): try to handle font and language
15105 interaction a bit better.g
15107 * ColorHandler.C (updateColor): change the hash to cover the whole
15108 LColor enum, ws cleanup
15109 (getGCLinepars): ditto
15110 (getGCLinepars): only lookup in the linecache once.
15112 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
15114 * iterators.C (operator++): Make the iterator more robust
15116 * BufferView2.C (removeAutoInsets): Use paragraph iterators
15118 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15120 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15123 * text.C: better added space drawing
15125 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15128 * BufferView2.C: fix layout combo update on inset unlock
15130 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15132 * Makefile.am: don't compile unused files
15134 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15138 * LyXAction.C: remove old LFUN_LAYOUTNO
15140 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15142 * paragraph_pimpl.h:
15143 * paragraph_pimpl.C: isTextAt() doesn't need font param
15145 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15148 * lyxlex.C: little cleanup
15150 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15152 * BufferView_pimpl.C: fix insertAscii for insets
15154 2001-12-05 Juergen Vigna <jug@sad.it>
15156 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15157 set the right font on the "multi" paragraph paste!
15159 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15165 * lyxlength.C: remove out-commented code.
15167 * BufferView_pimpl:
15181 * vc-backend.C: change "while(" to "while ("
15183 * lyxlength.[Ch]: add zero function to check if length is zero or
15185 * lyxgluelength.C: use it
15187 2001-12-05 Allan Rae <rae@lyx.org>
15189 * lyxlength.C: Attempted a fix for the abs(int) header selection.
15190 Works for 2.95.3, from what I understand of Garst's reports this should
15191 work for other g++ versions. We're screwed if the abs(int) definition
15192 changed between bugfix releases of gcc.
15194 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15196 * text.C: fix chapter label offset !
15198 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15201 * text.C: fix hfill at end of line, clean up
15203 2001-12-04 Juergen Vigna <jug@sad.it>
15205 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15206 that we force an update of the inset and it's owners if neccessary.
15208 2001-12-03 Juergen Vigna <jug@sad.it>
15210 * text.C (rowLast): simplified code
15212 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15214 * lyxfunc.C: fix show options on timeout
15216 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15218 * screen.C (topCursorVisible): scroll half a page when the cursor
15219 reached top of bottom of screen
15221 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
15223 * minibuffer.C: deactivate on loss of focus
15225 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15227 * vspace.[Ch] (operator!=): add operator.
15229 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
15231 * BufferView_pimpl.C: refuse to open an inset when
15232 there's a selection.
15234 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
15236 * BufferView_pimpl.C: allow to click on RHS of full row insets
15238 2001-11-30 Juergen Vigna <jug@sad.it>
15240 * tabular.C (LyXTabular): add a same_id to set the same id's in the
15241 insets for undo reasons.
15243 2001-11-28 André Pönitz <poenitz@gmx.net>
15245 * vspace.[Ch]: cosmetical changes
15247 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15257 * kbsequence.C: part re-write of old kb code
15260 * WorkArea.C: remove Lgb_bug_find_hack
15262 2001-11-30 José Matos <jamatos@fep.up.pt>
15264 * buffer.C (makeDocBookFile): add a comment to point a hack.
15265 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15266 Fixed a double write of labels.
15268 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15271 * LaTeX.h Fixed bug in LaTeX class where it would not
15272 re-run latex if no depfiles were changed, but the .dvi was removed.
15274 2001-11-28 André Pönitz <poenitz@gmx.net>
15276 * all the files from the change on 2001/11/26:
15277 use lyx::layout_type instead of LyXTextClass::size_type
15278 use lyx::textclass_type instead of LyXTextClassList::size_type
15280 2001-11-29 Juergen Vigna <jug@sad.it>
15282 * text.C: added support for paragraph::isFreeSpacing()
15284 * buffer.C: same as above
15286 * paragraph.h: inserted isFreeSpacing() function to enable
15287 FreeSpacing inside InsetERT.
15289 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15290 of the paragraph's in the cut/copy buffer to 0!
15292 * text2.C (removeRow): remove the assert as it can!
15294 * lyxtext.h: added helper function firstRow returning firstrow and
15295 made firstrow private again.
15297 * BufferView2.C (lockInset): don't relock if we're already locked!
15299 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15300 the only paragraph.
15301 (removeRow): added Assert::(firstrow)
15303 * debug.C: forgot to add INSETTEXT here.
15305 2001-11-28 Juergen Vigna <jug@sad.it>
15307 * sp_spell.C (initialize): changed error text to more general
15308 spellchecker command use (not only ispell!)
15310 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15312 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15314 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15316 * vspace.C: initialise lyxgluelength on failure
15318 2001-11-28 Allan Rae <rae@lyx.org>
15320 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15321 declaration & definition that looks like a function declaration.
15323 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15325 * BufferView2.C (copy):
15326 (copyEnvironment): do not clear the selection when doing a copy.
15328 * text.C (paintFirstRow): compilation fix
15330 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15332 * tabular.C (Latex): correct line count when writing latex.
15334 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15336 * paragraph_pimpl.h:
15337 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15340 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15344 * LColor.C: change vfillline->added_space
15346 * text.C: add markers and text for added space
15348 * vspace.C: fix comment
15350 2001-11-28 André Pönitz <poenitz@gmx.net>
15352 * paragraph.C: whitespace changes
15353 * all the other files from the change on 2001/11/26:
15354 change *::pos_type into lyx::pos_type
15356 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15358 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15359 language of the document when inserting error insets.
15361 2001-11-26 André Pönitz <poenitz@gmx.net>
15363 * BufferView_pimpl.[Ch]:
15371 * paragraph_pimpl.[Ch]:
15374 * text2.C: reduce header dependencies, introduce type for positions
15376 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15378 * <various>: change to use Alert.h
15380 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15382 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15383 when encountering an unknown token.
15384 (readLyXformat2): Show an error message if there were unknown tokens.
15386 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15389 * BufferView_pimpl.C:
15393 * text2.C: use par->isInset()
15395 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15397 * paragraph_pimpl.h:
15398 * paragraph_pimpl.C: cleanup
15400 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15402 * text2.C (removeRow):
15403 * text.C (setHeightOfRow): remove useless (and costly) call to
15406 2001-11-20 Allan Rae <rae@lyx.org>
15408 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15409 Now need Inset*::checkInsertChar() to return true for appropriate
15410 cases so that the characters in the minibuffer will actually be
15413 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15415 * text.C: change the order of the includes.
15416 (workWidth): initialize it at once.
15417 (workWidth): make maxw unsigned
15418 (setHeightOfRow): remove unused variable (inset)
15419 (selectSelectedWord): remove unused variable (inset)
15420 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15422 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15424 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15425 server is not running.
15427 (closeConnection): add debug info when server is disabled.
15429 * ColorHandler.C (getGCForeground): send debug message to GUI
15432 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15434 * kbmap.C (bind): modify because return conventions of
15435 kb_sequence::parse have changed.
15437 * kbsequence.C (parse): only ignore spaces and not any stupid
15438 control character. This avoids tests like s[i] <= ' ', which are
15439 guaranteed to fail with 8bit characters and signed chars.
15440 Change return code to string::npos when there have been no error
15441 (0 was a bad idea when error is at first character)
15443 2001-11-14 José Matos <jamatos@fep.up.pt>
15446 * buffer.C (simpleDocBookOnePar): removed unused argument.
15448 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15450 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15451 insets which are part of a word. Paragraph::isLetter takes care of
15452 that now. Use Paragraph::isInset to identify insets.
15453 (selectSelectedWord): do not test for hyphenation break.
15455 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15456 that protected spaces are considered as spaces.
15458 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15461 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15464 * lyxserver.C: fix it. and small cleanup.
15466 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15468 * BufferView_pimpl.C: use inline helpers
15471 * LaTeXFeatures.C: fix typos
15474 * Spacing.C: move spacing_string into class
15476 * ToolbarDefaults.C: move stuff into namespace anon
15478 * layout.h: update enum
15480 * lyxfunc.C: use better debug
15482 * minibuffer.h: fix typo
15486 * WorkArea.C: add and use Debug::WORKAREA
15490 * text2.C: code re-organisation, inline helpers
15492 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15494 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15495 std::vector.empty().
15497 2001-11-09 Allan Rae <rae@lyx.org>
15499 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15500 '\n's after tables. Tabular and ERT inset work now makes this no
15503 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15506 * minibuffer.C: fix crash, improve drop-down completion
15508 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15511 * lyxserver.C: invalidate fd's when doing endPipe()
15513 2001-11-08 José Matos <jamatos@fep.up.pt>
15515 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15516 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15519 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15521 2001-11-07 José Matos <jamatos@fep.up.pt>
15524 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15527 * buffer.C (sgmlOpenTag):
15528 * buffer.C (sgmlCloseTag): removed debug info.
15530 * buffer.h (sgmlOpenTag):
15531 * buffer.h (sgmlCloseTag): made public.
15533 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15535 * buffer.C (saveParamsAsDefaults):
15536 * lyx_cb.C (MenuLayoutSave): remove
15538 * LyXAction.C (init):
15540 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15542 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15544 * buffer.C (setPaperStuff): removed from here...
15546 * bufferparams.C (setPaperStuff): ... and moved there.
15548 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15552 * XFormsView.C: add support for drop-down completion
15554 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15556 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15559 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15561 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15564 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15566 * lyx_main.C: change ref to known bugs
15568 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15570 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15571 to work around older babel problems.
15573 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15575 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15577 2001-10-24 Juergen Vigna <jug@sad.it>
15579 * tabular-old.C (ReadOld): below variable changes reflected.
15581 * tabular.[Ch]: added ltType struct for longtable header/footer
15582 defines and changed all instances where they are used. Added
15583 future support for double top/bottom rows.
15585 2001-10-24 José Matos <jamatos@fep.up.pt>
15587 * buffer.h (docbookHandleCaption):
15588 * buffer.C (docbookHandleCaption): removed unused function.
15589 (makeDocBookFile): moved docbook supported version to v4.1.
15591 2001-10-24 José Matos <jamatos@fep.up.pt>
15594 * tabular.C (docbookRow): new function to export docbook code of a row.
15595 (DocBook): now honors the longtable flags.
15597 2001-10-23 José Matos <jamatos@fep.up.pt>
15600 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15601 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15603 * buffer.C (makeLinuxDocFile):
15604 (makeDocBookFile): reworked the preamble, more clean, and with
15605 support for lyx defined entities. Changed the document declaration
15606 to be more XML friendly.
15608 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15609 if we need to output XML that should be done with a filter.
15611 2001-10-22 Juergen Vigna <jug@sad.it>
15613 * sp_pspell.h (class PSpell): add alive function needed in the
15614 controller to see if the spellchecker could be started.
15616 2001-10-22 Juergen Vigna <jug@sad.it>
15618 * buffer.C (insertStringAsLines): modify the font for inserting
15619 chars in certain conditions by calling checkInsertChar(font).
15621 2001-10-19 Juergen Vigna <jug@sad.it>
15623 * text.C (workWidth): use getRow instead of wrong algorithm.
15624 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15626 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15631 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15633 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15635 * text.C (workWidth): do not search for the exact row when
15636 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15637 optimization for big documents.
15639 2001-10-18 Juergen Vigna <jug@sad.it>
15641 * text.C (workWidth): new function with added Inset * parameter.
15643 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15645 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15647 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15648 change return type of getColumnNearX.
15651 * text.C (changeRegionCase): use uppercase/lowercase instead of
15654 (rightMargin): simplify code by factoring out the uses of
15659 (appendParagraph): use Paragraph::size_type
15661 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15663 * vspace.C (asLatexString): add a missing break
15665 2001-10-15 Herbert Voss <voss@perce.de>
15667 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15669 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15671 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15674 2001-10-10 André Pönitz <poenitz@gmx.net>
15676 * lyxfunc.C: removed greek_kb_flag.
15678 2001-10-10 Herbert Voss <voss@perce.de>
15680 * lyx_main.C: delete global string help_lyxdir.
15682 2001-10-09 Herbert Voss <voss@perce.de>
15684 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15686 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15688 * lyx_main.C: added global string help_lyxdir.
15690 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15692 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15694 * lyxrc.C (set_font_norm_type): support iso8859-4
15696 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15698 * LaTeX.C (deplog): add another regex for MikTeX
15700 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15702 * lyxrc.C (set_font_norm_type): support iso8859-3
15704 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15706 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15708 * LaTeXFeatures.C: remove special case of french and index
15710 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15711 before \begin{document}). This solves several incompatibilities.
15713 2001-10-03 Garst Reese <reese@isn.net>
15715 * lyx_cb.C: change CheckTex error msg.
15717 2001-10-03 José Matos <jamatos@fep.up.pt>
15719 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15721 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15723 * .cvsignore: update
15725 * lyx_main.C (commandLineVersionInfo): use new style version info.
15727 * buffer.C (writeFile):
15729 (makeLinuxDocFile):
15730 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15732 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15734 * version.h: update to use stuff in version.C
15736 * version.C.in: new file. Contains version information determined
15737 at compile time. This is a merging of version.h and
15740 2001-10-03 Juergen Vigna <jug@sad.it>
15742 * BufferView_pimpl.C (update): don't change "dirty" status in
15745 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15747 * WorkArea.C (c-tor): re-position version string slightly.
15749 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15751 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15752 revert to previous code.
15754 WorkArea.[Ch]: (show, destroySplash): methods removed.
15756 WorkArea.C: rework code so that it's an amalgam of the codes before and
15757 after the splash screen was moved to WorkArea.
15759 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15762 * vspace.C (inPixels):
15765 * buffer.C (insertStringAsLines):
15766 (asciiParagraph): fix types to be large enough
15768 * lyxlex_pimpl.h: change member status from short to int
15770 * layout.h: fix type of endlabeltype
15773 * kbsequence.C (parse): change return type to string::size_type
15775 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15778 * Bullet.C (bulletSize):
15779 (bulletEntry): do not use short ints as parameters
15781 * BufferView2.C (insertLyXFile): change a char to an int.
15783 * WorkArea.C (WorkArea): remove unneeded floats in computation
15785 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15787 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15789 * paragraph.C (asString): Do not ignore newline/hfill chars when
15790 copying to the clipboard.
15792 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15794 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15795 after a multi-line inset.
15797 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15799 * paragraph.C (validate): Set NeedLyXFootnoteCode
15801 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15803 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15804 and decrease-error to decrease.
15806 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15808 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15809 it more readable (should be equivalent)
15811 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15813 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15815 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15817 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15818 of a cursor (row, etc.) after a character has been deleted
15819 (deleteEmptyParagraphMechanism): call the method above on _all_
15820 cursors held by the LyXText when a double space has been
15823 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15825 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15827 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15829 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15830 background. Use greyOut() and the new show() methods to toggle between
15831 the foreground and background. Add code to remove the splash after
15832 its initial showing.
15834 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15835 (create_forms): no longer call Dialogs::showSplash.
15837 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15839 * .cvsignore: add version_info.h
15841 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15843 * version_info.h.in: new file
15845 * Makefile.am: add version_info.h.in
15847 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15848 version_info.h instead of VERSION_INFO
15850 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15852 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15853 The ERT inset now returns string().
15855 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15857 * lyxtext.h, text.C (selectNextWord): renamed as
15858 selectNextWordToSpellcheck.
15860 * text.C (selectNextWordToSpellcheck): Modified to not select
15861 words inside an ERT inset.
15863 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15865 * lyx_cb.C (MenuLayoutSave): change a bit the question
15867 * sp_base.h: include <sys/types.h>
15869 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15871 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15873 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15875 * several files: fix typos in user-visible strings
15877 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15879 * text2.C (pasteSelection): do not set the selection, since it
15880 will be cleared later. Actually, the intent was to fix the way the
15881 selection was set, but I figured rmoving the code was just as good.
15883 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15885 * FontLoader.C (available): Check if font is available without
15888 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15890 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15892 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15894 * lyxrc.[Ch]: added display_graphics variable and associated code.
15896 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15898 * bufferparams.C (hasClassDefaults): new method. Returns true if
15899 the buffer parameters correspond to known class defaults
15901 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15903 * XFormsView.C (show): set minimum size to the main window.
15905 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15907 * text2.C (copySelection):
15909 * lyxfind.C (LyXReplace):
15910 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15911 LyXText::selectionAsString.
15913 * paragraph.C (asString): add "label" argument to the second form
15915 * text2.C (selectionAsString): add "label" argument and pass it to
15916 Paragraph::asString.
15918 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15920 * lyx_main.C (commandLineHelp): remove version information
15922 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15924 * lyx_main.C: add -version commandline option
15926 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15928 * paragraph.h: make the optional constructor arg required instead.
15929 some modifications to other files because of this.
15931 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15933 * lyxserver.C (C_LyXComm_callback): make it static
15935 * lyx_main.C (error_handler): make it static
15937 * lyx_gui.C (LyX_XErrHandler): make it static
15939 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15941 * WorkArea.C: make the extern "C" methods static.
15943 * Makefile.am (lyx_LDADD): simplify
15945 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15947 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15948 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15950 * LyXAction.C (init):
15951 * lyxfunc.C (dispatch): associated code removal.
15953 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15955 * lyxfont.h (isSymbolFont): shut off warning
15957 * text.C (setHeightOfRow):
15958 (getVisibleRow): fix crash with empty paragraphs which have a
15961 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15963 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15966 2001-09-04 José Matos <jamatos@fep.up.pt>
15969 * tabular.C (docbook): rename docBook method to docbook.
15971 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15973 * Makefile.am: add dependencies to main.o.
15975 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15977 * FontLoader.C (available): Return false if !lyxrc.use_gui
15979 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15981 * FontInfo.C (query):
15982 * converter.C (view):
15983 * importer.C (Import):
15984 * exporter.C (Export): Can not -> cannot.
15986 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15988 * BufferView_pimpl.C: allow to create index inset even if
15991 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15993 * buffer.C (getLists): replace boost::tie code with an explicit pair
15994 as boost::tie can break some compilers.
15996 * iterators.h: Added a std:: declaration to the return type of
15999 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
16001 * lyxrc.C: add help for view_dvi_paper_option, default to safe
16004 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
16006 * iterators.[Ch]: New files. Provide paragraph iterators.
16008 * buffer.C (changeLanguage): Use paragraph iterators.
16009 (isMultiLingual): ditto
16011 * BufferView2.C (ChangeInsets): Use paragraph iterators.
16013 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
16015 * FontLoader.C: Support for cmr font.
16017 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
16019 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
16020 (available): New method.
16022 * FontInfo.C (getFontname): Use scalable fonts even when
16023 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
16026 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
16028 * converter.C (Formats::view): reverted! Incorrect fix.
16030 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
16032 * converter.C (Formats::view): only output the -paper option
16033 if the dvi viewer is xdvi, thereby fixing bug #233429.
16035 2001-08-23 Herbert Voss <voss@perce>
16037 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
16039 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
16041 * Spacing.h (Spacing): Set space to Default on in the default
16044 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
16046 * vc-backend.h (RCS::versionString): add RCS to version
16047 (CVS::versionString): add CVS to version
16049 * vc-backend.C (scanMaster): do not add CVS to version.
16050 (scanMaster): do not add RCS to version
16052 * lyxvc.C (versionString): new method
16054 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
16056 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16058 * Spacing.C (set): initialize fval
16060 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
16062 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
16065 2001-08-16 Juergen Vigna <jug@sad.it>
16067 * lyxfunc.C (dispatch): implemented the new FINISHED states.
16069 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
16071 * BufferView_pimpl.C:
16074 * text2.C: setParagraph takes linespacing now
16076 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
16078 * LyxAction.C: add internal LFUN_CITATION_INSERT
16080 * LyXView.C: actually apply fix
16082 * bufferlist.C: fix open non-existent file
16084 * lyxfind.C: fix indentation
16086 * lyxfunc.C: remove unneeded assert, fix typo
16088 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
16090 * MenuBackend.C: use "Floatname List"
16092 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
16094 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16095 when converting LaTeX layout to insetERT.
16096 Generate a non-collapsed float when reading old float
16098 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
16100 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16103 2001-08-13 Juergen Vigna <jug@sad.it>
16105 * text.C (fill): return 0 instead of 20 as this seems to be the more
16108 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
16110 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16113 2001-08-13 Juergen Vigna <jug@sad.it>
16115 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16117 (SearchBackward): comment out the unlocking of the inset_owner this
16118 should not be needed!
16120 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
16122 * Many files: Remove inherit_language, and add latex_language
16124 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16125 collapsible insets.
16127 2001-08-10 Juergen Vigna <jug@sad.it>
16129 * text.C (prepareToPrint): fixed hfill-width in draw!
16131 * BufferView2.C (selectLastWord): save the selection cursor as this
16132 now is cleared in the function LyXText::clearSelection!
16134 2001-08-08 Juergen Vigna <jug@sad.it>
16136 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16137 BACKSPACE type functions.
16139 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16140 is only cutted from the document but not put in the cut-buffer, where
16141 still the old stuff should be.
16143 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16145 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16147 * tabular.C (SetWidthOfCell): fixed special case where the width
16149 (LeftLine): handle '|' in align_special.
16151 (LeftAlreadyDrawed): ditto
16152 (SetWidthOfCell): ditto
16154 2001-08-07 Juergen Vigna <jug@sad.it>
16156 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16158 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16160 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16161 * lyxlex.[hC]: ditto
16163 2001-08-06 Juergen Vigna <jug@sad.it>
16165 * text.C (getVisibleRow): fix up row clearing a bit.
16167 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16169 * minibuffer.C: make sure the X server sees the changes in the input.
16171 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16173 * paragraph.C (getFont): split into...
16174 (getLabelFont): this
16175 (getLayoutFont): and this
16176 * paragraph_pimpl.C (realizeFont): calling this
16178 * text2.C (getFont): split into...
16179 (getLayoutFont): this
16180 (getLabelFont): and this
16181 (realizeFont): all three calling this
16183 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16186 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16188 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16190 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
16192 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16193 layouts from the Quote inset insertion.
16195 2001-08-03 Juergen Vigna <jug@sad.it>
16197 * BufferView_pimpl.C (update): do the fitCursor only at the end!
16199 * screen.C (drawFromTo): don't call fitcursor here and do the loop
16200 only if status not is already CHANGED_IN_DRAW (second level).
16202 * text.C (draw): don't set the need_break_row when inside an
16205 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
16207 * buffer.C (parseSingleLyXformat2Token): handle more latex
16210 * bufferview_funcs.[hC]: change function names to
16211 begin with small char, adjust other files.
16213 2001-08-02 André Pönitz <poenitz@gmx.net>
16216 BufferView_pimpl.C: remove broken special code for math-greek
16218 2001-08-02 Juergen Vigna <jug@sad.it>
16220 * BufferView_pimpl.C (update): redone this function so that we
16221 update the text again if there was a CHANGE_IN_DRAW.
16223 * screen.C (cursorToggle): removed LyXText parameter and recoded.
16224 (drawFromTo): added a new internal bool which is used by draw() and
16226 (general): some cursor drawing problems fixed.
16228 2001-08-01 Juergen Vigna <jug@sad.it>
16230 * lyxfind.C (LyXFind): fixed
16231 (SearchForward): ditto
16232 (SearchBackward): ditto
16234 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16235 spurius drawing of the cursor in the main area.
16237 * text2.C (status): small fix which could lead to a segfault!
16238 (clearSelection): remove unneeded BufferView param.
16240 2001-08-01 André Pönitz <poenitz@gmx.net>
16242 * lyxfunc.C: small change due to changed mathed interface
16244 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16246 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16248 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
16250 * lyxfunc.c: fail gracefully if file doesn't exist
16255 * BufferView_pimpl.C: IsDirWriteable() proto changed
16257 * LyXView.C: fix updateWindowTitle() to store the last title
16259 2001-07-31 Juergen Vigna <jug@sad.it>
16261 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16262 the font (wrong since using of Paragraph::highestFontInRange).
16264 * paragraph.C (highestFontInRange): added a default_size parameter.
16266 * text.C (getVisibleRow): minor clear row changes (still not perfect).
16267 (setHeightOfRow): reformat
16269 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16271 * converter.[hC] + affected files: move to (inital-char)lowercase
16274 * ParagraphParameters.C (ParagraphParameters): remove commented code
16276 * PainterBase.[Ch]: remove commented code
16278 * LaTeXFeatures.h: add "bool floats" for float.sty
16280 * LaTeXFeatures.C (LaTeXFeatures): init floats
16281 (require): handle float
16282 (getPackages): do it with floats
16284 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16286 * BufferView_pimpl.C (Dispatch): improve handling of
16287 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16289 * commandtags.h: #include lyxfont.h here temporarily to avoid
16292 * bufferlist.h: include LString.h here.
16294 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16296 * text2.C (getStringToIndex): new method.
16298 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16300 * *: Reduced header file dependencies all over.
16302 2001-07-30 Baruch Even <baruch@lyx.org>
16304 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16306 2001-07-29 Baruch Even <baruch@lyx.org>
16308 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16310 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16312 * ParameterStruct.h (endif): add a default constructor to make
16313 sure that all variables is initialized.
16315 * ParagraphParameters.C (ParagraphParameters): adjust
16317 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16319 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16320 index; also, check that there is something to index, and that it
16321 does not span over several paragraphs.
16322 (doubleClick): use WHOLE_WORD_STRICT for double click.
16324 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16326 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16329 2001-07-26 Baruch Even <baruch@lyx.org>
16331 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16332 an InsetFig figure, backwards compatible reading of old figure code.
16334 2001-07-27 Juergen Vigna <jug@sad.it>
16336 * text2.C: font.realize function adaption.
16338 * text.C (draw): add a warnings lyxerr text if needed.
16340 * layout.C: font.realize function adaption.
16342 * language.C: add inherit_language and implement it's handlings
16344 * bufferview_funcs.C (StyleReset): remove language parameter from
16345 font creation (should be language_inherit now).
16347 * bufferparams.C (writeFile): handle ignore_language.
16349 * paragraph.C (getFontSettings): the language has to be resolved
16350 otherwise we have problems in LyXFont!
16352 * lyxfont.C (lyxWriteChanges): added document_language parameter
16353 (update): removed unneeded language parameter
16355 * paragraph.C (validate): fixed wrong output of color-package when
16356 using interface colors for certain fonts in certain environments,
16357 which should not seen as that on the final output.
16359 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16361 * BufferView_pimpl.C:
16366 * LyXAction.C: add thesaurus support
16369 * lyxfind.C: add "once" parameter, for thesaurus, to not
16370 move to the next match
16372 2001-07-26 Juergen Vigna <jug@sad.it>
16374 * lyxfont.C (realize): honor ignore_language too!
16377 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16379 * text.C (draw): one place more for ignore_language to not draw
16382 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16384 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16386 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16388 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16389 the minipage conversion problem.
16391 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16393 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16396 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16398 * BufferView.h: don't forward declare WorkArea
16400 * BufferView.C: don't include WorkArea.h
16402 2001-07-25 André Pönitz <poenitz@gmx.net>
16406 * lyxfunc.C: new LFUN 'math-space'
16408 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16410 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16412 * text2.C (toggleInset): call open/close
16414 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16416 * lyxfunc.C (dispatch): add debug for the disabled case
16418 * font.C (buttonText): make similar to rectText
16420 * buffer.C (readInset): comment out parsing of insetlist and
16423 * PainterBase.C (rectText): small correction
16425 * BufferView_pimpl.C: comment out insettheorem and insetlist
16426 * LyXAction.C: ditto
16427 * commandtags.h: ditto
16429 2001-07-24 Juergen Vigna <jug@sad.it>
16431 * text.C (draw): honor the ignore_language.
16433 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16435 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16437 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16440 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16442 * lyxtext.h: remove unused (and unimplemented) methods
16444 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16446 * text.C (getVisibleRow): honor background color
16449 * Painter.h: remove default color argument for fillRectangle
16451 * text.C (backgroundColor): new method
16453 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16455 * text.C (getVisibleRow): adjust
16457 * font.[Ch] (rectText): new method, metrics
16458 (buttonText): new method, metrics
16460 * PainterBase.[hC]: make rectText and buttonText always draw and take
16463 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16465 * ToolbarDefaults.C (read):
16466 * MenuBackend.C (read): allow escaping in all strings
16468 * BufferView_pimpl.C (insertAndEditInset): new method.
16469 (Dispatch): use insertAndEditInset whenever appropriate.
16471 * BufferView_pimpl.C (insertNote): removed
16473 * BufferView_pimpl.C (smartQuote): new method, moved from
16474 BufferView; if an insetquote cannot be inserted, insert a '"'
16477 * BufferView2.C: remove insertCorrectQuote();
16479 * lyxfunc.C (getStatus): Add support for all remaingin
16480 inset-insert lfuns.
16482 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16484 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16485 command (necessary to pass " as parameter of self-insert.
16487 * text.C (selectWordWhenUnderCursor):
16488 (selectWord): add word_location parameter
16489 (selectWordWhenUnderCursor): same + remove special code for word
16491 (selectNextWord): use kind() to guess type of insetspecialchar,
16494 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16495 (insertErtContents): create ert insets as collapsed.
16496 (readInset): better compatibility code for Info inset.
16498 2001-07-20 Juergen Vigna <jug@sad.it>
16500 * lyxfunc.C (dispatch): use always LyXFind now!
16502 * text2.C (init): add a reinit flag so that the LyXText can be
16503 reinited instead of deleted and reallocated (used in InsetText).
16505 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16511 2001-07-18 Juergen Vigna <jug@sad.it>
16513 * text.C (selectNextWord): handle insets inside inset by calling
16514 always the bv->text functions so that we can go up the_locking_inset!
16516 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16517 in strange locations when inside an inset!
16519 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16520 handling to include insets.
16522 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16524 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16526 * LyXAction.C (init):
16528 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16529 LIGATURE_BREAK, since the name is so stupid.
16531 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16533 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16536 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16538 * sp_form.[Ch]: remove.
16540 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16542 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16545 * src/buffer.C (readInset): ditto.
16547 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16549 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16550 menuSeparator(), endOfSentenceDot(), ldots() and
16551 hyphenationPoint(), which are therefore removed.
16552 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16554 * LyXAction.C (init):
16555 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16557 * paragraph.C (getWord): removed.
16559 * BufferView_pimpl.C (Dispatch): use last word or selection for
16560 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16562 * lyx_main.C (queryUserLyXDir): do not ask before creating
16563 user_dir, except if it has been named explicitely.
16565 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16567 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16568 a document of zero size.
16570 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16572 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16573 approriately in the c-tor and in require().
16574 (getPackages): output the appropriate LaTeX for natbib support.
16576 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16577 variables "use_natbib" and "use_numerical_citations" when reading the
16579 (readInset): read the various natbib cite commands.
16580 (validate): white-space change.
16582 * bufferparams.[Ch]: new variables "bool use_natbib" and
16583 "bool use_numerical_citations".
16584 (writeFile): output them in the LyX file.
16586 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16588 * lyxfunc.C (getStatus): add support for all the inset insertion
16591 * text2.C (insertInset):
16592 * paragraph.C (insetAllowed):
16593 * BufferView_pimpl.C (insertInset): update to take in account the
16594 renaming of insertInsetAllowed
16596 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16598 * text2.C (getInset): new method. returns inset at cursor position.
16600 * BufferView_pimpl.C (Dispatch): changes because of this.
16602 * LyXAction.C (init): rename open-stuff to inset-toggle.
16604 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16606 * text2.C (toggleInset): renamed from openStuff; use
16609 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16611 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16613 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16615 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16617 * buffer.C (readLyXformat2): Add filename to the error dialog
16619 2001-07-18 Juergen Vigna <jug@sad.it>
16621 * tabular.C (GetCellNumber): put an assert here instead of the check!
16623 2001-07-17 Juergen Vigna <jug@sad.it>
16625 * BufferView_pimpl.C (toggleSelection): adapted too.
16627 * text.C (selectNextWord): adapted for use with insets.
16628 (selectSelectedWord): ditto
16630 2001-07-17 Juergen Vigna <jug@sad.it>
16632 * sp_spell.C (PSpell): fix initialitation order.
16634 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16636 * paragraph.C: spacing
16638 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16640 * sp_spell.C: repair language selection for pspell
16642 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16644 * lyxfunc.h: change more methods to begin with lower char.
16646 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16648 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16649 for unknown layouts.
16651 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16653 * buffer.C (readLyXformat2): Generate an error dialog if there are
16656 2001-07-16 Juergen Vigna <jug@sad.it>
16658 * sp_spell.C: always compile ISpell part.
16660 * lyxrc.C: added use_pspell entry and it's handling.
16662 2001-07-13 Juergen Vigna <jug@sad.it>
16664 * sp_spell.C: removed double includes.
16666 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16668 Consistent use of Lsstream.h:
16669 * Lsstream.h: added using std::stringstream for consistencies sake.
16671 * buffer.C: removed using std::stringstream
16673 * lyxfont.C (stateText):
16674 * paragraph.C (asString):
16675 * text.C (selectNextWord, selectSelectedWord):
16676 * text2.C (setCounter):
16677 * vspace.C (asString, asLatexString):
16678 std::ostringstream -> ostringstream.
16680 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16682 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16683 * commandtags.h: add LFUN_HELP_ABOUTLYX
16684 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16686 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16688 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16690 * lyx_gui_misc.C: remove spellchecker
16691 * lyxfunc.C: showSpellchecker
16693 * sp_ispell.h: added
16694 * sp_pspell.h: added
16695 * sp_spell.C: added
16696 * sp_form.[Ch]: removed
16697 * spellchecker.[Ch]: removed
16699 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16701 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16703 (simpleTeXSpecialChars): Simply print the input character without
16704 any special translation if pass_thru is set.
16706 * layout.h: Added bool pass_thru to layout class for being able to
16707 implement pass through of a paragraph for Literate Programming.
16709 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16710 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16711 * layout.C (Read): add "passthru" to list of layout tags and add
16712 code to set the pass_thru boolean when it is read.
16714 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16716 * trans_decl.h: remove allowed from KmodInfo
16718 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16719 remove allowed code
16722 * paragraph_pimpl.C (erase): use boost::prior
16724 * Painter.C (text): use data() instead of c_str() when length is
16726 * WorkArea.C (putClipboard): ditto
16727 * font.h (width): ditto
16729 * BufferView2.C: use it-> instead of (*it). for iterators
16731 * paragraph_pimpl.C: ditto
16732 * paragraph.C: ditto
16733 * minibuffer.C: ditto
16734 * language.C: ditto
16736 * encoding.C: ditto
16737 * counters.C: ditto
16738 * converter.C: ditto
16740 * Variables.C: ditto
16741 * TextCache.C: ditto
16742 * MenuBackend.C: ditto
16743 * LyXAction.C: ditto
16745 * FloatList.C: ditto
16746 * DepTable.C: ditto
16747 * ColorHandler.C (LyXColorHandler): ditto
16749 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16751 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16753 * text2.C (openStuff): reintroduce this method (which had been
16754 nuked in NEW_INSETS frenzy).
16756 * lyxfunc.C (Dispatch): when an action has not been handled, use
16757 its name in the error message, not its number.
16759 * paragraph.C (inInset): change method name to begin with lowercase.
16762 * text2.C: updates because of this.
16764 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16766 * ToolbarDefaults.C (add): add spaces in error message
16768 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16770 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16771 (readLyXformat2): rename return_par to first_par, use lyxlex's
16772 pushToken and remove the manual push handling.
16773 (parseSingleLyXformat2Token): add another ert comp. variable:
16774 in_tabular, rename return_par to first_par. handle newlines better
16776 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16778 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16780 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16782 * text2.C (getParFromID): removed
16784 * buffer.C (getParFromID): new method moved form lyxtext.
16785 * BufferView2.C (insertErrors): adjust
16786 (setCursorFromRow): adjust
16787 * BufferView_pimpl.C (restorePosition): adjust
16788 * lyxfunc.C (Dispatch): adjust
16789 * undo_funcs.C (textUndo): adjust
16791 (textHandleUndo): adjust
16792 (textHandleUndo): adjust
16794 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16796 * buffer.C: up' the LYX_FORMAT
16798 * lyxfont.h: turn NO_LATEX on as default
16800 * buffer.C (insertErtContents): new methods of tex style compability.
16801 (parseSingleLyXformat2Token): use it several places.
16802 * tabular.C (OldFormatRead): and here
16804 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16806 * text2.C: remove some commented code.
16809 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16810 * trans.C: changes because of the above.
16812 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16814 * text2.C (setCounter): Fix counters bug with bibliography layout.
16816 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16818 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16819 own member functions
16820 (simpleTeXSpecialChars): ditto
16822 2001-07-06 Juergen Vigna <jug@sad.it>
16824 * a lot of files: changed the access to LyXText::status and the
16825 call of undo-functions.
16827 * undo.[Ch]: added a inset_id to the undo informations.
16829 * undo_funcs.[Ch]: added and moved here all undo functions.
16831 * lyxtext.h: give the status enum a weight, made status_ a private
16832 variable and made accessor functions for it, removed the whole bunch
16833 of undo-functions as they are now in their own file, make some
16834 functions publically available. Added function ownerParagraph with
16837 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16838 made InInset() a const function, added getParFromID() function.
16840 * buffer.[Ch]: added const version for inset_iterator functions,
16841 added getInsetFromID() function.
16843 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16844 changed undo functions for new version.
16846 2001-07-05 Juergen Vigna <jug@sad.it>
16848 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16849 unknow mechanism does not call the proper constructor but only this
16850 one also if I request the other!?
16852 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16854 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16856 * text2.C (LyXText): use initialization lists.
16858 * lyxtext.h (Selection): initialize set_ and mark_
16859 (init): remove method
16861 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16863 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16865 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16867 * screen.[Ch]: change method names to begin with lowercase
16869 * BufferView_pimpl.C (updateScrollbar): simplify further and
16870 hopefully make it a bit faster.
16872 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16874 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16875 calling directly xforms functions.
16877 * Painter.C (Painter):
16878 * lyx_cb.C (MenuWrite):
16879 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16882 * lyx_gui.C: remove bogus guiruntime extern declaration.
16884 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16886 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16888 (redoDrawingOfParagraph): ditto
16889 (redoParagraphs): ditto
16890 (cutSelection): don't create a object for CutAndPaste use the
16891 static method directly
16892 (pasteSelection): ditto
16894 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16897 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16899 * modifications to some other files because of this.
16901 * Makefile.am (lyx_SOURCES): add XFormsView
16903 * XFormsView.[Ch]: new files
16905 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16906 the main window. Move the gui dependent stuff to XFormsView
16908 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16910 * tabular.C (GetCellInset): update cur_cell also in the row/col
16911 version of this function.
16913 * lyxfunc.C: no need to include figure_form.h here.
16919 * lyxvc.C: no need to include forms.h here.
16921 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16923 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16925 * lyxfunc.C (Dispatch):
16927 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16928 constructor argument.
16930 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16932 * paragraph.C (Paragraph): dont't clear, and just set layout.
16933 (makeSameLayout): use params's copy contructor.
16935 * ParagraphParameters.[Ch] (makeSame): delete method
16937 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16939 * Variables.[Ch]: fix indentation, rename set to isSet
16941 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16943 * lyxfunc.C (Dispatch): fix typo
16945 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16947 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16950 * bufferlist.C: include assert.h for emergencyWrite().
16952 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16954 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16955 give up at last (bug #425202) !
16957 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16963 * spellchecker.C: strip spellchecker options and bring up
16964 preferences tab instead
16966 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16968 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16969 the istringstream constructor
16971 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16973 * paragraph.C (getLayout): fix return value
16975 * paragraph.h: do not declare getLayout as inline.
16977 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16979 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16981 * lyxcursor.h (operator<): new func
16982 (operator>): new func
16983 (operator>=): new func
16984 (operator<=): new func
16986 * text.C (changeCase): use selection.start and selection.end
16987 (changeRegionCase): require from to be <= to. Require par to be a
16990 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16992 2001-06-27 Juergen Vigna <jug@sad.it>
16994 * text.C (cursorLeftOneWord): changed to return the cursor and added
16995 overlay with BufferView * parameter which calls this one.
16997 (selectWord): use new getWord function.
16998 (changeCase): renamed from changeWordCase as and extended to work
16999 also on selections.
17001 * lyxtext.h: added enum word_location
17003 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
17004 changeCase as this operates now also on selections.
17006 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
17008 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
17010 * many files: send debug output to Debug::INFO instead of
17013 * converter.C (View):
17015 (Move): send debug output to Debug::FILES instead of console.
17017 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
17019 * lyxfunc.C (getStatus): use func_status
17021 * func_status.h: new header, describing the results of
17022 LyXFunc::getStatus;
17024 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
17027 2001-06-25 The LyX Project <jug@sad.it>
17029 * buffer.C (sgmlOpenTag):
17031 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
17033 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17035 * text2.C: remove some dead code
17037 * tabular.C (GetCellInset): store the last cell checked (gotten)
17039 * tabular.h: add the helper for the speedup
17041 * lyxtext.h: remove some dead code
17043 2001-06-26 The LyX Project <Asger>
17045 * paragraph.C: Change export to LaTeX of alignment to
17046 \begin{center} and family for better roundtrip work with reLyX.
17048 * Tune the math drawing a bit.
17050 2001-06-25 The LyX Project <Asger>
17052 * LColor.C (LColor): New color for math background. New color
17055 2001-06-25 The LyX Project <jug@sad.it>
17057 * lyxfunc.C (MenuNew): remove extra check for .lyx file
17059 * lyxfunc.C (Open):
17060 * bufferlist.C (newFile): do not restrict to files ending with
17063 * BufferView_pimpl.C (MenuInsertLyXFile):
17065 2001-06-24 The LyX Project <jug@sad.it>
17067 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
17070 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17072 * lyxtext.h: rename most methods to begin with a small char.
17073 Lots of changes because of this.
17075 * paragraph.C (Paragraph): do not call fitToSize
17076 (erase): call Pimpl::erase
17077 (insertChar): call Pimpl::insertChar
17078 (insertInset): call Pipl::insertInset
17079 (breakParagraph): do not call fitToSize
17080 (breakParagraphConservative): do not call fitToSize
17081 (fitToSize): remove method
17083 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17085 2001-06-24 The LyX Project <Asger>
17087 * Fix Qt compilation^2
17089 2001-06-24 The LyX Project <jug@sad.it>
17091 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17092 depthHook(getDepth()-1).
17095 * ParagraphParameters.h:
17096 * ParameterStruct.h: change type of depth to unsigned int ==
17097 depth_type. Many adaptations to other files before of that.
17099 2001-06-24 The LyX Project <Asger>
17101 * Fix Qt compilation.
17103 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17105 * paragraph.h: renamed several methods to begin with small letter.
17106 several changes to many parts of the code because of this.
17108 2001-06-23 The LyX Project <jug@sad.it>
17110 * text2.C (InsertStringAsLines): renamed from InsertStringA;
17111 rewritten to discard all double spaces when KeepEmpty is off
17112 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17113 to only handle newlines but not fiddle with spaces and friends.
17115 * lyxfunc.C (MenuNew): when doing 'new from template', use
17116 template_path as default directory
17118 2001-06-23 The LyX Project <Asger>
17120 * Clean-up of header file includes all over
17121 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17123 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17125 * paragraph.h: renamed from lyxparagraph.h
17127 2001-06-23 Asger <lyx@violet.home.sad.it>
17129 * Buffer.h: Removed Buffer::resize
17130 * BufferList.h: Removed BufferList::resize
17131 * LyXView.h: Added LyXView::resize. This way, we will only reflow
17132 the document lazily when we change the width, or the font settings.
17134 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17136 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17138 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17140 * buffer.h: remove out of date comment
17142 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17145 * screen.C: fix "theoretical" GC leak
17147 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17149 * LaTeX.C (scanAuxFile):
17150 (deplog): remove trailing \r when reading stream (useful under
17153 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
17155 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17156 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17157 and BufferView::theLockingInset(Inset*), so should use them and not
17158 access bv_->text->the_locking_inset directly.
17160 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17162 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17165 * tex-defs.h: remove old unused file
17167 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
17169 * BufferView_pimpl.C: fix typo, remove minibuffer message
17170 when buffer has loaded
17172 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
17174 * lyxfunc.C (Dispatch): use stringstream
17175 (MenuNew): use stringstream
17176 (Open): use stringstream
17178 * importer.C (Import): use stringstream
17180 * bufferview_funcs.C (CurrentState): use stringstream
17182 * LaTeX.C (run): use stringstream
17184 * BufferView_pimpl.C (savePosition): use stringstream
17185 (restorePosition): use stringstream
17186 (MenuInsertLyXFile): use stringstream
17188 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
17201 * vspace.C: removed // -*- C++ -*- as first line.
17204 * version.h: added // -*- C++ -*- as first line.
17206 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17208 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17210 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17213 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
17215 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17218 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17220 * gettext.C: include LString.h even when --disable-nls is on.
17222 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
17224 * converter.h (Get): changed argument type from int to
17225 FormatList::size_type to avoid unnecessary conversion.
17227 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17230 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17232 * gettext.h: include LString.h even when --disable-nls is on.
17234 2001-06-07 Juergen Vigna <jug@sad.it>
17236 * text.C (BreakAgain): subst spaces with tabs.
17238 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17239 (resizeInsetsLyXText): set force on resizeLyXText.
17241 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17243 * gettext.h (gettext_init):
17244 (locale_init): use a real definition instead of a macro
17246 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17248 * Bufferview_pimpl.C:
17250 * LColor.C: further lcolor tidies
17252 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
17254 * BufferView_pimpl.C (updateScrollbar): simplify.
17256 * BufferView2.C: don't include insets/insetinfo.h, change
17257 prototype for insertInset and call the Pimpl version. let
17258 updateInset call Pimpl version.
17260 * BufferView.h: move inset_slept to BufferView::Pimpl, move
17261 gotoInset to BufferView::Pimpl
17263 2001-06-01 Juergen Vigna <jug@sad.it>
17265 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17266 inside a LockingInset (is the update needed at all?).
17268 2001-05-31 Juergen Vigna <jug@sad.it>
17270 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17271 here not the old one otherwise how should we compare it afterwards
17274 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17279 * FontInfo.C: bring C functions into global namespace when
17282 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17284 * LString.h: make sure config.h has been loaded before LString.h.
17286 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17287 (one for each char read by EatLine!).
17289 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17292 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17294 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17295 to the same as the par we break from
17297 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17299 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17301 * MenuBackend.C (expand): also create menu entries for wide
17302 versions of the floats.
17304 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17306 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17308 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17309 frontends/Makefile.am
17315 * tabular.C (getTokenValue): add std::
17317 * tabular-old.C (getTokenValue): add std::
17318 (getTokenValue): ditto
17319 (getTokenValue): ditto
17321 * screen.C (ToggleSelection): adjust
17323 * lyxtext.h: put selection cursors inside a Selection struct.
17325 * lyxfunc.C (moveCursorUpdate): adjust
17327 * lyxfont.C (latexWriteStartChanges): add std::
17329 * lyxfind.C: adjust
17331 * font.h: delete with(char const *, LyXFont const &)
17333 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17335 * FontInfo.C (getFontname): add std::
17337 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17338 (workAreaButtonPress): adjust
17339 (tripleClick): adjust
17341 (moveCursorUpdate): adjust
17344 * BufferView2.C (gotoInset): adjust
17346 2001-05-30 Juergen Vigna <jug@sad.it>
17348 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17349 to check pspell I add this as default as I now have new pspell
17350 libraries and they seem to use this.
17352 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17354 * text2.C (CutSelection): make the cursor valid before the call to
17357 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17359 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17360 relied on 0 terminated strings and other horrors. Bug found due to
17361 the new assert in lyxstring!
17363 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17366 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17368 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17371 * lyxfunc.C (processKeySym): change method of getting to the
17374 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17375 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17376 * BufferView_pimpl.[Ch]: here as private methods.
17378 2001-05-28 Juergen Vigna <jug@sad.it>
17380 * text.C (SetHeightOfRow): added the update() call again as it is
17381 needed to initialize inset dimensions!
17383 2001-05-16 Juergen Vigna <jug@sad.it>
17385 * text2.C (SetCharFont): Add new function with BufferView * and
17386 bool toggleall parameters for setting insets internal fonts.
17387 (SetFont): Freeze the undo as we may change fonts in Insets and
17388 all this change should be inside only one Undo!
17390 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17391 setting font's in insets as for them we have the SetFont function!
17393 2001-05-15 Juergen Vigna <jug@sad.it>
17395 * text2.C (ClearSelection): to be sure we REALLY don't have any
17398 * tabular.C (TeXCellPreamble): fixed the left border problem for
17401 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17403 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17406 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17408 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17409 LFUN_BREAKPARAGRAPH.
17411 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17412 help test to "internal only", similar for LFUN_INSERT_URL
17414 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17415 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17416 auto_region_delete and deadkeys.
17418 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17421 * LColor.C: remove some dead entries, tidy a little
17423 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17425 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17427 (Dispatch): implement LFUN_ESCAPE
17429 * commandtags.h: add LFUN_ESCAPE
17431 * LyXAction.C (init): add entry for LFUN_ESCAPE
17433 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17434 Remove commented code.
17435 (insertNote): moved here
17436 (open_new_inset): moved here
17438 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17441 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17443 * kbmap.C (findbinding): clean it up and make it work correctly.
17445 * lyx_main.C (init): do not pass argc and argv as parameters
17447 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17449 * buffer.C: fix path for OS/2 & Win32
17453 * lyx_main.C: Added os:: class.
17455 * os2_defines.h: update
17457 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17459 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17460 better by trying again with reduced state.
17462 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17464 * lyxrc.C (read): print error about invalid key sequence only when
17465 debugging (because not all latinX keysyms are known to some X
17468 * kbsequence.C (getiso): add a few std:: qualifiers
17469 (getiso): comment out extra return statement.
17471 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17473 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17475 (Dispatch): enhance the accent inset a bit. (not perfect)
17477 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17479 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17481 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17483 * bufferlist.C (emergencyWrite): fix assert() call
17485 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17487 * text.C (InsertChar): Added trivial patch to only send the "you
17488 can not do multiple spaces this way" message once during a
17491 2001-05-08 Baruch Even <baruch@lyx.org>
17493 * Makefile.am: Changed order of libraries to get LyX to link properly
17494 with the gnome frontend.
17496 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17498 * LaTeXFeatures.h: add a std:: qualifier
17500 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17502 * paragraph.C (String): use stringstream
17504 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17506 * paragraph.C (writeFile): remove footflag arg
17508 * buffer.C (makeLaTeXFile): use stringstream
17509 (latexParagraphs): remove footnot gurba
17511 * LaTeXFeatures.C (getPackages): use stringstream
17512 (getMacros): likewise
17513 (getTClassPreamble): likewise
17514 (getFloatDefinitions): new method
17516 * paragraph.C (writeFile): reindent
17519 * WorkArea.h: revert the xpos + etc changes.
17521 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17523 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17525 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17526 (pasteSelection): likewise
17527 * text2.C (CreateUndo): likewise
17529 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17531 * minibuffer.C (peek_event): temporarily reduce the functionality
17532 of the minibuffer (to allow args on lfuns)
17534 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17535 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17537 * buffer.C (readInset): add compability reading of old float
17538 lists, add reading of new style float list.
17539 (readInset): avoid reevaluation of inscmd.getCmdName()
17540 (getLists): reindent
17542 * MenuBackend.C (MenuItem): implement parsing of
17543 md_floatlistinsert and md_floatinsert.
17544 (expand::LastFiles): move initalizaton of iterators out of loop,
17545 avoid reevaluation.
17546 (expand::Documents): introduce typdedef vector<string> Strings,
17548 (expand::ExportFormats): introduce typedef vector<Format const *>
17549 Formats, and use it.
17550 (expand): implement FloatListInsert and FloatInsert.
17552 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17553 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17554 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17556 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17558 (Dispatch::LFUN_FLOAT_LIST): implement
17560 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17562 * LaTeX.C (run): Fix problem with --export code.
17564 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17566 * BufferView.[Ch] (workarea): removed.
17567 (getClipboard) new method; wrapper for workarea()->getClipboard()
17569 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17572 * WorkArea.h (width, height, xpos, ypos): These methods all
17573 returned the dimensions of the work_area sub-area of WorkArea,
17574 resulting in a position error if the WorkArea were resized. Now
17575 return the dimensions of the entire WorkArea.
17577 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17579 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17581 * LaTeX.C (deplog): correct the syntax of regex reg1
17583 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17585 * undo.C: remove !NEW_INSETS cruft
17587 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17589 * text2.C: remove !NEW_INSETS cruft
17591 * text.C: remove !NEW_INSETS cruft
17593 * tabular.C: remove !NEW_INSETS cruft
17595 * spellchecker.C: remove !NEW_INSETS cruft
17597 * lyxtext.h: remove !NEW_INSETS cruft
17599 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17601 * lyxfunc.C: remove !NEW_INSETS cruft
17603 * lyxfind.C: remove !NEW_INSETS cruft
17605 * lyx_cb.C: remove !NEW_INSETS cruft
17607 * figureForm.C: remove !NEW_INSETS cruft
17609 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17611 * buffer.[Ch]: remove !NEW_INSETS cruft
17613 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17615 * CutAndPaste.C: remove !NEW_INSETS cruft
17617 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17619 * BufferView2.C: remove !NEW_INSETS cruft
17621 * BufferView.h: remove !NEW_INSETS cruft
17623 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17625 * Lsstream.h: include LString.h before the sstream headers to
17626 fix problem with gcc 2.95.3 and lyxstring
17628 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17630 * lyx_main.C: add using directives when needed for C functions
17631 declared in std:: namespace.
17633 2001-04-27 Juergen Vigna <jug@sad.it>
17635 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17636 (SetHeightOfRow): comment out the update call should not be needed!
17638 2001-04-13 Juergen Vigna <jug@sad.it>
17640 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17641 (LyXTabular): tried to minimize operator= operations (and realized
17642 hopfully Lars wish).
17644 2001-04-27 Juergen Vigna <jug@sad.it>
17646 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17648 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17650 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17652 * buffer.C (readInset): hack to make listof algorithm work
17654 * BufferView_pimpl.C: hack to make listof algorithm work
17656 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17658 * LyXAction.C: removed all !NEW_INSETS cruft
17659 (init): moved lfun_item in method
17661 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17663 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17665 * BufferView2.C (theLockingInset): white space.
17667 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17669 * minibuffer.C: include <iostream>
17671 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17673 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17675 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17677 * text.[Ch] (TransposeChars): new method
17679 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17681 * call message directly through LyXView instead of through LyXFunc
17682 * BufferView2.C: adjust
17683 * BufferView_pimpl.C: adjust
17684 * FontLoader.C: adjust
17686 * bufferview_funcs.C: adjust
17687 * converter.C: adjust
17688 * figureForm.C: adjust
17689 * importer.C: adjust
17691 * lyx_gui_misc.C: adjust
17692 * lyxfunc.C: adjust
17695 + more files in subdirs
17697 * lyxparagraph.h (size): move up int file
17700 * adjust all uses of Assert to lyx::Assert.
17702 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17703 lyxfunctional in namespace lyx
17704 * layout.C (hasLayout): ditto
17707 (delete_layout): ditto
17708 (NumberOfClass): ditto
17709 * converter.C (GetFormat): ditto
17714 * bufferlist.C (getFileNames): ditto
17715 (emergencyWriteAll): ditto
17718 * MenuBackend.C (hasSubmenu): ditto
17721 * BufferView_pimpl.C (getInsetByCode): ditto
17723 2001-04-18 Juergen Vigna <jug@sad.it>
17725 * vspace.C (asLatexString): fixed the 100% problem.
17727 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17729 * lyxfunc.C (Dispatch):
17731 * minibuffer.h: add a few std:: qualifiers
17733 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17735 * minibuffer.[Ch]: reimplement so that commands is initiated and
17736 run from lyxfunc, simplified som handling, and made the completion
17737 and history code for complete. wip.
17739 * lyxfunc.C (processKeySym): call message
17740 (miniDispatch): new temporary method
17741 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17742 (LFUN_MESSAGE): implement
17743 (LFUN_MESSAGE_PUSH): implement
17744 (LFUN_MESSAGE_POP): implement
17745 (initMiniBuffer): the initial/defualt minibuffer message.
17747 * lyxfont.[Ch]: inline some more getters
17749 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17751 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17753 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17754 (AutoSave): use LFUN_MESSAGE
17755 (Reconfigure): ditto
17757 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17759 * figureForm.C: use LFUN_MESSAGE
17761 * converter.C (runLaTeX): use LFUN_MESSAGE
17763 * bufferview_funcs.C: use LFUN_MESSAGE
17765 (changeDepth): ditto
17767 * bufferparams.h: use boost::
17769 * bufferlist.h: inherit privately from noncopyable
17771 * bufferlist.C (loadLyXFile): remove some commented code.
17773 * buffer.C (runChktex): use LFUN_MESSAGE
17775 * ShareContainer.h: inherit privately from noncopyable
17777 * ParagraphParameters.[hC] (depth): inline it.
17779 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17781 (message): new method
17782 (messagePush): ditto
17783 (messagePop): ditto
17784 (show): init minibuffer
17785 (showState): direct call
17787 * LaTeX.[Ch]: inherit privately from noncopyable
17788 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17789 instead of WriteStatus.
17791 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17793 * BufferView_pimpl.C (buffer): don't init minibuffer
17794 (workAreaButtonPress): use LFUN_MESSAGE
17795 (workAreaButtonRelease): ditto
17796 (savePosition): ditto
17797 (restorePosition): ditto
17798 (MenuInsertLyXFile): ditto
17799 (workAreaExpose): don't init minibuffer
17800 (update): remove commented code, simplify
17802 * BufferView2.C (openStuff): use LFUN_MESSAGE
17803 (toggleFloat): ditto
17806 (copyEnvironment): ditto
17807 (pasteEnvironment): ditto
17812 (updateInset): remove some commented code
17814 * lastfiles.h: inherit privately from noncopyable
17817 * lyx_main.h: ditto
17819 * lyxlex_pimpl.h: ditto
17821 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17822 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17823 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17825 * LyXAction.h: inherit privately from noncopyable, add methods
17826 func_begin, func_end, returning iterators to the func map.
17828 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17829 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17830 (func_begin): new method
17831 (func_end): new method
17833 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17835 (copySelection): ditto
17836 (pasteSelection): ditto
17838 * BufferView.C: whitespace change
17839 * BufferView.h: inherit privately from noncopyable
17841 2001-04-16 Allan Rae <rae@lyx.org>
17843 * tabular-old.C (l_getline):
17844 * spellchecker.C (sc_check_word):
17845 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17846 an unrecognised preprocessor directive. So ensure they're wrapped.
17848 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17850 * src/exporter.C (Export): Give an error message when path to file
17853 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17855 * LaTeX.C (deplog): Always check that foundfile exists.
17857 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17860 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17862 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17864 * tabular.[Ch] (getLabelList): implement new method
17866 * minibuffer.h: comment ouf setTiimer
17868 * minibuffer.C (ExecutingCB): constify res
17869 (peek_event): constify s
17870 (Set): constify ntext
17871 (Init): constify nicename
17873 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17875 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17876 (savePosition): use two params to Minibuffer::Set
17877 (restorePosition): ditto
17879 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17881 * lyx_main.C: include language.h
17883 * Makefile.am (lyx_main.o): add language.h
17885 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17891 * CutAndPaste.C: include gettext.h
17893 * lyxfont.h: remove old hack with ON and OFF.
17896 * lyxfont.h: do not include language.h...
17901 * bufferview_funcs.C:
17907 * paragraph.C: ... but do it here instead
17909 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17911 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17913 * tabular.C: small reformat
17915 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17918 (BreakParagraph): ditto
17919 (SetOnlyLayout): ditto
17922 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17925 * lastfiles.C: removed most using decl, add std:: where needed
17927 * buffer.C: ws changes
17929 * MenuBackend.C (class compare_format): put into anon namespace
17930 (expand): constify label, names, action, action2
17933 * text.C (SingleWidth): constify font
17934 (IsBoundary): constify rtl2
17935 (GetVisibleRow): constify ww
17937 * LaTeX.C (deplog): constify logfile
17939 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17941 (workAreaExpose): constify widthChange, heightChange
17943 * lyxrow.C (par): moved
17946 * lyxrow.h: as inlines here
17948 * lyxfont.h (shape): moved from lyxfont.C
17949 (emph): moved from lyxfont.C
17951 * lyxfont.C (LyXFont): use initialization list for all
17953 (shape): move to lyxfont.h as inline
17954 (emph): move to lyxfont.h as inline
17957 2001-04-04 Juergen Vigna <jug@sad.it>
17959 * vspace.C: had to include stdio.h for use of sscanf
17961 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17964 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17965 independent of xforms.
17967 2001-04-02 Juergen Vigna <jug@sad.it>
17969 * spellchecker.C: fixed namespace placing!
17971 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17973 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17974 the LyXParagraph * is 0.
17976 2001-03-29 Juergen Vigna <jug@sad.it>
17978 * vspace.C: added support for %, c%, p%, l%.
17979 (stringFromUnit): added helper function.
17980 (asLatexString): changed to give right results for the %-values.
17982 * buffer.C: convert the widthp in a width%.
17984 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17986 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17989 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17990 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17992 * lyx_cb.[Ch]: see above.
17994 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17998 * lyx.[Ch]: replaced by figure_form.[Ch].
18002 * lyxfunc.C: changed headers associated with above changes.
18004 2001-03-27 Juergen Vigna <jug@sad.it>
18006 * BufferView_pimpl.C: set the temporary cursor right!
18008 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
18010 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
18012 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
18014 * LString.h: removed "using std::getline"!
18016 * BufferView_pimpl.C (Dispatch): changes due to changes in
18017 InsetInclude::Params.
18019 * buffer.C (tag_name): removed redundant break statements as they were
18020 producing lots of warnings with my compiler.
18022 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18024 * LString.h: add "using std::getline" when using the real <string>.
18026 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
18028 * buffer.C: removed bitset usage.
18029 PAR_TAG moved to an anonymous name space.
18030 (tag_name): new funtion, also in the anonymous namespace.
18031 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
18032 (makeDocBookFile): clean code. Completed transition from string arrays
18034 (SimpleDocBookOnePar): code clean.
18036 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18038 * tabular.C: add some comments.
18040 2001-03-22 Juergen Vigna <jug@sad.it>
18042 * buffer.C (parseSingleLyXformat2Token): redone the minipage
18043 compatibility read a bit and fixed bug with minipage in different
18046 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
18048 * buffer.C (pop_tag): removed.
18049 (push_tag): removed.
18050 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
18051 array replaced with vector. Added support for CDATA sections.
18052 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
18054 (makeDocBookFile): XML conformant declaration of CDATA section,
18055 fixed bug related to <emphasis> in the first paragraph char.
18056 (sgmlOpenTag): exclude empty tags.
18057 (sgmlCloseTag): ditto.
18059 * buffer.h (pop_tag): removed.
18060 (push_tag): removed.
18062 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
18064 * language.h (Languages): added size_type and size().
18066 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18068 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
18069 response on compability reading of minipages. One probliem is that
18070 the old usage of minipages was flertydig
18072 * several files here and in subdirs: don't use static at file
18073 scope use anon namespaces instead.
18075 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
18077 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
18078 LaTeX output. This is necessary for Literate document
18081 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18083 * buffer.C: insert hfill when needed.
18085 * tabular.C (l_getline): use string::erase, small whitespace change.
18087 * BufferView_pimpl.C: try the anon namespace.
18088 * WorkArea.C: ditto
18090 2001-03-16 Juergen Vigna <jug@sad.it>
18092 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18093 otherwise it won't open options-dialogs.
18095 * buffer.C: honor pextraWidth(p) on converting minipages.
18097 * tabular.C (l_getline): changed the functions to strip trailing \r.
18099 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
18101 * BufferView_pimpl.C:
18102 * minibuffer..C: added "using SigC::slot" declaration.
18104 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18106 * lyxlex_pimpl.h: noncopyable is in namespace boost.
18112 * paragraph.C: ditto
18114 * lyxtext.h: NO_PEXTRA
18116 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18118 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18119 * ParameterStruct.h: ditto
18120 * ParagraphParameters.h: ditto
18121 * lyxparagraph.h: ditto
18123 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18125 * buffer.C: add compability for minipage alignment.
18126 (latexParagraphs): remove unwanted pextra check.
18128 * several files: remove CXX_WORKING_NAMESPACES
18130 * buffer.C (pop_tag): tie is in namespace boost
18132 * BufferView.h: noncopyable is in namespace boost
18134 * lyx_main.h: ditto
18137 * lastfiles.h: ditto
18138 * bufferlist.h: ditto
18139 * ShareContainer.h: ditto
18141 * LyXAction.h: ditto
18144 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18146 * Merging changes from BRANCH_MVC back into HEAD.
18148 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18150 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
18152 * BufferView_pimpl.C: change from intl.C
18156 * Makefile.am: move combox.*
18162 * intl.C: remove dialog (covered by prefs)
18164 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18166 * lyxfunc.C (Dispatch): removed redundant break statement.
18168 2001-03-14 Juergen Vigna <jug@sad.it>
18170 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18172 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18174 * buffer.C: add hack to fix compability reading of minipages.
18176 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
18178 * buffer.C (getLists): Cleanup.
18180 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18182 * lyxfont.C (update): don't honor toggleall on font size.
18184 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
18188 * Makefile.am: moved to frontends/xforms/
18192 * BufferView_pimpl.C: changes for moved mathpanel
18194 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18196 * gettext.h: fix gettext_init() in --disable-nls
18198 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18200 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18202 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
18205 * lyx.h: strip external form
18207 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18209 * BufferView_pimpl.C: add comment, destroySplash()
18211 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18213 * BufferView_pimpl.C:
18217 * lyxfunc.C: use re-worked insetinclude
18219 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18221 * buffer.C: add using std::stringstream.
18223 * lyx_cb.C: readd using std::ios.
18225 * buffer.C: add using std::map.
18227 * BufferView_pimpl.C: add using std::vector.
18229 * ShareContainer.h: add std:: to swap.
18231 * buffer.h: add some typedefs
18232 * buffer.C (getLists): use them
18233 (getLists): renamed from getTocList.
18234 add a counter for the different float types and use it in the
18236 (getLists): use the same counter for the NEW_INSETS and the "non"
18239 * lyx_cb.h: remove unused items, includes, using etc.
18241 * ShareContainer.h: remove some commented code, add more comments
18242 and "documentation".
18244 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18246 * buffer.C (getTocList): make the list also when NEW_INSETS is
18249 * buffer.h: remove TocType
18251 * buffer.C (getTocList): change to return a map<string,
18252 vector<TocItem> >, implement for dynamic number of list.
18254 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18255 * text2.C (PasteSelection): adjust
18256 * CutAndPaste.C (pasteSelection): adjust
18258 * FloatList.C (FloatList): update from the new_insets branch.
18259 * Floating.[Ch]: ditto
18260 * LaTeXFeatures.C: ditto
18262 * lyxlex_pimpl.C: ditto
18264 * paragraph.C (Last): remove when NEW_INSETS is defined.
18266 * other file: changes because of the above.
18268 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18270 * lyxparagraph.h: rename next to next_, previous to previous_,
18271 make them private for NEW_INSETS. Rename Next() to next(),
18272 Previous() to previous().
18274 * other files: changes because of the above.
18276 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18279 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18282 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18284 * main.C (main): pass lyx_localedir to gettext_init().
18286 * gettext.h: remove locale_init and gettext_init macros
18288 * gettext.C (locale_init): new function
18289 (gettext_init): new function
18291 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18294 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18296 * Moved credits to frontends:
18297 * credits.[Ch]: removed
18298 * credits_form.[Ch]: removed
18299 * lyx_gui_misc.C: remove credits stuff
18302 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18304 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18306 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18307 unneeded destructor.
18309 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18310 a standalone pointer again.
18312 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18314 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18320 * ToolbarDefaults.C:
18329 * BufferView_pimpl.C: use new file dialog in GUII
18332 * lyx_cb.C: remove LayoutsCB to Toolbar
18334 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18336 * ShareContainer.h (get): add std:: qualifier
18338 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18340 * ShareContainer.h: define a proper ShareContainer::value_type
18341 type (and use typename to please compaq cxx)
18343 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18345 * lyxparagraph.h: move serveral local vars to
18346 ParameterStruct/ParagraphParameters., use ShareContainer in
18347 FontTable., make vars in FontTable private and add getter and
18350 * paragraph.C: changes because of the above.
18352 * lyxfont.h: remove copy constructor and copy assignment. (the
18353 default ones is ok), move number inside FontBits. move inlines to
18356 * lyxfont.C: add number to initializaton of statics, move several
18357 inlines here. constify several local vars. some whitespace
18358 cleanup. Dont hide outerscope variables.
18360 * Spacing.h: add two new constructors to match the set methods.
18362 * ShareContainer.h: new file, will perhaps be moved to support
18364 * ParameterStruct.h: new file
18366 * ParagraphParameters.h: new file
18368 * ParagraphParameters.C: new file
18370 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18371 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18373 * BufferView_pimpl.C: ParagraphParameter changes.
18374 * buffer.C: Likewise.
18375 * bufferview_funcs.C: Likewise.
18376 * text.C: Likewise.
18377 * text2.C: Likewise.
18379 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18381 * lyxfind.C (LyXReplace): do not redefine default argument in
18383 (IsStringInText): ditto
18384 (SearchForward): ditto
18385 (SearchBackward): ditto
18387 2001-03-06 Juergen Vigna <jug@sad.it>
18389 * lyxfind.C (IsStringInText): put parentes around expressions.
18391 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18393 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18395 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18397 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18399 * stl_string_fwd.h: add comment
18401 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18404 * tabular.C: remove unused DocBook methods
18410 killed DO_USE_DEFAULT_LANGUAGE
18412 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18414 * lyx_gui.C: do not include language.h.
18416 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18417 arguments in function implementation.
18419 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18421 * BufferView_pimpl.C: add <ctime>
18423 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18425 * BufferView_pimpl.C: add using std::find_if
18427 2001-02-27 José Matos <jamatos@fep.up.pt>
18429 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18432 2001-02-11 José Matos <jamatos@fep.up.pt>
18434 * buffer.C (makeDocBookFile): command styles now have a parameter as
18435 "title" by default.
18437 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18439 * layout_forms.[Ch]: removed
18440 * lyx_cb.[Ch]: out character
18441 * lyx_gui.C: out character
18442 * lyx_gui_misc.C: out character
18443 * bufferview_funcs.C: : out character,
18444 added toggleall as parameter in ToggleAndShow
18446 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18448 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18450 * text2.C (SetCurrentFont): Disable number property at boundary.
18452 2001-02-26 Juergen Vigna <jug@sad.it>
18454 * lyxfunc.C (getStatus): added a string argument override function so
18455 that this is correctly called from LyXFunc::Dispatch if it contains a
18456 do_not_use_argument which is used!
18457 (Dispatch): added check for "custom" export and call appropriate func.
18459 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18461 * lyxrc.C: Add language_command_local, language_use_babel and
18462 language_global_options.
18464 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18466 * buffer.C (makeLaTeXFile): Use language_use_babel and
18467 language_global_options.
18469 2001-02-23 Juergen Vigna <jug@sad.it>
18471 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18472 which works with LyXText and putted it inside BufferView. Here now we
18473 only call for that part the BufferView::Dispatch() function.
18475 * BufferView.C (Dispatch): added.
18477 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18478 functions which needs to use a LyXText over from LyXFunc.
18479 (MenuInsertLyXFile): added
18480 (getInsetByCode): added
18481 (moveCursorUpdate): added
18482 (static TEXT): added
18484 2001-02-22 Juergen Vigna <jug@sad.it>
18486 * BufferView_pimpl.C (update): call a status update to see if LyXText
18489 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18491 * vc-backend.C (revert): implement for CVS
18492 (getLog): implement for CVS
18494 2001-02-20 Juergen Vigna <jug@sad.it>
18496 * text2.C (ClearSelection): added BufferView param for inset_owner call
18498 * lyxfunc.C (TEXT): added this function and use it instead of
18499 directly owner->view()-text of getLyXText().
18501 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18503 * src/layout_forms.C: out preamble
18504 * src/layout_forms.h: out preamble
18505 * src/lyx_cb.C: out preamble
18506 * src/lyx_cb.h: out preamble
18507 * src/lyx_gui.C: out preamble
18508 * src/lyx_gui_misc.C: out preamble
18509 * src/lyxfunc.C: connect with guii preamble
18511 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18513 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18515 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18517 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18518 whether to run bibtex.
18520 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18522 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18524 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18526 * Makefile.am (lyx_SOURCES): removed bibforms.h
18528 * vspace.h: doxygen
18530 * text.C (GetVisibleRow): make several local vars const
18532 * tabular.C: small cleanup.
18534 * lyxserver.C (callback): use compare instead of strncmp
18536 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18537 inlines to after class or to paragraph.C
18539 * lyxfont.h: remove friend operator!=
18541 * converter.h: move friend bool operator< to non friend and after
18544 * combox.h: small cleanup
18546 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18547 to inlines after class def.
18549 * buffer.C (pop_tag): use string operations instead of strcmp
18551 * bmtable.c: doxygen, small cleanup
18553 * LaTeX.h: remove friend operator==
18555 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18567 * BufferView_pimpl.C:
18568 * BufferView.[Ch]: remove cruft
18570 2001-02-14 Juergen Vigna <jug@sad.it>
18572 * lyxfunc.C: removed #if 0 unused code
18574 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18576 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18578 * text2.C (SetSelection): added a BufferView * parameter
18580 2001-02-13 Juergen Vigna <jug@sad.it>
18582 * lyxfunc.C (Dispatch): fixed protected blank problem.
18583 * BufferView2.C (protectedBlank): added LyxText * parameter.
18585 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18586 (AppendColumn): same as above for column_info.
18588 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18589 (moveCursorUpdate): use a LyXText param for support of InsetText.
18591 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18592 (tripleClick): ditto
18594 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18596 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18598 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18600 * text2.C (SetSelection): set correct update status if inset_owner
18601 (ToggleFree): ditto
18603 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18605 * tabular.C: remove some commented code.
18607 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18609 * BufferView_pimpl.C: call hideSplash()
18611 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18614 * bibforms.h: remove
18617 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18618 add LFUN_CHILD_CREATE
18620 * counters.h: fix tiny typo
18625 * lyx.C: move splash to frontends/xforms/
18627 * lyx_gui_misc.C: move Include and Bibform to frontends
18629 * lyxvc.h: clarify comment
18631 * vspace.C: tiny housekeeping
18633 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18635 * text.C (PrepareToPrint): RTL Fix.
18637 * paragraph.C (GetUChar): New method.
18638 (String): Use GetUChar.
18640 * buffer.C (asciiParagraph): Use GetUChar.
18642 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18644 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18646 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18649 * buffer.C: rename to getLogName(), handle
18650 build log / latex log nicely
18652 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18655 * MenuBackend.h: remove support for reference menuitem type.
18657 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18659 * BufferView_pimpl.C: housekeeping
18660 * BufferView_pimpl.h:
18665 * minibuffer.h: move Timeout GUI-I
18667 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18669 * lyxrc.C (read): Update converters data-structures.
18671 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18673 * LaTeX.h (operator!=): add operator != for Aux_Info
18675 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18677 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18679 * LaTeXLog.C: deleted, useful code moved to Buffer
18682 * buffer.C: new function getLatexLogName()
18688 * lyxfunc.C: use frontends for LaTeX and VC logs
18690 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18692 * LaTeX.h: yet another std:: that Allan forgot.
18694 * Variables.C (set): renamed from isset(), because this clashes
18695 with some HP-UX macros (grr).
18697 2001-02-06 Allan Rae <rae@lyx.org>
18699 * LaTeX.h: Another bug fix. Missing std:: this time.
18701 2001-02-04 Allan Rae <rae@lyx.org>
18703 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18704 floats problem. I've left it commented out because it's not quite
18705 correct. It should also test that the current object is a table or
18706 figure inset. But I haven't gotten around to figuring out how to do
18707 that. I *think* it'll be something like: "table" == inset.type()
18709 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18712 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18714 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18715 all the citation/databases/styles in the auxilary file.
18716 (run): Rerun latex if there was a babel language error.
18718 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18720 * text.C (Backspace): Preserve the font when changing newline char
18722 (BreakParagraph): If the cursor is before a space, delete the space.
18724 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18726 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18728 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18729 new argument (code).
18730 (ChangeCitationsIfUnique): New method.
18732 * paragraph.C (GetPositionOfInset): Handle bibkey.
18734 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18736 * BufferView_pimpl.h: change type of Position::par_pos to
18737 LyXParagraph::size_type.
18739 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18741 * BufferView_pimpl.C (savePosition, restorePosition): Write
18742 messages to minibuffer.
18744 2001-01-28 José Matos <jamatos@fep.up.pt>
18746 * buffer.C (makeDocBookFile): adds support for document language.
18747 A silly restriction on the name of LatexCommand types where removed.
18748 Added support for CDATA sections, allows to chars unescaped, used
18749 among others in code, to avoid escape < and >.
18751 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18753 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18754 saved positions instrad of a stack. Furthermore, a position is
18755 stored using paragraph id/paragraph position.
18757 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18758 Remove LFUN_REF_BACK.
18760 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18762 * converter.C (dvipdfm_options): New method.
18764 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18766 * vspace.C (isValidLength): Fix for empty input string.
18768 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18770 * LyXAction.C (init): change description of LFUN_FIGURE to
18773 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18775 * LaTeX.C: add using directive
18777 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18779 * MenuBackend.C (expand): Fix the sorting of the formats.
18781 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18783 * lyx_main.C: tiny error message fix
18785 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18787 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18788 calling fl_initialize(). This fixes the problem with ',' as
18789 decimal separator in text files.
18791 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18793 * trans.C (process): Fix the keymap bug.
18795 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18797 * LaTeX.C (scanAuxFiles): New method. Provides support for
18798 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18799 (scanLogFile) Scan for "run BibTeX" messages.
18801 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18802 OT1 font encoding. Also, load the aecompl package if the ae
18805 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18807 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18809 * texrow.C (increasePos): turn two error messages into debug
18812 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18814 * LaTeX.C (scanAux): Handle the \@input macro.
18815 (runBibTeX): Use scanAux().
18817 * language.C (latex_options_): New field.
18819 * LaTeXFeatures.C (getMacros): Add language macros.
18821 * buffer.C (makeLaTeXFile): Small fix.
18823 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18825 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18827 * text2.C: add a using directive.
18829 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18834 * lyxfunc.C: kill LyXBell.
18836 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18838 * text.C (IsBoundary): Remove the error message
18840 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18842 * lyxrc.C (setDefaults): Correct initialization value for
18845 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18847 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18850 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18851 and GotoNextNote().
18853 * src/LyXAction.C: Added reference-next.
18855 * text.C (InsertChar): Use contains instead of strchr.
18857 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18859 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18861 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18862 alignment commands (when needed).
18864 * text.C (InsertChar): Add ':' to number separator chars.