1 2006-01-23 Martin Vermeer <martin.vermeer@hut.fi>
3 * text2.C: fix bug 2015: on screen fonts in nested environments
6 2006-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
8 * converter.C (convert): handle unknown formats
10 2006-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12 * cursor.C (goUpDown): comment out some debug messages.
14 * counters.C (newCounter): make error messages more explicit
15 (these appear with some textclasses like beamer)
17 2006-01-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
20 * lyxfunc.C (processKeySym): make sure new FuncRequest objects
21 have origin set to KEYBOARD. (bug 2221)
23 2006-01-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
25 * rowpainter.C (isCursorOnRow): do not exclude endpos().
27 2006-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
29 * cursor.C (macroModeClose): returns true if an inset actually got
30 inserted; revert faulty fix to bug 2034.
32 2006-01-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
34 * tabular.C (getLabelList): remove (not used anymore).
36 2006-01-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
38 * outputparams.[Ch]: add new flag inComment
40 2006-01-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
42 * text2.C (deleteEmptyParagraphMechanism): since we delete a
43 paragraph, recordUndo should span two paragraphs (bug 2155).
45 2006-01-01 Martin Vermeer <martin.vermeer@hut.fi>
47 * rowpainter.C (paintPar): always repaint the row with the
50 2006-01-01 Lars Gullik Bjønnes <larsbj@gullik.net>
56 * vspace.h: fix syntax error
58 2005-12-31 Martin Vermeer <martin.vermeer@hut.fi>
60 * text3.C (dispatch): Force refresh if typing into inset changes its
63 2005-12-30 Martin Vermeer <martin.vermeer@hut.fi>
68 * rowpainter.C: Speed up rendering by only re-painting rows that
69 have changed. When selection or whole-screen update active, all rows
70 are repainted, as are all rows within insets.
72 2005-12-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
74 * version.C.in: Use PACKAGE_VERSION instead of VERSION
76 2005-12-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
78 * tabular.C (toggleFixedWidth): Use default layout of text class
79 instead of hardcoded "Standard"
81 2005-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
83 * lyxfunc.C (dispatch): do not call getStatus again to determine
84 whether a lfun is disabled (bug 2172).
86 2005-12-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
88 * cursor.C (macroModeClose): set the cursor inside the new math
89 atom if relevant (think \frac{}{}) (bug 2034)
91 2005-12-19 Martin Vermeer <martin.vermeer@hut.fi>
95 * text3.C (Delete, backspace): force update when merging paragraphs
97 2005-12-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
99 * BufferView.C (mouseSetCursor): clear the selection properly (bug
102 2005-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
104 * text.C (redoParagraph): honor inset->noFontChange()
105 * rowpainter.C (paintInset): ditto
107 2005-12-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
109 * lyx_main.C (priv_exec): don't initialize Math on startup
110 (initMath() has been moved to math_hullinset).
112 2005-12-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
114 * lyxrc.C: set default_papersize to PAPER_DEFAULT;
115 handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
116 * paper.h: dispose dead PAPER_PACKAGES enum.
118 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
120 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
123 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
125 * exporter.C (Export): Don't try to copy a file if it does not exist
128 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
130 * text2.C (makeFontEntriesLayoutSpecific): remove.
133 * text.C (insertChar): remove bogus caching of fonts (did not do
136 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
137 ALL_SANE). (bug 2146)
139 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
141 * rowpainter.C (paintFirst): fix centering of
142 LABEL_CENTERED_TOP_ENVIRONMENT.
144 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
146 * BufferView.C (mouseSetCursor): new method. Calls
147 deleteEmptyParagraphMechanism if necessary.
149 * lyxtext.h: make deleteEmptyParagraphMechanism public.
151 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
152 BufferView::mouseSetCursor (bug 2109).
153 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
155 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
157 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
158 do not remove it (this inset behaves differently from the others).
160 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
164 * BufferView_pimpl.C (getStatus): it is only possible to insert a
165 file in a text inset.
167 * buffer.C (readDocument): remove pit argument and code releated
168 to it; set the inset owner correctly (unrelated, but useful).
169 (readFile): get rid of pit argument.
171 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
172 textclass instead of a selection index.
173 (pasteParagraphList): new function.
174 (pasteSelection): make it a wrapper around pasteParagraphList.
176 * BufferView_pimpl.C (MenuInsertLyXFile): use
177 cap::pasteParagraphList to insert a file.
179 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
181 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
183 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
185 * exporter.C: fix typo in text message
187 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
189 * text2.C (setLayout): move recUndo call to other setLayout method
190 * tabular.C (toggleFixedWidth): new, handle cell width changes
191 * tabular.C (setColumnPWidth): move some code from insettabular.C here
192 and use toggleFixedWidth
193 * tabular.C (setMColumnPWidth): ditto
195 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
197 * paragraph.C (asString): use new inset->textString method (fix
200 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
202 * CutAndPaste.C (numberOfSelections): new helper function.
204 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
206 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
207 LyXFunc::getStatus; implement LFUN_PASTE.
209 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
211 * dociterator.[Ch]: new member realInset() that returns the cell
212 for tabulars and the inset for the rest (bug 1952).
213 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
216 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
218 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
220 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
224 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
227 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
229 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
230 line after typing ctrl-enter
232 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
234 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
235 math insets do not return a proper editable() state yet (bug 2124).
237 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
239 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
240 docs containing very large paragraphs.
242 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
244 * cursor.C (selectionBegin, selectionEnd):
245 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
246 cursor at different depths.
248 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
250 * bufferview_funcs.C (coordOffset): do not call cursorPos
251 for collapsed collapsables (fix bug 2094).
253 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
255 * paragraph.C (fontSpan): make sure that the FontSpan does not
256 span across beginOfBody (bug 1947).
258 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
260 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
262 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
264 * messages.C: fix crash and localization on MinGW/Windows platform
266 2005-11-02 Angus Leeming <leeming@lyx.org>
269 * lyxtextclass.C: trivial fixes to some MSVS warnings.
271 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
273 * text3.C (getStatus): re-enable disabled code. (bug 2081)
275 * BranchList.h (empty): constify.
277 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
279 * text3.C (getStatus):
280 * MenuBackend.C (expandBranches): take the branch list from the
281 master document (bug 2092).
283 * MenuBackend.C (expandBranches):
284 * bufferparams.C (writeFile): use BranchList type.
286 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
288 * text3.C (dispatch, getStatus):
289 * LyXAction.C (init):
290 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
292 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
294 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
296 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
298 * text.C (insertChar): do not reset boundary (bug 2061)
300 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
302 * dociterator.C (updateInsets): new method. Updates the inset_
303 cache of all the slices of the iterator.
305 * text2.C (deleteEmptyParagraphMechanism): compare also containing
306 insets when comparing pit/pos; pass the right cursor to
307 recordUndo; when a paragraph has been deleted, compare `old.top()' to
308 the right cursor slice of `cur'; use updateInsets on cur to make
309 sure that the inset caches are correct; general cleanup.
311 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
313 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
314 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
315 containg inset. If this does not work, the same command will be
316 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
318 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
321 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
323 * lyxtextclass.C (Read): convert layout file if the format is wrong
324 * lyxtextclass.C (layout2layout): new, needed for the above
326 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
328 * messages.C: do not forget to include <cerrno>.
330 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
332 * dociterator.h (StableDocIterator): add access to pos().
333 * undo.C (samePar): new method to check if two
334 iterators are in the same paragraph
335 * undo.C (recordUndo): check for samePar instead of cell identity
336 (which includes pos() and is too strict) (fixes bug 2097)
338 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
340 * text.C (setCursorFromCoordinates): return a bool telling whether
343 * text3.C (cursorPrevious): update if needed after
344 setCursorFromCoordinates (when dEPM triggered).
346 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
347 (otherwise the anchor may be completely wrong and make dEPM assert).
349 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
351 * buffer.C: version upgrade to 245.
352 * bufferparams.C: remove \quotes_times (bug 2090).
353 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
354 quotation marks as default.
356 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
358 * CutAndPaste.C (nrOfParagraphs): remove (unused)
359 * CutAndPaste.C (cutSelection): Remove debug message
360 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
361 undo information and only copy if this is a real cut
362 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
364 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
366 * CutAndPaste.C (eraseSelection): prevent cursor corruption
367 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
368 superflous cur.selection() setting
369 * CutAndPaste.[Ch] (grabSelection): take a const cursor
370 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
372 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
374 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
377 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
379 * BufferView_pimpl.C: comment layout change
381 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
385 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
386 by bibliography managers (bug 2071).
388 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
390 * BufferView_pimpl.C (update): choose arguments to update call so
391 that single-par update works most times
392 * text3.C (dispatch): carefully tune updating separately for
393 whole-screen and current-paragraph
394 * rowpainter.C (paintText): 1) replace painting by caching for
395 the two extra paragraphs, because we can;
396 2) suppress greying out of areas below/above drawn area in case of
398 * lyxfunc.C (dispatch): remove superfluous update
399 * LyXAction.[Ch]: introduce SingleParUpdate
401 2005-10-05 Angus Leeming <leeming@lyx.org>
403 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
404 always initialised before use.
406 * text.C (setHeightOfRow): squash warning about comparison
407 of signed and unsigned types.
409 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
411 * text.C (cursorX): two fixes involving RtL text drawing
413 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
415 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
416 items, not only large ones (part of bug 2057)
418 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
420 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
421 argument, use "newcommand".
423 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
425 * cursor.C (setSelection): do not open collapsable insets;
426 the insets do by themselves now (autoopen).
428 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
430 * buffer.C: format is up to 244.
432 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
434 * text.C (redoParagraph): fix calcultation of inset width wrt
435 leftMargin (bug 1957).
437 * text3.C (dispatch): leave inset to the right when hitting ESC
440 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
445 * messages.C: include <boost/current_function.hpp>
447 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
449 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
450 when command is internal. (bug 1941)
452 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
454 * text2.C (cursorRight): do not honor boundary when at the end of
455 a paragraph. (bug 2010 again)
457 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
459 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
461 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
463 * rowpainter.C (paintText): fix RtL space width display bug (2029)
465 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
467 * text2.C (setCursor): remove the unused 'boundary' parameter for
468 the CursorSlice version; adapt the LCursor version.
471 * paragraph_pimpl.C (markErased):
472 * cursor.C (bruteFind2, bruteFond3): fix warnings.
474 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
476 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
477 as is already done for "chapter".
479 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
481 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
482 textclass; do not record undo if nothing is changed.
484 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
486 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
488 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
490 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
492 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
494 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
495 combox, it is necessary to search for the topmost paragraph in the
496 cursor stack (bug 1926)
498 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
500 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
501 end of paragraph. (bug 2010)
503 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
505 * text.C (leftMargin): check for inInset == 0
507 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
509 * text.C (leftMargin): test for insetbase's new neverIndent()
510 bool instead of listing each and every inset that does not
511 wish par indendation.
513 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
515 * buffer_funcs.C (setCounter): put the code to compute enum label
516 here (where it belongs).
518 * counters.C (enumLabel): move code to buffer_funcs.C.
520 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
522 * outputparams.[Ch]: store local_font instead of local_language
523 * paragraph.C (simpleTeXOnePar): adapt to the change above
525 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
528 * counters.[Ch]: clean up special code for Hebrew.
530 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
532 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
535 2005-09-08 Angus Leeming <leeming@lyx.org>
538 * lyxrc.C: correct grammar describing invocation of the
541 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
543 * text.C (read): remove unused variable.
544 (readParToken): remove static Change variable (never good in
545 recursive settings...); add it as a parameter instead.
547 * paragraph_pimpl.C (acceptChange): make debug info conditional.
549 * metricsinfo.C (PainterInfo): add new member erased_.
551 * rowpainter.C (RowPainter): add erased_ member, initialized from
553 (paintInset): pass erased_ to Inset::draw.
555 * lyxfunc.C (lookupChange): new function. Tells whether change
556 tracking is disabled at a given postion.
557 (getStatus): disable some actions when in deleted text with change
560 2005-08-03 John Levon <levon@movementarian.org>
562 * tabular.C (appendColumn, setMultiColumn): adapt to change to
565 * paragraph_pimpl.C (markErased): add bool argument and handle it.
566 Also make sure to mark insets recursively.
567 (rejectChange, erase): be recursive
569 * paragraph.C (markErased): add bool argument.
570 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
572 * lyxfind.C (findNextChange): tiny cleanup.
574 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
575 change tracking with the cursor in an inset; make sure the first
576 change is not skipped.
578 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
580 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
581 tabularStackDirty to work around bug 1919 (tabular needs
582 to know whether its own cell paste buffer or the one of
584 * CutAndPaste.C: mark tabular_stack_ clean after copy.
586 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
588 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
590 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
592 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
593 use old deleteion algorithm when changetracking is on.
595 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
597 * messages.C (get): add debug output.
599 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
601 * text.C (cursorX): fix bug 1965: cursor movement at
602 line end broken in RtL.
603 (drawSelection): fix bug 1970: drawing of single-line
604 selection broken for RtL.
606 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
610 * dociterator.h (clear, push_back, pop_back): change from
613 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
614 and changed to just return the value of the item depth; take a
615 ParIterator as argument; take the itemdepth at outer nesting level
616 in account if necessary; cleanup and comment the code.
617 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
618 and changed to just return true if reset is needed; take a
619 ParIterator as argument; cleanup and comment the code.
620 (setCounter): adapt to above changes.
622 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
624 * text3.C (dispatch): make debug message optional
626 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
628 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
631 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
633 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
635 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
637 * text.C (insertChar):
638 * text2.C (deleteEmptyParagraphMechanism): take care whether
639 a blank has been deleted (in change tracking mode) (bug 1254).
641 2005-07-20 John Levon <levon@movementarian.org>
643 * text2.C (insertStringAsLines): remove old dubious code,
646 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
648 * MenuBackend.C (expandToc): use Floating::listName() as title of
651 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
653 * toc.[Ch]: Do not use translatable strings (bug 1870).
655 2005-07-20 John Levon <levon@movementarian.org>
657 * tabular.C: fix 1748 - setting multicolumn adds
658 left line to the first cell
660 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
663 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
666 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
668 * messages.C: supress some lyxerr messages
670 2005-07-18 Juergen Vigna <jug@lyx.org>
672 * text.C (drawSelection): honor boundary when asking for cursorX.
674 2005-07-17 José Matos <jamatos@fc.up.pt>
676 * tabular.C (recalculateMulticolumns): fix handling of one column
679 2005-07-17 Juergen Vigna <jug@lyx.org>
681 * text.C (Delete, backspace): fixed so that paragraph with the
682 same layout can be merged by Delete/Backspace.
684 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
686 * text.C (readParToken): fix spelling.
688 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
690 * text2.C: fix counter update for DEPM problem reported by
693 2005-07-17 Juergen Vigna <jug@lyx.org>
695 * BufferView_pimpl.C (setBuffer): save/restore the
696 cursor/selection when switching buffers
699 * buffer.C (saveCursor): add saveDocumentIterators to save the
700 cursor when switching buffer.
702 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
705 * buffer.C: clarify message
707 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
709 * dociterator.C (DocIterator): fix initialization order
711 2005-07-17 Juergen Vigna <jug@lyx.org>
713 * text2.C (cursorHome):
714 * text.C (drawSelection, cursorX):
715 * dociterator.C (textRow): add boundary to getRow() call
717 * paragraph.C (getRow): implementation of below
719 * paragraph.h: add parameter boundary for getRow() function
721 2005-07-17 José Matos <jamatos@fc.up.pt>
725 * tex-strings.[Ch]: new file format, remove support for a4.sty,
726 a4wide.sty and a4widemargins.
728 2005-07-17 Juergen Vigna <jug@lyx.org>
730 * text2.C (cursorLeft): fix one of error
732 2005-07-17 Juergen Vigna <jug@lyx.org>
734 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
736 more fixes for boundary handling
738 * text3.C (dispatch): don't reset cursor if boundary has changed
741 2005-07-16 Juergen Vigna <jug@lyx.org>
743 * text2.C (getColumnNearX): hopefully got it right now,
744 check if we are on column 0 for special case.
746 2005-07-16 Juergen Vigna <jug@lyx.org>
748 * text2.C (getColumnNearX): handle special case Newline Inset
750 * text.C (singleWidth): Just remove bogus check
752 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
754 * funcrequest.C (split): avoid reading uninitialized char c
756 2005-07-16 José Matos <jamatos@fc.up.pt>
762 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
763 single papersize variable.
765 2005-07-16 Juergen Vigna <jug@lyx.org>
767 * text3.C (dispatch): honor boundary when checking if a cursor
768 movement has been done
770 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
771 (setCursor, setCursorIntern): fix cursor movement with boundary
773 2005-07-16 Juergen Vigna <jug@lyx.org>
775 * text.C (currentState): output the actual Boundary
777 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
779 * factory.C (createInset): fix bad logic for tabular creation
781 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
783 * lyx_main.C (init): change some reLyX reference to tex2lyx
785 2005-07-16 Juergen Vigna <jug@lyx.org>
787 * dociterator.C (DocIterator): initialize boundary
789 2005-07-16 Juergen Vigna <jug@lyx.org>
791 * text2.C (getColumnNearX): Consider rows without trailing blank.
793 2005-07-16 André Pönitz <poenitz@gmx.net>
795 * lyxfont.h: Change order of declarations to give the compiler
796 a better chance to inline things
798 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
799 questions on unsaved docs for better scritability
801 2005-07-16 André Pönitz <poenitz@gmx.net>
803 * paragraph.h (getChar): remove asserts as the same kind of security
804 can be achieved by using a suitable standard library implementation
805 and the function was in the critical path (25.9% in profiler)
807 2005-07-16 Juergen Vigna <jug@lyx.org>
809 * cursor.C (bruteFind2):
810 * bufferview_funcs.C (coordOffset):
811 * text.C (cursorX,cursorY): Handle cursor position after last char
812 in row before a inset which uses a whole row.
814 2005-07-15 José Matos <jamatos@lyx.org>
816 * output_plaintext.[Ch] (writeFileAscii): control reference title
818 (asciiParagraph): noparbreak was already deal and was incorrectly
821 2005-07-15 Juergen Vigna <jug@lyx.org>
823 * lyxfunc.C (dispatch): save and restore the cursor after a
826 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
828 * text.C (backspace): bug 806 for empty keepempty paragraphs we
829 change the layout to default before letting DEPM do its thing.
831 * paragraph_funcs.C (breakParagraph): dont reset the layout on
834 * text.C (setCursorFromCoordinates): add a debug statement
836 * text2.C (getColumnNearX): bug 1825 make sure that we don't
837 return a pos that is not on the row
839 * output_latex.C (TeXDeeper): get rid of potential dereferencing
840 of past the end iterator
842 2005-07-14 André Pönitz <poenitz@gmx.net>
844 * undo.C (recordUndoFullBuffer): implement undo for
847 2005-07-14 André Pönitz <poenitz@gmx.net>
849 * cursor.C (setSelection): open insets when selection is set there
850 to avoid crashs with cold coord cache
852 2005-07-14 André Pönitz <poenitz@gmx.net>
854 * trans_mgr.C (insert): move cursor to the right after inserting
857 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
859 * BufferView_pimpl.C (update): dampen some of the debug blabbering
860 * factory.C (readInset): ditto
861 * text.C, text2.C: ditto
863 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
865 * buffer.C: format incremented to 242. There is no file format per
866 se, but the "frenchb" language has been removed from lib/language
867 and has to be translated to "french" by lyx2lyx.
869 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
871 * cursor_slice.h, dociterator.h: add some documentation
872 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
874 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
876 * text.C (leftMargin): do not add identation to display() style
877 insets, because they are always centered (bug 1293).
879 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
881 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
882 formatted_time methods in support/lyxtime.
884 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
886 * toc.[Ch]: new method getGuiName, which is used by the frontends
887 to set the toc combo (fixes bug 1870). Make TOC string translatable.
889 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
891 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
892 StableDocIterator const &)
893 * undo.C (recordUndo): use the above instead of cell.size() comparison
894 (fixes bug 1808; instructed by Andr�.
896 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
899 * dociterator.h: Fix the assert when copying rows/cols in math
901 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
903 * BufferView_pimpl.C:
905 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
907 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
908 (findInset): new functions, refactored from goto Inset that return
909 the position of a certain inset without setting the buffer's cursor
911 (gotoInset): rewrite to call findInset and then set the cursor
914 2005-06-16 Angus Leeming <leeming@lyx.org>
916 * lyxrc.C (output, read): wrap all input and output of paths with
917 calls to os::internal_path and os::external_path, respectively.
918 (output): wrap bind_file inside quotes.
920 * format.C (view): enable the viewer to use the '$$s' placeholder.
922 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
924 * LColor.[Ch] (getFromLaTeXName): new
926 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
928 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
930 2005-06-14 Angus Leeming <leeming@lyx.org>
932 * lyx_main.C (init): ensure that the LyX binary dir is the first
933 element in the PATH on non-POSIX builds.
935 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
937 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
939 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
941 * rowpainter.C (paintInset, paintHebrewComposeChar)
942 (paintArabicComposeChar, paintChars): add a LyXFont argument.
943 (paintChars): use getFontSpan to reduce calls to getFont to a
944 minimum; use Paragraph::lookupChange instead of isXXXText.
945 (paintForeignMark): rename LyXFont argument.
946 (paintFromPos): pass a LyXFont object to the various paintXXX
949 * FontIterator.C (FontIterator, operator++): use
950 Paragraph::getFontSpan
952 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
953 version that returns the font span as a pair.
955 2005-06-09 Angus Leeming <leeming@lyx.org>
957 * converter.C (convert): Don't forget "outfile = real_outfile" as
958 the final step in a conversion where the input and output file names
959 are the same. Otherwise, future conversion steps won't work...
961 2005-06-09 Angus Leeming <leeming@lyx.org>
963 * lyxsocket.C: remove stub code as it isn't needed by
964 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
966 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
968 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
969 effectively disabled -x
971 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
973 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
974 when it actually makes sense.
976 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
978 * BufferView_pimpl.C: revert to showCursor in connection with
979 Lars's front-end stack
981 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
983 * text.C (redoParagraph): move cursor right after a bibitem
986 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
988 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
990 * buffer_funcs.C (bufferErrors): fix computation of the end of an
993 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
995 * BufferView.[Ch] (update):
996 * BufferView_pimpl.[Ch] (update, metrics):
997 * dimension.h (operator==):
998 * lyxfunc.C (dispatch):
999 * metricsinfo.h (ViewMetricsInfo):
1000 * rowpainter.C (paintText):
1002 * text.C (redoParagraph):
1003 * text3.C (dispatch): Make LyX only repaint current paragraph in
1004 case of character insert --> speedup. Also fix cursor draw
1007 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1009 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1010 avoid a crash (bug 1891)
1012 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1016 * text2.C (getStringToIndex): constify cur argument.
1018 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1019 argument has been given
1020 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1021 try to invoke LFUN_INSET_APPLY).
1023 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1024 if no inset was created by doInsertInset
1025 (doInsertInset): return true if an inset has been inserted.
1027 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1029 * vspace.C (asGUIName): new method. A version of the space
1030 suitable for showing on screen.
1032 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
1035 * lyxrc.C: rename "ASCII" to "Plain Text"
1037 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1039 * buffer_funcs.C (expandLabel): take a Buffer as argument;
1040 translate the labelstring.
1041 (setCounter): translate labelstring as needed.
1043 * output_docbook.C (makeCommand): fix expandLabel invokation
1045 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
1047 * BufferView.C: fix dialog title
1049 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1051 * lyx_main.C (priv_exec): fix logic error with help from Angus
1052 * lyx_main.C (parse_execute): set is_gui = false and remove now
1053 obsolete comment about a segfault
1055 2005-05-18 Angus Leeming <leeming@lyx.org>
1057 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1059 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
1061 * tabular.[hC]: added setCellInset to fix tabular paste.
1063 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1065 * buffer.C (save): check if destination is writable before trying
1068 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
1070 * BufferView_pimpl.C (update): fix processEvents -caused update
1073 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1075 * buffer_funcs.C (setCounter): fix test for numbering of
1078 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1079 depth correctly; use optional argument when it exists
1081 * lyxtextclass.C: remove unused MaxCounterTags enum
1082 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1083 (max_toclevel, min_toclevel): new methods.
1085 * MenuBackend.C (expandToc2): fix case where depth is smaller than
1086 the smallest depth in toc.
1088 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1089 layouts that should not appear in a table of contents.
1091 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1093 * cursor.h (undispatched, noUpdate): add comments from Andr�
1094 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
1098 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1100 2005-05-07 André Pönitz <poenitz@gmx.net>
1102 * cursor.[Ch] (leaveInset): new function
1104 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1106 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1108 2005-05-04 Angus Leeming <leeming@lyx.org>
1110 * lyxfunc.C (getStatus): disable the spell checker dialog if
1111 none of USE_[AIP]SPELL are defined.
1113 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1115 * tabular.C (setWidthOfCell): remove obsolete comment
1117 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1119 * paragraph.C (bibitem):
1120 * buffer_funcs.C (setCounter):
1121 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1123 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1125 * text3.C (getStatus): immediately return after setOnOff
1127 * rowpainter.C: fix drawing of appendix start
1129 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1131 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1132 SwitchBetweenClasses and remove the unused return value.
1133 Handle character styles, too
1135 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1137 * factory.C (createInset): handle undefined character styles
1139 2005-05-02 Angus Leeming <leeming@lyx.org>
1141 * buffer.C: protect the #include of utime.h with a preprocessor
1144 2005-05-02 Angus Leeming <leeming@lyx.org>
1146 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1147 function so that auto-saving works, albeit in a blocking manner.
1149 * Makefile.am: make compilation of the client sub directory, of
1150 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1151 on conditionals set at configure time.
1153 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1154 it can be compiled in its own right but has no-op functionality.
1156 * aspell.C, pspell.C: remove preprocessor guards. The files should
1157 be compiled only if the necessary functionality exists.
1159 * lyxserver.C, lyxsocket.C: disable on Windows.
1161 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1163 * text.C (leftMargin): Fix the parindent use bug (1764)
1166 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1168 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1171 2005-04-25 Angus Leeming <leeming@lyx.org>
1179 include <config.h> in .C files, not .h ones.
1181 protect headers inside preprocessor guards.
1183 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1185 * FuncStatus.h (StatusCodes): document
1187 2005-04-21 André Pönitz <poenitz@gmx.net>
1189 * FuncStatus.h (enabled, onoff): document
1191 2005-04-19 Angus Leeming <leeming@lyx.org>
1193 * BufferView_pimpl.C (cursorToggle): no longer test whether
1194 any child processes have been reaped before calling
1195 handleCompletedProcesses().
1197 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1199 * text3.C (dispatch): fix, finally fix, the language problem in
1200 new lyxtexts, without disabling on-the-fly font changes (Helge's
1203 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1205 * text3.C (dispatch): set cursor on double/triple click events
1208 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1210 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1211 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1213 * rowpainter.C (paintFirst): simplify the code a little bit. In
1214 particular, remove the test for secnumdepth.
1215 * text.C (setHeightOfRow): only allocate space for chapter number
1216 when updateCounters provided an actual label, instead of looking
1217 at secnumdepth directly.
1219 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1221 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1222 paragraphs when secnumdepth is large enough or, for environments,
1223 when they are not the first in a sequence.
1225 2005-04-17 Angus Leeming <leeming@lyx.org>
1227 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1228 containing space and '~' characters with a call to latex_path().
1230 2005-04-17 Angus Leeming <leeming@lyx.org>
1232 * converter.C (convert): protect all args of convertDefault.sh
1235 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1237 * text3.C (dispatch): change the layout to "Caption" after inserting
1240 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1242 * text3.C (dispatch): fix language problem in newly created
1243 textinsets (and main text) in non-english docs
1245 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1247 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1248 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1249 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1251 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1255 * text2.C (getFont):
1256 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1259 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1261 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1262 output of \item arguments without trailing text.
1264 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1266 * FontIterator.C (operator*): avoid a copy of the font.
1268 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1270 * rowpainter.C (getFont): fix language bug from previous fix
1272 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1274 * rowpainter.C (RowPainter, getFont): fix font inside inset
1277 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1279 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1280 preventing inserted font, deco, delim insets jumping to start of
1283 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1285 * lyxfunc.C (dispatch): translate message before sending it to the
1288 2005-03-29 Angus Leeming <leeming@lyx.org>
1290 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1291 to LyX on the command line.
1293 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1295 * vc-backend.C: use QuoteName to protect file names wherever
1298 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1301 * BranchList.h: fix bugs 1844,1845: document settings don't
1304 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1306 * lyxrc.C (setDefaults, read, output, getDescription): add support
1307 for tex_allows_spaces.
1309 * exporter.C (Export): allows files in directory containing spaces
1310 if tex_allows_spaces is true.
1312 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1313 output it in double quotes.
1315 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1317 * rowpainter.C: use default text height for drawing change tracker
1320 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1322 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1324 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1326 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1327 directory is missing.
1329 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1331 * text2.C: fixed the fix, extended to other case.
1333 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1335 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1337 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1339 * text2.C (cursorUp): get rid of a crash
1340 * text.C (x2pos): add an assert
1342 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1344 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1348 * dociterator.C: include <boost/current_function.hpp>, which is
1349 needed when assertions are disabled.
1351 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1353 * text2.C: fix for stuck cursor when traversing two
1354 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1356 2005-02-25 Andreas Vox <avox@arcor.de>
1358 * output_docbook.C (makeParagraph): suppress trailing newline
1359 after a run of paragraphs
1361 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1363 * paragraph.C: fix for confused change tracker when pasting
1364 text that begins with a lineseparator. [bug 1827]
1365 (setChange(0, Change::INSERTED);)
1367 * paragraph_funcs.C: fix for lost changes on triple-paste
1368 in change tracking mode [bug 1827] (par.setChange()).
1370 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1372 * text2.C (updateCounters, setCounter, expandLabel): move to
1375 * buffer_funcs.C (updateCounters): turn into a free standing
1376 function and add a buffer parameter. Remove dead code for tracking
1378 (setCounter): change into a free-standing function which gets a
1379 dociterator as argument. Use this iterator to fix captions in a
1380 simple way. When no float is found above the caption, use the
1381 labelstring of the caption layout as default.
1383 * text.C (breakParagraph, backspace):
1384 * text2.C (init, setLayout, changeDepth):
1385 * text3.C (dispatch):
1386 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1389 * dociterator.C (forwardPar): make it much faster by calling
1390 forwardPos() only when really necessary.
1392 * output_docbook.C (makeCommand): adapt to expandLabel move.
1394 * cursor.C: remove unused variable
1396 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1398 * paragraph_funcs.C: fix crash when pasting insets in change
1399 tracking mode [bug 1277] (honour change type in moveItem).
1401 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1403 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1405 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1407 * BufferView.C (setCursor): change to use a DocIterator.
1408 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1409 (putSelectionAt): adapt to BufferView::setCursor change.
1411 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1412 moved here from LyXText and rewritten to use proper cursor
1413 methods. Fixes bug 1787, 616 and 835.
1415 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1416 when inside an inset (part of bug 781).
1417 (dispatch): adapt to change of BufferView::setCursor.
1418 (getStatus, dispatch): handle LFUN_GOTOERROR,
1419 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1421 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1422 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1423 * text3.C (gotoNextInset, gotoInset): removed.
1425 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1427 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1429 2005-02-15 Angus Leeming <leeming@lyx.org>
1431 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1432 can be used meaningfully in a comparison.
1434 2005-02-13 André Pönitz <poenitz@gmx.net>
1436 * bufferview_funcs.C (coordOffset): improve cursor drawing
1438 2005-02-13 André Pönitz <poenitz@gmx.net>
1440 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1441 * Cursor.C (dispatch): use fixIfBroken
1442 * lyxfunc.C (getStatus): use fixIfBroken
1444 2005-02-15 Angus Leeming <leeming@lyx.org>
1446 * lyx_main.C (error_handler):
1448 * lyxrc.C (setDefaults):
1450 #include "environment.h".
1452 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1454 2005-02-15 Angus Leeming <leeming@lyx.org>
1456 * lyxserver.C (startPipe): squash MSVC warning "local variable
1457 'fd' used without having been initialized".
1459 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1461 * BufferView_pimpl.C: revert accidental commit.
1463 2005-02-14 André Pönitz <poenitz@gmx.net>
1465 * dociterator.[Ch]: new member forwardPosNoDescent(),
1466 which doesn't enter nested insets.
1467 * text2.C (setFont): use forwardPosNoDescent() instead
1468 of ForwardPos() (fixes crash on font change).
1470 2005-02-13 Angus Leeming <leeming@lyx.org>
1472 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1473 only if lyxrc.path_prefix is not empty.
1475 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1477 * bufferparams.C (readGraphicsDriver): prevent crash
1479 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1481 * text2.C (setCounter): check for inInset() == 0
1483 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1485 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1486 but use update() to get correct screen display; use convert
1487 instead of istringstream.
1488 (getStatus): handle LFUN_GOTO_PARAGRAPH
1490 * lyxfunc.C (dispatch, getStatus): do not handle
1491 LFUN_GOTO_PARAGRAPH here.
1493 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1495 * text3.C (dispatch): size() -> depth()
1497 * text2.C: remove some debug output
1499 * paragraph.C: ws changes only
1501 * lyxfunc.C (getStatus): size() -> depth()
1503 * dociterator.h (clear, push_back, pop_back, internalData,
1504 operator[], resize, empty): new functions
1505 Make StableDocIterator and operator== be friends. Don't inherit
1506 from std::vector use a privat class variable slices_ instead.
1509 * dociterator.C: update because of not inheriting from std::vector
1510 anymore. Call explictly to slices_ instead. Use depth() instead of
1511 size() and top() instead of back()
1513 * cursor.C: chagne size() -> depth and back() -> top(). Also
1514 remove some direct operator[](i) calls in favour of foo[i]
1515 (getFont): remove some dead code
1517 * bufferview_funcs.C (coordOffset): size() -> depth()
1519 * buffer.C: ws changes only
1521 * CutAndPaste.C (eraseSelection): back() -> top()
1523 * BufferView_pimpl.C (selectionRequested): back() -> top()
1525 * BufferView.C (setCursor): size() -> depth()
1527 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1529 * text3.C (cursorPrevious): return true if depm changed something
1531 (dispatch): rename sl to oldTopSlice, remove moving use the new
1532 NoUpdate func attrib instead. Make sure that needsUpdate is set
1533 for function that have NoUpdate, but where depm might have changed
1536 * text2.C (cursorLeft): make us return true if depm changed
1538 (cursorRight): ditto
1539 (cursorUpParagraph): ditto
1540 (curosrDownParagraph): ditto
1541 (cursorUp, cursorDown): ditto, make sure to read comments in code
1542 (deleteEmptyParagraphMechanism): remove an assert, also return
1543 true if just a single char was deleted.
1545 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1546 cursor that we modify, to avoid modifying an active cursor before
1547 we call setCursor. This allows depm to run. Also return true if
1548 depm deleted something.
1550 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1551 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1552 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1553 something was changed in the buffer because of them (ie. depm run)
1555 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1556 debug messages. Make update by default be false. Make sure that
1557 the result of update is retained throught several calls down to
1560 * LyXAction.h: add a new func_attrib: NoUpdate
1562 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1563 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1564 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1566 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1568 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1570 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1571 bv_->owner(), bv_->buffer() by direct references to the private
1573 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1574 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1575 (fitCursor): center() is in BufferView::Pimpl.
1576 (getStatus, trackChanges, dispatch): no need for a temporary buf
1578 (fitCursor, workAreaDispatch): use workarea().workheight()
1580 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1582 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1584 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1586 * buffer.C: format up to 241.
1587 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1588 break if pasting into ERT
1589 * lyxfunc.C (getStatus): suppress mathpanel and
1590 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1592 2005-02-01 Angus Leeming <leeming@lyx.org>
1594 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1596 2005-02-01 Angus Leeming <leeming@lyx.org>
1598 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1599 calling fs::is_directory().
1601 2005-01-31 Angus Leeming <leeming@lyx.org>
1603 * lyx_main.C (priv_exec): specify explicitly the relative location
1604 of the top level build directory when run in-place.
1606 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1608 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1609 LyXText containing the cursor, not the top-level one.
1611 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1613 (insertStringAsLines): rename par to pit; use temporary variable
1614 par to hold a Paragraph; do not store par.layout() in a variable,
1615 since the pointer may die when breaking paragraphs; pass pars to
1616 breakParagraph() instead of Buffer::paragraphs().
1618 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1620 * lyxlex_pimpl.h: #include <fstream>.
1622 * BufferView.[Ch] (getLyXText): add a const version.
1624 * BufferView_pimpl.C: add debug aids.
1629 * paragraph_funcs.h: add commentary explaining what the class does.
1632 * coordcache.[Ch]: add lots of commentary.
1633 (startUpdating, doneUpdating): debug aids.
1634 (arrays, insets, parPos, getParPos): accessors to private data.
1636 * cursor_slice.[Ch] (text): add a const version.
1637 * dociterator.[Ch] (text, innerText): add const versions.
1639 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1642 * paragraph.C (getRow, pos2ros): add asserts.
1644 * paragraph.h: add commentary. Lots of.
1646 * paragraph.[Ch] (metrucs, draw): removed.
1649 * rowpainter.[Ch]: const-correct changes.
1651 * text.C: various obvious clean-ups. Removal of ancient cruft.
1654 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1656 * vc-backend.C (find_file): rewrite to use boost.filesystem
1659 * main.C (main): set default name check for boost.filesystem to
1662 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1665 (actOnUpdatedPrefs): ditto
1667 * lyx_main.C (init): rewrite to use boost.filesystem
1668 (queryUserLyXDir): ditto
1670 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1671 (getContentsOfAsciiFile): ditto
1673 * lastfiles.C (readFile): rewrite to use boost.filesystem
1675 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1677 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1678 (loadLyXFile): ditto
1680 * buffer.C (Buffer): adjust for destroydir
1681 (getLogName): rewrite to use boost.filesystem
1682 (setFileName): ditto
1683 (save): use fs::copy_file (from fs_extras)
1685 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1687 * LaTeX.C (run): rewrite to use boost.filesystem
1688 (scanAuxFiles): ditto
1689 (handleFoundFile): ditto
1691 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1693 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1695 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1697 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1699 * lyxlayout.[Ch]: change some vars from float to double
1701 * buffer.C (readFile): make a local var const
1703 * Several files: use convert<> instead of atoi,strToXXX and friends
1705 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1707 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1708 holds the contents of packages.lst. New functions getAvailable
1709 and isAvailable to parse and check that list, resp.
1713 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1715 * bufferparams.[Ch]: new param output_changes.
1717 * Buffer.C: increase file format to 240.
1718 Use output_changes and isVailable.
1722 * paragraph_pimpl.C: Use output_changes and isVailable.
1724 2005-01-23 Angus Leeming <leeming@lyx.org>
1726 * output_latex.C: #include "insetbibitem.h", rather than
1727 forward declare function bibitemWidest.
1729 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1731 * lyx_main.C (init): make it compile on the Mac.
1733 2005-01-20 Angus Leeming <leeming@lyx.org>
1735 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1736 (setLyXMisc): (char string literal) != (char string literal) is
1737 performing a comparison on the addresses. Convert one operand
1738 explicitly to string to guarantee expected behaviour.
1741 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1744 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1746 * output_plaintext.C: remove unneeded #include gzstream.h.
1748 2005-01-20 Angus Leeming <leeming@lyx.org>
1750 * SpellBase.h: rename some of the elements of the Result enum.
1757 * pspell.C (check): ditto
1759 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1761 * buffer.C: add #include <fstream>.
1763 * lyx_main.C (init): Compile fix.
1765 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1767 2005-01-20 Angus Leeming <leeming@lyx.org>
1769 * mover.h: change commentary to reflect the changed meaning of
1770 the $$s placeholder.
1772 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1774 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1776 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1778 2005-01-20 Angus Leeming <leeming@lyx.org>
1780 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1781 printing diagnostic data by not dereferecing an iterator past the
1784 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1786 * buffer.C (readHeader): use "&&" rather than "and".
1788 * lyxserver.h (inPipeName, outPipeName): make these const.
1790 2005-01-19 Angus Leeming <leeming@lyx.org>
1792 * lyx_main.C (error_handler, init): protect SIGHUP with
1793 #ifdef SIGHUP guards.
1795 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1797 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1799 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1801 * text.C (setHeightOfRow): add a margin at the top and bottom of
1802 the document (bug 1761)
1804 2005-01-17 Angus Leeming <leeming@lyx.org>
1806 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1807 with "python ". Workaround for a brain-dead Windows.
1809 2005-01-16 Angus Leeming <leeming@lyx.org>
1811 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1812 for MacOSX and Windows to use prependEnvPath.
1813 Strip out the hard-coded block to add elements to the PATH for
1814 MacOSX and replace it with a call to prependEnvPath using the
1815 contents of LyXRC::path_prefix.
1816 (queryUserLyXDir): strip out the code to run reconfigure, instead
1817 returning a boolean indicating the necessity to do so.
1818 (reconfigureUserLyXDir): contains the code to reconfigure the
1819 user support directory. Is now called after the various LyXRC data
1820 files have been read.
1822 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1824 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1826 * converter.[Ch] (convert): take a new parameter try_default. Use
1827 a default converter (imagemagick) if try_default is true.
1829 2005-01-13 Angus Leeming <leeming@lyx.org>
1831 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1832 os::cygwin_path_fix.
1833 (write): output LyXRC::cygwin_path_fix as necessary.
1835 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1838 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1840 2005-01-12 Angus Leeming <leeming@lyx.org>
1842 * lyx_main.C (init): set the PATH variable to include the
1843 directory containing the LyX binary when running on Mac or Windows.
1845 2005-01-12 Angus Leeming <leeming@lyx.org>
1847 * lyx_main.C (init): remove cruft that purports to set the locale
1848 dir. It doesn't and is not needed anyway.
1850 2005-01-10 Angus Leeming <leeming@lyx.org>
1852 * Makefile.am: remove the lyx_main.C special casing.
1854 * BufferView_pimpl.C:
1860 * messages.C: use support/package.h to provide the paths to the
1861 various directories used by LyX.
1863 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1865 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1866 layout if pasting into an empty paragraph)
1868 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1870 * tex-accent.C: add <string>
1872 2005-01-06 José Matos <jamatos@lyx.org>
1874 * ParagraphParameters.C (write): put every parameter in its own line.
1875 * paragraph.C (write): reduce number of consecutive empty lines exported.
1876 * buffer.C (LYX_FORMAT): increase file format to 239.
1878 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1880 * everywhere: change support/tostr.h -> support/convert.h
1882 * tabular.C: make all write_attributes templates, tostr -> convert
1884 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1885 (emptyTag): and -> &&, and fix type for ret from getChar
1886 (getFirstWord): fix type for ret from getChar
1887 (onlyText): and -> &&
1888 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1891 * toc.C (goTo, action):
1892 * text3.C (dispatch):
1893 * text.C (currentState):
1894 * tex-accent.C (DoAccent):
1897 * lyxfunc.C (menuNew):
1898 * lyxfinc.C (replace):
1899 * counters.C (laberItem):
1900 * bufferview_funcs.C (font2string):
1901 * bufferparams.C (writeFile):
1902 * buffer.C (readFile):
1904 * MenuBackend.C: tostr -> convert
1906 * LaTeX.C (runMessage): fix format
1907 (scanAuxFiles): tostr -> convert
1909 * BufferView_pimpl.C (savePosition): fix format
1910 (restorePosition): ditto
1913 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1915 * Spacing.[Ch]: New method getValueAsString().
1919 * ParagraphParameters.C:
1922 * text3.C: store/read spacing value as string.
1924 * rowpainter.C: change float value (spacing_val) to double.
1926 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1927 broken custom document spacing).
1929 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1931 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1932 namespace, also more use of temp references and const
1934 * cursor.[Ch] (getStatus): move to lyxfunc.C
1936 * bufferparams.C: reformat slightly
1938 * bufferview_funcs.C (font2string): constify arg
1944 * buffer_funcs.C: (many funcs): constify arg on function
1945 definitions, also make more local vars const, also add ASSERTS on
1948 * buffer.C (LYX_FORMAT): put const in correct place
1949 (many funcs): constify arg on function definitions, also make
1950 more local vars const
1952 * aspell_local.h: remove "struct" from typdef setup
1954 * aspell.C (check): make word_ok const
1955 (nextMiss): simplify slightly
1958 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1960 * lyxrc.[Ch]: store all float values as strings.
1961 use int (not float) for lyxrc.dpi.
1963 2005-01-04 Angus Leeming <leeming@lyx.org>
1965 * lyx_cb.C (Reconfigure):
1966 * lyx_main.C (queryUserLyXDir):
1967 to run the <system_lyxdir>/configure correctly on Windows, prefix
1968 the path to the script with "sh " when generating the string that
1969 is passed to system().
1971 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1973 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1975 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1977 * lyxlength.C (asLatexString): get rid of setprecision
1979 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1981 * text2.C (setLayout): remove unused variable endpit.
1982 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1984 * paragraph.C (onlyText): remove unused variable style.
1986 * cursor.C (bruteFind): remove unused variables beg and end.
1988 * Makefile.am (dist_noinset_DATA): not needed anymore
1990 * cheaders/*: remove.
1992 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1994 * text3.C: fix LFUN_MATH_MODE.
1996 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1998 * buffer_funcs.C (countWords): new function. Counts words between
2001 * BufferView_pimpl.C (getStatus, dispatch): handle
2004 * LyXAction.C (init):
2005 * lfuns.h: add LFUN_WORDS_COUNT.
2007 2004-12-19 Angus Leeming <leeming@lyx.org>
2009 * buffer.C (save): s/slashify_path/internal_path/.
2011 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2013 * lyxfind.C (findChange): do not search for end of pars, because
2014 the change tracker cannot handle this (fixes bug 1719).
2016 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
2018 * paragraph.[Ch] (autoBreakRows): remove
2020 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2022 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2023 avoid using the paragraph one
2025 * text2.C (LyXText, insertStringAsLines): adjust
2027 2004-12-16 Angus Leeming <leeming@lyx.org>
2031 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2033 2004-12-14 Angus Leeming <leeming@lyx.org>
2035 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2037 * bufferlist.C (emergencyWrite):
2038 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2041 2004-12-14 Angus Leeming <leeming@lyx.org>
2043 * main.C: (main): no longer pass pointers to os::init.
2045 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2047 * undo.C (textUndoOrRedo): simplify logic, fix a crash
2048 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2050 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2053 * text3.C: remove selection_possible global flag
2055 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2057 * text2.C (getSelectionSpan): remove
2058 (changeDepth, changeDepthAllowed): adjust
2060 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
2062 * Makefile.am (BOOST_LIBS): use boost variables
2064 2004-12-03 José Matos <jamatos@lyx.org>
2066 * buffer.C: format up to 238.
2068 2004-12-03 José Matos <jamatos@lyx.org>
2070 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2072 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2074 * cursor.C (goUpDown): remove call to idxUpDown2
2076 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2078 * tabular.[Ch]: use size_t-like types for cell, row and column
2081 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2083 * lyxfunc.C (getStatus): do not lose previous information when
2084 calling BufferView::getStatus; do not set a default "Command
2085 disabled" message at the beginning, but just before returning.
2087 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2089 * cursor.h (getStatus): add better comment from src/cursor.C
2091 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2093 * text3.C (getStatus): return false when the lfun is not handled
2095 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2097 * broken_headers.h: remove
2099 * Makefile.am (lyx_SOURCES): remove broken_headers.h
2101 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2103 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2104 offset_ref accessors
2106 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2107 top_y_, merge fitcursor with update
2108 (updateScrollbar, scrollDocView, fitCursor, center, update): new
2110 (metrics): introduce
2111 (workAreaDispatch): adapt to new coord scheme
2112 (redoCurrentBuffer): remove
2114 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2116 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2119 * coordcache.[Ch]: add paragraph cache and helpers
2121 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2124 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2125 (targetX, setTargetX): introduce
2127 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2128 baseline -> ascent, as the rest of lyx
2130 * lyxtext.h: remove redoParagraphs, updateParPositions,
2131 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2132 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2133 have ascent/descent (ascent is ascent of first par)
2135 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2138 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2140 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2142 * pariterator.C: fix infinite loop introduced in par->pit renaming
2144 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2145 in insets and LyXText, draw two off-screen paragraphs using
2146 NullPainter, and adapt to new coord scheme
2150 * text3.C: adapt lfun handlers to the new coord scheme, which
2151 means: there's only guaranteed coord information for onscreen pars
2152 plus one above and one below. This implies that one can do search
2153 from y coordinates in the range [-1,workHeight]
2155 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2157 * rename a lot of InsetOld to InsetBase
2159 2004-11-25 Angus Leeming <leeming@lyx.org>
2161 * BufferView_pimpl.C:
2163 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2165 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2167 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2168 call BufferView::getStatus if LCursor::getStatus did nothing
2169 (setStatusMessage, getStatusMessage): removed.
2171 * FuncStatus.C (message): new methods. Used to provide an error
2172 message indicating why a command is disabled.
2173 (clear, |=, FuncStatus): update for message.
2175 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2177 * lyxfunc.C (dispatch): always call sendDispatchMessage
2179 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2182 * BufferView_pimpl.C:
2187 * cursor_slice.[Ch]:
2190 * paragraph_funcs.C:
2196 * undo.C: par->pit renaming
2198 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2200 * tabular.C (cellstruct): use initialization, store a shared_ptr
2201 to insettext instead of the insettext directly, adjust to fit.
2202 (operator=): new function
2203 (swap): new function
2204 (rowstruct): use initialization
2205 (columnstruct): use initialization
2206 (ltType): use initialization
2209 * lyxlength.h (swap): new function
2211 * LColor.[Ch] (operator=): use the common semantics
2213 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2215 * lyxfind.C (findNextChange): update the bufferview after setting
2218 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2220 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2221 number of InsetOptArgs has already been inserted.
2223 * output_latex.C (latexOptArgInsets): new method. This outputs all
2224 the optarg insets, up to the limit defined in the layout file.
2225 (optArgInset): removed
2226 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2228 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2230 * paragraph.C (isLetter): remove special spellchecker-related
2231 code; return true also for digits
2232 (isWord, isKomma): remove
2234 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2235 * lyxfind.C (MatchString()): use isLetter instead of isWord
2237 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2239 * pariterator.h (operatir=): comment out un-implemented member
2242 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2245 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2247 * lyxfont.h: include LColor.h to satisfy concept checks.
2249 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2251 * pariterator.h: add typdefs for value_type, difference_type,
2252 pointer and reference to satisfy concept checks. Also add default
2253 constructor for same reason.
2255 * pariterator.C (operator++): add post-increment operator to
2256 satisfy concept checks.
2258 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2261 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2263 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2264 checks. Also rename base_type to BaseType to follow naming
2267 * FloatList.h: include Floating.h to satisfy concept checks.
2269 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2271 * lyxfunc.C (getStatus): when the origin of the request is menu or
2272 toolbar, and the LyXView does not have focus, do as if there was
2273 no buffer (bug 1720)
2275 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2276 FuncRequest to individual entries of LFUN_SEQUENCE
2278 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2280 * output_latex.C (TeXOnePar): override runparams.moving_arg
2281 according to the needprotect value of the current paragraph (bug
2284 * paragraph.C (simpleTeXOnePar): no need to override
2285 runparams.moving_args here
2287 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2289 * vspace.C: fix off-by-one-error, related to fix #1682
2291 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2293 * lengthcommon.C: a more general fix for bug 1682
2295 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2297 * text.C (backspace): fix crash
2299 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2301 * format.[Ch] (getFormatFromFile): new method
2302 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2304 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2306 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2308 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2310 * lyxfunc.C (dispatch): remove the verbose argument
2311 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2314 * kbmap.C (defkey): set the origin of func to KEYBOARD
2316 * MenuBackend.C (MenuItem):
2317 * ToolbarBackend.C (add): set the origin of func to UI
2319 * funcrequest.[Ch]: add origin member, which indicates which part
2320 of LyX requests an action
2322 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2324 * converter.C (move): don't lie in the error message
2325 * converter.h (isReachable, move): document
2327 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2329 * buffer.C: remove unused using lyx::support::atoi
2330 * paragraph_funcs.C: ditto
2332 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2334 * bufferlist.C (exists): use bind and equal_to instead of
2337 * lyxtextclasslist.C (NumberOfClass): ditto
2339 * cursor.C (insert): use for_each instead of explicit for loop
2341 * bufferlist.C (getFileNames): use std::transform and
2342 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2344 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2347 * buffer.C (changeLanguage): use for_each instead of explicit for
2349 (hasParWithID): implement using getParFromID
2351 * LaTeXFeatures.C: ws change only
2353 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2356 * BufferView_pimpl.C (trackChanges): use for_each instead of
2359 2004-11-04 André Pönitz <poenitz@gmx.net>
2362 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2364 * dociterator.C (asDocIterator): use hard assert again.
2366 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2368 * lyxlength.C (asLatexString): rewrite so that it does not use
2371 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2373 * text3.C (specialChar, dispatch): make sure cursor moves to the
2374 right after inserting an inset
2376 2004-11-02 José Matos <jamatos@lyx.org>
2378 * output_docbook.C (docbook):
2379 * paragraph.C (getID):
2380 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2381 garantee that the output is always legal.
2383 * tabular.C (docbook):
2384 * outputprams.[Ch]: remove mixed contents.
2386 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2388 * text2.C (setCounter): prevent endless loop
2390 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2392 * exporter.C (copyFile): use the mover instead of support::copy()
2393 * exporter.C (Export): pass format and latex name to copyFile()
2394 * exporter.h (addExternalFile): document
2395 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2397 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2399 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2401 2004-10-30 José Matos <jamatos@lyx.org>
2403 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2404 text and no inset or font change. This allows to use CDATA
2405 sections just for the whole paragraph.
2407 2004-10-30 José Matos <jamatos@lyx.org>
2409 * paragraph.C (getFirstWord): remove unused variable.
2411 2004-10-30 José Matos <jamatos@lyx.org>
2413 * paragraph.C (getFirstWord): the content should always be escaped
2415 (simpleDocBookOnePar):
2416 * output_docbook.C (makeEnvironment): replace reference to CDATA
2419 2004-10-30 José Matos <jamatos@lyx.org>
2421 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2423 2004-10-30 José Matos <jamatos@lyx.org>
2425 * output_docbook.C (makeParagraphs):
2426 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2427 standard paragraph has only a given type of content drop the wrapper.
2429 2004-10-29 José Matos <jamatos@lyx.org>
2431 * output_docbook.C (makeEnvironment):
2433 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2435 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2437 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2438 (cleanID): sanitize any id.
2440 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2442 * buffer.C, lyxlex_pimpl.C:
2443 * lyxlex_pimpl.C (setFile):
2444 s/getExtFromContents/getFormatFromContents/
2446 2004-10-28 José Matos <jamatos@lyx.org>
2448 * output_docbook.C (makeEnvironment): move id to broadest possible
2451 * sgml.C (openTag): apply substitution of <> for all attributes.
2453 2004-10-28 José Matos <jamatos@lyx.org>
2455 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2456 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2457 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2459 * sgml.[Ch]: new version for open and closeTag for paragraph and
2460 for strings. Now they handle the ids of paragraphs.
2462 2004-10-26 Angus Leeming <leeming@lyx.org>
2464 * Makefile.am: add mover.[Ch].
2466 * converter.C (convert, move): use the new Movers to move external
2467 files to the temp directory.
2469 * lyx_main.C (init): ensure that the global system_movers data
2472 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2475 * mover.[Ch]: new files, defining a Mover as a utility to move an
2476 external file between directories and, if necessary, manipulate this
2477 file using a helper script.
2479 2004-10-25 José Matos <jamatos@lyx.org>
2481 * output_docbook.C (makeCommand): merge two if's that tested the
2484 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2486 * sgml.C (escapeString): fix warning in a better way
2488 2004-10-25 José Matos <jamatos@lyx.org>
2490 * sgml.C (escapeString): import the require boosts header file for
2491 tie, and avoid a signed unsigned comparison.
2493 2004-10-25 José Matos <jamatos@lyx.org>
2495 * sgml.h: add #include <string>
2497 2004-10-25 José Matos <jamatos@lyx.org>
2499 * sgml.[Ch] (escapeString): new function to escape all the string.
2501 2004-10-24 José Matos <jamatos@lyx.org>
2503 * paragraph.[Ch] (getFirstWord): new function to get the first
2504 word. Useful for description.
2505 (simpleDocBookOnePar): remove depth argument, add another that
2506 says where to start the paragraph.
2508 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2509 use the new functions to fix cleanly the support for descriptions.
2511 2004-10-24 José Matos <jamatos@lyx.org>
2513 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2514 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2515 * output_linuxdoc.C (linuxdocParagraphs):
2516 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2517 add buffer as argument.
2519 2004-10-24 José Matos <jamatos@lyx.org>
2521 * output_docbook.C (makeEnvironment, searchEnvironment): place
2522 CDATA inside paragraphs and fix scope for listitems.
2524 2004-10-24 José Matos <jamatos@lyx.org>
2526 * output_docbook.C: remove using statement for stack.
2528 2004-10-23 José Matos <jamatos@lyx.org>
2530 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2531 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2532 docbook. The new scheme is recursive and makes use of iterators, the
2533 same as latex export works.
2534 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2535 directly with the paragraph contents. This code was moved up to
2536 output_docbook.C (docbookParagraphs).
2537 * sgml.C (openTag, closeTag): removed unneeded newlines.
2538 (closeEnvTags) removed.
2540 2004-10-23 André Pönitz <poenitz@gmx.net>
2542 * undo.C (textUndoOrRedo):
2543 * dociterator.C (asDocIterator): work around crash
2545 * cursor.C (getStatus): replace ASSERT by more verbose error message
2546 and manual correction of the problem. Should increase stability
2547 while providing more sensible information.
2549 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2551 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2553 * bufferlist.C (previous, next): new methods
2556 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2558 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2560 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2561 entities to preamble.
2563 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2565 * messages.C (Pimpl): strip off translation context information
2567 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2569 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2570 the cursor is correct (bug 1694)
2572 2004-10-13 José Matos <jamatos@lyx.org>
2574 * output_docbook.C (docbookParagraphs): fix closing tags in the
2575 end of the document.
2577 2004-10-09 José Matos <jamatos@lyx.org>
2579 * buffer.C: format up to 237.
2580 * bufferparams.C (write): use tostr to convert booleans to strings.
2582 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2584 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2586 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2588 * LaTeX.C: implement use of babel language in xindy.
2590 2004-10-05 José Matos <jamatos@lyx.org>
2592 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2593 Add new translators to help reading and writing the lyx file.
2595 2004-10-05 José Matos <jamatos@lyx.org>
2597 * ParagraphParameters.C (read):
2598 * text.C (readParToken): replace nexToken by more appropriate lex
2601 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2603 * LaTeX.C (runMakeIndex):
2604 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2605 (usually 'makeindex') configurable.
2607 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2608 with a variable rather than with a number.
2610 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2612 * output_latex.C (TeXOnePar): make sure font setting is the first
2613 thing that gets output (and the last at the end). Should fix bug
2616 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2618 * pch.h: use proper signal include
2620 * LaTeX.h: Use preferred calling of Boost.Signal
2623 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2625 * pch.h: dont include <boost/function/function0.hpp>
2627 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2629 * paragraph_pimpl.h: remove usage of ShareContainer
2631 * paragraph_pimpl.C: remove initialization of ShareContainer.
2633 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2637 * BufferView.C (putSelectionAt): change the semantics when
2638 backwards == true: now, this just swaps cursor and anchor wrt the
2641 * BufferView.h (putSelectionAt): add some documentation
2643 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2644 make sure backwardChar is done at least once (to avoid getting
2646 (findNextChange): use putSelectionAt in the forward direction
2647 (operator()): use Paragraph::isWord
2649 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2651 * Spacing.C (set): c_str fix
2653 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2655 * lyx_cb.C (Reconfigure): quote the name of configure script in
2656 case it contains spaces
2658 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2662 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2663 (BOOST_LIBS): use top_buildir when looking for the file
2665 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2667 * pch.h: do not use include boost/format.hpp, multiple symbols
2668 will result (gcc bug)
2671 2004-08-23 José Matos <jamatos@lyx.org>
2673 * bufferparams.C (readToken): fix reading of the author field.
2675 2004-08-20 José Matos <jamatos@lyx.org>
2677 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2679 2004-08-20 José Matos <jamatos@lyx.org>
2681 * lyxlex.[Ch] (findToken): remove function.
2683 * ParagraphParameters.C (findToken):
2684 * bufferparams.C (findToken): replace call for previous function
2685 with local copy. This local function has one more argument, the
2686 read string argument.
2688 2004-08-16 José Matos <jamatos@lyx.org>
2690 * ParagraphParameters.C (write):
2691 * Spacing.C (writeFile):
2692 * bufferparams.C (writeLaTeX):
2693 * lyx_cb.C (Reconfigure):
2694 * paragraph.C (write):
2695 * tabular.C (write): remove unnecessary space at end of line.
2698 2004-08-16 José Matos <jamatos@lyx.org>
2700 * text.C (readParagraph): remove debug message.
2702 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2704 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2707 * output_plaintext.C (asciiParagraph): set depth correctly
2709 * outputparams.h: add member depth
2711 * paragraph_funcs.C (ownerPar): remove.
2713 * text2.C (setCounter): remove first_pit; comment out some
2714 non-working code that uses ownerPar
2716 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2719 2004-08-16 José Matos <jamatos@lyx.org>
2721 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2722 For the same level of importance use the same chanel to report problems.
2723 (read): add code to deal with \begin_body and \end_body.
2726 2004-08-15 José Matos <jamatos@lyx.org>
2728 * lyxlex.C (getString): fix comment, buffer::readBody is now
2729 buffer:readDocument.
2731 * tex-strings.C (string_papersize): Default -> default,
2732 Custom -> custom, for consistency with other options.
2734 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2738 * Makefile.am: support pch
2740 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2742 * text.C (readParToken): remove the static LyXFont variable and
2743 pass it as a parameter instead. This fixes a nasty bug where an
2744 inset will be inserted with a bad font in some situations
2745 (readParagraph): adapt
2747 * text2.C (setCounter): reduce number of calls to pars_[pit]
2749 * text.C (singleWidth): add an assert, fix a test
2751 * rowpainter.C (paintText): reduce number of calls to singleWidth
2753 * paragraph.C (isHfill):
2754 (isNewline): ws only
2756 2004-08-14 André Pönitz <poenitz@gmx.net>
2761 * lyxtext.h (several functions): use a Paragraph & argument
2764 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2766 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2768 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2770 * text.C (singleWidth): remove useless test
2772 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2774 * tabular.h: remove bogus comments
2776 * tabular.C (getDescentOfRow):
2777 (isPartOfMultiColumn): add assertions
2779 * lyxlength.C (inPixels): remove #warning
2781 2004-08-14 André Pönitz <poenitz@gmx.net>
2783 * paragraph.h: inline getChar()
2785 * BufferView.h: remove unused declarations
2787 2004-08-14 José Matos <jamatos@lyx.org>
2789 * Buffer.[Ch] (readDocument): new name for old readBody.
2790 * Buffer.C: new file format, new keywords: \begin_document,
2791 \begin_header, \begin_body, \end_body.
2793 * bufferparams.C (readToken): replace all calls to lex.nextToken
2794 by lex.next(). Do the same to eatLine except where really needed.
2796 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2797 line when writing to the lyx file.
2799 * output_plaintext.C (asciiParagraph): fix Bibliography style
2802 * text.C (read): fix end of file handling.
2804 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2806 * MenuBackend.C (Menu::operator[]): new method to access
2807 individual menu items
2808 (Menu::hasFunc): new method. search for an item that corresponds
2810 (MenuBackend::specialMenu): new method
2811 (MenuBackend::expand): if a special menu has been set, skip
2812 entries whose func() appears in this menu
2814 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2816 * text3.C: use Debug::DEBUG a bit more
2818 * text.C (leftMargin): try to simplify a tiny bit change var x to
2819 l_margin. Dont output the wide margins always.
2820 (rightMargin): no margin in inner texts
2822 * rowpainter.h (nestMargin): new func
2823 (changebarMargin): new func
2824 (rightMargin): new func
2826 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2830 * factory.C (createInset): modify setDrawFrame
2832 * cursor.C: use Debug::DEBUG a bit more
2834 2004-08-14 André Pönitz <poenitz@gmx.net>
2837 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2838 cache for all insets in (at least partially) visible (top-level)
2841 * BufferView_pimpl.C: reset external coord cache before every update.
2842 This means the coord cache only contains valid entries.
2844 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2847 * BufferView_pimpl.C (getInsetByCode): move function out of class
2848 and change in to a template in anon namespace. Also fix to do what
2851 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2854 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2856 (breakParagraph): rename par to par_offset and use a local
2857 reference. Add code to keep the language over a rebreak.
2858 (breakParagraphConservative): rename par to par_offset, use a
2860 (mergeParagraph): ditto
2862 (isFirstInSequence): ditto
2863 (outerFont): rename pit to par_offset
2865 * paragraph.C: ws change
2866 * paragraph.h: ditto
2870 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2872 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2875 * paragraph.C (simpleTeXOnePar): when we have a \item with
2876 optional argument, enclose the argument with curly brackets (in
2877 case it contains a closing square bracket)
2881 * text3.C (checkInsetHit): constify
2883 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2885 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2886 documents (bug 1629)
2888 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2890 Fix toggling of collapsable insets with the mouse (bug 1558)
2892 * lyxfunc.C (dispatch): adapt to LCursor changes
2894 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2895 make sure that dispatch is not invoked twice
2897 * cursor.C (needsUpdate): new method
2898 (dispatch): return void
2899 (result): new method, to access the DispatchResult of the cursor.
2901 2004-08-13 José Matos <jamatos@lyx.org>
2903 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2905 2004-08-13 André Pönitz <poenitz@gmx.net>
2907 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2909 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2912 2004-08-12 André Pönitz <poenitz@gmx.net>
2914 * text3.C: take out the 'cursor right' form insertInset and only
2915 do it in those places when it is really needed. Fixes crash on
2918 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2920 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2922 * BufferView_pimpl.C (setBuffer): initialize the current font of
2923 the underlying LyXText
2925 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2927 * kbsequence.C (print): use UI native formatting for menu
2930 * text.C (insertChar): call Paragraph::insertChar with a font
2933 * paragraph.C (insertInset, insertChar): the version that takes a
2934 LyXFont argument is now a wrapper around the other one (the
2935 opposite used to be true).
2937 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2938 argument. Font setting is done in Paragraph now.
2940 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2942 * outputparams.h: add new members intitle and lang.
2944 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2945 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2947 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2949 * text3.C (dispatch): remove special handling of button 4 and 5,
2950 it is now taken care of in the frontend code.
2952 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2954 * Spacing.h: add <string> (STLPort compile fix)
2956 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2958 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2960 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2962 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2965 * converter.C (showMessage): inherit from unary_function, make
2968 * buffer.C (writeFile): initialize retval
2970 * InsetList.h: rename private variable list to list_
2971 * InsetList.[Ch]: adjust accordingly.
2973 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2975 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2976 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2977 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2978 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2979 * ParagraphParameters.C, LaTeXFeatures.C: replace
2980 "support/std_sstream.h" with <sstream>
2982 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2984 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2985 * lyxsocket.C (LyXServerSocket): ditto
2986 (serverCallback): ditto
2988 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2990 * LaTeXFeatures.C: check release date when loading jurabib.
2992 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2994 * lyxserver.C (startPipe): call register_socket_callback
2995 (endPipe): call unregister_socket_callback
2997 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2999 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3000 (LyXServerSocket): register the callback
3001 (LyXServerSocket): unregister the callback
3002 (fd): delete function
3003 (serverCallback): improve error checking and setup the callbacks.
3004 (dataCallback): change arg to fd.
3005 (writeln): new func (copied fro the client socket) used for server
3007 (LyXDataSocket): simplify
3008 (~LyXDataSocket): close ann unregiser callback
3009 (server): delete function
3010 (fd): delete function
3011 (readln): small changes, improve some std::string usage
3012 (writeln): constify a bit
3014 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3016 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3019 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3021 * BufferView_pimpl.C (setBuffer): set the layout combox value only
3022 after it has been populated
3024 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3026 * text2.C (insertInset): move cursor when inserting inset.
3028 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3030 * kbmap.C (findbindings): a couple of new methods. returns a
3031 container of kb_sequence objects. The real work is done by the
3032 private recursive version
3033 (printbindings): uses findbindings to print out a bracketed list
3034 of bindings (renamed from findbinding).
3036 * MenuBackend.C (binding): use kb_keymap::findbindings
3038 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3040 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3042 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3044 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3046 * paragraph.C (isWord): return true on insets that report
3049 * text.C (getWord): use Paragraph::isWord to decide what is in a
3050 word and what is not; fix bug 1609.
3052 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3054 * tex-strings.C: add "none" to string_paperpackages[], fixes
3055 off-by-one-error in the paperpackage selection.
3058 * tex-strings.[Ch]: char const * string[n]
3059 -> char const * const string[]
3061 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3063 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3064 command, return early.
3066 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3068 * debug.h: add DEBUG to enum and fix size of ANY.
3070 * debug.C: add support for Debug::DEBUG
3071 (showTags): cast errorTags.level to unsigned int
3073 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3074 (redoCurrentBuffer): ditto
3075 (updateScrollbar): ditto
3076 * cursor.C (dispatch): ditto
3077 * text2.C (setLayout): ditto
3079 (updateCounters): ditto
3081 (deleteEmptyParagraphMechanism): ditto
3083 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3085 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3086 annotations to cleanup the Makefile slightly.
3088 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3090 * lyxrc.C: do not set user_email to a default value but use empty
3091 instead. The entry used to be translated, which does not work
3092 since at the point where lyxrc is constructed there is no
3093 translation service available
3095 * messages.C (getLocaleDir): remove and use directly
3096 lyx_localedir() instead
3098 2004-06-02 Angus Leeming <leeming@lyx.org>
3100 Fix crash caused by dereferencing null pointer 'exportdata' in
3101 OutputParams by creating a new ExportData variable on the heap,
3102 storing it in a boost::shared_ptr.
3103 The crash was triggered when generating an Instant Preview
3104 of an external inset.
3106 * Makefile.am: add outputparams.C
3108 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3109 (c-tor): allocate memory to it.
3111 * exporter.C (c-tor): associated changes.
3113 2004-06-01 Angus Leeming <leeming@lyx.org>
3115 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3116 contains data before calling isInset(0). (Bug 1513.)
3118 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3120 * exporter.C (checkOverwrite): new method
3121 * exporter.C (copyFile): new method
3122 * exporter.C (Export): copy referenced files to the document dir
3123 * exporter.[Ch]: new class ExportedFile
3124 * exporter.[Ch]: new class ExportData. Contains currently the
3125 names of referenced external files
3126 * outputparams.h: add exportdata member.
3128 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3130 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3133 2004-05-19 Angus Leeming <leeming@lyx.org>
3138 * lyxfunc.C: small changes due to the introduction of namespace
3139 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3141 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3143 * text3.C (dispatch): supress update when only moving the cursor
3144 * cursor.C (selHandle): remove commented code
3146 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3148 * paragraph.C (startTeXParParams): correct column count
3149 * CutAndPaste.C (pasteSelection): remove const_cast
3150 * output_docbook.C (docbookParagraphs): remove const_cast
3151 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3152 const_cast and return ParagraphList::const_iterator
3153 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3154 * output_plaintext.C (writeFileAscii): remove const_cast
3155 * paragraph.[Ch] (simpleTeXOnePar): make const
3156 * paragraph_funcs.C (outerPar): use const iterators
3157 * paragraph_pimpl.C (validate): use const iterators
3158 * text.C (setHeightOfRow): use const iterators
3160 2004-05-17 Angus Leeming <leeming@lyx.org>
3163 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3165 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3166 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3167 if the citation engine has changed.
3169 2004-05-14 José Matos <jamatos@lyx.org>
3171 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3172 if the textclass does not provide it. Have it different for sgml and
3174 support the language of document.
3175 * output_docbook.C (docbookParagraphs):
3176 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3177 first anchor as the id of the paragraph, remove special case code.
3178 * sgml.C (escapeChar): escape only < & >.
3180 2004-05-14 Angus Leeming <leeming@lyx.org>
3182 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3183 dependencies on src/frontends/controllers/biblio.h. Define a
3184 CiteEngine_enum wrapper class to enable the enum to be forward
3187 2004-05-12 Angus Leeming <leeming@lyx.org>
3189 * buffer.C: up LYX_FORMAT to 234.
3190 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3191 use_numerical_citations with a single biblio::CiteEngine cite_engine
3193 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3195 2004-05-13 José Matos <jamatos@lyx.org>
3198 * converter.C (Converter, readFlags): add xml member.
3199 * outputparams.h: add XML flavor.
3200 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3202 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3204 * lyxfunc.C (dispatch):
3205 (getStatus): fix handling of LFUN_SEQUENCE
3207 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3209 * debug.C (showLevel): do not forget the end-of-line marker
3211 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3213 * kbmap.C (read): do not stop parsing a bind file when an error
3216 2004-04-29 Angus Leeming <leeming@lyx.org>
3221 * text2.C: wrap a bunch of #warning statements
3222 inside #ifdef WITH_WARNINGS blocks.
3224 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3226 * buffer.C: increment format to 233.
3228 2004-04-28 Angus Leeming <leeming@lyx.org>
3230 * BufferView_pimpl.C:
3233 s/updateToolbar()/updateToolbars()/
3234 s/Toolbar.h/Toolbars.h/
3236 2004-04-28 Angus Leeming <leeming@lyx.org>
3238 * BufferView.[Ch] (c-tor):
3239 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3240 No longer passes these data to the WorkArea generator.
3242 2004-04-28 Angus Leeming <leeming@lyx.org>
3244 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3246 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3248 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3250 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3252 * output_latex.C (TeXEnvironment): make sure that there is a line
3253 break before \end{foo} for the last paragraph of a document
3254 (TeXOnePar): if the paragraph is at the end of the document (or
3255 inset) and the language has to be reset, then make sure that the
3256 line break is _before_ the language command, not after (fixes bug
3257 1225); also make sure that the language reset command is the first
3258 thing after the paragraph (to ensure proper nesting of
3259 environments and thus fix bug 1404)
3261 2004-04-21 John Levon <levon@movementarian.org>
3264 * ToolbarBackend.C: make "name" be a programmatic name
3265 and a gui_name field.
3267 * lyxfunc.C: display the minibuffer on M-x
3269 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3271 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3274 2004-04-19 Angus Leeming <leeming@lyx.org>
3276 * BufferView_pimpl.C (setBuffer): changed preview interface.
3278 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3281 2004-04-19 John Levon <levon@movementarian.org>
3283 * BufferView_pimpl.C:
3284 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3286 2004-04-05 Angus Leeming <leeming@lyx.org>
3288 * text.C (redoParagraphs): add call to updateCounters(), thereby
3289 fixing the missing "Figure #:" label from the caption of a
3292 2004-04-13 Angus Leeming <leeming@lyx.org>
3294 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3295 cursor is clicked out of an inset.
3297 2004-04-13 Angus Leeming <leeming@lyx.org>
3299 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3300 than an InsetOld one.
3302 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3304 * format.[Ch]: add editor to Format
3305 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3306 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3308 2004-04-08 André Pönitz <poenitz@gmx.net>
3310 * metricsinfo.h: remove PainterInfo::width member
3312 2004-04-08 Angus Leeming <leeming@lyx.org>
3314 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3315 "\providecommand" rather than "\newcommand", thereby preventing
3316 clashes with packages that define "\boldsymbol" themselves.
3319 2004-04-08 Angus Leeming <leeming@lyx.org>
3321 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3322 thereby squashing an unnecessary warning.
3324 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3326 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3329 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3331 * BufferView.C (setCursor): call redoParagraph (some insets could
3333 (putSelectionAt): remove the 'double update' trick
3335 * BufferView_pimpl.C (fitCursor): call refreshPar
3336 (workAreaDispatch): remove an uneeded update call
3337 (dispatch): remove some manual update calls
3339 * cursor.[Ch]: remove cached_y_, updatePos
3340 (selHandle): set noUpdate when appropriate
3342 * lyxfunc.C (dispatch): track if we need an update
3344 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3346 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3347 (paintSelection): cheap optimization, do not call cursorX when not
3349 (paintPars): change signature
3352 (paintTextInset): adjust
3356 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3358 * lengthcommon.C: compilation fix: remove explicit array size from
3359 unit_name[] and friends
3361 2004-04-05 Angus Leeming <leeming@lyx.org>
3363 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3365 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3366 present only for the preferences dialog.
3367 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3369 2004-04-05 Angus Leeming <leeming@lyx.org>
3371 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3372 to enable the frontends to export changes to lyxrc correctly.
3374 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3376 2004-04-07 André Pönitz <poenitz@gmx.net>
3378 * cursor.[Ch] (selClear, adjust): remove math
3380 * cursor_slice.C: more agressive assert
3383 * BufferView_pimpl.C: rework mouse event dispatch
3390 2004-04-05 André Pönitz <poenitz@gmx.net>
3392 * cursor.[Ch] (valign, halign...): remove unneeded functions
3394 2004-04-05 Angus Leeming <leeming@lyx.org>
3396 * lyxlength.[Ch] (unit_name et al.): const-correct.
3398 2004-04-05 Angus Leeming <leeming@lyx.org>
3400 * BufferView_pimpl.C:
3409 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3411 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3413 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3415 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3417 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3418 * BufferView_pimpl.[Ch] (getStatus)
3419 * BufferView.[Ch] (getStatus): add
3420 * lyxfunc.C (getStatus): move lfuns handled in
3421 BufferView::dispatch to te function above
3422 * Cursor.C (setSelection): set selection() = true
3424 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3426 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3428 2004-03-31 Angus Leeming <leeming@lyx.org>
3430 * lyxfunc.C (dispatch): Fall through to the generic
3431 Dialogs::show("preamble").
3433 2004-03-31 Angus Leeming <leeming@lyx.org>
3435 * lyxfunc.C (dispatch): Fall through to the generic
3436 Dialogs::show("spellchecker").
3438 2004-03-31 Angus Leeming <leeming@lyx.org>
3440 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3443 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3448 * insetiterator.[Ch]:
3453 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3455 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3457 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3458 insets where we are putting the cursor.
3460 2004-03-31 Angus Leeming <leeming@lyx.org>
3463 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3465 * lyxrc.[Ch] (read, write): overloaded member functions taking
3466 a std::[io]stream arguments.
3468 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3470 2004-03-31 Angus Leeming <leeming@lyx.org>
3472 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3473 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3475 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3476 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3478 2004-03-31 Angus Leeming <leeming@lyx.org>
3480 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3481 the LFUN_ALL_INSETS_TOGGLE code.
3483 2004-03-30 Angus Leeming <leeming@lyx.org>
3485 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3486 has died. Fall through to the generic Dialogs::show("document").
3488 2004-03-30 Angus Leeming <leeming@lyx.org>
3491 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3492 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3494 * lyxfunc.C (getStatus, dispatch): define the actions for these
3495 lfuns. Little more than a cut and pste job from ControlDocument.C
3497 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3499 2004-03-30 Angus Leeming <leeming@lyx.org>
3502 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3503 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3505 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3506 open/closed state of ollapsable insets. Usage:
3508 all-inset-toggle <state> <name>, where
3509 <state> == "open" || "closed" || "toggle" and
3510 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3512 * lyxtext.h, text2.C (toggleInset): removed.
3514 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3515 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3516 now passes LFUN_INSET_TOGGLE to the found inset.
3518 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3519 is now invoked as "all-insets-toggle toggle branch".
3521 2004-03-30 Angus Leeming <leeming@lyx.org>
3525 * pariterator.[Ch]: added/corrected header blurb.
3527 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3529 * dociterator.[Ch]: add an inset_ member
3530 (backwardPos): implemented
3531 (backwardPos, forwardPos): use inset_ when the stack is empty.
3532 (doc_iterator_begin, doc_iterator_end): implemented
3533 * pariterator.[Ch]: adjust, add begin, end
3534 * insetiterator.[Ch]: adjust, add begin, end
3538 * BufferView_pimpl.C:
3539 * CutAndPaste.C: adjust
3541 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3543 * buffer.C: increment file format to 232.
3544 * LaTeXFeatures.C: add bibtopic package.
3545 * bufferparams.[Ch]: param \use_bibtopic.
3547 * lyxrc.[Ch]: add lyxrc bibtex_command
3548 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3550 * buffer.C: increment file format to 231.
3552 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3554 * dociterator.C: implement forwardPar
3555 * iterators.[Ch]: remove, replaced by
3556 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3558 * BufferView_pimpl.C:
3561 * bufferview_funcs.C:
3567 * Makefile.am: adjust
3569 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3571 * CutAndPaste.C (pasteSelection): fix 2 crashes
3572 (eraseSelection): fix a crash
3573 * paragraph_funcs.C: remove a warning
3575 2004-03-28 Angus Leeming <leeming@lyx.org>
3578 * LyXAction.C (init): new LFUN_PRINT.
3580 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3582 2004-03-27 Angus Leeming <leeming@lyx.org>
3585 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3587 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3589 2004-03-27 Angus Leeming <leeming@lyx.org>
3591 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3592 insetlist always contains non-null pointers to insets.
3594 2004-03-26 Angus Leeming <leeming@lyx.org>
3596 * src/BufferView_pimpl.C:
3597 * src/CutAndPaste.C:
3600 * src/output_plaintext.C:
3601 * src/outputparams.h:
3602 * src/paragraph_funcs.C:
3606 * src/frontends/controllers/ControlErrorList.C:
3607 * src/frontends/gtk/FileDialogPrivate.C:
3608 * src/frontends/gtk/GPainter.C:
3609 * src/frontends/gtk/GToolbar.C:
3610 * src/frontends/qt2/QRef.C:
3611 * src/mathed/math_scriptinset.C: squash compiler warnings.
3613 2004-03-26 Angus Leeming <leeming@lyx.org>
3615 * ispell.C (LaunchIspell::start):
3616 * lyx_cb.C (AutoSaveBuffer::start):
3617 invoke run(DontWait) rather than runNonBlocking().
3619 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3621 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3623 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3625 * kbsequence.C (print): adjust
3627 * kbmap.C (printKeySym): rename and change signature
3628 (printKey): use LyXKeySym::print()
3630 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3632 * undo.C: add using std::advance to compile for stlport
3634 2004-03-24 Angus Leeming <leeming@lyx.org>
3636 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3637 it leads to a crash when no buffer is present.
3639 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3640 Martin Vermeer <martin.vermeer@hut.fi>
3642 * lyxfunc.C (dispatch):
3643 * bufferparams.C (readToken): use the new LColor::setColor
3645 * LColor.[Ch] (setColor): new version that takes two strings as
3646 argument and creates a new color entry if necessary
3648 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3650 * buffer.C (makeLaTeXFile): if the main latex file that is
3651 processed is usually a subdocument of some master, then pretend
3652 for a while that it is actually the master
3654 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3656 * buffer.C (getLabelList):
3657 (getBibkeyList): use getMasterBuffer()
3658 (getMasterBuffer): new method. Returns the main document in the
3659 case where one is using included documents.
3661 2004-03-25 André Pönitz <poenitz@gmx.net>
3665 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3667 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3669 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3670 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3672 * ParameterStruct.h: merge with ParagraphParameters
3674 * lyxtext.h: remove LyXText::parOffset() and getPar()
3676 * text3.C: Remove all 'manual' update calls. We do now one per user
3677 interaction which is completely sufficient.
3681 * BufferView_pimpl.C:
3682 * FontIterator.[Ch]:
3684 * ParagraphParameters.[Ch]:
3689 * cursor_slice.[Ch]:
3696 * output_docbook.[Ch]:
3697 * output_latex.[Ch]:
3698 * output_linuxdoc.[Ch]:
3699 * output_plaintext.[Ch]:
3701 * paragraph_funcs.[Ch]:
3702 * paragraph_pimpl.[Ch]:
3710 * frontends/controllers/ControlDocument.C:
3711 * frontends/controllers/ControlErrorList.C:
3712 * frontends/controllers/ControlSpellchecker.C:
3715 * insets/insetbase.h:
3716 * insets/insetbibitem.C:
3717 * insets/insetbox.C:
3718 * insets/insetbranch.C:
3719 * insets/insetcaption.C:
3720 * insets/insetcharstyle.C:
3721 * insets/insetcharstyle.h:
3722 * insets/insetcollapsable.C:
3723 * insets/insetcollapsable.h:
3724 * insets/insetert.C:
3725 * insets/insetfloat.C:
3726 * insets/insetfoot.C:
3727 * insets/insetmarginal.C:
3728 * insets/insetnote.C:
3729 * insets/insetoptarg.C:
3730 * insets/insettabular.C:
3731 * insets/insettext.C:
3732 * insets/insettext.h:
3733 * insets/insetwrap.C:
3734 * mathed/math_mboxinset.C:
3735 * mathed/math_nestinset.C:
3736 * mathed/math_scriptinset.C:
3737 * mathed/math_scriptinset.h:
3740 2004-03-24 Angus Leeming <leeming@lyx.org>
3742 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3743 deal with any child processes that have finished but are waiting to
3744 communicate this fact to the rest of LyX.
3746 2004-03-24 Angus Leeming <leeming@lyx.org>
3748 64-bit compile fixes.
3750 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3751 (c-tor): pass lyx::pos_types rather than ints.
3753 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3756 * text.C (Delete): compile fix.
3757 (getPar): ensure that function declaration is the same as that in
3760 2004-03-23 Angus Leeming <leeming@lyx.org>
3762 * ispell.C (LaunchIspell):
3763 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3764 a boost::shred_ptr rather than a std::auto_ptr.
3766 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3768 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3769 handle LFUN_FILE_INSERT_*
3771 * lyxrc.C (setDefaults, getDescription, output, read):
3772 * lyxrc.h: remove ps_command
3774 2004-03-22 Angus Leeming <leeming@lyx.org>
3776 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3777 Ensure that error_handler is processed once only and that all data
3778 is saved before attempting to output any warning messages.
3780 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3782 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3784 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3786 2004-03-19 André Pönitz <poenitz@gmx.net>
3788 * cursor.[Ch] (reset): take main text inset as argument
3790 * BufferView: adjust
3791 * BufferView_pimpl.C: adjust
3793 * paragraph.[Ch]: fix completely broken operator=()
3795 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3797 * LColor.C (getFromLyXName): make sure that the color name is used
3800 2004-03-17 Angus Leeming <leeming@lyx.org>
3803 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3805 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3806 dialog and to kill a forked process.
3808 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3810 * text2.C (setCursorFromCoordinates): fix font problem
3812 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3814 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3815 bogus "rebuild cursor" code
3817 2004-03-11 André Pönitz <poenitz@gmx.net>
3819 * buffer.[Ch]: use InsetText instead of LyXText as container for
3822 * dociterator.[Ch]: drop the BufferView * member which is not needed
3823 anymore after the change to buffer.C
3825 * paragraph_funcs.C:
3829 * BufferView_pimpl.[Ch]:
3831 * cursor_slice.[Ch]: adjust
3833 * text3.C: fix bug in mathDispatch
3835 2004-03-08 André Pönitz <poenitz@gmx.net>
3837 * undo.[Ch]: use 'StableDocumentIterator' as base for
3840 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3843 * bufferparams.[Ch]: add jurabib support and param.
3845 * LaTeX.C: add FIXME/comment.
3847 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3849 * buffer.C: increment file format to 230.
3851 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3853 * cursor.C (dispatch): avoid infinite loops
3855 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3857 * rowpainter.C (paintSelection): fix x coordinates
3859 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3861 * text.C (rowBreakPoint): fix breaking before displayed insets
3863 2004-03-01 André Pönitz <poenitz@gmx.net>
3865 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3867 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3871 * BufferView_pimpl.C:
3879 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3885 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3886 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3888 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3890 * Bidi.[Ch] (computeTables): const correctness
3891 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3892 fill_hfill, fill_label_hfill and x from Row
3893 * lyxtext.h: prepareToPrint returns a RowMetrics
3894 * rowPainter.C: adjust
3895 * text.C (prepareToPrint): use width, not textWidth. adjust
3896 (redoParagraphInternal, cursorX): adjust
3897 * text2.C (getColumnNearX): adjust
3898 (init): put a default value to the top LyXText::width
3900 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3902 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3904 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3906 * lyxtext.h: add FontIterator class
3908 * text.C (FontIterator, operator*, operator->, operator++): add
3909 (rowBreakPoint, setRowWidth): adjust (fixing a
3912 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3914 * BufferView_pimpl.C (workAreaDispatch): allow also
3915 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3917 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3919 * text.C (rowBreakPoint): fix a bug showing with very large insets
3921 2004-02-25 André Pönitz <poenitz@gmx.net>
3924 * cursor.[Ch]: move some mathed specific code to mathed
3926 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3928 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3929 use_tempdir in preferences
3930 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3932 * lyx_main.C: ensure that tempdir is valid
3933 * lyxlex.h: correct typo
3934 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3935 * paragraph.[Ch] (isMultiLingual): make const
3936 * cursor.[Ch] (openable): make const
3938 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3940 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3942 2004-02-20 André Pönitz <poenitz@gmx.net>
3944 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3946 * cursor.[Ch]: prepare for localized getStatus()
3952 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3954 2004-02-20 André Pönitz <poenitz@gmx.net>
3956 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3958 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3960 * text2.C (setCursorFromCoordinates): switch to absolute coords
3962 (cursorDown): adjust
3963 * text3.C (dispatch): adjust
3965 2004-02-16 André Pönitz <poenitz@gmx.net>
3967 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3970 * cursor_slice.[Ch]: remove unneeded acessor function
3972 * lyxtext.h: rename rtl() to isRTL()
3980 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3982 * rowpainter.C (paintSelection): coord fix
3984 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3986 * Spacing.C: compile fix
3988 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3990 * cursor.C (dispatch): restore current_ before returning
3992 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3994 * text2.C (cursorUp, cursorDown): fix coords
3997 2004-02-12 André Pönitz <poenitz@gmx.net>
4002 * text3.C: add LCursor & parameter to most cursor movement functions
4003 remove usage of LyXText::cursorRow() and cursorPar()
4005 * cursor.[Ch]: add textRow() needed members
4008 * BufferView_pimpl.C:
4011 * BufferView_pimpl.C: adjust
4013 2004-02-11 André Pönitz <poenitz@gmx.net>
4017 * BufferView_pimpl.C: shift undo/redo handling
4019 * cursor.[Ch]: fix mathed crash
4022 * lyxtext.h: move selectionAsText to LCursor
4030 * rowpainter.C: fix excessive drawing
4032 2004-02-06 André Pönitz <poenitz@gmx.net>
4035 * BufferView_pimpl.[Ch]:
4036 * text3.C: move some text specific LFUN handling
4038 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
4040 * text3.C (checkInsetHit): adjust coords
4041 * text2.C (getColumnNearX): adjust coords
4042 (edit): adjust coords
4043 * text.C (getRowNearY): add two asserts
4045 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
4048 * format.C: add using std::distance to compile on gcc 2.95/stlport
4050 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
4052 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4054 2004-02-04 André Pönitz <poenitz@gmx.net>
4056 * BufferView.[Ch] (insertInset):
4057 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4062 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4064 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4065 on the default clause of the switch
4066 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4067 wasn't catched by LCursor::dispatch
4069 2004-02-03 André Pönitz <poenitz@gmx.net>
4072 * cursor.[Ch]: some additional asserts
4074 * undo.[Ch]: remove LyXText dependency in interface
4078 * lyxtext.h (firstPar, lastPar): remove dead functions
4083 * paragraph.[Ch]: adjust
4085 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4087 * lyxfind.C (find): fix argument order in call to ::find
4089 2004-02-02 André Pönitz <poenitz@gmx.net>
4091 * cursor.[Ch]: remove direct access to anchor
4093 * text.C: remove findText() hack
4095 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4097 * iterators.[Ch] (lockPath): remove in favour of...
4098 * BufferView.[Ch] (setCursor): this addition
4099 * BufferView.C (putSelectionAt): adjust
4100 * undo.C (performUndoOrRedo): adjust
4101 * lyxfunc.C (dispatch): adjust
4103 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4105 * iterators.C (lockPath): add a missing slice
4106 * undo.C (performUndoOrRedo): remove redundant positioning code
4108 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4110 * vc-backend.C (scanMaster): ";" -> ';'
4112 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4114 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4115 std::binary_function
4117 * lyxtextclass.C (compare_name): rename to...
4118 (LayoutNamesEqual): ...this
4120 * lyxlex_pimpl.C (compare_tags): inherit from
4121 std::binary_function, put back into anon namespace
4123 * lyxfind.C (MatchString): inherig from std::binary_function
4124 (findChange): use empty() istead of !size()
4126 * format.C (FormatNamesEqual): new functor
4133 * converter.C (compare_Converter): rename to...
4134 (ConverterEqual): ...this, and fixup a bit.
4135 (getConverter): use it, and make function const
4136 (getNumber): use it, and make function const
4140 * bufferlist.C: add using boost::bind
4142 * MenuBackend.C (MenuNamesEqual): new functor
4143 (hasMenu): use it, and make function const
4144 (hasSubmenu): use nested bind to get rid of compare_memfun.
4146 2004-01-30 André Pönitz <poenitz@gmx.net>
4148 * BufferView_pimpl.C:
4151 * cursor_slice.[Ch]:
4154 * paragraph_funcs.C:
4155 * paragraph_funcs.h:
4159 * text3.C: move some of the edit(x,y) handling to the insets
4160 some coordinate changes.
4162 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4164 * text.C: add using statements for std::advance and std::distance
4166 * paragraph.C: add using statement for std::distance
4168 * lyxfind.C: add using statement for std::advance
4170 * cursor.C (region): remove std:: from swap
4171 (openable): use nucleus in stead of operator->
4173 * BufferView.C: add using statements for std::distance and std::swap
4175 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4177 * iterators.C: Remove the pimple, move the needed structures to
4178 the header file. Create accessor for the positions stack.
4179 (asPosIterator): remove function
4181 * PosIterator.C (PosIterator): move constructors to top of file
4182 (PosIterator): reimplement the constructor taking a ParIterator in
4184 (setFrom): new function
4185 (operator!=): inline it
4187 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4189 * lyxfind.C (replaceAll): use std::advance
4191 * iterators.h: inherit from std::iterator.
4193 * PosIterator.C (advance, distance): remove
4194 * PosIterator.h: interit from std::iterator.
4196 2004-01-26 André Pönitz <poenitz@gmx.net>
4199 * BufferView_pimpl.[Ch]:
4203 * bufferview_funcs.C:
4213 * output_linuxdoc.C:
4214 * output_plaintext.C:
4216 * paragraph_funcs.[Ch]:
4217 * paragraph_pimpl.[Ch]:
4223 * text3.C: more IU: dumps most of the rest of the mathcursor
4224 implementation into cursor.[Ch]; "globalize" a bit of it.
4226 2004-01-25 Angus Leeming <leeming@lyx.org>
4228 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4230 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4232 * LaTeXFeatures.h: add nice_ and nice() const
4233 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4235 2004-01-20 André Pönitz <poenitz@gmx.net>
4238 * BufferView_pimpl.C:
4240 * bufferview_funcs.C:
4242 * cursor_slice.[Ch]:
4253 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4254 LCursor and mathcursor parts to LCursor and InsetBase.
4256 2004-01-15 André Pönitz <poenitz@gmx.net>
4258 * cursor_slice.[Ch]: add a few covienience functions
4260 * funcrequest.[Ch]: remove BufferView * member
4262 * BufferView_pimpl.C:
4269 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4271 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4273 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4274 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4276 2004-01-13 André Pönitz <poenitz@gmx.net>
4279 * lyxtext.h: hide cursor and selection anchor behind accessor function
4282 * BufferView_pimpl.[Ch]:
4284 * bufferview_funcs.C:
4294 * cursor_slice.[Ch]: some integer type changes for inset unification
4296 * lyxcursor.[hC]: remove, it's CursorSlice now.
4299 * BufferView_pimpl.[Ch]:
4300 * bufferview_funcs.C:
4306 * textcursor.[Ch]: adjust
4308 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4310 * text2.C (undoSpan): add and use
4311 * text.C (breakParagraph): use undoSpan (fix bug 578)
4314 2004-01-08 Angus Leeming <leeming@lyx.org>
4316 * BufferView_pimpl.C (MenuInsertLyXFile):
4317 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4318 * lyxfunc.C (menuNew, open, doImport):
4319 FileFilterList change to the FileDialog open and save functions.
4321 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4323 * ShareContainer.h: make isEqual and isUnique adaptable
4325 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4327 2004-01-07 Angus Leeming <leeming@lyx.org>
4330 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4332 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4334 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4335 functions replacing find, replace and replaceAll.
4337 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4338 LFUN_WORDFIND(FORWARD|BACKWARD).
4340 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4342 * text.C (breakParagraph): remove an outdated #warning
4344 2004-01-07 André Pönitz <poenitz@gmx.net>
4346 * lyxfind.C: somewhat clearer logic
4348 * text.C: prevent crash in cursorX on unitialized row cache
4350 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4352 * lyxcursor.[Ch] (operator>): add
4353 * textcursor.C (selStart, selEnd): use std::min and std::max
4355 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4357 * Chktex.C: include boost/format.hpp
4359 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4361 * InsetList.C: replace functor MathcIt with adaptable functor
4363 (insetIterator): modify accordingly
4365 * BranchList.h: move the BranchNamesEqual functor here from...
4366 * BranchList.C: ... to here
4368 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4370 (add): replace a finding loop with std::find_if.
4372 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4374 * output_docbook.C: moving LatexParam functionality into
4377 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4379 * buffer.C: increment format to 229.
4381 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4384 * lyx_sty.[Ch]: remove minipageindent_def
4390 * text3.C: remove LFUN_INSET_MINIPAGE
4392 2003-12-28 Angus Leeming <leeming@lyx.org>
4394 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4396 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4398 * text2.C (setParagraph): fix off-by-one crash
4400 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4402 * output_docbook.C: header stuff for AGU
4404 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4406 * text2.C (redoCursor): remove
4409 * BufferView_pimpl.C: remove calls to redoCursor and
4410 setCursor(cursor.par(), cursor.pos()) all around
4412 2003-12-15 Angus Leeming <leeming@lyx.org>
4414 * buffer.C: up the format to 228.
4416 2003-12-15 André Pönitz <poenitz@gmx.net>
4418 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4423 * BufferView_pimpl.C:
4432 2003-12-15 Angus Leeming <leeming@lyx.org>
4434 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4435 than getFromGUIName to manipulate the color.
4437 2003-12-14 Angus Leeming <leeming@lyx.org>
4439 * BranchList.[Ch]: minimize the API.
4440 (Branch::getBranch, getColor): now return a 'const &'.
4441 (Branch::setSelected) now returns a bool set to true if the
4442 selection status changes.
4443 (BranchList::clear, size, getColor, setColor, setSelected,
4444 allBranches, allSelected, separator): removed.
4445 (BranchList::find): new functions, returning the Branch with
4447 (BranchList::add, remove): return a bool indicating that
4448 the operation was successful.
4450 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4451 new InsetBranch::isBranchSlected member function.
4453 * LColor.[Ch]: mimimize the API.
4454 (fill): renamed as addColor and made private.
4455 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4456 versions of these functions taking a string arg have been removed.
4458 * bufferparams.C (readToken):
4459 * lyxfunc.C (dispatch):
4460 * lyxrc.C (read): changes due to the altered BranchList and
4463 * factory.C (createInset, readInset): changes due to altered
4466 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4469 * lyxfunc.C: remove insetminipage. "minipage-insert"
4470 now produces a frameless minipage box inset.
4472 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4474 * textcursor.[Ch] (selStart,selEnd): add new methods
4475 remove selection::start, end, use LyXCursor::operator<
4476 * lyxcursor.[Ch] (operator<): add
4477 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4478 * BufferView.[Ch] (unsetXSel): add
4479 * text2.C (clearSelection): use unsetXSel,adjust
4482 * rowpainter.C: adjust
4483 * bufferview_funcs.C (put_selection_at): adjust
4485 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4487 * BufferView_pimpl.C: small coord. correction
4489 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4491 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4492 dragging over the splash screen.
4494 2003-12-11 Angus Leeming <leeming@lyx.org>
4496 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4497 as it is now handled in LyXText::dispatch.
4499 * text3.C (doInsertInset): remove a level of nesting.
4501 2003-12-11 Angus Leeming <leeming@lyx.org>
4503 * factory.C (createInset): changes due to the changed interface to
4504 InsetCommandMailer::string2params.
4506 2003-12-10 Angus Leeming <leeming@lyx.org>
4508 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4509 'dialog-show-new-inset <inset name>'
4511 2003-12-10 Angus Leeming <leeming@lyx.org>
4513 * buffer.C: up the format to 227.
4515 * factory.C: the box inset is now identified simply by 'Box'.
4517 2003-12-10 Angus Leeming <leeming@lyx.org>
4519 * buffer.C: up the format to 226.
4521 * factory.C: the note inset is now identified simply by 'Note'.
4523 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4525 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4526 when a pit is enough. Standarize a couple of loops.
4528 2003-12-05 Angus Leeming <leeming@lyx.org>
4530 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4531 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4532 data to the re-worked "log" dialog.
4534 2003-12-03 André Pönitz <poenitz@gmx.net>
4540 * paragraph_funcs.C:
4542 * text2.C: use Inset::getText instead of Inset::getParagraph
4544 2003-12-03 André Pönitz <poenitz@gmx.net>
4548 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4549 InsetText::read() as LyXText::read()
4551 2003-12-02 Angus Leeming <leeming@lyx.org>
4553 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4554 type. Add a comment in the implementation that the function uses
4555 the stream's bad() function rather than fail() as the std::streams
4558 2003-12-02 André Pönitz <poenitz@gmx.net>
4560 * lyxlex.[Ch]: make interface more similar to std::stream
4562 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4564 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4566 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4568 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4570 * vspace.[Ch]: remove VSpace::NONE
4572 2003-12-01 André Pönitz <poenitz@gmx.net>
4575 * lyxtext.h: move ParagraphList member to LyXText
4576 rename LyXText::ownerParagraphs to LyXText::paragraph
4579 * bufferview_funcs.C:
4589 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4591 * undo.C: fix cursor positioning
4593 2003-12-01 John Levon <levon@movementarian.org>
4595 * BufferView_pimpl.C: fix a crash on exit with
4598 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4600 * BranchList.C: fix setSelected() method.
4602 2003-11-28 André Pönitz <poenitz@gmx.net>
4604 * ParagraphParameters.[Ch]:
4605 * ParameterStruct.h: remove space above/below from Paragraph to
4608 * BufferView_pimpl.C:
4614 * paragraph_funcs.C:
4620 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4622 * factory.C: Syntax change for CharStyles
4624 2003-11-28 André Pönitz <poenitz@gmx.net>
4629 * buffer.[Ch]: move LyXText member
4631 2003-11-28 André Pönitz <poenitz@gmx.net>
4633 * BufferView.[Ch]: make LyXText * text a private member
4635 * BufferView_pimpl.C:
4646 * output_plaintext.C: cleanup
4648 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4651 * lyxtextclass.[Ch]: parametrize SGML document header
4653 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4656 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4659 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4661 * text2.C (setFont): rework using PosIterator (no more recursive)
4662 (setCharFont): no more needed
4663 (setLayout): no more selection cursors fiddling (done by redoCursor)
4664 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4665 destroy remaining ones)
4667 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4669 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4671 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4674 * text3.C: adjust + re-allow multi par depth changes
4675 * textcursor.C: simplify a bit
4677 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4683 * src/output_docbook.C:
4684 * src/output_latex.C:
4689 * src/text2.C: Introducing a number of tags parametrizing various
4690 XML formats that we may want to support
4692 2003-11-25 André Pönitz <poenitz@gmx.net>
4694 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4696 * lyxtext.h (leftMargin/rightMargin): simplify interface
4703 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4705 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4706 master file to any child files. Fixes bug 546.
4708 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4710 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4712 2003-11-24 André Pönitz <poenitz@gmx.net>
4714 * rowpainter.C: simplification
4716 * text2.C (updateCounters): remove call to redoParagraph on
4717 changed labels as this is far too expensive.
4719 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4721 * converter.C (convert): fix a crash: this function gets
4722 called with buffer == 0 from importer code.
4724 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4726 * text3.C (cursorPrevious): make sure that we do not compare
4727 iterators form different containers.
4730 * rowpainter.C (paintSelection): make sure that we do not compare
4731 iterators from different containers.
4733 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4734 iterators from different ParagraphList containers.
4737 * text2.C (LyXText): change order of initialization slightly
4738 (operator=): new function. copy all variables except cache_par_
4739 (moveUp): make sure that we do not compare iterators from
4740 different ParagraphList constainers.
4743 * text.C (firstPar): new function
4744 (lastPar): new function
4745 (endPar): new function
4747 * lyxtext.h: move things around and group public functions, public
4748 variables, private functions, private variables
4750 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4752 * factory.C: change call to InsetERT constructor to avoid
4753 additional invocation of method status
4754 * text2.C (toggleInset): remove redundant update() call
4755 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4756 instead of a Bufferview pointer
4758 2003-11-21 André Pönitz <poenitz@gmx.net>
4760 * rowpainter.C: simplification
4762 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4764 * text3.C (dispatch): make possible to extend a word/row selection
4767 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4769 * lyxtext.h: x0_,y0_ -> xo_,yo_
4770 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4771 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4772 * rowpainter.C (paintRows): paint full paragraphs
4774 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4776 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4779 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4781 * lyxtext.h: add x0_, y0_
4782 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4783 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4785 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4787 * text2.C (setCursorIntern): move the x_target update here *
4788 * text3.C: change some bv() to true/false in calls to
4789 cursorUp/Down/Right/Left
4790 * cursor.C: use helper function.
4792 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4794 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4795 * paragraph_funcs.[Ch]: correct comment
4796 * rowpainter.C: do not paint selections away from bv->cursor()
4797 Fix a long standing selection painting bug.
4798 * text3.C: generalize mouse-selection code to LyXTexts other that
4800 * textcursor.C: do not use y coords if we can use par offsets
4802 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4804 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4805 cursor position after e.g. inset insert)
4807 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4809 * lyxfind.C (replace): adjust to locking removal + some
4812 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4814 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4817 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4820 * output_docbook.C: XML sanitation: new layout
4821 parameters InnerTag and CommandDepth
4823 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4825 * BufferView_pimpl.C:
4827 * text3.C: Fix the insertion and modification of button-style
4830 2003-11-13 André Pönitz <poenitz@gmx.net>
4832 * InsetList.[Ch]: remove deleteLyXText
4834 * paragraph.[Ch]: cache beginOfBody position
4839 * text3.C: remove superfluous update() calls
4843 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4845 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4846 * BufferView.C (fitLockedInsetCursor): remove
4847 * cursor.[Ch] (getDim): add
4848 * text.C (getRowNearY): add faster version
4849 * text3.C: remove some update calls
4851 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4863 * text3.C: The Character Style /XML short element patch.
4865 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4868 * factory.C: Small step to solving 'unable to insert some insets'
4871 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4873 * cursor.[Ch] (updatePos): new function for updating the y
4874 position of the tip inset
4875 * bufferview_funcs.C (put_selection_at):
4876 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4878 2003-11-11 André Pönitz <poenitz@gmx.net>
4880 * text.C: remove big comment on invalid Paragraph pointers as it is
4883 2003-11-11 André Pönitz <poenitz@gmx.net>
4885 * text_funcs.[Ch]: merge with ...
4893 * Makefile.am: remove text_funcs.[Ch]
4895 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4897 * cursor.C (getPos): return absolute cached y coord
4899 * BufferView_pimpl.C (fitCursor): new simplistic code
4900 (workAreaDispatch): add a fitCursor call
4902 2003-11-10 André Pönitz <poenitz@gmx.net>
4905 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4907 2003-11-10 André Pönitz <poenitz@gmx.net>
4909 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4910 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4911 indicate that the cursor needs to leave an inset
4913 * lyxtext.h: remove inset locking
4915 * cursor.[Ch]: re-implement functionality provided by inset locking
4918 * BufferView_pimpl.[Ch]:
4920 * bufferview_funcs.[Ch]:
4932 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4934 * PosIterator.[Ch]: replace the stack with a vector, add inset
4936 * iterators.[C]: adjust
4938 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4940 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4942 * paragraph_funcs.C (readParToken): put the correct id in the
4943 error item, not the id of the top paragraph
4945 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4947 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4948 * bufferview_funcs.C (put_selection_at): use the above
4950 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4952 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4954 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4956 * output_linuxdoc.h:
4957 * output_plaintext.h:
4959 * output_docbook.h: add #include statements
4961 2003-11-05 José Matos <jamatos@lyx.org>
4963 * output_docbook.[Ch]:
4964 * output_latex.[Ch]:
4965 * output_linuxdoc.[Ch]:
4966 * output_plaintext.[Ch]: New files for output formats.
4967 * output.[Ch]: New file for helper functions.
4970 * paragraph_funcs.[Ch]: output functions moved to new files.
4972 * outputparams.h: rename of latexrunparams.h
4980 * paragraph_funcs.[Ch]:
4981 * paragraph_pimpl.[Ch]:
4982 * tabular.[Ch]: rename ascii to plaintext
4983 and LatexRunParams to OutputParams.
4985 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4987 * iterators.[Ch] (text): require bv argument
4988 * undo.C (recordUndo):
4989 * lyxfunc.C (dispatch):
4990 * bufferview_funcs.C (put_selection_at): adjust
4992 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4994 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4996 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4998 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5001 2003-11-04 André Pönitz <poenitz@gmx.net>
5003 * cursor.[Ch]: restructure
5006 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5008 * iterators.[Ch] (asCursor): remove
5010 * lfuns.h: remove LFUN_INSET_EDIT
5016 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5018 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5020 * lyxfind.[Ch]: complete overhaul
5021 * BufferView_pimpl.C:
5023 * paragraph.[Ch] (insert): add
5025 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5029 * text.C: remove dead spellcheck code
5031 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5033 * dispatchresult.h: add a val setter
5035 * cursor.C (dispatch): use a tempvar for data_[i]
5037 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5039 * PosIterator.[Ch]: compile fix
5041 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5043 * text.C (cursorPar): deactivate the cursor cache
5045 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5047 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5049 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5051 * text3.C (dispatch): adjust for new DisptchResult semantics.
5053 * lyxfunc.C (dispatch): handle update when return from
5054 Cursor::dispatch, adjust for new DispatchResult semantics.
5056 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5057 DispatchResult(true) mean to not update. Add class functions for
5058 setting dispatched and update, as well as reading.
5060 * cursor.C (dispatch): don't handle update here
5062 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5064 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5065 * trans_mgr.C: adjust
5067 * paragraph_funcs.C (readParToken): exception safety
5069 * lyxvc.h: store the vcs pointer in a scoped_ptr
5072 * lyxsocket.C (serverCallback): exception safety
5074 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5076 * ispell.C (clone): make it return a auto_ptr
5078 * factory.C (createInset): exception safety
5079 (readInset): exception safety
5081 * bufferlist.C (newBuffer): exception safety
5083 * Thesaurus.C (Thesaurus): use initialization for aik_
5085 * MenuBackend.C (expandToc): exception safety.
5087 2003-11-03 André Pönitz <poenitz@gmx.net>
5091 * bufferview_funcs.C: remove getInsetFromId()
5094 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5100 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5102 * PosIterator.C (distance, advance): new
5103 * bufferview_funcs.[Ch] (put_selection_at): new
5104 * iterators.[Ch] (lockPath): new
5106 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
5108 * iterators.[Ch] (asPosIterator): added
5109 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5110 * PosIterator.[Ch]: added
5112 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5116 * cursor.C (dispatch):
5117 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5119 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5120 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5121 contructor, add a class function dispatched. Remove operator>=
5123 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5125 * debug.C: only use the default constructor for debugstream
5128 * main.C (main): include debug.h and setup the lyxerr streambuf
5131 2003-10-31 José Matos <jamatos@lyx.org>
5133 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5135 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5136 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5137 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5138 * paragraph_pimpl.C (simpleTeXSpecialC):
5139 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5140 add LatexRunParams argument.
5142 * exporter.C (Export): change call accordingly.
5144 * latexrunparams.h: add new member to take care of the other backends.
5145 2003-10-30 José Matos <jamatos@lyx.org>
5147 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5148 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5149 factorise code for paragraph output.
5151 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5154 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5156 * text3.C (dispatch):
5157 * lyxfunc.C (dispatch):
5158 * cursor.C (dispatch):
5159 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5161 * dispatchresult.h: make the dispatch_result_t ctor explicit
5163 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5166 * buffer.C: small refactoring of docbook stuff
5168 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5170 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5173 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5175 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5176 operator dispatch_result_t, and operators for == != and >=
5178 * cursor.C (dispatch): adjust for operator dispatch_result_t
5179 removal. comment out call to update
5181 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5183 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5191 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5194 * dispatchresult.h: new file, DispatchResult broken out of
5197 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5199 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5201 * text.C (rowBreakPoint): put a hack inside #if 0
5203 2003-10-28 André Pönitz <poenitz@gmx.net>
5207 * paragraph_funcs.C:
5210 * text2.C: general cleanup (lots of small stuff)
5212 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5214 * text2.C (cursorEnd): simple fix to the "end key goes to one
5215 before the end on last row" bug
5217 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5219 * text.C (backspace): fix the "zombie characters"
5221 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5223 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5225 2003-10-27 André Pönitz <poenitz@gmx.net>
5227 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5229 * factory.C: handle new InsetPagebreak, InsetLine
5231 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5232 and move handling into new InsetPagebreak, InsetLine
5234 * BufferView_pimpl.C:
5236 * ParagraphParameters.C:
5237 * ParameterStruct.h:
5242 * paragraph_funcs.C:
5243 * paragraph_pimpl.C:
5249 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5252 * lyxrow_funcs.[Ch]:
5258 * text3.C: remove lastPos uses in favour of Row::endpos
5260 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5262 * undo.C (performUndoOrRedo): fix two crashes by setting a
5263 cursor by hand and reordering some calls. Use bv->lockInset instead
5264 of inset->edit because the latter loses cursor information
5266 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5268 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5270 (rowBreakPoint): fix width. change point to point + 1.
5271 Add a missing check.
5273 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5276 * lyxfunc.C: fix (at least partly) the problems
5277 with the Nav menu and headers inside branch insets
5280 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5282 * paragraph.C (getChar): add strong asserts
5284 * lyxrow_funcs.C (lastPos): remove hideous hack
5286 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5287 (fill): adjust to that (avoid an infinite loop)
5289 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5291 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5293 2003-10-23 André Pönitz <poenitz@gmx.net>
5295 * RowList_fwd.h: change list<> to vector<> to gain speed
5296 after suggestion from Alfredo
5298 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5300 * lyxtext.h: move the bidi stuff from here...
5303 * Bidi.[Ch]: ... to here
5305 2003-10-23 André Pönitz <poenitz@gmx.net>
5308 * text.C (isLastRow, isFirstRow): new functions
5310 * paragraph.h: new width cache member
5312 * rowpainter.C: replace RowList::iterator with Row & where possible
5314 * lyxfunc.C: replace several view()->text with a single call
5316 * toc.C: fix 'unused' warning
5318 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5320 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5321 when woring with stream::pos_type
5322 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5324 2003-10-22 André Pönitz <poenitz@gmx.net>
5327 * text.C: use Row & instead of RowList::iterator
5329 * lyxrow.h: rename end() to endpos()
5335 2003-10-22 Angus Leeming <leeming@lyx.org>
5337 * buffer.[Ch] (fully_loaded): new member function, returning true
5338 only when the file has been loaded fully.
5339 Used to prevent the premature generation of previews and by the
5340 citation inset to prevent computation of the natbib-style label.
5342 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5343 templates are all set up.
5345 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5347 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5349 * text.C: fixed an "oops" in the "is a bit silly"
5352 2003-10-21 André Pönitz <poenitz@gmx.net>
5354 * FuncStatus.[Ch]: small stuff, whitespace
5356 * lyxfont.[Ch]: operator<<() for debug reasons
5360 * lyxtext.h: whitespace, spelling
5362 * paragraph.C: naming of variables
5365 * text2.C: small stuff
5368 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5370 * text.C: (1) finish off the inset display() work;
5371 (2) fix the "is a bit silly" bug (accessing char
5374 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5376 * text.C: re-introduce display() for insets, fixing the
5377 various bugs (stretch of line above, math inset
5380 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5382 * text.C (rightMargin): remove spurious semicolon
5384 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5387 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5389 * text3.C: fix one crash due to wrong cursor def
5391 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5393 * vc-backend.C (scanMaster): make the regex static
5395 * LaTeX.C (scanAuxFile): make the regexs static
5397 * text3.C (doInsertInset, dispatch, dispatch):
5398 * text2.C (cursorUp, cursorDown):
5399 * text.C (selectNextWordToSpellcheck):
5400 * BufferView_pimpl.C (dispatch):
5401 * lyxfunc.C (dispatch): localDispatch -> dispatch
5403 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5405 * lyxsocket.C: include <cerrno>
5407 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5409 * lyxfunc.C (dispatch): remove textcache stuff
5411 * bufferlist.C (release): remove textcache stuff
5414 * TextCache.C: delete file
5415 * TextCache.h: delete file
5417 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5419 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5420 delete of the bv_->text.
5421 (resizeCurrentBuffer): remove texcache stuff
5422 (workAreaResize): ditto
5424 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5426 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5429 2003-10-16 André Pönitz <poenitz@gmx.net>
5436 * text3.C: speed up by storing y positions per paragraph plus per-row
5437 offset instead of having a 'full' y position in the row.
5439 2003-10-15 André Pönitz <poenitz@gmx.net>
5443 * undo.[Ch]: make undo aware of inner insets
5445 2003-10-14 Angus Leeming <leeming@lyx.org>
5447 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5448 static member functions LyX::ref() and LyX::cref.
5449 (lastfiles): new accessor functions for the new lastfiles_ member var.
5450 (addLyXView, views_): add a new LyXView to the list of views_.
5451 (updateInset): loop over all LyXViews to call their own updateInset
5452 member function, returning a pointer to the Buffer owning the inset.
5454 * BufferView_pimpl.C (loadLyXFile):
5455 * MenuBackend.C (expandLastfiles):
5456 * bufferlist.C (MenuWrite, QuitLyX):
5457 lastfiles is no longer a global variable.
5458 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5460 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5461 static function. Access through LyX::cref().emergencyCleanup().
5463 2003-10-14 André Pönitz <poenitz@gmx.net>
5465 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5467 * undo.[Ch]: restoring part of 'undo in insets'
5470 * undo_funcs.[Ch]: merge with undo.[Ch]
5472 * tabular.C: small cleansing stuff
5474 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5476 * paragraph_funcs.C (readParToken): report unknown insets as error
5477 boxes. Use the outer paragraph as location (also for unknown
5480 * factory.C (readInset): do not abort on reading an unknown inset.
5481 Eat it and return 0.
5483 2003-10-13 Angus Leeming <leeming@lyx.org>
5485 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5487 * lyxrc.C: displayTranslator is now a function,
5488 declared in GraphicsTypes.h.
5490 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5492 * format.C: new placeholder $$a to pass the socket address.
5494 * bufferlist.[Ch]: new function getBufferFromTmp.
5496 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5497 files in the temporary dir.
5499 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5501 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5503 * Makefile.am: add lyxsocket.[Ch].
5505 * lyx_main.C (error_handler): handle SIGPIPE.
5507 2003-10-13 André Pönitz <poenitz@gmx.net>
5509 * BufferView_pimpl.C:
5514 * undo_funcs.[Ch]: use paroffset_type instead of
5515 ParagraphList::iterators to prevent multiple conversion
5516 (and get a more robust interface)
5518 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5520 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5522 * text3.C (dispatch): ditto
5524 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5526 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5527 move the onlyfile, use onlyfile instead of foundfile in a couple
5530 * DepTable.C (update): flush the error stream a bit more
5532 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5534 * lyxserver.C (callback): adjust
5536 * lyxfunc.C (getStatus): add a missing brace in commented code
5537 (ensureBufferClean): reindent
5538 (dispatch): delete version taking a string
5540 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5542 * LaTeX.C (deplog): move found file handlig from here...
5543 (handleFoundFile): .. to new function here.
5544 (deplog): make sure to discover several files mentioned on the
5547 2003-10-10 André Pönitz <poenitz@gmx.net>
5554 * text3.C: fix some of the tabular crashes
5556 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5558 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5560 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5562 2003-10-09 André Pönitz <poenitz@gmx.net>
5564 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5567 * BufferView_pimpl.C:
5568 * bufferview_funcs.C:
5579 * undo_funcs.C: adjust
5581 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5583 * text2.C (incrementItemDepth): new function, use a backtracking
5584 algorithm to discover the correct item depth.
5585 (resetEnumCounterIfNeeded): new function, use a backtracking
5586 algorithm to discover if counter reset is needed.
5587 (setCounter): use them. Simplify a bit. Add different labels for
5588 different item depths for itemize.
5590 * paragraph.C (Paragraph): remove initialization of enumdepth
5593 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5594 enumerate and itemize. Change the type of itemdepth to signed char.
5596 2003-10-08 André Pönitz <poenitz@gmx.net>
5598 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5603 * tabular.[Ch]: fix crash after 'row-insert'
5605 2003-10-08 Angus Leeming <leeming@lyx.org>
5607 Fix doxygen warnings.
5609 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5610 Remove CutAndPaste:: prefix from header file declaration.
5612 * LColor.h (fill): remove LColor:: prefix from declaration.
5614 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5615 use lyx::depth_type rather than Paragraph::depth_type so that
5616 header file and .C file match.
5618 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5620 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5621 * aspell.C: \file aspell_local.C -> \file aspell.C
5622 * gettext.C: \file gettext.C -> \file src/gettext.C
5623 * gettext.h: \file gettext.h -> \file src/gettext.h
5624 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5625 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5626 * text.C: \file text.C -> \file src/text.C
5628 * toc.C: move comment so that doxygen is not confused.
5630 2003-10-07 Angus Leeming <leeming@lyx.org>
5632 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5634 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5637 * aspell_local.h: add forgotten std::string's.
5639 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5646 * text3.C: The Box patch. Fancybox support, minipage, parbox
5648 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5654 * ParagraphParameters.h:
5664 * lyxtextclasslist.h:
5667 * paragraph_pimpl.C:
5668 * textcursor.h: add <string> and other small fixes to make Lars'
5669 std::string patch compile with STLport.
5671 2003-10-06 Angus Leeming <leeming@lyx.org>
5673 * LColor.h: Add missing #include <string>.
5675 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5677 * All most all file in all subdirs: Make <string> be the prefered
5678 way of getting to std::string, add using declarations.
5680 2003-10-06 André Pönitz <poenitz@gmx.net>
5682 * metricsinfo.C: initialize LyXFont before changing attribute.
5683 (fixes the 'math in \emph is upright' bug)
5685 2003-10-06 André Pönitz <poenitz@gmx.net>
5687 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5689 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5692 * paragraph_pimpl.C: Small fixes to build using STLport
5694 2003-10-02 André Pönitz <poenitz@gmx.net>
5697 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5699 2003-10-01 André Pönitz <poenitz@gmx.net>
5701 * factory.C: assert early
5703 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5705 * lyx_main.C: remove the global debug object
5707 * debug.h: adjust for new debugstream
5709 * debug.C: adjust for new debugstream and keep the global debug
5712 2003-09-22 Angus Leeming <leeming@lyx.org>
5714 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5715 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5716 an incomplete class LyXFont.
5718 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5720 * factory.C: bug fix in branches
5722 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5724 * lyxfunc.C (processKeySym): adjust
5726 (dispatch): change arg name from ev to func, adjust
5727 (sendDispatchMessage): ditto
5729 * lyx_main.C (defaultKeyBindings): adjust keybindings
5730 (deadKeyBindings): ditto
5732 * kbsequence.C (addkey): return a FuncRequest
5734 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5736 * kbmap.C (bind): take a FuncRequest as arg, adjust
5739 (defkey): change to take a FuncRequest as arg, adjust
5740 (findbinding): take a FuncRequest as arg, adjust.
5742 * funcrequest.h (operator=): added
5744 * funcrequest.C (FuncRequest): default kb_action changed from
5745 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5747 * buffer.C (dispatch): simplify
5748 (dispatch): adjust to take a FuncRequest as arg, adjust
5750 * boost.C (assertion_failed): change assertion message slightly
5752 * ToolbarBackend.C (read): simplify
5754 * MenuBackend.C (binding): adjust call to findbinding, add a
5755 message if no binding is found.
5757 (expandToc): correct by adding a empty FuncRequest
5759 * LyXAction.C: include <boost/assert.hpp>
5760 (isPseudoAction): delete function
5761 (LookupFunc): change name to...
5762 (lookupFunc): this. change return type to FuncRequest.
5763 (getActionName): take kb_action as arg, simplify
5764 (funcHasFlag): add an assert, simplify.
5766 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5768 * toc.C (action): return a FuncRequest, simplify
5770 * lyxfunc.C (processKeySym): adjust
5771 (getStatus): delete version that takes an int.
5773 (dispatch): delete version that takes action as int
5775 (sendDispatchMessage): simplify and adjust
5777 * funcrequest.C (getArg): take unsigned int as arg
5779 * ToolbarBackend.C (read): adjust
5780 (add): delete version that takes func as a string.
5781 (getIton): take a FuncRequest as arg
5783 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5786 * MenuBackend.C (MenuItem): add a new construct that only takes a
5787 Kind, simplify the constructor use for submenus.
5789 (expandLastfiles): adjust
5790 (expandDocuments): adjust
5791 (expandFormats): adjust
5792 (expandFloatListInsert): adjust
5793 (expandFloatInsert): adjust
5794 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5796 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5797 Remove class variables lyx_pseudo_map and lyx_arg_map
5799 * LyXAction.C (searchActionArg): delete function
5800 (getPseudoAction): delete function
5801 (retrieveActionArg): delete function
5802 (LookupFunc): make it return kb_action, simplify.
5803 (getActionName): simplify
5805 * factory.C (createInset): fix new bug
5807 2003-09-19 Angus Leeming <leeming@lyx.org>
5809 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5810 masterFilename_ parameter in the include inset.
5812 * factory.C (createInset): changes due to the changes to InsetInclude.
5814 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5816 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5818 2003-09-18 Angus Leeming <leeming@lyx.org>
5821 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5822 Inset::fillWithBibKeys.
5823 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5825 2003-09-18 Angus Leeming <leeming@lyx.org>
5827 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5829 (ctor): pass and store a 'Buffer const &'
5830 (buffer): new member function.
5832 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5833 '*this' to the LaTeXFeatures ctor.
5835 2003-09-18 Angus Leeming <leeming@lyx.org>
5841 * text.C: rename EnumLColor as LColor_color.
5843 2003-09-18 Angus Leeming <leeming@lyx.org>
5845 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5846 remove #include "insets/insetbase.h" from cursor.h.
5848 2003-09-18 Angus Leeming <leeming@lyx.org>
5850 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5851 InsetOld_code to remove #include "inset.h".
5853 * iterators.C: add #include "insets/inset.h"
5855 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5857 * BufferView.C: remove more locking stuff that apparently doesn't
5858 do anything sensible.
5860 2003-09-16 André Pönitz <poenitz@gmx.net>
5863 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5866 2003-09-16 Angus Leeming <leeming@lyx.org>
5868 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5870 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5873 * paragraph.h: remove #include "lyxfont.h". Forward declare
5876 2003-09-16 Angus Leeming <leeming@lyx.org>
5878 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5879 of support/textutils.h.
5880 (isWord): move the contents of support/textutils.h's IsWordChar here.
5886 * text2.C: add #include "paragraph.h".
5889 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5891 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5897 * LaTeX.C: use namespace alias for lyx::support::os
5899 2003-09-16 Angus Leeming <leeming@lyx.org>
5902 * bufferview_funcs.C:
5905 * paragraph_pimpl.C:
5907 * text.C: add #include "LColor.h".
5909 2003-09-16 Angus Leeming <leeming@lyx.org>
5911 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5912 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5914 Store the FontBits::color variable as an int rather than as an
5915 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5918 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5919 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5920 string calls together.
5922 * lyxrc.C: add #include "LColor.h".
5924 2003-09-15 Angus Leeming <leeming@lyx.org>
5926 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5929 2003-09-15 Angus Leeming <leeming@lyx.org>
5931 * LColor.h: add an EnumLColor wrapper for LColor::color.
5933 * lyxfont.[Ch] (color, setColor, realColor):
5934 * lyxtext.h, text.C (backgroundColor):
5935 pass EnumLColor args to/from the functions, rather than LColor::color
5939 * lyxtext.h: forward declare EnumLColor.
5941 * lyx_main.C: add #include "LColor.h".
5943 2003-09-15 Angus Leeming <leeming@lyx.org>
5945 * .cvsignore: add lyx-gtk.
5947 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5952 * ParagraphParameters.C
5956 * bufferview_funcs.C
5966 * vc-backend.C: remove usage of STRCONV
5968 2003-09-15 Angus Leeming <leeming@lyx.org>
5970 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5971 explicitly define the color passed to the painter.
5973 2003-09-15 Angus Leeming <leeming@lyx.org>
5975 * bufferparams.C (BufferParams): reorder member initializers to avoid
5978 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5980 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5981 * text.C (updateRowPositions): remove an unusual nop
5983 2003-09-12 André Pönitz <poenitz@gmx.net>
5985 * BufferView_pimpl.C:
5994 * Counters.[Ch]: finish the 'automatic counters' job
5996 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5998 * aspell.C: include <boost/assert.cpp> (compile fix)
6000 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
6002 * boost.C (assertion_failed): use lyx::support::abort instead of
6005 2003-09-10 Angus Leeming <leeming@lyx.org>
6007 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6008 with their _fwd progeny.
6010 2003-09-09 Angus Leeming <leeming@lyx.org>
6012 134 files throughtout the source tree: replace 'using namespace abc;'
6013 directives with the appropriate 'using abc::xyz;' declarations.
6015 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
6017 * boost.C (emergencyCleanup): moved here from LAssert.c
6018 (assertion_failed): new function, called by BOOST_ASSERT
6020 * several files: change Assert to BOOST_ASSERT
6022 2003-09-09 Angus Leeming <leeming@lyx.org>
6024 * buffer.[Ch]: Add an Impl class and move Buffer's member
6025 variables into it. As a result move several header files out of
6028 Add header files to lots of .C files all over the tree as a result.
6030 2003-09-09 Angus Leeming <leeming@lyx.org>
6032 * buffer.[Ch]: make Buffer's member variables private. Add
6035 Lots of changes all over the tree as a result.
6037 2003-09-08 Angus Leeming <leeming@lyx.org>
6039 * graph.C: #include <config.h>.
6041 2003-09-08 Angus Leeming <leeming@lyx.org>
6045 * BufferView_pimpl.C:
6074 * toc.C: remove redundant using directives.
6076 2003-09-07 Angus Leeming <leeming@lyx.org>
6078 * LaTeXFeatures.h: remove #include "support/types.h".
6079 * ToolbarBackend.h: remove #include <algorithm>.
6080 * changes.h: remove #include <ctime>.
6081 * debug.h: remove #include <iosfwd>.
6082 * graph.h: remove #include "support/std_string.h".
6083 * lyx_main.h: remove #include <csignal>.
6084 * lyxlex_pimpl.h: remove #include <fstream>.
6085 * sgml.h: remove #include <algorithm>, <utility>.
6086 * toc.h: remove #include "support/std_ostream.h".
6087 Add #include <iosfwd>.
6089 2003-09-07 Angus Leeming <leeming@lyx.org>
6091 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6093 * converter.h: forward declare LatexRunParams.
6094 * encoding.h: remove #include "lyxrc.h".
6095 * lyxtext.h: remove #include "LColor.h".
6096 * lyxtextclass.h: remove #include "support/types.h".
6097 * trans.h: remove #include "tex-accent.h".
6098 * trans_mgr.h: remove #include "tex-accent.h".
6099 * insets/inset.h: remove #include "support/types.h", <vector>.
6100 * insets/insetcollapsable.h: remove #include "LColor.h".
6101 * insets/insetinclude.h: remove #include "dimension.h".
6102 * insets/insetlatexaccent.h: remove #include "dimension.h".
6103 * insets/insetoptarg.h:: remove #include "insettext.h".
6104 * insets/insettext.h: remove #include "dimension.h",
6105 <boost/shared_ptr.hpp>
6107 * insets/renderers.h: add #include "dimension.h".
6108 * insets/updatableinset.h: add #include "support/types.h".
6110 * many .C files: Associated changes.
6112 2003-09-06 Angus Leeming <leeming@lyx.org>
6114 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6115 one, inside testInvariant.
6117 * PrinterParams.C: new file.
6118 * PrinterParams.[Ch]: move the function bodies out of line.
6120 2003-09-06 Angus Leeming <leeming@lyx.org>
6122 * ParagraphParameters.h: forward declare ParameterStruct rather than
6123 including its header file.
6124 (depth): moved out-of-line.
6126 2003-09-06 Angus Leeming <leeming@lyx.org>
6128 * BufferView_pimpl.h:
6131 * lyxfunc.h: forward declare LyXKeySym rather than
6132 #include "frontends/LyXKeySym.h".
6134 * BufferView_pimpl.C:
6137 * lyxfunc.C: associated changes.
6139 2003-09-06 Angus Leeming <leeming@lyx.org>
6141 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6142 As a result, can remove the #include "insets/inset.h" from BufferView.h
6144 2003-09-06 Angus Leeming <leeming@lyx.org>
6146 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6147 As a result, can remove the #include "insets/inset.h" from BufferView.h
6149 2003-09-06 Angus Leeming <leeming@lyx.org>
6155 * bufferview_funcs.C:
6156 * BufferView_pimpl.C:
6161 * ParagraphParameters.C:
6166 * frontends/controllers/ControlDocument.C:
6167 * insets/insetcaption.C: rearrange the #includes into some sort of
6170 * buffer.h: remove #includes ErrorList.h, undo.h
6172 2003-09-06 Angus Leeming <leeming@lyx.org>
6174 * support/types.h: add a 'depth_type' typedef, used to store the
6175 nesting depth of a paragraph.
6178 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6179 defining explicitly.
6182 * paragraph_funcs.h:
6183 * ParagraphParameters.h:
6184 * sgml.h: use lyx::depth_type rather than Paragraph or
6185 ParameterStruct's depth_type.
6188 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6191 * BufferView_pimpl.C:
6193 * ParagraphParameters.C:
6196 * bufferview_funcs.C:
6203 * frontends/LyXView.C:
6204 * frontends/controllers/ControlDocument.C:
6205 * frontends/controllers/ControlErrorList.C:
6206 * insets/insetbibitem.C:
6207 * insets/insetbranch.C:
6208 * insets/insetcaption.C:
6209 * insets/insetcollapsable.C:
6210 * insets/insetenv.C:
6211 * insets/insetert.C:
6212 * insets/insetfloat.C:
6213 * insets/insetfoot.C:
6214 * insets/insetfootlike.C:
6215 * insets/insetnewline.C:
6216 * insets/insetquotes.C:
6217 * insets/insettabular.C:
6218 * insets/insettext.C:
6219 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6221 * frontends/controllers/ControlChanges.C: #include "changes.h".
6223 2003-09-06 Angus Leeming <leeming@lyx.org>
6225 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6226 than #including paragraph.h.
6229 * RowList.h: deleted. Superfluous.
6239 * insets/insettext.h: use ParagraphList_fwd.h rather than
6242 * paragraph.h: don't forward declare ParagraphList.
6245 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6246 rather than ParagraphList.h. paragraph.h is still needed for the
6247 Paragraph::depth_type parameters.
6249 * textcursor.h: enable it to compile stand-alone in light of the
6252 * bufferview_funcs.C:
6264 * frontends/controllers/ControlParagraph.C:
6265 * frontends/controllers/ControlTabular.C:
6266 * insets/insetmarginal.C:
6267 * insets/insetminipage.C:
6268 * insets/insetnote.C:
6269 * insets/insetoptarg.C: add header files needed to compile again.
6271 2003-09-06 Angus Leeming <leeming@lyx.org>
6273 * RowList_fwd.h: new file, forward-declaring Row rather than
6274 #including lyxrow.h.
6279 * insets/insettext.h: use it instead of RowList.h
6281 * bufferview_funcs.C:
6288 * text3.C: #include "RowList.h".
6290 2003-09-05 Angus Leeming <leeming@lyx.org>
6292 * factory.C (createInset):
6293 * vspace.C (c-tor): replace sscanf call with an istringstream.
6294 * ispell.C: re-add missing HP/UX headers.
6295 * lyxserver.C: re-add missing os2 headers.
6297 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6306 * text3.C: re-add missing system headers, needed for 2.95.2.
6308 2003-09-05 Angus Leeming <leeming@lyx.org>
6310 Changes most place everywhere due to the removal of using directives
6311 from support/std_sstream.h.
6313 2003-09-05 Angus Leeming <leeming@lyx.org>
6315 Replace LString.h with support/std_string.h,
6316 Lsstream.h with support/std_sstream.h,
6317 support/LIstream.h with support/std_istream.h,
6318 support/LOstream.h with support/std_ostream.h.
6320 Changes resulting throughout the tree.
6322 2003-09-05 Angus Leeming <leeming@lyx.org>
6324 * sgml.h: ensure that the header file can be compiled stand-alone.
6325 * *.C: strip out redundant #includes. (320 in total.)
6327 2003-09-04 Angus Leeming <leeming@lyx.org>
6329 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6330 here (from getPackages).
6332 * debug.[Ch]: add a new EXTERNAL tag.
6334 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6336 * text2.C (cursorEnd): simplify
6338 (getColumnNearX): adjust
6340 * text.C (computeBidiTables): adjust
6343 * rowpainter.C (paintChars): adjust
6344 (paintSelection): adjust
6345 (paintChangeBar): adjust
6348 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6350 (numberOfSeparators): adjust
6352 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6358 * text3.C: Restricts the mouse click functionality
6359 of insets like bibtex, include, toc and floatlist to the visible
6360 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6361 up the dialogs. Cursor has to be in front of the inset (i.e.
6362 start of row) for this to function.
6364 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6366 * bufferview_funcs.C (currentState): output row information
6368 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6370 * bufferview_funcs.C (currentState): output paragraph position
6372 2003-09-04 Angus Leeming <leeming@lyx.org>
6374 * FloatList.h: move out #include "Floating.h".
6375 * LaTeX.h: move out #include "DepTable.h".
6376 * LyXAction.h: move out #include "funcrequest.h".
6377 * buffer.h: move out #include "author.h", "iterators.h".
6378 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6379 * lyx_main.h: move out #include "errorlist.h".
6380 * lyxfunc.h: move out #include "FuncStatus.h".
6381 * lyxtext: move out #include "lyxcursor.h".
6382 * paragraph_pimpl.h: move out #include "counters.h".
6384 2003-09-03 Angus Leeming <leeming@lyx.org>
6386 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6387 preamble_snippets list, enabling us to add snippets to the preamble
6388 only if the snippet was not there already.
6390 2003-09-04 Angus Leeming <leeming@lyx.org>
6392 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6394 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6396 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6399 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6401 * BranchList.C: point fix, earlier forgotten
6403 2003-09-02 Angus Leeming <leeming@lyx.org>
6405 * box.C (contains): renamed from 'contained' after a fantastic
6408 2003-09-02 John Levon <levon@movementarian.org>
6414 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6416 2003-09-02 John Levon <levon@movementarian.org>
6418 * text2.C: simplification of cursorEnd(), including partial
6421 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6423 * buffer.C (readFile): add a space
6425 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6427 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6429 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6431 * buffer.C (readFile): new function, take a filename and a
6432 ParagraphList::iterator
6434 (readFile): adjust, make it private. don't use setStream, make
6435 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6436 always contain the filename.
6438 * BufferView.C (insertLyXFile): simplify and make it work for
6441 2003-08-30 John Levon <levon@movementarian.org>
6443 * Makefile.am: fix dist (from Kayvan)
6445 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6447 * most files: change to use const Buffer refs
6449 2003-08-27 André Pönitz <poenitz@gmx.net>
6451 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6452 on top of ownerPar().
6454 2003-08-27 John Levon <levon@movementarian.org>
6456 * funcrequest.C: properly initialise POD members
6458 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6460 * lyxtext.h (top_y): move top_y from here
6465 * BufferView_pimpl.[Ch]: to here
6466 * frontends/screen.C:
6467 * insets/insettabular.C:
6468 * insets/insettext.C: adjust
6469 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6471 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6474 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6476 2003-08-26 André Pönitz <poenitz@gmx.net>
6478 * paragraph_func.[Ch] (outerPar): new function
6481 * paragraph_funcs.C:
6482 * paragraph_funcs.h:
6483 * paragraph_pimpl.C:
6484 * text2.C: remove Inset::par_owner
6486 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6491 * text2.C: eliminates the needFullRow/display() stuff
6492 altogether, putting the logic in metrics/draw in the insets.
6494 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6496 * text2.C (redoParagraphInternal, redoParagraphs):
6497 * text.C (redoParagraph): add a call to updateRowPositions at the
6498 end of each 'metrics-like' call. Remove all others.
6499 (getRow): remove the 'y-computing' version.
6500 (getRowNearY): do not compute nor return the real y. Solve the
6501 'y < 0' problem and simplify.
6503 2003-08-22 Angus Leeming <leeming@lyx.org>
6505 * *.[Ch]: clean-up of licence and author blurbs.
6506 Also move config.h out of a few .h files and into a few .C files.
6508 2003-08-22 André Pönitz <poenitz@gmx.net>
6510 * lyxrow.[Ch]: add x_ and *fill_ members
6515 * text2.C: adjust/remove prepareToPrint() calls
6517 2003-08-22 André Pönitz <poenitz@gmx.net>
6519 * lyxrow.[Ch]: add end_ member
6521 * lyxrow_funcs.C: use LyXRow::end_
6523 * lyxtext.h (singleWidth): add LyXFont parameter
6526 * text2.C: adjust LyXText::singleWidth() calls
6528 * text.C (redoParagraph): simplify row breaking logic
6531 2003-08-19 André Pönitz <poenitz@gmx.net>
6533 * funcrequest.C: initialize button_ member
6536 * rowpainter.[Ch]: interface consolidation
6538 2003-08-18 André Pönitz <poenitz@gmx.net>
6541 * BufferView_pimpl.C:
6543 * paragraph_funcs.C:
6545 * text3.C: remove LyXScreen::draw() and fitCursor calls
6547 * BranchList.h: remove spurious semicolons
6549 * MenuBackend.C: fix branchlist related crash
6551 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6559 * bufferparams.[Ch]:
6563 * text3.C: implements the 'branch inset'
6564 idea. This allows the output of various versions of a document
6565 from a single source version, selectively outputing or suppressing
6566 output of parts of the text.
6567 This implementation contains a 'branch list editor' in a separate
6568 tab of the document settings dialog. Branches are user definable
6569 and have a "display colour" to distinguish them on-screen.
6571 ColorHandler was somewhat cleaned up.
6572 (1) make possible a dynamically growing LColor list by allowing
6573 the graphic context cache to grow along (vector);
6574 (2) eliminate an IMHO unnecessary step in colour allocation.
6576 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6578 * BufferView_pimpl.C: compile fix
6580 2003-08-15 André Pönitz <poenitz@gmx.net>
6582 * rowpainter.C: remove extra metrics calls
6584 * lyxtext.h: merge the two constructors into a single one,
6585 pass reference to owner's par list
6587 * BufferView_pimpl.C:
6591 2003-08-15 André Pönitz <poenitz@gmx.net>
6593 * lyxrow_funcs.[Ch]:
6596 * paragraph_funcs.C:
6601 * text_funcs.C: split LyXText::rowlist_ into individual
6602 Paragraph::rows_ chunks
6605 * BufferView_pimpl.[Ch]:
6608 * text3.C: remove toggleSelection()
6610 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6612 * bufferlist.C: beautify two alerts (shorter text of buttons)
6613 * buffer.C: Remove redundant ' ' from message
6615 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6616 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6617 rename VALIGN_CENTER to VALIGN_MIDDLE
6619 2003-08-11 André Pönitz <poenitz@gmx.net>
6621 * lyxtext.h (getPar):
6622 * text.C: new function
6624 2003-08-11 André Pönitz <poenitz@gmx.net>
6627 * tracer.[Ch]: remove unneeded files
6629 * InsetList.[Ch]: remove resizeInsetsLyXText()
6634 * text3.C: merge insertParagraphs() and appendParagraph()
6635 remove breakAgain(), update()
6637 * BufferView_pimpl.[Ch]:
6638 * bufferview_funcs.[Ch]:
6642 * tabular.C: adjust after text & InsetList changes.
6644 2003-08-08 André Pönitz <poenitz@gmx.net>
6646 * text.C (insertChar, backspace): replace rowlist fiddling
6647 with rebreak of full par
6650 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6651 checkParagraph, updateInset): removed
6653 2003-08-07 André Pönitz <poenitz@gmx.net>
6656 * text3.C: merge some LFUN handlers, remove dead code
6658 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6660 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6662 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6664 * text2.C (DEPM): fix part of bug 1255 and 1256
6666 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6668 * BufferView_pimpl.C (workAreaDispatch): change to use
6669 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6670 that are no mouse related.
6672 2003-08-05 André Pönitz <poenitz@gmx.net>
6675 * BufferView_pimpl.[Ch]:
6676 * bufferview_funcs.C:
6678 * text3.C: rip out "deep update"
6680 * textcursor.[Ch] (last_sel_cursor): remove unused member
6682 2003-08-04 André Pönitz <poenitz@gmx.net>
6685 * BufferView_pimpl.[Ch]:
6686 * ParagraphParameters.C:
6687 * bufferview_funcs.C:
6693 * text3.C: replace "complicated" BufferView::update(...) calls with
6696 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6698 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6700 * Makefile.am (lyx_SOURCES): add paper.h
6702 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6704 * Makefile.am: move things around so that both lyx-qt and
6705 lyx-xforms can be built (according to --with-frontend). Then lyx
6706 is a symbolic link to lyx-[firstfrontend]
6708 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6710 * Always use std::endl with lyxerr
6712 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6714 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6716 2003-08-01 André Pönitz <poenitz@gmx.net>
6719 * BufferView_pimpl.[Ch]:
6721 * text3.C: merge BufferView::repaint() and BufferView::update()
6723 2003-08-01 José Matos <jamatos@lyx.org>
6725 * buffer.[Ch]: file_format is no longer a buffer data element.
6727 2003-08-01 André Pönitz <poenitz@gmx.net>
6732 * text2.C: make redoParagraph more independent of current cursor
6734 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6736 * text2.C: remove unneeded members
6738 2003-07-30 André Pönitz <poenitz@gmx.net>
6740 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6742 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6743 create a single function...
6745 * paragraph_funcs.C (moveItem): ... here.
6748 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6750 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6752 * LColor.[Ch]: Add comment and greyedout logical colors.
6754 2003-07-30 André Pönitz <poenitz@gmx.net>
6756 * tabular.C: don't use Assert too heavily. This crashes where it
6759 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6761 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6762 is disabled (bug 1232)
6764 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6766 * factory.C: limited 'arg' scope
6768 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6770 * factory.C: fixed Note submenu issues
6772 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6774 * factory.C: submenu for Note/Comment/Greyedout
6776 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6779 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6781 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6784 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6785 greyedout. Patch provided by Jürgen Spitzmüller.
6787 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6789 * kbmap.C (read): fix error message when reading bind files
6791 2003-07-29 Angus Leeming <leeming@lyx.org>
6793 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6794 certainly does not do what it purports to do. I am doing it, and
6795 us, a favour by killing it.
6797 2003-07-28 José Matos <jamatos@lyx.org>
6799 * buffer.C (readBody, do_writeFile):
6800 * paragraph.C(readParagraph): \end_document replaces \the_end.
6802 2003-07-29 André Pönitz <poenitz@gmx.net>
6805 * BufferView_pimpl.[Ch]:
6809 * textcursor.[Ch]: remove toggleToggle & Co
6811 2003-07-28 José Matos <jamatos@fep.up.pt>
6813 * buffer.C (readParagraph):
6814 * params_func (readParToken, readParagraph):
6815 * paragraph.C (write): \layout -> \begin_layout.
6817 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6819 * lyxlex_pimpl.C (setFile): clean up slightly.
6821 * bufferparams.h: add compressed var
6823 * buffer_funcs.C (readFile): adjust for LyXLex change
6824 (newFile): ditto + simplify
6826 * buffer.C (writeFile): handle writing of compressed files
6828 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6829 Check if the file is compressed and set a bufferparm if so.
6831 * Makefile.am (lyx_LDADD): remove explicit -lz
6833 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6835 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6836 makeDocBookFile): put the real LyX version in the first line of
6840 * version.C.in: remove lyx_docversion
6842 * tabular.C (write_attribute): add a template-based version to
6843 write enums properly
6845 2003-07-28 André Pönitz <poenitz@gmx.net>
6850 * text3.C: use doubles again for x-coordinates. They are needed.
6852 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6854 * messages.C (getLocaleDir): use lyx_localedir()
6856 * lyxlex_pimpl.C (setFile): compress stuff
6858 * buffer.C (writeFile): add some compression stuff
6859 (do_writeFile): new func, dont call expliti close... will this
6862 * Makefile.am (lyx_LDADD): add -lz
6864 2003-07-28 José Matos <jamatos@fep.up.pt>
6866 * buffer.C: increment file format.
6867 * paragraph_funcs (readParagraph, readParToken):
6868 * paragraph.C (readParagraph): add \end_layout.
6870 2003-07-27 Angus Leeming <leeming@lyx.org>
6872 * Makefile.am: remove special casing for configure-time setting of
6873 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6875 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6876 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6878 2003-07-26 André Pönitz <poenitz@gmx.net>
6880 * paragraph_func.[Ch]:
6881 * paragraph.C (realizeFont): inline it whereever it is used
6886 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6889 2003-07-26 André Pönitz <poenitz@gmx.net>
6893 * text2.C: get rid of LyXText::need_break_row
6895 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6897 * toc.[Ch]: put namespace toc inside namespace lyx
6899 * MenuBackend.C (expandToc2): adjust for lyx::toc
6902 * lyxfunc.C (dispatch): adjust for lyx::find
6904 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6905 lyx::find instead. Reorganize a bit.
6906 (LyXReplace): rename to replace
6907 (LyXFind): rename to find
6909 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6912 2003-07-26 André Pönitz <poenitz@gmx.net>
6914 * text.C (setHeightOfRow): restrict scope of temporary variable
6916 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6917 code (never has been used?)
6919 2003-07-27 Asger Alstrup <alstrup@local>
6921 * text.C (fill): Optimise algorithm to exploit that we can reuse
6922 the LyXFont for many characters.
6923 (setHeightOfRow): Same thing.
6924 (rowBreakPoint): Same thing.
6926 2003-07-26 Asger Alstrup <alstrup@local>
6928 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6930 * text.C (singleWidth): Spurious font copying in hot-spot
6931 singleWidth avoided. Reorder tests for arabic for efficiency.
6933 * text.C (fill): handle empty paragraphs better.
6935 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6938 * encoding.h: add includes
6940 * lyxrc.C: remove reading of bind files
6942 * lyx_main.C (init): setup bindings and menus only if we have a
6945 * kbmap.C (read): new method. Do the actual reading of bind
6948 * converter.C (dvipdfm_options):
6951 (output): adapt PAPER_* enums.
6953 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6955 * bufferparams.h: remove paper-related enums from there
6957 * paper.h: New file. A trivial header file to hold paper-related
6958 enums. It should later expand to contain many paper-related
6961 * lyxrc.C: declare extern displayTranslator
6963 2003-07-27 José Matos <jamatos@fep.up.pt>
6965 * tabular.[Ch] (linuxdoc): add support for tables and figures
6968 2003-07-27 José Matos <jamatos@fep.up.pt>
6970 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6971 consistency in both functions.
6972 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6974 2003-07-26 Asger Alstrup <alstrup@local>
6976 * rowpainter.C (paintRows): Change algorithm to work directly on
6977 the insets rather than asking every character in the document
6978 whether its an inset.
6980 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6982 * buffer.C (openFileWrite): factorize some code
6984 2003-07-26 Angus Leeming <leeming@lyx.org>
6987 * lyx_main.[Ch]: replace occurances of system_tempdir with
6990 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6992 * rename Inset to InsetOld
6994 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6996 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6997 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6998 which I think is a bit clearer. EDIT is gone, since it was
6999 premature optimisation, and broken for mathed anyway.
7000 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7001 with cursor positioning in insets as well (math insets still do not
7002 work, but that's a different story anyway.) It mysteriously
7003 crashes sometimes with undo in the first paragraph, but I'm fairly
7004 confident that this is a compiler bug.
7006 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7008 * paragraph.C (Paragraph): adjust for new clone return type
7010 (copyIntoMinibuffer): ditto
7012 2003-07-25 Asger Alstrup <alstrup@lyx.org>
7014 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7015 by not having a special case, and always doing a full rebreak of
7016 the document after undo.
7018 2003-07-23 Angus Leeming <leeming@lyx.org>
7020 * factory.C (createInset): InsetExternal::setParams now takes a
7023 2003-07-23 Angus Leeming <leeming@lyx.org>
7025 * factory.C (createInset): changed interface to the external and
7026 graphics mailers' string2params functions.
7028 2003-07-23 Angus Leeming <leeming@lyx.org>
7030 * factory.C (createInset): pass a
7031 Buffer const * parameter to InsetExternalMailer's string2params.
7033 2003-07-22 John Levon <levon@movementarian.org>
7035 * Thesaurus.h: include the right aiksaurus header
7037 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7039 * MenuBackend.C (expand): check menu shortcuts unconditionally
7041 2003-07-21 Angus Leeming <leeming@lyx.org>
7043 * factory.C (createInset): pass a
7044 buffer_path parameter to InsetGraphicsMailer's string2params.
7046 2003-07-21 Angus Leeming <leeming@lyx.org>
7048 * BufferView_pimpl.C (buffer):
7051 * lyxfunc.C (dispatch):
7052 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7053 rather than the grfx shortcut.
7055 2003-07-21 André Pönitz <poenitz@gmx.net>
7057 * rowpainter.C: remove unused variables
7060 * tabular_funcs.h: move to tabular.C
7061 * Makefile.am: adjust
7063 * tabular.[Ch]: basic optical cleaning
7065 * author.h: pass references, not values
7067 2003-07-18 André Pönitz <poenitz@gmx.net>
7075 * text3.C: two-phase drawing for InsetText and InsetTabular
7076 some float -> int changes.
7078 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7080 * lyx_main.C: fix the fix
7082 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7084 * lyx_main.C: fix a crash in batch mode if no files specified
7087 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
7089 * format.[Ch] (papersize): moved to BufferParams
7090 * converter.[Ch] (dvips_options): moved to BufferParams
7091 (dvipdfm_options): moved to anon namespace
7092 * bufferparams.[Ch]: added above functions.
7094 2003-07-17 André Pönitz <poenitz@gmx.net>
7098 * text2.C: don't call inset->update() anymore
7100 * metricsinfo.[Ch]: add convenience constructor
7102 2003-07-16 André Pönitz <poenitz@gmx.net>
7107 * text2.C: replace the LyXCursor::irow_ member with
7108 on-demand computation of the value
7110 2003-07-16 John Levon <levon@movementarian.org>
7112 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7114 2003-07-15 André Pönitz <poenitz@gmx.net>
7117 * text2.C: remove no more needed refresh_row
7119 2003-07-15 André Pönitz <poenitz@gmx.net>
7124 * text3.C: refresh_status tristate -> need_update bool
7126 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7128 * lyxtext.h (init): remove reinit argument (act as if always true)
7129 * text2.C: adjust to that
7131 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7133 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7134 * text3.C: use it to delete selections in some cases
7135 (bugs 441, 673, 702, 954).
7137 2003-07-14 André Pönitz <poenitz@gmx.net>
7139 * rowpainter.[Ch]: reduce interface
7141 2003-07-14 André Pönitz <poenitz@gmx.net>
7143 * BufferView_pimpl.C:
7144 * text2.C: adjust after removing unused BufferView * argument
7146 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7148 * text2.C (init): fix a crash fired on resize
7150 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7152 * buffer.[Ch]: added new closing signal
7153 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7154 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7155 BufferView::Pimpl via the closing the signal
7157 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7159 * buffer.[Ch]: take out all bv-related from buffer
7161 * BufferView_pimpl.[Ch]: connect to new signals
7162 * CutAndPaste.C: removed useless asserts
7163 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7166 * lyxfunc.C: moved view-related funciontality from vc here
7167 * paragraph.C: removed outdated comments
7170 2003-07-10 André Pönitz <poenitz@gmx.net>
7172 * BufferView_pimpl.C:
7176 * text2.C: remove InsetText::InnerCache, clean up consequences
7178 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7180 * ispell.C: fix two typos in error messages
7182 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7184 * Extend Note inset to other forms of annotation like Comment
7185 and Greyedout. Right button click gives dialog.
7187 Files modified or added (+):
7191 * ControlNote.[Ch] +
7193 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7194 frontends/controllers
7198 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7200 * aspell.C: add missing namespace lyx::support
7202 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7204 * BufferView.[Ch] (newFile): Add
7205 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7206 * LaTeX.[Ch] (message): added this signal and use it
7207 * buffer.[Ch] (busy, message): added these signals and use them
7208 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7212 * importer.C: use buffer signals instead of direct bv calling
7213 * lyx_cb.[Ch] (ShowMessage): removed
7216 * paragraph_funcs.C:
7217 * text2.C: use buffer signals
7219 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7221 * introduce namespace lyx::graphics
7223 2003-07-02 André Pönitz <poenitz@gmx.net>
7225 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7227 2003-07-01 André Pönitz <poenitz@gmx.net>
7234 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7235 text*.C to text_func.C
7237 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7239 * introduce namespace lyx::support
7241 2003-06-30 André Pönitz <poenitz@gmx.net>
7246 * text.C: re-enable --with-included-string
7248 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7250 * textcursor.C: add <config.h>
7252 * text.C (getWord): remove const from word_location arg
7254 * lyxvc.C (getLogFile): fix const type order
7256 * lyxtext.h: remove const from word_location arg, add arg name
7258 * lyxlayout.h: currect type on labeltype.
7260 * importer.C: correct \file
7262 * converter.C (intToFormat): use std:: on ret val, ws changes
7264 * bufferlist.h: correct \file
7266 * buffer.C (makeLinuxDocFile): fix const type order
7267 (makeDocBookFile): ditto
7268 (fillWithBibKeys): use std:: on stdlib args.
7270 * CutAndPaste.C: fix authors.
7271 (availableSelections): use std:: on return vector
7273 2003-06-27 André Pönitz <poenitz@gmx.net>
7275 * BufferView_pimpl.C:
7276 * bufferview_funcs.C:
7284 * text3.C: remove LyXCursor::row_ member
7287 * text.C: rename fullRebreak() to partialRebreak() and implement
7288 a fullRebreak() that really bereks fully
7290 * textcursor.h: new struct for cursor-related data
7292 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7294 * lyx_main.C (LyX): get full path of document loaded on the
7297 2003-06-26 André Pönitz <poenitz@gmx.net>
7299 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7300 remove unused/broken operator>,<,>=.
7302 * text.C: remove only use of broken operator<= in an Assert().
7304 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7306 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7307 moved errorlist_.clear to showErrorList
7309 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7311 * converter.C (scanLog, runLaTeX):
7312 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7313 move the bv->showErrorList call to the callers
7314 * lyxfunc.C: i.e. here...
7316 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7317 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7318 namespace, the second to...
7319 * buffer_funcs (BufferFormat, parseErrors): added
7320 * errorlist.C (ErrorList(TeXErrors const &)): removed
7322 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7324 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7326 2003-06-24 "Garst R. Reese" <reese@isn.net>
7330 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7332 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7334 * version.C.in: change docversion to 1.4
7336 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7338 * buffer.C: fix a bug just introduced
7340 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7342 * buffer.[Ch]: added the parseError signal and use it, removed
7344 * BufferView.[Ch] (addError): moved to ...
7345 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7346 to the Buffer::parseError signal to catch (guess what) parse errors
7347 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7349 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7351 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7352 ability to create a buffer and to return an existing one from
7353 the list. Moved these functions to...
7354 * buffer_funcs.[Ch]: added
7355 * BufferView.[Ch] (loadLyXFile): added
7356 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7357 job removed from bufferlist::loadLyXFile.
7358 * buffer.C (setReadOnly): make it work without view
7359 (i.e added an if (users))
7361 2003-06-19 Angus Leeming <leeming@lyx.org>
7364 * LyXAction.C (init):
7365 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7366 with LFUN_DIALOG_SHOW <name> <data>.
7368 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7370 * CutAndPaste.C (availableSelections): small compilation fix for
7371 ancient (gcc 2.9x) compilers
7373 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7375 * text3.C (cursorNext): add tmp var
7377 * text2.C (updateCounters): for function calling out of for clause
7378 (replaceSelectionWithString): ditto
7379 (insertStringAsParagraphs): ditto
7380 (getColumnNearX): add tmp var
7381 (setCursorFromCoordinates): add tmp var
7382 (cursorDownParagraph): add tmp var
7383 (deleteEmptyParagraphMechanism): add tmp var
7385 * text.C (insertChar): add tmp var
7387 * rowpainter.C (paintDepthBar): add tmp var
7389 * CutAndPaste.C (availableSelections): potentially check all
7390 paragraphs in a cut to fill the shown strings.
7392 2003-06-18 André Pönitz <poenitz@gmx.net>
7394 * kbmap.[Ch]: use vector<> instead of list<>
7396 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7398 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7399 pasteSelection with index
7401 * text2.C (pasteSelection): modify, call pasteSelection with index
7403 * paragraph.C (asString): reimplement version with no interval to
7404 call the one with interval.
7406 * lyxtext.h: add index arg to pasteSelection
7408 * MenuBackend.C (MenuItem): handle PasteRecent
7409 (Menu::read::Menutags): add md_pasterecent
7411 (expandPasteRecent): new function
7414 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7416 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7418 (availableSelections): new function
7420 2003-06-17 Angus Leeming <leeming@lyx.org>
7422 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7424 2003-06-17 Angus Leeming <leeming@lyx.org>
7427 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7429 * lyxfunc.C (dispatch): invoke it.
7431 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7433 * iterators.C (operator++, ParPosition): reintroduce some
7434 const_cast for the benefit of older compilers.
7436 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7438 * text3.C (dispatch): do not modify clipboard when doing
7439 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7440 LFUN_DELETE_SKIP on a selection selection
7442 2003-06-16 André Pönitz <poenitz@gmx.net>
7448 * tabular.[Ch]: IU of clone() and getLabelList();
7450 2003-06-13 André Pönitz <poenitz@gmx.net>
7452 * tabular.h: compactification
7454 2003-06-12 André Pönitz <poenitz@gmx.net>
7458 * tabular_funcs.h: some renaming plus whitespace
7460 2003-06-12 André Pönitz <poenitz@gmx.net>
7463 * BufferView_pimpl.C:
7469 * toc.C: Return a Paragraph & for ParIterator::operator*()
7471 2003-06-11 John Levon <levon@movementarian.org>
7475 * ToolbarBackend.C: add "Toolbars" section and
7478 2003-06-10 Angus Leeming <leeming@lyx.org>
7481 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7483 * lyxfunc.C (dispatch): invoke it.
7485 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7487 * main.C: protect <ios> with HAVE_IOS
7488 (main): protect sync_with_stdio with HAVE_IOS
7490 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7492 * text2.C (cutSelection): adjust
7493 (pasteSelection): adjust
7495 * messages.C: handle get of empty string
7497 * main.C (main): use sync_with_stdio(false)
7499 * lyxfunc.C (dispatch): adjust
7501 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7502 (WriteAs): remove unneeded BufferView arg.
7504 * bufferparams.h: use correct types on papersize, papersize2 and
7507 * bufferparams.C (readToken): adjust for type
7508 (writeLaTeX): add missing cases to switch.
7510 * bufferlist.C (quitWriteBuffer): adjust
7513 * buffer.C (asciiParagraph): remove some commented code.
7515 * CutAndPaste.C: remove current_view extern variable.
7516 (cutSelection): add BufferParams arg.
7517 (eraseSelection): add BufferParams arg.
7518 (pasteSelection): add Buffer const & arg
7520 2003-06-07 John Levon <levon@movementarian.org>
7523 * paragraph_funcs.C:
7524 * paragraph_pimpl.C:
7528 * paragraph.C: allow InsetERT to freely space lines,
7529 and some consolidation of code
7531 2003-06-06 José Matos <jamatos@fep.up.pt>
7533 * buffer.C (makeDocBookFile): fix bug #821
7535 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7537 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7539 2003-06-04 Angus Leeming <leeming@lyx.org>
7541 * buffer.C: bump format to 224.
7543 2003-06-05 André Pönitz <poenitz@gmx.net>
7545 * text2.C (redoParagraphs): remove two const_cast<>
7547 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7549 * ParagraphList.h: remove last remnants of NO_STD_LIST
7551 2003-06-03 Angus Leeming <leeming@lyx.org>
7553 * factory.C (createInset): small change to the way InsetExternal's params
7556 2003-06-04 André Pönitz <poenitz@gmx.net>
7558 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7560 * paragraph_pimpl.h:
7561 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7563 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7565 * undo_funcs.C: make some simple cases of undo work again
7567 2003-06-03 John Levon <levon@movementarian.org>
7569 * ispell.C: HPUX doesn't have sys/select.h
7572 2003-06-03 John Levon <levon@movementarian.org>
7574 * CutAndPaste.C: update tabular and include inset
7579 * paragraph.C: remove owningBuffer(), don't pass Buffer
7582 * factory.C: insetGraphicsParams changed
7584 2003-06-02 John Levon <levon@movementarian.org>
7590 * text3.C: remove insetparent
7592 2003-06-02 John Levon <levon@movementarian.org>
7595 * buffer.C: fix inset_iterator.end(), move out of line
7598 2003-06-01 John Levon <levon@movementarian.org>
7600 * text3.C: use a proper cut/paste when doing inset
7601 insert (from Jürgen Spitzmüller)
7603 2003-06-01 John Levon <levon@movementarian.org>
7605 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7607 2003-05-30 André Pönitz <poenitz@gmx.net>
7609 * rowpainter.C: unify second drawing phase
7611 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7613 * trans_mgr.C: remove one case of current_view
7615 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7617 * paragraph_funcs.h: remove paragraph.h include
7619 * paragraph.h: delete NO_STD_LIST stuff
7621 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7623 * buffer.h: remove paragraph.h include
7625 * ParagraphList.C: delete file
7627 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7629 * toc.C (getTocList): adjust
7631 * paragraph_pimpl.C (validate): adjust
7633 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7635 * paragraph.C (Paragraph): adjust
7636 (getPositionOfInset): use const_iterator, adjust
7637 (bibitem): use const_iterator, adjust
7638 (setInsetOwner): adjust
7640 * iterators.C (operator++): adjust
7642 * InsetList.[Ch]: Replace selfmade iterator with standard
7643 vector::iterator also introduce const_iterator. Remove getPos,
7644 getInset and setInset from InsetTable. Adjust accordingly.
7646 * BufferView.C (lockInset): adjust
7647 (ChangeInsets): adjust
7649 * tabular.[Ch]: delete commented same_id functions
7651 2003-05-28 John Levon <levon@movementarian.org>
7653 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7655 2003-05-28 André Pönitz <poenitz@gmx.net>
7657 * metricsinfo.[Ch]: remove 'fullredraw' member
7659 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7661 * lyxtextclass.C (operator): remove caching.
7663 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7667 * text2.C (cursorBottom): adjust
7668 (setCounter): use ParagraphList::find, adjust
7670 * text.C (workWidth): use ParagraphList::find, adjust
7672 * lyxcursor.C (LyXCursor): adjust
7674 * buffer.C (inset_iterator): adjust
7676 * ParagraphList.h: make iterator(value_type) private, make
7677 ParagraphList a friend of iterator.
7679 * ParagraphList.C (find): new function
7681 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7683 2003-05-27 André Pönitz <poenitz@gmx.net>
7685 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7687 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7689 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7691 2003-05-26 John Levon <levon@movementarian.org>
7693 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7695 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7697 * remove same_id from function signatures, adjust.
7699 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7701 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7703 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7705 * paragraph.C (Paragraph): get rid of same_ids parameter
7707 * ParagraphList.C (insert): adjust
7710 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7712 * paragraph_funcs.C (breakParagraph): adjust
7713 (breakParagraphConservative): adjust
7715 * buffer.C (readParagraph): adjust
7717 * ParagraphList.C (insert): take a reference instead of a pointer
7720 * paragraph.[Ch] (id): new function
7722 * bufferlist.C (newFile): adjust
7724 * ParagraphList.C (ParagraphList): adjust
7726 (push_back): take a reference instead of a pointer.
7728 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7730 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7733 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7734 set else use old code.
7736 * ParagraphList.C: remove all NO_NEXT code and only compile this
7737 code of NO_STD_LIST is set.
7739 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7741 * BufferView_pimpl.C:
7751 * graphics/GraphicsConverter.C:
7752 * graphics/PreviewLoader.C: header adjustment
7754 2003-05-23 Angus Leeming <leeming@lyx.org>
7756 * LaTeXFeatures.[Ch] (useBabel): new method.
7757 * bufferparams.C (writeLaTeX): use it.
7759 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7761 * ParagraphList.h (set): remove unused function.
7763 2003-05-23 André Pönitz <poenitz@gmx.net>
7766 * BufferView_pimpl.C:
7770 * undo_funcs.C: setUndo reworked
7772 * iterators.[Ch]: add access to topmost ParagraphList
7774 * lyxtext.[Ch] (workWidth): add a const
7776 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7778 * texrow.[Ch] (increasePos): remove function
7779 * exporter.C (export): removed unused var and outdated comment
7781 2003-05-23 Angus Leeming <leeming@lyx.org>
7783 * latexrunparams.h: rename fragile as moving_arg.
7784 * paragraph.C (simpleTeXOnePar): ditto.
7785 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7787 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7789 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7791 (textUndoOrRedo): comment out a currently unused var.
7793 * paragraph.h (NO_NEXT): enable NO_NEXT
7795 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7797 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7799 * exporter.C (Export): adjust for removeAutoInsets removal.
7801 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7803 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7805 * BufferView.[Ch] (removeAutoInsets): delete function
7807 2003-05-22 Angus Leeming <leeming@lyx.org>
7809 * latexrunparams.h: add a free_spacing variable.
7811 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7812 to pass moving_arg, as the data is stored in runparams.fragile.
7814 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7815 to Inset::latexOptional or to simpleTeXOnePar.
7817 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7818 free_spacing arg to Inset::latexOptional.
7820 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7823 2003-05-22 Angus Leeming <leeming@lyx.org>
7825 * latexrunparams.h: add fragile and use_babel variables.
7827 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7828 * buffer.C (makeLaTeXFile): store this returned value in
7829 runparams.use_babel, thus passing it to the inset::latex methods.
7831 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7832 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7834 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7835 longer has a fragile arg, as it is stored in runparams.fragile.
7837 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7838 moving_arg parameter as the data is stored in runparams.fragile.
7840 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7841 a fragile parameter as the data is stored in runparams.fragile.
7843 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7845 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7847 2003-05-22 Angus Leeming <leeming@lyx.org>
7849 * latexrunparams.h: add a 'bool nice' which defaults to false.
7851 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7852 now encapsulated within runparams.
7854 * bufferlist.C (updateIncludedTeXfiles):
7855 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7857 2003-05-22 Angus Leeming <leeming@lyx.org>
7859 * latexrunparams.h: new file containing struct LatexRunParams.
7860 * Makefile.am: add new file.
7862 * LaTeX.[Ch] (c-tor, run):
7863 * buffer.[Ch] (makeLaTeXFile):
7864 * bufferlist.[Ch] (updateIncludedTeXfiles):
7865 * converter.C (convert, scanLog):
7866 * converter.[Ch] (runLaTeX):
7867 * exporter.C (Export):
7868 * paragraph.[Ch] (simpleTeXOnePar):
7869 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7870 * paragraph_funcs.[Ch] (latexParagraphs):
7871 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7872 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7873 pass around a LatexRunParams parameter.
7875 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7877 * paragraph.[Ch]: remove unused constructor
7879 * ParagraphList.C (erase): new function, taking two iterators
7881 2003-05-22 André Pönitz <poenitz@gmx.net>
7883 * undo_funcs.C: remove duplicated code
7885 * iterator.[Ch]: operator=
7887 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7889 * tabular.C (SetMultiColumn): ws changes
7891 * rowpainter.C (paintFirst): get rid of a ->previous
7893 * lyx_cb.C (getPossibleLabel): parlist simplification
7895 * BufferView.C (ChangeInsets): simplify slightly.
7897 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7899 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7900 * lfuns.h: new LFUN_SPACE
7901 * lyxfunc.C: protected space has a new lfun
7902 * paragraph_funcs.C: read new space insets
7904 * factory.C: handle new space insets
7906 2003-05-22 André Pönitz <poenitz@gmx.net>
7909 * BufferView_pimpl.C:
7912 * undo_funcs.C: return a ParIterator from getParFromID.
7914 * iterators.[Ch]: add two const's
7916 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7918 * toc.C (getTocList): adjust
7920 * iterators.[Ch]: rework for parlist
7922 * buffer.C (par_iterator_begin): adjust
7923 (par_iterator_end): adjust
7925 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7927 * BufferView.C (removeAutoInsets): adjust
7928 (ChangeInsets): adjust
7930 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7932 * text.C (top_y): fix bug 1110
7934 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7936 * errorlist.[Ch]: added
7939 * BufferView_pimpl.C:
7940 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7943 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7945 * Makefile.am: ensure that lyx is relinked upon changes to the
7946 various "convenience" libs.
7948 2003-05-20 Angus Leeming <leeming@lyx.org>
7950 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7951 files are compiled in alphabetical order again.
7953 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7955 2003-05-19 Angus Leeming <leeming@lyx.org>
7957 * gettext.[Ch]: remove "char const * _(char const *)".
7959 2003-05-19 André Pönitz <poenitz@gmx.net>
7961 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7970 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7972 2003-05-19 André Pönitz <poenitz@gmx.net>
7976 * lyxtextclass.[Ch]:
7978 * paragraph_funcs.[Ch]:
7980 * text3.C: more insetenv work
7982 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7984 * ParagraphParameters.C (params2string): small bug fixed
7986 2003-05-16 André Pönitz <poenitz@gmx.net>
7989 * bufferview_funcs.C: patch from Kornel Benko to prevent
7990 crash when _(...) is called twice in a statement
7992 2003-05-16 André Pönitz <poenitz@gmx.net>
7999 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8001 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
8003 * lyx_main.C (init): remove spurious static_cast
8005 2003-05-14 André Pönitz <poenitz@gmx.net>
8007 * BufferView.C: fix format string
8009 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
8011 * BufferView.[Ch] (insertErrors): removed
8012 * BufferView.[Ch] (showErrorList): added
8013 * buffer.C (runChkTeX):
8014 * converter.C (scanLog): call showErrorList instead of inserterrors
8016 2003-05-13 André Pönitz <poenitz@gmx.net>
8018 * BufferView_pimpl.C:
8020 * bufferview_func.C:
8027 * tabular_funcs.h: tostr() from its own header
8029 * ParagraphParameters.C:
8034 * text3.C: STRCONV()
8036 2003-05-12 André Pönitz <poenitz@gmx.net>
8039 * BufferView_pimpl.C:
8043 * ParagraphParameters.C:
8047 * bufferview_funcs.C:
8060 * paragraph_funcs.C:
8064 * text3.C: boost::format -> bformat all over the place
8067 2003-05-09 André Pönitz <poenitz@gmx.net>
8069 * LColor.[Ch]: Pimpl the #include <map> away
8071 2003-05-09 John Levon <levon@movementarian.org>
8073 * bufferlist.C: never remove emergency saves
8075 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8077 * Makefile.am: better lib building
8079 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
8081 * texrow.[Ch]: remove dependency on Paragraph and just store a id
8083 * paragraph_pimpl.C (simpleTeXBlanks): adjust
8084 (simpleTeXSpecialChars): adjust
8085 (simpleTeXSpecialChars): adjust
8086 * paragraph.C (simpleTeXOnePar): adjust
8087 * buffer.C (makeLaTeXFile): adjust
8089 * Makefile.am (BOOST_LIBS): allow boost as system lib.
8091 * text2.C (changeDepth): parlist cleanup
8092 (getColumnNearX): ditto
8094 * rowpainter.C (getLabelFont): parlist cleanup
8096 * bufferlist.C (newFile): parlist cleanup
8098 * CutAndPaste.C (eraseSelection): parlist cleanup
8100 * BufferView_pimpl.C (trackChanges): parlist cleanup
8103 * BufferView.C (lockInset): parlist cleanup.
8104 (ChangeInsets): ditto
8106 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8108 * CutAndPaste.h: Update file header.
8110 * CutAndPaste.C: Update file header.
8111 Store the parts cut out of the Document in a limited_stack.
8112 (copySelection): adjust
8113 (pasteSelection): new function, takes the index in the limited stack.
8114 (nrOfParagraphs): adjust
8115 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8116 simplify error inset insertion.
8117 (checkPastePossible): adjust
8119 2003-05-06 John Levon <levon@movementarian.org>
8121 * text2.C: don't cast wrap inset to float
8123 2003-05-05 André Pönitz <poenitz@gmx.net>
8126 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8128 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8129 few naked Paragraph *.
8131 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8133 * bufferparams.C: Output warning if a document with missing
8134 TeX document class is loaded
8135 * exporter.C: Disable TeX exports if the document class is missing
8138 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8139 isTeXClassAvailable()
8141 2003-05-03 John Levon <levon@movementarian.org>
8144 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8145 explicit cursor show/hide
8147 * BufferView_pimpl.h:
8148 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8149 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8151 * lyxfunc.C: hide cursor before dispatching.
8156 * text3.C: remove explicit cursor hides
8158 2003-05-02 André Pönitz <poenitz@gmx.net>
8160 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8163 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8166 * text2.C: tiny whitespace
8168 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8170 * undo_funcs.C: almost only ws changes.
8172 * ParagraphList.C (splice): just return if pl is empty.
8174 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8176 * ParagraphList.C (splice): new function.
8178 * CutAndPaste.C (pasteSelection): use it
8180 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8182 * CutAndPaste.C (pasteSelection): remove the last next and
8183 previous from this file.
8185 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8187 * CutAndPaste.C (pasteSelection): more clean up, user proper
8188 ParagraphList functions for pasteing.
8190 * ParagraphList.C (insert): new function, three arg insert
8192 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8194 * ParagraphList.C (insert): new function, three arg insert
8196 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8199 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8201 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8203 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8205 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8207 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8209 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8210 (copySelection): clean up a bit.
8211 (pasteSelection): use make_pair
8213 * ParagraphList.C (ParagraphList): implement copy constructor
8214 (operator=): implement, base on copy constructor.
8217 * paragraph.C (erase): return a bool
8219 * paragraph_pimpl.C (erasePos): remove function, move contents...
8220 (erase): ... here. Return a bool.
8221 (erase): call erase instead of erasePos.
8223 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8225 * ParagraphList.h: define PitPosPair
8226 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8227 ParagraphList, fix a bug on pasting multiple pars
8228 * text2.C: change interface to C&P
8230 2003-04-30 André Pönitz <poenitz@gmx.net>
8232 * undo_func.C: revert part of yesterday's patch 2
8234 2003-04-30 John Levon <levon@movementarian.org>
8236 * LColor.C: s/tabular/table/
8238 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8240 * text3.C (dispatch): do not convert iterator -> pointer
8241 * undo_funcs.C (setCursorParUndo): ditto
8242 * text_funcs.C (transposeChars): ditto
8244 * text2.C (setLayout): ws changes only
8246 * text.C (breakParagraph): do not convert iterator -> pointer
8248 (acceptChange): ditto
8249 (rejectChange): ditto
8254 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8257 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8259 * text3.C (gotoInset): YABG (yet another bad getChar)
8261 2003-04-29 André Pönitz <poenitz@gmx.net>
8263 * paragraph.h: make operator= private unimplemented as long as
8266 * ParagraphList.C: whitespace
8269 * paragraph_pimpl.[Ch]:
8270 * paragraph_funcs.C:
8272 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8275 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8277 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8279 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8280 * paragraph.[Ch] (erase):
8281 * paragraph_pimpl.[Ch] (erase): change return type and value
8282 * text2.C (cutSelection): some rework
8284 2003-04-28 John Levon <levon@movementarian.org>
8286 * bufferlist.C: changes for unsaved changes dialog
8288 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8290 * bufferlist.C (newFile): set language (messages_) for new
8293 * buffer.C (readFile): ws changes only.
8295 2003-04-28 André Pönitz <poenitz@gmx.net>
8300 * BufferView_pimpl.C:
8301 * BufferView.C: getParFromID related ParagraphList::iterator changes
8303 2003-04-28 André Pönitz <poenitz@gmx.net>
8305 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8308 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8310 * messages.C: remove one more localedir class variable.
8312 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8314 * messages.C (getLocaleDir): singleton generation function
8316 (Messages): add a default constructor.
8318 * main.C (main): do not setup localedir here, do not call
8321 * gettext.C (_): use it.
8322 (gettext_init): delete funciton
8324 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8326 * gettext.C (getLyXMessages): new singleton generating function.
8328 * buffer.C (updateDocLang): adjust
8330 * Makefile.am (messages.o): add target
8331 (main.o): remove target
8333 2003-04-27 John Levon <levon@movementarian.org>
8338 * lyxvc.C: specify cancel button in Alert::prompt
8340 2003-04-26 John Levon <levon@movementarian.org>
8345 * LyXAction.C: add LFUN_INSET_SETTINGS
8347 * lyxfunc.C: don't enable tabular-feature when there's
8348 just any locking inset
8350 2003-04-26 John Levon <levon@movementarian.org>
8352 * bufferlist.C: re-add Cancel to buffer close question
8354 * lyxfunc.C: fix import UI a bit
8356 2003-04-25 John Levon <levon@movementarian.org>
8358 * gettext.C: remove the broken asserts for now
8360 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8362 * messages.C: make case where setlocale cannot comply work better.
8364 * buffer.C (updateDocLang): new function
8365 (changeLanguage): use it
8368 * text2.C (setCounter): use B_ a bit.
8370 * lyxlayout.C (Read): be sure to trim the label strings.
8372 * messages.C (Messages): fix typo in comment
8374 * buffer.C (readFile): set message_ after file is loaded.
8375 (makeDocBookFile): remove double return
8376 (changeLanguage): reset message_ upon language change.
8377 (B_): new func, use this to get translated buffer strings.
8379 * main.C: add myself and Jean Marc as authors.
8381 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8383 * messages.[hC]: pimplify Messages, and three different pimpls to be
8384 used in different circumstances.
8386 * gettext.[Ch]: change for use with new message code.
8388 2003-04-24 André Pönitz <poenitz@gmx.net>
8390 * factory.C: support for eqref
8392 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8394 * messages.[Ch]: add missing char
8396 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8398 * messages.[Ch]: New files
8400 2003-04-18 John Levon <levon@movementarian.org>
8404 * BufferView_pimpl.C:
8408 * text2.C: remove layout-copy/paste (bug 778)
8410 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8412 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8414 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8416 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8417 if they succeed. Act accordingly.
8419 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8421 * text2.C (setCharFont): adjust
8422 (setCounter): adjust
8423 (insertStringAsLines): adjust
8425 * text.C (leftMargin): adjust
8426 (setHeightOfRow): adjust
8428 * rowpainter.C (paintFirst): adjust
8431 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8433 (isFirstInSequence): ditto
8434 (getEndLabel): ditto
8437 * paragraph.C (getParLanguage): comment out some hard stuff.
8439 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8441 (simpleDocBookOnePar): ditto
8442 (makeDocBookFile): use ParagraphList::iterator
8444 * CutAndPaste.C (pasteSelection): adjust
8446 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8448 * text2.C (getFont): adjust
8449 (getLayoutFont): adjust
8450 (getLabelFont): adjust
8452 * paragraph_funcs.C (TeXOnePar): adjust
8454 * buffer.C (simpleLinuxDocOnePar): adjust
8455 (simpleDocBookOnePar): adjust
8457 * CutAndPaste.C (pasteSelection): adjust
8459 * BufferView.C (getEncoding): adjust
8461 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8463 2003-04-16 John Levon <levon@movementarian.org>
8465 * lyxfind.C: use parlist stuff for search/changes
8467 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8469 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8471 * text2.C (deleteEmptyParagraphMechanism): adjust
8473 * text2.[Ch] (ownerParagraph): delete func (both of them
8475 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8477 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8479 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8481 * ParagraphList.C: prepare for NO_NEXT
8483 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8485 * text2.C (getFont): adjust
8486 (getLayoutFont): adjust
8487 (getLabelFont): adjust
8489 * paragraph.C (getFont): adjust
8490 (getLabelFont): adjust
8491 (getLayoutFont): adjust
8493 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8495 2003-04-15 John Levon <levon@movementarian.org>
8499 * lyx_main.C: handle Include in .ui files
8501 2003-04-15 John Levon <levon@movementarian.org>
8503 * MenuBackend.C: make the doc files length shorter
8506 * ToolbarBackend.C: handle toolbar placement flags,
8509 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8511 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8514 * paragraph_funcs.C (TeXOnePar): adjust
8516 * paragraph.C (getLabelFont): add outerfont arg, adjust
8517 (getLayoutFont): ditto
8518 (simpleTeXOnePar): adjust
8520 * paragraph_pimpl.C (realizeFont): delete func
8522 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8524 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8525 row argument, constify cur argument.
8527 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8529 * text2.C (getFont): adjust
8530 (getLayoutFont): adjust
8531 (getLabelFont): adjust
8533 * paragraph_funcs.C (TeXOnePar): adjust
8534 (outerFont): new func...
8535 (realizeFont): ...moved out from here, changed this to facilitate
8538 * paragraph.C (getFont): take outerfont as arg, adjust
8539 (simpleTeXOnePar): add outerfont arg, adjust
8541 * buffer.C (simpleLinuxDocOnePar): adjust
8542 (simpleDocBookOnePar): adjust
8544 * CutAndPaste.C (pasteSelection): adjust
8546 * BufferView.C (getEncoding): adjust
8548 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8550 * text2.C (setCharFont): adjust
8551 (setCounter): adjust
8553 * text.C (leftMargin): adjust
8554 (setHeightOfRow): adjust
8556 * rowpainter.C (paintFirst): adjust
8559 * paragraph_pimpl.C (realizeFont): adjust
8561 * paragraph.C (isFirstInSequence): move from here...
8562 * paragraph_funcs.C (isFirstInSequence): ...to here
8564 * paragraph.C (outerHook): move from here...
8565 * paragraph_funcs.C (outerHook): ...to here
8567 * paragraph.C (depthHook): move from here...
8568 * paragraph_funcs.C (depthHook): ...to here
8570 * paragraph.C (getEndLabel): move from here...
8571 * paragraph_funcs.C (getEndLabel): ...to here
8573 * text2.C (realizeFont): move from here...
8574 * paragraph_funcs.C (realizeFont): ...to here
8576 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8578 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8580 2003-04-14 Angus Leeming <leeming@lyx.org>
8582 * LColor.[Ch]: scrap LColor mathcursor.
8584 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8586 * lyxlex.[Ch] (text): delete function
8587 * trans.C (Load): adjust
8588 * paragraph_funcs.C (readParToken): adjust
8590 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8592 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8593 vector<char> instead of a char[].
8595 * lyxlex_pimpl.C (getString): adjust
8597 (lex): use getString
8601 * lyxlex.C (text): use pimpl_->getString()
8605 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8607 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8608 (makeFontEntriesLayoutSpecific): temp var for par.size()
8609 (setLayout): temp var for ownerParagraphs().end()
8610 (fullRebreak): temp var for rows().end()
8611 (selectionAsString): temp var for boost::next(startpit), realize
8612 that the while really is a regular for loop.
8613 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8614 setCursor in one place.
8615 (setParagraph): temp vr for ownerParagraphs().end()
8616 (updateCounters): make the while loop a for loop
8617 (cutSelection): temp var for ownerParagraphs().end()
8618 (updateInset): make the do {} while() a regular for loop
8619 (getCursorX): use temp vars
8620 (setCurrentFont): use temp vars
8621 (getColumnNearX): use temp vars
8623 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8625 * text.C (transformChar): use temp var for getChar
8626 (computeBidiTables): use temp var for row->par()
8627 (fill): move temp vars for row->par() and pit->layout() earlier in
8629 (labelFill): use temp var for row->par()
8630 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8631 asc and desc, realize that pit never changes and that firstpit is
8632 just a duplicate and not needed. Exchange rit->par() with pit in a
8634 (breakAgain): use a temp var for boost::next(rit)
8635 (breakAgainOneRow): ditto
8636 (breakParagraph): use a temp var for rows().begin()
8637 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8638 (cursorRightOneWord): use temp var for cursor.par() and
8639 cursor.pos(), remove usage of tmpcursor.
8640 (cursorLeftOneWord): use temp var for cursor.par() and
8641 cursor.pos() only set cur at end of function.
8643 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8645 * text.C, text2.C: exchange all usage of Paragraph::next with
8646 boost::next(ParagraphList::iterator)
8648 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8650 * text2.C (cursorTop): simplify implementation
8651 (cursorBottom): ditto
8652 (setParagraph): use ParagraphList::iterator
8653 (setCurrentFont): adjust
8654 (getColumnNearX): adjust
8655 (cursorRight): adjust
8656 (cursorLeft): remove usage of Paragraph::previous
8657 (cursorUpParagraph): ditto
8658 (deleteEmptyParagraphMechanism): slight cleanup
8660 * text.C (isBoundary): take a Paragraph const & instead of a
8662 (addressBreakPoint): ditto
8663 (leftMargin): remove usage of Paragraph::previous.
8664 (setHeightOfRow): ditto
8665 (cursorLeftOneWord): ditto
8666 (selectNextWordToSpellcheck): ditto
8669 (breakParagraph): remove one usage of Paragraph::next
8670 (redoParagraph): ditto
8671 (acceptChange): ditto
8672 (insertChar): adjust
8673 (rowBreakPoint): adjust
8675 * bufferview_funcs.C (toggleAndShow): adjust
8677 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8679 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8680 methods to access it.
8682 * text.C: Added updateRowPositions to compute all row positions.
8683 Make top_y and getRowNearY() to use the cached y position
8685 2003-04-11 John Levon <levon@movementarian.org>
8687 * text.C (rowBreakPoint): reintroduce the labelEnd
8688 checks, code copied from the row fill stuff. Deep voodoo.
8690 * text.C (fill): add a comment and debugging for the
8693 2003-04-11 John Levon <levon@movementarian.org>
8695 * text.C: make sure fullrow insets get wrapped to the next line,
8696 even when they're in a manual label
8698 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8700 * text2.C (insertParagraph): make it take ParagraphList::iterator
8702 (setLayout): make it return ParagraphList::iterator
8703 (redoParagraphs): ditto
8705 (checkParagraph): ditto
8707 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8709 * text2.C: adjust several funcs.
8710 (realizeFont): take a ParagraphList::iterator as arg.
8711 (getLayoutFont): ditto
8712 (getLabelFont): ditto
8713 (setCharFont): ditto
8715 * text.C: adjust several funcs.
8717 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8719 * text.C (selectNextWordToSpellcheck): don't accidentally
8722 2003-04-10 John Levon <levon@movementarian.org>
8724 * ToolbarBackend.C (getIcon): special handling for
8727 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8729 * text2.C (cursorRight): a getChar assert fixed
8731 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8733 * text2.C (getFont): change to take a ParagraphList::iterator
8734 instead of Paragraph*
8735 Adjust several functions.
8737 * text.C (transformChar): change to take a ParagraphList::iterator
8738 instead of Paragraph*
8739 (singleWidth): ditto
8740 Adjust several functions.
8742 * rowpainter.C: adjust several functions
8743 * rowpainter.h:store a ParagraphList::iterator and not a
8747 2003-04-09 John Levon <levon@movementarian.org>
8752 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8753 and the "help" bits as well
8755 2003-04-09 John Levon <levon@movementarian.org>
8758 * ToolbarBackend.C: allow multiple toolbars
8760 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8762 * undo_funcs.C (setCursorParUndo): adjust
8764 * text_funcs.C (transposeChars): adjust
8766 * text3.C (gotoNextInset): adjust
8769 * text2.C (setLayout): adjust
8770 (changeDepth): adjust
8772 (redoParagraphs): adjust
8773 (selectionAsString): adjust
8774 (setParagraph): adjust
8775 (insertInset): adjust
8776 (cutSelection): adjust
8777 (copySelection): adjust
8778 (pasteSelection): adjust
8779 (insertStringAsLines): adjust
8780 (updateInset): adjust
8781 (setCursor): change to take a ParagraphList::iterator parameter
8782 (setCursorIntern): change to take a ParagraphList::iterator parameter
8783 (setCurrentFont): adjust
8784 (cursorLeft): adjust
8785 (cursorRight): adjust
8786 (deleteEmptyParagraphMechanism): adjust
8788 * text.C (breakParagraph): adjust
8789 (insertChar): adjust
8790 (acceptChange): adjust
8791 (rejectChange): adjust
8792 (selectNextWordToSpellcheck): adjust
8793 (changeCase): adjust
8797 * lyxfind.C (SearchForward): adjust
8798 (SearchBackward): adjust
8799 (nextChange): adjust
8801 * lyxcursor.C (par): adjust
8803 * lyxcursor.h: store a ParagraphList::iterator instead of a
8806 * lyx_cb.C (getPossibleLabel): adjust
8808 * bufferview_funcs.C (toggleAndShow): adjust
8810 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8813 * BufferView.C (removeAutoInsets): adjust
8814 (lockedInsetStoreUndo): adjust
8816 2003-04-09 John Levon <levon@movementarian.org>
8818 * ToolbarBackend.C: try icon without argument
8819 if with argument fails
8821 2003-04-08 John Levon <levon@movementarian.org>
8824 * ToolbarBackend.C: add getIcon(), handle tooltip,
8825 and change from "Icon" to "Item".
8827 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8829 * BufferView.C (lockInset): another bad getchar crunched
8831 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8833 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8836 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8838 * lyxfind.C (searchForward, searchBackwards): bug 782
8840 2003-04-07 John Levon <levon@movementarian.org>
8842 * paragraph.C: remove dead comment
8844 * text.C: remove troublesome depth-fiddling code
8845 in leftMargin() and rightMargin() (bug 1017)
8847 * text.C: fix breaking of rows in nested lists
8850 * text2.C (updateCounters): fix up depth values
8853 2003-04-07 John Levon <levon@movementarian.org>
8855 * BufferView_pimpl.C: clear message when doc finishes resizing,
8856 and after a mouse event
8858 * lyxfunc.C: clear message after exiting inset
8860 2003-04-07 John Levon <levon@movementarian.org>
8862 * bufferview_funcs.C: show math status not outside
8863 status in the statusbar
8865 2003-04-07 John Levon <levon@movementarian.org>
8867 * lyxfunc.C: note status changed after a depth change
8869 2003-04-04 Angus Leeming <leeming@lyx.org>
8871 * LaTeX.h: move AuxInfo operator==, != out of line.
8872 Remove LaTeX virtual destructor; nothing derives from it.
8873 Move operator()() out of public area and rename it startscript().
8874 Change protected for private.
8876 2003-04-04 Angus Leeming <leeming@lyx.org>
8879 * text2.C: remove unneeded #includes.
8881 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8883 * text2.C (dEPM): fix the heigth of the next row
8885 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8887 * text.C: squashed an invalid getChar requester + some ws changes
8889 2003-04-03 John Levon <levon@movementarian.org>
8891 * bufferview_funcs.h:
8892 * bufferview_funcs.C:
8895 * text2.C: make getStatus work for the env depth lfuns
8897 2003-04-03 John Levon <levon@movementarian.org>
8899 * bufferview_funcs.h:
8900 * bufferview_funcs.C:
8903 * text2.C: parlistize decDepth(), by merging it with incDepth()
8905 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8907 * lyxrow.h: store a ParagraphList::iterator instead of a
8908 Paragraph* and adjust other class functions to suit.
8910 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8913 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8915 * text2.C (setCursor): do not anchor to cursor row for the time being
8917 2003-04-02 John Levon <levon@movementarian.org>
8924 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8926 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8928 * paragraph.h: make ParagraphList and ParagraphList::iterator
8929 friends of Paragraph.
8931 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8933 * ParagraphList.C: Use the private next_ and previous_ from
8936 2003-04-01 John Levon <levon@movementarian.org>
8940 * Makefile.am: rename, remove defaults gunk
8943 * MenuBackend.C: remove defaults gunk
8946 * Languages.C: remove defaults gunk
8949 * lyx_main.C: error out if files couldn't be found.
8951 2003-04-02 John Levon <levon@movementarian.org>
8953 * text2.C: make incDepth() use parlist
8955 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8957 * undo_funcs.C (firstUndoParagraph): adjust
8959 * text3.C (gotoInset): adjust
8960 (dispatch): adjust, and rewrite loop.
8962 * text2.C (init): adjust, and rewrite loop.
8963 (redoParagraphs): adjust
8964 (updateInset): adjust, and rewrite loop.
8965 (deleteEmptyParagraphMechanism): adjust
8967 * tabular.C (LyXTabular): adjust
8968 (SetMultiColumn): adjust
8971 * lyxtext.[Ch] (ownerParagraph): delete function
8972 (ownerParagraphs): new function returns a ParagraphList.
8974 * BufferView.C (removeAutoInsets): adjust
8975 (insertErrors): adjust
8976 (setCursorFromRow): adjust
8978 2003-04-01 Angus Leeming <leeming@lyx.org>
8980 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8983 2003-04-02 John Levon <levon@movementarian.org>
8989 * text_funcs.C: make transposeChars a free function
8991 * lyxrow_funcs.C: remove wrong comment
8993 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8996 * rowpainter.C: adjust
9001 * lyxrow_funcs. [Ch]: new files
9003 * lyxrow.[Ch]: remove next and previous pointers
9004 (next,previous): remove accessor functions
9005 (isParEnd): move to lyxrow_funcs
9006 (lastPos): move to lyxrow_funcs
9007 (nextRowIsAllInset): move to lyxrow_funcs
9008 (lastPrintablePos): move to lyxrow_funcs
9009 (numberOfSeparators): move to lyxrow_funcs
9010 (numberOfHfills): move to lyxrow_funcs
9011 (numberOfLabelHfills): move to lyxrow_funcs
9012 (hfillExpansion): move to lyxrow_funcs
9016 * bufferview_funcs.C (toggleAndShow): adjust
9018 * RowList.h: Remove class RowList from file leave just a
9021 * RowList.C: delete file
9023 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9026 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9028 * text3.C (cursorPrevious): adjust
9029 (cursorNext): adjust
9032 * text2.C (redoHeightOfParagraph): adjust
9033 (redoDrawingOfParagraph): adjust
9036 * text.C (breakParagraph): adjust
9037 (insertChar): adjust
9040 * rowpainter.C (RowPainter): adjust
9041 (leftMargin): simplify and adjust
9042 (most rowpainter functions): adjust.
9044 * rowpainter.h: store the row as RowList::iterator not as Row*
9046 * lyxcursor.C (row): taka RowList::iterator as arg
9049 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9052 2003-04-01 Angus Leeming <leeming@lyx.org>
9054 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9055 stuff like bool Bool.
9057 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9059 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9062 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9064 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9067 * lyxtext.h (rows): drop one version and leve a const variant that
9068 returns a RowList::iterator.
9070 2003-03-31 Angus Leeming <leeming@lyx.org>
9072 * text.C (fill): ensure that the signature is the same as that in the
9075 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
9077 * text2.C (redoParagraphs): adjust
9078 (updateCounters): adjust
9079 (checkParagraph): adjust
9080 (getColumnNearX): adjust and reformat a bit.
9082 * text.C (top_y): adjust
9084 (leftMargin): adjust
9085 (prepareToPrint): adjust
9087 (getRowNearY): adjust
9089 * lyxtext.h: make rowlist_ mutable.
9091 * RowList.h: add const_iterator
9092 * RowList.C: adjust for RowList::const_iterator.
9094 * text2.C (getCursorX): make it take a RowList::iterator as arg,
9097 2003-03-31 John Levon <levon@movementarian.org>
9100 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9102 * lyx_main.C: set default fonts from using lyx_gui funcs
9104 * exporter.C: pdf_mode moved from lyxrc
9107 * lyxfunc.C: changes from above
9109 2003-03-31 John Levon <levon@movementarian.org>
9111 * lyx_main.C: fix to the last fix
9113 2003-03-31 John Levon <levon@movementarian.org>
9115 * bufferlist.C: "Load original" -> "Load Original"
9121 * format.C: more Alert cleanups
9123 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9125 * text2.C (removeParagraph): make it take a RowList::iterator as
9127 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9128 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9130 * text.C (anchor_row): make it take a RowList::iterator as arg,
9132 (computeBidiTables): make it take a const reference to Row instead
9133 of Row pointer, adjust.
9134 (leftMargin): make it take a RowList::iterator as arg, adjust.
9135 (rowBreakPoint): adjust
9136 (breakAgainOneRow): make it take a RowList::iterator as arg,
9138 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9140 * bufferview_funcs.C (toggleAndShow): adjust
9142 2003-03-30 John Levon <levon@movementarian.org>
9146 * boost-inst.C: moved to support
9148 * several files: changes as a result
9150 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9152 * text2.C (LyXText): adjust.
9154 (removeRow): make it take a RowList::iterator as arg, adjust.
9155 (fullRebreak): adjust
9156 (deleteEmptyParagraphMechanism): adjust
9157 (clearPaint): adjust
9160 * text.C (top_y): adjust
9161 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9162 (breakAgain): make it take a RowList::iterator as arg, adjust.
9163 (breakParagraph): adjust
9164 (insertChar): adjust
9167 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9168 need_break_row, and refresh_row.
9170 * text3.C (dispatch): adjust
9172 * text2.C (checkParagraph): adjust
9174 (setCursorFromCoordinates): adjust
9176 * text.C (top_y): adjust
9178 (getRow): make it return a RowList::iterator, adjust
9179 (getRowNearY): make it return a RowList::iterator, adjust
9181 * text2.C (init): adjust
9182 (insertRow): remove function
9183 (insertParagraph): adjust
9184 (redoParagraphs): adjust
9185 (fullRebreak): adjust
9186 (updateCounters): adjust
9188 * text.C (top_y): rewrite to use RowList iterators.
9190 (setHeightOfRow): rewrite to sue RowList iterators.
9191 (appendParagraph): adjust
9192 (breakAgain): adjust
9193 (breakAgainOneRow): adjust
9194 (breakParagraph): adjust
9196 (getRowNearY): adjust, and remove commented code.
9198 * lyxtext.h (firstRow): delete function
9199 (lastRow): delete function
9200 (rows): new function (const and non-const versions.)
9201 (insertRow): delete function
9203 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9205 2003-03-29 John Levon <levon@movementarian.org>
9207 * BufferView_pimpl.C: always update scrollbar top
9208 because pasting text when we're anchored could mean we
9209 miss an update altogether
9211 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9213 * text2.C (init): use rowlist_.end() and not 0.
9214 (insertRow): change to take a RowList::iterator as arg, adjust
9216 (insertParagraph): change to take a RowList::iterator as arg,
9218 (redoParagraphs): remove some debug msgs.
9220 * text.C (appendParagraph): change to take a RowList::iterator
9221 arg, adjust for this.
9222 (breakAgain): add an assert
9223 (breakAgainOneRow): ditto
9225 2003-03-29 John Levon <levon@movementarian.org>
9227 * text2.C: do not clear selection after inc/decDepth
9230 2003-03-29 John Levon <levon@movementarian.org>
9233 * buffer.C: fix broken strerrors according to Lars
9235 2003-03-29 John Levon <levon@movementarian.org>
9237 * converters.C: more Alert cleanups
9239 2003-03-29 John Levon <levon@movementarian.org>
9241 * bufferview_funcs.C: remove pointless Alert
9243 * buffer.C: fix confusing error message when
9244 a template is chmoded 000
9246 2003-03-29 John Levon <levon@movementarian.org>
9250 * BufferView_pimpl.C: Alert fixes
9254 * tabular-old.C: remove unused table compat reading
9256 2003-03-29 John Levon <levon@movementarian.org>
9261 * lyx_cb.C: more Alert cleanups
9263 * lyxfunc.C: don't allow chktex if not latex document
9265 2003-03-29 John Levon <levon@movementarian.org>
9269 * buffer.C: warnings pushed down from support/,
9272 2003-03-29 John Levon <levon@movementarian.org>
9274 * lyxfunc.C: safety check for C-r (revert)
9276 2003-03-29 John Levon <levon@movementarian.org>
9279 * bufferlist.C: several UI fixes using Alert::prompt.
9280 Fix the pointless looping quit code. Fix stupid revert
9285 * lyx_cb.C: use Alert::prompt
9287 * lyx_main.C: remove a silly question
9289 * lyxfunc.C: remove a couple of silly questions,
9292 2003-03-28 John Levon <levon@movementarian.org>
9294 * text2.C: fix bug 974 (End on empty par)
9296 2003-03-28 John Levon <levon@movementarian.org>
9298 * BufferView_pimpl.C:
9300 * lfuns.h: remove do-nothing math greek lfuns
9302 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9304 * lyxgluelength.h (isValidGlueLength): add default arg on
9305 parameter 2. Remove default arg from friend in class.
9307 * lyxlength.h (isValidLength): add default arg on parameter 2.
9308 Remove default arg from friend in class.
9310 * text2.C (LyXText): adjust, initialize refresh_row.
9314 (insertParagraph): adjst
9315 (redoParagraphs): adjust
9316 (fullRebreak): adjust
9317 (updateCounters): adjust
9318 (deleteEmptyParagraphMechanism): first attempt at fixing a
9321 * text.C (top_y): adjust
9322 (setHeightOfRow): adjust
9324 (getRowNearY): adjust
9326 * lyxtext.h: include RowList.h
9327 (~LyXText): not needed anymore, deleted.
9328 (firstRow): modify for RowList
9329 (lastRow): new function
9330 Delete firstrow and lastrow class variables, add a Rowlist
9331 rowlist_ class variable.
9333 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9336 * RowList.C (insert): fix case where it == begin().
9338 2003-03-26 Angus Leeming <leeming@lyx.org>
9340 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9341 the thesaurus dialog.
9343 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9345 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9347 * RowList.[Ch]: new files
9349 * ParagraphList.C (erase): handle the case where it == begin
9352 2003-03-25 John Levon <levon@movementarian.org>
9356 * aspell.C: add new aspell support
9359 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9362 2003-03-25 Angus Leeming <leeming@lyx.org>
9365 * LyXAction.C (init): new LFUN_INSET_INSERT.
9367 * BufferView_pimpl.C (dispatch): split out part of the
9368 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9370 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9373 2003-03-25 Angus Leeming <leeming@lyx.org>
9375 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9377 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9380 * text3.C: remove useless row->height(0)
9382 2003-03-25 John Levon <levon@movementarian.org>
9386 * text3.C: rename the refreshing stuff to better names
9388 2003-03-24 John Levon <levon@movementarian.org>
9390 * BufferView_pimpl.h:
9391 * BufferView_pimpl.C: update layout choice on a mouse
9394 2003-03-23 John Levon <levon@movementarian.org>
9396 * Makefile.am: fix commandtags.h reference
9398 2003-03-22 John Levon <levon@movementarian.org>
9400 * BufferView_pimpl.C:
9405 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9407 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9410 * text.C: take the rtl methods out of line
9412 2003-03-21 André Pönitz <poenitz@gmx.net>
9414 * metricsinfo.[Ch]: new files containing structures to be passed around
9415 during the two-phase-drawing...
9417 2003-03-21 André Pönitz <poenitz@gmx.net>
9419 * lyxtextclass.C: read 'environment' tag.
9421 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9423 * text2.C (removeRow): fix bug 964
9425 2003-03-20 John Levon <levon@movementarian.org>
9429 * text2.C: paint cleanups. Inset::update() dropped font
9432 2003-03-19 John Levon <levon@movementarian.org>
9434 * lyxfunc.C: only fitcursor/markDirty if available()
9436 2003-03-19 John Levon <levon@movementarian.org>
9438 * commandtags.h: rename to ...
9440 * lfuns.h: ... this, and renumber / cleanup
9442 2003-03-19 John Levon <levon@movementarian.org>
9444 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9445 fit the cursor after an lfun
9449 * BufferView_pimpl.h:
9450 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9452 * LyXAction.C: layout-character should have ReadOnly
9454 * ParagraphParameters.C:
9456 * bufferview_funcs.C:
9463 * undo_funcs.C: changes from above
9465 2003-03-18 John Levon <levon@movementarian.org>
9467 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9468 remove it from update()
9470 * lyxfunc.C: update layout choice after an lfun
9472 * text3.C: remove extra updateLayoutChoice()s
9474 2003-03-18 John Levon <levon@movementarian.org>
9476 * text.C: top_y change means full repaint, fix
9477 a drawing bug with cursor movement
9479 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9483 * text2.C: anchor row on setCursor
9485 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9487 * lyxtext.h: remove almost all mutable keywords
9490 * text3.C: remove const keywords accordingly
9492 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9494 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9496 (TeXEnvironment): ditto
9499 2003-03-17 John Levon <levon@movementarian.org>
9501 * text.C (rowBreakPoint): remove attempt to fix displayed
9502 math insets inside a manual label
9504 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9506 * lyxtext.h: remove BufferView* as first arg from almost all class
9508 * other files: adjust.
9510 2003-03-17 John Levon <levon@movementarian.org>
9514 * text2.C: more paint cleanups
9516 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9519 * rowpainter.C: remove "smart" background painting code
9521 2003-03-16 John Levon <levon@movementarian.org>
9526 * text3.C: add helper functions for setting refresh_row/y
9528 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9530 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9531 newline inset which *can* get inserted in the pass_thru layouts.
9532 This is primarily for literate documents.
9534 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9536 * buffer.C: increment LYX_FORMAT to 223
9538 2003-03-14 André Pönitz <poenitz@gmx.net>
9540 * textclass.h: prepare for environment handling, ws changes
9541 * lyxlayout.C: read latexheader and latexfooter tags
9543 2003-03-14 John Levon <levon@movementarian.org>
9545 * text2.C: rewrite ::status() a bit
9547 2003-03-13 John Levon <levon@movementarian.org>
9549 * lyxtext.h: add some docs
9551 2003-03-13 John Levon <levon@movementarian.org>
9556 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9558 2003-03-13 John Levon <levon@movementarian.org>
9560 * text3.C: fix appendix redrawing
9562 2003-03-13 John Levon <levon@movementarian.org>
9564 * text.C (setHeightOfRow):
9566 * rowpainter.C: make appendix mark have the text
9567 "Appendix" so the user knows what it is
9570 * LColor.C: s/appendixline/appendix/ from above
9572 2003-03-13 John Levon <levon@movementarian.org>
9574 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9576 * text.C: fix a getChar(pos) bug properly
9578 2003-03-13 Angus Leeming <leeming@lyx.org>
9581 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9582 Probably only temporary. Let's see how things pan out.
9584 * BufferView.C (unlockInset):
9585 * BufferView_pimpl.C (fitCursor):
9586 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9588 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9589 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9591 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9592 new functions that convert ParagraphParameters to and from a string.
9594 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9595 BufferView::Pimpl's dispatch.
9596 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9598 2003-03-13 André Pönitz <poenitz@gmx.net>
9602 * factory.C: make it aware of InsetEnv
9604 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9606 * text2.C (setCursor): never ask for one past last
9607 (setCursor): add some debugging messages.
9609 * text.C (singleWidth): never ask for one past last
9610 (singleWidth): ditto
9612 (rightMargin): ditto
9613 (rowBreakPoint): ditto
9614 (setHeightOfRow): ditto
9615 (prepareToPrint): ditto
9617 * rowpainter.C (paintBackground): never ask for one past last
9618 (paintText): never ask for one past last
9620 * paragraph_pimpl.C (getChar): make the assert stricter, never
9621 allow the one past last pos to be taken
9623 * paragraph.C (getChar): ws changes only
9625 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9626 (numberOfSeparators): ditto
9627 (numberOfHfills): ditto
9629 2003-03-12 John Levon <levon@movementarian.org>
9635 * paragraph_funcs.C: fix per-buffer authorlists
9637 2003-03-12 John Levon <levon@movementarian.org>
9639 * text.C: fix newline in right address
9641 2003-03-12 Angus Leeming <leeming@lyx.org>
9643 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9644 duplicate those in LyXFunc::dispatch.
9648 * ToolbarDefaults.C:
9649 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9650 Add LFUN_FONTFREE_UPDATE.
9652 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9653 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9655 * bufferview_func.[Ch]: several new functions to facilliate
9656 transfer of data to and from the character dialog.
9658 2003-03-12 John Levon <levon@movementarian.org>
9663 * paragraph_funcs.C:
9664 * paragraph_pimpl.C:
9668 * text3.C: remove META_NEWLINE in favour of an inset
9671 * rowpainter.C: remove paintNewline (done by inset)
9673 2003-03-12 John Levon <levon@movementarian.org>
9675 * paragraph_pimpl.C: complain about bad getChar()s
9676 for a while at least
9678 2003-03-12 John Levon <levon@movementarian.org>
9681 * buffer.C: move paragraph read into a separate function,
9682 a little renaming to reflect that.
9685 * bufferparams.C: remove the author_ids map, not necessary now
9688 * factory.C: moved Buffer::readInset to here
9690 * paragraph_funcs.h:
9691 * paragraph_funcs.C: readParagraph free function moved from
9694 * tabular.C: name change
9696 2003-03-12 John Levon <levon@movementarian.org>
9699 * ParagraphParameters.C: move par params input to
9702 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9703 behave like a normal read from the stream wrt reading
9704 a line vs. a \\token
9706 2003-03-12 John Levon <levon@movementarian.org>
9709 * ParagraphParameters.h:
9710 * ParagraphParameters.C: move output code to a
9713 2003-03-12 John Levon <levon@movementarian.org>
9715 * BufferView.C (insertLyXFile):
9718 * tabular.C: use a parlist iterator for creating the
9721 2003-03-12 John Levon <levon@movementarian.org>
9723 * buffer.C: make current_change static local not
9726 2003-03-12 John Levon <levon@movementarian.org>
9728 * buffer.C: fix insertStringAsLines for change tracking
9730 2003-03-12 John Levon <levon@movementarian.org>
9737 * bufferparams.C: move author list into params. Rename some
9738 functions. Move the header reading into a separate token
9739 loop. Move the header token reading into BufferParams.
9741 2003-03-12 John Levon <levon@movementarian.org>
9743 * changes.C: put debug inside lyxerr.debugging() checks
9745 2003-03-11 André Pönitz <poenitz@gmx.net>
9747 * factory.C: make it aware of InsetHFill
9749 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9751 * buffer.C (latexParagraphs): move function from here...
9752 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9755 2003-03-10 Angus Leeming <leeming@lyx.org>
9757 * LyXAction.C (init): fix bug in poplating array with multiple entries
9758 with the same LFUN (spotted by JMarc).
9760 2003-03-10 John Levon <levon@movementarian.org>
9763 * text2.C: move getColumnNearX() near its
9766 2003-03-10 John Levon <levon@movementarian.org>
9768 * text.C: fix break before a minipage
9770 2003-03-10 John Levon <levon@movementarian.org>
9772 * text.C: fix the last commit
9774 2003-03-09 John Levon <levon@movementarian.org>
9778 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9779 bug 365 (don't break before insets unless needed). Don't
9780 return a value > last under any circumstances.
9782 2003-03-09 Angus Leeming <leeming@lyx.org>
9784 * BufferView_pimpl.C (trackChanges, dispatch): call
9785 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9787 2003-03-09 Angus Leeming <leeming@lyx.org>
9789 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9790 than Dialogs::showAboutlyx().
9792 2003-03-09 Angus Leeming <leeming@lyx.org>
9794 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9795 than Dialogs::showTabularCreate().
9797 2003-03-09 John Levon <levon@movementarian.org>
9801 * text2.C: 3rd arg to nextBreakPoint was always the same.
9804 2003-03-08 John Levon <levon@movementarian.org>
9811 * text2.C: Remove the "main" bit from the "main body"
9814 2003-03-08 John Levon <levon@movementarian.org>
9816 * text.C (leftMargin): The left margin of an empty
9817 manual label paragraph should not include the label width
9820 * text.C (prepareToPrint): don't attempt to measure hfills
9821 for empty manual label paragraphs - the answer should be 0
9823 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9825 * CutAndPaste.C: remove commented code and reindent.
9827 2003-03-08 John Levon <levon@movementarian.org>
9830 * lyxfunc.C: move reloadBuffer()
9833 * BufferView.C: to here
9835 * lyxvc.C: add comment
9838 * vc-backend.C: call bv->reload() to avoid
9839 getStatus() check on MENURELOAD
9841 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9843 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9844 to an old format .dep file.
9846 2003-03-07 Angus Leeming <leeming@lyx.org>
9848 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9849 when the LFUN_MOUSE_RELEASE should have been handled by
9850 inset->localDispatch.
9852 2003-03-07 Angus Leeming <leeming@lyx.org>
9854 * BufferView_pimpl.C (dispatch):
9855 * LyXAction.C (init):
9856 * ToolbarDefaults.C (init):
9858 * lyxfunc.C (getStatus):
9859 remove LFUN_INSET_GRAPHICS.
9861 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9863 2003-03-07 Angus Leeming <leeming@lyx.org>
9866 * LyXAction.C (init):
9867 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9869 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9872 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9874 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9875 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9877 2003-03-07 Angus Leeming <leeming@lyx.org>
9879 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9882 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9884 * ParagraphList.C (front): new function
9887 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9889 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9890 and top_row_offset_. removed var first_y.
9892 * text2.C (LyXText, removeRow):
9894 * BufferView_pimpl.C:
9895 use these methods instead of using first_y
9897 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9899 * text2.C (pasteSelection): adjust for checkPastePossible
9901 * CutAndPaste.C: remove Paragraph * buf and replace with
9902 ParagraphList paragraphs.
9903 (DeleteBuffer): delete
9904 (cutSelection): change the tc type to textclass_type
9905 (copySelection): change the tc type to textclass_type
9906 (copySelection): adjust for ParagraphList
9907 (pasteSelection): change the tc type to textclass_type
9908 (pasteSelection): adjust for Paragraphlist
9909 (nrOfParagraphs): simplify for ParagraphList
9910 (checkPastePossible): simplify for ParagraphList
9911 (checkPastePossible): remove unused arg
9913 * ParagraphList.C (insert): handle the case where there are no
9916 * CutAndPaste.h: make CutAndPaste a namespace.
9918 * text3.C (dispatch): adjust
9920 * text.C (breakParagraph): add a ParagraphList as arg
9922 * paragraph_funcs.C (breakParagraph): change to take a
9923 BufferParams and a ParagraphList as args.
9924 (breakParagraphConservative): ditto
9925 (mergeParagraph): ditto
9926 (TeXDeeper): add a ParagraphList arg
9927 (TeXEnvironment): ditto
9930 * buffer.C (readLyXformat2): adjust
9931 (insertStringAsLines): adjust
9932 (latexParagraphs): adjust
9934 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9935 (cutSelection): adjust
9936 (pasteSelection): adjust
9938 * BufferView_pimpl.C (insertInset): adjust
9940 2003-03-05 Angus Leeming <leeming@lyx.org>
9943 * LyXAction.C (init):
9944 * BufferView_pimpl.C (dispatch):
9945 * lyxfunc.C (getStatus):
9946 remove LFUN_CHILD_INSERT.
9948 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9950 2003-03-05 Angus Leeming <leeming@lyx.org>
9953 * LyXAction.C (init):
9954 * src/factory.C (createInset):
9955 * lyxfunc.C (getStatus):
9956 * text3.C (dispatch):
9957 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9959 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9961 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9963 * ParagraphList.C (insert): handle insert right before end()
9964 (erase): fix cases where it can be first or last paragraph.
9966 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9968 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9969 Paragraph::next and Paragraph::previous
9972 * text.C (breakParagraph): adjust
9974 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9975 BufferParams& as arg.
9976 (breakParagraph): use ParagraphList::insert
9977 (breakParagraphConservative): take a Buffer* instead of a
9978 BufferParams& as arg.
9979 (breakParagraphConservative): use ParagraphList::insert.
9981 * buffer.C (insertStringAsLines): un-const it
9982 (insertStringAsLines): adjust
9984 * ParagraphList.C (insert): new function
9986 * CutAndPaste.C (pasteSelection): adjust
9988 * text.C (backspace): adjust
9990 * tabular.C (SetMultiColumn): adjust
9992 * CutAndPaste.C (cutSelection): adjust
9993 (pasteSelection): adjust
9995 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9996 Buffer const * as arg
9998 * ParagraphList.C (erase): new function
9999 * paragraph_funcs.C (mergeParagraph): use it
10000 (mergeParagraph): make it take a Buffer* instead of a
10001 BufferParams* as arg
10003 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10005 (breakParagraphConservative): ditto
10007 * paragraph.h: remove the breakParagraph friend
10009 * paragraph.C (eraseIntern): new function
10010 (setChange): new function
10012 * paragraph_funcs.C (mergeParagraph): make it take a
10013 ParagraphList::iterator instead of a Paragraph *, adjust
10016 * paragraph.h: move an #endif so that the change tracking stuff
10017 also works in the NO_NEXT case.
10019 2003-03-04 Angus Leeming <leeming@lyx.org>
10022 * LyXAction.C: new LFUN_INSET_MODIFY.
10024 * BufferView_pimpl.C (dispatch): if an inset is found to be open
10025 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10027 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10029 * several files: ws changes only
10031 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10032 (TeXEnvironment): ditto
10035 * buffer.C (makeLaTeXFile): adjust
10036 (latexParagraphs): make it take ParagraphList::iterator as args
10038 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
10040 * buffer.C (latexParagraphs): adjust
10042 * paragraph.C (TeXOnePar): move function...
10043 (optArgInset): move function...
10044 (TeXEnvironment): move function...
10045 * paragraph_pimpl.C (TeXDeeper): move function...
10046 * paragraph_funcs.C: ...here
10048 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10050 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10052 * buffer.C (readInset): remove compability code for old Figure and
10055 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10057 * buffer.C: ws changes
10060 * BufferView_pimpl.C: ditto
10063 * bufferlist.h: ditto
10067 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
10069 * converter.[Ch]: split into itself +
10072 * Makefile.am: += graph.[Ch] + format.[Ch]
10079 * lyxrc.C: added #include "format.h"
10081 2003-02-27 Angus Leeming <leeming@lyx.org>
10083 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10086 * factory.C (createInset): add "label" to the factory.
10088 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10089 string and do no more.
10091 2003-02-27 Angus Leeming <leeming@lyx.org>
10094 * LyXAction.C (init):
10095 * factory.C (createInset):
10096 * BufferView_pimpl.C (dispatch):
10097 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10099 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10101 * lyxfunc.C (dispatch):
10102 * text3.C (dispatch): pass name to params2string.
10104 2003-02-26 Angus Leeming <leeming@lyx.org>
10106 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10108 Rearrange the ~includes. Strip out the unnecessary ones.
10110 * factory.C (createInset): reformat.
10111 create new insets for the various LFUN_XYZ_APPLY lfuns.
10113 2003-02-26 John Levon <levon@movementarian.org>
10116 * lyxrow.C: add isParStart,isParEnd helpers
10118 * paragraph.h: make isInserted/DeletedText take refs
10120 * paragraph_funcs.h:
10121 * paragraph_funcs.C: remove #if 0'd code
10126 * text.C: use lyxrow helpers above.
10127 Move draw and paint routines to RowPainter.
10128 Make several methods use refs not pointers.
10129 Make backgroundColor() const.
10130 Add markChangeInDraw(), isInInset().
10131 Merge changeRegionCase into changeCase.
10132 Make workWidth() shouldn't-happen code into an Assert.
10135 * rowpainter.C: new class for painting a row.
10138 * vspace.C: make inPixels take a ref
10140 2003-02-26 Angus Leeming <leeming@lyx.org>
10142 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10145 2003-02-25 John Levon <levon@movementarian.org>
10147 * ispell.C: give the forked command a more accurate name
10149 2003-02-22 John Levon <levon@movementarian.org>
10152 * toc.C: make TocItem store an id not a Paragraph *
10155 2003-02-21 Angus Leeming <leeming@lyx.org>
10157 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10158 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10159 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10160 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10161 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10162 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10164 * BufferView_pimpl.C (dispatch):
10165 * LyXAction.C (init):
10166 * factory.C (createInset):
10167 * lyxfunc.C (getStatus, dispatch):
10168 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10170 2003-02-21 Angus Leeming <leeming@lyx.org>
10172 * BufferView_pimpl.C (MenuInsertLyXFile):
10173 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10174 * lyxfunc.C (menuNew, open, doImport):
10175 no longer pass a LyXView & to fileDlg.
10177 2003-02-21 Angus Leeming <leeming@lyx.org>
10179 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10180 * LyXAction.C: change, BIBKEY to BIBITEM.
10181 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10182 Change InsetBibKey to InsetBibitem.
10183 Change BIBKEY_CODE to BIBITEM_CODE.
10184 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10185 * factory.C: replace insetbib.h with insetbibitem.h.
10186 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10187 * paragraph.C: replace insetbib.h with insetbibitem.h.
10188 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10189 Change bibkey() to bibitem().
10190 * text.C: remove insetbib.h.
10191 * text2.C: replace insetbib.h with insetbibitem.h.
10192 change bibkey() to bibitem().
10193 * text3.C: remove insetbib.h.
10194 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10196 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10198 * lyxrc.C (output): enclose user email in quotes (in case there are
10201 2003-02-18 John Levon <levon@movementarian.org>
10203 * buffer.h: add std::
10205 2003-02-17 John Levon <levon@movementarian.org>
10211 * pspell.C: reworking. Especially in ispell, a large
10212 number of clean ups and bug fixes.
10214 * lyxfunc.C: fix revert to behave sensibly
10216 2003-02-17 André Pönitz <poenitz@gmx.net>
10219 * commandtags.h: new LFUN_INSERT_BIBKEY
10229 * paragraph_func.C: remove special bibkey handling
10231 2003-02-17 John Levon <levon@movementarian.org>
10233 * text.C (Delete): fix case where delete at the end of
10234 the very first paragraph would not merge the pars
10236 2003-02-17 John Levon <levon@movementarian.org>
10238 * lyxrow.C: fix lastPrintablePos()
10240 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10242 * bufferparams.C (writeLaTeX): add a std:here
10244 * buffer.C: and remove a using directive there
10246 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10248 * buffer.C (makeLaTeXFile): move the code that generates the
10251 * bufferparams.C (writeLaTeX): ... in this new method
10253 * LaTeXFeatures.C (getEncodingSet): make const
10254 (getLanguages): make const
10256 * MenuBackend.C (binding): returns the binding associated to this
10258 (add): sets the status of each item by calling getStatus. Adds
10260 (read): add support for OptSubMenu
10261 (expand): remove extra separator at the end of expanded menu
10263 2003-02-15 John Levon <levon@movementarian.org>
10266 * BufferView_pimpl.C:
10268 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10269 inset code that had no actual effect. Remove unneeded status
10272 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10274 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10277 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10279 * text.C (drawLengthMarker): also draw an arrow marker for
10280 symbolic lengths (medskip...)
10282 2003-02-14 John Levon <levon@movementarian.org>
10285 * tabular.C: better method names
10287 2003-02-14 John Levon <levon@movementarian.org>
10289 * BufferView_pimpl.C:
10294 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10295 it's a more accurate name. Remove some pointless uses.
10297 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10299 * text2.C (LyXText): change order of initilizers to shut off
10302 2003-02-14 John Levon <levon@movementarian.org>
10304 * buffer.C: use ParIterator for getParFromID()
10308 * paragraph_pimpl.h:
10309 * paragraph_pimpl.C: remove unused getParFromID()
10311 2003-02-14 John Levon <levon@movementarian.org>
10313 * buffer.C: remove some very old #if 0'd parse code
10315 2003-02-13 John Levon <levon@movementarian.org>
10319 * text2.C: move hfillExpansion(), numberOfSeparators(),
10320 rowLast(), rowLastPrintable(), numberofHfills(),
10321 numberOfLabelHfills() ...
10324 * lyxrow.C: ... to member functions here.
10329 * text.C: remove LyXText::beginningOfMainBody(), and call
10330 p->beginningOfMainBody() directly. Move the check for
10331 LABEL_MANUAL into the latter.
10338 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10344 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10345 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10347 2003-02-13 John Levon <levon@movementarian.org>
10349 * CutAndPaste.C: remove debug
10351 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10353 * paragraph.C (asString): remove two unused variables
10355 * lyxtextclass.C (readTitleType):
10357 (LyXTextClass): handle new members titletype_ and titlename_
10359 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10361 2003-02-09 John Levon <levon@movementarian.org>
10364 * buffer.C: replace hand-coded list with a map for the dep clean
10366 2003-02-08 John Levon <levon@movementarian.org>
10368 * LaTeX.C: consolidate code into showRunMessage() helper
10370 2003-02-08 John Levon <levon@movementarian.org>
10375 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10376 and pass the size in explicitly
10378 * BufferView_pimpl.h:
10379 * BufferView_pimpl.C:
10381 * BufferView.C: add getCurrentChange()
10383 * BufferView_pimpl.h:
10384 * BufferView_pimpl.C: handle change lfuns
10386 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10387 for changes. Mark pasted paragraphs as new.
10389 * support/lyxtime.h:
10390 * support/lyxtime.C:
10391 * DepTable.C: abstract time_t as lyx::time_type
10394 * LColor.C: add colours for new text, deleted text, changebars
10396 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10397 package use "usenames" option.
10401 * LyXAction.C: add change lfuns
10405 * author.C: author handling
10408 * buffer.C: add a per-buffer author list, with first entry as
10409 current author. Handle new .lyx tokens for change tracking. Output
10410 author list to .lyx file. Output dvipost stuff to .tex preamble.
10411 Bump lyx format to 222.
10414 * bufferlist.C: add setCurrentAuthor() to reset current author details
10418 * bufferparams.C: add param for tracking
10420 * bufferview_funcs.C: output change info in minibuffer
10424 * changes.C: add change-tracking structure
10427 * debug.C: add CHANGES debug flag
10430 * lyxfind.C: add code for finding the next change piece
10433 * lyxrc.C: add user_name and user_email
10436 * lyxrow.C: add a metric for the top of the text line
10439 * text.C: implement accept/rejectChange()
10442 * text.C: paint changebars. Paint new/deleted text in the chosen
10443 colours. Strike through deleted text.
10447 * paragraph_pimpl.h:
10448 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10449 in the current change to the insert functions. Rework erase to
10450 mark text as deleted, adding an eraseIntern() and a range-based
10451 erase(). Implement per-paragraph change lookup and
10454 * paragraph_funcs.C: Fixup paste for change tracking.
10456 * tabular.C: mark added row/columns as new.
10458 * text.C: fix rowLast() to never return -1. Don't allow
10459 spellchecking of deleted text. Track transpose changes. Don't
10460 allow paragraph break or merge where appropriate.
10462 * text2.C: leave cursor at end of selection after a cut.
10464 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10466 * text.C (getLengthMarkerHeight):
10467 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10468 visible on screen too.
10470 2003-02-07 John Levon <levon@movementarian.org>
10472 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10474 2003-02-05 Angus Leeming <leeming@lyx.org>
10476 * lyxserver.C (read_ready): revert my patch of 11 September last year
10477 as it sends PC cpu through the roof. Presumably this means that
10478 the lyxserver will no longer run on an Alpha...
10480 2003-01-30 Angus Leeming <leeming@lyx.org>
10482 * factory.C (createInset): create an InsetCommandParam of type "index"
10483 and use it to 'do the right thing'.
10485 * text2.C (getStringToIndex): ensure that cursor position is always
10486 reset to the reset_cursor position.
10488 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10490 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10493 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10497 * lyxfunc.C: Output messages with identical spelling, punctuation,
10500 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10502 * MenuBackend.C (expandFormats): List only viewable export formats
10505 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10508 * lyxfunc.C (getStatus): Make sure that formats other than
10509 "fax" can also be disabled
10511 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10513 * text3.C (dispatch): put the lfuns that insert insets in 3
10514 groups, and call doInsertInset with appropriate arguments.
10515 (doInsertInset): new function, that creates an inset and inserts
10516 it according to some boolean parameters.
10518 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10520 * buffer.C (readFile): remember to pass on 'par' when calling
10521 readFile recursively.
10523 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10525 * MenuBackend.C (expandFormats): add "..." to import formats.
10527 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10529 * paragraph.C (asString): Remove XForms RTL hacks.
10531 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10532 * buffer.C: fix typo
10534 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10536 * Makefile.am (LIBS): delete var
10537 (lyx_LDADD): add @LIBS@ here instead.
10539 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10541 * Clarify the meaning of "wheel mouse jump"
10543 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10545 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10548 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10550 * importer.C (Loaders): do not preallocate 3 elements in the
10551 vector, since one ends up with 6 elements otherwise
10553 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10555 * DepTable.C (write): write the file name as last element of the
10556 .dep file (because it may contain spaces)
10557 (read): read info in the right order
10559 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10561 * paragraph_pimpl.C (simpleTeXBlanks):
10562 (simpleTeXSpecialChars):
10563 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10565 * tabular.C (latex): add some missing case statements. Reindent.
10567 * MenuBackend.C (expandToc): remove unused variable.
10569 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10578 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10581 2003-01-05 John Levon <levon@movementarian.org>
10584 * BufferView.C: add getEncoding()
10587 * kbsequence.C: do not store last keypress
10590 * lyxfunc.C: store last keypress here instead. Pass encoding
10593 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10595 * lyx_main.C (init): remove annoying error message when following
10596 symbolic links (bug #780)
10598 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10600 * text.C (insertChar):
10601 * lyxrc.C (getDescription): remove extra spaces
10603 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10605 * lyxrc.C (getDescription): remove extra spaces
10607 2002-12-20 John Levon <levon@movementarian.org>
10609 * text3.C: hack fix for page up/down across tall rows
10611 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10613 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10616 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10618 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10619 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10620 thesaurus is not compiled in
10622 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10624 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10626 2002-12-16 Angus Leeming <leeming@lyx.org>
10629 * lyx_main.C (init): remove override_x_deadkeys stuff.
10631 2002-12-12 John Levon <levon@movementarian.org>
10633 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10634 insert. Only remove shift modifier under strict
10637 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10639 * MenuBackend.C (expandToc): fix crash.
10641 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10643 * MenuBackend.C (expandToc): gettext on float names.
10645 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10647 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10648 implement bool empty() [bug 490]
10650 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10652 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10654 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10656 * several files: ws changes
10658 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10660 * text2.C (setCounter): clean up a bit, use boost.format.
10661 (updateCounters): initialize par upon declaration.
10663 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10664 if the layout exists. We do not just store the layout any more.
10665 (SwitchLayoutsBetweenClasses): use boost.format
10667 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10669 * converter.C (convert): if from and to files are the same, use a
10670 temporary files as intermediary
10672 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10675 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10677 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10679 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10681 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10683 * tabular.C (asciiPrintCell): use string(size, char) instead of
10686 * sgml.C (openTag): fix order of arguments to string constructor
10689 * lyxfunc.C (dispatch): use boost.format
10691 * lots of files: change "c" -> 'c'
10693 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10695 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10697 2002-11-25 Angus Leeming <leeming@lyx.org>
10699 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10701 * lyx_main.C (init): compile fix.
10703 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10705 * lyx_cb.C (start): boost.formatify
10706 do not include <iostream>
10708 * lengthcommon.C: ws only
10710 * boost-inst.C,BoostFormat.h: add more explict instantations
10712 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10714 * lots of files: handle USE_BOOST_FORMAT
10716 2002-11-21 John Levon <levon@movementarian.org>
10718 * pspell.C: fix compile
10720 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10722 * lyxfunc.C (dispatch): use boost::format
10726 * lyxfont.C (stateText): use boost::format
10728 * lyx_main.C (LyX): use boost::format
10730 (queryUserLyXDir): ditto
10731 (readRcFile): ditto
10733 (typedef boost::function): use the recommened syntax.
10735 * importer.C (Import): use boost::format
10737 * debug.C (showLevel): use boost::format
10739 * converter.C (view): use boost::format
10744 * bufferview_funcs.C (currentState): use boost::format
10746 * bufferlist.C (emergencyWrite): use boost::format
10748 * buffer.C (readLyXformat2): use boost::format
10749 (parseSingleLyXformat2Token): ditto
10751 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10753 * LaTeX.C (run): use boost::format
10755 * Chktex.C (scanLogFile): use boost::format
10757 * BufferView_pimpl.C (savePosition): use boost::format
10758 (restorePosition): ditto
10759 (MenuInsertLyXFile): ditto
10761 * BoostFormat.h: help file for explicit instation.
10763 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10765 * tabular.C (latex): Support for block alignment in fixed width
10768 2002-11-17 John Levon <levon@movementarian.org>
10770 * BufferView_pimpl.C:
10772 * lyxfunc.C: split filedialog into open/save
10774 2002-11-08 Juergen Vigna <jug@sad.it>
10776 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10777 by my last patch (hopefully).
10779 2002-11-08 John Levon <levon@movementarian.org>
10788 * toc.C: ParConstIterator, and use it (from Lars)
10790 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10792 * lyxtextclass.[Ch]: revise and add doxygen comments
10794 2002-11-07 John Levon <levon@movementarian.org>
10796 * text.C: fix progress value for spellchecker
10798 * toc.C: fix navigate menu for insetwrap inside minipage
10800 * paragraph_funcs.C: added FIXME for suspect code
10802 2002-11-07 John Levon <levon@movementarian.org>
10804 * BufferView_pimpl.C: fix redrawing of insets
10807 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10809 * text2.C (updateCounters): fix bug 668
10811 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10813 * text3.C (dispatch): Do not make the buffer dirty when moving the
10816 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10818 * vc-backend.C: STRCONV
10819 (scanMaster): ditto
10821 * text2.C (setCounter): STRCONV
10823 * paragraph.C (asString): STRCONV
10825 * lyxlength.C (asString): STRCONV
10826 (asLatexString): ditto
10828 * lyxgluelength.C (asString): STRCONV
10829 (asLatexString): ditto
10831 * lyxfunc.C (dispatch): STRCONV
10834 * lyxfont.C (stateText): STRCONV
10836 * importer.C (Import): STRCONV
10838 * counters.C (labelItem): STRCONV
10839 (numberLabel): ditto
10840 (numberLabel): remove unused ostringstream o
10845 * bufferview_funcs.C (currentState): STRCONV
10847 * buffer.C (readFile): STRCONV
10848 (asciiParagraph): ditto
10849 (makeLaTeXFile): ditto
10851 * Spacing.C (writeEnvirBegin): STRCONV
10853 * LaTeXFeatures.C (getLanguages): STRCONV
10854 (getPackages): ditto
10856 (getBabelOptions): ditto
10857 (getTClassPreamble): ditto
10858 (getLyXSGMLEntities): ditto
10859 (getIncludedFiles): ditto
10863 (scanAuxFile): ditto
10866 * LString.h: add the STRCONV macros
10868 * BufferView_pimpl.C (savePosition): STRCONV
10869 (restorePosition): ditto
10870 (MenuInsertLyXFile): ditto
10872 * vc-backend.C (scanMaster): change from submatch[...] to
10875 * funcrequest.C: include config.h
10877 * factory.C: include config.h
10879 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10881 * box.C: include config.h
10883 * LaTeX.C (scanAuxFile): change from submatch[...] to
10887 2002-10-25 Angus Leeming <leeming@lyx.org>
10889 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10891 * ispell.[Ch] (setError): new method.
10892 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10893 Use setError() insetead of goto END.
10895 * lyx_cb.C (AutoSave): move out child process into new class
10898 2002-10-30 John Levon <levon@movementarian.org>
10900 * text3.C: make start appendix undoable
10902 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10904 * lyxlength.C (inPixels): Fix returned value.
10906 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10909 2002-10-24 Angus Leeming <leeming@lyx.org>
10911 * lyxgluelength.h: no need to forward declare BufferParams
10912 or BufferView, so don't.
10914 2002-10-21 John Levon <levon@movementarian.org>
10916 * BufferView.C: menuUndo ->undo, redo
10918 * BufferView.h: document, remove dead, make some methods private
10920 * paragraph_funcs.h:
10921 * paragraph_funcs.C:
10922 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10927 * sgml.C: move sgml open/close tag into sgml.C
10929 * bufferview_funcs.h: unused prototype
10932 * lyxfunc.C: remove unused
10935 * text.C: remove unused
10937 2002-10-21 John Levon <levon@movementarian.org>
10941 * BufferView_pimpl.h:
10942 * BufferView_pimpl.C: fix mouse wheel handling based on
10943 patch from Darren Freeman
10945 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10947 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10949 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10951 * lyxlength.C (inPixels): Fix hanfling of negative length.
10952 Fix LyXLength::MU case.
10954 2002-10-16 John Levon <levon@movementarian.org>
10956 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10958 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10960 * converter.C (view): add support for $$i (file name) and $$p
10961 (file path) for the viewer command. If $$i is not specified, then
10962 it is appended to the command (for compatibility with old syntax)
10964 2002-10-14 Juergen Vigna <jug@sad.it>
10966 * undo_funcs.C (textHandleUndo): alter the order in which the
10967 new undopar is added to the LyXText, as we have to set first
10968 the right prev/next and then add it as otherwise the rebuild of
10969 LyXText is not correct. Also reset the cursor to the right paragraph,
10970 with this IMO we could remove the hack in "redoParagraphs()".
10972 2002-10-09 Angus Leeming <leeming@lyx.org>
10974 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10975 to turn off an optimisation if a new inset is to be inserted.
10977 2002-10-11 André Pönitz <poenitz@gmx.net>
10979 * lyxtext.h: make some functions public to allow access
10980 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10982 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10984 * text3.C (dispatch): when changing layout, avoid an infinite loop
10987 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10989 * lyxrc.C (read): treat a viewer or converter command of "none" as
10992 * MenuBackend.C (expandFormats): for an update, also allow the
10993 formats that are not viewable
10995 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10996 script if it is newer than the lyxrc.defaults in user directory
10998 2002-10-07 André Pönitz <poenitz@gmx.net>
11000 * text.C: Vitaly Lipatov's small i18n fix
11002 2002-09-25 Angus Leeming <leeming@lyx.org>
11004 * ispell.h: doxygen fix.
11006 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
11008 * buffer.h (readFile): Add a new argument to the method, to allow
11009 reading of old-format templates.
11011 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
11013 * toc.C (getTocList): Get TOC from InsetWrap.
11015 2002-09-16 John Levon <levon@movementarian.org>
11017 * lyxfunc.C: check tabular for cut/copy too
11019 2002-09-12 John Levon <levon@movementarian.org>
11021 * LyXAction.C: tidy
11024 * factory.C: add header
11026 * paragraph_funcs.h:
11027 * paragraph_funcs.C: cleanup
11029 2002-09-11 John Levon <levon@movementarian.org>
11031 * PrinterParams.h: odd/even default to true
11033 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
11035 * PrinterParams.h: update printer parameters for new xforms dialog
11037 2002-09-11 Angus Leeming <leeming@lyx.org>
11039 * lyxserver.C (read_ready): re-write to make it more transparent
11040 and to make it work in coherent fashion under Tru64 Unix.
11042 2002-09-11 André Pönitz <poenitz@gmx.net>
11046 * text3.C: implement LFUN_WORDSEL
11048 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11050 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11051 make floatlist_ a boost::shared_ptr<FloatList>
11053 * lyxtextclass.C: include FloatList.h
11054 (LyXTextClass): initialize floatlist_
11055 (TextClassTags): add TC_NOFLOAT
11056 (Read): match "nofloat" to TC_NOFLOAT and use it.
11057 (readFloat): modify call to floatlist_
11061 * FloatList.[Ch] (FloatList): remove commented out float
11063 (erase): new function
11065 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11067 * MenuBackend.C (expandToc): fix crash when there is no document
11070 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
11072 * many files: Add insetwrap.
11074 2002-09-09 John Levon <levon@movementarian.org>
11076 * text2.C: remove confusing and awkward depth wraparound
11078 2002-09-09 John Levon <levon@movementarian.org>
11080 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11083 * buffer.C: remove getIncludeonlyList()
11086 * lyxfunc.C: remove headers
11088 2002-09-09 Juergen Vigna <jug@sad.it>
11090 * text.C (getColumnNearX): fix form Michael this is most
11091 probably a cut&paste bug.
11093 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
11095 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11097 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11098 references, ws changes.
11100 * text2.C (init): update counters after init
11101 (insertParagraph): no need to set counter on idividual paragraphs.
11102 (setCounter): access the counters object in the textclass object
11103 on in the buffer object.
11104 (updateCounters): ditto
11106 * lyxtextclass.C: include counters.h, add variable ctrs_ as
11107 shared_ptr<Counters> to avoid loading counters.h in all
11109 (LyXTextClass): initialize ctrs_
11110 (TextClassTags): add TC_COUNTER, and ...
11111 (Read): use it here.
11112 (CounterTags): new tags
11113 (readCounter): new function
11114 (counters): new funtion
11115 (defaultLayoutName): return a const reference
11117 * counters.C (Counters): remove contructor
11118 (newCounter): remove a couple of unneeded statements.
11119 (newCounter): simplify a bit.
11120 (numberLabel): some small formatting changes.
11122 * buffer.[Ch]: remove all traces of counters, move the Counters
11123 object to the LyXTextClass.
11125 2002-09-06 Alain Castera <castera@in2p3.fr>
11127 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11128 package to set the horizontal alignment on fixed width columns.
11131 * lyx_sty.h: added tabularnewline macro def.
11133 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11135 2002-09-06 John Levon <levon@movementarian.org>
11137 * LyXAction.C: tooltips for sub/superscript
11139 * MenuBackend.C: a bit more verbose
11141 * lyxfunc.C: tiny clean
11143 * undo_funcs.C: document undo_frozen
11145 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11147 * counters.C (Counters): add missing algorithm counter.
11149 * text2.C (setCounter): lookup the counter with layouts latexname
11150 instead of by section number.
11151 (setCounter): use a hackish way to lookup the correct enum
11153 a float name->type change
11154 reset enum couners with counter name directly instead of depth value.
11156 * counters.C (Counters): remove the push_backs, change to use the
11157 float type not the float name.
11158 (labelItem): remove unused string, float name->type change
11160 * counters.h: don't include vector, loose the enums and sects vectors
11162 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11164 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11165 (Read): add float->TC_FLOAT to textclassTags
11166 (Read): and handle it in the switch
11167 (readFloat): new function
11169 * FloatList.C (FloatList): comment out the hardcoded float
11172 * lyxlayout.h: ws change.
11174 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11176 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11178 2002-09-03 Angus Leeming <leeming@lyx.org>
11180 * BufferView_pimpl.h: qualified name is not allowed in member
11181 declaration: WorkArea & Pimpl::workarea() const;
11183 * factory.C: added using std::endl directive.
11185 * text3.C: added using std::find and std::vector directives.
11187 2002-08-29 André Pönitz <poenitz@gmx.net>
11190 * text2.C: remove unused member number_of_rows
11193 * BufferView2.C: remove file, move contents to...
11194 * BufferView.C: ... here
11196 * BufferView_pimpl.C:
11197 * factory.C: move more inset creation to factory
11199 * vspace.C: avoid direct usage of LyXText, ws changes
11202 don't provide direct access to WorkArea, use two simple
11203 acessors haveSelction() and workHeight() instead
11206 2002-08-29 John Levon <levon@movementarian.org>
11208 * BufferView_pimpl.C (dispatch): do not continue when
11211 2002-08-28 André Pönitz <poenitz@gmx.net>
11213 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11216 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11218 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11220 * buffer.C: increment LYX_FORMAT to 221
11222 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11223 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11225 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11227 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11229 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11231 * factory.C (createInset): use LyXTextClass::floats
11233 * MenuBackend.C (expandFloatListInsert):
11234 (expandFloatInsert):
11237 * text2.C (setCounter):
11239 * LaTeXFeatures.C (useFloat):
11240 (getFloatDefinitions):
11242 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11244 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11245 floatlist_, with accessor floats().
11247 * FloatList.h: remove global FloatList
11249 2002-08-26 André Pönitz <poenitz@gmx.net>
11251 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11255 * BufferView_pimpl.C:
11256 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11258 2002-08-25 John Levon <levon@movementarian.org>
11260 * LyXAction.C: fix margin note description
11262 2002-08-24 John Levon <levon@movementarian.org>
11266 * bufferview_funcs.C:
11268 * undo_funcs.C: cleanups
11270 * lyxfunc.C: disable CUT/COPY when no selection
11272 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11274 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11275 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11277 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11278 Add backward compatibility to "mono", "gray" and "no".
11280 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11282 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11283 (and file_format >= 200).
11285 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11287 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11289 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11291 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11293 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11295 * BufferView_pimpl.C:
11302 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11303 inset and code to make it work with the paragraph code. The inset
11304 can be anywhere in the paragraph, but will only do the expected
11305 thing in LaTeX if the layout file contains the parameter line
11307 (or more generally, a nonzero value) for that layout.
11309 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11311 * paragraph.h: remove the declaration of undefined counters class
11314 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11316 * text2.C (setCounter): fixed enumeration mis-count as reported by
11317 Dr. Richard Hawkins.
11319 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11321 * paragraph_funcs.h: remove some unneeded includes
11323 * text.C (backspace): pasteParagraph now in global scipe
11325 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11326 (pasteSelection): ditto
11328 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11329 * paragraph_funcs.C (pasteParagraph): ... here
11331 2002-08-20 André Pönitz <poenitz@gmx.net>
11333 * commandtags.h: new LFUNs for swapping/copying table row/colums
11336 * lyxfunc.C: support for new lfuns
11338 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11341 * buffer.[Ch]: remove NO_COMPABILITY stuff
11343 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11345 * boost.C (throw_exception): new file, with helper function for
11346 boost compiled without exceptions.
11351 * ParameterStruct.h:
11352 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11354 * bufferlist.C (emergencyWriteAll): use boost bind
11356 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11358 * text.C: include paragraph_funcs.h
11359 (breakParagraph): breakParagraph is now in global scope
11361 * paragraph_funcs.[Ch]: new files
11363 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11366 * buffer.C: include paragraph_funcs.h
11367 (insertStringAsLines): breakParagraph is now in global scope
11369 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11372 * CutAndPaste.C: include paragraph_funcs.h
11373 (cutSelection): breakParagraphConservative is now in global scope
11374 (pasteSelection): ditto
11376 * buffer.h: declare oprator== and operator!= for
11377 Buffer::inset_iterator
11379 * bufferlist.C (emergencyWrite): don't use fmt(...)
11381 * text3.C: add using std::endl
11383 * BufferView.C (moveCursorUpdate): remove default arg
11385 2002-08-20 André Pönitz <poenitz@gmx.net>
11387 * buffer.[Ch]: move inline functions to .C
11390 * BufferView_pimpl.C:
11392 * buffer.[Ch]: use improved inset_iterator
11395 * paragraph.[Ch]: write one paragraph at a time
11397 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11399 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11400 style if style is not specified.
11402 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11404 * text2.C (setCounter): when searching for right label for a
11405 caption, make sure to recurse to parent insets (so that a caption
11406 in a minipage in a figure float works) (bug #568)
11408 2002-08-20 André Pönitz <poenitz@gmx.net>
11410 * text3.C: new file for LyXText::dispatch() and helpers
11412 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11414 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11416 2002-08-19 André Pönitz <poenitz@gmx.net>
11419 * text.C: new LyXText::dispatch()
11421 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11423 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11425 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11427 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11430 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11432 * Makefile.am: use $(variables) instead of @substitutions@
11434 2002-08-15 André Pönitz <poenitz@gmx.net>
11437 * BufferView_pimpl.C: streamlining mathed <-> outer world
11441 * LyXAction.C: remove unused LFUN_MATH
11443 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11445 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11447 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11449 * paragraph.C (Paragraph): reformat a bit
11450 (cutIntoMinibuffer): use builtin InsetList function instad of
11454 * buffer.C: include boost/bind.hpp, add using std::for_each
11455 (writeFileAscii): use ParagraphList iterators
11456 (validate): use for_each for validate traversal of paragraphs
11457 (getBibkeyList): use ParagraphList iterators
11458 (resizeInsets): use for_each to resizeInsetsLyXText for all
11460 (getParFromID): use ParagraphList iterators
11462 * BufferView2.C (lockInset): use paragraph list and iterators
11464 2002-08-14 John Levon <levon@movementarian.org>
11466 * lyxserver.C: remove spurious xforms include
11468 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11470 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11472 2002-08-13 André Pönitz <poenitz@gmx.net>
11475 * lyxfunc.C: further cleaning
11477 2002-08-13 André Pönitz <poenitz@gmx.net>
11479 * funcrequest.h: new constructor
11481 * funcrequest.C: move stuff here from .h
11484 * BufferView_pimpl.C:
11487 * lyxfunc.C: subsequent changes
11489 * lyxfunc.h: new view() member function
11491 * lyxfunc.C: subsequent changes
11493 2002-08-13 Angus Leeming <leeming@lyx.org>
11496 * BufferView_pimpl.C:
11504 changes due to the changed LyXView interface that now returns references
11505 to member variables not pointers.
11507 2002-08-13 Angus Leeming <leeming@lyx.org>
11509 * WordLangTuple (word, lang_code): return references to strings,
11514 * lyxtext.h: forward-declare WordLangTuple.
11519 * text.C: #include "WordLangTuple.h".
11522 * text.C: (selectNextWordToSpellcheck): constify return type.
11524 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11530 * paragraph_pimpl.h:
11533 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11534 suggested by Angus.
11535 Made updateCounter always count from start of buffer, and removed
11536 second argument (par).
11537 Reverted floats number display to '#'. Perhaps I'll try again when the
11538 code base is sanitized a bit.
11540 2002-08-12 Angus Leeming <leeming@lyx.org>
11542 * buffer.[Ch] (getLabelList): constify.
11544 2002-08-07 André Pönitz <poenitz@gmx.net>
11546 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11548 * funcrequest.h: extension to keep mouse (x,y) position
11550 2002-08-12 Juergen Vigna <jug@sad.it>
11552 * BufferView2.C (insertErrors): forbid undo when inserting error
11555 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11557 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11559 * ParagraphList.[Ch]: new files
11561 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11563 * BufferView2.C (lockInset): ParagraphList changes
11566 * bufferlist.C: ditto
11570 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11572 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11573 unused class variable counter_,
11575 * paragraph.[Ch] (getFirstCounter): delete unused function
11577 * counters.C: include LAssert.h
11578 (reset): add a new function with no arg, change other version to
11579 not have def. arg and to not allow empty arg.
11581 * text2.C (setCounter): remove empty arg from call to Counters::reset
11583 2002-08-11 John Levon <levon@movementarian.org>
11585 * Makefile.am: add WordLangTuple.h
11587 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11589 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11590 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11592 * insets/insettext.C: InsetList changes
11594 * graphics/GraphicsSupport.C (operator()): InsetList changes
11596 * toc.C (getTocList): InsetList changes
11598 * paragraph_pimpl.[Ch]: InsetList changes
11600 * paragraph.[Ch]: InsetList changes
11602 * buffer.C (inset_iterator): InsetList changes
11603 (setParagraph): ditto
11604 * buffer.h (inset_iterator): ditto
11605 * iterators.C (operator++): ditto
11606 * iterators.h: ditto
11608 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11610 * InsetList.[Ch]: new files, most InsetList handling moved out of
11613 * BufferView2.C (removeAutoInsets): InsetList changes
11615 (ChangeInsets): ditto
11617 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11619 * paragraph_pimpl.h (empty): new function
11621 * paragraph.[Ch] (empty): new function
11623 * other files: use the new Paragraph::empty function
11625 2002-08-09 John Levon <levon@movementarian.org>
11627 * lyxtext.h: remove unused refresh_height
11629 2002-08-09 John Levon <levon@movementarian.org>
11636 * paragraph.C: move sgml char escaping out of paragraph
11639 * paragraph.C: remove id setter
11643 * paragraph_pimpl.C: remove dead tex_code_break_column
11645 * bufferview_funcs.C: small cleanup
11647 * lyxfunc.C: remove dead proto
11649 * lyxtext.h: make some stuff private. Remove some dead stuff.
11651 * lyxgluelength.C: make as[LyX]String() readable
11653 2002-08-08 John Levon <levon@movementarian.org>
11658 * ToolbarDefaults.C:
11661 * toc.C: lyxaction cleanup
11663 2002-08-08 John Levon <levon@movementarian.org>
11665 * BufferView2.C: small cleanup
11668 * lyxfind.C: move unnecessary header into the .C
11670 2002-08-08 John Levon <levon@movementarian.org>
11672 * funcrequest.h: just tedious nonsense
11675 * lyx_main.C: cleanups
11678 * vspace.C: remove dead header lyx_main.h
11680 2002-08-07 Angus Leeming <leeming@lyx.org>
11683 * paragraph_pimpl.h:
11684 Forward declare class Counters in paragraph.h by moving the ctrs member
11685 variable into Paragraph::Pimpl.
11686 (counters): new method, returning a reference to pimpl_->ctrs.
11688 * text2.C: ensuing changes.
11690 2002-08-07 John Levon <levon@movementarian.org>
11692 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11694 * BufferView_pimpl.C: announce X selection on double/triple
11697 * lyx_main.C: use correct bool in batch dispatch
11699 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11701 2002-08-07 André Pönitz <poenitz@gmx.net>
11703 * funcrequest.h: new class to wrap a kb_action and its argument
11706 * BufferView_pimpl[Ch]:
11710 * lyxrc.C: subsequent changes
11713 2002-08-07 John Levon <levon@movementarian.org>
11715 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11716 document options change.
11718 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11723 * makefile.am: move counters functionality over from
11724 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11726 2002-08-06 John Levon <levon@movementarian.org>
11728 * WordLangTuple.h: new file for word + language code tuple
11739 * BufferView2.C: use WordLangTuple
11742 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11744 2002-08-06 John Levon <levon@movementarian.org>
11746 * lyx_main.C: fix cmdline batch handling
11748 2002-08-06 André Pönitz <poenitz@gmx.net>
11750 * lyxrc.C: set default for show_banner to true
11752 2002-08-06 John Levon <levon@movementarian.org>
11754 * pspell.C: fix a crash, and allow new aspell to work
11756 2002-08-06 John Levon <levon@movementarian.org>
11759 * kbmap.C: small cleanup
11762 * vspace.C: add const
11764 2002-08-05 John Levon <levon@movementarian.org>
11766 * LyXAction.C: back to tabular-insert
11768 2002-08-04 John Levon <levon@movementarian.org>
11771 * BufferView.C: cosmetic change
11773 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11783 * BufferView2.C: purge all "Lyx" not "LyX" strings
11786 * lyxcursor.C: attempt to add some documentation
11791 * ToolbarDefaults.C:
11792 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11793 merge with LFUN_TABULAR_INSERT
11800 * pspell.C: split up i/pspell implementations into separate
11801 files, many cleanups
11803 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11805 * text2.C: some cleanup
11807 * lyxfunc.C: don't check for isp_command == "none" any more, it
11808 didn't make any sense
11810 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11815 * makefile.am: move counters functionality over
11816 from text2.C/paragraph.[Ch] to counters.[Ch], and
11818 2002-08-02 John Levon <levon@movementarian.org>
11820 * buffer.C: s/lyxconvert/lyx2lyx/
11822 2002-08-02 Angus Leeming <leeming@lyx.org>
11824 * lyxlex.C: revert John's change as it breaks reading of the user
11827 2002-08-02 Angus Leeming <leeming@lyx.org>
11829 * importer.C (Import):
11830 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11831 changes due to LyXView::view() now returning a boost::shared_ptr.
11833 2002-08-02 John Levon <levon@movementarian.org>
11835 * lyxlex.C: small cleanup
11837 2002-08-02 John Levon <levon@movementarian.org>
11839 * text2.C (status): small cleanup, no logic change
11841 2002-08-01 John Levon <levon@movementarian.org>
11844 * buffer.C (writeFile): don't output alerts, caller
11848 * lyx_cb.C: from above
11850 * lyxfunc.C: allow to open non-existent files
11852 2002-07-31 John Levon <levon@movementarian.org>
11854 * lyxserver.C: don't let incidental errors get
11857 2002-07-30 John Levon <levon@movementarian.org>
11859 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11861 2002-07-30 John Levon <levon@movementarian.org>
11864 * lyxserver.C: remove I/O callback too
11866 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11868 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11871 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11873 * many files: strip,frontStrip -> trim,ltrim,rtrim
11875 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11877 * PrinterParams.h: remove extern containsOnly, and include
11878 support/lstrings.h instead.
11880 * LaTeX.C (scanAuxFile): modify because of strip changes
11882 * buffer.C (makeLaTeXFile): ditto
11883 * bufferparams.C (writeFile): ditt
11884 * lyxfont.C (stateText): ditto
11885 * lyxserver.C (read_ready): ditto
11886 * vc-backend.C (scanMaster): ditto
11888 * BufferView_pimpl.h: ws changes
11890 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11892 2002-07-26 André Pönitz <poenitz@gmx.net>
11894 * kb_sequence.C: remove unnedred usings
11896 2002-07-26 Juergen Vigna <jug@sad.it>
11898 * lyxfind.C (LyXReplace): we have to check better if the returned
11899 text is not of theLockingInset()->getLockingInset().
11901 2002-07-25 Juergen Vigna <jug@sad.it>
11903 * lyxfind.C (LyXReplace): don't replace if we don't get the
11906 * undo_funcs.C (createUndo): remove debugging code.
11908 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11910 * buffer.C (parseSingleLyXformat2Token): Use default placement
11911 when reading old floats.
11913 * FloatList.C (FloatList): Change the default placement of figure
11914 and tables to "tbp".
11916 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11918 * MenuBackend.C: using std::max
11920 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11922 * MenuBackend.C (expandToc):
11923 (expandToc2): code moved from xforms menu frontend. It is now
11924 generic and TOCs are transparent to menu frontends.
11926 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11928 * toc.C (getTocList): protect against buf=0
11930 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11931 Menu as first parameter. Now, this calls itself recursively to
11932 expand a whole tree (this will be useful for TOC handling)
11933 (expandFloatInsert): remove 'wide' version of floats
11935 * MenuBackend.h (submenuname): returns the name of the submenu.
11936 (submenu): returns the submenu itself, provided it has been
11937 created by MenuBackend::expand
11939 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11941 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11942 insets which have noFontChange == true. (bug #172)
11944 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11946 * BufferView_pimpl.C: add connection objects and use them...
11949 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11951 * MenuBackend.C (expandLastfiles):
11954 (expandFloatListInsert):
11955 (expandFloatInsert):
11956 (expand): split expand in parts
11958 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11960 * lyx_gui.C: use lyx_gui::exit()
11962 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11964 * LyXAction.C: show the failing pseudo action
11966 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11968 * buffer.C (readFile): Run the lyxconvert script in order to read
11971 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11975 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11977 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11981 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11983 2002-07-22 Herbert Voss <voss@lyx.org>
11986 * lyxlength.[Ch]: add support for the vertical lengths
11988 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11990 * toc.[Ch]: std:: fixes
11992 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11994 * lyxrc.C: do not include lyx_main.h
11996 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12002 * BufferView2.C: include "lyxlex.h"
12005 * bufferparams.h: do not #include "lyxlex.h"
12007 * lyxtextclasslist.C (Add): remove method
12008 (classlist): renamed to classlist_
12010 * paragraph_pimpl.C:
12014 * bufferview_funcs.C:
12019 * toc.C (getTocList): use BufferParams::getLyXTextClass
12021 * toc.C (getTocList): use InsetFloat::addToToc
12023 * toc.[Ch]: new files, containing helper functions to handle table
12026 * lyxfunc.C (dispatch): no need to remove spaces around command
12028 (getStatus): handle LFUN_SEQUENCE by returning the status of the
12029 first command of the sequence; it is not very clever, but I do not
12030 have a better idea, actually
12032 * LyXAction.C (LookupFunc): make sure to remove space at the
12033 beginning and end of the command
12035 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12037 * MenuBackend.C (getMenubar): new method: return the menubar of
12039 (read): treat differently reading of menu and menubar (in
12040 particular, the menubar has no name now)
12041 (Menu::menubar): remove
12043 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12046 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12048 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12049 a bibitem inset in a RTL paragraph.
12051 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
12053 * paragraph_pimpl.C: constify
12055 * BufferView_pimpl.C:
12057 * lyxfunc.C: fix dispatch in a nicer way
12059 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12061 * lyxfunc.C (dispatch):
12062 * BufferView_pimpl.C:
12063 * BufferView_pimpl.h:
12065 * BufferView.h: rename Dispatch() to dispatch()
12067 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12069 * lyxlayout.C (Read): honor DependsOn tag
12071 * lyxlayout.[Ch] (depends_on): new method
12073 * version.C.in: update lyx_docversion
12075 * LaTeXFeatures.C (getMacros): only define \LyX when needed
12077 * paragraph.C (validate): remove from here...
12078 * paragraph_pimpl.C (validate): ... and move here
12079 (isTextAt): make it const
12081 * buffer.C (getLists): ws cleanup
12083 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12085 * language.C (read): Use iso8859-1 encoding in latex_lang
12086 (this prevents LyX from crashing when using iso10646-1 encoding).
12088 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12090 * text2.C (toggleInset): if cursor is inside an inset, close the
12091 inset and leave cursor _after_ it
12093 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12095 * lyxfunc.C: move minibuffer completion handling out of here
12097 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12099 * BufferView_pimpl.C:
12100 * LaTeX.C: fix dispatch calls
12102 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
12104 * text.C (drawChars): Fix Arabic text rendering.
12106 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
12110 * lyxfunc.C: remove message-push/pop
12114 * lyxfunc.C: rationalise some code by removing verboseDispatch
12115 in favour of a bool argument to dispatch()
12117 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12119 * lyx_main.C (init): make sure to read symlinks as absolute paths
12121 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12124 * lyxfunc.C: no need for commandshortcut to be a member
12126 2002-07-15 André Pönitz <poenitz@gmx.net>
12128 * converter.C: add support for $$s (scripts from lib/scripts dir)
12129 * lyx_main.C: white space
12131 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12135 * lyxrc.C: remove second exit confirmation
12137 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12142 * BufferView_pimpl.h:
12143 * BufferView_pimpl.C:
12144 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12146 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12148 * MenuBackend.C (expand): add numeric shortcuts to document menu
12150 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12152 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12154 * lyxfont.C (setLyXFamily):
12161 * buffer.C (asciiParagraph): use ascii_lowercase
12163 2002-07-15 Mike Fabian <mfabian@suse.de>
12165 * lyxlex_pimpl.C (search_kw):
12166 * lyxlex.C (getLongString):
12167 * converter.h (operator<):
12168 * converter.C (operator<):
12169 * buffer.C (parseSingleLyXformat2Token):
12171 * ToolbarDefaults.C (read):
12172 * MenuBackend.C (checkShortcuts):
12174 * LColor.C (getFromGUIName):
12175 (getFromLyXName): use the compare_ascii_no_case instead of
12176 compare_no_case, because in turkish, 'i' is not the lowercase
12177 version of 'I', and thus turkish locale breaks parsing of tags.
12179 2002-07-16 Angus Leeming <leeming@lyx.org>
12181 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12182 now takes a Buffer const & argument.
12184 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12186 * BufferView.C (resize): check there's a buffer to resize
12188 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12190 * lyxfunc.C: remove dead code
12193 * lyxserver.C: use lyx_guii::set_read_callback
12195 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12197 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12198 an inset in a RTL paragraph.
12200 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12202 * lyxfunc.C: repaint after a font size update
12204 2002-07-15 André Pönitz <poenitz@gmx.net>
12206 * lyxlength.C: inBP should be able to return negative values
12208 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12210 * lyxfunc.C: use lyx_gui::update_fonts()
12212 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12214 * lyxfunc.C: use lyx_gui::update_color()
12216 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12222 * lyxrc.C: remove file->new asks for name option, and let
12223 buffer-new take an argument
12225 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12227 * BufferView_pimpl.C: remove unneeded extra repaint()
12229 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12231 * LyXAction.C: allow command-sequence with NoBuffer
12233 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12235 2002-07-10 Angus Leeming <leeming@lyx.org>
12237 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12239 2002-07-09 Angus Leeming <leeming@lyx.org>
12241 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12243 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12245 * lengthcommon.h: whitespace
12247 * lyxfunc.C: update scrollbar after goto paragraph
12249 * lyxtext.h: factor out page break drawing, and fix it so
12250 page break/added space paints as selected nicely
12252 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12254 * BufferView_pimpl.C: add FIXMEs, clean up a little
12256 2002-07-09 André Pönitz <poenitz@gmx.net>
12258 * lyxfont.[Ch]: support for wasy symbols
12260 2002-07-08 André Pönitz <poenitz@gmx.net>
12262 * BufferView_pimpl.C: apply John's patch for #93.
12264 2002-07-05 Angus Leeming <leeming@lyx.org>
12266 * BufferView_pimpl.C (buffer): generate previews if desired.
12268 * LColor.h: add "preview" to the color enum.
12270 * LColor.C (LColor): add a corresponding entry to the items array.
12272 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12275 2002-07-05 Angus Leeming <leeming@lyx.org>
12277 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12278 The body of the code is now in the method that is passed an ostream &
12279 rather than a file name.
12280 Pass an additional only_preamble parameter, useful for the forthcoming
12283 2002-07-03 André Pönitz <poenitz@gmx.net>
12285 * lyxfunc.C: simplify getStatus() a bit for math stuff
12287 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12289 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12291 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12293 * text.C (changeRegionCase): do not change case of all the
12294 document when region ends at paragraph end (bug #461)
12296 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12298 * paragraph.C (startTeXParParams):
12299 (endTeXParParams): add \protect when necessary
12301 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12303 * BufferView_pimpl.C (workAreaExpose): remove warning
12305 2002-06-27 Angus Leeming <leeming@lyx.org>
12307 * Makefile.am: add lyxlayout_ptr_fwd.h.
12309 2002-06-26 André Pönitz <poenitz@gmx.net>
12311 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12313 2002-06-25 Angus Leeming <leeming@lyx.org>
12315 * lyxfunc.C (dispatch): Comment out the call to
12316 grfx::GCache::changeDisplay. The method no longer exists now that the
12317 pixmap generation part of the graphics loader has been moved into
12320 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12322 * text2.C: layout as layout
12324 * text.C: layout as layout
12326 * tabular.C (OldFormatRead): layout as layout
12328 * paragraph_pimpl.C (TeXDeeper): layout as layout
12329 (realizeFont): layout as layout
12331 * paragraph.C (writeFile): layout as layout
12332 (validate): layout as layout
12333 (getFont): layout as layout
12334 (getLabelFont): layout as layout
12335 (getLayoutFont): layout as layout
12336 (breakParagraph): layout as layout
12337 (stripLeadingSpaces): layout as layout
12338 (getEndLabel): layout as layout
12339 (getMaxDepthAfter): layout as layout
12340 (applyLayout): layout as layout
12341 (TeXOnePar): layout as layout
12342 (simpleTeXOnePar): layout as layout
12343 (TeXEnvironment): layout as layout
12344 (layout): layout as layout
12345 (layout): layout as layout
12347 * lyxtextclass.C (compare_name): new functor to work with
12348 shared_ptr, layout as layout
12349 (Read): layout as layout
12350 (hasLayout): layout as layout
12351 (operator): layout as layout
12352 (delete_layout): layout as layout
12353 (defaultLayout): layout as layout
12355 * lyxlayout_ptr_fwd.h: new file
12357 * lyxlayout.C (Read): layout as layout
12359 * lyx_cb.C (MenuInsertLabel): layout as layout
12361 * bufferlist.C (newFile): layout as layout
12363 * buffer.C (readLyXformat2): layout as layout
12364 (parseSingleLyXformat2Token): layout as layout
12365 (insertStringAsLines): layout as layout
12366 (asciiParagraph): layout as layout
12367 (latexParagraphs): layout as layout
12368 (makeLinuxDocFile): layout as layout
12369 (simpleLinuxDocOnePar): layout as layout
12370 (makeDocBookFile): layout as layout
12371 (simpleDocBookOnePar): layout as layout
12372 (getLists): layout as layout
12374 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12376 * CutAndPaste.C (cutSelection): layout as layout
12377 (pasteSelection): layout as layout
12378 (SwitchLayoutsBetweenClasses): layout as layout
12380 * BufferView_pimpl.C (Dispatch): layout as layout
12381 (smartQuote): layout as layout
12383 * BufferView2.C (unlockInset): layout as layout
12385 2002-06-24 André Pönitz <poenitz@gmx.net>
12387 * lyxfunc.C: fix #487
12389 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12393 * lyxfunc.C: remove display_shortcuts, show_banner
12395 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12397 * Buffer_pimpl.C: oops, update on resize
12399 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12406 * BufferView.C: use repaint()
12408 * BufferView_pimpl.h:
12409 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12410 as it's a clearer description. Remove superfluous
12413 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12415 * text.C: fix bug 488. Not ideal, but getting
12416 getWord() to work properly for the insets that
12417 matter is more difficult ...
12419 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12421 * BufferView_pimpl.C:
12424 * lyxfunc.C: remove the six million index lyxfuncs to just
12425 one, and DTRT (bug 458)
12427 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12431 * BufferView_pimpl.h:
12432 * BufferView_pimpl.C: clean up resize() stuff,
12433 and unnecessary updateScreen()s
12435 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12439 * BufferView_pimpl.h:
12440 * BufferView_pimpl.C:
12443 * minibuffer.C: remove focus management of workarea,
12444 not needed. Use screen's greyOut()
12446 2002-06-17 Herbert Voss <voss@lyx.org>
12448 * converter.C: (convert) do not post a message, when converting
12449 fails, let the calling function decide what to do in this case
12451 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12453 * lyxfunc.C: tidy up a little
12455 2002-06-16 <alstrup@diku.dk>
12457 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12458 Got rid of FORMS_H_LOCATION include. Now we are
12461 2002-06-15 LyX Development team <lyx@rilke>
12463 * buffer.[Ch] (sgmlOpenTag):
12464 (sgmlCloseTag): Added support for avoiding pernicious mixed
12465 content. Return number of lines written.
12467 (makeLinuxDocFile):
12468 (makeDocBookFile): Fixed calls to sgml*Tag.
12469 Simple white space clean.
12471 (simpleDocBookOnePar): Simple white space clean.
12473 * tabular.[Ch] (docBook): Renamed to docbook and got another
12474 argument to related with the pernicious mixed content.
12476 (docbookRow): Fixed calls for docbook inset method.
12478 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12480 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12481 so it's X11 independent.
12485 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12487 2002-06-15 Lyx Development team <lyx@electronia>
12489 * intl.h: Renamed getTrans to getTransManager.
12491 2002-06-14 Angus Leeming <leeming@lyx.org>
12493 * Makefile.am: nuke forgotten stl_string_fwd.h.
12495 2002-06-12 Angus Leeming <leeming@lyx.org>
12497 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12499 2002-06-13 Angus Leeming <leeming@lyx.org>
12502 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12504 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12506 * kbmap.C (getiso): add support for cyrillic and greek
12508 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12512 * BufferView_pimpl.h:
12513 * BufferView_pimpl.C: move bogus scrolling logic
12516 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12519 * BufferView_pimpl.C: view->resize() change
12521 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12523 * BufferView_pimpl.C: topCursorVisible
12526 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12530 * lyx_gui.C: move to frontends/
12534 * lyx_main.C: changes from above
12536 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12543 * lyx_main.C: minor tidy
12545 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12547 * BufferView_pimpl.h:
12548 * BufferView_pimpl.C:
12550 * BufferView.C: make painter() const,
12553 * BufferView2.C: use screen() accessor
12556 * lyx_main.C: some minor cleanup
12558 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12560 * BufferView_pimpl.h:
12561 * BufferView_pimpl.C: remove enter/leaveView,
12564 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12569 * BufferView_pimpl.h:
12570 * BufferView_pimpl.C: only construct screen once,
12573 * lyxrc.C: remove pointless comment
12575 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12578 * BufferView.C: remove active() and belowMouse()
12580 * BufferView_pimpl.h:
12581 * BufferView_pimpl.C: use workarea() not workarea_,
12582 and make it use a scoped_ptr instead
12584 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12586 * lyx_gui.C: add debug message on BadWindow
12588 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12590 * sp_spell.C: fdopen is not part of the C++ standard.
12592 * paragraph.C (InsetIterator): use >= instead of ==
12594 2002-06-07 Angus Leeming <leeming@lyx.org>
12596 Fixes needed to compile with Compaq cxx 6.5.
12597 * BufferView_pimpl.C:
12604 * lyxtextclasslist.C:
12609 all c-library variables have been moved into namespace std. Wrap
12610 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12615 Add a using std::abs declaration.
12617 * kbmap.h (modifier_pair):
12618 * paragraph.h (InsetTable, InsetList):
12619 * lyxfont.h (FontBits):
12620 type definition made public.
12622 * bufferlist.C (emergencyWriteAll): the compiler complains that
12623 there is more than one possible lyx::class_fun template to choose from.
12624 I re-named the void specialisation as lyx::void_class_fun.
12626 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12628 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12629 the compiler is is unable to find tostr in write_attribute.
12631 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12633 * buffer.C (sgmlError): hide #warning
12635 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12637 * xtl/*: get rid of xtl, which is not in use anyway
12639 * LyXAction.C (init):
12640 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12641 were unimplemented xtl experimentation
12643 2002-06-04 André Pönitz <poenitz@gmx.net>
12645 * lyxfunc.C: disable array operation on simple formulae
12647 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12649 * converter.C: constify a bit
12651 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12653 * lyx_gui.C: check xforms version correctly
12655 2002-04-30 Herbert Voss <voss@lyx.org>
12657 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12660 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12662 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12663 attempt to register it with a VCS)
12665 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12667 * lyx_main.C (init): honor variables LYX_DIR_13x and
12670 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12674 * lyx_main.C: fix a crash on bad command line,
12675 and give a useful exit status on error
12677 * lyxfunc.C (doImport): allow -i lyx to work
12679 2002-03-30 André Pönitz <poenitz@gmx.net>
12681 * lyxfunc.C: mathed font changes
12683 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12698 * trans_mgr.h: srcdocs, and some minor cleanups
12700 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12702 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12703 call getFont all the time)
12705 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12707 * switch from SigC signals to boost::signals
12709 2002-05-29 André Pönitz <poenitz@gmx.net>
12711 * paragraph_pimpl.C (getChar): don't call size() too often...
12713 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12715 * paragraph_pimpl.C (insertChar): do not try to update tables when
12716 appending (pos == size())
12718 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12719 in order to reduce drastically the number of comparisons needed to
12720 parse a large document
12722 2002-05-29 André Pönitz <poenitz@gmx.net>
12728 * textclasslist.[Ch]:
12729 * sp_ispell.h: whitespace change
12731 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12733 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12734 lyxaction directly now.
12736 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12740 * lyxvc.C: remove unused headers
12742 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12749 * undo_funcs.C: some cleanups. Use shared_ptr
12750 and a template for the undo stacks.
12752 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12754 * BufferView_pimpl.h:
12755 * BufferView_pimpl.C:
12762 * text2.C: use key_state/mouse_state
12764 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12766 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12769 * chset.C: change include order
12770 (loadFile): use boost regex and get rid of LRegex and LSubstring
12772 * Makefile.am (BOOST_LIBS): new variable
12773 (lyx_LDADD): use it
12775 * LaTeX.C: change include order.
12776 (scanAuxFile): use boost regex and get rid of LRegex and
12780 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12785 * FontInfo.C: moved to frontends/xforms/
12788 * FontLoader.C: moved into frontends for GUIIzation
12793 * lyxfunc.C: changes from above
12795 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12797 * LColor.C: remove spurious X include
12799 * BufferView_pimpl.C:
12804 * text2.C: move font metrics to frontends/
12806 2002-05-24 Juergen Vigna <jug@sad.it>
12808 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12809 setting the undo_cursor.
12811 * ParagraphParameters.h: include local includes first.
12813 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12815 * BufferView_pimpl.C:
12816 * BufferView_pimpl.h:
12820 * screen.C: move WorkArea into frontends/
12826 * BufferView2.C: move LyXScreen into frontends/
12830 * lyx_gui.C: move lyxlookup into frontends/xforms/
12832 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12835 * BufferView_pimpl.C:
12845 * bufferview_funcs.C:
12858 * vc-backend.C: move LyX/XFormsView into frontends/
12860 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12872 * text2.C: move Painter to frontends/
12874 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12876 * buffer.C: comment out some some code that depend upon lyx_format
12879 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12880 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12882 * buffer.h (NO_COMPABILITY): turn off compability
12884 * ColorHandler.C: include scoped_array.hpp
12886 * font.C: Use more specific smart_ptr header.
12889 * ShareContainer.h: ditto
12890 * lyx_main.h: ditto
12892 * FontInfo.h: ditto
12893 * BufferView_pimpl.h: ditto
12894 * ColorHandler.h: ditto
12896 * kbmap.C (defkey): change call to shared_ptr::reset
12898 2002-05-21 Juergen Vigna <jug@sad.it>
12900 * buffer.C (insertErtContents): fix to insert ert asis if it is
12901 non empty. Skip it completely if it contains only whitespaces.
12903 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12905 * BufferView_pimpl.C:
12906 * BufferView2.C: clear selection on paste (bug 393)
12908 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12910 * DepTable.C: include ctime
12912 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12914 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12916 2002-05-14 Juergen Vigna <jug@sad.it>
12918 * text.C (breakParagraph): fixed function to honor the keepempty
12919 layout in the right maner and also to permit the right breaking
12920 algorithm on empty or non empyt keepempty paragraphs.
12922 * paragraph.C (breakParagraph): we have to check also if the par
12923 is really empty (!size()) for isempty otherwise we do the wrong
12926 2002-05-10 Juergen Vigna <jug@sad.it>
12928 * buffer.[Ch] : The following are only changes to the ert
12929 compatibility read reading old LaTeX layout and font stuff and
12930 convert it to ERTInsets.
12932 * buffer.h: added isErtInset().
12934 * buffer.C (struct ErtComp): add a fromlayout bool to check
12935 if we're inside a LaTeX layout.
12936 (isErtInset): new helper function.
12937 (insertErtContents): look for other ert insets before this one
12938 and insert the contents there, so that we don't have subsequent
12939 ERT insets with nothing between them. This way we create only one
12940 inset with multiple paragraphs. Also check if we don't insert only
12941 spaces ' ' as they are ignored anyway afterwards in the .tex file
12942 so if we have only spaces we will ignore this latex part in the
12944 (parseSingleLyXformat2Token \\layout): better compatibility when
12945 reading layout-latex stuff.
12946 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12948 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12949 stuff after reading the inset only get the information back from
12952 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12954 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12956 * LaTeXFeatures.C (getBabelOptions): New method.
12958 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12960 * BufferView_pimpl.C (Dispatch): work around missing argument for
12963 2002-05-08 Juergen Vigna <jug@sad.it>
12965 * text.C (leftMargin): handle paragraph leftindent.
12967 * paragraph.C (writeFile): write the new \\leftindent tag.
12968 (validate): handle leftindent code.
12969 (TeXEnvironment): handle paragraphleftindent code again.
12971 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12973 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12974 for paragrap_extra indent code and new token \\leftindent.
12975 (latexParagraphs): handle the leftindent as environment.
12977 * ParameterStruct.h: added leftindent support.
12979 * ParagraphParameters.C (leftIndent): added support functions for
12980 the paragraph left indent.
12982 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12985 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12987 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12990 * text.C (computeBidiTables): No bidi in insetERT.
12992 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12995 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12997 * version.C.in: pre 5
12999 2002-05-02 José Matos <jamatos@fep.up.pt>
13000 * buffer.C (makeDocBookFile): white space changes, add newline to
13002 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13004 * tabular.C (docBook): fix typo.
13006 2002-05-03 Juergen Vigna <jug@sad.it>
13008 * screen.C (drawFromTo): recalculate the rowpointer if we had a
13009 change in LyXText as we can not be sure it was not freed.
13010 (drawOneRow): remove unused code.
13012 * text.C (drawInset): redo the calculation of the need_break_row as
13013 it could have a row which was already freed.
13014 (draw): look at the return value of drawInset and return false if
13015 it also returned false.
13016 (paintRowText): look at the return value of draw and return false if
13017 it also returned false.
13019 * lyxtext.h: added bool return type to drawInset() and draw() so that
13020 if we have a change in the row so that the rowbreak has to be redone
13021 we abort drawing as it will be called again.
13023 2002-05-02 Juergen Vigna <jug@sad.it>
13025 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13026 a change in the maintext also if we're inside an inset.
13027 (Dispatch): set the cursor again after a break line and after the
13028 screen has been updated as it could be we're in a different row.
13030 * text2.C (fixCursorAfterDelete): check to make sure we don't request
13031 to set the cursor behind the pargraph with > size().
13032 (setCursor): check also for the same paragraph when checking where
13033 to put the cursor if we have a NFR inset.
13035 * buffer.C (parseSingleLyXformat2Token): move the compatibility
13036 parts of layout read further up as it still was in the wrong
13039 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13041 * screen.C (drawFromTo): change sine fullRebreak always return
13044 * buffer.C (parseSingleLyXformat2Token): reindent some
13046 * BufferView_pimpl.C (update): change since fullRebreak always
13048 (Dispatch): git rid of the last hardcoded "Standard"s.
13050 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13052 * text2.[Ch] (fullRebreak): make it return void now that we always
13055 2002-04-30 Juergen Vigna <jug@sad.it>
13057 * buffer.C (parseSingleLyXformat2Token): reset the font before the
13058 ert compatibility check for "latex" layout.
13060 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
13062 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13063 minipages: use col% instead of p%, and also use the current font.
13064 (makeLaTeXFile): Fix use babel condition.
13065 (parseSingleLyXformat2Token): Correct font when reading old floats.
13067 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
13069 * BufferView_pimpl.C (Dispatch): Check that float type exists when
13070 inserting list of floats.
13072 2002-04-25 Herbert Voss <voss@lyx.org>
13074 * MenuBackend.C (expand): don't add the graphics extensions to the
13077 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13079 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13080 non-existing layout, do not complain if it was the default layout
13081 of the original class (bug #342)
13083 2002-04-24 Juergen Vigna <jug@sad.it>
13085 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13086 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13088 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
13090 * buffer.C (getBibkeyList): If using \bibliography, return the
13091 option field with the reference itself. Enables us to provide natbib
13092 support when using \bibliography.
13094 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
13096 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13098 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13099 natbib is provided by the LaTeX class.
13101 2002-04-23 Juergen Vigna <jug@sad.it>
13103 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13106 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13108 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13110 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13112 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13113 ensuremath around textordmasculine, textordfeminine and
13116 2002-04-19 Juergen Vigna <jug@sad.it>
13118 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13119 reinitializing the buffer otherwise row-dimensions may be wrong.
13120 (update): reset also the selection cursors if they do exits otherwise
13121 their x/y positions may be wrong.
13123 * text2.C (cursorDown): don't enter the inset if we came from a row
13124 above and are one row over the inset.
13126 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13127 really leaving an inset.
13129 2002-04-18 Juergen Vigna <jug@sad.it>
13131 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13132 of the selected paragraph does not have the selected layout also if
13135 * text2.C (setLayout): fixed bug which did not change last selected
13138 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13139 changed the read and substituted \\end_float with \\end_inset!
13141 * BufferView_pimpl.C (cursorPrevious):
13142 (cursorNext): fixed to make it work with rows heigher than the work
13143 area without moving the cursor only the draw of the row.
13144 (workAreaMotionNotify): fix jumping over high rows.
13146 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13148 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13151 2002-04-16 Juergen Vigna <jug@sad.it>
13153 * text2.C (setCursor): set also the irow().
13154 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13156 (cursorDown): support for locking an inset if the x_fix value goes
13157 inside it. That way I can transverse insets too with cursor up/down.
13159 * lyxrow.h: added irow helper function same as other (i) functions.
13161 * BufferView_pimpl.C (cursorPrevious):
13162 (cursorNext): fixed for insets!
13164 2002-04-15 Juergen Vigna <jug@sad.it>
13166 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13167 position otherwise it is wrong in some cases.
13169 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13170 inside the inset before the call.
13172 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13174 * buffer.[Ch] (getBibkeyList): make it const.
13176 2002-04-12 Juergen Vigna <jug@sad.it>
13178 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13180 * text2.C (getCursorX): new helper function
13181 (setCursor): compute also ix_
13182 (setCursorFromCoordinates): set also ix.
13184 * lyxcursor.h: added ix_ and helper functions.
13186 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13188 * buffer.C (insertStringAsLines): dont break paragraph if the this
13189 paragraph is inside an inset which does not permit it!
13191 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13192 also with no chars on this paragraph.
13193 (paintRowText): only paint stuff if it's inside the workarea!
13195 * paragraph.C (breakParagraph): honor keepempty flag and break the
13196 paragraph always below not above.
13198 * BufferView2.C (unlockInset): update the paragraph layout on inset
13199 unlock as we changed paragraph in such a case.
13201 * lyxfind.C (LyXFind): clear the former selection if not found!
13203 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13204 again called in insertChar().
13206 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13207 an inset which uses the whole row!
13208 (rightMargin): ditto.
13209 (insertChar): force a rebreak if we inserted an inset!
13211 2002-03-28 Herbert Voss <voss@lyx.org>
13213 * lyxlength.[Ch]: add inBP() to get the right PS-point
13214 units (BigPoint). With inPixels we have rounding errors
13216 2002-04-11 Juergen Vigna <jug@sad.it>
13218 * text2.C (setCursorFromCoordinates): set iy to the right value.
13219 (setCursor): add check if row->previous exists!
13221 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13222 an old float_type as this was the case in the old code!
13224 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13226 * BufferView2.C (showLockedInsetCursor): use iy
13227 (fitLockedInsetCursor): ditto
13229 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13230 locked insets as there we have the right value now.
13232 * lyxcursor.C: added iy_ variable and iy functions to set to the
13233 baseline of cursor-y of the locked inset.
13235 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13236 (setCursor): fixed for insets which need a full row.
13238 * text.C (rowLastPrintable): don't ignore the last space when before
13239 an inset which needs a full row.
13240 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13241 as last character of a row when before a inset which needs a full row.
13243 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13245 * version.C.in: update date
13247 * text2.C (fullRebreak): try to always return true and see what
13250 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13252 * MenuBackend.C (expand): use Floating::listName
13254 * FloatList.C (FloatList): add listName argument to the built-in
13257 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13258 text associated with the float.
13260 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13262 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13264 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13266 * ShareContainer.h: add a couple of missing typenames.
13268 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13270 * lyxrc.C (getDescription): use _() correctly rather than N_().
13272 2002-03-28 Herbert Voss <voss@lyx.org>
13274 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13275 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13277 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13279 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13280 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13282 2002-03-29 Juergen Vigna <jug@sad.it>
13284 * lyxfunc.C (dispatch): add a missing fitCursor call.
13286 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13287 it was scrolled by a cursor move, so return the bool status.
13289 * BufferView.C (fitCursor): return the bool flag also to the outside
13290 world as this is needed.
13292 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13294 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13295 call the edit() as it is not needed (and wrong) IMO.
13296 (workAreaButtonPress): set the screen_first variable before evt.
13297 unlock the inset as this may change screen_first and then we have
13298 a wrong y position for the click!
13300 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13302 * MenuBackend.C (expand): another translation that I missed
13304 2002-03-28 Juergen Vigna <jug@sad.it>
13306 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13308 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13310 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13312 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13314 * MenuBackend.C (expand): fix export/view/update when there is no
13317 2002-03-27 Herbert Voss <voss@lyx.org>
13319 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13322 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13324 * bufferview_funcs.C (currentState): only show paragraph number
13325 for is DEVEL_VERSION is set.
13327 * lyxfunc.C (dispatch): put warning in INFO channel
13329 * MenuBackend.C (expand): translate the name of floats
13331 * FloatList.C (FloatList): mark the float names for translation
13333 * converter.C (convert): use LibScriptSearch
13335 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13337 * MenuBackend.C (defaults): fix default menu (we might as well get
13340 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13342 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13345 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13347 * lyxvc.C: reorder includes.
13349 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13351 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13354 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13356 * CutAndPaste.C: change layouts earlier on paste
13357 to avoid crashing when calling getFont()
13359 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13361 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13364 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13366 * WorkArea.C: remove 'Pending' debug message.
13368 * most files: ws cleanup
13370 * buffer.[Ch]: ws changes
13372 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13374 2002-03-21 Juergen Vigna <jug@sad.it>
13376 * tabular.C (SetMultiColumn): collapse also the contents of the
13377 cells and set the last border right. Added a Buffer const * param.
13379 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13381 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13384 2002-03-19 Juergen Vigna <jug@sad.it>
13386 * text2.C (clearSelection): reset also xsel_cache.
13388 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13389 where it needs to be called (John tells us to do so too :)
13390 (selectionLost): reset sel_cache.
13392 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13394 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13396 * text2.C (setCursorIntern): put debuging code in INSETS channel
13398 2002-03-19 André Pönitz <poenitz@gmx.net>
13400 * lyxfunc.C: tiny whitespace change
13402 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13404 * ToolbarDefaults.C (init):
13405 * LyXAction.C (init):
13407 * BufferView_pimpl.C (Dispatch):
13408 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13410 2002-03-19 Allan Rae <rae@lyx.org>
13412 * exporter.C (Export): removeAutoInsets before doing anything else.
13413 While I've just introduced a dependency on BufferView this really is
13414 the best place to clean the buffer otherwise you need to cleanup in
13415 a dozen places before calling export or cleanup in a dozen functions
13418 * converter.C (runLaTeX):
13419 (scanLog): Better handling of removeAutoInsets and screen updates.
13421 * lyxfunc.C (dispatch): small whitespace changes
13423 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13425 * WorkArea.C (C_WorkAreaEvent): return a value.
13426 (event_cb): return 1 if we handled the event, 0 otherwise.
13428 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13430 2002-03-18 Juergen Vigna <jug@sad.it>
13432 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13433 (GetAdditionalWidth): ditto.
13434 (RightLine): ditto.
13437 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13438 inset if we're there actually (probably not used right now but this
13439 is the direction to go for unifying code).
13440 (paste): disable code to clear the selection.
13442 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13443 inside an InsetText and move the check further up as it is in the
13446 * text2.C (pasteSelection): set a selection over the pasted text.
13448 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13450 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13451 and libgraphics to build on Cygwin.
13453 2002-03-15 Juergen Vigna <jug@sad.it>
13455 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13456 inserting an Inset into the paragraph. I know this is not the best
13457 fix but we already use current_view in CutAndPaste so we will remove
13458 all of it's using at the same time.
13460 * buffer.C (sgmlError): deactivated function till it is rewritten in
13461 the right mode, now it can create problems.
13463 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13464 before accessing it.
13466 2002-03-14 Juergen Vigna <jug@sad.it>
13468 * undo_funcs.C (textHandleUndo): do the right thing when updating
13469 the inset after the undo/redo.
13471 * text2.C (setCursor): just some testcode for #44 not ready yet.
13473 * undo_funcs.C (textHandleUndo): set the next() and previous()
13474 pointers of the paragraph to 0 before deleting otherwise we have
13475 problems with the Paragraph::[destructor].
13477 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13478 on a paragraph insertion.
13480 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13482 * buffer.C (asciiParagraph): use += operator for char append to
13485 * paragraph.C (getFontSettings): compare >= not just >
13486 (highestFontInRange): ditto
13489 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13491 * paragraph.C: change several algorithm to be more appripriate for
13492 the problem domain. This is lookip in FontList and in the InsetList.
13494 2002-03-13 André Pönitz <poenitz@gmx.net>
13497 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13499 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13504 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13506 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13508 * Painter.C (display): anon helper function, adjust code for this
13510 (pixmap): remove function.
13512 * Painter.h: remove private display variable.
13514 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13516 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13518 * WorkArea.[Ch]: remove figinset_canvas cruft.
13520 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13522 * lyxtextclass.C (operator): add one item cache optimization.
13524 * bufferlist.h: doxy changes
13526 * bufferlist.C: ws changes
13528 * DepTable.[Ch] (ext_exist): place const in the right spot.
13530 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13532 (workAreaExpose): call resizeInsets when the with BufferView changes.
13533 (Dispatch): adjust for protectedBlank removal
13534 (specialChar): call updateInset if the insert went ok.
13536 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13537 specialChar instead.
13539 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13541 * BufferView.h: doxy change
13543 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13545 * lyxtextclass.C (operator[]): remove non-const version
13546 (defaultLayout): remove non-const version
13548 2002-03-12 Juergen Vigna <jug@sad.it>
13550 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13551 did resize the LyXText too.
13553 * buffer.C (readLyXformat2): set layout information on newly allocated
13556 * tabular.C (OldFormatRead): set layout information on the paragraph.
13558 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13560 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13562 2002-03-11 Juergen Vigna <jug@sad.it>
13564 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13566 (resizeCurrentBuffer): force also the insets to resize themselfes.
13567 (moveCursorUpdate): fixed up for InsetText.
13569 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13572 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13573 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13574 value of Dialogs::tooltipsEnabled().
13575 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13577 2002-03-08 Juergen Vigna <jug@sad.it>
13579 * BufferView_pimpl.C (updateInset): update inset inside inset also
13580 if it isn't inside theLockingInset().
13582 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13584 * buffer.C (asciiParagraph): redo some of the word and line length
13586 (getLists): look for Caption instead of caption.
13588 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13590 * buffer.C (Buffer): initialize niceFile to true
13592 (makeLinuxDocFile):
13593 (makeDocBookFile): make sure niceFile is true on exit
13595 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13597 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13599 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13601 * LyXSendto.C: remove.
13602 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13603 * lyx_gui.C: remove now-redundant comment.
13604 * ColorHandler.h: remove forward declaration of class WorkArea.
13605 * lyxfunc.C: remove #include "WorkArea.h".
13607 2002-03-07 Juergen Vigna <jug@sad.it>
13609 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13610 got moved away with the DEPM and also set the inset_owner always
13611 right which before could have been omitted.
13613 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13615 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13616 wanted layout is not found.
13618 2002-03-07 Juergen Vigna <jug@sad.it>
13620 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13622 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13624 * paragraph.C (breakParagraph): use default layout not layout of
13626 (Paragraph): clear ParagraphParameters.
13628 2002-03-06 Juergen Vigna <jug@sad.it>
13630 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13631 otherwise it would not be a valid lenght. Fixed a special case in
13632 the minipage compatibility read where we end the document with a
13635 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13636 was set as it could be 0 for InsetTexts first entry.
13638 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13640 * paragraph.C (writeFile): if layout is empty write out
13641 defaultLayoutName().
13643 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13644 file without named layout we set layout to defaultLayoutName().
13646 2002-03-06 Juergen Vigna <jug@sad.it>
13648 * CutAndPaste.C (copySelection): set layout for new paragraph.
13650 * text.C (prepareToPrint): leave ERT inset left aligned
13651 (leftMargin): don't indent paragraphs inside ERT insets
13653 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13655 * paragraph.C (breakParagraph): dont call clear do the work manually
13657 * paragraph.[Ch] (clear): remove function
13659 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13661 * paragraph.C (Paragraph): dont call clear, the work has already
13664 * lyxtextclass.C (operator): assert if n is empty
13666 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13667 work manually instead.
13669 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13671 * BufferView_pimpl.C: protect selectionLost against text == 0
13673 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13675 * text.C (breakParagraph): fix a setting layout to '0' problem.
13677 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13679 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13680 final location of file, for the included files, and graphics.
13682 2002-03-05 Juergen Vigna <jug@sad.it>
13684 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13686 2002-03-04 Juergen Vigna <jug@sad.it>
13688 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13690 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13691 last column of multicolumn cells.
13692 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13694 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13696 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13697 file if it doesn't go to a temporary file.
13699 * buffer.C (sgmlOpenTag):
13700 (sgmlCloseTag): remove extra newline insertion.
13702 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13704 * text.C (getRowNearY): comment out debug msg
13706 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13708 * text2.C: first -> first_y
13710 * text.C (getRowNearY): add some attemts at a possible
13711 optimization, not working.
13713 * tabular.[Ch]: add BufferParams to several function so that newly
13714 created paragraph can be initialized to he default layotu for the
13717 * tabular-old.C (ReadOld): add buf->params to call of Init
13719 * screen.C: rename text->first to text->first_y
13721 * paragraph.C (breakParagraph): always set layout in the broken
13724 * lyxtextclass.C (Read): remove lowercase
13727 (delete_layout): ditto
13729 * lyxtext.h: rename first -> first_y
13731 * lyxlayout.C (Read): remove lowercase
13734 (obsoleted_by): ditto
13736 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13738 * buffer.C (insertErtContents): add params are to InsetERT
13739 (parseSingleLyXformat2Token): add code to check if a paragraphs
13740 layout really exist.
13741 (parseSingleLyXformat2Token): add params to several inset
13743 (asciiParagraph): remove lowercase, do the layout comparisons with
13746 * BufferView_pimpl.C (cursorNext): first -> first_y
13747 (resizeCurrentBuffer): first -> first_y
13748 (updateScrollbar): first -> first_y
13749 (scrollCB): first -> first_y
13750 (workAreaMotionNotify): first -> first_y
13751 (workAreaButtonPress): first -> first_y
13752 (checkInsetHit): first -> first_y
13753 (cursorPrevious): first -> first_y
13754 (cursorNext): first -> first_y
13755 (Dispatch): add buffer_->params to severl inset contructors
13757 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13759 * lyxlayout.C (Read): remove some debug info that I forgot.
13761 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13762 clean up the code slightly.
13763 (makeLinuxDocFile): ditto
13764 (makeDocBookFile): ditto
13766 * text2.C: layout as string
13768 * text.C: layout as string
13770 * paragraph_pimpl.C: layout as string
13772 * paragraph.[Ch]: layout as string
13774 * lyxtextclasslist.[Ch]: layout as string
13776 * lyxtextclass.[Ch]: layout as string
13778 * lyxtext.h: layout as string
13780 * lyxlayout.[Ch]: layout as string
13782 * lyx_cb.C: layout as string
13784 * bufferview_funcs.C: layout as string
13786 * bufferparams.C: layout as string
13788 * buffer.C: layout as string
13790 * LyXView.[Ch]: layout as string
13792 * LaTeXFeatures.[Ch]: layout as string
13794 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13796 * BufferView_pimpl.C: change current_layout to string, remove
13801 (workAreaButtonRelease): layout as string
13803 * BufferView2.C (unlockInset): adjust
13805 * vspace.C (asLatexCommand): use an explict temp variable.
13807 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13809 * Makefile.am: use FRONTEND_*
13811 2002-03-01 Juergen Vigna <jug@sad.it>
13813 * tabular.C (SetWidthOfMulticolCell): changed to something better
13814 I hope but still work in progress.
13815 (recalculateMulticolumnsOfColumn): renamed function from
13816 recalculateMulticolCells as it is more appropriate now.
13817 (SetWidthOfCell): calculate multicols better.
13819 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13821 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13823 * lyxfunc.C (processKeySym): print sequence also if it is
13824 `deleted' (complete)
13826 * kbsequence.C (print): print sequence even if it is deleted
13827 (complete would be a better word, actually).
13829 * lyxfunc.C (dispatch): print complete options after a prefix key
13831 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13833 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13835 * text2.C (setCharFont): eliminate setCharFont code duplication.
13837 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13839 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13840 LFUN_TABULAR_FEATURE (bug #177)
13842 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13844 * Makefile.am: remove figure.h
13846 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13848 * Bufferview_pimpl.C:
13860 * text2.C: remove #include "lyx_gui_misc.h".
13862 * LaTeX.C: added #include <cstdio>
13864 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13866 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13867 that the paragraph following this one can have.
13869 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13871 * vspace.C (asLatexCommand): fix bogus gcc warning
13873 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13875 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13877 * text2.C (setLayout): get rid of redundant code
13879 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13881 * text2.C (incDepth): make sure depth cannot be increased beyond
13884 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13886 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13887 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13889 * PainterBase.h (image):
13890 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13891 a LyXImage const *.
13893 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13897 * BufferView_pimpl.C:
13898 * BufferView_pimpl.h:
13918 * sp_spell.C: remove fig inset, and the crap house of
13919 cards that follows it
13921 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13926 * os2_errortable.h:
13927 * nt_defines.h: move .h into support/
13929 * vms_defines.h: remove
13931 * WorkArea.C: add space in debug output
13935 * buffer.C: add WITH_WARNINGS
13939 * bufferlist.C: s/retrive/retrieve/, add docs
13948 * chset.C: add docs
13950 * lyxgui.C: add ID to X error handler
13952 * lyxtestclass.c: fix typo
13954 2002-02-26 Juergen Vigna <jug@sad.it>
13956 * tabular_funcs.C (write_attribute): changed so that some default
13957 attributes are not written at all.
13958 (getTokenValue): set default values before trying to read the
13959 value so we have the return value always set as default if we don't
13960 find the token we search for.
13962 * tabular.C (Write): write bools as bools not as strings!
13964 2002-02-22 Juergen Vigna <jug@sad.it>
13966 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13967 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13969 * text.C (leftMargin): don't add an indent for paragraphs inside
13970 tabular cells (fix #208).
13972 2002-02-21 José Matos <jamatos@fep.up.pt>
13974 * tabular.C (docBook): fixed support for long tables.
13976 2002-02-20 Juergen Vigna <jug@sad.it>
13978 * text2.C (getFont): get the drawing font of the Inset if this
13979 paragraph is inside an inset (only important for InsetERT for now).
13981 * buffer.C (insertErtContents): use new lanugage params in ERT
13984 * CutAndPaste.C: commenting out seemingly uneeded code.
13986 2002-02-19 Allan Rae <rae@lyx.org>
13988 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13989 Iterators might be simple to use but they also get invalidated.
13990 (removeAutoInsets): renamed saved cursor tracking variables and added
13991 some comments to clarify what everything does.
13993 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
14000 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14001 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14004 * vc-backend.h: remove #include "support/syscall.h"
14008 * converter.C: rearrange #includes in Lars' approved fashion.
14010 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14011 forward declare class Timeout in the header file.
14013 * XFormsView.C: changes due to the above.
14015 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14016 similar to LyXView.
14018 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14019 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14021 2002-02-18 José Matos <jamatos@fep.up.pt>
14023 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14026 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14028 * a lot of small ws changes
14029 * add a lot of using std::XXX
14030 * use std construcs some places where approp.
14031 * use some exisint stuff from lyxfunctional where approp.
14032 * Make file changes to use partial linking (lets test this now...)
14034 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14038 remove #include "support/syscontr.h" as it's redundant. Always has been.
14046 change Systemcalls::System to Systemcalls::Wait and
14047 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14048 No change of functionality, just reflects the stripped down Systemcalls
14051 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14053 * debug.[Ch]: add a GRAPHICS type to the enum.
14055 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14057 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14059 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14062 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14064 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14065 match the changes below.
14067 * text2.C (toggleInset): if there is not editable inset at cursor
14068 position, try to see if cursor is _inside_ a collapsable inset
14071 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14073 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14074 document menu has a nice checkbox
14076 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14078 * lyxlength.C (asLatexString): change PW to output as percent of
14081 * lengthcommon.C: change '%' to 't%'
14083 * lyxfunc.C (dispatch): a few comments from Martin
14085 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
14089 * BufferView_pimpl.h:
14090 * BufferView_pimpl.C: clear our selection when X tells us we've lost
14093 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14095 * vspace.C (inPixels): fix compiler warning
14097 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14099 * lyxfunc.C (getStatus): fix status message for disabled commands.
14101 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
14103 * BufferView_pimpl.C: fix crash on close buffer
14104 during selection (#227)
14106 2002-01-27 Herbert Voss <voss@lyx.org>
14108 * buffer.C: link old Figure to new graphic inset
14110 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
14112 * FontLoader.C (getFontinfo): Change the latex font names in order
14113 to match the names of type1inst.
14115 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14117 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14119 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14120 (extchanged): ditto
14122 (remove_files_with_extension): ditto
14123 (remove_file): ditto
14126 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14127 document is smaller than the work area height. Do not initialize
14128 static variables to 0.
14130 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14132 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14134 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14135 LFUN_LAYOUT_PARAGRAPHS.
14137 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14138 tabular. It is possible to provide a possible cell, which will
14139 typically be the actcell from the corresponding insettabular
14141 * lyxfunc.C (getStatus): small cleanup; disable
14142 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14145 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14147 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14149 * paragraph.C (startTeXParParams):
14150 (endTeXParParams): new methods. The LaTeX code to
14151 start/end paragraph formatting
14152 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14153 empty (fixes bug #200)
14155 * vspace.C (inPixels): adapt to the change below
14156 (inPixels): [later] more cleanups (remove unused variables)
14158 * lyxlength.C (inPixels): change to use a width and a height as
14161 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14163 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14164 Replaced with \paperwidth
14166 * DepTable.C (insert): add std:: qualifier
14168 2002-01-18 Allan Rae <rae@lyx.org>
14170 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14173 * text.C (drawInset): Turned out I didn't know enough about how
14174 rebreaking worked. This fixes most of the redraw problems. I see
14175 an occasional cursor trail when a line is broken now and the cursor
14176 placement can seem out by a few pixels also after a rebreak.
14178 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14180 * buffer.C (parseSingleLyXformat2Token): update because minipage
14181 width is now a LyXLength
14183 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14185 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14188 2002-01-17 Juergen Vigna <jug@sad.it>
14190 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14192 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14193 is set correctly and the inset is updated correctly.
14195 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14197 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14198 the beginning of the loop.
14200 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14202 * lyxrc.C: improve help for use_scalable_fonts
14204 2002-01-17 Allan Rae <rae@lyx.org>
14206 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14208 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14210 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14211 make sure to set their inset_owner to the right value (bug #171)
14213 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14216 * DepTable.C: Implement mtime checking to reduce time spent doing
14219 2002-01-16 Juergen Vigna <jug@sad.it>
14221 * tabular.C (GetAdditionalHeight): one of error fixed.
14223 * lyxrc.C (output): small fix in writing use_pspell.
14225 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14227 * sp_base.h: #include LString.h
14229 2002-01-16 Allan Rae <rae@lyx.org>
14231 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14232 Can someone check this please?
14234 * text.C (drawInset): It was possible that p.row would be removed by
14235 breakAgainOneRow upsetting a few other settings. There may be another
14236 small tweak possible by setting need_break_row = 0 when p.row has been
14237 removed but I don't know enough about the logic here.
14239 2002-01-15 Allan Rae <rae@lyx.org>
14241 * text.C (insertChar): removed conditional truism.
14243 * BufferView2.C (removeAutoInsets): More tweaks.
14244 cur_par_prev could be a stray pointer. Check for trailing empty line
14245 in case last line was cur_par and only had an error inset on it.
14247 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14249 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14252 * vc-backend.C (most methods):
14253 * exporter.C (Export):
14254 * converter.C (convert):
14256 * LyXSendto.C (SendtoApplyCB):
14257 * lyxfunc.C (dispatch):
14261 * lyx_cb.C (AutoSave):
14263 * BufferView_pimpl.C (MenuInsertLyXFile):
14264 * buffer.C (runChktex): use Buffer::filePath().
14266 * buffer.h: rename filename to filename_; rename filepath to
14267 filepath_ and make it private
14268 (filePath): new method
14270 * buffer.C (writeFile): use fileName()
14273 * lyx_main.C (init): fix starting of LyX when the binary is a
14274 link from so,ewhere else.
14276 * minibuffer.C: include <cctype> for isprint
14278 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14280 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14281 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14282 name clash with InsetCollapsable's width function.
14284 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14286 * lastfiles.C: include <iterator>
14288 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14290 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14293 * buffer.C (makeLaTeXFile): ditto.
14294 Also make loop operation more transparent.
14296 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14298 * ToolbarDefaults.C: remove trailing comma closing namespace.
14300 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14302 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14305 * trans.C (Load): comment out unused variable, allowed.
14307 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14309 * minibuffer.[Ch] (append_char): new method to recieve input from the
14310 drop-down completion browser. If a key was pressed, then recieve this
14311 char and append it to the existing string.
14312 (peek_event): modify the positioning data passed to the completion
14313 browser so that it can be placed above the minibuffer rather than below.
14314 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14316 * LyXAction.C (init): alloe error-next for readonly documents.
14318 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14321 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14323 * bufferlist.C (readFile): create the buffer _after_ checking that
14326 * lyxfunc.C (verboseDispatch): fix handling of arguments
14328 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14330 * lyxrc.C: use string::erase() instead of initializing to "".
14333 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14335 * BufferView_pimpl.h:
14336 * BufferView_pimpl.C:
14339 * text2.C: tell X when we have made a selection for copying
14341 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14343 * BufferView_pimpl.C (MenuInsertLyXFile):
14344 * lyxfunc.C (menuNew):
14346 (doImport): add shortcuts to directory buttons
14348 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14351 * lyxfunc.C (setStatusMessage):
14352 (getStatusMessage): new methods
14353 (getStatus):use setStatusMessage instead of setErrorMessage
14354 (dispatch): when function is disabled, set error message here
14355 [instead of in getStatus previously]
14357 * BufferView_pimpl.C (workAreaButtonRelease): update
14358 toolbar/menubar here too.
14360 2002-01-13 Allan Rae <rae@lyx.org>
14362 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14363 Now seems indestructible. Remaining task is to audit all other
14364 code affected by deleteEmptyParagraphMechanism. One small quirk
14365 left is that an empty document with an error in the preamble can
14366 be made to report an error but no error box appears. I don't know
14368 (removeAutoInsets): Improved comments.
14370 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14373 * Thesaurus.C: update for Aiksaurus 0.14
14375 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14377 * text2.C (firstParagraph): removed member function, all uses
14378 replaces with ownerParagraph
14379 (redoParagraphs): here
14380 (updateInset): here
14381 (toggleAppendix): here
14382 * BufferView2.C (insertErrors): here
14383 (setCursorFromRow): here
14385 2002-01-13 Allan Rae <rae@lyx.org>
14387 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14388 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14389 There is still a way to segfault this although you may have to do this
14390 multiple times: Have an InsetERT with an unknown command in it.
14391 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14392 <down-arrow>, <Enter> again, View->DVI, BANG!
14394 * text2.C (setCursor):
14395 (deleteEmptyParagraphMechanism):
14396 * lyxtext.h (setCursor):
14397 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14398 Making use of the return value may help fix other bugs.
14400 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14402 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14404 * LyXView.C (updateMenubar): call MenuBar::update here
14405 (updateToolbar): but not here
14406 (showState): do not update toolbar/menubar
14408 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14409 should need to care about that.
14411 * lyxfunc.C (verboseDispatch): simplify a bit
14412 (getStatus): have a version which takes a pseudoaction, and
14413 another which requires a (kb_action,string).
14415 * LyXAction.C (retrieveActionArg): make it work also when action
14416 is not a pseudo-action.
14417 (getActionName): simplify a bit
14420 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14422 * lyxfunc.C (verboseDispatch): new families of methods with
14423 several ways to specify a command and a bool to indicate whether
14424 the command name and shortcut should be displayed in minibuffer
14425 (eventually, we could extend that to a finer bitmask like
14426 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14427 (dispatch): the pristine dispatch command which just, well,
14428 dispatchs! Note it still sets its result to minibuffer; I'm not
14431 * lyxfunc.h: remove setHintMessage
14433 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14435 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14437 * BufferView_pimpl.C (specialChar): delete new inset if we have
14438 not been able to insert it.
14440 * kbmap.C: revert to using int instead of kb_action, since all we
14441 are dealing with is pseudo-actions.
14443 * LyXAction.C (searchActionArg): change to return int instead of
14444 kb_action, since the result is a pseudoaction.
14446 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14448 * buffer.C (insertErtContents): Fix (partially) the font bug.
14450 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14452 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14453 as the other one is broken on my machine!
14455 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14458 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14460 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14462 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14463 reflect their actual use. Provide compatibility code for older lyxrc
14466 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14468 change names of popup font variables in line with the changes to lyxrc.C
14470 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14472 * buffer.C (asciiParagraph): avoid outputing a word twice after
14475 * lyxrc.C (getDescription): document that document_path and
14476 template_path can be empty.
14478 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14480 * LaTeXFeatures.C (getMacros):
14481 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14483 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14485 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14487 (getPackages): rename feature "floats" to "float". Use an array to
14488 iterate over 'simple' features (i.e. just a \usepackage). Add
14489 handling of "amsmath" (renamed from "amsstyle").
14491 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14493 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14496 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14498 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14499 FuncStaus::FuncStatus & FuncStaus::some_method().
14501 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14503 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14504 of the func_satus stuff. Edited and massaged in various ways by
14507 * lyxfunc.C (getStatus): use FuncStatus
14509 2002-01-08 Juergen Vigna <jug@sad.it>
14511 * text.C (nextBreakPoint): use function Inset::isChar().
14513 * paragraph.C (TeXOnePar): use function
14514 Inset::forceDefaultParagraphs.
14516 * buffer.C (latexParagraphs): use function
14517 Inset::forceDefaultParagraphs.
14519 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14521 * lyx_gui.C (init): set the style of the menu popups to
14522 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14524 2002-01-07 Juergen Vigna <jug@sad.it>
14526 * text.C (setHeightOfRow): small fix
14527 (prepareToPrint): don't look at alignment if we don't have the place
14530 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14532 * box.C: New file. Move the Box methods and functions out of box.h,
14533 following Lars' suggestion.
14535 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14537 * box.h: #include "support/LOstream.h", needed for inlined function.
14540 * lyxtextclasslist.C: added some using std declarations.
14542 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14544 * box.h: make signed dimensions to allow insets wider than
14545 the screen (bug #162)
14547 * BufferView_pimpl.C: add some insetHit debug
14549 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14551 * vc-backend.C: add FIXME
14553 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14555 * lyxfunc.C (getStatus): enable code for showing math font status
14558 2002-01-07 Juergen Vigna <jug@sad.it>
14560 * text.C (nextBreakPoint): removed debug output not needed anymore.
14562 2002-01-06 Juergen Vigna <jug@sad.it>
14564 * text.C (nextBreakPoint): fixed up this function we had this bug
14565 since ever but now hopefully we break row better.
14566 (insertChar): we have to check if an inset is the next char as it
14567 could now happen that a large inset is causing a break.
14569 2002-01-05 Juergen Vigna <jug@sad.it>
14571 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14572 if it doesn't like to be drawed.
14574 2002-01-04 Juergen Vigna <jug@sad.it>
14576 * BufferView2.C (lockInset): forgot to set a cursor.
14578 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14580 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14582 * FormMathsPanel.C:
14585 * form_maths_panel.C:
14586 * form_maths_panel.h:
14587 * form_maths_panel.fd: implemented sub- and super- buttons in math
14590 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14591 (or ^ space) to be used as in TeX (req'd by Andr�.
14593 * lyxfunc.C: Allow ^ and _ again to be used both as
14594 super/subscript (mathed) and as themselves (in text).
14596 2002-01-03 Allan Rae <rae@lyx.org>
14598 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14599 "LyX" or the filename of the current buffer if it has one. This is a
14600 modified form of John Levon's patch.
14602 * XFormsView.C (setWindowTitle): also set icon title.
14604 * LyXView.h (setWindowTitle): signature changed.
14605 * XFormsView.h (setWindowTitle): ditto.
14607 2002-01-02 Juergen Vigna <jug@sad.it>
14609 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14611 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14613 * screen.C (topCursorVisible): introduce a temp var for
14614 text->cursor.row(), handle the case where this row is null. (kindo
14617 * text2.C (setCursor): add a couple of asserts.
14619 * paragraph.h (inset_iterator): add -> operator
14621 * paragraph.[Ch] (autoDeleteInsets): remove member function
14623 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14624 cursor pos correctly and handle inset deletion by itself.
14625 (insertErrors): move iterator declaration out of for expression
14627 * lyxtextclass.C: add <algorithm>
14629 * Makefile.am: added the new files to sources, removed layout.C
14631 * layout.C: removed file
14633 * layout.h: remove LYX_DUMMY_LAYOUT
14635 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14639 * lyxtextclass.[Ch]:
14640 * lyxtextclasslist.[Ch]: new files
14642 * include order changes to a lot of files, also changes because of
14645 2001-12-27 Juergen Vigna <jug@sad.it>
14647 * buffer.C (asciiParagraph): more fixes.
14649 * tabular.C (ascii): make ascii export support export of only the
14650 data separated by a column-delimiter.
14651 (ascii): better support for ascii export.
14653 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14655 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14657 * tabular_funcs.C: use a "using std::getline" instead of the
14658 previous fix from Angus (necessary for cxx + lyxstring)
14660 2001-12-24 Juergen Vigna <jug@sad.it>
14662 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14664 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14665 problems. First check a minipage also if we have some ert-contents
14666 (not only on par->size(), second set the right depth of the paragraph
14667 on the relink to the root-paragraph-list!
14669 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14670 which then did not anymore update the main paragraphs on undo/redo!
14672 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14674 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14675 code. Support all font-changing funcs (even those which are not in
14676 menu currently). Support for reporting font settings in
14677 mathed (disabled until Andre provides a function on mathed's side).
14679 * func_status.h (toggle): small helper function to set toggle
14682 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14684 * tabular_funcs.C: getline -> std::getline
14686 2001-12-21 Juergen Vigna <jug@sad.it>
14688 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14689 accessed and could be 0 (I couldn't generate this but it seems
14692 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14694 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14695 * tabular_funcs.h: here and include iosfwd
14697 2001-12-20 Juergen Vigna <jug@sad.it>
14699 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14700 inside inset but undo_par was.
14702 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14704 * Thesaurus.C: always include <config.h> in sources.
14708 * box.h: do not include <config.h> in header files
14710 * text.C (paintLastRow): remove unused variable
14712 * text.C (transformChar):
14714 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14716 * Painter.C (text):
14717 * font.C (width): rewrite to use uppercase() instead of
14720 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14722 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14724 * lyxfind.C: clean up of find failure position change
14726 2001-12-20 Juergen Vigna <jug@sad.it>
14728 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14730 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14731 (TeXRow): added to LaTeX a single tabular row.
14732 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14733 (Latex): simplified and finally good LT-h/f support.
14734 (various_functions): just small adaptions for LT-h/f support.
14736 * tabular_funcs.[hC]: added and moved here all not classfunctions
14739 2001-12-19 Juergen Vigna <jug@sad.it>
14741 * tabular.[Ch]: better support for longtabular options (not finished
14744 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14746 * text.C (paintLastRow): use the label font instead of the font of
14747 the last character to compute the size of *_BOX. This makes more
14748 sense and avoids a crash with empty paragraphs.
14749 Use Painter::rectangle to draw EMPTY_BOX.
14751 2001-12-19 Juergen Vigna <jug@sad.it>
14753 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14754 the paragraphs if the replaced paragraph is not the first one!
14755 Tried to delete not used paragraphs but does not work yet so for
14756 now it's inside #ifdef's and by default off!
14758 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14760 * MenuBackend.C: include "lyx_main.h" instead of declaring
14761 lastfiles (actually was declared as LastFiles* instead of a
14764 2001-12-17 Juergen Vigna <jug@sad.it>
14766 * tabular.C (AppendColumn): applied John's fix
14768 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14772 * BufferView_pimpl.h:
14773 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14776 * box.h: new start of class for above
14778 * lyxfunc.C: ignore space-only minibuffer dispatches.
14779 Show the command name when it doesn't exist
14781 * minibuffer.C: don't add empty lines to the history
14783 * minibuffer.C: add a space on dropdown completion
14785 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14787 * text.C: fix line above/below drawing in insets
14789 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14791 * lyxlength.C (LyXLength): Initialize private variables.
14793 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14795 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14796 when inserting error insets.
14798 2001-12-13 Juergen Vigna <jug@sad.it>
14800 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14801 actually sometimes the before-paragraph.
14802 (setUndo): don't clear the redostack if we're not actually undoing!
14804 2001-12-06 Juergen Vigna <jug@sad.it>
14806 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14807 and fixed redoing of main paragraph, so we can use it now ;)
14809 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14811 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14813 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14816 2001-12-13 André Pönitz <poenitz@gmx.net>
14819 * undo_func.C: minor cleanup
14821 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14823 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14824 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14825 font in urw-fonts package which is marked as -urw-fontspecific and
14826 does not work (incidentally, changing the encoding in the
14827 fonts.dir of this package to -adobe-fontspecific fixes the
14830 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14831 is a crash when undoing first paragraph (Juergen, please take a
14832 look). THis does not mean the undo fix is wrong, just that it
14835 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14836 the (Paragraph*) version when needed instead of duplicating the
14839 * text.C (workWidth): use Inset::parOwner to find out where the
14840 inset has been inserted. This is a huge performance gain for large
14841 documents with lots of insets. If Inset::parOwner is not set, fall
14842 back on the brute force method
14844 * paragraph_pimpl.C (insertInset):
14845 * paragraph.C (Paragraph):
14846 (cutIntoMinibuffer): set parOwner of insets when
14847 inserting/removing them
14849 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14851 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14857 * mathed/formulabase.C:
14858 * mathed/math_cursor.[Ch]:
14859 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14862 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14864 * lyxlength.[Ch] (operator!=): new function
14866 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14868 * text.C (workWidth): use Inset::parOwner to find out where the
14869 inset has been inserted. This is a huge performance gain for large
14870 documents with lots of insets. If Inset::parOwner is not set, fall
14871 back on the brute force method
14873 * paragraph_pimpl.C (insertInset):
14874 * paragraph.C (Paragraph):
14875 (cutIntoMinibuffer): set parOwner of insets when
14876 inserting/removing them
14878 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14880 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14882 * tabular-old.C (getTokenValue):
14883 * tabular.C (getTokenValue):
14884 (write_attribute): new versions for LyXLength
14885 (everywhere): adjust the use of widths
14887 * tabular.h: change the type of widths from string to LyXLength
14889 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14891 * paragraph.C: fixed missing line number count when exporting
14892 Environments to LaTeX file
14894 * buffer.C: added informational message for checking line numbers.
14896 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14898 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14899 paragraph, do the 'double space' part, but not the 'empty
14902 * text.C (workWidth): small optimization
14903 (getLengthMarkerHeight): use minimal size for negative lengths.
14905 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14907 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14909 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14911 2001-12-11 André Pönitz <poenitz@gmx.net>
14914 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14916 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14918 * text2.C: keep selection on a setFont()
14920 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14922 * lyx_cb.C: another bv->text misuse, from insert label
14924 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14927 * kbsequence.C: re-instate nmodifier mask
14929 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14931 * lyx_main.h: make lyxGUI private.
14933 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14935 * lyxfind.C: place the cursor correctly on failed search
14937 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14939 * text.C (getLengthMarkerHeight): for small heights, the arrows
14940 are not always on top/bottom of the text
14941 (drawLengthMarker): smaller arrows; take the left margin in
14942 account; draw also vfills.
14944 (paintLastRow): remove special code for vfill and standard spaces,
14945 since everything is handled in drawLengthMarker now.
14947 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14949 * buffer.C (insertErtContents): try to handle font and language
14950 interaction a bit better.g
14952 * ColorHandler.C (updateColor): change the hash to cover the whole
14953 LColor enum, ws cleanup
14954 (getGCLinepars): ditto
14955 (getGCLinepars): only lookup in the linecache once.
14957 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14959 * iterators.C (operator++): Make the iterator more robust
14961 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14963 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14965 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14968 * text.C: better added space drawing
14970 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14973 * BufferView2.C: fix layout combo update on inset unlock
14975 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14977 * Makefile.am: don't compile unused files
14979 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14983 * LyXAction.C: remove old LFUN_LAYOUTNO
14985 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14987 * paragraph_pimpl.h:
14988 * paragraph_pimpl.C: isTextAt() doesn't need font param
14990 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14993 * lyxlex.C: little cleanup
14995 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14997 * BufferView_pimpl.C: fix insertAscii for insets
14999 2001-12-05 Juergen Vigna <jug@sad.it>
15001 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15002 set the right font on the "multi" paragraph paste!
15004 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15010 * lyxlength.C: remove out-commented code.
15012 * BufferView_pimpl:
15026 * vc-backend.C: change "while(" to "while ("
15028 * lyxlength.[Ch]: add zero function to check if length is zero or
15030 * lyxgluelength.C: use it
15032 2001-12-05 Allan Rae <rae@lyx.org>
15034 * lyxlength.C: Attempted a fix for the abs(int) header selection.
15035 Works for 2.95.3, from what I understand of Garst's reports this should
15036 work for other g++ versions. We're screwed if the abs(int) definition
15037 changed between bugfix releases of gcc.
15039 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15041 * text.C: fix chapter label offset !
15043 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15046 * text.C: fix hfill at end of line, clean up
15048 2001-12-04 Juergen Vigna <jug@sad.it>
15050 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15051 that we force an update of the inset and it's owners if neccessary.
15053 2001-12-03 Juergen Vigna <jug@sad.it>
15055 * text.C (rowLast): simplified code
15057 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15059 * lyxfunc.C: fix show options on timeout
15061 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15063 * screen.C (topCursorVisible): scroll half a page when the cursor
15064 reached top of bottom of screen
15066 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
15068 * minibuffer.C: deactivate on loss of focus
15070 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15072 * vspace.[Ch] (operator!=): add operator.
15074 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
15076 * BufferView_pimpl.C: refuse to open an inset when
15077 there's a selection.
15079 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
15081 * BufferView_pimpl.C: allow to click on RHS of full row insets
15083 2001-11-30 Juergen Vigna <jug@sad.it>
15085 * tabular.C (LyXTabular): add a same_id to set the same id's in the
15086 insets for undo reasons.
15088 2001-11-28 André Pönitz <poenitz@gmx.net>
15090 * vspace.[Ch]: cosmetical changes
15092 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15102 * kbsequence.C: part re-write of old kb code
15105 * WorkArea.C: remove Lgb_bug_find_hack
15107 2001-11-30 José Matos <jamatos@fep.up.pt>
15109 * buffer.C (makeDocBookFile): add a comment to point a hack.
15110 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15111 Fixed a double write of labels.
15113 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15116 * LaTeX.h Fixed bug in LaTeX class where it would not
15117 re-run latex if no depfiles were changed, but the .dvi was removed.
15119 2001-11-28 André Pönitz <poenitz@gmx.net>
15121 * all the files from the change on 2001/11/26:
15122 use lyx::layout_type instead of LyXTextClass::size_type
15123 use lyx::textclass_type instead of LyXTextClassList::size_type
15125 2001-11-29 Juergen Vigna <jug@sad.it>
15127 * text.C: added support for paragraph::isFreeSpacing()
15129 * buffer.C: same as above
15131 * paragraph.h: inserted isFreeSpacing() function to enable
15132 FreeSpacing inside InsetERT.
15134 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15135 of the paragraph's in the cut/copy buffer to 0!
15137 * text2.C (removeRow): remove the assert as it can!
15139 * lyxtext.h: added helper function firstRow returning firstrow and
15140 made firstrow private again.
15142 * BufferView2.C (lockInset): don't relock if we're already locked!
15144 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15145 the only paragraph.
15146 (removeRow): added Assert::(firstrow)
15148 * debug.C: forgot to add INSETTEXT here.
15150 2001-11-28 Juergen Vigna <jug@sad.it>
15152 * sp_spell.C (initialize): changed error text to more general
15153 spellchecker command use (not only ispell!)
15155 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15157 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15159 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15161 * vspace.C: initialise lyxgluelength on failure
15163 2001-11-28 Allan Rae <rae@lyx.org>
15165 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15166 declaration & definition that looks like a function declaration.
15168 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15170 * BufferView2.C (copy):
15171 (copyEnvironment): do not clear the selection when doing a copy.
15173 * text.C (paintFirstRow): compilation fix
15175 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15177 * tabular.C (Latex): correct line count when writing latex.
15179 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15181 * paragraph_pimpl.h:
15182 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15185 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15189 * LColor.C: change vfillline->added_space
15191 * text.C: add markers and text for added space
15193 * vspace.C: fix comment
15195 2001-11-28 André Pönitz <poenitz@gmx.net>
15197 * paragraph.C: whitespace changes
15198 * all the other files from the change on 2001/11/26:
15199 change *::pos_type into lyx::pos_type
15201 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15203 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15204 language of the document when inserting error insets.
15206 2001-11-26 André Pönitz <poenitz@gmx.net>
15208 * BufferView_pimpl.[Ch]:
15216 * paragraph_pimpl.[Ch]:
15219 * text2.C: reduce header dependencies, introduce type for positions
15221 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15223 * <various>: change to use Alert.h
15225 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15227 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15228 when encountering an unknown token.
15229 (readLyXformat2): Show an error message if there were unknown tokens.
15231 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15234 * BufferView_pimpl.C:
15238 * text2.C: use par->isInset()
15240 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15242 * paragraph_pimpl.h:
15243 * paragraph_pimpl.C: cleanup
15245 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15247 * text2.C (removeRow):
15248 * text.C (setHeightOfRow): remove useless (and costly) call to
15251 2001-11-20 Allan Rae <rae@lyx.org>
15253 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15254 Now need Inset*::checkInsertChar() to return true for appropriate
15255 cases so that the characters in the minibuffer will actually be
15258 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15260 * text.C: change the order of the includes.
15261 (workWidth): initialize it at once.
15262 (workWidth): make maxw unsigned
15263 (setHeightOfRow): remove unused variable (inset)
15264 (selectSelectedWord): remove unused variable (inset)
15265 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15267 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15269 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15270 server is not running.
15272 (closeConnection): add debug info when server is disabled.
15274 * ColorHandler.C (getGCForeground): send debug message to GUI
15277 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15279 * kbmap.C (bind): modify because return conventions of
15280 kb_sequence::parse have changed.
15282 * kbsequence.C (parse): only ignore spaces and not any stupid
15283 control character. This avoids tests like s[i] <= ' ', which are
15284 guaranteed to fail with 8bit characters and signed chars.
15285 Change return code to string::npos when there have been no error
15286 (0 was a bad idea when error is at first character)
15288 2001-11-14 José Matos <jamatos@fep.up.pt>
15291 * buffer.C (simpleDocBookOnePar): removed unused argument.
15293 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15295 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15296 insets which are part of a word. Paragraph::isLetter takes care of
15297 that now. Use Paragraph::isInset to identify insets.
15298 (selectSelectedWord): do not test for hyphenation break.
15300 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15301 that protected spaces are considered as spaces.
15303 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15306 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15309 * lyxserver.C: fix it. and small cleanup.
15311 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15313 * BufferView_pimpl.C: use inline helpers
15316 * LaTeXFeatures.C: fix typos
15319 * Spacing.C: move spacing_string into class
15321 * ToolbarDefaults.C: move stuff into namespace anon
15323 * layout.h: update enum
15325 * lyxfunc.C: use better debug
15327 * minibuffer.h: fix typo
15331 * WorkArea.C: add and use Debug::WORKAREA
15335 * text2.C: code re-organisation, inline helpers
15337 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15339 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15340 std::vector.empty().
15342 2001-11-09 Allan Rae <rae@lyx.org>
15344 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15345 '\n's after tables. Tabular and ERT inset work now makes this no
15348 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15351 * minibuffer.C: fix crash, improve drop-down completion
15353 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15356 * lyxserver.C: invalidate fd's when doing endPipe()
15358 2001-11-08 José Matos <jamatos@fep.up.pt>
15360 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15361 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15364 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15366 2001-11-07 José Matos <jamatos@fep.up.pt>
15369 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15372 * buffer.C (sgmlOpenTag):
15373 * buffer.C (sgmlCloseTag): removed debug info.
15375 * buffer.h (sgmlOpenTag):
15376 * buffer.h (sgmlCloseTag): made public.
15378 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15380 * buffer.C (saveParamsAsDefaults):
15381 * lyx_cb.C (MenuLayoutSave): remove
15383 * LyXAction.C (init):
15385 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15387 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15389 * buffer.C (setPaperStuff): removed from here...
15391 * bufferparams.C (setPaperStuff): ... and moved there.
15393 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15397 * XFormsView.C: add support for drop-down completion
15399 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15401 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15404 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15406 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15409 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15411 * lyx_main.C: change ref to known bugs
15413 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15415 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15416 to work around older babel problems.
15418 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15420 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15422 2001-10-24 Juergen Vigna <jug@sad.it>
15424 * tabular-old.C (ReadOld): below variable changes reflected.
15426 * tabular.[Ch]: added ltType struct for longtable header/footer
15427 defines and changed all instances where they are used. Added
15428 future support for double top/bottom rows.
15430 2001-10-24 José Matos <jamatos@fep.up.pt>
15432 * buffer.h (docbookHandleCaption):
15433 * buffer.C (docbookHandleCaption): removed unused function.
15434 (makeDocBookFile): moved docbook supported version to v4.1.
15436 2001-10-24 José Matos <jamatos@fep.up.pt>
15439 * tabular.C (docbookRow): new function to export docbook code of a row.
15440 (DocBook): now honors the longtable flags.
15442 2001-10-23 José Matos <jamatos@fep.up.pt>
15445 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15446 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15448 * buffer.C (makeLinuxDocFile):
15449 (makeDocBookFile): reworked the preamble, more clean, and with
15450 support for lyx defined entities. Changed the document declaration
15451 to be more XML friendly.
15453 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15454 if we need to output XML that should be done with a filter.
15456 2001-10-22 Juergen Vigna <jug@sad.it>
15458 * sp_pspell.h (class PSpell): add alive function needed in the
15459 controller to see if the spellchecker could be started.
15461 2001-10-22 Juergen Vigna <jug@sad.it>
15463 * buffer.C (insertStringAsLines): modify the font for inserting
15464 chars in certain conditions by calling checkInsertChar(font).
15466 2001-10-19 Juergen Vigna <jug@sad.it>
15468 * text.C (workWidth): use getRow instead of wrong algorithm.
15469 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15471 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15476 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15478 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15480 * text.C (workWidth): do not search for the exact row when
15481 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15482 optimization for big documents.
15484 2001-10-18 Juergen Vigna <jug@sad.it>
15486 * text.C (workWidth): new function with added Inset * parameter.
15488 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15490 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15492 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15493 change return type of getColumnNearX.
15496 * text.C (changeRegionCase): use uppercase/lowercase instead of
15499 (rightMargin): simplify code by factoring out the uses of
15504 (appendParagraph): use Paragraph::size_type
15506 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15508 * vspace.C (asLatexString): add a missing break
15510 2001-10-15 Herbert Voss <voss@perce.de>
15512 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15514 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15516 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15519 2001-10-10 André Pönitz <poenitz@gmx.net>
15521 * lyxfunc.C: removed greek_kb_flag.
15523 2001-10-10 Herbert Voss <voss@perce.de>
15525 * lyx_main.C: delete global string help_lyxdir.
15527 2001-10-09 Herbert Voss <voss@perce.de>
15529 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15531 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15533 * lyx_main.C: added global string help_lyxdir.
15535 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15537 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15539 * lyxrc.C (set_font_norm_type): support iso8859-4
15541 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15543 * LaTeX.C (deplog): add another regex for MikTeX
15545 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15547 * lyxrc.C (set_font_norm_type): support iso8859-3
15549 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15551 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15553 * LaTeXFeatures.C: remove special case of french and index
15555 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15556 before \begin{document}). This solves several incompatibilities.
15558 2001-10-03 Garst Reese <reese@isn.net>
15560 * lyx_cb.C: change CheckTex error msg.
15562 2001-10-03 José Matos <jamatos@fep.up.pt>
15564 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15566 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15568 * .cvsignore: update
15570 * lyx_main.C (commandLineVersionInfo): use new style version info.
15572 * buffer.C (writeFile):
15574 (makeLinuxDocFile):
15575 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15577 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15579 * version.h: update to use stuff in version.C
15581 * version.C.in: new file. Contains version information determined
15582 at compile time. This is a merging of version.h and
15585 2001-10-03 Juergen Vigna <jug@sad.it>
15587 * BufferView_pimpl.C (update): don't change "dirty" status in
15590 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15592 * WorkArea.C (c-tor): re-position version string slightly.
15594 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15596 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15597 revert to previous code.
15599 WorkArea.[Ch]: (show, destroySplash): methods removed.
15601 WorkArea.C: rework code so that it's an amalgam of the codes before and
15602 after the splash screen was moved to WorkArea.
15604 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15607 * vspace.C (inPixels):
15610 * buffer.C (insertStringAsLines):
15611 (asciiParagraph): fix types to be large enough
15613 * lyxlex_pimpl.h: change member status from short to int
15615 * layout.h: fix type of endlabeltype
15618 * kbsequence.C (parse): change return type to string::size_type
15620 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15623 * Bullet.C (bulletSize):
15624 (bulletEntry): do not use short ints as parameters
15626 * BufferView2.C (insertLyXFile): change a char to an int.
15628 * WorkArea.C (WorkArea): remove unneeded floats in computation
15630 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15632 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15634 * paragraph.C (asString): Do not ignore newline/hfill chars when
15635 copying to the clipboard.
15637 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15639 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15640 after a multi-line inset.
15642 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15644 * paragraph.C (validate): Set NeedLyXFootnoteCode
15646 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15648 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15649 and decrease-error to decrease.
15651 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15653 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15654 it more readable (should be equivalent)
15656 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15658 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15660 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15662 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15663 of a cursor (row, etc.) after a character has been deleted
15664 (deleteEmptyParagraphMechanism): call the method above on _all_
15665 cursors held by the LyXText when a double space has been
15668 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15670 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15672 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15674 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15675 background. Use greyOut() and the new show() methods to toggle between
15676 the foreground and background. Add code to remove the splash after
15677 its initial showing.
15679 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15680 (create_forms): no longer call Dialogs::showSplash.
15682 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15684 * .cvsignore: add version_info.h
15686 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15688 * version_info.h.in: new file
15690 * Makefile.am: add version_info.h.in
15692 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15693 version_info.h instead of VERSION_INFO
15695 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15697 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15698 The ERT inset now returns string().
15700 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15702 * lyxtext.h, text.C (selectNextWord): renamed as
15703 selectNextWordToSpellcheck.
15705 * text.C (selectNextWordToSpellcheck): Modified to not select
15706 words inside an ERT inset.
15708 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15710 * lyx_cb.C (MenuLayoutSave): change a bit the question
15712 * sp_base.h: include <sys/types.h>
15714 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15716 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15718 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15720 * several files: fix typos in user-visible strings
15722 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15724 * text2.C (pasteSelection): do not set the selection, since it
15725 will be cleared later. Actually, the intent was to fix the way the
15726 selection was set, but I figured rmoving the code was just as good.
15728 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15730 * FontLoader.C (available): Check if font is available without
15733 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15735 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15737 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15739 * lyxrc.[Ch]: added display_graphics variable and associated code.
15741 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15743 * bufferparams.C (hasClassDefaults): new method. Returns true if
15744 the buffer parameters correspond to known class defaults
15746 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15748 * XFormsView.C (show): set minimum size to the main window.
15750 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15752 * text2.C (copySelection):
15754 * lyxfind.C (LyXReplace):
15755 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15756 LyXText::selectionAsString.
15758 * paragraph.C (asString): add "label" argument to the second form
15760 * text2.C (selectionAsString): add "label" argument and pass it to
15761 Paragraph::asString.
15763 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15765 * lyx_main.C (commandLineHelp): remove version information
15767 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15769 * lyx_main.C: add -version commandline option
15771 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15773 * paragraph.h: make the optional constructor arg required instead.
15774 some modifications to other files because of this.
15776 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15778 * lyxserver.C (C_LyXComm_callback): make it static
15780 * lyx_main.C (error_handler): make it static
15782 * lyx_gui.C (LyX_XErrHandler): make it static
15784 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15786 * WorkArea.C: make the extern "C" methods static.
15788 * Makefile.am (lyx_LDADD): simplify
15790 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15792 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15793 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15795 * LyXAction.C (init):
15796 * lyxfunc.C (dispatch): associated code removal.
15798 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15800 * lyxfont.h (isSymbolFont): shut off warning
15802 * text.C (setHeightOfRow):
15803 (getVisibleRow): fix crash with empty paragraphs which have a
15806 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15808 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15811 2001-09-04 José Matos <jamatos@fep.up.pt>
15814 * tabular.C (docbook): rename docBook method to docbook.
15816 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15818 * Makefile.am: add dependencies to main.o.
15820 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15822 * FontLoader.C (available): Return false if !lyxrc.use_gui
15824 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15826 * FontInfo.C (query):
15827 * converter.C (view):
15828 * importer.C (Import):
15829 * exporter.C (Export): Can not -> cannot.
15831 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15833 * BufferView_pimpl.C: allow to create index inset even if
15836 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15838 * buffer.C (getLists): replace boost::tie code with an explicit pair
15839 as boost::tie can break some compilers.
15841 * iterators.h: Added a std:: declaration to the return type of
15844 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15846 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15849 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15851 * iterators.[Ch]: New files. Provide paragraph iterators.
15853 * buffer.C (changeLanguage): Use paragraph iterators.
15854 (isMultiLingual): ditto
15856 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15858 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15860 * FontLoader.C: Support for cmr font.
15862 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15864 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15865 (available): New method.
15867 * FontInfo.C (getFontname): Use scalable fonts even when
15868 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15871 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15873 * converter.C (Formats::view): reverted! Incorrect fix.
15875 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15877 * converter.C (Formats::view): only output the -paper option
15878 if the dvi viewer is xdvi, thereby fixing bug #233429.
15880 2001-08-23 Herbert Voss <voss@perce>
15882 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15884 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15886 * Spacing.h (Spacing): Set space to Default on in the default
15889 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15891 * vc-backend.h (RCS::versionString): add RCS to version
15892 (CVS::versionString): add CVS to version
15894 * vc-backend.C (scanMaster): do not add CVS to version.
15895 (scanMaster): do not add RCS to version
15897 * lyxvc.C (versionString): new method
15899 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15901 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15903 * Spacing.C (set): initialize fval
15905 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15907 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15910 2001-08-16 Juergen Vigna <jug@sad.it>
15912 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15914 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15916 * BufferView_pimpl.C:
15919 * text2.C: setParagraph takes linespacing now
15921 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15923 * LyxAction.C: add internal LFUN_CITATION_INSERT
15925 * LyXView.C: actually apply fix
15927 * bufferlist.C: fix open non-existent file
15929 * lyxfind.C: fix indentation
15931 * lyxfunc.C: remove unneeded assert, fix typo
15933 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15935 * MenuBackend.C: use "Floatname List"
15937 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15939 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15940 when converting LaTeX layout to insetERT.
15941 Generate a non-collapsed float when reading old float
15943 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15945 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15948 2001-08-13 Juergen Vigna <jug@sad.it>
15950 * text.C (fill): return 0 instead of 20 as this seems to be the more
15953 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15955 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15958 2001-08-13 Juergen Vigna <jug@sad.it>
15960 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15962 (SearchBackward): comment out the unlocking of the inset_owner this
15963 should not be needed!
15965 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15967 * Many files: Remove inherit_language, and add latex_language
15969 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15970 collapsible insets.
15972 2001-08-10 Juergen Vigna <jug@sad.it>
15974 * text.C (prepareToPrint): fixed hfill-width in draw!
15976 * BufferView2.C (selectLastWord): save the selection cursor as this
15977 now is cleared in the function LyXText::clearSelection!
15979 2001-08-08 Juergen Vigna <jug@sad.it>
15981 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15982 BACKSPACE type functions.
15984 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15985 is only cutted from the document but not put in the cut-buffer, where
15986 still the old stuff should be.
15988 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15990 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15992 * tabular.C (SetWidthOfCell): fixed special case where the width
15994 (LeftLine): handle '|' in align_special.
15996 (LeftAlreadyDrawed): ditto
15997 (SetWidthOfCell): ditto
15999 2001-08-07 Juergen Vigna <jug@sad.it>
16001 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16003 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16005 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16006 * lyxlex.[hC]: ditto
16008 2001-08-06 Juergen Vigna <jug@sad.it>
16010 * text.C (getVisibleRow): fix up row clearing a bit.
16012 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16014 * minibuffer.C: make sure the X server sees the changes in the input.
16016 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16018 * paragraph.C (getFont): split into...
16019 (getLabelFont): this
16020 (getLayoutFont): and this
16021 * paragraph_pimpl.C (realizeFont): calling this
16023 * text2.C (getFont): split into...
16024 (getLayoutFont): this
16025 (getLabelFont): and this
16026 (realizeFont): all three calling this
16028 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16031 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16033 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16035 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
16037 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16038 layouts from the Quote inset insertion.
16040 2001-08-03 Juergen Vigna <jug@sad.it>
16042 * BufferView_pimpl.C (update): do the fitCursor only at the end!
16044 * screen.C (drawFromTo): don't call fitcursor here and do the loop
16045 only if status not is already CHANGED_IN_DRAW (second level).
16047 * text.C (draw): don't set the need_break_row when inside an
16050 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
16052 * buffer.C (parseSingleLyXformat2Token): handle more latex
16055 * bufferview_funcs.[hC]: change function names to
16056 begin with small char, adjust other files.
16058 2001-08-02 André Pönitz <poenitz@gmx.net>
16061 BufferView_pimpl.C: remove broken special code for math-greek
16063 2001-08-02 Juergen Vigna <jug@sad.it>
16065 * BufferView_pimpl.C (update): redone this function so that we
16066 update the text again if there was a CHANGE_IN_DRAW.
16068 * screen.C (cursorToggle): removed LyXText parameter and recoded.
16069 (drawFromTo): added a new internal bool which is used by draw() and
16071 (general): some cursor drawing problems fixed.
16073 2001-08-01 Juergen Vigna <jug@sad.it>
16075 * lyxfind.C (LyXFind): fixed
16076 (SearchForward): ditto
16077 (SearchBackward): ditto
16079 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16080 spurius drawing of the cursor in the main area.
16082 * text2.C (status): small fix which could lead to a segfault!
16083 (clearSelection): remove unneeded BufferView param.
16085 2001-08-01 André Pönitz <poenitz@gmx.net>
16087 * lyxfunc.C: small change due to changed mathed interface
16089 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16091 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16093 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
16095 * lyxfunc.c: fail gracefully if file doesn't exist
16100 * BufferView_pimpl.C: IsDirWriteable() proto changed
16102 * LyXView.C: fix updateWindowTitle() to store the last title
16104 2001-07-31 Juergen Vigna <jug@sad.it>
16106 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16107 the font (wrong since using of Paragraph::highestFontInRange).
16109 * paragraph.C (highestFontInRange): added a default_size parameter.
16111 * text.C (getVisibleRow): minor clear row changes (still not perfect).
16112 (setHeightOfRow): reformat
16114 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16116 * converter.[hC] + affected files: move to (inital-char)lowercase
16119 * ParagraphParameters.C (ParagraphParameters): remove commented code
16121 * PainterBase.[Ch]: remove commented code
16123 * LaTeXFeatures.h: add "bool floats" for float.sty
16125 * LaTeXFeatures.C (LaTeXFeatures): init floats
16126 (require): handle float
16127 (getPackages): do it with floats
16129 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16131 * BufferView_pimpl.C (Dispatch): improve handling of
16132 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16134 * commandtags.h: #include lyxfont.h here temporarily to avoid
16137 * bufferlist.h: include LString.h here.
16139 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16141 * text2.C (getStringToIndex): new method.
16143 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16145 * *: Reduced header file dependencies all over.
16147 2001-07-30 Baruch Even <baruch@lyx.org>
16149 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16151 2001-07-29 Baruch Even <baruch@lyx.org>
16153 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16155 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16157 * ParameterStruct.h (endif): add a default constructor to make
16158 sure that all variables is initialized.
16160 * ParagraphParameters.C (ParagraphParameters): adjust
16162 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16164 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16165 index; also, check that there is something to index, and that it
16166 does not span over several paragraphs.
16167 (doubleClick): use WHOLE_WORD_STRICT for double click.
16169 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16171 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16174 2001-07-26 Baruch Even <baruch@lyx.org>
16176 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16177 an InsetFig figure, backwards compatible reading of old figure code.
16179 2001-07-27 Juergen Vigna <jug@sad.it>
16181 * text2.C: font.realize function adaption.
16183 * text.C (draw): add a warnings lyxerr text if needed.
16185 * layout.C: font.realize function adaption.
16187 * language.C: add inherit_language and implement it's handlings
16189 * bufferview_funcs.C (StyleReset): remove language parameter from
16190 font creation (should be language_inherit now).
16192 * bufferparams.C (writeFile): handle ignore_language.
16194 * paragraph.C (getFontSettings): the language has to be resolved
16195 otherwise we have problems in LyXFont!
16197 * lyxfont.C (lyxWriteChanges): added document_language parameter
16198 (update): removed unneeded language parameter
16200 * paragraph.C (validate): fixed wrong output of color-package when
16201 using interface colors for certain fonts in certain environments,
16202 which should not seen as that on the final output.
16204 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16206 * BufferView_pimpl.C:
16211 * LyXAction.C: add thesaurus support
16214 * lyxfind.C: add "once" parameter, for thesaurus, to not
16215 move to the next match
16217 2001-07-26 Juergen Vigna <jug@sad.it>
16219 * lyxfont.C (realize): honor ignore_language too!
16222 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16224 * text.C (draw): one place more for ignore_language to not draw
16227 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16229 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16231 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16233 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16234 the minipage conversion problem.
16236 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16238 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16241 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16243 * BufferView.h: don't forward declare WorkArea
16245 * BufferView.C: don't include WorkArea.h
16247 2001-07-25 André Pönitz <poenitz@gmx.net>
16251 * lyxfunc.C: new LFUN 'math-space'
16253 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16255 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16257 * text2.C (toggleInset): call open/close
16259 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16261 * lyxfunc.C (dispatch): add debug for the disabled case
16263 * font.C (buttonText): make similar to rectText
16265 * buffer.C (readInset): comment out parsing of insetlist and
16268 * PainterBase.C (rectText): small correction
16270 * BufferView_pimpl.C: comment out insettheorem and insetlist
16271 * LyXAction.C: ditto
16272 * commandtags.h: ditto
16274 2001-07-24 Juergen Vigna <jug@sad.it>
16276 * text.C (draw): honor the ignore_language.
16278 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16280 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16282 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16285 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16287 * lyxtext.h: remove unused (and unimplemented) methods
16289 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16291 * text.C (getVisibleRow): honor background color
16294 * Painter.h: remove default color argument for fillRectangle
16296 * text.C (backgroundColor): new method
16298 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16300 * text.C (getVisibleRow): adjust
16302 * font.[Ch] (rectText): new method, metrics
16303 (buttonText): new method, metrics
16305 * PainterBase.[hC]: make rectText and buttonText always draw and take
16308 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16310 * ToolbarDefaults.C (read):
16311 * MenuBackend.C (read): allow escaping in all strings
16313 * BufferView_pimpl.C (insertAndEditInset): new method.
16314 (Dispatch): use insertAndEditInset whenever appropriate.
16316 * BufferView_pimpl.C (insertNote): removed
16318 * BufferView_pimpl.C (smartQuote): new method, moved from
16319 BufferView; if an insetquote cannot be inserted, insert a '"'
16322 * BufferView2.C: remove insertCorrectQuote();
16324 * lyxfunc.C (getStatus): Add support for all remaingin
16325 inset-insert lfuns.
16327 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16329 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16330 command (necessary to pass " as parameter of self-insert.
16332 * text.C (selectWordWhenUnderCursor):
16333 (selectWord): add word_location parameter
16334 (selectWordWhenUnderCursor): same + remove special code for word
16336 (selectNextWord): use kind() to guess type of insetspecialchar,
16339 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16340 (insertErtContents): create ert insets as collapsed.
16341 (readInset): better compatibility code for Info inset.
16343 2001-07-20 Juergen Vigna <jug@sad.it>
16345 * lyxfunc.C (dispatch): use always LyXFind now!
16347 * text2.C (init): add a reinit flag so that the LyXText can be
16348 reinited instead of deleted and reallocated (used in InsetText).
16350 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16356 2001-07-18 Juergen Vigna <jug@sad.it>
16358 * text.C (selectNextWord): handle insets inside inset by calling
16359 always the bv->text functions so that we can go up the_locking_inset!
16361 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16362 in strange locations when inside an inset!
16364 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16365 handling to include insets.
16367 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16369 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16371 * LyXAction.C (init):
16373 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16374 LIGATURE_BREAK, since the name is so stupid.
16376 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16378 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16381 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16383 * sp_form.[Ch]: remove.
16385 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16387 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16390 * src/buffer.C (readInset): ditto.
16392 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16394 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16395 menuSeparator(), endOfSentenceDot(), ldots() and
16396 hyphenationPoint(), which are therefore removed.
16397 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16399 * LyXAction.C (init):
16400 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16402 * paragraph.C (getWord): removed.
16404 * BufferView_pimpl.C (Dispatch): use last word or selection for
16405 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16407 * lyx_main.C (queryUserLyXDir): do not ask before creating
16408 user_dir, except if it has been named explicitely.
16410 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16412 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16413 a document of zero size.
16415 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16417 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16418 approriately in the c-tor and in require().
16419 (getPackages): output the appropriate LaTeX for natbib support.
16421 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16422 variables "use_natbib" and "use_numerical_citations" when reading the
16424 (readInset): read the various natbib cite commands.
16425 (validate): white-space change.
16427 * bufferparams.[Ch]: new variables "bool use_natbib" and
16428 "bool use_numerical_citations".
16429 (writeFile): output them in the LyX file.
16431 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16433 * lyxfunc.C (getStatus): add support for all the inset insertion
16436 * text2.C (insertInset):
16437 * paragraph.C (insetAllowed):
16438 * BufferView_pimpl.C (insertInset): update to take in account the
16439 renaming of insertInsetAllowed
16441 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16443 * text2.C (getInset): new method. returns inset at cursor position.
16445 * BufferView_pimpl.C (Dispatch): changes because of this.
16447 * LyXAction.C (init): rename open-stuff to inset-toggle.
16449 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16451 * text2.C (toggleInset): renamed from openStuff; use
16454 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16456 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16458 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16460 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16462 * buffer.C (readLyXformat2): Add filename to the error dialog
16464 2001-07-18 Juergen Vigna <jug@sad.it>
16466 * tabular.C (GetCellNumber): put an assert here instead of the check!
16468 2001-07-17 Juergen Vigna <jug@sad.it>
16470 * BufferView_pimpl.C (toggleSelection): adapted too.
16472 * text.C (selectNextWord): adapted for use with insets.
16473 (selectSelectedWord): ditto
16475 2001-07-17 Juergen Vigna <jug@sad.it>
16477 * sp_spell.C (PSpell): fix initialitation order.
16479 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16481 * paragraph.C: spacing
16483 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16485 * sp_spell.C: repair language selection for pspell
16487 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16489 * lyxfunc.h: change more methods to begin with lower char.
16491 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16493 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16494 for unknown layouts.
16496 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16498 * buffer.C (readLyXformat2): Generate an error dialog if there are
16501 2001-07-16 Juergen Vigna <jug@sad.it>
16503 * sp_spell.C: always compile ISpell part.
16505 * lyxrc.C: added use_pspell entry and it's handling.
16507 2001-07-13 Juergen Vigna <jug@sad.it>
16509 * sp_spell.C: removed double includes.
16511 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16513 Consistent use of Lsstream.h:
16514 * Lsstream.h: added using std::stringstream for consistencies sake.
16516 * buffer.C: removed using std::stringstream
16518 * lyxfont.C (stateText):
16519 * paragraph.C (asString):
16520 * text.C (selectNextWord, selectSelectedWord):
16521 * text2.C (setCounter):
16522 * vspace.C (asString, asLatexString):
16523 std::ostringstream -> ostringstream.
16525 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16527 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16528 * commandtags.h: add LFUN_HELP_ABOUTLYX
16529 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16531 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16533 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16535 * lyx_gui_misc.C: remove spellchecker
16536 * lyxfunc.C: showSpellchecker
16538 * sp_ispell.h: added
16539 * sp_pspell.h: added
16540 * sp_spell.C: added
16541 * sp_form.[Ch]: removed
16542 * spellchecker.[Ch]: removed
16544 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16546 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16548 (simpleTeXSpecialChars): Simply print the input character without
16549 any special translation if pass_thru is set.
16551 * layout.h: Added bool pass_thru to layout class for being able to
16552 implement pass through of a paragraph for Literate Programming.
16554 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16555 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16556 * layout.C (Read): add "passthru" to list of layout tags and add
16557 code to set the pass_thru boolean when it is read.
16559 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16561 * trans_decl.h: remove allowed from KmodInfo
16563 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16564 remove allowed code
16567 * paragraph_pimpl.C (erase): use boost::prior
16569 * Painter.C (text): use data() instead of c_str() when length is
16571 * WorkArea.C (putClipboard): ditto
16572 * font.h (width): ditto
16574 * BufferView2.C: use it-> instead of (*it). for iterators
16576 * paragraph_pimpl.C: ditto
16577 * paragraph.C: ditto
16578 * minibuffer.C: ditto
16579 * language.C: ditto
16581 * encoding.C: ditto
16582 * counters.C: ditto
16583 * converter.C: ditto
16585 * Variables.C: ditto
16586 * TextCache.C: ditto
16587 * MenuBackend.C: ditto
16588 * LyXAction.C: ditto
16590 * FloatList.C: ditto
16591 * DepTable.C: ditto
16592 * ColorHandler.C (LyXColorHandler): ditto
16594 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16596 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16598 * text2.C (openStuff): reintroduce this method (which had been
16599 nuked in NEW_INSETS frenzy).
16601 * lyxfunc.C (Dispatch): when an action has not been handled, use
16602 its name in the error message, not its number.
16604 * paragraph.C (inInset): change method name to begin with lowercase.
16607 * text2.C: updates because of this.
16609 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16611 * ToolbarDefaults.C (add): add spaces in error message
16613 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16615 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16616 (readLyXformat2): rename return_par to first_par, use lyxlex's
16617 pushToken and remove the manual push handling.
16618 (parseSingleLyXformat2Token): add another ert comp. variable:
16619 in_tabular, rename return_par to first_par. handle newlines better
16621 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16623 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16625 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16627 * text2.C (getParFromID): removed
16629 * buffer.C (getParFromID): new method moved form lyxtext.
16630 * BufferView2.C (insertErrors): adjust
16631 (setCursorFromRow): adjust
16632 * BufferView_pimpl.C (restorePosition): adjust
16633 * lyxfunc.C (Dispatch): adjust
16634 * undo_funcs.C (textUndo): adjust
16636 (textHandleUndo): adjust
16637 (textHandleUndo): adjust
16639 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16641 * buffer.C: up' the LYX_FORMAT
16643 * lyxfont.h: turn NO_LATEX on as default
16645 * buffer.C (insertErtContents): new methods of tex style compability.
16646 (parseSingleLyXformat2Token): use it several places.
16647 * tabular.C (OldFormatRead): and here
16649 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16651 * text2.C: remove some commented code.
16654 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16655 * trans.C: changes because of the above.
16657 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16659 * text2.C (setCounter): Fix counters bug with bibliography layout.
16661 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16663 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16664 own member functions
16665 (simpleTeXSpecialChars): ditto
16667 2001-07-06 Juergen Vigna <jug@sad.it>
16669 * a lot of files: changed the access to LyXText::status and the
16670 call of undo-functions.
16672 * undo.[Ch]: added a inset_id to the undo informations.
16674 * undo_funcs.[Ch]: added and moved here all undo functions.
16676 * lyxtext.h: give the status enum a weight, made status_ a private
16677 variable and made accessor functions for it, removed the whole bunch
16678 of undo-functions as they are now in their own file, make some
16679 functions publically available. Added function ownerParagraph with
16682 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16683 made InInset() a const function, added getParFromID() function.
16685 * buffer.[Ch]: added const version for inset_iterator functions,
16686 added getInsetFromID() function.
16688 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16689 changed undo functions for new version.
16691 2001-07-05 Juergen Vigna <jug@sad.it>
16693 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16694 unknow mechanism does not call the proper constructor but only this
16695 one also if I request the other!?
16697 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16699 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16701 * text2.C (LyXText): use initialization lists.
16703 * lyxtext.h (Selection): initialize set_ and mark_
16704 (init): remove method
16706 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16708 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16710 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16712 * screen.[Ch]: change method names to begin with lowercase
16714 * BufferView_pimpl.C (updateScrollbar): simplify further and
16715 hopefully make it a bit faster.
16717 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16719 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16720 calling directly xforms functions.
16722 * Painter.C (Painter):
16723 * lyx_cb.C (MenuWrite):
16724 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16727 * lyx_gui.C: remove bogus guiruntime extern declaration.
16729 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16731 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16733 (redoDrawingOfParagraph): ditto
16734 (redoParagraphs): ditto
16735 (cutSelection): don't create a object for CutAndPaste use the
16736 static method directly
16737 (pasteSelection): ditto
16739 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16742 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16744 * modifications to some other files because of this.
16746 * Makefile.am (lyx_SOURCES): add XFormsView
16748 * XFormsView.[Ch]: new files
16750 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16751 the main window. Move the gui dependent stuff to XFormsView
16753 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16755 * tabular.C (GetCellInset): update cur_cell also in the row/col
16756 version of this function.
16758 * lyxfunc.C: no need to include figure_form.h here.
16764 * lyxvc.C: no need to include forms.h here.
16766 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16768 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16770 * lyxfunc.C (Dispatch):
16772 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16773 constructor argument.
16775 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16777 * paragraph.C (Paragraph): dont't clear, and just set layout.
16778 (makeSameLayout): use params's copy contructor.
16780 * ParagraphParameters.[Ch] (makeSame): delete method
16782 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16784 * Variables.[Ch]: fix indentation, rename set to isSet
16786 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16788 * lyxfunc.C (Dispatch): fix typo
16790 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16792 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16795 * bufferlist.C: include assert.h for emergencyWrite().
16797 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16799 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16800 give up at last (bug #425202) !
16802 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16808 * spellchecker.C: strip spellchecker options and bring up
16809 preferences tab instead
16811 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16813 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16814 the istringstream constructor
16816 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16818 * paragraph.C (getLayout): fix return value
16820 * paragraph.h: do not declare getLayout as inline.
16822 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16824 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16826 * lyxcursor.h (operator<): new func
16827 (operator>): new func
16828 (operator>=): new func
16829 (operator<=): new func
16831 * text.C (changeCase): use selection.start and selection.end
16832 (changeRegionCase): require from to be <= to. Require par to be a
16835 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16837 2001-06-27 Juergen Vigna <jug@sad.it>
16839 * text.C (cursorLeftOneWord): changed to return the cursor and added
16840 overlay with BufferView * parameter which calls this one.
16842 (selectWord): use new getWord function.
16843 (changeCase): renamed from changeWordCase as and extended to work
16844 also on selections.
16846 * lyxtext.h: added enum word_location
16848 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16849 changeCase as this operates now also on selections.
16851 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16853 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16855 * many files: send debug output to Debug::INFO instead of
16858 * converter.C (View):
16860 (Move): send debug output to Debug::FILES instead of console.
16862 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16864 * lyxfunc.C (getStatus): use func_status
16866 * func_status.h: new header, describing the results of
16867 LyXFunc::getStatus;
16869 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16872 2001-06-25 The LyX Project <jug@sad.it>
16874 * buffer.C (sgmlOpenTag):
16876 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16878 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16880 * text2.C: remove some dead code
16882 * tabular.C (GetCellInset): store the last cell checked (gotten)
16884 * tabular.h: add the helper for the speedup
16886 * lyxtext.h: remove some dead code
16888 2001-06-26 The LyX Project <Asger>
16890 * paragraph.C: Change export to LaTeX of alignment to
16891 \begin{center} and family for better roundtrip work with reLyX.
16893 * Tune the math drawing a bit.
16895 2001-06-25 The LyX Project <Asger>
16897 * LColor.C (LColor): New color for math background. New color
16900 2001-06-25 The LyX Project <jug@sad.it>
16902 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16904 * lyxfunc.C (Open):
16905 * bufferlist.C (newFile): do not restrict to files ending with
16908 * BufferView_pimpl.C (MenuInsertLyXFile):
16910 2001-06-24 The LyX Project <jug@sad.it>
16912 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16915 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16917 * lyxtext.h: rename most methods to begin with a small char.
16918 Lots of changes because of this.
16920 * paragraph.C (Paragraph): do not call fitToSize
16921 (erase): call Pimpl::erase
16922 (insertChar): call Pimpl::insertChar
16923 (insertInset): call Pipl::insertInset
16924 (breakParagraph): do not call fitToSize
16925 (breakParagraphConservative): do not call fitToSize
16926 (fitToSize): remove method
16928 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16930 2001-06-24 The LyX Project <Asger>
16932 * Fix Qt compilation^2
16934 2001-06-24 The LyX Project <jug@sad.it>
16936 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16937 depthHook(getDepth()-1).
16940 * ParagraphParameters.h:
16941 * ParameterStruct.h: change type of depth to unsigned int ==
16942 depth_type. Many adaptations to other files before of that.
16944 2001-06-24 The LyX Project <Asger>
16946 * Fix Qt compilation.
16948 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16950 * paragraph.h: renamed several methods to begin with small letter.
16951 several changes to many parts of the code because of this.
16953 2001-06-23 The LyX Project <jug@sad.it>
16955 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16956 rewritten to discard all double spaces when KeepEmpty is off
16957 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16958 to only handle newlines but not fiddle with spaces and friends.
16960 * lyxfunc.C (MenuNew): when doing 'new from template', use
16961 template_path as default directory
16963 2001-06-23 The LyX Project <Asger>
16965 * Clean-up of header file includes all over
16966 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16968 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16970 * paragraph.h: renamed from lyxparagraph.h
16972 2001-06-23 Asger <lyx@violet.home.sad.it>
16974 * Buffer.h: Removed Buffer::resize
16975 * BufferList.h: Removed BufferList::resize
16976 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16977 the document lazily when we change the width, or the font settings.
16979 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16981 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16983 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16985 * buffer.h: remove out of date comment
16987 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16990 * screen.C: fix "theoretical" GC leak
16992 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16994 * LaTeX.C (scanAuxFile):
16995 (deplog): remove trailing \r when reading stream (useful under
16998 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
17000 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17001 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17002 and BufferView::theLockingInset(Inset*), so should use them and not
17003 access bv_->text->the_locking_inset directly.
17005 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17007 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17010 * tex-defs.h: remove old unused file
17012 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
17014 * BufferView_pimpl.C: fix typo, remove minibuffer message
17015 when buffer has loaded
17017 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
17019 * lyxfunc.C (Dispatch): use stringstream
17020 (MenuNew): use stringstream
17021 (Open): use stringstream
17023 * importer.C (Import): use stringstream
17025 * bufferview_funcs.C (CurrentState): use stringstream
17027 * LaTeX.C (run): use stringstream
17029 * BufferView_pimpl.C (savePosition): use stringstream
17030 (restorePosition): use stringstream
17031 (MenuInsertLyXFile): use stringstream
17033 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
17046 * vspace.C: removed // -*- C++ -*- as first line.
17049 * version.h: added // -*- C++ -*- as first line.
17051 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17053 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17055 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17058 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
17060 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17063 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17065 * gettext.C: include LString.h even when --disable-nls is on.
17067 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
17069 * converter.h (Get): changed argument type from int to
17070 FormatList::size_type to avoid unnecessary conversion.
17072 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17075 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17077 * gettext.h: include LString.h even when --disable-nls is on.
17079 2001-06-07 Juergen Vigna <jug@sad.it>
17081 * text.C (BreakAgain): subst spaces with tabs.
17083 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17084 (resizeInsetsLyXText): set force on resizeLyXText.
17086 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17088 * gettext.h (gettext_init):
17089 (locale_init): use a real definition instead of a macro
17091 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17093 * Bufferview_pimpl.C:
17095 * LColor.C: further lcolor tidies
17097 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
17099 * BufferView_pimpl.C (updateScrollbar): simplify.
17101 * BufferView2.C: don't include insets/insetinfo.h, change
17102 prototype for insertInset and call the Pimpl version. let
17103 updateInset call Pimpl version.
17105 * BufferView.h: move inset_slept to BufferView::Pimpl, move
17106 gotoInset to BufferView::Pimpl
17108 2001-06-01 Juergen Vigna <jug@sad.it>
17110 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17111 inside a LockingInset (is the update needed at all?).
17113 2001-05-31 Juergen Vigna <jug@sad.it>
17115 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17116 here not the old one otherwise how should we compare it afterwards
17119 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17124 * FontInfo.C: bring C functions into global namespace when
17127 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17129 * LString.h: make sure config.h has been loaded before LString.h.
17131 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17132 (one for each char read by EatLine!).
17134 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17137 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17139 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17140 to the same as the par we break from
17142 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17144 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17146 * MenuBackend.C (expand): also create menu entries for wide
17147 versions of the floats.
17149 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17151 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17153 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17154 frontends/Makefile.am
17160 * tabular.C (getTokenValue): add std::
17162 * tabular-old.C (getTokenValue): add std::
17163 (getTokenValue): ditto
17164 (getTokenValue): ditto
17166 * screen.C (ToggleSelection): adjust
17168 * lyxtext.h: put selection cursors inside a Selection struct.
17170 * lyxfunc.C (moveCursorUpdate): adjust
17172 * lyxfont.C (latexWriteStartChanges): add std::
17174 * lyxfind.C: adjust
17176 * font.h: delete with(char const *, LyXFont const &)
17178 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17180 * FontInfo.C (getFontname): add std::
17182 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17183 (workAreaButtonPress): adjust
17184 (tripleClick): adjust
17186 (moveCursorUpdate): adjust
17189 * BufferView2.C (gotoInset): adjust
17191 2001-05-30 Juergen Vigna <jug@sad.it>
17193 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17194 to check pspell I add this as default as I now have new pspell
17195 libraries and they seem to use this.
17197 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17199 * text2.C (CutSelection): make the cursor valid before the call to
17202 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17204 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17205 relied on 0 terminated strings and other horrors. Bug found due to
17206 the new assert in lyxstring!
17208 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17211 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17213 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17216 * lyxfunc.C (processKeySym): change method of getting to the
17219 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17220 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17221 * BufferView_pimpl.[Ch]: here as private methods.
17223 2001-05-28 Juergen Vigna <jug@sad.it>
17225 * text.C (SetHeightOfRow): added the update() call again as it is
17226 needed to initialize inset dimensions!
17228 2001-05-16 Juergen Vigna <jug@sad.it>
17230 * text2.C (SetCharFont): Add new function with BufferView * and
17231 bool toggleall parameters for setting insets internal fonts.
17232 (SetFont): Freeze the undo as we may change fonts in Insets and
17233 all this change should be inside only one Undo!
17235 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17236 setting font's in insets as for them we have the SetFont function!
17238 2001-05-15 Juergen Vigna <jug@sad.it>
17240 * text2.C (ClearSelection): to be sure we REALLY don't have any
17243 * tabular.C (TeXCellPreamble): fixed the left border problem for
17246 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17248 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17251 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17253 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17254 LFUN_BREAKPARAGRAPH.
17256 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17257 help test to "internal only", similar for LFUN_INSERT_URL
17259 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17260 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17261 auto_region_delete and deadkeys.
17263 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17266 * LColor.C: remove some dead entries, tidy a little
17268 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17270 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17272 (Dispatch): implement LFUN_ESCAPE
17274 * commandtags.h: add LFUN_ESCAPE
17276 * LyXAction.C (init): add entry for LFUN_ESCAPE
17278 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17279 Remove commented code.
17280 (insertNote): moved here
17281 (open_new_inset): moved here
17283 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17286 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17288 * kbmap.C (findbinding): clean it up and make it work correctly.
17290 * lyx_main.C (init): do not pass argc and argv as parameters
17292 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17294 * buffer.C: fix path for OS/2 & Win32
17298 * lyx_main.C: Added os:: class.
17300 * os2_defines.h: update
17302 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17304 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17305 better by trying again with reduced state.
17307 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17309 * lyxrc.C (read): print error about invalid key sequence only when
17310 debugging (because not all latinX keysyms are known to some X
17313 * kbsequence.C (getiso): add a few std:: qualifiers
17314 (getiso): comment out extra return statement.
17316 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17318 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17320 (Dispatch): enhance the accent inset a bit. (not perfect)
17322 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17324 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17326 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17328 * bufferlist.C (emergencyWrite): fix assert() call
17330 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17332 * text.C (InsertChar): Added trivial patch to only send the "you
17333 can not do multiple spaces this way" message once during a
17336 2001-05-08 Baruch Even <baruch@lyx.org>
17338 * Makefile.am: Changed order of libraries to get LyX to link properly
17339 with the gnome frontend.
17341 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17343 * LaTeXFeatures.h: add a std:: qualifier
17345 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17347 * paragraph.C (String): use stringstream
17349 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17351 * paragraph.C (writeFile): remove footflag arg
17353 * buffer.C (makeLaTeXFile): use stringstream
17354 (latexParagraphs): remove footnot gurba
17356 * LaTeXFeatures.C (getPackages): use stringstream
17357 (getMacros): likewise
17358 (getTClassPreamble): likewise
17359 (getFloatDefinitions): new method
17361 * paragraph.C (writeFile): reindent
17364 * WorkArea.h: revert the xpos + etc changes.
17366 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17368 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17370 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17371 (pasteSelection): likewise
17372 * text2.C (CreateUndo): likewise
17374 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17376 * minibuffer.C (peek_event): temporarily reduce the functionality
17377 of the minibuffer (to allow args on lfuns)
17379 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17380 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17382 * buffer.C (readInset): add compability reading of old float
17383 lists, add reading of new style float list.
17384 (readInset): avoid reevaluation of inscmd.getCmdName()
17385 (getLists): reindent
17387 * MenuBackend.C (MenuItem): implement parsing of
17388 md_floatlistinsert and md_floatinsert.
17389 (expand::LastFiles): move initalizaton of iterators out of loop,
17390 avoid reevaluation.
17391 (expand::Documents): introduce typdedef vector<string> Strings,
17393 (expand::ExportFormats): introduce typedef vector<Format const *>
17394 Formats, and use it.
17395 (expand): implement FloatListInsert and FloatInsert.
17397 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17398 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17399 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17401 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17403 (Dispatch::LFUN_FLOAT_LIST): implement
17405 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17407 * LaTeX.C (run): Fix problem with --export code.
17409 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17411 * BufferView.[Ch] (workarea): removed.
17412 (getClipboard) new method; wrapper for workarea()->getClipboard()
17414 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17417 * WorkArea.h (width, height, xpos, ypos): These methods all
17418 returned the dimensions of the work_area sub-area of WorkArea,
17419 resulting in a position error if the WorkArea were resized. Now
17420 return the dimensions of the entire WorkArea.
17422 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17424 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17426 * LaTeX.C (deplog): correct the syntax of regex reg1
17428 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17430 * undo.C: remove !NEW_INSETS cruft
17432 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17434 * text2.C: remove !NEW_INSETS cruft
17436 * text.C: remove !NEW_INSETS cruft
17438 * tabular.C: remove !NEW_INSETS cruft
17440 * spellchecker.C: remove !NEW_INSETS cruft
17442 * lyxtext.h: remove !NEW_INSETS cruft
17444 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17446 * lyxfunc.C: remove !NEW_INSETS cruft
17448 * lyxfind.C: remove !NEW_INSETS cruft
17450 * lyx_cb.C: remove !NEW_INSETS cruft
17452 * figureForm.C: remove !NEW_INSETS cruft
17454 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17456 * buffer.[Ch]: remove !NEW_INSETS cruft
17458 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17460 * CutAndPaste.C: remove !NEW_INSETS cruft
17462 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17464 * BufferView2.C: remove !NEW_INSETS cruft
17466 * BufferView.h: remove !NEW_INSETS cruft
17468 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17470 * Lsstream.h: include LString.h before the sstream headers to
17471 fix problem with gcc 2.95.3 and lyxstring
17473 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17475 * lyx_main.C: add using directives when needed for C functions
17476 declared in std:: namespace.
17478 2001-04-27 Juergen Vigna <jug@sad.it>
17480 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17481 (SetHeightOfRow): comment out the update call should not be needed!
17483 2001-04-13 Juergen Vigna <jug@sad.it>
17485 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17486 (LyXTabular): tried to minimize operator= operations (and realized
17487 hopfully Lars wish).
17489 2001-04-27 Juergen Vigna <jug@sad.it>
17491 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17493 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17495 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17497 * buffer.C (readInset): hack to make listof algorithm work
17499 * BufferView_pimpl.C: hack to make listof algorithm work
17501 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17503 * LyXAction.C: removed all !NEW_INSETS cruft
17504 (init): moved lfun_item in method
17506 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17508 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17510 * BufferView2.C (theLockingInset): white space.
17512 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17514 * minibuffer.C: include <iostream>
17516 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17518 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17520 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17522 * text.[Ch] (TransposeChars): new method
17524 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17526 * call message directly through LyXView instead of through LyXFunc
17527 * BufferView2.C: adjust
17528 * BufferView_pimpl.C: adjust
17529 * FontLoader.C: adjust
17531 * bufferview_funcs.C: adjust
17532 * converter.C: adjust
17533 * figureForm.C: adjust
17534 * importer.C: adjust
17536 * lyx_gui_misc.C: adjust
17537 * lyxfunc.C: adjust
17540 + more files in subdirs
17542 * lyxparagraph.h (size): move up int file
17545 * adjust all uses of Assert to lyx::Assert.
17547 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17548 lyxfunctional in namespace lyx
17549 * layout.C (hasLayout): ditto
17552 (delete_layout): ditto
17553 (NumberOfClass): ditto
17554 * converter.C (GetFormat): ditto
17559 * bufferlist.C (getFileNames): ditto
17560 (emergencyWriteAll): ditto
17563 * MenuBackend.C (hasSubmenu): ditto
17566 * BufferView_pimpl.C (getInsetByCode): ditto
17568 2001-04-18 Juergen Vigna <jug@sad.it>
17570 * vspace.C (asLatexString): fixed the 100% problem.
17572 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17574 * lyxfunc.C (Dispatch):
17576 * minibuffer.h: add a few std:: qualifiers
17578 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17580 * minibuffer.[Ch]: reimplement so that commands is initiated and
17581 run from lyxfunc, simplified som handling, and made the completion
17582 and history code for complete. wip.
17584 * lyxfunc.C (processKeySym): call message
17585 (miniDispatch): new temporary method
17586 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17587 (LFUN_MESSAGE): implement
17588 (LFUN_MESSAGE_PUSH): implement
17589 (LFUN_MESSAGE_POP): implement
17590 (initMiniBuffer): the initial/defualt minibuffer message.
17592 * lyxfont.[Ch]: inline some more getters
17594 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17596 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17598 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17599 (AutoSave): use LFUN_MESSAGE
17600 (Reconfigure): ditto
17602 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17604 * figureForm.C: use LFUN_MESSAGE
17606 * converter.C (runLaTeX): use LFUN_MESSAGE
17608 * bufferview_funcs.C: use LFUN_MESSAGE
17610 (changeDepth): ditto
17612 * bufferparams.h: use boost::
17614 * bufferlist.h: inherit privately from noncopyable
17616 * bufferlist.C (loadLyXFile): remove some commented code.
17618 * buffer.C (runChktex): use LFUN_MESSAGE
17620 * ShareContainer.h: inherit privately from noncopyable
17622 * ParagraphParameters.[hC] (depth): inline it.
17624 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17626 (message): new method
17627 (messagePush): ditto
17628 (messagePop): ditto
17629 (show): init minibuffer
17630 (showState): direct call
17632 * LaTeX.[Ch]: inherit privately from noncopyable
17633 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17634 instead of WriteStatus.
17636 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17638 * BufferView_pimpl.C (buffer): don't init minibuffer
17639 (workAreaButtonPress): use LFUN_MESSAGE
17640 (workAreaButtonRelease): ditto
17641 (savePosition): ditto
17642 (restorePosition): ditto
17643 (MenuInsertLyXFile): ditto
17644 (workAreaExpose): don't init minibuffer
17645 (update): remove commented code, simplify
17647 * BufferView2.C (openStuff): use LFUN_MESSAGE
17648 (toggleFloat): ditto
17651 (copyEnvironment): ditto
17652 (pasteEnvironment): ditto
17657 (updateInset): remove some commented code
17659 * lastfiles.h: inherit privately from noncopyable
17662 * lyx_main.h: ditto
17664 * lyxlex_pimpl.h: ditto
17666 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17667 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17668 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17670 * LyXAction.h: inherit privately from noncopyable, add methods
17671 func_begin, func_end, returning iterators to the func map.
17673 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17674 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17675 (func_begin): new method
17676 (func_end): new method
17678 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17680 (copySelection): ditto
17681 (pasteSelection): ditto
17683 * BufferView.C: whitespace change
17684 * BufferView.h: inherit privately from noncopyable
17686 2001-04-16 Allan Rae <rae@lyx.org>
17688 * tabular-old.C (l_getline):
17689 * spellchecker.C (sc_check_word):
17690 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17691 an unrecognised preprocessor directive. So ensure they're wrapped.
17693 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17695 * src/exporter.C (Export): Give an error message when path to file
17698 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17700 * LaTeX.C (deplog): Always check that foundfile exists.
17702 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17705 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17707 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17709 * tabular.[Ch] (getLabelList): implement new method
17711 * minibuffer.h: comment ouf setTiimer
17713 * minibuffer.C (ExecutingCB): constify res
17714 (peek_event): constify s
17715 (Set): constify ntext
17716 (Init): constify nicename
17718 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17720 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17721 (savePosition): use two params to Minibuffer::Set
17722 (restorePosition): ditto
17724 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17726 * lyx_main.C: include language.h
17728 * Makefile.am (lyx_main.o): add language.h
17730 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17736 * CutAndPaste.C: include gettext.h
17738 * lyxfont.h: remove old hack with ON and OFF.
17741 * lyxfont.h: do not include language.h...
17746 * bufferview_funcs.C:
17752 * paragraph.C: ... but do it here instead
17754 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17756 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17758 * tabular.C: small reformat
17760 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17763 (BreakParagraph): ditto
17764 (SetOnlyLayout): ditto
17767 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17770 * lastfiles.C: removed most using decl, add std:: where needed
17772 * buffer.C: ws changes
17774 * MenuBackend.C (class compare_format): put into anon namespace
17775 (expand): constify label, names, action, action2
17778 * text.C (SingleWidth): constify font
17779 (IsBoundary): constify rtl2
17780 (GetVisibleRow): constify ww
17782 * LaTeX.C (deplog): constify logfile
17784 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17786 (workAreaExpose): constify widthChange, heightChange
17788 * lyxrow.C (par): moved
17791 * lyxrow.h: as inlines here
17793 * lyxfont.h (shape): moved from lyxfont.C
17794 (emph): moved from lyxfont.C
17796 * lyxfont.C (LyXFont): use initialization list for all
17798 (shape): move to lyxfont.h as inline
17799 (emph): move to lyxfont.h as inline
17802 2001-04-04 Juergen Vigna <jug@sad.it>
17804 * vspace.C: had to include stdio.h for use of sscanf
17806 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17809 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17810 independent of xforms.
17812 2001-04-02 Juergen Vigna <jug@sad.it>
17814 * spellchecker.C: fixed namespace placing!
17816 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17818 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17819 the LyXParagraph * is 0.
17821 2001-03-29 Juergen Vigna <jug@sad.it>
17823 * vspace.C: added support for %, c%, p%, l%.
17824 (stringFromUnit): added helper function.
17825 (asLatexString): changed to give right results for the %-values.
17827 * buffer.C: convert the widthp in a width%.
17829 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17831 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17834 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17835 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17837 * lyx_cb.[Ch]: see above.
17839 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17843 * lyx.[Ch]: replaced by figure_form.[Ch].
17847 * lyxfunc.C: changed headers associated with above changes.
17849 2001-03-27 Juergen Vigna <jug@sad.it>
17851 * BufferView_pimpl.C: set the temporary cursor right!
17853 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17855 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17857 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17859 * LString.h: removed "using std::getline"!
17861 * BufferView_pimpl.C (Dispatch): changes due to changes in
17862 InsetInclude::Params.
17864 * buffer.C (tag_name): removed redundant break statements as they were
17865 producing lots of warnings with my compiler.
17867 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17869 * LString.h: add "using std::getline" when using the real <string>.
17871 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17873 * buffer.C: removed bitset usage.
17874 PAR_TAG moved to an anonymous name space.
17875 (tag_name): new funtion, also in the anonymous namespace.
17876 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17877 (makeDocBookFile): clean code. Completed transition from string arrays
17879 (SimpleDocBookOnePar): code clean.
17881 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17883 * tabular.C: add some comments.
17885 2001-03-22 Juergen Vigna <jug@sad.it>
17887 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17888 compatibility read a bit and fixed bug with minipage in different
17891 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17893 * buffer.C (pop_tag): removed.
17894 (push_tag): removed.
17895 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17896 array replaced with vector. Added support for CDATA sections.
17897 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17899 (makeDocBookFile): XML conformant declaration of CDATA section,
17900 fixed bug related to <emphasis> in the first paragraph char.
17901 (sgmlOpenTag): exclude empty tags.
17902 (sgmlCloseTag): ditto.
17904 * buffer.h (pop_tag): removed.
17905 (push_tag): removed.
17907 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17909 * language.h (Languages): added size_type and size().
17911 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17913 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17914 response on compability reading of minipages. One probliem is that
17915 the old usage of minipages was flertydig
17917 * several files here and in subdirs: don't use static at file
17918 scope use anon namespaces instead.
17920 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17922 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17923 LaTeX output. This is necessary for Literate document
17926 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17928 * buffer.C: insert hfill when needed.
17930 * tabular.C (l_getline): use string::erase, small whitespace change.
17932 * BufferView_pimpl.C: try the anon namespace.
17933 * WorkArea.C: ditto
17935 2001-03-16 Juergen Vigna <jug@sad.it>
17937 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17938 otherwise it won't open options-dialogs.
17940 * buffer.C: honor pextraWidth(p) on converting minipages.
17942 * tabular.C (l_getline): changed the functions to strip trailing \r.
17944 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17946 * BufferView_pimpl.C:
17947 * minibuffer..C: added "using SigC::slot" declaration.
17949 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17951 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17957 * paragraph.C: ditto
17959 * lyxtext.h: NO_PEXTRA
17961 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17963 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17964 * ParameterStruct.h: ditto
17965 * ParagraphParameters.h: ditto
17966 * lyxparagraph.h: ditto
17968 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17970 * buffer.C: add compability for minipage alignment.
17971 (latexParagraphs): remove unwanted pextra check.
17973 * several files: remove CXX_WORKING_NAMESPACES
17975 * buffer.C (pop_tag): tie is in namespace boost
17977 * BufferView.h: noncopyable is in namespace boost
17979 * lyx_main.h: ditto
17982 * lastfiles.h: ditto
17983 * bufferlist.h: ditto
17984 * ShareContainer.h: ditto
17986 * LyXAction.h: ditto
17989 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17991 * Merging changes from BRANCH_MVC back into HEAD.
17993 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17995 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17997 * BufferView_pimpl.C: change from intl.C
18001 * Makefile.am: move combox.*
18007 * intl.C: remove dialog (covered by prefs)
18009 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18011 * lyxfunc.C (Dispatch): removed redundant break statement.
18013 2001-03-14 Juergen Vigna <jug@sad.it>
18015 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18017 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18019 * buffer.C: add hack to fix compability reading of minipages.
18021 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
18023 * buffer.C (getLists): Cleanup.
18025 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18027 * lyxfont.C (update): don't honor toggleall on font size.
18029 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
18033 * Makefile.am: moved to frontends/xforms/
18037 * BufferView_pimpl.C: changes for moved mathpanel
18039 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18041 * gettext.h: fix gettext_init() in --disable-nls
18043 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18045 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18047 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
18050 * lyx.h: strip external form
18052 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18054 * BufferView_pimpl.C: add comment, destroySplash()
18056 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18058 * BufferView_pimpl.C:
18062 * lyxfunc.C: use re-worked insetinclude
18064 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18066 * buffer.C: add using std::stringstream.
18068 * lyx_cb.C: readd using std::ios.
18070 * buffer.C: add using std::map.
18072 * BufferView_pimpl.C: add using std::vector.
18074 * ShareContainer.h: add std:: to swap.
18076 * buffer.h: add some typedefs
18077 * buffer.C (getLists): use them
18078 (getLists): renamed from getTocList.
18079 add a counter for the different float types and use it in the
18081 (getLists): use the same counter for the NEW_INSETS and the "non"
18084 * lyx_cb.h: remove unused items, includes, using etc.
18086 * ShareContainer.h: remove some commented code, add more comments
18087 and "documentation".
18089 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18091 * buffer.C (getTocList): make the list also when NEW_INSETS is
18094 * buffer.h: remove TocType
18096 * buffer.C (getTocList): change to return a map<string,
18097 vector<TocItem> >, implement for dynamic number of list.
18099 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18100 * text2.C (PasteSelection): adjust
18101 * CutAndPaste.C (pasteSelection): adjust
18103 * FloatList.C (FloatList): update from the new_insets branch.
18104 * Floating.[Ch]: ditto
18105 * LaTeXFeatures.C: ditto
18107 * lyxlex_pimpl.C: ditto
18109 * paragraph.C (Last): remove when NEW_INSETS is defined.
18111 * other file: changes because of the above.
18113 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18115 * lyxparagraph.h: rename next to next_, previous to previous_,
18116 make them private for NEW_INSETS. Rename Next() to next(),
18117 Previous() to previous().
18119 * other files: changes because of the above.
18121 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18124 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18127 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18129 * main.C (main): pass lyx_localedir to gettext_init().
18131 * gettext.h: remove locale_init and gettext_init macros
18133 * gettext.C (locale_init): new function
18134 (gettext_init): new function
18136 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18139 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18141 * Moved credits to frontends:
18142 * credits.[Ch]: removed
18143 * credits_form.[Ch]: removed
18144 * lyx_gui_misc.C: remove credits stuff
18147 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18149 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18151 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18152 unneeded destructor.
18154 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18155 a standalone pointer again.
18157 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18159 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18165 * ToolbarDefaults.C:
18174 * BufferView_pimpl.C: use new file dialog in GUII
18177 * lyx_cb.C: remove LayoutsCB to Toolbar
18179 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18181 * ShareContainer.h (get): add std:: qualifier
18183 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18185 * ShareContainer.h: define a proper ShareContainer::value_type
18186 type (and use typename to please compaq cxx)
18188 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18190 * lyxparagraph.h: move serveral local vars to
18191 ParameterStruct/ParagraphParameters., use ShareContainer in
18192 FontTable., make vars in FontTable private and add getter and
18195 * paragraph.C: changes because of the above.
18197 * lyxfont.h: remove copy constructor and copy assignment. (the
18198 default ones is ok), move number inside FontBits. move inlines to
18201 * lyxfont.C: add number to initializaton of statics, move several
18202 inlines here. constify several local vars. some whitespace
18203 cleanup. Dont hide outerscope variables.
18205 * Spacing.h: add two new constructors to match the set methods.
18207 * ShareContainer.h: new file, will perhaps be moved to support
18209 * ParameterStruct.h: new file
18211 * ParagraphParameters.h: new file
18213 * ParagraphParameters.C: new file
18215 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18216 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18218 * BufferView_pimpl.C: ParagraphParameter changes.
18219 * buffer.C: Likewise.
18220 * bufferview_funcs.C: Likewise.
18221 * text.C: Likewise.
18222 * text2.C: Likewise.
18224 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18226 * lyxfind.C (LyXReplace): do not redefine default argument in
18228 (IsStringInText): ditto
18229 (SearchForward): ditto
18230 (SearchBackward): ditto
18232 2001-03-06 Juergen Vigna <jug@sad.it>
18234 * lyxfind.C (IsStringInText): put parentes around expressions.
18236 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18238 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18240 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18242 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18244 * stl_string_fwd.h: add comment
18246 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18249 * tabular.C: remove unused DocBook methods
18255 killed DO_USE_DEFAULT_LANGUAGE
18257 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18259 * lyx_gui.C: do not include language.h.
18261 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18262 arguments in function implementation.
18264 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18266 * BufferView_pimpl.C: add <ctime>
18268 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18270 * BufferView_pimpl.C: add using std::find_if
18272 2001-02-27 José Matos <jamatos@fep.up.pt>
18274 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18277 2001-02-11 José Matos <jamatos@fep.up.pt>
18279 * buffer.C (makeDocBookFile): command styles now have a parameter as
18280 "title" by default.
18282 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18284 * layout_forms.[Ch]: removed
18285 * lyx_cb.[Ch]: out character
18286 * lyx_gui.C: out character
18287 * lyx_gui_misc.C: out character
18288 * bufferview_funcs.C: : out character,
18289 added toggleall as parameter in ToggleAndShow
18291 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18293 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18295 * text2.C (SetCurrentFont): Disable number property at boundary.
18297 2001-02-26 Juergen Vigna <jug@sad.it>
18299 * lyxfunc.C (getStatus): added a string argument override function so
18300 that this is correctly called from LyXFunc::Dispatch if it contains a
18301 do_not_use_argument which is used!
18302 (Dispatch): added check for "custom" export and call appropriate func.
18304 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18306 * lyxrc.C: Add language_command_local, language_use_babel and
18307 language_global_options.
18309 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18311 * buffer.C (makeLaTeXFile): Use language_use_babel and
18312 language_global_options.
18314 2001-02-23 Juergen Vigna <jug@sad.it>
18316 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18317 which works with LyXText and putted it inside BufferView. Here now we
18318 only call for that part the BufferView::Dispatch() function.
18320 * BufferView.C (Dispatch): added.
18322 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18323 functions which needs to use a LyXText over from LyXFunc.
18324 (MenuInsertLyXFile): added
18325 (getInsetByCode): added
18326 (moveCursorUpdate): added
18327 (static TEXT): added
18329 2001-02-22 Juergen Vigna <jug@sad.it>
18331 * BufferView_pimpl.C (update): call a status update to see if LyXText
18334 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18336 * vc-backend.C (revert): implement for CVS
18337 (getLog): implement for CVS
18339 2001-02-20 Juergen Vigna <jug@sad.it>
18341 * text2.C (ClearSelection): added BufferView param for inset_owner call
18343 * lyxfunc.C (TEXT): added this function and use it instead of
18344 directly owner->view()-text of getLyXText().
18346 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18348 * src/layout_forms.C: out preamble
18349 * src/layout_forms.h: out preamble
18350 * src/lyx_cb.C: out preamble
18351 * src/lyx_cb.h: out preamble
18352 * src/lyx_gui.C: out preamble
18353 * src/lyx_gui_misc.C: out preamble
18354 * src/lyxfunc.C: connect with guii preamble
18356 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18358 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18360 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18362 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18363 whether to run bibtex.
18365 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18367 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18369 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18371 * Makefile.am (lyx_SOURCES): removed bibforms.h
18373 * vspace.h: doxygen
18375 * text.C (GetVisibleRow): make several local vars const
18377 * tabular.C: small cleanup.
18379 * lyxserver.C (callback): use compare instead of strncmp
18381 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18382 inlines to after class or to paragraph.C
18384 * lyxfont.h: remove friend operator!=
18386 * converter.h: move friend bool operator< to non friend and after
18389 * combox.h: small cleanup
18391 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18392 to inlines after class def.
18394 * buffer.C (pop_tag): use string operations instead of strcmp
18396 * bmtable.c: doxygen, small cleanup
18398 * LaTeX.h: remove friend operator==
18400 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18412 * BufferView_pimpl.C:
18413 * BufferView.[Ch]: remove cruft
18415 2001-02-14 Juergen Vigna <jug@sad.it>
18417 * lyxfunc.C: removed #if 0 unused code
18419 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18421 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18423 * text2.C (SetSelection): added a BufferView * parameter
18425 2001-02-13 Juergen Vigna <jug@sad.it>
18427 * lyxfunc.C (Dispatch): fixed protected blank problem.
18428 * BufferView2.C (protectedBlank): added LyxText * parameter.
18430 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18431 (AppendColumn): same as above for column_info.
18433 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18434 (moveCursorUpdate): use a LyXText param for support of InsetText.
18436 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18437 (tripleClick): ditto
18439 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18441 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18443 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18445 * text2.C (SetSelection): set correct update status if inset_owner
18446 (ToggleFree): ditto
18448 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18450 * tabular.C: remove some commented code.
18452 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18454 * BufferView_pimpl.C: call hideSplash()
18456 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18459 * bibforms.h: remove
18462 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18463 add LFUN_CHILD_CREATE
18465 * counters.h: fix tiny typo
18470 * lyx.C: move splash to frontends/xforms/
18472 * lyx_gui_misc.C: move Include and Bibform to frontends
18474 * lyxvc.h: clarify comment
18476 * vspace.C: tiny housekeeping
18478 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18480 * text.C (PrepareToPrint): RTL Fix.
18482 * paragraph.C (GetUChar): New method.
18483 (String): Use GetUChar.
18485 * buffer.C (asciiParagraph): Use GetUChar.
18487 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18489 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18491 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18494 * buffer.C: rename to getLogName(), handle
18495 build log / latex log nicely
18497 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18500 * MenuBackend.h: remove support for reference menuitem type.
18502 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18504 * BufferView_pimpl.C: housekeeping
18505 * BufferView_pimpl.h:
18510 * minibuffer.h: move Timeout GUI-I
18512 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18514 * lyxrc.C (read): Update converters data-structures.
18516 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18518 * LaTeX.h (operator!=): add operator != for Aux_Info
18520 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18522 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18524 * LaTeXLog.C: deleted, useful code moved to Buffer
18527 * buffer.C: new function getLatexLogName()
18533 * lyxfunc.C: use frontends for LaTeX and VC logs
18535 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18537 * LaTeX.h: yet another std:: that Allan forgot.
18539 * Variables.C (set): renamed from isset(), because this clashes
18540 with some HP-UX macros (grr).
18542 2001-02-06 Allan Rae <rae@lyx.org>
18544 * LaTeX.h: Another bug fix. Missing std:: this time.
18546 2001-02-04 Allan Rae <rae@lyx.org>
18548 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18549 floats problem. I've left it commented out because it's not quite
18550 correct. It should also test that the current object is a table or
18551 figure inset. But I haven't gotten around to figuring out how to do
18552 that. I *think* it'll be something like: "table" == inset.type()
18554 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18557 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18559 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18560 all the citation/databases/styles in the auxilary file.
18561 (run): Rerun latex if there was a babel language error.
18563 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18565 * text.C (Backspace): Preserve the font when changing newline char
18567 (BreakParagraph): If the cursor is before a space, delete the space.
18569 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18571 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18573 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18574 new argument (code).
18575 (ChangeCitationsIfUnique): New method.
18577 * paragraph.C (GetPositionOfInset): Handle bibkey.
18579 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18581 * BufferView_pimpl.h: change type of Position::par_pos to
18582 LyXParagraph::size_type.
18584 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18586 * BufferView_pimpl.C (savePosition, restorePosition): Write
18587 messages to minibuffer.
18589 2001-01-28 José Matos <jamatos@fep.up.pt>
18591 * buffer.C (makeDocBookFile): adds support for document language.
18592 A silly restriction on the name of LatexCommand types where removed.
18593 Added support for CDATA sections, allows to chars unescaped, used
18594 among others in code, to avoid escape < and >.
18596 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18598 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18599 saved positions instrad of a stack. Furthermore, a position is
18600 stored using paragraph id/paragraph position.
18602 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18603 Remove LFUN_REF_BACK.
18605 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18607 * converter.C (dvipdfm_options): New method.
18609 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18611 * vspace.C (isValidLength): Fix for empty input string.
18613 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18615 * LyXAction.C (init): change description of LFUN_FIGURE to
18618 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18620 * LaTeX.C: add using directive
18622 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18624 * MenuBackend.C (expand): Fix the sorting of the formats.
18626 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18628 * lyx_main.C: tiny error message fix
18630 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18632 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18633 calling fl_initialize(). This fixes the problem with ',' as
18634 decimal separator in text files.
18636 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18638 * trans.C (process): Fix the keymap bug.
18640 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18642 * LaTeX.C (scanAuxFiles): New method. Provides support for
18643 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18644 (scanLogFile) Scan for "run BibTeX" messages.
18646 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18647 OT1 font encoding. Also, load the aecompl package if the ae
18650 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18652 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18654 * texrow.C (increasePos): turn two error messages into debug
18657 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18659 * LaTeX.C (scanAux): Handle the \@input macro.
18660 (runBibTeX): Use scanAux().
18662 * language.C (latex_options_): New field.
18664 * LaTeXFeatures.C (getMacros): Add language macros.
18666 * buffer.C (makeLaTeXFile): Small fix.
18668 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18670 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18672 * text2.C: add a using directive.
18674 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18679 * lyxfunc.C: kill LyXBell.
18681 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18683 * text.C (IsBoundary): Remove the error message
18685 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18687 * lyxrc.C (setDefaults): Correct initialization value for
18690 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18692 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18695 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18696 and GotoNextNote().
18698 * src/LyXAction.C: Added reference-next.
18700 * text.C (InsertChar): Use contains instead of strchr.
18702 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18704 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18706 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18707 alignment commands (when needed).
18709 * text.C (InsertChar): Add ':' to number separator chars.