1 2006-03-10 Martin Vermeer <martin.vermeer@hut.fi>
4 * BufferView_pimpl.[Ch]:
8 * text3.C: Inside-inset speedup, esp. for the Mac (bug 2195)
10 2006-03-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
12 * pch.h: fix nullstream.hpp location for boost 1.33.0
14 2006-03-05 Lars Gullik Bjønnes <larsbj@lyx.org>
18 * support/debugstream.h: Use the correct nullstream.
20 2006-02-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
22 * text3.C (mathDispatch): fix math inset creation from string (bug 2315)
24 2006-02-28 Martin Vermeer <martin.vermeer@hut.fi>
26 * cursor.C (niceInsert): fix (properly) insertion of
27 fonts/decorations around selection
29 2006-02-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
31 * lyxfont.C (lyxWriteChanges): Don't write \lang latex
33 2006-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
35 * text3.C (mathDispatch): fix crash when selection is not empty
36 but selectionAsString is empty (bug 2321).
38 2006-02-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
40 * text.C (changeCase): avoid crash in empty paragraph or on last
41 word of the paragraph. (buf 2323)
42 (cursorRightOneWord): fix the logic to stop at a beginning of a word.
44 2006-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
46 * buffer.C (readHeader): also erase params.preamble in advance
47 so that an empty preamble is actually recognized (bug 2317).
49 * rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308).
51 2006-02-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
53 * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix
55 2006-02-05 Martin Vermeer <martin.vermeer@hut.fi>
65 * text3.C: Fix bug 2115: blue language lines (for default font)
66 popping up when the documnent font is different. This includes work
69 2006-02-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
71 * exporter.C (Backends): Add "lyx" backend
72 * exporter.C (Export): Handle "lyx" backend
73 * graph.C (getReachable): Don't exclude "lyx"
74 * MenuBackend.C (expandFormats): exclude "lyx" from export menu
76 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
78 * cursor.C (bruteFind2): convert relative to absolute co-ordinates
79 for correct in-mathed positioning
81 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
83 * rowpainter.C (paintForeignMark): fix foreign blue line under
86 2006-01-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
88 * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start
89 pit of the uno range (bug 2022).
91 2006-01-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
93 * messages.C (get): Only warn once if setlocale fails (bug 2177)
95 2006-01-28 Martin Vermeer <martin.vermeer@hut.fi>
97 * text2.C (setCharFont): take inset's own font settings into account
98 when defining the font to reduce to, fixes 2019
100 2006-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
102 * bufferview_funcs.C (coordOffset): remove the check for
103 collapsed collapsables (fix for bug 2094). This is now done
104 on a more general level (cursor.C).
106 * dociterator.[Ch] (forwardPos): add an optional argument
107 bool "ignorecollapsed" (default false), which lets forwardPos
108 skip collapsed insets.
110 * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
111 (fixes bug 2241 and 2094).
113 2006-01-26 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
115 * buffer.C: change tracking (dvipost) doesn't require
118 * LaTeXFeatures.C (getPackages): no need for the color
119 option "usenames" (bug 2169).
121 2006-01-23 Helge Hafting <helge.hafting@aitel.hist.no>
122 * buffer_funcs.C: Trivial fix - added {} around
123 the statements to be affected by a if-test. Now
124 label in a minipage in a float looks ok on screen again.
126 2006-01-23 Martin Vermeer <martin.vermeer@hut.fi>
128 * text2.C: fix bug 2015: on screen fonts in nested environments
131 2006-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
133 * converter.C (convert): handle unknown formats
135 2006-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
137 * cursor.C (goUpDown): comment out some debug messages.
139 * counters.C (newCounter): make error messages more explicit
140 (these appear with some textclasses like beamer)
142 2006-01-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
145 * lyxfunc.C (processKeySym): make sure new FuncRequest objects
146 have origin set to KEYBOARD. (bug 2221)
148 2006-01-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
150 * rowpainter.C (isCursorOnRow): do not exclude endpos().
152 2006-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
154 * cursor.C (macroModeClose): returns true if an inset actually got
155 inserted; revert faulty fix to bug 2034.
157 2006-01-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
159 * tabular.C (getLabelList): remove (not used anymore).
161 2006-01-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
163 * outputparams.[Ch]: add new flag inComment
165 2006-01-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
167 * text2.C (deleteEmptyParagraphMechanism): since we delete a
168 paragraph, recordUndo should span two paragraphs (bug 2155).
170 2006-01-01 Martin Vermeer <martin.vermeer@hut.fi>
172 * rowpainter.C (paintPar): always repaint the row with the
175 2006-01-01 Lars Gullik Bjønnes <larsbj@gullik.net>
181 * vspace.h: fix syntax error
183 2005-12-31 Martin Vermeer <martin.vermeer@hut.fi>
185 * text3.C (dispatch): Force refresh if typing into inset changes its
188 2005-12-30 Martin Vermeer <martin.vermeer@hut.fi>
193 * rowpainter.C: Speed up rendering by only re-painting rows that
194 have changed. When selection or whole-screen update active, all rows
195 are repainted, as are all rows within insets.
197 2005-12-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
199 * version.C.in: Use PACKAGE_VERSION instead of VERSION
201 2005-12-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
203 * tabular.C (toggleFixedWidth): Use default layout of text class
204 instead of hardcoded "Standard"
206 2005-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
208 * lyxfunc.C (dispatch): do not call getStatus again to determine
209 whether a lfun is disabled (bug 2172).
211 2005-12-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
213 * cursor.C (macroModeClose): set the cursor inside the new math
214 atom if relevant (think \frac{}{}) (bug 2034)
216 2005-12-19 Martin Vermeer <martin.vermeer@hut.fi>
220 * text3.C (Delete, backspace): force update when merging paragraphs
222 2005-12-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
224 * BufferView.C (mouseSetCursor): clear the selection properly (bug
227 2005-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
229 * text.C (redoParagraph): honor inset->noFontChange()
230 * rowpainter.C (paintInset): ditto
232 2005-12-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
234 * lyx_main.C (priv_exec): don't initialize Math on startup
235 (initMath() has been moved to math_hullinset).
237 2005-12-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
239 * lyxrc.C: set default_papersize to PAPER_DEFAULT;
240 handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
241 * paper.h: dispose dead PAPER_PACKAGES enum.
243 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
245 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
248 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
250 * exporter.C (Export): Don't try to copy a file if it does not exist
253 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
255 * text2.C (makeFontEntriesLayoutSpecific): remove.
258 * text.C (insertChar): remove bogus caching of fonts (did not do
261 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
262 ALL_SANE). (bug 2146)
264 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
266 * rowpainter.C (paintFirst): fix centering of
267 LABEL_CENTERED_TOP_ENVIRONMENT.
269 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
271 * BufferView.C (mouseSetCursor): new method. Calls
272 deleteEmptyParagraphMechanism if necessary.
274 * lyxtext.h: make deleteEmptyParagraphMechanism public.
276 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
277 BufferView::mouseSetCursor (bug 2109).
278 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
280 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
282 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
283 do not remove it (this inset behaves differently from the others).
285 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
289 * BufferView_pimpl.C (getStatus): it is only possible to insert a
290 file in a text inset.
292 * buffer.C (readDocument): remove pit argument and code releated
293 to it; set the inset owner correctly (unrelated, but useful).
294 (readFile): get rid of pit argument.
296 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
297 textclass instead of a selection index.
298 (pasteParagraphList): new function.
299 (pasteSelection): make it a wrapper around pasteParagraphList.
301 * BufferView_pimpl.C (MenuInsertLyXFile): use
302 cap::pasteParagraphList to insert a file.
304 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
306 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
308 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
310 * exporter.C: fix typo in text message
312 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
314 * text2.C (setLayout): move recUndo call to other setLayout method
315 * tabular.C (toggleFixedWidth): new, handle cell width changes
316 * tabular.C (setColumnPWidth): move some code from insettabular.C here
317 and use toggleFixedWidth
318 * tabular.C (setMColumnPWidth): ditto
320 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
322 * paragraph.C (asString): use new inset->textString method (fix
325 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
327 * CutAndPaste.C (numberOfSelections): new helper function.
329 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
331 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
332 LyXFunc::getStatus; implement LFUN_PASTE.
334 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
336 * dociterator.[Ch]: new member realInset() that returns the cell
337 for tabulars and the inset for the rest (bug 1952).
338 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
341 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
343 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
345 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
349 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
352 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
354 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
355 line after typing ctrl-enter
357 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
359 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
360 math insets do not return a proper editable() state yet (bug 2124).
362 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
364 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
365 docs containing very large paragraphs.
367 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
369 * cursor.C (selectionBegin, selectionEnd):
370 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
371 cursor at different depths.
373 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
375 * bufferview_funcs.C (coordOffset): do not call cursorPos
376 for collapsed collapsables (fix bug 2094).
378 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
380 * paragraph.C (fontSpan): make sure that the FontSpan does not
381 span across beginOfBody (bug 1947).
383 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
385 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
387 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
389 * messages.C: fix crash and localization on MinGW/Windows platform
391 2005-11-02 Angus Leeming <leeming@lyx.org>
394 * lyxtextclass.C: trivial fixes to some MSVS warnings.
396 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
398 * text3.C (getStatus): re-enable disabled code. (bug 2081)
400 * BranchList.h (empty): constify.
402 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
404 * text3.C (getStatus):
405 * MenuBackend.C (expandBranches): take the branch list from the
406 master document (bug 2092).
408 * MenuBackend.C (expandBranches):
409 * bufferparams.C (writeFile): use BranchList type.
411 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
413 * text3.C (dispatch, getStatus):
414 * LyXAction.C (init):
415 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
417 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
419 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
421 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
423 * text.C (insertChar): do not reset boundary (bug 2061)
425 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
427 * dociterator.C (updateInsets): new method. Updates the inset_
428 cache of all the slices of the iterator.
430 * text2.C (deleteEmptyParagraphMechanism): compare also containing
431 insets when comparing pit/pos; pass the right cursor to
432 recordUndo; when a paragraph has been deleted, compare `old.top()' to
433 the right cursor slice of `cur'; use updateInsets on cur to make
434 sure that the inset caches are correct; general cleanup.
436 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
438 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
439 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
440 containg inset. If this does not work, the same command will be
441 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
443 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
446 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
448 * lyxtextclass.C (Read): convert layout file if the format is wrong
449 * lyxtextclass.C (layout2layout): new, needed for the above
451 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
453 * messages.C: do not forget to include <cerrno>.
455 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
457 * dociterator.h (StableDocIterator): add access to pos().
458 * undo.C (samePar): new method to check if two
459 iterators are in the same paragraph
460 * undo.C (recordUndo): check for samePar instead of cell identity
461 (which includes pos() and is too strict) (fixes bug 2097)
463 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
465 * text.C (setCursorFromCoordinates): return a bool telling whether
468 * text3.C (cursorPrevious): update if needed after
469 setCursorFromCoordinates (when dEPM triggered).
471 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
472 (otherwise the anchor may be completely wrong and make dEPM assert).
474 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
476 * buffer.C: version upgrade to 245.
477 * bufferparams.C: remove \quotes_times (bug 2090).
478 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
479 quotation marks as default.
481 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
483 * CutAndPaste.C (nrOfParagraphs): remove (unused)
484 * CutAndPaste.C (cutSelection): Remove debug message
485 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
486 undo information and only copy if this is a real cut
487 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
489 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
491 * CutAndPaste.C (eraseSelection): prevent cursor corruption
492 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
493 superflous cur.selection() setting
494 * CutAndPaste.[Ch] (grabSelection): take a const cursor
495 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
497 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
499 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
502 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
504 * BufferView_pimpl.C: comment layout change
506 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
510 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
511 by bibliography managers (bug 2071).
513 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
515 * BufferView_pimpl.C (update): choose arguments to update call so
516 that single-par update works most times
517 * text3.C (dispatch): carefully tune updating separately for
518 whole-screen and current-paragraph
519 * rowpainter.C (paintText): 1) replace painting by caching for
520 the two extra paragraphs, because we can;
521 2) suppress greying out of areas below/above drawn area in case of
523 * lyxfunc.C (dispatch): remove superfluous update
524 * LyXAction.[Ch]: introduce SingleParUpdate
526 2005-10-05 Angus Leeming <leeming@lyx.org>
528 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
529 always initialised before use.
531 * text.C (setHeightOfRow): squash warning about comparison
532 of signed and unsigned types.
534 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
536 * text.C (cursorX): two fixes involving RtL text drawing
538 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
540 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
541 items, not only large ones (part of bug 2057)
543 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
545 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
546 argument, use "newcommand".
548 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
550 * cursor.C (setSelection): do not open collapsable insets;
551 the insets do by themselves now (autoopen).
553 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
555 * buffer.C: format is up to 244.
557 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
559 * text.C (redoParagraph): fix calcultation of inset width wrt
560 leftMargin (bug 1957).
562 * text3.C (dispatch): leave inset to the right when hitting ESC
565 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
570 * messages.C: include <boost/current_function.hpp>
572 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
574 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
575 when command is internal. (bug 1941)
577 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
579 * text2.C (cursorRight): do not honor boundary when at the end of
580 a paragraph. (bug 2010 again)
582 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
584 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
586 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
588 * rowpainter.C (paintText): fix RtL space width display bug (2029)
590 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
592 * text2.C (setCursor): remove the unused 'boundary' parameter for
593 the CursorSlice version; adapt the LCursor version.
596 * paragraph_pimpl.C (markErased):
597 * cursor.C (bruteFind2, bruteFond3): fix warnings.
599 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
601 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
602 as is already done for "chapter".
604 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
606 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
607 textclass; do not record undo if nothing is changed.
609 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
611 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
613 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
615 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
617 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
619 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
620 combox, it is necessary to search for the topmost paragraph in the
621 cursor stack (bug 1926)
623 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
625 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
626 end of paragraph. (bug 2010)
628 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
630 * text.C (leftMargin): check for inInset == 0
632 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
634 * text.C (leftMargin): test for insetbase's new neverIndent()
635 bool instead of listing each and every inset that does not
636 wish par indendation.
638 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
640 * buffer_funcs.C (setCounter): put the code to compute enum label
641 here (where it belongs).
643 * counters.C (enumLabel): move code to buffer_funcs.C.
645 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
647 * outputparams.[Ch]: store local_font instead of local_language
648 * paragraph.C (simpleTeXOnePar): adapt to the change above
650 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
653 * counters.[Ch]: clean up special code for Hebrew.
655 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
657 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
660 2005-09-08 Angus Leeming <leeming@lyx.org>
663 * lyxrc.C: correct grammar describing invocation of the
666 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
668 * text.C (read): remove unused variable.
669 (readParToken): remove static Change variable (never good in
670 recursive settings...); add it as a parameter instead.
672 * paragraph_pimpl.C (acceptChange): make debug info conditional.
674 * metricsinfo.C (PainterInfo): add new member erased_.
676 * rowpainter.C (RowPainter): add erased_ member, initialized from
678 (paintInset): pass erased_ to Inset::draw.
680 * lyxfunc.C (lookupChange): new function. Tells whether change
681 tracking is disabled at a given postion.
682 (getStatus): disable some actions when in deleted text with change
685 2005-08-03 John Levon <levon@movementarian.org>
687 * tabular.C (appendColumn, setMultiColumn): adapt to change to
690 * paragraph_pimpl.C (markErased): add bool argument and handle it.
691 Also make sure to mark insets recursively.
692 (rejectChange, erase): be recursive
694 * paragraph.C (markErased): add bool argument.
695 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
697 * lyxfind.C (findNextChange): tiny cleanup.
699 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
700 change tracking with the cursor in an inset; make sure the first
701 change is not skipped.
703 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
705 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
706 tabularStackDirty to work around bug 1919 (tabular needs
707 to know whether its own cell paste buffer or the one of
709 * CutAndPaste.C: mark tabular_stack_ clean after copy.
711 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
713 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
715 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
717 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
718 use old deleteion algorithm when changetracking is on.
720 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
722 * messages.C (get): add debug output.
724 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
726 * text.C (cursorX): fix bug 1965: cursor movement at
727 line end broken in RtL.
728 (drawSelection): fix bug 1970: drawing of single-line
729 selection broken for RtL.
731 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
735 * dociterator.h (clear, push_back, pop_back): change from
738 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
739 and changed to just return the value of the item depth; take a
740 ParIterator as argument; take the itemdepth at outer nesting level
741 in account if necessary; cleanup and comment the code.
742 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
743 and changed to just return true if reset is needed; take a
744 ParIterator as argument; cleanup and comment the code.
745 (setCounter): adapt to above changes.
747 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
749 * text3.C (dispatch): make debug message optional
751 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
753 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
756 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
758 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
760 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
762 * text.C (insertChar):
763 * text2.C (deleteEmptyParagraphMechanism): take care whether
764 a blank has been deleted (in change tracking mode) (bug 1254).
766 2005-07-20 John Levon <levon@movementarian.org>
768 * text2.C (insertStringAsLines): remove old dubious code,
771 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
773 * MenuBackend.C (expandToc): use Floating::listName() as title of
776 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
778 * toc.[Ch]: Do not use translatable strings (bug 1870).
780 2005-07-20 John Levon <levon@movementarian.org>
782 * tabular.C: fix 1748 - setting multicolumn adds
783 left line to the first cell
785 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
788 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
791 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
793 * messages.C: supress some lyxerr messages
795 2005-07-18 Juergen Vigna <jug@lyx.org>
797 * text.C (drawSelection): honor boundary when asking for cursorX.
799 2005-07-17 José Matos <jamatos@fc.up.pt>
801 * tabular.C (recalculateMulticolumns): fix handling of one column
804 2005-07-17 Juergen Vigna <jug@lyx.org>
806 * text.C (Delete, backspace): fixed so that paragraph with the
807 same layout can be merged by Delete/Backspace.
809 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
811 * text.C (readParToken): fix spelling.
813 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
815 * text2.C: fix counter update for DEPM problem reported by
818 2005-07-17 Juergen Vigna <jug@lyx.org>
820 * BufferView_pimpl.C (setBuffer): save/restore the
821 cursor/selection when switching buffers
824 * buffer.C (saveCursor): add saveDocumentIterators to save the
825 cursor when switching buffer.
827 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
830 * buffer.C: clarify message
832 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
834 * dociterator.C (DocIterator): fix initialization order
836 2005-07-17 Juergen Vigna <jug@lyx.org>
838 * text2.C (cursorHome):
839 * text.C (drawSelection, cursorX):
840 * dociterator.C (textRow): add boundary to getRow() call
842 * paragraph.C (getRow): implementation of below
844 * paragraph.h: add parameter boundary for getRow() function
846 2005-07-17 José Matos <jamatos@fc.up.pt>
850 * tex-strings.[Ch]: new file format, remove support for a4.sty,
851 a4wide.sty and a4widemargins.
853 2005-07-17 Juergen Vigna <jug@lyx.org>
855 * text2.C (cursorLeft): fix one of error
857 2005-07-17 Juergen Vigna <jug@lyx.org>
859 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
861 more fixes for boundary handling
863 * text3.C (dispatch): don't reset cursor if boundary has changed
866 2005-07-16 Juergen Vigna <jug@lyx.org>
868 * text2.C (getColumnNearX): hopefully got it right now,
869 check if we are on column 0 for special case.
871 2005-07-16 Juergen Vigna <jug@lyx.org>
873 * text2.C (getColumnNearX): handle special case Newline Inset
875 * text.C (singleWidth): Just remove bogus check
877 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
879 * funcrequest.C (split): avoid reading uninitialized char c
881 2005-07-16 José Matos <jamatos@fc.up.pt>
887 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
888 single papersize variable.
890 2005-07-16 Juergen Vigna <jug@lyx.org>
892 * text3.C (dispatch): honor boundary when checking if a cursor
893 movement has been done
895 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
896 (setCursor, setCursorIntern): fix cursor movement with boundary
898 2005-07-16 Juergen Vigna <jug@lyx.org>
900 * text.C (currentState): output the actual Boundary
902 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
904 * factory.C (createInset): fix bad logic for tabular creation
906 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
908 * lyx_main.C (init): change some reLyX reference to tex2lyx
910 2005-07-16 Juergen Vigna <jug@lyx.org>
912 * dociterator.C (DocIterator): initialize boundary
914 2005-07-16 Juergen Vigna <jug@lyx.org>
916 * text2.C (getColumnNearX): Consider rows without trailing blank.
918 2005-07-16 André Pönitz <poenitz@gmx.net>
920 * lyxfont.h: Change order of declarations to give the compiler
921 a better chance to inline things
923 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
924 questions on unsaved docs for better scritability
926 2005-07-16 André Pönitz <poenitz@gmx.net>
928 * paragraph.h (getChar): remove asserts as the same kind of security
929 can be achieved by using a suitable standard library implementation
930 and the function was in the critical path (25.9% in profiler)
932 2005-07-16 Juergen Vigna <jug@lyx.org>
934 * cursor.C (bruteFind2):
935 * bufferview_funcs.C (coordOffset):
936 * text.C (cursorX,cursorY): Handle cursor position after last char
937 in row before a inset which uses a whole row.
939 2005-07-15 José Matos <jamatos@lyx.org>
941 * output_plaintext.[Ch] (writeFileAscii): control reference title
943 (asciiParagraph): noparbreak was already deal and was incorrectly
946 2005-07-15 Juergen Vigna <jug@lyx.org>
948 * lyxfunc.C (dispatch): save and restore the cursor after a
951 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
953 * text.C (backspace): bug 806 for empty keepempty paragraphs we
954 change the layout to default before letting DEPM do its thing.
956 * paragraph_funcs.C (breakParagraph): dont reset the layout on
959 * text.C (setCursorFromCoordinates): add a debug statement
961 * text2.C (getColumnNearX): bug 1825 make sure that we don't
962 return a pos that is not on the row
964 * output_latex.C (TeXDeeper): get rid of potential dereferencing
965 of past the end iterator
967 2005-07-14 André Pönitz <poenitz@gmx.net>
969 * undo.C (recordUndoFullBuffer): implement undo for
972 2005-07-14 André Pönitz <poenitz@gmx.net>
974 * cursor.C (setSelection): open insets when selection is set there
975 to avoid crashs with cold coord cache
977 2005-07-14 André Pönitz <poenitz@gmx.net>
979 * trans_mgr.C (insert): move cursor to the right after inserting
982 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
984 * BufferView_pimpl.C (update): dampen some of the debug blabbering
985 * factory.C (readInset): ditto
986 * text.C, text2.C: ditto
988 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
990 * buffer.C: format incremented to 242. There is no file format per
991 se, but the "frenchb" language has been removed from lib/language
992 and has to be translated to "french" by lyx2lyx.
994 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
996 * cursor_slice.h, dociterator.h: add some documentation
997 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
999 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1001 * text.C (leftMargin): do not add identation to display() style
1002 insets, because they are always centered (bug 1293).
1004 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1006 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
1007 formatted_time methods in support/lyxtime.
1009 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1011 * toc.[Ch]: new method getGuiName, which is used by the frontends
1012 to set the toc combo (fixes bug 1870). Make TOC string translatable.
1014 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1016 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
1017 StableDocIterator const &)
1018 * undo.C (recordUndo): use the above instead of cell.size() comparison
1019 (fixes bug 1808; instructed by Andr�.
1021 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
1024 * dociterator.h: Fix the assert when copying rows/cols in math
1026 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1028 * BufferView_pimpl.C:
1030 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
1032 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
1033 (findInset): new functions, refactored from goto Inset that return
1034 the position of a certain inset without setting the buffer's cursor
1036 (gotoInset): rewrite to call findInset and then set the cursor
1039 2005-06-16 Angus Leeming <leeming@lyx.org>
1041 * lyxrc.C (output, read): wrap all input and output of paths with
1042 calls to os::internal_path and os::external_path, respectively.
1043 (output): wrap bind_file inside quotes.
1045 * format.C (view): enable the viewer to use the '$$s' placeholder.
1047 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1049 * LColor.[Ch] (getFromLaTeXName): new
1051 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
1053 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1055 2005-06-14 Angus Leeming <leeming@lyx.org>
1057 * lyx_main.C (init): ensure that the LyX binary dir is the first
1058 element in the PATH on non-POSIX builds.
1060 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1062 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1064 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1066 * rowpainter.C (paintInset, paintHebrewComposeChar)
1067 (paintArabicComposeChar, paintChars): add a LyXFont argument.
1068 (paintChars): use getFontSpan to reduce calls to getFont to a
1069 minimum; use Paragraph::lookupChange instead of isXXXText.
1070 (paintForeignMark): rename LyXFont argument.
1071 (paintFromPos): pass a LyXFont object to the various paintXXX
1074 * FontIterator.C (FontIterator, operator++): use
1075 Paragraph::getFontSpan
1077 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1078 version that returns the font span as a pair.
1080 2005-06-09 Angus Leeming <leeming@lyx.org>
1082 * converter.C (convert): Don't forget "outfile = real_outfile" as
1083 the final step in a conversion where the input and output file names
1084 are the same. Otherwise, future conversion steps won't work...
1086 2005-06-09 Angus Leeming <leeming@lyx.org>
1088 * lyxsocket.C: remove stub code as it isn't needed by
1089 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1091 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1093 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1094 effectively disabled -x
1096 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1098 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1099 when it actually makes sense.
1101 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
1103 * BufferView_pimpl.C: revert to showCursor in connection with
1104 Lars's front-end stack
1106 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1108 * text.C (redoParagraph): move cursor right after a bibitem
1111 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1113 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1115 * buffer_funcs.C (bufferErrors): fix computation of the end of an
1118 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
1120 * BufferView.[Ch] (update):
1121 * BufferView_pimpl.[Ch] (update, metrics):
1122 * dimension.h (operator==):
1123 * lyxfunc.C (dispatch):
1124 * metricsinfo.h (ViewMetricsInfo):
1125 * rowpainter.C (paintText):
1127 * text.C (redoParagraph):
1128 * text3.C (dispatch): Make LyX only repaint current paragraph in
1129 case of character insert --> speedup. Also fix cursor draw
1132 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1134 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1135 avoid a crash (bug 1891)
1137 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1141 * text2.C (getStringToIndex): constify cur argument.
1143 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1144 argument has been given
1145 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1146 try to invoke LFUN_INSET_APPLY).
1148 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1149 if no inset was created by doInsertInset
1150 (doInsertInset): return true if an inset has been inserted.
1152 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1154 * vspace.C (asGUIName): new method. A version of the space
1155 suitable for showing on screen.
1157 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
1160 * lyxrc.C: rename "ASCII" to "Plain Text"
1162 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1164 * buffer_funcs.C (expandLabel): take a Buffer as argument;
1165 translate the labelstring.
1166 (setCounter): translate labelstring as needed.
1168 * output_docbook.C (makeCommand): fix expandLabel invokation
1170 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
1172 * BufferView.C: fix dialog title
1174 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1176 * lyx_main.C (priv_exec): fix logic error with help from Angus
1177 * lyx_main.C (parse_execute): set is_gui = false and remove now
1178 obsolete comment about a segfault
1180 2005-05-18 Angus Leeming <leeming@lyx.org>
1182 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1184 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
1186 * tabular.[hC]: added setCellInset to fix tabular paste.
1188 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1190 * buffer.C (save): check if destination is writable before trying
1193 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
1195 * BufferView_pimpl.C (update): fix processEvents -caused update
1198 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1200 * buffer_funcs.C (setCounter): fix test for numbering of
1203 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1204 depth correctly; use optional argument when it exists
1206 * lyxtextclass.C: remove unused MaxCounterTags enum
1207 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1208 (max_toclevel, min_toclevel): new methods.
1210 * MenuBackend.C (expandToc2): fix case where depth is smaller than
1211 the smallest depth in toc.
1213 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1214 layouts that should not appear in a table of contents.
1216 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1218 * cursor.h (undispatched, noUpdate): add comments from Andr�
1219 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
1223 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1225 2005-05-07 André Pönitz <poenitz@gmx.net>
1227 * cursor.[Ch] (leaveInset): new function
1229 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1231 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1233 2005-05-04 Angus Leeming <leeming@lyx.org>
1235 * lyxfunc.C (getStatus): disable the spell checker dialog if
1236 none of USE_[AIP]SPELL are defined.
1238 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1240 * tabular.C (setWidthOfCell): remove obsolete comment
1242 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1244 * paragraph.C (bibitem):
1245 * buffer_funcs.C (setCounter):
1246 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1248 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1250 * text3.C (getStatus): immediately return after setOnOff
1252 * rowpainter.C: fix drawing of appendix start
1254 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1256 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1257 SwitchBetweenClasses and remove the unused return value.
1258 Handle character styles, too
1260 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1262 * factory.C (createInset): handle undefined character styles
1264 2005-05-02 Angus Leeming <leeming@lyx.org>
1266 * buffer.C: protect the #include of utime.h with a preprocessor
1269 2005-05-02 Angus Leeming <leeming@lyx.org>
1271 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1272 function so that auto-saving works, albeit in a blocking manner.
1274 * Makefile.am: make compilation of the client sub directory, of
1275 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1276 on conditionals set at configure time.
1278 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1279 it can be compiled in its own right but has no-op functionality.
1281 * aspell.C, pspell.C: remove preprocessor guards. The files should
1282 be compiled only if the necessary functionality exists.
1284 * lyxserver.C, lyxsocket.C: disable on Windows.
1286 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1288 * text.C (leftMargin): Fix the parindent use bug (1764)
1291 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1293 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1296 2005-04-25 Angus Leeming <leeming@lyx.org>
1304 include <config.h> in .C files, not .h ones.
1306 protect headers inside preprocessor guards.
1308 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1310 * FuncStatus.h (StatusCodes): document
1312 2005-04-21 André Pönitz <poenitz@gmx.net>
1314 * FuncStatus.h (enabled, onoff): document
1316 2005-04-19 Angus Leeming <leeming@lyx.org>
1318 * BufferView_pimpl.C (cursorToggle): no longer test whether
1319 any child processes have been reaped before calling
1320 handleCompletedProcesses().
1322 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1324 * text3.C (dispatch): fix, finally fix, the language problem in
1325 new lyxtexts, without disabling on-the-fly font changes (Helge's
1328 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1330 * text3.C (dispatch): set cursor on double/triple click events
1333 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1335 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1336 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1338 * rowpainter.C (paintFirst): simplify the code a little bit. In
1339 particular, remove the test for secnumdepth.
1340 * text.C (setHeightOfRow): only allocate space for chapter number
1341 when updateCounters provided an actual label, instead of looking
1342 at secnumdepth directly.
1344 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1346 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1347 paragraphs when secnumdepth is large enough or, for environments,
1348 when they are not the first in a sequence.
1350 2005-04-17 Angus Leeming <leeming@lyx.org>
1352 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1353 containing space and '~' characters with a call to latex_path().
1355 2005-04-17 Angus Leeming <leeming@lyx.org>
1357 * converter.C (convert): protect all args of convertDefault.sh
1360 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1362 * text3.C (dispatch): change the layout to "Caption" after inserting
1365 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1367 * text3.C (dispatch): fix language problem in newly created
1368 textinsets (and main text) in non-english docs
1370 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1372 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1373 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1374 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1376 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1380 * text2.C (getFont):
1381 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1384 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1386 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1387 output of \item arguments without trailing text.
1389 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1391 * FontIterator.C (operator*): avoid a copy of the font.
1393 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1395 * rowpainter.C (getFont): fix language bug from previous fix
1397 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1399 * rowpainter.C (RowPainter, getFont): fix font inside inset
1402 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1404 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1405 preventing inserted font, deco, delim insets jumping to start of
1408 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1410 * lyxfunc.C (dispatch): translate message before sending it to the
1413 2005-03-29 Angus Leeming <leeming@lyx.org>
1415 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1416 to LyX on the command line.
1418 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1420 * vc-backend.C: use QuoteName to protect file names wherever
1423 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1426 * BranchList.h: fix bugs 1844,1845: document settings don't
1429 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1431 * lyxrc.C (setDefaults, read, output, getDescription): add support
1432 for tex_allows_spaces.
1434 * exporter.C (Export): allows files in directory containing spaces
1435 if tex_allows_spaces is true.
1437 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1438 output it in double quotes.
1440 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1442 * rowpainter.C: use default text height for drawing change tracker
1445 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1447 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1449 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1451 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1452 directory is missing.
1454 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1456 * text2.C: fixed the fix, extended to other case.
1458 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1460 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1462 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1464 * text2.C (cursorUp): get rid of a crash
1465 * text.C (x2pos): add an assert
1467 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1469 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1473 * dociterator.C: include <boost/current_function.hpp>, which is
1474 needed when assertions are disabled.
1476 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1478 * text2.C: fix for stuck cursor when traversing two
1479 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1481 2005-02-25 Andreas Vox <avox@arcor.de>
1483 * output_docbook.C (makeParagraph): suppress trailing newline
1484 after a run of paragraphs
1486 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1488 * paragraph.C: fix for confused change tracker when pasting
1489 text that begins with a lineseparator. [bug 1827]
1490 (setChange(0, Change::INSERTED);)
1492 * paragraph_funcs.C: fix for lost changes on triple-paste
1493 in change tracking mode [bug 1827] (par.setChange()).
1495 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1497 * text2.C (updateCounters, setCounter, expandLabel): move to
1500 * buffer_funcs.C (updateCounters): turn into a free standing
1501 function and add a buffer parameter. Remove dead code for tracking
1503 (setCounter): change into a free-standing function which gets a
1504 dociterator as argument. Use this iterator to fix captions in a
1505 simple way. When no float is found above the caption, use the
1506 labelstring of the caption layout as default.
1508 * text.C (breakParagraph, backspace):
1509 * text2.C (init, setLayout, changeDepth):
1510 * text3.C (dispatch):
1511 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1514 * dociterator.C (forwardPar): make it much faster by calling
1515 forwardPos() only when really necessary.
1517 * output_docbook.C (makeCommand): adapt to expandLabel move.
1519 * cursor.C: remove unused variable
1521 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1523 * paragraph_funcs.C: fix crash when pasting insets in change
1524 tracking mode [bug 1277] (honour change type in moveItem).
1526 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1528 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1530 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1532 * BufferView.C (setCursor): change to use a DocIterator.
1533 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1534 (putSelectionAt): adapt to BufferView::setCursor change.
1536 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1537 moved here from LyXText and rewritten to use proper cursor
1538 methods. Fixes bug 1787, 616 and 835.
1540 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1541 when inside an inset (part of bug 781).
1542 (dispatch): adapt to change of BufferView::setCursor.
1543 (getStatus, dispatch): handle LFUN_GOTOERROR,
1544 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1546 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1547 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1548 * text3.C (gotoNextInset, gotoInset): removed.
1550 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1552 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1554 2005-02-15 Angus Leeming <leeming@lyx.org>
1556 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1557 can be used meaningfully in a comparison.
1559 2005-02-13 André Pönitz <poenitz@gmx.net>
1561 * bufferview_funcs.C (coordOffset): improve cursor drawing
1563 2005-02-13 André Pönitz <poenitz@gmx.net>
1565 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1566 * Cursor.C (dispatch): use fixIfBroken
1567 * lyxfunc.C (getStatus): use fixIfBroken
1569 2005-02-15 Angus Leeming <leeming@lyx.org>
1571 * lyx_main.C (error_handler):
1573 * lyxrc.C (setDefaults):
1575 #include "environment.h".
1577 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1579 2005-02-15 Angus Leeming <leeming@lyx.org>
1581 * lyxserver.C (startPipe): squash MSVC warning "local variable
1582 'fd' used without having been initialized".
1584 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1586 * BufferView_pimpl.C: revert accidental commit.
1588 2005-02-14 André Pönitz <poenitz@gmx.net>
1590 * dociterator.[Ch]: new member forwardPosNoDescent(),
1591 which doesn't enter nested insets.
1592 * text2.C (setFont): use forwardPosNoDescent() instead
1593 of ForwardPos() (fixes crash on font change).
1595 2005-02-13 Angus Leeming <leeming@lyx.org>
1597 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1598 only if lyxrc.path_prefix is not empty.
1600 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1602 * bufferparams.C (readGraphicsDriver): prevent crash
1604 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1606 * text2.C (setCounter): check for inInset() == 0
1608 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1610 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1611 but use update() to get correct screen display; use convert
1612 instead of istringstream.
1613 (getStatus): handle LFUN_GOTO_PARAGRAPH
1615 * lyxfunc.C (dispatch, getStatus): do not handle
1616 LFUN_GOTO_PARAGRAPH here.
1618 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1620 * text3.C (dispatch): size() -> depth()
1622 * text2.C: remove some debug output
1624 * paragraph.C: ws changes only
1626 * lyxfunc.C (getStatus): size() -> depth()
1628 * dociterator.h (clear, push_back, pop_back, internalData,
1629 operator[], resize, empty): new functions
1630 Make StableDocIterator and operator== be friends. Don't inherit
1631 from std::vector use a privat class variable slices_ instead.
1634 * dociterator.C: update because of not inheriting from std::vector
1635 anymore. Call explictly to slices_ instead. Use depth() instead of
1636 size() and top() instead of back()
1638 * cursor.C: chagne size() -> depth and back() -> top(). Also
1639 remove some direct operator[](i) calls in favour of foo[i]
1640 (getFont): remove some dead code
1642 * bufferview_funcs.C (coordOffset): size() -> depth()
1644 * buffer.C: ws changes only
1646 * CutAndPaste.C (eraseSelection): back() -> top()
1648 * BufferView_pimpl.C (selectionRequested): back() -> top()
1650 * BufferView.C (setCursor): size() -> depth()
1652 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1654 * text3.C (cursorPrevious): return true if depm changed something
1656 (dispatch): rename sl to oldTopSlice, remove moving use the new
1657 NoUpdate func attrib instead. Make sure that needsUpdate is set
1658 for function that have NoUpdate, but where depm might have changed
1661 * text2.C (cursorLeft): make us return true if depm changed
1663 (cursorRight): ditto
1664 (cursorUpParagraph): ditto
1665 (curosrDownParagraph): ditto
1666 (cursorUp, cursorDown): ditto, make sure to read comments in code
1667 (deleteEmptyParagraphMechanism): remove an assert, also return
1668 true if just a single char was deleted.
1670 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1671 cursor that we modify, to avoid modifying an active cursor before
1672 we call setCursor. This allows depm to run. Also return true if
1673 depm deleted something.
1675 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1676 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1677 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1678 something was changed in the buffer because of them (ie. depm run)
1680 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1681 debug messages. Make update by default be false. Make sure that
1682 the result of update is retained throught several calls down to
1685 * LyXAction.h: add a new func_attrib: NoUpdate
1687 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1688 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1689 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1691 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1693 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1695 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1696 bv_->owner(), bv_->buffer() by direct references to the private
1698 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1699 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1700 (fitCursor): center() is in BufferView::Pimpl.
1701 (getStatus, trackChanges, dispatch): no need for a temporary buf
1703 (fitCursor, workAreaDispatch): use workarea().workheight()
1705 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1707 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1709 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1711 * buffer.C: format up to 241.
1712 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1713 break if pasting into ERT
1714 * lyxfunc.C (getStatus): suppress mathpanel and
1715 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1717 2005-02-01 Angus Leeming <leeming@lyx.org>
1719 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1721 2005-02-01 Angus Leeming <leeming@lyx.org>
1723 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1724 calling fs::is_directory().
1726 2005-01-31 Angus Leeming <leeming@lyx.org>
1728 * lyx_main.C (priv_exec): specify explicitly the relative location
1729 of the top level build directory when run in-place.
1731 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1733 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1734 LyXText containing the cursor, not the top-level one.
1736 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1738 (insertStringAsLines): rename par to pit; use temporary variable
1739 par to hold a Paragraph; do not store par.layout() in a variable,
1740 since the pointer may die when breaking paragraphs; pass pars to
1741 breakParagraph() instead of Buffer::paragraphs().
1743 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1745 * lyxlex_pimpl.h: #include <fstream>.
1747 * BufferView.[Ch] (getLyXText): add a const version.
1749 * BufferView_pimpl.C: add debug aids.
1754 * paragraph_funcs.h: add commentary explaining what the class does.
1757 * coordcache.[Ch]: add lots of commentary.
1758 (startUpdating, doneUpdating): debug aids.
1759 (arrays, insets, parPos, getParPos): accessors to private data.
1761 * cursor_slice.[Ch] (text): add a const version.
1762 * dociterator.[Ch] (text, innerText): add const versions.
1764 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1767 * paragraph.C (getRow, pos2ros): add asserts.
1769 * paragraph.h: add commentary. Lots of.
1771 * paragraph.[Ch] (metrucs, draw): removed.
1774 * rowpainter.[Ch]: const-correct changes.
1776 * text.C: various obvious clean-ups. Removal of ancient cruft.
1779 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1781 * vc-backend.C (find_file): rewrite to use boost.filesystem
1784 * main.C (main): set default name check for boost.filesystem to
1787 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1790 (actOnUpdatedPrefs): ditto
1792 * lyx_main.C (init): rewrite to use boost.filesystem
1793 (queryUserLyXDir): ditto
1795 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1796 (getContentsOfAsciiFile): ditto
1798 * lastfiles.C (readFile): rewrite to use boost.filesystem
1800 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1802 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1803 (loadLyXFile): ditto
1805 * buffer.C (Buffer): adjust for destroydir
1806 (getLogName): rewrite to use boost.filesystem
1807 (setFileName): ditto
1808 (save): use fs::copy_file (from fs_extras)
1810 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1812 * LaTeX.C (run): rewrite to use boost.filesystem
1813 (scanAuxFiles): ditto
1814 (handleFoundFile): ditto
1816 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1818 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1820 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1822 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1824 * lyxlayout.[Ch]: change some vars from float to double
1826 * buffer.C (readFile): make a local var const
1828 * Several files: use convert<> instead of atoi,strToXXX and friends
1830 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1832 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1833 holds the contents of packages.lst. New functions getAvailable
1834 and isAvailable to parse and check that list, resp.
1838 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1840 * bufferparams.[Ch]: new param output_changes.
1842 * Buffer.C: increase file format to 240.
1843 Use output_changes and isVailable.
1847 * paragraph_pimpl.C: Use output_changes and isVailable.
1849 2005-01-23 Angus Leeming <leeming@lyx.org>
1851 * output_latex.C: #include "insetbibitem.h", rather than
1852 forward declare function bibitemWidest.
1854 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1856 * lyx_main.C (init): make it compile on the Mac.
1858 2005-01-20 Angus Leeming <leeming@lyx.org>
1860 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1861 (setLyXMisc): (char string literal) != (char string literal) is
1862 performing a comparison on the addresses. Convert one operand
1863 explicitly to string to guarantee expected behaviour.
1866 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1869 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1871 * output_plaintext.C: remove unneeded #include gzstream.h.
1873 2005-01-20 Angus Leeming <leeming@lyx.org>
1875 * SpellBase.h: rename some of the elements of the Result enum.
1882 * pspell.C (check): ditto
1884 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1886 * buffer.C: add #include <fstream>.
1888 * lyx_main.C (init): Compile fix.
1890 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1892 2005-01-20 Angus Leeming <leeming@lyx.org>
1894 * mover.h: change commentary to reflect the changed meaning of
1895 the $$s placeholder.
1897 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1899 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1901 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1903 2005-01-20 Angus Leeming <leeming@lyx.org>
1905 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1906 printing diagnostic data by not dereferecing an iterator past the
1909 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1911 * buffer.C (readHeader): use "&&" rather than "and".
1913 * lyxserver.h (inPipeName, outPipeName): make these const.
1915 2005-01-19 Angus Leeming <leeming@lyx.org>
1917 * lyx_main.C (error_handler, init): protect SIGHUP with
1918 #ifdef SIGHUP guards.
1920 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1922 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1924 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1926 * text.C (setHeightOfRow): add a margin at the top and bottom of
1927 the document (bug 1761)
1929 2005-01-17 Angus Leeming <leeming@lyx.org>
1931 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1932 with "python ". Workaround for a brain-dead Windows.
1934 2005-01-16 Angus Leeming <leeming@lyx.org>
1936 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1937 for MacOSX and Windows to use prependEnvPath.
1938 Strip out the hard-coded block to add elements to the PATH for
1939 MacOSX and replace it with a call to prependEnvPath using the
1940 contents of LyXRC::path_prefix.
1941 (queryUserLyXDir): strip out the code to run reconfigure, instead
1942 returning a boolean indicating the necessity to do so.
1943 (reconfigureUserLyXDir): contains the code to reconfigure the
1944 user support directory. Is now called after the various LyXRC data
1945 files have been read.
1947 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1949 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1951 * converter.[Ch] (convert): take a new parameter try_default. Use
1952 a default converter (imagemagick) if try_default is true.
1954 2005-01-13 Angus Leeming <leeming@lyx.org>
1956 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1957 os::cygwin_path_fix.
1958 (write): output LyXRC::cygwin_path_fix as necessary.
1960 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1963 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1965 2005-01-12 Angus Leeming <leeming@lyx.org>
1967 * lyx_main.C (init): set the PATH variable to include the
1968 directory containing the LyX binary when running on Mac or Windows.
1970 2005-01-12 Angus Leeming <leeming@lyx.org>
1972 * lyx_main.C (init): remove cruft that purports to set the locale
1973 dir. It doesn't and is not needed anyway.
1975 2005-01-10 Angus Leeming <leeming@lyx.org>
1977 * Makefile.am: remove the lyx_main.C special casing.
1979 * BufferView_pimpl.C:
1985 * messages.C: use support/package.h to provide the paths to the
1986 various directories used by LyX.
1988 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1990 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1991 layout if pasting into an empty paragraph)
1993 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1995 * tex-accent.C: add <string>
1997 2005-01-06 José Matos <jamatos@lyx.org>
1999 * ParagraphParameters.C (write): put every parameter in its own line.
2000 * paragraph.C (write): reduce number of consecutive empty lines exported.
2001 * buffer.C (LYX_FORMAT): increase file format to 239.
2003 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2005 * everywhere: change support/tostr.h -> support/convert.h
2007 * tabular.C: make all write_attributes templates, tostr -> convert
2009 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
2010 (emptyTag): and -> &&, and fix type for ret from getChar
2011 (getFirstWord): fix type for ret from getChar
2012 (onlyText): and -> &&
2013 (simpleDocBookOnePar): and not -> && !, fix type for ret from
2016 * toc.C (goTo, action):
2017 * text3.C (dispatch):
2018 * text.C (currentState):
2019 * tex-accent.C (DoAccent):
2022 * lyxfunc.C (menuNew):
2023 * lyxfinc.C (replace):
2024 * counters.C (laberItem):
2025 * bufferview_funcs.C (font2string):
2026 * bufferparams.C (writeFile):
2027 * buffer.C (readFile):
2029 * MenuBackend.C: tostr -> convert
2031 * LaTeX.C (runMessage): fix format
2032 (scanAuxFiles): tostr -> convert
2034 * BufferView_pimpl.C (savePosition): fix format
2035 (restorePosition): ditto
2038 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2040 * Spacing.[Ch]: New method getValueAsString().
2044 * ParagraphParameters.C:
2047 * text3.C: store/read spacing value as string.
2049 * rowpainter.C: change float value (spacing_val) to double.
2051 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
2052 broken custom document spacing).
2054 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2056 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2057 namespace, also more use of temp references and const
2059 * cursor.[Ch] (getStatus): move to lyxfunc.C
2061 * bufferparams.C: reformat slightly
2063 * bufferview_funcs.C (font2string): constify arg
2069 * buffer_funcs.C: (many funcs): constify arg on function
2070 definitions, also make more local vars const, also add ASSERTS on
2073 * buffer.C (LYX_FORMAT): put const in correct place
2074 (many funcs): constify arg on function definitions, also make
2075 more local vars const
2077 * aspell_local.h: remove "struct" from typdef setup
2079 * aspell.C (check): make word_ok const
2080 (nextMiss): simplify slightly
2083 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2085 * lyxrc.[Ch]: store all float values as strings.
2086 use int (not float) for lyxrc.dpi.
2088 2005-01-04 Angus Leeming <leeming@lyx.org>
2090 * lyx_cb.C (Reconfigure):
2091 * lyx_main.C (queryUserLyXDir):
2092 to run the <system_lyxdir>/configure correctly on Windows, prefix
2093 the path to the script with "sh " when generating the string that
2094 is passed to system().
2096 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2098 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2100 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2102 * lyxlength.C (asLatexString): get rid of setprecision
2104 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2106 * text2.C (setLayout): remove unused variable endpit.
2107 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2109 * paragraph.C (onlyText): remove unused variable style.
2111 * cursor.C (bruteFind): remove unused variables beg and end.
2113 * Makefile.am (dist_noinset_DATA): not needed anymore
2115 * cheaders/*: remove.
2117 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2119 * text3.C: fix LFUN_MATH_MODE.
2121 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2123 * buffer_funcs.C (countWords): new function. Counts words between
2126 * BufferView_pimpl.C (getStatus, dispatch): handle
2129 * LyXAction.C (init):
2130 * lfuns.h: add LFUN_WORDS_COUNT.
2132 2004-12-19 Angus Leeming <leeming@lyx.org>
2134 * buffer.C (save): s/slashify_path/internal_path/.
2136 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2138 * lyxfind.C (findChange): do not search for end of pars, because
2139 the change tracker cannot handle this (fixes bug 1719).
2141 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
2143 * paragraph.[Ch] (autoBreakRows): remove
2145 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2147 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2148 avoid using the paragraph one
2150 * text2.C (LyXText, insertStringAsLines): adjust
2152 2004-12-16 Angus Leeming <leeming@lyx.org>
2156 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2158 2004-12-14 Angus Leeming <leeming@lyx.org>
2160 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2162 * bufferlist.C (emergencyWrite):
2163 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2166 2004-12-14 Angus Leeming <leeming@lyx.org>
2168 * main.C: (main): no longer pass pointers to os::init.
2170 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2172 * undo.C (textUndoOrRedo): simplify logic, fix a crash
2173 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2175 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2178 * text3.C: remove selection_possible global flag
2180 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2182 * text2.C (getSelectionSpan): remove
2183 (changeDepth, changeDepthAllowed): adjust
2185 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
2187 * Makefile.am (BOOST_LIBS): use boost variables
2189 2004-12-03 José Matos <jamatos@lyx.org>
2191 * buffer.C: format up to 238.
2193 2004-12-03 José Matos <jamatos@lyx.org>
2195 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2197 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2199 * cursor.C (goUpDown): remove call to idxUpDown2
2201 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2203 * tabular.[Ch]: use size_t-like types for cell, row and column
2206 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2208 * lyxfunc.C (getStatus): do not lose previous information when
2209 calling BufferView::getStatus; do not set a default "Command
2210 disabled" message at the beginning, but just before returning.
2212 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2214 * cursor.h (getStatus): add better comment from src/cursor.C
2216 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2218 * text3.C (getStatus): return false when the lfun is not handled
2220 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2222 * broken_headers.h: remove
2224 * Makefile.am (lyx_SOURCES): remove broken_headers.h
2226 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2228 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2229 offset_ref accessors
2231 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2232 top_y_, merge fitcursor with update
2233 (updateScrollbar, scrollDocView, fitCursor, center, update): new
2235 (metrics): introduce
2236 (workAreaDispatch): adapt to new coord scheme
2237 (redoCurrentBuffer): remove
2239 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2241 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2244 * coordcache.[Ch]: add paragraph cache and helpers
2246 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2249 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2250 (targetX, setTargetX): introduce
2252 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2253 baseline -> ascent, as the rest of lyx
2255 * lyxtext.h: remove redoParagraphs, updateParPositions,
2256 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2257 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2258 have ascent/descent (ascent is ascent of first par)
2260 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2263 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2265 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2267 * pariterator.C: fix infinite loop introduced in par->pit renaming
2269 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2270 in insets and LyXText, draw two off-screen paragraphs using
2271 NullPainter, and adapt to new coord scheme
2275 * text3.C: adapt lfun handlers to the new coord scheme, which
2276 means: there's only guaranteed coord information for onscreen pars
2277 plus one above and one below. This implies that one can do search
2278 from y coordinates in the range [-1,workHeight]
2280 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2282 * rename a lot of InsetOld to InsetBase
2284 2004-11-25 Angus Leeming <leeming@lyx.org>
2286 * BufferView_pimpl.C:
2288 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2290 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2292 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2293 call BufferView::getStatus if LCursor::getStatus did nothing
2294 (setStatusMessage, getStatusMessage): removed.
2296 * FuncStatus.C (message): new methods. Used to provide an error
2297 message indicating why a command is disabled.
2298 (clear, |=, FuncStatus): update for message.
2300 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2302 * lyxfunc.C (dispatch): always call sendDispatchMessage
2304 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2307 * BufferView_pimpl.C:
2312 * cursor_slice.[Ch]:
2315 * paragraph_funcs.C:
2321 * undo.C: par->pit renaming
2323 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2325 * tabular.C (cellstruct): use initialization, store a shared_ptr
2326 to insettext instead of the insettext directly, adjust to fit.
2327 (operator=): new function
2328 (swap): new function
2329 (rowstruct): use initialization
2330 (columnstruct): use initialization
2331 (ltType): use initialization
2334 * lyxlength.h (swap): new function
2336 * LColor.[Ch] (operator=): use the common semantics
2338 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2340 * lyxfind.C (findNextChange): update the bufferview after setting
2343 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2345 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2346 number of InsetOptArgs has already been inserted.
2348 * output_latex.C (latexOptArgInsets): new method. This outputs all
2349 the optarg insets, up to the limit defined in the layout file.
2350 (optArgInset): removed
2351 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2353 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2355 * paragraph.C (isLetter): remove special spellchecker-related
2356 code; return true also for digits
2357 (isWord, isKomma): remove
2359 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2360 * lyxfind.C (MatchString()): use isLetter instead of isWord
2362 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2364 * pariterator.h (operatir=): comment out un-implemented member
2367 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2370 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2372 * lyxfont.h: include LColor.h to satisfy concept checks.
2374 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2376 * pariterator.h: add typdefs for value_type, difference_type,
2377 pointer and reference to satisfy concept checks. Also add default
2378 constructor for same reason.
2380 * pariterator.C (operator++): add post-increment operator to
2381 satisfy concept checks.
2383 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2386 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2388 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2389 checks. Also rename base_type to BaseType to follow naming
2392 * FloatList.h: include Floating.h to satisfy concept checks.
2394 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2396 * lyxfunc.C (getStatus): when the origin of the request is menu or
2397 toolbar, and the LyXView does not have focus, do as if there was
2398 no buffer (bug 1720)
2400 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2401 FuncRequest to individual entries of LFUN_SEQUENCE
2403 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2405 * output_latex.C (TeXOnePar): override runparams.moving_arg
2406 according to the needprotect value of the current paragraph (bug
2409 * paragraph.C (simpleTeXOnePar): no need to override
2410 runparams.moving_args here
2412 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2414 * vspace.C: fix off-by-one-error, related to fix #1682
2416 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2418 * lengthcommon.C: a more general fix for bug 1682
2420 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2422 * text.C (backspace): fix crash
2424 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2426 * format.[Ch] (getFormatFromFile): new method
2427 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2429 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2431 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2433 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2435 * lyxfunc.C (dispatch): remove the verbose argument
2436 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2439 * kbmap.C (defkey): set the origin of func to KEYBOARD
2441 * MenuBackend.C (MenuItem):
2442 * ToolbarBackend.C (add): set the origin of func to UI
2444 * funcrequest.[Ch]: add origin member, which indicates which part
2445 of LyX requests an action
2447 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2449 * converter.C (move): don't lie in the error message
2450 * converter.h (isReachable, move): document
2452 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2454 * buffer.C: remove unused using lyx::support::atoi
2455 * paragraph_funcs.C: ditto
2457 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2459 * bufferlist.C (exists): use bind and equal_to instead of
2462 * lyxtextclasslist.C (NumberOfClass): ditto
2464 * cursor.C (insert): use for_each instead of explicit for loop
2466 * bufferlist.C (getFileNames): use std::transform and
2467 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2469 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2472 * buffer.C (changeLanguage): use for_each instead of explicit for
2474 (hasParWithID): implement using getParFromID
2476 * LaTeXFeatures.C: ws change only
2478 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2481 * BufferView_pimpl.C (trackChanges): use for_each instead of
2484 2004-11-04 André Pönitz <poenitz@gmx.net>
2487 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2489 * dociterator.C (asDocIterator): use hard assert again.
2491 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2493 * lyxlength.C (asLatexString): rewrite so that it does not use
2496 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2498 * text3.C (specialChar, dispatch): make sure cursor moves to the
2499 right after inserting an inset
2501 2004-11-02 José Matos <jamatos@lyx.org>
2503 * output_docbook.C (docbook):
2504 * paragraph.C (getID):
2505 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2506 garantee that the output is always legal.
2508 * tabular.C (docbook):
2509 * outputprams.[Ch]: remove mixed contents.
2511 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2513 * text2.C (setCounter): prevent endless loop
2515 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2517 * exporter.C (copyFile): use the mover instead of support::copy()
2518 * exporter.C (Export): pass format and latex name to copyFile()
2519 * exporter.h (addExternalFile): document
2520 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2522 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2524 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2526 2004-10-30 José Matos <jamatos@lyx.org>
2528 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2529 text and no inset or font change. This allows to use CDATA
2530 sections just for the whole paragraph.
2532 2004-10-30 José Matos <jamatos@lyx.org>
2534 * paragraph.C (getFirstWord): remove unused variable.
2536 2004-10-30 José Matos <jamatos@lyx.org>
2538 * paragraph.C (getFirstWord): the content should always be escaped
2540 (simpleDocBookOnePar):
2541 * output_docbook.C (makeEnvironment): replace reference to CDATA
2544 2004-10-30 José Matos <jamatos@lyx.org>
2546 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2548 2004-10-30 José Matos <jamatos@lyx.org>
2550 * output_docbook.C (makeParagraphs):
2551 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2552 standard paragraph has only a given type of content drop the wrapper.
2554 2004-10-29 José Matos <jamatos@lyx.org>
2556 * output_docbook.C (makeEnvironment):
2558 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2560 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2562 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2563 (cleanID): sanitize any id.
2565 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2567 * buffer.C, lyxlex_pimpl.C:
2568 * lyxlex_pimpl.C (setFile):
2569 s/getExtFromContents/getFormatFromContents/
2571 2004-10-28 José Matos <jamatos@lyx.org>
2573 * output_docbook.C (makeEnvironment): move id to broadest possible
2576 * sgml.C (openTag): apply substitution of <> for all attributes.
2578 2004-10-28 José Matos <jamatos@lyx.org>
2580 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2581 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2582 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2584 * sgml.[Ch]: new version for open and closeTag for paragraph and
2585 for strings. Now they handle the ids of paragraphs.
2587 2004-10-26 Angus Leeming <leeming@lyx.org>
2589 * Makefile.am: add mover.[Ch].
2591 * converter.C (convert, move): use the new Movers to move external
2592 files to the temp directory.
2594 * lyx_main.C (init): ensure that the global system_movers data
2597 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2600 * mover.[Ch]: new files, defining a Mover as a utility to move an
2601 external file between directories and, if necessary, manipulate this
2602 file using a helper script.
2604 2004-10-25 José Matos <jamatos@lyx.org>
2606 * output_docbook.C (makeCommand): merge two if's that tested the
2609 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2611 * sgml.C (escapeString): fix warning in a better way
2613 2004-10-25 José Matos <jamatos@lyx.org>
2615 * sgml.C (escapeString): import the require boosts header file for
2616 tie, and avoid a signed unsigned comparison.
2618 2004-10-25 José Matos <jamatos@lyx.org>
2620 * sgml.h: add #include <string>
2622 2004-10-25 José Matos <jamatos@lyx.org>
2624 * sgml.[Ch] (escapeString): new function to escape all the string.
2626 2004-10-24 José Matos <jamatos@lyx.org>
2628 * paragraph.[Ch] (getFirstWord): new function to get the first
2629 word. Useful for description.
2630 (simpleDocBookOnePar): remove depth argument, add another that
2631 says where to start the paragraph.
2633 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2634 use the new functions to fix cleanly the support for descriptions.
2636 2004-10-24 José Matos <jamatos@lyx.org>
2638 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2639 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2640 * output_linuxdoc.C (linuxdocParagraphs):
2641 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2642 add buffer as argument.
2644 2004-10-24 José Matos <jamatos@lyx.org>
2646 * output_docbook.C (makeEnvironment, searchEnvironment): place
2647 CDATA inside paragraphs and fix scope for listitems.
2649 2004-10-24 José Matos <jamatos@lyx.org>
2651 * output_docbook.C: remove using statement for stack.
2653 2004-10-23 José Matos <jamatos@lyx.org>
2655 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2656 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2657 docbook. The new scheme is recursive and makes use of iterators, the
2658 same as latex export works.
2659 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2660 directly with the paragraph contents. This code was moved up to
2661 output_docbook.C (docbookParagraphs).
2662 * sgml.C (openTag, closeTag): removed unneeded newlines.
2663 (closeEnvTags) removed.
2665 2004-10-23 André Pönitz <poenitz@gmx.net>
2667 * undo.C (textUndoOrRedo):
2668 * dociterator.C (asDocIterator): work around crash
2670 * cursor.C (getStatus): replace ASSERT by more verbose error message
2671 and manual correction of the problem. Should increase stability
2672 while providing more sensible information.
2674 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2676 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2678 * bufferlist.C (previous, next): new methods
2681 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2683 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2685 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2686 entities to preamble.
2688 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2690 * messages.C (Pimpl): strip off translation context information
2692 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2694 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2695 the cursor is correct (bug 1694)
2697 2004-10-13 José Matos <jamatos@lyx.org>
2699 * output_docbook.C (docbookParagraphs): fix closing tags in the
2700 end of the document.
2702 2004-10-09 José Matos <jamatos@lyx.org>
2704 * buffer.C: format up to 237.
2705 * bufferparams.C (write): use tostr to convert booleans to strings.
2707 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2709 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2711 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2713 * LaTeX.C: implement use of babel language in xindy.
2715 2004-10-05 José Matos <jamatos@lyx.org>
2717 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2718 Add new translators to help reading and writing the lyx file.
2720 2004-10-05 José Matos <jamatos@lyx.org>
2722 * ParagraphParameters.C (read):
2723 * text.C (readParToken): replace nexToken by more appropriate lex
2726 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2728 * LaTeX.C (runMakeIndex):
2729 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2730 (usually 'makeindex') configurable.
2732 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2733 with a variable rather than with a number.
2735 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2737 * output_latex.C (TeXOnePar): make sure font setting is the first
2738 thing that gets output (and the last at the end). Should fix bug
2741 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2743 * pch.h: use proper signal include
2745 * LaTeX.h: Use preferred calling of Boost.Signal
2748 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2750 * pch.h: dont include <boost/function/function0.hpp>
2752 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2754 * paragraph_pimpl.h: remove usage of ShareContainer
2756 * paragraph_pimpl.C: remove initialization of ShareContainer.
2758 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2762 * BufferView.C (putSelectionAt): change the semantics when
2763 backwards == true: now, this just swaps cursor and anchor wrt the
2766 * BufferView.h (putSelectionAt): add some documentation
2768 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2769 make sure backwardChar is done at least once (to avoid getting
2771 (findNextChange): use putSelectionAt in the forward direction
2772 (operator()): use Paragraph::isWord
2774 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2776 * Spacing.C (set): c_str fix
2778 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2780 * lyx_cb.C (Reconfigure): quote the name of configure script in
2781 case it contains spaces
2783 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2787 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2788 (BOOST_LIBS): use top_buildir when looking for the file
2790 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2792 * pch.h: do not use include boost/format.hpp, multiple symbols
2793 will result (gcc bug)
2796 2004-08-23 José Matos <jamatos@lyx.org>
2798 * bufferparams.C (readToken): fix reading of the author field.
2800 2004-08-20 José Matos <jamatos@lyx.org>
2802 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2804 2004-08-20 José Matos <jamatos@lyx.org>
2806 * lyxlex.[Ch] (findToken): remove function.
2808 * ParagraphParameters.C (findToken):
2809 * bufferparams.C (findToken): replace call for previous function
2810 with local copy. This local function has one more argument, the
2811 read string argument.
2813 2004-08-16 José Matos <jamatos@lyx.org>
2815 * ParagraphParameters.C (write):
2816 * Spacing.C (writeFile):
2817 * bufferparams.C (writeLaTeX):
2818 * lyx_cb.C (Reconfigure):
2819 * paragraph.C (write):
2820 * tabular.C (write): remove unnecessary space at end of line.
2823 2004-08-16 José Matos <jamatos@lyx.org>
2825 * text.C (readParagraph): remove debug message.
2827 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2829 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2832 * output_plaintext.C (asciiParagraph): set depth correctly
2834 * outputparams.h: add member depth
2836 * paragraph_funcs.C (ownerPar): remove.
2838 * text2.C (setCounter): remove first_pit; comment out some
2839 non-working code that uses ownerPar
2841 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2844 2004-08-16 José Matos <jamatos@lyx.org>
2846 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2847 For the same level of importance use the same chanel to report problems.
2848 (read): add code to deal with \begin_body and \end_body.
2851 2004-08-15 José Matos <jamatos@lyx.org>
2853 * lyxlex.C (getString): fix comment, buffer::readBody is now
2854 buffer:readDocument.
2856 * tex-strings.C (string_papersize): Default -> default,
2857 Custom -> custom, for consistency with other options.
2859 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2863 * Makefile.am: support pch
2865 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2867 * text.C (readParToken): remove the static LyXFont variable and
2868 pass it as a parameter instead. This fixes a nasty bug where an
2869 inset will be inserted with a bad font in some situations
2870 (readParagraph): adapt
2872 * text2.C (setCounter): reduce number of calls to pars_[pit]
2874 * text.C (singleWidth): add an assert, fix a test
2876 * rowpainter.C (paintText): reduce number of calls to singleWidth
2878 * paragraph.C (isHfill):
2879 (isNewline): ws only
2881 2004-08-14 André Pönitz <poenitz@gmx.net>
2886 * lyxtext.h (several functions): use a Paragraph & argument
2889 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2891 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2893 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2895 * text.C (singleWidth): remove useless test
2897 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2899 * tabular.h: remove bogus comments
2901 * tabular.C (getDescentOfRow):
2902 (isPartOfMultiColumn): add assertions
2904 * lyxlength.C (inPixels): remove #warning
2906 2004-08-14 André Pönitz <poenitz@gmx.net>
2908 * paragraph.h: inline getChar()
2910 * BufferView.h: remove unused declarations
2912 2004-08-14 José Matos <jamatos@lyx.org>
2914 * Buffer.[Ch] (readDocument): new name for old readBody.
2915 * Buffer.C: new file format, new keywords: \begin_document,
2916 \begin_header, \begin_body, \end_body.
2918 * bufferparams.C (readToken): replace all calls to lex.nextToken
2919 by lex.next(). Do the same to eatLine except where really needed.
2921 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2922 line when writing to the lyx file.
2924 * output_plaintext.C (asciiParagraph): fix Bibliography style
2927 * text.C (read): fix end of file handling.
2929 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2931 * MenuBackend.C (Menu::operator[]): new method to access
2932 individual menu items
2933 (Menu::hasFunc): new method. search for an item that corresponds
2935 (MenuBackend::specialMenu): new method
2936 (MenuBackend::expand): if a special menu has been set, skip
2937 entries whose func() appears in this menu
2939 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2941 * text3.C: use Debug::DEBUG a bit more
2943 * text.C (leftMargin): try to simplify a tiny bit change var x to
2944 l_margin. Dont output the wide margins always.
2945 (rightMargin): no margin in inner texts
2947 * rowpainter.h (nestMargin): new func
2948 (changebarMargin): new func
2949 (rightMargin): new func
2951 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2955 * factory.C (createInset): modify setDrawFrame
2957 * cursor.C: use Debug::DEBUG a bit more
2959 2004-08-14 André Pönitz <poenitz@gmx.net>
2962 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2963 cache for all insets in (at least partially) visible (top-level)
2966 * BufferView_pimpl.C: reset external coord cache before every update.
2967 This means the coord cache only contains valid entries.
2969 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2972 * BufferView_pimpl.C (getInsetByCode): move function out of class
2973 and change in to a template in anon namespace. Also fix to do what
2976 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2979 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2981 (breakParagraph): rename par to par_offset and use a local
2982 reference. Add code to keep the language over a rebreak.
2983 (breakParagraphConservative): rename par to par_offset, use a
2985 (mergeParagraph): ditto
2987 (isFirstInSequence): ditto
2988 (outerFont): rename pit to par_offset
2990 * paragraph.C: ws change
2991 * paragraph.h: ditto
2995 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2997 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
3000 * paragraph.C (simpleTeXOnePar): when we have a \item with
3001 optional argument, enclose the argument with curly brackets (in
3002 case it contains a closing square bracket)
3006 * text3.C (checkInsetHit): constify
3008 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3010 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
3011 documents (bug 1629)
3013 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3015 Fix toggling of collapsable insets with the mouse (bug 1558)
3017 * lyxfunc.C (dispatch): adapt to LCursor changes
3019 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
3020 make sure that dispatch is not invoked twice
3022 * cursor.C (needsUpdate): new method
3023 (dispatch): return void
3024 (result): new method, to access the DispatchResult of the cursor.
3026 2004-08-13 José Matos <jamatos@lyx.org>
3028 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
3030 2004-08-13 André Pönitz <poenitz@gmx.net>
3032 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
3034 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
3037 2004-08-12 André Pönitz <poenitz@gmx.net>
3039 * text3.C: take out the 'cursor right' form insertInset and only
3040 do it in those places when it is really needed. Fixes crash on
3043 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3045 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
3047 * BufferView_pimpl.C (setBuffer): initialize the current font of
3048 the underlying LyXText
3050 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3052 * kbsequence.C (print): use UI native formatting for menu
3055 * text.C (insertChar): call Paragraph::insertChar with a font
3058 * paragraph.C (insertInset, insertChar): the version that takes a
3059 LyXFont argument is now a wrapper around the other one (the
3060 opposite used to be true).
3062 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3063 argument. Font setting is done in Paragraph now.
3065 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3067 * outputparams.h: add new members intitle and lang.
3069 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3070 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3072 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3074 * text3.C (dispatch): remove special handling of button 4 and 5,
3075 it is now taken care of in the frontend code.
3077 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3079 * Spacing.h: add <string> (STLPort compile fix)
3081 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3083 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3085 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3087 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3090 * converter.C (showMessage): inherit from unary_function, make
3093 * buffer.C (writeFile): initialize retval
3095 * InsetList.h: rename private variable list to list_
3096 * InsetList.[Ch]: adjust accordingly.
3098 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3100 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3101 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3102 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3103 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3104 * ParagraphParameters.C, LaTeXFeatures.C: replace
3105 "support/std_sstream.h" with <sstream>
3107 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3109 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3110 * lyxsocket.C (LyXServerSocket): ditto
3111 (serverCallback): ditto
3113 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3115 * LaTeXFeatures.C: check release date when loading jurabib.
3117 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3119 * lyxserver.C (startPipe): call register_socket_callback
3120 (endPipe): call unregister_socket_callback
3122 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3124 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3125 (LyXServerSocket): register the callback
3126 (LyXServerSocket): unregister the callback
3127 (fd): delete function
3128 (serverCallback): improve error checking and setup the callbacks.
3129 (dataCallback): change arg to fd.
3130 (writeln): new func (copied fro the client socket) used for server
3132 (LyXDataSocket): simplify
3133 (~LyXDataSocket): close ann unregiser callback
3134 (server): delete function
3135 (fd): delete function
3136 (readln): small changes, improve some std::string usage
3137 (writeln): constify a bit
3139 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3141 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3144 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3146 * BufferView_pimpl.C (setBuffer): set the layout combox value only
3147 after it has been populated
3149 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3151 * text2.C (insertInset): move cursor when inserting inset.
3153 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3155 * kbmap.C (findbindings): a couple of new methods. returns a
3156 container of kb_sequence objects. The real work is done by the
3157 private recursive version
3158 (printbindings): uses findbindings to print out a bracketed list
3159 of bindings (renamed from findbinding).
3161 * MenuBackend.C (binding): use kb_keymap::findbindings
3163 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3165 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3167 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3169 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3171 * paragraph.C (isWord): return true on insets that report
3174 * text.C (getWord): use Paragraph::isWord to decide what is in a
3175 word and what is not; fix bug 1609.
3177 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3179 * tex-strings.C: add "none" to string_paperpackages[], fixes
3180 off-by-one-error in the paperpackage selection.
3183 * tex-strings.[Ch]: char const * string[n]
3184 -> char const * const string[]
3186 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3188 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3189 command, return early.
3191 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3193 * debug.h: add DEBUG to enum and fix size of ANY.
3195 * debug.C: add support for Debug::DEBUG
3196 (showTags): cast errorTags.level to unsigned int
3198 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3199 (redoCurrentBuffer): ditto
3200 (updateScrollbar): ditto
3201 * cursor.C (dispatch): ditto
3202 * text2.C (setLayout): ditto
3204 (updateCounters): ditto
3206 (deleteEmptyParagraphMechanism): ditto
3208 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3210 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3211 annotations to cleanup the Makefile slightly.
3213 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3215 * lyxrc.C: do not set user_email to a default value but use empty
3216 instead. The entry used to be translated, which does not work
3217 since at the point where lyxrc is constructed there is no
3218 translation service available
3220 * messages.C (getLocaleDir): remove and use directly
3221 lyx_localedir() instead
3223 2004-06-02 Angus Leeming <leeming@lyx.org>
3225 Fix crash caused by dereferencing null pointer 'exportdata' in
3226 OutputParams by creating a new ExportData variable on the heap,
3227 storing it in a boost::shared_ptr.
3228 The crash was triggered when generating an Instant Preview
3229 of an external inset.
3231 * Makefile.am: add outputparams.C
3233 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3234 (c-tor): allocate memory to it.
3236 * exporter.C (c-tor): associated changes.
3238 2004-06-01 Angus Leeming <leeming@lyx.org>
3240 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3241 contains data before calling isInset(0). (Bug 1513.)
3243 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3245 * exporter.C (checkOverwrite): new method
3246 * exporter.C (copyFile): new method
3247 * exporter.C (Export): copy referenced files to the document dir
3248 * exporter.[Ch]: new class ExportedFile
3249 * exporter.[Ch]: new class ExportData. Contains currently the
3250 names of referenced external files
3251 * outputparams.h: add exportdata member.
3253 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3255 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3258 2004-05-19 Angus Leeming <leeming@lyx.org>
3263 * lyxfunc.C: small changes due to the introduction of namespace
3264 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3266 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3268 * text3.C (dispatch): supress update when only moving the cursor
3269 * cursor.C (selHandle): remove commented code
3271 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3273 * paragraph.C (startTeXParParams): correct column count
3274 * CutAndPaste.C (pasteSelection): remove const_cast
3275 * output_docbook.C (docbookParagraphs): remove const_cast
3276 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3277 const_cast and return ParagraphList::const_iterator
3278 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3279 * output_plaintext.C (writeFileAscii): remove const_cast
3280 * paragraph.[Ch] (simpleTeXOnePar): make const
3281 * paragraph_funcs.C (outerPar): use const iterators
3282 * paragraph_pimpl.C (validate): use const iterators
3283 * text.C (setHeightOfRow): use const iterators
3285 2004-05-17 Angus Leeming <leeming@lyx.org>
3288 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3290 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3291 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3292 if the citation engine has changed.
3294 2004-05-14 José Matos <jamatos@lyx.org>
3296 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3297 if the textclass does not provide it. Have it different for sgml and
3299 support the language of document.
3300 * output_docbook.C (docbookParagraphs):
3301 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3302 first anchor as the id of the paragraph, remove special case code.
3303 * sgml.C (escapeChar): escape only < & >.
3305 2004-05-14 Angus Leeming <leeming@lyx.org>
3307 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3308 dependencies on src/frontends/controllers/biblio.h. Define a
3309 CiteEngine_enum wrapper class to enable the enum to be forward
3312 2004-05-12 Angus Leeming <leeming@lyx.org>
3314 * buffer.C: up LYX_FORMAT to 234.
3315 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3316 use_numerical_citations with a single biblio::CiteEngine cite_engine
3318 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3320 2004-05-13 José Matos <jamatos@lyx.org>
3323 * converter.C (Converter, readFlags): add xml member.
3324 * outputparams.h: add XML flavor.
3325 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3327 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3329 * lyxfunc.C (dispatch):
3330 (getStatus): fix handling of LFUN_SEQUENCE
3332 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3334 * debug.C (showLevel): do not forget the end-of-line marker
3336 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3338 * kbmap.C (read): do not stop parsing a bind file when an error
3341 2004-04-29 Angus Leeming <leeming@lyx.org>
3346 * text2.C: wrap a bunch of #warning statements
3347 inside #ifdef WITH_WARNINGS blocks.
3349 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3351 * buffer.C: increment format to 233.
3353 2004-04-28 Angus Leeming <leeming@lyx.org>
3355 * BufferView_pimpl.C:
3358 s/updateToolbar()/updateToolbars()/
3359 s/Toolbar.h/Toolbars.h/
3361 2004-04-28 Angus Leeming <leeming@lyx.org>
3363 * BufferView.[Ch] (c-tor):
3364 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3365 No longer passes these data to the WorkArea generator.
3367 2004-04-28 Angus Leeming <leeming@lyx.org>
3369 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3371 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3373 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3375 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3377 * output_latex.C (TeXEnvironment): make sure that there is a line
3378 break before \end{foo} for the last paragraph of a document
3379 (TeXOnePar): if the paragraph is at the end of the document (or
3380 inset) and the language has to be reset, then make sure that the
3381 line break is _before_ the language command, not after (fixes bug
3382 1225); also make sure that the language reset command is the first
3383 thing after the paragraph (to ensure proper nesting of
3384 environments and thus fix bug 1404)
3386 2004-04-21 John Levon <levon@movementarian.org>
3389 * ToolbarBackend.C: make "name" be a programmatic name
3390 and a gui_name field.
3392 * lyxfunc.C: display the minibuffer on M-x
3394 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3396 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3399 2004-04-19 Angus Leeming <leeming@lyx.org>
3401 * BufferView_pimpl.C (setBuffer): changed preview interface.
3403 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3406 2004-04-19 John Levon <levon@movementarian.org>
3408 * BufferView_pimpl.C:
3409 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3411 2004-04-05 Angus Leeming <leeming@lyx.org>
3413 * text.C (redoParagraphs): add call to updateCounters(), thereby
3414 fixing the missing "Figure #:" label from the caption of a
3417 2004-04-13 Angus Leeming <leeming@lyx.org>
3419 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3420 cursor is clicked out of an inset.
3422 2004-04-13 Angus Leeming <leeming@lyx.org>
3424 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3425 than an InsetOld one.
3427 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3429 * format.[Ch]: add editor to Format
3430 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3431 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3433 2004-04-08 André Pönitz <poenitz@gmx.net>
3435 * metricsinfo.h: remove PainterInfo::width member
3437 2004-04-08 Angus Leeming <leeming@lyx.org>
3439 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3440 "\providecommand" rather than "\newcommand", thereby preventing
3441 clashes with packages that define "\boldsymbol" themselves.
3444 2004-04-08 Angus Leeming <leeming@lyx.org>
3446 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3447 thereby squashing an unnecessary warning.
3449 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3451 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3454 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3456 * BufferView.C (setCursor): call redoParagraph (some insets could
3458 (putSelectionAt): remove the 'double update' trick
3460 * BufferView_pimpl.C (fitCursor): call refreshPar
3461 (workAreaDispatch): remove an uneeded update call
3462 (dispatch): remove some manual update calls
3464 * cursor.[Ch]: remove cached_y_, updatePos
3465 (selHandle): set noUpdate when appropriate
3467 * lyxfunc.C (dispatch): track if we need an update
3469 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3471 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3472 (paintSelection): cheap optimization, do not call cursorX when not
3474 (paintPars): change signature
3477 (paintTextInset): adjust
3481 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3483 * lengthcommon.C: compilation fix: remove explicit array size from
3484 unit_name[] and friends
3486 2004-04-05 Angus Leeming <leeming@lyx.org>
3488 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3490 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3491 present only for the preferences dialog.
3492 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3494 2004-04-05 Angus Leeming <leeming@lyx.org>
3496 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3497 to enable the frontends to export changes to lyxrc correctly.
3499 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3501 2004-04-07 André Pönitz <poenitz@gmx.net>
3503 * cursor.[Ch] (selClear, adjust): remove math
3505 * cursor_slice.C: more agressive assert
3508 * BufferView_pimpl.C: rework mouse event dispatch
3515 2004-04-05 André Pönitz <poenitz@gmx.net>
3517 * cursor.[Ch] (valign, halign...): remove unneeded functions
3519 2004-04-05 Angus Leeming <leeming@lyx.org>
3521 * lyxlength.[Ch] (unit_name et al.): const-correct.
3523 2004-04-05 Angus Leeming <leeming@lyx.org>
3525 * BufferView_pimpl.C:
3534 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3536 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3538 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3540 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3542 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3543 * BufferView_pimpl.[Ch] (getStatus)
3544 * BufferView.[Ch] (getStatus): add
3545 * lyxfunc.C (getStatus): move lfuns handled in
3546 BufferView::dispatch to te function above
3547 * Cursor.C (setSelection): set selection() = true
3549 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3551 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3553 2004-03-31 Angus Leeming <leeming@lyx.org>
3555 * lyxfunc.C (dispatch): Fall through to the generic
3556 Dialogs::show("preamble").
3558 2004-03-31 Angus Leeming <leeming@lyx.org>
3560 * lyxfunc.C (dispatch): Fall through to the generic
3561 Dialogs::show("spellchecker").
3563 2004-03-31 Angus Leeming <leeming@lyx.org>
3565 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3568 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3573 * insetiterator.[Ch]:
3578 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3580 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3582 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3583 insets where we are putting the cursor.
3585 2004-03-31 Angus Leeming <leeming@lyx.org>
3588 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3590 * lyxrc.[Ch] (read, write): overloaded member functions taking
3591 a std::[io]stream arguments.
3593 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3595 2004-03-31 Angus Leeming <leeming@lyx.org>
3597 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3598 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3600 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3601 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3603 2004-03-31 Angus Leeming <leeming@lyx.org>
3605 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3606 the LFUN_ALL_INSETS_TOGGLE code.
3608 2004-03-30 Angus Leeming <leeming@lyx.org>
3610 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3611 has died. Fall through to the generic Dialogs::show("document").
3613 2004-03-30 Angus Leeming <leeming@lyx.org>
3616 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3617 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3619 * lyxfunc.C (getStatus, dispatch): define the actions for these
3620 lfuns. Little more than a cut and pste job from ControlDocument.C
3622 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3624 2004-03-30 Angus Leeming <leeming@lyx.org>
3627 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3628 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3630 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3631 open/closed state of ollapsable insets. Usage:
3633 all-inset-toggle <state> <name>, where
3634 <state> == "open" || "closed" || "toggle" and
3635 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3637 * lyxtext.h, text2.C (toggleInset): removed.
3639 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3640 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3641 now passes LFUN_INSET_TOGGLE to the found inset.
3643 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3644 is now invoked as "all-insets-toggle toggle branch".
3646 2004-03-30 Angus Leeming <leeming@lyx.org>
3650 * pariterator.[Ch]: added/corrected header blurb.
3652 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3654 * dociterator.[Ch]: add an inset_ member
3655 (backwardPos): implemented
3656 (backwardPos, forwardPos): use inset_ when the stack is empty.
3657 (doc_iterator_begin, doc_iterator_end): implemented
3658 * pariterator.[Ch]: adjust, add begin, end
3659 * insetiterator.[Ch]: adjust, add begin, end
3663 * BufferView_pimpl.C:
3664 * CutAndPaste.C: adjust
3666 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3668 * buffer.C: increment file format to 232.
3669 * LaTeXFeatures.C: add bibtopic package.
3670 * bufferparams.[Ch]: param \use_bibtopic.
3672 * lyxrc.[Ch]: add lyxrc bibtex_command
3673 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3675 * buffer.C: increment file format to 231.
3677 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3679 * dociterator.C: implement forwardPar
3680 * iterators.[Ch]: remove, replaced by
3681 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3683 * BufferView_pimpl.C:
3686 * bufferview_funcs.C:
3692 * Makefile.am: adjust
3694 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3696 * CutAndPaste.C (pasteSelection): fix 2 crashes
3697 (eraseSelection): fix a crash
3698 * paragraph_funcs.C: remove a warning
3700 2004-03-28 Angus Leeming <leeming@lyx.org>
3703 * LyXAction.C (init): new LFUN_PRINT.
3705 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3707 2004-03-27 Angus Leeming <leeming@lyx.org>
3710 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3712 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3714 2004-03-27 Angus Leeming <leeming@lyx.org>
3716 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3717 insetlist always contains non-null pointers to insets.
3719 2004-03-26 Angus Leeming <leeming@lyx.org>
3721 * src/BufferView_pimpl.C:
3722 * src/CutAndPaste.C:
3725 * src/output_plaintext.C:
3726 * src/outputparams.h:
3727 * src/paragraph_funcs.C:
3731 * src/frontends/controllers/ControlErrorList.C:
3732 * src/frontends/gtk/FileDialogPrivate.C:
3733 * src/frontends/gtk/GPainter.C:
3734 * src/frontends/gtk/GToolbar.C:
3735 * src/frontends/qt2/QRef.C:
3736 * src/mathed/math_scriptinset.C: squash compiler warnings.
3738 2004-03-26 Angus Leeming <leeming@lyx.org>
3740 * ispell.C (LaunchIspell::start):
3741 * lyx_cb.C (AutoSaveBuffer::start):
3742 invoke run(DontWait) rather than runNonBlocking().
3744 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3746 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3748 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3750 * kbsequence.C (print): adjust
3752 * kbmap.C (printKeySym): rename and change signature
3753 (printKey): use LyXKeySym::print()
3755 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3757 * undo.C: add using std::advance to compile for stlport
3759 2004-03-24 Angus Leeming <leeming@lyx.org>
3761 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3762 it leads to a crash when no buffer is present.
3764 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3765 Martin Vermeer <martin.vermeer@hut.fi>
3767 * lyxfunc.C (dispatch):
3768 * bufferparams.C (readToken): use the new LColor::setColor
3770 * LColor.[Ch] (setColor): new version that takes two strings as
3771 argument and creates a new color entry if necessary
3773 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3775 * buffer.C (makeLaTeXFile): if the main latex file that is
3776 processed is usually a subdocument of some master, then pretend
3777 for a while that it is actually the master
3779 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3781 * buffer.C (getLabelList):
3782 (getBibkeyList): use getMasterBuffer()
3783 (getMasterBuffer): new method. Returns the main document in the
3784 case where one is using included documents.
3786 2004-03-25 André Pönitz <poenitz@gmx.net>
3790 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3792 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3794 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3795 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3797 * ParameterStruct.h: merge with ParagraphParameters
3799 * lyxtext.h: remove LyXText::parOffset() and getPar()
3801 * text3.C: Remove all 'manual' update calls. We do now one per user
3802 interaction which is completely sufficient.
3806 * BufferView_pimpl.C:
3807 * FontIterator.[Ch]:
3809 * ParagraphParameters.[Ch]:
3814 * cursor_slice.[Ch]:
3821 * output_docbook.[Ch]:
3822 * output_latex.[Ch]:
3823 * output_linuxdoc.[Ch]:
3824 * output_plaintext.[Ch]:
3826 * paragraph_funcs.[Ch]:
3827 * paragraph_pimpl.[Ch]:
3835 * frontends/controllers/ControlDocument.C:
3836 * frontends/controllers/ControlErrorList.C:
3837 * frontends/controllers/ControlSpellchecker.C:
3840 * insets/insetbase.h:
3841 * insets/insetbibitem.C:
3842 * insets/insetbox.C:
3843 * insets/insetbranch.C:
3844 * insets/insetcaption.C:
3845 * insets/insetcharstyle.C:
3846 * insets/insetcharstyle.h:
3847 * insets/insetcollapsable.C:
3848 * insets/insetcollapsable.h:
3849 * insets/insetert.C:
3850 * insets/insetfloat.C:
3851 * insets/insetfoot.C:
3852 * insets/insetmarginal.C:
3853 * insets/insetnote.C:
3854 * insets/insetoptarg.C:
3855 * insets/insettabular.C:
3856 * insets/insettext.C:
3857 * insets/insettext.h:
3858 * insets/insetwrap.C:
3859 * mathed/math_mboxinset.C:
3860 * mathed/math_nestinset.C:
3861 * mathed/math_scriptinset.C:
3862 * mathed/math_scriptinset.h:
3865 2004-03-24 Angus Leeming <leeming@lyx.org>
3867 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3868 deal with any child processes that have finished but are waiting to
3869 communicate this fact to the rest of LyX.
3871 2004-03-24 Angus Leeming <leeming@lyx.org>
3873 64-bit compile fixes.
3875 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3876 (c-tor): pass lyx::pos_types rather than ints.
3878 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3881 * text.C (Delete): compile fix.
3882 (getPar): ensure that function declaration is the same as that in
3885 2004-03-23 Angus Leeming <leeming@lyx.org>
3887 * ispell.C (LaunchIspell):
3888 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3889 a boost::shred_ptr rather than a std::auto_ptr.
3891 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3893 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3894 handle LFUN_FILE_INSERT_*
3896 * lyxrc.C (setDefaults, getDescription, output, read):
3897 * lyxrc.h: remove ps_command
3899 2004-03-22 Angus Leeming <leeming@lyx.org>
3901 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3902 Ensure that error_handler is processed once only and that all data
3903 is saved before attempting to output any warning messages.
3905 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3907 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3909 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3911 2004-03-19 André Pönitz <poenitz@gmx.net>
3913 * cursor.[Ch] (reset): take main text inset as argument
3915 * BufferView: adjust
3916 * BufferView_pimpl.C: adjust
3918 * paragraph.[Ch]: fix completely broken operator=()
3920 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3922 * LColor.C (getFromLyXName): make sure that the color name is used
3925 2004-03-17 Angus Leeming <leeming@lyx.org>
3928 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3930 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3931 dialog and to kill a forked process.
3933 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3935 * text2.C (setCursorFromCoordinates): fix font problem
3937 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3939 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3940 bogus "rebuild cursor" code
3942 2004-03-11 André Pönitz <poenitz@gmx.net>
3944 * buffer.[Ch]: use InsetText instead of LyXText as container for
3947 * dociterator.[Ch]: drop the BufferView * member which is not needed
3948 anymore after the change to buffer.C
3950 * paragraph_funcs.C:
3954 * BufferView_pimpl.[Ch]:
3956 * cursor_slice.[Ch]: adjust
3958 * text3.C: fix bug in mathDispatch
3960 2004-03-08 André Pönitz <poenitz@gmx.net>
3962 * undo.[Ch]: use 'StableDocumentIterator' as base for
3965 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3968 * bufferparams.[Ch]: add jurabib support and param.
3970 * LaTeX.C: add FIXME/comment.
3972 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3974 * buffer.C: increment file format to 230.
3976 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3978 * cursor.C (dispatch): avoid infinite loops
3980 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3982 * rowpainter.C (paintSelection): fix x coordinates
3984 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3986 * text.C (rowBreakPoint): fix breaking before displayed insets
3988 2004-03-01 André Pönitz <poenitz@gmx.net>
3990 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3992 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3996 * BufferView_pimpl.C:
4004 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4010 * BufferView_pimpl.C: rename textwidth -> maxwidth,
4011 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
4013 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4015 * Bidi.[Ch] (computeTables): const correctness
4016 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
4017 fill_hfill, fill_label_hfill and x from Row
4018 * lyxtext.h: prepareToPrint returns a RowMetrics
4019 * rowPainter.C: adjust
4020 * text.C (prepareToPrint): use width, not textWidth. adjust
4021 (redoParagraphInternal, cursorX): adjust
4022 * text2.C (getColumnNearX): adjust
4023 (init): put a default value to the top LyXText::width
4025 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4027 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
4029 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4031 * lyxtext.h: add FontIterator class
4033 * text.C (FontIterator, operator*, operator->, operator++): add
4034 (rowBreakPoint, setRowWidth): adjust (fixing a
4037 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4039 * BufferView_pimpl.C (workAreaDispatch): allow also
4040 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
4042 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
4044 * text.C (rowBreakPoint): fix a bug showing with very large insets
4046 2004-02-25 André Pönitz <poenitz@gmx.net>
4049 * cursor.[Ch]: move some mathed specific code to mathed
4051 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4053 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4054 use_tempdir in preferences
4055 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4057 * lyx_main.C: ensure that tempdir is valid
4058 * lyxlex.h: correct typo
4059 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4060 * paragraph.[Ch] (isMultiLingual): make const
4061 * cursor.[Ch] (openable): make const
4063 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4065 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4067 2004-02-20 André Pönitz <poenitz@gmx.net>
4069 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4071 * cursor.[Ch]: prepare for localized getStatus()
4077 * text3.C: streamlines the LyXText cursor movement handlers a bit.
4079 2004-02-20 André Pönitz <poenitz@gmx.net>
4081 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4083 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4085 * text2.C (setCursorFromCoordinates): switch to absolute coords
4087 (cursorDown): adjust
4088 * text3.C (dispatch): adjust
4090 2004-02-16 André Pönitz <poenitz@gmx.net>
4092 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4095 * cursor_slice.[Ch]: remove unneeded acessor function
4097 * lyxtext.h: rename rtl() to isRTL()
4105 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4107 * rowpainter.C (paintSelection): coord fix
4109 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4111 * Spacing.C: compile fix
4113 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4115 * cursor.C (dispatch): restore current_ before returning
4117 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4119 * text2.C (cursorUp, cursorDown): fix coords
4122 2004-02-12 André Pönitz <poenitz@gmx.net>
4127 * text3.C: add LCursor & parameter to most cursor movement functions
4128 remove usage of LyXText::cursorRow() and cursorPar()
4130 * cursor.[Ch]: add textRow() needed members
4133 * BufferView_pimpl.C:
4136 * BufferView_pimpl.C: adjust
4138 2004-02-11 André Pönitz <poenitz@gmx.net>
4142 * BufferView_pimpl.C: shift undo/redo handling
4144 * cursor.[Ch]: fix mathed crash
4147 * lyxtext.h: move selectionAsText to LCursor
4155 * rowpainter.C: fix excessive drawing
4157 2004-02-06 André Pönitz <poenitz@gmx.net>
4160 * BufferView_pimpl.[Ch]:
4161 * text3.C: move some text specific LFUN handling
4163 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
4165 * text3.C (checkInsetHit): adjust coords
4166 * text2.C (getColumnNearX): adjust coords
4167 (edit): adjust coords
4168 * text.C (getRowNearY): add two asserts
4170 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
4173 * format.C: add using std::distance to compile on gcc 2.95/stlport
4175 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
4177 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4179 2004-02-04 André Pönitz <poenitz@gmx.net>
4181 * BufferView.[Ch] (insertInset):
4182 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4187 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4189 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4190 on the default clause of the switch
4191 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4192 wasn't catched by LCursor::dispatch
4194 2004-02-03 André Pönitz <poenitz@gmx.net>
4197 * cursor.[Ch]: some additional asserts
4199 * undo.[Ch]: remove LyXText dependency in interface
4203 * lyxtext.h (firstPar, lastPar): remove dead functions
4208 * paragraph.[Ch]: adjust
4210 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4212 * lyxfind.C (find): fix argument order in call to ::find
4214 2004-02-02 André Pönitz <poenitz@gmx.net>
4216 * cursor.[Ch]: remove direct access to anchor
4218 * text.C: remove findText() hack
4220 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4222 * iterators.[Ch] (lockPath): remove in favour of...
4223 * BufferView.[Ch] (setCursor): this addition
4224 * BufferView.C (putSelectionAt): adjust
4225 * undo.C (performUndoOrRedo): adjust
4226 * lyxfunc.C (dispatch): adjust
4228 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4230 * iterators.C (lockPath): add a missing slice
4231 * undo.C (performUndoOrRedo): remove redundant positioning code
4233 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4235 * vc-backend.C (scanMaster): ";" -> ';'
4237 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4239 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4240 std::binary_function
4242 * lyxtextclass.C (compare_name): rename to...
4243 (LayoutNamesEqual): ...this
4245 * lyxlex_pimpl.C (compare_tags): inherit from
4246 std::binary_function, put back into anon namespace
4248 * lyxfind.C (MatchString): inherig from std::binary_function
4249 (findChange): use empty() istead of !size()
4251 * format.C (FormatNamesEqual): new functor
4258 * converter.C (compare_Converter): rename to...
4259 (ConverterEqual): ...this, and fixup a bit.
4260 (getConverter): use it, and make function const
4261 (getNumber): use it, and make function const
4265 * bufferlist.C: add using boost::bind
4267 * MenuBackend.C (MenuNamesEqual): new functor
4268 (hasMenu): use it, and make function const
4269 (hasSubmenu): use nested bind to get rid of compare_memfun.
4271 2004-01-30 André Pönitz <poenitz@gmx.net>
4273 * BufferView_pimpl.C:
4276 * cursor_slice.[Ch]:
4279 * paragraph_funcs.C:
4280 * paragraph_funcs.h:
4284 * text3.C: move some of the edit(x,y) handling to the insets
4285 some coordinate changes.
4287 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4289 * text.C: add using statements for std::advance and std::distance
4291 * paragraph.C: add using statement for std::distance
4293 * lyxfind.C: add using statement for std::advance
4295 * cursor.C (region): remove std:: from swap
4296 (openable): use nucleus in stead of operator->
4298 * BufferView.C: add using statements for std::distance and std::swap
4300 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4302 * iterators.C: Remove the pimple, move the needed structures to
4303 the header file. Create accessor for the positions stack.
4304 (asPosIterator): remove function
4306 * PosIterator.C (PosIterator): move constructors to top of file
4307 (PosIterator): reimplement the constructor taking a ParIterator in
4309 (setFrom): new function
4310 (operator!=): inline it
4312 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4314 * lyxfind.C (replaceAll): use std::advance
4316 * iterators.h: inherit from std::iterator.
4318 * PosIterator.C (advance, distance): remove
4319 * PosIterator.h: interit from std::iterator.
4321 2004-01-26 André Pönitz <poenitz@gmx.net>
4324 * BufferView_pimpl.[Ch]:
4328 * bufferview_funcs.C:
4338 * output_linuxdoc.C:
4339 * output_plaintext.C:
4341 * paragraph_funcs.[Ch]:
4342 * paragraph_pimpl.[Ch]:
4348 * text3.C: more IU: dumps most of the rest of the mathcursor
4349 implementation into cursor.[Ch]; "globalize" a bit of it.
4351 2004-01-25 Angus Leeming <leeming@lyx.org>
4353 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4355 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4357 * LaTeXFeatures.h: add nice_ and nice() const
4358 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4360 2004-01-20 André Pönitz <poenitz@gmx.net>
4363 * BufferView_pimpl.C:
4365 * bufferview_funcs.C:
4367 * cursor_slice.[Ch]:
4378 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4379 LCursor and mathcursor parts to LCursor and InsetBase.
4381 2004-01-15 André Pönitz <poenitz@gmx.net>
4383 * cursor_slice.[Ch]: add a few covienience functions
4385 * funcrequest.[Ch]: remove BufferView * member
4387 * BufferView_pimpl.C:
4394 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4396 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4398 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4399 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4401 2004-01-13 André Pönitz <poenitz@gmx.net>
4404 * lyxtext.h: hide cursor and selection anchor behind accessor function
4407 * BufferView_pimpl.[Ch]:
4409 * bufferview_funcs.C:
4419 * cursor_slice.[Ch]: some integer type changes for inset unification
4421 * lyxcursor.[hC]: remove, it's CursorSlice now.
4424 * BufferView_pimpl.[Ch]:
4425 * bufferview_funcs.C:
4431 * textcursor.[Ch]: adjust
4433 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4435 * text2.C (undoSpan): add and use
4436 * text.C (breakParagraph): use undoSpan (fix bug 578)
4439 2004-01-08 Angus Leeming <leeming@lyx.org>
4441 * BufferView_pimpl.C (MenuInsertLyXFile):
4442 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4443 * lyxfunc.C (menuNew, open, doImport):
4444 FileFilterList change to the FileDialog open and save functions.
4446 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4448 * ShareContainer.h: make isEqual and isUnique adaptable
4450 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4452 2004-01-07 Angus Leeming <leeming@lyx.org>
4455 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4457 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4459 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4460 functions replacing find, replace and replaceAll.
4462 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4463 LFUN_WORDFIND(FORWARD|BACKWARD).
4465 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4467 * text.C (breakParagraph): remove an outdated #warning
4469 2004-01-07 André Pönitz <poenitz@gmx.net>
4471 * lyxfind.C: somewhat clearer logic
4473 * text.C: prevent crash in cursorX on unitialized row cache
4475 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4477 * lyxcursor.[Ch] (operator>): add
4478 * textcursor.C (selStart, selEnd): use std::min and std::max
4480 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4482 * Chktex.C: include boost/format.hpp
4484 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4486 * InsetList.C: replace functor MathcIt with adaptable functor
4488 (insetIterator): modify accordingly
4490 * BranchList.h: move the BranchNamesEqual functor here from...
4491 * BranchList.C: ... to here
4493 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4495 (add): replace a finding loop with std::find_if.
4497 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4499 * output_docbook.C: moving LatexParam functionality into
4502 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4504 * buffer.C: increment format to 229.
4506 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4509 * lyx_sty.[Ch]: remove minipageindent_def
4515 * text3.C: remove LFUN_INSET_MINIPAGE
4517 2003-12-28 Angus Leeming <leeming@lyx.org>
4519 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4521 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4523 * text2.C (setParagraph): fix off-by-one crash
4525 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4527 * output_docbook.C: header stuff for AGU
4529 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4531 * text2.C (redoCursor): remove
4534 * BufferView_pimpl.C: remove calls to redoCursor and
4535 setCursor(cursor.par(), cursor.pos()) all around
4537 2003-12-15 Angus Leeming <leeming@lyx.org>
4539 * buffer.C: up the format to 228.
4541 2003-12-15 André Pönitz <poenitz@gmx.net>
4543 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4548 * BufferView_pimpl.C:
4557 2003-12-15 Angus Leeming <leeming@lyx.org>
4559 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4560 than getFromGUIName to manipulate the color.
4562 2003-12-14 Angus Leeming <leeming@lyx.org>
4564 * BranchList.[Ch]: minimize the API.
4565 (Branch::getBranch, getColor): now return a 'const &'.
4566 (Branch::setSelected) now returns a bool set to true if the
4567 selection status changes.
4568 (BranchList::clear, size, getColor, setColor, setSelected,
4569 allBranches, allSelected, separator): removed.
4570 (BranchList::find): new functions, returning the Branch with
4572 (BranchList::add, remove): return a bool indicating that
4573 the operation was successful.
4575 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4576 new InsetBranch::isBranchSlected member function.
4578 * LColor.[Ch]: mimimize the API.
4579 (fill): renamed as addColor and made private.
4580 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4581 versions of these functions taking a string arg have been removed.
4583 * bufferparams.C (readToken):
4584 * lyxfunc.C (dispatch):
4585 * lyxrc.C (read): changes due to the altered BranchList and
4588 * factory.C (createInset, readInset): changes due to altered
4591 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4594 * lyxfunc.C: remove insetminipage. "minipage-insert"
4595 now produces a frameless minipage box inset.
4597 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4599 * textcursor.[Ch] (selStart,selEnd): add new methods
4600 remove selection::start, end, use LyXCursor::operator<
4601 * lyxcursor.[Ch] (operator<): add
4602 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4603 * BufferView.[Ch] (unsetXSel): add
4604 * text2.C (clearSelection): use unsetXSel,adjust
4607 * rowpainter.C: adjust
4608 * bufferview_funcs.C (put_selection_at): adjust
4610 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4612 * BufferView_pimpl.C: small coord. correction
4614 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4616 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4617 dragging over the splash screen.
4619 2003-12-11 Angus Leeming <leeming@lyx.org>
4621 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4622 as it is now handled in LyXText::dispatch.
4624 * text3.C (doInsertInset): remove a level of nesting.
4626 2003-12-11 Angus Leeming <leeming@lyx.org>
4628 * factory.C (createInset): changes due to the changed interface to
4629 InsetCommandMailer::string2params.
4631 2003-12-10 Angus Leeming <leeming@lyx.org>
4633 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4634 'dialog-show-new-inset <inset name>'
4636 2003-12-10 Angus Leeming <leeming@lyx.org>
4638 * buffer.C: up the format to 227.
4640 * factory.C: the box inset is now identified simply by 'Box'.
4642 2003-12-10 Angus Leeming <leeming@lyx.org>
4644 * buffer.C: up the format to 226.
4646 * factory.C: the note inset is now identified simply by 'Note'.
4648 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4650 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4651 when a pit is enough. Standarize a couple of loops.
4653 2003-12-05 Angus Leeming <leeming@lyx.org>
4655 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4656 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4657 data to the re-worked "log" dialog.
4659 2003-12-03 André Pönitz <poenitz@gmx.net>
4665 * paragraph_funcs.C:
4667 * text2.C: use Inset::getText instead of Inset::getParagraph
4669 2003-12-03 André Pönitz <poenitz@gmx.net>
4673 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4674 InsetText::read() as LyXText::read()
4676 2003-12-02 Angus Leeming <leeming@lyx.org>
4678 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4679 type. Add a comment in the implementation that the function uses
4680 the stream's bad() function rather than fail() as the std::streams
4683 2003-12-02 André Pönitz <poenitz@gmx.net>
4685 * lyxlex.[Ch]: make interface more similar to std::stream
4687 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4689 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4691 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4693 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4695 * vspace.[Ch]: remove VSpace::NONE
4697 2003-12-01 André Pönitz <poenitz@gmx.net>
4700 * lyxtext.h: move ParagraphList member to LyXText
4701 rename LyXText::ownerParagraphs to LyXText::paragraph
4704 * bufferview_funcs.C:
4714 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4716 * undo.C: fix cursor positioning
4718 2003-12-01 John Levon <levon@movementarian.org>
4720 * BufferView_pimpl.C: fix a crash on exit with
4723 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4725 * BranchList.C: fix setSelected() method.
4727 2003-11-28 André Pönitz <poenitz@gmx.net>
4729 * ParagraphParameters.[Ch]:
4730 * ParameterStruct.h: remove space above/below from Paragraph to
4733 * BufferView_pimpl.C:
4739 * paragraph_funcs.C:
4745 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4747 * factory.C: Syntax change for CharStyles
4749 2003-11-28 André Pönitz <poenitz@gmx.net>
4754 * buffer.[Ch]: move LyXText member
4756 2003-11-28 André Pönitz <poenitz@gmx.net>
4758 * BufferView.[Ch]: make LyXText * text a private member
4760 * BufferView_pimpl.C:
4771 * output_plaintext.C: cleanup
4773 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4776 * lyxtextclass.[Ch]: parametrize SGML document header
4778 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4781 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4784 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4786 * text2.C (setFont): rework using PosIterator (no more recursive)
4787 (setCharFont): no more needed
4788 (setLayout): no more selection cursors fiddling (done by redoCursor)
4789 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4790 destroy remaining ones)
4792 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4794 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4796 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4799 * text3.C: adjust + re-allow multi par depth changes
4800 * textcursor.C: simplify a bit
4802 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4808 * src/output_docbook.C:
4809 * src/output_latex.C:
4814 * src/text2.C: Introducing a number of tags parametrizing various
4815 XML formats that we may want to support
4817 2003-11-25 André Pönitz <poenitz@gmx.net>
4819 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4821 * lyxtext.h (leftMargin/rightMargin): simplify interface
4828 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4830 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4831 master file to any child files. Fixes bug 546.
4833 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4835 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4837 2003-11-24 André Pönitz <poenitz@gmx.net>
4839 * rowpainter.C: simplification
4841 * text2.C (updateCounters): remove call to redoParagraph on
4842 changed labels as this is far too expensive.
4844 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4846 * converter.C (convert): fix a crash: this function gets
4847 called with buffer == 0 from importer code.
4849 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4851 * text3.C (cursorPrevious): make sure that we do not compare
4852 iterators form different containers.
4855 * rowpainter.C (paintSelection): make sure that we do not compare
4856 iterators from different containers.
4858 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4859 iterators from different ParagraphList containers.
4862 * text2.C (LyXText): change order of initialization slightly
4863 (operator=): new function. copy all variables except cache_par_
4864 (moveUp): make sure that we do not compare iterators from
4865 different ParagraphList constainers.
4868 * text.C (firstPar): new function
4869 (lastPar): new function
4870 (endPar): new function
4872 * lyxtext.h: move things around and group public functions, public
4873 variables, private functions, private variables
4875 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4877 * factory.C: change call to InsetERT constructor to avoid
4878 additional invocation of method status
4879 * text2.C (toggleInset): remove redundant update() call
4880 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4881 instead of a Bufferview pointer
4883 2003-11-21 André Pönitz <poenitz@gmx.net>
4885 * rowpainter.C: simplification
4887 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4889 * text3.C (dispatch): make possible to extend a word/row selection
4892 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4894 * lyxtext.h: x0_,y0_ -> xo_,yo_
4895 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4896 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4897 * rowpainter.C (paintRows): paint full paragraphs
4899 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4901 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4904 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4906 * lyxtext.h: add x0_, y0_
4907 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4908 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4910 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4912 * text2.C (setCursorIntern): move the x_target update here *
4913 * text3.C: change some bv() to true/false in calls to
4914 cursorUp/Down/Right/Left
4915 * cursor.C: use helper function.
4917 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4919 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4920 * paragraph_funcs.[Ch]: correct comment
4921 * rowpainter.C: do not paint selections away from bv->cursor()
4922 Fix a long standing selection painting bug.
4923 * text3.C: generalize mouse-selection code to LyXTexts other that
4925 * textcursor.C: do not use y coords if we can use par offsets
4927 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4929 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4930 cursor position after e.g. inset insert)
4932 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4934 * lyxfind.C (replace): adjust to locking removal + some
4937 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4939 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4942 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4945 * output_docbook.C: XML sanitation: new layout
4946 parameters InnerTag and CommandDepth
4948 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4950 * BufferView_pimpl.C:
4952 * text3.C: Fix the insertion and modification of button-style
4955 2003-11-13 André Pönitz <poenitz@gmx.net>
4957 * InsetList.[Ch]: remove deleteLyXText
4959 * paragraph.[Ch]: cache beginOfBody position
4964 * text3.C: remove superfluous update() calls
4968 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4970 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4971 * BufferView.C (fitLockedInsetCursor): remove
4972 * cursor.[Ch] (getDim): add
4973 * text.C (getRowNearY): add faster version
4974 * text3.C: remove some update calls
4976 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4988 * text3.C: The Character Style /XML short element patch.
4990 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4993 * factory.C: Small step to solving 'unable to insert some insets'
4996 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4998 * cursor.[Ch] (updatePos): new function for updating the y
4999 position of the tip inset
5000 * bufferview_funcs.C (put_selection_at):
5001 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
5003 2003-11-11 André Pönitz <poenitz@gmx.net>
5005 * text.C: remove big comment on invalid Paragraph pointers as it is
5008 2003-11-11 André Pönitz <poenitz@gmx.net>
5010 * text_funcs.[Ch]: merge with ...
5018 * Makefile.am: remove text_funcs.[Ch]
5020 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
5022 * cursor.C (getPos): return absolute cached y coord
5024 * BufferView_pimpl.C (fitCursor): new simplistic code
5025 (workAreaDispatch): add a fitCursor call
5027 2003-11-10 André Pönitz <poenitz@gmx.net>
5030 * BufferView_pimpl.[Ch]: merge update() and updateInset()
5032 2003-11-10 André Pönitz <poenitz@gmx.net>
5034 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
5035 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
5036 indicate that the cursor needs to leave an inset
5038 * lyxtext.h: remove inset locking
5040 * cursor.[Ch]: re-implement functionality provided by inset locking
5043 * BufferView_pimpl.[Ch]:
5045 * bufferview_funcs.[Ch]:
5057 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
5059 * PosIterator.[Ch]: replace the stack with a vector, add inset
5061 * iterators.[C]: adjust
5063 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
5065 * lyxfind.C (replaceAll): mark the buffer dirty if something was
5067 * paragraph_funcs.C (readParToken): put the correct id in the
5068 error item, not the id of the top paragraph
5070 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
5072 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5073 * bufferview_funcs.C (put_selection_at): use the above
5075 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5077 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5079 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5081 * output_linuxdoc.h:
5082 * output_plaintext.h:
5084 * output_docbook.h: add #include statements
5086 2003-11-05 José Matos <jamatos@lyx.org>
5088 * output_docbook.[Ch]:
5089 * output_latex.[Ch]:
5090 * output_linuxdoc.[Ch]:
5091 * output_plaintext.[Ch]: New files for output formats.
5092 * output.[Ch]: New file for helper functions.
5095 * paragraph_funcs.[Ch]: output functions moved to new files.
5097 * outputparams.h: rename of latexrunparams.h
5105 * paragraph_funcs.[Ch]:
5106 * paragraph_pimpl.[Ch]:
5107 * tabular.[Ch]: rename ascii to plaintext
5108 and LatexRunParams to OutputParams.
5110 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5112 * iterators.[Ch] (text): require bv argument
5113 * undo.C (recordUndo):
5114 * lyxfunc.C (dispatch):
5115 * bufferview_funcs.C (put_selection_at): adjust
5117 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
5119 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5121 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5123 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5126 2003-11-04 André Pönitz <poenitz@gmx.net>
5128 * cursor.[Ch]: restructure
5131 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5133 * iterators.[Ch] (asCursor): remove
5135 * lfuns.h: remove LFUN_INSET_EDIT
5141 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5143 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5145 * lyxfind.[Ch]: complete overhaul
5146 * BufferView_pimpl.C:
5148 * paragraph.[Ch] (insert): add
5150 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5154 * text.C: remove dead spellcheck code
5156 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5158 * dispatchresult.h: add a val setter
5160 * cursor.C (dispatch): use a tempvar for data_[i]
5162 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5164 * PosIterator.[Ch]: compile fix
5166 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5168 * text.C (cursorPar): deactivate the cursor cache
5170 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5172 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5174 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5176 * text3.C (dispatch): adjust for new DisptchResult semantics.
5178 * lyxfunc.C (dispatch): handle update when return from
5179 Cursor::dispatch, adjust for new DispatchResult semantics.
5181 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5182 DispatchResult(true) mean to not update. Add class functions for
5183 setting dispatched and update, as well as reading.
5185 * cursor.C (dispatch): don't handle update here
5187 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5189 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5190 * trans_mgr.C: adjust
5192 * paragraph_funcs.C (readParToken): exception safety
5194 * lyxvc.h: store the vcs pointer in a scoped_ptr
5197 * lyxsocket.C (serverCallback): exception safety
5199 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5201 * ispell.C (clone): make it return a auto_ptr
5203 * factory.C (createInset): exception safety
5204 (readInset): exception safety
5206 * bufferlist.C (newBuffer): exception safety
5208 * Thesaurus.C (Thesaurus): use initialization for aik_
5210 * MenuBackend.C (expandToc): exception safety.
5212 2003-11-03 André Pönitz <poenitz@gmx.net>
5216 * bufferview_funcs.C: remove getInsetFromId()
5219 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5225 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5227 * PosIterator.C (distance, advance): new
5228 * bufferview_funcs.[Ch] (put_selection_at): new
5229 * iterators.[Ch] (lockPath): new
5231 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
5233 * iterators.[Ch] (asPosIterator): added
5234 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5235 * PosIterator.[Ch]: added
5237 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5241 * cursor.C (dispatch):
5242 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5244 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5245 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5246 contructor, add a class function dispatched. Remove operator>=
5248 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5250 * debug.C: only use the default constructor for debugstream
5253 * main.C (main): include debug.h and setup the lyxerr streambuf
5256 2003-10-31 José Matos <jamatos@lyx.org>
5258 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5260 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5261 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5262 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5263 * paragraph_pimpl.C (simpleTeXSpecialC):
5264 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5265 add LatexRunParams argument.
5267 * exporter.C (Export): change call accordingly.
5269 * latexrunparams.h: add new member to take care of the other backends.
5270 2003-10-30 José Matos <jamatos@lyx.org>
5272 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5273 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5274 factorise code for paragraph output.
5276 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5279 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5281 * text3.C (dispatch):
5282 * lyxfunc.C (dispatch):
5283 * cursor.C (dispatch):
5284 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5286 * dispatchresult.h: make the dispatch_result_t ctor explicit
5288 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5291 * buffer.C: small refactoring of docbook stuff
5293 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5295 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5298 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5300 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5301 operator dispatch_result_t, and operators for == != and >=
5303 * cursor.C (dispatch): adjust for operator dispatch_result_t
5304 removal. comment out call to update
5306 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5308 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5316 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5319 * dispatchresult.h: new file, DispatchResult broken out of
5322 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5324 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5326 * text.C (rowBreakPoint): put a hack inside #if 0
5328 2003-10-28 André Pönitz <poenitz@gmx.net>
5332 * paragraph_funcs.C:
5335 * text2.C: general cleanup (lots of small stuff)
5337 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5339 * text2.C (cursorEnd): simple fix to the "end key goes to one
5340 before the end on last row" bug
5342 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5344 * text.C (backspace): fix the "zombie characters"
5346 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5348 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5350 2003-10-27 André Pönitz <poenitz@gmx.net>
5352 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5354 * factory.C: handle new InsetPagebreak, InsetLine
5356 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5357 and move handling into new InsetPagebreak, InsetLine
5359 * BufferView_pimpl.C:
5361 * ParagraphParameters.C:
5362 * ParameterStruct.h:
5367 * paragraph_funcs.C:
5368 * paragraph_pimpl.C:
5374 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5377 * lyxrow_funcs.[Ch]:
5383 * text3.C: remove lastPos uses in favour of Row::endpos
5385 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5387 * undo.C (performUndoOrRedo): fix two crashes by setting a
5388 cursor by hand and reordering some calls. Use bv->lockInset instead
5389 of inset->edit because the latter loses cursor information
5391 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5393 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5395 (rowBreakPoint): fix width. change point to point + 1.
5396 Add a missing check.
5398 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5401 * lyxfunc.C: fix (at least partly) the problems
5402 with the Nav menu and headers inside branch insets
5405 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5407 * paragraph.C (getChar): add strong asserts
5409 * lyxrow_funcs.C (lastPos): remove hideous hack
5411 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5412 (fill): adjust to that (avoid an infinite loop)
5414 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5416 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5418 2003-10-23 André Pönitz <poenitz@gmx.net>
5420 * RowList_fwd.h: change list<> to vector<> to gain speed
5421 after suggestion from Alfredo
5423 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5425 * lyxtext.h: move the bidi stuff from here...
5428 * Bidi.[Ch]: ... to here
5430 2003-10-23 André Pönitz <poenitz@gmx.net>
5433 * text.C (isLastRow, isFirstRow): new functions
5435 * paragraph.h: new width cache member
5437 * rowpainter.C: replace RowList::iterator with Row & where possible
5439 * lyxfunc.C: replace several view()->text with a single call
5441 * toc.C: fix 'unused' warning
5443 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5445 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5446 when woring with stream::pos_type
5447 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5449 2003-10-22 André Pönitz <poenitz@gmx.net>
5452 * text.C: use Row & instead of RowList::iterator
5454 * lyxrow.h: rename end() to endpos()
5460 2003-10-22 Angus Leeming <leeming@lyx.org>
5462 * buffer.[Ch] (fully_loaded): new member function, returning true
5463 only when the file has been loaded fully.
5464 Used to prevent the premature generation of previews and by the
5465 citation inset to prevent computation of the natbib-style label.
5467 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5468 templates are all set up.
5470 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5472 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5474 * text.C: fixed an "oops" in the "is a bit silly"
5477 2003-10-21 André Pönitz <poenitz@gmx.net>
5479 * FuncStatus.[Ch]: small stuff, whitespace
5481 * lyxfont.[Ch]: operator<<() for debug reasons
5485 * lyxtext.h: whitespace, spelling
5487 * paragraph.C: naming of variables
5490 * text2.C: small stuff
5493 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5495 * text.C: (1) finish off the inset display() work;
5496 (2) fix the "is a bit silly" bug (accessing char
5499 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5501 * text.C: re-introduce display() for insets, fixing the
5502 various bugs (stretch of line above, math inset
5505 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5507 * text.C (rightMargin): remove spurious semicolon
5509 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5512 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5514 * text3.C: fix one crash due to wrong cursor def
5516 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5518 * vc-backend.C (scanMaster): make the regex static
5520 * LaTeX.C (scanAuxFile): make the regexs static
5522 * text3.C (doInsertInset, dispatch, dispatch):
5523 * text2.C (cursorUp, cursorDown):
5524 * text.C (selectNextWordToSpellcheck):
5525 * BufferView_pimpl.C (dispatch):
5526 * lyxfunc.C (dispatch): localDispatch -> dispatch
5528 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5530 * lyxsocket.C: include <cerrno>
5532 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5534 * lyxfunc.C (dispatch): remove textcache stuff
5536 * bufferlist.C (release): remove textcache stuff
5539 * TextCache.C: delete file
5540 * TextCache.h: delete file
5542 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5544 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5545 delete of the bv_->text.
5546 (resizeCurrentBuffer): remove texcache stuff
5547 (workAreaResize): ditto
5549 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5551 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5554 2003-10-16 André Pönitz <poenitz@gmx.net>
5561 * text3.C: speed up by storing y positions per paragraph plus per-row
5562 offset instead of having a 'full' y position in the row.
5564 2003-10-15 André Pönitz <poenitz@gmx.net>
5568 * undo.[Ch]: make undo aware of inner insets
5570 2003-10-14 Angus Leeming <leeming@lyx.org>
5572 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5573 static member functions LyX::ref() and LyX::cref.
5574 (lastfiles): new accessor functions for the new lastfiles_ member var.
5575 (addLyXView, views_): add a new LyXView to the list of views_.
5576 (updateInset): loop over all LyXViews to call their own updateInset
5577 member function, returning a pointer to the Buffer owning the inset.
5579 * BufferView_pimpl.C (loadLyXFile):
5580 * MenuBackend.C (expandLastfiles):
5581 * bufferlist.C (MenuWrite, QuitLyX):
5582 lastfiles is no longer a global variable.
5583 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5585 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5586 static function. Access through LyX::cref().emergencyCleanup().
5588 2003-10-14 André Pönitz <poenitz@gmx.net>
5590 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5592 * undo.[Ch]: restoring part of 'undo in insets'
5595 * undo_funcs.[Ch]: merge with undo.[Ch]
5597 * tabular.C: small cleansing stuff
5599 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5601 * paragraph_funcs.C (readParToken): report unknown insets as error
5602 boxes. Use the outer paragraph as location (also for unknown
5605 * factory.C (readInset): do not abort on reading an unknown inset.
5606 Eat it and return 0.
5608 2003-10-13 Angus Leeming <leeming@lyx.org>
5610 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5612 * lyxrc.C: displayTranslator is now a function,
5613 declared in GraphicsTypes.h.
5615 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5617 * format.C: new placeholder $$a to pass the socket address.
5619 * bufferlist.[Ch]: new function getBufferFromTmp.
5621 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5622 files in the temporary dir.
5624 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5626 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5628 * Makefile.am: add lyxsocket.[Ch].
5630 * lyx_main.C (error_handler): handle SIGPIPE.
5632 2003-10-13 André Pönitz <poenitz@gmx.net>
5634 * BufferView_pimpl.C:
5639 * undo_funcs.[Ch]: use paroffset_type instead of
5640 ParagraphList::iterators to prevent multiple conversion
5641 (and get a more robust interface)
5643 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5645 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5647 * text3.C (dispatch): ditto
5649 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5651 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5652 move the onlyfile, use onlyfile instead of foundfile in a couple
5655 * DepTable.C (update): flush the error stream a bit more
5657 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5659 * lyxserver.C (callback): adjust
5661 * lyxfunc.C (getStatus): add a missing brace in commented code
5662 (ensureBufferClean): reindent
5663 (dispatch): delete version taking a string
5665 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5667 * LaTeX.C (deplog): move found file handlig from here...
5668 (handleFoundFile): .. to new function here.
5669 (deplog): make sure to discover several files mentioned on the
5672 2003-10-10 André Pönitz <poenitz@gmx.net>
5679 * text3.C: fix some of the tabular crashes
5681 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5683 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5685 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5687 2003-10-09 André Pönitz <poenitz@gmx.net>
5689 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5692 * BufferView_pimpl.C:
5693 * bufferview_funcs.C:
5704 * undo_funcs.C: adjust
5706 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5708 * text2.C (incrementItemDepth): new function, use a backtracking
5709 algorithm to discover the correct item depth.
5710 (resetEnumCounterIfNeeded): new function, use a backtracking
5711 algorithm to discover if counter reset is needed.
5712 (setCounter): use them. Simplify a bit. Add different labels for
5713 different item depths for itemize.
5715 * paragraph.C (Paragraph): remove initialization of enumdepth
5718 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5719 enumerate and itemize. Change the type of itemdepth to signed char.
5721 2003-10-08 André Pönitz <poenitz@gmx.net>
5723 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5728 * tabular.[Ch]: fix crash after 'row-insert'
5730 2003-10-08 Angus Leeming <leeming@lyx.org>
5732 Fix doxygen warnings.
5734 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5735 Remove CutAndPaste:: prefix from header file declaration.
5737 * LColor.h (fill): remove LColor:: prefix from declaration.
5739 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5740 use lyx::depth_type rather than Paragraph::depth_type so that
5741 header file and .C file match.
5743 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5745 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5746 * aspell.C: \file aspell_local.C -> \file aspell.C
5747 * gettext.C: \file gettext.C -> \file src/gettext.C
5748 * gettext.h: \file gettext.h -> \file src/gettext.h
5749 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5750 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5751 * text.C: \file text.C -> \file src/text.C
5753 * toc.C: move comment so that doxygen is not confused.
5755 2003-10-07 Angus Leeming <leeming@lyx.org>
5757 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5759 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5762 * aspell_local.h: add forgotten std::string's.
5764 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5771 * text3.C: The Box patch. Fancybox support, minipage, parbox
5773 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5779 * ParagraphParameters.h:
5789 * lyxtextclasslist.h:
5792 * paragraph_pimpl.C:
5793 * textcursor.h: add <string> and other small fixes to make Lars'
5794 std::string patch compile with STLport.
5796 2003-10-06 Angus Leeming <leeming@lyx.org>
5798 * LColor.h: Add missing #include <string>.
5800 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5802 * All most all file in all subdirs: Make <string> be the prefered
5803 way of getting to std::string, add using declarations.
5805 2003-10-06 André Pönitz <poenitz@gmx.net>
5807 * metricsinfo.C: initialize LyXFont before changing attribute.
5808 (fixes the 'math in \emph is upright' bug)
5810 2003-10-06 André Pönitz <poenitz@gmx.net>
5812 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5814 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5817 * paragraph_pimpl.C: Small fixes to build using STLport
5819 2003-10-02 André Pönitz <poenitz@gmx.net>
5822 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5824 2003-10-01 André Pönitz <poenitz@gmx.net>
5826 * factory.C: assert early
5828 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5830 * lyx_main.C: remove the global debug object
5832 * debug.h: adjust for new debugstream
5834 * debug.C: adjust for new debugstream and keep the global debug
5837 2003-09-22 Angus Leeming <leeming@lyx.org>
5839 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5840 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5841 an incomplete class LyXFont.
5843 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5845 * factory.C: bug fix in branches
5847 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5849 * lyxfunc.C (processKeySym): adjust
5851 (dispatch): change arg name from ev to func, adjust
5852 (sendDispatchMessage): ditto
5854 * lyx_main.C (defaultKeyBindings): adjust keybindings
5855 (deadKeyBindings): ditto
5857 * kbsequence.C (addkey): return a FuncRequest
5859 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5861 * kbmap.C (bind): take a FuncRequest as arg, adjust
5864 (defkey): change to take a FuncRequest as arg, adjust
5865 (findbinding): take a FuncRequest as arg, adjust.
5867 * funcrequest.h (operator=): added
5869 * funcrequest.C (FuncRequest): default kb_action changed from
5870 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5872 * buffer.C (dispatch): simplify
5873 (dispatch): adjust to take a FuncRequest as arg, adjust
5875 * boost.C (assertion_failed): change assertion message slightly
5877 * ToolbarBackend.C (read): simplify
5879 * MenuBackend.C (binding): adjust call to findbinding, add a
5880 message if no binding is found.
5882 (expandToc): correct by adding a empty FuncRequest
5884 * LyXAction.C: include <boost/assert.hpp>
5885 (isPseudoAction): delete function
5886 (LookupFunc): change name to...
5887 (lookupFunc): this. change return type to FuncRequest.
5888 (getActionName): take kb_action as arg, simplify
5889 (funcHasFlag): add an assert, simplify.
5891 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5893 * toc.C (action): return a FuncRequest, simplify
5895 * lyxfunc.C (processKeySym): adjust
5896 (getStatus): delete version that takes an int.
5898 (dispatch): delete version that takes action as int
5900 (sendDispatchMessage): simplify and adjust
5902 * funcrequest.C (getArg): take unsigned int as arg
5904 * ToolbarBackend.C (read): adjust
5905 (add): delete version that takes func as a string.
5906 (getIton): take a FuncRequest as arg
5908 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5911 * MenuBackend.C (MenuItem): add a new construct that only takes a
5912 Kind, simplify the constructor use for submenus.
5914 (expandLastfiles): adjust
5915 (expandDocuments): adjust
5916 (expandFormats): adjust
5917 (expandFloatListInsert): adjust
5918 (expandFloatInsert): adjust
5919 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5921 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5922 Remove class variables lyx_pseudo_map and lyx_arg_map
5924 * LyXAction.C (searchActionArg): delete function
5925 (getPseudoAction): delete function
5926 (retrieveActionArg): delete function
5927 (LookupFunc): make it return kb_action, simplify.
5928 (getActionName): simplify
5930 * factory.C (createInset): fix new bug
5932 2003-09-19 Angus Leeming <leeming@lyx.org>
5934 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5935 masterFilename_ parameter in the include inset.
5937 * factory.C (createInset): changes due to the changes to InsetInclude.
5939 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5941 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5943 2003-09-18 Angus Leeming <leeming@lyx.org>
5946 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5947 Inset::fillWithBibKeys.
5948 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5950 2003-09-18 Angus Leeming <leeming@lyx.org>
5952 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5954 (ctor): pass and store a 'Buffer const &'
5955 (buffer): new member function.
5957 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5958 '*this' to the LaTeXFeatures ctor.
5960 2003-09-18 Angus Leeming <leeming@lyx.org>
5966 * text.C: rename EnumLColor as LColor_color.
5968 2003-09-18 Angus Leeming <leeming@lyx.org>
5970 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5971 remove #include "insets/insetbase.h" from cursor.h.
5973 2003-09-18 Angus Leeming <leeming@lyx.org>
5975 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5976 InsetOld_code to remove #include "inset.h".
5978 * iterators.C: add #include "insets/inset.h"
5980 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5982 * BufferView.C: remove more locking stuff that apparently doesn't
5983 do anything sensible.
5985 2003-09-16 André Pönitz <poenitz@gmx.net>
5988 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5991 2003-09-16 Angus Leeming <leeming@lyx.org>
5993 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5995 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5998 * paragraph.h: remove #include "lyxfont.h". Forward declare
6001 2003-09-16 Angus Leeming <leeming@lyx.org>
6003 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
6004 of support/textutils.h.
6005 (isWord): move the contents of support/textutils.h's IsWordChar here.
6011 * text2.C: add #include "paragraph.h".
6014 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
6016 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6022 * LaTeX.C: use namespace alias for lyx::support::os
6024 2003-09-16 Angus Leeming <leeming@lyx.org>
6027 * bufferview_funcs.C:
6030 * paragraph_pimpl.C:
6032 * text.C: add #include "LColor.h".
6034 2003-09-16 Angus Leeming <leeming@lyx.org>
6036 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
6037 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
6039 Store the FontBits::color variable as an int rather than as an
6040 LColor::colorso that we can move LColor.h out of the lyxfont.h header
6043 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
6044 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
6045 string calls together.
6047 * lyxrc.C: add #include "LColor.h".
6049 2003-09-15 Angus Leeming <leeming@lyx.org>
6051 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6054 2003-09-15 Angus Leeming <leeming@lyx.org>
6056 * LColor.h: add an EnumLColor wrapper for LColor::color.
6058 * lyxfont.[Ch] (color, setColor, realColor):
6059 * lyxtext.h, text.C (backgroundColor):
6060 pass EnumLColor args to/from the functions, rather than LColor::color
6064 * lyxtext.h: forward declare EnumLColor.
6066 * lyx_main.C: add #include "LColor.h".
6068 2003-09-15 Angus Leeming <leeming@lyx.org>
6070 * .cvsignore: add lyx-gtk.
6072 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6077 * ParagraphParameters.C
6081 * bufferview_funcs.C
6091 * vc-backend.C: remove usage of STRCONV
6093 2003-09-15 Angus Leeming <leeming@lyx.org>
6095 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6096 explicitly define the color passed to the painter.
6098 2003-09-15 Angus Leeming <leeming@lyx.org>
6100 * bufferparams.C (BufferParams): reorder member initializers to avoid
6103 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
6105 * CutAndPaste.C (pasteSelection): remove an outdated #warning
6106 * text.C (updateRowPositions): remove an unusual nop
6108 2003-09-12 André Pönitz <poenitz@gmx.net>
6110 * BufferView_pimpl.C:
6119 * Counters.[Ch]: finish the 'automatic counters' job
6121 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6123 * aspell.C: include <boost/assert.cpp> (compile fix)
6125 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
6127 * boost.C (assertion_failed): use lyx::support::abort instead of
6130 2003-09-10 Angus Leeming <leeming@lyx.org>
6132 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6133 with their _fwd progeny.
6135 2003-09-09 Angus Leeming <leeming@lyx.org>
6137 134 files throughtout the source tree: replace 'using namespace abc;'
6138 directives with the appropriate 'using abc::xyz;' declarations.
6140 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
6142 * boost.C (emergencyCleanup): moved here from LAssert.c
6143 (assertion_failed): new function, called by BOOST_ASSERT
6145 * several files: change Assert to BOOST_ASSERT
6147 2003-09-09 Angus Leeming <leeming@lyx.org>
6149 * buffer.[Ch]: Add an Impl class and move Buffer's member
6150 variables into it. As a result move several header files out of
6153 Add header files to lots of .C files all over the tree as a result.
6155 2003-09-09 Angus Leeming <leeming@lyx.org>
6157 * buffer.[Ch]: make Buffer's member variables private. Add
6160 Lots of changes all over the tree as a result.
6162 2003-09-08 Angus Leeming <leeming@lyx.org>
6164 * graph.C: #include <config.h>.
6166 2003-09-08 Angus Leeming <leeming@lyx.org>
6170 * BufferView_pimpl.C:
6199 * toc.C: remove redundant using directives.
6201 2003-09-07 Angus Leeming <leeming@lyx.org>
6203 * LaTeXFeatures.h: remove #include "support/types.h".
6204 * ToolbarBackend.h: remove #include <algorithm>.
6205 * changes.h: remove #include <ctime>.
6206 * debug.h: remove #include <iosfwd>.
6207 * graph.h: remove #include "support/std_string.h".
6208 * lyx_main.h: remove #include <csignal>.
6209 * lyxlex_pimpl.h: remove #include <fstream>.
6210 * sgml.h: remove #include <algorithm>, <utility>.
6211 * toc.h: remove #include "support/std_ostream.h".
6212 Add #include <iosfwd>.
6214 2003-09-07 Angus Leeming <leeming@lyx.org>
6216 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6218 * converter.h: forward declare LatexRunParams.
6219 * encoding.h: remove #include "lyxrc.h".
6220 * lyxtext.h: remove #include "LColor.h".
6221 * lyxtextclass.h: remove #include "support/types.h".
6222 * trans.h: remove #include "tex-accent.h".
6223 * trans_mgr.h: remove #include "tex-accent.h".
6224 * insets/inset.h: remove #include "support/types.h", <vector>.
6225 * insets/insetcollapsable.h: remove #include "LColor.h".
6226 * insets/insetinclude.h: remove #include "dimension.h".
6227 * insets/insetlatexaccent.h: remove #include "dimension.h".
6228 * insets/insetoptarg.h:: remove #include "insettext.h".
6229 * insets/insettext.h: remove #include "dimension.h",
6230 <boost/shared_ptr.hpp>
6232 * insets/renderers.h: add #include "dimension.h".
6233 * insets/updatableinset.h: add #include "support/types.h".
6235 * many .C files: Associated changes.
6237 2003-09-06 Angus Leeming <leeming@lyx.org>
6239 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6240 one, inside testInvariant.
6242 * PrinterParams.C: new file.
6243 * PrinterParams.[Ch]: move the function bodies out of line.
6245 2003-09-06 Angus Leeming <leeming@lyx.org>
6247 * ParagraphParameters.h: forward declare ParameterStruct rather than
6248 including its header file.
6249 (depth): moved out-of-line.
6251 2003-09-06 Angus Leeming <leeming@lyx.org>
6253 * BufferView_pimpl.h:
6256 * lyxfunc.h: forward declare LyXKeySym rather than
6257 #include "frontends/LyXKeySym.h".
6259 * BufferView_pimpl.C:
6262 * lyxfunc.C: associated changes.
6264 2003-09-06 Angus Leeming <leeming@lyx.org>
6266 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6267 As a result, can remove the #include "insets/inset.h" from BufferView.h
6269 2003-09-06 Angus Leeming <leeming@lyx.org>
6271 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6272 As a result, can remove the #include "insets/inset.h" from BufferView.h
6274 2003-09-06 Angus Leeming <leeming@lyx.org>
6280 * bufferview_funcs.C:
6281 * BufferView_pimpl.C:
6286 * ParagraphParameters.C:
6291 * frontends/controllers/ControlDocument.C:
6292 * insets/insetcaption.C: rearrange the #includes into some sort of
6295 * buffer.h: remove #includes ErrorList.h, undo.h
6297 2003-09-06 Angus Leeming <leeming@lyx.org>
6299 * support/types.h: add a 'depth_type' typedef, used to store the
6300 nesting depth of a paragraph.
6303 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6304 defining explicitly.
6307 * paragraph_funcs.h:
6308 * ParagraphParameters.h:
6309 * sgml.h: use lyx::depth_type rather than Paragraph or
6310 ParameterStruct's depth_type.
6313 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6316 * BufferView_pimpl.C:
6318 * ParagraphParameters.C:
6321 * bufferview_funcs.C:
6328 * frontends/LyXView.C:
6329 * frontends/controllers/ControlDocument.C:
6330 * frontends/controllers/ControlErrorList.C:
6331 * insets/insetbibitem.C:
6332 * insets/insetbranch.C:
6333 * insets/insetcaption.C:
6334 * insets/insetcollapsable.C:
6335 * insets/insetenv.C:
6336 * insets/insetert.C:
6337 * insets/insetfloat.C:
6338 * insets/insetfoot.C:
6339 * insets/insetfootlike.C:
6340 * insets/insetnewline.C:
6341 * insets/insetquotes.C:
6342 * insets/insettabular.C:
6343 * insets/insettext.C:
6344 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6346 * frontends/controllers/ControlChanges.C: #include "changes.h".
6348 2003-09-06 Angus Leeming <leeming@lyx.org>
6350 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6351 than #including paragraph.h.
6354 * RowList.h: deleted. Superfluous.
6364 * insets/insettext.h: use ParagraphList_fwd.h rather than
6367 * paragraph.h: don't forward declare ParagraphList.
6370 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6371 rather than ParagraphList.h. paragraph.h is still needed for the
6372 Paragraph::depth_type parameters.
6374 * textcursor.h: enable it to compile stand-alone in light of the
6377 * bufferview_funcs.C:
6389 * frontends/controllers/ControlParagraph.C:
6390 * frontends/controllers/ControlTabular.C:
6391 * insets/insetmarginal.C:
6392 * insets/insetminipage.C:
6393 * insets/insetnote.C:
6394 * insets/insetoptarg.C: add header files needed to compile again.
6396 2003-09-06 Angus Leeming <leeming@lyx.org>
6398 * RowList_fwd.h: new file, forward-declaring Row rather than
6399 #including lyxrow.h.
6404 * insets/insettext.h: use it instead of RowList.h
6406 * bufferview_funcs.C:
6413 * text3.C: #include "RowList.h".
6415 2003-09-05 Angus Leeming <leeming@lyx.org>
6417 * factory.C (createInset):
6418 * vspace.C (c-tor): replace sscanf call with an istringstream.
6419 * ispell.C: re-add missing HP/UX headers.
6420 * lyxserver.C: re-add missing os2 headers.
6422 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6431 * text3.C: re-add missing system headers, needed for 2.95.2.
6433 2003-09-05 Angus Leeming <leeming@lyx.org>
6435 Changes most place everywhere due to the removal of using directives
6436 from support/std_sstream.h.
6438 2003-09-05 Angus Leeming <leeming@lyx.org>
6440 Replace LString.h with support/std_string.h,
6441 Lsstream.h with support/std_sstream.h,
6442 support/LIstream.h with support/std_istream.h,
6443 support/LOstream.h with support/std_ostream.h.
6445 Changes resulting throughout the tree.
6447 2003-09-05 Angus Leeming <leeming@lyx.org>
6449 * sgml.h: ensure that the header file can be compiled stand-alone.
6450 * *.C: strip out redundant #includes. (320 in total.)
6452 2003-09-04 Angus Leeming <leeming@lyx.org>
6454 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6455 here (from getPackages).
6457 * debug.[Ch]: add a new EXTERNAL tag.
6459 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6461 * text2.C (cursorEnd): simplify
6463 (getColumnNearX): adjust
6465 * text.C (computeBidiTables): adjust
6468 * rowpainter.C (paintChars): adjust
6469 (paintSelection): adjust
6470 (paintChangeBar): adjust
6473 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6475 (numberOfSeparators): adjust
6477 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6483 * text3.C: Restricts the mouse click functionality
6484 of insets like bibtex, include, toc and floatlist to the visible
6485 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6486 up the dialogs. Cursor has to be in front of the inset (i.e.
6487 start of row) for this to function.
6489 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6491 * bufferview_funcs.C (currentState): output row information
6493 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6495 * bufferview_funcs.C (currentState): output paragraph position
6497 2003-09-04 Angus Leeming <leeming@lyx.org>
6499 * FloatList.h: move out #include "Floating.h".
6500 * LaTeX.h: move out #include "DepTable.h".
6501 * LyXAction.h: move out #include "funcrequest.h".
6502 * buffer.h: move out #include "author.h", "iterators.h".
6503 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6504 * lyx_main.h: move out #include "errorlist.h".
6505 * lyxfunc.h: move out #include "FuncStatus.h".
6506 * lyxtext: move out #include "lyxcursor.h".
6507 * paragraph_pimpl.h: move out #include "counters.h".
6509 2003-09-03 Angus Leeming <leeming@lyx.org>
6511 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6512 preamble_snippets list, enabling us to add snippets to the preamble
6513 only if the snippet was not there already.
6515 2003-09-04 Angus Leeming <leeming@lyx.org>
6517 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6519 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6521 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6524 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6526 * BranchList.C: point fix, earlier forgotten
6528 2003-09-02 Angus Leeming <leeming@lyx.org>
6530 * box.C (contains): renamed from 'contained' after a fantastic
6533 2003-09-02 John Levon <levon@movementarian.org>
6539 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6541 2003-09-02 John Levon <levon@movementarian.org>
6543 * text2.C: simplification of cursorEnd(), including partial
6546 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6548 * buffer.C (readFile): add a space
6550 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6552 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6554 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6556 * buffer.C (readFile): new function, take a filename and a
6557 ParagraphList::iterator
6559 (readFile): adjust, make it private. don't use setStream, make
6560 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6561 always contain the filename.
6563 * BufferView.C (insertLyXFile): simplify and make it work for
6566 2003-08-30 John Levon <levon@movementarian.org>
6568 * Makefile.am: fix dist (from Kayvan)
6570 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6572 * most files: change to use const Buffer refs
6574 2003-08-27 André Pönitz <poenitz@gmx.net>
6576 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6577 on top of ownerPar().
6579 2003-08-27 John Levon <levon@movementarian.org>
6581 * funcrequest.C: properly initialise POD members
6583 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6585 * lyxtext.h (top_y): move top_y from here
6590 * BufferView_pimpl.[Ch]: to here
6591 * frontends/screen.C:
6592 * insets/insettabular.C:
6593 * insets/insettext.C: adjust
6594 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6596 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6599 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6601 2003-08-26 André Pönitz <poenitz@gmx.net>
6603 * paragraph_func.[Ch] (outerPar): new function
6606 * paragraph_funcs.C:
6607 * paragraph_funcs.h:
6608 * paragraph_pimpl.C:
6609 * text2.C: remove Inset::par_owner
6611 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6616 * text2.C: eliminates the needFullRow/display() stuff
6617 altogether, putting the logic in metrics/draw in the insets.
6619 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6621 * text2.C (redoParagraphInternal, redoParagraphs):
6622 * text.C (redoParagraph): add a call to updateRowPositions at the
6623 end of each 'metrics-like' call. Remove all others.
6624 (getRow): remove the 'y-computing' version.
6625 (getRowNearY): do not compute nor return the real y. Solve the
6626 'y < 0' problem and simplify.
6628 2003-08-22 Angus Leeming <leeming@lyx.org>
6630 * *.[Ch]: clean-up of licence and author blurbs.
6631 Also move config.h out of a few .h files and into a few .C files.
6633 2003-08-22 André Pönitz <poenitz@gmx.net>
6635 * lyxrow.[Ch]: add x_ and *fill_ members
6640 * text2.C: adjust/remove prepareToPrint() calls
6642 2003-08-22 André Pönitz <poenitz@gmx.net>
6644 * lyxrow.[Ch]: add end_ member
6646 * lyxrow_funcs.C: use LyXRow::end_
6648 * lyxtext.h (singleWidth): add LyXFont parameter
6651 * text2.C: adjust LyXText::singleWidth() calls
6653 * text.C (redoParagraph): simplify row breaking logic
6656 2003-08-19 André Pönitz <poenitz@gmx.net>
6658 * funcrequest.C: initialize button_ member
6661 * rowpainter.[Ch]: interface consolidation
6663 2003-08-18 André Pönitz <poenitz@gmx.net>
6666 * BufferView_pimpl.C:
6668 * paragraph_funcs.C:
6670 * text3.C: remove LyXScreen::draw() and fitCursor calls
6672 * BranchList.h: remove spurious semicolons
6674 * MenuBackend.C: fix branchlist related crash
6676 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6684 * bufferparams.[Ch]:
6688 * text3.C: implements the 'branch inset'
6689 idea. This allows the output of various versions of a document
6690 from a single source version, selectively outputing or suppressing
6691 output of parts of the text.
6692 This implementation contains a 'branch list editor' in a separate
6693 tab of the document settings dialog. Branches are user definable
6694 and have a "display colour" to distinguish them on-screen.
6696 ColorHandler was somewhat cleaned up.
6697 (1) make possible a dynamically growing LColor list by allowing
6698 the graphic context cache to grow along (vector);
6699 (2) eliminate an IMHO unnecessary step in colour allocation.
6701 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6703 * BufferView_pimpl.C: compile fix
6705 2003-08-15 André Pönitz <poenitz@gmx.net>
6707 * rowpainter.C: remove extra metrics calls
6709 * lyxtext.h: merge the two constructors into a single one,
6710 pass reference to owner's par list
6712 * BufferView_pimpl.C:
6716 2003-08-15 André Pönitz <poenitz@gmx.net>
6718 * lyxrow_funcs.[Ch]:
6721 * paragraph_funcs.C:
6726 * text_funcs.C: split LyXText::rowlist_ into individual
6727 Paragraph::rows_ chunks
6730 * BufferView_pimpl.[Ch]:
6733 * text3.C: remove toggleSelection()
6735 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6737 * bufferlist.C: beautify two alerts (shorter text of buttons)
6738 * buffer.C: Remove redundant ' ' from message
6740 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6741 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6742 rename VALIGN_CENTER to VALIGN_MIDDLE
6744 2003-08-11 André Pönitz <poenitz@gmx.net>
6746 * lyxtext.h (getPar):
6747 * text.C: new function
6749 2003-08-11 André Pönitz <poenitz@gmx.net>
6752 * tracer.[Ch]: remove unneeded files
6754 * InsetList.[Ch]: remove resizeInsetsLyXText()
6759 * text3.C: merge insertParagraphs() and appendParagraph()
6760 remove breakAgain(), update()
6762 * BufferView_pimpl.[Ch]:
6763 * bufferview_funcs.[Ch]:
6767 * tabular.C: adjust after text & InsetList changes.
6769 2003-08-08 André Pönitz <poenitz@gmx.net>
6771 * text.C (insertChar, backspace): replace rowlist fiddling
6772 with rebreak of full par
6775 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6776 checkParagraph, updateInset): removed
6778 2003-08-07 André Pönitz <poenitz@gmx.net>
6781 * text3.C: merge some LFUN handlers, remove dead code
6783 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6785 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6787 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6789 * text2.C (DEPM): fix part of bug 1255 and 1256
6791 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6793 * BufferView_pimpl.C (workAreaDispatch): change to use
6794 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6795 that are no mouse related.
6797 2003-08-05 André Pönitz <poenitz@gmx.net>
6800 * BufferView_pimpl.[Ch]:
6801 * bufferview_funcs.C:
6803 * text3.C: rip out "deep update"
6805 * textcursor.[Ch] (last_sel_cursor): remove unused member
6807 2003-08-04 André Pönitz <poenitz@gmx.net>
6810 * BufferView_pimpl.[Ch]:
6811 * ParagraphParameters.C:
6812 * bufferview_funcs.C:
6818 * text3.C: replace "complicated" BufferView::update(...) calls with
6821 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6823 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6825 * Makefile.am (lyx_SOURCES): add paper.h
6827 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6829 * Makefile.am: move things around so that both lyx-qt and
6830 lyx-xforms can be built (according to --with-frontend). Then lyx
6831 is a symbolic link to lyx-[firstfrontend]
6833 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6835 * Always use std::endl with lyxerr
6837 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6839 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6841 2003-08-01 André Pönitz <poenitz@gmx.net>
6844 * BufferView_pimpl.[Ch]:
6846 * text3.C: merge BufferView::repaint() and BufferView::update()
6848 2003-08-01 José Matos <jamatos@lyx.org>
6850 * buffer.[Ch]: file_format is no longer a buffer data element.
6852 2003-08-01 André Pönitz <poenitz@gmx.net>
6857 * text2.C: make redoParagraph more independent of current cursor
6859 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6861 * text2.C: remove unneeded members
6863 2003-07-30 André Pönitz <poenitz@gmx.net>
6865 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6867 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6868 create a single function...
6870 * paragraph_funcs.C (moveItem): ... here.
6873 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6875 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6877 * LColor.[Ch]: Add comment and greyedout logical colors.
6879 2003-07-30 André Pönitz <poenitz@gmx.net>
6881 * tabular.C: don't use Assert too heavily. This crashes where it
6884 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6886 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6887 is disabled (bug 1232)
6889 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6891 * factory.C: limited 'arg' scope
6893 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6895 * factory.C: fixed Note submenu issues
6897 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6899 * factory.C: submenu for Note/Comment/Greyedout
6901 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6904 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6906 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6909 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6910 greyedout. Patch provided by Jürgen Spitzmüller.
6912 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6914 * kbmap.C (read): fix error message when reading bind files
6916 2003-07-29 Angus Leeming <leeming@lyx.org>
6918 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6919 certainly does not do what it purports to do. I am doing it, and
6920 us, a favour by killing it.
6922 2003-07-28 José Matos <jamatos@lyx.org>
6924 * buffer.C (readBody, do_writeFile):
6925 * paragraph.C(readParagraph): \end_document replaces \the_end.
6927 2003-07-29 André Pönitz <poenitz@gmx.net>
6930 * BufferView_pimpl.[Ch]:
6934 * textcursor.[Ch]: remove toggleToggle & Co
6936 2003-07-28 José Matos <jamatos@fep.up.pt>
6938 * buffer.C (readParagraph):
6939 * params_func (readParToken, readParagraph):
6940 * paragraph.C (write): \layout -> \begin_layout.
6942 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6944 * lyxlex_pimpl.C (setFile): clean up slightly.
6946 * bufferparams.h: add compressed var
6948 * buffer_funcs.C (readFile): adjust for LyXLex change
6949 (newFile): ditto + simplify
6951 * buffer.C (writeFile): handle writing of compressed files
6953 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6954 Check if the file is compressed and set a bufferparm if so.
6956 * Makefile.am (lyx_LDADD): remove explicit -lz
6958 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6960 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6961 makeDocBookFile): put the real LyX version in the first line of
6965 * version.C.in: remove lyx_docversion
6967 * tabular.C (write_attribute): add a template-based version to
6968 write enums properly
6970 2003-07-28 André Pönitz <poenitz@gmx.net>
6975 * text3.C: use doubles again for x-coordinates. They are needed.
6977 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6979 * messages.C (getLocaleDir): use lyx_localedir()
6981 * lyxlex_pimpl.C (setFile): compress stuff
6983 * buffer.C (writeFile): add some compression stuff
6984 (do_writeFile): new func, dont call expliti close... will this
6987 * Makefile.am (lyx_LDADD): add -lz
6989 2003-07-28 José Matos <jamatos@fep.up.pt>
6991 * buffer.C: increment file format.
6992 * paragraph_funcs (readParagraph, readParToken):
6993 * paragraph.C (readParagraph): add \end_layout.
6995 2003-07-27 Angus Leeming <leeming@lyx.org>
6997 * Makefile.am: remove special casing for configure-time setting of
6998 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
7000 * lyx_main.C (init): remove all Jean-Marc's magic setting of
7001 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
7003 2003-07-26 André Pönitz <poenitz@gmx.net>
7005 * paragraph_func.[Ch]:
7006 * paragraph.C (realizeFont): inline it whereever it is used
7011 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
7014 2003-07-26 André Pönitz <poenitz@gmx.net>
7018 * text2.C: get rid of LyXText::need_break_row
7020 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7022 * toc.[Ch]: put namespace toc inside namespace lyx
7024 * MenuBackend.C (expandToc2): adjust for lyx::toc
7027 * lyxfunc.C (dispatch): adjust for lyx::find
7029 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
7030 lyx::find instead. Reorganize a bit.
7031 (LyXReplace): rename to replace
7032 (LyXFind): rename to find
7034 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
7037 2003-07-26 André Pönitz <poenitz@gmx.net>
7039 * text.C (setHeightOfRow): restrict scope of temporary variable
7041 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
7042 code (never has been used?)
7044 2003-07-27 Asger Alstrup <alstrup@local>
7046 * text.C (fill): Optimise algorithm to exploit that we can reuse
7047 the LyXFont for many characters.
7048 (setHeightOfRow): Same thing.
7049 (rowBreakPoint): Same thing.
7051 2003-07-26 Asger Alstrup <alstrup@local>
7053 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7055 * text.C (singleWidth): Spurious font copying in hot-spot
7056 singleWidth avoided. Reorder tests for arabic for efficiency.
7058 * text.C (fill): handle empty paragraphs better.
7060 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7063 * encoding.h: add includes
7065 * lyxrc.C: remove reading of bind files
7067 * lyx_main.C (init): setup bindings and menus only if we have a
7070 * kbmap.C (read): new method. Do the actual reading of bind
7073 * converter.C (dvipdfm_options):
7076 (output): adapt PAPER_* enums.
7078 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7080 * bufferparams.h: remove paper-related enums from there
7082 * paper.h: New file. A trivial header file to hold paper-related
7083 enums. It should later expand to contain many paper-related
7086 * lyxrc.C: declare extern displayTranslator
7088 2003-07-27 José Matos <jamatos@fep.up.pt>
7090 * tabular.[Ch] (linuxdoc): add support for tables and figures
7093 2003-07-27 José Matos <jamatos@fep.up.pt>
7095 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7096 consistency in both functions.
7097 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7099 2003-07-26 Asger Alstrup <alstrup@local>
7101 * rowpainter.C (paintRows): Change algorithm to work directly on
7102 the insets rather than asking every character in the document
7103 whether its an inset.
7105 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
7107 * buffer.C (openFileWrite): factorize some code
7109 2003-07-26 Angus Leeming <leeming@lyx.org>
7112 * lyx_main.[Ch]: replace occurances of system_tempdir with
7115 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7117 * rename Inset to InsetOld
7119 2003-07-25 Asger Alstrup <alstrup@diku.dk>
7121 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7122 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7123 which I think is a bit clearer. EDIT is gone, since it was
7124 premature optimisation, and broken for mathed anyway.
7125 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7126 with cursor positioning in insets as well (math insets still do not
7127 work, but that's a different story anyway.) It mysteriously
7128 crashes sometimes with undo in the first paragraph, but I'm fairly
7129 confident that this is a compiler bug.
7131 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7133 * paragraph.C (Paragraph): adjust for new clone return type
7135 (copyIntoMinibuffer): ditto
7137 2003-07-25 Asger Alstrup <alstrup@lyx.org>
7139 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7140 by not having a special case, and always doing a full rebreak of
7141 the document after undo.
7143 2003-07-23 Angus Leeming <leeming@lyx.org>
7145 * factory.C (createInset): InsetExternal::setParams now takes a
7148 2003-07-23 Angus Leeming <leeming@lyx.org>
7150 * factory.C (createInset): changed interface to the external and
7151 graphics mailers' string2params functions.
7153 2003-07-23 Angus Leeming <leeming@lyx.org>
7155 * factory.C (createInset): pass a
7156 Buffer const * parameter to InsetExternalMailer's string2params.
7158 2003-07-22 John Levon <levon@movementarian.org>
7160 * Thesaurus.h: include the right aiksaurus header
7162 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7164 * MenuBackend.C (expand): check menu shortcuts unconditionally
7166 2003-07-21 Angus Leeming <leeming@lyx.org>
7168 * factory.C (createInset): pass a
7169 buffer_path parameter to InsetGraphicsMailer's string2params.
7171 2003-07-21 Angus Leeming <leeming@lyx.org>
7173 * BufferView_pimpl.C (buffer):
7176 * lyxfunc.C (dispatch):
7177 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7178 rather than the grfx shortcut.
7180 2003-07-21 André Pönitz <poenitz@gmx.net>
7182 * rowpainter.C: remove unused variables
7185 * tabular_funcs.h: move to tabular.C
7186 * Makefile.am: adjust
7188 * tabular.[Ch]: basic optical cleaning
7190 * author.h: pass references, not values
7192 2003-07-18 André Pönitz <poenitz@gmx.net>
7200 * text3.C: two-phase drawing for InsetText and InsetTabular
7201 some float -> int changes.
7203 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7205 * lyx_main.C: fix the fix
7207 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7209 * lyx_main.C: fix a crash in batch mode if no files specified
7212 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
7214 * format.[Ch] (papersize): moved to BufferParams
7215 * converter.[Ch] (dvips_options): moved to BufferParams
7216 (dvipdfm_options): moved to anon namespace
7217 * bufferparams.[Ch]: added above functions.
7219 2003-07-17 André Pönitz <poenitz@gmx.net>
7223 * text2.C: don't call inset->update() anymore
7225 * metricsinfo.[Ch]: add convenience constructor
7227 2003-07-16 André Pönitz <poenitz@gmx.net>
7232 * text2.C: replace the LyXCursor::irow_ member with
7233 on-demand computation of the value
7235 2003-07-16 John Levon <levon@movementarian.org>
7237 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7239 2003-07-15 André Pönitz <poenitz@gmx.net>
7242 * text2.C: remove no more needed refresh_row
7244 2003-07-15 André Pönitz <poenitz@gmx.net>
7249 * text3.C: refresh_status tristate -> need_update bool
7251 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7253 * lyxtext.h (init): remove reinit argument (act as if always true)
7254 * text2.C: adjust to that
7256 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7258 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7259 * text3.C: use it to delete selections in some cases
7260 (bugs 441, 673, 702, 954).
7262 2003-07-14 André Pönitz <poenitz@gmx.net>
7264 * rowpainter.[Ch]: reduce interface
7266 2003-07-14 André Pönitz <poenitz@gmx.net>
7268 * BufferView_pimpl.C:
7269 * text2.C: adjust after removing unused BufferView * argument
7271 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7273 * text2.C (init): fix a crash fired on resize
7275 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7277 * buffer.[Ch]: added new closing signal
7278 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7279 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7280 BufferView::Pimpl via the closing the signal
7282 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7284 * buffer.[Ch]: take out all bv-related from buffer
7286 * BufferView_pimpl.[Ch]: connect to new signals
7287 * CutAndPaste.C: removed useless asserts
7288 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7291 * lyxfunc.C: moved view-related funciontality from vc here
7292 * paragraph.C: removed outdated comments
7295 2003-07-10 André Pönitz <poenitz@gmx.net>
7297 * BufferView_pimpl.C:
7301 * text2.C: remove InsetText::InnerCache, clean up consequences
7303 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7305 * ispell.C: fix two typos in error messages
7307 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7309 * Extend Note inset to other forms of annotation like Comment
7310 and Greyedout. Right button click gives dialog.
7312 Files modified or added (+):
7316 * ControlNote.[Ch] +
7318 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7319 frontends/controllers
7323 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7325 * aspell.C: add missing namespace lyx::support
7327 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7329 * BufferView.[Ch] (newFile): Add
7330 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7331 * LaTeX.[Ch] (message): added this signal and use it
7332 * buffer.[Ch] (busy, message): added these signals and use them
7333 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7337 * importer.C: use buffer signals instead of direct bv calling
7338 * lyx_cb.[Ch] (ShowMessage): removed
7341 * paragraph_funcs.C:
7342 * text2.C: use buffer signals
7344 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7346 * introduce namespace lyx::graphics
7348 2003-07-02 André Pönitz <poenitz@gmx.net>
7350 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7352 2003-07-01 André Pönitz <poenitz@gmx.net>
7359 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7360 text*.C to text_func.C
7362 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7364 * introduce namespace lyx::support
7366 2003-06-30 André Pönitz <poenitz@gmx.net>
7371 * text.C: re-enable --with-included-string
7373 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7375 * textcursor.C: add <config.h>
7377 * text.C (getWord): remove const from word_location arg
7379 * lyxvc.C (getLogFile): fix const type order
7381 * lyxtext.h: remove const from word_location arg, add arg name
7383 * lyxlayout.h: currect type on labeltype.
7385 * importer.C: correct \file
7387 * converter.C (intToFormat): use std:: on ret val, ws changes
7389 * bufferlist.h: correct \file
7391 * buffer.C (makeLinuxDocFile): fix const type order
7392 (makeDocBookFile): ditto
7393 (fillWithBibKeys): use std:: on stdlib args.
7395 * CutAndPaste.C: fix authors.
7396 (availableSelections): use std:: on return vector
7398 2003-06-27 André Pönitz <poenitz@gmx.net>
7400 * BufferView_pimpl.C:
7401 * bufferview_funcs.C:
7409 * text3.C: remove LyXCursor::row_ member
7412 * text.C: rename fullRebreak() to partialRebreak() and implement
7413 a fullRebreak() that really bereks fully
7415 * textcursor.h: new struct for cursor-related data
7417 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7419 * lyx_main.C (LyX): get full path of document loaded on the
7422 2003-06-26 André Pönitz <poenitz@gmx.net>
7424 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7425 remove unused/broken operator>,<,>=.
7427 * text.C: remove only use of broken operator<= in an Assert().
7429 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7431 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7432 moved errorlist_.clear to showErrorList
7434 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7436 * converter.C (scanLog, runLaTeX):
7437 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7438 move the bv->showErrorList call to the callers
7439 * lyxfunc.C: i.e. here...
7441 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7442 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7443 namespace, the second to...
7444 * buffer_funcs (BufferFormat, parseErrors): added
7445 * errorlist.C (ErrorList(TeXErrors const &)): removed
7447 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7449 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7451 2003-06-24 "Garst R. Reese" <reese@isn.net>
7455 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7457 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7459 * version.C.in: change docversion to 1.4
7461 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7463 * buffer.C: fix a bug just introduced
7465 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7467 * buffer.[Ch]: added the parseError signal and use it, removed
7469 * BufferView.[Ch] (addError): moved to ...
7470 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7471 to the Buffer::parseError signal to catch (guess what) parse errors
7472 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7474 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7476 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7477 ability to create a buffer and to return an existing one from
7478 the list. Moved these functions to...
7479 * buffer_funcs.[Ch]: added
7480 * BufferView.[Ch] (loadLyXFile): added
7481 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7482 job removed from bufferlist::loadLyXFile.
7483 * buffer.C (setReadOnly): make it work without view
7484 (i.e added an if (users))
7486 2003-06-19 Angus Leeming <leeming@lyx.org>
7489 * LyXAction.C (init):
7490 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7491 with LFUN_DIALOG_SHOW <name> <data>.
7493 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7495 * CutAndPaste.C (availableSelections): small compilation fix for
7496 ancient (gcc 2.9x) compilers
7498 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7500 * text3.C (cursorNext): add tmp var
7502 * text2.C (updateCounters): for function calling out of for clause
7503 (replaceSelectionWithString): ditto
7504 (insertStringAsParagraphs): ditto
7505 (getColumnNearX): add tmp var
7506 (setCursorFromCoordinates): add tmp var
7507 (cursorDownParagraph): add tmp var
7508 (deleteEmptyParagraphMechanism): add tmp var
7510 * text.C (insertChar): add tmp var
7512 * rowpainter.C (paintDepthBar): add tmp var
7514 * CutAndPaste.C (availableSelections): potentially check all
7515 paragraphs in a cut to fill the shown strings.
7517 2003-06-18 André Pönitz <poenitz@gmx.net>
7519 * kbmap.[Ch]: use vector<> instead of list<>
7521 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7523 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7524 pasteSelection with index
7526 * text2.C (pasteSelection): modify, call pasteSelection with index
7528 * paragraph.C (asString): reimplement version with no interval to
7529 call the one with interval.
7531 * lyxtext.h: add index arg to pasteSelection
7533 * MenuBackend.C (MenuItem): handle PasteRecent
7534 (Menu::read::Menutags): add md_pasterecent
7536 (expandPasteRecent): new function
7539 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7541 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7543 (availableSelections): new function
7545 2003-06-17 Angus Leeming <leeming@lyx.org>
7547 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7549 2003-06-17 Angus Leeming <leeming@lyx.org>
7552 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7554 * lyxfunc.C (dispatch): invoke it.
7556 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7558 * iterators.C (operator++, ParPosition): reintroduce some
7559 const_cast for the benefit of older compilers.
7561 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7563 * text3.C (dispatch): do not modify clipboard when doing
7564 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7565 LFUN_DELETE_SKIP on a selection selection
7567 2003-06-16 André Pönitz <poenitz@gmx.net>
7573 * tabular.[Ch]: IU of clone() and getLabelList();
7575 2003-06-13 André Pönitz <poenitz@gmx.net>
7577 * tabular.h: compactification
7579 2003-06-12 André Pönitz <poenitz@gmx.net>
7583 * tabular_funcs.h: some renaming plus whitespace
7585 2003-06-12 André Pönitz <poenitz@gmx.net>
7588 * BufferView_pimpl.C:
7594 * toc.C: Return a Paragraph & for ParIterator::operator*()
7596 2003-06-11 John Levon <levon@movementarian.org>
7600 * ToolbarBackend.C: add "Toolbars" section and
7603 2003-06-10 Angus Leeming <leeming@lyx.org>
7606 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7608 * lyxfunc.C (dispatch): invoke it.
7610 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7612 * main.C: protect <ios> with HAVE_IOS
7613 (main): protect sync_with_stdio with HAVE_IOS
7615 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7617 * text2.C (cutSelection): adjust
7618 (pasteSelection): adjust
7620 * messages.C: handle get of empty string
7622 * main.C (main): use sync_with_stdio(false)
7624 * lyxfunc.C (dispatch): adjust
7626 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7627 (WriteAs): remove unneeded BufferView arg.
7629 * bufferparams.h: use correct types on papersize, papersize2 and
7632 * bufferparams.C (readToken): adjust for type
7633 (writeLaTeX): add missing cases to switch.
7635 * bufferlist.C (quitWriteBuffer): adjust
7638 * buffer.C (asciiParagraph): remove some commented code.
7640 * CutAndPaste.C: remove current_view extern variable.
7641 (cutSelection): add BufferParams arg.
7642 (eraseSelection): add BufferParams arg.
7643 (pasteSelection): add Buffer const & arg
7645 2003-06-07 John Levon <levon@movementarian.org>
7648 * paragraph_funcs.C:
7649 * paragraph_pimpl.C:
7653 * paragraph.C: allow InsetERT to freely space lines,
7654 and some consolidation of code
7656 2003-06-06 José Matos <jamatos@fep.up.pt>
7658 * buffer.C (makeDocBookFile): fix bug #821
7660 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7662 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7664 2003-06-04 Angus Leeming <leeming@lyx.org>
7666 * buffer.C: bump format to 224.
7668 2003-06-05 André Pönitz <poenitz@gmx.net>
7670 * text2.C (redoParagraphs): remove two const_cast<>
7672 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7674 * ParagraphList.h: remove last remnants of NO_STD_LIST
7676 2003-06-03 Angus Leeming <leeming@lyx.org>
7678 * factory.C (createInset): small change to the way InsetExternal's params
7681 2003-06-04 André Pönitz <poenitz@gmx.net>
7683 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7685 * paragraph_pimpl.h:
7686 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7688 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7690 * undo_funcs.C: make some simple cases of undo work again
7692 2003-06-03 John Levon <levon@movementarian.org>
7694 * ispell.C: HPUX doesn't have sys/select.h
7697 2003-06-03 John Levon <levon@movementarian.org>
7699 * CutAndPaste.C: update tabular and include inset
7704 * paragraph.C: remove owningBuffer(), don't pass Buffer
7707 * factory.C: insetGraphicsParams changed
7709 2003-06-02 John Levon <levon@movementarian.org>
7715 * text3.C: remove insetparent
7717 2003-06-02 John Levon <levon@movementarian.org>
7720 * buffer.C: fix inset_iterator.end(), move out of line
7723 2003-06-01 John Levon <levon@movementarian.org>
7725 * text3.C: use a proper cut/paste when doing inset
7726 insert (from Jürgen Spitzmüller)
7728 2003-06-01 John Levon <levon@movementarian.org>
7730 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7732 2003-05-30 André Pönitz <poenitz@gmx.net>
7734 * rowpainter.C: unify second drawing phase
7736 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7738 * trans_mgr.C: remove one case of current_view
7740 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7742 * paragraph_funcs.h: remove paragraph.h include
7744 * paragraph.h: delete NO_STD_LIST stuff
7746 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7748 * buffer.h: remove paragraph.h include
7750 * ParagraphList.C: delete file
7752 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7754 * toc.C (getTocList): adjust
7756 * paragraph_pimpl.C (validate): adjust
7758 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7760 * paragraph.C (Paragraph): adjust
7761 (getPositionOfInset): use const_iterator, adjust
7762 (bibitem): use const_iterator, adjust
7763 (setInsetOwner): adjust
7765 * iterators.C (operator++): adjust
7767 * InsetList.[Ch]: Replace selfmade iterator with standard
7768 vector::iterator also introduce const_iterator. Remove getPos,
7769 getInset and setInset from InsetTable. Adjust accordingly.
7771 * BufferView.C (lockInset): adjust
7772 (ChangeInsets): adjust
7774 * tabular.[Ch]: delete commented same_id functions
7776 2003-05-28 John Levon <levon@movementarian.org>
7778 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7780 2003-05-28 André Pönitz <poenitz@gmx.net>
7782 * metricsinfo.[Ch]: remove 'fullredraw' member
7784 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7786 * lyxtextclass.C (operator): remove caching.
7788 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7792 * text2.C (cursorBottom): adjust
7793 (setCounter): use ParagraphList::find, adjust
7795 * text.C (workWidth): use ParagraphList::find, adjust
7797 * lyxcursor.C (LyXCursor): adjust
7799 * buffer.C (inset_iterator): adjust
7801 * ParagraphList.h: make iterator(value_type) private, make
7802 ParagraphList a friend of iterator.
7804 * ParagraphList.C (find): new function
7806 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7808 2003-05-27 André Pönitz <poenitz@gmx.net>
7810 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7812 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7814 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7816 2003-05-26 John Levon <levon@movementarian.org>
7818 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7820 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7822 * remove same_id from function signatures, adjust.
7824 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7826 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7828 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7830 * paragraph.C (Paragraph): get rid of same_ids parameter
7832 * ParagraphList.C (insert): adjust
7835 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7837 * paragraph_funcs.C (breakParagraph): adjust
7838 (breakParagraphConservative): adjust
7840 * buffer.C (readParagraph): adjust
7842 * ParagraphList.C (insert): take a reference instead of a pointer
7845 * paragraph.[Ch] (id): new function
7847 * bufferlist.C (newFile): adjust
7849 * ParagraphList.C (ParagraphList): adjust
7851 (push_back): take a reference instead of a pointer.
7853 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7855 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7858 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7859 set else use old code.
7861 * ParagraphList.C: remove all NO_NEXT code and only compile this
7862 code of NO_STD_LIST is set.
7864 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7866 * BufferView_pimpl.C:
7876 * graphics/GraphicsConverter.C:
7877 * graphics/PreviewLoader.C: header adjustment
7879 2003-05-23 Angus Leeming <leeming@lyx.org>
7881 * LaTeXFeatures.[Ch] (useBabel): new method.
7882 * bufferparams.C (writeLaTeX): use it.
7884 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7886 * ParagraphList.h (set): remove unused function.
7888 2003-05-23 André Pönitz <poenitz@gmx.net>
7891 * BufferView_pimpl.C:
7895 * undo_funcs.C: setUndo reworked
7897 * iterators.[Ch]: add access to topmost ParagraphList
7899 * lyxtext.[Ch] (workWidth): add a const
7901 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7903 * texrow.[Ch] (increasePos): remove function
7904 * exporter.C (export): removed unused var and outdated comment
7906 2003-05-23 Angus Leeming <leeming@lyx.org>
7908 * latexrunparams.h: rename fragile as moving_arg.
7909 * paragraph.C (simpleTeXOnePar): ditto.
7910 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7912 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7914 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7916 (textUndoOrRedo): comment out a currently unused var.
7918 * paragraph.h (NO_NEXT): enable NO_NEXT
7920 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7922 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7924 * exporter.C (Export): adjust for removeAutoInsets removal.
7926 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7928 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7930 * BufferView.[Ch] (removeAutoInsets): delete function
7932 2003-05-22 Angus Leeming <leeming@lyx.org>
7934 * latexrunparams.h: add a free_spacing variable.
7936 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7937 to pass moving_arg, as the data is stored in runparams.fragile.
7939 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7940 to Inset::latexOptional or to simpleTeXOnePar.
7942 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7943 free_spacing arg to Inset::latexOptional.
7945 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7948 2003-05-22 Angus Leeming <leeming@lyx.org>
7950 * latexrunparams.h: add fragile and use_babel variables.
7952 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7953 * buffer.C (makeLaTeXFile): store this returned value in
7954 runparams.use_babel, thus passing it to the inset::latex methods.
7956 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7957 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7959 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7960 longer has a fragile arg, as it is stored in runparams.fragile.
7962 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7963 moving_arg parameter as the data is stored in runparams.fragile.
7965 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7966 a fragile parameter as the data is stored in runparams.fragile.
7968 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7970 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7972 2003-05-22 Angus Leeming <leeming@lyx.org>
7974 * latexrunparams.h: add a 'bool nice' which defaults to false.
7976 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7977 now encapsulated within runparams.
7979 * bufferlist.C (updateIncludedTeXfiles):
7980 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7982 2003-05-22 Angus Leeming <leeming@lyx.org>
7984 * latexrunparams.h: new file containing struct LatexRunParams.
7985 * Makefile.am: add new file.
7987 * LaTeX.[Ch] (c-tor, run):
7988 * buffer.[Ch] (makeLaTeXFile):
7989 * bufferlist.[Ch] (updateIncludedTeXfiles):
7990 * converter.C (convert, scanLog):
7991 * converter.[Ch] (runLaTeX):
7992 * exporter.C (Export):
7993 * paragraph.[Ch] (simpleTeXOnePar):
7994 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7995 * paragraph_funcs.[Ch] (latexParagraphs):
7996 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7997 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7998 pass around a LatexRunParams parameter.
8000 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8002 * paragraph.[Ch]: remove unused constructor
8004 * ParagraphList.C (erase): new function, taking two iterators
8006 2003-05-22 André Pönitz <poenitz@gmx.net>
8008 * undo_funcs.C: remove duplicated code
8010 * iterator.[Ch]: operator=
8012 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8014 * tabular.C (SetMultiColumn): ws changes
8016 * rowpainter.C (paintFirst): get rid of a ->previous
8018 * lyx_cb.C (getPossibleLabel): parlist simplification
8020 * BufferView.C (ChangeInsets): simplify slightly.
8022 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8024 * LyXAction.C: new lfun space-insert, kill protected-space-insert
8025 * lfuns.h: new LFUN_SPACE
8026 * lyxfunc.C: protected space has a new lfun
8027 * paragraph_funcs.C: read new space insets
8029 * factory.C: handle new space insets
8031 2003-05-22 André Pönitz <poenitz@gmx.net>
8034 * BufferView_pimpl.C:
8037 * undo_funcs.C: return a ParIterator from getParFromID.
8039 * iterators.[Ch]: add two const's
8041 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8043 * toc.C (getTocList): adjust
8045 * iterators.[Ch]: rework for parlist
8047 * buffer.C (par_iterator_begin): adjust
8048 (par_iterator_end): adjust
8050 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
8052 * BufferView.C (removeAutoInsets): adjust
8053 (ChangeInsets): adjust
8055 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
8057 * text.C (top_y): fix bug 1110
8059 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
8061 * errorlist.[Ch]: added
8064 * BufferView_pimpl.C:
8065 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8068 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8070 * Makefile.am: ensure that lyx is relinked upon changes to the
8071 various "convenience" libs.
8073 2003-05-20 Angus Leeming <leeming@lyx.org>
8075 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8076 files are compiled in alphabetical order again.
8078 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8080 2003-05-19 Angus Leeming <leeming@lyx.org>
8082 * gettext.[Ch]: remove "char const * _(char const *)".
8084 2003-05-19 André Pönitz <poenitz@gmx.net>
8086 * dimension.[Ch]: promote from mathed/dimension.[Ch]
8095 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8097 2003-05-19 André Pönitz <poenitz@gmx.net>
8101 * lyxtextclass.[Ch]:
8103 * paragraph_funcs.[Ch]:
8105 * text3.C: more insetenv work
8107 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
8109 * ParagraphParameters.C (params2string): small bug fixed
8111 2003-05-16 André Pönitz <poenitz@gmx.net>
8114 * bufferview_funcs.C: patch from Kornel Benko to prevent
8115 crash when _(...) is called twice in a statement
8117 2003-05-16 André Pönitz <poenitz@gmx.net>
8124 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8126 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
8128 * lyx_main.C (init): remove spurious static_cast
8130 2003-05-14 André Pönitz <poenitz@gmx.net>
8132 * BufferView.C: fix format string
8134 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
8136 * BufferView.[Ch] (insertErrors): removed
8137 * BufferView.[Ch] (showErrorList): added
8138 * buffer.C (runChkTeX):
8139 * converter.C (scanLog): call showErrorList instead of inserterrors
8141 2003-05-13 André Pönitz <poenitz@gmx.net>
8143 * BufferView_pimpl.C:
8145 * bufferview_func.C:
8152 * tabular_funcs.h: tostr() from its own header
8154 * ParagraphParameters.C:
8159 * text3.C: STRCONV()
8161 2003-05-12 André Pönitz <poenitz@gmx.net>
8164 * BufferView_pimpl.C:
8168 * ParagraphParameters.C:
8172 * bufferview_funcs.C:
8185 * paragraph_funcs.C:
8189 * text3.C: boost::format -> bformat all over the place
8192 2003-05-09 André Pönitz <poenitz@gmx.net>
8194 * LColor.[Ch]: Pimpl the #include <map> away
8196 2003-05-09 John Levon <levon@movementarian.org>
8198 * bufferlist.C: never remove emergency saves
8200 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8202 * Makefile.am: better lib building
8204 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
8206 * texrow.[Ch]: remove dependency on Paragraph and just store a id
8208 * paragraph_pimpl.C (simpleTeXBlanks): adjust
8209 (simpleTeXSpecialChars): adjust
8210 (simpleTeXSpecialChars): adjust
8211 * paragraph.C (simpleTeXOnePar): adjust
8212 * buffer.C (makeLaTeXFile): adjust
8214 * Makefile.am (BOOST_LIBS): allow boost as system lib.
8216 * text2.C (changeDepth): parlist cleanup
8217 (getColumnNearX): ditto
8219 * rowpainter.C (getLabelFont): parlist cleanup
8221 * bufferlist.C (newFile): parlist cleanup
8223 * CutAndPaste.C (eraseSelection): parlist cleanup
8225 * BufferView_pimpl.C (trackChanges): parlist cleanup
8228 * BufferView.C (lockInset): parlist cleanup.
8229 (ChangeInsets): ditto
8231 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8233 * CutAndPaste.h: Update file header.
8235 * CutAndPaste.C: Update file header.
8236 Store the parts cut out of the Document in a limited_stack.
8237 (copySelection): adjust
8238 (pasteSelection): new function, takes the index in the limited stack.
8239 (nrOfParagraphs): adjust
8240 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8241 simplify error inset insertion.
8242 (checkPastePossible): adjust
8244 2003-05-06 John Levon <levon@movementarian.org>
8246 * text2.C: don't cast wrap inset to float
8248 2003-05-05 André Pönitz <poenitz@gmx.net>
8251 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8253 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8254 few naked Paragraph *.
8256 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8258 * bufferparams.C: Output warning if a document with missing
8259 TeX document class is loaded
8260 * exporter.C: Disable TeX exports if the document class is missing
8263 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8264 isTeXClassAvailable()
8266 2003-05-03 John Levon <levon@movementarian.org>
8269 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8270 explicit cursor show/hide
8272 * BufferView_pimpl.h:
8273 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8274 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8276 * lyxfunc.C: hide cursor before dispatching.
8281 * text3.C: remove explicit cursor hides
8283 2003-05-02 André Pönitz <poenitz@gmx.net>
8285 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8288 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8291 * text2.C: tiny whitespace
8293 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8295 * undo_funcs.C: almost only ws changes.
8297 * ParagraphList.C (splice): just return if pl is empty.
8299 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8301 * ParagraphList.C (splice): new function.
8303 * CutAndPaste.C (pasteSelection): use it
8305 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8307 * CutAndPaste.C (pasteSelection): remove the last next and
8308 previous from this file.
8310 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8312 * CutAndPaste.C (pasteSelection): more clean up, user proper
8313 ParagraphList functions for pasteing.
8315 * ParagraphList.C (insert): new function, three arg insert
8317 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8319 * ParagraphList.C (insert): new function, three arg insert
8321 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8324 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8326 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8328 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8330 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8332 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8334 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8335 (copySelection): clean up a bit.
8336 (pasteSelection): use make_pair
8338 * ParagraphList.C (ParagraphList): implement copy constructor
8339 (operator=): implement, base on copy constructor.
8342 * paragraph.C (erase): return a bool
8344 * paragraph_pimpl.C (erasePos): remove function, move contents...
8345 (erase): ... here. Return a bool.
8346 (erase): call erase instead of erasePos.
8348 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8350 * ParagraphList.h: define PitPosPair
8351 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8352 ParagraphList, fix a bug on pasting multiple pars
8353 * text2.C: change interface to C&P
8355 2003-04-30 André Pönitz <poenitz@gmx.net>
8357 * undo_func.C: revert part of yesterday's patch 2
8359 2003-04-30 John Levon <levon@movementarian.org>
8361 * LColor.C: s/tabular/table/
8363 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8365 * text3.C (dispatch): do not convert iterator -> pointer
8366 * undo_funcs.C (setCursorParUndo): ditto
8367 * text_funcs.C (transposeChars): ditto
8369 * text2.C (setLayout): ws changes only
8371 * text.C (breakParagraph): do not convert iterator -> pointer
8373 (acceptChange): ditto
8374 (rejectChange): ditto
8379 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8382 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8384 * text3.C (gotoInset): YABG (yet another bad getChar)
8386 2003-04-29 André Pönitz <poenitz@gmx.net>
8388 * paragraph.h: make operator= private unimplemented as long as
8391 * ParagraphList.C: whitespace
8394 * paragraph_pimpl.[Ch]:
8395 * paragraph_funcs.C:
8397 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8400 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8402 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8404 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8405 * paragraph.[Ch] (erase):
8406 * paragraph_pimpl.[Ch] (erase): change return type and value
8407 * text2.C (cutSelection): some rework
8409 2003-04-28 John Levon <levon@movementarian.org>
8411 * bufferlist.C: changes for unsaved changes dialog
8413 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8415 * bufferlist.C (newFile): set language (messages_) for new
8418 * buffer.C (readFile): ws changes only.
8420 2003-04-28 André Pönitz <poenitz@gmx.net>
8425 * BufferView_pimpl.C:
8426 * BufferView.C: getParFromID related ParagraphList::iterator changes
8428 2003-04-28 André Pönitz <poenitz@gmx.net>
8430 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8433 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8435 * messages.C: remove one more localedir class variable.
8437 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8439 * messages.C (getLocaleDir): singleton generation function
8441 (Messages): add a default constructor.
8443 * main.C (main): do not setup localedir here, do not call
8446 * gettext.C (_): use it.
8447 (gettext_init): delete funciton
8449 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8451 * gettext.C (getLyXMessages): new singleton generating function.
8453 * buffer.C (updateDocLang): adjust
8455 * Makefile.am (messages.o): add target
8456 (main.o): remove target
8458 2003-04-27 John Levon <levon@movementarian.org>
8463 * lyxvc.C: specify cancel button in Alert::prompt
8465 2003-04-26 John Levon <levon@movementarian.org>
8470 * LyXAction.C: add LFUN_INSET_SETTINGS
8472 * lyxfunc.C: don't enable tabular-feature when there's
8473 just any locking inset
8475 2003-04-26 John Levon <levon@movementarian.org>
8477 * bufferlist.C: re-add Cancel to buffer close question
8479 * lyxfunc.C: fix import UI a bit
8481 2003-04-25 John Levon <levon@movementarian.org>
8483 * gettext.C: remove the broken asserts for now
8485 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8487 * messages.C: make case where setlocale cannot comply work better.
8489 * buffer.C (updateDocLang): new function
8490 (changeLanguage): use it
8493 * text2.C (setCounter): use B_ a bit.
8495 * lyxlayout.C (Read): be sure to trim the label strings.
8497 * messages.C (Messages): fix typo in comment
8499 * buffer.C (readFile): set message_ after file is loaded.
8500 (makeDocBookFile): remove double return
8501 (changeLanguage): reset message_ upon language change.
8502 (B_): new func, use this to get translated buffer strings.
8504 * main.C: add myself and Jean Marc as authors.
8506 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8508 * messages.[hC]: pimplify Messages, and three different pimpls to be
8509 used in different circumstances.
8511 * gettext.[Ch]: change for use with new message code.
8513 2003-04-24 André Pönitz <poenitz@gmx.net>
8515 * factory.C: support for eqref
8517 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8519 * messages.[Ch]: add missing char
8521 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8523 * messages.[Ch]: New files
8525 2003-04-18 John Levon <levon@movementarian.org>
8529 * BufferView_pimpl.C:
8533 * text2.C: remove layout-copy/paste (bug 778)
8535 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8537 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8539 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8541 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8542 if they succeed. Act accordingly.
8544 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8546 * text2.C (setCharFont): adjust
8547 (setCounter): adjust
8548 (insertStringAsLines): adjust
8550 * text.C (leftMargin): adjust
8551 (setHeightOfRow): adjust
8553 * rowpainter.C (paintFirst): adjust
8556 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8558 (isFirstInSequence): ditto
8559 (getEndLabel): ditto
8562 * paragraph.C (getParLanguage): comment out some hard stuff.
8564 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8566 (simpleDocBookOnePar): ditto
8567 (makeDocBookFile): use ParagraphList::iterator
8569 * CutAndPaste.C (pasteSelection): adjust
8571 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8573 * text2.C (getFont): adjust
8574 (getLayoutFont): adjust
8575 (getLabelFont): adjust
8577 * paragraph_funcs.C (TeXOnePar): adjust
8579 * buffer.C (simpleLinuxDocOnePar): adjust
8580 (simpleDocBookOnePar): adjust
8582 * CutAndPaste.C (pasteSelection): adjust
8584 * BufferView.C (getEncoding): adjust
8586 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8588 2003-04-16 John Levon <levon@movementarian.org>
8590 * lyxfind.C: use parlist stuff for search/changes
8592 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8594 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8596 * text2.C (deleteEmptyParagraphMechanism): adjust
8598 * text2.[Ch] (ownerParagraph): delete func (both of them
8600 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8602 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8604 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8606 * ParagraphList.C: prepare for NO_NEXT
8608 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8610 * text2.C (getFont): adjust
8611 (getLayoutFont): adjust
8612 (getLabelFont): adjust
8614 * paragraph.C (getFont): adjust
8615 (getLabelFont): adjust
8616 (getLayoutFont): adjust
8618 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8620 2003-04-15 John Levon <levon@movementarian.org>
8624 * lyx_main.C: handle Include in .ui files
8626 2003-04-15 John Levon <levon@movementarian.org>
8628 * MenuBackend.C: make the doc files length shorter
8631 * ToolbarBackend.C: handle toolbar placement flags,
8634 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8636 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8639 * paragraph_funcs.C (TeXOnePar): adjust
8641 * paragraph.C (getLabelFont): add outerfont arg, adjust
8642 (getLayoutFont): ditto
8643 (simpleTeXOnePar): adjust
8645 * paragraph_pimpl.C (realizeFont): delete func
8647 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8649 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8650 row argument, constify cur argument.
8652 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8654 * text2.C (getFont): adjust
8655 (getLayoutFont): adjust
8656 (getLabelFont): adjust
8658 * paragraph_funcs.C (TeXOnePar): adjust
8659 (outerFont): new func...
8660 (realizeFont): ...moved out from here, changed this to facilitate
8663 * paragraph.C (getFont): take outerfont as arg, adjust
8664 (simpleTeXOnePar): add outerfont arg, adjust
8666 * buffer.C (simpleLinuxDocOnePar): adjust
8667 (simpleDocBookOnePar): adjust
8669 * CutAndPaste.C (pasteSelection): adjust
8671 * BufferView.C (getEncoding): adjust
8673 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8675 * text2.C (setCharFont): adjust
8676 (setCounter): adjust
8678 * text.C (leftMargin): adjust
8679 (setHeightOfRow): adjust
8681 * rowpainter.C (paintFirst): adjust
8684 * paragraph_pimpl.C (realizeFont): adjust
8686 * paragraph.C (isFirstInSequence): move from here...
8687 * paragraph_funcs.C (isFirstInSequence): ...to here
8689 * paragraph.C (outerHook): move from here...
8690 * paragraph_funcs.C (outerHook): ...to here
8692 * paragraph.C (depthHook): move from here...
8693 * paragraph_funcs.C (depthHook): ...to here
8695 * paragraph.C (getEndLabel): move from here...
8696 * paragraph_funcs.C (getEndLabel): ...to here
8698 * text2.C (realizeFont): move from here...
8699 * paragraph_funcs.C (realizeFont): ...to here
8701 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8703 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8705 2003-04-14 Angus Leeming <leeming@lyx.org>
8707 * LColor.[Ch]: scrap LColor mathcursor.
8709 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8711 * lyxlex.[Ch] (text): delete function
8712 * trans.C (Load): adjust
8713 * paragraph_funcs.C (readParToken): adjust
8715 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8717 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8718 vector<char> instead of a char[].
8720 * lyxlex_pimpl.C (getString): adjust
8722 (lex): use getString
8726 * lyxlex.C (text): use pimpl_->getString()
8730 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8732 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8733 (makeFontEntriesLayoutSpecific): temp var for par.size()
8734 (setLayout): temp var for ownerParagraphs().end()
8735 (fullRebreak): temp var for rows().end()
8736 (selectionAsString): temp var for boost::next(startpit), realize
8737 that the while really is a regular for loop.
8738 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8739 setCursor in one place.
8740 (setParagraph): temp vr for ownerParagraphs().end()
8741 (updateCounters): make the while loop a for loop
8742 (cutSelection): temp var for ownerParagraphs().end()
8743 (updateInset): make the do {} while() a regular for loop
8744 (getCursorX): use temp vars
8745 (setCurrentFont): use temp vars
8746 (getColumnNearX): use temp vars
8748 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8750 * text.C (transformChar): use temp var for getChar
8751 (computeBidiTables): use temp var for row->par()
8752 (fill): move temp vars for row->par() and pit->layout() earlier in
8754 (labelFill): use temp var for row->par()
8755 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8756 asc and desc, realize that pit never changes and that firstpit is
8757 just a duplicate and not needed. Exchange rit->par() with pit in a
8759 (breakAgain): use a temp var for boost::next(rit)
8760 (breakAgainOneRow): ditto
8761 (breakParagraph): use a temp var for rows().begin()
8762 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8763 (cursorRightOneWord): use temp var for cursor.par() and
8764 cursor.pos(), remove usage of tmpcursor.
8765 (cursorLeftOneWord): use temp var for cursor.par() and
8766 cursor.pos() only set cur at end of function.
8768 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8770 * text.C, text2.C: exchange all usage of Paragraph::next with
8771 boost::next(ParagraphList::iterator)
8773 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8775 * text2.C (cursorTop): simplify implementation
8776 (cursorBottom): ditto
8777 (setParagraph): use ParagraphList::iterator
8778 (setCurrentFont): adjust
8779 (getColumnNearX): adjust
8780 (cursorRight): adjust
8781 (cursorLeft): remove usage of Paragraph::previous
8782 (cursorUpParagraph): ditto
8783 (deleteEmptyParagraphMechanism): slight cleanup
8785 * text.C (isBoundary): take a Paragraph const & instead of a
8787 (addressBreakPoint): ditto
8788 (leftMargin): remove usage of Paragraph::previous.
8789 (setHeightOfRow): ditto
8790 (cursorLeftOneWord): ditto
8791 (selectNextWordToSpellcheck): ditto
8794 (breakParagraph): remove one usage of Paragraph::next
8795 (redoParagraph): ditto
8796 (acceptChange): ditto
8797 (insertChar): adjust
8798 (rowBreakPoint): adjust
8800 * bufferview_funcs.C (toggleAndShow): adjust
8802 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8804 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8805 methods to access it.
8807 * text.C: Added updateRowPositions to compute all row positions.
8808 Make top_y and getRowNearY() to use the cached y position
8810 2003-04-11 John Levon <levon@movementarian.org>
8812 * text.C (rowBreakPoint): reintroduce the labelEnd
8813 checks, code copied from the row fill stuff. Deep voodoo.
8815 * text.C (fill): add a comment and debugging for the
8818 2003-04-11 John Levon <levon@movementarian.org>
8820 * text.C: make sure fullrow insets get wrapped to the next line,
8821 even when they're in a manual label
8823 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8825 * text2.C (insertParagraph): make it take ParagraphList::iterator
8827 (setLayout): make it return ParagraphList::iterator
8828 (redoParagraphs): ditto
8830 (checkParagraph): ditto
8832 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8834 * text2.C: adjust several funcs.
8835 (realizeFont): take a ParagraphList::iterator as arg.
8836 (getLayoutFont): ditto
8837 (getLabelFont): ditto
8838 (setCharFont): ditto
8840 * text.C: adjust several funcs.
8842 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8844 * text.C (selectNextWordToSpellcheck): don't accidentally
8847 2003-04-10 John Levon <levon@movementarian.org>
8849 * ToolbarBackend.C (getIcon): special handling for
8852 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8854 * text2.C (cursorRight): a getChar assert fixed
8856 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8858 * text2.C (getFont): change to take a ParagraphList::iterator
8859 instead of Paragraph*
8860 Adjust several functions.
8862 * text.C (transformChar): change to take a ParagraphList::iterator
8863 instead of Paragraph*
8864 (singleWidth): ditto
8865 Adjust several functions.
8867 * rowpainter.C: adjust several functions
8868 * rowpainter.h:store a ParagraphList::iterator and not a
8872 2003-04-09 John Levon <levon@movementarian.org>
8877 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8878 and the "help" bits as well
8880 2003-04-09 John Levon <levon@movementarian.org>
8883 * ToolbarBackend.C: allow multiple toolbars
8885 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8887 * undo_funcs.C (setCursorParUndo): adjust
8889 * text_funcs.C (transposeChars): adjust
8891 * text3.C (gotoNextInset): adjust
8894 * text2.C (setLayout): adjust
8895 (changeDepth): adjust
8897 (redoParagraphs): adjust
8898 (selectionAsString): adjust
8899 (setParagraph): adjust
8900 (insertInset): adjust
8901 (cutSelection): adjust
8902 (copySelection): adjust
8903 (pasteSelection): adjust
8904 (insertStringAsLines): adjust
8905 (updateInset): adjust
8906 (setCursor): change to take a ParagraphList::iterator parameter
8907 (setCursorIntern): change to take a ParagraphList::iterator parameter
8908 (setCurrentFont): adjust
8909 (cursorLeft): adjust
8910 (cursorRight): adjust
8911 (deleteEmptyParagraphMechanism): adjust
8913 * text.C (breakParagraph): adjust
8914 (insertChar): adjust
8915 (acceptChange): adjust
8916 (rejectChange): adjust
8917 (selectNextWordToSpellcheck): adjust
8918 (changeCase): adjust
8922 * lyxfind.C (SearchForward): adjust
8923 (SearchBackward): adjust
8924 (nextChange): adjust
8926 * lyxcursor.C (par): adjust
8928 * lyxcursor.h: store a ParagraphList::iterator instead of a
8931 * lyx_cb.C (getPossibleLabel): adjust
8933 * bufferview_funcs.C (toggleAndShow): adjust
8935 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8938 * BufferView.C (removeAutoInsets): adjust
8939 (lockedInsetStoreUndo): adjust
8941 2003-04-09 John Levon <levon@movementarian.org>
8943 * ToolbarBackend.C: try icon without argument
8944 if with argument fails
8946 2003-04-08 John Levon <levon@movementarian.org>
8949 * ToolbarBackend.C: add getIcon(), handle tooltip,
8950 and change from "Icon" to "Item".
8952 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8954 * BufferView.C (lockInset): another bad getchar crunched
8956 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8958 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8961 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8963 * lyxfind.C (searchForward, searchBackwards): bug 782
8965 2003-04-07 John Levon <levon@movementarian.org>
8967 * paragraph.C: remove dead comment
8969 * text.C: remove troublesome depth-fiddling code
8970 in leftMargin() and rightMargin() (bug 1017)
8972 * text.C: fix breaking of rows in nested lists
8975 * text2.C (updateCounters): fix up depth values
8978 2003-04-07 John Levon <levon@movementarian.org>
8980 * BufferView_pimpl.C: clear message when doc finishes resizing,
8981 and after a mouse event
8983 * lyxfunc.C: clear message after exiting inset
8985 2003-04-07 John Levon <levon@movementarian.org>
8987 * bufferview_funcs.C: show math status not outside
8988 status in the statusbar
8990 2003-04-07 John Levon <levon@movementarian.org>
8992 * lyxfunc.C: note status changed after a depth change
8994 2003-04-04 Angus Leeming <leeming@lyx.org>
8996 * LaTeX.h: move AuxInfo operator==, != out of line.
8997 Remove LaTeX virtual destructor; nothing derives from it.
8998 Move operator()() out of public area and rename it startscript().
8999 Change protected for private.
9001 2003-04-04 Angus Leeming <leeming@lyx.org>
9004 * text2.C: remove unneeded #includes.
9006 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
9008 * text2.C (dEPM): fix the heigth of the next row
9010 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
9012 * text.C: squashed an invalid getChar requester + some ws changes
9014 2003-04-03 John Levon <levon@movementarian.org>
9016 * bufferview_funcs.h:
9017 * bufferview_funcs.C:
9020 * text2.C: make getStatus work for the env depth lfuns
9022 2003-04-03 John Levon <levon@movementarian.org>
9024 * bufferview_funcs.h:
9025 * bufferview_funcs.C:
9028 * text2.C: parlistize decDepth(), by merging it with incDepth()
9030 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9032 * lyxrow.h: store a ParagraphList::iterator instead of a
9033 Paragraph* and adjust other class functions to suit.
9035 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
9038 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9040 * text2.C (setCursor): do not anchor to cursor row for the time being
9042 2003-04-02 John Levon <levon@movementarian.org>
9049 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
9051 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9053 * paragraph.h: make ParagraphList and ParagraphList::iterator
9054 friends of Paragraph.
9056 * buffer.C (makeLinuxDocFile): move towards ParagraphList
9058 * ParagraphList.C: Use the private next_ and previous_ from
9061 2003-04-01 John Levon <levon@movementarian.org>
9065 * Makefile.am: rename, remove defaults gunk
9068 * MenuBackend.C: remove defaults gunk
9071 * Languages.C: remove defaults gunk
9074 * lyx_main.C: error out if files couldn't be found.
9076 2003-04-02 John Levon <levon@movementarian.org>
9078 * text2.C: make incDepth() use parlist
9080 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9082 * undo_funcs.C (firstUndoParagraph): adjust
9084 * text3.C (gotoInset): adjust
9085 (dispatch): adjust, and rewrite loop.
9087 * text2.C (init): adjust, and rewrite loop.
9088 (redoParagraphs): adjust
9089 (updateInset): adjust, and rewrite loop.
9090 (deleteEmptyParagraphMechanism): adjust
9092 * tabular.C (LyXTabular): adjust
9093 (SetMultiColumn): adjust
9096 * lyxtext.[Ch] (ownerParagraph): delete function
9097 (ownerParagraphs): new function returns a ParagraphList.
9099 * BufferView.C (removeAutoInsets): adjust
9100 (insertErrors): adjust
9101 (setCursorFromRow): adjust
9103 2003-04-01 Angus Leeming <leeming@lyx.org>
9105 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9108 2003-04-02 John Levon <levon@movementarian.org>
9114 * text_funcs.C: make transposeChars a free function
9116 * lyxrow_funcs.C: remove wrong comment
9118 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9121 * rowpainter.C: adjust
9126 * lyxrow_funcs. [Ch]: new files
9128 * lyxrow.[Ch]: remove next and previous pointers
9129 (next,previous): remove accessor functions
9130 (isParEnd): move to lyxrow_funcs
9131 (lastPos): move to lyxrow_funcs
9132 (nextRowIsAllInset): move to lyxrow_funcs
9133 (lastPrintablePos): move to lyxrow_funcs
9134 (numberOfSeparators): move to lyxrow_funcs
9135 (numberOfHfills): move to lyxrow_funcs
9136 (numberOfLabelHfills): move to lyxrow_funcs
9137 (hfillExpansion): move to lyxrow_funcs
9141 * bufferview_funcs.C (toggleAndShow): adjust
9143 * RowList.h: Remove class RowList from file leave just a
9146 * RowList.C: delete file
9148 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9151 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9153 * text3.C (cursorPrevious): adjust
9154 (cursorNext): adjust
9157 * text2.C (redoHeightOfParagraph): adjust
9158 (redoDrawingOfParagraph): adjust
9161 * text.C (breakParagraph): adjust
9162 (insertChar): adjust
9165 * rowpainter.C (RowPainter): adjust
9166 (leftMargin): simplify and adjust
9167 (most rowpainter functions): adjust.
9169 * rowpainter.h: store the row as RowList::iterator not as Row*
9171 * lyxcursor.C (row): taka RowList::iterator as arg
9174 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9177 2003-04-01 Angus Leeming <leeming@lyx.org>
9179 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9180 stuff like bool Bool.
9182 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9184 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9187 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9189 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9192 * lyxtext.h (rows): drop one version and leve a const variant that
9193 returns a RowList::iterator.
9195 2003-03-31 Angus Leeming <leeming@lyx.org>
9197 * text.C (fill): ensure that the signature is the same as that in the
9200 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
9202 * text2.C (redoParagraphs): adjust
9203 (updateCounters): adjust
9204 (checkParagraph): adjust
9205 (getColumnNearX): adjust and reformat a bit.
9207 * text.C (top_y): adjust
9209 (leftMargin): adjust
9210 (prepareToPrint): adjust
9212 (getRowNearY): adjust
9214 * lyxtext.h: make rowlist_ mutable.
9216 * RowList.h: add const_iterator
9217 * RowList.C: adjust for RowList::const_iterator.
9219 * text2.C (getCursorX): make it take a RowList::iterator as arg,
9222 2003-03-31 John Levon <levon@movementarian.org>
9225 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9227 * lyx_main.C: set default fonts from using lyx_gui funcs
9229 * exporter.C: pdf_mode moved from lyxrc
9232 * lyxfunc.C: changes from above
9234 2003-03-31 John Levon <levon@movementarian.org>
9236 * lyx_main.C: fix to the last fix
9238 2003-03-31 John Levon <levon@movementarian.org>
9240 * bufferlist.C: "Load original" -> "Load Original"
9246 * format.C: more Alert cleanups
9248 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9250 * text2.C (removeParagraph): make it take a RowList::iterator as
9252 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9253 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9255 * text.C (anchor_row): make it take a RowList::iterator as arg,
9257 (computeBidiTables): make it take a const reference to Row instead
9258 of Row pointer, adjust.
9259 (leftMargin): make it take a RowList::iterator as arg, adjust.
9260 (rowBreakPoint): adjust
9261 (breakAgainOneRow): make it take a RowList::iterator as arg,
9263 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9265 * bufferview_funcs.C (toggleAndShow): adjust
9267 2003-03-30 John Levon <levon@movementarian.org>
9271 * boost-inst.C: moved to support
9273 * several files: changes as a result
9275 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9277 * text2.C (LyXText): adjust.
9279 (removeRow): make it take a RowList::iterator as arg, adjust.
9280 (fullRebreak): adjust
9281 (deleteEmptyParagraphMechanism): adjust
9282 (clearPaint): adjust
9285 * text.C (top_y): adjust
9286 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9287 (breakAgain): make it take a RowList::iterator as arg, adjust.
9288 (breakParagraph): adjust
9289 (insertChar): adjust
9292 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9293 need_break_row, and refresh_row.
9295 * text3.C (dispatch): adjust
9297 * text2.C (checkParagraph): adjust
9299 (setCursorFromCoordinates): adjust
9301 * text.C (top_y): adjust
9303 (getRow): make it return a RowList::iterator, adjust
9304 (getRowNearY): make it return a RowList::iterator, adjust
9306 * text2.C (init): adjust
9307 (insertRow): remove function
9308 (insertParagraph): adjust
9309 (redoParagraphs): adjust
9310 (fullRebreak): adjust
9311 (updateCounters): adjust
9313 * text.C (top_y): rewrite to use RowList iterators.
9315 (setHeightOfRow): rewrite to sue RowList iterators.
9316 (appendParagraph): adjust
9317 (breakAgain): adjust
9318 (breakAgainOneRow): adjust
9319 (breakParagraph): adjust
9321 (getRowNearY): adjust, and remove commented code.
9323 * lyxtext.h (firstRow): delete function
9324 (lastRow): delete function
9325 (rows): new function (const and non-const versions.)
9326 (insertRow): delete function
9328 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9330 2003-03-29 John Levon <levon@movementarian.org>
9332 * BufferView_pimpl.C: always update scrollbar top
9333 because pasting text when we're anchored could mean we
9334 miss an update altogether
9336 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9338 * text2.C (init): use rowlist_.end() and not 0.
9339 (insertRow): change to take a RowList::iterator as arg, adjust
9341 (insertParagraph): change to take a RowList::iterator as arg,
9343 (redoParagraphs): remove some debug msgs.
9345 * text.C (appendParagraph): change to take a RowList::iterator
9346 arg, adjust for this.
9347 (breakAgain): add an assert
9348 (breakAgainOneRow): ditto
9350 2003-03-29 John Levon <levon@movementarian.org>
9352 * text2.C: do not clear selection after inc/decDepth
9355 2003-03-29 John Levon <levon@movementarian.org>
9358 * buffer.C: fix broken strerrors according to Lars
9360 2003-03-29 John Levon <levon@movementarian.org>
9362 * converters.C: more Alert cleanups
9364 2003-03-29 John Levon <levon@movementarian.org>
9366 * bufferview_funcs.C: remove pointless Alert
9368 * buffer.C: fix confusing error message when
9369 a template is chmoded 000
9371 2003-03-29 John Levon <levon@movementarian.org>
9375 * BufferView_pimpl.C: Alert fixes
9379 * tabular-old.C: remove unused table compat reading
9381 2003-03-29 John Levon <levon@movementarian.org>
9386 * lyx_cb.C: more Alert cleanups
9388 * lyxfunc.C: don't allow chktex if not latex document
9390 2003-03-29 John Levon <levon@movementarian.org>
9394 * buffer.C: warnings pushed down from support/,
9397 2003-03-29 John Levon <levon@movementarian.org>
9399 * lyxfunc.C: safety check for C-r (revert)
9401 2003-03-29 John Levon <levon@movementarian.org>
9404 * bufferlist.C: several UI fixes using Alert::prompt.
9405 Fix the pointless looping quit code. Fix stupid revert
9410 * lyx_cb.C: use Alert::prompt
9412 * lyx_main.C: remove a silly question
9414 * lyxfunc.C: remove a couple of silly questions,
9417 2003-03-28 John Levon <levon@movementarian.org>
9419 * text2.C: fix bug 974 (End on empty par)
9421 2003-03-28 John Levon <levon@movementarian.org>
9423 * BufferView_pimpl.C:
9425 * lfuns.h: remove do-nothing math greek lfuns
9427 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9429 * lyxgluelength.h (isValidGlueLength): add default arg on
9430 parameter 2. Remove default arg from friend in class.
9432 * lyxlength.h (isValidLength): add default arg on parameter 2.
9433 Remove default arg from friend in class.
9435 * text2.C (LyXText): adjust, initialize refresh_row.
9439 (insertParagraph): adjst
9440 (redoParagraphs): adjust
9441 (fullRebreak): adjust
9442 (updateCounters): adjust
9443 (deleteEmptyParagraphMechanism): first attempt at fixing a
9446 * text.C (top_y): adjust
9447 (setHeightOfRow): adjust
9449 (getRowNearY): adjust
9451 * lyxtext.h: include RowList.h
9452 (~LyXText): not needed anymore, deleted.
9453 (firstRow): modify for RowList
9454 (lastRow): new function
9455 Delete firstrow and lastrow class variables, add a Rowlist
9456 rowlist_ class variable.
9458 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9461 * RowList.C (insert): fix case where it == begin().
9463 2003-03-26 Angus Leeming <leeming@lyx.org>
9465 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9466 the thesaurus dialog.
9468 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9470 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9472 * RowList.[Ch]: new files
9474 * ParagraphList.C (erase): handle the case where it == begin
9477 2003-03-25 John Levon <levon@movementarian.org>
9481 * aspell.C: add new aspell support
9484 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9487 2003-03-25 Angus Leeming <leeming@lyx.org>
9490 * LyXAction.C (init): new LFUN_INSET_INSERT.
9492 * BufferView_pimpl.C (dispatch): split out part of the
9493 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9495 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9498 2003-03-25 Angus Leeming <leeming@lyx.org>
9500 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9502 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9505 * text3.C: remove useless row->height(0)
9507 2003-03-25 John Levon <levon@movementarian.org>
9511 * text3.C: rename the refreshing stuff to better names
9513 2003-03-24 John Levon <levon@movementarian.org>
9515 * BufferView_pimpl.h:
9516 * BufferView_pimpl.C: update layout choice on a mouse
9519 2003-03-23 John Levon <levon@movementarian.org>
9521 * Makefile.am: fix commandtags.h reference
9523 2003-03-22 John Levon <levon@movementarian.org>
9525 * BufferView_pimpl.C:
9530 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9532 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9535 * text.C: take the rtl methods out of line
9537 2003-03-21 André Pönitz <poenitz@gmx.net>
9539 * metricsinfo.[Ch]: new files containing structures to be passed around
9540 during the two-phase-drawing...
9542 2003-03-21 André Pönitz <poenitz@gmx.net>
9544 * lyxtextclass.C: read 'environment' tag.
9546 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9548 * text2.C (removeRow): fix bug 964
9550 2003-03-20 John Levon <levon@movementarian.org>
9554 * text2.C: paint cleanups. Inset::update() dropped font
9557 2003-03-19 John Levon <levon@movementarian.org>
9559 * lyxfunc.C: only fitcursor/markDirty if available()
9561 2003-03-19 John Levon <levon@movementarian.org>
9563 * commandtags.h: rename to ...
9565 * lfuns.h: ... this, and renumber / cleanup
9567 2003-03-19 John Levon <levon@movementarian.org>
9569 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9570 fit the cursor after an lfun
9574 * BufferView_pimpl.h:
9575 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9577 * LyXAction.C: layout-character should have ReadOnly
9579 * ParagraphParameters.C:
9581 * bufferview_funcs.C:
9588 * undo_funcs.C: changes from above
9590 2003-03-18 John Levon <levon@movementarian.org>
9592 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9593 remove it from update()
9595 * lyxfunc.C: update layout choice after an lfun
9597 * text3.C: remove extra updateLayoutChoice()s
9599 2003-03-18 John Levon <levon@movementarian.org>
9601 * text.C: top_y change means full repaint, fix
9602 a drawing bug with cursor movement
9604 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9608 * text2.C: anchor row on setCursor
9610 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9612 * lyxtext.h: remove almost all mutable keywords
9615 * text3.C: remove const keywords accordingly
9617 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9619 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9621 (TeXEnvironment): ditto
9624 2003-03-17 John Levon <levon@movementarian.org>
9626 * text.C (rowBreakPoint): remove attempt to fix displayed
9627 math insets inside a manual label
9629 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9631 * lyxtext.h: remove BufferView* as first arg from almost all class
9633 * other files: adjust.
9635 2003-03-17 John Levon <levon@movementarian.org>
9639 * text2.C: more paint cleanups
9641 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9644 * rowpainter.C: remove "smart" background painting code
9646 2003-03-16 John Levon <levon@movementarian.org>
9651 * text3.C: add helper functions for setting refresh_row/y
9653 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9655 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9656 newline inset which *can* get inserted in the pass_thru layouts.
9657 This is primarily for literate documents.
9659 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9661 * buffer.C: increment LYX_FORMAT to 223
9663 2003-03-14 André Pönitz <poenitz@gmx.net>
9665 * textclass.h: prepare for environment handling, ws changes
9666 * lyxlayout.C: read latexheader and latexfooter tags
9668 2003-03-14 John Levon <levon@movementarian.org>
9670 * text2.C: rewrite ::status() a bit
9672 2003-03-13 John Levon <levon@movementarian.org>
9674 * lyxtext.h: add some docs
9676 2003-03-13 John Levon <levon@movementarian.org>
9681 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9683 2003-03-13 John Levon <levon@movementarian.org>
9685 * text3.C: fix appendix redrawing
9687 2003-03-13 John Levon <levon@movementarian.org>
9689 * text.C (setHeightOfRow):
9691 * rowpainter.C: make appendix mark have the text
9692 "Appendix" so the user knows what it is
9695 * LColor.C: s/appendixline/appendix/ from above
9697 2003-03-13 John Levon <levon@movementarian.org>
9699 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9701 * text.C: fix a getChar(pos) bug properly
9703 2003-03-13 Angus Leeming <leeming@lyx.org>
9706 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9707 Probably only temporary. Let's see how things pan out.
9709 * BufferView.C (unlockInset):
9710 * BufferView_pimpl.C (fitCursor):
9711 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9713 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9714 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9716 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9717 new functions that convert ParagraphParameters to and from a string.
9719 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9720 BufferView::Pimpl's dispatch.
9721 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9723 2003-03-13 André Pönitz <poenitz@gmx.net>
9727 * factory.C: make it aware of InsetEnv
9729 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9731 * text2.C (setCursor): never ask for one past last
9732 (setCursor): add some debugging messages.
9734 * text.C (singleWidth): never ask for one past last
9735 (singleWidth): ditto
9737 (rightMargin): ditto
9738 (rowBreakPoint): ditto
9739 (setHeightOfRow): ditto
9740 (prepareToPrint): ditto
9742 * rowpainter.C (paintBackground): never ask for one past last
9743 (paintText): never ask for one past last
9745 * paragraph_pimpl.C (getChar): make the assert stricter, never
9746 allow the one past last pos to be taken
9748 * paragraph.C (getChar): ws changes only
9750 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9751 (numberOfSeparators): ditto
9752 (numberOfHfills): ditto
9754 2003-03-12 John Levon <levon@movementarian.org>
9760 * paragraph_funcs.C: fix per-buffer authorlists
9762 2003-03-12 John Levon <levon@movementarian.org>
9764 * text.C: fix newline in right address
9766 2003-03-12 Angus Leeming <leeming@lyx.org>
9768 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9769 duplicate those in LyXFunc::dispatch.
9773 * ToolbarDefaults.C:
9774 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9775 Add LFUN_FONTFREE_UPDATE.
9777 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9778 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9780 * bufferview_func.[Ch]: several new functions to facilliate
9781 transfer of data to and from the character dialog.
9783 2003-03-12 John Levon <levon@movementarian.org>
9788 * paragraph_funcs.C:
9789 * paragraph_pimpl.C:
9793 * text3.C: remove META_NEWLINE in favour of an inset
9796 * rowpainter.C: remove paintNewline (done by inset)
9798 2003-03-12 John Levon <levon@movementarian.org>
9800 * paragraph_pimpl.C: complain about bad getChar()s
9801 for a while at least
9803 2003-03-12 John Levon <levon@movementarian.org>
9806 * buffer.C: move paragraph read into a separate function,
9807 a little renaming to reflect that.
9810 * bufferparams.C: remove the author_ids map, not necessary now
9813 * factory.C: moved Buffer::readInset to here
9815 * paragraph_funcs.h:
9816 * paragraph_funcs.C: readParagraph free function moved from
9819 * tabular.C: name change
9821 2003-03-12 John Levon <levon@movementarian.org>
9824 * ParagraphParameters.C: move par params input to
9827 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9828 behave like a normal read from the stream wrt reading
9829 a line vs. a \\token
9831 2003-03-12 John Levon <levon@movementarian.org>
9834 * ParagraphParameters.h:
9835 * ParagraphParameters.C: move output code to a
9838 2003-03-12 John Levon <levon@movementarian.org>
9840 * BufferView.C (insertLyXFile):
9843 * tabular.C: use a parlist iterator for creating the
9846 2003-03-12 John Levon <levon@movementarian.org>
9848 * buffer.C: make current_change static local not
9851 2003-03-12 John Levon <levon@movementarian.org>
9853 * buffer.C: fix insertStringAsLines for change tracking
9855 2003-03-12 John Levon <levon@movementarian.org>
9862 * bufferparams.C: move author list into params. Rename some
9863 functions. Move the header reading into a separate token
9864 loop. Move the header token reading into BufferParams.
9866 2003-03-12 John Levon <levon@movementarian.org>
9868 * changes.C: put debug inside lyxerr.debugging() checks
9870 2003-03-11 André Pönitz <poenitz@gmx.net>
9872 * factory.C: make it aware of InsetHFill
9874 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9876 * buffer.C (latexParagraphs): move function from here...
9877 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9880 2003-03-10 Angus Leeming <leeming@lyx.org>
9882 * LyXAction.C (init): fix bug in poplating array with multiple entries
9883 with the same LFUN (spotted by JMarc).
9885 2003-03-10 John Levon <levon@movementarian.org>
9888 * text2.C: move getColumnNearX() near its
9891 2003-03-10 John Levon <levon@movementarian.org>
9893 * text.C: fix break before a minipage
9895 2003-03-10 John Levon <levon@movementarian.org>
9897 * text.C: fix the last commit
9899 2003-03-09 John Levon <levon@movementarian.org>
9903 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9904 bug 365 (don't break before insets unless needed). Don't
9905 return a value > last under any circumstances.
9907 2003-03-09 Angus Leeming <leeming@lyx.org>
9909 * BufferView_pimpl.C (trackChanges, dispatch): call
9910 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9912 2003-03-09 Angus Leeming <leeming@lyx.org>
9914 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9915 than Dialogs::showAboutlyx().
9917 2003-03-09 Angus Leeming <leeming@lyx.org>
9919 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9920 than Dialogs::showTabularCreate().
9922 2003-03-09 John Levon <levon@movementarian.org>
9926 * text2.C: 3rd arg to nextBreakPoint was always the same.
9929 2003-03-08 John Levon <levon@movementarian.org>
9936 * text2.C: Remove the "main" bit from the "main body"
9939 2003-03-08 John Levon <levon@movementarian.org>
9941 * text.C (leftMargin): The left margin of an empty
9942 manual label paragraph should not include the label width
9945 * text.C (prepareToPrint): don't attempt to measure hfills
9946 for empty manual label paragraphs - the answer should be 0
9948 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9950 * CutAndPaste.C: remove commented code and reindent.
9952 2003-03-08 John Levon <levon@movementarian.org>
9955 * lyxfunc.C: move reloadBuffer()
9958 * BufferView.C: to here
9960 * lyxvc.C: add comment
9963 * vc-backend.C: call bv->reload() to avoid
9964 getStatus() check on MENURELOAD
9966 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9968 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9969 to an old format .dep file.
9971 2003-03-07 Angus Leeming <leeming@lyx.org>
9973 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9974 when the LFUN_MOUSE_RELEASE should have been handled by
9975 inset->localDispatch.
9977 2003-03-07 Angus Leeming <leeming@lyx.org>
9979 * BufferView_pimpl.C (dispatch):
9980 * LyXAction.C (init):
9981 * ToolbarDefaults.C (init):
9983 * lyxfunc.C (getStatus):
9984 remove LFUN_INSET_GRAPHICS.
9986 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9988 2003-03-07 Angus Leeming <leeming@lyx.org>
9991 * LyXAction.C (init):
9992 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9994 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9997 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9999 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
10000 localDispatch method LFUN_INSET_DIALOG_UPDATE.
10002 2003-03-07 Angus Leeming <leeming@lyx.org>
10004 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
10007 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10009 * ParagraphList.C (front): new function
10012 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
10014 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
10015 and top_row_offset_. removed var first_y.
10017 * text2.C (LyXText, removeRow):
10019 * BufferView_pimpl.C:
10020 use these methods instead of using first_y
10022 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10024 * text2.C (pasteSelection): adjust for checkPastePossible
10026 * CutAndPaste.C: remove Paragraph * buf and replace with
10027 ParagraphList paragraphs.
10028 (DeleteBuffer): delete
10029 (cutSelection): change the tc type to textclass_type
10030 (copySelection): change the tc type to textclass_type
10031 (copySelection): adjust for ParagraphList
10032 (pasteSelection): change the tc type to textclass_type
10033 (pasteSelection): adjust for Paragraphlist
10034 (nrOfParagraphs): simplify for ParagraphList
10035 (checkPastePossible): simplify for ParagraphList
10036 (checkPastePossible): remove unused arg
10038 * ParagraphList.C (insert): handle the case where there are no
10041 * CutAndPaste.h: make CutAndPaste a namespace.
10043 * text3.C (dispatch): adjust
10045 * text.C (breakParagraph): add a ParagraphList as arg
10047 * paragraph_funcs.C (breakParagraph): change to take a
10048 BufferParams and a ParagraphList as args.
10049 (breakParagraphConservative): ditto
10050 (mergeParagraph): ditto
10051 (TeXDeeper): add a ParagraphList arg
10052 (TeXEnvironment): ditto
10055 * buffer.C (readLyXformat2): adjust
10056 (insertStringAsLines): adjust
10057 (latexParagraphs): adjust
10059 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10060 (cutSelection): adjust
10061 (pasteSelection): adjust
10063 * BufferView_pimpl.C (insertInset): adjust
10065 2003-03-05 Angus Leeming <leeming@lyx.org>
10068 * LyXAction.C (init):
10069 * BufferView_pimpl.C (dispatch):
10070 * lyxfunc.C (getStatus):
10071 remove LFUN_CHILD_INSERT.
10073 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10075 2003-03-05 Angus Leeming <leeming@lyx.org>
10078 * LyXAction.C (init):
10079 * src/factory.C (createInset):
10080 * lyxfunc.C (getStatus):
10081 * text3.C (dispatch):
10082 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10084 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10086 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10088 * ParagraphList.C (insert): handle insert right before end()
10089 (erase): fix cases where it can be first or last paragraph.
10091 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10093 * paragraph_funcs.C (TeXEnvironment): remove all usage of
10094 Paragraph::next and Paragraph::previous
10097 * text.C (breakParagraph): adjust
10099 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10100 BufferParams& as arg.
10101 (breakParagraph): use ParagraphList::insert
10102 (breakParagraphConservative): take a Buffer* instead of a
10103 BufferParams& as arg.
10104 (breakParagraphConservative): use ParagraphList::insert.
10106 * buffer.C (insertStringAsLines): un-const it
10107 (insertStringAsLines): adjust
10109 * ParagraphList.C (insert): new function
10111 * CutAndPaste.C (pasteSelection): adjust
10113 * text.C (backspace): adjust
10115 * tabular.C (SetMultiColumn): adjust
10117 * CutAndPaste.C (cutSelection): adjust
10118 (pasteSelection): adjust
10120 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10121 Buffer const * as arg
10123 * ParagraphList.C (erase): new function
10124 * paragraph_funcs.C (mergeParagraph): use it
10125 (mergeParagraph): make it take a Buffer* instead of a
10126 BufferParams* as arg
10128 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10130 (breakParagraphConservative): ditto
10132 * paragraph.h: remove the breakParagraph friend
10134 * paragraph.C (eraseIntern): new function
10135 (setChange): new function
10137 * paragraph_funcs.C (mergeParagraph): make it take a
10138 ParagraphList::iterator instead of a Paragraph *, adjust
10141 * paragraph.h: move an #endif so that the change tracking stuff
10142 also works in the NO_NEXT case.
10144 2003-03-04 Angus Leeming <leeming@lyx.org>
10147 * LyXAction.C: new LFUN_INSET_MODIFY.
10149 * BufferView_pimpl.C (dispatch): if an inset is found to be open
10150 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10152 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10154 * several files: ws changes only
10156 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10157 (TeXEnvironment): ditto
10160 * buffer.C (makeLaTeXFile): adjust
10161 (latexParagraphs): make it take ParagraphList::iterator as args
10163 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
10165 * buffer.C (latexParagraphs): adjust
10167 * paragraph.C (TeXOnePar): move function...
10168 (optArgInset): move function...
10169 (TeXEnvironment): move function...
10170 * paragraph_pimpl.C (TeXDeeper): move function...
10171 * paragraph_funcs.C: ...here
10173 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10175 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10177 * buffer.C (readInset): remove compability code for old Figure and
10180 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10182 * buffer.C: ws changes
10185 * BufferView_pimpl.C: ditto
10188 * bufferlist.h: ditto
10192 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
10194 * converter.[Ch]: split into itself +
10197 * Makefile.am: += graph.[Ch] + format.[Ch]
10204 * lyxrc.C: added #include "format.h"
10206 2003-02-27 Angus Leeming <leeming@lyx.org>
10208 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10211 * factory.C (createInset): add "label" to the factory.
10213 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10214 string and do no more.
10216 2003-02-27 Angus Leeming <leeming@lyx.org>
10219 * LyXAction.C (init):
10220 * factory.C (createInset):
10221 * BufferView_pimpl.C (dispatch):
10222 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10224 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10226 * lyxfunc.C (dispatch):
10227 * text3.C (dispatch): pass name to params2string.
10229 2003-02-26 Angus Leeming <leeming@lyx.org>
10231 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10233 Rearrange the ~includes. Strip out the unnecessary ones.
10235 * factory.C (createInset): reformat.
10236 create new insets for the various LFUN_XYZ_APPLY lfuns.
10238 2003-02-26 John Levon <levon@movementarian.org>
10241 * lyxrow.C: add isParStart,isParEnd helpers
10243 * paragraph.h: make isInserted/DeletedText take refs
10245 * paragraph_funcs.h:
10246 * paragraph_funcs.C: remove #if 0'd code
10251 * text.C: use lyxrow helpers above.
10252 Move draw and paint routines to RowPainter.
10253 Make several methods use refs not pointers.
10254 Make backgroundColor() const.
10255 Add markChangeInDraw(), isInInset().
10256 Merge changeRegionCase into changeCase.
10257 Make workWidth() shouldn't-happen code into an Assert.
10260 * rowpainter.C: new class for painting a row.
10263 * vspace.C: make inPixels take a ref
10265 2003-02-26 Angus Leeming <leeming@lyx.org>
10267 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10270 2003-02-25 John Levon <levon@movementarian.org>
10272 * ispell.C: give the forked command a more accurate name
10274 2003-02-22 John Levon <levon@movementarian.org>
10277 * toc.C: make TocItem store an id not a Paragraph *
10280 2003-02-21 Angus Leeming <leeming@lyx.org>
10282 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10283 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10284 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10285 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10286 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10287 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10289 * BufferView_pimpl.C (dispatch):
10290 * LyXAction.C (init):
10291 * factory.C (createInset):
10292 * lyxfunc.C (getStatus, dispatch):
10293 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10295 2003-02-21 Angus Leeming <leeming@lyx.org>
10297 * BufferView_pimpl.C (MenuInsertLyXFile):
10298 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10299 * lyxfunc.C (menuNew, open, doImport):
10300 no longer pass a LyXView & to fileDlg.
10302 2003-02-21 Angus Leeming <leeming@lyx.org>
10304 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10305 * LyXAction.C: change, BIBKEY to BIBITEM.
10306 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10307 Change InsetBibKey to InsetBibitem.
10308 Change BIBKEY_CODE to BIBITEM_CODE.
10309 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10310 * factory.C: replace insetbib.h with insetbibitem.h.
10311 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10312 * paragraph.C: replace insetbib.h with insetbibitem.h.
10313 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10314 Change bibkey() to bibitem().
10315 * text.C: remove insetbib.h.
10316 * text2.C: replace insetbib.h with insetbibitem.h.
10317 change bibkey() to bibitem().
10318 * text3.C: remove insetbib.h.
10319 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10321 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10323 * lyxrc.C (output): enclose user email in quotes (in case there are
10326 2003-02-18 John Levon <levon@movementarian.org>
10328 * buffer.h: add std::
10330 2003-02-17 John Levon <levon@movementarian.org>
10336 * pspell.C: reworking. Especially in ispell, a large
10337 number of clean ups and bug fixes.
10339 * lyxfunc.C: fix revert to behave sensibly
10341 2003-02-17 André Pönitz <poenitz@gmx.net>
10344 * commandtags.h: new LFUN_INSERT_BIBKEY
10354 * paragraph_func.C: remove special bibkey handling
10356 2003-02-17 John Levon <levon@movementarian.org>
10358 * text.C (Delete): fix case where delete at the end of
10359 the very first paragraph would not merge the pars
10361 2003-02-17 John Levon <levon@movementarian.org>
10363 * lyxrow.C: fix lastPrintablePos()
10365 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10367 * bufferparams.C (writeLaTeX): add a std:here
10369 * buffer.C: and remove a using directive there
10371 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10373 * buffer.C (makeLaTeXFile): move the code that generates the
10376 * bufferparams.C (writeLaTeX): ... in this new method
10378 * LaTeXFeatures.C (getEncodingSet): make const
10379 (getLanguages): make const
10381 * MenuBackend.C (binding): returns the binding associated to this
10383 (add): sets the status of each item by calling getStatus. Adds
10385 (read): add support for OptSubMenu
10386 (expand): remove extra separator at the end of expanded menu
10388 2003-02-15 John Levon <levon@movementarian.org>
10391 * BufferView_pimpl.C:
10393 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10394 inset code that had no actual effect. Remove unneeded status
10397 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10399 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10402 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10404 * text.C (drawLengthMarker): also draw an arrow marker for
10405 symbolic lengths (medskip...)
10407 2003-02-14 John Levon <levon@movementarian.org>
10410 * tabular.C: better method names
10412 2003-02-14 John Levon <levon@movementarian.org>
10414 * BufferView_pimpl.C:
10419 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10420 it's a more accurate name. Remove some pointless uses.
10422 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10424 * text2.C (LyXText): change order of initilizers to shut off
10427 2003-02-14 John Levon <levon@movementarian.org>
10429 * buffer.C: use ParIterator for getParFromID()
10433 * paragraph_pimpl.h:
10434 * paragraph_pimpl.C: remove unused getParFromID()
10436 2003-02-14 John Levon <levon@movementarian.org>
10438 * buffer.C: remove some very old #if 0'd parse code
10440 2003-02-13 John Levon <levon@movementarian.org>
10444 * text2.C: move hfillExpansion(), numberOfSeparators(),
10445 rowLast(), rowLastPrintable(), numberofHfills(),
10446 numberOfLabelHfills() ...
10449 * lyxrow.C: ... to member functions here.
10454 * text.C: remove LyXText::beginningOfMainBody(), and call
10455 p->beginningOfMainBody() directly. Move the check for
10456 LABEL_MANUAL into the latter.
10463 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10469 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10470 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10472 2003-02-13 John Levon <levon@movementarian.org>
10474 * CutAndPaste.C: remove debug
10476 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10478 * paragraph.C (asString): remove two unused variables
10480 * lyxtextclass.C (readTitleType):
10482 (LyXTextClass): handle new members titletype_ and titlename_
10484 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10486 2003-02-09 John Levon <levon@movementarian.org>
10489 * buffer.C: replace hand-coded list with a map for the dep clean
10491 2003-02-08 John Levon <levon@movementarian.org>
10493 * LaTeX.C: consolidate code into showRunMessage() helper
10495 2003-02-08 John Levon <levon@movementarian.org>
10500 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10501 and pass the size in explicitly
10503 * BufferView_pimpl.h:
10504 * BufferView_pimpl.C:
10506 * BufferView.C: add getCurrentChange()
10508 * BufferView_pimpl.h:
10509 * BufferView_pimpl.C: handle change lfuns
10511 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10512 for changes. Mark pasted paragraphs as new.
10514 * support/lyxtime.h:
10515 * support/lyxtime.C:
10516 * DepTable.C: abstract time_t as lyx::time_type
10519 * LColor.C: add colours for new text, deleted text, changebars
10521 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10522 package use "usenames" option.
10526 * LyXAction.C: add change lfuns
10530 * author.C: author handling
10533 * buffer.C: add a per-buffer author list, with first entry as
10534 current author. Handle new .lyx tokens for change tracking. Output
10535 author list to .lyx file. Output dvipost stuff to .tex preamble.
10536 Bump lyx format to 222.
10539 * bufferlist.C: add setCurrentAuthor() to reset current author details
10543 * bufferparams.C: add param for tracking
10545 * bufferview_funcs.C: output change info in minibuffer
10549 * changes.C: add change-tracking structure
10552 * debug.C: add CHANGES debug flag
10555 * lyxfind.C: add code for finding the next change piece
10558 * lyxrc.C: add user_name and user_email
10561 * lyxrow.C: add a metric for the top of the text line
10564 * text.C: implement accept/rejectChange()
10567 * text.C: paint changebars. Paint new/deleted text in the chosen
10568 colours. Strike through deleted text.
10572 * paragraph_pimpl.h:
10573 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10574 in the current change to the insert functions. Rework erase to
10575 mark text as deleted, adding an eraseIntern() and a range-based
10576 erase(). Implement per-paragraph change lookup and
10579 * paragraph_funcs.C: Fixup paste for change tracking.
10581 * tabular.C: mark added row/columns as new.
10583 * text.C: fix rowLast() to never return -1. Don't allow
10584 spellchecking of deleted text. Track transpose changes. Don't
10585 allow paragraph break or merge where appropriate.
10587 * text2.C: leave cursor at end of selection after a cut.
10589 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10591 * text.C (getLengthMarkerHeight):
10592 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10593 visible on screen too.
10595 2003-02-07 John Levon <levon@movementarian.org>
10597 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10599 2003-02-05 Angus Leeming <leeming@lyx.org>
10601 * lyxserver.C (read_ready): revert my patch of 11 September last year
10602 as it sends PC cpu through the roof. Presumably this means that
10603 the lyxserver will no longer run on an Alpha...
10605 2003-01-30 Angus Leeming <leeming@lyx.org>
10607 * factory.C (createInset): create an InsetCommandParam of type "index"
10608 and use it to 'do the right thing'.
10610 * text2.C (getStringToIndex): ensure that cursor position is always
10611 reset to the reset_cursor position.
10613 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10615 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10618 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10622 * lyxfunc.C: Output messages with identical spelling, punctuation,
10625 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10627 * MenuBackend.C (expandFormats): List only viewable export formats
10630 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10633 * lyxfunc.C (getStatus): Make sure that formats other than
10634 "fax" can also be disabled
10636 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10638 * text3.C (dispatch): put the lfuns that insert insets in 3
10639 groups, and call doInsertInset with appropriate arguments.
10640 (doInsertInset): new function, that creates an inset and inserts
10641 it according to some boolean parameters.
10643 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10645 * buffer.C (readFile): remember to pass on 'par' when calling
10646 readFile recursively.
10648 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10650 * MenuBackend.C (expandFormats): add "..." to import formats.
10652 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10654 * paragraph.C (asString): Remove XForms RTL hacks.
10656 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10657 * buffer.C: fix typo
10659 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10661 * Makefile.am (LIBS): delete var
10662 (lyx_LDADD): add @LIBS@ here instead.
10664 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10666 * Clarify the meaning of "wheel mouse jump"
10668 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10670 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10673 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10675 * importer.C (Loaders): do not preallocate 3 elements in the
10676 vector, since one ends up with 6 elements otherwise
10678 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10680 * DepTable.C (write): write the file name as last element of the
10681 .dep file (because it may contain spaces)
10682 (read): read info in the right order
10684 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10686 * paragraph_pimpl.C (simpleTeXBlanks):
10687 (simpleTeXSpecialChars):
10688 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10690 * tabular.C (latex): add some missing case statements. Reindent.
10692 * MenuBackend.C (expandToc): remove unused variable.
10694 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10703 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10706 2003-01-05 John Levon <levon@movementarian.org>
10709 * BufferView.C: add getEncoding()
10712 * kbsequence.C: do not store last keypress
10715 * lyxfunc.C: store last keypress here instead. Pass encoding
10718 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10720 * lyx_main.C (init): remove annoying error message when following
10721 symbolic links (bug #780)
10723 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10725 * text.C (insertChar):
10726 * lyxrc.C (getDescription): remove extra spaces
10728 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10730 * lyxrc.C (getDescription): remove extra spaces
10732 2002-12-20 John Levon <levon@movementarian.org>
10734 * text3.C: hack fix for page up/down across tall rows
10736 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10738 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10741 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10743 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10744 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10745 thesaurus is not compiled in
10747 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10749 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10751 2002-12-16 Angus Leeming <leeming@lyx.org>
10754 * lyx_main.C (init): remove override_x_deadkeys stuff.
10756 2002-12-12 John Levon <levon@movementarian.org>
10758 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10759 insert. Only remove shift modifier under strict
10762 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10764 * MenuBackend.C (expandToc): fix crash.
10766 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10768 * MenuBackend.C (expandToc): gettext on float names.
10770 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10772 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10773 implement bool empty() [bug 490]
10775 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10777 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10779 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10781 * several files: ws changes
10783 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10785 * text2.C (setCounter): clean up a bit, use boost.format.
10786 (updateCounters): initialize par upon declaration.
10788 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10789 if the layout exists. We do not just store the layout any more.
10790 (SwitchLayoutsBetweenClasses): use boost.format
10792 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10794 * converter.C (convert): if from and to files are the same, use a
10795 temporary files as intermediary
10797 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10800 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10802 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10804 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10806 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10808 * tabular.C (asciiPrintCell): use string(size, char) instead of
10811 * sgml.C (openTag): fix order of arguments to string constructor
10814 * lyxfunc.C (dispatch): use boost.format
10816 * lots of files: change "c" -> 'c'
10818 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10820 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10822 2002-11-25 Angus Leeming <leeming@lyx.org>
10824 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10826 * lyx_main.C (init): compile fix.
10828 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10830 * lyx_cb.C (start): boost.formatify
10831 do not include <iostream>
10833 * lengthcommon.C: ws only
10835 * boost-inst.C,BoostFormat.h: add more explict instantations
10837 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10839 * lots of files: handle USE_BOOST_FORMAT
10841 2002-11-21 John Levon <levon@movementarian.org>
10843 * pspell.C: fix compile
10845 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10847 * lyxfunc.C (dispatch): use boost::format
10851 * lyxfont.C (stateText): use boost::format
10853 * lyx_main.C (LyX): use boost::format
10855 (queryUserLyXDir): ditto
10856 (readRcFile): ditto
10858 (typedef boost::function): use the recommened syntax.
10860 * importer.C (Import): use boost::format
10862 * debug.C (showLevel): use boost::format
10864 * converter.C (view): use boost::format
10869 * bufferview_funcs.C (currentState): use boost::format
10871 * bufferlist.C (emergencyWrite): use boost::format
10873 * buffer.C (readLyXformat2): use boost::format
10874 (parseSingleLyXformat2Token): ditto
10876 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10878 * LaTeX.C (run): use boost::format
10880 * Chktex.C (scanLogFile): use boost::format
10882 * BufferView_pimpl.C (savePosition): use boost::format
10883 (restorePosition): ditto
10884 (MenuInsertLyXFile): ditto
10886 * BoostFormat.h: help file for explicit instation.
10888 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10890 * tabular.C (latex): Support for block alignment in fixed width
10893 2002-11-17 John Levon <levon@movementarian.org>
10895 * BufferView_pimpl.C:
10897 * lyxfunc.C: split filedialog into open/save
10899 2002-11-08 Juergen Vigna <jug@sad.it>
10901 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10902 by my last patch (hopefully).
10904 2002-11-08 John Levon <levon@movementarian.org>
10913 * toc.C: ParConstIterator, and use it (from Lars)
10915 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10917 * lyxtextclass.[Ch]: revise and add doxygen comments
10919 2002-11-07 John Levon <levon@movementarian.org>
10921 * text.C: fix progress value for spellchecker
10923 * toc.C: fix navigate menu for insetwrap inside minipage
10925 * paragraph_funcs.C: added FIXME for suspect code
10927 2002-11-07 John Levon <levon@movementarian.org>
10929 * BufferView_pimpl.C: fix redrawing of insets
10932 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10934 * text2.C (updateCounters): fix bug 668
10936 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10938 * text3.C (dispatch): Do not make the buffer dirty when moving the
10941 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10943 * vc-backend.C: STRCONV
10944 (scanMaster): ditto
10946 * text2.C (setCounter): STRCONV
10948 * paragraph.C (asString): STRCONV
10950 * lyxlength.C (asString): STRCONV
10951 (asLatexString): ditto
10953 * lyxgluelength.C (asString): STRCONV
10954 (asLatexString): ditto
10956 * lyxfunc.C (dispatch): STRCONV
10959 * lyxfont.C (stateText): STRCONV
10961 * importer.C (Import): STRCONV
10963 * counters.C (labelItem): STRCONV
10964 (numberLabel): ditto
10965 (numberLabel): remove unused ostringstream o
10970 * bufferview_funcs.C (currentState): STRCONV
10972 * buffer.C (readFile): STRCONV
10973 (asciiParagraph): ditto
10974 (makeLaTeXFile): ditto
10976 * Spacing.C (writeEnvirBegin): STRCONV
10978 * LaTeXFeatures.C (getLanguages): STRCONV
10979 (getPackages): ditto
10981 (getBabelOptions): ditto
10982 (getTClassPreamble): ditto
10983 (getLyXSGMLEntities): ditto
10984 (getIncludedFiles): ditto
10988 (scanAuxFile): ditto
10991 * LString.h: add the STRCONV macros
10993 * BufferView_pimpl.C (savePosition): STRCONV
10994 (restorePosition): ditto
10995 (MenuInsertLyXFile): ditto
10997 * vc-backend.C (scanMaster): change from submatch[...] to
11000 * funcrequest.C: include config.h
11002 * factory.C: include config.h
11004 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
11006 * box.C: include config.h
11008 * LaTeX.C (scanAuxFile): change from submatch[...] to
11012 2002-10-25 Angus Leeming <leeming@lyx.org>
11014 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
11016 * ispell.[Ch] (setError): new method.
11017 * ispell.C (c-tor): move out child process into new class LaunchIspell.
11018 Use setError() insetead of goto END.
11020 * lyx_cb.C (AutoSave): move out child process into new class
11023 2002-10-30 John Levon <levon@movementarian.org>
11025 * text3.C: make start appendix undoable
11027 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
11029 * lyxlength.C (inPixels): Fix returned value.
11031 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
11034 2002-10-24 Angus Leeming <leeming@lyx.org>
11036 * lyxgluelength.h: no need to forward declare BufferParams
11037 or BufferView, so don't.
11039 2002-10-21 John Levon <levon@movementarian.org>
11041 * BufferView.C: menuUndo ->undo, redo
11043 * BufferView.h: document, remove dead, make some methods private
11045 * paragraph_funcs.h:
11046 * paragraph_funcs.C:
11047 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
11052 * sgml.C: move sgml open/close tag into sgml.C
11054 * bufferview_funcs.h: unused prototype
11057 * lyxfunc.C: remove unused
11060 * text.C: remove unused
11062 2002-10-21 John Levon <levon@movementarian.org>
11066 * BufferView_pimpl.h:
11067 * BufferView_pimpl.C: fix mouse wheel handling based on
11068 patch from Darren Freeman
11070 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
11072 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11074 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
11076 * lyxlength.C (inPixels): Fix hanfling of negative length.
11077 Fix LyXLength::MU case.
11079 2002-10-16 John Levon <levon@movementarian.org>
11081 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11083 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11085 * converter.C (view): add support for $$i (file name) and $$p
11086 (file path) for the viewer command. If $$i is not specified, then
11087 it is appended to the command (for compatibility with old syntax)
11089 2002-10-14 Juergen Vigna <jug@sad.it>
11091 * undo_funcs.C (textHandleUndo): alter the order in which the
11092 new undopar is added to the LyXText, as we have to set first
11093 the right prev/next and then add it as otherwise the rebuild of
11094 LyXText is not correct. Also reset the cursor to the right paragraph,
11095 with this IMO we could remove the hack in "redoParagraphs()".
11097 2002-10-09 Angus Leeming <leeming@lyx.org>
11099 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11100 to turn off an optimisation if a new inset is to be inserted.
11102 2002-10-11 André Pönitz <poenitz@gmx.net>
11104 * lyxtext.h: make some functions public to allow access
11105 from inset/lyxtext for handling LFUN_PRIOR/NEXT
11107 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11109 * text3.C (dispatch): when changing layout, avoid an infinite loop
11112 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11114 * lyxrc.C (read): treat a viewer or converter command of "none" as
11117 * MenuBackend.C (expandFormats): for an update, also allow the
11118 formats that are not viewable
11120 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11121 script if it is newer than the lyxrc.defaults in user directory
11123 2002-10-07 André Pönitz <poenitz@gmx.net>
11125 * text.C: Vitaly Lipatov's small i18n fix
11127 2002-09-25 Angus Leeming <leeming@lyx.org>
11129 * ispell.h: doxygen fix.
11131 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
11133 * buffer.h (readFile): Add a new argument to the method, to allow
11134 reading of old-format templates.
11136 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
11138 * toc.C (getTocList): Get TOC from InsetWrap.
11140 2002-09-16 John Levon <levon@movementarian.org>
11142 * lyxfunc.C: check tabular for cut/copy too
11144 2002-09-12 John Levon <levon@movementarian.org>
11146 * LyXAction.C: tidy
11149 * factory.C: add header
11151 * paragraph_funcs.h:
11152 * paragraph_funcs.C: cleanup
11154 2002-09-11 John Levon <levon@movementarian.org>
11156 * PrinterParams.h: odd/even default to true
11158 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
11160 * PrinterParams.h: update printer parameters for new xforms dialog
11162 2002-09-11 Angus Leeming <leeming@lyx.org>
11164 * lyxserver.C (read_ready): re-write to make it more transparent
11165 and to make it work in coherent fashion under Tru64 Unix.
11167 2002-09-11 André Pönitz <poenitz@gmx.net>
11171 * text3.C: implement LFUN_WORDSEL
11173 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11175 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11176 make floatlist_ a boost::shared_ptr<FloatList>
11178 * lyxtextclass.C: include FloatList.h
11179 (LyXTextClass): initialize floatlist_
11180 (TextClassTags): add TC_NOFLOAT
11181 (Read): match "nofloat" to TC_NOFLOAT and use it.
11182 (readFloat): modify call to floatlist_
11186 * FloatList.[Ch] (FloatList): remove commented out float
11188 (erase): new function
11190 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11192 * MenuBackend.C (expandToc): fix crash when there is no document
11195 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
11197 * many files: Add insetwrap.
11199 2002-09-09 John Levon <levon@movementarian.org>
11201 * text2.C: remove confusing and awkward depth wraparound
11203 2002-09-09 John Levon <levon@movementarian.org>
11205 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11208 * buffer.C: remove getIncludeonlyList()
11211 * lyxfunc.C: remove headers
11213 2002-09-09 Juergen Vigna <jug@sad.it>
11215 * text.C (getColumnNearX): fix form Michael this is most
11216 probably a cut&paste bug.
11218 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
11220 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11222 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11223 references, ws changes.
11225 * text2.C (init): update counters after init
11226 (insertParagraph): no need to set counter on idividual paragraphs.
11227 (setCounter): access the counters object in the textclass object
11228 on in the buffer object.
11229 (updateCounters): ditto
11231 * lyxtextclass.C: include counters.h, add variable ctrs_ as
11232 shared_ptr<Counters> to avoid loading counters.h in all
11234 (LyXTextClass): initialize ctrs_
11235 (TextClassTags): add TC_COUNTER, and ...
11236 (Read): use it here.
11237 (CounterTags): new tags
11238 (readCounter): new function
11239 (counters): new funtion
11240 (defaultLayoutName): return a const reference
11242 * counters.C (Counters): remove contructor
11243 (newCounter): remove a couple of unneeded statements.
11244 (newCounter): simplify a bit.
11245 (numberLabel): some small formatting changes.
11247 * buffer.[Ch]: remove all traces of counters, move the Counters
11248 object to the LyXTextClass.
11250 2002-09-06 Alain Castera <castera@in2p3.fr>
11252 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11253 package to set the horizontal alignment on fixed width columns.
11256 * lyx_sty.h: added tabularnewline macro def.
11258 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11260 2002-09-06 John Levon <levon@movementarian.org>
11262 * LyXAction.C: tooltips for sub/superscript
11264 * MenuBackend.C: a bit more verbose
11266 * lyxfunc.C: tiny clean
11268 * undo_funcs.C: document undo_frozen
11270 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11272 * counters.C (Counters): add missing algorithm counter.
11274 * text2.C (setCounter): lookup the counter with layouts latexname
11275 instead of by section number.
11276 (setCounter): use a hackish way to lookup the correct enum
11278 a float name->type change
11279 reset enum couners with counter name directly instead of depth value.
11281 * counters.C (Counters): remove the push_backs, change to use the
11282 float type not the float name.
11283 (labelItem): remove unused string, float name->type change
11285 * counters.h: don't include vector, loose the enums and sects vectors
11287 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11289 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11290 (Read): add float->TC_FLOAT to textclassTags
11291 (Read): and handle it in the switch
11292 (readFloat): new function
11294 * FloatList.C (FloatList): comment out the hardcoded float
11297 * lyxlayout.h: ws change.
11299 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11301 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11303 2002-09-03 Angus Leeming <leeming@lyx.org>
11305 * BufferView_pimpl.h: qualified name is not allowed in member
11306 declaration: WorkArea & Pimpl::workarea() const;
11308 * factory.C: added using std::endl directive.
11310 * text3.C: added using std::find and std::vector directives.
11312 2002-08-29 André Pönitz <poenitz@gmx.net>
11315 * text2.C: remove unused member number_of_rows
11318 * BufferView2.C: remove file, move contents to...
11319 * BufferView.C: ... here
11321 * BufferView_pimpl.C:
11322 * factory.C: move more inset creation to factory
11324 * vspace.C: avoid direct usage of LyXText, ws changes
11327 don't provide direct access to WorkArea, use two simple
11328 acessors haveSelction() and workHeight() instead
11331 2002-08-29 John Levon <levon@movementarian.org>
11333 * BufferView_pimpl.C (dispatch): do not continue when
11336 2002-08-28 André Pönitz <poenitz@gmx.net>
11338 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11341 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11343 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11345 * buffer.C: increment LYX_FORMAT to 221
11347 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11348 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11350 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11352 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11354 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11356 * factory.C (createInset): use LyXTextClass::floats
11358 * MenuBackend.C (expandFloatListInsert):
11359 (expandFloatInsert):
11362 * text2.C (setCounter):
11364 * LaTeXFeatures.C (useFloat):
11365 (getFloatDefinitions):
11367 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11369 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11370 floatlist_, with accessor floats().
11372 * FloatList.h: remove global FloatList
11374 2002-08-26 André Pönitz <poenitz@gmx.net>
11376 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11380 * BufferView_pimpl.C:
11381 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11383 2002-08-25 John Levon <levon@movementarian.org>
11385 * LyXAction.C: fix margin note description
11387 2002-08-24 John Levon <levon@movementarian.org>
11391 * bufferview_funcs.C:
11393 * undo_funcs.C: cleanups
11395 * lyxfunc.C: disable CUT/COPY when no selection
11397 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11399 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11400 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11402 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11403 Add backward compatibility to "mono", "gray" and "no".
11405 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11407 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11408 (and file_format >= 200).
11410 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11412 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11414 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11416 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11418 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11420 * BufferView_pimpl.C:
11427 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11428 inset and code to make it work with the paragraph code. The inset
11429 can be anywhere in the paragraph, but will only do the expected
11430 thing in LaTeX if the layout file contains the parameter line
11432 (or more generally, a nonzero value) for that layout.
11434 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11436 * paragraph.h: remove the declaration of undefined counters class
11439 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11441 * text2.C (setCounter): fixed enumeration mis-count as reported by
11442 Dr. Richard Hawkins.
11444 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11446 * paragraph_funcs.h: remove some unneeded includes
11448 * text.C (backspace): pasteParagraph now in global scipe
11450 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11451 (pasteSelection): ditto
11453 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11454 * paragraph_funcs.C (pasteParagraph): ... here
11456 2002-08-20 André Pönitz <poenitz@gmx.net>
11458 * commandtags.h: new LFUNs for swapping/copying table row/colums
11461 * lyxfunc.C: support for new lfuns
11463 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11466 * buffer.[Ch]: remove NO_COMPABILITY stuff
11468 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11470 * boost.C (throw_exception): new file, with helper function for
11471 boost compiled without exceptions.
11476 * ParameterStruct.h:
11477 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11479 * bufferlist.C (emergencyWriteAll): use boost bind
11481 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11483 * text.C: include paragraph_funcs.h
11484 (breakParagraph): breakParagraph is now in global scope
11486 * paragraph_funcs.[Ch]: new files
11488 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11491 * buffer.C: include paragraph_funcs.h
11492 (insertStringAsLines): breakParagraph is now in global scope
11494 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11497 * CutAndPaste.C: include paragraph_funcs.h
11498 (cutSelection): breakParagraphConservative is now in global scope
11499 (pasteSelection): ditto
11501 * buffer.h: declare oprator== and operator!= for
11502 Buffer::inset_iterator
11504 * bufferlist.C (emergencyWrite): don't use fmt(...)
11506 * text3.C: add using std::endl
11508 * BufferView.C (moveCursorUpdate): remove default arg
11510 2002-08-20 André Pönitz <poenitz@gmx.net>
11512 * buffer.[Ch]: move inline functions to .C
11515 * BufferView_pimpl.C:
11517 * buffer.[Ch]: use improved inset_iterator
11520 * paragraph.[Ch]: write one paragraph at a time
11522 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11524 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11525 style if style is not specified.
11527 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11529 * text2.C (setCounter): when searching for right label for a
11530 caption, make sure to recurse to parent insets (so that a caption
11531 in a minipage in a figure float works) (bug #568)
11533 2002-08-20 André Pönitz <poenitz@gmx.net>
11535 * text3.C: new file for LyXText::dispatch() and helpers
11537 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11539 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11541 2002-08-19 André Pönitz <poenitz@gmx.net>
11544 * text.C: new LyXText::dispatch()
11546 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11548 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11550 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11552 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11555 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11557 * Makefile.am: use $(variables) instead of @substitutions@
11559 2002-08-15 André Pönitz <poenitz@gmx.net>
11562 * BufferView_pimpl.C: streamlining mathed <-> outer world
11566 * LyXAction.C: remove unused LFUN_MATH
11568 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11570 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11572 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11574 * paragraph.C (Paragraph): reformat a bit
11575 (cutIntoMinibuffer): use builtin InsetList function instad of
11579 * buffer.C: include boost/bind.hpp, add using std::for_each
11580 (writeFileAscii): use ParagraphList iterators
11581 (validate): use for_each for validate traversal of paragraphs
11582 (getBibkeyList): use ParagraphList iterators
11583 (resizeInsets): use for_each to resizeInsetsLyXText for all
11585 (getParFromID): use ParagraphList iterators
11587 * BufferView2.C (lockInset): use paragraph list and iterators
11589 2002-08-14 John Levon <levon@movementarian.org>
11591 * lyxserver.C: remove spurious xforms include
11593 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11595 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11597 2002-08-13 André Pönitz <poenitz@gmx.net>
11600 * lyxfunc.C: further cleaning
11602 2002-08-13 André Pönitz <poenitz@gmx.net>
11604 * funcrequest.h: new constructor
11606 * funcrequest.C: move stuff here from .h
11609 * BufferView_pimpl.C:
11612 * lyxfunc.C: subsequent changes
11614 * lyxfunc.h: new view() member function
11616 * lyxfunc.C: subsequent changes
11618 2002-08-13 Angus Leeming <leeming@lyx.org>
11621 * BufferView_pimpl.C:
11629 changes due to the changed LyXView interface that now returns references
11630 to member variables not pointers.
11632 2002-08-13 Angus Leeming <leeming@lyx.org>
11634 * WordLangTuple (word, lang_code): return references to strings,
11639 * lyxtext.h: forward-declare WordLangTuple.
11644 * text.C: #include "WordLangTuple.h".
11647 * text.C: (selectNextWordToSpellcheck): constify return type.
11649 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11655 * paragraph_pimpl.h:
11658 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11659 suggested by Angus.
11660 Made updateCounter always count from start of buffer, and removed
11661 second argument (par).
11662 Reverted floats number display to '#'. Perhaps I'll try again when the
11663 code base is sanitized a bit.
11665 2002-08-12 Angus Leeming <leeming@lyx.org>
11667 * buffer.[Ch] (getLabelList): constify.
11669 2002-08-07 André Pönitz <poenitz@gmx.net>
11671 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11673 * funcrequest.h: extension to keep mouse (x,y) position
11675 2002-08-12 Juergen Vigna <jug@sad.it>
11677 * BufferView2.C (insertErrors): forbid undo when inserting error
11680 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11682 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11684 * ParagraphList.[Ch]: new files
11686 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11688 * BufferView2.C (lockInset): ParagraphList changes
11691 * bufferlist.C: ditto
11695 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11697 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11698 unused class variable counter_,
11700 * paragraph.[Ch] (getFirstCounter): delete unused function
11702 * counters.C: include LAssert.h
11703 (reset): add a new function with no arg, change other version to
11704 not have def. arg and to not allow empty arg.
11706 * text2.C (setCounter): remove empty arg from call to Counters::reset
11708 2002-08-11 John Levon <levon@movementarian.org>
11710 * Makefile.am: add WordLangTuple.h
11712 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11714 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11715 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11717 * insets/insettext.C: InsetList changes
11719 * graphics/GraphicsSupport.C (operator()): InsetList changes
11721 * toc.C (getTocList): InsetList changes
11723 * paragraph_pimpl.[Ch]: InsetList changes
11725 * paragraph.[Ch]: InsetList changes
11727 * buffer.C (inset_iterator): InsetList changes
11728 (setParagraph): ditto
11729 * buffer.h (inset_iterator): ditto
11730 * iterators.C (operator++): ditto
11731 * iterators.h: ditto
11733 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11735 * InsetList.[Ch]: new files, most InsetList handling moved out of
11738 * BufferView2.C (removeAutoInsets): InsetList changes
11740 (ChangeInsets): ditto
11742 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11744 * paragraph_pimpl.h (empty): new function
11746 * paragraph.[Ch] (empty): new function
11748 * other files: use the new Paragraph::empty function
11750 2002-08-09 John Levon <levon@movementarian.org>
11752 * lyxtext.h: remove unused refresh_height
11754 2002-08-09 John Levon <levon@movementarian.org>
11761 * paragraph.C: move sgml char escaping out of paragraph
11764 * paragraph.C: remove id setter
11768 * paragraph_pimpl.C: remove dead tex_code_break_column
11770 * bufferview_funcs.C: small cleanup
11772 * lyxfunc.C: remove dead proto
11774 * lyxtext.h: make some stuff private. Remove some dead stuff.
11776 * lyxgluelength.C: make as[LyX]String() readable
11778 2002-08-08 John Levon <levon@movementarian.org>
11783 * ToolbarDefaults.C:
11786 * toc.C: lyxaction cleanup
11788 2002-08-08 John Levon <levon@movementarian.org>
11790 * BufferView2.C: small cleanup
11793 * lyxfind.C: move unnecessary header into the .C
11795 2002-08-08 John Levon <levon@movementarian.org>
11797 * funcrequest.h: just tedious nonsense
11800 * lyx_main.C: cleanups
11803 * vspace.C: remove dead header lyx_main.h
11805 2002-08-07 Angus Leeming <leeming@lyx.org>
11808 * paragraph_pimpl.h:
11809 Forward declare class Counters in paragraph.h by moving the ctrs member
11810 variable into Paragraph::Pimpl.
11811 (counters): new method, returning a reference to pimpl_->ctrs.
11813 * text2.C: ensuing changes.
11815 2002-08-07 John Levon <levon@movementarian.org>
11817 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11819 * BufferView_pimpl.C: announce X selection on double/triple
11822 * lyx_main.C: use correct bool in batch dispatch
11824 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11826 2002-08-07 André Pönitz <poenitz@gmx.net>
11828 * funcrequest.h: new class to wrap a kb_action and its argument
11831 * BufferView_pimpl[Ch]:
11835 * lyxrc.C: subsequent changes
11838 2002-08-07 John Levon <levon@movementarian.org>
11840 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11841 document options change.
11843 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11848 * makefile.am: move counters functionality over from
11849 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11851 2002-08-06 John Levon <levon@movementarian.org>
11853 * WordLangTuple.h: new file for word + language code tuple
11864 * BufferView2.C: use WordLangTuple
11867 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11869 2002-08-06 John Levon <levon@movementarian.org>
11871 * lyx_main.C: fix cmdline batch handling
11873 2002-08-06 André Pönitz <poenitz@gmx.net>
11875 * lyxrc.C: set default for show_banner to true
11877 2002-08-06 John Levon <levon@movementarian.org>
11879 * pspell.C: fix a crash, and allow new aspell to work
11881 2002-08-06 John Levon <levon@movementarian.org>
11884 * kbmap.C: small cleanup
11887 * vspace.C: add const
11889 2002-08-05 John Levon <levon@movementarian.org>
11891 * LyXAction.C: back to tabular-insert
11893 2002-08-04 John Levon <levon@movementarian.org>
11896 * BufferView.C: cosmetic change
11898 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11908 * BufferView2.C: purge all "Lyx" not "LyX" strings
11911 * lyxcursor.C: attempt to add some documentation
11916 * ToolbarDefaults.C:
11917 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11918 merge with LFUN_TABULAR_INSERT
11925 * pspell.C: split up i/pspell implementations into separate
11926 files, many cleanups
11928 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11930 * text2.C: some cleanup
11932 * lyxfunc.C: don't check for isp_command == "none" any more, it
11933 didn't make any sense
11935 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11940 * makefile.am: move counters functionality over
11941 from text2.C/paragraph.[Ch] to counters.[Ch], and
11943 2002-08-02 John Levon <levon@movementarian.org>
11945 * buffer.C: s/lyxconvert/lyx2lyx/
11947 2002-08-02 Angus Leeming <leeming@lyx.org>
11949 * lyxlex.C: revert John's change as it breaks reading of the user
11952 2002-08-02 Angus Leeming <leeming@lyx.org>
11954 * importer.C (Import):
11955 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11956 changes due to LyXView::view() now returning a boost::shared_ptr.
11958 2002-08-02 John Levon <levon@movementarian.org>
11960 * lyxlex.C: small cleanup
11962 2002-08-02 John Levon <levon@movementarian.org>
11964 * text2.C (status): small cleanup, no logic change
11966 2002-08-01 John Levon <levon@movementarian.org>
11969 * buffer.C (writeFile): don't output alerts, caller
11973 * lyx_cb.C: from above
11975 * lyxfunc.C: allow to open non-existent files
11977 2002-07-31 John Levon <levon@movementarian.org>
11979 * lyxserver.C: don't let incidental errors get
11982 2002-07-30 John Levon <levon@movementarian.org>
11984 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11986 2002-07-30 John Levon <levon@movementarian.org>
11989 * lyxserver.C: remove I/O callback too
11991 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11993 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11996 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11998 * many files: strip,frontStrip -> trim,ltrim,rtrim
12000 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
12002 * PrinterParams.h: remove extern containsOnly, and include
12003 support/lstrings.h instead.
12005 * LaTeX.C (scanAuxFile): modify because of strip changes
12007 * buffer.C (makeLaTeXFile): ditto
12008 * bufferparams.C (writeFile): ditt
12009 * lyxfont.C (stateText): ditto
12010 * lyxserver.C (read_ready): ditto
12011 * vc-backend.C (scanMaster): ditto
12013 * BufferView_pimpl.h: ws changes
12015 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
12017 2002-07-26 André Pönitz <poenitz@gmx.net>
12019 * kb_sequence.C: remove unnedred usings
12021 2002-07-26 Juergen Vigna <jug@sad.it>
12023 * lyxfind.C (LyXReplace): we have to check better if the returned
12024 text is not of theLockingInset()->getLockingInset().
12026 2002-07-25 Juergen Vigna <jug@sad.it>
12028 * lyxfind.C (LyXReplace): don't replace if we don't get the
12031 * undo_funcs.C (createUndo): remove debugging code.
12033 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
12035 * buffer.C (parseSingleLyXformat2Token): Use default placement
12036 when reading old floats.
12038 * FloatList.C (FloatList): Change the default placement of figure
12039 and tables to "tbp".
12041 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
12043 * MenuBackend.C: using std::max
12045 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12047 * MenuBackend.C (expandToc):
12048 (expandToc2): code moved from xforms menu frontend. It is now
12049 generic and TOCs are transparent to menu frontends.
12051 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12053 * toc.C (getTocList): protect against buf=0
12055 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12056 Menu as first parameter. Now, this calls itself recursively to
12057 expand a whole tree (this will be useful for TOC handling)
12058 (expandFloatInsert): remove 'wide' version of floats
12060 * MenuBackend.h (submenuname): returns the name of the submenu.
12061 (submenu): returns the submenu itself, provided it has been
12062 created by MenuBackend::expand
12064 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12066 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12067 insets which have noFontChange == true. (bug #172)
12069 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12071 * BufferView_pimpl.C: add connection objects and use them...
12074 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12076 * MenuBackend.C (expandLastfiles):
12079 (expandFloatListInsert):
12080 (expandFloatInsert):
12081 (expand): split expand in parts
12083 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12085 * lyx_gui.C: use lyx_gui::exit()
12087 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12089 * LyXAction.C: show the failing pseudo action
12091 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
12093 * buffer.C (readFile): Run the lyxconvert script in order to read
12096 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12100 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12102 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12106 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12108 2002-07-22 Herbert Voss <voss@lyx.org>
12111 * lyxlength.[Ch]: add support for the vertical lengths
12113 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
12115 * toc.[Ch]: std:: fixes
12117 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12119 * lyxrc.C: do not include lyx_main.h
12121 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12127 * BufferView2.C: include "lyxlex.h"
12130 * bufferparams.h: do not #include "lyxlex.h"
12132 * lyxtextclasslist.C (Add): remove method
12133 (classlist): renamed to classlist_
12135 * paragraph_pimpl.C:
12139 * bufferview_funcs.C:
12144 * toc.C (getTocList): use BufferParams::getLyXTextClass
12146 * toc.C (getTocList): use InsetFloat::addToToc
12148 * toc.[Ch]: new files, containing helper functions to handle table
12151 * lyxfunc.C (dispatch): no need to remove spaces around command
12153 (getStatus): handle LFUN_SEQUENCE by returning the status of the
12154 first command of the sequence; it is not very clever, but I do not
12155 have a better idea, actually
12157 * LyXAction.C (LookupFunc): make sure to remove space at the
12158 beginning and end of the command
12160 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12162 * MenuBackend.C (getMenubar): new method: return the menubar of
12164 (read): treat differently reading of menu and menubar (in
12165 particular, the menubar has no name now)
12166 (Menu::menubar): remove
12168 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12171 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12173 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12174 a bibitem inset in a RTL paragraph.
12176 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
12178 * paragraph_pimpl.C: constify
12180 * BufferView_pimpl.C:
12182 * lyxfunc.C: fix dispatch in a nicer way
12184 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12186 * lyxfunc.C (dispatch):
12187 * BufferView_pimpl.C:
12188 * BufferView_pimpl.h:
12190 * BufferView.h: rename Dispatch() to dispatch()
12192 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12194 * lyxlayout.C (Read): honor DependsOn tag
12196 * lyxlayout.[Ch] (depends_on): new method
12198 * version.C.in: update lyx_docversion
12200 * LaTeXFeatures.C (getMacros): only define \LyX when needed
12202 * paragraph.C (validate): remove from here...
12203 * paragraph_pimpl.C (validate): ... and move here
12204 (isTextAt): make it const
12206 * buffer.C (getLists): ws cleanup
12208 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12210 * language.C (read): Use iso8859-1 encoding in latex_lang
12211 (this prevents LyX from crashing when using iso10646-1 encoding).
12213 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12215 * text2.C (toggleInset): if cursor is inside an inset, close the
12216 inset and leave cursor _after_ it
12218 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12220 * lyxfunc.C: move minibuffer completion handling out of here
12222 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12224 * BufferView_pimpl.C:
12225 * LaTeX.C: fix dispatch calls
12227 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
12229 * text.C (drawChars): Fix Arabic text rendering.
12231 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
12235 * lyxfunc.C: remove message-push/pop
12239 * lyxfunc.C: rationalise some code by removing verboseDispatch
12240 in favour of a bool argument to dispatch()
12242 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12244 * lyx_main.C (init): make sure to read symlinks as absolute paths
12246 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12249 * lyxfunc.C: no need for commandshortcut to be a member
12251 2002-07-15 André Pönitz <poenitz@gmx.net>
12253 * converter.C: add support for $$s (scripts from lib/scripts dir)
12254 * lyx_main.C: white space
12256 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12260 * lyxrc.C: remove second exit confirmation
12262 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12267 * BufferView_pimpl.h:
12268 * BufferView_pimpl.C:
12269 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12271 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12273 * MenuBackend.C (expand): add numeric shortcuts to document menu
12275 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12277 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12279 * lyxfont.C (setLyXFamily):
12286 * buffer.C (asciiParagraph): use ascii_lowercase
12288 2002-07-15 Mike Fabian <mfabian@suse.de>
12290 * lyxlex_pimpl.C (search_kw):
12291 * lyxlex.C (getLongString):
12292 * converter.h (operator<):
12293 * converter.C (operator<):
12294 * buffer.C (parseSingleLyXformat2Token):
12296 * ToolbarDefaults.C (read):
12297 * MenuBackend.C (checkShortcuts):
12299 * LColor.C (getFromGUIName):
12300 (getFromLyXName): use the compare_ascii_no_case instead of
12301 compare_no_case, because in turkish, 'i' is not the lowercase
12302 version of 'I', and thus turkish locale breaks parsing of tags.
12304 2002-07-16 Angus Leeming <leeming@lyx.org>
12306 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12307 now takes a Buffer const & argument.
12309 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12311 * BufferView.C (resize): check there's a buffer to resize
12313 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12315 * lyxfunc.C: remove dead code
12318 * lyxserver.C: use lyx_guii::set_read_callback
12320 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12322 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12323 an inset in a RTL paragraph.
12325 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12327 * lyxfunc.C: repaint after a font size update
12329 2002-07-15 André Pönitz <poenitz@gmx.net>
12331 * lyxlength.C: inBP should be able to return negative values
12333 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12335 * lyxfunc.C: use lyx_gui::update_fonts()
12337 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12339 * lyxfunc.C: use lyx_gui::update_color()
12341 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12347 * lyxrc.C: remove file->new asks for name option, and let
12348 buffer-new take an argument
12350 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12352 * BufferView_pimpl.C: remove unneeded extra repaint()
12354 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12356 * LyXAction.C: allow command-sequence with NoBuffer
12358 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12360 2002-07-10 Angus Leeming <leeming@lyx.org>
12362 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12364 2002-07-09 Angus Leeming <leeming@lyx.org>
12366 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12368 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12370 * lengthcommon.h: whitespace
12372 * lyxfunc.C: update scrollbar after goto paragraph
12374 * lyxtext.h: factor out page break drawing, and fix it so
12375 page break/added space paints as selected nicely
12377 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12379 * BufferView_pimpl.C: add FIXMEs, clean up a little
12381 2002-07-09 André Pönitz <poenitz@gmx.net>
12383 * lyxfont.[Ch]: support for wasy symbols
12385 2002-07-08 André Pönitz <poenitz@gmx.net>
12387 * BufferView_pimpl.C: apply John's patch for #93.
12389 2002-07-05 Angus Leeming <leeming@lyx.org>
12391 * BufferView_pimpl.C (buffer): generate previews if desired.
12393 * LColor.h: add "preview" to the color enum.
12395 * LColor.C (LColor): add a corresponding entry to the items array.
12397 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12400 2002-07-05 Angus Leeming <leeming@lyx.org>
12402 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12403 The body of the code is now in the method that is passed an ostream &
12404 rather than a file name.
12405 Pass an additional only_preamble parameter, useful for the forthcoming
12408 2002-07-03 André Pönitz <poenitz@gmx.net>
12410 * lyxfunc.C: simplify getStatus() a bit for math stuff
12412 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12414 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12416 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12418 * text.C (changeRegionCase): do not change case of all the
12419 document when region ends at paragraph end (bug #461)
12421 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12423 * paragraph.C (startTeXParParams):
12424 (endTeXParParams): add \protect when necessary
12426 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12428 * BufferView_pimpl.C (workAreaExpose): remove warning
12430 2002-06-27 Angus Leeming <leeming@lyx.org>
12432 * Makefile.am: add lyxlayout_ptr_fwd.h.
12434 2002-06-26 André Pönitz <poenitz@gmx.net>
12436 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12438 2002-06-25 Angus Leeming <leeming@lyx.org>
12440 * lyxfunc.C (dispatch): Comment out the call to
12441 grfx::GCache::changeDisplay. The method no longer exists now that the
12442 pixmap generation part of the graphics loader has been moved into
12445 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12447 * text2.C: layout as layout
12449 * text.C: layout as layout
12451 * tabular.C (OldFormatRead): layout as layout
12453 * paragraph_pimpl.C (TeXDeeper): layout as layout
12454 (realizeFont): layout as layout
12456 * paragraph.C (writeFile): layout as layout
12457 (validate): layout as layout
12458 (getFont): layout as layout
12459 (getLabelFont): layout as layout
12460 (getLayoutFont): layout as layout
12461 (breakParagraph): layout as layout
12462 (stripLeadingSpaces): layout as layout
12463 (getEndLabel): layout as layout
12464 (getMaxDepthAfter): layout as layout
12465 (applyLayout): layout as layout
12466 (TeXOnePar): layout as layout
12467 (simpleTeXOnePar): layout as layout
12468 (TeXEnvironment): layout as layout
12469 (layout): layout as layout
12470 (layout): layout as layout
12472 * lyxtextclass.C (compare_name): new functor to work with
12473 shared_ptr, layout as layout
12474 (Read): layout as layout
12475 (hasLayout): layout as layout
12476 (operator): layout as layout
12477 (delete_layout): layout as layout
12478 (defaultLayout): layout as layout
12480 * lyxlayout_ptr_fwd.h: new file
12482 * lyxlayout.C (Read): layout as layout
12484 * lyx_cb.C (MenuInsertLabel): layout as layout
12486 * bufferlist.C (newFile): layout as layout
12488 * buffer.C (readLyXformat2): layout as layout
12489 (parseSingleLyXformat2Token): layout as layout
12490 (insertStringAsLines): layout as layout
12491 (asciiParagraph): layout as layout
12492 (latexParagraphs): layout as layout
12493 (makeLinuxDocFile): layout as layout
12494 (simpleLinuxDocOnePar): layout as layout
12495 (makeDocBookFile): layout as layout
12496 (simpleDocBookOnePar): layout as layout
12497 (getLists): layout as layout
12499 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12501 * CutAndPaste.C (cutSelection): layout as layout
12502 (pasteSelection): layout as layout
12503 (SwitchLayoutsBetweenClasses): layout as layout
12505 * BufferView_pimpl.C (Dispatch): layout as layout
12506 (smartQuote): layout as layout
12508 * BufferView2.C (unlockInset): layout as layout
12510 2002-06-24 André Pönitz <poenitz@gmx.net>
12512 * lyxfunc.C: fix #487
12514 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12518 * lyxfunc.C: remove display_shortcuts, show_banner
12520 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12522 * Buffer_pimpl.C: oops, update on resize
12524 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12531 * BufferView.C: use repaint()
12533 * BufferView_pimpl.h:
12534 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12535 as it's a clearer description. Remove superfluous
12538 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12540 * text.C: fix bug 488. Not ideal, but getting
12541 getWord() to work properly for the insets that
12542 matter is more difficult ...
12544 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12546 * BufferView_pimpl.C:
12549 * lyxfunc.C: remove the six million index lyxfuncs to just
12550 one, and DTRT (bug 458)
12552 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12556 * BufferView_pimpl.h:
12557 * BufferView_pimpl.C: clean up resize() stuff,
12558 and unnecessary updateScreen()s
12560 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12564 * BufferView_pimpl.h:
12565 * BufferView_pimpl.C:
12568 * minibuffer.C: remove focus management of workarea,
12569 not needed. Use screen's greyOut()
12571 2002-06-17 Herbert Voss <voss@lyx.org>
12573 * converter.C: (convert) do not post a message, when converting
12574 fails, let the calling function decide what to do in this case
12576 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12578 * lyxfunc.C: tidy up a little
12580 2002-06-16 <alstrup@diku.dk>
12582 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12583 Got rid of FORMS_H_LOCATION include. Now we are
12586 2002-06-15 LyX Development team <lyx@rilke>
12588 * buffer.[Ch] (sgmlOpenTag):
12589 (sgmlCloseTag): Added support for avoiding pernicious mixed
12590 content. Return number of lines written.
12592 (makeLinuxDocFile):
12593 (makeDocBookFile): Fixed calls to sgml*Tag.
12594 Simple white space clean.
12596 (simpleDocBookOnePar): Simple white space clean.
12598 * tabular.[Ch] (docBook): Renamed to docbook and got another
12599 argument to related with the pernicious mixed content.
12601 (docbookRow): Fixed calls for docbook inset method.
12603 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12605 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12606 so it's X11 independent.
12610 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12612 2002-06-15 Lyx Development team <lyx@electronia>
12614 * intl.h: Renamed getTrans to getTransManager.
12616 2002-06-14 Angus Leeming <leeming@lyx.org>
12618 * Makefile.am: nuke forgotten stl_string_fwd.h.
12620 2002-06-12 Angus Leeming <leeming@lyx.org>
12622 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12624 2002-06-13 Angus Leeming <leeming@lyx.org>
12627 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12629 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12631 * kbmap.C (getiso): add support for cyrillic and greek
12633 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12637 * BufferView_pimpl.h:
12638 * BufferView_pimpl.C: move bogus scrolling logic
12641 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12644 * BufferView_pimpl.C: view->resize() change
12646 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12648 * BufferView_pimpl.C: topCursorVisible
12651 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12655 * lyx_gui.C: move to frontends/
12659 * lyx_main.C: changes from above
12661 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12668 * lyx_main.C: minor tidy
12670 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12672 * BufferView_pimpl.h:
12673 * BufferView_pimpl.C:
12675 * BufferView.C: make painter() const,
12678 * BufferView2.C: use screen() accessor
12681 * lyx_main.C: some minor cleanup
12683 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12685 * BufferView_pimpl.h:
12686 * BufferView_pimpl.C: remove enter/leaveView,
12689 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12694 * BufferView_pimpl.h:
12695 * BufferView_pimpl.C: only construct screen once,
12698 * lyxrc.C: remove pointless comment
12700 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12703 * BufferView.C: remove active() and belowMouse()
12705 * BufferView_pimpl.h:
12706 * BufferView_pimpl.C: use workarea() not workarea_,
12707 and make it use a scoped_ptr instead
12709 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12711 * lyx_gui.C: add debug message on BadWindow
12713 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12715 * sp_spell.C: fdopen is not part of the C++ standard.
12717 * paragraph.C (InsetIterator): use >= instead of ==
12719 2002-06-07 Angus Leeming <leeming@lyx.org>
12721 Fixes needed to compile with Compaq cxx 6.5.
12722 * BufferView_pimpl.C:
12729 * lyxtextclasslist.C:
12734 all c-library variables have been moved into namespace std. Wrap
12735 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12740 Add a using std::abs declaration.
12742 * kbmap.h (modifier_pair):
12743 * paragraph.h (InsetTable, InsetList):
12744 * lyxfont.h (FontBits):
12745 type definition made public.
12747 * bufferlist.C (emergencyWriteAll): the compiler complains that
12748 there is more than one possible lyx::class_fun template to choose from.
12749 I re-named the void specialisation as lyx::void_class_fun.
12751 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12753 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12754 the compiler is is unable to find tostr in write_attribute.
12756 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12758 * buffer.C (sgmlError): hide #warning
12760 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12762 * xtl/*: get rid of xtl, which is not in use anyway
12764 * LyXAction.C (init):
12765 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12766 were unimplemented xtl experimentation
12768 2002-06-04 André Pönitz <poenitz@gmx.net>
12770 * lyxfunc.C: disable array operation on simple formulae
12772 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12774 * converter.C: constify a bit
12776 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12778 * lyx_gui.C: check xforms version correctly
12780 2002-04-30 Herbert Voss <voss@lyx.org>
12782 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12785 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12787 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12788 attempt to register it with a VCS)
12790 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12792 * lyx_main.C (init): honor variables LYX_DIR_13x and
12795 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12799 * lyx_main.C: fix a crash on bad command line,
12800 and give a useful exit status on error
12802 * lyxfunc.C (doImport): allow -i lyx to work
12804 2002-03-30 André Pönitz <poenitz@gmx.net>
12806 * lyxfunc.C: mathed font changes
12808 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12823 * trans_mgr.h: srcdocs, and some minor cleanups
12825 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12827 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12828 call getFont all the time)
12830 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12832 * switch from SigC signals to boost::signals
12834 2002-05-29 André Pönitz <poenitz@gmx.net>
12836 * paragraph_pimpl.C (getChar): don't call size() too often...
12838 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12840 * paragraph_pimpl.C (insertChar): do not try to update tables when
12841 appending (pos == size())
12843 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12844 in order to reduce drastically the number of comparisons needed to
12845 parse a large document
12847 2002-05-29 André Pönitz <poenitz@gmx.net>
12853 * textclasslist.[Ch]:
12854 * sp_ispell.h: whitespace change
12856 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12858 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12859 lyxaction directly now.
12861 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12865 * lyxvc.C: remove unused headers
12867 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12874 * undo_funcs.C: some cleanups. Use shared_ptr
12875 and a template for the undo stacks.
12877 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12879 * BufferView_pimpl.h:
12880 * BufferView_pimpl.C:
12887 * text2.C: use key_state/mouse_state
12889 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12891 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12894 * chset.C: change include order
12895 (loadFile): use boost regex and get rid of LRegex and LSubstring
12897 * Makefile.am (BOOST_LIBS): new variable
12898 (lyx_LDADD): use it
12900 * LaTeX.C: change include order.
12901 (scanAuxFile): use boost regex and get rid of LRegex and
12905 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12910 * FontInfo.C: moved to frontends/xforms/
12913 * FontLoader.C: moved into frontends for GUIIzation
12918 * lyxfunc.C: changes from above
12920 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12922 * LColor.C: remove spurious X include
12924 * BufferView_pimpl.C:
12929 * text2.C: move font metrics to frontends/
12931 2002-05-24 Juergen Vigna <jug@sad.it>
12933 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12934 setting the undo_cursor.
12936 * ParagraphParameters.h: include local includes first.
12938 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12940 * BufferView_pimpl.C:
12941 * BufferView_pimpl.h:
12945 * screen.C: move WorkArea into frontends/
12951 * BufferView2.C: move LyXScreen into frontends/
12955 * lyx_gui.C: move lyxlookup into frontends/xforms/
12957 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12960 * BufferView_pimpl.C:
12970 * bufferview_funcs.C:
12983 * vc-backend.C: move LyX/XFormsView into frontends/
12985 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12997 * text2.C: move Painter to frontends/
12999 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
13001 * buffer.C: comment out some some code that depend upon lyx_format
13004 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
13005 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
13007 * buffer.h (NO_COMPABILITY): turn off compability
13009 * ColorHandler.C: include scoped_array.hpp
13011 * font.C: Use more specific smart_ptr header.
13014 * ShareContainer.h: ditto
13015 * lyx_main.h: ditto
13017 * FontInfo.h: ditto
13018 * BufferView_pimpl.h: ditto
13019 * ColorHandler.h: ditto
13021 * kbmap.C (defkey): change call to shared_ptr::reset
13023 2002-05-21 Juergen Vigna <jug@sad.it>
13025 * buffer.C (insertErtContents): fix to insert ert asis if it is
13026 non empty. Skip it completely if it contains only whitespaces.
13028 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
13030 * BufferView_pimpl.C:
13031 * BufferView2.C: clear selection on paste (bug 393)
13033 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13035 * DepTable.C: include ctime
13037 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
13039 * buffer.C (latexParagraphs): Add new argument (moving_arg).
13041 2002-05-14 Juergen Vigna <jug@sad.it>
13043 * text.C (breakParagraph): fixed function to honor the keepempty
13044 layout in the right maner and also to permit the right breaking
13045 algorithm on empty or non empyt keepempty paragraphs.
13047 * paragraph.C (breakParagraph): we have to check also if the par
13048 is really empty (!size()) for isempty otherwise we do the wrong
13051 2002-05-10 Juergen Vigna <jug@sad.it>
13053 * buffer.[Ch] : The following are only changes to the ert
13054 compatibility read reading old LaTeX layout and font stuff and
13055 convert it to ERTInsets.
13057 * buffer.h: added isErtInset().
13059 * buffer.C (struct ErtComp): add a fromlayout bool to check
13060 if we're inside a LaTeX layout.
13061 (isErtInset): new helper function.
13062 (insertErtContents): look for other ert insets before this one
13063 and insert the contents there, so that we don't have subsequent
13064 ERT insets with nothing between them. This way we create only one
13065 inset with multiple paragraphs. Also check if we don't insert only
13066 spaces ' ' as they are ignored anyway afterwards in the .tex file
13067 so if we have only spaces we will ignore this latex part in the
13069 (parseSingleLyXformat2Token \\layout): better compatibility when
13070 reading layout-latex stuff.
13071 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13073 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13074 stuff after reading the inset only get the information back from
13077 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
13079 * buffer.C (makeLaTeXFile): Put language options after loading babel.
13081 * LaTeXFeatures.C (getBabelOptions): New method.
13083 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13085 * BufferView_pimpl.C (Dispatch): work around missing argument for
13088 2002-05-08 Juergen Vigna <jug@sad.it>
13090 * text.C (leftMargin): handle paragraph leftindent.
13092 * paragraph.C (writeFile): write the new \\leftindent tag.
13093 (validate): handle leftindent code.
13094 (TeXEnvironment): handle paragraphleftindent code again.
13096 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13098 * buffer.C (parseSingleLyXformat2Token): added compatibility code
13099 for paragrap_extra indent code and new token \\leftindent.
13100 (latexParagraphs): handle the leftindent as environment.
13102 * ParameterStruct.h: added leftindent support.
13104 * ParagraphParameters.C (leftIndent): added support functions for
13105 the paragraph left indent.
13107 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13110 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
13112 * paragraph.C (isRightToLeftPar): Return false for a paragraph
13115 * text.C (computeBidiTables): No bidi in insetERT.
13117 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13120 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13122 * version.C.in: pre 5
13124 2002-05-02 José Matos <jamatos@fep.up.pt>
13125 * buffer.C (makeDocBookFile): white space changes, add newline to
13127 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13129 * tabular.C (docBook): fix typo.
13131 2002-05-03 Juergen Vigna <jug@sad.it>
13133 * screen.C (drawFromTo): recalculate the rowpointer if we had a
13134 change in LyXText as we can not be sure it was not freed.
13135 (drawOneRow): remove unused code.
13137 * text.C (drawInset): redo the calculation of the need_break_row as
13138 it could have a row which was already freed.
13139 (draw): look at the return value of drawInset and return false if
13140 it also returned false.
13141 (paintRowText): look at the return value of draw and return false if
13142 it also returned false.
13144 * lyxtext.h: added bool return type to drawInset() and draw() so that
13145 if we have a change in the row so that the rowbreak has to be redone
13146 we abort drawing as it will be called again.
13148 2002-05-02 Juergen Vigna <jug@sad.it>
13150 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13151 a change in the maintext also if we're inside an inset.
13152 (Dispatch): set the cursor again after a break line and after the
13153 screen has been updated as it could be we're in a different row.
13155 * text2.C (fixCursorAfterDelete): check to make sure we don't request
13156 to set the cursor behind the pargraph with > size().
13157 (setCursor): check also for the same paragraph when checking where
13158 to put the cursor if we have a NFR inset.
13160 * buffer.C (parseSingleLyXformat2Token): move the compatibility
13161 parts of layout read further up as it still was in the wrong
13164 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13166 * screen.C (drawFromTo): change sine fullRebreak always return
13169 * buffer.C (parseSingleLyXformat2Token): reindent some
13171 * BufferView_pimpl.C (update): change since fullRebreak always
13173 (Dispatch): git rid of the last hardcoded "Standard"s.
13175 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13177 * text2.[Ch] (fullRebreak): make it return void now that we always
13180 2002-04-30 Juergen Vigna <jug@sad.it>
13182 * buffer.C (parseSingleLyXformat2Token): reset the font before the
13183 ert compatibility check for "latex" layout.
13185 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
13187 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13188 minipages: use col% instead of p%, and also use the current font.
13189 (makeLaTeXFile): Fix use babel condition.
13190 (parseSingleLyXformat2Token): Correct font when reading old floats.
13192 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
13194 * BufferView_pimpl.C (Dispatch): Check that float type exists when
13195 inserting list of floats.
13197 2002-04-25 Herbert Voss <voss@lyx.org>
13199 * MenuBackend.C (expand): don't add the graphics extensions to the
13202 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13204 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13205 non-existing layout, do not complain if it was the default layout
13206 of the original class (bug #342)
13208 2002-04-24 Juergen Vigna <jug@sad.it>
13210 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13211 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13213 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
13215 * buffer.C (getBibkeyList): If using \bibliography, return the
13216 option field with the reference itself. Enables us to provide natbib
13217 support when using \bibliography.
13219 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
13221 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13223 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13224 natbib is provided by the LaTeX class.
13226 2002-04-23 Juergen Vigna <jug@sad.it>
13228 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13231 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13233 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13235 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13237 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13238 ensuremath around textordmasculine, textordfeminine and
13241 2002-04-19 Juergen Vigna <jug@sad.it>
13243 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13244 reinitializing the buffer otherwise row-dimensions may be wrong.
13245 (update): reset also the selection cursors if they do exits otherwise
13246 their x/y positions may be wrong.
13248 * text2.C (cursorDown): don't enter the inset if we came from a row
13249 above and are one row over the inset.
13251 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13252 really leaving an inset.
13254 2002-04-18 Juergen Vigna <jug@sad.it>
13256 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13257 of the selected paragraph does not have the selected layout also if
13260 * text2.C (setLayout): fixed bug which did not change last selected
13263 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13264 changed the read and substituted \\end_float with \\end_inset!
13266 * BufferView_pimpl.C (cursorPrevious):
13267 (cursorNext): fixed to make it work with rows heigher than the work
13268 area without moving the cursor only the draw of the row.
13269 (workAreaMotionNotify): fix jumping over high rows.
13271 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13273 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13276 2002-04-16 Juergen Vigna <jug@sad.it>
13278 * text2.C (setCursor): set also the irow().
13279 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13281 (cursorDown): support for locking an inset if the x_fix value goes
13282 inside it. That way I can transverse insets too with cursor up/down.
13284 * lyxrow.h: added irow helper function same as other (i) functions.
13286 * BufferView_pimpl.C (cursorPrevious):
13287 (cursorNext): fixed for insets!
13289 2002-04-15 Juergen Vigna <jug@sad.it>
13291 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13292 position otherwise it is wrong in some cases.
13294 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13295 inside the inset before the call.
13297 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13299 * buffer.[Ch] (getBibkeyList): make it const.
13301 2002-04-12 Juergen Vigna <jug@sad.it>
13303 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13305 * text2.C (getCursorX): new helper function
13306 (setCursor): compute also ix_
13307 (setCursorFromCoordinates): set also ix.
13309 * lyxcursor.h: added ix_ and helper functions.
13311 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13313 * buffer.C (insertStringAsLines): dont break paragraph if the this
13314 paragraph is inside an inset which does not permit it!
13316 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13317 also with no chars on this paragraph.
13318 (paintRowText): only paint stuff if it's inside the workarea!
13320 * paragraph.C (breakParagraph): honor keepempty flag and break the
13321 paragraph always below not above.
13323 * BufferView2.C (unlockInset): update the paragraph layout on inset
13324 unlock as we changed paragraph in such a case.
13326 * lyxfind.C (LyXFind): clear the former selection if not found!
13328 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13329 again called in insertChar().
13331 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13332 an inset which uses the whole row!
13333 (rightMargin): ditto.
13334 (insertChar): force a rebreak if we inserted an inset!
13336 2002-03-28 Herbert Voss <voss@lyx.org>
13338 * lyxlength.[Ch]: add inBP() to get the right PS-point
13339 units (BigPoint). With inPixels we have rounding errors
13341 2002-04-11 Juergen Vigna <jug@sad.it>
13343 * text2.C (setCursorFromCoordinates): set iy to the right value.
13344 (setCursor): add check if row->previous exists!
13346 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13347 an old float_type as this was the case in the old code!
13349 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13351 * BufferView2.C (showLockedInsetCursor): use iy
13352 (fitLockedInsetCursor): ditto
13354 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13355 locked insets as there we have the right value now.
13357 * lyxcursor.C: added iy_ variable and iy functions to set to the
13358 baseline of cursor-y of the locked inset.
13360 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13361 (setCursor): fixed for insets which need a full row.
13363 * text.C (rowLastPrintable): don't ignore the last space when before
13364 an inset which needs a full row.
13365 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13366 as last character of a row when before a inset which needs a full row.
13368 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13370 * version.C.in: update date
13372 * text2.C (fullRebreak): try to always return true and see what
13375 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13377 * MenuBackend.C (expand): use Floating::listName
13379 * FloatList.C (FloatList): add listName argument to the built-in
13382 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13383 text associated with the float.
13385 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13387 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13389 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13391 * ShareContainer.h: add a couple of missing typenames.
13393 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13395 * lyxrc.C (getDescription): use _() correctly rather than N_().
13397 2002-03-28 Herbert Voss <voss@lyx.org>
13399 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13400 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13402 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13404 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13405 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13407 2002-03-29 Juergen Vigna <jug@sad.it>
13409 * lyxfunc.C (dispatch): add a missing fitCursor call.
13411 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13412 it was scrolled by a cursor move, so return the bool status.
13414 * BufferView.C (fitCursor): return the bool flag also to the outside
13415 world as this is needed.
13417 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13419 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13420 call the edit() as it is not needed (and wrong) IMO.
13421 (workAreaButtonPress): set the screen_first variable before evt.
13422 unlock the inset as this may change screen_first and then we have
13423 a wrong y position for the click!
13425 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13427 * MenuBackend.C (expand): another translation that I missed
13429 2002-03-28 Juergen Vigna <jug@sad.it>
13431 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13433 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13435 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13437 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13439 * MenuBackend.C (expand): fix export/view/update when there is no
13442 2002-03-27 Herbert Voss <voss@lyx.org>
13444 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13447 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13449 * bufferview_funcs.C (currentState): only show paragraph number
13450 for is DEVEL_VERSION is set.
13452 * lyxfunc.C (dispatch): put warning in INFO channel
13454 * MenuBackend.C (expand): translate the name of floats
13456 * FloatList.C (FloatList): mark the float names for translation
13458 * converter.C (convert): use LibScriptSearch
13460 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13462 * MenuBackend.C (defaults): fix default menu (we might as well get
13465 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13467 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13470 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13472 * lyxvc.C: reorder includes.
13474 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13476 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13479 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13481 * CutAndPaste.C: change layouts earlier on paste
13482 to avoid crashing when calling getFont()
13484 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13486 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13489 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13491 * WorkArea.C: remove 'Pending' debug message.
13493 * most files: ws cleanup
13495 * buffer.[Ch]: ws changes
13497 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13499 2002-03-21 Juergen Vigna <jug@sad.it>
13501 * tabular.C (SetMultiColumn): collapse also the contents of the
13502 cells and set the last border right. Added a Buffer const * param.
13504 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13506 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13509 2002-03-19 Juergen Vigna <jug@sad.it>
13511 * text2.C (clearSelection): reset also xsel_cache.
13513 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13514 where it needs to be called (John tells us to do so too :)
13515 (selectionLost): reset sel_cache.
13517 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13519 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13521 * text2.C (setCursorIntern): put debuging code in INSETS channel
13523 2002-03-19 André Pönitz <poenitz@gmx.net>
13525 * lyxfunc.C: tiny whitespace change
13527 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13529 * ToolbarDefaults.C (init):
13530 * LyXAction.C (init):
13532 * BufferView_pimpl.C (Dispatch):
13533 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13535 2002-03-19 Allan Rae <rae@lyx.org>
13537 * exporter.C (Export): removeAutoInsets before doing anything else.
13538 While I've just introduced a dependency on BufferView this really is
13539 the best place to clean the buffer otherwise you need to cleanup in
13540 a dozen places before calling export or cleanup in a dozen functions
13543 * converter.C (runLaTeX):
13544 (scanLog): Better handling of removeAutoInsets and screen updates.
13546 * lyxfunc.C (dispatch): small whitespace changes
13548 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13550 * WorkArea.C (C_WorkAreaEvent): return a value.
13551 (event_cb): return 1 if we handled the event, 0 otherwise.
13553 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13555 2002-03-18 Juergen Vigna <jug@sad.it>
13557 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13558 (GetAdditionalWidth): ditto.
13559 (RightLine): ditto.
13562 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13563 inset if we're there actually (probably not used right now but this
13564 is the direction to go for unifying code).
13565 (paste): disable code to clear the selection.
13567 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13568 inside an InsetText and move the check further up as it is in the
13571 * text2.C (pasteSelection): set a selection over the pasted text.
13573 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13575 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13576 and libgraphics to build on Cygwin.
13578 2002-03-15 Juergen Vigna <jug@sad.it>
13580 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13581 inserting an Inset into the paragraph. I know this is not the best
13582 fix but we already use current_view in CutAndPaste so we will remove
13583 all of it's using at the same time.
13585 * buffer.C (sgmlError): deactivated function till it is rewritten in
13586 the right mode, now it can create problems.
13588 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13589 before accessing it.
13591 2002-03-14 Juergen Vigna <jug@sad.it>
13593 * undo_funcs.C (textHandleUndo): do the right thing when updating
13594 the inset after the undo/redo.
13596 * text2.C (setCursor): just some testcode for #44 not ready yet.
13598 * undo_funcs.C (textHandleUndo): set the next() and previous()
13599 pointers of the paragraph to 0 before deleting otherwise we have
13600 problems with the Paragraph::[destructor].
13602 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13603 on a paragraph insertion.
13605 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13607 * buffer.C (asciiParagraph): use += operator for char append to
13610 * paragraph.C (getFontSettings): compare >= not just >
13611 (highestFontInRange): ditto
13614 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13616 * paragraph.C: change several algorithm to be more appripriate for
13617 the problem domain. This is lookip in FontList and in the InsetList.
13619 2002-03-13 André Pönitz <poenitz@gmx.net>
13622 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13624 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13629 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13631 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13633 * Painter.C (display): anon helper function, adjust code for this
13635 (pixmap): remove function.
13637 * Painter.h: remove private display variable.
13639 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13641 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13643 * WorkArea.[Ch]: remove figinset_canvas cruft.
13645 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13647 * lyxtextclass.C (operator): add one item cache optimization.
13649 * bufferlist.h: doxy changes
13651 * bufferlist.C: ws changes
13653 * DepTable.[Ch] (ext_exist): place const in the right spot.
13655 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13657 (workAreaExpose): call resizeInsets when the with BufferView changes.
13658 (Dispatch): adjust for protectedBlank removal
13659 (specialChar): call updateInset if the insert went ok.
13661 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13662 specialChar instead.
13664 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13666 * BufferView.h: doxy change
13668 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13670 * lyxtextclass.C (operator[]): remove non-const version
13671 (defaultLayout): remove non-const version
13673 2002-03-12 Juergen Vigna <jug@sad.it>
13675 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13676 did resize the LyXText too.
13678 * buffer.C (readLyXformat2): set layout information on newly allocated
13681 * tabular.C (OldFormatRead): set layout information on the paragraph.
13683 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13685 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13687 2002-03-11 Juergen Vigna <jug@sad.it>
13689 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13691 (resizeCurrentBuffer): force also the insets to resize themselfes.
13692 (moveCursorUpdate): fixed up for InsetText.
13694 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13697 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13698 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13699 value of Dialogs::tooltipsEnabled().
13700 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13702 2002-03-08 Juergen Vigna <jug@sad.it>
13704 * BufferView_pimpl.C (updateInset): update inset inside inset also
13705 if it isn't inside theLockingInset().
13707 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13709 * buffer.C (asciiParagraph): redo some of the word and line length
13711 (getLists): look for Caption instead of caption.
13713 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13715 * buffer.C (Buffer): initialize niceFile to true
13717 (makeLinuxDocFile):
13718 (makeDocBookFile): make sure niceFile is true on exit
13720 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13722 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13724 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13726 * LyXSendto.C: remove.
13727 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13728 * lyx_gui.C: remove now-redundant comment.
13729 * ColorHandler.h: remove forward declaration of class WorkArea.
13730 * lyxfunc.C: remove #include "WorkArea.h".
13732 2002-03-07 Juergen Vigna <jug@sad.it>
13734 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13735 got moved away with the DEPM and also set the inset_owner always
13736 right which before could have been omitted.
13738 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13740 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13741 wanted layout is not found.
13743 2002-03-07 Juergen Vigna <jug@sad.it>
13745 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13747 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13749 * paragraph.C (breakParagraph): use default layout not layout of
13751 (Paragraph): clear ParagraphParameters.
13753 2002-03-06 Juergen Vigna <jug@sad.it>
13755 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13756 otherwise it would not be a valid lenght. Fixed a special case in
13757 the minipage compatibility read where we end the document with a
13760 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13761 was set as it could be 0 for InsetTexts first entry.
13763 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13765 * paragraph.C (writeFile): if layout is empty write out
13766 defaultLayoutName().
13768 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13769 file without named layout we set layout to defaultLayoutName().
13771 2002-03-06 Juergen Vigna <jug@sad.it>
13773 * CutAndPaste.C (copySelection): set layout for new paragraph.
13775 * text.C (prepareToPrint): leave ERT inset left aligned
13776 (leftMargin): don't indent paragraphs inside ERT insets
13778 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13780 * paragraph.C (breakParagraph): dont call clear do the work manually
13782 * paragraph.[Ch] (clear): remove function
13784 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13786 * paragraph.C (Paragraph): dont call clear, the work has already
13789 * lyxtextclass.C (operator): assert if n is empty
13791 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13792 work manually instead.
13794 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13796 * BufferView_pimpl.C: protect selectionLost against text == 0
13798 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13800 * text.C (breakParagraph): fix a setting layout to '0' problem.
13802 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13804 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13805 final location of file, for the included files, and graphics.
13807 2002-03-05 Juergen Vigna <jug@sad.it>
13809 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13811 2002-03-04 Juergen Vigna <jug@sad.it>
13813 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13815 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13816 last column of multicolumn cells.
13817 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13819 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13821 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13822 file if it doesn't go to a temporary file.
13824 * buffer.C (sgmlOpenTag):
13825 (sgmlCloseTag): remove extra newline insertion.
13827 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13829 * text.C (getRowNearY): comment out debug msg
13831 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13833 * text2.C: first -> first_y
13835 * text.C (getRowNearY): add some attemts at a possible
13836 optimization, not working.
13838 * tabular.[Ch]: add BufferParams to several function so that newly
13839 created paragraph can be initialized to he default layotu for the
13842 * tabular-old.C (ReadOld): add buf->params to call of Init
13844 * screen.C: rename text->first to text->first_y
13846 * paragraph.C (breakParagraph): always set layout in the broken
13849 * lyxtextclass.C (Read): remove lowercase
13852 (delete_layout): ditto
13854 * lyxtext.h: rename first -> first_y
13856 * lyxlayout.C (Read): remove lowercase
13859 (obsoleted_by): ditto
13861 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13863 * buffer.C (insertErtContents): add params are to InsetERT
13864 (parseSingleLyXformat2Token): add code to check if a paragraphs
13865 layout really exist.
13866 (parseSingleLyXformat2Token): add params to several inset
13868 (asciiParagraph): remove lowercase, do the layout comparisons with
13871 * BufferView_pimpl.C (cursorNext): first -> first_y
13872 (resizeCurrentBuffer): first -> first_y
13873 (updateScrollbar): first -> first_y
13874 (scrollCB): first -> first_y
13875 (workAreaMotionNotify): first -> first_y
13876 (workAreaButtonPress): first -> first_y
13877 (checkInsetHit): first -> first_y
13878 (cursorPrevious): first -> first_y
13879 (cursorNext): first -> first_y
13880 (Dispatch): add buffer_->params to severl inset contructors
13882 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13884 * lyxlayout.C (Read): remove some debug info that I forgot.
13886 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13887 clean up the code slightly.
13888 (makeLinuxDocFile): ditto
13889 (makeDocBookFile): ditto
13891 * text2.C: layout as string
13893 * text.C: layout as string
13895 * paragraph_pimpl.C: layout as string
13897 * paragraph.[Ch]: layout as string
13899 * lyxtextclasslist.[Ch]: layout as string
13901 * lyxtextclass.[Ch]: layout as string
13903 * lyxtext.h: layout as string
13905 * lyxlayout.[Ch]: layout as string
13907 * lyx_cb.C: layout as string
13909 * bufferview_funcs.C: layout as string
13911 * bufferparams.C: layout as string
13913 * buffer.C: layout as string
13915 * LyXView.[Ch]: layout as string
13917 * LaTeXFeatures.[Ch]: layout as string
13919 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13921 * BufferView_pimpl.C: change current_layout to string, remove
13926 (workAreaButtonRelease): layout as string
13928 * BufferView2.C (unlockInset): adjust
13930 * vspace.C (asLatexCommand): use an explict temp variable.
13932 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13934 * Makefile.am: use FRONTEND_*
13936 2002-03-01 Juergen Vigna <jug@sad.it>
13938 * tabular.C (SetWidthOfMulticolCell): changed to something better
13939 I hope but still work in progress.
13940 (recalculateMulticolumnsOfColumn): renamed function from
13941 recalculateMulticolCells as it is more appropriate now.
13942 (SetWidthOfCell): calculate multicols better.
13944 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13946 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13948 * lyxfunc.C (processKeySym): print sequence also if it is
13949 `deleted' (complete)
13951 * kbsequence.C (print): print sequence even if it is deleted
13952 (complete would be a better word, actually).
13954 * lyxfunc.C (dispatch): print complete options after a prefix key
13956 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13958 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13960 * text2.C (setCharFont): eliminate setCharFont code duplication.
13962 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13964 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13965 LFUN_TABULAR_FEATURE (bug #177)
13967 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13969 * Makefile.am: remove figure.h
13971 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13973 * Bufferview_pimpl.C:
13985 * text2.C: remove #include "lyx_gui_misc.h".
13987 * LaTeX.C: added #include <cstdio>
13989 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13991 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13992 that the paragraph following this one can have.
13994 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13996 * vspace.C (asLatexCommand): fix bogus gcc warning
13998 * Makefile.am (lyx_SOURCES): remove vms_defines.h
14000 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
14002 * text2.C (setLayout): get rid of redundant code
14004 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
14006 * text2.C (incDepth): make sure depth cannot be increased beyond
14009 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
14011 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
14012 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
14014 * PainterBase.h (image):
14015 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
14016 a LyXImage const *.
14018 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
14022 * BufferView_pimpl.C:
14023 * BufferView_pimpl.h:
14043 * sp_spell.C: remove fig inset, and the crap house of
14044 cards that follows it
14046 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
14051 * os2_errortable.h:
14052 * nt_defines.h: move .h into support/
14054 * vms_defines.h: remove
14056 * WorkArea.C: add space in debug output
14060 * buffer.C: add WITH_WARNINGS
14064 * bufferlist.C: s/retrive/retrieve/, add docs
14073 * chset.C: add docs
14075 * lyxgui.C: add ID to X error handler
14077 * lyxtestclass.c: fix typo
14079 2002-02-26 Juergen Vigna <jug@sad.it>
14081 * tabular_funcs.C (write_attribute): changed so that some default
14082 attributes are not written at all.
14083 (getTokenValue): set default values before trying to read the
14084 value so we have the return value always set as default if we don't
14085 find the token we search for.
14087 * tabular.C (Write): write bools as bools not as strings!
14089 2002-02-22 Juergen Vigna <jug@sad.it>
14091 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14092 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14094 * text.C (leftMargin): don't add an indent for paragraphs inside
14095 tabular cells (fix #208).
14097 2002-02-21 José Matos <jamatos@fep.up.pt>
14099 * tabular.C (docBook): fixed support for long tables.
14101 2002-02-20 Juergen Vigna <jug@sad.it>
14103 * text2.C (getFont): get the drawing font of the Inset if this
14104 paragraph is inside an inset (only important for InsetERT for now).
14106 * buffer.C (insertErtContents): use new lanugage params in ERT
14109 * CutAndPaste.C: commenting out seemingly uneeded code.
14111 2002-02-19 Allan Rae <rae@lyx.org>
14113 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14114 Iterators might be simple to use but they also get invalidated.
14115 (removeAutoInsets): renamed saved cursor tracking variables and added
14116 some comments to clarify what everything does.
14118 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
14125 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14126 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14129 * vc-backend.h: remove #include "support/syscall.h"
14133 * converter.C: rearrange #includes in Lars' approved fashion.
14135 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14136 forward declare class Timeout in the header file.
14138 * XFormsView.C: changes due to the above.
14140 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14141 similar to LyXView.
14143 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14144 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14146 2002-02-18 José Matos <jamatos@fep.up.pt>
14148 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14151 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14153 * a lot of small ws changes
14154 * add a lot of using std::XXX
14155 * use std construcs some places where approp.
14156 * use some exisint stuff from lyxfunctional where approp.
14157 * Make file changes to use partial linking (lets test this now...)
14159 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14163 remove #include "support/syscontr.h" as it's redundant. Always has been.
14171 change Systemcalls::System to Systemcalls::Wait and
14172 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14173 No change of functionality, just reflects the stripped down Systemcalls
14176 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14178 * debug.[Ch]: add a GRAPHICS type to the enum.
14180 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14182 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14184 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14187 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14189 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14190 match the changes below.
14192 * text2.C (toggleInset): if there is not editable inset at cursor
14193 position, try to see if cursor is _inside_ a collapsable inset
14196 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14198 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14199 document menu has a nice checkbox
14201 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14203 * lyxlength.C (asLatexString): change PW to output as percent of
14206 * lengthcommon.C: change '%' to 't%'
14208 * lyxfunc.C (dispatch): a few comments from Martin
14210 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
14214 * BufferView_pimpl.h:
14215 * BufferView_pimpl.C: clear our selection when X tells us we've lost
14218 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14220 * vspace.C (inPixels): fix compiler warning
14222 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14224 * lyxfunc.C (getStatus): fix status message for disabled commands.
14226 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
14228 * BufferView_pimpl.C: fix crash on close buffer
14229 during selection (#227)
14231 2002-01-27 Herbert Voss <voss@lyx.org>
14233 * buffer.C: link old Figure to new graphic inset
14235 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
14237 * FontLoader.C (getFontinfo): Change the latex font names in order
14238 to match the names of type1inst.
14240 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14242 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14244 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14245 (extchanged): ditto
14247 (remove_files_with_extension): ditto
14248 (remove_file): ditto
14251 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14252 document is smaller than the work area height. Do not initialize
14253 static variables to 0.
14255 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14257 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14259 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14260 LFUN_LAYOUT_PARAGRAPHS.
14262 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14263 tabular. It is possible to provide a possible cell, which will
14264 typically be the actcell from the corresponding insettabular
14266 * lyxfunc.C (getStatus): small cleanup; disable
14267 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14270 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14272 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14274 * paragraph.C (startTeXParParams):
14275 (endTeXParParams): new methods. The LaTeX code to
14276 start/end paragraph formatting
14277 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14278 empty (fixes bug #200)
14280 * vspace.C (inPixels): adapt to the change below
14281 (inPixels): [later] more cleanups (remove unused variables)
14283 * lyxlength.C (inPixels): change to use a width and a height as
14286 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14288 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14289 Replaced with \paperwidth
14291 * DepTable.C (insert): add std:: qualifier
14293 2002-01-18 Allan Rae <rae@lyx.org>
14295 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14298 * text.C (drawInset): Turned out I didn't know enough about how
14299 rebreaking worked. This fixes most of the redraw problems. I see
14300 an occasional cursor trail when a line is broken now and the cursor
14301 placement can seem out by a few pixels also after a rebreak.
14303 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14305 * buffer.C (parseSingleLyXformat2Token): update because minipage
14306 width is now a LyXLength
14308 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14310 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14313 2002-01-17 Juergen Vigna <jug@sad.it>
14315 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14317 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14318 is set correctly and the inset is updated correctly.
14320 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14322 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14323 the beginning of the loop.
14325 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14327 * lyxrc.C: improve help for use_scalable_fonts
14329 2002-01-17 Allan Rae <rae@lyx.org>
14331 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14333 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14335 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14336 make sure to set their inset_owner to the right value (bug #171)
14338 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14341 * DepTable.C: Implement mtime checking to reduce time spent doing
14344 2002-01-16 Juergen Vigna <jug@sad.it>
14346 * tabular.C (GetAdditionalHeight): one of error fixed.
14348 * lyxrc.C (output): small fix in writing use_pspell.
14350 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14352 * sp_base.h: #include LString.h
14354 2002-01-16 Allan Rae <rae@lyx.org>
14356 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14357 Can someone check this please?
14359 * text.C (drawInset): It was possible that p.row would be removed by
14360 breakAgainOneRow upsetting a few other settings. There may be another
14361 small tweak possible by setting need_break_row = 0 when p.row has been
14362 removed but I don't know enough about the logic here.
14364 2002-01-15 Allan Rae <rae@lyx.org>
14366 * text.C (insertChar): removed conditional truism.
14368 * BufferView2.C (removeAutoInsets): More tweaks.
14369 cur_par_prev could be a stray pointer. Check for trailing empty line
14370 in case last line was cur_par and only had an error inset on it.
14372 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14374 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14377 * vc-backend.C (most methods):
14378 * exporter.C (Export):
14379 * converter.C (convert):
14381 * LyXSendto.C (SendtoApplyCB):
14382 * lyxfunc.C (dispatch):
14386 * lyx_cb.C (AutoSave):
14388 * BufferView_pimpl.C (MenuInsertLyXFile):
14389 * buffer.C (runChktex): use Buffer::filePath().
14391 * buffer.h: rename filename to filename_; rename filepath to
14392 filepath_ and make it private
14393 (filePath): new method
14395 * buffer.C (writeFile): use fileName()
14398 * lyx_main.C (init): fix starting of LyX when the binary is a
14399 link from so,ewhere else.
14401 * minibuffer.C: include <cctype> for isprint
14403 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14405 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14406 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14407 name clash with InsetCollapsable's width function.
14409 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14411 * lastfiles.C: include <iterator>
14413 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14415 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14418 * buffer.C (makeLaTeXFile): ditto.
14419 Also make loop operation more transparent.
14421 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14423 * ToolbarDefaults.C: remove trailing comma closing namespace.
14425 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14427 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14430 * trans.C (Load): comment out unused variable, allowed.
14432 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14434 * minibuffer.[Ch] (append_char): new method to recieve input from the
14435 drop-down completion browser. If a key was pressed, then recieve this
14436 char and append it to the existing string.
14437 (peek_event): modify the positioning data passed to the completion
14438 browser so that it can be placed above the minibuffer rather than below.
14439 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14441 * LyXAction.C (init): alloe error-next for readonly documents.
14443 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14446 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14448 * bufferlist.C (readFile): create the buffer _after_ checking that
14451 * lyxfunc.C (verboseDispatch): fix handling of arguments
14453 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14455 * lyxrc.C: use string::erase() instead of initializing to "".
14458 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14460 * BufferView_pimpl.h:
14461 * BufferView_pimpl.C:
14464 * text2.C: tell X when we have made a selection for copying
14466 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14468 * BufferView_pimpl.C (MenuInsertLyXFile):
14469 * lyxfunc.C (menuNew):
14471 (doImport): add shortcuts to directory buttons
14473 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14476 * lyxfunc.C (setStatusMessage):
14477 (getStatusMessage): new methods
14478 (getStatus):use setStatusMessage instead of setErrorMessage
14479 (dispatch): when function is disabled, set error message here
14480 [instead of in getStatus previously]
14482 * BufferView_pimpl.C (workAreaButtonRelease): update
14483 toolbar/menubar here too.
14485 2002-01-13 Allan Rae <rae@lyx.org>
14487 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14488 Now seems indestructible. Remaining task is to audit all other
14489 code affected by deleteEmptyParagraphMechanism. One small quirk
14490 left is that an empty document with an error in the preamble can
14491 be made to report an error but no error box appears. I don't know
14493 (removeAutoInsets): Improved comments.
14495 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14498 * Thesaurus.C: update for Aiksaurus 0.14
14500 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14502 * text2.C (firstParagraph): removed member function, all uses
14503 replaces with ownerParagraph
14504 (redoParagraphs): here
14505 (updateInset): here
14506 (toggleAppendix): here
14507 * BufferView2.C (insertErrors): here
14508 (setCursorFromRow): here
14510 2002-01-13 Allan Rae <rae@lyx.org>
14512 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14513 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14514 There is still a way to segfault this although you may have to do this
14515 multiple times: Have an InsetERT with an unknown command in it.
14516 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14517 <down-arrow>, <Enter> again, View->DVI, BANG!
14519 * text2.C (setCursor):
14520 (deleteEmptyParagraphMechanism):
14521 * lyxtext.h (setCursor):
14522 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14523 Making use of the return value may help fix other bugs.
14525 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14527 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14529 * LyXView.C (updateMenubar): call MenuBar::update here
14530 (updateToolbar): but not here
14531 (showState): do not update toolbar/menubar
14533 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14534 should need to care about that.
14536 * lyxfunc.C (verboseDispatch): simplify a bit
14537 (getStatus): have a version which takes a pseudoaction, and
14538 another which requires a (kb_action,string).
14540 * LyXAction.C (retrieveActionArg): make it work also when action
14541 is not a pseudo-action.
14542 (getActionName): simplify a bit
14545 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14547 * lyxfunc.C (verboseDispatch): new families of methods with
14548 several ways to specify a command and a bool to indicate whether
14549 the command name and shortcut should be displayed in minibuffer
14550 (eventually, we could extend that to a finer bitmask like
14551 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14552 (dispatch): the pristine dispatch command which just, well,
14553 dispatchs! Note it still sets its result to minibuffer; I'm not
14556 * lyxfunc.h: remove setHintMessage
14558 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14560 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14562 * BufferView_pimpl.C (specialChar): delete new inset if we have
14563 not been able to insert it.
14565 * kbmap.C: revert to using int instead of kb_action, since all we
14566 are dealing with is pseudo-actions.
14568 * LyXAction.C (searchActionArg): change to return int instead of
14569 kb_action, since the result is a pseudoaction.
14571 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14573 * buffer.C (insertErtContents): Fix (partially) the font bug.
14575 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14577 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14578 as the other one is broken on my machine!
14580 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14583 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14585 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14587 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14588 reflect their actual use. Provide compatibility code for older lyxrc
14591 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14593 change names of popup font variables in line with the changes to lyxrc.C
14595 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14597 * buffer.C (asciiParagraph): avoid outputing a word twice after
14600 * lyxrc.C (getDescription): document that document_path and
14601 template_path can be empty.
14603 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14605 * LaTeXFeatures.C (getMacros):
14606 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14608 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14610 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14612 (getPackages): rename feature "floats" to "float". Use an array to
14613 iterate over 'simple' features (i.e. just a \usepackage). Add
14614 handling of "amsmath" (renamed from "amsstyle").
14616 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14618 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14621 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14623 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14624 FuncStaus::FuncStatus & FuncStaus::some_method().
14626 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14628 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14629 of the func_satus stuff. Edited and massaged in various ways by
14632 * lyxfunc.C (getStatus): use FuncStatus
14634 2002-01-08 Juergen Vigna <jug@sad.it>
14636 * text.C (nextBreakPoint): use function Inset::isChar().
14638 * paragraph.C (TeXOnePar): use function
14639 Inset::forceDefaultParagraphs.
14641 * buffer.C (latexParagraphs): use function
14642 Inset::forceDefaultParagraphs.
14644 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14646 * lyx_gui.C (init): set the style of the menu popups to
14647 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14649 2002-01-07 Juergen Vigna <jug@sad.it>
14651 * text.C (setHeightOfRow): small fix
14652 (prepareToPrint): don't look at alignment if we don't have the place
14655 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14657 * box.C: New file. Move the Box methods and functions out of box.h,
14658 following Lars' suggestion.
14660 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14662 * box.h: #include "support/LOstream.h", needed for inlined function.
14665 * lyxtextclasslist.C: added some using std declarations.
14667 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14669 * box.h: make signed dimensions to allow insets wider than
14670 the screen (bug #162)
14672 * BufferView_pimpl.C: add some insetHit debug
14674 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14676 * vc-backend.C: add FIXME
14678 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14680 * lyxfunc.C (getStatus): enable code for showing math font status
14683 2002-01-07 Juergen Vigna <jug@sad.it>
14685 * text.C (nextBreakPoint): removed debug output not needed anymore.
14687 2002-01-06 Juergen Vigna <jug@sad.it>
14689 * text.C (nextBreakPoint): fixed up this function we had this bug
14690 since ever but now hopefully we break row better.
14691 (insertChar): we have to check if an inset is the next char as it
14692 could now happen that a large inset is causing a break.
14694 2002-01-05 Juergen Vigna <jug@sad.it>
14696 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14697 if it doesn't like to be drawed.
14699 2002-01-04 Juergen Vigna <jug@sad.it>
14701 * BufferView2.C (lockInset): forgot to set a cursor.
14703 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14705 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14707 * FormMathsPanel.C:
14710 * form_maths_panel.C:
14711 * form_maths_panel.h:
14712 * form_maths_panel.fd: implemented sub- and super- buttons in math
14715 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14716 (or ^ space) to be used as in TeX (req'd by Andr�.
14718 * lyxfunc.C: Allow ^ and _ again to be used both as
14719 super/subscript (mathed) and as themselves (in text).
14721 2002-01-03 Allan Rae <rae@lyx.org>
14723 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14724 "LyX" or the filename of the current buffer if it has one. This is a
14725 modified form of John Levon's patch.
14727 * XFormsView.C (setWindowTitle): also set icon title.
14729 * LyXView.h (setWindowTitle): signature changed.
14730 * XFormsView.h (setWindowTitle): ditto.
14732 2002-01-02 Juergen Vigna <jug@sad.it>
14734 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14736 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14738 * screen.C (topCursorVisible): introduce a temp var for
14739 text->cursor.row(), handle the case where this row is null. (kindo
14742 * text2.C (setCursor): add a couple of asserts.
14744 * paragraph.h (inset_iterator): add -> operator
14746 * paragraph.[Ch] (autoDeleteInsets): remove member function
14748 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14749 cursor pos correctly and handle inset deletion by itself.
14750 (insertErrors): move iterator declaration out of for expression
14752 * lyxtextclass.C: add <algorithm>
14754 * Makefile.am: added the new files to sources, removed layout.C
14756 * layout.C: removed file
14758 * layout.h: remove LYX_DUMMY_LAYOUT
14760 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14764 * lyxtextclass.[Ch]:
14765 * lyxtextclasslist.[Ch]: new files
14767 * include order changes to a lot of files, also changes because of
14770 2001-12-27 Juergen Vigna <jug@sad.it>
14772 * buffer.C (asciiParagraph): more fixes.
14774 * tabular.C (ascii): make ascii export support export of only the
14775 data separated by a column-delimiter.
14776 (ascii): better support for ascii export.
14778 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14780 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14782 * tabular_funcs.C: use a "using std::getline" instead of the
14783 previous fix from Angus (necessary for cxx + lyxstring)
14785 2001-12-24 Juergen Vigna <jug@sad.it>
14787 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14789 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14790 problems. First check a minipage also if we have some ert-contents
14791 (not only on par->size(), second set the right depth of the paragraph
14792 on the relink to the root-paragraph-list!
14794 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14795 which then did not anymore update the main paragraphs on undo/redo!
14797 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14799 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14800 code. Support all font-changing funcs (even those which are not in
14801 menu currently). Support for reporting font settings in
14802 mathed (disabled until Andre provides a function on mathed's side).
14804 * func_status.h (toggle): small helper function to set toggle
14807 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14809 * tabular_funcs.C: getline -> std::getline
14811 2001-12-21 Juergen Vigna <jug@sad.it>
14813 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14814 accessed and could be 0 (I couldn't generate this but it seems
14817 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14819 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14820 * tabular_funcs.h: here and include iosfwd
14822 2001-12-20 Juergen Vigna <jug@sad.it>
14824 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14825 inside inset but undo_par was.
14827 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14829 * Thesaurus.C: always include <config.h> in sources.
14833 * box.h: do not include <config.h> in header files
14835 * text.C (paintLastRow): remove unused variable
14837 * text.C (transformChar):
14839 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14841 * Painter.C (text):
14842 * font.C (width): rewrite to use uppercase() instead of
14845 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14847 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14849 * lyxfind.C: clean up of find failure position change
14851 2001-12-20 Juergen Vigna <jug@sad.it>
14853 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14855 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14856 (TeXRow): added to LaTeX a single tabular row.
14857 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14858 (Latex): simplified and finally good LT-h/f support.
14859 (various_functions): just small adaptions for LT-h/f support.
14861 * tabular_funcs.[hC]: added and moved here all not classfunctions
14864 2001-12-19 Juergen Vigna <jug@sad.it>
14866 * tabular.[Ch]: better support for longtabular options (not finished
14869 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14871 * text.C (paintLastRow): use the label font instead of the font of
14872 the last character to compute the size of *_BOX. This makes more
14873 sense and avoids a crash with empty paragraphs.
14874 Use Painter::rectangle to draw EMPTY_BOX.
14876 2001-12-19 Juergen Vigna <jug@sad.it>
14878 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14879 the paragraphs if the replaced paragraph is not the first one!
14880 Tried to delete not used paragraphs but does not work yet so for
14881 now it's inside #ifdef's and by default off!
14883 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14885 * MenuBackend.C: include "lyx_main.h" instead of declaring
14886 lastfiles (actually was declared as LastFiles* instead of a
14889 2001-12-17 Juergen Vigna <jug@sad.it>
14891 * tabular.C (AppendColumn): applied John's fix
14893 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14897 * BufferView_pimpl.h:
14898 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14901 * box.h: new start of class for above
14903 * lyxfunc.C: ignore space-only minibuffer dispatches.
14904 Show the command name when it doesn't exist
14906 * minibuffer.C: don't add empty lines to the history
14908 * minibuffer.C: add a space on dropdown completion
14910 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14912 * text.C: fix line above/below drawing in insets
14914 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14916 * lyxlength.C (LyXLength): Initialize private variables.
14918 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14920 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14921 when inserting error insets.
14923 2001-12-13 Juergen Vigna <jug@sad.it>
14925 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14926 actually sometimes the before-paragraph.
14927 (setUndo): don't clear the redostack if we're not actually undoing!
14929 2001-12-06 Juergen Vigna <jug@sad.it>
14931 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14932 and fixed redoing of main paragraph, so we can use it now ;)
14934 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14936 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14938 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14941 2001-12-13 André Pönitz <poenitz@gmx.net>
14944 * undo_func.C: minor cleanup
14946 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14948 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14949 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14950 font in urw-fonts package which is marked as -urw-fontspecific and
14951 does not work (incidentally, changing the encoding in the
14952 fonts.dir of this package to -adobe-fontspecific fixes the
14955 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14956 is a crash when undoing first paragraph (Juergen, please take a
14957 look). THis does not mean the undo fix is wrong, just that it
14960 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14961 the (Paragraph*) version when needed instead of duplicating the
14964 * text.C (workWidth): use Inset::parOwner to find out where the
14965 inset has been inserted. This is a huge performance gain for large
14966 documents with lots of insets. If Inset::parOwner is not set, fall
14967 back on the brute force method
14969 * paragraph_pimpl.C (insertInset):
14970 * paragraph.C (Paragraph):
14971 (cutIntoMinibuffer): set parOwner of insets when
14972 inserting/removing them
14974 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14976 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14982 * mathed/formulabase.C:
14983 * mathed/math_cursor.[Ch]:
14984 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14987 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14989 * lyxlength.[Ch] (operator!=): new function
14991 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14993 * text.C (workWidth): use Inset::parOwner to find out where the
14994 inset has been inserted. This is a huge performance gain for large
14995 documents with lots of insets. If Inset::parOwner is not set, fall
14996 back on the brute force method
14998 * paragraph_pimpl.C (insertInset):
14999 * paragraph.C (Paragraph):
15000 (cutIntoMinibuffer): set parOwner of insets when
15001 inserting/removing them
15003 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15005 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15007 * tabular-old.C (getTokenValue):
15008 * tabular.C (getTokenValue):
15009 (write_attribute): new versions for LyXLength
15010 (everywhere): adjust the use of widths
15012 * tabular.h: change the type of widths from string to LyXLength
15014 2001-12-11 Ben Stanley <bds02@uow.edu.au>
15016 * paragraph.C: fixed missing line number count when exporting
15017 Environments to LaTeX file
15019 * buffer.C: added informational message for checking line numbers.
15021 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15023 * text2.C (deleteEmptyParagraphMechanism): if there is only one
15024 paragraph, do the 'double space' part, but not the 'empty
15027 * text.C (workWidth): small optimization
15028 (getLengthMarkerHeight): use minimal size for negative lengths.
15030 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
15032 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
15034 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
15036 2001-12-11 André Pönitz <poenitz@gmx.net>
15039 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
15041 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15043 * text2.C: keep selection on a setFont()
15045 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15047 * lyx_cb.C: another bv->text misuse, from insert label
15049 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15052 * kbsequence.C: re-instate nmodifier mask
15054 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
15056 * lyx_main.h: make lyxGUI private.
15058 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
15060 * lyxfind.C: place the cursor correctly on failed search
15062 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
15064 * text.C (getLengthMarkerHeight): for small heights, the arrows
15065 are not always on top/bottom of the text
15066 (drawLengthMarker): smaller arrows; take the left margin in
15067 account; draw also vfills.
15069 (paintLastRow): remove special code for vfill and standard spaces,
15070 since everything is handled in drawLengthMarker now.
15072 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15074 * buffer.C (insertErtContents): try to handle font and language
15075 interaction a bit better.g
15077 * ColorHandler.C (updateColor): change the hash to cover the whole
15078 LColor enum, ws cleanup
15079 (getGCLinepars): ditto
15080 (getGCLinepars): only lookup in the linecache once.
15082 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
15084 * iterators.C (operator++): Make the iterator more robust
15086 * BufferView2.C (removeAutoInsets): Use paragraph iterators
15088 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15090 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15093 * text.C: better added space drawing
15095 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15098 * BufferView2.C: fix layout combo update on inset unlock
15100 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15102 * Makefile.am: don't compile unused files
15104 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15108 * LyXAction.C: remove old LFUN_LAYOUTNO
15110 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15112 * paragraph_pimpl.h:
15113 * paragraph_pimpl.C: isTextAt() doesn't need font param
15115 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15118 * lyxlex.C: little cleanup
15120 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15122 * BufferView_pimpl.C: fix insertAscii for insets
15124 2001-12-05 Juergen Vigna <jug@sad.it>
15126 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15127 set the right font on the "multi" paragraph paste!
15129 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15135 * lyxlength.C: remove out-commented code.
15137 * BufferView_pimpl:
15151 * vc-backend.C: change "while(" to "while ("
15153 * lyxlength.[Ch]: add zero function to check if length is zero or
15155 * lyxgluelength.C: use it
15157 2001-12-05 Allan Rae <rae@lyx.org>
15159 * lyxlength.C: Attempted a fix for the abs(int) header selection.
15160 Works for 2.95.3, from what I understand of Garst's reports this should
15161 work for other g++ versions. We're screwed if the abs(int) definition
15162 changed between bugfix releases of gcc.
15164 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15166 * text.C: fix chapter label offset !
15168 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15171 * text.C: fix hfill at end of line, clean up
15173 2001-12-04 Juergen Vigna <jug@sad.it>
15175 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15176 that we force an update of the inset and it's owners if neccessary.
15178 2001-12-03 Juergen Vigna <jug@sad.it>
15180 * text.C (rowLast): simplified code
15182 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15184 * lyxfunc.C: fix show options on timeout
15186 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15188 * screen.C (topCursorVisible): scroll half a page when the cursor
15189 reached top of bottom of screen
15191 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
15193 * minibuffer.C: deactivate on loss of focus
15195 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15197 * vspace.[Ch] (operator!=): add operator.
15199 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
15201 * BufferView_pimpl.C: refuse to open an inset when
15202 there's a selection.
15204 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
15206 * BufferView_pimpl.C: allow to click on RHS of full row insets
15208 2001-11-30 Juergen Vigna <jug@sad.it>
15210 * tabular.C (LyXTabular): add a same_id to set the same id's in the
15211 insets for undo reasons.
15213 2001-11-28 André Pönitz <poenitz@gmx.net>
15215 * vspace.[Ch]: cosmetical changes
15217 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15227 * kbsequence.C: part re-write of old kb code
15230 * WorkArea.C: remove Lgb_bug_find_hack
15232 2001-11-30 José Matos <jamatos@fep.up.pt>
15234 * buffer.C (makeDocBookFile): add a comment to point a hack.
15235 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15236 Fixed a double write of labels.
15238 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15241 * LaTeX.h Fixed bug in LaTeX class where it would not
15242 re-run latex if no depfiles were changed, but the .dvi was removed.
15244 2001-11-28 André Pönitz <poenitz@gmx.net>
15246 * all the files from the change on 2001/11/26:
15247 use lyx::layout_type instead of LyXTextClass::size_type
15248 use lyx::textclass_type instead of LyXTextClassList::size_type
15250 2001-11-29 Juergen Vigna <jug@sad.it>
15252 * text.C: added support for paragraph::isFreeSpacing()
15254 * buffer.C: same as above
15256 * paragraph.h: inserted isFreeSpacing() function to enable
15257 FreeSpacing inside InsetERT.
15259 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15260 of the paragraph's in the cut/copy buffer to 0!
15262 * text2.C (removeRow): remove the assert as it can!
15264 * lyxtext.h: added helper function firstRow returning firstrow and
15265 made firstrow private again.
15267 * BufferView2.C (lockInset): don't relock if we're already locked!
15269 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15270 the only paragraph.
15271 (removeRow): added Assert::(firstrow)
15273 * debug.C: forgot to add INSETTEXT here.
15275 2001-11-28 Juergen Vigna <jug@sad.it>
15277 * sp_spell.C (initialize): changed error text to more general
15278 spellchecker command use (not only ispell!)
15280 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15282 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15284 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15286 * vspace.C: initialise lyxgluelength on failure
15288 2001-11-28 Allan Rae <rae@lyx.org>
15290 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15291 declaration & definition that looks like a function declaration.
15293 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15295 * BufferView2.C (copy):
15296 (copyEnvironment): do not clear the selection when doing a copy.
15298 * text.C (paintFirstRow): compilation fix
15300 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15302 * tabular.C (Latex): correct line count when writing latex.
15304 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15306 * paragraph_pimpl.h:
15307 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15310 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15314 * LColor.C: change vfillline->added_space
15316 * text.C: add markers and text for added space
15318 * vspace.C: fix comment
15320 2001-11-28 André Pönitz <poenitz@gmx.net>
15322 * paragraph.C: whitespace changes
15323 * all the other files from the change on 2001/11/26:
15324 change *::pos_type into lyx::pos_type
15326 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15328 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15329 language of the document when inserting error insets.
15331 2001-11-26 André Pönitz <poenitz@gmx.net>
15333 * BufferView_pimpl.[Ch]:
15341 * paragraph_pimpl.[Ch]:
15344 * text2.C: reduce header dependencies, introduce type for positions
15346 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15348 * <various>: change to use Alert.h
15350 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15352 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15353 when encountering an unknown token.
15354 (readLyXformat2): Show an error message if there were unknown tokens.
15356 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15359 * BufferView_pimpl.C:
15363 * text2.C: use par->isInset()
15365 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15367 * paragraph_pimpl.h:
15368 * paragraph_pimpl.C: cleanup
15370 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15372 * text2.C (removeRow):
15373 * text.C (setHeightOfRow): remove useless (and costly) call to
15376 2001-11-20 Allan Rae <rae@lyx.org>
15378 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15379 Now need Inset*::checkInsertChar() to return true for appropriate
15380 cases so that the characters in the minibuffer will actually be
15383 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15385 * text.C: change the order of the includes.
15386 (workWidth): initialize it at once.
15387 (workWidth): make maxw unsigned
15388 (setHeightOfRow): remove unused variable (inset)
15389 (selectSelectedWord): remove unused variable (inset)
15390 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15392 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15394 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15395 server is not running.
15397 (closeConnection): add debug info when server is disabled.
15399 * ColorHandler.C (getGCForeground): send debug message to GUI
15402 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15404 * kbmap.C (bind): modify because return conventions of
15405 kb_sequence::parse have changed.
15407 * kbsequence.C (parse): only ignore spaces and not any stupid
15408 control character. This avoids tests like s[i] <= ' ', which are
15409 guaranteed to fail with 8bit characters and signed chars.
15410 Change return code to string::npos when there have been no error
15411 (0 was a bad idea when error is at first character)
15413 2001-11-14 José Matos <jamatos@fep.up.pt>
15416 * buffer.C (simpleDocBookOnePar): removed unused argument.
15418 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15420 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15421 insets which are part of a word. Paragraph::isLetter takes care of
15422 that now. Use Paragraph::isInset to identify insets.
15423 (selectSelectedWord): do not test for hyphenation break.
15425 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15426 that protected spaces are considered as spaces.
15428 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15431 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15434 * lyxserver.C: fix it. and small cleanup.
15436 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15438 * BufferView_pimpl.C: use inline helpers
15441 * LaTeXFeatures.C: fix typos
15444 * Spacing.C: move spacing_string into class
15446 * ToolbarDefaults.C: move stuff into namespace anon
15448 * layout.h: update enum
15450 * lyxfunc.C: use better debug
15452 * minibuffer.h: fix typo
15456 * WorkArea.C: add and use Debug::WORKAREA
15460 * text2.C: code re-organisation, inline helpers
15462 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15464 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15465 std::vector.empty().
15467 2001-11-09 Allan Rae <rae@lyx.org>
15469 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15470 '\n's after tables. Tabular and ERT inset work now makes this no
15473 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15476 * minibuffer.C: fix crash, improve drop-down completion
15478 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15481 * lyxserver.C: invalidate fd's when doing endPipe()
15483 2001-11-08 José Matos <jamatos@fep.up.pt>
15485 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15486 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15489 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15491 2001-11-07 José Matos <jamatos@fep.up.pt>
15494 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15497 * buffer.C (sgmlOpenTag):
15498 * buffer.C (sgmlCloseTag): removed debug info.
15500 * buffer.h (sgmlOpenTag):
15501 * buffer.h (sgmlCloseTag): made public.
15503 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15505 * buffer.C (saveParamsAsDefaults):
15506 * lyx_cb.C (MenuLayoutSave): remove
15508 * LyXAction.C (init):
15510 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15512 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15514 * buffer.C (setPaperStuff): removed from here...
15516 * bufferparams.C (setPaperStuff): ... and moved there.
15518 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15522 * XFormsView.C: add support for drop-down completion
15524 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15526 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15529 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15531 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15534 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15536 * lyx_main.C: change ref to known bugs
15538 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15540 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15541 to work around older babel problems.
15543 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15545 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15547 2001-10-24 Juergen Vigna <jug@sad.it>
15549 * tabular-old.C (ReadOld): below variable changes reflected.
15551 * tabular.[Ch]: added ltType struct for longtable header/footer
15552 defines and changed all instances where they are used. Added
15553 future support for double top/bottom rows.
15555 2001-10-24 José Matos <jamatos@fep.up.pt>
15557 * buffer.h (docbookHandleCaption):
15558 * buffer.C (docbookHandleCaption): removed unused function.
15559 (makeDocBookFile): moved docbook supported version to v4.1.
15561 2001-10-24 José Matos <jamatos@fep.up.pt>
15564 * tabular.C (docbookRow): new function to export docbook code of a row.
15565 (DocBook): now honors the longtable flags.
15567 2001-10-23 José Matos <jamatos@fep.up.pt>
15570 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15571 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15573 * buffer.C (makeLinuxDocFile):
15574 (makeDocBookFile): reworked the preamble, more clean, and with
15575 support for lyx defined entities. Changed the document declaration
15576 to be more XML friendly.
15578 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15579 if we need to output XML that should be done with a filter.
15581 2001-10-22 Juergen Vigna <jug@sad.it>
15583 * sp_pspell.h (class PSpell): add alive function needed in the
15584 controller to see if the spellchecker could be started.
15586 2001-10-22 Juergen Vigna <jug@sad.it>
15588 * buffer.C (insertStringAsLines): modify the font for inserting
15589 chars in certain conditions by calling checkInsertChar(font).
15591 2001-10-19 Juergen Vigna <jug@sad.it>
15593 * text.C (workWidth): use getRow instead of wrong algorithm.
15594 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15596 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15601 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15603 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15605 * text.C (workWidth): do not search for the exact row when
15606 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15607 optimization for big documents.
15609 2001-10-18 Juergen Vigna <jug@sad.it>
15611 * text.C (workWidth): new function with added Inset * parameter.
15613 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15615 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15617 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15618 change return type of getColumnNearX.
15621 * text.C (changeRegionCase): use uppercase/lowercase instead of
15624 (rightMargin): simplify code by factoring out the uses of
15629 (appendParagraph): use Paragraph::size_type
15631 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15633 * vspace.C (asLatexString): add a missing break
15635 2001-10-15 Herbert Voss <voss@perce.de>
15637 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15639 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15641 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15644 2001-10-10 André Pönitz <poenitz@gmx.net>
15646 * lyxfunc.C: removed greek_kb_flag.
15648 2001-10-10 Herbert Voss <voss@perce.de>
15650 * lyx_main.C: delete global string help_lyxdir.
15652 2001-10-09 Herbert Voss <voss@perce.de>
15654 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15656 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15658 * lyx_main.C: added global string help_lyxdir.
15660 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15662 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15664 * lyxrc.C (set_font_norm_type): support iso8859-4
15666 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15668 * LaTeX.C (deplog): add another regex for MikTeX
15670 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15672 * lyxrc.C (set_font_norm_type): support iso8859-3
15674 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15676 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15678 * LaTeXFeatures.C: remove special case of french and index
15680 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15681 before \begin{document}). This solves several incompatibilities.
15683 2001-10-03 Garst Reese <reese@isn.net>
15685 * lyx_cb.C: change CheckTex error msg.
15687 2001-10-03 José Matos <jamatos@fep.up.pt>
15689 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15691 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15693 * .cvsignore: update
15695 * lyx_main.C (commandLineVersionInfo): use new style version info.
15697 * buffer.C (writeFile):
15699 (makeLinuxDocFile):
15700 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15702 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15704 * version.h: update to use stuff in version.C
15706 * version.C.in: new file. Contains version information determined
15707 at compile time. This is a merging of version.h and
15710 2001-10-03 Juergen Vigna <jug@sad.it>
15712 * BufferView_pimpl.C (update): don't change "dirty" status in
15715 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15717 * WorkArea.C (c-tor): re-position version string slightly.
15719 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15721 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15722 revert to previous code.
15724 WorkArea.[Ch]: (show, destroySplash): methods removed.
15726 WorkArea.C: rework code so that it's an amalgam of the codes before and
15727 after the splash screen was moved to WorkArea.
15729 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15732 * vspace.C (inPixels):
15735 * buffer.C (insertStringAsLines):
15736 (asciiParagraph): fix types to be large enough
15738 * lyxlex_pimpl.h: change member status from short to int
15740 * layout.h: fix type of endlabeltype
15743 * kbsequence.C (parse): change return type to string::size_type
15745 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15748 * Bullet.C (bulletSize):
15749 (bulletEntry): do not use short ints as parameters
15751 * BufferView2.C (insertLyXFile): change a char to an int.
15753 * WorkArea.C (WorkArea): remove unneeded floats in computation
15755 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15757 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15759 * paragraph.C (asString): Do not ignore newline/hfill chars when
15760 copying to the clipboard.
15762 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15764 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15765 after a multi-line inset.
15767 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15769 * paragraph.C (validate): Set NeedLyXFootnoteCode
15771 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15773 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15774 and decrease-error to decrease.
15776 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15778 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15779 it more readable (should be equivalent)
15781 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15783 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15785 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15787 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15788 of a cursor (row, etc.) after a character has been deleted
15789 (deleteEmptyParagraphMechanism): call the method above on _all_
15790 cursors held by the LyXText when a double space has been
15793 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15795 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15797 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15799 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15800 background. Use greyOut() and the new show() methods to toggle between
15801 the foreground and background. Add code to remove the splash after
15802 its initial showing.
15804 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15805 (create_forms): no longer call Dialogs::showSplash.
15807 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15809 * .cvsignore: add version_info.h
15811 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15813 * version_info.h.in: new file
15815 * Makefile.am: add version_info.h.in
15817 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15818 version_info.h instead of VERSION_INFO
15820 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15822 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15823 The ERT inset now returns string().
15825 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15827 * lyxtext.h, text.C (selectNextWord): renamed as
15828 selectNextWordToSpellcheck.
15830 * text.C (selectNextWordToSpellcheck): Modified to not select
15831 words inside an ERT inset.
15833 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15835 * lyx_cb.C (MenuLayoutSave): change a bit the question
15837 * sp_base.h: include <sys/types.h>
15839 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15841 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15843 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15845 * several files: fix typos in user-visible strings
15847 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15849 * text2.C (pasteSelection): do not set the selection, since it
15850 will be cleared later. Actually, the intent was to fix the way the
15851 selection was set, but I figured rmoving the code was just as good.
15853 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15855 * FontLoader.C (available): Check if font is available without
15858 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15860 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15862 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15864 * lyxrc.[Ch]: added display_graphics variable and associated code.
15866 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15868 * bufferparams.C (hasClassDefaults): new method. Returns true if
15869 the buffer parameters correspond to known class defaults
15871 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15873 * XFormsView.C (show): set minimum size to the main window.
15875 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15877 * text2.C (copySelection):
15879 * lyxfind.C (LyXReplace):
15880 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15881 LyXText::selectionAsString.
15883 * paragraph.C (asString): add "label" argument to the second form
15885 * text2.C (selectionAsString): add "label" argument and pass it to
15886 Paragraph::asString.
15888 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15890 * lyx_main.C (commandLineHelp): remove version information
15892 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15894 * lyx_main.C: add -version commandline option
15896 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15898 * paragraph.h: make the optional constructor arg required instead.
15899 some modifications to other files because of this.
15901 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15903 * lyxserver.C (C_LyXComm_callback): make it static
15905 * lyx_main.C (error_handler): make it static
15907 * lyx_gui.C (LyX_XErrHandler): make it static
15909 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15911 * WorkArea.C: make the extern "C" methods static.
15913 * Makefile.am (lyx_LDADD): simplify
15915 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15917 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15918 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15920 * LyXAction.C (init):
15921 * lyxfunc.C (dispatch): associated code removal.
15923 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15925 * lyxfont.h (isSymbolFont): shut off warning
15927 * text.C (setHeightOfRow):
15928 (getVisibleRow): fix crash with empty paragraphs which have a
15931 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15933 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15936 2001-09-04 José Matos <jamatos@fep.up.pt>
15939 * tabular.C (docbook): rename docBook method to docbook.
15941 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15943 * Makefile.am: add dependencies to main.o.
15945 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15947 * FontLoader.C (available): Return false if !lyxrc.use_gui
15949 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15951 * FontInfo.C (query):
15952 * converter.C (view):
15953 * importer.C (Import):
15954 * exporter.C (Export): Can not -> cannot.
15956 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15958 * BufferView_pimpl.C: allow to create index inset even if
15961 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15963 * buffer.C (getLists): replace boost::tie code with an explicit pair
15964 as boost::tie can break some compilers.
15966 * iterators.h: Added a std:: declaration to the return type of
15969 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15971 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15974 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15976 * iterators.[Ch]: New files. Provide paragraph iterators.
15978 * buffer.C (changeLanguage): Use paragraph iterators.
15979 (isMultiLingual): ditto
15981 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15983 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15985 * FontLoader.C: Support for cmr font.
15987 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15989 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15990 (available): New method.
15992 * FontInfo.C (getFontname): Use scalable fonts even when
15993 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15996 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15998 * converter.C (Formats::view): reverted! Incorrect fix.
16000 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
16002 * converter.C (Formats::view): only output the -paper option
16003 if the dvi viewer is xdvi, thereby fixing bug #233429.
16005 2001-08-23 Herbert Voss <voss@perce>
16007 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
16009 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
16011 * Spacing.h (Spacing): Set space to Default on in the default
16014 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
16016 * vc-backend.h (RCS::versionString): add RCS to version
16017 (CVS::versionString): add CVS to version
16019 * vc-backend.C (scanMaster): do not add CVS to version.
16020 (scanMaster): do not add RCS to version
16022 * lyxvc.C (versionString): new method
16024 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
16026 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16028 * Spacing.C (set): initialize fval
16030 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
16032 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
16035 2001-08-16 Juergen Vigna <jug@sad.it>
16037 * lyxfunc.C (dispatch): implemented the new FINISHED states.
16039 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
16041 * BufferView_pimpl.C:
16044 * text2.C: setParagraph takes linespacing now
16046 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
16048 * LyxAction.C: add internal LFUN_CITATION_INSERT
16050 * LyXView.C: actually apply fix
16052 * bufferlist.C: fix open non-existent file
16054 * lyxfind.C: fix indentation
16056 * lyxfunc.C: remove unneeded assert, fix typo
16058 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
16060 * MenuBackend.C: use "Floatname List"
16062 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
16064 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16065 when converting LaTeX layout to insetERT.
16066 Generate a non-collapsed float when reading old float
16068 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
16070 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16073 2001-08-13 Juergen Vigna <jug@sad.it>
16075 * text.C (fill): return 0 instead of 20 as this seems to be the more
16078 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
16080 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16083 2001-08-13 Juergen Vigna <jug@sad.it>
16085 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16087 (SearchBackward): comment out the unlocking of the inset_owner this
16088 should not be needed!
16090 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
16092 * Many files: Remove inherit_language, and add latex_language
16094 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16095 collapsible insets.
16097 2001-08-10 Juergen Vigna <jug@sad.it>
16099 * text.C (prepareToPrint): fixed hfill-width in draw!
16101 * BufferView2.C (selectLastWord): save the selection cursor as this
16102 now is cleared in the function LyXText::clearSelection!
16104 2001-08-08 Juergen Vigna <jug@sad.it>
16106 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16107 BACKSPACE type functions.
16109 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16110 is only cutted from the document but not put in the cut-buffer, where
16111 still the old stuff should be.
16113 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16115 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16117 * tabular.C (SetWidthOfCell): fixed special case where the width
16119 (LeftLine): handle '|' in align_special.
16121 (LeftAlreadyDrawed): ditto
16122 (SetWidthOfCell): ditto
16124 2001-08-07 Juergen Vigna <jug@sad.it>
16126 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16128 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16130 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16131 * lyxlex.[hC]: ditto
16133 2001-08-06 Juergen Vigna <jug@sad.it>
16135 * text.C (getVisibleRow): fix up row clearing a bit.
16137 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16139 * minibuffer.C: make sure the X server sees the changes in the input.
16141 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16143 * paragraph.C (getFont): split into...
16144 (getLabelFont): this
16145 (getLayoutFont): and this
16146 * paragraph_pimpl.C (realizeFont): calling this
16148 * text2.C (getFont): split into...
16149 (getLayoutFont): this
16150 (getLabelFont): and this
16151 (realizeFont): all three calling this
16153 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16156 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16158 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16160 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
16162 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16163 layouts from the Quote inset insertion.
16165 2001-08-03 Juergen Vigna <jug@sad.it>
16167 * BufferView_pimpl.C (update): do the fitCursor only at the end!
16169 * screen.C (drawFromTo): don't call fitcursor here and do the loop
16170 only if status not is already CHANGED_IN_DRAW (second level).
16172 * text.C (draw): don't set the need_break_row when inside an
16175 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
16177 * buffer.C (parseSingleLyXformat2Token): handle more latex
16180 * bufferview_funcs.[hC]: change function names to
16181 begin with small char, adjust other files.
16183 2001-08-02 André Pönitz <poenitz@gmx.net>
16186 BufferView_pimpl.C: remove broken special code for math-greek
16188 2001-08-02 Juergen Vigna <jug@sad.it>
16190 * BufferView_pimpl.C (update): redone this function so that we
16191 update the text again if there was a CHANGE_IN_DRAW.
16193 * screen.C (cursorToggle): removed LyXText parameter and recoded.
16194 (drawFromTo): added a new internal bool which is used by draw() and
16196 (general): some cursor drawing problems fixed.
16198 2001-08-01 Juergen Vigna <jug@sad.it>
16200 * lyxfind.C (LyXFind): fixed
16201 (SearchForward): ditto
16202 (SearchBackward): ditto
16204 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16205 spurius drawing of the cursor in the main area.
16207 * text2.C (status): small fix which could lead to a segfault!
16208 (clearSelection): remove unneeded BufferView param.
16210 2001-08-01 André Pönitz <poenitz@gmx.net>
16212 * lyxfunc.C: small change due to changed mathed interface
16214 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16216 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16218 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
16220 * lyxfunc.c: fail gracefully if file doesn't exist
16225 * BufferView_pimpl.C: IsDirWriteable() proto changed
16227 * LyXView.C: fix updateWindowTitle() to store the last title
16229 2001-07-31 Juergen Vigna <jug@sad.it>
16231 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16232 the font (wrong since using of Paragraph::highestFontInRange).
16234 * paragraph.C (highestFontInRange): added a default_size parameter.
16236 * text.C (getVisibleRow): minor clear row changes (still not perfect).
16237 (setHeightOfRow): reformat
16239 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16241 * converter.[hC] + affected files: move to (inital-char)lowercase
16244 * ParagraphParameters.C (ParagraphParameters): remove commented code
16246 * PainterBase.[Ch]: remove commented code
16248 * LaTeXFeatures.h: add "bool floats" for float.sty
16250 * LaTeXFeatures.C (LaTeXFeatures): init floats
16251 (require): handle float
16252 (getPackages): do it with floats
16254 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16256 * BufferView_pimpl.C (Dispatch): improve handling of
16257 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16259 * commandtags.h: #include lyxfont.h here temporarily to avoid
16262 * bufferlist.h: include LString.h here.
16264 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16266 * text2.C (getStringToIndex): new method.
16268 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16270 * *: Reduced header file dependencies all over.
16272 2001-07-30 Baruch Even <baruch@lyx.org>
16274 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16276 2001-07-29 Baruch Even <baruch@lyx.org>
16278 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16280 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16282 * ParameterStruct.h (endif): add a default constructor to make
16283 sure that all variables is initialized.
16285 * ParagraphParameters.C (ParagraphParameters): adjust
16287 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16289 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16290 index; also, check that there is something to index, and that it
16291 does not span over several paragraphs.
16292 (doubleClick): use WHOLE_WORD_STRICT for double click.
16294 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16296 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16299 2001-07-26 Baruch Even <baruch@lyx.org>
16301 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16302 an InsetFig figure, backwards compatible reading of old figure code.
16304 2001-07-27 Juergen Vigna <jug@sad.it>
16306 * text2.C: font.realize function adaption.
16308 * text.C (draw): add a warnings lyxerr text if needed.
16310 * layout.C: font.realize function adaption.
16312 * language.C: add inherit_language and implement it's handlings
16314 * bufferview_funcs.C (StyleReset): remove language parameter from
16315 font creation (should be language_inherit now).
16317 * bufferparams.C (writeFile): handle ignore_language.
16319 * paragraph.C (getFontSettings): the language has to be resolved
16320 otherwise we have problems in LyXFont!
16322 * lyxfont.C (lyxWriteChanges): added document_language parameter
16323 (update): removed unneeded language parameter
16325 * paragraph.C (validate): fixed wrong output of color-package when
16326 using interface colors for certain fonts in certain environments,
16327 which should not seen as that on the final output.
16329 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16331 * BufferView_pimpl.C:
16336 * LyXAction.C: add thesaurus support
16339 * lyxfind.C: add "once" parameter, for thesaurus, to not
16340 move to the next match
16342 2001-07-26 Juergen Vigna <jug@sad.it>
16344 * lyxfont.C (realize): honor ignore_language too!
16347 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16349 * text.C (draw): one place more for ignore_language to not draw
16352 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16354 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16356 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16358 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16359 the minipage conversion problem.
16361 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16363 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16366 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16368 * BufferView.h: don't forward declare WorkArea
16370 * BufferView.C: don't include WorkArea.h
16372 2001-07-25 André Pönitz <poenitz@gmx.net>
16376 * lyxfunc.C: new LFUN 'math-space'
16378 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16380 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16382 * text2.C (toggleInset): call open/close
16384 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16386 * lyxfunc.C (dispatch): add debug for the disabled case
16388 * font.C (buttonText): make similar to rectText
16390 * buffer.C (readInset): comment out parsing of insetlist and
16393 * PainterBase.C (rectText): small correction
16395 * BufferView_pimpl.C: comment out insettheorem and insetlist
16396 * LyXAction.C: ditto
16397 * commandtags.h: ditto
16399 2001-07-24 Juergen Vigna <jug@sad.it>
16401 * text.C (draw): honor the ignore_language.
16403 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16405 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16407 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16410 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16412 * lyxtext.h: remove unused (and unimplemented) methods
16414 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16416 * text.C (getVisibleRow): honor background color
16419 * Painter.h: remove default color argument for fillRectangle
16421 * text.C (backgroundColor): new method
16423 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16425 * text.C (getVisibleRow): adjust
16427 * font.[Ch] (rectText): new method, metrics
16428 (buttonText): new method, metrics
16430 * PainterBase.[hC]: make rectText and buttonText always draw and take
16433 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16435 * ToolbarDefaults.C (read):
16436 * MenuBackend.C (read): allow escaping in all strings
16438 * BufferView_pimpl.C (insertAndEditInset): new method.
16439 (Dispatch): use insertAndEditInset whenever appropriate.
16441 * BufferView_pimpl.C (insertNote): removed
16443 * BufferView_pimpl.C (smartQuote): new method, moved from
16444 BufferView; if an insetquote cannot be inserted, insert a '"'
16447 * BufferView2.C: remove insertCorrectQuote();
16449 * lyxfunc.C (getStatus): Add support for all remaingin
16450 inset-insert lfuns.
16452 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16454 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16455 command (necessary to pass " as parameter of self-insert.
16457 * text.C (selectWordWhenUnderCursor):
16458 (selectWord): add word_location parameter
16459 (selectWordWhenUnderCursor): same + remove special code for word
16461 (selectNextWord): use kind() to guess type of insetspecialchar,
16464 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16465 (insertErtContents): create ert insets as collapsed.
16466 (readInset): better compatibility code for Info inset.
16468 2001-07-20 Juergen Vigna <jug@sad.it>
16470 * lyxfunc.C (dispatch): use always LyXFind now!
16472 * text2.C (init): add a reinit flag so that the LyXText can be
16473 reinited instead of deleted and reallocated (used in InsetText).
16475 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16481 2001-07-18 Juergen Vigna <jug@sad.it>
16483 * text.C (selectNextWord): handle insets inside inset by calling
16484 always the bv->text functions so that we can go up the_locking_inset!
16486 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16487 in strange locations when inside an inset!
16489 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16490 handling to include insets.
16492 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16494 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16496 * LyXAction.C (init):
16498 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16499 LIGATURE_BREAK, since the name is so stupid.
16501 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16503 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16506 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16508 * sp_form.[Ch]: remove.
16510 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16512 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16515 * src/buffer.C (readInset): ditto.
16517 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16519 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16520 menuSeparator(), endOfSentenceDot(), ldots() and
16521 hyphenationPoint(), which are therefore removed.
16522 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16524 * LyXAction.C (init):
16525 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16527 * paragraph.C (getWord): removed.
16529 * BufferView_pimpl.C (Dispatch): use last word or selection for
16530 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16532 * lyx_main.C (queryUserLyXDir): do not ask before creating
16533 user_dir, except if it has been named explicitely.
16535 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16537 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16538 a document of zero size.
16540 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16542 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16543 approriately in the c-tor and in require().
16544 (getPackages): output the appropriate LaTeX for natbib support.
16546 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16547 variables "use_natbib" and "use_numerical_citations" when reading the
16549 (readInset): read the various natbib cite commands.
16550 (validate): white-space change.
16552 * bufferparams.[Ch]: new variables "bool use_natbib" and
16553 "bool use_numerical_citations".
16554 (writeFile): output them in the LyX file.
16556 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16558 * lyxfunc.C (getStatus): add support for all the inset insertion
16561 * text2.C (insertInset):
16562 * paragraph.C (insetAllowed):
16563 * BufferView_pimpl.C (insertInset): update to take in account the
16564 renaming of insertInsetAllowed
16566 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16568 * text2.C (getInset): new method. returns inset at cursor position.
16570 * BufferView_pimpl.C (Dispatch): changes because of this.
16572 * LyXAction.C (init): rename open-stuff to inset-toggle.
16574 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16576 * text2.C (toggleInset): renamed from openStuff; use
16579 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16581 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16583 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16585 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16587 * buffer.C (readLyXformat2): Add filename to the error dialog
16589 2001-07-18 Juergen Vigna <jug@sad.it>
16591 * tabular.C (GetCellNumber): put an assert here instead of the check!
16593 2001-07-17 Juergen Vigna <jug@sad.it>
16595 * BufferView_pimpl.C (toggleSelection): adapted too.
16597 * text.C (selectNextWord): adapted for use with insets.
16598 (selectSelectedWord): ditto
16600 2001-07-17 Juergen Vigna <jug@sad.it>
16602 * sp_spell.C (PSpell): fix initialitation order.
16604 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16606 * paragraph.C: spacing
16608 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16610 * sp_spell.C: repair language selection for pspell
16612 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16614 * lyxfunc.h: change more methods to begin with lower char.
16616 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16618 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16619 for unknown layouts.
16621 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16623 * buffer.C (readLyXformat2): Generate an error dialog if there are
16626 2001-07-16 Juergen Vigna <jug@sad.it>
16628 * sp_spell.C: always compile ISpell part.
16630 * lyxrc.C: added use_pspell entry and it's handling.
16632 2001-07-13 Juergen Vigna <jug@sad.it>
16634 * sp_spell.C: removed double includes.
16636 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16638 Consistent use of Lsstream.h:
16639 * Lsstream.h: added using std::stringstream for consistencies sake.
16641 * buffer.C: removed using std::stringstream
16643 * lyxfont.C (stateText):
16644 * paragraph.C (asString):
16645 * text.C (selectNextWord, selectSelectedWord):
16646 * text2.C (setCounter):
16647 * vspace.C (asString, asLatexString):
16648 std::ostringstream -> ostringstream.
16650 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16652 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16653 * commandtags.h: add LFUN_HELP_ABOUTLYX
16654 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16656 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16658 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16660 * lyx_gui_misc.C: remove spellchecker
16661 * lyxfunc.C: showSpellchecker
16663 * sp_ispell.h: added
16664 * sp_pspell.h: added
16665 * sp_spell.C: added
16666 * sp_form.[Ch]: removed
16667 * spellchecker.[Ch]: removed
16669 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16671 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16673 (simpleTeXSpecialChars): Simply print the input character without
16674 any special translation if pass_thru is set.
16676 * layout.h: Added bool pass_thru to layout class for being able to
16677 implement pass through of a paragraph for Literate Programming.
16679 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16680 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16681 * layout.C (Read): add "passthru" to list of layout tags and add
16682 code to set the pass_thru boolean when it is read.
16684 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16686 * trans_decl.h: remove allowed from KmodInfo
16688 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16689 remove allowed code
16692 * paragraph_pimpl.C (erase): use boost::prior
16694 * Painter.C (text): use data() instead of c_str() when length is
16696 * WorkArea.C (putClipboard): ditto
16697 * font.h (width): ditto
16699 * BufferView2.C: use it-> instead of (*it). for iterators
16701 * paragraph_pimpl.C: ditto
16702 * paragraph.C: ditto
16703 * minibuffer.C: ditto
16704 * language.C: ditto
16706 * encoding.C: ditto
16707 * counters.C: ditto
16708 * converter.C: ditto
16710 * Variables.C: ditto
16711 * TextCache.C: ditto
16712 * MenuBackend.C: ditto
16713 * LyXAction.C: ditto
16715 * FloatList.C: ditto
16716 * DepTable.C: ditto
16717 * ColorHandler.C (LyXColorHandler): ditto
16719 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16721 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16723 * text2.C (openStuff): reintroduce this method (which had been
16724 nuked in NEW_INSETS frenzy).
16726 * lyxfunc.C (Dispatch): when an action has not been handled, use
16727 its name in the error message, not its number.
16729 * paragraph.C (inInset): change method name to begin with lowercase.
16732 * text2.C: updates because of this.
16734 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16736 * ToolbarDefaults.C (add): add spaces in error message
16738 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16740 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16741 (readLyXformat2): rename return_par to first_par, use lyxlex's
16742 pushToken and remove the manual push handling.
16743 (parseSingleLyXformat2Token): add another ert comp. variable:
16744 in_tabular, rename return_par to first_par. handle newlines better
16746 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16748 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16750 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16752 * text2.C (getParFromID): removed
16754 * buffer.C (getParFromID): new method moved form lyxtext.
16755 * BufferView2.C (insertErrors): adjust
16756 (setCursorFromRow): adjust
16757 * BufferView_pimpl.C (restorePosition): adjust
16758 * lyxfunc.C (Dispatch): adjust
16759 * undo_funcs.C (textUndo): adjust
16761 (textHandleUndo): adjust
16762 (textHandleUndo): adjust
16764 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16766 * buffer.C: up' the LYX_FORMAT
16768 * lyxfont.h: turn NO_LATEX on as default
16770 * buffer.C (insertErtContents): new methods of tex style compability.
16771 (parseSingleLyXformat2Token): use it several places.
16772 * tabular.C (OldFormatRead): and here
16774 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16776 * text2.C: remove some commented code.
16779 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16780 * trans.C: changes because of the above.
16782 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16784 * text2.C (setCounter): Fix counters bug with bibliography layout.
16786 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16788 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16789 own member functions
16790 (simpleTeXSpecialChars): ditto
16792 2001-07-06 Juergen Vigna <jug@sad.it>
16794 * a lot of files: changed the access to LyXText::status and the
16795 call of undo-functions.
16797 * undo.[Ch]: added a inset_id to the undo informations.
16799 * undo_funcs.[Ch]: added and moved here all undo functions.
16801 * lyxtext.h: give the status enum a weight, made status_ a private
16802 variable and made accessor functions for it, removed the whole bunch
16803 of undo-functions as they are now in their own file, make some
16804 functions publically available. Added function ownerParagraph with
16807 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16808 made InInset() a const function, added getParFromID() function.
16810 * buffer.[Ch]: added const version for inset_iterator functions,
16811 added getInsetFromID() function.
16813 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16814 changed undo functions for new version.
16816 2001-07-05 Juergen Vigna <jug@sad.it>
16818 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16819 unknow mechanism does not call the proper constructor but only this
16820 one also if I request the other!?
16822 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16824 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16826 * text2.C (LyXText): use initialization lists.
16828 * lyxtext.h (Selection): initialize set_ and mark_
16829 (init): remove method
16831 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16833 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16835 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16837 * screen.[Ch]: change method names to begin with lowercase
16839 * BufferView_pimpl.C (updateScrollbar): simplify further and
16840 hopefully make it a bit faster.
16842 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16844 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16845 calling directly xforms functions.
16847 * Painter.C (Painter):
16848 * lyx_cb.C (MenuWrite):
16849 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16852 * lyx_gui.C: remove bogus guiruntime extern declaration.
16854 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16856 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16858 (redoDrawingOfParagraph): ditto
16859 (redoParagraphs): ditto
16860 (cutSelection): don't create a object for CutAndPaste use the
16861 static method directly
16862 (pasteSelection): ditto
16864 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16867 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16869 * modifications to some other files because of this.
16871 * Makefile.am (lyx_SOURCES): add XFormsView
16873 * XFormsView.[Ch]: new files
16875 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16876 the main window. Move the gui dependent stuff to XFormsView
16878 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16880 * tabular.C (GetCellInset): update cur_cell also in the row/col
16881 version of this function.
16883 * lyxfunc.C: no need to include figure_form.h here.
16889 * lyxvc.C: no need to include forms.h here.
16891 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16893 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16895 * lyxfunc.C (Dispatch):
16897 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16898 constructor argument.
16900 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16902 * paragraph.C (Paragraph): dont't clear, and just set layout.
16903 (makeSameLayout): use params's copy contructor.
16905 * ParagraphParameters.[Ch] (makeSame): delete method
16907 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16909 * Variables.[Ch]: fix indentation, rename set to isSet
16911 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16913 * lyxfunc.C (Dispatch): fix typo
16915 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16917 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16920 * bufferlist.C: include assert.h for emergencyWrite().
16922 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16924 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16925 give up at last (bug #425202) !
16927 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16933 * spellchecker.C: strip spellchecker options and bring up
16934 preferences tab instead
16936 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16938 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16939 the istringstream constructor
16941 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16943 * paragraph.C (getLayout): fix return value
16945 * paragraph.h: do not declare getLayout as inline.
16947 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16949 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16951 * lyxcursor.h (operator<): new func
16952 (operator>): new func
16953 (operator>=): new func
16954 (operator<=): new func
16956 * text.C (changeCase): use selection.start and selection.end
16957 (changeRegionCase): require from to be <= to. Require par to be a
16960 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16962 2001-06-27 Juergen Vigna <jug@sad.it>
16964 * text.C (cursorLeftOneWord): changed to return the cursor and added
16965 overlay with BufferView * parameter which calls this one.
16967 (selectWord): use new getWord function.
16968 (changeCase): renamed from changeWordCase as and extended to work
16969 also on selections.
16971 * lyxtext.h: added enum word_location
16973 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16974 changeCase as this operates now also on selections.
16976 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16978 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16980 * many files: send debug output to Debug::INFO instead of
16983 * converter.C (View):
16985 (Move): send debug output to Debug::FILES instead of console.
16987 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16989 * lyxfunc.C (getStatus): use func_status
16991 * func_status.h: new header, describing the results of
16992 LyXFunc::getStatus;
16994 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16997 2001-06-25 The LyX Project <jug@sad.it>
16999 * buffer.C (sgmlOpenTag):
17001 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
17003 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17005 * text2.C: remove some dead code
17007 * tabular.C (GetCellInset): store the last cell checked (gotten)
17009 * tabular.h: add the helper for the speedup
17011 * lyxtext.h: remove some dead code
17013 2001-06-26 The LyX Project <Asger>
17015 * paragraph.C: Change export to LaTeX of alignment to
17016 \begin{center} and family for better roundtrip work with reLyX.
17018 * Tune the math drawing a bit.
17020 2001-06-25 The LyX Project <Asger>
17022 * LColor.C (LColor): New color for math background. New color
17025 2001-06-25 The LyX Project <jug@sad.it>
17027 * lyxfunc.C (MenuNew): remove extra check for .lyx file
17029 * lyxfunc.C (Open):
17030 * bufferlist.C (newFile): do not restrict to files ending with
17033 * BufferView_pimpl.C (MenuInsertLyXFile):
17035 2001-06-24 The LyX Project <jug@sad.it>
17037 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
17040 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17042 * lyxtext.h: rename most methods to begin with a small char.
17043 Lots of changes because of this.
17045 * paragraph.C (Paragraph): do not call fitToSize
17046 (erase): call Pimpl::erase
17047 (insertChar): call Pimpl::insertChar
17048 (insertInset): call Pipl::insertInset
17049 (breakParagraph): do not call fitToSize
17050 (breakParagraphConservative): do not call fitToSize
17051 (fitToSize): remove method
17053 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17055 2001-06-24 The LyX Project <Asger>
17057 * Fix Qt compilation^2
17059 2001-06-24 The LyX Project <jug@sad.it>
17061 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17062 depthHook(getDepth()-1).
17065 * ParagraphParameters.h:
17066 * ParameterStruct.h: change type of depth to unsigned int ==
17067 depth_type. Many adaptations to other files before of that.
17069 2001-06-24 The LyX Project <Asger>
17071 * Fix Qt compilation.
17073 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17075 * paragraph.h: renamed several methods to begin with small letter.
17076 several changes to many parts of the code because of this.
17078 2001-06-23 The LyX Project <jug@sad.it>
17080 * text2.C (InsertStringAsLines): renamed from InsertStringA;
17081 rewritten to discard all double spaces when KeepEmpty is off
17082 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17083 to only handle newlines but not fiddle with spaces and friends.
17085 * lyxfunc.C (MenuNew): when doing 'new from template', use
17086 template_path as default directory
17088 2001-06-23 The LyX Project <Asger>
17090 * Clean-up of header file includes all over
17091 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17093 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17095 * paragraph.h: renamed from lyxparagraph.h
17097 2001-06-23 Asger <lyx@violet.home.sad.it>
17099 * Buffer.h: Removed Buffer::resize
17100 * BufferList.h: Removed BufferList::resize
17101 * LyXView.h: Added LyXView::resize. This way, we will only reflow
17102 the document lazily when we change the width, or the font settings.
17104 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17106 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17108 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17110 * buffer.h: remove out of date comment
17112 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17115 * screen.C: fix "theoretical" GC leak
17117 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17119 * LaTeX.C (scanAuxFile):
17120 (deplog): remove trailing \r when reading stream (useful under
17123 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
17125 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17126 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17127 and BufferView::theLockingInset(Inset*), so should use them and not
17128 access bv_->text->the_locking_inset directly.
17130 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17132 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17135 * tex-defs.h: remove old unused file
17137 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
17139 * BufferView_pimpl.C: fix typo, remove minibuffer message
17140 when buffer has loaded
17142 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
17144 * lyxfunc.C (Dispatch): use stringstream
17145 (MenuNew): use stringstream
17146 (Open): use stringstream
17148 * importer.C (Import): use stringstream
17150 * bufferview_funcs.C (CurrentState): use stringstream
17152 * LaTeX.C (run): use stringstream
17154 * BufferView_pimpl.C (savePosition): use stringstream
17155 (restorePosition): use stringstream
17156 (MenuInsertLyXFile): use stringstream
17158 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
17171 * vspace.C: removed // -*- C++ -*- as first line.
17174 * version.h: added // -*- C++ -*- as first line.
17176 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17178 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17180 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17183 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
17185 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17188 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17190 * gettext.C: include LString.h even when --disable-nls is on.
17192 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
17194 * converter.h (Get): changed argument type from int to
17195 FormatList::size_type to avoid unnecessary conversion.
17197 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17200 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17202 * gettext.h: include LString.h even when --disable-nls is on.
17204 2001-06-07 Juergen Vigna <jug@sad.it>
17206 * text.C (BreakAgain): subst spaces with tabs.
17208 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17209 (resizeInsetsLyXText): set force on resizeLyXText.
17211 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17213 * gettext.h (gettext_init):
17214 (locale_init): use a real definition instead of a macro
17216 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17218 * Bufferview_pimpl.C:
17220 * LColor.C: further lcolor tidies
17222 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
17224 * BufferView_pimpl.C (updateScrollbar): simplify.
17226 * BufferView2.C: don't include insets/insetinfo.h, change
17227 prototype for insertInset and call the Pimpl version. let
17228 updateInset call Pimpl version.
17230 * BufferView.h: move inset_slept to BufferView::Pimpl, move
17231 gotoInset to BufferView::Pimpl
17233 2001-06-01 Juergen Vigna <jug@sad.it>
17235 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17236 inside a LockingInset (is the update needed at all?).
17238 2001-05-31 Juergen Vigna <jug@sad.it>
17240 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17241 here not the old one otherwise how should we compare it afterwards
17244 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17249 * FontInfo.C: bring C functions into global namespace when
17252 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17254 * LString.h: make sure config.h has been loaded before LString.h.
17256 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17257 (one for each char read by EatLine!).
17259 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17262 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17264 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17265 to the same as the par we break from
17267 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17269 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17271 * MenuBackend.C (expand): also create menu entries for wide
17272 versions of the floats.
17274 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17276 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17278 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17279 frontends/Makefile.am
17285 * tabular.C (getTokenValue): add std::
17287 * tabular-old.C (getTokenValue): add std::
17288 (getTokenValue): ditto
17289 (getTokenValue): ditto
17291 * screen.C (ToggleSelection): adjust
17293 * lyxtext.h: put selection cursors inside a Selection struct.
17295 * lyxfunc.C (moveCursorUpdate): adjust
17297 * lyxfont.C (latexWriteStartChanges): add std::
17299 * lyxfind.C: adjust
17301 * font.h: delete with(char const *, LyXFont const &)
17303 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17305 * FontInfo.C (getFontname): add std::
17307 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17308 (workAreaButtonPress): adjust
17309 (tripleClick): adjust
17311 (moveCursorUpdate): adjust
17314 * BufferView2.C (gotoInset): adjust
17316 2001-05-30 Juergen Vigna <jug@sad.it>
17318 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17319 to check pspell I add this as default as I now have new pspell
17320 libraries and they seem to use this.
17322 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17324 * text2.C (CutSelection): make the cursor valid before the call to
17327 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17329 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17330 relied on 0 terminated strings and other horrors. Bug found due to
17331 the new assert in lyxstring!
17333 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17336 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17338 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17341 * lyxfunc.C (processKeySym): change method of getting to the
17344 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17345 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17346 * BufferView_pimpl.[Ch]: here as private methods.
17348 2001-05-28 Juergen Vigna <jug@sad.it>
17350 * text.C (SetHeightOfRow): added the update() call again as it is
17351 needed to initialize inset dimensions!
17353 2001-05-16 Juergen Vigna <jug@sad.it>
17355 * text2.C (SetCharFont): Add new function with BufferView * and
17356 bool toggleall parameters for setting insets internal fonts.
17357 (SetFont): Freeze the undo as we may change fonts in Insets and
17358 all this change should be inside only one Undo!
17360 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17361 setting font's in insets as for them we have the SetFont function!
17363 2001-05-15 Juergen Vigna <jug@sad.it>
17365 * text2.C (ClearSelection): to be sure we REALLY don't have any
17368 * tabular.C (TeXCellPreamble): fixed the left border problem for
17371 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17373 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17376 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17378 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17379 LFUN_BREAKPARAGRAPH.
17381 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17382 help test to "internal only", similar for LFUN_INSERT_URL
17384 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17385 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17386 auto_region_delete and deadkeys.
17388 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17391 * LColor.C: remove some dead entries, tidy a little
17393 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17395 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17397 (Dispatch): implement LFUN_ESCAPE
17399 * commandtags.h: add LFUN_ESCAPE
17401 * LyXAction.C (init): add entry for LFUN_ESCAPE
17403 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17404 Remove commented code.
17405 (insertNote): moved here
17406 (open_new_inset): moved here
17408 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17411 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17413 * kbmap.C (findbinding): clean it up and make it work correctly.
17415 * lyx_main.C (init): do not pass argc and argv as parameters
17417 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17419 * buffer.C: fix path for OS/2 & Win32
17423 * lyx_main.C: Added os:: class.
17425 * os2_defines.h: update
17427 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17429 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17430 better by trying again with reduced state.
17432 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17434 * lyxrc.C (read): print error about invalid key sequence only when
17435 debugging (because not all latinX keysyms are known to some X
17438 * kbsequence.C (getiso): add a few std:: qualifiers
17439 (getiso): comment out extra return statement.
17441 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17443 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17445 (Dispatch): enhance the accent inset a bit. (not perfect)
17447 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17449 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17451 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17453 * bufferlist.C (emergencyWrite): fix assert() call
17455 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17457 * text.C (InsertChar): Added trivial patch to only send the "you
17458 can not do multiple spaces this way" message once during a
17461 2001-05-08 Baruch Even <baruch@lyx.org>
17463 * Makefile.am: Changed order of libraries to get LyX to link properly
17464 with the gnome frontend.
17466 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17468 * LaTeXFeatures.h: add a std:: qualifier
17470 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17472 * paragraph.C (String): use stringstream
17474 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17476 * paragraph.C (writeFile): remove footflag arg
17478 * buffer.C (makeLaTeXFile): use stringstream
17479 (latexParagraphs): remove footnot gurba
17481 * LaTeXFeatures.C (getPackages): use stringstream
17482 (getMacros): likewise
17483 (getTClassPreamble): likewise
17484 (getFloatDefinitions): new method
17486 * paragraph.C (writeFile): reindent
17489 * WorkArea.h: revert the xpos + etc changes.
17491 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17493 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17495 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17496 (pasteSelection): likewise
17497 * text2.C (CreateUndo): likewise
17499 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17501 * minibuffer.C (peek_event): temporarily reduce the functionality
17502 of the minibuffer (to allow args on lfuns)
17504 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17505 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17507 * buffer.C (readInset): add compability reading of old float
17508 lists, add reading of new style float list.
17509 (readInset): avoid reevaluation of inscmd.getCmdName()
17510 (getLists): reindent
17512 * MenuBackend.C (MenuItem): implement parsing of
17513 md_floatlistinsert and md_floatinsert.
17514 (expand::LastFiles): move initalizaton of iterators out of loop,
17515 avoid reevaluation.
17516 (expand::Documents): introduce typdedef vector<string> Strings,
17518 (expand::ExportFormats): introduce typedef vector<Format const *>
17519 Formats, and use it.
17520 (expand): implement FloatListInsert and FloatInsert.
17522 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17523 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17524 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17526 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17528 (Dispatch::LFUN_FLOAT_LIST): implement
17530 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17532 * LaTeX.C (run): Fix problem with --export code.
17534 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17536 * BufferView.[Ch] (workarea): removed.
17537 (getClipboard) new method; wrapper for workarea()->getClipboard()
17539 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17542 * WorkArea.h (width, height, xpos, ypos): These methods all
17543 returned the dimensions of the work_area sub-area of WorkArea,
17544 resulting in a position error if the WorkArea were resized. Now
17545 return the dimensions of the entire WorkArea.
17547 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17549 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17551 * LaTeX.C (deplog): correct the syntax of regex reg1
17553 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17555 * undo.C: remove !NEW_INSETS cruft
17557 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17559 * text2.C: remove !NEW_INSETS cruft
17561 * text.C: remove !NEW_INSETS cruft
17563 * tabular.C: remove !NEW_INSETS cruft
17565 * spellchecker.C: remove !NEW_INSETS cruft
17567 * lyxtext.h: remove !NEW_INSETS cruft
17569 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17571 * lyxfunc.C: remove !NEW_INSETS cruft
17573 * lyxfind.C: remove !NEW_INSETS cruft
17575 * lyx_cb.C: remove !NEW_INSETS cruft
17577 * figureForm.C: remove !NEW_INSETS cruft
17579 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17581 * buffer.[Ch]: remove !NEW_INSETS cruft
17583 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17585 * CutAndPaste.C: remove !NEW_INSETS cruft
17587 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17589 * BufferView2.C: remove !NEW_INSETS cruft
17591 * BufferView.h: remove !NEW_INSETS cruft
17593 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17595 * Lsstream.h: include LString.h before the sstream headers to
17596 fix problem with gcc 2.95.3 and lyxstring
17598 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17600 * lyx_main.C: add using directives when needed for C functions
17601 declared in std:: namespace.
17603 2001-04-27 Juergen Vigna <jug@sad.it>
17605 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17606 (SetHeightOfRow): comment out the update call should not be needed!
17608 2001-04-13 Juergen Vigna <jug@sad.it>
17610 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17611 (LyXTabular): tried to minimize operator= operations (and realized
17612 hopfully Lars wish).
17614 2001-04-27 Juergen Vigna <jug@sad.it>
17616 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17618 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17620 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17622 * buffer.C (readInset): hack to make listof algorithm work
17624 * BufferView_pimpl.C: hack to make listof algorithm work
17626 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17628 * LyXAction.C: removed all !NEW_INSETS cruft
17629 (init): moved lfun_item in method
17631 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17633 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17635 * BufferView2.C (theLockingInset): white space.
17637 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17639 * minibuffer.C: include <iostream>
17641 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17643 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17645 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17647 * text.[Ch] (TransposeChars): new method
17649 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17651 * call message directly through LyXView instead of through LyXFunc
17652 * BufferView2.C: adjust
17653 * BufferView_pimpl.C: adjust
17654 * FontLoader.C: adjust
17656 * bufferview_funcs.C: adjust
17657 * converter.C: adjust
17658 * figureForm.C: adjust
17659 * importer.C: adjust
17661 * lyx_gui_misc.C: adjust
17662 * lyxfunc.C: adjust
17665 + more files in subdirs
17667 * lyxparagraph.h (size): move up int file
17670 * adjust all uses of Assert to lyx::Assert.
17672 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17673 lyxfunctional in namespace lyx
17674 * layout.C (hasLayout): ditto
17677 (delete_layout): ditto
17678 (NumberOfClass): ditto
17679 * converter.C (GetFormat): ditto
17684 * bufferlist.C (getFileNames): ditto
17685 (emergencyWriteAll): ditto
17688 * MenuBackend.C (hasSubmenu): ditto
17691 * BufferView_pimpl.C (getInsetByCode): ditto
17693 2001-04-18 Juergen Vigna <jug@sad.it>
17695 * vspace.C (asLatexString): fixed the 100% problem.
17697 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17699 * lyxfunc.C (Dispatch):
17701 * minibuffer.h: add a few std:: qualifiers
17703 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17705 * minibuffer.[Ch]: reimplement so that commands is initiated and
17706 run from lyxfunc, simplified som handling, and made the completion
17707 and history code for complete. wip.
17709 * lyxfunc.C (processKeySym): call message
17710 (miniDispatch): new temporary method
17711 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17712 (LFUN_MESSAGE): implement
17713 (LFUN_MESSAGE_PUSH): implement
17714 (LFUN_MESSAGE_POP): implement
17715 (initMiniBuffer): the initial/defualt minibuffer message.
17717 * lyxfont.[Ch]: inline some more getters
17719 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17721 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17723 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17724 (AutoSave): use LFUN_MESSAGE
17725 (Reconfigure): ditto
17727 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17729 * figureForm.C: use LFUN_MESSAGE
17731 * converter.C (runLaTeX): use LFUN_MESSAGE
17733 * bufferview_funcs.C: use LFUN_MESSAGE
17735 (changeDepth): ditto
17737 * bufferparams.h: use boost::
17739 * bufferlist.h: inherit privately from noncopyable
17741 * bufferlist.C (loadLyXFile): remove some commented code.
17743 * buffer.C (runChktex): use LFUN_MESSAGE
17745 * ShareContainer.h: inherit privately from noncopyable
17747 * ParagraphParameters.[hC] (depth): inline it.
17749 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17751 (message): new method
17752 (messagePush): ditto
17753 (messagePop): ditto
17754 (show): init minibuffer
17755 (showState): direct call
17757 * LaTeX.[Ch]: inherit privately from noncopyable
17758 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17759 instead of WriteStatus.
17761 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17763 * BufferView_pimpl.C (buffer): don't init minibuffer
17764 (workAreaButtonPress): use LFUN_MESSAGE
17765 (workAreaButtonRelease): ditto
17766 (savePosition): ditto
17767 (restorePosition): ditto
17768 (MenuInsertLyXFile): ditto
17769 (workAreaExpose): don't init minibuffer
17770 (update): remove commented code, simplify
17772 * BufferView2.C (openStuff): use LFUN_MESSAGE
17773 (toggleFloat): ditto
17776 (copyEnvironment): ditto
17777 (pasteEnvironment): ditto
17782 (updateInset): remove some commented code
17784 * lastfiles.h: inherit privately from noncopyable
17787 * lyx_main.h: ditto
17789 * lyxlex_pimpl.h: ditto
17791 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17792 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17793 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17795 * LyXAction.h: inherit privately from noncopyable, add methods
17796 func_begin, func_end, returning iterators to the func map.
17798 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17799 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17800 (func_begin): new method
17801 (func_end): new method
17803 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17805 (copySelection): ditto
17806 (pasteSelection): ditto
17808 * BufferView.C: whitespace change
17809 * BufferView.h: inherit privately from noncopyable
17811 2001-04-16 Allan Rae <rae@lyx.org>
17813 * tabular-old.C (l_getline):
17814 * spellchecker.C (sc_check_word):
17815 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17816 an unrecognised preprocessor directive. So ensure they're wrapped.
17818 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17820 * src/exporter.C (Export): Give an error message when path to file
17823 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17825 * LaTeX.C (deplog): Always check that foundfile exists.
17827 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17830 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17832 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17834 * tabular.[Ch] (getLabelList): implement new method
17836 * minibuffer.h: comment ouf setTiimer
17838 * minibuffer.C (ExecutingCB): constify res
17839 (peek_event): constify s
17840 (Set): constify ntext
17841 (Init): constify nicename
17843 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17845 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17846 (savePosition): use two params to Minibuffer::Set
17847 (restorePosition): ditto
17849 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17851 * lyx_main.C: include language.h
17853 * Makefile.am (lyx_main.o): add language.h
17855 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17861 * CutAndPaste.C: include gettext.h
17863 * lyxfont.h: remove old hack with ON and OFF.
17866 * lyxfont.h: do not include language.h...
17871 * bufferview_funcs.C:
17877 * paragraph.C: ... but do it here instead
17879 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17881 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17883 * tabular.C: small reformat
17885 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17888 (BreakParagraph): ditto
17889 (SetOnlyLayout): ditto
17892 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17895 * lastfiles.C: removed most using decl, add std:: where needed
17897 * buffer.C: ws changes
17899 * MenuBackend.C (class compare_format): put into anon namespace
17900 (expand): constify label, names, action, action2
17903 * text.C (SingleWidth): constify font
17904 (IsBoundary): constify rtl2
17905 (GetVisibleRow): constify ww
17907 * LaTeX.C (deplog): constify logfile
17909 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17911 (workAreaExpose): constify widthChange, heightChange
17913 * lyxrow.C (par): moved
17916 * lyxrow.h: as inlines here
17918 * lyxfont.h (shape): moved from lyxfont.C
17919 (emph): moved from lyxfont.C
17921 * lyxfont.C (LyXFont): use initialization list for all
17923 (shape): move to lyxfont.h as inline
17924 (emph): move to lyxfont.h as inline
17927 2001-04-04 Juergen Vigna <jug@sad.it>
17929 * vspace.C: had to include stdio.h for use of sscanf
17931 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17934 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17935 independent of xforms.
17937 2001-04-02 Juergen Vigna <jug@sad.it>
17939 * spellchecker.C: fixed namespace placing!
17941 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17943 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17944 the LyXParagraph * is 0.
17946 2001-03-29 Juergen Vigna <jug@sad.it>
17948 * vspace.C: added support for %, c%, p%, l%.
17949 (stringFromUnit): added helper function.
17950 (asLatexString): changed to give right results for the %-values.
17952 * buffer.C: convert the widthp in a width%.
17954 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17956 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17959 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17960 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17962 * lyx_cb.[Ch]: see above.
17964 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17968 * lyx.[Ch]: replaced by figure_form.[Ch].
17972 * lyxfunc.C: changed headers associated with above changes.
17974 2001-03-27 Juergen Vigna <jug@sad.it>
17976 * BufferView_pimpl.C: set the temporary cursor right!
17978 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17980 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17982 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17984 * LString.h: removed "using std::getline"!
17986 * BufferView_pimpl.C (Dispatch): changes due to changes in
17987 InsetInclude::Params.
17989 * buffer.C (tag_name): removed redundant break statements as they were
17990 producing lots of warnings with my compiler.
17992 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17994 * LString.h: add "using std::getline" when using the real <string>.
17996 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17998 * buffer.C: removed bitset usage.
17999 PAR_TAG moved to an anonymous name space.
18000 (tag_name): new funtion, also in the anonymous namespace.
18001 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
18002 (makeDocBookFile): clean code. Completed transition from string arrays
18004 (SimpleDocBookOnePar): code clean.
18006 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18008 * tabular.C: add some comments.
18010 2001-03-22 Juergen Vigna <jug@sad.it>
18012 * buffer.C (parseSingleLyXformat2Token): redone the minipage
18013 compatibility read a bit and fixed bug with minipage in different
18016 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
18018 * buffer.C (pop_tag): removed.
18019 (push_tag): removed.
18020 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
18021 array replaced with vector. Added support for CDATA sections.
18022 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
18024 (makeDocBookFile): XML conformant declaration of CDATA section,
18025 fixed bug related to <emphasis> in the first paragraph char.
18026 (sgmlOpenTag): exclude empty tags.
18027 (sgmlCloseTag): ditto.
18029 * buffer.h (pop_tag): removed.
18030 (push_tag): removed.
18032 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
18034 * language.h (Languages): added size_type and size().
18036 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18038 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
18039 response on compability reading of minipages. One probliem is that
18040 the old usage of minipages was flertydig
18042 * several files here and in subdirs: don't use static at file
18043 scope use anon namespaces instead.
18045 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
18047 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
18048 LaTeX output. This is necessary for Literate document
18051 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18053 * buffer.C: insert hfill when needed.
18055 * tabular.C (l_getline): use string::erase, small whitespace change.
18057 * BufferView_pimpl.C: try the anon namespace.
18058 * WorkArea.C: ditto
18060 2001-03-16 Juergen Vigna <jug@sad.it>
18062 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18063 otherwise it won't open options-dialogs.
18065 * buffer.C: honor pextraWidth(p) on converting minipages.
18067 * tabular.C (l_getline): changed the functions to strip trailing \r.
18069 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
18071 * BufferView_pimpl.C:
18072 * minibuffer..C: added "using SigC::slot" declaration.
18074 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18076 * lyxlex_pimpl.h: noncopyable is in namespace boost.
18082 * paragraph.C: ditto
18084 * lyxtext.h: NO_PEXTRA
18086 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18088 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18089 * ParameterStruct.h: ditto
18090 * ParagraphParameters.h: ditto
18091 * lyxparagraph.h: ditto
18093 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18095 * buffer.C: add compability for minipage alignment.
18096 (latexParagraphs): remove unwanted pextra check.
18098 * several files: remove CXX_WORKING_NAMESPACES
18100 * buffer.C (pop_tag): tie is in namespace boost
18102 * BufferView.h: noncopyable is in namespace boost
18104 * lyx_main.h: ditto
18107 * lastfiles.h: ditto
18108 * bufferlist.h: ditto
18109 * ShareContainer.h: ditto
18111 * LyXAction.h: ditto
18114 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18116 * Merging changes from BRANCH_MVC back into HEAD.
18118 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18120 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
18122 * BufferView_pimpl.C: change from intl.C
18126 * Makefile.am: move combox.*
18132 * intl.C: remove dialog (covered by prefs)
18134 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18136 * lyxfunc.C (Dispatch): removed redundant break statement.
18138 2001-03-14 Juergen Vigna <jug@sad.it>
18140 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18142 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18144 * buffer.C: add hack to fix compability reading of minipages.
18146 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
18148 * buffer.C (getLists): Cleanup.
18150 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18152 * lyxfont.C (update): don't honor toggleall on font size.
18154 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
18158 * Makefile.am: moved to frontends/xforms/
18162 * BufferView_pimpl.C: changes for moved mathpanel
18164 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18166 * gettext.h: fix gettext_init() in --disable-nls
18168 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18170 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18172 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
18175 * lyx.h: strip external form
18177 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18179 * BufferView_pimpl.C: add comment, destroySplash()
18181 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18183 * BufferView_pimpl.C:
18187 * lyxfunc.C: use re-worked insetinclude
18189 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18191 * buffer.C: add using std::stringstream.
18193 * lyx_cb.C: readd using std::ios.
18195 * buffer.C: add using std::map.
18197 * BufferView_pimpl.C: add using std::vector.
18199 * ShareContainer.h: add std:: to swap.
18201 * buffer.h: add some typedefs
18202 * buffer.C (getLists): use them
18203 (getLists): renamed from getTocList.
18204 add a counter for the different float types and use it in the
18206 (getLists): use the same counter for the NEW_INSETS and the "non"
18209 * lyx_cb.h: remove unused items, includes, using etc.
18211 * ShareContainer.h: remove some commented code, add more comments
18212 and "documentation".
18214 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18216 * buffer.C (getTocList): make the list also when NEW_INSETS is
18219 * buffer.h: remove TocType
18221 * buffer.C (getTocList): change to return a map<string,
18222 vector<TocItem> >, implement for dynamic number of list.
18224 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18225 * text2.C (PasteSelection): adjust
18226 * CutAndPaste.C (pasteSelection): adjust
18228 * FloatList.C (FloatList): update from the new_insets branch.
18229 * Floating.[Ch]: ditto
18230 * LaTeXFeatures.C: ditto
18232 * lyxlex_pimpl.C: ditto
18234 * paragraph.C (Last): remove when NEW_INSETS is defined.
18236 * other file: changes because of the above.
18238 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18240 * lyxparagraph.h: rename next to next_, previous to previous_,
18241 make them private for NEW_INSETS. Rename Next() to next(),
18242 Previous() to previous().
18244 * other files: changes because of the above.
18246 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18249 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18252 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18254 * main.C (main): pass lyx_localedir to gettext_init().
18256 * gettext.h: remove locale_init and gettext_init macros
18258 * gettext.C (locale_init): new function
18259 (gettext_init): new function
18261 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18264 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18266 * Moved credits to frontends:
18267 * credits.[Ch]: removed
18268 * credits_form.[Ch]: removed
18269 * lyx_gui_misc.C: remove credits stuff
18272 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18274 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18276 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18277 unneeded destructor.
18279 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18280 a standalone pointer again.
18282 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18284 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18290 * ToolbarDefaults.C:
18299 * BufferView_pimpl.C: use new file dialog in GUII
18302 * lyx_cb.C: remove LayoutsCB to Toolbar
18304 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18306 * ShareContainer.h (get): add std:: qualifier
18308 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18310 * ShareContainer.h: define a proper ShareContainer::value_type
18311 type (and use typename to please compaq cxx)
18313 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18315 * lyxparagraph.h: move serveral local vars to
18316 ParameterStruct/ParagraphParameters., use ShareContainer in
18317 FontTable., make vars in FontTable private and add getter and
18320 * paragraph.C: changes because of the above.
18322 * lyxfont.h: remove copy constructor and copy assignment. (the
18323 default ones is ok), move number inside FontBits. move inlines to
18326 * lyxfont.C: add number to initializaton of statics, move several
18327 inlines here. constify several local vars. some whitespace
18328 cleanup. Dont hide outerscope variables.
18330 * Spacing.h: add two new constructors to match the set methods.
18332 * ShareContainer.h: new file, will perhaps be moved to support
18334 * ParameterStruct.h: new file
18336 * ParagraphParameters.h: new file
18338 * ParagraphParameters.C: new file
18340 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18341 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18343 * BufferView_pimpl.C: ParagraphParameter changes.
18344 * buffer.C: Likewise.
18345 * bufferview_funcs.C: Likewise.
18346 * text.C: Likewise.
18347 * text2.C: Likewise.
18349 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18351 * lyxfind.C (LyXReplace): do not redefine default argument in
18353 (IsStringInText): ditto
18354 (SearchForward): ditto
18355 (SearchBackward): ditto
18357 2001-03-06 Juergen Vigna <jug@sad.it>
18359 * lyxfind.C (IsStringInText): put parentes around expressions.
18361 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18363 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18365 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18367 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18369 * stl_string_fwd.h: add comment
18371 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18374 * tabular.C: remove unused DocBook methods
18380 killed DO_USE_DEFAULT_LANGUAGE
18382 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18384 * lyx_gui.C: do not include language.h.
18386 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18387 arguments in function implementation.
18389 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18391 * BufferView_pimpl.C: add <ctime>
18393 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18395 * BufferView_pimpl.C: add using std::find_if
18397 2001-02-27 José Matos <jamatos@fep.up.pt>
18399 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18402 2001-02-11 José Matos <jamatos@fep.up.pt>
18404 * buffer.C (makeDocBookFile): command styles now have a parameter as
18405 "title" by default.
18407 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18409 * layout_forms.[Ch]: removed
18410 * lyx_cb.[Ch]: out character
18411 * lyx_gui.C: out character
18412 * lyx_gui_misc.C: out character
18413 * bufferview_funcs.C: : out character,
18414 added toggleall as parameter in ToggleAndShow
18416 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18418 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18420 * text2.C (SetCurrentFont): Disable number property at boundary.
18422 2001-02-26 Juergen Vigna <jug@sad.it>
18424 * lyxfunc.C (getStatus): added a string argument override function so
18425 that this is correctly called from LyXFunc::Dispatch if it contains a
18426 do_not_use_argument which is used!
18427 (Dispatch): added check for "custom" export and call appropriate func.
18429 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18431 * lyxrc.C: Add language_command_local, language_use_babel and
18432 language_global_options.
18434 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18436 * buffer.C (makeLaTeXFile): Use language_use_babel and
18437 language_global_options.
18439 2001-02-23 Juergen Vigna <jug@sad.it>
18441 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18442 which works with LyXText and putted it inside BufferView. Here now we
18443 only call for that part the BufferView::Dispatch() function.
18445 * BufferView.C (Dispatch): added.
18447 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18448 functions which needs to use a LyXText over from LyXFunc.
18449 (MenuInsertLyXFile): added
18450 (getInsetByCode): added
18451 (moveCursorUpdate): added
18452 (static TEXT): added
18454 2001-02-22 Juergen Vigna <jug@sad.it>
18456 * BufferView_pimpl.C (update): call a status update to see if LyXText
18459 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18461 * vc-backend.C (revert): implement for CVS
18462 (getLog): implement for CVS
18464 2001-02-20 Juergen Vigna <jug@sad.it>
18466 * text2.C (ClearSelection): added BufferView param for inset_owner call
18468 * lyxfunc.C (TEXT): added this function and use it instead of
18469 directly owner->view()-text of getLyXText().
18471 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18473 * src/layout_forms.C: out preamble
18474 * src/layout_forms.h: out preamble
18475 * src/lyx_cb.C: out preamble
18476 * src/lyx_cb.h: out preamble
18477 * src/lyx_gui.C: out preamble
18478 * src/lyx_gui_misc.C: out preamble
18479 * src/lyxfunc.C: connect with guii preamble
18481 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18483 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18485 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18487 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18488 whether to run bibtex.
18490 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18492 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18494 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18496 * Makefile.am (lyx_SOURCES): removed bibforms.h
18498 * vspace.h: doxygen
18500 * text.C (GetVisibleRow): make several local vars const
18502 * tabular.C: small cleanup.
18504 * lyxserver.C (callback): use compare instead of strncmp
18506 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18507 inlines to after class or to paragraph.C
18509 * lyxfont.h: remove friend operator!=
18511 * converter.h: move friend bool operator< to non friend and after
18514 * combox.h: small cleanup
18516 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18517 to inlines after class def.
18519 * buffer.C (pop_tag): use string operations instead of strcmp
18521 * bmtable.c: doxygen, small cleanup
18523 * LaTeX.h: remove friend operator==
18525 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18537 * BufferView_pimpl.C:
18538 * BufferView.[Ch]: remove cruft
18540 2001-02-14 Juergen Vigna <jug@sad.it>
18542 * lyxfunc.C: removed #if 0 unused code
18544 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18546 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18548 * text2.C (SetSelection): added a BufferView * parameter
18550 2001-02-13 Juergen Vigna <jug@sad.it>
18552 * lyxfunc.C (Dispatch): fixed protected blank problem.
18553 * BufferView2.C (protectedBlank): added LyxText * parameter.
18555 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18556 (AppendColumn): same as above for column_info.
18558 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18559 (moveCursorUpdate): use a LyXText param for support of InsetText.
18561 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18562 (tripleClick): ditto
18564 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18566 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18568 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18570 * text2.C (SetSelection): set correct update status if inset_owner
18571 (ToggleFree): ditto
18573 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18575 * tabular.C: remove some commented code.
18577 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18579 * BufferView_pimpl.C: call hideSplash()
18581 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18584 * bibforms.h: remove
18587 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18588 add LFUN_CHILD_CREATE
18590 * counters.h: fix tiny typo
18595 * lyx.C: move splash to frontends/xforms/
18597 * lyx_gui_misc.C: move Include and Bibform to frontends
18599 * lyxvc.h: clarify comment
18601 * vspace.C: tiny housekeeping
18603 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18605 * text.C (PrepareToPrint): RTL Fix.
18607 * paragraph.C (GetUChar): New method.
18608 (String): Use GetUChar.
18610 * buffer.C (asciiParagraph): Use GetUChar.
18612 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18614 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18616 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18619 * buffer.C: rename to getLogName(), handle
18620 build log / latex log nicely
18622 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18625 * MenuBackend.h: remove support for reference menuitem type.
18627 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18629 * BufferView_pimpl.C: housekeeping
18630 * BufferView_pimpl.h:
18635 * minibuffer.h: move Timeout GUI-I
18637 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18639 * lyxrc.C (read): Update converters data-structures.
18641 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18643 * LaTeX.h (operator!=): add operator != for Aux_Info
18645 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18647 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18649 * LaTeXLog.C: deleted, useful code moved to Buffer
18652 * buffer.C: new function getLatexLogName()
18658 * lyxfunc.C: use frontends for LaTeX and VC logs
18660 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18662 * LaTeX.h: yet another std:: that Allan forgot.
18664 * Variables.C (set): renamed from isset(), because this clashes
18665 with some HP-UX macros (grr).
18667 2001-02-06 Allan Rae <rae@lyx.org>
18669 * LaTeX.h: Another bug fix. Missing std:: this time.
18671 2001-02-04 Allan Rae <rae@lyx.org>
18673 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18674 floats problem. I've left it commented out because it's not quite
18675 correct. It should also test that the current object is a table or
18676 figure inset. But I haven't gotten around to figuring out how to do
18677 that. I *think* it'll be something like: "table" == inset.type()
18679 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18682 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18684 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18685 all the citation/databases/styles in the auxilary file.
18686 (run): Rerun latex if there was a babel language error.
18688 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18690 * text.C (Backspace): Preserve the font when changing newline char
18692 (BreakParagraph): If the cursor is before a space, delete the space.
18694 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18696 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18698 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18699 new argument (code).
18700 (ChangeCitationsIfUnique): New method.
18702 * paragraph.C (GetPositionOfInset): Handle bibkey.
18704 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18706 * BufferView_pimpl.h: change type of Position::par_pos to
18707 LyXParagraph::size_type.
18709 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18711 * BufferView_pimpl.C (savePosition, restorePosition): Write
18712 messages to minibuffer.
18714 2001-01-28 José Matos <jamatos@fep.up.pt>
18716 * buffer.C (makeDocBookFile): adds support for document language.
18717 A silly restriction on the name of LatexCommand types where removed.
18718 Added support for CDATA sections, allows to chars unescaped, used
18719 among others in code, to avoid escape < and >.
18721 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18723 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18724 saved positions instrad of a stack. Furthermore, a position is
18725 stored using paragraph id/paragraph position.
18727 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18728 Remove LFUN_REF_BACK.
18730 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18732 * converter.C (dvipdfm_options): New method.
18734 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18736 * vspace.C (isValidLength): Fix for empty input string.
18738 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18740 * LyXAction.C (init): change description of LFUN_FIGURE to
18743 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18745 * LaTeX.C: add using directive
18747 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18749 * MenuBackend.C (expand): Fix the sorting of the formats.
18751 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18753 * lyx_main.C: tiny error message fix
18755 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18757 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18758 calling fl_initialize(). This fixes the problem with ',' as
18759 decimal separator in text files.
18761 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18763 * trans.C (process): Fix the keymap bug.
18765 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18767 * LaTeX.C (scanAuxFiles): New method. Provides support for
18768 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18769 (scanLogFile) Scan for "run BibTeX" messages.
18771 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18772 OT1 font encoding. Also, load the aecompl package if the ae
18775 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18777 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18779 * texrow.C (increasePos): turn two error messages into debug
18782 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18784 * LaTeX.C (scanAux): Handle the \@input macro.
18785 (runBibTeX): Use scanAux().
18787 * language.C (latex_options_): New field.
18789 * LaTeXFeatures.C (getMacros): Add language macros.
18791 * buffer.C (makeLaTeXFile): Small fix.
18793 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18795 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18797 * text2.C: add a using directive.
18799 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18804 * lyxfunc.C: kill LyXBell.
18806 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18808 * text.C (IsBoundary): Remove the error message
18810 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18812 * lyxrc.C (setDefaults): Correct initialization value for
18815 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18817 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18820 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18821 and GotoNextNote().
18823 * src/LyXAction.C: Added reference-next.
18825 * text.C (InsertChar): Use contains instead of strchr.
18827 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18829 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18831 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18832 alignment commands (when needed).
18834 * text.C (InsertChar): Add ':' to number separator chars.