1 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
4 argument, use "newcommand".
6 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8 * cursor.C (setSelection): do not open collapsable insets;
9 the insets do by themselves now (autoopen).
11 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13 * buffer.C: format is up to 244.
15 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
17 * text.C (redoParagraph): fix calcultation of inset width wrt
18 leftMargin (bug 1957).
20 * text3.C (dispatch): leave inset to the right when hitting ESC
23 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
28 * messages.C: include <boost/current_function.hpp>
30 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
32 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
33 when command is internal. (bug 1941)
35 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
37 * text2.C (cursorRight): do not honor boundary when at the end of
38 a paragraph. (bug 2010 again)
40 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
42 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
44 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
46 * rowpainter.C (paintText): fix RtL space width display bug (2029)
48 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
50 * text2.C (setCursor): remove the unused 'boundary' parameter for
51 the CursorSlice version; adapt the LCursor version.
54 * paragraph_pimpl.C (markErased):
55 * cursor.C (bruteFind2, bruteFond3): fix warnings.
57 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
59 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
60 as is already done for "chapter".
62 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
64 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
65 textclass; do not record undo if nothing is changed.
67 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
69 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
71 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
73 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
75 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
77 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
78 combox, it is necessary to search for the topmost paragraph in the
79 cursor stack (bug 1926)
81 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
83 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
84 end of paragraph. (bug 2010)
86 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
88 * text.C (leftMargin): check for inInset == 0
90 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
92 * text.C (leftMargin): test for insetbase's new neverIndent()
93 bool instead of listing each and every inset that does not
96 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
98 * buffer_funcs.C (setCounter): put the code to compute enum label
99 here (where it belongs).
101 * counters.C (enumLabel): move code to buffer_funcs.C.
103 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
105 * outputparams.[Ch]: store local_font instead of local_language
106 * paragraph.C (simpleTeXOnePar): adapt to the change above
108 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
111 * counters.[Ch]: clean up special code for Hebrew.
113 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
115 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
118 2005-09-08 Angus Leeming <leeming@lyx.org>
121 * lyxrc.C: correct grammar describing invocation of the
124 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
126 * text.C (read): remove unused variable.
127 (readParToken): remove static Change variable (never good in
128 recursive settings...); add it as a parameter instead.
130 * paragraph_pimpl.C (acceptChange): make debug info conditional.
132 * metricsinfo.C (PainterInfo): add new member erased_.
134 * rowpainter.C (RowPainter): add erased_ member, initialized from
136 (paintInset): pass erased_ to Inset::draw.
138 * lyxfunc.C (lookupChange): new function. Tells whether change
139 tracking is disabled at a given postion.
140 (getStatus): disable some actions when in deleted text with change
143 2005-08-03 John Levon <levon@movementarian.org>
145 * tabular.C (appendColumn, setMultiColumn): adapt to change to
148 * paragraph_pimpl.C (markErased): add bool argument and handle it.
149 Also make sure to mark insets recursively.
150 (rejectChange, erase): be recursive
152 * paragraph.C (markErased): add bool argument.
153 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
155 * lyxfind.C (findNextChange): tiny cleanup.
157 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
158 change tracking with the cursor in an inset; make sure the first
159 change is not skipped.
161 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
163 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
164 tabularStackDirty to work around bug 1919 (tabular needs
165 to know whether its own cell paste buffer or the one of
167 * CutAndPaste.C: mark tabular_stack_ clean after copy.
169 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
171 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
173 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
175 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
176 use old deleteion algorithm when changetracking is on.
178 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
180 * messages.C (get): add debug output.
182 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
184 * text.C (cursorX): fix bug 1965: cursor movement at
185 line end broken in RtL.
186 (drawSelection): fix bug 1970: drawing of single-line
187 selection broken for RtL.
189 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
193 * dociterator.h (clear, push_back, pop_back): change from
196 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
197 and changed to just return the value of the item depth; take a
198 ParIterator as argument; take the itemdepth at outer nesting level
199 in account if necessary; cleanup and comment the code.
200 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
201 and changed to just return true if reset is needed; take a
202 ParIterator as argument; cleanup and comment the code.
203 (setCounter): adapt to above changes.
205 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
207 * text3.C (dispatch): make debug message optional
209 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
211 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
214 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
216 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
218 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
220 * text.C (insertChar):
221 * text2.C (deleteEmptyParagraphMechanism): take care whether
222 a blank has been deleted (in change tracking mode) (bug 1254).
224 2005-07-20 John Levon <levon@movementarian.org>
226 * text2.C (insertStringAsLines): remove old dubious code,
229 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
231 * MenuBackend.C (expandToc): use Floating::listName() as title of
234 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
236 * toc.[Ch]: Do not use translatable strings (bug 1870).
238 2005-07-20 John Levon <levon@movementarian.org>
240 * tabular.C: fix 1748 - setting multicolumn adds
241 left line to the first cell
243 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
246 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
249 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
251 * messages.C: supress some lyxerr messages
253 2005-07-18 Juergen Vigna <jug@lyx.org>
255 * text.C (drawSelection): honor boundary when asking for cursorX.
257 2005-07-17 José Matos <jamatos@fc.up.pt>
259 * tabular.C (recalculateMulticolumns): fix handling of one column
262 2005-07-17 Juergen Vigna <jug@lyx.org>
264 * text.C (Delete, backspace): fixed so that paragraph with the
265 same layout can be merged by Delete/Backspace.
267 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
269 * text.C (readParToken): fix spelling.
271 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
273 * text2.C: fix counter update for DEPM problem reported by
276 2005-07-17 Juergen Vigna <jug@lyx.org>
278 * BufferView_pimpl.C (setBuffer): save/restore the
279 cursor/selection when switching buffers
282 * buffer.C (saveCursor): add saveDocumentIterators to save the
283 cursor when switching buffer.
285 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
288 * buffer.C: clarify message
290 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
292 * dociterator.C (DocIterator): fix initialization order
294 2005-07-17 Juergen Vigna <jug@lyx.org>
296 * text2.C (cursorHome):
297 * text.C (drawSelection, cursorX):
298 * dociterator.C (textRow): add boundary to getRow() call
300 * paragraph.C (getRow): implementation of below
302 * paragraph.h: add parameter boundary for getRow() function
304 2005-07-17 José Matos <jamatos@fc.up.pt>
308 * tex-strings.[Ch]: new file format, remove support for a4.sty,
309 a4wide.sty and a4widemargins.
311 2005-07-17 Juergen Vigna <jug@lyx.org>
313 * text2.C (cursorLeft): fix one of error
315 2005-07-17 Juergen Vigna <jug@lyx.org>
317 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
319 more fixes for boundary handling
321 * text3.C (dispatch): don't reset cursor if boundary has changed
324 2005-07-16 Juergen Vigna <jug@lyx.org>
326 * text2.C (getColumnNearX): hopefully got it right now,
327 check if we are on column 0 for special case.
329 2005-07-16 Juergen Vigna <jug@lyx.org>
331 * text2.C (getColumnNearX): handle special case Newline Inset
333 * text.C (singleWidth): Just remove bogus check
335 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
337 * funcrequest.C (split): avoid reading uninitialized char c
339 2005-07-16 José Matos <jamatos@fc.up.pt>
345 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
346 single papersize variable.
348 2005-07-16 Juergen Vigna <jug@lyx.org>
350 * text3.C (dispatch): honor boundary when checking if a cursor
351 movement has been done
353 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
354 (setCursor, setCursorIntern): fix cursor movement with boundary
356 2005-07-16 Juergen Vigna <jug@lyx.org>
358 * text.C (currentState): output the actual Boundary
360 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
362 * factory.C (createInset): fix bad logic for tabular creation
364 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
366 * lyx_main.C (init): change some reLyX reference to tex2lyx
368 2005-07-16 Juergen Vigna <jug@lyx.org>
370 * dociterator.C (DocIterator): initialize boundary
372 2005-07-16 Juergen Vigna <jug@lyx.org>
374 * text2.C (getColumnNearX): Consider rows without trailing blank.
376 2005-07-16 André Pönitz <poenitz@gmx.net>
378 * lyxfont.h: Change order of declarations to give the compiler
379 a better chance to inline things
381 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
382 questions on unsaved docs for better scritability
384 2005-07-16 André Pönitz <poenitz@gmx.net>
386 * paragraph.h (getChar): remove asserts as the same kind of security
387 can be achieved by using a suitable standard library implementation
388 and the function was in the critical path (25.9% in profiler)
390 2005-07-16 Juergen Vigna <jug@lyx.org>
392 * cursor.C (bruteFind2):
393 * bufferview_funcs.C (coordOffset):
394 * text.C (cursorX,cursorY): Handle cursor position after last char
395 in row before a inset which uses a whole row.
397 2005-07-15 José Matos <jamatos@lyx.org>
399 * output_plaintext.[Ch] (writeFileAscii): control reference title
401 (asciiParagraph): noparbreak was already deal and was incorrectly
404 2005-07-15 Juergen Vigna <jug@lyx.org>
406 * lyxfunc.C (dispatch): save and restore the cursor after a
409 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
411 * text.C (backspace): bug 806 for empty keepempty paragraphs we
412 change the layout to default before letting DEPM do its thing.
414 * paragraph_funcs.C (breakParagraph): dont reset the layout on
417 * text.C (setCursorFromCoordinates): add a debug statement
419 * text2.C (getColumnNearX): bug 1825 make sure that we don't
420 return a pos that is not on the row
422 * output_latex.C (TeXDeeper): get rid of potential dereferencing
423 of past the end iterator
425 2005-07-14 André Pönitz <poenitz@gmx.net>
427 * undo.C (recordUndoFullBuffer): implement undo for
430 2005-07-14 André Pönitz <poenitz@gmx.net>
432 * cursor.C (setSelection): open insets when selection is set there
433 to avoid crashs with cold coord cache
435 2005-07-14 André Pönitz <poenitz@gmx.net>
437 * trans_mgr.C (insert): move cursor to the right after inserting
440 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
442 * BufferView_pimpl.C (update): dampen some of the debug blabbering
443 * factory.C (readInset): ditto
444 * text.C, text2.C: ditto
446 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
448 * buffer.C: format incremented to 242. There is no file format per
449 se, but the "frenchb" language has been removed from lib/language
450 and has to be translated to "french" by lyx2lyx.
452 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
454 * cursor_slice.h, dociterator.h: add some documentation
455 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
457 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
459 * text.C (leftMargin): do not add identation to display() style
460 insets, because they are always centered (bug 1293).
462 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
464 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
465 formatted_time methods in support/lyxtime.
467 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
469 * toc.[Ch]: new method getGuiName, which is used by the frontends
470 to set the toc combo (fixes bug 1870). Make TOC string translatable.
472 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
474 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
475 StableDocIterator const &)
476 * undo.C (recordUndo): use the above instead of cell.size() comparison
477 (fixes bug 1808; instructed by Andr�.
479 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
482 * dociterator.h: Fix the assert when copying rows/cols in math
484 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
486 * BufferView_pimpl.C:
488 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
490 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
491 (findInset): new functions, refactored from goto Inset that return
492 the position of a certain inset without setting the buffer's cursor
494 (gotoInset): rewrite to call findInset and then set the cursor
497 2005-06-16 Angus Leeming <leeming@lyx.org>
499 * lyxrc.C (output, read): wrap all input and output of paths with
500 calls to os::internal_path and os::external_path, respectively.
501 (output): wrap bind_file inside quotes.
503 * format.C (view): enable the viewer to use the '$$s' placeholder.
505 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
507 * LColor.[Ch] (getFromLaTeXName): new
509 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
511 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
513 2005-06-14 Angus Leeming <leeming@lyx.org>
515 * lyx_main.C (init): ensure that the LyX binary dir is the first
516 element in the PATH on non-POSIX builds.
518 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
520 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
522 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
524 * rowpainter.C (paintInset, paintHebrewComposeChar)
525 (paintArabicComposeChar, paintChars): add a LyXFont argument.
526 (paintChars): use getFontSpan to reduce calls to getFont to a
527 minimum; use Paragraph::lookupChange instead of isXXXText.
528 (paintForeignMark): rename LyXFont argument.
529 (paintFromPos): pass a LyXFont object to the various paintXXX
532 * FontIterator.C (FontIterator, operator++): use
533 Paragraph::getFontSpan
535 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
536 version that returns the font span as a pair.
538 2005-06-09 Angus Leeming <leeming@lyx.org>
540 * converter.C (convert): Don't forget "outfile = real_outfile" as
541 the final step in a conversion where the input and output file names
542 are the same. Otherwise, future conversion steps won't work...
544 2005-06-09 Angus Leeming <leeming@lyx.org>
546 * lyxsocket.C: remove stub code as it isn't needed by
547 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
549 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
551 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
552 effectively disabled -x
554 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
556 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
557 when it actually makes sense.
559 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
561 * BufferView_pimpl.C: revert to showCursor in connection with
562 Lars's front-end stack
564 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
566 * text.C (redoParagraph): move cursor right after a bibitem
569 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
571 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
573 * buffer_funcs.C (bufferErrors): fix computation of the end of an
576 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
578 * BufferView.[Ch] (update):
579 * BufferView_pimpl.[Ch] (update, metrics):
580 * dimension.h (operator==):
581 * lyxfunc.C (dispatch):
582 * metricsinfo.h (ViewMetricsInfo):
583 * rowpainter.C (paintText):
585 * text.C (redoParagraph):
586 * text3.C (dispatch): Make LyX only repaint current paragraph in
587 case of character insert --> speedup. Also fix cursor draw
590 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
592 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
593 avoid a crash (bug 1891)
595 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
599 * text2.C (getStringToIndex): constify cur argument.
601 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
602 argument has been given
603 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
604 try to invoke LFUN_INSET_APPLY).
606 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
607 if no inset was created by doInsertInset
608 (doInsertInset): return true if an inset has been inserted.
610 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
612 * vspace.C (asGUIName): new method. A version of the space
613 suitable for showing on screen.
615 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
618 * lyxrc.C: rename "ASCII" to "Plain Text"
620 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
622 * buffer_funcs.C (expandLabel): take a Buffer as argument;
623 translate the labelstring.
624 (setCounter): translate labelstring as needed.
626 * output_docbook.C (makeCommand): fix expandLabel invokation
628 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
630 * BufferView.C: fix dialog title
632 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
634 * lyx_main.C (priv_exec): fix logic error with help from Angus
635 * lyx_main.C (parse_execute): set is_gui = false and remove now
636 obsolete comment about a segfault
638 2005-05-18 Angus Leeming <leeming@lyx.org>
640 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
642 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
644 * tabular.[hC]: added setCellInset to fix tabular paste.
646 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
648 * buffer.C (save): check if destination is writable before trying
651 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
653 * BufferView_pimpl.C (update): fix processEvents -caused update
656 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
658 * buffer_funcs.C (setCounter): fix test for numbering of
661 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
662 depth correctly; use optional argument when it exists
664 * lyxtextclass.C: remove unused MaxCounterTags enum
665 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
666 (max_toclevel, min_toclevel): new methods.
668 * MenuBackend.C (expandToc2): fix case where depth is smaller than
669 the smallest depth in toc.
671 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
672 layouts that should not appear in a table of contents.
674 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
676 * cursor.h (undispatched, noUpdate): add comments from Andr�
677 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
681 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
683 2005-05-07 André Pönitz <poenitz@gmx.net>
685 * cursor.[Ch] (leaveInset): new function
687 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
689 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
691 2005-05-04 Angus Leeming <leeming@lyx.org>
693 * lyxfunc.C (getStatus): disable the spell checker dialog if
694 none of USE_[AIP]SPELL are defined.
696 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
698 * tabular.C (setWidthOfCell): remove obsolete comment
700 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
702 * paragraph.C (bibitem):
703 * buffer_funcs.C (setCounter):
704 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
706 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
708 * text3.C (getStatus): immediately return after setOnOff
710 * rowpainter.C: fix drawing of appendix start
712 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
714 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
715 SwitchBetweenClasses and remove the unused return value.
716 Handle character styles, too
718 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
720 * factory.C (createInset): handle undefined character styles
722 2005-05-02 Angus Leeming <leeming@lyx.org>
724 * buffer.C: protect the #include of utime.h with a preprocessor
727 2005-05-02 Angus Leeming <leeming@lyx.org>
729 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
730 function so that auto-saving works, albeit in a blocking manner.
732 * Makefile.am: make compilation of the client sub directory, of
733 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
734 on conditionals set at configure time.
736 * SpellBase.[Ch]: no longer an abstract base class. Instead,
737 it can be compiled in its own right but has no-op functionality.
739 * aspell.C, pspell.C: remove preprocessor guards. The files should
740 be compiled only if the necessary functionality exists.
742 * lyxserver.C, lyxsocket.C: disable on Windows.
744 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
746 * text.C (leftMargin): Fix the parindent use bug (1764)
749 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
751 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
754 2005-04-25 Angus Leeming <leeming@lyx.org>
762 include <config.h> in .C files, not .h ones.
764 protect headers inside preprocessor guards.
766 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
768 * FuncStatus.h (StatusCodes): document
770 2005-04-21 André Pönitz <poenitz@gmx.net>
772 * FuncStatus.h (enabled, onoff): document
774 2005-04-19 Angus Leeming <leeming@lyx.org>
776 * BufferView_pimpl.C (cursorToggle): no longer test whether
777 any child processes have been reaped before calling
778 handleCompletedProcesses().
780 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
782 * text3.C (dispatch): fix, finally fix, the language problem in
783 new lyxtexts, without disabling on-the-fly font changes (Helge's
786 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
788 * text3.C (dispatch): set cursor on double/triple click events
791 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
793 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
794 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
796 * rowpainter.C (paintFirst): simplify the code a little bit. In
797 particular, remove the test for secnumdepth.
798 * text.C (setHeightOfRow): only allocate space for chapter number
799 when updateCounters provided an actual label, instead of looking
800 at secnumdepth directly.
802 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
804 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
805 paragraphs when secnumdepth is large enough or, for environments,
806 when they are not the first in a sequence.
808 2005-04-17 Angus Leeming <leeming@lyx.org>
810 * buffer.C (makeLaTeXFile): replace code to manipulate a path
811 containing space and '~' characters with a call to latex_path().
813 2005-04-17 Angus Leeming <leeming@lyx.org>
815 * converter.C (convert): protect all args of convertDefault.sh
818 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
820 * text3.C (dispatch): change the layout to "Caption" after inserting
823 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
825 * text3.C (dispatch): fix language problem in newly created
826 textinsets (and main text) in non-english docs
828 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
830 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
831 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
832 * text3.C (getStatus): disable LFUN_INSET_MODIFY
834 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
839 * rowpainter.C (getFont): Fix metrics bug introduced by inset
842 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
844 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
845 output of \item arguments without trailing text.
847 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
849 * FontIterator.C (operator*): avoid a copy of the font.
851 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
853 * rowpainter.C (getFont): fix language bug from previous fix
855 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
857 * rowpainter.C (RowPainter, getFont): fix font inside inset
860 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
862 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
863 preventing inserted font, deco, delim insets jumping to start of
866 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
868 * lyxfunc.C (dispatch): translate message before sending it to the
871 2005-03-29 Angus Leeming <leeming@lyx.org>
873 * lyx_main.C (priv_exec): call os::internal_path on each file passed
874 to LyX on the command line.
876 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
878 * vc-backend.C: use QuoteName to protect file names wherever
881 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
884 * BranchList.h: fix bugs 1844,1845: document settings don't
887 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
889 * lyxrc.C (setDefaults, read, output, getDescription): add support
890 for tex_allows_spaces.
892 * exporter.C (Export): allows files in directory containing spaces
893 if tex_allows_spaces is true.
895 * buffer.C (makeLaTeXFile): if the document path contains spaces,
896 output it in double quotes.
898 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
900 * rowpainter.C: use default text height for drawing change tracker
903 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
905 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
907 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
909 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
910 directory is missing.
912 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
914 * text2.C: fixed the fix, extended to other case.
916 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
918 * text2.C: fix for cursor up/down stuck in math [bug 1792]
920 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
922 * text2.C (cursorUp): get rid of a crash
923 * text.C (x2pos): add an assert
925 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
927 * lyxfunc.C (getStatus): fix warning when assertions are disabled
931 * dociterator.C: include <boost/current_function.hpp>, which is
932 needed when assertions are disabled.
934 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
936 * text2.C: fix for stuck cursor when traversing two
937 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
939 2005-02-25 Andreas Vox <avox@arcor.de>
941 * output_docbook.C (makeParagraph): suppress trailing newline
942 after a run of paragraphs
944 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
946 * paragraph.C: fix for confused change tracker when pasting
947 text that begins with a lineseparator. [bug 1827]
948 (setChange(0, Change::INSERTED);)
950 * paragraph_funcs.C: fix for lost changes on triple-paste
951 in change tracking mode [bug 1827] (par.setChange()).
953 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
955 * text2.C (updateCounters, setCounter, expandLabel): move to
958 * buffer_funcs.C (updateCounters): turn into a free standing
959 function and add a buffer parameter. Remove dead code for tracking
961 (setCounter): change into a free-standing function which gets a
962 dociterator as argument. Use this iterator to fix captions in a
963 simple way. When no float is found above the caption, use the
964 labelstring of the caption layout as default.
966 * text.C (breakParagraph, backspace):
967 * text2.C (init, setLayout, changeDepth):
968 * text3.C (dispatch):
969 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
972 * dociterator.C (forwardPar): make it much faster by calling
973 forwardPos() only when really necessary.
975 * output_docbook.C (makeCommand): adapt to expandLabel move.
977 * cursor.C: remove unused variable
979 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
981 * paragraph_funcs.C: fix crash when pasting insets in change
982 tracking mode [bug 1277] (honour change type in moveItem).
984 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
986 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
988 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
990 * BufferView.C (setCursor): change to use a DocIterator.
991 (gotoLabel): use BufferView::setCursor (other part of bug 781).
992 (putSelectionAt): adapt to BufferView::setCursor change.
994 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
995 moved here from LyXText and rewritten to use proper cursor
996 methods. Fixes bug 1787, 616 and 835.
998 * BufferView_pimpl.C (restorePosition): set the cursor correctly
999 when inside an inset (part of bug 781).
1000 (dispatch): adapt to change of BufferView::setCursor.
1001 (getStatus, dispatch): handle LFUN_GOTOERROR,
1002 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1004 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1005 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1006 * text3.C (gotoNextInset, gotoInset): removed.
1008 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1010 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1012 2005-02-15 Angus Leeming <leeming@lyx.org>
1014 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1015 can be used meaningfully in a comparison.
1017 2005-02-13 André Pönitz <poenitz@gmx.net>
1019 * bufferview_funcs.C (coordOffset): improve cursor drawing
1021 2005-02-13 André Pönitz <poenitz@gmx.net>
1023 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1024 * Cursor.C (dispatch): use fixIfBroken
1025 * lyxfunc.C (getStatus): use fixIfBroken
1027 2005-02-15 Angus Leeming <leeming@lyx.org>
1029 * lyx_main.C (error_handler):
1031 * lyxrc.C (setDefaults):
1033 #include "environment.h".
1035 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1037 2005-02-15 Angus Leeming <leeming@lyx.org>
1039 * lyxserver.C (startPipe): squash MSVC warning "local variable
1040 'fd' used without having been initialized".
1042 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1044 * BufferView_pimpl.C: revert accidental commit.
1046 2005-02-14 André Pönitz <poenitz@gmx.net>
1048 * dociterator.[Ch]: new member forwardPosNoDescent(),
1049 which doesn't enter nested insets.
1050 * text2.C (setFont): use forwardPosNoDescent() instead
1051 of ForwardPos() (fixes crash on font change).
1053 2005-02-13 Angus Leeming <leeming@lyx.org>
1055 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1056 only if lyxrc.path_prefix is not empty.
1058 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1060 * bufferparams.C (readGraphicsDriver): prevent crash
1062 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1064 * text2.C (setCounter): check for inInset() == 0
1066 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1068 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1069 but use update() to get correct screen display; use convert
1070 instead of istringstream.
1071 (getStatus): handle LFUN_GOTO_PARAGRAPH
1073 * lyxfunc.C (dispatch, getStatus): do not handle
1074 LFUN_GOTO_PARAGRAPH here.
1076 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1078 * text3.C (dispatch): size() -> depth()
1080 * text2.C: remove some debug output
1082 * paragraph.C: ws changes only
1084 * lyxfunc.C (getStatus): size() -> depth()
1086 * dociterator.h (clear, push_back, pop_back, internalData,
1087 operator[], resize, empty): new functions
1088 Make StableDocIterator and operator== be friends. Don't inherit
1089 from std::vector use a privat class variable slices_ instead.
1092 * dociterator.C: update because of not inheriting from std::vector
1093 anymore. Call explictly to slices_ instead. Use depth() instead of
1094 size() and top() instead of back()
1096 * cursor.C: chagne size() -> depth and back() -> top(). Also
1097 remove some direct operator[](i) calls in favour of foo[i]
1098 (getFont): remove some dead code
1100 * bufferview_funcs.C (coordOffset): size() -> depth()
1102 * buffer.C: ws changes only
1104 * CutAndPaste.C (eraseSelection): back() -> top()
1106 * BufferView_pimpl.C (selectionRequested): back() -> top()
1108 * BufferView.C (setCursor): size() -> depth()
1110 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1112 * text3.C (cursorPrevious): return true if depm changed something
1114 (dispatch): rename sl to oldTopSlice, remove moving use the new
1115 NoUpdate func attrib instead. Make sure that needsUpdate is set
1116 for function that have NoUpdate, but where depm might have changed
1119 * text2.C (cursorLeft): make us return true if depm changed
1121 (cursorRight): ditto
1122 (cursorUpParagraph): ditto
1123 (curosrDownParagraph): ditto
1124 (cursorUp, cursorDown): ditto, make sure to read comments in code
1125 (deleteEmptyParagraphMechanism): remove an assert, also return
1126 true if just a single char was deleted.
1128 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1129 cursor that we modify, to avoid modifying an active cursor before
1130 we call setCursor. This allows depm to run. Also return true if
1131 depm deleted something.
1133 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1134 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1135 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1136 something was changed in the buffer because of them (ie. depm run)
1138 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1139 debug messages. Make update by default be false. Make sure that
1140 the result of update is retained throught several calls down to
1143 * LyXAction.h: add a new func_attrib: NoUpdate
1145 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1146 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1147 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1149 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1151 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1153 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1154 bv_->owner(), bv_->buffer() by direct references to the private
1156 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1157 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1158 (fitCursor): center() is in BufferView::Pimpl.
1159 (getStatus, trackChanges, dispatch): no need for a temporary buf
1161 (fitCursor, workAreaDispatch): use workarea().workheight()
1163 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1165 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1167 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1169 * buffer.C: format up to 241.
1170 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1171 break if pasting into ERT
1172 * lyxfunc.C (getStatus): suppress mathpanel and
1173 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1175 2005-02-01 Angus Leeming <leeming@lyx.org>
1177 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1179 2005-02-01 Angus Leeming <leeming@lyx.org>
1181 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1182 calling fs::is_directory().
1184 2005-01-31 Angus Leeming <leeming@lyx.org>
1186 * lyx_main.C (priv_exec): specify explicitly the relative location
1187 of the top level build directory when run in-place.
1189 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1191 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1192 LyXText containing the cursor, not the top-level one.
1194 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1196 (insertStringAsLines): rename par to pit; use temporary variable
1197 par to hold a Paragraph; do not store par.layout() in a variable,
1198 since the pointer may die when breaking paragraphs; pass pars to
1199 breakParagraph() instead of Buffer::paragraphs().
1201 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1203 * lyxlex_pimpl.h: #include <fstream>.
1205 * BufferView.[Ch] (getLyXText): add a const version.
1207 * BufferView_pimpl.C: add debug aids.
1212 * paragraph_funcs.h: add commentary explaining what the class does.
1215 * coordcache.[Ch]: add lots of commentary.
1216 (startUpdating, doneUpdating): debug aids.
1217 (arrays, insets, parPos, getParPos): accessors to private data.
1219 * cursor_slice.[Ch] (text): add a const version.
1220 * dociterator.[Ch] (text, innerText): add const versions.
1222 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1225 * paragraph.C (getRow, pos2ros): add asserts.
1227 * paragraph.h: add commentary. Lots of.
1229 * paragraph.[Ch] (metrucs, draw): removed.
1232 * rowpainter.[Ch]: const-correct changes.
1234 * text.C: various obvious clean-ups. Removal of ancient cruft.
1237 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1239 * vc-backend.C (find_file): rewrite to use boost.filesystem
1242 * main.C (main): set default name check for boost.filesystem to
1245 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1248 (actOnUpdatedPrefs): ditto
1250 * lyx_main.C (init): rewrite to use boost.filesystem
1251 (queryUserLyXDir): ditto
1253 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1254 (getContentsOfAsciiFile): ditto
1256 * lastfiles.C (readFile): rewrite to use boost.filesystem
1258 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1260 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1261 (loadLyXFile): ditto
1263 * buffer.C (Buffer): adjust for destroydir
1264 (getLogName): rewrite to use boost.filesystem
1265 (setFileName): ditto
1266 (save): use fs::copy_file (from fs_extras)
1268 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1270 * LaTeX.C (run): rewrite to use boost.filesystem
1271 (scanAuxFiles): ditto
1272 (handleFoundFile): ditto
1274 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1276 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1278 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1280 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1282 * lyxlayout.[Ch]: change some vars from float to double
1284 * buffer.C (readFile): make a local var const
1286 * Several files: use convert<> instead of atoi,strToXXX and friends
1288 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1290 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1291 holds the contents of packages.lst. New functions getAvailable
1292 and isAvailable to parse and check that list, resp.
1296 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1298 * bufferparams.[Ch]: new param output_changes.
1300 * Buffer.C: increase file format to 240.
1301 Use output_changes and isVailable.
1305 * paragraph_pimpl.C: Use output_changes and isVailable.
1307 2005-01-23 Angus Leeming <leeming@lyx.org>
1309 * output_latex.C: #include "insetbibitem.h", rather than
1310 forward declare function bibitemWidest.
1312 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1314 * lyx_main.C (init): make it compile on the Mac.
1316 2005-01-20 Angus Leeming <leeming@lyx.org>
1318 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1319 (setLyXMisc): (char string literal) != (char string literal) is
1320 performing a comparison on the addresses. Convert one operand
1321 explicitly to string to guarantee expected behaviour.
1324 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1327 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1329 * output_plaintext.C: remove unneeded #include gzstream.h.
1331 2005-01-20 Angus Leeming <leeming@lyx.org>
1333 * SpellBase.h: rename some of the elements of the Result enum.
1340 * pspell.C (check): ditto
1342 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1344 * buffer.C: add #include <fstream>.
1346 * lyx_main.C (init): Compile fix.
1348 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1350 2005-01-20 Angus Leeming <leeming@lyx.org>
1352 * mover.h: change commentary to reflect the changed meaning of
1353 the $$s placeholder.
1355 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1357 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1359 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1361 2005-01-20 Angus Leeming <leeming@lyx.org>
1363 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1364 printing diagnostic data by not dereferecing an iterator past the
1367 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1369 * buffer.C (readHeader): use "&&" rather than "and".
1371 * lyxserver.h (inPipeName, outPipeName): make these const.
1373 2005-01-19 Angus Leeming <leeming@lyx.org>
1375 * lyx_main.C (error_handler, init): protect SIGHUP with
1376 #ifdef SIGHUP guards.
1378 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1380 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1382 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1384 * text.C (setHeightOfRow): add a margin at the top and bottom of
1385 the document (bug 1761)
1387 2005-01-17 Angus Leeming <leeming@lyx.org>
1389 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1390 with "python ". Workaround for a brain-dead Windows.
1392 2005-01-16 Angus Leeming <leeming@lyx.org>
1394 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1395 for MacOSX and Windows to use prependEnvPath.
1396 Strip out the hard-coded block to add elements to the PATH for
1397 MacOSX and replace it with a call to prependEnvPath using the
1398 contents of LyXRC::path_prefix.
1399 (queryUserLyXDir): strip out the code to run reconfigure, instead
1400 returning a boolean indicating the necessity to do so.
1401 (reconfigureUserLyXDir): contains the code to reconfigure the
1402 user support directory. Is now called after the various LyXRC data
1403 files have been read.
1405 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1407 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1409 * converter.[Ch] (convert): take a new parameter try_default. Use
1410 a default converter (imagemagick) if try_default is true.
1412 2005-01-13 Angus Leeming <leeming@lyx.org>
1414 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1415 os::cygwin_path_fix.
1416 (write): output LyXRC::cygwin_path_fix as necessary.
1418 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1421 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1423 2005-01-12 Angus Leeming <leeming@lyx.org>
1425 * lyx_main.C (init): set the PATH variable to include the
1426 directory containing the LyX binary when running on Mac or Windows.
1428 2005-01-12 Angus Leeming <leeming@lyx.org>
1430 * lyx_main.C (init): remove cruft that purports to set the locale
1431 dir. It doesn't and is not needed anyway.
1433 2005-01-10 Angus Leeming <leeming@lyx.org>
1435 * Makefile.am: remove the lyx_main.C special casing.
1437 * BufferView_pimpl.C:
1443 * messages.C: use support/package.h to provide the paths to the
1444 various directories used by LyX.
1446 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1448 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1449 layout if pasting into an empty paragraph)
1451 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1453 * tex-accent.C: add <string>
1455 2005-01-06 José Matos <jamatos@lyx.org>
1457 * ParagraphParameters.C (write): put every parameter in its own line.
1458 * paragraph.C (write): reduce number of consecutive empty lines exported.
1459 * buffer.C (LYX_FORMAT): increase file format to 239.
1461 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1463 * everywhere: change support/tostr.h -> support/convert.h
1465 * tabular.C: make all write_attributes templates, tostr -> convert
1467 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1468 (emptyTag): and -> &&, and fix type for ret from getChar
1469 (getFirstWord): fix type for ret from getChar
1470 (onlyText): and -> &&
1471 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1474 * toc.C (goTo, action):
1475 * text3.C (dispatch):
1476 * text.C (currentState):
1477 * tex-accent.C (DoAccent):
1480 * lyxfunc.C (menuNew):
1481 * lyxfinc.C (replace):
1482 * counters.C (laberItem):
1483 * bufferview_funcs.C (font2string):
1484 * bufferparams.C (writeFile):
1485 * buffer.C (readFile):
1487 * MenuBackend.C: tostr -> convert
1489 * LaTeX.C (runMessage): fix format
1490 (scanAuxFiles): tostr -> convert
1492 * BufferView_pimpl.C (savePosition): fix format
1493 (restorePosition): ditto
1496 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1498 * Spacing.[Ch]: New method getValueAsString().
1502 * ParagraphParameters.C:
1505 * text3.C: store/read spacing value as string.
1507 * rowpainter.C: change float value (spacing_val) to double.
1509 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1510 broken custom document spacing).
1512 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1514 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1515 namespace, also more use of temp references and const
1517 * cursor.[Ch] (getStatus): move to lyxfunc.C
1519 * bufferparams.C: reformat slightly
1521 * bufferview_funcs.C (font2string): constify arg
1527 * buffer_funcs.C: (many funcs): constify arg on function
1528 definitions, also make more local vars const, also add ASSERTS on
1531 * buffer.C (LYX_FORMAT): put const in correct place
1532 (many funcs): constify arg on function definitions, also make
1533 more local vars const
1535 * aspell_local.h: remove "struct" from typdef setup
1537 * aspell.C (check): make word_ok const
1538 (nextMiss): simplify slightly
1541 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1543 * lyxrc.[Ch]: store all float values as strings.
1544 use int (not float) for lyxrc.dpi.
1546 2005-01-04 Angus Leeming <leeming@lyx.org>
1548 * lyx_cb.C (Reconfigure):
1549 * lyx_main.C (queryUserLyXDir):
1550 to run the <system_lyxdir>/configure correctly on Windows, prefix
1551 the path to the script with "sh " when generating the string that
1552 is passed to system().
1554 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1556 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1558 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1560 * lyxlength.C (asLatexString): get rid of setprecision
1562 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1564 * text2.C (setLayout): remove unused variable endpit.
1565 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1567 * paragraph.C (onlyText): remove unused variable style.
1569 * cursor.C (bruteFind): remove unused variables beg and end.
1571 * Makefile.am (dist_noinset_DATA): not needed anymore
1573 * cheaders/*: remove.
1575 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1577 * text3.C: fix LFUN_MATH_MODE.
1579 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1581 * buffer_funcs.C (countWords): new function. Counts words between
1584 * BufferView_pimpl.C (getStatus, dispatch): handle
1587 * LyXAction.C (init):
1588 * lfuns.h: add LFUN_WORDS_COUNT.
1590 2004-12-19 Angus Leeming <leeming@lyx.org>
1592 * buffer.C (save): s/slashify_path/internal_path/.
1594 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1596 * lyxfind.C (findChange): do not search for end of pars, because
1597 the change tracker cannot handle this (fixes bug 1719).
1599 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1601 * paragraph.[Ch] (autoBreakRows): remove
1603 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1605 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1606 avoid using the paragraph one
1608 * text2.C (LyXText, insertStringAsLines): adjust
1610 2004-12-16 Angus Leeming <leeming@lyx.org>
1614 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1616 2004-12-14 Angus Leeming <leeming@lyx.org>
1618 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1620 * bufferlist.C (emergencyWrite):
1621 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1624 2004-12-14 Angus Leeming <leeming@lyx.org>
1626 * main.C: (main): no longer pass pointers to os::init.
1628 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1630 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1631 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1633 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1636 * text3.C: remove selection_possible global flag
1638 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1640 * text2.C (getSelectionSpan): remove
1641 (changeDepth, changeDepthAllowed): adjust
1643 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1645 * Makefile.am (BOOST_LIBS): use boost variables
1647 2004-12-03 José Matos <jamatos@lyx.org>
1649 * buffer.C: format up to 238.
1651 2004-12-03 José Matos <jamatos@lyx.org>
1653 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1655 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1657 * cursor.C (goUpDown): remove call to idxUpDown2
1659 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1661 * tabular.[Ch]: use size_t-like types for cell, row and column
1664 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1666 * lyxfunc.C (getStatus): do not lose previous information when
1667 calling BufferView::getStatus; do not set a default "Command
1668 disabled" message at the beginning, but just before returning.
1670 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1672 * cursor.h (getStatus): add better comment from src/cursor.C
1674 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1676 * text3.C (getStatus): return false when the lfun is not handled
1678 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1680 * broken_headers.h: remove
1682 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1684 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1686 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1687 offset_ref accessors
1689 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1690 top_y_, merge fitcursor with update
1691 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1693 (metrics): introduce
1694 (workAreaDispatch): adapt to new coord scheme
1695 (redoCurrentBuffer): remove
1697 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1699 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1702 * coordcache.[Ch]: add paragraph cache and helpers
1704 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1707 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1708 (targetX, setTargetX): introduce
1710 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1711 baseline -> ascent, as the rest of lyx
1713 * lyxtext.h: remove redoParagraphs, updateParPositions,
1714 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1715 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1716 have ascent/descent (ascent is ascent of first par)
1718 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1721 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1723 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1725 * pariterator.C: fix infinite loop introduced in par->pit renaming
1727 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1728 in insets and LyXText, draw two off-screen paragraphs using
1729 NullPainter, and adapt to new coord scheme
1733 * text3.C: adapt lfun handlers to the new coord scheme, which
1734 means: there's only guaranteed coord information for onscreen pars
1735 plus one above and one below. This implies that one can do search
1736 from y coordinates in the range [-1,workHeight]
1738 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1740 * rename a lot of InsetOld to InsetBase
1742 2004-11-25 Angus Leeming <leeming@lyx.org>
1744 * BufferView_pimpl.C:
1746 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1748 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1750 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1751 call BufferView::getStatus if LCursor::getStatus did nothing
1752 (setStatusMessage, getStatusMessage): removed.
1754 * FuncStatus.C (message): new methods. Used to provide an error
1755 message indicating why a command is disabled.
1756 (clear, |=, FuncStatus): update for message.
1758 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1760 * lyxfunc.C (dispatch): always call sendDispatchMessage
1762 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1765 * BufferView_pimpl.C:
1770 * cursor_slice.[Ch]:
1773 * paragraph_funcs.C:
1779 * undo.C: par->pit renaming
1781 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1783 * tabular.C (cellstruct): use initialization, store a shared_ptr
1784 to insettext instead of the insettext directly, adjust to fit.
1785 (operator=): new function
1786 (swap): new function
1787 (rowstruct): use initialization
1788 (columnstruct): use initialization
1789 (ltType): use initialization
1792 * lyxlength.h (swap): new function
1794 * LColor.[Ch] (operator=): use the common semantics
1796 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1798 * lyxfind.C (findNextChange): update the bufferview after setting
1801 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1803 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1804 number of InsetOptArgs has already been inserted.
1806 * output_latex.C (latexOptArgInsets): new method. This outputs all
1807 the optarg insets, up to the limit defined in the layout file.
1808 (optArgInset): removed
1809 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1811 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1813 * paragraph.C (isLetter): remove special spellchecker-related
1814 code; return true also for digits
1815 (isWord, isKomma): remove
1817 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1818 * lyxfind.C (MatchString()): use isLetter instead of isWord
1820 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1822 * pariterator.h (operatir=): comment out un-implemented member
1825 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1828 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1830 * lyxfont.h: include LColor.h to satisfy concept checks.
1832 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1834 * pariterator.h: add typdefs for value_type, difference_type,
1835 pointer and reference to satisfy concept checks. Also add default
1836 constructor for same reason.
1838 * pariterator.C (operator++): add post-increment operator to
1839 satisfy concept checks.
1841 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1844 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1846 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1847 checks. Also rename base_type to BaseType to follow naming
1850 * FloatList.h: include Floating.h to satisfy concept checks.
1852 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1854 * lyxfunc.C (getStatus): when the origin of the request is menu or
1855 toolbar, and the LyXView does not have focus, do as if there was
1856 no buffer (bug 1720)
1858 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1859 FuncRequest to individual entries of LFUN_SEQUENCE
1861 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1863 * output_latex.C (TeXOnePar): override runparams.moving_arg
1864 according to the needprotect value of the current paragraph (bug
1867 * paragraph.C (simpleTeXOnePar): no need to override
1868 runparams.moving_args here
1870 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1872 * vspace.C: fix off-by-one-error, related to fix #1682
1874 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1876 * lengthcommon.C: a more general fix for bug 1682
1878 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1880 * text.C (backspace): fix crash
1882 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1884 * format.[Ch] (getFormatFromFile): new method
1885 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1887 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1889 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1891 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1893 * lyxfunc.C (dispatch): remove the verbose argument
1894 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1897 * kbmap.C (defkey): set the origin of func to KEYBOARD
1899 * MenuBackend.C (MenuItem):
1900 * ToolbarBackend.C (add): set the origin of func to UI
1902 * funcrequest.[Ch]: add origin member, which indicates which part
1903 of LyX requests an action
1905 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1907 * converter.C (move): don't lie in the error message
1908 * converter.h (isReachable, move): document
1910 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1912 * buffer.C: remove unused using lyx::support::atoi
1913 * paragraph_funcs.C: ditto
1915 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1917 * bufferlist.C (exists): use bind and equal_to instead of
1920 * lyxtextclasslist.C (NumberOfClass): ditto
1922 * cursor.C (insert): use for_each instead of explicit for loop
1924 * bufferlist.C (getFileNames): use std::transform and
1925 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1927 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1930 * buffer.C (changeLanguage): use for_each instead of explicit for
1932 (hasParWithID): implement using getParFromID
1934 * LaTeXFeatures.C: ws change only
1936 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1939 * BufferView_pimpl.C (trackChanges): use for_each instead of
1942 2004-11-04 André Pönitz <poenitz@gmx.net>
1945 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1947 * dociterator.C (asDocIterator): use hard assert again.
1949 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1951 * lyxlength.C (asLatexString): rewrite so that it does not use
1954 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1956 * text3.C (specialChar, dispatch): make sure cursor moves to the
1957 right after inserting an inset
1959 2004-11-02 José Matos <jamatos@lyx.org>
1961 * output_docbook.C (docbook):
1962 * paragraph.C (getID):
1963 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1964 garantee that the output is always legal.
1966 * tabular.C (docbook):
1967 * outputprams.[Ch]: remove mixed contents.
1969 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1971 * text2.C (setCounter): prevent endless loop
1973 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1975 * exporter.C (copyFile): use the mover instead of support::copy()
1976 * exporter.C (Export): pass format and latex name to copyFile()
1977 * exporter.h (addExternalFile): document
1978 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1980 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1982 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1984 2004-10-30 José Matos <jamatos@lyx.org>
1986 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1987 text and no inset or font change. This allows to use CDATA
1988 sections just for the whole paragraph.
1990 2004-10-30 José Matos <jamatos@lyx.org>
1992 * paragraph.C (getFirstWord): remove unused variable.
1994 2004-10-30 José Matos <jamatos@lyx.org>
1996 * paragraph.C (getFirstWord): the content should always be escaped
1998 (simpleDocBookOnePar):
1999 * output_docbook.C (makeEnvironment): replace reference to CDATA
2002 2004-10-30 José Matos <jamatos@lyx.org>
2004 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2006 2004-10-30 José Matos <jamatos@lyx.org>
2008 * output_docbook.C (makeParagraphs):
2009 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2010 standard paragraph has only a given type of content drop the wrapper.
2012 2004-10-29 José Matos <jamatos@lyx.org>
2014 * output_docbook.C (makeEnvironment):
2016 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2018 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2020 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2021 (cleanID): sanitize any id.
2023 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2025 * buffer.C, lyxlex_pimpl.C:
2026 * lyxlex_pimpl.C (setFile):
2027 s/getExtFromContents/getFormatFromContents/
2029 2004-10-28 José Matos <jamatos@lyx.org>
2031 * output_docbook.C (makeEnvironment): move id to broadest possible
2034 * sgml.C (openTag): apply substitution of <> for all attributes.
2036 2004-10-28 José Matos <jamatos@lyx.org>
2038 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2039 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2040 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2042 * sgml.[Ch]: new version for open and closeTag for paragraph and
2043 for strings. Now they handle the ids of paragraphs.
2045 2004-10-26 Angus Leeming <leeming@lyx.org>
2047 * Makefile.am: add mover.[Ch].
2049 * converter.C (convert, move): use the new Movers to move external
2050 files to the temp directory.
2052 * lyx_main.C (init): ensure that the global system_movers data
2055 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2058 * mover.[Ch]: new files, defining a Mover as a utility to move an
2059 external file between directories and, if necessary, manipulate this
2060 file using a helper script.
2062 2004-10-25 José Matos <jamatos@lyx.org>
2064 * output_docbook.C (makeCommand): merge two if's that tested the
2067 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2069 * sgml.C (escapeString): fix warning in a better way
2071 2004-10-25 José Matos <jamatos@lyx.org>
2073 * sgml.C (escapeString): import the require boosts header file for
2074 tie, and avoid a signed unsigned comparison.
2076 2004-10-25 José Matos <jamatos@lyx.org>
2078 * sgml.h: add #include <string>
2080 2004-10-25 José Matos <jamatos@lyx.org>
2082 * sgml.[Ch] (escapeString): new function to escape all the string.
2084 2004-10-24 José Matos <jamatos@lyx.org>
2086 * paragraph.[Ch] (getFirstWord): new function to get the first
2087 word. Useful for description.
2088 (simpleDocBookOnePar): remove depth argument, add another that
2089 says where to start the paragraph.
2091 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2092 use the new functions to fix cleanly the support for descriptions.
2094 2004-10-24 José Matos <jamatos@lyx.org>
2096 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2097 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2098 * output_linuxdoc.C (linuxdocParagraphs):
2099 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2100 add buffer as argument.
2102 2004-10-24 José Matos <jamatos@lyx.org>
2104 * output_docbook.C (makeEnvironment, searchEnvironment): place
2105 CDATA inside paragraphs and fix scope for listitems.
2107 2004-10-24 José Matos <jamatos@lyx.org>
2109 * output_docbook.C: remove using statement for stack.
2111 2004-10-23 José Matos <jamatos@lyx.org>
2113 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2114 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2115 docbook. The new scheme is recursive and makes use of iterators, the
2116 same as latex export works.
2117 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2118 directly with the paragraph contents. This code was moved up to
2119 output_docbook.C (docbookParagraphs).
2120 * sgml.C (openTag, closeTag): removed unneeded newlines.
2121 (closeEnvTags) removed.
2123 2004-10-23 André Pönitz <poenitz@gmx.net>
2125 * undo.C (textUndoOrRedo):
2126 * dociterator.C (asDocIterator): work around crash
2128 * cursor.C (getStatus): replace ASSERT by more verbose error message
2129 and manual correction of the problem. Should increase stability
2130 while providing more sensible information.
2132 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2134 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2136 * bufferlist.C (previous, next): new methods
2139 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2141 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2143 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2144 entities to preamble.
2146 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2148 * messages.C (Pimpl): strip off translation context information
2150 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2152 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2153 the cursor is correct (bug 1694)
2155 2004-10-13 José Matos <jamatos@lyx.org>
2157 * output_docbook.C (docbookParagraphs): fix closing tags in the
2158 end of the document.
2160 2004-10-09 José Matos <jamatos@lyx.org>
2162 * buffer.C: format up to 237.
2163 * bufferparams.C (write): use tostr to convert booleans to strings.
2165 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2167 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2169 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2171 * LaTeX.C: implement use of babel language in xindy.
2173 2004-10-05 José Matos <jamatos@lyx.org>
2175 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2176 Add new translators to help reading and writing the lyx file.
2178 2004-10-05 José Matos <jamatos@lyx.org>
2180 * ParagraphParameters.C (read):
2181 * text.C (readParToken): replace nexToken by more appropriate lex
2184 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2186 * LaTeX.C (runMakeIndex):
2187 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2188 (usually 'makeindex') configurable.
2190 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2191 with a variable rather than with a number.
2193 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2195 * output_latex.C (TeXOnePar): make sure font setting is the first
2196 thing that gets output (and the last at the end). Should fix bug
2199 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2201 * pch.h: use proper signal include
2203 * LaTeX.h: Use preferred calling of Boost.Signal
2206 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2208 * pch.h: dont include <boost/function/function0.hpp>
2210 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2212 * paragraph_pimpl.h: remove usage of ShareContainer
2214 * paragraph_pimpl.C: remove initialization of ShareContainer.
2216 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2220 * BufferView.C (putSelectionAt): change the semantics when
2221 backwards == true: now, this just swaps cursor and anchor wrt the
2224 * BufferView.h (putSelectionAt): add some documentation
2226 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2227 make sure backwardChar is done at least once (to avoid getting
2229 (findNextChange): use putSelectionAt in the forward direction
2230 (operator()): use Paragraph::isWord
2232 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2234 * Spacing.C (set): c_str fix
2236 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2238 * lyx_cb.C (Reconfigure): quote the name of configure script in
2239 case it contains spaces
2241 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2245 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2246 (BOOST_LIBS): use top_buildir when looking for the file
2248 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2250 * pch.h: do not use include boost/format.hpp, multiple symbols
2251 will result (gcc bug)
2254 2004-08-23 José Matos <jamatos@lyx.org>
2256 * bufferparams.C (readToken): fix reading of the author field.
2258 2004-08-20 José Matos <jamatos@lyx.org>
2260 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2262 2004-08-20 José Matos <jamatos@lyx.org>
2264 * lyxlex.[Ch] (findToken): remove function.
2266 * ParagraphParameters.C (findToken):
2267 * bufferparams.C (findToken): replace call for previous function
2268 with local copy. This local function has one more argument, the
2269 read string argument.
2271 2004-08-16 José Matos <jamatos@lyx.org>
2273 * ParagraphParameters.C (write):
2274 * Spacing.C (writeFile):
2275 * bufferparams.C (writeLaTeX):
2276 * lyx_cb.C (Reconfigure):
2277 * paragraph.C (write):
2278 * tabular.C (write): remove unnecessary space at end of line.
2281 2004-08-16 José Matos <jamatos@lyx.org>
2283 * text.C (readParagraph): remove debug message.
2285 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2287 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2290 * output_plaintext.C (asciiParagraph): set depth correctly
2292 * outputparams.h: add member depth
2294 * paragraph_funcs.C (ownerPar): remove.
2296 * text2.C (setCounter): remove first_pit; comment out some
2297 non-working code that uses ownerPar
2299 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2302 2004-08-16 José Matos <jamatos@lyx.org>
2304 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2305 For the same level of importance use the same chanel to report problems.
2306 (read): add code to deal with \begin_body and \end_body.
2309 2004-08-15 José Matos <jamatos@lyx.org>
2311 * lyxlex.C (getString): fix comment, buffer::readBody is now
2312 buffer:readDocument.
2314 * tex-strings.C (string_papersize): Default -> default,
2315 Custom -> custom, for consistency with other options.
2317 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2321 * Makefile.am: support pch
2323 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2325 * text.C (readParToken): remove the static LyXFont variable and
2326 pass it as a parameter instead. This fixes a nasty bug where an
2327 inset will be inserted with a bad font in some situations
2328 (readParagraph): adapt
2330 * text2.C (setCounter): reduce number of calls to pars_[pit]
2332 * text.C (singleWidth): add an assert, fix a test
2334 * rowpainter.C (paintText): reduce number of calls to singleWidth
2336 * paragraph.C (isHfill):
2337 (isNewline): ws only
2339 2004-08-14 André Pönitz <poenitz@gmx.net>
2344 * lyxtext.h (several functions): use a Paragraph & argument
2347 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2349 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2351 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2353 * text.C (singleWidth): remove useless test
2355 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2357 * tabular.h: remove bogus comments
2359 * tabular.C (getDescentOfRow):
2360 (isPartOfMultiColumn): add assertions
2362 * lyxlength.C (inPixels): remove #warning
2364 2004-08-14 André Pönitz <poenitz@gmx.net>
2366 * paragraph.h: inline getChar()
2368 * BufferView.h: remove unused declarations
2370 2004-08-14 José Matos <jamatos@lyx.org>
2372 * Buffer.[Ch] (readDocument): new name for old readBody.
2373 * Buffer.C: new file format, new keywords: \begin_document,
2374 \begin_header, \begin_body, \end_body.
2376 * bufferparams.C (readToken): replace all calls to lex.nextToken
2377 by lex.next(). Do the same to eatLine except where really needed.
2379 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2380 line when writing to the lyx file.
2382 * output_plaintext.C (asciiParagraph): fix Bibliography style
2385 * text.C (read): fix end of file handling.
2387 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2389 * MenuBackend.C (Menu::operator[]): new method to access
2390 individual menu items
2391 (Menu::hasFunc): new method. search for an item that corresponds
2393 (MenuBackend::specialMenu): new method
2394 (MenuBackend::expand): if a special menu has been set, skip
2395 entries whose func() appears in this menu
2397 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2399 * text3.C: use Debug::DEBUG a bit more
2401 * text.C (leftMargin): try to simplify a tiny bit change var x to
2402 l_margin. Dont output the wide margins always.
2403 (rightMargin): no margin in inner texts
2405 * rowpainter.h (nestMargin): new func
2406 (changebarMargin): new func
2407 (rightMargin): new func
2409 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2413 * factory.C (createInset): modify setDrawFrame
2415 * cursor.C: use Debug::DEBUG a bit more
2417 2004-08-14 André Pönitz <poenitz@gmx.net>
2420 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2421 cache for all insets in (at least partially) visible (top-level)
2424 * BufferView_pimpl.C: reset external coord cache before every update.
2425 This means the coord cache only contains valid entries.
2427 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2430 * BufferView_pimpl.C (getInsetByCode): move function out of class
2431 and change in to a template in anon namespace. Also fix to do what
2434 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2437 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2439 (breakParagraph): rename par to par_offset and use a local
2440 reference. Add code to keep the language over a rebreak.
2441 (breakParagraphConservative): rename par to par_offset, use a
2443 (mergeParagraph): ditto
2445 (isFirstInSequence): ditto
2446 (outerFont): rename pit to par_offset
2448 * paragraph.C: ws change
2449 * paragraph.h: ditto
2453 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2455 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2458 * paragraph.C (simpleTeXOnePar): when we have a \item with
2459 optional argument, enclose the argument with curly brackets (in
2460 case it contains a closing square bracket)
2464 * text3.C (checkInsetHit): constify
2466 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2468 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2469 documents (bug 1629)
2471 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2473 Fix toggling of collapsable insets with the mouse (bug 1558)
2475 * lyxfunc.C (dispatch): adapt to LCursor changes
2477 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2478 make sure that dispatch is not invoked twice
2480 * cursor.C (needsUpdate): new method
2481 (dispatch): return void
2482 (result): new method, to access the DispatchResult of the cursor.
2484 2004-08-13 José Matos <jamatos@lyx.org>
2486 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2488 2004-08-13 André Pönitz <poenitz@gmx.net>
2490 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2492 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2495 2004-08-12 André Pönitz <poenitz@gmx.net>
2497 * text3.C: take out the 'cursor right' form insertInset and only
2498 do it in those places when it is really needed. Fixes crash on
2501 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2503 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2505 * BufferView_pimpl.C (setBuffer): initialize the current font of
2506 the underlying LyXText
2508 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2510 * kbsequence.C (print): use UI native formatting for menu
2513 * text.C (insertChar): call Paragraph::insertChar with a font
2516 * paragraph.C (insertInset, insertChar): the version that takes a
2517 LyXFont argument is now a wrapper around the other one (the
2518 opposite used to be true).
2520 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2521 argument. Font setting is done in Paragraph now.
2523 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2525 * outputparams.h: add new members intitle and lang.
2527 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2528 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2530 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2532 * text3.C (dispatch): remove special handling of button 4 and 5,
2533 it is now taken care of in the frontend code.
2535 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2537 * Spacing.h: add <string> (STLPort compile fix)
2539 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2541 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2543 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2545 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2548 * converter.C (showMessage): inherit from unary_function, make
2551 * buffer.C (writeFile): initialize retval
2553 * InsetList.h: rename private variable list to list_
2554 * InsetList.[Ch]: adjust accordingly.
2556 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2558 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2559 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2560 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2561 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2562 * ParagraphParameters.C, LaTeXFeatures.C: replace
2563 "support/std_sstream.h" with <sstream>
2565 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2567 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2568 * lyxsocket.C (LyXServerSocket): ditto
2569 (serverCallback): ditto
2571 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2573 * LaTeXFeatures.C: check release date when loading jurabib.
2575 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2577 * lyxserver.C (startPipe): call register_socket_callback
2578 (endPipe): call unregister_socket_callback
2580 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2582 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2583 (LyXServerSocket): register the callback
2584 (LyXServerSocket): unregister the callback
2585 (fd): delete function
2586 (serverCallback): improve error checking and setup the callbacks.
2587 (dataCallback): change arg to fd.
2588 (writeln): new func (copied fro the client socket) used for server
2590 (LyXDataSocket): simplify
2591 (~LyXDataSocket): close ann unregiser callback
2592 (server): delete function
2593 (fd): delete function
2594 (readln): small changes, improve some std::string usage
2595 (writeln): constify a bit
2597 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2599 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2602 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2604 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2605 after it has been populated
2607 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2609 * text2.C (insertInset): move cursor when inserting inset.
2611 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2613 * kbmap.C (findbindings): a couple of new methods. returns a
2614 container of kb_sequence objects. The real work is done by the
2615 private recursive version
2616 (printbindings): uses findbindings to print out a bracketed list
2617 of bindings (renamed from findbinding).
2619 * MenuBackend.C (binding): use kb_keymap::findbindings
2621 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2623 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2625 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2627 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2629 * paragraph.C (isWord): return true on insets that report
2632 * text.C (getWord): use Paragraph::isWord to decide what is in a
2633 word and what is not; fix bug 1609.
2635 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2637 * tex-strings.C: add "none" to string_paperpackages[], fixes
2638 off-by-one-error in the paperpackage selection.
2641 * tex-strings.[Ch]: char const * string[n]
2642 -> char const * const string[]
2644 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2646 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2647 command, return early.
2649 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2651 * debug.h: add DEBUG to enum and fix size of ANY.
2653 * debug.C: add support for Debug::DEBUG
2654 (showTags): cast errorTags.level to unsigned int
2656 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2657 (redoCurrentBuffer): ditto
2658 (updateScrollbar): ditto
2659 * cursor.C (dispatch): ditto
2660 * text2.C (setLayout): ditto
2662 (updateCounters): ditto
2664 (deleteEmptyParagraphMechanism): ditto
2666 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2668 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2669 annotations to cleanup the Makefile slightly.
2671 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2673 * lyxrc.C: do not set user_email to a default value but use empty
2674 instead. The entry used to be translated, which does not work
2675 since at the point where lyxrc is constructed there is no
2676 translation service available
2678 * messages.C (getLocaleDir): remove and use directly
2679 lyx_localedir() instead
2681 2004-06-02 Angus Leeming <leeming@lyx.org>
2683 Fix crash caused by dereferencing null pointer 'exportdata' in
2684 OutputParams by creating a new ExportData variable on the heap,
2685 storing it in a boost::shared_ptr.
2686 The crash was triggered when generating an Instant Preview
2687 of an external inset.
2689 * Makefile.am: add outputparams.C
2691 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2692 (c-tor): allocate memory to it.
2694 * exporter.C (c-tor): associated changes.
2696 2004-06-01 Angus Leeming <leeming@lyx.org>
2698 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2699 contains data before calling isInset(0). (Bug 1513.)
2701 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2703 * exporter.C (checkOverwrite): new method
2704 * exporter.C (copyFile): new method
2705 * exporter.C (Export): copy referenced files to the document dir
2706 * exporter.[Ch]: new class ExportedFile
2707 * exporter.[Ch]: new class ExportData. Contains currently the
2708 names of referenced external files
2709 * outputparams.h: add exportdata member.
2711 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2713 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2716 2004-05-19 Angus Leeming <leeming@lyx.org>
2721 * lyxfunc.C: small changes due to the introduction of namespace
2722 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2724 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2726 * text3.C (dispatch): supress update when only moving the cursor
2727 * cursor.C (selHandle): remove commented code
2729 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2731 * paragraph.C (startTeXParParams): correct column count
2732 * CutAndPaste.C (pasteSelection): remove const_cast
2733 * output_docbook.C (docbookParagraphs): remove const_cast
2734 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2735 const_cast and return ParagraphList::const_iterator
2736 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2737 * output_plaintext.C (writeFileAscii): remove const_cast
2738 * paragraph.[Ch] (simpleTeXOnePar): make const
2739 * paragraph_funcs.C (outerPar): use const iterators
2740 * paragraph_pimpl.C (validate): use const iterators
2741 * text.C (setHeightOfRow): use const iterators
2743 2004-05-17 Angus Leeming <leeming@lyx.org>
2746 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2748 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2749 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2750 if the citation engine has changed.
2752 2004-05-14 José Matos <jamatos@lyx.org>
2754 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2755 if the textclass does not provide it. Have it different for sgml and
2757 support the language of document.
2758 * output_docbook.C (docbookParagraphs):
2759 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2760 first anchor as the id of the paragraph, remove special case code.
2761 * sgml.C (escapeChar): escape only < & >.
2763 2004-05-14 Angus Leeming <leeming@lyx.org>
2765 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2766 dependencies on src/frontends/controllers/biblio.h. Define a
2767 CiteEngine_enum wrapper class to enable the enum to be forward
2770 2004-05-12 Angus Leeming <leeming@lyx.org>
2772 * buffer.C: up LYX_FORMAT to 234.
2773 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2774 use_numerical_citations with a single biblio::CiteEngine cite_engine
2776 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2778 2004-05-13 José Matos <jamatos@lyx.org>
2781 * converter.C (Converter, readFlags): add xml member.
2782 * outputparams.h: add XML flavor.
2783 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2785 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2787 * lyxfunc.C (dispatch):
2788 (getStatus): fix handling of LFUN_SEQUENCE
2790 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2792 * debug.C (showLevel): do not forget the end-of-line marker
2794 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2796 * kbmap.C (read): do not stop parsing a bind file when an error
2799 2004-04-29 Angus Leeming <leeming@lyx.org>
2804 * text2.C: wrap a bunch of #warning statements
2805 inside #ifdef WITH_WARNINGS blocks.
2807 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2809 * buffer.C: increment format to 233.
2811 2004-04-28 Angus Leeming <leeming@lyx.org>
2813 * BufferView_pimpl.C:
2816 s/updateToolbar()/updateToolbars()/
2817 s/Toolbar.h/Toolbars.h/
2819 2004-04-28 Angus Leeming <leeming@lyx.org>
2821 * BufferView.[Ch] (c-tor):
2822 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2823 No longer passes these data to the WorkArea generator.
2825 2004-04-28 Angus Leeming <leeming@lyx.org>
2827 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2829 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2831 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2833 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2835 * output_latex.C (TeXEnvironment): make sure that there is a line
2836 break before \end{foo} for the last paragraph of a document
2837 (TeXOnePar): if the paragraph is at the end of the document (or
2838 inset) and the language has to be reset, then make sure that the
2839 line break is _before_ the language command, not after (fixes bug
2840 1225); also make sure that the language reset command is the first
2841 thing after the paragraph (to ensure proper nesting of
2842 environments and thus fix bug 1404)
2844 2004-04-21 John Levon <levon@movementarian.org>
2847 * ToolbarBackend.C: make "name" be a programmatic name
2848 and a gui_name field.
2850 * lyxfunc.C: display the minibuffer on M-x
2852 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2854 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2857 2004-04-19 Angus Leeming <leeming@lyx.org>
2859 * BufferView_pimpl.C (setBuffer): changed preview interface.
2861 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2864 2004-04-19 John Levon <levon@movementarian.org>
2866 * BufferView_pimpl.C:
2867 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2869 2004-04-05 Angus Leeming <leeming@lyx.org>
2871 * text.C (redoParagraphs): add call to updateCounters(), thereby
2872 fixing the missing "Figure #:" label from the caption of a
2875 2004-04-13 Angus Leeming <leeming@lyx.org>
2877 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2878 cursor is clicked out of an inset.
2880 2004-04-13 Angus Leeming <leeming@lyx.org>
2882 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2883 than an InsetOld one.
2885 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2887 * format.[Ch]: add editor to Format
2888 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2889 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2891 2004-04-08 André Pönitz <poenitz@gmx.net>
2893 * metricsinfo.h: remove PainterInfo::width member
2895 2004-04-08 Angus Leeming <leeming@lyx.org>
2897 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2898 "\providecommand" rather than "\newcommand", thereby preventing
2899 clashes with packages that define "\boldsymbol" themselves.
2902 2004-04-08 Angus Leeming <leeming@lyx.org>
2904 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2905 thereby squashing an unnecessary warning.
2907 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2909 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2912 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2914 * BufferView.C (setCursor): call redoParagraph (some insets could
2916 (putSelectionAt): remove the 'double update' trick
2918 * BufferView_pimpl.C (fitCursor): call refreshPar
2919 (workAreaDispatch): remove an uneeded update call
2920 (dispatch): remove some manual update calls
2922 * cursor.[Ch]: remove cached_y_, updatePos
2923 (selHandle): set noUpdate when appropriate
2925 * lyxfunc.C (dispatch): track if we need an update
2927 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2929 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2930 (paintSelection): cheap optimization, do not call cursorX when not
2932 (paintPars): change signature
2935 (paintTextInset): adjust
2939 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2941 * lengthcommon.C: compilation fix: remove explicit array size from
2942 unit_name[] and friends
2944 2004-04-05 Angus Leeming <leeming@lyx.org>
2946 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2948 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2949 present only for the preferences dialog.
2950 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2952 2004-04-05 Angus Leeming <leeming@lyx.org>
2954 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2955 to enable the frontends to export changes to lyxrc correctly.
2957 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2959 2004-04-07 André Pönitz <poenitz@gmx.net>
2961 * cursor.[Ch] (selClear, adjust): remove math
2963 * cursor_slice.C: more agressive assert
2966 * BufferView_pimpl.C: rework mouse event dispatch
2973 2004-04-05 André Pönitz <poenitz@gmx.net>
2975 * cursor.[Ch] (valign, halign...): remove unneeded functions
2977 2004-04-05 Angus Leeming <leeming@lyx.org>
2979 * lyxlength.[Ch] (unit_name et al.): const-correct.
2981 2004-04-05 Angus Leeming <leeming@lyx.org>
2983 * BufferView_pimpl.C:
2992 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2994 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2996 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2998 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3000 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3001 * BufferView_pimpl.[Ch] (getStatus)
3002 * BufferView.[Ch] (getStatus): add
3003 * lyxfunc.C (getStatus): move lfuns handled in
3004 BufferView::dispatch to te function above
3005 * Cursor.C (setSelection): set selection() = true
3007 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3009 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3011 2004-03-31 Angus Leeming <leeming@lyx.org>
3013 * lyxfunc.C (dispatch): Fall through to the generic
3014 Dialogs::show("preamble").
3016 2004-03-31 Angus Leeming <leeming@lyx.org>
3018 * lyxfunc.C (dispatch): Fall through to the generic
3019 Dialogs::show("spellchecker").
3021 2004-03-31 Angus Leeming <leeming@lyx.org>
3023 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3026 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3031 * insetiterator.[Ch]:
3036 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3038 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3040 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3041 insets where we are putting the cursor.
3043 2004-03-31 Angus Leeming <leeming@lyx.org>
3046 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3048 * lyxrc.[Ch] (read, write): overloaded member functions taking
3049 a std::[io]stream arguments.
3051 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3053 2004-03-31 Angus Leeming <leeming@lyx.org>
3055 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3056 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3058 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3059 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3061 2004-03-31 Angus Leeming <leeming@lyx.org>
3063 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3064 the LFUN_ALL_INSETS_TOGGLE code.
3066 2004-03-30 Angus Leeming <leeming@lyx.org>
3068 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3069 has died. Fall through to the generic Dialogs::show("document").
3071 2004-03-30 Angus Leeming <leeming@lyx.org>
3074 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3075 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3077 * lyxfunc.C (getStatus, dispatch): define the actions for these
3078 lfuns. Little more than a cut and pste job from ControlDocument.C
3080 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3082 2004-03-30 Angus Leeming <leeming@lyx.org>
3085 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3086 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3088 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3089 open/closed state of ollapsable insets. Usage:
3091 all-inset-toggle <state> <name>, where
3092 <state> == "open" || "closed" || "toggle" and
3093 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3095 * lyxtext.h, text2.C (toggleInset): removed.
3097 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3098 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3099 now passes LFUN_INSET_TOGGLE to the found inset.
3101 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3102 is now invoked as "all-insets-toggle toggle branch".
3104 2004-03-30 Angus Leeming <leeming@lyx.org>
3108 * pariterator.[Ch]: added/corrected header blurb.
3110 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3112 * dociterator.[Ch]: add an inset_ member
3113 (backwardPos): implemented
3114 (backwardPos, forwardPos): use inset_ when the stack is empty.
3115 (doc_iterator_begin, doc_iterator_end): implemented
3116 * pariterator.[Ch]: adjust, add begin, end
3117 * insetiterator.[Ch]: adjust, add begin, end
3121 * BufferView_pimpl.C:
3122 * CutAndPaste.C: adjust
3124 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3126 * buffer.C: increment file format to 232.
3127 * LaTeXFeatures.C: add bibtopic package.
3128 * bufferparams.[Ch]: param \use_bibtopic.
3130 * lyxrc.[Ch]: add lyxrc bibtex_command
3131 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3133 * buffer.C: increment file format to 231.
3135 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3137 * dociterator.C: implement forwardPar
3138 * iterators.[Ch]: remove, replaced by
3139 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3141 * BufferView_pimpl.C:
3144 * bufferview_funcs.C:
3150 * Makefile.am: adjust
3152 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3154 * CutAndPaste.C (pasteSelection): fix 2 crashes
3155 (eraseSelection): fix a crash
3156 * paragraph_funcs.C: remove a warning
3158 2004-03-28 Angus Leeming <leeming@lyx.org>
3161 * LyXAction.C (init): new LFUN_PRINT.
3163 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3165 2004-03-27 Angus Leeming <leeming@lyx.org>
3168 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3170 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3172 2004-03-27 Angus Leeming <leeming@lyx.org>
3174 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3175 insetlist always contains non-null pointers to insets.
3177 2004-03-26 Angus Leeming <leeming@lyx.org>
3179 * src/BufferView_pimpl.C:
3180 * src/CutAndPaste.C:
3183 * src/output_plaintext.C:
3184 * src/outputparams.h:
3185 * src/paragraph_funcs.C:
3189 * src/frontends/controllers/ControlErrorList.C:
3190 * src/frontends/gtk/FileDialogPrivate.C:
3191 * src/frontends/gtk/GPainter.C:
3192 * src/frontends/gtk/GToolbar.C:
3193 * src/frontends/qt2/QRef.C:
3194 * src/mathed/math_scriptinset.C: squash compiler warnings.
3196 2004-03-26 Angus Leeming <leeming@lyx.org>
3198 * ispell.C (LaunchIspell::start):
3199 * lyx_cb.C (AutoSaveBuffer::start):
3200 invoke run(DontWait) rather than runNonBlocking().
3202 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3204 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3206 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3208 * kbsequence.C (print): adjust
3210 * kbmap.C (printKeySym): rename and change signature
3211 (printKey): use LyXKeySym::print()
3213 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3215 * undo.C: add using std::advance to compile for stlport
3217 2004-03-24 Angus Leeming <leeming@lyx.org>
3219 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3220 it leads to a crash when no buffer is present.
3222 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3223 Martin Vermeer <martin.vermeer@hut.fi>
3225 * lyxfunc.C (dispatch):
3226 * bufferparams.C (readToken): use the new LColor::setColor
3228 * LColor.[Ch] (setColor): new version that takes two strings as
3229 argument and creates a new color entry if necessary
3231 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3233 * buffer.C (makeLaTeXFile): if the main latex file that is
3234 processed is usually a subdocument of some master, then pretend
3235 for a while that it is actually the master
3237 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3239 * buffer.C (getLabelList):
3240 (getBibkeyList): use getMasterBuffer()
3241 (getMasterBuffer): new method. Returns the main document in the
3242 case where one is using included documents.
3244 2004-03-25 André Pönitz <poenitz@gmx.net>
3248 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3250 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3252 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3253 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3255 * ParameterStruct.h: merge with ParagraphParameters
3257 * lyxtext.h: remove LyXText::parOffset() and getPar()
3259 * text3.C: Remove all 'manual' update calls. We do now one per user
3260 interaction which is completely sufficient.
3264 * BufferView_pimpl.C:
3265 * FontIterator.[Ch]:
3267 * ParagraphParameters.[Ch]:
3272 * cursor_slice.[Ch]:
3279 * output_docbook.[Ch]:
3280 * output_latex.[Ch]:
3281 * output_linuxdoc.[Ch]:
3282 * output_plaintext.[Ch]:
3284 * paragraph_funcs.[Ch]:
3285 * paragraph_pimpl.[Ch]:
3293 * frontends/controllers/ControlDocument.C:
3294 * frontends/controllers/ControlErrorList.C:
3295 * frontends/controllers/ControlSpellchecker.C:
3298 * insets/insetbase.h:
3299 * insets/insetbibitem.C:
3300 * insets/insetbox.C:
3301 * insets/insetbranch.C:
3302 * insets/insetcaption.C:
3303 * insets/insetcharstyle.C:
3304 * insets/insetcharstyle.h:
3305 * insets/insetcollapsable.C:
3306 * insets/insetcollapsable.h:
3307 * insets/insetert.C:
3308 * insets/insetfloat.C:
3309 * insets/insetfoot.C:
3310 * insets/insetmarginal.C:
3311 * insets/insetnote.C:
3312 * insets/insetoptarg.C:
3313 * insets/insettabular.C:
3314 * insets/insettext.C:
3315 * insets/insettext.h:
3316 * insets/insetwrap.C:
3317 * mathed/math_mboxinset.C:
3318 * mathed/math_nestinset.C:
3319 * mathed/math_scriptinset.C:
3320 * mathed/math_scriptinset.h:
3323 2004-03-24 Angus Leeming <leeming@lyx.org>
3325 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3326 deal with any child processes that have finished but are waiting to
3327 communicate this fact to the rest of LyX.
3329 2004-03-24 Angus Leeming <leeming@lyx.org>
3331 64-bit compile fixes.
3333 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3334 (c-tor): pass lyx::pos_types rather than ints.
3336 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3339 * text.C (Delete): compile fix.
3340 (getPar): ensure that function declaration is the same as that in
3343 2004-03-23 Angus Leeming <leeming@lyx.org>
3345 * ispell.C (LaunchIspell):
3346 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3347 a boost::shred_ptr rather than a std::auto_ptr.
3349 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3351 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3352 handle LFUN_FILE_INSERT_*
3354 * lyxrc.C (setDefaults, getDescription, output, read):
3355 * lyxrc.h: remove ps_command
3357 2004-03-22 Angus Leeming <leeming@lyx.org>
3359 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3360 Ensure that error_handler is processed once only and that all data
3361 is saved before attempting to output any warning messages.
3363 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3365 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3367 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3369 2004-03-19 André Pönitz <poenitz@gmx.net>
3371 * cursor.[Ch] (reset): take main text inset as argument
3373 * BufferView: adjust
3374 * BufferView_pimpl.C: adjust
3376 * paragraph.[Ch]: fix completely broken operator=()
3378 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3380 * LColor.C (getFromLyXName): make sure that the color name is used
3383 2004-03-17 Angus Leeming <leeming@lyx.org>
3386 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3388 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3389 dialog and to kill a forked process.
3391 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3393 * text2.C (setCursorFromCoordinates): fix font problem
3395 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3397 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3398 bogus "rebuild cursor" code
3400 2004-03-11 André Pönitz <poenitz@gmx.net>
3402 * buffer.[Ch]: use InsetText instead of LyXText as container for
3405 * dociterator.[Ch]: drop the BufferView * member which is not needed
3406 anymore after the change to buffer.C
3408 * paragraph_funcs.C:
3412 * BufferView_pimpl.[Ch]:
3414 * cursor_slice.[Ch]: adjust
3416 * text3.C: fix bug in mathDispatch
3418 2004-03-08 André Pönitz <poenitz@gmx.net>
3420 * undo.[Ch]: use 'StableDocumentIterator' as base for
3423 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3426 * bufferparams.[Ch]: add jurabib support and param.
3428 * LaTeX.C: add FIXME/comment.
3430 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3432 * buffer.C: increment file format to 230.
3434 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3436 * cursor.C (dispatch): avoid infinite loops
3438 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3440 * rowpainter.C (paintSelection): fix x coordinates
3442 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3444 * text.C (rowBreakPoint): fix breaking before displayed insets
3446 2004-03-01 André Pönitz <poenitz@gmx.net>
3448 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3450 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3454 * BufferView_pimpl.C:
3462 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3468 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3469 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3471 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3473 * Bidi.[Ch] (computeTables): const correctness
3474 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3475 fill_hfill, fill_label_hfill and x from Row
3476 * lyxtext.h: prepareToPrint returns a RowMetrics
3477 * rowPainter.C: adjust
3478 * text.C (prepareToPrint): use width, not textWidth. adjust
3479 (redoParagraphInternal, cursorX): adjust
3480 * text2.C (getColumnNearX): adjust
3481 (init): put a default value to the top LyXText::width
3483 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3485 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3487 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3489 * lyxtext.h: add FontIterator class
3491 * text.C (FontIterator, operator*, operator->, operator++): add
3492 (rowBreakPoint, setRowWidth): adjust (fixing a
3495 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3497 * BufferView_pimpl.C (workAreaDispatch): allow also
3498 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3500 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3502 * text.C (rowBreakPoint): fix a bug showing with very large insets
3504 2004-02-25 André Pönitz <poenitz@gmx.net>
3507 * cursor.[Ch]: move some mathed specific code to mathed
3509 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3511 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3512 use_tempdir in preferences
3513 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3515 * lyx_main.C: ensure that tempdir is valid
3516 * lyxlex.h: correct typo
3517 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3518 * paragraph.[Ch] (isMultiLingual): make const
3519 * cursor.[Ch] (openable): make const
3521 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3523 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3525 2004-02-20 André Pönitz <poenitz@gmx.net>
3527 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3529 * cursor.[Ch]: prepare for localized getStatus()
3535 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3537 2004-02-20 André Pönitz <poenitz@gmx.net>
3539 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3541 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3543 * text2.C (setCursorFromCoordinates): switch to absolute coords
3545 (cursorDown): adjust
3546 * text3.C (dispatch): adjust
3548 2004-02-16 André Pönitz <poenitz@gmx.net>
3550 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3553 * cursor_slice.[Ch]: remove unneeded acessor function
3555 * lyxtext.h: rename rtl() to isRTL()
3563 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3565 * rowpainter.C (paintSelection): coord fix
3567 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3569 * Spacing.C: compile fix
3571 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3573 * cursor.C (dispatch): restore current_ before returning
3575 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3577 * text2.C (cursorUp, cursorDown): fix coords
3580 2004-02-12 André Pönitz <poenitz@gmx.net>
3585 * text3.C: add LCursor & parameter to most cursor movement functions
3586 remove usage of LyXText::cursorRow() and cursorPar()
3588 * cursor.[Ch]: add textRow() needed members
3591 * BufferView_pimpl.C:
3594 * BufferView_pimpl.C: adjust
3596 2004-02-11 André Pönitz <poenitz@gmx.net>
3600 * BufferView_pimpl.C: shift undo/redo handling
3602 * cursor.[Ch]: fix mathed crash
3605 * lyxtext.h: move selectionAsText to LCursor
3613 * rowpainter.C: fix excessive drawing
3615 2004-02-06 André Pönitz <poenitz@gmx.net>
3618 * BufferView_pimpl.[Ch]:
3619 * text3.C: move some text specific LFUN handling
3621 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3623 * text3.C (checkInsetHit): adjust coords
3624 * text2.C (getColumnNearX): adjust coords
3625 (edit): adjust coords
3626 * text.C (getRowNearY): add two asserts
3628 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3631 * format.C: add using std::distance to compile on gcc 2.95/stlport
3633 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3635 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3637 2004-02-04 André Pönitz <poenitz@gmx.net>
3639 * BufferView.[Ch] (insertInset):
3640 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3645 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3647 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3648 on the default clause of the switch
3649 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3650 wasn't catched by LCursor::dispatch
3652 2004-02-03 André Pönitz <poenitz@gmx.net>
3655 * cursor.[Ch]: some additional asserts
3657 * undo.[Ch]: remove LyXText dependency in interface
3661 * lyxtext.h (firstPar, lastPar): remove dead functions
3666 * paragraph.[Ch]: adjust
3668 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3670 * lyxfind.C (find): fix argument order in call to ::find
3672 2004-02-02 André Pönitz <poenitz@gmx.net>
3674 * cursor.[Ch]: remove direct access to anchor
3676 * text.C: remove findText() hack
3678 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3680 * iterators.[Ch] (lockPath): remove in favour of...
3681 * BufferView.[Ch] (setCursor): this addition
3682 * BufferView.C (putSelectionAt): adjust
3683 * undo.C (performUndoOrRedo): adjust
3684 * lyxfunc.C (dispatch): adjust
3686 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3688 * iterators.C (lockPath): add a missing slice
3689 * undo.C (performUndoOrRedo): remove redundant positioning code
3691 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3693 * vc-backend.C (scanMaster): ";" -> ';'
3695 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3697 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3698 std::binary_function
3700 * lyxtextclass.C (compare_name): rename to...
3701 (LayoutNamesEqual): ...this
3703 * lyxlex_pimpl.C (compare_tags): inherit from
3704 std::binary_function, put back into anon namespace
3706 * lyxfind.C (MatchString): inherig from std::binary_function
3707 (findChange): use empty() istead of !size()
3709 * format.C (FormatNamesEqual): new functor
3716 * converter.C (compare_Converter): rename to...
3717 (ConverterEqual): ...this, and fixup a bit.
3718 (getConverter): use it, and make function const
3719 (getNumber): use it, and make function const
3723 * bufferlist.C: add using boost::bind
3725 * MenuBackend.C (MenuNamesEqual): new functor
3726 (hasMenu): use it, and make function const
3727 (hasSubmenu): use nested bind to get rid of compare_memfun.
3729 2004-01-30 André Pönitz <poenitz@gmx.net>
3731 * BufferView_pimpl.C:
3734 * cursor_slice.[Ch]:
3737 * paragraph_funcs.C:
3738 * paragraph_funcs.h:
3742 * text3.C: move some of the edit(x,y) handling to the insets
3743 some coordinate changes.
3745 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3747 * text.C: add using statements for std::advance and std::distance
3749 * paragraph.C: add using statement for std::distance
3751 * lyxfind.C: add using statement for std::advance
3753 * cursor.C (region): remove std:: from swap
3754 (openable): use nucleus in stead of operator->
3756 * BufferView.C: add using statements for std::distance and std::swap
3758 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3760 * iterators.C: Remove the pimple, move the needed structures to
3761 the header file. Create accessor for the positions stack.
3762 (asPosIterator): remove function
3764 * PosIterator.C (PosIterator): move constructors to top of file
3765 (PosIterator): reimplement the constructor taking a ParIterator in
3767 (setFrom): new function
3768 (operator!=): inline it
3770 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3772 * lyxfind.C (replaceAll): use std::advance
3774 * iterators.h: inherit from std::iterator.
3776 * PosIterator.C (advance, distance): remove
3777 * PosIterator.h: interit from std::iterator.
3779 2004-01-26 André Pönitz <poenitz@gmx.net>
3782 * BufferView_pimpl.[Ch]:
3786 * bufferview_funcs.C:
3796 * output_linuxdoc.C:
3797 * output_plaintext.C:
3799 * paragraph_funcs.[Ch]:
3800 * paragraph_pimpl.[Ch]:
3806 * text3.C: more IU: dumps most of the rest of the mathcursor
3807 implementation into cursor.[Ch]; "globalize" a bit of it.
3809 2004-01-25 Angus Leeming <leeming@lyx.org>
3811 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3813 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3815 * LaTeXFeatures.h: add nice_ and nice() const
3816 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3818 2004-01-20 André Pönitz <poenitz@gmx.net>
3821 * BufferView_pimpl.C:
3823 * bufferview_funcs.C:
3825 * cursor_slice.[Ch]:
3836 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3837 LCursor and mathcursor parts to LCursor and InsetBase.
3839 2004-01-15 André Pönitz <poenitz@gmx.net>
3841 * cursor_slice.[Ch]: add a few covienience functions
3843 * funcrequest.[Ch]: remove BufferView * member
3845 * BufferView_pimpl.C:
3852 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3854 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3856 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3857 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3859 2004-01-13 André Pönitz <poenitz@gmx.net>
3862 * lyxtext.h: hide cursor and selection anchor behind accessor function
3865 * BufferView_pimpl.[Ch]:
3867 * bufferview_funcs.C:
3877 * cursor_slice.[Ch]: some integer type changes for inset unification
3879 * lyxcursor.[hC]: remove, it's CursorSlice now.
3882 * BufferView_pimpl.[Ch]:
3883 * bufferview_funcs.C:
3889 * textcursor.[Ch]: adjust
3891 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3893 * text2.C (undoSpan): add and use
3894 * text.C (breakParagraph): use undoSpan (fix bug 578)
3897 2004-01-08 Angus Leeming <leeming@lyx.org>
3899 * BufferView_pimpl.C (MenuInsertLyXFile):
3900 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3901 * lyxfunc.C (menuNew, open, doImport):
3902 FileFilterList change to the FileDialog open and save functions.
3904 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3906 * ShareContainer.h: make isEqual and isUnique adaptable
3908 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3910 2004-01-07 Angus Leeming <leeming@lyx.org>
3913 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3915 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3917 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3918 functions replacing find, replace and replaceAll.
3920 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3921 LFUN_WORDFIND(FORWARD|BACKWARD).
3923 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3925 * text.C (breakParagraph): remove an outdated #warning
3927 2004-01-07 André Pönitz <poenitz@gmx.net>
3929 * lyxfind.C: somewhat clearer logic
3931 * text.C: prevent crash in cursorX on unitialized row cache
3933 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3935 * lyxcursor.[Ch] (operator>): add
3936 * textcursor.C (selStart, selEnd): use std::min and std::max
3938 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3940 * Chktex.C: include boost/format.hpp
3942 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3944 * InsetList.C: replace functor MathcIt with adaptable functor
3946 (insetIterator): modify accordingly
3948 * BranchList.h: move the BranchNamesEqual functor here from...
3949 * BranchList.C: ... to here
3951 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3953 (add): replace a finding loop with std::find_if.
3955 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3957 * output_docbook.C: moving LatexParam functionality into
3960 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3962 * buffer.C: increment format to 229.
3964 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3967 * lyx_sty.[Ch]: remove minipageindent_def
3973 * text3.C: remove LFUN_INSET_MINIPAGE
3975 2003-12-28 Angus Leeming <leeming@lyx.org>
3977 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3979 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3981 * text2.C (setParagraph): fix off-by-one crash
3983 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3985 * output_docbook.C: header stuff for AGU
3987 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3989 * text2.C (redoCursor): remove
3992 * BufferView_pimpl.C: remove calls to redoCursor and
3993 setCursor(cursor.par(), cursor.pos()) all around
3995 2003-12-15 Angus Leeming <leeming@lyx.org>
3997 * buffer.C: up the format to 228.
3999 2003-12-15 André Pönitz <poenitz@gmx.net>
4001 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4006 * BufferView_pimpl.C:
4015 2003-12-15 Angus Leeming <leeming@lyx.org>
4017 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4018 than getFromGUIName to manipulate the color.
4020 2003-12-14 Angus Leeming <leeming@lyx.org>
4022 * BranchList.[Ch]: minimize the API.
4023 (Branch::getBranch, getColor): now return a 'const &'.
4024 (Branch::setSelected) now returns a bool set to true if the
4025 selection status changes.
4026 (BranchList::clear, size, getColor, setColor, setSelected,
4027 allBranches, allSelected, separator): removed.
4028 (BranchList::find): new functions, returning the Branch with
4030 (BranchList::add, remove): return a bool indicating that
4031 the operation was successful.
4033 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4034 new InsetBranch::isBranchSlected member function.
4036 * LColor.[Ch]: mimimize the API.
4037 (fill): renamed as addColor and made private.
4038 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4039 versions of these functions taking a string arg have been removed.
4041 * bufferparams.C (readToken):
4042 * lyxfunc.C (dispatch):
4043 * lyxrc.C (read): changes due to the altered BranchList and
4046 * factory.C (createInset, readInset): changes due to altered
4049 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4052 * lyxfunc.C: remove insetminipage. "minipage-insert"
4053 now produces a frameless minipage box inset.
4055 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4057 * textcursor.[Ch] (selStart,selEnd): add new methods
4058 remove selection::start, end, use LyXCursor::operator<
4059 * lyxcursor.[Ch] (operator<): add
4060 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4061 * BufferView.[Ch] (unsetXSel): add
4062 * text2.C (clearSelection): use unsetXSel,adjust
4065 * rowpainter.C: adjust
4066 * bufferview_funcs.C (put_selection_at): adjust
4068 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4070 * BufferView_pimpl.C: small coord. correction
4072 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4074 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4075 dragging over the splash screen.
4077 2003-12-11 Angus Leeming <leeming@lyx.org>
4079 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4080 as it is now handled in LyXText::dispatch.
4082 * text3.C (doInsertInset): remove a level of nesting.
4084 2003-12-11 Angus Leeming <leeming@lyx.org>
4086 * factory.C (createInset): changes due to the changed interface to
4087 InsetCommandMailer::string2params.
4089 2003-12-10 Angus Leeming <leeming@lyx.org>
4091 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4092 'dialog-show-new-inset <inset name>'
4094 2003-12-10 Angus Leeming <leeming@lyx.org>
4096 * buffer.C: up the format to 227.
4098 * factory.C: the box inset is now identified simply by 'Box'.
4100 2003-12-10 Angus Leeming <leeming@lyx.org>
4102 * buffer.C: up the format to 226.
4104 * factory.C: the note inset is now identified simply by 'Note'.
4106 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4108 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4109 when a pit is enough. Standarize a couple of loops.
4111 2003-12-05 Angus Leeming <leeming@lyx.org>
4113 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4114 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4115 data to the re-worked "log" dialog.
4117 2003-12-03 André Pönitz <poenitz@gmx.net>
4123 * paragraph_funcs.C:
4125 * text2.C: use Inset::getText instead of Inset::getParagraph
4127 2003-12-03 André Pönitz <poenitz@gmx.net>
4131 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4132 InsetText::read() as LyXText::read()
4134 2003-12-02 Angus Leeming <leeming@lyx.org>
4136 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4137 type. Add a comment in the implementation that the function uses
4138 the stream's bad() function rather than fail() as the std::streams
4141 2003-12-02 André Pönitz <poenitz@gmx.net>
4143 * lyxlex.[Ch]: make interface more similar to std::stream
4145 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4147 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4149 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4151 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4153 * vspace.[Ch]: remove VSpace::NONE
4155 2003-12-01 André Pönitz <poenitz@gmx.net>
4158 * lyxtext.h: move ParagraphList member to LyXText
4159 rename LyXText::ownerParagraphs to LyXText::paragraph
4162 * bufferview_funcs.C:
4172 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4174 * undo.C: fix cursor positioning
4176 2003-12-01 John Levon <levon@movementarian.org>
4178 * BufferView_pimpl.C: fix a crash on exit with
4181 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4183 * BranchList.C: fix setSelected() method.
4185 2003-11-28 André Pönitz <poenitz@gmx.net>
4187 * ParagraphParameters.[Ch]:
4188 * ParameterStruct.h: remove space above/below from Paragraph to
4191 * BufferView_pimpl.C:
4197 * paragraph_funcs.C:
4203 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4205 * factory.C: Syntax change for CharStyles
4207 2003-11-28 André Pönitz <poenitz@gmx.net>
4212 * buffer.[Ch]: move LyXText member
4214 2003-11-28 André Pönitz <poenitz@gmx.net>
4216 * BufferView.[Ch]: make LyXText * text a private member
4218 * BufferView_pimpl.C:
4229 * output_plaintext.C: cleanup
4231 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4234 * lyxtextclass.[Ch]: parametrize SGML document header
4236 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4239 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4242 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4244 * text2.C (setFont): rework using PosIterator (no more recursive)
4245 (setCharFont): no more needed
4246 (setLayout): no more selection cursors fiddling (done by redoCursor)
4247 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4248 destroy remaining ones)
4250 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4252 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4254 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4257 * text3.C: adjust + re-allow multi par depth changes
4258 * textcursor.C: simplify a bit
4260 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4266 * src/output_docbook.C:
4267 * src/output_latex.C:
4272 * src/text2.C: Introducing a number of tags parametrizing various
4273 XML formats that we may want to support
4275 2003-11-25 André Pönitz <poenitz@gmx.net>
4277 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4279 * lyxtext.h (leftMargin/rightMargin): simplify interface
4286 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4288 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4289 master file to any child files. Fixes bug 546.
4291 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4293 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4295 2003-11-24 André Pönitz <poenitz@gmx.net>
4297 * rowpainter.C: simplification
4299 * text2.C (updateCounters): remove call to redoParagraph on
4300 changed labels as this is far too expensive.
4302 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4304 * converter.C (convert): fix a crash: this function gets
4305 called with buffer == 0 from importer code.
4307 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4309 * text3.C (cursorPrevious): make sure that we do not compare
4310 iterators form different containers.
4313 * rowpainter.C (paintSelection): make sure that we do not compare
4314 iterators from different containers.
4316 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4317 iterators from different ParagraphList containers.
4320 * text2.C (LyXText): change order of initialization slightly
4321 (operator=): new function. copy all variables except cache_par_
4322 (moveUp): make sure that we do not compare iterators from
4323 different ParagraphList constainers.
4326 * text.C (firstPar): new function
4327 (lastPar): new function
4328 (endPar): new function
4330 * lyxtext.h: move things around and group public functions, public
4331 variables, private functions, private variables
4333 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4335 * factory.C: change call to InsetERT constructor to avoid
4336 additional invocation of method status
4337 * text2.C (toggleInset): remove redundant update() call
4338 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4339 instead of a Bufferview pointer
4341 2003-11-21 André Pönitz <poenitz@gmx.net>
4343 * rowpainter.C: simplification
4345 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4347 * text3.C (dispatch): make possible to extend a word/row selection
4350 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4352 * lyxtext.h: x0_,y0_ -> xo_,yo_
4353 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4354 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4355 * rowpainter.C (paintRows): paint full paragraphs
4357 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4359 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4362 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4364 * lyxtext.h: add x0_, y0_
4365 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4366 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4368 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4370 * text2.C (setCursorIntern): move the x_target update here *
4371 * text3.C: change some bv() to true/false in calls to
4372 cursorUp/Down/Right/Left
4373 * cursor.C: use helper function.
4375 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4377 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4378 * paragraph_funcs.[Ch]: correct comment
4379 * rowpainter.C: do not paint selections away from bv->cursor()
4380 Fix a long standing selection painting bug.
4381 * text3.C: generalize mouse-selection code to LyXTexts other that
4383 * textcursor.C: do not use y coords if we can use par offsets
4385 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4387 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4388 cursor position after e.g. inset insert)
4390 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4392 * lyxfind.C (replace): adjust to locking removal + some
4395 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4397 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4400 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4403 * output_docbook.C: XML sanitation: new layout
4404 parameters InnerTag and CommandDepth
4406 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4408 * BufferView_pimpl.C:
4410 * text3.C: Fix the insertion and modification of button-style
4413 2003-11-13 André Pönitz <poenitz@gmx.net>
4415 * InsetList.[Ch]: remove deleteLyXText
4417 * paragraph.[Ch]: cache beginOfBody position
4422 * text3.C: remove superfluous update() calls
4426 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4428 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4429 * BufferView.C (fitLockedInsetCursor): remove
4430 * cursor.[Ch] (getDim): add
4431 * text.C (getRowNearY): add faster version
4432 * text3.C: remove some update calls
4434 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4446 * text3.C: The Character Style /XML short element patch.
4448 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4451 * factory.C: Small step to solving 'unable to insert some insets'
4454 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4456 * cursor.[Ch] (updatePos): new function for updating the y
4457 position of the tip inset
4458 * bufferview_funcs.C (put_selection_at):
4459 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4461 2003-11-11 André Pönitz <poenitz@gmx.net>
4463 * text.C: remove big comment on invalid Paragraph pointers as it is
4466 2003-11-11 André Pönitz <poenitz@gmx.net>
4468 * text_funcs.[Ch]: merge with ...
4476 * Makefile.am: remove text_funcs.[Ch]
4478 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4480 * cursor.C (getPos): return absolute cached y coord
4482 * BufferView_pimpl.C (fitCursor): new simplistic code
4483 (workAreaDispatch): add a fitCursor call
4485 2003-11-10 André Pönitz <poenitz@gmx.net>
4488 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4490 2003-11-10 André Pönitz <poenitz@gmx.net>
4492 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4493 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4494 indicate that the cursor needs to leave an inset
4496 * lyxtext.h: remove inset locking
4498 * cursor.[Ch]: re-implement functionality provided by inset locking
4501 * BufferView_pimpl.[Ch]:
4503 * bufferview_funcs.[Ch]:
4515 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4517 * PosIterator.[Ch]: replace the stack with a vector, add inset
4519 * iterators.[C]: adjust
4521 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4523 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4525 * paragraph_funcs.C (readParToken): put the correct id in the
4526 error item, not the id of the top paragraph
4528 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4530 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4531 * bufferview_funcs.C (put_selection_at): use the above
4533 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4535 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4537 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4539 * output_linuxdoc.h:
4540 * output_plaintext.h:
4542 * output_docbook.h: add #include statements
4544 2003-11-05 José Matos <jamatos@lyx.org>
4546 * output_docbook.[Ch]:
4547 * output_latex.[Ch]:
4548 * output_linuxdoc.[Ch]:
4549 * output_plaintext.[Ch]: New files for output formats.
4550 * output.[Ch]: New file for helper functions.
4553 * paragraph_funcs.[Ch]: output functions moved to new files.
4555 * outputparams.h: rename of latexrunparams.h
4563 * paragraph_funcs.[Ch]:
4564 * paragraph_pimpl.[Ch]:
4565 * tabular.[Ch]: rename ascii to plaintext
4566 and LatexRunParams to OutputParams.
4568 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4570 * iterators.[Ch] (text): require bv argument
4571 * undo.C (recordUndo):
4572 * lyxfunc.C (dispatch):
4573 * bufferview_funcs.C (put_selection_at): adjust
4575 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4577 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4579 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4581 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4584 2003-11-04 André Pönitz <poenitz@gmx.net>
4586 * cursor.[Ch]: restructure
4589 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4591 * iterators.[Ch] (asCursor): remove
4593 * lfuns.h: remove LFUN_INSET_EDIT
4599 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4601 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4603 * lyxfind.[Ch]: complete overhaul
4604 * BufferView_pimpl.C:
4606 * paragraph.[Ch] (insert): add
4608 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4612 * text.C: remove dead spellcheck code
4614 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4616 * dispatchresult.h: add a val setter
4618 * cursor.C (dispatch): use a tempvar for data_[i]
4620 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4622 * PosIterator.[Ch]: compile fix
4624 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4626 * text.C (cursorPar): deactivate the cursor cache
4628 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4630 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4632 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4634 * text3.C (dispatch): adjust for new DisptchResult semantics.
4636 * lyxfunc.C (dispatch): handle update when return from
4637 Cursor::dispatch, adjust for new DispatchResult semantics.
4639 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4640 DispatchResult(true) mean to not update. Add class functions for
4641 setting dispatched and update, as well as reading.
4643 * cursor.C (dispatch): don't handle update here
4645 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4647 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4648 * trans_mgr.C: adjust
4650 * paragraph_funcs.C (readParToken): exception safety
4652 * lyxvc.h: store the vcs pointer in a scoped_ptr
4655 * lyxsocket.C (serverCallback): exception safety
4657 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4659 * ispell.C (clone): make it return a auto_ptr
4661 * factory.C (createInset): exception safety
4662 (readInset): exception safety
4664 * bufferlist.C (newBuffer): exception safety
4666 * Thesaurus.C (Thesaurus): use initialization for aik_
4668 * MenuBackend.C (expandToc): exception safety.
4670 2003-11-03 André Pönitz <poenitz@gmx.net>
4674 * bufferview_funcs.C: remove getInsetFromId()
4677 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4683 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4685 * PosIterator.C (distance, advance): new
4686 * bufferview_funcs.[Ch] (put_selection_at): new
4687 * iterators.[Ch] (lockPath): new
4689 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4691 * iterators.[Ch] (asPosIterator): added
4692 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4693 * PosIterator.[Ch]: added
4695 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4699 * cursor.C (dispatch):
4700 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4702 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4703 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4704 contructor, add a class function dispatched. Remove operator>=
4706 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4708 * debug.C: only use the default constructor for debugstream
4711 * main.C (main): include debug.h and setup the lyxerr streambuf
4714 2003-10-31 José Matos <jamatos@lyx.org>
4716 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4718 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4719 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4720 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4721 * paragraph_pimpl.C (simpleTeXSpecialC):
4722 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4723 add LatexRunParams argument.
4725 * exporter.C (Export): change call accordingly.
4727 * latexrunparams.h: add new member to take care of the other backends.
4728 2003-10-30 José Matos <jamatos@lyx.org>
4730 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4731 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4732 factorise code for paragraph output.
4734 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4737 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4739 * text3.C (dispatch):
4740 * lyxfunc.C (dispatch):
4741 * cursor.C (dispatch):
4742 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4744 * dispatchresult.h: make the dispatch_result_t ctor explicit
4746 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4749 * buffer.C: small refactoring of docbook stuff
4751 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4753 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4756 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4758 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4759 operator dispatch_result_t, and operators for == != and >=
4761 * cursor.C (dispatch): adjust for operator dispatch_result_t
4762 removal. comment out call to update
4764 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4766 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4774 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4777 * dispatchresult.h: new file, DispatchResult broken out of
4780 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4782 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4784 * text.C (rowBreakPoint): put a hack inside #if 0
4786 2003-10-28 André Pönitz <poenitz@gmx.net>
4790 * paragraph_funcs.C:
4793 * text2.C: general cleanup (lots of small stuff)
4795 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4797 * text2.C (cursorEnd): simple fix to the "end key goes to one
4798 before the end on last row" bug
4800 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4802 * text.C (backspace): fix the "zombie characters"
4804 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4806 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4808 2003-10-27 André Pönitz <poenitz@gmx.net>
4810 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4812 * factory.C: handle new InsetPagebreak, InsetLine
4814 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4815 and move handling into new InsetPagebreak, InsetLine
4817 * BufferView_pimpl.C:
4819 * ParagraphParameters.C:
4820 * ParameterStruct.h:
4825 * paragraph_funcs.C:
4826 * paragraph_pimpl.C:
4832 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4835 * lyxrow_funcs.[Ch]:
4841 * text3.C: remove lastPos uses in favour of Row::endpos
4843 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4845 * undo.C (performUndoOrRedo): fix two crashes by setting a
4846 cursor by hand and reordering some calls. Use bv->lockInset instead
4847 of inset->edit because the latter loses cursor information
4849 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4851 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4853 (rowBreakPoint): fix width. change point to point + 1.
4854 Add a missing check.
4856 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4859 * lyxfunc.C: fix (at least partly) the problems
4860 with the Nav menu and headers inside branch insets
4863 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4865 * paragraph.C (getChar): add strong asserts
4867 * lyxrow_funcs.C (lastPos): remove hideous hack
4869 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4870 (fill): adjust to that (avoid an infinite loop)
4872 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4874 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4876 2003-10-23 André Pönitz <poenitz@gmx.net>
4878 * RowList_fwd.h: change list<> to vector<> to gain speed
4879 after suggestion from Alfredo
4881 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4883 * lyxtext.h: move the bidi stuff from here...
4886 * Bidi.[Ch]: ... to here
4888 2003-10-23 André Pönitz <poenitz@gmx.net>
4891 * text.C (isLastRow, isFirstRow): new functions
4893 * paragraph.h: new width cache member
4895 * rowpainter.C: replace RowList::iterator with Row & where possible
4897 * lyxfunc.C: replace several view()->text with a single call
4899 * toc.C: fix 'unused' warning
4901 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4903 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4904 when woring with stream::pos_type
4905 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4907 2003-10-22 André Pönitz <poenitz@gmx.net>
4910 * text.C: use Row & instead of RowList::iterator
4912 * lyxrow.h: rename end() to endpos()
4918 2003-10-22 Angus Leeming <leeming@lyx.org>
4920 * buffer.[Ch] (fully_loaded): new member function, returning true
4921 only when the file has been loaded fully.
4922 Used to prevent the premature generation of previews and by the
4923 citation inset to prevent computation of the natbib-style label.
4925 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4926 templates are all set up.
4928 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4930 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4932 * text.C: fixed an "oops" in the "is a bit silly"
4935 2003-10-21 André Pönitz <poenitz@gmx.net>
4937 * FuncStatus.[Ch]: small stuff, whitespace
4939 * lyxfont.[Ch]: operator<<() for debug reasons
4943 * lyxtext.h: whitespace, spelling
4945 * paragraph.C: naming of variables
4948 * text2.C: small stuff
4951 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4953 * text.C: (1) finish off the inset display() work;
4954 (2) fix the "is a bit silly" bug (accessing char
4957 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4959 * text.C: re-introduce display() for insets, fixing the
4960 various bugs (stretch of line above, math inset
4963 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4965 * text.C (rightMargin): remove spurious semicolon
4967 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4970 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4972 * text3.C: fix one crash due to wrong cursor def
4974 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4976 * vc-backend.C (scanMaster): make the regex static
4978 * LaTeX.C (scanAuxFile): make the regexs static
4980 * text3.C (doInsertInset, dispatch, dispatch):
4981 * text2.C (cursorUp, cursorDown):
4982 * text.C (selectNextWordToSpellcheck):
4983 * BufferView_pimpl.C (dispatch):
4984 * lyxfunc.C (dispatch): localDispatch -> dispatch
4986 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4988 * lyxsocket.C: include <cerrno>
4990 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4992 * lyxfunc.C (dispatch): remove textcache stuff
4994 * bufferlist.C (release): remove textcache stuff
4997 * TextCache.C: delete file
4998 * TextCache.h: delete file
5000 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5002 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5003 delete of the bv_->text.
5004 (resizeCurrentBuffer): remove texcache stuff
5005 (workAreaResize): ditto
5007 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5009 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5012 2003-10-16 André Pönitz <poenitz@gmx.net>
5019 * text3.C: speed up by storing y positions per paragraph plus per-row
5020 offset instead of having a 'full' y position in the row.
5022 2003-10-15 André Pönitz <poenitz@gmx.net>
5026 * undo.[Ch]: make undo aware of inner insets
5028 2003-10-14 Angus Leeming <leeming@lyx.org>
5030 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5031 static member functions LyX::ref() and LyX::cref.
5032 (lastfiles): new accessor functions for the new lastfiles_ member var.
5033 (addLyXView, views_): add a new LyXView to the list of views_.
5034 (updateInset): loop over all LyXViews to call their own updateInset
5035 member function, returning a pointer to the Buffer owning the inset.
5037 * BufferView_pimpl.C (loadLyXFile):
5038 * MenuBackend.C (expandLastfiles):
5039 * bufferlist.C (MenuWrite, QuitLyX):
5040 lastfiles is no longer a global variable.
5041 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5043 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5044 static function. Access through LyX::cref().emergencyCleanup().
5046 2003-10-14 André Pönitz <poenitz@gmx.net>
5048 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5050 * undo.[Ch]: restoring part of 'undo in insets'
5053 * undo_funcs.[Ch]: merge with undo.[Ch]
5055 * tabular.C: small cleansing stuff
5057 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5059 * paragraph_funcs.C (readParToken): report unknown insets as error
5060 boxes. Use the outer paragraph as location (also for unknown
5063 * factory.C (readInset): do not abort on reading an unknown inset.
5064 Eat it and return 0.
5066 2003-10-13 Angus Leeming <leeming@lyx.org>
5068 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5070 * lyxrc.C: displayTranslator is now a function,
5071 declared in GraphicsTypes.h.
5073 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5075 * format.C: new placeholder $$a to pass the socket address.
5077 * bufferlist.[Ch]: new function getBufferFromTmp.
5079 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5080 files in the temporary dir.
5082 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5084 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5086 * Makefile.am: add lyxsocket.[Ch].
5088 * lyx_main.C (error_handler): handle SIGPIPE.
5090 2003-10-13 André Pönitz <poenitz@gmx.net>
5092 * BufferView_pimpl.C:
5097 * undo_funcs.[Ch]: use paroffset_type instead of
5098 ParagraphList::iterators to prevent multiple conversion
5099 (and get a more robust interface)
5101 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5103 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5105 * text3.C (dispatch): ditto
5107 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5109 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5110 move the onlyfile, use onlyfile instead of foundfile in a couple
5113 * DepTable.C (update): flush the error stream a bit more
5115 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5117 * lyxserver.C (callback): adjust
5119 * lyxfunc.C (getStatus): add a missing brace in commented code
5120 (ensureBufferClean): reindent
5121 (dispatch): delete version taking a string
5123 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5125 * LaTeX.C (deplog): move found file handlig from here...
5126 (handleFoundFile): .. to new function here.
5127 (deplog): make sure to discover several files mentioned on the
5130 2003-10-10 André Pönitz <poenitz@gmx.net>
5137 * text3.C: fix some of the tabular crashes
5139 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5141 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5143 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5145 2003-10-09 André Pönitz <poenitz@gmx.net>
5147 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5150 * BufferView_pimpl.C:
5151 * bufferview_funcs.C:
5162 * undo_funcs.C: adjust
5164 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5166 * text2.C (incrementItemDepth): new function, use a backtracking
5167 algorithm to discover the correct item depth.
5168 (resetEnumCounterIfNeeded): new function, use a backtracking
5169 algorithm to discover if counter reset is needed.
5170 (setCounter): use them. Simplify a bit. Add different labels for
5171 different item depths for itemize.
5173 * paragraph.C (Paragraph): remove initialization of enumdepth
5176 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5177 enumerate and itemize. Change the type of itemdepth to signed char.
5179 2003-10-08 André Pönitz <poenitz@gmx.net>
5181 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5186 * tabular.[Ch]: fix crash after 'row-insert'
5188 2003-10-08 Angus Leeming <leeming@lyx.org>
5190 Fix doxygen warnings.
5192 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5193 Remove CutAndPaste:: prefix from header file declaration.
5195 * LColor.h (fill): remove LColor:: prefix from declaration.
5197 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5198 use lyx::depth_type rather than Paragraph::depth_type so that
5199 header file and .C file match.
5201 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5203 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5204 * aspell.C: \file aspell_local.C -> \file aspell.C
5205 * gettext.C: \file gettext.C -> \file src/gettext.C
5206 * gettext.h: \file gettext.h -> \file src/gettext.h
5207 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5208 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5209 * text.C: \file text.C -> \file src/text.C
5211 * toc.C: move comment so that doxygen is not confused.
5213 2003-10-07 Angus Leeming <leeming@lyx.org>
5215 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5217 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5220 * aspell_local.h: add forgotten std::string's.
5222 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5229 * text3.C: The Box patch. Fancybox support, minipage, parbox
5231 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5237 * ParagraphParameters.h:
5247 * lyxtextclasslist.h:
5250 * paragraph_pimpl.C:
5251 * textcursor.h: add <string> and other small fixes to make Lars'
5252 std::string patch compile with STLport.
5254 2003-10-06 Angus Leeming <leeming@lyx.org>
5256 * LColor.h: Add missing #include <string>.
5258 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5260 * All most all file in all subdirs: Make <string> be the prefered
5261 way of getting to std::string, add using declarations.
5263 2003-10-06 André Pönitz <poenitz@gmx.net>
5265 * metricsinfo.C: initialize LyXFont before changing attribute.
5266 (fixes the 'math in \emph is upright' bug)
5268 2003-10-06 André Pönitz <poenitz@gmx.net>
5270 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5272 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5275 * paragraph_pimpl.C: Small fixes to build using STLport
5277 2003-10-02 André Pönitz <poenitz@gmx.net>
5280 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5282 2003-10-01 André Pönitz <poenitz@gmx.net>
5284 * factory.C: assert early
5286 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5288 * lyx_main.C: remove the global debug object
5290 * debug.h: adjust for new debugstream
5292 * debug.C: adjust for new debugstream and keep the global debug
5295 2003-09-22 Angus Leeming <leeming@lyx.org>
5297 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5298 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5299 an incomplete class LyXFont.
5301 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5303 * factory.C: bug fix in branches
5305 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5307 * lyxfunc.C (processKeySym): adjust
5309 (dispatch): change arg name from ev to func, adjust
5310 (sendDispatchMessage): ditto
5312 * lyx_main.C (defaultKeyBindings): adjust keybindings
5313 (deadKeyBindings): ditto
5315 * kbsequence.C (addkey): return a FuncRequest
5317 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5319 * kbmap.C (bind): take a FuncRequest as arg, adjust
5322 (defkey): change to take a FuncRequest as arg, adjust
5323 (findbinding): take a FuncRequest as arg, adjust.
5325 * funcrequest.h (operator=): added
5327 * funcrequest.C (FuncRequest): default kb_action changed from
5328 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5330 * buffer.C (dispatch): simplify
5331 (dispatch): adjust to take a FuncRequest as arg, adjust
5333 * boost.C (assertion_failed): change assertion message slightly
5335 * ToolbarBackend.C (read): simplify
5337 * MenuBackend.C (binding): adjust call to findbinding, add a
5338 message if no binding is found.
5340 (expandToc): correct by adding a empty FuncRequest
5342 * LyXAction.C: include <boost/assert.hpp>
5343 (isPseudoAction): delete function
5344 (LookupFunc): change name to...
5345 (lookupFunc): this. change return type to FuncRequest.
5346 (getActionName): take kb_action as arg, simplify
5347 (funcHasFlag): add an assert, simplify.
5349 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5351 * toc.C (action): return a FuncRequest, simplify
5353 * lyxfunc.C (processKeySym): adjust
5354 (getStatus): delete version that takes an int.
5356 (dispatch): delete version that takes action as int
5358 (sendDispatchMessage): simplify and adjust
5360 * funcrequest.C (getArg): take unsigned int as arg
5362 * ToolbarBackend.C (read): adjust
5363 (add): delete version that takes func as a string.
5364 (getIton): take a FuncRequest as arg
5366 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5369 * MenuBackend.C (MenuItem): add a new construct that only takes a
5370 Kind, simplify the constructor use for submenus.
5372 (expandLastfiles): adjust
5373 (expandDocuments): adjust
5374 (expandFormats): adjust
5375 (expandFloatListInsert): adjust
5376 (expandFloatInsert): adjust
5377 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5379 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5380 Remove class variables lyx_pseudo_map and lyx_arg_map
5382 * LyXAction.C (searchActionArg): delete function
5383 (getPseudoAction): delete function
5384 (retrieveActionArg): delete function
5385 (LookupFunc): make it return kb_action, simplify.
5386 (getActionName): simplify
5388 * factory.C (createInset): fix new bug
5390 2003-09-19 Angus Leeming <leeming@lyx.org>
5392 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5393 masterFilename_ parameter in the include inset.
5395 * factory.C (createInset): changes due to the changes to InsetInclude.
5397 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5399 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5401 2003-09-18 Angus Leeming <leeming@lyx.org>
5404 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5405 Inset::fillWithBibKeys.
5406 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5408 2003-09-18 Angus Leeming <leeming@lyx.org>
5410 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5412 (ctor): pass and store a 'Buffer const &'
5413 (buffer): new member function.
5415 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5416 '*this' to the LaTeXFeatures ctor.
5418 2003-09-18 Angus Leeming <leeming@lyx.org>
5424 * text.C: rename EnumLColor as LColor_color.
5426 2003-09-18 Angus Leeming <leeming@lyx.org>
5428 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5429 remove #include "insets/insetbase.h" from cursor.h.
5431 2003-09-18 Angus Leeming <leeming@lyx.org>
5433 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5434 InsetOld_code to remove #include "inset.h".
5436 * iterators.C: add #include "insets/inset.h"
5438 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5440 * BufferView.C: remove more locking stuff that apparently doesn't
5441 do anything sensible.
5443 2003-09-16 André Pönitz <poenitz@gmx.net>
5446 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5449 2003-09-16 Angus Leeming <leeming@lyx.org>
5451 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5453 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5456 * paragraph.h: remove #include "lyxfont.h". Forward declare
5459 2003-09-16 Angus Leeming <leeming@lyx.org>
5461 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5462 of support/textutils.h.
5463 (isWord): move the contents of support/textutils.h's IsWordChar here.
5469 * text2.C: add #include "paragraph.h".
5472 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5474 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5480 * LaTeX.C: use namespace alias for lyx::support::os
5482 2003-09-16 Angus Leeming <leeming@lyx.org>
5485 * bufferview_funcs.C:
5488 * paragraph_pimpl.C:
5490 * text.C: add #include "LColor.h".
5492 2003-09-16 Angus Leeming <leeming@lyx.org>
5494 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5495 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5497 Store the FontBits::color variable as an int rather than as an
5498 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5501 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5502 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5503 string calls together.
5505 * lyxrc.C: add #include "LColor.h".
5507 2003-09-15 Angus Leeming <leeming@lyx.org>
5509 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5512 2003-09-15 Angus Leeming <leeming@lyx.org>
5514 * LColor.h: add an EnumLColor wrapper for LColor::color.
5516 * lyxfont.[Ch] (color, setColor, realColor):
5517 * lyxtext.h, text.C (backgroundColor):
5518 pass EnumLColor args to/from the functions, rather than LColor::color
5522 * lyxtext.h: forward declare EnumLColor.
5524 * lyx_main.C: add #include "LColor.h".
5526 2003-09-15 Angus Leeming <leeming@lyx.org>
5528 * .cvsignore: add lyx-gtk.
5530 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5535 * ParagraphParameters.C
5539 * bufferview_funcs.C
5549 * vc-backend.C: remove usage of STRCONV
5551 2003-09-15 Angus Leeming <leeming@lyx.org>
5553 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5554 explicitly define the color passed to the painter.
5556 2003-09-15 Angus Leeming <leeming@lyx.org>
5558 * bufferparams.C (BufferParams): reorder member initializers to avoid
5561 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5563 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5564 * text.C (updateRowPositions): remove an unusual nop
5566 2003-09-12 André Pönitz <poenitz@gmx.net>
5568 * BufferView_pimpl.C:
5577 * Counters.[Ch]: finish the 'automatic counters' job
5579 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5581 * aspell.C: include <boost/assert.cpp> (compile fix)
5583 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5585 * boost.C (assertion_failed): use lyx::support::abort instead of
5588 2003-09-10 Angus Leeming <leeming@lyx.org>
5590 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5591 with their _fwd progeny.
5593 2003-09-09 Angus Leeming <leeming@lyx.org>
5595 134 files throughtout the source tree: replace 'using namespace abc;'
5596 directives with the appropriate 'using abc::xyz;' declarations.
5598 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5600 * boost.C (emergencyCleanup): moved here from LAssert.c
5601 (assertion_failed): new function, called by BOOST_ASSERT
5603 * several files: change Assert to BOOST_ASSERT
5605 2003-09-09 Angus Leeming <leeming@lyx.org>
5607 * buffer.[Ch]: Add an Impl class and move Buffer's member
5608 variables into it. As a result move several header files out of
5611 Add header files to lots of .C files all over the tree as a result.
5613 2003-09-09 Angus Leeming <leeming@lyx.org>
5615 * buffer.[Ch]: make Buffer's member variables private. Add
5618 Lots of changes all over the tree as a result.
5620 2003-09-08 Angus Leeming <leeming@lyx.org>
5622 * graph.C: #include <config.h>.
5624 2003-09-08 Angus Leeming <leeming@lyx.org>
5628 * BufferView_pimpl.C:
5657 * toc.C: remove redundant using directives.
5659 2003-09-07 Angus Leeming <leeming@lyx.org>
5661 * LaTeXFeatures.h: remove #include "support/types.h".
5662 * ToolbarBackend.h: remove #include <algorithm>.
5663 * changes.h: remove #include <ctime>.
5664 * debug.h: remove #include <iosfwd>.
5665 * graph.h: remove #include "support/std_string.h".
5666 * lyx_main.h: remove #include <csignal>.
5667 * lyxlex_pimpl.h: remove #include <fstream>.
5668 * sgml.h: remove #include <algorithm>, <utility>.
5669 * toc.h: remove #include "support/std_ostream.h".
5670 Add #include <iosfwd>.
5672 2003-09-07 Angus Leeming <leeming@lyx.org>
5674 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5676 * converter.h: forward declare LatexRunParams.
5677 * encoding.h: remove #include "lyxrc.h".
5678 * lyxtext.h: remove #include "LColor.h".
5679 * lyxtextclass.h: remove #include "support/types.h".
5680 * trans.h: remove #include "tex-accent.h".
5681 * trans_mgr.h: remove #include "tex-accent.h".
5682 * insets/inset.h: remove #include "support/types.h", <vector>.
5683 * insets/insetcollapsable.h: remove #include "LColor.h".
5684 * insets/insetinclude.h: remove #include "dimension.h".
5685 * insets/insetlatexaccent.h: remove #include "dimension.h".
5686 * insets/insetoptarg.h:: remove #include "insettext.h".
5687 * insets/insettext.h: remove #include "dimension.h",
5688 <boost/shared_ptr.hpp>
5690 * insets/renderers.h: add #include "dimension.h".
5691 * insets/updatableinset.h: add #include "support/types.h".
5693 * many .C files: Associated changes.
5695 2003-09-06 Angus Leeming <leeming@lyx.org>
5697 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5698 one, inside testInvariant.
5700 * PrinterParams.C: new file.
5701 * PrinterParams.[Ch]: move the function bodies out of line.
5703 2003-09-06 Angus Leeming <leeming@lyx.org>
5705 * ParagraphParameters.h: forward declare ParameterStruct rather than
5706 including its header file.
5707 (depth): moved out-of-line.
5709 2003-09-06 Angus Leeming <leeming@lyx.org>
5711 * BufferView_pimpl.h:
5714 * lyxfunc.h: forward declare LyXKeySym rather than
5715 #include "frontends/LyXKeySym.h".
5717 * BufferView_pimpl.C:
5720 * lyxfunc.C: associated changes.
5722 2003-09-06 Angus Leeming <leeming@lyx.org>
5724 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5725 As a result, can remove the #include "insets/inset.h" from BufferView.h
5727 2003-09-06 Angus Leeming <leeming@lyx.org>
5729 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5730 As a result, can remove the #include "insets/inset.h" from BufferView.h
5732 2003-09-06 Angus Leeming <leeming@lyx.org>
5738 * bufferview_funcs.C:
5739 * BufferView_pimpl.C:
5744 * ParagraphParameters.C:
5749 * frontends/controllers/ControlDocument.C:
5750 * insets/insetcaption.C: rearrange the #includes into some sort of
5753 * buffer.h: remove #includes ErrorList.h, undo.h
5755 2003-09-06 Angus Leeming <leeming@lyx.org>
5757 * support/types.h: add a 'depth_type' typedef, used to store the
5758 nesting depth of a paragraph.
5761 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5762 defining explicitly.
5765 * paragraph_funcs.h:
5766 * ParagraphParameters.h:
5767 * sgml.h: use lyx::depth_type rather than Paragraph or
5768 ParameterStruct's depth_type.
5771 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5774 * BufferView_pimpl.C:
5776 * ParagraphParameters.C:
5779 * bufferview_funcs.C:
5786 * frontends/LyXView.C:
5787 * frontends/controllers/ControlDocument.C:
5788 * frontends/controllers/ControlErrorList.C:
5789 * insets/insetbibitem.C:
5790 * insets/insetbranch.C:
5791 * insets/insetcaption.C:
5792 * insets/insetcollapsable.C:
5793 * insets/insetenv.C:
5794 * insets/insetert.C:
5795 * insets/insetfloat.C:
5796 * insets/insetfoot.C:
5797 * insets/insetfootlike.C:
5798 * insets/insetnewline.C:
5799 * insets/insetquotes.C:
5800 * insets/insettabular.C:
5801 * insets/insettext.C:
5802 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5804 * frontends/controllers/ControlChanges.C: #include "changes.h".
5806 2003-09-06 Angus Leeming <leeming@lyx.org>
5808 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5809 than #including paragraph.h.
5812 * RowList.h: deleted. Superfluous.
5822 * insets/insettext.h: use ParagraphList_fwd.h rather than
5825 * paragraph.h: don't forward declare ParagraphList.
5828 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5829 rather than ParagraphList.h. paragraph.h is still needed for the
5830 Paragraph::depth_type parameters.
5832 * textcursor.h: enable it to compile stand-alone in light of the
5835 * bufferview_funcs.C:
5847 * frontends/controllers/ControlParagraph.C:
5848 * frontends/controllers/ControlTabular.C:
5849 * insets/insetmarginal.C:
5850 * insets/insetminipage.C:
5851 * insets/insetnote.C:
5852 * insets/insetoptarg.C: add header files needed to compile again.
5854 2003-09-06 Angus Leeming <leeming@lyx.org>
5856 * RowList_fwd.h: new file, forward-declaring Row rather than
5857 #including lyxrow.h.
5862 * insets/insettext.h: use it instead of RowList.h
5864 * bufferview_funcs.C:
5871 * text3.C: #include "RowList.h".
5873 2003-09-05 Angus Leeming <leeming@lyx.org>
5875 * factory.C (createInset):
5876 * vspace.C (c-tor): replace sscanf call with an istringstream.
5877 * ispell.C: re-add missing HP/UX headers.
5878 * lyxserver.C: re-add missing os2 headers.
5880 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5889 * text3.C: re-add missing system headers, needed for 2.95.2.
5891 2003-09-05 Angus Leeming <leeming@lyx.org>
5893 Changes most place everywhere due to the removal of using directives
5894 from support/std_sstream.h.
5896 2003-09-05 Angus Leeming <leeming@lyx.org>
5898 Replace LString.h with support/std_string.h,
5899 Lsstream.h with support/std_sstream.h,
5900 support/LIstream.h with support/std_istream.h,
5901 support/LOstream.h with support/std_ostream.h.
5903 Changes resulting throughout the tree.
5905 2003-09-05 Angus Leeming <leeming@lyx.org>
5907 * sgml.h: ensure that the header file can be compiled stand-alone.
5908 * *.C: strip out redundant #includes. (320 in total.)
5910 2003-09-04 Angus Leeming <leeming@lyx.org>
5912 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5913 here (from getPackages).
5915 * debug.[Ch]: add a new EXTERNAL tag.
5917 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5919 * text2.C (cursorEnd): simplify
5921 (getColumnNearX): adjust
5923 * text.C (computeBidiTables): adjust
5926 * rowpainter.C (paintChars): adjust
5927 (paintSelection): adjust
5928 (paintChangeBar): adjust
5931 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5933 (numberOfSeparators): adjust
5935 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5941 * text3.C: Restricts the mouse click functionality
5942 of insets like bibtex, include, toc and floatlist to the visible
5943 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5944 up the dialogs. Cursor has to be in front of the inset (i.e.
5945 start of row) for this to function.
5947 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5949 * bufferview_funcs.C (currentState): output row information
5951 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5953 * bufferview_funcs.C (currentState): output paragraph position
5955 2003-09-04 Angus Leeming <leeming@lyx.org>
5957 * FloatList.h: move out #include "Floating.h".
5958 * LaTeX.h: move out #include "DepTable.h".
5959 * LyXAction.h: move out #include "funcrequest.h".
5960 * buffer.h: move out #include "author.h", "iterators.h".
5961 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5962 * lyx_main.h: move out #include "errorlist.h".
5963 * lyxfunc.h: move out #include "FuncStatus.h".
5964 * lyxtext: move out #include "lyxcursor.h".
5965 * paragraph_pimpl.h: move out #include "counters.h".
5967 2003-09-03 Angus Leeming <leeming@lyx.org>
5969 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5970 preamble_snippets list, enabling us to add snippets to the preamble
5971 only if the snippet was not there already.
5973 2003-09-04 Angus Leeming <leeming@lyx.org>
5975 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5977 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5979 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5982 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5984 * BranchList.C: point fix, earlier forgotten
5986 2003-09-02 Angus Leeming <leeming@lyx.org>
5988 * box.C (contains): renamed from 'contained' after a fantastic
5991 2003-09-02 John Levon <levon@movementarian.org>
5997 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5999 2003-09-02 John Levon <levon@movementarian.org>
6001 * text2.C: simplification of cursorEnd(), including partial
6004 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6006 * buffer.C (readFile): add a space
6008 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6010 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6012 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6014 * buffer.C (readFile): new function, take a filename and a
6015 ParagraphList::iterator
6017 (readFile): adjust, make it private. don't use setStream, make
6018 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6019 always contain the filename.
6021 * BufferView.C (insertLyXFile): simplify and make it work for
6024 2003-08-30 John Levon <levon@movementarian.org>
6026 * Makefile.am: fix dist (from Kayvan)
6028 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6030 * most files: change to use const Buffer refs
6032 2003-08-27 André Pönitz <poenitz@gmx.net>
6034 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6035 on top of ownerPar().
6037 2003-08-27 John Levon <levon@movementarian.org>
6039 * funcrequest.C: properly initialise POD members
6041 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6043 * lyxtext.h (top_y): move top_y from here
6048 * BufferView_pimpl.[Ch]: to here
6049 * frontends/screen.C:
6050 * insets/insettabular.C:
6051 * insets/insettext.C: adjust
6052 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6054 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6057 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6059 2003-08-26 André Pönitz <poenitz@gmx.net>
6061 * paragraph_func.[Ch] (outerPar): new function
6064 * paragraph_funcs.C:
6065 * paragraph_funcs.h:
6066 * paragraph_pimpl.C:
6067 * text2.C: remove Inset::par_owner
6069 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6074 * text2.C: eliminates the needFullRow/display() stuff
6075 altogether, putting the logic in metrics/draw in the insets.
6077 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6079 * text2.C (redoParagraphInternal, redoParagraphs):
6080 * text.C (redoParagraph): add a call to updateRowPositions at the
6081 end of each 'metrics-like' call. Remove all others.
6082 (getRow): remove the 'y-computing' version.
6083 (getRowNearY): do not compute nor return the real y. Solve the
6084 'y < 0' problem and simplify.
6086 2003-08-22 Angus Leeming <leeming@lyx.org>
6088 * *.[Ch]: clean-up of licence and author blurbs.
6089 Also move config.h out of a few .h files and into a few .C files.
6091 2003-08-22 André Pönitz <poenitz@gmx.net>
6093 * lyxrow.[Ch]: add x_ and *fill_ members
6098 * text2.C: adjust/remove prepareToPrint() calls
6100 2003-08-22 André Pönitz <poenitz@gmx.net>
6102 * lyxrow.[Ch]: add end_ member
6104 * lyxrow_funcs.C: use LyXRow::end_
6106 * lyxtext.h (singleWidth): add LyXFont parameter
6109 * text2.C: adjust LyXText::singleWidth() calls
6111 * text.C (redoParagraph): simplify row breaking logic
6114 2003-08-19 André Pönitz <poenitz@gmx.net>
6116 * funcrequest.C: initialize button_ member
6119 * rowpainter.[Ch]: interface consolidation
6121 2003-08-18 André Pönitz <poenitz@gmx.net>
6124 * BufferView_pimpl.C:
6126 * paragraph_funcs.C:
6128 * text3.C: remove LyXScreen::draw() and fitCursor calls
6130 * BranchList.h: remove spurious semicolons
6132 * MenuBackend.C: fix branchlist related crash
6134 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6142 * bufferparams.[Ch]:
6146 * text3.C: implements the 'branch inset'
6147 idea. This allows the output of various versions of a document
6148 from a single source version, selectively outputing or suppressing
6149 output of parts of the text.
6150 This implementation contains a 'branch list editor' in a separate
6151 tab of the document settings dialog. Branches are user definable
6152 and have a "display colour" to distinguish them on-screen.
6154 ColorHandler was somewhat cleaned up.
6155 (1) make possible a dynamically growing LColor list by allowing
6156 the graphic context cache to grow along (vector);
6157 (2) eliminate an IMHO unnecessary step in colour allocation.
6159 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6161 * BufferView_pimpl.C: compile fix
6163 2003-08-15 André Pönitz <poenitz@gmx.net>
6165 * rowpainter.C: remove extra metrics calls
6167 * lyxtext.h: merge the two constructors into a single one,
6168 pass reference to owner's par list
6170 * BufferView_pimpl.C:
6174 2003-08-15 André Pönitz <poenitz@gmx.net>
6176 * lyxrow_funcs.[Ch]:
6179 * paragraph_funcs.C:
6184 * text_funcs.C: split LyXText::rowlist_ into individual
6185 Paragraph::rows_ chunks
6188 * BufferView_pimpl.[Ch]:
6191 * text3.C: remove toggleSelection()
6193 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6195 * bufferlist.C: beautify two alerts (shorter text of buttons)
6196 * buffer.C: Remove redundant ' ' from message
6198 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6199 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6200 rename VALIGN_CENTER to VALIGN_MIDDLE
6202 2003-08-11 André Pönitz <poenitz@gmx.net>
6204 * lyxtext.h (getPar):
6205 * text.C: new function
6207 2003-08-11 André Pönitz <poenitz@gmx.net>
6210 * tracer.[Ch]: remove unneeded files
6212 * InsetList.[Ch]: remove resizeInsetsLyXText()
6217 * text3.C: merge insertParagraphs() and appendParagraph()
6218 remove breakAgain(), update()
6220 * BufferView_pimpl.[Ch]:
6221 * bufferview_funcs.[Ch]:
6225 * tabular.C: adjust after text & InsetList changes.
6227 2003-08-08 André Pönitz <poenitz@gmx.net>
6229 * text.C (insertChar, backspace): replace rowlist fiddling
6230 with rebreak of full par
6233 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6234 checkParagraph, updateInset): removed
6236 2003-08-07 André Pönitz <poenitz@gmx.net>
6239 * text3.C: merge some LFUN handlers, remove dead code
6241 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6243 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6245 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6247 * text2.C (DEPM): fix part of bug 1255 and 1256
6249 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6251 * BufferView_pimpl.C (workAreaDispatch): change to use
6252 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6253 that are no mouse related.
6255 2003-08-05 André Pönitz <poenitz@gmx.net>
6258 * BufferView_pimpl.[Ch]:
6259 * bufferview_funcs.C:
6261 * text3.C: rip out "deep update"
6263 * textcursor.[Ch] (last_sel_cursor): remove unused member
6265 2003-08-04 André Pönitz <poenitz@gmx.net>
6268 * BufferView_pimpl.[Ch]:
6269 * ParagraphParameters.C:
6270 * bufferview_funcs.C:
6276 * text3.C: replace "complicated" BufferView::update(...) calls with
6279 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6281 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6283 * Makefile.am (lyx_SOURCES): add paper.h
6285 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6287 * Makefile.am: move things around so that both lyx-qt and
6288 lyx-xforms can be built (according to --with-frontend). Then lyx
6289 is a symbolic link to lyx-[firstfrontend]
6291 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6293 * Always use std::endl with lyxerr
6295 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6297 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6299 2003-08-01 André Pönitz <poenitz@gmx.net>
6302 * BufferView_pimpl.[Ch]:
6304 * text3.C: merge BufferView::repaint() and BufferView::update()
6306 2003-08-01 José Matos <jamatos@lyx.org>
6308 * buffer.[Ch]: file_format is no longer a buffer data element.
6310 2003-08-01 André Pönitz <poenitz@gmx.net>
6315 * text2.C: make redoParagraph more independent of current cursor
6317 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6319 * text2.C: remove unneeded members
6321 2003-07-30 André Pönitz <poenitz@gmx.net>
6323 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6325 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6326 create a single function...
6328 * paragraph_funcs.C (moveItem): ... here.
6331 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6333 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6335 * LColor.[Ch]: Add comment and greyedout logical colors.
6337 2003-07-30 André Pönitz <poenitz@gmx.net>
6339 * tabular.C: don't use Assert too heavily. This crashes where it
6342 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6344 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6345 is disabled (bug 1232)
6347 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6349 * factory.C: limited 'arg' scope
6351 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6353 * factory.C: fixed Note submenu issues
6355 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6357 * factory.C: submenu for Note/Comment/Greyedout
6359 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6362 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6364 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6367 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6368 greyedout. Patch provided by Jürgen Spitzmüller.
6370 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6372 * kbmap.C (read): fix error message when reading bind files
6374 2003-07-29 Angus Leeming <leeming@lyx.org>
6376 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6377 certainly does not do what it purports to do. I am doing it, and
6378 us, a favour by killing it.
6380 2003-07-28 José Matos <jamatos@lyx.org>
6382 * buffer.C (readBody, do_writeFile):
6383 * paragraph.C(readParagraph): \end_document replaces \the_end.
6385 2003-07-29 André Pönitz <poenitz@gmx.net>
6388 * BufferView_pimpl.[Ch]:
6392 * textcursor.[Ch]: remove toggleToggle & Co
6394 2003-07-28 José Matos <jamatos@fep.up.pt>
6396 * buffer.C (readParagraph):
6397 * params_func (readParToken, readParagraph):
6398 * paragraph.C (write): \layout -> \begin_layout.
6400 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6402 * lyxlex_pimpl.C (setFile): clean up slightly.
6404 * bufferparams.h: add compressed var
6406 * buffer_funcs.C (readFile): adjust for LyXLex change
6407 (newFile): ditto + simplify
6409 * buffer.C (writeFile): handle writing of compressed files
6411 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6412 Check if the file is compressed and set a bufferparm if so.
6414 * Makefile.am (lyx_LDADD): remove explicit -lz
6416 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6418 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6419 makeDocBookFile): put the real LyX version in the first line of
6423 * version.C.in: remove lyx_docversion
6425 * tabular.C (write_attribute): add a template-based version to
6426 write enums properly
6428 2003-07-28 André Pönitz <poenitz@gmx.net>
6433 * text3.C: use doubles again for x-coordinates. They are needed.
6435 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6437 * messages.C (getLocaleDir): use lyx_localedir()
6439 * lyxlex_pimpl.C (setFile): compress stuff
6441 * buffer.C (writeFile): add some compression stuff
6442 (do_writeFile): new func, dont call expliti close... will this
6445 * Makefile.am (lyx_LDADD): add -lz
6447 2003-07-28 José Matos <jamatos@fep.up.pt>
6449 * buffer.C: increment file format.
6450 * paragraph_funcs (readParagraph, readParToken):
6451 * paragraph.C (readParagraph): add \end_layout.
6453 2003-07-27 Angus Leeming <leeming@lyx.org>
6455 * Makefile.am: remove special casing for configure-time setting of
6456 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6458 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6459 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6461 2003-07-26 André Pönitz <poenitz@gmx.net>
6463 * paragraph_func.[Ch]:
6464 * paragraph.C (realizeFont): inline it whereever it is used
6469 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6472 2003-07-26 André Pönitz <poenitz@gmx.net>
6476 * text2.C: get rid of LyXText::need_break_row
6478 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6480 * toc.[Ch]: put namespace toc inside namespace lyx
6482 * MenuBackend.C (expandToc2): adjust for lyx::toc
6485 * lyxfunc.C (dispatch): adjust for lyx::find
6487 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6488 lyx::find instead. Reorganize a bit.
6489 (LyXReplace): rename to replace
6490 (LyXFind): rename to find
6492 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6495 2003-07-26 André Pönitz <poenitz@gmx.net>
6497 * text.C (setHeightOfRow): restrict scope of temporary variable
6499 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6500 code (never has been used?)
6502 2003-07-27 Asger Alstrup <alstrup@local>
6504 * text.C (fill): Optimise algorithm to exploit that we can reuse
6505 the LyXFont for many characters.
6506 (setHeightOfRow): Same thing.
6507 (rowBreakPoint): Same thing.
6509 2003-07-26 Asger Alstrup <alstrup@local>
6511 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6513 * text.C (singleWidth): Spurious font copying in hot-spot
6514 singleWidth avoided. Reorder tests for arabic for efficiency.
6516 * text.C (fill): handle empty paragraphs better.
6518 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6521 * encoding.h: add includes
6523 * lyxrc.C: remove reading of bind files
6525 * lyx_main.C (init): setup bindings and menus only if we have a
6528 * kbmap.C (read): new method. Do the actual reading of bind
6531 * converter.C (dvipdfm_options):
6534 (output): adapt PAPER_* enums.
6536 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6538 * bufferparams.h: remove paper-related enums from there
6540 * paper.h: New file. A trivial header file to hold paper-related
6541 enums. It should later expand to contain many paper-related
6544 * lyxrc.C: declare extern displayTranslator
6546 2003-07-27 José Matos <jamatos@fep.up.pt>
6548 * tabular.[Ch] (linuxdoc): add support for tables and figures
6551 2003-07-27 José Matos <jamatos@fep.up.pt>
6553 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6554 consistency in both functions.
6555 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6557 2003-07-26 Asger Alstrup <alstrup@local>
6559 * rowpainter.C (paintRows): Change algorithm to work directly on
6560 the insets rather than asking every character in the document
6561 whether its an inset.
6563 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6565 * buffer.C (openFileWrite): factorize some code
6567 2003-07-26 Angus Leeming <leeming@lyx.org>
6570 * lyx_main.[Ch]: replace occurances of system_tempdir with
6573 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6575 * rename Inset to InsetOld
6577 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6579 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6580 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6581 which I think is a bit clearer. EDIT is gone, since it was
6582 premature optimisation, and broken for mathed anyway.
6583 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6584 with cursor positioning in insets as well (math insets still do not
6585 work, but that's a different story anyway.) It mysteriously
6586 crashes sometimes with undo in the first paragraph, but I'm fairly
6587 confident that this is a compiler bug.
6589 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6591 * paragraph.C (Paragraph): adjust for new clone return type
6593 (copyIntoMinibuffer): ditto
6595 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6597 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6598 by not having a special case, and always doing a full rebreak of
6599 the document after undo.
6601 2003-07-23 Angus Leeming <leeming@lyx.org>
6603 * factory.C (createInset): InsetExternal::setParams now takes a
6606 2003-07-23 Angus Leeming <leeming@lyx.org>
6608 * factory.C (createInset): changed interface to the external and
6609 graphics mailers' string2params functions.
6611 2003-07-23 Angus Leeming <leeming@lyx.org>
6613 * factory.C (createInset): pass a
6614 Buffer const * parameter to InsetExternalMailer's string2params.
6616 2003-07-22 John Levon <levon@movementarian.org>
6618 * Thesaurus.h: include the right aiksaurus header
6620 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6622 * MenuBackend.C (expand): check menu shortcuts unconditionally
6624 2003-07-21 Angus Leeming <leeming@lyx.org>
6626 * factory.C (createInset): pass a
6627 buffer_path parameter to InsetGraphicsMailer's string2params.
6629 2003-07-21 Angus Leeming <leeming@lyx.org>
6631 * BufferView_pimpl.C (buffer):
6634 * lyxfunc.C (dispatch):
6635 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6636 rather than the grfx shortcut.
6638 2003-07-21 André Pönitz <poenitz@gmx.net>
6640 * rowpainter.C: remove unused variables
6643 * tabular_funcs.h: move to tabular.C
6644 * Makefile.am: adjust
6646 * tabular.[Ch]: basic optical cleaning
6648 * author.h: pass references, not values
6650 2003-07-18 André Pönitz <poenitz@gmx.net>
6658 * text3.C: two-phase drawing for InsetText and InsetTabular
6659 some float -> int changes.
6661 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6663 * lyx_main.C: fix the fix
6665 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6667 * lyx_main.C: fix a crash in batch mode if no files specified
6670 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6672 * format.[Ch] (papersize): moved to BufferParams
6673 * converter.[Ch] (dvips_options): moved to BufferParams
6674 (dvipdfm_options): moved to anon namespace
6675 * bufferparams.[Ch]: added above functions.
6677 2003-07-17 André Pönitz <poenitz@gmx.net>
6681 * text2.C: don't call inset->update() anymore
6683 * metricsinfo.[Ch]: add convenience constructor
6685 2003-07-16 André Pönitz <poenitz@gmx.net>
6690 * text2.C: replace the LyXCursor::irow_ member with
6691 on-demand computation of the value
6693 2003-07-16 John Levon <levon@movementarian.org>
6695 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6697 2003-07-15 André Pönitz <poenitz@gmx.net>
6700 * text2.C: remove no more needed refresh_row
6702 2003-07-15 André Pönitz <poenitz@gmx.net>
6707 * text3.C: refresh_status tristate -> need_update bool
6709 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6711 * lyxtext.h (init): remove reinit argument (act as if always true)
6712 * text2.C: adjust to that
6714 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6716 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6717 * text3.C: use it to delete selections in some cases
6718 (bugs 441, 673, 702, 954).
6720 2003-07-14 André Pönitz <poenitz@gmx.net>
6722 * rowpainter.[Ch]: reduce interface
6724 2003-07-14 André Pönitz <poenitz@gmx.net>
6726 * BufferView_pimpl.C:
6727 * text2.C: adjust after removing unused BufferView * argument
6729 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6731 * text2.C (init): fix a crash fired on resize
6733 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6735 * buffer.[Ch]: added new closing signal
6736 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6737 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6738 BufferView::Pimpl via the closing the signal
6740 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6742 * buffer.[Ch]: take out all bv-related from buffer
6744 * BufferView_pimpl.[Ch]: connect to new signals
6745 * CutAndPaste.C: removed useless asserts
6746 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6749 * lyxfunc.C: moved view-related funciontality from vc here
6750 * paragraph.C: removed outdated comments
6753 2003-07-10 André Pönitz <poenitz@gmx.net>
6755 * BufferView_pimpl.C:
6759 * text2.C: remove InsetText::InnerCache, clean up consequences
6761 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6763 * ispell.C: fix two typos in error messages
6765 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6767 * Extend Note inset to other forms of annotation like Comment
6768 and Greyedout. Right button click gives dialog.
6770 Files modified or added (+):
6774 * ControlNote.[Ch] +
6776 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6777 frontends/controllers
6781 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6783 * aspell.C: add missing namespace lyx::support
6785 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6787 * BufferView.[Ch] (newFile): Add
6788 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6789 * LaTeX.[Ch] (message): added this signal and use it
6790 * buffer.[Ch] (busy, message): added these signals and use them
6791 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6795 * importer.C: use buffer signals instead of direct bv calling
6796 * lyx_cb.[Ch] (ShowMessage): removed
6799 * paragraph_funcs.C:
6800 * text2.C: use buffer signals
6802 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6804 * introduce namespace lyx::graphics
6806 2003-07-02 André Pönitz <poenitz@gmx.net>
6808 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6810 2003-07-01 André Pönitz <poenitz@gmx.net>
6817 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6818 text*.C to text_func.C
6820 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6822 * introduce namespace lyx::support
6824 2003-06-30 André Pönitz <poenitz@gmx.net>
6829 * text.C: re-enable --with-included-string
6831 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6833 * textcursor.C: add <config.h>
6835 * text.C (getWord): remove const from word_location arg
6837 * lyxvc.C (getLogFile): fix const type order
6839 * lyxtext.h: remove const from word_location arg, add arg name
6841 * lyxlayout.h: currect type on labeltype.
6843 * importer.C: correct \file
6845 * converter.C (intToFormat): use std:: on ret val, ws changes
6847 * bufferlist.h: correct \file
6849 * buffer.C (makeLinuxDocFile): fix const type order
6850 (makeDocBookFile): ditto
6851 (fillWithBibKeys): use std:: on stdlib args.
6853 * CutAndPaste.C: fix authors.
6854 (availableSelections): use std:: on return vector
6856 2003-06-27 André Pönitz <poenitz@gmx.net>
6858 * BufferView_pimpl.C:
6859 * bufferview_funcs.C:
6867 * text3.C: remove LyXCursor::row_ member
6870 * text.C: rename fullRebreak() to partialRebreak() and implement
6871 a fullRebreak() that really bereks fully
6873 * textcursor.h: new struct for cursor-related data
6875 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6877 * lyx_main.C (LyX): get full path of document loaded on the
6880 2003-06-26 André Pönitz <poenitz@gmx.net>
6882 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6883 remove unused/broken operator>,<,>=.
6885 * text.C: remove only use of broken operator<= in an Assert().
6887 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6889 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6890 moved errorlist_.clear to showErrorList
6892 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6894 * converter.C (scanLog, runLaTeX):
6895 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6896 move the bv->showErrorList call to the callers
6897 * lyxfunc.C: i.e. here...
6899 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6900 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6901 namespace, the second to...
6902 * buffer_funcs (BufferFormat, parseErrors): added
6903 * errorlist.C (ErrorList(TeXErrors const &)): removed
6905 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6907 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6909 2003-06-24 "Garst R. Reese" <reese@isn.net>
6913 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6915 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6917 * version.C.in: change docversion to 1.4
6919 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6921 * buffer.C: fix a bug just introduced
6923 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6925 * buffer.[Ch]: added the parseError signal and use it, removed
6927 * BufferView.[Ch] (addError): moved to ...
6928 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6929 to the Buffer::parseError signal to catch (guess what) parse errors
6930 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6932 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6934 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6935 ability to create a buffer and to return an existing one from
6936 the list. Moved these functions to...
6937 * buffer_funcs.[Ch]: added
6938 * BufferView.[Ch] (loadLyXFile): added
6939 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6940 job removed from bufferlist::loadLyXFile.
6941 * buffer.C (setReadOnly): make it work without view
6942 (i.e added an if (users))
6944 2003-06-19 Angus Leeming <leeming@lyx.org>
6947 * LyXAction.C (init):
6948 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6949 with LFUN_DIALOG_SHOW <name> <data>.
6951 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6953 * CutAndPaste.C (availableSelections): small compilation fix for
6954 ancient (gcc 2.9x) compilers
6956 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6958 * text3.C (cursorNext): add tmp var
6960 * text2.C (updateCounters): for function calling out of for clause
6961 (replaceSelectionWithString): ditto
6962 (insertStringAsParagraphs): ditto
6963 (getColumnNearX): add tmp var
6964 (setCursorFromCoordinates): add tmp var
6965 (cursorDownParagraph): add tmp var
6966 (deleteEmptyParagraphMechanism): add tmp var
6968 * text.C (insertChar): add tmp var
6970 * rowpainter.C (paintDepthBar): add tmp var
6972 * CutAndPaste.C (availableSelections): potentially check all
6973 paragraphs in a cut to fill the shown strings.
6975 2003-06-18 André Pönitz <poenitz@gmx.net>
6977 * kbmap.[Ch]: use vector<> instead of list<>
6979 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6981 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6982 pasteSelection with index
6984 * text2.C (pasteSelection): modify, call pasteSelection with index
6986 * paragraph.C (asString): reimplement version with no interval to
6987 call the one with interval.
6989 * lyxtext.h: add index arg to pasteSelection
6991 * MenuBackend.C (MenuItem): handle PasteRecent
6992 (Menu::read::Menutags): add md_pasterecent
6994 (expandPasteRecent): new function
6997 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6999 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7001 (availableSelections): new function
7003 2003-06-17 Angus Leeming <leeming@lyx.org>
7005 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7007 2003-06-17 Angus Leeming <leeming@lyx.org>
7010 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7012 * lyxfunc.C (dispatch): invoke it.
7014 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7016 * iterators.C (operator++, ParPosition): reintroduce some
7017 const_cast for the benefit of older compilers.
7019 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7021 * text3.C (dispatch): do not modify clipboard when doing
7022 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7023 LFUN_DELETE_SKIP on a selection selection
7025 2003-06-16 André Pönitz <poenitz@gmx.net>
7031 * tabular.[Ch]: IU of clone() and getLabelList();
7033 2003-06-13 André Pönitz <poenitz@gmx.net>
7035 * tabular.h: compactification
7037 2003-06-12 André Pönitz <poenitz@gmx.net>
7041 * tabular_funcs.h: some renaming plus whitespace
7043 2003-06-12 André Pönitz <poenitz@gmx.net>
7046 * BufferView_pimpl.C:
7052 * toc.C: Return a Paragraph & for ParIterator::operator*()
7054 2003-06-11 John Levon <levon@movementarian.org>
7058 * ToolbarBackend.C: add "Toolbars" section and
7061 2003-06-10 Angus Leeming <leeming@lyx.org>
7064 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7066 * lyxfunc.C (dispatch): invoke it.
7068 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7070 * main.C: protect <ios> with HAVE_IOS
7071 (main): protect sync_with_stdio with HAVE_IOS
7073 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7075 * text2.C (cutSelection): adjust
7076 (pasteSelection): adjust
7078 * messages.C: handle get of empty string
7080 * main.C (main): use sync_with_stdio(false)
7082 * lyxfunc.C (dispatch): adjust
7084 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7085 (WriteAs): remove unneeded BufferView arg.
7087 * bufferparams.h: use correct types on papersize, papersize2 and
7090 * bufferparams.C (readToken): adjust for type
7091 (writeLaTeX): add missing cases to switch.
7093 * bufferlist.C (quitWriteBuffer): adjust
7096 * buffer.C (asciiParagraph): remove some commented code.
7098 * CutAndPaste.C: remove current_view extern variable.
7099 (cutSelection): add BufferParams arg.
7100 (eraseSelection): add BufferParams arg.
7101 (pasteSelection): add Buffer const & arg
7103 2003-06-07 John Levon <levon@movementarian.org>
7106 * paragraph_funcs.C:
7107 * paragraph_pimpl.C:
7111 * paragraph.C: allow InsetERT to freely space lines,
7112 and some consolidation of code
7114 2003-06-06 José Matos <jamatos@fep.up.pt>
7116 * buffer.C (makeDocBookFile): fix bug #821
7118 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7120 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7122 2003-06-04 Angus Leeming <leeming@lyx.org>
7124 * buffer.C: bump format to 224.
7126 2003-06-05 André Pönitz <poenitz@gmx.net>
7128 * text2.C (redoParagraphs): remove two const_cast<>
7130 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7132 * ParagraphList.h: remove last remnants of NO_STD_LIST
7134 2003-06-03 Angus Leeming <leeming@lyx.org>
7136 * factory.C (createInset): small change to the way InsetExternal's params
7139 2003-06-04 André Pönitz <poenitz@gmx.net>
7141 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7143 * paragraph_pimpl.h:
7144 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7146 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7148 * undo_funcs.C: make some simple cases of undo work again
7150 2003-06-03 John Levon <levon@movementarian.org>
7152 * ispell.C: HPUX doesn't have sys/select.h
7155 2003-06-03 John Levon <levon@movementarian.org>
7157 * CutAndPaste.C: update tabular and include inset
7162 * paragraph.C: remove owningBuffer(), don't pass Buffer
7165 * factory.C: insetGraphicsParams changed
7167 2003-06-02 John Levon <levon@movementarian.org>
7173 * text3.C: remove insetparent
7175 2003-06-02 John Levon <levon@movementarian.org>
7178 * buffer.C: fix inset_iterator.end(), move out of line
7181 2003-06-01 John Levon <levon@movementarian.org>
7183 * text3.C: use a proper cut/paste when doing inset
7184 insert (from Jürgen Spitzmüller)
7186 2003-06-01 John Levon <levon@movementarian.org>
7188 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7190 2003-05-30 André Pönitz <poenitz@gmx.net>
7192 * rowpainter.C: unify second drawing phase
7194 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7196 * trans_mgr.C: remove one case of current_view
7198 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7200 * paragraph_funcs.h: remove paragraph.h include
7202 * paragraph.h: delete NO_STD_LIST stuff
7204 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7206 * buffer.h: remove paragraph.h include
7208 * ParagraphList.C: delete file
7210 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7212 * toc.C (getTocList): adjust
7214 * paragraph_pimpl.C (validate): adjust
7216 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7218 * paragraph.C (Paragraph): adjust
7219 (getPositionOfInset): use const_iterator, adjust
7220 (bibitem): use const_iterator, adjust
7221 (setInsetOwner): adjust
7223 * iterators.C (operator++): adjust
7225 * InsetList.[Ch]: Replace selfmade iterator with standard
7226 vector::iterator also introduce const_iterator. Remove getPos,
7227 getInset and setInset from InsetTable. Adjust accordingly.
7229 * BufferView.C (lockInset): adjust
7230 (ChangeInsets): adjust
7232 * tabular.[Ch]: delete commented same_id functions
7234 2003-05-28 John Levon <levon@movementarian.org>
7236 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7238 2003-05-28 André Pönitz <poenitz@gmx.net>
7240 * metricsinfo.[Ch]: remove 'fullredraw' member
7242 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7244 * lyxtextclass.C (operator): remove caching.
7246 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7250 * text2.C (cursorBottom): adjust
7251 (setCounter): use ParagraphList::find, adjust
7253 * text.C (workWidth): use ParagraphList::find, adjust
7255 * lyxcursor.C (LyXCursor): adjust
7257 * buffer.C (inset_iterator): adjust
7259 * ParagraphList.h: make iterator(value_type) private, make
7260 ParagraphList a friend of iterator.
7262 * ParagraphList.C (find): new function
7264 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7266 2003-05-27 André Pönitz <poenitz@gmx.net>
7268 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7270 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7272 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7274 2003-05-26 John Levon <levon@movementarian.org>
7276 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7278 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7280 * remove same_id from function signatures, adjust.
7282 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7284 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7286 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7288 * paragraph.C (Paragraph): get rid of same_ids parameter
7290 * ParagraphList.C (insert): adjust
7293 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7295 * paragraph_funcs.C (breakParagraph): adjust
7296 (breakParagraphConservative): adjust
7298 * buffer.C (readParagraph): adjust
7300 * ParagraphList.C (insert): take a reference instead of a pointer
7303 * paragraph.[Ch] (id): new function
7305 * bufferlist.C (newFile): adjust
7307 * ParagraphList.C (ParagraphList): adjust
7309 (push_back): take a reference instead of a pointer.
7311 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7313 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7316 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7317 set else use old code.
7319 * ParagraphList.C: remove all NO_NEXT code and only compile this
7320 code of NO_STD_LIST is set.
7322 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7324 * BufferView_pimpl.C:
7334 * graphics/GraphicsConverter.C:
7335 * graphics/PreviewLoader.C: header adjustment
7337 2003-05-23 Angus Leeming <leeming@lyx.org>
7339 * LaTeXFeatures.[Ch] (useBabel): new method.
7340 * bufferparams.C (writeLaTeX): use it.
7342 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7344 * ParagraphList.h (set): remove unused function.
7346 2003-05-23 André Pönitz <poenitz@gmx.net>
7349 * BufferView_pimpl.C:
7353 * undo_funcs.C: setUndo reworked
7355 * iterators.[Ch]: add access to topmost ParagraphList
7357 * lyxtext.[Ch] (workWidth): add a const
7359 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7361 * texrow.[Ch] (increasePos): remove function
7362 * exporter.C (export): removed unused var and outdated comment
7364 2003-05-23 Angus Leeming <leeming@lyx.org>
7366 * latexrunparams.h: rename fragile as moving_arg.
7367 * paragraph.C (simpleTeXOnePar): ditto.
7368 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7370 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7372 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7374 (textUndoOrRedo): comment out a currently unused var.
7376 * paragraph.h (NO_NEXT): enable NO_NEXT
7378 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7380 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7382 * exporter.C (Export): adjust for removeAutoInsets removal.
7384 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7386 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7388 * BufferView.[Ch] (removeAutoInsets): delete function
7390 2003-05-22 Angus Leeming <leeming@lyx.org>
7392 * latexrunparams.h: add a free_spacing variable.
7394 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7395 to pass moving_arg, as the data is stored in runparams.fragile.
7397 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7398 to Inset::latexOptional or to simpleTeXOnePar.
7400 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7401 free_spacing arg to Inset::latexOptional.
7403 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7406 2003-05-22 Angus Leeming <leeming@lyx.org>
7408 * latexrunparams.h: add fragile and use_babel variables.
7410 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7411 * buffer.C (makeLaTeXFile): store this returned value in
7412 runparams.use_babel, thus passing it to the inset::latex methods.
7414 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7415 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7417 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7418 longer has a fragile arg, as it is stored in runparams.fragile.
7420 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7421 moving_arg parameter as the data is stored in runparams.fragile.
7423 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7424 a fragile parameter as the data is stored in runparams.fragile.
7426 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7428 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7430 2003-05-22 Angus Leeming <leeming@lyx.org>
7432 * latexrunparams.h: add a 'bool nice' which defaults to false.
7434 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7435 now encapsulated within runparams.
7437 * bufferlist.C (updateIncludedTeXfiles):
7438 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7440 2003-05-22 Angus Leeming <leeming@lyx.org>
7442 * latexrunparams.h: new file containing struct LatexRunParams.
7443 * Makefile.am: add new file.
7445 * LaTeX.[Ch] (c-tor, run):
7446 * buffer.[Ch] (makeLaTeXFile):
7447 * bufferlist.[Ch] (updateIncludedTeXfiles):
7448 * converter.C (convert, scanLog):
7449 * converter.[Ch] (runLaTeX):
7450 * exporter.C (Export):
7451 * paragraph.[Ch] (simpleTeXOnePar):
7452 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7453 * paragraph_funcs.[Ch] (latexParagraphs):
7454 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7455 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7456 pass around a LatexRunParams parameter.
7458 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7460 * paragraph.[Ch]: remove unused constructor
7462 * ParagraphList.C (erase): new function, taking two iterators
7464 2003-05-22 André Pönitz <poenitz@gmx.net>
7466 * undo_funcs.C: remove duplicated code
7468 * iterator.[Ch]: operator=
7470 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7472 * tabular.C (SetMultiColumn): ws changes
7474 * rowpainter.C (paintFirst): get rid of a ->previous
7476 * lyx_cb.C (getPossibleLabel): parlist simplification
7478 * BufferView.C (ChangeInsets): simplify slightly.
7480 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7482 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7483 * lfuns.h: new LFUN_SPACE
7484 * lyxfunc.C: protected space has a new lfun
7485 * paragraph_funcs.C: read new space insets
7487 * factory.C: handle new space insets
7489 2003-05-22 André Pönitz <poenitz@gmx.net>
7492 * BufferView_pimpl.C:
7495 * undo_funcs.C: return a ParIterator from getParFromID.
7497 * iterators.[Ch]: add two const's
7499 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7501 * toc.C (getTocList): adjust
7503 * iterators.[Ch]: rework for parlist
7505 * buffer.C (par_iterator_begin): adjust
7506 (par_iterator_end): adjust
7508 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7510 * BufferView.C (removeAutoInsets): adjust
7511 (ChangeInsets): adjust
7513 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7515 * text.C (top_y): fix bug 1110
7517 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7519 * errorlist.[Ch]: added
7522 * BufferView_pimpl.C:
7523 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7526 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7528 * Makefile.am: ensure that lyx is relinked upon changes to the
7529 various "convenience" libs.
7531 2003-05-20 Angus Leeming <leeming@lyx.org>
7533 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7534 files are compiled in alphabetical order again.
7536 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7538 2003-05-19 Angus Leeming <leeming@lyx.org>
7540 * gettext.[Ch]: remove "char const * _(char const *)".
7542 2003-05-19 André Pönitz <poenitz@gmx.net>
7544 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7553 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7555 2003-05-19 André Pönitz <poenitz@gmx.net>
7559 * lyxtextclass.[Ch]:
7561 * paragraph_funcs.[Ch]:
7563 * text3.C: more insetenv work
7565 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7567 * ParagraphParameters.C (params2string): small bug fixed
7569 2003-05-16 André Pönitz <poenitz@gmx.net>
7572 * bufferview_funcs.C: patch from Kornel Benko to prevent
7573 crash when _(...) is called twice in a statement
7575 2003-05-16 André Pönitz <poenitz@gmx.net>
7582 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7584 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7586 * lyx_main.C (init): remove spurious static_cast
7588 2003-05-14 André Pönitz <poenitz@gmx.net>
7590 * BufferView.C: fix format string
7592 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7594 * BufferView.[Ch] (insertErrors): removed
7595 * BufferView.[Ch] (showErrorList): added
7596 * buffer.C (runChkTeX):
7597 * converter.C (scanLog): call showErrorList instead of inserterrors
7599 2003-05-13 André Pönitz <poenitz@gmx.net>
7601 * BufferView_pimpl.C:
7603 * bufferview_func.C:
7610 * tabular_funcs.h: tostr() from its own header
7612 * ParagraphParameters.C:
7617 * text3.C: STRCONV()
7619 2003-05-12 André Pönitz <poenitz@gmx.net>
7622 * BufferView_pimpl.C:
7626 * ParagraphParameters.C:
7630 * bufferview_funcs.C:
7643 * paragraph_funcs.C:
7647 * text3.C: boost::format -> bformat all over the place
7650 2003-05-09 André Pönitz <poenitz@gmx.net>
7652 * LColor.[Ch]: Pimpl the #include <map> away
7654 2003-05-09 John Levon <levon@movementarian.org>
7656 * bufferlist.C: never remove emergency saves
7658 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7660 * Makefile.am: better lib building
7662 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7664 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7666 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7667 (simpleTeXSpecialChars): adjust
7668 (simpleTeXSpecialChars): adjust
7669 * paragraph.C (simpleTeXOnePar): adjust
7670 * buffer.C (makeLaTeXFile): adjust
7672 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7674 * text2.C (changeDepth): parlist cleanup
7675 (getColumnNearX): ditto
7677 * rowpainter.C (getLabelFont): parlist cleanup
7679 * bufferlist.C (newFile): parlist cleanup
7681 * CutAndPaste.C (eraseSelection): parlist cleanup
7683 * BufferView_pimpl.C (trackChanges): parlist cleanup
7686 * BufferView.C (lockInset): parlist cleanup.
7687 (ChangeInsets): ditto
7689 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7691 * CutAndPaste.h: Update file header.
7693 * CutAndPaste.C: Update file header.
7694 Store the parts cut out of the Document in a limited_stack.
7695 (copySelection): adjust
7696 (pasteSelection): new function, takes the index in the limited stack.
7697 (nrOfParagraphs): adjust
7698 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7699 simplify error inset insertion.
7700 (checkPastePossible): adjust
7702 2003-05-06 John Levon <levon@movementarian.org>
7704 * text2.C: don't cast wrap inset to float
7706 2003-05-05 André Pönitz <poenitz@gmx.net>
7709 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7711 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7712 few naked Paragraph *.
7714 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7716 * bufferparams.C: Output warning if a document with missing
7717 TeX document class is loaded
7718 * exporter.C: Disable TeX exports if the document class is missing
7721 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7722 isTeXClassAvailable()
7724 2003-05-03 John Levon <levon@movementarian.org>
7727 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7728 explicit cursor show/hide
7730 * BufferView_pimpl.h:
7731 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7732 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7734 * lyxfunc.C: hide cursor before dispatching.
7739 * text3.C: remove explicit cursor hides
7741 2003-05-02 André Pönitz <poenitz@gmx.net>
7743 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7746 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7749 * text2.C: tiny whitespace
7751 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7753 * undo_funcs.C: almost only ws changes.
7755 * ParagraphList.C (splice): just return if pl is empty.
7757 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7759 * ParagraphList.C (splice): new function.
7761 * CutAndPaste.C (pasteSelection): use it
7763 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7765 * CutAndPaste.C (pasteSelection): remove the last next and
7766 previous from this file.
7768 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7770 * CutAndPaste.C (pasteSelection): more clean up, user proper
7771 ParagraphList functions for pasteing.
7773 * ParagraphList.C (insert): new function, three arg insert
7775 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7777 * ParagraphList.C (insert): new function, three arg insert
7779 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7782 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7784 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7786 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7788 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7790 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7792 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7793 (copySelection): clean up a bit.
7794 (pasteSelection): use make_pair
7796 * ParagraphList.C (ParagraphList): implement copy constructor
7797 (operator=): implement, base on copy constructor.
7800 * paragraph.C (erase): return a bool
7802 * paragraph_pimpl.C (erasePos): remove function, move contents...
7803 (erase): ... here. Return a bool.
7804 (erase): call erase instead of erasePos.
7806 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7808 * ParagraphList.h: define PitPosPair
7809 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7810 ParagraphList, fix a bug on pasting multiple pars
7811 * text2.C: change interface to C&P
7813 2003-04-30 André Pönitz <poenitz@gmx.net>
7815 * undo_func.C: revert part of yesterday's patch 2
7817 2003-04-30 John Levon <levon@movementarian.org>
7819 * LColor.C: s/tabular/table/
7821 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7823 * text3.C (dispatch): do not convert iterator -> pointer
7824 * undo_funcs.C (setCursorParUndo): ditto
7825 * text_funcs.C (transposeChars): ditto
7827 * text2.C (setLayout): ws changes only
7829 * text.C (breakParagraph): do not convert iterator -> pointer
7831 (acceptChange): ditto
7832 (rejectChange): ditto
7837 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7840 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7842 * text3.C (gotoInset): YABG (yet another bad getChar)
7844 2003-04-29 André Pönitz <poenitz@gmx.net>
7846 * paragraph.h: make operator= private unimplemented as long as
7849 * ParagraphList.C: whitespace
7852 * paragraph_pimpl.[Ch]:
7853 * paragraph_funcs.C:
7855 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7858 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7860 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7862 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7863 * paragraph.[Ch] (erase):
7864 * paragraph_pimpl.[Ch] (erase): change return type and value
7865 * text2.C (cutSelection): some rework
7867 2003-04-28 John Levon <levon@movementarian.org>
7869 * bufferlist.C: changes for unsaved changes dialog
7871 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7873 * bufferlist.C (newFile): set language (messages_) for new
7876 * buffer.C (readFile): ws changes only.
7878 2003-04-28 André Pönitz <poenitz@gmx.net>
7883 * BufferView_pimpl.C:
7884 * BufferView.C: getParFromID related ParagraphList::iterator changes
7886 2003-04-28 André Pönitz <poenitz@gmx.net>
7888 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7891 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7893 * messages.C: remove one more localedir class variable.
7895 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7897 * messages.C (getLocaleDir): singleton generation function
7899 (Messages): add a default constructor.
7901 * main.C (main): do not setup localedir here, do not call
7904 * gettext.C (_): use it.
7905 (gettext_init): delete funciton
7907 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7909 * gettext.C (getLyXMessages): new singleton generating function.
7911 * buffer.C (updateDocLang): adjust
7913 * Makefile.am (messages.o): add target
7914 (main.o): remove target
7916 2003-04-27 John Levon <levon@movementarian.org>
7921 * lyxvc.C: specify cancel button in Alert::prompt
7923 2003-04-26 John Levon <levon@movementarian.org>
7928 * LyXAction.C: add LFUN_INSET_SETTINGS
7930 * lyxfunc.C: don't enable tabular-feature when there's
7931 just any locking inset
7933 2003-04-26 John Levon <levon@movementarian.org>
7935 * bufferlist.C: re-add Cancel to buffer close question
7937 * lyxfunc.C: fix import UI a bit
7939 2003-04-25 John Levon <levon@movementarian.org>
7941 * gettext.C: remove the broken asserts for now
7943 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7945 * messages.C: make case where setlocale cannot comply work better.
7947 * buffer.C (updateDocLang): new function
7948 (changeLanguage): use it
7951 * text2.C (setCounter): use B_ a bit.
7953 * lyxlayout.C (Read): be sure to trim the label strings.
7955 * messages.C (Messages): fix typo in comment
7957 * buffer.C (readFile): set message_ after file is loaded.
7958 (makeDocBookFile): remove double return
7959 (changeLanguage): reset message_ upon language change.
7960 (B_): new func, use this to get translated buffer strings.
7962 * main.C: add myself and Jean Marc as authors.
7964 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7966 * messages.[hC]: pimplify Messages, and three different pimpls to be
7967 used in different circumstances.
7969 * gettext.[Ch]: change for use with new message code.
7971 2003-04-24 André Pönitz <poenitz@gmx.net>
7973 * factory.C: support for eqref
7975 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7977 * messages.[Ch]: add missing char
7979 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7981 * messages.[Ch]: New files
7983 2003-04-18 John Levon <levon@movementarian.org>
7987 * BufferView_pimpl.C:
7991 * text2.C: remove layout-copy/paste (bug 778)
7993 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7995 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7997 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7999 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8000 if they succeed. Act accordingly.
8002 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8004 * text2.C (setCharFont): adjust
8005 (setCounter): adjust
8006 (insertStringAsLines): adjust
8008 * text.C (leftMargin): adjust
8009 (setHeightOfRow): adjust
8011 * rowpainter.C (paintFirst): adjust
8014 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8016 (isFirstInSequence): ditto
8017 (getEndLabel): ditto
8020 * paragraph.C (getParLanguage): comment out some hard stuff.
8022 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8024 (simpleDocBookOnePar): ditto
8025 (makeDocBookFile): use ParagraphList::iterator
8027 * CutAndPaste.C (pasteSelection): adjust
8029 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8031 * text2.C (getFont): adjust
8032 (getLayoutFont): adjust
8033 (getLabelFont): adjust
8035 * paragraph_funcs.C (TeXOnePar): adjust
8037 * buffer.C (simpleLinuxDocOnePar): adjust
8038 (simpleDocBookOnePar): adjust
8040 * CutAndPaste.C (pasteSelection): adjust
8042 * BufferView.C (getEncoding): adjust
8044 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8046 2003-04-16 John Levon <levon@movementarian.org>
8048 * lyxfind.C: use parlist stuff for search/changes
8050 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8052 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8054 * text2.C (deleteEmptyParagraphMechanism): adjust
8056 * text2.[Ch] (ownerParagraph): delete func (both of them
8058 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8060 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8062 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8064 * ParagraphList.C: prepare for NO_NEXT
8066 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8068 * text2.C (getFont): adjust
8069 (getLayoutFont): adjust
8070 (getLabelFont): adjust
8072 * paragraph.C (getFont): adjust
8073 (getLabelFont): adjust
8074 (getLayoutFont): adjust
8076 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8078 2003-04-15 John Levon <levon@movementarian.org>
8082 * lyx_main.C: handle Include in .ui files
8084 2003-04-15 John Levon <levon@movementarian.org>
8086 * MenuBackend.C: make the doc files length shorter
8089 * ToolbarBackend.C: handle toolbar placement flags,
8092 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8094 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8097 * paragraph_funcs.C (TeXOnePar): adjust
8099 * paragraph.C (getLabelFont): add outerfont arg, adjust
8100 (getLayoutFont): ditto
8101 (simpleTeXOnePar): adjust
8103 * paragraph_pimpl.C (realizeFont): delete func
8105 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8107 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8108 row argument, constify cur argument.
8110 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8112 * text2.C (getFont): adjust
8113 (getLayoutFont): adjust
8114 (getLabelFont): adjust
8116 * paragraph_funcs.C (TeXOnePar): adjust
8117 (outerFont): new func...
8118 (realizeFont): ...moved out from here, changed this to facilitate
8121 * paragraph.C (getFont): take outerfont as arg, adjust
8122 (simpleTeXOnePar): add outerfont arg, adjust
8124 * buffer.C (simpleLinuxDocOnePar): adjust
8125 (simpleDocBookOnePar): adjust
8127 * CutAndPaste.C (pasteSelection): adjust
8129 * BufferView.C (getEncoding): adjust
8131 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8133 * text2.C (setCharFont): adjust
8134 (setCounter): adjust
8136 * text.C (leftMargin): adjust
8137 (setHeightOfRow): adjust
8139 * rowpainter.C (paintFirst): adjust
8142 * paragraph_pimpl.C (realizeFont): adjust
8144 * paragraph.C (isFirstInSequence): move from here...
8145 * paragraph_funcs.C (isFirstInSequence): ...to here
8147 * paragraph.C (outerHook): move from here...
8148 * paragraph_funcs.C (outerHook): ...to here
8150 * paragraph.C (depthHook): move from here...
8151 * paragraph_funcs.C (depthHook): ...to here
8153 * paragraph.C (getEndLabel): move from here...
8154 * paragraph_funcs.C (getEndLabel): ...to here
8156 * text2.C (realizeFont): move from here...
8157 * paragraph_funcs.C (realizeFont): ...to here
8159 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8161 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8163 2003-04-14 Angus Leeming <leeming@lyx.org>
8165 * LColor.[Ch]: scrap LColor mathcursor.
8167 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8169 * lyxlex.[Ch] (text): delete function
8170 * trans.C (Load): adjust
8171 * paragraph_funcs.C (readParToken): adjust
8173 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8175 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8176 vector<char> instead of a char[].
8178 * lyxlex_pimpl.C (getString): adjust
8180 (lex): use getString
8184 * lyxlex.C (text): use pimpl_->getString()
8188 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8190 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8191 (makeFontEntriesLayoutSpecific): temp var for par.size()
8192 (setLayout): temp var for ownerParagraphs().end()
8193 (fullRebreak): temp var for rows().end()
8194 (selectionAsString): temp var for boost::next(startpit), realize
8195 that the while really is a regular for loop.
8196 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8197 setCursor in one place.
8198 (setParagraph): temp vr for ownerParagraphs().end()
8199 (updateCounters): make the while loop a for loop
8200 (cutSelection): temp var for ownerParagraphs().end()
8201 (updateInset): make the do {} while() a regular for loop
8202 (getCursorX): use temp vars
8203 (setCurrentFont): use temp vars
8204 (getColumnNearX): use temp vars
8206 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8208 * text.C (transformChar): use temp var for getChar
8209 (computeBidiTables): use temp var for row->par()
8210 (fill): move temp vars for row->par() and pit->layout() earlier in
8212 (labelFill): use temp var for row->par()
8213 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8214 asc and desc, realize that pit never changes and that firstpit is
8215 just a duplicate and not needed. Exchange rit->par() with pit in a
8217 (breakAgain): use a temp var for boost::next(rit)
8218 (breakAgainOneRow): ditto
8219 (breakParagraph): use a temp var for rows().begin()
8220 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8221 (cursorRightOneWord): use temp var for cursor.par() and
8222 cursor.pos(), remove usage of tmpcursor.
8223 (cursorLeftOneWord): use temp var for cursor.par() and
8224 cursor.pos() only set cur at end of function.
8226 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8228 * text.C, text2.C: exchange all usage of Paragraph::next with
8229 boost::next(ParagraphList::iterator)
8231 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8233 * text2.C (cursorTop): simplify implementation
8234 (cursorBottom): ditto
8235 (setParagraph): use ParagraphList::iterator
8236 (setCurrentFont): adjust
8237 (getColumnNearX): adjust
8238 (cursorRight): adjust
8239 (cursorLeft): remove usage of Paragraph::previous
8240 (cursorUpParagraph): ditto
8241 (deleteEmptyParagraphMechanism): slight cleanup
8243 * text.C (isBoundary): take a Paragraph const & instead of a
8245 (addressBreakPoint): ditto
8246 (leftMargin): remove usage of Paragraph::previous.
8247 (setHeightOfRow): ditto
8248 (cursorLeftOneWord): ditto
8249 (selectNextWordToSpellcheck): ditto
8252 (breakParagraph): remove one usage of Paragraph::next
8253 (redoParagraph): ditto
8254 (acceptChange): ditto
8255 (insertChar): adjust
8256 (rowBreakPoint): adjust
8258 * bufferview_funcs.C (toggleAndShow): adjust
8260 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8262 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8263 methods to access it.
8265 * text.C: Added updateRowPositions to compute all row positions.
8266 Make top_y and getRowNearY() to use the cached y position
8268 2003-04-11 John Levon <levon@movementarian.org>
8270 * text.C (rowBreakPoint): reintroduce the labelEnd
8271 checks, code copied from the row fill stuff. Deep voodoo.
8273 * text.C (fill): add a comment and debugging for the
8276 2003-04-11 John Levon <levon@movementarian.org>
8278 * text.C: make sure fullrow insets get wrapped to the next line,
8279 even when they're in a manual label
8281 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8283 * text2.C (insertParagraph): make it take ParagraphList::iterator
8285 (setLayout): make it return ParagraphList::iterator
8286 (redoParagraphs): ditto
8288 (checkParagraph): ditto
8290 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8292 * text2.C: adjust several funcs.
8293 (realizeFont): take a ParagraphList::iterator as arg.
8294 (getLayoutFont): ditto
8295 (getLabelFont): ditto
8296 (setCharFont): ditto
8298 * text.C: adjust several funcs.
8300 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8302 * text.C (selectNextWordToSpellcheck): don't accidentally
8305 2003-04-10 John Levon <levon@movementarian.org>
8307 * ToolbarBackend.C (getIcon): special handling for
8310 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8312 * text2.C (cursorRight): a getChar assert fixed
8314 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8316 * text2.C (getFont): change to take a ParagraphList::iterator
8317 instead of Paragraph*
8318 Adjust several functions.
8320 * text.C (transformChar): change to take a ParagraphList::iterator
8321 instead of Paragraph*
8322 (singleWidth): ditto
8323 Adjust several functions.
8325 * rowpainter.C: adjust several functions
8326 * rowpainter.h:store a ParagraphList::iterator and not a
8330 2003-04-09 John Levon <levon@movementarian.org>
8335 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8336 and the "help" bits as well
8338 2003-04-09 John Levon <levon@movementarian.org>
8341 * ToolbarBackend.C: allow multiple toolbars
8343 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8345 * undo_funcs.C (setCursorParUndo): adjust
8347 * text_funcs.C (transposeChars): adjust
8349 * text3.C (gotoNextInset): adjust
8352 * text2.C (setLayout): adjust
8353 (changeDepth): adjust
8355 (redoParagraphs): adjust
8356 (selectionAsString): adjust
8357 (setParagraph): adjust
8358 (insertInset): adjust
8359 (cutSelection): adjust
8360 (copySelection): adjust
8361 (pasteSelection): adjust
8362 (insertStringAsLines): adjust
8363 (updateInset): adjust
8364 (setCursor): change to take a ParagraphList::iterator parameter
8365 (setCursorIntern): change to take a ParagraphList::iterator parameter
8366 (setCurrentFont): adjust
8367 (cursorLeft): adjust
8368 (cursorRight): adjust
8369 (deleteEmptyParagraphMechanism): adjust
8371 * text.C (breakParagraph): adjust
8372 (insertChar): adjust
8373 (acceptChange): adjust
8374 (rejectChange): adjust
8375 (selectNextWordToSpellcheck): adjust
8376 (changeCase): adjust
8380 * lyxfind.C (SearchForward): adjust
8381 (SearchBackward): adjust
8382 (nextChange): adjust
8384 * lyxcursor.C (par): adjust
8386 * lyxcursor.h: store a ParagraphList::iterator instead of a
8389 * lyx_cb.C (getPossibleLabel): adjust
8391 * bufferview_funcs.C (toggleAndShow): adjust
8393 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8396 * BufferView.C (removeAutoInsets): adjust
8397 (lockedInsetStoreUndo): adjust
8399 2003-04-09 John Levon <levon@movementarian.org>
8401 * ToolbarBackend.C: try icon without argument
8402 if with argument fails
8404 2003-04-08 John Levon <levon@movementarian.org>
8407 * ToolbarBackend.C: add getIcon(), handle tooltip,
8408 and change from "Icon" to "Item".
8410 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8412 * BufferView.C (lockInset): another bad getchar crunched
8414 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8416 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8419 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8421 * lyxfind.C (searchForward, searchBackwards): bug 782
8423 2003-04-07 John Levon <levon@movementarian.org>
8425 * paragraph.C: remove dead comment
8427 * text.C: remove troublesome depth-fiddling code
8428 in leftMargin() and rightMargin() (bug 1017)
8430 * text.C: fix breaking of rows in nested lists
8433 * text2.C (updateCounters): fix up depth values
8436 2003-04-07 John Levon <levon@movementarian.org>
8438 * BufferView_pimpl.C: clear message when doc finishes resizing,
8439 and after a mouse event
8441 * lyxfunc.C: clear message after exiting inset
8443 2003-04-07 John Levon <levon@movementarian.org>
8445 * bufferview_funcs.C: show math status not outside
8446 status in the statusbar
8448 2003-04-07 John Levon <levon@movementarian.org>
8450 * lyxfunc.C: note status changed after a depth change
8452 2003-04-04 Angus Leeming <leeming@lyx.org>
8454 * LaTeX.h: move AuxInfo operator==, != out of line.
8455 Remove LaTeX virtual destructor; nothing derives from it.
8456 Move operator()() out of public area and rename it startscript().
8457 Change protected for private.
8459 2003-04-04 Angus Leeming <leeming@lyx.org>
8462 * text2.C: remove unneeded #includes.
8464 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8466 * text2.C (dEPM): fix the heigth of the next row
8468 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8470 * text.C: squashed an invalid getChar requester + some ws changes
8472 2003-04-03 John Levon <levon@movementarian.org>
8474 * bufferview_funcs.h:
8475 * bufferview_funcs.C:
8478 * text2.C: make getStatus work for the env depth lfuns
8480 2003-04-03 John Levon <levon@movementarian.org>
8482 * bufferview_funcs.h:
8483 * bufferview_funcs.C:
8486 * text2.C: parlistize decDepth(), by merging it with incDepth()
8488 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8490 * lyxrow.h: store a ParagraphList::iterator instead of a
8491 Paragraph* and adjust other class functions to suit.
8493 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8496 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8498 * text2.C (setCursor): do not anchor to cursor row for the time being
8500 2003-04-02 John Levon <levon@movementarian.org>
8507 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8509 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8511 * paragraph.h: make ParagraphList and ParagraphList::iterator
8512 friends of Paragraph.
8514 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8516 * ParagraphList.C: Use the private next_ and previous_ from
8519 2003-04-01 John Levon <levon@movementarian.org>
8523 * Makefile.am: rename, remove defaults gunk
8526 * MenuBackend.C: remove defaults gunk
8529 * Languages.C: remove defaults gunk
8532 * lyx_main.C: error out if files couldn't be found.
8534 2003-04-02 John Levon <levon@movementarian.org>
8536 * text2.C: make incDepth() use parlist
8538 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8540 * undo_funcs.C (firstUndoParagraph): adjust
8542 * text3.C (gotoInset): adjust
8543 (dispatch): adjust, and rewrite loop.
8545 * text2.C (init): adjust, and rewrite loop.
8546 (redoParagraphs): adjust
8547 (updateInset): adjust, and rewrite loop.
8548 (deleteEmptyParagraphMechanism): adjust
8550 * tabular.C (LyXTabular): adjust
8551 (SetMultiColumn): adjust
8554 * lyxtext.[Ch] (ownerParagraph): delete function
8555 (ownerParagraphs): new function returns a ParagraphList.
8557 * BufferView.C (removeAutoInsets): adjust
8558 (insertErrors): adjust
8559 (setCursorFromRow): adjust
8561 2003-04-01 Angus Leeming <leeming@lyx.org>
8563 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8566 2003-04-02 John Levon <levon@movementarian.org>
8572 * text_funcs.C: make transposeChars a free function
8574 * lyxrow_funcs.C: remove wrong comment
8576 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8579 * rowpainter.C: adjust
8584 * lyxrow_funcs. [Ch]: new files
8586 * lyxrow.[Ch]: remove next and previous pointers
8587 (next,previous): remove accessor functions
8588 (isParEnd): move to lyxrow_funcs
8589 (lastPos): move to lyxrow_funcs
8590 (nextRowIsAllInset): move to lyxrow_funcs
8591 (lastPrintablePos): move to lyxrow_funcs
8592 (numberOfSeparators): move to lyxrow_funcs
8593 (numberOfHfills): move to lyxrow_funcs
8594 (numberOfLabelHfills): move to lyxrow_funcs
8595 (hfillExpansion): move to lyxrow_funcs
8599 * bufferview_funcs.C (toggleAndShow): adjust
8601 * RowList.h: Remove class RowList from file leave just a
8604 * RowList.C: delete file
8606 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8609 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8611 * text3.C (cursorPrevious): adjust
8612 (cursorNext): adjust
8615 * text2.C (redoHeightOfParagraph): adjust
8616 (redoDrawingOfParagraph): adjust
8619 * text.C (breakParagraph): adjust
8620 (insertChar): adjust
8623 * rowpainter.C (RowPainter): adjust
8624 (leftMargin): simplify and adjust
8625 (most rowpainter functions): adjust.
8627 * rowpainter.h: store the row as RowList::iterator not as Row*
8629 * lyxcursor.C (row): taka RowList::iterator as arg
8632 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8635 2003-04-01 Angus Leeming <leeming@lyx.org>
8637 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8638 stuff like bool Bool.
8640 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8642 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8645 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8647 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8650 * lyxtext.h (rows): drop one version and leve a const variant that
8651 returns a RowList::iterator.
8653 2003-03-31 Angus Leeming <leeming@lyx.org>
8655 * text.C (fill): ensure that the signature is the same as that in the
8658 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8660 * text2.C (redoParagraphs): adjust
8661 (updateCounters): adjust
8662 (checkParagraph): adjust
8663 (getColumnNearX): adjust and reformat a bit.
8665 * text.C (top_y): adjust
8667 (leftMargin): adjust
8668 (prepareToPrint): adjust
8670 (getRowNearY): adjust
8672 * lyxtext.h: make rowlist_ mutable.
8674 * RowList.h: add const_iterator
8675 * RowList.C: adjust for RowList::const_iterator.
8677 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8680 2003-03-31 John Levon <levon@movementarian.org>
8683 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8685 * lyx_main.C: set default fonts from using lyx_gui funcs
8687 * exporter.C: pdf_mode moved from lyxrc
8690 * lyxfunc.C: changes from above
8692 2003-03-31 John Levon <levon@movementarian.org>
8694 * lyx_main.C: fix to the last fix
8696 2003-03-31 John Levon <levon@movementarian.org>
8698 * bufferlist.C: "Load original" -> "Load Original"
8704 * format.C: more Alert cleanups
8706 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8708 * text2.C (removeParagraph): make it take a RowList::iterator as
8710 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8711 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8713 * text.C (anchor_row): make it take a RowList::iterator as arg,
8715 (computeBidiTables): make it take a const reference to Row instead
8716 of Row pointer, adjust.
8717 (leftMargin): make it take a RowList::iterator as arg, adjust.
8718 (rowBreakPoint): adjust
8719 (breakAgainOneRow): make it take a RowList::iterator as arg,
8721 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8723 * bufferview_funcs.C (toggleAndShow): adjust
8725 2003-03-30 John Levon <levon@movementarian.org>
8729 * boost-inst.C: moved to support
8731 * several files: changes as a result
8733 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8735 * text2.C (LyXText): adjust.
8737 (removeRow): make it take a RowList::iterator as arg, adjust.
8738 (fullRebreak): adjust
8739 (deleteEmptyParagraphMechanism): adjust
8740 (clearPaint): adjust
8743 * text.C (top_y): adjust
8744 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8745 (breakAgain): make it take a RowList::iterator as arg, adjust.
8746 (breakParagraph): adjust
8747 (insertChar): adjust
8750 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8751 need_break_row, and refresh_row.
8753 * text3.C (dispatch): adjust
8755 * text2.C (checkParagraph): adjust
8757 (setCursorFromCoordinates): adjust
8759 * text.C (top_y): adjust
8761 (getRow): make it return a RowList::iterator, adjust
8762 (getRowNearY): make it return a RowList::iterator, adjust
8764 * text2.C (init): adjust
8765 (insertRow): remove function
8766 (insertParagraph): adjust
8767 (redoParagraphs): adjust
8768 (fullRebreak): adjust
8769 (updateCounters): adjust
8771 * text.C (top_y): rewrite to use RowList iterators.
8773 (setHeightOfRow): rewrite to sue RowList iterators.
8774 (appendParagraph): adjust
8775 (breakAgain): adjust
8776 (breakAgainOneRow): adjust
8777 (breakParagraph): adjust
8779 (getRowNearY): adjust, and remove commented code.
8781 * lyxtext.h (firstRow): delete function
8782 (lastRow): delete function
8783 (rows): new function (const and non-const versions.)
8784 (insertRow): delete function
8786 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8788 2003-03-29 John Levon <levon@movementarian.org>
8790 * BufferView_pimpl.C: always update scrollbar top
8791 because pasting text when we're anchored could mean we
8792 miss an update altogether
8794 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8796 * text2.C (init): use rowlist_.end() and not 0.
8797 (insertRow): change to take a RowList::iterator as arg, adjust
8799 (insertParagraph): change to take a RowList::iterator as arg,
8801 (redoParagraphs): remove some debug msgs.
8803 * text.C (appendParagraph): change to take a RowList::iterator
8804 arg, adjust for this.
8805 (breakAgain): add an assert
8806 (breakAgainOneRow): ditto
8808 2003-03-29 John Levon <levon@movementarian.org>
8810 * text2.C: do not clear selection after inc/decDepth
8813 2003-03-29 John Levon <levon@movementarian.org>
8816 * buffer.C: fix broken strerrors according to Lars
8818 2003-03-29 John Levon <levon@movementarian.org>
8820 * converters.C: more Alert cleanups
8822 2003-03-29 John Levon <levon@movementarian.org>
8824 * bufferview_funcs.C: remove pointless Alert
8826 * buffer.C: fix confusing error message when
8827 a template is chmoded 000
8829 2003-03-29 John Levon <levon@movementarian.org>
8833 * BufferView_pimpl.C: Alert fixes
8837 * tabular-old.C: remove unused table compat reading
8839 2003-03-29 John Levon <levon@movementarian.org>
8844 * lyx_cb.C: more Alert cleanups
8846 * lyxfunc.C: don't allow chktex if not latex document
8848 2003-03-29 John Levon <levon@movementarian.org>
8852 * buffer.C: warnings pushed down from support/,
8855 2003-03-29 John Levon <levon@movementarian.org>
8857 * lyxfunc.C: safety check for C-r (revert)
8859 2003-03-29 John Levon <levon@movementarian.org>
8862 * bufferlist.C: several UI fixes using Alert::prompt.
8863 Fix the pointless looping quit code. Fix stupid revert
8868 * lyx_cb.C: use Alert::prompt
8870 * lyx_main.C: remove a silly question
8872 * lyxfunc.C: remove a couple of silly questions,
8875 2003-03-28 John Levon <levon@movementarian.org>
8877 * text2.C: fix bug 974 (End on empty par)
8879 2003-03-28 John Levon <levon@movementarian.org>
8881 * BufferView_pimpl.C:
8883 * lfuns.h: remove do-nothing math greek lfuns
8885 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8887 * lyxgluelength.h (isValidGlueLength): add default arg on
8888 parameter 2. Remove default arg from friend in class.
8890 * lyxlength.h (isValidLength): add default arg on parameter 2.
8891 Remove default arg from friend in class.
8893 * text2.C (LyXText): adjust, initialize refresh_row.
8897 (insertParagraph): adjst
8898 (redoParagraphs): adjust
8899 (fullRebreak): adjust
8900 (updateCounters): adjust
8901 (deleteEmptyParagraphMechanism): first attempt at fixing a
8904 * text.C (top_y): adjust
8905 (setHeightOfRow): adjust
8907 (getRowNearY): adjust
8909 * lyxtext.h: include RowList.h
8910 (~LyXText): not needed anymore, deleted.
8911 (firstRow): modify for RowList
8912 (lastRow): new function
8913 Delete firstrow and lastrow class variables, add a Rowlist
8914 rowlist_ class variable.
8916 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8919 * RowList.C (insert): fix case where it == begin().
8921 2003-03-26 Angus Leeming <leeming@lyx.org>
8923 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8924 the thesaurus dialog.
8926 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8928 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8930 * RowList.[Ch]: new files
8932 * ParagraphList.C (erase): handle the case where it == begin
8935 2003-03-25 John Levon <levon@movementarian.org>
8939 * aspell.C: add new aspell support
8942 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8945 2003-03-25 Angus Leeming <leeming@lyx.org>
8948 * LyXAction.C (init): new LFUN_INSET_INSERT.
8950 * BufferView_pimpl.C (dispatch): split out part of the
8951 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8953 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8956 2003-03-25 Angus Leeming <leeming@lyx.org>
8958 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8960 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8963 * text3.C: remove useless row->height(0)
8965 2003-03-25 John Levon <levon@movementarian.org>
8969 * text3.C: rename the refreshing stuff to better names
8971 2003-03-24 John Levon <levon@movementarian.org>
8973 * BufferView_pimpl.h:
8974 * BufferView_pimpl.C: update layout choice on a mouse
8977 2003-03-23 John Levon <levon@movementarian.org>
8979 * Makefile.am: fix commandtags.h reference
8981 2003-03-22 John Levon <levon@movementarian.org>
8983 * BufferView_pimpl.C:
8988 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8990 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8993 * text.C: take the rtl methods out of line
8995 2003-03-21 André Pönitz <poenitz@gmx.net>
8997 * metricsinfo.[Ch]: new files containing structures to be passed around
8998 during the two-phase-drawing...
9000 2003-03-21 André Pönitz <poenitz@gmx.net>
9002 * lyxtextclass.C: read 'environment' tag.
9004 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9006 * text2.C (removeRow): fix bug 964
9008 2003-03-20 John Levon <levon@movementarian.org>
9012 * text2.C: paint cleanups. Inset::update() dropped font
9015 2003-03-19 John Levon <levon@movementarian.org>
9017 * lyxfunc.C: only fitcursor/markDirty if available()
9019 2003-03-19 John Levon <levon@movementarian.org>
9021 * commandtags.h: rename to ...
9023 * lfuns.h: ... this, and renumber / cleanup
9025 2003-03-19 John Levon <levon@movementarian.org>
9027 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9028 fit the cursor after an lfun
9032 * BufferView_pimpl.h:
9033 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9035 * LyXAction.C: layout-character should have ReadOnly
9037 * ParagraphParameters.C:
9039 * bufferview_funcs.C:
9046 * undo_funcs.C: changes from above
9048 2003-03-18 John Levon <levon@movementarian.org>
9050 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9051 remove it from update()
9053 * lyxfunc.C: update layout choice after an lfun
9055 * text3.C: remove extra updateLayoutChoice()s
9057 2003-03-18 John Levon <levon@movementarian.org>
9059 * text.C: top_y change means full repaint, fix
9060 a drawing bug with cursor movement
9062 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9066 * text2.C: anchor row on setCursor
9068 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9070 * lyxtext.h: remove almost all mutable keywords
9073 * text3.C: remove const keywords accordingly
9075 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9077 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9079 (TeXEnvironment): ditto
9082 2003-03-17 John Levon <levon@movementarian.org>
9084 * text.C (rowBreakPoint): remove attempt to fix displayed
9085 math insets inside a manual label
9087 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9089 * lyxtext.h: remove BufferView* as first arg from almost all class
9091 * other files: adjust.
9093 2003-03-17 John Levon <levon@movementarian.org>
9097 * text2.C: more paint cleanups
9099 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9102 * rowpainter.C: remove "smart" background painting code
9104 2003-03-16 John Levon <levon@movementarian.org>
9109 * text3.C: add helper functions for setting refresh_row/y
9111 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9113 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9114 newline inset which *can* get inserted in the pass_thru layouts.
9115 This is primarily for literate documents.
9117 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9119 * buffer.C: increment LYX_FORMAT to 223
9121 2003-03-14 André Pönitz <poenitz@gmx.net>
9123 * textclass.h: prepare for environment handling, ws changes
9124 * lyxlayout.C: read latexheader and latexfooter tags
9126 2003-03-14 John Levon <levon@movementarian.org>
9128 * text2.C: rewrite ::status() a bit
9130 2003-03-13 John Levon <levon@movementarian.org>
9132 * lyxtext.h: add some docs
9134 2003-03-13 John Levon <levon@movementarian.org>
9139 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9141 2003-03-13 John Levon <levon@movementarian.org>
9143 * text3.C: fix appendix redrawing
9145 2003-03-13 John Levon <levon@movementarian.org>
9147 * text.C (setHeightOfRow):
9149 * rowpainter.C: make appendix mark have the text
9150 "Appendix" so the user knows what it is
9153 * LColor.C: s/appendixline/appendix/ from above
9155 2003-03-13 John Levon <levon@movementarian.org>
9157 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9159 * text.C: fix a getChar(pos) bug properly
9161 2003-03-13 Angus Leeming <leeming@lyx.org>
9164 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9165 Probably only temporary. Let's see how things pan out.
9167 * BufferView.C (unlockInset):
9168 * BufferView_pimpl.C (fitCursor):
9169 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9171 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9172 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9174 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9175 new functions that convert ParagraphParameters to and from a string.
9177 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9178 BufferView::Pimpl's dispatch.
9179 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9181 2003-03-13 André Pönitz <poenitz@gmx.net>
9185 * factory.C: make it aware of InsetEnv
9187 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9189 * text2.C (setCursor): never ask for one past last
9190 (setCursor): add some debugging messages.
9192 * text.C (singleWidth): never ask for one past last
9193 (singleWidth): ditto
9195 (rightMargin): ditto
9196 (rowBreakPoint): ditto
9197 (setHeightOfRow): ditto
9198 (prepareToPrint): ditto
9200 * rowpainter.C (paintBackground): never ask for one past last
9201 (paintText): never ask for one past last
9203 * paragraph_pimpl.C (getChar): make the assert stricter, never
9204 allow the one past last pos to be taken
9206 * paragraph.C (getChar): ws changes only
9208 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9209 (numberOfSeparators): ditto
9210 (numberOfHfills): ditto
9212 2003-03-12 John Levon <levon@movementarian.org>
9218 * paragraph_funcs.C: fix per-buffer authorlists
9220 2003-03-12 John Levon <levon@movementarian.org>
9222 * text.C: fix newline in right address
9224 2003-03-12 Angus Leeming <leeming@lyx.org>
9226 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9227 duplicate those in LyXFunc::dispatch.
9231 * ToolbarDefaults.C:
9232 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9233 Add LFUN_FONTFREE_UPDATE.
9235 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9236 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9238 * bufferview_func.[Ch]: several new functions to facilliate
9239 transfer of data to and from the character dialog.
9241 2003-03-12 John Levon <levon@movementarian.org>
9246 * paragraph_funcs.C:
9247 * paragraph_pimpl.C:
9251 * text3.C: remove META_NEWLINE in favour of an inset
9254 * rowpainter.C: remove paintNewline (done by inset)
9256 2003-03-12 John Levon <levon@movementarian.org>
9258 * paragraph_pimpl.C: complain about bad getChar()s
9259 for a while at least
9261 2003-03-12 John Levon <levon@movementarian.org>
9264 * buffer.C: move paragraph read into a separate function,
9265 a little renaming to reflect that.
9268 * bufferparams.C: remove the author_ids map, not necessary now
9271 * factory.C: moved Buffer::readInset to here
9273 * paragraph_funcs.h:
9274 * paragraph_funcs.C: readParagraph free function moved from
9277 * tabular.C: name change
9279 2003-03-12 John Levon <levon@movementarian.org>
9282 * ParagraphParameters.C: move par params input to
9285 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9286 behave like a normal read from the stream wrt reading
9287 a line vs. a \\token
9289 2003-03-12 John Levon <levon@movementarian.org>
9292 * ParagraphParameters.h:
9293 * ParagraphParameters.C: move output code to a
9296 2003-03-12 John Levon <levon@movementarian.org>
9298 * BufferView.C (insertLyXFile):
9301 * tabular.C: use a parlist iterator for creating the
9304 2003-03-12 John Levon <levon@movementarian.org>
9306 * buffer.C: make current_change static local not
9309 2003-03-12 John Levon <levon@movementarian.org>
9311 * buffer.C: fix insertStringAsLines for change tracking
9313 2003-03-12 John Levon <levon@movementarian.org>
9320 * bufferparams.C: move author list into params. Rename some
9321 functions. Move the header reading into a separate token
9322 loop. Move the header token reading into BufferParams.
9324 2003-03-12 John Levon <levon@movementarian.org>
9326 * changes.C: put debug inside lyxerr.debugging() checks
9328 2003-03-11 André Pönitz <poenitz@gmx.net>
9330 * factory.C: make it aware of InsetHFill
9332 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9334 * buffer.C (latexParagraphs): move function from here...
9335 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9338 2003-03-10 Angus Leeming <leeming@lyx.org>
9340 * LyXAction.C (init): fix bug in poplating array with multiple entries
9341 with the same LFUN (spotted by JMarc).
9343 2003-03-10 John Levon <levon@movementarian.org>
9346 * text2.C: move getColumnNearX() near its
9349 2003-03-10 John Levon <levon@movementarian.org>
9351 * text.C: fix break before a minipage
9353 2003-03-10 John Levon <levon@movementarian.org>
9355 * text.C: fix the last commit
9357 2003-03-09 John Levon <levon@movementarian.org>
9361 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9362 bug 365 (don't break before insets unless needed). Don't
9363 return a value > last under any circumstances.
9365 2003-03-09 Angus Leeming <leeming@lyx.org>
9367 * BufferView_pimpl.C (trackChanges, dispatch): call
9368 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9370 2003-03-09 Angus Leeming <leeming@lyx.org>
9372 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9373 than Dialogs::showAboutlyx().
9375 2003-03-09 Angus Leeming <leeming@lyx.org>
9377 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9378 than Dialogs::showTabularCreate().
9380 2003-03-09 John Levon <levon@movementarian.org>
9384 * text2.C: 3rd arg to nextBreakPoint was always the same.
9387 2003-03-08 John Levon <levon@movementarian.org>
9394 * text2.C: Remove the "main" bit from the "main body"
9397 2003-03-08 John Levon <levon@movementarian.org>
9399 * text.C (leftMargin): The left margin of an empty
9400 manual label paragraph should not include the label width
9403 * text.C (prepareToPrint): don't attempt to measure hfills
9404 for empty manual label paragraphs - the answer should be 0
9406 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9408 * CutAndPaste.C: remove commented code and reindent.
9410 2003-03-08 John Levon <levon@movementarian.org>
9413 * lyxfunc.C: move reloadBuffer()
9416 * BufferView.C: to here
9418 * lyxvc.C: add comment
9421 * vc-backend.C: call bv->reload() to avoid
9422 getStatus() check on MENURELOAD
9424 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9426 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9427 to an old format .dep file.
9429 2003-03-07 Angus Leeming <leeming@lyx.org>
9431 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9432 when the LFUN_MOUSE_RELEASE should have been handled by
9433 inset->localDispatch.
9435 2003-03-07 Angus Leeming <leeming@lyx.org>
9437 * BufferView_pimpl.C (dispatch):
9438 * LyXAction.C (init):
9439 * ToolbarDefaults.C (init):
9441 * lyxfunc.C (getStatus):
9442 remove LFUN_INSET_GRAPHICS.
9444 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9446 2003-03-07 Angus Leeming <leeming@lyx.org>
9449 * LyXAction.C (init):
9450 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9452 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9455 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9457 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9458 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9460 2003-03-07 Angus Leeming <leeming@lyx.org>
9462 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9465 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9467 * ParagraphList.C (front): new function
9470 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9472 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9473 and top_row_offset_. removed var first_y.
9475 * text2.C (LyXText, removeRow):
9477 * BufferView_pimpl.C:
9478 use these methods instead of using first_y
9480 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9482 * text2.C (pasteSelection): adjust for checkPastePossible
9484 * CutAndPaste.C: remove Paragraph * buf and replace with
9485 ParagraphList paragraphs.
9486 (DeleteBuffer): delete
9487 (cutSelection): change the tc type to textclass_type
9488 (copySelection): change the tc type to textclass_type
9489 (copySelection): adjust for ParagraphList
9490 (pasteSelection): change the tc type to textclass_type
9491 (pasteSelection): adjust for Paragraphlist
9492 (nrOfParagraphs): simplify for ParagraphList
9493 (checkPastePossible): simplify for ParagraphList
9494 (checkPastePossible): remove unused arg
9496 * ParagraphList.C (insert): handle the case where there are no
9499 * CutAndPaste.h: make CutAndPaste a namespace.
9501 * text3.C (dispatch): adjust
9503 * text.C (breakParagraph): add a ParagraphList as arg
9505 * paragraph_funcs.C (breakParagraph): change to take a
9506 BufferParams and a ParagraphList as args.
9507 (breakParagraphConservative): ditto
9508 (mergeParagraph): ditto
9509 (TeXDeeper): add a ParagraphList arg
9510 (TeXEnvironment): ditto
9513 * buffer.C (readLyXformat2): adjust
9514 (insertStringAsLines): adjust
9515 (latexParagraphs): adjust
9517 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9518 (cutSelection): adjust
9519 (pasteSelection): adjust
9521 * BufferView_pimpl.C (insertInset): adjust
9523 2003-03-05 Angus Leeming <leeming@lyx.org>
9526 * LyXAction.C (init):
9527 * BufferView_pimpl.C (dispatch):
9528 * lyxfunc.C (getStatus):
9529 remove LFUN_CHILD_INSERT.
9531 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9533 2003-03-05 Angus Leeming <leeming@lyx.org>
9536 * LyXAction.C (init):
9537 * src/factory.C (createInset):
9538 * lyxfunc.C (getStatus):
9539 * text3.C (dispatch):
9540 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9542 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9544 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9546 * ParagraphList.C (insert): handle insert right before end()
9547 (erase): fix cases where it can be first or last paragraph.
9549 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9551 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9552 Paragraph::next and Paragraph::previous
9555 * text.C (breakParagraph): adjust
9557 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9558 BufferParams& as arg.
9559 (breakParagraph): use ParagraphList::insert
9560 (breakParagraphConservative): take a Buffer* instead of a
9561 BufferParams& as arg.
9562 (breakParagraphConservative): use ParagraphList::insert.
9564 * buffer.C (insertStringAsLines): un-const it
9565 (insertStringAsLines): adjust
9567 * ParagraphList.C (insert): new function
9569 * CutAndPaste.C (pasteSelection): adjust
9571 * text.C (backspace): adjust
9573 * tabular.C (SetMultiColumn): adjust
9575 * CutAndPaste.C (cutSelection): adjust
9576 (pasteSelection): adjust
9578 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9579 Buffer const * as arg
9581 * ParagraphList.C (erase): new function
9582 * paragraph_funcs.C (mergeParagraph): use it
9583 (mergeParagraph): make it take a Buffer* instead of a
9584 BufferParams* as arg
9586 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9588 (breakParagraphConservative): ditto
9590 * paragraph.h: remove the breakParagraph friend
9592 * paragraph.C (eraseIntern): new function
9593 (setChange): new function
9595 * paragraph_funcs.C (mergeParagraph): make it take a
9596 ParagraphList::iterator instead of a Paragraph *, adjust
9599 * paragraph.h: move an #endif so that the change tracking stuff
9600 also works in the NO_NEXT case.
9602 2003-03-04 Angus Leeming <leeming@lyx.org>
9605 * LyXAction.C: new LFUN_INSET_MODIFY.
9607 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9608 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9610 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9612 * several files: ws changes only
9614 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9615 (TeXEnvironment): ditto
9618 * buffer.C (makeLaTeXFile): adjust
9619 (latexParagraphs): make it take ParagraphList::iterator as args
9621 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9623 * buffer.C (latexParagraphs): adjust
9625 * paragraph.C (TeXOnePar): move function...
9626 (optArgInset): move function...
9627 (TeXEnvironment): move function...
9628 * paragraph_pimpl.C (TeXDeeper): move function...
9629 * paragraph_funcs.C: ...here
9631 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9633 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9635 * buffer.C (readInset): remove compability code for old Figure and
9638 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9640 * buffer.C: ws changes
9643 * BufferView_pimpl.C: ditto
9646 * bufferlist.h: ditto
9650 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9652 * converter.[Ch]: split into itself +
9655 * Makefile.am: += graph.[Ch] + format.[Ch]
9662 * lyxrc.C: added #include "format.h"
9664 2003-02-27 Angus Leeming <leeming@lyx.org>
9666 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9669 * factory.C (createInset): add "label" to the factory.
9671 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9672 string and do no more.
9674 2003-02-27 Angus Leeming <leeming@lyx.org>
9677 * LyXAction.C (init):
9678 * factory.C (createInset):
9679 * BufferView_pimpl.C (dispatch):
9680 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9682 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9684 * lyxfunc.C (dispatch):
9685 * text3.C (dispatch): pass name to params2string.
9687 2003-02-26 Angus Leeming <leeming@lyx.org>
9689 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9691 Rearrange the ~includes. Strip out the unnecessary ones.
9693 * factory.C (createInset): reformat.
9694 create new insets for the various LFUN_XYZ_APPLY lfuns.
9696 2003-02-26 John Levon <levon@movementarian.org>
9699 * lyxrow.C: add isParStart,isParEnd helpers
9701 * paragraph.h: make isInserted/DeletedText take refs
9703 * paragraph_funcs.h:
9704 * paragraph_funcs.C: remove #if 0'd code
9709 * text.C: use lyxrow helpers above.
9710 Move draw and paint routines to RowPainter.
9711 Make several methods use refs not pointers.
9712 Make backgroundColor() const.
9713 Add markChangeInDraw(), isInInset().
9714 Merge changeRegionCase into changeCase.
9715 Make workWidth() shouldn't-happen code into an Assert.
9718 * rowpainter.C: new class for painting a row.
9721 * vspace.C: make inPixels take a ref
9723 2003-02-26 Angus Leeming <leeming@lyx.org>
9725 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9728 2003-02-25 John Levon <levon@movementarian.org>
9730 * ispell.C: give the forked command a more accurate name
9732 2003-02-22 John Levon <levon@movementarian.org>
9735 * toc.C: make TocItem store an id not a Paragraph *
9738 2003-02-21 Angus Leeming <leeming@lyx.org>
9740 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9741 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9742 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9743 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9744 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9745 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9747 * BufferView_pimpl.C (dispatch):
9748 * LyXAction.C (init):
9749 * factory.C (createInset):
9750 * lyxfunc.C (getStatus, dispatch):
9751 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9753 2003-02-21 Angus Leeming <leeming@lyx.org>
9755 * BufferView_pimpl.C (MenuInsertLyXFile):
9756 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9757 * lyxfunc.C (menuNew, open, doImport):
9758 no longer pass a LyXView & to fileDlg.
9760 2003-02-21 Angus Leeming <leeming@lyx.org>
9762 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9763 * LyXAction.C: change, BIBKEY to BIBITEM.
9764 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9765 Change InsetBibKey to InsetBibitem.
9766 Change BIBKEY_CODE to BIBITEM_CODE.
9767 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9768 * factory.C: replace insetbib.h with insetbibitem.h.
9769 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9770 * paragraph.C: replace insetbib.h with insetbibitem.h.
9771 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9772 Change bibkey() to bibitem().
9773 * text.C: remove insetbib.h.
9774 * text2.C: replace insetbib.h with insetbibitem.h.
9775 change bibkey() to bibitem().
9776 * text3.C: remove insetbib.h.
9777 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9779 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9781 * lyxrc.C (output): enclose user email in quotes (in case there are
9784 2003-02-18 John Levon <levon@movementarian.org>
9786 * buffer.h: add std::
9788 2003-02-17 John Levon <levon@movementarian.org>
9794 * pspell.C: reworking. Especially in ispell, a large
9795 number of clean ups and bug fixes.
9797 * lyxfunc.C: fix revert to behave sensibly
9799 2003-02-17 André Pönitz <poenitz@gmx.net>
9802 * commandtags.h: new LFUN_INSERT_BIBKEY
9812 * paragraph_func.C: remove special bibkey handling
9814 2003-02-17 John Levon <levon@movementarian.org>
9816 * text.C (Delete): fix case where delete at the end of
9817 the very first paragraph would not merge the pars
9819 2003-02-17 John Levon <levon@movementarian.org>
9821 * lyxrow.C: fix lastPrintablePos()
9823 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9825 * bufferparams.C (writeLaTeX): add a std:here
9827 * buffer.C: and remove a using directive there
9829 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9831 * buffer.C (makeLaTeXFile): move the code that generates the
9834 * bufferparams.C (writeLaTeX): ... in this new method
9836 * LaTeXFeatures.C (getEncodingSet): make const
9837 (getLanguages): make const
9839 * MenuBackend.C (binding): returns the binding associated to this
9841 (add): sets the status of each item by calling getStatus. Adds
9843 (read): add support for OptSubMenu
9844 (expand): remove extra separator at the end of expanded menu
9846 2003-02-15 John Levon <levon@movementarian.org>
9849 * BufferView_pimpl.C:
9851 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9852 inset code that had no actual effect. Remove unneeded status
9855 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9857 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9860 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9862 * text.C (drawLengthMarker): also draw an arrow marker for
9863 symbolic lengths (medskip...)
9865 2003-02-14 John Levon <levon@movementarian.org>
9868 * tabular.C: better method names
9870 2003-02-14 John Levon <levon@movementarian.org>
9872 * BufferView_pimpl.C:
9877 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9878 it's a more accurate name. Remove some pointless uses.
9880 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9882 * text2.C (LyXText): change order of initilizers to shut off
9885 2003-02-14 John Levon <levon@movementarian.org>
9887 * buffer.C: use ParIterator for getParFromID()
9891 * paragraph_pimpl.h:
9892 * paragraph_pimpl.C: remove unused getParFromID()
9894 2003-02-14 John Levon <levon@movementarian.org>
9896 * buffer.C: remove some very old #if 0'd parse code
9898 2003-02-13 John Levon <levon@movementarian.org>
9902 * text2.C: move hfillExpansion(), numberOfSeparators(),
9903 rowLast(), rowLastPrintable(), numberofHfills(),
9904 numberOfLabelHfills() ...
9907 * lyxrow.C: ... to member functions here.
9912 * text.C: remove LyXText::beginningOfMainBody(), and call
9913 p->beginningOfMainBody() directly. Move the check for
9914 LABEL_MANUAL into the latter.
9921 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9927 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9928 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9930 2003-02-13 John Levon <levon@movementarian.org>
9932 * CutAndPaste.C: remove debug
9934 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9936 * paragraph.C (asString): remove two unused variables
9938 * lyxtextclass.C (readTitleType):
9940 (LyXTextClass): handle new members titletype_ and titlename_
9942 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9944 2003-02-09 John Levon <levon@movementarian.org>
9947 * buffer.C: replace hand-coded list with a map for the dep clean
9949 2003-02-08 John Levon <levon@movementarian.org>
9951 * LaTeX.C: consolidate code into showRunMessage() helper
9953 2003-02-08 John Levon <levon@movementarian.org>
9958 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9959 and pass the size in explicitly
9961 * BufferView_pimpl.h:
9962 * BufferView_pimpl.C:
9964 * BufferView.C: add getCurrentChange()
9966 * BufferView_pimpl.h:
9967 * BufferView_pimpl.C: handle change lfuns
9969 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9970 for changes. Mark pasted paragraphs as new.
9972 * support/lyxtime.h:
9973 * support/lyxtime.C:
9974 * DepTable.C: abstract time_t as lyx::time_type
9977 * LColor.C: add colours for new text, deleted text, changebars
9979 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9980 package use "usenames" option.
9984 * LyXAction.C: add change lfuns
9988 * author.C: author handling
9991 * buffer.C: add a per-buffer author list, with first entry as
9992 current author. Handle new .lyx tokens for change tracking. Output
9993 author list to .lyx file. Output dvipost stuff to .tex preamble.
9994 Bump lyx format to 222.
9997 * bufferlist.C: add setCurrentAuthor() to reset current author details
10001 * bufferparams.C: add param for tracking
10003 * bufferview_funcs.C: output change info in minibuffer
10007 * changes.C: add change-tracking structure
10010 * debug.C: add CHANGES debug flag
10013 * lyxfind.C: add code for finding the next change piece
10016 * lyxrc.C: add user_name and user_email
10019 * lyxrow.C: add a metric for the top of the text line
10022 * text.C: implement accept/rejectChange()
10025 * text.C: paint changebars. Paint new/deleted text in the chosen
10026 colours. Strike through deleted text.
10030 * paragraph_pimpl.h:
10031 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10032 in the current change to the insert functions. Rework erase to
10033 mark text as deleted, adding an eraseIntern() and a range-based
10034 erase(). Implement per-paragraph change lookup and
10037 * paragraph_funcs.C: Fixup paste for change tracking.
10039 * tabular.C: mark added row/columns as new.
10041 * text.C: fix rowLast() to never return -1. Don't allow
10042 spellchecking of deleted text. Track transpose changes. Don't
10043 allow paragraph break or merge where appropriate.
10045 * text2.C: leave cursor at end of selection after a cut.
10047 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10049 * text.C (getLengthMarkerHeight):
10050 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10051 visible on screen too.
10053 2003-02-07 John Levon <levon@movementarian.org>
10055 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10057 2003-02-05 Angus Leeming <leeming@lyx.org>
10059 * lyxserver.C (read_ready): revert my patch of 11 September last year
10060 as it sends PC cpu through the roof. Presumably this means that
10061 the lyxserver will no longer run on an Alpha...
10063 2003-01-30 Angus Leeming <leeming@lyx.org>
10065 * factory.C (createInset): create an InsetCommandParam of type "index"
10066 and use it to 'do the right thing'.
10068 * text2.C (getStringToIndex): ensure that cursor position is always
10069 reset to the reset_cursor position.
10071 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10073 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10076 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10080 * lyxfunc.C: Output messages with identical spelling, punctuation,
10083 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10085 * MenuBackend.C (expandFormats): List only viewable export formats
10088 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10091 * lyxfunc.C (getStatus): Make sure that formats other than
10092 "fax" can also be disabled
10094 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10096 * text3.C (dispatch): put the lfuns that insert insets in 3
10097 groups, and call doInsertInset with appropriate arguments.
10098 (doInsertInset): new function, that creates an inset and inserts
10099 it according to some boolean parameters.
10101 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10103 * buffer.C (readFile): remember to pass on 'par' when calling
10104 readFile recursively.
10106 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10108 * MenuBackend.C (expandFormats): add "..." to import formats.
10110 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10112 * paragraph.C (asString): Remove XForms RTL hacks.
10114 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10115 * buffer.C: fix typo
10117 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10119 * Makefile.am (LIBS): delete var
10120 (lyx_LDADD): add @LIBS@ here instead.
10122 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10124 * Clarify the meaning of "wheel mouse jump"
10126 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10128 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10131 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10133 * importer.C (Loaders): do not preallocate 3 elements in the
10134 vector, since one ends up with 6 elements otherwise
10136 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10138 * DepTable.C (write): write the file name as last element of the
10139 .dep file (because it may contain spaces)
10140 (read): read info in the right order
10142 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10144 * paragraph_pimpl.C (simpleTeXBlanks):
10145 (simpleTeXSpecialChars):
10146 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10148 * tabular.C (latex): add some missing case statements. Reindent.
10150 * MenuBackend.C (expandToc): remove unused variable.
10152 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10161 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10164 2003-01-05 John Levon <levon@movementarian.org>
10167 * BufferView.C: add getEncoding()
10170 * kbsequence.C: do not store last keypress
10173 * lyxfunc.C: store last keypress here instead. Pass encoding
10176 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10178 * lyx_main.C (init): remove annoying error message when following
10179 symbolic links (bug #780)
10181 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10183 * text.C (insertChar):
10184 * lyxrc.C (getDescription): remove extra spaces
10186 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10188 * lyxrc.C (getDescription): remove extra spaces
10190 2002-12-20 John Levon <levon@movementarian.org>
10192 * text3.C: hack fix for page up/down across tall rows
10194 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10196 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10199 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10201 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10202 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10203 thesaurus is not compiled in
10205 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10207 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10209 2002-12-16 Angus Leeming <leeming@lyx.org>
10212 * lyx_main.C (init): remove override_x_deadkeys stuff.
10214 2002-12-12 John Levon <levon@movementarian.org>
10216 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10217 insert. Only remove shift modifier under strict
10220 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10222 * MenuBackend.C (expandToc): fix crash.
10224 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10226 * MenuBackend.C (expandToc): gettext on float names.
10228 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10230 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10231 implement bool empty() [bug 490]
10233 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10235 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10237 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10239 * several files: ws changes
10241 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10243 * text2.C (setCounter): clean up a bit, use boost.format.
10244 (updateCounters): initialize par upon declaration.
10246 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10247 if the layout exists. We do not just store the layout any more.
10248 (SwitchLayoutsBetweenClasses): use boost.format
10250 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10252 * converter.C (convert): if from and to files are the same, use a
10253 temporary files as intermediary
10255 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10258 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10260 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10262 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10264 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10266 * tabular.C (asciiPrintCell): use string(size, char) instead of
10269 * sgml.C (openTag): fix order of arguments to string constructor
10272 * lyxfunc.C (dispatch): use boost.format
10274 * lots of files: change "c" -> 'c'
10276 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10278 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10280 2002-11-25 Angus Leeming <leeming@lyx.org>
10282 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10284 * lyx_main.C (init): compile fix.
10286 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10288 * lyx_cb.C (start): boost.formatify
10289 do not include <iostream>
10291 * lengthcommon.C: ws only
10293 * boost-inst.C,BoostFormat.h: add more explict instantations
10295 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10297 * lots of files: handle USE_BOOST_FORMAT
10299 2002-11-21 John Levon <levon@movementarian.org>
10301 * pspell.C: fix compile
10303 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10305 * lyxfunc.C (dispatch): use boost::format
10309 * lyxfont.C (stateText): use boost::format
10311 * lyx_main.C (LyX): use boost::format
10313 (queryUserLyXDir): ditto
10314 (readRcFile): ditto
10316 (typedef boost::function): use the recommened syntax.
10318 * importer.C (Import): use boost::format
10320 * debug.C (showLevel): use boost::format
10322 * converter.C (view): use boost::format
10327 * bufferview_funcs.C (currentState): use boost::format
10329 * bufferlist.C (emergencyWrite): use boost::format
10331 * buffer.C (readLyXformat2): use boost::format
10332 (parseSingleLyXformat2Token): ditto
10334 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10336 * LaTeX.C (run): use boost::format
10338 * Chktex.C (scanLogFile): use boost::format
10340 * BufferView_pimpl.C (savePosition): use boost::format
10341 (restorePosition): ditto
10342 (MenuInsertLyXFile): ditto
10344 * BoostFormat.h: help file for explicit instation.
10346 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10348 * tabular.C (latex): Support for block alignment in fixed width
10351 2002-11-17 John Levon <levon@movementarian.org>
10353 * BufferView_pimpl.C:
10355 * lyxfunc.C: split filedialog into open/save
10357 2002-11-08 Juergen Vigna <jug@sad.it>
10359 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10360 by my last patch (hopefully).
10362 2002-11-08 John Levon <levon@movementarian.org>
10371 * toc.C: ParConstIterator, and use it (from Lars)
10373 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10375 * lyxtextclass.[Ch]: revise and add doxygen comments
10377 2002-11-07 John Levon <levon@movementarian.org>
10379 * text.C: fix progress value for spellchecker
10381 * toc.C: fix navigate menu for insetwrap inside minipage
10383 * paragraph_funcs.C: added FIXME for suspect code
10385 2002-11-07 John Levon <levon@movementarian.org>
10387 * BufferView_pimpl.C: fix redrawing of insets
10390 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10392 * text2.C (updateCounters): fix bug 668
10394 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10396 * text3.C (dispatch): Do not make the buffer dirty when moving the
10399 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10401 * vc-backend.C: STRCONV
10402 (scanMaster): ditto
10404 * text2.C (setCounter): STRCONV
10406 * paragraph.C (asString): STRCONV
10408 * lyxlength.C (asString): STRCONV
10409 (asLatexString): ditto
10411 * lyxgluelength.C (asString): STRCONV
10412 (asLatexString): ditto
10414 * lyxfunc.C (dispatch): STRCONV
10417 * lyxfont.C (stateText): STRCONV
10419 * importer.C (Import): STRCONV
10421 * counters.C (labelItem): STRCONV
10422 (numberLabel): ditto
10423 (numberLabel): remove unused ostringstream o
10428 * bufferview_funcs.C (currentState): STRCONV
10430 * buffer.C (readFile): STRCONV
10431 (asciiParagraph): ditto
10432 (makeLaTeXFile): ditto
10434 * Spacing.C (writeEnvirBegin): STRCONV
10436 * LaTeXFeatures.C (getLanguages): STRCONV
10437 (getPackages): ditto
10439 (getBabelOptions): ditto
10440 (getTClassPreamble): ditto
10441 (getLyXSGMLEntities): ditto
10442 (getIncludedFiles): ditto
10446 (scanAuxFile): ditto
10449 * LString.h: add the STRCONV macros
10451 * BufferView_pimpl.C (savePosition): STRCONV
10452 (restorePosition): ditto
10453 (MenuInsertLyXFile): ditto
10455 * vc-backend.C (scanMaster): change from submatch[...] to
10458 * funcrequest.C: include config.h
10460 * factory.C: include config.h
10462 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10464 * box.C: include config.h
10466 * LaTeX.C (scanAuxFile): change from submatch[...] to
10470 2002-10-25 Angus Leeming <leeming@lyx.org>
10472 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10474 * ispell.[Ch] (setError): new method.
10475 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10476 Use setError() insetead of goto END.
10478 * lyx_cb.C (AutoSave): move out child process into new class
10481 2002-10-30 John Levon <levon@movementarian.org>
10483 * text3.C: make start appendix undoable
10485 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10487 * lyxlength.C (inPixels): Fix returned value.
10489 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10492 2002-10-24 Angus Leeming <leeming@lyx.org>
10494 * lyxgluelength.h: no need to forward declare BufferParams
10495 or BufferView, so don't.
10497 2002-10-21 John Levon <levon@movementarian.org>
10499 * BufferView.C: menuUndo ->undo, redo
10501 * BufferView.h: document, remove dead, make some methods private
10503 * paragraph_funcs.h:
10504 * paragraph_funcs.C:
10505 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10510 * sgml.C: move sgml open/close tag into sgml.C
10512 * bufferview_funcs.h: unused prototype
10515 * lyxfunc.C: remove unused
10518 * text.C: remove unused
10520 2002-10-21 John Levon <levon@movementarian.org>
10524 * BufferView_pimpl.h:
10525 * BufferView_pimpl.C: fix mouse wheel handling based on
10526 patch from Darren Freeman
10528 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10530 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10532 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10534 * lyxlength.C (inPixels): Fix hanfling of negative length.
10535 Fix LyXLength::MU case.
10537 2002-10-16 John Levon <levon@movementarian.org>
10539 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10541 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10543 * converter.C (view): add support for $$i (file name) and $$p
10544 (file path) for the viewer command. If $$i is not specified, then
10545 it is appended to the command (for compatibility with old syntax)
10547 2002-10-14 Juergen Vigna <jug@sad.it>
10549 * undo_funcs.C (textHandleUndo): alter the order in which the
10550 new undopar is added to the LyXText, as we have to set first
10551 the right prev/next and then add it as otherwise the rebuild of
10552 LyXText is not correct. Also reset the cursor to the right paragraph,
10553 with this IMO we could remove the hack in "redoParagraphs()".
10555 2002-10-09 Angus Leeming <leeming@lyx.org>
10557 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10558 to turn off an optimisation if a new inset is to be inserted.
10560 2002-10-11 André Pönitz <poenitz@gmx.net>
10562 * lyxtext.h: make some functions public to allow access
10563 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10565 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10567 * text3.C (dispatch): when changing layout, avoid an infinite loop
10570 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10572 * lyxrc.C (read): treat a viewer or converter command of "none" as
10575 * MenuBackend.C (expandFormats): for an update, also allow the
10576 formats that are not viewable
10578 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10579 script if it is newer than the lyxrc.defaults in user directory
10581 2002-10-07 André Pönitz <poenitz@gmx.net>
10583 * text.C: Vitaly Lipatov's small i18n fix
10585 2002-09-25 Angus Leeming <leeming@lyx.org>
10587 * ispell.h: doxygen fix.
10589 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10591 * buffer.h (readFile): Add a new argument to the method, to allow
10592 reading of old-format templates.
10594 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10596 * toc.C (getTocList): Get TOC from InsetWrap.
10598 2002-09-16 John Levon <levon@movementarian.org>
10600 * lyxfunc.C: check tabular for cut/copy too
10602 2002-09-12 John Levon <levon@movementarian.org>
10604 * LyXAction.C: tidy
10607 * factory.C: add header
10609 * paragraph_funcs.h:
10610 * paragraph_funcs.C: cleanup
10612 2002-09-11 John Levon <levon@movementarian.org>
10614 * PrinterParams.h: odd/even default to true
10616 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10618 * PrinterParams.h: update printer parameters for new xforms dialog
10620 2002-09-11 Angus Leeming <leeming@lyx.org>
10622 * lyxserver.C (read_ready): re-write to make it more transparent
10623 and to make it work in coherent fashion under Tru64 Unix.
10625 2002-09-11 André Pönitz <poenitz@gmx.net>
10629 * text3.C: implement LFUN_WORDSEL
10631 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10633 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10634 make floatlist_ a boost::shared_ptr<FloatList>
10636 * lyxtextclass.C: include FloatList.h
10637 (LyXTextClass): initialize floatlist_
10638 (TextClassTags): add TC_NOFLOAT
10639 (Read): match "nofloat" to TC_NOFLOAT and use it.
10640 (readFloat): modify call to floatlist_
10644 * FloatList.[Ch] (FloatList): remove commented out float
10646 (erase): new function
10648 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10650 * MenuBackend.C (expandToc): fix crash when there is no document
10653 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10655 * many files: Add insetwrap.
10657 2002-09-09 John Levon <levon@movementarian.org>
10659 * text2.C: remove confusing and awkward depth wraparound
10661 2002-09-09 John Levon <levon@movementarian.org>
10663 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10666 * buffer.C: remove getIncludeonlyList()
10669 * lyxfunc.C: remove headers
10671 2002-09-09 Juergen Vigna <jug@sad.it>
10673 * text.C (getColumnNearX): fix form Michael this is most
10674 probably a cut&paste bug.
10676 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10678 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10680 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10681 references, ws changes.
10683 * text2.C (init): update counters after init
10684 (insertParagraph): no need to set counter on idividual paragraphs.
10685 (setCounter): access the counters object in the textclass object
10686 on in the buffer object.
10687 (updateCounters): ditto
10689 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10690 shared_ptr<Counters> to avoid loading counters.h in all
10692 (LyXTextClass): initialize ctrs_
10693 (TextClassTags): add TC_COUNTER, and ...
10694 (Read): use it here.
10695 (CounterTags): new tags
10696 (readCounter): new function
10697 (counters): new funtion
10698 (defaultLayoutName): return a const reference
10700 * counters.C (Counters): remove contructor
10701 (newCounter): remove a couple of unneeded statements.
10702 (newCounter): simplify a bit.
10703 (numberLabel): some small formatting changes.
10705 * buffer.[Ch]: remove all traces of counters, move the Counters
10706 object to the LyXTextClass.
10708 2002-09-06 Alain Castera <castera@in2p3.fr>
10710 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10711 package to set the horizontal alignment on fixed width columns.
10714 * lyx_sty.h: added tabularnewline macro def.
10716 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10718 2002-09-06 John Levon <levon@movementarian.org>
10720 * LyXAction.C: tooltips for sub/superscript
10722 * MenuBackend.C: a bit more verbose
10724 * lyxfunc.C: tiny clean
10726 * undo_funcs.C: document undo_frozen
10728 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10730 * counters.C (Counters): add missing algorithm counter.
10732 * text2.C (setCounter): lookup the counter with layouts latexname
10733 instead of by section number.
10734 (setCounter): use a hackish way to lookup the correct enum
10736 a float name->type change
10737 reset enum couners with counter name directly instead of depth value.
10739 * counters.C (Counters): remove the push_backs, change to use the
10740 float type not the float name.
10741 (labelItem): remove unused string, float name->type change
10743 * counters.h: don't include vector, loose the enums and sects vectors
10745 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10747 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10748 (Read): add float->TC_FLOAT to textclassTags
10749 (Read): and handle it in the switch
10750 (readFloat): new function
10752 * FloatList.C (FloatList): comment out the hardcoded float
10755 * lyxlayout.h: ws change.
10757 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10759 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10761 2002-09-03 Angus Leeming <leeming@lyx.org>
10763 * BufferView_pimpl.h: qualified name is not allowed in member
10764 declaration: WorkArea & Pimpl::workarea() const;
10766 * factory.C: added using std::endl directive.
10768 * text3.C: added using std::find and std::vector directives.
10770 2002-08-29 André Pönitz <poenitz@gmx.net>
10773 * text2.C: remove unused member number_of_rows
10776 * BufferView2.C: remove file, move contents to...
10777 * BufferView.C: ... here
10779 * BufferView_pimpl.C:
10780 * factory.C: move more inset creation to factory
10782 * vspace.C: avoid direct usage of LyXText, ws changes
10785 don't provide direct access to WorkArea, use two simple
10786 acessors haveSelction() and workHeight() instead
10789 2002-08-29 John Levon <levon@movementarian.org>
10791 * BufferView_pimpl.C (dispatch): do not continue when
10794 2002-08-28 André Pönitz <poenitz@gmx.net>
10796 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10799 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10801 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10803 * buffer.C: increment LYX_FORMAT to 221
10805 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10806 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10808 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10810 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10812 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10814 * factory.C (createInset): use LyXTextClass::floats
10816 * MenuBackend.C (expandFloatListInsert):
10817 (expandFloatInsert):
10820 * text2.C (setCounter):
10822 * LaTeXFeatures.C (useFloat):
10823 (getFloatDefinitions):
10825 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10827 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10828 floatlist_, with accessor floats().
10830 * FloatList.h: remove global FloatList
10832 2002-08-26 André Pönitz <poenitz@gmx.net>
10834 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10838 * BufferView_pimpl.C:
10839 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10841 2002-08-25 John Levon <levon@movementarian.org>
10843 * LyXAction.C: fix margin note description
10845 2002-08-24 John Levon <levon@movementarian.org>
10849 * bufferview_funcs.C:
10851 * undo_funcs.C: cleanups
10853 * lyxfunc.C: disable CUT/COPY when no selection
10855 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10857 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10858 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10860 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10861 Add backward compatibility to "mono", "gray" and "no".
10863 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10865 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10866 (and file_format >= 200).
10868 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10870 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10872 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10874 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10876 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10878 * BufferView_pimpl.C:
10885 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10886 inset and code to make it work with the paragraph code. The inset
10887 can be anywhere in the paragraph, but will only do the expected
10888 thing in LaTeX if the layout file contains the parameter line
10890 (or more generally, a nonzero value) for that layout.
10892 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10894 * paragraph.h: remove the declaration of undefined counters class
10897 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10899 * text2.C (setCounter): fixed enumeration mis-count as reported by
10900 Dr. Richard Hawkins.
10902 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10904 * paragraph_funcs.h: remove some unneeded includes
10906 * text.C (backspace): pasteParagraph now in global scipe
10908 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10909 (pasteSelection): ditto
10911 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10912 * paragraph_funcs.C (pasteParagraph): ... here
10914 2002-08-20 André Pönitz <poenitz@gmx.net>
10916 * commandtags.h: new LFUNs for swapping/copying table row/colums
10919 * lyxfunc.C: support for new lfuns
10921 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10924 * buffer.[Ch]: remove NO_COMPABILITY stuff
10926 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10928 * boost.C (throw_exception): new file, with helper function for
10929 boost compiled without exceptions.
10934 * ParameterStruct.h:
10935 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10937 * bufferlist.C (emergencyWriteAll): use boost bind
10939 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10941 * text.C: include paragraph_funcs.h
10942 (breakParagraph): breakParagraph is now in global scope
10944 * paragraph_funcs.[Ch]: new files
10946 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10949 * buffer.C: include paragraph_funcs.h
10950 (insertStringAsLines): breakParagraph is now in global scope
10952 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10955 * CutAndPaste.C: include paragraph_funcs.h
10956 (cutSelection): breakParagraphConservative is now in global scope
10957 (pasteSelection): ditto
10959 * buffer.h: declare oprator== and operator!= for
10960 Buffer::inset_iterator
10962 * bufferlist.C (emergencyWrite): don't use fmt(...)
10964 * text3.C: add using std::endl
10966 * BufferView.C (moveCursorUpdate): remove default arg
10968 2002-08-20 André Pönitz <poenitz@gmx.net>
10970 * buffer.[Ch]: move inline functions to .C
10973 * BufferView_pimpl.C:
10975 * buffer.[Ch]: use improved inset_iterator
10978 * paragraph.[Ch]: write one paragraph at a time
10980 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10982 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10983 style if style is not specified.
10985 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10987 * text2.C (setCounter): when searching for right label for a
10988 caption, make sure to recurse to parent insets (so that a caption
10989 in a minipage in a figure float works) (bug #568)
10991 2002-08-20 André Pönitz <poenitz@gmx.net>
10993 * text3.C: new file for LyXText::dispatch() and helpers
10995 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10997 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10999 2002-08-19 André Pönitz <poenitz@gmx.net>
11002 * text.C: new LyXText::dispatch()
11004 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11006 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11008 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11010 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11013 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11015 * Makefile.am: use $(variables) instead of @substitutions@
11017 2002-08-15 André Pönitz <poenitz@gmx.net>
11020 * BufferView_pimpl.C: streamlining mathed <-> outer world
11024 * LyXAction.C: remove unused LFUN_MATH
11026 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11028 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11030 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11032 * paragraph.C (Paragraph): reformat a bit
11033 (cutIntoMinibuffer): use builtin InsetList function instad of
11037 * buffer.C: include boost/bind.hpp, add using std::for_each
11038 (writeFileAscii): use ParagraphList iterators
11039 (validate): use for_each for validate traversal of paragraphs
11040 (getBibkeyList): use ParagraphList iterators
11041 (resizeInsets): use for_each to resizeInsetsLyXText for all
11043 (getParFromID): use ParagraphList iterators
11045 * BufferView2.C (lockInset): use paragraph list and iterators
11047 2002-08-14 John Levon <levon@movementarian.org>
11049 * lyxserver.C: remove spurious xforms include
11051 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11053 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11055 2002-08-13 André Pönitz <poenitz@gmx.net>
11058 * lyxfunc.C: further cleaning
11060 2002-08-13 André Pönitz <poenitz@gmx.net>
11062 * funcrequest.h: new constructor
11064 * funcrequest.C: move stuff here from .h
11067 * BufferView_pimpl.C:
11070 * lyxfunc.C: subsequent changes
11072 * lyxfunc.h: new view() member function
11074 * lyxfunc.C: subsequent changes
11076 2002-08-13 Angus Leeming <leeming@lyx.org>
11079 * BufferView_pimpl.C:
11087 changes due to the changed LyXView interface that now returns references
11088 to member variables not pointers.
11090 2002-08-13 Angus Leeming <leeming@lyx.org>
11092 * WordLangTuple (word, lang_code): return references to strings,
11097 * lyxtext.h: forward-declare WordLangTuple.
11102 * text.C: #include "WordLangTuple.h".
11105 * text.C: (selectNextWordToSpellcheck): constify return type.
11107 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11113 * paragraph_pimpl.h:
11116 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11117 suggested by Angus.
11118 Made updateCounter always count from start of buffer, and removed
11119 second argument (par).
11120 Reverted floats number display to '#'. Perhaps I'll try again when the
11121 code base is sanitized a bit.
11123 2002-08-12 Angus Leeming <leeming@lyx.org>
11125 * buffer.[Ch] (getLabelList): constify.
11127 2002-08-07 André Pönitz <poenitz@gmx.net>
11129 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11131 * funcrequest.h: extension to keep mouse (x,y) position
11133 2002-08-12 Juergen Vigna <jug@sad.it>
11135 * BufferView2.C (insertErrors): forbid undo when inserting error
11138 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11140 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11142 * ParagraphList.[Ch]: new files
11144 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11146 * BufferView2.C (lockInset): ParagraphList changes
11149 * bufferlist.C: ditto
11153 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11155 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11156 unused class variable counter_,
11158 * paragraph.[Ch] (getFirstCounter): delete unused function
11160 * counters.C: include LAssert.h
11161 (reset): add a new function with no arg, change other version to
11162 not have def. arg and to not allow empty arg.
11164 * text2.C (setCounter): remove empty arg from call to Counters::reset
11166 2002-08-11 John Levon <levon@movementarian.org>
11168 * Makefile.am: add WordLangTuple.h
11170 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11172 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11173 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11175 * insets/insettext.C: InsetList changes
11177 * graphics/GraphicsSupport.C (operator()): InsetList changes
11179 * toc.C (getTocList): InsetList changes
11181 * paragraph_pimpl.[Ch]: InsetList changes
11183 * paragraph.[Ch]: InsetList changes
11185 * buffer.C (inset_iterator): InsetList changes
11186 (setParagraph): ditto
11187 * buffer.h (inset_iterator): ditto
11188 * iterators.C (operator++): ditto
11189 * iterators.h: ditto
11191 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11193 * InsetList.[Ch]: new files, most InsetList handling moved out of
11196 * BufferView2.C (removeAutoInsets): InsetList changes
11198 (ChangeInsets): ditto
11200 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11202 * paragraph_pimpl.h (empty): new function
11204 * paragraph.[Ch] (empty): new function
11206 * other files: use the new Paragraph::empty function
11208 2002-08-09 John Levon <levon@movementarian.org>
11210 * lyxtext.h: remove unused refresh_height
11212 2002-08-09 John Levon <levon@movementarian.org>
11219 * paragraph.C: move sgml char escaping out of paragraph
11222 * paragraph.C: remove id setter
11226 * paragraph_pimpl.C: remove dead tex_code_break_column
11228 * bufferview_funcs.C: small cleanup
11230 * lyxfunc.C: remove dead proto
11232 * lyxtext.h: make some stuff private. Remove some dead stuff.
11234 * lyxgluelength.C: make as[LyX]String() readable
11236 2002-08-08 John Levon <levon@movementarian.org>
11241 * ToolbarDefaults.C:
11244 * toc.C: lyxaction cleanup
11246 2002-08-08 John Levon <levon@movementarian.org>
11248 * BufferView2.C: small cleanup
11251 * lyxfind.C: move unnecessary header into the .C
11253 2002-08-08 John Levon <levon@movementarian.org>
11255 * funcrequest.h: just tedious nonsense
11258 * lyx_main.C: cleanups
11261 * vspace.C: remove dead header lyx_main.h
11263 2002-08-07 Angus Leeming <leeming@lyx.org>
11266 * paragraph_pimpl.h:
11267 Forward declare class Counters in paragraph.h by moving the ctrs member
11268 variable into Paragraph::Pimpl.
11269 (counters): new method, returning a reference to pimpl_->ctrs.
11271 * text2.C: ensuing changes.
11273 2002-08-07 John Levon <levon@movementarian.org>
11275 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11277 * BufferView_pimpl.C: announce X selection on double/triple
11280 * lyx_main.C: use correct bool in batch dispatch
11282 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11284 2002-08-07 André Pönitz <poenitz@gmx.net>
11286 * funcrequest.h: new class to wrap a kb_action and its argument
11289 * BufferView_pimpl[Ch]:
11293 * lyxrc.C: subsequent changes
11296 2002-08-07 John Levon <levon@movementarian.org>
11298 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11299 document options change.
11301 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11306 * makefile.am: move counters functionality over from
11307 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11309 2002-08-06 John Levon <levon@movementarian.org>
11311 * WordLangTuple.h: new file for word + language code tuple
11322 * BufferView2.C: use WordLangTuple
11325 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11327 2002-08-06 John Levon <levon@movementarian.org>
11329 * lyx_main.C: fix cmdline batch handling
11331 2002-08-06 André Pönitz <poenitz@gmx.net>
11333 * lyxrc.C: set default for show_banner to true
11335 2002-08-06 John Levon <levon@movementarian.org>
11337 * pspell.C: fix a crash, and allow new aspell to work
11339 2002-08-06 John Levon <levon@movementarian.org>
11342 * kbmap.C: small cleanup
11345 * vspace.C: add const
11347 2002-08-05 John Levon <levon@movementarian.org>
11349 * LyXAction.C: back to tabular-insert
11351 2002-08-04 John Levon <levon@movementarian.org>
11354 * BufferView.C: cosmetic change
11356 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11366 * BufferView2.C: purge all "Lyx" not "LyX" strings
11369 * lyxcursor.C: attempt to add some documentation
11374 * ToolbarDefaults.C:
11375 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11376 merge with LFUN_TABULAR_INSERT
11383 * pspell.C: split up i/pspell implementations into separate
11384 files, many cleanups
11386 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11388 * text2.C: some cleanup
11390 * lyxfunc.C: don't check for isp_command == "none" any more, it
11391 didn't make any sense
11393 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11398 * makefile.am: move counters functionality over
11399 from text2.C/paragraph.[Ch] to counters.[Ch], and
11401 2002-08-02 John Levon <levon@movementarian.org>
11403 * buffer.C: s/lyxconvert/lyx2lyx/
11405 2002-08-02 Angus Leeming <leeming@lyx.org>
11407 * lyxlex.C: revert John's change as it breaks reading of the user
11410 2002-08-02 Angus Leeming <leeming@lyx.org>
11412 * importer.C (Import):
11413 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11414 changes due to LyXView::view() now returning a boost::shared_ptr.
11416 2002-08-02 John Levon <levon@movementarian.org>
11418 * lyxlex.C: small cleanup
11420 2002-08-02 John Levon <levon@movementarian.org>
11422 * text2.C (status): small cleanup, no logic change
11424 2002-08-01 John Levon <levon@movementarian.org>
11427 * buffer.C (writeFile): don't output alerts, caller
11431 * lyx_cb.C: from above
11433 * lyxfunc.C: allow to open non-existent files
11435 2002-07-31 John Levon <levon@movementarian.org>
11437 * lyxserver.C: don't let incidental errors get
11440 2002-07-30 John Levon <levon@movementarian.org>
11442 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11444 2002-07-30 John Levon <levon@movementarian.org>
11447 * lyxserver.C: remove I/O callback too
11449 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11451 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11454 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11456 * many files: strip,frontStrip -> trim,ltrim,rtrim
11458 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11460 * PrinterParams.h: remove extern containsOnly, and include
11461 support/lstrings.h instead.
11463 * LaTeX.C (scanAuxFile): modify because of strip changes
11465 * buffer.C (makeLaTeXFile): ditto
11466 * bufferparams.C (writeFile): ditt
11467 * lyxfont.C (stateText): ditto
11468 * lyxserver.C (read_ready): ditto
11469 * vc-backend.C (scanMaster): ditto
11471 * BufferView_pimpl.h: ws changes
11473 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11475 2002-07-26 André Pönitz <poenitz@gmx.net>
11477 * kb_sequence.C: remove unnedred usings
11479 2002-07-26 Juergen Vigna <jug@sad.it>
11481 * lyxfind.C (LyXReplace): we have to check better if the returned
11482 text is not of theLockingInset()->getLockingInset().
11484 2002-07-25 Juergen Vigna <jug@sad.it>
11486 * lyxfind.C (LyXReplace): don't replace if we don't get the
11489 * undo_funcs.C (createUndo): remove debugging code.
11491 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11493 * buffer.C (parseSingleLyXformat2Token): Use default placement
11494 when reading old floats.
11496 * FloatList.C (FloatList): Change the default placement of figure
11497 and tables to "tbp".
11499 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11501 * MenuBackend.C: using std::max
11503 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11505 * MenuBackend.C (expandToc):
11506 (expandToc2): code moved from xforms menu frontend. It is now
11507 generic and TOCs are transparent to menu frontends.
11509 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11511 * toc.C (getTocList): protect against buf=0
11513 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11514 Menu as first parameter. Now, this calls itself recursively to
11515 expand a whole tree (this will be useful for TOC handling)
11516 (expandFloatInsert): remove 'wide' version of floats
11518 * MenuBackend.h (submenuname): returns the name of the submenu.
11519 (submenu): returns the submenu itself, provided it has been
11520 created by MenuBackend::expand
11522 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11524 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11525 insets which have noFontChange == true. (bug #172)
11527 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11529 * BufferView_pimpl.C: add connection objects and use them...
11532 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11534 * MenuBackend.C (expandLastfiles):
11537 (expandFloatListInsert):
11538 (expandFloatInsert):
11539 (expand): split expand in parts
11541 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11543 * lyx_gui.C: use lyx_gui::exit()
11545 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11547 * LyXAction.C: show the failing pseudo action
11549 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11551 * buffer.C (readFile): Run the lyxconvert script in order to read
11554 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11558 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11560 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11564 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11566 2002-07-22 Herbert Voss <voss@lyx.org>
11569 * lyxlength.[Ch]: add support for the vertical lengths
11571 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11573 * toc.[Ch]: std:: fixes
11575 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11577 * lyxrc.C: do not include lyx_main.h
11579 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11585 * BufferView2.C: include "lyxlex.h"
11588 * bufferparams.h: do not #include "lyxlex.h"
11590 * lyxtextclasslist.C (Add): remove method
11591 (classlist): renamed to classlist_
11593 * paragraph_pimpl.C:
11597 * bufferview_funcs.C:
11602 * toc.C (getTocList): use BufferParams::getLyXTextClass
11604 * toc.C (getTocList): use InsetFloat::addToToc
11606 * toc.[Ch]: new files, containing helper functions to handle table
11609 * lyxfunc.C (dispatch): no need to remove spaces around command
11611 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11612 first command of the sequence; it is not very clever, but I do not
11613 have a better idea, actually
11615 * LyXAction.C (LookupFunc): make sure to remove space at the
11616 beginning and end of the command
11618 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11620 * MenuBackend.C (getMenubar): new method: return the menubar of
11622 (read): treat differently reading of menu and menubar (in
11623 particular, the menubar has no name now)
11624 (Menu::menubar): remove
11626 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11629 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11631 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11632 a bibitem inset in a RTL paragraph.
11634 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11636 * paragraph_pimpl.C: constify
11638 * BufferView_pimpl.C:
11640 * lyxfunc.C: fix dispatch in a nicer way
11642 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11644 * lyxfunc.C (dispatch):
11645 * BufferView_pimpl.C:
11646 * BufferView_pimpl.h:
11648 * BufferView.h: rename Dispatch() to dispatch()
11650 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11652 * lyxlayout.C (Read): honor DependsOn tag
11654 * lyxlayout.[Ch] (depends_on): new method
11656 * version.C.in: update lyx_docversion
11658 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11660 * paragraph.C (validate): remove from here...
11661 * paragraph_pimpl.C (validate): ... and move here
11662 (isTextAt): make it const
11664 * buffer.C (getLists): ws cleanup
11666 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11668 * language.C (read): Use iso8859-1 encoding in latex_lang
11669 (this prevents LyX from crashing when using iso10646-1 encoding).
11671 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11673 * text2.C (toggleInset): if cursor is inside an inset, close the
11674 inset and leave cursor _after_ it
11676 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11678 * lyxfunc.C: move minibuffer completion handling out of here
11680 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11682 * BufferView_pimpl.C:
11683 * LaTeX.C: fix dispatch calls
11685 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11687 * text.C (drawChars): Fix Arabic text rendering.
11689 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11693 * lyxfunc.C: remove message-push/pop
11697 * lyxfunc.C: rationalise some code by removing verboseDispatch
11698 in favour of a bool argument to dispatch()
11700 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11702 * lyx_main.C (init): make sure to read symlinks as absolute paths
11704 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11707 * lyxfunc.C: no need for commandshortcut to be a member
11709 2002-07-15 André Pönitz <poenitz@gmx.net>
11711 * converter.C: add support for $$s (scripts from lib/scripts dir)
11712 * lyx_main.C: white space
11714 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11718 * lyxrc.C: remove second exit confirmation
11720 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11725 * BufferView_pimpl.h:
11726 * BufferView_pimpl.C:
11727 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11729 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11731 * MenuBackend.C (expand): add numeric shortcuts to document menu
11733 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11735 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11737 * lyxfont.C (setLyXFamily):
11744 * buffer.C (asciiParagraph): use ascii_lowercase
11746 2002-07-15 Mike Fabian <mfabian@suse.de>
11748 * lyxlex_pimpl.C (search_kw):
11749 * lyxlex.C (getLongString):
11750 * converter.h (operator<):
11751 * converter.C (operator<):
11752 * buffer.C (parseSingleLyXformat2Token):
11754 * ToolbarDefaults.C (read):
11755 * MenuBackend.C (checkShortcuts):
11757 * LColor.C (getFromGUIName):
11758 (getFromLyXName): use the compare_ascii_no_case instead of
11759 compare_no_case, because in turkish, 'i' is not the lowercase
11760 version of 'I', and thus turkish locale breaks parsing of tags.
11762 2002-07-16 Angus Leeming <leeming@lyx.org>
11764 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11765 now takes a Buffer const & argument.
11767 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11769 * BufferView.C (resize): check there's a buffer to resize
11771 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11773 * lyxfunc.C: remove dead code
11776 * lyxserver.C: use lyx_guii::set_read_callback
11778 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11780 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11781 an inset in a RTL paragraph.
11783 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11785 * lyxfunc.C: repaint after a font size update
11787 2002-07-15 André Pönitz <poenitz@gmx.net>
11789 * lyxlength.C: inBP should be able to return negative values
11791 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11793 * lyxfunc.C: use lyx_gui::update_fonts()
11795 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11797 * lyxfunc.C: use lyx_gui::update_color()
11799 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11805 * lyxrc.C: remove file->new asks for name option, and let
11806 buffer-new take an argument
11808 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11810 * BufferView_pimpl.C: remove unneeded extra repaint()
11812 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11814 * LyXAction.C: allow command-sequence with NoBuffer
11816 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11818 2002-07-10 Angus Leeming <leeming@lyx.org>
11820 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11822 2002-07-09 Angus Leeming <leeming@lyx.org>
11824 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11826 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11828 * lengthcommon.h: whitespace
11830 * lyxfunc.C: update scrollbar after goto paragraph
11832 * lyxtext.h: factor out page break drawing, and fix it so
11833 page break/added space paints as selected nicely
11835 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11837 * BufferView_pimpl.C: add FIXMEs, clean up a little
11839 2002-07-09 André Pönitz <poenitz@gmx.net>
11841 * lyxfont.[Ch]: support for wasy symbols
11843 2002-07-08 André Pönitz <poenitz@gmx.net>
11845 * BufferView_pimpl.C: apply John's patch for #93.
11847 2002-07-05 Angus Leeming <leeming@lyx.org>
11849 * BufferView_pimpl.C (buffer): generate previews if desired.
11851 * LColor.h: add "preview" to the color enum.
11853 * LColor.C (LColor): add a corresponding entry to the items array.
11855 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11858 2002-07-05 Angus Leeming <leeming@lyx.org>
11860 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11861 The body of the code is now in the method that is passed an ostream &
11862 rather than a file name.
11863 Pass an additional only_preamble parameter, useful for the forthcoming
11866 2002-07-03 André Pönitz <poenitz@gmx.net>
11868 * lyxfunc.C: simplify getStatus() a bit for math stuff
11870 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11872 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11874 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11876 * text.C (changeRegionCase): do not change case of all the
11877 document when region ends at paragraph end (bug #461)
11879 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11881 * paragraph.C (startTeXParParams):
11882 (endTeXParParams): add \protect when necessary
11884 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11886 * BufferView_pimpl.C (workAreaExpose): remove warning
11888 2002-06-27 Angus Leeming <leeming@lyx.org>
11890 * Makefile.am: add lyxlayout_ptr_fwd.h.
11892 2002-06-26 André Pönitz <poenitz@gmx.net>
11894 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11896 2002-06-25 Angus Leeming <leeming@lyx.org>
11898 * lyxfunc.C (dispatch): Comment out the call to
11899 grfx::GCache::changeDisplay. The method no longer exists now that the
11900 pixmap generation part of the graphics loader has been moved into
11903 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11905 * text2.C: layout as layout
11907 * text.C: layout as layout
11909 * tabular.C (OldFormatRead): layout as layout
11911 * paragraph_pimpl.C (TeXDeeper): layout as layout
11912 (realizeFont): layout as layout
11914 * paragraph.C (writeFile): layout as layout
11915 (validate): layout as layout
11916 (getFont): layout as layout
11917 (getLabelFont): layout as layout
11918 (getLayoutFont): layout as layout
11919 (breakParagraph): layout as layout
11920 (stripLeadingSpaces): layout as layout
11921 (getEndLabel): layout as layout
11922 (getMaxDepthAfter): layout as layout
11923 (applyLayout): layout as layout
11924 (TeXOnePar): layout as layout
11925 (simpleTeXOnePar): layout as layout
11926 (TeXEnvironment): layout as layout
11927 (layout): layout as layout
11928 (layout): layout as layout
11930 * lyxtextclass.C (compare_name): new functor to work with
11931 shared_ptr, layout as layout
11932 (Read): layout as layout
11933 (hasLayout): layout as layout
11934 (operator): layout as layout
11935 (delete_layout): layout as layout
11936 (defaultLayout): layout as layout
11938 * lyxlayout_ptr_fwd.h: new file
11940 * lyxlayout.C (Read): layout as layout
11942 * lyx_cb.C (MenuInsertLabel): layout as layout
11944 * bufferlist.C (newFile): layout as layout
11946 * buffer.C (readLyXformat2): layout as layout
11947 (parseSingleLyXformat2Token): layout as layout
11948 (insertStringAsLines): layout as layout
11949 (asciiParagraph): layout as layout
11950 (latexParagraphs): layout as layout
11951 (makeLinuxDocFile): layout as layout
11952 (simpleLinuxDocOnePar): layout as layout
11953 (makeDocBookFile): layout as layout
11954 (simpleDocBookOnePar): layout as layout
11955 (getLists): layout as layout
11957 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11959 * CutAndPaste.C (cutSelection): layout as layout
11960 (pasteSelection): layout as layout
11961 (SwitchLayoutsBetweenClasses): layout as layout
11963 * BufferView_pimpl.C (Dispatch): layout as layout
11964 (smartQuote): layout as layout
11966 * BufferView2.C (unlockInset): layout as layout
11968 2002-06-24 André Pönitz <poenitz@gmx.net>
11970 * lyxfunc.C: fix #487
11972 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11976 * lyxfunc.C: remove display_shortcuts, show_banner
11978 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11980 * Buffer_pimpl.C: oops, update on resize
11982 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11989 * BufferView.C: use repaint()
11991 * BufferView_pimpl.h:
11992 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11993 as it's a clearer description. Remove superfluous
11996 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11998 * text.C: fix bug 488. Not ideal, but getting
11999 getWord() to work properly for the insets that
12000 matter is more difficult ...
12002 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12004 * BufferView_pimpl.C:
12007 * lyxfunc.C: remove the six million index lyxfuncs to just
12008 one, and DTRT (bug 458)
12010 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12014 * BufferView_pimpl.h:
12015 * BufferView_pimpl.C: clean up resize() stuff,
12016 and unnecessary updateScreen()s
12018 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12022 * BufferView_pimpl.h:
12023 * BufferView_pimpl.C:
12026 * minibuffer.C: remove focus management of workarea,
12027 not needed. Use screen's greyOut()
12029 2002-06-17 Herbert Voss <voss@lyx.org>
12031 * converter.C: (convert) do not post a message, when converting
12032 fails, let the calling function decide what to do in this case
12034 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12036 * lyxfunc.C: tidy up a little
12038 2002-06-16 <alstrup@diku.dk>
12040 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12041 Got rid of FORMS_H_LOCATION include. Now we are
12044 2002-06-15 LyX Development team <lyx@rilke>
12046 * buffer.[Ch] (sgmlOpenTag):
12047 (sgmlCloseTag): Added support for avoiding pernicious mixed
12048 content. Return number of lines written.
12050 (makeLinuxDocFile):
12051 (makeDocBookFile): Fixed calls to sgml*Tag.
12052 Simple white space clean.
12054 (simpleDocBookOnePar): Simple white space clean.
12056 * tabular.[Ch] (docBook): Renamed to docbook and got another
12057 argument to related with the pernicious mixed content.
12059 (docbookRow): Fixed calls for docbook inset method.
12061 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12063 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12064 so it's X11 independent.
12068 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12070 2002-06-15 Lyx Development team <lyx@electronia>
12072 * intl.h: Renamed getTrans to getTransManager.
12074 2002-06-14 Angus Leeming <leeming@lyx.org>
12076 * Makefile.am: nuke forgotten stl_string_fwd.h.
12078 2002-06-12 Angus Leeming <leeming@lyx.org>
12080 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12082 2002-06-13 Angus Leeming <leeming@lyx.org>
12085 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12087 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12089 * kbmap.C (getiso): add support for cyrillic and greek
12091 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12095 * BufferView_pimpl.h:
12096 * BufferView_pimpl.C: move bogus scrolling logic
12099 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12102 * BufferView_pimpl.C: view->resize() change
12104 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12106 * BufferView_pimpl.C: topCursorVisible
12109 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12113 * lyx_gui.C: move to frontends/
12117 * lyx_main.C: changes from above
12119 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12126 * lyx_main.C: minor tidy
12128 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12130 * BufferView_pimpl.h:
12131 * BufferView_pimpl.C:
12133 * BufferView.C: make painter() const,
12136 * BufferView2.C: use screen() accessor
12139 * lyx_main.C: some minor cleanup
12141 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12143 * BufferView_pimpl.h:
12144 * BufferView_pimpl.C: remove enter/leaveView,
12147 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12152 * BufferView_pimpl.h:
12153 * BufferView_pimpl.C: only construct screen once,
12156 * lyxrc.C: remove pointless comment
12158 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12161 * BufferView.C: remove active() and belowMouse()
12163 * BufferView_pimpl.h:
12164 * BufferView_pimpl.C: use workarea() not workarea_,
12165 and make it use a scoped_ptr instead
12167 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12169 * lyx_gui.C: add debug message on BadWindow
12171 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12173 * sp_spell.C: fdopen is not part of the C++ standard.
12175 * paragraph.C (InsetIterator): use >= instead of ==
12177 2002-06-07 Angus Leeming <leeming@lyx.org>
12179 Fixes needed to compile with Compaq cxx 6.5.
12180 * BufferView_pimpl.C:
12187 * lyxtextclasslist.C:
12192 all c-library variables have been moved into namespace std. Wrap
12193 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12198 Add a using std::abs declaration.
12200 * kbmap.h (modifier_pair):
12201 * paragraph.h (InsetTable, InsetList):
12202 * lyxfont.h (FontBits):
12203 type definition made public.
12205 * bufferlist.C (emergencyWriteAll): the compiler complains that
12206 there is more than one possible lyx::class_fun template to choose from.
12207 I re-named the void specialisation as lyx::void_class_fun.
12209 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12211 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12212 the compiler is is unable to find tostr in write_attribute.
12214 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12216 * buffer.C (sgmlError): hide #warning
12218 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12220 * xtl/*: get rid of xtl, which is not in use anyway
12222 * LyXAction.C (init):
12223 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12224 were unimplemented xtl experimentation
12226 2002-06-04 André Pönitz <poenitz@gmx.net>
12228 * lyxfunc.C: disable array operation on simple formulae
12230 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12232 * converter.C: constify a bit
12234 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12236 * lyx_gui.C: check xforms version correctly
12238 2002-04-30 Herbert Voss <voss@lyx.org>
12240 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12243 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12245 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12246 attempt to register it with a VCS)
12248 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12250 * lyx_main.C (init): honor variables LYX_DIR_13x and
12253 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12257 * lyx_main.C: fix a crash on bad command line,
12258 and give a useful exit status on error
12260 * lyxfunc.C (doImport): allow -i lyx to work
12262 2002-03-30 André Pönitz <poenitz@gmx.net>
12264 * lyxfunc.C: mathed font changes
12266 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12281 * trans_mgr.h: srcdocs, and some minor cleanups
12283 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12285 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12286 call getFont all the time)
12288 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12290 * switch from SigC signals to boost::signals
12292 2002-05-29 André Pönitz <poenitz@gmx.net>
12294 * paragraph_pimpl.C (getChar): don't call size() too often...
12296 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12298 * paragraph_pimpl.C (insertChar): do not try to update tables when
12299 appending (pos == size())
12301 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12302 in order to reduce drastically the number of comparisons needed to
12303 parse a large document
12305 2002-05-29 André Pönitz <poenitz@gmx.net>
12311 * textclasslist.[Ch]:
12312 * sp_ispell.h: whitespace change
12314 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12316 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12317 lyxaction directly now.
12319 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12323 * lyxvc.C: remove unused headers
12325 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12332 * undo_funcs.C: some cleanups. Use shared_ptr
12333 and a template for the undo stacks.
12335 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12337 * BufferView_pimpl.h:
12338 * BufferView_pimpl.C:
12345 * text2.C: use key_state/mouse_state
12347 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12349 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12352 * chset.C: change include order
12353 (loadFile): use boost regex and get rid of LRegex and LSubstring
12355 * Makefile.am (BOOST_LIBS): new variable
12356 (lyx_LDADD): use it
12358 * LaTeX.C: change include order.
12359 (scanAuxFile): use boost regex and get rid of LRegex and
12363 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12368 * FontInfo.C: moved to frontends/xforms/
12371 * FontLoader.C: moved into frontends for GUIIzation
12376 * lyxfunc.C: changes from above
12378 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12380 * LColor.C: remove spurious X include
12382 * BufferView_pimpl.C:
12387 * text2.C: move font metrics to frontends/
12389 2002-05-24 Juergen Vigna <jug@sad.it>
12391 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12392 setting the undo_cursor.
12394 * ParagraphParameters.h: include local includes first.
12396 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12398 * BufferView_pimpl.C:
12399 * BufferView_pimpl.h:
12403 * screen.C: move WorkArea into frontends/
12409 * BufferView2.C: move LyXScreen into frontends/
12413 * lyx_gui.C: move lyxlookup into frontends/xforms/
12415 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12418 * BufferView_pimpl.C:
12428 * bufferview_funcs.C:
12441 * vc-backend.C: move LyX/XFormsView into frontends/
12443 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12455 * text2.C: move Painter to frontends/
12457 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12459 * buffer.C: comment out some some code that depend upon lyx_format
12462 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12463 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12465 * buffer.h (NO_COMPABILITY): turn off compability
12467 * ColorHandler.C: include scoped_array.hpp
12469 * font.C: Use more specific smart_ptr header.
12472 * ShareContainer.h: ditto
12473 * lyx_main.h: ditto
12475 * FontInfo.h: ditto
12476 * BufferView_pimpl.h: ditto
12477 * ColorHandler.h: ditto
12479 * kbmap.C (defkey): change call to shared_ptr::reset
12481 2002-05-21 Juergen Vigna <jug@sad.it>
12483 * buffer.C (insertErtContents): fix to insert ert asis if it is
12484 non empty. Skip it completely if it contains only whitespaces.
12486 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12488 * BufferView_pimpl.C:
12489 * BufferView2.C: clear selection on paste (bug 393)
12491 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12493 * DepTable.C: include ctime
12495 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12497 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12499 2002-05-14 Juergen Vigna <jug@sad.it>
12501 * text.C (breakParagraph): fixed function to honor the keepempty
12502 layout in the right maner and also to permit the right breaking
12503 algorithm on empty or non empyt keepempty paragraphs.
12505 * paragraph.C (breakParagraph): we have to check also if the par
12506 is really empty (!size()) for isempty otherwise we do the wrong
12509 2002-05-10 Juergen Vigna <jug@sad.it>
12511 * buffer.[Ch] : The following are only changes to the ert
12512 compatibility read reading old LaTeX layout and font stuff and
12513 convert it to ERTInsets.
12515 * buffer.h: added isErtInset().
12517 * buffer.C (struct ErtComp): add a fromlayout bool to check
12518 if we're inside a LaTeX layout.
12519 (isErtInset): new helper function.
12520 (insertErtContents): look for other ert insets before this one
12521 and insert the contents there, so that we don't have subsequent
12522 ERT insets with nothing between them. This way we create only one
12523 inset with multiple paragraphs. Also check if we don't insert only
12524 spaces ' ' as they are ignored anyway afterwards in the .tex file
12525 so if we have only spaces we will ignore this latex part in the
12527 (parseSingleLyXformat2Token \\layout): better compatibility when
12528 reading layout-latex stuff.
12529 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12531 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12532 stuff after reading the inset only get the information back from
12535 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12537 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12539 * LaTeXFeatures.C (getBabelOptions): New method.
12541 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12543 * BufferView_pimpl.C (Dispatch): work around missing argument for
12546 2002-05-08 Juergen Vigna <jug@sad.it>
12548 * text.C (leftMargin): handle paragraph leftindent.
12550 * paragraph.C (writeFile): write the new \\leftindent tag.
12551 (validate): handle leftindent code.
12552 (TeXEnvironment): handle paragraphleftindent code again.
12554 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12556 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12557 for paragrap_extra indent code and new token \\leftindent.
12558 (latexParagraphs): handle the leftindent as environment.
12560 * ParameterStruct.h: added leftindent support.
12562 * ParagraphParameters.C (leftIndent): added support functions for
12563 the paragraph left indent.
12565 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12568 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12570 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12573 * text.C (computeBidiTables): No bidi in insetERT.
12575 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12578 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12580 * version.C.in: pre 5
12582 2002-05-02 José Matos <jamatos@fep.up.pt>
12583 * buffer.C (makeDocBookFile): white space changes, add newline to
12585 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12587 * tabular.C (docBook): fix typo.
12589 2002-05-03 Juergen Vigna <jug@sad.it>
12591 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12592 change in LyXText as we can not be sure it was not freed.
12593 (drawOneRow): remove unused code.
12595 * text.C (drawInset): redo the calculation of the need_break_row as
12596 it could have a row which was already freed.
12597 (draw): look at the return value of drawInset and return false if
12598 it also returned false.
12599 (paintRowText): look at the return value of draw and return false if
12600 it also returned false.
12602 * lyxtext.h: added bool return type to drawInset() and draw() so that
12603 if we have a change in the row so that the rowbreak has to be redone
12604 we abort drawing as it will be called again.
12606 2002-05-02 Juergen Vigna <jug@sad.it>
12608 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12609 a change in the maintext also if we're inside an inset.
12610 (Dispatch): set the cursor again after a break line and after the
12611 screen has been updated as it could be we're in a different row.
12613 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12614 to set the cursor behind the pargraph with > size().
12615 (setCursor): check also for the same paragraph when checking where
12616 to put the cursor if we have a NFR inset.
12618 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12619 parts of layout read further up as it still was in the wrong
12622 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12624 * screen.C (drawFromTo): change sine fullRebreak always return
12627 * buffer.C (parseSingleLyXformat2Token): reindent some
12629 * BufferView_pimpl.C (update): change since fullRebreak always
12631 (Dispatch): git rid of the last hardcoded "Standard"s.
12633 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12635 * text2.[Ch] (fullRebreak): make it return void now that we always
12638 2002-04-30 Juergen Vigna <jug@sad.it>
12640 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12641 ert compatibility check for "latex" layout.
12643 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12645 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12646 minipages: use col% instead of p%, and also use the current font.
12647 (makeLaTeXFile): Fix use babel condition.
12648 (parseSingleLyXformat2Token): Correct font when reading old floats.
12650 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12652 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12653 inserting list of floats.
12655 2002-04-25 Herbert Voss <voss@lyx.org>
12657 * MenuBackend.C (expand): don't add the graphics extensions to the
12660 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12662 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12663 non-existing layout, do not complain if it was the default layout
12664 of the original class (bug #342)
12666 2002-04-24 Juergen Vigna <jug@sad.it>
12668 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12669 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12671 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12673 * buffer.C (getBibkeyList): If using \bibliography, return the
12674 option field with the reference itself. Enables us to provide natbib
12675 support when using \bibliography.
12677 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12679 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12681 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12682 natbib is provided by the LaTeX class.
12684 2002-04-23 Juergen Vigna <jug@sad.it>
12686 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12689 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12691 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12693 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12695 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12696 ensuremath around textordmasculine, textordfeminine and
12699 2002-04-19 Juergen Vigna <jug@sad.it>
12701 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12702 reinitializing the buffer otherwise row-dimensions may be wrong.
12703 (update): reset also the selection cursors if they do exits otherwise
12704 their x/y positions may be wrong.
12706 * text2.C (cursorDown): don't enter the inset if we came from a row
12707 above and are one row over the inset.
12709 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12710 really leaving an inset.
12712 2002-04-18 Juergen Vigna <jug@sad.it>
12714 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12715 of the selected paragraph does not have the selected layout also if
12718 * text2.C (setLayout): fixed bug which did not change last selected
12721 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12722 changed the read and substituted \\end_float with \\end_inset!
12724 * BufferView_pimpl.C (cursorPrevious):
12725 (cursorNext): fixed to make it work with rows heigher than the work
12726 area without moving the cursor only the draw of the row.
12727 (workAreaMotionNotify): fix jumping over high rows.
12729 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12731 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12734 2002-04-16 Juergen Vigna <jug@sad.it>
12736 * text2.C (setCursor): set also the irow().
12737 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12739 (cursorDown): support for locking an inset if the x_fix value goes
12740 inside it. That way I can transverse insets too with cursor up/down.
12742 * lyxrow.h: added irow helper function same as other (i) functions.
12744 * BufferView_pimpl.C (cursorPrevious):
12745 (cursorNext): fixed for insets!
12747 2002-04-15 Juergen Vigna <jug@sad.it>
12749 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12750 position otherwise it is wrong in some cases.
12752 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12753 inside the inset before the call.
12755 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12757 * buffer.[Ch] (getBibkeyList): make it const.
12759 2002-04-12 Juergen Vigna <jug@sad.it>
12761 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12763 * text2.C (getCursorX): new helper function
12764 (setCursor): compute also ix_
12765 (setCursorFromCoordinates): set also ix.
12767 * lyxcursor.h: added ix_ and helper functions.
12769 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12771 * buffer.C (insertStringAsLines): dont break paragraph if the this
12772 paragraph is inside an inset which does not permit it!
12774 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12775 also with no chars on this paragraph.
12776 (paintRowText): only paint stuff if it's inside the workarea!
12778 * paragraph.C (breakParagraph): honor keepempty flag and break the
12779 paragraph always below not above.
12781 * BufferView2.C (unlockInset): update the paragraph layout on inset
12782 unlock as we changed paragraph in such a case.
12784 * lyxfind.C (LyXFind): clear the former selection if not found!
12786 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12787 again called in insertChar().
12789 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12790 an inset which uses the whole row!
12791 (rightMargin): ditto.
12792 (insertChar): force a rebreak if we inserted an inset!
12794 2002-03-28 Herbert Voss <voss@lyx.org>
12796 * lyxlength.[Ch]: add inBP() to get the right PS-point
12797 units (BigPoint). With inPixels we have rounding errors
12799 2002-04-11 Juergen Vigna <jug@sad.it>
12801 * text2.C (setCursorFromCoordinates): set iy to the right value.
12802 (setCursor): add check if row->previous exists!
12804 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12805 an old float_type as this was the case in the old code!
12807 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12809 * BufferView2.C (showLockedInsetCursor): use iy
12810 (fitLockedInsetCursor): ditto
12812 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12813 locked insets as there we have the right value now.
12815 * lyxcursor.C: added iy_ variable and iy functions to set to the
12816 baseline of cursor-y of the locked inset.
12818 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12819 (setCursor): fixed for insets which need a full row.
12821 * text.C (rowLastPrintable): don't ignore the last space when before
12822 an inset which needs a full row.
12823 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12824 as last character of a row when before a inset which needs a full row.
12826 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12828 * version.C.in: update date
12830 * text2.C (fullRebreak): try to always return true and see what
12833 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12835 * MenuBackend.C (expand): use Floating::listName
12837 * FloatList.C (FloatList): add listName argument to the built-in
12840 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12841 text associated with the float.
12843 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12845 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12847 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12849 * ShareContainer.h: add a couple of missing typenames.
12851 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12853 * lyxrc.C (getDescription): use _() correctly rather than N_().
12855 2002-03-28 Herbert Voss <voss@lyx.org>
12857 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12858 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12860 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12862 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12863 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12865 2002-03-29 Juergen Vigna <jug@sad.it>
12867 * lyxfunc.C (dispatch): add a missing fitCursor call.
12869 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12870 it was scrolled by a cursor move, so return the bool status.
12872 * BufferView.C (fitCursor): return the bool flag also to the outside
12873 world as this is needed.
12875 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12877 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12878 call the edit() as it is not needed (and wrong) IMO.
12879 (workAreaButtonPress): set the screen_first variable before evt.
12880 unlock the inset as this may change screen_first and then we have
12881 a wrong y position for the click!
12883 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12885 * MenuBackend.C (expand): another translation that I missed
12887 2002-03-28 Juergen Vigna <jug@sad.it>
12889 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12891 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12893 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12895 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12897 * MenuBackend.C (expand): fix export/view/update when there is no
12900 2002-03-27 Herbert Voss <voss@lyx.org>
12902 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12905 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12907 * bufferview_funcs.C (currentState): only show paragraph number
12908 for is DEVEL_VERSION is set.
12910 * lyxfunc.C (dispatch): put warning in INFO channel
12912 * MenuBackend.C (expand): translate the name of floats
12914 * FloatList.C (FloatList): mark the float names for translation
12916 * converter.C (convert): use LibScriptSearch
12918 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12920 * MenuBackend.C (defaults): fix default menu (we might as well get
12923 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12925 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12928 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12930 * lyxvc.C: reorder includes.
12932 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12934 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12937 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12939 * CutAndPaste.C: change layouts earlier on paste
12940 to avoid crashing when calling getFont()
12942 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12944 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12947 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12949 * WorkArea.C: remove 'Pending' debug message.
12951 * most files: ws cleanup
12953 * buffer.[Ch]: ws changes
12955 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12957 2002-03-21 Juergen Vigna <jug@sad.it>
12959 * tabular.C (SetMultiColumn): collapse also the contents of the
12960 cells and set the last border right. Added a Buffer const * param.
12962 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12964 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12967 2002-03-19 Juergen Vigna <jug@sad.it>
12969 * text2.C (clearSelection): reset also xsel_cache.
12971 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12972 where it needs to be called (John tells us to do so too :)
12973 (selectionLost): reset sel_cache.
12975 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12977 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12979 * text2.C (setCursorIntern): put debuging code in INSETS channel
12981 2002-03-19 André Pönitz <poenitz@gmx.net>
12983 * lyxfunc.C: tiny whitespace change
12985 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12987 * ToolbarDefaults.C (init):
12988 * LyXAction.C (init):
12990 * BufferView_pimpl.C (Dispatch):
12991 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12993 2002-03-19 Allan Rae <rae@lyx.org>
12995 * exporter.C (Export): removeAutoInsets before doing anything else.
12996 While I've just introduced a dependency on BufferView this really is
12997 the best place to clean the buffer otherwise you need to cleanup in
12998 a dozen places before calling export or cleanup in a dozen functions
13001 * converter.C (runLaTeX):
13002 (scanLog): Better handling of removeAutoInsets and screen updates.
13004 * lyxfunc.C (dispatch): small whitespace changes
13006 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13008 * WorkArea.C (C_WorkAreaEvent): return a value.
13009 (event_cb): return 1 if we handled the event, 0 otherwise.
13011 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13013 2002-03-18 Juergen Vigna <jug@sad.it>
13015 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13016 (GetAdditionalWidth): ditto.
13017 (RightLine): ditto.
13020 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13021 inset if we're there actually (probably not used right now but this
13022 is the direction to go for unifying code).
13023 (paste): disable code to clear the selection.
13025 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13026 inside an InsetText and move the check further up as it is in the
13029 * text2.C (pasteSelection): set a selection over the pasted text.
13031 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13033 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13034 and libgraphics to build on Cygwin.
13036 2002-03-15 Juergen Vigna <jug@sad.it>
13038 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13039 inserting an Inset into the paragraph. I know this is not the best
13040 fix but we already use current_view in CutAndPaste so we will remove
13041 all of it's using at the same time.
13043 * buffer.C (sgmlError): deactivated function till it is rewritten in
13044 the right mode, now it can create problems.
13046 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13047 before accessing it.
13049 2002-03-14 Juergen Vigna <jug@sad.it>
13051 * undo_funcs.C (textHandleUndo): do the right thing when updating
13052 the inset after the undo/redo.
13054 * text2.C (setCursor): just some testcode for #44 not ready yet.
13056 * undo_funcs.C (textHandleUndo): set the next() and previous()
13057 pointers of the paragraph to 0 before deleting otherwise we have
13058 problems with the Paragraph::[destructor].
13060 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13061 on a paragraph insertion.
13063 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13065 * buffer.C (asciiParagraph): use += operator for char append to
13068 * paragraph.C (getFontSettings): compare >= not just >
13069 (highestFontInRange): ditto
13072 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13074 * paragraph.C: change several algorithm to be more appripriate for
13075 the problem domain. This is lookip in FontList and in the InsetList.
13077 2002-03-13 André Pönitz <poenitz@gmx.net>
13080 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13082 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13087 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13089 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13091 * Painter.C (display): anon helper function, adjust code for this
13093 (pixmap): remove function.
13095 * Painter.h: remove private display variable.
13097 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13099 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13101 * WorkArea.[Ch]: remove figinset_canvas cruft.
13103 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13105 * lyxtextclass.C (operator): add one item cache optimization.
13107 * bufferlist.h: doxy changes
13109 * bufferlist.C: ws changes
13111 * DepTable.[Ch] (ext_exist): place const in the right spot.
13113 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13115 (workAreaExpose): call resizeInsets when the with BufferView changes.
13116 (Dispatch): adjust for protectedBlank removal
13117 (specialChar): call updateInset if the insert went ok.
13119 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13120 specialChar instead.
13122 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13124 * BufferView.h: doxy change
13126 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13128 * lyxtextclass.C (operator[]): remove non-const version
13129 (defaultLayout): remove non-const version
13131 2002-03-12 Juergen Vigna <jug@sad.it>
13133 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13134 did resize the LyXText too.
13136 * buffer.C (readLyXformat2): set layout information on newly allocated
13139 * tabular.C (OldFormatRead): set layout information on the paragraph.
13141 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13143 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13145 2002-03-11 Juergen Vigna <jug@sad.it>
13147 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13149 (resizeCurrentBuffer): force also the insets to resize themselfes.
13150 (moveCursorUpdate): fixed up for InsetText.
13152 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13155 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13156 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13157 value of Dialogs::tooltipsEnabled().
13158 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13160 2002-03-08 Juergen Vigna <jug@sad.it>
13162 * BufferView_pimpl.C (updateInset): update inset inside inset also
13163 if it isn't inside theLockingInset().
13165 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13167 * buffer.C (asciiParagraph): redo some of the word and line length
13169 (getLists): look for Caption instead of caption.
13171 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13173 * buffer.C (Buffer): initialize niceFile to true
13175 (makeLinuxDocFile):
13176 (makeDocBookFile): make sure niceFile is true on exit
13178 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13180 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13182 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13184 * LyXSendto.C: remove.
13185 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13186 * lyx_gui.C: remove now-redundant comment.
13187 * ColorHandler.h: remove forward declaration of class WorkArea.
13188 * lyxfunc.C: remove #include "WorkArea.h".
13190 2002-03-07 Juergen Vigna <jug@sad.it>
13192 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13193 got moved away with the DEPM and also set the inset_owner always
13194 right which before could have been omitted.
13196 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13198 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13199 wanted layout is not found.
13201 2002-03-07 Juergen Vigna <jug@sad.it>
13203 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13205 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13207 * paragraph.C (breakParagraph): use default layout not layout of
13209 (Paragraph): clear ParagraphParameters.
13211 2002-03-06 Juergen Vigna <jug@sad.it>
13213 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13214 otherwise it would not be a valid lenght. Fixed a special case in
13215 the minipage compatibility read where we end the document with a
13218 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13219 was set as it could be 0 for InsetTexts first entry.
13221 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13223 * paragraph.C (writeFile): if layout is empty write out
13224 defaultLayoutName().
13226 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13227 file without named layout we set layout to defaultLayoutName().
13229 2002-03-06 Juergen Vigna <jug@sad.it>
13231 * CutAndPaste.C (copySelection): set layout for new paragraph.
13233 * text.C (prepareToPrint): leave ERT inset left aligned
13234 (leftMargin): don't indent paragraphs inside ERT insets
13236 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13238 * paragraph.C (breakParagraph): dont call clear do the work manually
13240 * paragraph.[Ch] (clear): remove function
13242 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13244 * paragraph.C (Paragraph): dont call clear, the work has already
13247 * lyxtextclass.C (operator): assert if n is empty
13249 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13250 work manually instead.
13252 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13254 * BufferView_pimpl.C: protect selectionLost against text == 0
13256 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13258 * text.C (breakParagraph): fix a setting layout to '0' problem.
13260 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13262 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13263 final location of file, for the included files, and graphics.
13265 2002-03-05 Juergen Vigna <jug@sad.it>
13267 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13269 2002-03-04 Juergen Vigna <jug@sad.it>
13271 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13273 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13274 last column of multicolumn cells.
13275 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13277 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13279 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13280 file if it doesn't go to a temporary file.
13282 * buffer.C (sgmlOpenTag):
13283 (sgmlCloseTag): remove extra newline insertion.
13285 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13287 * text.C (getRowNearY): comment out debug msg
13289 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13291 * text2.C: first -> first_y
13293 * text.C (getRowNearY): add some attemts at a possible
13294 optimization, not working.
13296 * tabular.[Ch]: add BufferParams to several function so that newly
13297 created paragraph can be initialized to he default layotu for the
13300 * tabular-old.C (ReadOld): add buf->params to call of Init
13302 * screen.C: rename text->first to text->first_y
13304 * paragraph.C (breakParagraph): always set layout in the broken
13307 * lyxtextclass.C (Read): remove lowercase
13310 (delete_layout): ditto
13312 * lyxtext.h: rename first -> first_y
13314 * lyxlayout.C (Read): remove lowercase
13317 (obsoleted_by): ditto
13319 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13321 * buffer.C (insertErtContents): add params are to InsetERT
13322 (parseSingleLyXformat2Token): add code to check if a paragraphs
13323 layout really exist.
13324 (parseSingleLyXformat2Token): add params to several inset
13326 (asciiParagraph): remove lowercase, do the layout comparisons with
13329 * BufferView_pimpl.C (cursorNext): first -> first_y
13330 (resizeCurrentBuffer): first -> first_y
13331 (updateScrollbar): first -> first_y
13332 (scrollCB): first -> first_y
13333 (workAreaMotionNotify): first -> first_y
13334 (workAreaButtonPress): first -> first_y
13335 (checkInsetHit): first -> first_y
13336 (cursorPrevious): first -> first_y
13337 (cursorNext): first -> first_y
13338 (Dispatch): add buffer_->params to severl inset contructors
13340 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13342 * lyxlayout.C (Read): remove some debug info that I forgot.
13344 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13345 clean up the code slightly.
13346 (makeLinuxDocFile): ditto
13347 (makeDocBookFile): ditto
13349 * text2.C: layout as string
13351 * text.C: layout as string
13353 * paragraph_pimpl.C: layout as string
13355 * paragraph.[Ch]: layout as string
13357 * lyxtextclasslist.[Ch]: layout as string
13359 * lyxtextclass.[Ch]: layout as string
13361 * lyxtext.h: layout as string
13363 * lyxlayout.[Ch]: layout as string
13365 * lyx_cb.C: layout as string
13367 * bufferview_funcs.C: layout as string
13369 * bufferparams.C: layout as string
13371 * buffer.C: layout as string
13373 * LyXView.[Ch]: layout as string
13375 * LaTeXFeatures.[Ch]: layout as string
13377 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13379 * BufferView_pimpl.C: change current_layout to string, remove
13384 (workAreaButtonRelease): layout as string
13386 * BufferView2.C (unlockInset): adjust
13388 * vspace.C (asLatexCommand): use an explict temp variable.
13390 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13392 * Makefile.am: use FRONTEND_*
13394 2002-03-01 Juergen Vigna <jug@sad.it>
13396 * tabular.C (SetWidthOfMulticolCell): changed to something better
13397 I hope but still work in progress.
13398 (recalculateMulticolumnsOfColumn): renamed function from
13399 recalculateMulticolCells as it is more appropriate now.
13400 (SetWidthOfCell): calculate multicols better.
13402 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13404 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13406 * lyxfunc.C (processKeySym): print sequence also if it is
13407 `deleted' (complete)
13409 * kbsequence.C (print): print sequence even if it is deleted
13410 (complete would be a better word, actually).
13412 * lyxfunc.C (dispatch): print complete options after a prefix key
13414 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13416 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13418 * text2.C (setCharFont): eliminate setCharFont code duplication.
13420 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13422 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13423 LFUN_TABULAR_FEATURE (bug #177)
13425 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13427 * Makefile.am: remove figure.h
13429 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13431 * Bufferview_pimpl.C:
13443 * text2.C: remove #include "lyx_gui_misc.h".
13445 * LaTeX.C: added #include <cstdio>
13447 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13449 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13450 that the paragraph following this one can have.
13452 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13454 * vspace.C (asLatexCommand): fix bogus gcc warning
13456 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13458 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13460 * text2.C (setLayout): get rid of redundant code
13462 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13464 * text2.C (incDepth): make sure depth cannot be increased beyond
13467 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13469 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13470 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13472 * PainterBase.h (image):
13473 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13474 a LyXImage const *.
13476 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13480 * BufferView_pimpl.C:
13481 * BufferView_pimpl.h:
13501 * sp_spell.C: remove fig inset, and the crap house of
13502 cards that follows it
13504 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13509 * os2_errortable.h:
13510 * nt_defines.h: move .h into support/
13512 * vms_defines.h: remove
13514 * WorkArea.C: add space in debug output
13518 * buffer.C: add WITH_WARNINGS
13522 * bufferlist.C: s/retrive/retrieve/, add docs
13531 * chset.C: add docs
13533 * lyxgui.C: add ID to X error handler
13535 * lyxtestclass.c: fix typo
13537 2002-02-26 Juergen Vigna <jug@sad.it>
13539 * tabular_funcs.C (write_attribute): changed so that some default
13540 attributes are not written at all.
13541 (getTokenValue): set default values before trying to read the
13542 value so we have the return value always set as default if we don't
13543 find the token we search for.
13545 * tabular.C (Write): write bools as bools not as strings!
13547 2002-02-22 Juergen Vigna <jug@sad.it>
13549 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13550 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13552 * text.C (leftMargin): don't add an indent for paragraphs inside
13553 tabular cells (fix #208).
13555 2002-02-21 José Matos <jamatos@fep.up.pt>
13557 * tabular.C (docBook): fixed support for long tables.
13559 2002-02-20 Juergen Vigna <jug@sad.it>
13561 * text2.C (getFont): get the drawing font of the Inset if this
13562 paragraph is inside an inset (only important for InsetERT for now).
13564 * buffer.C (insertErtContents): use new lanugage params in ERT
13567 * CutAndPaste.C: commenting out seemingly uneeded code.
13569 2002-02-19 Allan Rae <rae@lyx.org>
13571 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13572 Iterators might be simple to use but they also get invalidated.
13573 (removeAutoInsets): renamed saved cursor tracking variables and added
13574 some comments to clarify what everything does.
13576 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13583 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13584 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13587 * vc-backend.h: remove #include "support/syscall.h"
13591 * converter.C: rearrange #includes in Lars' approved fashion.
13593 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13594 forward declare class Timeout in the header file.
13596 * XFormsView.C: changes due to the above.
13598 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13599 similar to LyXView.
13601 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13602 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13604 2002-02-18 José Matos <jamatos@fep.up.pt>
13606 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13609 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13611 * a lot of small ws changes
13612 * add a lot of using std::XXX
13613 * use std construcs some places where approp.
13614 * use some exisint stuff from lyxfunctional where approp.
13615 * Make file changes to use partial linking (lets test this now...)
13617 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13621 remove #include "support/syscontr.h" as it's redundant. Always has been.
13629 change Systemcalls::System to Systemcalls::Wait and
13630 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13631 No change of functionality, just reflects the stripped down Systemcalls
13634 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13636 * debug.[Ch]: add a GRAPHICS type to the enum.
13638 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13640 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13642 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13645 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13647 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13648 match the changes below.
13650 * text2.C (toggleInset): if there is not editable inset at cursor
13651 position, try to see if cursor is _inside_ a collapsable inset
13654 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13656 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13657 document menu has a nice checkbox
13659 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13661 * lyxlength.C (asLatexString): change PW to output as percent of
13664 * lengthcommon.C: change '%' to 't%'
13666 * lyxfunc.C (dispatch): a few comments from Martin
13668 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13672 * BufferView_pimpl.h:
13673 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13676 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13678 * vspace.C (inPixels): fix compiler warning
13680 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13682 * lyxfunc.C (getStatus): fix status message for disabled commands.
13684 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13686 * BufferView_pimpl.C: fix crash on close buffer
13687 during selection (#227)
13689 2002-01-27 Herbert Voss <voss@lyx.org>
13691 * buffer.C: link old Figure to new graphic inset
13693 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13695 * FontLoader.C (getFontinfo): Change the latex font names in order
13696 to match the names of type1inst.
13698 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13700 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13702 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13703 (extchanged): ditto
13705 (remove_files_with_extension): ditto
13706 (remove_file): ditto
13709 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13710 document is smaller than the work area height. Do not initialize
13711 static variables to 0.
13713 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13715 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13717 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13718 LFUN_LAYOUT_PARAGRAPHS.
13720 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13721 tabular. It is possible to provide a possible cell, which will
13722 typically be the actcell from the corresponding insettabular
13724 * lyxfunc.C (getStatus): small cleanup; disable
13725 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13728 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13730 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13732 * paragraph.C (startTeXParParams):
13733 (endTeXParParams): new methods. The LaTeX code to
13734 start/end paragraph formatting
13735 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13736 empty (fixes bug #200)
13738 * vspace.C (inPixels): adapt to the change below
13739 (inPixels): [later] more cleanups (remove unused variables)
13741 * lyxlength.C (inPixels): change to use a width and a height as
13744 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13746 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13747 Replaced with \paperwidth
13749 * DepTable.C (insert): add std:: qualifier
13751 2002-01-18 Allan Rae <rae@lyx.org>
13753 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13756 * text.C (drawInset): Turned out I didn't know enough about how
13757 rebreaking worked. This fixes most of the redraw problems. I see
13758 an occasional cursor trail when a line is broken now and the cursor
13759 placement can seem out by a few pixels also after a rebreak.
13761 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13763 * buffer.C (parseSingleLyXformat2Token): update because minipage
13764 width is now a LyXLength
13766 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13768 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13771 2002-01-17 Juergen Vigna <jug@sad.it>
13773 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13775 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13776 is set correctly and the inset is updated correctly.
13778 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13780 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13781 the beginning of the loop.
13783 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13785 * lyxrc.C: improve help for use_scalable_fonts
13787 2002-01-17 Allan Rae <rae@lyx.org>
13789 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13791 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13793 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13794 make sure to set their inset_owner to the right value (bug #171)
13796 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13799 * DepTable.C: Implement mtime checking to reduce time spent doing
13802 2002-01-16 Juergen Vigna <jug@sad.it>
13804 * tabular.C (GetAdditionalHeight): one of error fixed.
13806 * lyxrc.C (output): small fix in writing use_pspell.
13808 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13810 * sp_base.h: #include LString.h
13812 2002-01-16 Allan Rae <rae@lyx.org>
13814 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13815 Can someone check this please?
13817 * text.C (drawInset): It was possible that p.row would be removed by
13818 breakAgainOneRow upsetting a few other settings. There may be another
13819 small tweak possible by setting need_break_row = 0 when p.row has been
13820 removed but I don't know enough about the logic here.
13822 2002-01-15 Allan Rae <rae@lyx.org>
13824 * text.C (insertChar): removed conditional truism.
13826 * BufferView2.C (removeAutoInsets): More tweaks.
13827 cur_par_prev could be a stray pointer. Check for trailing empty line
13828 in case last line was cur_par and only had an error inset on it.
13830 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13832 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13835 * vc-backend.C (most methods):
13836 * exporter.C (Export):
13837 * converter.C (convert):
13839 * LyXSendto.C (SendtoApplyCB):
13840 * lyxfunc.C (dispatch):
13844 * lyx_cb.C (AutoSave):
13846 * BufferView_pimpl.C (MenuInsertLyXFile):
13847 * buffer.C (runChktex): use Buffer::filePath().
13849 * buffer.h: rename filename to filename_; rename filepath to
13850 filepath_ and make it private
13851 (filePath): new method
13853 * buffer.C (writeFile): use fileName()
13856 * lyx_main.C (init): fix starting of LyX when the binary is a
13857 link from so,ewhere else.
13859 * minibuffer.C: include <cctype> for isprint
13861 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13863 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13864 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13865 name clash with InsetCollapsable's width function.
13867 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13869 * lastfiles.C: include <iterator>
13871 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13873 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13876 * buffer.C (makeLaTeXFile): ditto.
13877 Also make loop operation more transparent.
13879 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13881 * ToolbarDefaults.C: remove trailing comma closing namespace.
13883 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13885 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13888 * trans.C (Load): comment out unused variable, allowed.
13890 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13892 * minibuffer.[Ch] (append_char): new method to recieve input from the
13893 drop-down completion browser. If a key was pressed, then recieve this
13894 char and append it to the existing string.
13895 (peek_event): modify the positioning data passed to the completion
13896 browser so that it can be placed above the minibuffer rather than below.
13897 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13899 * LyXAction.C (init): alloe error-next for readonly documents.
13901 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13904 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13906 * bufferlist.C (readFile): create the buffer _after_ checking that
13909 * lyxfunc.C (verboseDispatch): fix handling of arguments
13911 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13913 * lyxrc.C: use string::erase() instead of initializing to "".
13916 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13918 * BufferView_pimpl.h:
13919 * BufferView_pimpl.C:
13922 * text2.C: tell X when we have made a selection for copying
13924 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13926 * BufferView_pimpl.C (MenuInsertLyXFile):
13927 * lyxfunc.C (menuNew):
13929 (doImport): add shortcuts to directory buttons
13931 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13934 * lyxfunc.C (setStatusMessage):
13935 (getStatusMessage): new methods
13936 (getStatus):use setStatusMessage instead of setErrorMessage
13937 (dispatch): when function is disabled, set error message here
13938 [instead of in getStatus previously]
13940 * BufferView_pimpl.C (workAreaButtonRelease): update
13941 toolbar/menubar here too.
13943 2002-01-13 Allan Rae <rae@lyx.org>
13945 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13946 Now seems indestructible. Remaining task is to audit all other
13947 code affected by deleteEmptyParagraphMechanism. One small quirk
13948 left is that an empty document with an error in the preamble can
13949 be made to report an error but no error box appears. I don't know
13951 (removeAutoInsets): Improved comments.
13953 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13956 * Thesaurus.C: update for Aiksaurus 0.14
13958 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13960 * text2.C (firstParagraph): removed member function, all uses
13961 replaces with ownerParagraph
13962 (redoParagraphs): here
13963 (updateInset): here
13964 (toggleAppendix): here
13965 * BufferView2.C (insertErrors): here
13966 (setCursorFromRow): here
13968 2002-01-13 Allan Rae <rae@lyx.org>
13970 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13971 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13972 There is still a way to segfault this although you may have to do this
13973 multiple times: Have an InsetERT with an unknown command in it.
13974 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13975 <down-arrow>, <Enter> again, View->DVI, BANG!
13977 * text2.C (setCursor):
13978 (deleteEmptyParagraphMechanism):
13979 * lyxtext.h (setCursor):
13980 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13981 Making use of the return value may help fix other bugs.
13983 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13985 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13987 * LyXView.C (updateMenubar): call MenuBar::update here
13988 (updateToolbar): but not here
13989 (showState): do not update toolbar/menubar
13991 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13992 should need to care about that.
13994 * lyxfunc.C (verboseDispatch): simplify a bit
13995 (getStatus): have a version which takes a pseudoaction, and
13996 another which requires a (kb_action,string).
13998 * LyXAction.C (retrieveActionArg): make it work also when action
13999 is not a pseudo-action.
14000 (getActionName): simplify a bit
14003 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14005 * lyxfunc.C (verboseDispatch): new families of methods with
14006 several ways to specify a command and a bool to indicate whether
14007 the command name and shortcut should be displayed in minibuffer
14008 (eventually, we could extend that to a finer bitmask like
14009 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14010 (dispatch): the pristine dispatch command which just, well,
14011 dispatchs! Note it still sets its result to minibuffer; I'm not
14014 * lyxfunc.h: remove setHintMessage
14016 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14018 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14020 * BufferView_pimpl.C (specialChar): delete new inset if we have
14021 not been able to insert it.
14023 * kbmap.C: revert to using int instead of kb_action, since all we
14024 are dealing with is pseudo-actions.
14026 * LyXAction.C (searchActionArg): change to return int instead of
14027 kb_action, since the result is a pseudoaction.
14029 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14031 * buffer.C (insertErtContents): Fix (partially) the font bug.
14033 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14035 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14036 as the other one is broken on my machine!
14038 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14041 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14043 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14045 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14046 reflect their actual use. Provide compatibility code for older lyxrc
14049 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14051 change names of popup font variables in line with the changes to lyxrc.C
14053 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14055 * buffer.C (asciiParagraph): avoid outputing a word twice after
14058 * lyxrc.C (getDescription): document that document_path and
14059 template_path can be empty.
14061 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14063 * LaTeXFeatures.C (getMacros):
14064 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14066 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14068 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14070 (getPackages): rename feature "floats" to "float". Use an array to
14071 iterate over 'simple' features (i.e. just a \usepackage). Add
14072 handling of "amsmath" (renamed from "amsstyle").
14074 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14076 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14079 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14081 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14082 FuncStaus::FuncStatus & FuncStaus::some_method().
14084 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14086 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14087 of the func_satus stuff. Edited and massaged in various ways by
14090 * lyxfunc.C (getStatus): use FuncStatus
14092 2002-01-08 Juergen Vigna <jug@sad.it>
14094 * text.C (nextBreakPoint): use function Inset::isChar().
14096 * paragraph.C (TeXOnePar): use function
14097 Inset::forceDefaultParagraphs.
14099 * buffer.C (latexParagraphs): use function
14100 Inset::forceDefaultParagraphs.
14102 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14104 * lyx_gui.C (init): set the style of the menu popups to
14105 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14107 2002-01-07 Juergen Vigna <jug@sad.it>
14109 * text.C (setHeightOfRow): small fix
14110 (prepareToPrint): don't look at alignment if we don't have the place
14113 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14115 * box.C: New file. Move the Box methods and functions out of box.h,
14116 following Lars' suggestion.
14118 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14120 * box.h: #include "support/LOstream.h", needed for inlined function.
14123 * lyxtextclasslist.C: added some using std declarations.
14125 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14127 * box.h: make signed dimensions to allow insets wider than
14128 the screen (bug #162)
14130 * BufferView_pimpl.C: add some insetHit debug
14132 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14134 * vc-backend.C: add FIXME
14136 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14138 * lyxfunc.C (getStatus): enable code for showing math font status
14141 2002-01-07 Juergen Vigna <jug@sad.it>
14143 * text.C (nextBreakPoint): removed debug output not needed anymore.
14145 2002-01-06 Juergen Vigna <jug@sad.it>
14147 * text.C (nextBreakPoint): fixed up this function we had this bug
14148 since ever but now hopefully we break row better.
14149 (insertChar): we have to check if an inset is the next char as it
14150 could now happen that a large inset is causing a break.
14152 2002-01-05 Juergen Vigna <jug@sad.it>
14154 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14155 if it doesn't like to be drawed.
14157 2002-01-04 Juergen Vigna <jug@sad.it>
14159 * BufferView2.C (lockInset): forgot to set a cursor.
14161 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14163 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14165 * FormMathsPanel.C:
14168 * form_maths_panel.C:
14169 * form_maths_panel.h:
14170 * form_maths_panel.fd: implemented sub- and super- buttons in math
14173 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14174 (or ^ space) to be used as in TeX (req'd by Andr�.
14176 * lyxfunc.C: Allow ^ and _ again to be used both as
14177 super/subscript (mathed) and as themselves (in text).
14179 2002-01-03 Allan Rae <rae@lyx.org>
14181 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14182 "LyX" or the filename of the current buffer if it has one. This is a
14183 modified form of John Levon's patch.
14185 * XFormsView.C (setWindowTitle): also set icon title.
14187 * LyXView.h (setWindowTitle): signature changed.
14188 * XFormsView.h (setWindowTitle): ditto.
14190 2002-01-02 Juergen Vigna <jug@sad.it>
14192 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14194 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14196 * screen.C (topCursorVisible): introduce a temp var for
14197 text->cursor.row(), handle the case where this row is null. (kindo
14200 * text2.C (setCursor): add a couple of asserts.
14202 * paragraph.h (inset_iterator): add -> operator
14204 * paragraph.[Ch] (autoDeleteInsets): remove member function
14206 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14207 cursor pos correctly and handle inset deletion by itself.
14208 (insertErrors): move iterator declaration out of for expression
14210 * lyxtextclass.C: add <algorithm>
14212 * Makefile.am: added the new files to sources, removed layout.C
14214 * layout.C: removed file
14216 * layout.h: remove LYX_DUMMY_LAYOUT
14218 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14222 * lyxtextclass.[Ch]:
14223 * lyxtextclasslist.[Ch]: new files
14225 * include order changes to a lot of files, also changes because of
14228 2001-12-27 Juergen Vigna <jug@sad.it>
14230 * buffer.C (asciiParagraph): more fixes.
14232 * tabular.C (ascii): make ascii export support export of only the
14233 data separated by a column-delimiter.
14234 (ascii): better support for ascii export.
14236 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14238 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14240 * tabular_funcs.C: use a "using std::getline" instead of the
14241 previous fix from Angus (necessary for cxx + lyxstring)
14243 2001-12-24 Juergen Vigna <jug@sad.it>
14245 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14247 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14248 problems. First check a minipage also if we have some ert-contents
14249 (not only on par->size(), second set the right depth of the paragraph
14250 on the relink to the root-paragraph-list!
14252 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14253 which then did not anymore update the main paragraphs on undo/redo!
14255 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14257 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14258 code. Support all font-changing funcs (even those which are not in
14259 menu currently). Support for reporting font settings in
14260 mathed (disabled until Andre provides a function on mathed's side).
14262 * func_status.h (toggle): small helper function to set toggle
14265 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14267 * tabular_funcs.C: getline -> std::getline
14269 2001-12-21 Juergen Vigna <jug@sad.it>
14271 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14272 accessed and could be 0 (I couldn't generate this but it seems
14275 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14277 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14278 * tabular_funcs.h: here and include iosfwd
14280 2001-12-20 Juergen Vigna <jug@sad.it>
14282 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14283 inside inset but undo_par was.
14285 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14287 * Thesaurus.C: always include <config.h> in sources.
14291 * box.h: do not include <config.h> in header files
14293 * text.C (paintLastRow): remove unused variable
14295 * text.C (transformChar):
14297 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14299 * Painter.C (text):
14300 * font.C (width): rewrite to use uppercase() instead of
14303 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14305 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14307 * lyxfind.C: clean up of find failure position change
14309 2001-12-20 Juergen Vigna <jug@sad.it>
14311 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14313 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14314 (TeXRow): added to LaTeX a single tabular row.
14315 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14316 (Latex): simplified and finally good LT-h/f support.
14317 (various_functions): just small adaptions for LT-h/f support.
14319 * tabular_funcs.[hC]: added and moved here all not classfunctions
14322 2001-12-19 Juergen Vigna <jug@sad.it>
14324 * tabular.[Ch]: better support for longtabular options (not finished
14327 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14329 * text.C (paintLastRow): use the label font instead of the font of
14330 the last character to compute the size of *_BOX. This makes more
14331 sense and avoids a crash with empty paragraphs.
14332 Use Painter::rectangle to draw EMPTY_BOX.
14334 2001-12-19 Juergen Vigna <jug@sad.it>
14336 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14337 the paragraphs if the replaced paragraph is not the first one!
14338 Tried to delete not used paragraphs but does not work yet so for
14339 now it's inside #ifdef's and by default off!
14341 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14343 * MenuBackend.C: include "lyx_main.h" instead of declaring
14344 lastfiles (actually was declared as LastFiles* instead of a
14347 2001-12-17 Juergen Vigna <jug@sad.it>
14349 * tabular.C (AppendColumn): applied John's fix
14351 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14355 * BufferView_pimpl.h:
14356 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14359 * box.h: new start of class for above
14361 * lyxfunc.C: ignore space-only minibuffer dispatches.
14362 Show the command name when it doesn't exist
14364 * minibuffer.C: don't add empty lines to the history
14366 * minibuffer.C: add a space on dropdown completion
14368 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14370 * text.C: fix line above/below drawing in insets
14372 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14374 * lyxlength.C (LyXLength): Initialize private variables.
14376 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14378 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14379 when inserting error insets.
14381 2001-12-13 Juergen Vigna <jug@sad.it>
14383 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14384 actually sometimes the before-paragraph.
14385 (setUndo): don't clear the redostack if we're not actually undoing!
14387 2001-12-06 Juergen Vigna <jug@sad.it>
14389 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14390 and fixed redoing of main paragraph, so we can use it now ;)
14392 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14394 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14396 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14399 2001-12-13 André Pönitz <poenitz@gmx.net>
14402 * undo_func.C: minor cleanup
14404 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14406 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14407 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14408 font in urw-fonts package which is marked as -urw-fontspecific and
14409 does not work (incidentally, changing the encoding in the
14410 fonts.dir of this package to -adobe-fontspecific fixes the
14413 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14414 is a crash when undoing first paragraph (Juergen, please take a
14415 look). THis does not mean the undo fix is wrong, just that it
14418 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14419 the (Paragraph*) version when needed instead of duplicating the
14422 * text.C (workWidth): use Inset::parOwner to find out where the
14423 inset has been inserted. This is a huge performance gain for large
14424 documents with lots of insets. If Inset::parOwner is not set, fall
14425 back on the brute force method
14427 * paragraph_pimpl.C (insertInset):
14428 * paragraph.C (Paragraph):
14429 (cutIntoMinibuffer): set parOwner of insets when
14430 inserting/removing them
14432 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14434 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14440 * mathed/formulabase.C:
14441 * mathed/math_cursor.[Ch]:
14442 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14445 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14447 * lyxlength.[Ch] (operator!=): new function
14449 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14451 * text.C (workWidth): use Inset::parOwner to find out where the
14452 inset has been inserted. This is a huge performance gain for large
14453 documents with lots of insets. If Inset::parOwner is not set, fall
14454 back on the brute force method
14456 * paragraph_pimpl.C (insertInset):
14457 * paragraph.C (Paragraph):
14458 (cutIntoMinibuffer): set parOwner of insets when
14459 inserting/removing them
14461 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14463 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14465 * tabular-old.C (getTokenValue):
14466 * tabular.C (getTokenValue):
14467 (write_attribute): new versions for LyXLength
14468 (everywhere): adjust the use of widths
14470 * tabular.h: change the type of widths from string to LyXLength
14472 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14474 * paragraph.C: fixed missing line number count when exporting
14475 Environments to LaTeX file
14477 * buffer.C: added informational message for checking line numbers.
14479 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14481 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14482 paragraph, do the 'double space' part, but not the 'empty
14485 * text.C (workWidth): small optimization
14486 (getLengthMarkerHeight): use minimal size for negative lengths.
14488 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14490 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14492 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14494 2001-12-11 André Pönitz <poenitz@gmx.net>
14497 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14499 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14501 * text2.C: keep selection on a setFont()
14503 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14505 * lyx_cb.C: another bv->text misuse, from insert label
14507 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14510 * kbsequence.C: re-instate nmodifier mask
14512 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14514 * lyx_main.h: make lyxGUI private.
14516 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14518 * lyxfind.C: place the cursor correctly on failed search
14520 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14522 * text.C (getLengthMarkerHeight): for small heights, the arrows
14523 are not always on top/bottom of the text
14524 (drawLengthMarker): smaller arrows; take the left margin in
14525 account; draw also vfills.
14527 (paintLastRow): remove special code for vfill and standard spaces,
14528 since everything is handled in drawLengthMarker now.
14530 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14532 * buffer.C (insertErtContents): try to handle font and language
14533 interaction a bit better.g
14535 * ColorHandler.C (updateColor): change the hash to cover the whole
14536 LColor enum, ws cleanup
14537 (getGCLinepars): ditto
14538 (getGCLinepars): only lookup in the linecache once.
14540 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14542 * iterators.C (operator++): Make the iterator more robust
14544 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14546 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14548 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14551 * text.C: better added space drawing
14553 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14556 * BufferView2.C: fix layout combo update on inset unlock
14558 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14560 * Makefile.am: don't compile unused files
14562 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14566 * LyXAction.C: remove old LFUN_LAYOUTNO
14568 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14570 * paragraph_pimpl.h:
14571 * paragraph_pimpl.C: isTextAt() doesn't need font param
14573 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14576 * lyxlex.C: little cleanup
14578 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14580 * BufferView_pimpl.C: fix insertAscii for insets
14582 2001-12-05 Juergen Vigna <jug@sad.it>
14584 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14585 set the right font on the "multi" paragraph paste!
14587 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14593 * lyxlength.C: remove out-commented code.
14595 * BufferView_pimpl:
14609 * vc-backend.C: change "while(" to "while ("
14611 * lyxlength.[Ch]: add zero function to check if length is zero or
14613 * lyxgluelength.C: use it
14615 2001-12-05 Allan Rae <rae@lyx.org>
14617 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14618 Works for 2.95.3, from what I understand of Garst's reports this should
14619 work for other g++ versions. We're screwed if the abs(int) definition
14620 changed between bugfix releases of gcc.
14622 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14624 * text.C: fix chapter label offset !
14626 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14629 * text.C: fix hfill at end of line, clean up
14631 2001-12-04 Juergen Vigna <jug@sad.it>
14633 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14634 that we force an update of the inset and it's owners if neccessary.
14636 2001-12-03 Juergen Vigna <jug@sad.it>
14638 * text.C (rowLast): simplified code
14640 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14642 * lyxfunc.C: fix show options on timeout
14644 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14646 * screen.C (topCursorVisible): scroll half a page when the cursor
14647 reached top of bottom of screen
14649 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14651 * minibuffer.C: deactivate on loss of focus
14653 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14655 * vspace.[Ch] (operator!=): add operator.
14657 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14659 * BufferView_pimpl.C: refuse to open an inset when
14660 there's a selection.
14662 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14664 * BufferView_pimpl.C: allow to click on RHS of full row insets
14666 2001-11-30 Juergen Vigna <jug@sad.it>
14668 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14669 insets for undo reasons.
14671 2001-11-28 André Pönitz <poenitz@gmx.net>
14673 * vspace.[Ch]: cosmetical changes
14675 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14685 * kbsequence.C: part re-write of old kb code
14688 * WorkArea.C: remove Lgb_bug_find_hack
14690 2001-11-30 José Matos <jamatos@fep.up.pt>
14692 * buffer.C (makeDocBookFile): add a comment to point a hack.
14693 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14694 Fixed a double write of labels.
14696 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14699 * LaTeX.h Fixed bug in LaTeX class where it would not
14700 re-run latex if no depfiles were changed, but the .dvi was removed.
14702 2001-11-28 André Pönitz <poenitz@gmx.net>
14704 * all the files from the change on 2001/11/26:
14705 use lyx::layout_type instead of LyXTextClass::size_type
14706 use lyx::textclass_type instead of LyXTextClassList::size_type
14708 2001-11-29 Juergen Vigna <jug@sad.it>
14710 * text.C: added support for paragraph::isFreeSpacing()
14712 * buffer.C: same as above
14714 * paragraph.h: inserted isFreeSpacing() function to enable
14715 FreeSpacing inside InsetERT.
14717 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14718 of the paragraph's in the cut/copy buffer to 0!
14720 * text2.C (removeRow): remove the assert as it can!
14722 * lyxtext.h: added helper function firstRow returning firstrow and
14723 made firstrow private again.
14725 * BufferView2.C (lockInset): don't relock if we're already locked!
14727 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14728 the only paragraph.
14729 (removeRow): added Assert::(firstrow)
14731 * debug.C: forgot to add INSETTEXT here.
14733 2001-11-28 Juergen Vigna <jug@sad.it>
14735 * sp_spell.C (initialize): changed error text to more general
14736 spellchecker command use (not only ispell!)
14738 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14740 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14742 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14744 * vspace.C: initialise lyxgluelength on failure
14746 2001-11-28 Allan Rae <rae@lyx.org>
14748 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14749 declaration & definition that looks like a function declaration.
14751 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14753 * BufferView2.C (copy):
14754 (copyEnvironment): do not clear the selection when doing a copy.
14756 * text.C (paintFirstRow): compilation fix
14758 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14760 * tabular.C (Latex): correct line count when writing latex.
14762 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14764 * paragraph_pimpl.h:
14765 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14768 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14772 * LColor.C: change vfillline->added_space
14774 * text.C: add markers and text for added space
14776 * vspace.C: fix comment
14778 2001-11-28 André Pönitz <poenitz@gmx.net>
14780 * paragraph.C: whitespace changes
14781 * all the other files from the change on 2001/11/26:
14782 change *::pos_type into lyx::pos_type
14784 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14786 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14787 language of the document when inserting error insets.
14789 2001-11-26 André Pönitz <poenitz@gmx.net>
14791 * BufferView_pimpl.[Ch]:
14799 * paragraph_pimpl.[Ch]:
14802 * text2.C: reduce header dependencies, introduce type for positions
14804 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14806 * <various>: change to use Alert.h
14808 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14810 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14811 when encountering an unknown token.
14812 (readLyXformat2): Show an error message if there were unknown tokens.
14814 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14817 * BufferView_pimpl.C:
14821 * text2.C: use par->isInset()
14823 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14825 * paragraph_pimpl.h:
14826 * paragraph_pimpl.C: cleanup
14828 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14830 * text2.C (removeRow):
14831 * text.C (setHeightOfRow): remove useless (and costly) call to
14834 2001-11-20 Allan Rae <rae@lyx.org>
14836 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14837 Now need Inset*::checkInsertChar() to return true for appropriate
14838 cases so that the characters in the minibuffer will actually be
14841 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14843 * text.C: change the order of the includes.
14844 (workWidth): initialize it at once.
14845 (workWidth): make maxw unsigned
14846 (setHeightOfRow): remove unused variable (inset)
14847 (selectSelectedWord): remove unused variable (inset)
14848 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14850 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14852 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14853 server is not running.
14855 (closeConnection): add debug info when server is disabled.
14857 * ColorHandler.C (getGCForeground): send debug message to GUI
14860 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14862 * kbmap.C (bind): modify because return conventions of
14863 kb_sequence::parse have changed.
14865 * kbsequence.C (parse): only ignore spaces and not any stupid
14866 control character. This avoids tests like s[i] <= ' ', which are
14867 guaranteed to fail with 8bit characters and signed chars.
14868 Change return code to string::npos when there have been no error
14869 (0 was a bad idea when error is at first character)
14871 2001-11-14 José Matos <jamatos@fep.up.pt>
14874 * buffer.C (simpleDocBookOnePar): removed unused argument.
14876 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14878 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14879 insets which are part of a word. Paragraph::isLetter takes care of
14880 that now. Use Paragraph::isInset to identify insets.
14881 (selectSelectedWord): do not test for hyphenation break.
14883 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14884 that protected spaces are considered as spaces.
14886 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14889 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14892 * lyxserver.C: fix it. and small cleanup.
14894 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14896 * BufferView_pimpl.C: use inline helpers
14899 * LaTeXFeatures.C: fix typos
14902 * Spacing.C: move spacing_string into class
14904 * ToolbarDefaults.C: move stuff into namespace anon
14906 * layout.h: update enum
14908 * lyxfunc.C: use better debug
14910 * minibuffer.h: fix typo
14914 * WorkArea.C: add and use Debug::WORKAREA
14918 * text2.C: code re-organisation, inline helpers
14920 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14922 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14923 std::vector.empty().
14925 2001-11-09 Allan Rae <rae@lyx.org>
14927 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14928 '\n's after tables. Tabular and ERT inset work now makes this no
14931 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14934 * minibuffer.C: fix crash, improve drop-down completion
14936 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14939 * lyxserver.C: invalidate fd's when doing endPipe()
14941 2001-11-08 José Matos <jamatos@fep.up.pt>
14943 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14944 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14947 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14949 2001-11-07 José Matos <jamatos@fep.up.pt>
14952 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14955 * buffer.C (sgmlOpenTag):
14956 * buffer.C (sgmlCloseTag): removed debug info.
14958 * buffer.h (sgmlOpenTag):
14959 * buffer.h (sgmlCloseTag): made public.
14961 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14963 * buffer.C (saveParamsAsDefaults):
14964 * lyx_cb.C (MenuLayoutSave): remove
14966 * LyXAction.C (init):
14968 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14970 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14972 * buffer.C (setPaperStuff): removed from here...
14974 * bufferparams.C (setPaperStuff): ... and moved there.
14976 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14980 * XFormsView.C: add support for drop-down completion
14982 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14984 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14987 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14989 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14992 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14994 * lyx_main.C: change ref to known bugs
14996 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14998 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14999 to work around older babel problems.
15001 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15003 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15005 2001-10-24 Juergen Vigna <jug@sad.it>
15007 * tabular-old.C (ReadOld): below variable changes reflected.
15009 * tabular.[Ch]: added ltType struct for longtable header/footer
15010 defines and changed all instances where they are used. Added
15011 future support for double top/bottom rows.
15013 2001-10-24 José Matos <jamatos@fep.up.pt>
15015 * buffer.h (docbookHandleCaption):
15016 * buffer.C (docbookHandleCaption): removed unused function.
15017 (makeDocBookFile): moved docbook supported version to v4.1.
15019 2001-10-24 José Matos <jamatos@fep.up.pt>
15022 * tabular.C (docbookRow): new function to export docbook code of a row.
15023 (DocBook): now honors the longtable flags.
15025 2001-10-23 José Matos <jamatos@fep.up.pt>
15028 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15029 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15031 * buffer.C (makeLinuxDocFile):
15032 (makeDocBookFile): reworked the preamble, more clean, and with
15033 support for lyx defined entities. Changed the document declaration
15034 to be more XML friendly.
15036 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15037 if we need to output XML that should be done with a filter.
15039 2001-10-22 Juergen Vigna <jug@sad.it>
15041 * sp_pspell.h (class PSpell): add alive function needed in the
15042 controller to see if the spellchecker could be started.
15044 2001-10-22 Juergen Vigna <jug@sad.it>
15046 * buffer.C (insertStringAsLines): modify the font for inserting
15047 chars in certain conditions by calling checkInsertChar(font).
15049 2001-10-19 Juergen Vigna <jug@sad.it>
15051 * text.C (workWidth): use getRow instead of wrong algorithm.
15052 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15054 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15059 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15061 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15063 * text.C (workWidth): do not search for the exact row when
15064 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15065 optimization for big documents.
15067 2001-10-18 Juergen Vigna <jug@sad.it>
15069 * text.C (workWidth): new function with added Inset * parameter.
15071 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15073 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15075 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15076 change return type of getColumnNearX.
15079 * text.C (changeRegionCase): use uppercase/lowercase instead of
15082 (rightMargin): simplify code by factoring out the uses of
15087 (appendParagraph): use Paragraph::size_type
15089 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15091 * vspace.C (asLatexString): add a missing break
15093 2001-10-15 Herbert Voss <voss@perce.de>
15095 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15097 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15099 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15102 2001-10-10 André Pönitz <poenitz@gmx.net>
15104 * lyxfunc.C: removed greek_kb_flag.
15106 2001-10-10 Herbert Voss <voss@perce.de>
15108 * lyx_main.C: delete global string help_lyxdir.
15110 2001-10-09 Herbert Voss <voss@perce.de>
15112 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15114 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15116 * lyx_main.C: added global string help_lyxdir.
15118 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15120 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15122 * lyxrc.C (set_font_norm_type): support iso8859-4
15124 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15126 * LaTeX.C (deplog): add another regex for MikTeX
15128 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15130 * lyxrc.C (set_font_norm_type): support iso8859-3
15132 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15134 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15136 * LaTeXFeatures.C: remove special case of french and index
15138 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15139 before \begin{document}). This solves several incompatibilities.
15141 2001-10-03 Garst Reese <reese@isn.net>
15143 * lyx_cb.C: change CheckTex error msg.
15145 2001-10-03 José Matos <jamatos@fep.up.pt>
15147 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15149 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15151 * .cvsignore: update
15153 * lyx_main.C (commandLineVersionInfo): use new style version info.
15155 * buffer.C (writeFile):
15157 (makeLinuxDocFile):
15158 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15160 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15162 * version.h: update to use stuff in version.C
15164 * version.C.in: new file. Contains version information determined
15165 at compile time. This is a merging of version.h and
15168 2001-10-03 Juergen Vigna <jug@sad.it>
15170 * BufferView_pimpl.C (update): don't change "dirty" status in
15173 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15175 * WorkArea.C (c-tor): re-position version string slightly.
15177 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15179 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15180 revert to previous code.
15182 WorkArea.[Ch]: (show, destroySplash): methods removed.
15184 WorkArea.C: rework code so that it's an amalgam of the codes before and
15185 after the splash screen was moved to WorkArea.
15187 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15190 * vspace.C (inPixels):
15193 * buffer.C (insertStringAsLines):
15194 (asciiParagraph): fix types to be large enough
15196 * lyxlex_pimpl.h: change member status from short to int
15198 * layout.h: fix type of endlabeltype
15201 * kbsequence.C (parse): change return type to string::size_type
15203 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15206 * Bullet.C (bulletSize):
15207 (bulletEntry): do not use short ints as parameters
15209 * BufferView2.C (insertLyXFile): change a char to an int.
15211 * WorkArea.C (WorkArea): remove unneeded floats in computation
15213 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15215 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15217 * paragraph.C (asString): Do not ignore newline/hfill chars when
15218 copying to the clipboard.
15220 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15222 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15223 after a multi-line inset.
15225 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15227 * paragraph.C (validate): Set NeedLyXFootnoteCode
15229 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15231 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15232 and decrease-error to decrease.
15234 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15236 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15237 it more readable (should be equivalent)
15239 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15241 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15243 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15245 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15246 of a cursor (row, etc.) after a character has been deleted
15247 (deleteEmptyParagraphMechanism): call the method above on _all_
15248 cursors held by the LyXText when a double space has been
15251 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15253 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15255 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15257 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15258 background. Use greyOut() and the new show() methods to toggle between
15259 the foreground and background. Add code to remove the splash after
15260 its initial showing.
15262 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15263 (create_forms): no longer call Dialogs::showSplash.
15265 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15267 * .cvsignore: add version_info.h
15269 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15271 * version_info.h.in: new file
15273 * Makefile.am: add version_info.h.in
15275 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15276 version_info.h instead of VERSION_INFO
15278 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15280 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15281 The ERT inset now returns string().
15283 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15285 * lyxtext.h, text.C (selectNextWord): renamed as
15286 selectNextWordToSpellcheck.
15288 * text.C (selectNextWordToSpellcheck): Modified to not select
15289 words inside an ERT inset.
15291 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15293 * lyx_cb.C (MenuLayoutSave): change a bit the question
15295 * sp_base.h: include <sys/types.h>
15297 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15299 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15301 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15303 * several files: fix typos in user-visible strings
15305 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15307 * text2.C (pasteSelection): do not set the selection, since it
15308 will be cleared later. Actually, the intent was to fix the way the
15309 selection was set, but I figured rmoving the code was just as good.
15311 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15313 * FontLoader.C (available): Check if font is available without
15316 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15318 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15320 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15322 * lyxrc.[Ch]: added display_graphics variable and associated code.
15324 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15326 * bufferparams.C (hasClassDefaults): new method. Returns true if
15327 the buffer parameters correspond to known class defaults
15329 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15331 * XFormsView.C (show): set minimum size to the main window.
15333 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15335 * text2.C (copySelection):
15337 * lyxfind.C (LyXReplace):
15338 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15339 LyXText::selectionAsString.
15341 * paragraph.C (asString): add "label" argument to the second form
15343 * text2.C (selectionAsString): add "label" argument and pass it to
15344 Paragraph::asString.
15346 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15348 * lyx_main.C (commandLineHelp): remove version information
15350 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15352 * lyx_main.C: add -version commandline option
15354 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15356 * paragraph.h: make the optional constructor arg required instead.
15357 some modifications to other files because of this.
15359 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15361 * lyxserver.C (C_LyXComm_callback): make it static
15363 * lyx_main.C (error_handler): make it static
15365 * lyx_gui.C (LyX_XErrHandler): make it static
15367 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15369 * WorkArea.C: make the extern "C" methods static.
15371 * Makefile.am (lyx_LDADD): simplify
15373 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15375 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15376 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15378 * LyXAction.C (init):
15379 * lyxfunc.C (dispatch): associated code removal.
15381 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15383 * lyxfont.h (isSymbolFont): shut off warning
15385 * text.C (setHeightOfRow):
15386 (getVisibleRow): fix crash with empty paragraphs which have a
15389 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15391 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15394 2001-09-04 José Matos <jamatos@fep.up.pt>
15397 * tabular.C (docbook): rename docBook method to docbook.
15399 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15401 * Makefile.am: add dependencies to main.o.
15403 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15405 * FontLoader.C (available): Return false if !lyxrc.use_gui
15407 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15409 * FontInfo.C (query):
15410 * converter.C (view):
15411 * importer.C (Import):
15412 * exporter.C (Export): Can not -> cannot.
15414 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15416 * BufferView_pimpl.C: allow to create index inset even if
15419 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15421 * buffer.C (getLists): replace boost::tie code with an explicit pair
15422 as boost::tie can break some compilers.
15424 * iterators.h: Added a std:: declaration to the return type of
15427 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15429 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15432 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15434 * iterators.[Ch]: New files. Provide paragraph iterators.
15436 * buffer.C (changeLanguage): Use paragraph iterators.
15437 (isMultiLingual): ditto
15439 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15441 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15443 * FontLoader.C: Support for cmr font.
15445 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15447 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15448 (available): New method.
15450 * FontInfo.C (getFontname): Use scalable fonts even when
15451 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15454 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15456 * converter.C (Formats::view): reverted! Incorrect fix.
15458 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15460 * converter.C (Formats::view): only output the -paper option
15461 if the dvi viewer is xdvi, thereby fixing bug #233429.
15463 2001-08-23 Herbert Voss <voss@perce>
15465 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15467 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15469 * Spacing.h (Spacing): Set space to Default on in the default
15472 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15474 * vc-backend.h (RCS::versionString): add RCS to version
15475 (CVS::versionString): add CVS to version
15477 * vc-backend.C (scanMaster): do not add CVS to version.
15478 (scanMaster): do not add RCS to version
15480 * lyxvc.C (versionString): new method
15482 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15484 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15486 * Spacing.C (set): initialize fval
15488 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15490 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15493 2001-08-16 Juergen Vigna <jug@sad.it>
15495 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15497 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15499 * BufferView_pimpl.C:
15502 * text2.C: setParagraph takes linespacing now
15504 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15506 * LyxAction.C: add internal LFUN_CITATION_INSERT
15508 * LyXView.C: actually apply fix
15510 * bufferlist.C: fix open non-existent file
15512 * lyxfind.C: fix indentation
15514 * lyxfunc.C: remove unneeded assert, fix typo
15516 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15518 * MenuBackend.C: use "Floatname List"
15520 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15522 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15523 when converting LaTeX layout to insetERT.
15524 Generate a non-collapsed float when reading old float
15526 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15528 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15531 2001-08-13 Juergen Vigna <jug@sad.it>
15533 * text.C (fill): return 0 instead of 20 as this seems to be the more
15536 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15538 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15541 2001-08-13 Juergen Vigna <jug@sad.it>
15543 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15545 (SearchBackward): comment out the unlocking of the inset_owner this
15546 should not be needed!
15548 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15550 * Many files: Remove inherit_language, and add latex_language
15552 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15553 collapsible insets.
15555 2001-08-10 Juergen Vigna <jug@sad.it>
15557 * text.C (prepareToPrint): fixed hfill-width in draw!
15559 * BufferView2.C (selectLastWord): save the selection cursor as this
15560 now is cleared in the function LyXText::clearSelection!
15562 2001-08-08 Juergen Vigna <jug@sad.it>
15564 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15565 BACKSPACE type functions.
15567 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15568 is only cutted from the document but not put in the cut-buffer, where
15569 still the old stuff should be.
15571 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15573 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15575 * tabular.C (SetWidthOfCell): fixed special case where the width
15577 (LeftLine): handle '|' in align_special.
15579 (LeftAlreadyDrawed): ditto
15580 (SetWidthOfCell): ditto
15582 2001-08-07 Juergen Vigna <jug@sad.it>
15584 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15586 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15588 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15589 * lyxlex.[hC]: ditto
15591 2001-08-06 Juergen Vigna <jug@sad.it>
15593 * text.C (getVisibleRow): fix up row clearing a bit.
15595 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15597 * minibuffer.C: make sure the X server sees the changes in the input.
15599 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15601 * paragraph.C (getFont): split into...
15602 (getLabelFont): this
15603 (getLayoutFont): and this
15604 * paragraph_pimpl.C (realizeFont): calling this
15606 * text2.C (getFont): split into...
15607 (getLayoutFont): this
15608 (getLabelFont): and this
15609 (realizeFont): all three calling this
15611 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15614 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15616 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15618 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15620 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15621 layouts from the Quote inset insertion.
15623 2001-08-03 Juergen Vigna <jug@sad.it>
15625 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15627 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15628 only if status not is already CHANGED_IN_DRAW (second level).
15630 * text.C (draw): don't set the need_break_row when inside an
15633 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15635 * buffer.C (parseSingleLyXformat2Token): handle more latex
15638 * bufferview_funcs.[hC]: change function names to
15639 begin with small char, adjust other files.
15641 2001-08-02 André Pönitz <poenitz@gmx.net>
15644 BufferView_pimpl.C: remove broken special code for math-greek
15646 2001-08-02 Juergen Vigna <jug@sad.it>
15648 * BufferView_pimpl.C (update): redone this function so that we
15649 update the text again if there was a CHANGE_IN_DRAW.
15651 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15652 (drawFromTo): added a new internal bool which is used by draw() and
15654 (general): some cursor drawing problems fixed.
15656 2001-08-01 Juergen Vigna <jug@sad.it>
15658 * lyxfind.C (LyXFind): fixed
15659 (SearchForward): ditto
15660 (SearchBackward): ditto
15662 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15663 spurius drawing of the cursor in the main area.
15665 * text2.C (status): small fix which could lead to a segfault!
15666 (clearSelection): remove unneeded BufferView param.
15668 2001-08-01 André Pönitz <poenitz@gmx.net>
15670 * lyxfunc.C: small change due to changed mathed interface
15672 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15674 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15676 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15678 * lyxfunc.c: fail gracefully if file doesn't exist
15683 * BufferView_pimpl.C: IsDirWriteable() proto changed
15685 * LyXView.C: fix updateWindowTitle() to store the last title
15687 2001-07-31 Juergen Vigna <jug@sad.it>
15689 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15690 the font (wrong since using of Paragraph::highestFontInRange).
15692 * paragraph.C (highestFontInRange): added a default_size parameter.
15694 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15695 (setHeightOfRow): reformat
15697 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15699 * converter.[hC] + affected files: move to (inital-char)lowercase
15702 * ParagraphParameters.C (ParagraphParameters): remove commented code
15704 * PainterBase.[Ch]: remove commented code
15706 * LaTeXFeatures.h: add "bool floats" for float.sty
15708 * LaTeXFeatures.C (LaTeXFeatures): init floats
15709 (require): handle float
15710 (getPackages): do it with floats
15712 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15714 * BufferView_pimpl.C (Dispatch): improve handling of
15715 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15717 * commandtags.h: #include lyxfont.h here temporarily to avoid
15720 * bufferlist.h: include LString.h here.
15722 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15724 * text2.C (getStringToIndex): new method.
15726 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15728 * *: Reduced header file dependencies all over.
15730 2001-07-30 Baruch Even <baruch@lyx.org>
15732 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15734 2001-07-29 Baruch Even <baruch@lyx.org>
15736 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15738 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15740 * ParameterStruct.h (endif): add a default constructor to make
15741 sure that all variables is initialized.
15743 * ParagraphParameters.C (ParagraphParameters): adjust
15745 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15747 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15748 index; also, check that there is something to index, and that it
15749 does not span over several paragraphs.
15750 (doubleClick): use WHOLE_WORD_STRICT for double click.
15752 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15754 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15757 2001-07-26 Baruch Even <baruch@lyx.org>
15759 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15760 an InsetFig figure, backwards compatible reading of old figure code.
15762 2001-07-27 Juergen Vigna <jug@sad.it>
15764 * text2.C: font.realize function adaption.
15766 * text.C (draw): add a warnings lyxerr text if needed.
15768 * layout.C: font.realize function adaption.
15770 * language.C: add inherit_language and implement it's handlings
15772 * bufferview_funcs.C (StyleReset): remove language parameter from
15773 font creation (should be language_inherit now).
15775 * bufferparams.C (writeFile): handle ignore_language.
15777 * paragraph.C (getFontSettings): the language has to be resolved
15778 otherwise we have problems in LyXFont!
15780 * lyxfont.C (lyxWriteChanges): added document_language parameter
15781 (update): removed unneeded language parameter
15783 * paragraph.C (validate): fixed wrong output of color-package when
15784 using interface colors for certain fonts in certain environments,
15785 which should not seen as that on the final output.
15787 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15789 * BufferView_pimpl.C:
15794 * LyXAction.C: add thesaurus support
15797 * lyxfind.C: add "once" parameter, for thesaurus, to not
15798 move to the next match
15800 2001-07-26 Juergen Vigna <jug@sad.it>
15802 * lyxfont.C (realize): honor ignore_language too!
15805 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15807 * text.C (draw): one place more for ignore_language to not draw
15810 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15812 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15814 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15816 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15817 the minipage conversion problem.
15819 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15821 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15824 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15826 * BufferView.h: don't forward declare WorkArea
15828 * BufferView.C: don't include WorkArea.h
15830 2001-07-25 André Pönitz <poenitz@gmx.net>
15834 * lyxfunc.C: new LFUN 'math-space'
15836 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15838 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15840 * text2.C (toggleInset): call open/close
15842 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15844 * lyxfunc.C (dispatch): add debug for the disabled case
15846 * font.C (buttonText): make similar to rectText
15848 * buffer.C (readInset): comment out parsing of insetlist and
15851 * PainterBase.C (rectText): small correction
15853 * BufferView_pimpl.C: comment out insettheorem and insetlist
15854 * LyXAction.C: ditto
15855 * commandtags.h: ditto
15857 2001-07-24 Juergen Vigna <jug@sad.it>
15859 * text.C (draw): honor the ignore_language.
15861 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15863 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15865 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15868 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15870 * lyxtext.h: remove unused (and unimplemented) methods
15872 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15874 * text.C (getVisibleRow): honor background color
15877 * Painter.h: remove default color argument for fillRectangle
15879 * text.C (backgroundColor): new method
15881 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15883 * text.C (getVisibleRow): adjust
15885 * font.[Ch] (rectText): new method, metrics
15886 (buttonText): new method, metrics
15888 * PainterBase.[hC]: make rectText and buttonText always draw and take
15891 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15893 * ToolbarDefaults.C (read):
15894 * MenuBackend.C (read): allow escaping in all strings
15896 * BufferView_pimpl.C (insertAndEditInset): new method.
15897 (Dispatch): use insertAndEditInset whenever appropriate.
15899 * BufferView_pimpl.C (insertNote): removed
15901 * BufferView_pimpl.C (smartQuote): new method, moved from
15902 BufferView; if an insetquote cannot be inserted, insert a '"'
15905 * BufferView2.C: remove insertCorrectQuote();
15907 * lyxfunc.C (getStatus): Add support for all remaingin
15908 inset-insert lfuns.
15910 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15912 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15913 command (necessary to pass " as parameter of self-insert.
15915 * text.C (selectWordWhenUnderCursor):
15916 (selectWord): add word_location parameter
15917 (selectWordWhenUnderCursor): same + remove special code for word
15919 (selectNextWord): use kind() to guess type of insetspecialchar,
15922 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15923 (insertErtContents): create ert insets as collapsed.
15924 (readInset): better compatibility code for Info inset.
15926 2001-07-20 Juergen Vigna <jug@sad.it>
15928 * lyxfunc.C (dispatch): use always LyXFind now!
15930 * text2.C (init): add a reinit flag so that the LyXText can be
15931 reinited instead of deleted and reallocated (used in InsetText).
15933 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15939 2001-07-18 Juergen Vigna <jug@sad.it>
15941 * text.C (selectNextWord): handle insets inside inset by calling
15942 always the bv->text functions so that we can go up the_locking_inset!
15944 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15945 in strange locations when inside an inset!
15947 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15948 handling to include insets.
15950 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15952 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15954 * LyXAction.C (init):
15956 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15957 LIGATURE_BREAK, since the name is so stupid.
15959 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15961 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15964 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15966 * sp_form.[Ch]: remove.
15968 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15970 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15973 * src/buffer.C (readInset): ditto.
15975 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15977 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15978 menuSeparator(), endOfSentenceDot(), ldots() and
15979 hyphenationPoint(), which are therefore removed.
15980 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15982 * LyXAction.C (init):
15983 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15985 * paragraph.C (getWord): removed.
15987 * BufferView_pimpl.C (Dispatch): use last word or selection for
15988 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15990 * lyx_main.C (queryUserLyXDir): do not ask before creating
15991 user_dir, except if it has been named explicitely.
15993 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15995 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15996 a document of zero size.
15998 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16000 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16001 approriately in the c-tor and in require().
16002 (getPackages): output the appropriate LaTeX for natbib support.
16004 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16005 variables "use_natbib" and "use_numerical_citations" when reading the
16007 (readInset): read the various natbib cite commands.
16008 (validate): white-space change.
16010 * bufferparams.[Ch]: new variables "bool use_natbib" and
16011 "bool use_numerical_citations".
16012 (writeFile): output them in the LyX file.
16014 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16016 * lyxfunc.C (getStatus): add support for all the inset insertion
16019 * text2.C (insertInset):
16020 * paragraph.C (insetAllowed):
16021 * BufferView_pimpl.C (insertInset): update to take in account the
16022 renaming of insertInsetAllowed
16024 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16026 * text2.C (getInset): new method. returns inset at cursor position.
16028 * BufferView_pimpl.C (Dispatch): changes because of this.
16030 * LyXAction.C (init): rename open-stuff to inset-toggle.
16032 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16034 * text2.C (toggleInset): renamed from openStuff; use
16037 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16039 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16041 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16043 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16045 * buffer.C (readLyXformat2): Add filename to the error dialog
16047 2001-07-18 Juergen Vigna <jug@sad.it>
16049 * tabular.C (GetCellNumber): put an assert here instead of the check!
16051 2001-07-17 Juergen Vigna <jug@sad.it>
16053 * BufferView_pimpl.C (toggleSelection): adapted too.
16055 * text.C (selectNextWord): adapted for use with insets.
16056 (selectSelectedWord): ditto
16058 2001-07-17 Juergen Vigna <jug@sad.it>
16060 * sp_spell.C (PSpell): fix initialitation order.
16062 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16064 * paragraph.C: spacing
16066 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16068 * sp_spell.C: repair language selection for pspell
16070 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16072 * lyxfunc.h: change more methods to begin with lower char.
16074 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16076 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16077 for unknown layouts.
16079 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16081 * buffer.C (readLyXformat2): Generate an error dialog if there are
16084 2001-07-16 Juergen Vigna <jug@sad.it>
16086 * sp_spell.C: always compile ISpell part.
16088 * lyxrc.C: added use_pspell entry and it's handling.
16090 2001-07-13 Juergen Vigna <jug@sad.it>
16092 * sp_spell.C: removed double includes.
16094 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16096 Consistent use of Lsstream.h:
16097 * Lsstream.h: added using std::stringstream for consistencies sake.
16099 * buffer.C: removed using std::stringstream
16101 * lyxfont.C (stateText):
16102 * paragraph.C (asString):
16103 * text.C (selectNextWord, selectSelectedWord):
16104 * text2.C (setCounter):
16105 * vspace.C (asString, asLatexString):
16106 std::ostringstream -> ostringstream.
16108 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16110 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16111 * commandtags.h: add LFUN_HELP_ABOUTLYX
16112 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16114 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16116 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16118 * lyx_gui_misc.C: remove spellchecker
16119 * lyxfunc.C: showSpellchecker
16121 * sp_ispell.h: added
16122 * sp_pspell.h: added
16123 * sp_spell.C: added
16124 * sp_form.[Ch]: removed
16125 * spellchecker.[Ch]: removed
16127 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16129 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16131 (simpleTeXSpecialChars): Simply print the input character without
16132 any special translation if pass_thru is set.
16134 * layout.h: Added bool pass_thru to layout class for being able to
16135 implement pass through of a paragraph for Literate Programming.
16137 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16138 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16139 * layout.C (Read): add "passthru" to list of layout tags and add
16140 code to set the pass_thru boolean when it is read.
16142 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16144 * trans_decl.h: remove allowed from KmodInfo
16146 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16147 remove allowed code
16150 * paragraph_pimpl.C (erase): use boost::prior
16152 * Painter.C (text): use data() instead of c_str() when length is
16154 * WorkArea.C (putClipboard): ditto
16155 * font.h (width): ditto
16157 * BufferView2.C: use it-> instead of (*it). for iterators
16159 * paragraph_pimpl.C: ditto
16160 * paragraph.C: ditto
16161 * minibuffer.C: ditto
16162 * language.C: ditto
16164 * encoding.C: ditto
16165 * counters.C: ditto
16166 * converter.C: ditto
16168 * Variables.C: ditto
16169 * TextCache.C: ditto
16170 * MenuBackend.C: ditto
16171 * LyXAction.C: ditto
16173 * FloatList.C: ditto
16174 * DepTable.C: ditto
16175 * ColorHandler.C (LyXColorHandler): ditto
16177 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16179 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16181 * text2.C (openStuff): reintroduce this method (which had been
16182 nuked in NEW_INSETS frenzy).
16184 * lyxfunc.C (Dispatch): when an action has not been handled, use
16185 its name in the error message, not its number.
16187 * paragraph.C (inInset): change method name to begin with lowercase.
16190 * text2.C: updates because of this.
16192 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16194 * ToolbarDefaults.C (add): add spaces in error message
16196 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16198 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16199 (readLyXformat2): rename return_par to first_par, use lyxlex's
16200 pushToken and remove the manual push handling.
16201 (parseSingleLyXformat2Token): add another ert comp. variable:
16202 in_tabular, rename return_par to first_par. handle newlines better
16204 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16206 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16208 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16210 * text2.C (getParFromID): removed
16212 * buffer.C (getParFromID): new method moved form lyxtext.
16213 * BufferView2.C (insertErrors): adjust
16214 (setCursorFromRow): adjust
16215 * BufferView_pimpl.C (restorePosition): adjust
16216 * lyxfunc.C (Dispatch): adjust
16217 * undo_funcs.C (textUndo): adjust
16219 (textHandleUndo): adjust
16220 (textHandleUndo): adjust
16222 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16224 * buffer.C: up' the LYX_FORMAT
16226 * lyxfont.h: turn NO_LATEX on as default
16228 * buffer.C (insertErtContents): new methods of tex style compability.
16229 (parseSingleLyXformat2Token): use it several places.
16230 * tabular.C (OldFormatRead): and here
16232 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16234 * text2.C: remove some commented code.
16237 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16238 * trans.C: changes because of the above.
16240 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16242 * text2.C (setCounter): Fix counters bug with bibliography layout.
16244 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16246 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16247 own member functions
16248 (simpleTeXSpecialChars): ditto
16250 2001-07-06 Juergen Vigna <jug@sad.it>
16252 * a lot of files: changed the access to LyXText::status and the
16253 call of undo-functions.
16255 * undo.[Ch]: added a inset_id to the undo informations.
16257 * undo_funcs.[Ch]: added and moved here all undo functions.
16259 * lyxtext.h: give the status enum a weight, made status_ a private
16260 variable and made accessor functions for it, removed the whole bunch
16261 of undo-functions as they are now in their own file, make some
16262 functions publically available. Added function ownerParagraph with
16265 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16266 made InInset() a const function, added getParFromID() function.
16268 * buffer.[Ch]: added const version for inset_iterator functions,
16269 added getInsetFromID() function.
16271 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16272 changed undo functions for new version.
16274 2001-07-05 Juergen Vigna <jug@sad.it>
16276 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16277 unknow mechanism does not call the proper constructor but only this
16278 one also if I request the other!?
16280 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16282 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16284 * text2.C (LyXText): use initialization lists.
16286 * lyxtext.h (Selection): initialize set_ and mark_
16287 (init): remove method
16289 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16291 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16293 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16295 * screen.[Ch]: change method names to begin with lowercase
16297 * BufferView_pimpl.C (updateScrollbar): simplify further and
16298 hopefully make it a bit faster.
16300 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16302 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16303 calling directly xforms functions.
16305 * Painter.C (Painter):
16306 * lyx_cb.C (MenuWrite):
16307 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16310 * lyx_gui.C: remove bogus guiruntime extern declaration.
16312 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16314 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16316 (redoDrawingOfParagraph): ditto
16317 (redoParagraphs): ditto
16318 (cutSelection): don't create a object for CutAndPaste use the
16319 static method directly
16320 (pasteSelection): ditto
16322 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16325 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16327 * modifications to some other files because of this.
16329 * Makefile.am (lyx_SOURCES): add XFormsView
16331 * XFormsView.[Ch]: new files
16333 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16334 the main window. Move the gui dependent stuff to XFormsView
16336 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16338 * tabular.C (GetCellInset): update cur_cell also in the row/col
16339 version of this function.
16341 * lyxfunc.C: no need to include figure_form.h here.
16347 * lyxvc.C: no need to include forms.h here.
16349 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16351 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16353 * lyxfunc.C (Dispatch):
16355 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16356 constructor argument.
16358 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16360 * paragraph.C (Paragraph): dont't clear, and just set layout.
16361 (makeSameLayout): use params's copy contructor.
16363 * ParagraphParameters.[Ch] (makeSame): delete method
16365 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16367 * Variables.[Ch]: fix indentation, rename set to isSet
16369 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16371 * lyxfunc.C (Dispatch): fix typo
16373 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16375 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16378 * bufferlist.C: include assert.h for emergencyWrite().
16380 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16382 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16383 give up at last (bug #425202) !
16385 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16391 * spellchecker.C: strip spellchecker options and bring up
16392 preferences tab instead
16394 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16396 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16397 the istringstream constructor
16399 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16401 * paragraph.C (getLayout): fix return value
16403 * paragraph.h: do not declare getLayout as inline.
16405 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16407 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16409 * lyxcursor.h (operator<): new func
16410 (operator>): new func
16411 (operator>=): new func
16412 (operator<=): new func
16414 * text.C (changeCase): use selection.start and selection.end
16415 (changeRegionCase): require from to be <= to. Require par to be a
16418 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16420 2001-06-27 Juergen Vigna <jug@sad.it>
16422 * text.C (cursorLeftOneWord): changed to return the cursor and added
16423 overlay with BufferView * parameter which calls this one.
16425 (selectWord): use new getWord function.
16426 (changeCase): renamed from changeWordCase as and extended to work
16427 also on selections.
16429 * lyxtext.h: added enum word_location
16431 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16432 changeCase as this operates now also on selections.
16434 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16436 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16438 * many files: send debug output to Debug::INFO instead of
16441 * converter.C (View):
16443 (Move): send debug output to Debug::FILES instead of console.
16445 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16447 * lyxfunc.C (getStatus): use func_status
16449 * func_status.h: new header, describing the results of
16450 LyXFunc::getStatus;
16452 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16455 2001-06-25 The LyX Project <jug@sad.it>
16457 * buffer.C (sgmlOpenTag):
16459 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16461 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16463 * text2.C: remove some dead code
16465 * tabular.C (GetCellInset): store the last cell checked (gotten)
16467 * tabular.h: add the helper for the speedup
16469 * lyxtext.h: remove some dead code
16471 2001-06-26 The LyX Project <Asger>
16473 * paragraph.C: Change export to LaTeX of alignment to
16474 \begin{center} and family for better roundtrip work with reLyX.
16476 * Tune the math drawing a bit.
16478 2001-06-25 The LyX Project <Asger>
16480 * LColor.C (LColor): New color for math background. New color
16483 2001-06-25 The LyX Project <jug@sad.it>
16485 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16487 * lyxfunc.C (Open):
16488 * bufferlist.C (newFile): do not restrict to files ending with
16491 * BufferView_pimpl.C (MenuInsertLyXFile):
16493 2001-06-24 The LyX Project <jug@sad.it>
16495 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16498 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16500 * lyxtext.h: rename most methods to begin with a small char.
16501 Lots of changes because of this.
16503 * paragraph.C (Paragraph): do not call fitToSize
16504 (erase): call Pimpl::erase
16505 (insertChar): call Pimpl::insertChar
16506 (insertInset): call Pipl::insertInset
16507 (breakParagraph): do not call fitToSize
16508 (breakParagraphConservative): do not call fitToSize
16509 (fitToSize): remove method
16511 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16513 2001-06-24 The LyX Project <Asger>
16515 * Fix Qt compilation^2
16517 2001-06-24 The LyX Project <jug@sad.it>
16519 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16520 depthHook(getDepth()-1).
16523 * ParagraphParameters.h:
16524 * ParameterStruct.h: change type of depth to unsigned int ==
16525 depth_type. Many adaptations to other files before of that.
16527 2001-06-24 The LyX Project <Asger>
16529 * Fix Qt compilation.
16531 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16533 * paragraph.h: renamed several methods to begin with small letter.
16534 several changes to many parts of the code because of this.
16536 2001-06-23 The LyX Project <jug@sad.it>
16538 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16539 rewritten to discard all double spaces when KeepEmpty is off
16540 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16541 to only handle newlines but not fiddle with spaces and friends.
16543 * lyxfunc.C (MenuNew): when doing 'new from template', use
16544 template_path as default directory
16546 2001-06-23 The LyX Project <Asger>
16548 * Clean-up of header file includes all over
16549 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16551 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16553 * paragraph.h: renamed from lyxparagraph.h
16555 2001-06-23 Asger <lyx@violet.home.sad.it>
16557 * Buffer.h: Removed Buffer::resize
16558 * BufferList.h: Removed BufferList::resize
16559 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16560 the document lazily when we change the width, or the font settings.
16562 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16564 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16566 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16568 * buffer.h: remove out of date comment
16570 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16573 * screen.C: fix "theoretical" GC leak
16575 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16577 * LaTeX.C (scanAuxFile):
16578 (deplog): remove trailing \r when reading stream (useful under
16581 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16583 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16584 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16585 and BufferView::theLockingInset(Inset*), so should use them and not
16586 access bv_->text->the_locking_inset directly.
16588 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16590 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16593 * tex-defs.h: remove old unused file
16595 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16597 * BufferView_pimpl.C: fix typo, remove minibuffer message
16598 when buffer has loaded
16600 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16602 * lyxfunc.C (Dispatch): use stringstream
16603 (MenuNew): use stringstream
16604 (Open): use stringstream
16606 * importer.C (Import): use stringstream
16608 * bufferview_funcs.C (CurrentState): use stringstream
16610 * LaTeX.C (run): use stringstream
16612 * BufferView_pimpl.C (savePosition): use stringstream
16613 (restorePosition): use stringstream
16614 (MenuInsertLyXFile): use stringstream
16616 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16629 * vspace.C: removed // -*- C++ -*- as first line.
16632 * version.h: added // -*- C++ -*- as first line.
16634 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16636 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16638 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16641 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16643 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16646 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16648 * gettext.C: include LString.h even when --disable-nls is on.
16650 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16652 * converter.h (Get): changed argument type from int to
16653 FormatList::size_type to avoid unnecessary conversion.
16655 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16658 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16660 * gettext.h: include LString.h even when --disable-nls is on.
16662 2001-06-07 Juergen Vigna <jug@sad.it>
16664 * text.C (BreakAgain): subst spaces with tabs.
16666 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16667 (resizeInsetsLyXText): set force on resizeLyXText.
16669 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16671 * gettext.h (gettext_init):
16672 (locale_init): use a real definition instead of a macro
16674 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16676 * Bufferview_pimpl.C:
16678 * LColor.C: further lcolor tidies
16680 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16682 * BufferView_pimpl.C (updateScrollbar): simplify.
16684 * BufferView2.C: don't include insets/insetinfo.h, change
16685 prototype for insertInset and call the Pimpl version. let
16686 updateInset call Pimpl version.
16688 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16689 gotoInset to BufferView::Pimpl
16691 2001-06-01 Juergen Vigna <jug@sad.it>
16693 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16694 inside a LockingInset (is the update needed at all?).
16696 2001-05-31 Juergen Vigna <jug@sad.it>
16698 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16699 here not the old one otherwise how should we compare it afterwards
16702 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16707 * FontInfo.C: bring C functions into global namespace when
16710 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16712 * LString.h: make sure config.h has been loaded before LString.h.
16714 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16715 (one for each char read by EatLine!).
16717 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16720 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16722 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16723 to the same as the par we break from
16725 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16727 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16729 * MenuBackend.C (expand): also create menu entries for wide
16730 versions of the floats.
16732 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16734 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16736 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16737 frontends/Makefile.am
16743 * tabular.C (getTokenValue): add std::
16745 * tabular-old.C (getTokenValue): add std::
16746 (getTokenValue): ditto
16747 (getTokenValue): ditto
16749 * screen.C (ToggleSelection): adjust
16751 * lyxtext.h: put selection cursors inside a Selection struct.
16753 * lyxfunc.C (moveCursorUpdate): adjust
16755 * lyxfont.C (latexWriteStartChanges): add std::
16757 * lyxfind.C: adjust
16759 * font.h: delete with(char const *, LyXFont const &)
16761 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16763 * FontInfo.C (getFontname): add std::
16765 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16766 (workAreaButtonPress): adjust
16767 (tripleClick): adjust
16769 (moveCursorUpdate): adjust
16772 * BufferView2.C (gotoInset): adjust
16774 2001-05-30 Juergen Vigna <jug@sad.it>
16776 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16777 to check pspell I add this as default as I now have new pspell
16778 libraries and they seem to use this.
16780 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16782 * text2.C (CutSelection): make the cursor valid before the call to
16785 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16787 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16788 relied on 0 terminated strings and other horrors. Bug found due to
16789 the new assert in lyxstring!
16791 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16794 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16796 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16799 * lyxfunc.C (processKeySym): change method of getting to the
16802 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16803 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16804 * BufferView_pimpl.[Ch]: here as private methods.
16806 2001-05-28 Juergen Vigna <jug@sad.it>
16808 * text.C (SetHeightOfRow): added the update() call again as it is
16809 needed to initialize inset dimensions!
16811 2001-05-16 Juergen Vigna <jug@sad.it>
16813 * text2.C (SetCharFont): Add new function with BufferView * and
16814 bool toggleall parameters for setting insets internal fonts.
16815 (SetFont): Freeze the undo as we may change fonts in Insets and
16816 all this change should be inside only one Undo!
16818 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16819 setting font's in insets as for them we have the SetFont function!
16821 2001-05-15 Juergen Vigna <jug@sad.it>
16823 * text2.C (ClearSelection): to be sure we REALLY don't have any
16826 * tabular.C (TeXCellPreamble): fixed the left border problem for
16829 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16831 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16834 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16836 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16837 LFUN_BREAKPARAGRAPH.
16839 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16840 help test to "internal only", similar for LFUN_INSERT_URL
16842 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16843 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16844 auto_region_delete and deadkeys.
16846 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16849 * LColor.C: remove some dead entries, tidy a little
16851 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16853 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16855 (Dispatch): implement LFUN_ESCAPE
16857 * commandtags.h: add LFUN_ESCAPE
16859 * LyXAction.C (init): add entry for LFUN_ESCAPE
16861 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16862 Remove commented code.
16863 (insertNote): moved here
16864 (open_new_inset): moved here
16866 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16869 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16871 * kbmap.C (findbinding): clean it up and make it work correctly.
16873 * lyx_main.C (init): do not pass argc and argv as parameters
16875 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16877 * buffer.C: fix path for OS/2 & Win32
16881 * lyx_main.C: Added os:: class.
16883 * os2_defines.h: update
16885 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16887 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16888 better by trying again with reduced state.
16890 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16892 * lyxrc.C (read): print error about invalid key sequence only when
16893 debugging (because not all latinX keysyms are known to some X
16896 * kbsequence.C (getiso): add a few std:: qualifiers
16897 (getiso): comment out extra return statement.
16899 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16901 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16903 (Dispatch): enhance the accent inset a bit. (not perfect)
16905 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16907 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16909 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16911 * bufferlist.C (emergencyWrite): fix assert() call
16913 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16915 * text.C (InsertChar): Added trivial patch to only send the "you
16916 can not do multiple spaces this way" message once during a
16919 2001-05-08 Baruch Even <baruch@lyx.org>
16921 * Makefile.am: Changed order of libraries to get LyX to link properly
16922 with the gnome frontend.
16924 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16926 * LaTeXFeatures.h: add a std:: qualifier
16928 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16930 * paragraph.C (String): use stringstream
16932 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16934 * paragraph.C (writeFile): remove footflag arg
16936 * buffer.C (makeLaTeXFile): use stringstream
16937 (latexParagraphs): remove footnot gurba
16939 * LaTeXFeatures.C (getPackages): use stringstream
16940 (getMacros): likewise
16941 (getTClassPreamble): likewise
16942 (getFloatDefinitions): new method
16944 * paragraph.C (writeFile): reindent
16947 * WorkArea.h: revert the xpos + etc changes.
16949 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16951 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16953 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16954 (pasteSelection): likewise
16955 * text2.C (CreateUndo): likewise
16957 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16959 * minibuffer.C (peek_event): temporarily reduce the functionality
16960 of the minibuffer (to allow args on lfuns)
16962 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16963 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16965 * buffer.C (readInset): add compability reading of old float
16966 lists, add reading of new style float list.
16967 (readInset): avoid reevaluation of inscmd.getCmdName()
16968 (getLists): reindent
16970 * MenuBackend.C (MenuItem): implement parsing of
16971 md_floatlistinsert and md_floatinsert.
16972 (expand::LastFiles): move initalizaton of iterators out of loop,
16973 avoid reevaluation.
16974 (expand::Documents): introduce typdedef vector<string> Strings,
16976 (expand::ExportFormats): introduce typedef vector<Format const *>
16977 Formats, and use it.
16978 (expand): implement FloatListInsert and FloatInsert.
16980 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16981 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16982 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16984 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16986 (Dispatch::LFUN_FLOAT_LIST): implement
16988 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16990 * LaTeX.C (run): Fix problem with --export code.
16992 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16994 * BufferView.[Ch] (workarea): removed.
16995 (getClipboard) new method; wrapper for workarea()->getClipboard()
16997 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17000 * WorkArea.h (width, height, xpos, ypos): These methods all
17001 returned the dimensions of the work_area sub-area of WorkArea,
17002 resulting in a position error if the WorkArea were resized. Now
17003 return the dimensions of the entire WorkArea.
17005 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17007 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17009 * LaTeX.C (deplog): correct the syntax of regex reg1
17011 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17013 * undo.C: remove !NEW_INSETS cruft
17015 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17017 * text2.C: remove !NEW_INSETS cruft
17019 * text.C: remove !NEW_INSETS cruft
17021 * tabular.C: remove !NEW_INSETS cruft
17023 * spellchecker.C: remove !NEW_INSETS cruft
17025 * lyxtext.h: remove !NEW_INSETS cruft
17027 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17029 * lyxfunc.C: remove !NEW_INSETS cruft
17031 * lyxfind.C: remove !NEW_INSETS cruft
17033 * lyx_cb.C: remove !NEW_INSETS cruft
17035 * figureForm.C: remove !NEW_INSETS cruft
17037 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17039 * buffer.[Ch]: remove !NEW_INSETS cruft
17041 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17043 * CutAndPaste.C: remove !NEW_INSETS cruft
17045 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17047 * BufferView2.C: remove !NEW_INSETS cruft
17049 * BufferView.h: remove !NEW_INSETS cruft
17051 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17053 * Lsstream.h: include LString.h before the sstream headers to
17054 fix problem with gcc 2.95.3 and lyxstring
17056 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17058 * lyx_main.C: add using directives when needed for C functions
17059 declared in std:: namespace.
17061 2001-04-27 Juergen Vigna <jug@sad.it>
17063 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17064 (SetHeightOfRow): comment out the update call should not be needed!
17066 2001-04-13 Juergen Vigna <jug@sad.it>
17068 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17069 (LyXTabular): tried to minimize operator= operations (and realized
17070 hopfully Lars wish).
17072 2001-04-27 Juergen Vigna <jug@sad.it>
17074 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17076 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17078 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17080 * buffer.C (readInset): hack to make listof algorithm work
17082 * BufferView_pimpl.C: hack to make listof algorithm work
17084 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17086 * LyXAction.C: removed all !NEW_INSETS cruft
17087 (init): moved lfun_item in method
17089 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17091 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17093 * BufferView2.C (theLockingInset): white space.
17095 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17097 * minibuffer.C: include <iostream>
17099 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17101 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17103 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17105 * text.[Ch] (TransposeChars): new method
17107 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17109 * call message directly through LyXView instead of through LyXFunc
17110 * BufferView2.C: adjust
17111 * BufferView_pimpl.C: adjust
17112 * FontLoader.C: adjust
17114 * bufferview_funcs.C: adjust
17115 * converter.C: adjust
17116 * figureForm.C: adjust
17117 * importer.C: adjust
17119 * lyx_gui_misc.C: adjust
17120 * lyxfunc.C: adjust
17123 + more files in subdirs
17125 * lyxparagraph.h (size): move up int file
17128 * adjust all uses of Assert to lyx::Assert.
17130 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17131 lyxfunctional in namespace lyx
17132 * layout.C (hasLayout): ditto
17135 (delete_layout): ditto
17136 (NumberOfClass): ditto
17137 * converter.C (GetFormat): ditto
17142 * bufferlist.C (getFileNames): ditto
17143 (emergencyWriteAll): ditto
17146 * MenuBackend.C (hasSubmenu): ditto
17149 * BufferView_pimpl.C (getInsetByCode): ditto
17151 2001-04-18 Juergen Vigna <jug@sad.it>
17153 * vspace.C (asLatexString): fixed the 100% problem.
17155 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17157 * lyxfunc.C (Dispatch):
17159 * minibuffer.h: add a few std:: qualifiers
17161 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17163 * minibuffer.[Ch]: reimplement so that commands is initiated and
17164 run from lyxfunc, simplified som handling, and made the completion
17165 and history code for complete. wip.
17167 * lyxfunc.C (processKeySym): call message
17168 (miniDispatch): new temporary method
17169 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17170 (LFUN_MESSAGE): implement
17171 (LFUN_MESSAGE_PUSH): implement
17172 (LFUN_MESSAGE_POP): implement
17173 (initMiniBuffer): the initial/defualt minibuffer message.
17175 * lyxfont.[Ch]: inline some more getters
17177 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17179 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17181 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17182 (AutoSave): use LFUN_MESSAGE
17183 (Reconfigure): ditto
17185 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17187 * figureForm.C: use LFUN_MESSAGE
17189 * converter.C (runLaTeX): use LFUN_MESSAGE
17191 * bufferview_funcs.C: use LFUN_MESSAGE
17193 (changeDepth): ditto
17195 * bufferparams.h: use boost::
17197 * bufferlist.h: inherit privately from noncopyable
17199 * bufferlist.C (loadLyXFile): remove some commented code.
17201 * buffer.C (runChktex): use LFUN_MESSAGE
17203 * ShareContainer.h: inherit privately from noncopyable
17205 * ParagraphParameters.[hC] (depth): inline it.
17207 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17209 (message): new method
17210 (messagePush): ditto
17211 (messagePop): ditto
17212 (show): init minibuffer
17213 (showState): direct call
17215 * LaTeX.[Ch]: inherit privately from noncopyable
17216 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17217 instead of WriteStatus.
17219 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17221 * BufferView_pimpl.C (buffer): don't init minibuffer
17222 (workAreaButtonPress): use LFUN_MESSAGE
17223 (workAreaButtonRelease): ditto
17224 (savePosition): ditto
17225 (restorePosition): ditto
17226 (MenuInsertLyXFile): ditto
17227 (workAreaExpose): don't init minibuffer
17228 (update): remove commented code, simplify
17230 * BufferView2.C (openStuff): use LFUN_MESSAGE
17231 (toggleFloat): ditto
17234 (copyEnvironment): ditto
17235 (pasteEnvironment): ditto
17240 (updateInset): remove some commented code
17242 * lastfiles.h: inherit privately from noncopyable
17245 * lyx_main.h: ditto
17247 * lyxlex_pimpl.h: ditto
17249 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17250 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17251 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17253 * LyXAction.h: inherit privately from noncopyable, add methods
17254 func_begin, func_end, returning iterators to the func map.
17256 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17257 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17258 (func_begin): new method
17259 (func_end): new method
17261 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17263 (copySelection): ditto
17264 (pasteSelection): ditto
17266 * BufferView.C: whitespace change
17267 * BufferView.h: inherit privately from noncopyable
17269 2001-04-16 Allan Rae <rae@lyx.org>
17271 * tabular-old.C (l_getline):
17272 * spellchecker.C (sc_check_word):
17273 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17274 an unrecognised preprocessor directive. So ensure they're wrapped.
17276 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17278 * src/exporter.C (Export): Give an error message when path to file
17281 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17283 * LaTeX.C (deplog): Always check that foundfile exists.
17285 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17288 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17290 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17292 * tabular.[Ch] (getLabelList): implement new method
17294 * minibuffer.h: comment ouf setTiimer
17296 * minibuffer.C (ExecutingCB): constify res
17297 (peek_event): constify s
17298 (Set): constify ntext
17299 (Init): constify nicename
17301 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17303 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17304 (savePosition): use two params to Minibuffer::Set
17305 (restorePosition): ditto
17307 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17309 * lyx_main.C: include language.h
17311 * Makefile.am (lyx_main.o): add language.h
17313 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17319 * CutAndPaste.C: include gettext.h
17321 * lyxfont.h: remove old hack with ON and OFF.
17324 * lyxfont.h: do not include language.h...
17329 * bufferview_funcs.C:
17335 * paragraph.C: ... but do it here instead
17337 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17339 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17341 * tabular.C: small reformat
17343 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17346 (BreakParagraph): ditto
17347 (SetOnlyLayout): ditto
17350 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17353 * lastfiles.C: removed most using decl, add std:: where needed
17355 * buffer.C: ws changes
17357 * MenuBackend.C (class compare_format): put into anon namespace
17358 (expand): constify label, names, action, action2
17361 * text.C (SingleWidth): constify font
17362 (IsBoundary): constify rtl2
17363 (GetVisibleRow): constify ww
17365 * LaTeX.C (deplog): constify logfile
17367 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17369 (workAreaExpose): constify widthChange, heightChange
17371 * lyxrow.C (par): moved
17374 * lyxrow.h: as inlines here
17376 * lyxfont.h (shape): moved from lyxfont.C
17377 (emph): moved from lyxfont.C
17379 * lyxfont.C (LyXFont): use initialization list for all
17381 (shape): move to lyxfont.h as inline
17382 (emph): move to lyxfont.h as inline
17385 2001-04-04 Juergen Vigna <jug@sad.it>
17387 * vspace.C: had to include stdio.h for use of sscanf
17389 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17392 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17393 independent of xforms.
17395 2001-04-02 Juergen Vigna <jug@sad.it>
17397 * spellchecker.C: fixed namespace placing!
17399 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17401 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17402 the LyXParagraph * is 0.
17404 2001-03-29 Juergen Vigna <jug@sad.it>
17406 * vspace.C: added support for %, c%, p%, l%.
17407 (stringFromUnit): added helper function.
17408 (asLatexString): changed to give right results for the %-values.
17410 * buffer.C: convert the widthp in a width%.
17412 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17414 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17417 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17418 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17420 * lyx_cb.[Ch]: see above.
17422 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17426 * lyx.[Ch]: replaced by figure_form.[Ch].
17430 * lyxfunc.C: changed headers associated with above changes.
17432 2001-03-27 Juergen Vigna <jug@sad.it>
17434 * BufferView_pimpl.C: set the temporary cursor right!
17436 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17438 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17440 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17442 * LString.h: removed "using std::getline"!
17444 * BufferView_pimpl.C (Dispatch): changes due to changes in
17445 InsetInclude::Params.
17447 * buffer.C (tag_name): removed redundant break statements as they were
17448 producing lots of warnings with my compiler.
17450 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17452 * LString.h: add "using std::getline" when using the real <string>.
17454 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17456 * buffer.C: removed bitset usage.
17457 PAR_TAG moved to an anonymous name space.
17458 (tag_name): new funtion, also in the anonymous namespace.
17459 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17460 (makeDocBookFile): clean code. Completed transition from string arrays
17462 (SimpleDocBookOnePar): code clean.
17464 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17466 * tabular.C: add some comments.
17468 2001-03-22 Juergen Vigna <jug@sad.it>
17470 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17471 compatibility read a bit and fixed bug with minipage in different
17474 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17476 * buffer.C (pop_tag): removed.
17477 (push_tag): removed.
17478 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17479 array replaced with vector. Added support for CDATA sections.
17480 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17482 (makeDocBookFile): XML conformant declaration of CDATA section,
17483 fixed bug related to <emphasis> in the first paragraph char.
17484 (sgmlOpenTag): exclude empty tags.
17485 (sgmlCloseTag): ditto.
17487 * buffer.h (pop_tag): removed.
17488 (push_tag): removed.
17490 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17492 * language.h (Languages): added size_type and size().
17494 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17496 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17497 response on compability reading of minipages. One probliem is that
17498 the old usage of minipages was flertydig
17500 * several files here and in subdirs: don't use static at file
17501 scope use anon namespaces instead.
17503 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17505 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17506 LaTeX output. This is necessary for Literate document
17509 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17511 * buffer.C: insert hfill when needed.
17513 * tabular.C (l_getline): use string::erase, small whitespace change.
17515 * BufferView_pimpl.C: try the anon namespace.
17516 * WorkArea.C: ditto
17518 2001-03-16 Juergen Vigna <jug@sad.it>
17520 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17521 otherwise it won't open options-dialogs.
17523 * buffer.C: honor pextraWidth(p) on converting minipages.
17525 * tabular.C (l_getline): changed the functions to strip trailing \r.
17527 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17529 * BufferView_pimpl.C:
17530 * minibuffer..C: added "using SigC::slot" declaration.
17532 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17534 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17540 * paragraph.C: ditto
17542 * lyxtext.h: NO_PEXTRA
17544 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17546 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17547 * ParameterStruct.h: ditto
17548 * ParagraphParameters.h: ditto
17549 * lyxparagraph.h: ditto
17551 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17553 * buffer.C: add compability for minipage alignment.
17554 (latexParagraphs): remove unwanted pextra check.
17556 * several files: remove CXX_WORKING_NAMESPACES
17558 * buffer.C (pop_tag): tie is in namespace boost
17560 * BufferView.h: noncopyable is in namespace boost
17562 * lyx_main.h: ditto
17565 * lastfiles.h: ditto
17566 * bufferlist.h: ditto
17567 * ShareContainer.h: ditto
17569 * LyXAction.h: ditto
17572 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17574 * Merging changes from BRANCH_MVC back into HEAD.
17576 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17578 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17580 * BufferView_pimpl.C: change from intl.C
17584 * Makefile.am: move combox.*
17590 * intl.C: remove dialog (covered by prefs)
17592 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17594 * lyxfunc.C (Dispatch): removed redundant break statement.
17596 2001-03-14 Juergen Vigna <jug@sad.it>
17598 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17600 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17602 * buffer.C: add hack to fix compability reading of minipages.
17604 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17606 * buffer.C (getLists): Cleanup.
17608 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17610 * lyxfont.C (update): don't honor toggleall on font size.
17612 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17616 * Makefile.am: moved to frontends/xforms/
17620 * BufferView_pimpl.C: changes for moved mathpanel
17622 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17624 * gettext.h: fix gettext_init() in --disable-nls
17626 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17628 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17630 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17633 * lyx.h: strip external form
17635 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17637 * BufferView_pimpl.C: add comment, destroySplash()
17639 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17641 * BufferView_pimpl.C:
17645 * lyxfunc.C: use re-worked insetinclude
17647 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17649 * buffer.C: add using std::stringstream.
17651 * lyx_cb.C: readd using std::ios.
17653 * buffer.C: add using std::map.
17655 * BufferView_pimpl.C: add using std::vector.
17657 * ShareContainer.h: add std:: to swap.
17659 * buffer.h: add some typedefs
17660 * buffer.C (getLists): use them
17661 (getLists): renamed from getTocList.
17662 add a counter for the different float types and use it in the
17664 (getLists): use the same counter for the NEW_INSETS and the "non"
17667 * lyx_cb.h: remove unused items, includes, using etc.
17669 * ShareContainer.h: remove some commented code, add more comments
17670 and "documentation".
17672 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17674 * buffer.C (getTocList): make the list also when NEW_INSETS is
17677 * buffer.h: remove TocType
17679 * buffer.C (getTocList): change to return a map<string,
17680 vector<TocItem> >, implement for dynamic number of list.
17682 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17683 * text2.C (PasteSelection): adjust
17684 * CutAndPaste.C (pasteSelection): adjust
17686 * FloatList.C (FloatList): update from the new_insets branch.
17687 * Floating.[Ch]: ditto
17688 * LaTeXFeatures.C: ditto
17690 * lyxlex_pimpl.C: ditto
17692 * paragraph.C (Last): remove when NEW_INSETS is defined.
17694 * other file: changes because of the above.
17696 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17698 * lyxparagraph.h: rename next to next_, previous to previous_,
17699 make them private for NEW_INSETS. Rename Next() to next(),
17700 Previous() to previous().
17702 * other files: changes because of the above.
17704 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17707 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17710 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17712 * main.C (main): pass lyx_localedir to gettext_init().
17714 * gettext.h: remove locale_init and gettext_init macros
17716 * gettext.C (locale_init): new function
17717 (gettext_init): new function
17719 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17722 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17724 * Moved credits to frontends:
17725 * credits.[Ch]: removed
17726 * credits_form.[Ch]: removed
17727 * lyx_gui_misc.C: remove credits stuff
17730 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17732 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17734 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17735 unneeded destructor.
17737 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17738 a standalone pointer again.
17740 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17742 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17748 * ToolbarDefaults.C:
17757 * BufferView_pimpl.C: use new file dialog in GUII
17760 * lyx_cb.C: remove LayoutsCB to Toolbar
17762 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17764 * ShareContainer.h (get): add std:: qualifier
17766 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17768 * ShareContainer.h: define a proper ShareContainer::value_type
17769 type (and use typename to please compaq cxx)
17771 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17773 * lyxparagraph.h: move serveral local vars to
17774 ParameterStruct/ParagraphParameters., use ShareContainer in
17775 FontTable., make vars in FontTable private and add getter and
17778 * paragraph.C: changes because of the above.
17780 * lyxfont.h: remove copy constructor and copy assignment. (the
17781 default ones is ok), move number inside FontBits. move inlines to
17784 * lyxfont.C: add number to initializaton of statics, move several
17785 inlines here. constify several local vars. some whitespace
17786 cleanup. Dont hide outerscope variables.
17788 * Spacing.h: add two new constructors to match the set methods.
17790 * ShareContainer.h: new file, will perhaps be moved to support
17792 * ParameterStruct.h: new file
17794 * ParagraphParameters.h: new file
17796 * ParagraphParameters.C: new file
17798 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17799 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17801 * BufferView_pimpl.C: ParagraphParameter changes.
17802 * buffer.C: Likewise.
17803 * bufferview_funcs.C: Likewise.
17804 * text.C: Likewise.
17805 * text2.C: Likewise.
17807 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17809 * lyxfind.C (LyXReplace): do not redefine default argument in
17811 (IsStringInText): ditto
17812 (SearchForward): ditto
17813 (SearchBackward): ditto
17815 2001-03-06 Juergen Vigna <jug@sad.it>
17817 * lyxfind.C (IsStringInText): put parentes around expressions.
17819 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17821 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17823 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17825 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17827 * stl_string_fwd.h: add comment
17829 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17832 * tabular.C: remove unused DocBook methods
17838 killed DO_USE_DEFAULT_LANGUAGE
17840 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17842 * lyx_gui.C: do not include language.h.
17844 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17845 arguments in function implementation.
17847 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17849 * BufferView_pimpl.C: add <ctime>
17851 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17853 * BufferView_pimpl.C: add using std::find_if
17855 2001-02-27 José Matos <jamatos@fep.up.pt>
17857 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17860 2001-02-11 José Matos <jamatos@fep.up.pt>
17862 * buffer.C (makeDocBookFile): command styles now have a parameter as
17863 "title" by default.
17865 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17867 * layout_forms.[Ch]: removed
17868 * lyx_cb.[Ch]: out character
17869 * lyx_gui.C: out character
17870 * lyx_gui_misc.C: out character
17871 * bufferview_funcs.C: : out character,
17872 added toggleall as parameter in ToggleAndShow
17874 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17876 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17878 * text2.C (SetCurrentFont): Disable number property at boundary.
17880 2001-02-26 Juergen Vigna <jug@sad.it>
17882 * lyxfunc.C (getStatus): added a string argument override function so
17883 that this is correctly called from LyXFunc::Dispatch if it contains a
17884 do_not_use_argument which is used!
17885 (Dispatch): added check for "custom" export and call appropriate func.
17887 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17889 * lyxrc.C: Add language_command_local, language_use_babel and
17890 language_global_options.
17892 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17894 * buffer.C (makeLaTeXFile): Use language_use_babel and
17895 language_global_options.
17897 2001-02-23 Juergen Vigna <jug@sad.it>
17899 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17900 which works with LyXText and putted it inside BufferView. Here now we
17901 only call for that part the BufferView::Dispatch() function.
17903 * BufferView.C (Dispatch): added.
17905 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17906 functions which needs to use a LyXText over from LyXFunc.
17907 (MenuInsertLyXFile): added
17908 (getInsetByCode): added
17909 (moveCursorUpdate): added
17910 (static TEXT): added
17912 2001-02-22 Juergen Vigna <jug@sad.it>
17914 * BufferView_pimpl.C (update): call a status update to see if LyXText
17917 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17919 * vc-backend.C (revert): implement for CVS
17920 (getLog): implement for CVS
17922 2001-02-20 Juergen Vigna <jug@sad.it>
17924 * text2.C (ClearSelection): added BufferView param for inset_owner call
17926 * lyxfunc.C (TEXT): added this function and use it instead of
17927 directly owner->view()-text of getLyXText().
17929 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17931 * src/layout_forms.C: out preamble
17932 * src/layout_forms.h: out preamble
17933 * src/lyx_cb.C: out preamble
17934 * src/lyx_cb.h: out preamble
17935 * src/lyx_gui.C: out preamble
17936 * src/lyx_gui_misc.C: out preamble
17937 * src/lyxfunc.C: connect with guii preamble
17939 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17941 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17943 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17945 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17946 whether to run bibtex.
17948 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17950 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17952 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17954 * Makefile.am (lyx_SOURCES): removed bibforms.h
17956 * vspace.h: doxygen
17958 * text.C (GetVisibleRow): make several local vars const
17960 * tabular.C: small cleanup.
17962 * lyxserver.C (callback): use compare instead of strncmp
17964 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17965 inlines to after class or to paragraph.C
17967 * lyxfont.h: remove friend operator!=
17969 * converter.h: move friend bool operator< to non friend and after
17972 * combox.h: small cleanup
17974 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17975 to inlines after class def.
17977 * buffer.C (pop_tag): use string operations instead of strcmp
17979 * bmtable.c: doxygen, small cleanup
17981 * LaTeX.h: remove friend operator==
17983 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17995 * BufferView_pimpl.C:
17996 * BufferView.[Ch]: remove cruft
17998 2001-02-14 Juergen Vigna <jug@sad.it>
18000 * lyxfunc.C: removed #if 0 unused code
18002 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18004 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18006 * text2.C (SetSelection): added a BufferView * parameter
18008 2001-02-13 Juergen Vigna <jug@sad.it>
18010 * lyxfunc.C (Dispatch): fixed protected blank problem.
18011 * BufferView2.C (protectedBlank): added LyxText * parameter.
18013 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18014 (AppendColumn): same as above for column_info.
18016 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18017 (moveCursorUpdate): use a LyXText param for support of InsetText.
18019 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18020 (tripleClick): ditto
18022 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18024 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18026 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18028 * text2.C (SetSelection): set correct update status if inset_owner
18029 (ToggleFree): ditto
18031 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18033 * tabular.C: remove some commented code.
18035 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18037 * BufferView_pimpl.C: call hideSplash()
18039 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18042 * bibforms.h: remove
18045 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18046 add LFUN_CHILD_CREATE
18048 * counters.h: fix tiny typo
18053 * lyx.C: move splash to frontends/xforms/
18055 * lyx_gui_misc.C: move Include and Bibform to frontends
18057 * lyxvc.h: clarify comment
18059 * vspace.C: tiny housekeeping
18061 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18063 * text.C (PrepareToPrint): RTL Fix.
18065 * paragraph.C (GetUChar): New method.
18066 (String): Use GetUChar.
18068 * buffer.C (asciiParagraph): Use GetUChar.
18070 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18072 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18074 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18077 * buffer.C: rename to getLogName(), handle
18078 build log / latex log nicely
18080 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18083 * MenuBackend.h: remove support for reference menuitem type.
18085 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18087 * BufferView_pimpl.C: housekeeping
18088 * BufferView_pimpl.h:
18093 * minibuffer.h: move Timeout GUI-I
18095 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18097 * lyxrc.C (read): Update converters data-structures.
18099 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18101 * LaTeX.h (operator!=): add operator != for Aux_Info
18103 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18105 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18107 * LaTeXLog.C: deleted, useful code moved to Buffer
18110 * buffer.C: new function getLatexLogName()
18116 * lyxfunc.C: use frontends for LaTeX and VC logs
18118 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18120 * LaTeX.h: yet another std:: that Allan forgot.
18122 * Variables.C (set): renamed from isset(), because this clashes
18123 with some HP-UX macros (grr).
18125 2001-02-06 Allan Rae <rae@lyx.org>
18127 * LaTeX.h: Another bug fix. Missing std:: this time.
18129 2001-02-04 Allan Rae <rae@lyx.org>
18131 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18132 floats problem. I've left it commented out because it's not quite
18133 correct. It should also test that the current object is a table or
18134 figure inset. But I haven't gotten around to figuring out how to do
18135 that. I *think* it'll be something like: "table" == inset.type()
18137 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18140 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18142 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18143 all the citation/databases/styles in the auxilary file.
18144 (run): Rerun latex if there was a babel language error.
18146 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18148 * text.C (Backspace): Preserve the font when changing newline char
18150 (BreakParagraph): If the cursor is before a space, delete the space.
18152 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18154 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18156 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18157 new argument (code).
18158 (ChangeCitationsIfUnique): New method.
18160 * paragraph.C (GetPositionOfInset): Handle bibkey.
18162 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18164 * BufferView_pimpl.h: change type of Position::par_pos to
18165 LyXParagraph::size_type.
18167 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18169 * BufferView_pimpl.C (savePosition, restorePosition): Write
18170 messages to minibuffer.
18172 2001-01-28 José Matos <jamatos@fep.up.pt>
18174 * buffer.C (makeDocBookFile): adds support for document language.
18175 A silly restriction on the name of LatexCommand types where removed.
18176 Added support for CDATA sections, allows to chars unescaped, used
18177 among others in code, to avoid escape < and >.
18179 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18181 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18182 saved positions instrad of a stack. Furthermore, a position is
18183 stored using paragraph id/paragraph position.
18185 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18186 Remove LFUN_REF_BACK.
18188 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18190 * converter.C (dvipdfm_options): New method.
18192 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18194 * vspace.C (isValidLength): Fix for empty input string.
18196 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18198 * LyXAction.C (init): change description of LFUN_FIGURE to
18201 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18203 * LaTeX.C: add using directive
18205 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18207 * MenuBackend.C (expand): Fix the sorting of the formats.
18209 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18211 * lyx_main.C: tiny error message fix
18213 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18215 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18216 calling fl_initialize(). This fixes the problem with ',' as
18217 decimal separator in text files.
18219 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18221 * trans.C (process): Fix the keymap bug.
18223 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18225 * LaTeX.C (scanAuxFiles): New method. Provides support for
18226 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18227 (scanLogFile) Scan for "run BibTeX" messages.
18229 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18230 OT1 font encoding. Also, load the aecompl package if the ae
18233 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18235 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18237 * texrow.C (increasePos): turn two error messages into debug
18240 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18242 * LaTeX.C (scanAux): Handle the \@input macro.
18243 (runBibTeX): Use scanAux().
18245 * language.C (latex_options_): New field.
18247 * LaTeXFeatures.C (getMacros): Add language macros.
18249 * buffer.C (makeLaTeXFile): Small fix.
18251 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18253 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18255 * text2.C: add a using directive.
18257 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18262 * lyxfunc.C: kill LyXBell.
18264 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18266 * text.C (IsBoundary): Remove the error message
18268 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18270 * lyxrc.C (setDefaults): Correct initialization value for
18273 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18275 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18278 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18279 and GotoNextNote().
18281 * src/LyXAction.C: Added reference-next.
18283 * text.C (InsertChar): Use contains instead of strchr.
18285 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18287 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18289 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18290 alignment commands (when needed).
18292 * text.C (InsertChar): Add ':' to number separator chars.