1 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
4 end of paragraph. (bug 2010)
6 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
8 * text.C (leftMargin): check for inInset == 0
10 2005-08-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12 * text.C (leftMargin): test for insetbase's new neverIndent()
13 bool instead of listing each and every inset that does not
16 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
18 * buffer_funcs.C (setCounter): put the code to compute enum label
19 here (where it belongs).
21 * counters.C (enumLabel): move code to buffer_funcs.C.
23 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
25 * outputparams.[Ch]: store local_font instead of local_language
26 * paragraph.C (simpleTeXOnePar): adapt to the change above
28 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
31 * counters.[Ch]: clean up special code for Hebrew.
33 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
35 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
38 2005-09-08 Angus Leeming <leeming@lyx.org>
41 * lyxrc.C: correct grammar describing invocation of the
44 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
46 * text.C (read): remove unused variable.
47 (readParToken): remove static Change variable (never good in
48 recursive settings...); add it as a parameter instead.
50 * paragraph_pimpl.C (acceptChange): make debug info conditional.
52 * metricsinfo.C (PainterInfo): add new member erased_.
54 * rowpainter.C (RowPainter): add erased_ member, initialized from
56 (paintInset): pass erased_ to Inset::draw.
58 * lyxfunc.C (lookupChange): new function. Tells whether change
59 tracking is disabled at a given postion.
60 (getStatus): disable some actions when in deleted text with change
63 2005-08-03 John Levon <levon@movementarian.org>
65 * tabular.C (appendColumn, setMultiColumn): adapt to change to
68 * paragraph_pimpl.C (markErased): add bool argument and handle it.
69 Also make sure to mark insets recursively.
70 (rejectChange, erase): be recursive
72 * paragraph.C (markErased): add bool argument.
73 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
75 * lyxfind.C (findNextChange): tiny cleanup.
77 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
78 change tracking with the cursor in an inset; make sure the first
79 change is not skipped.
81 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
83 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
84 tabularStackDirty to work around bug 1919 (tabular needs
85 to know whether its own cell paste buffer or the one of
87 * CutAndPaste.C: mark tabular_stack_ clean after copy.
89 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
91 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
93 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
95 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
96 use old deleteion algorithm when changetracking is on.
98 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
100 * messages.C (get): add debug output.
102 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
104 * text.C (cursorX): fix bug 1965: cursor movement at
105 line end broken in RtL.
106 (drawSelection): fix bug 1970: drawing of single-line
107 selection broken for RtL.
109 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
113 * dociterator.h (clear, push_back, pop_back): change from
116 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
117 and changed to just return the value of the item depth; take a
118 ParIterator as argument; take the itemdepth at outer nesting level
119 in account if necessary; cleanup and comment the code.
120 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
121 and changed to just return true if reset is needed; take a
122 ParIterator as argument; cleanup and comment the code.
123 (setCounter): adapt to above changes.
125 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
127 * text3.C (dispatch): make debug message optional
129 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
131 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
134 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
136 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
138 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
140 * text.C (insertChar):
141 * text2.C (deleteEmptyParagraphMechanism): take care whether
142 a blank has been deleted (in change tracking mode) (bug 1254).
144 2005-07-20 John Levon <levon@movementarian.org>
146 * text2.C (insertStringAsLines): remove old dubious code,
149 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
151 * MenuBackend.C (expandToc): use Floating::listName() as title of
154 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
156 * toc.[Ch]: Do not use translatable strings (bug 1870).
158 2005-07-20 John Levon <levon@movementarian.org>
160 * tabular.C: fix 1748 - setting multicolumn adds
161 left line to the first cell
163 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
166 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
169 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
171 * messages.C: supress some lyxerr messages
173 2005-07-18 Juergen Vigna <jug@lyx.org>
175 * text.C (drawSelection): honor boundary when asking for cursorX.
177 2005-07-17 José Matos <jamatos@fc.up.pt>
179 * tabular.C (recalculateMulticolumns): fix handling of one column
182 2005-07-17 Juergen Vigna <jug@lyx.org>
184 * text.C (Delete, backspace): fixed so that paragraph with the
185 same layout can be merged by Delete/Backspace.
187 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
189 * text.C (readParToken): fix spelling.
191 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
193 * text2.C: fix counter update for DEPM problem reported by
196 2005-07-17 Juergen Vigna <jug@lyx.org>
198 * BufferView_pimpl.C (setBuffer): save/restore the
199 cursor/selection when switching buffers
202 * buffer.C (saveCursor): add saveDocumentIterators to save the
203 cursor when switching buffer.
205 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
208 * buffer.C: clarify message
210 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
212 * dociterator.C (DocIterator): fix initialization order
214 2005-07-17 Juergen Vigna <jug@lyx.org>
216 * text2.C (cursorHome):
217 * text.C (drawSelection, cursorX):
218 * dociterator.C (textRow): add boundary to getRow() call
220 * paragraph.C (getRow): implementation of below
222 * paragraph.h: add parameter boundary for getRow() function
224 2005-07-17 José Matos <jamatos@fc.up.pt>
228 * tex-strings.[Ch]: new file format, remove support for a4.sty,
229 a4wide.sty and a4widemargins.
231 2005-07-17 Juergen Vigna <jug@lyx.org>
233 * text2.C (cursorLeft): fix one of error
235 2005-07-17 Juergen Vigna <jug@lyx.org>
237 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
239 more fixes for boundary handling
241 * text3.C (dispatch): don't reset cursor if boundary has changed
244 2005-07-16 Juergen Vigna <jug@lyx.org>
246 * text2.C (getColumnNearX): hopefully got it right now,
247 check if we are on column 0 for special case.
249 2005-07-16 Juergen Vigna <jug@lyx.org>
251 * text2.C (getColumnNearX): handle special case Newline Inset
253 * text.C (singleWidth): Just remove bogus check
255 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
257 * funcrequest.C (split): avoid reading uninitialized char c
259 2005-07-16 José Matos <jamatos@fc.up.pt>
265 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
266 single papersize variable.
268 2005-07-16 Juergen Vigna <jug@lyx.org>
270 * text3.C (dispatch): honor boundary when checking if a cursor
271 movement has been done
273 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
274 (setCursor, setCursorIntern): fix cursor movement with boundary
276 2005-07-16 Juergen Vigna <jug@lyx.org>
278 * text.C (currentState): output the actual Boundary
280 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
282 * factory.C (createInset): fix bad logic for tabular creation
284 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
286 * lyx_main.C (init): change some reLyX reference to tex2lyx
288 2005-07-16 Juergen Vigna <jug@lyx.org>
290 * dociterator.C (DocIterator): initialize boundary
292 2005-07-16 Juergen Vigna <jug@lyx.org>
294 * text2.C (getColumnNearX): Consider rows without trailing blank.
296 2005-07-16 André Pönitz <poenitz@gmx.net>
298 * lyxfont.h: Change order of declarations to give the compiler
299 a better chance to inline things
301 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
302 questions on unsaved docs for better scritability
304 2005-07-16 André Pönitz <poenitz@gmx.net>
306 * paragraph.h (getChar): remove asserts as the same kind of security
307 can be achieved by using a suitable standard library implementation
308 and the function was in the critical path (25.9% in profiler)
310 2005-07-16 Juergen Vigna <jug@lyx.org>
312 * cursor.C (bruteFind2):
313 * bufferview_funcs.C (coordOffset):
314 * text.C (cursorX,cursorY): Handle cursor position after last char
315 in row before a inset which uses a whole row.
317 2005-07-15 José Matos <jamatos@lyx.org>
319 * output_plaintext.[Ch] (writeFileAscii): control reference title
321 (asciiParagraph): noparbreak was already deal and was incorrectly
324 2005-07-15 Juergen Vigna <jug@lyx.org>
326 * lyxfunc.C (dispatch): save and restore the cursor after a
329 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
331 * text.C (backspace): bug 806 for empty keepempty paragraphs we
332 change the layout to default before letting DEPM do its thing.
334 * paragraph_funcs.C (breakParagraph): dont reset the layout on
337 * text.C (setCursorFromCoordinates): add a debug statement
339 * text2.C (getColumnNearX): bug 1825 make sure that we don't
340 return a pos that is not on the row
342 * output_latex.C (TeXDeeper): get rid of potential dereferencing
343 of past the end iterator
345 2005-07-14 André Pönitz <poenitz@gmx.net>
347 * undo.C (recordUndoFullBuffer): implement undo for
350 2005-07-14 André Pönitz <poenitz@gmx.net>
352 * cursor.C (setSelection): open insets when selection is set there
353 to avoid crashs with cold coord cache
355 2005-07-14 André Pönitz <poenitz@gmx.net>
357 * trans_mgr.C (insert): move cursor to the right after inserting
360 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
362 * BufferView_pimpl.C (update): dampen some of the debug blabbering
363 * factory.C (readInset): ditto
364 * text.C, text2.C: ditto
366 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
368 * buffer.C: format incremented to 242. There is no file format per
369 se, but the "frenchb" language has been removed from lib/language
370 and has to be translated to "french" by lyx2lyx.
372 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
374 * cursor_slice.h, dociterator.h: add some documentation
375 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
377 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
379 * text.C (leftMargin): do not add identation to display() style
380 insets, because they are always centered (bug 1293).
382 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
384 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
385 formatted_time methods in support/lyxtime.
387 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
389 * toc.[Ch]: new method getGuiName, which is used by the frontends
390 to set the toc combo (fixes bug 1870). Make TOC string translatable.
392 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
394 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
395 StableDocIterator const &)
396 * undo.C (recordUndo): use the above instead of cell.size() comparison
397 (fixes bug 1808; instructed by Andr�.
399 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
402 * dociterator.h: Fix the assert when copying rows/cols in math
404 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
406 * BufferView_pimpl.C:
408 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
410 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
411 (findInset): new functions, refactored from goto Inset that return
412 the position of a certain inset without setting the buffer's cursor
414 (gotoInset): rewrite to call findInset and then set the cursor
417 2005-06-16 Angus Leeming <leeming@lyx.org>
419 * lyxrc.C (output, read): wrap all input and output of paths with
420 calls to os::internal_path and os::external_path, respectively.
421 (output): wrap bind_file inside quotes.
423 * format.C (view): enable the viewer to use the '$$s' placeholder.
425 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
427 * LColor.[Ch] (getFromLaTeXName): new
429 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
431 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
433 2005-06-14 Angus Leeming <leeming@lyx.org>
435 * lyx_main.C (init): ensure that the LyX binary dir is the first
436 element in the PATH on non-POSIX builds.
438 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
440 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
442 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
444 * rowpainter.C (paintInset, paintHebrewComposeChar)
445 (paintArabicComposeChar, paintChars): add a LyXFont argument.
446 (paintChars): use getFontSpan to reduce calls to getFont to a
447 minimum; use Paragraph::lookupChange instead of isXXXText.
448 (paintForeignMark): rename LyXFont argument.
449 (paintFromPos): pass a LyXFont object to the various paintXXX
452 * FontIterator.C (FontIterator, operator++): use
453 Paragraph::getFontSpan
455 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
456 version that returns the font span as a pair.
458 2005-06-09 Angus Leeming <leeming@lyx.org>
460 * converter.C (convert): Don't forget "outfile = real_outfile" as
461 the final step in a conversion where the input and output file names
462 are the same. Otherwise, future conversion steps won't work...
464 2005-06-09 Angus Leeming <leeming@lyx.org>
466 * lyxsocket.C: remove stub code as it isn't needed by
467 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
469 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
471 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
472 effectively disabled -x
474 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
476 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
477 when it actually makes sense.
479 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
481 * BufferView_pimpl.C: revert to showCursor in connection with
482 Lars's front-end stack
484 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
486 * text.C (redoParagraph): move cursor right after a bibitem
489 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
491 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
493 * buffer_funcs.C (bufferErrors): fix computation of the end of an
496 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
498 * BufferView.[Ch] (update):
499 * BufferView_pimpl.[Ch] (update, metrics):
500 * dimension.h (operator==):
501 * lyxfunc.C (dispatch):
502 * metricsinfo.h (ViewMetricsInfo):
503 * rowpainter.C (paintText):
505 * text.C (redoParagraph):
506 * text3.C (dispatch): Make LyX only repaint current paragraph in
507 case of character insert --> speedup. Also fix cursor draw
510 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
512 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
513 avoid a crash (bug 1891)
515 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
519 * text2.C (getStringToIndex): constify cur argument.
521 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
522 argument has been given
523 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
524 try to invoke LFUN_INSET_APPLY).
526 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
527 if no inset was created by doInsertInset
528 (doInsertInset): return true if an inset has been inserted.
530 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
532 * vspace.C (asGUIName): new method. A version of the space
533 suitable for showing on screen.
535 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
538 * lyxrc.C: rename "ASCII" to "Plain Text"
540 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
542 * buffer_funcs.C (expandLabel): take a Buffer as argument;
543 translate the labelstring.
544 (setCounter): translate labelstring as needed.
546 * output_docbook.C (makeCommand): fix expandLabel invokation
548 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
550 * BufferView.C: fix dialog title
552 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
554 * lyx_main.C (priv_exec): fix logic error with help from Angus
555 * lyx_main.C (parse_execute): set is_gui = false and remove now
556 obsolete comment about a segfault
558 2005-05-18 Angus Leeming <leeming@lyx.org>
560 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
562 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
564 * tabular.[hC]: added setCellInset to fix tabular paste.
566 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
568 * buffer.C (save): check if destination is writable before trying
571 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
573 * BufferView_pimpl.C (update): fix processEvents -caused update
576 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
578 * buffer_funcs.C (setCounter): fix test for numbering of
581 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
582 depth correctly; use optional argument when it exists
584 * lyxtextclass.C: remove unused MaxCounterTags enum
585 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
586 (max_toclevel, min_toclevel): new methods.
588 * MenuBackend.C (expandToc2): fix case where depth is smaller than
589 the smallest depth in toc.
591 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
592 layouts that should not appear in a table of contents.
594 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
596 * cursor.h (undispatched, noUpdate): add comments from Andr�
597 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
601 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
603 2005-05-07 André Pönitz <poenitz@gmx.net>
605 * cursor.[Ch] (leaveInset): new function
607 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
609 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
611 2005-05-04 Angus Leeming <leeming@lyx.org>
613 * lyxfunc.C (getStatus): disable the spell checker dialog if
614 none of USE_[AIP]SPELL are defined.
616 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
618 * tabular.C (setWidthOfCell): remove obsolete comment
620 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
622 * paragraph.C (bibitem):
623 * buffer_funcs.C (setCounter):
624 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
626 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
628 * text3.C (getStatus): immediately return after setOnOff
630 * rowpainter.C: fix drawing of appendix start
632 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
634 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
635 SwitchBetweenClasses and remove the unused return value.
636 Handle character styles, too
638 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
640 * factory.C (createInset): handle undefined character styles
642 2005-05-02 Angus Leeming <leeming@lyx.org>
644 * buffer.C: protect the #include of utime.h with a preprocessor
647 2005-05-02 Angus Leeming <leeming@lyx.org>
649 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
650 function so that auto-saving works, albeit in a blocking manner.
652 * Makefile.am: make compilation of the client sub directory, of
653 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
654 on conditionals set at configure time.
656 * SpellBase.[Ch]: no longer an abstract base class. Instead,
657 it can be compiled in its own right but has no-op functionality.
659 * aspell.C, pspell.C: remove preprocessor guards. The files should
660 be compiled only if the necessary functionality exists.
662 * lyxserver.C, lyxsocket.C: disable on Windows.
664 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
666 * text.C (leftMargin): Fix the parindent use bug (1764)
669 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
671 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
674 2005-04-25 Angus Leeming <leeming@lyx.org>
682 include <config.h> in .C files, not .h ones.
684 protect headers inside preprocessor guards.
686 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
688 * FuncStatus.h (StatusCodes): document
690 2005-04-21 André Pönitz <poenitz@gmx.net>
692 * FuncStatus.h (enabled, onoff): document
694 2005-04-19 Angus Leeming <leeming@lyx.org>
696 * BufferView_pimpl.C (cursorToggle): no longer test whether
697 any child processes have been reaped before calling
698 handleCompletedProcesses().
700 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
702 * text3.C (dispatch): fix, finally fix, the language problem in
703 new lyxtexts, without disabling on-the-fly font changes (Helge's
706 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
708 * text3.C (dispatch): set cursor on double/triple click events
711 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
713 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
714 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
716 * rowpainter.C (paintFirst): simplify the code a little bit. In
717 particular, remove the test for secnumdepth.
718 * text.C (setHeightOfRow): only allocate space for chapter number
719 when updateCounters provided an actual label, instead of looking
720 at secnumdepth directly.
722 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
724 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
725 paragraphs when secnumdepth is large enough or, for environments,
726 when they are not the first in a sequence.
728 2005-04-17 Angus Leeming <leeming@lyx.org>
730 * buffer.C (makeLaTeXFile): replace code to manipulate a path
731 containing space and '~' characters with a call to latex_path().
733 2005-04-17 Angus Leeming <leeming@lyx.org>
735 * converter.C (convert): protect all args of convertDefault.sh
738 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
740 * text3.C (dispatch): change the layout to "Caption" after inserting
743 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
745 * text3.C (dispatch): fix language problem in newly created
746 textinsets (and main text) in non-english docs
748 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
750 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
751 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
752 * text3.C (getStatus): disable LFUN_INSET_MODIFY
754 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
759 * rowpainter.C (getFont): Fix metrics bug introduced by inset
762 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
764 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
765 output of \item arguments without trailing text.
767 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
769 * FontIterator.C (operator*): avoid a copy of the font.
771 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
773 * rowpainter.C (getFont): fix language bug from previous fix
775 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
777 * rowpainter.C (RowPainter, getFont): fix font inside inset
780 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
782 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
783 preventing inserted font, deco, delim insets jumping to start of
786 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
788 * lyxfunc.C (dispatch): translate message before sending it to the
791 2005-03-29 Angus Leeming <leeming@lyx.org>
793 * lyx_main.C (priv_exec): call os::internal_path on each file passed
794 to LyX on the command line.
796 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
798 * vc-backend.C: use QuoteName to protect file names wherever
801 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
804 * BranchList.h: fix bugs 1844,1845: document settings don't
807 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
809 * lyxrc.C (setDefaults, read, output, getDescription): add support
810 for tex_allows_spaces.
812 * exporter.C (Export): allows files in directory containing spaces
813 if tex_allows_spaces is true.
815 * buffer.C (makeLaTeXFile): if the document path contains spaces,
816 output it in double quotes.
818 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
820 * rowpainter.C: use default text height for drawing change tracker
823 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
825 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
827 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
829 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
830 directory is missing.
832 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
834 * text2.C: fixed the fix, extended to other case.
836 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
838 * text2.C: fix for cursor up/down stuck in math [bug 1792]
840 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
842 * text2.C (cursorUp): get rid of a crash
843 * text.C (x2pos): add an assert
845 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
847 * lyxfunc.C (getStatus): fix warning when assertions are disabled
851 * dociterator.C: include <boost/current_function.hpp>, which is
852 needed when assertions are disabled.
854 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
856 * text2.C: fix for stuck cursor when traversing two
857 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
859 2005-02-25 Andreas Vox <avox@arcor.de>
861 * output_docbook.C (makeParagraph): suppress trailing newline
862 after a run of paragraphs
864 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
866 * paragraph.C: fix for confused change tracker when pasting
867 text that begins with a lineseparator. [bug 1827]
868 (setChange(0, Change::INSERTED);)
870 * paragraph_funcs.C: fix for lost changes on triple-paste
871 in change tracking mode [bug 1827] (par.setChange()).
873 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
875 * text2.C (updateCounters, setCounter, expandLabel): move to
878 * buffer_funcs.C (updateCounters): turn into a free standing
879 function and add a buffer parameter. Remove dead code for tracking
881 (setCounter): change into a free-standing function which gets a
882 dociterator as argument. Use this iterator to fix captions in a
883 simple way. When no float is found above the caption, use the
884 labelstring of the caption layout as default.
886 * text.C (breakParagraph, backspace):
887 * text2.C (init, setLayout, changeDepth):
888 * text3.C (dispatch):
889 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
892 * dociterator.C (forwardPar): make it much faster by calling
893 forwardPos() only when really necessary.
895 * output_docbook.C (makeCommand): adapt to expandLabel move.
897 * cursor.C: remove unused variable
899 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
901 * paragraph_funcs.C: fix crash when pasting insets in change
902 tracking mode [bug 1277] (honour change type in moveItem).
904 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
906 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
908 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
910 * BufferView.C (setCursor): change to use a DocIterator.
911 (gotoLabel): use BufferView::setCursor (other part of bug 781).
912 (putSelectionAt): adapt to BufferView::setCursor change.
914 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
915 moved here from LyXText and rewritten to use proper cursor
916 methods. Fixes bug 1787, 616 and 835.
918 * BufferView_pimpl.C (restorePosition): set the cursor correctly
919 when inside an inset (part of bug 781).
920 (dispatch): adapt to change of BufferView::setCursor.
921 (getStatus, dispatch): handle LFUN_GOTOERROR,
922 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
924 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
925 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
926 * text3.C (gotoNextInset, gotoInset): removed.
928 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
930 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
932 2005-02-15 Angus Leeming <leeming@lyx.org>
934 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
935 can be used meaningfully in a comparison.
937 2005-02-13 André Pönitz <poenitz@gmx.net>
939 * bufferview_funcs.C (coordOffset): improve cursor drawing
941 2005-02-13 André Pönitz <poenitz@gmx.net>
943 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
944 * Cursor.C (dispatch): use fixIfBroken
945 * lyxfunc.C (getStatus): use fixIfBroken
947 2005-02-15 Angus Leeming <leeming@lyx.org>
949 * lyx_main.C (error_handler):
951 * lyxrc.C (setDefaults):
953 #include "environment.h".
955 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
957 2005-02-15 Angus Leeming <leeming@lyx.org>
959 * lyxserver.C (startPipe): squash MSVC warning "local variable
960 'fd' used without having been initialized".
962 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
964 * BufferView_pimpl.C: revert accidental commit.
966 2005-02-14 André Pönitz <poenitz@gmx.net>
968 * dociterator.[Ch]: new member forwardPosNoDescent(),
969 which doesn't enter nested insets.
970 * text2.C (setFont): use forwardPosNoDescent() instead
971 of ForwardPos() (fixes crash on font change).
973 2005-02-13 Angus Leeming <leeming@lyx.org>
975 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
976 only if lyxrc.path_prefix is not empty.
978 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
980 * bufferparams.C (readGraphicsDriver): prevent crash
982 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
984 * text2.C (setCounter): check for inInset() == 0
986 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
988 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
989 but use update() to get correct screen display; use convert
990 instead of istringstream.
991 (getStatus): handle LFUN_GOTO_PARAGRAPH
993 * lyxfunc.C (dispatch, getStatus): do not handle
994 LFUN_GOTO_PARAGRAPH here.
996 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
998 * text3.C (dispatch): size() -> depth()
1000 * text2.C: remove some debug output
1002 * paragraph.C: ws changes only
1004 * lyxfunc.C (getStatus): size() -> depth()
1006 * dociterator.h (clear, push_back, pop_back, internalData,
1007 operator[], resize, empty): new functions
1008 Make StableDocIterator and operator== be friends. Don't inherit
1009 from std::vector use a privat class variable slices_ instead.
1012 * dociterator.C: update because of not inheriting from std::vector
1013 anymore. Call explictly to slices_ instead. Use depth() instead of
1014 size() and top() instead of back()
1016 * cursor.C: chagne size() -> depth and back() -> top(). Also
1017 remove some direct operator[](i) calls in favour of foo[i]
1018 (getFont): remove some dead code
1020 * bufferview_funcs.C (coordOffset): size() -> depth()
1022 * buffer.C: ws changes only
1024 * CutAndPaste.C (eraseSelection): back() -> top()
1026 * BufferView_pimpl.C (selectionRequested): back() -> top()
1028 * BufferView.C (setCursor): size() -> depth()
1030 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1032 * text3.C (cursorPrevious): return true if depm changed something
1034 (dispatch): rename sl to oldTopSlice, remove moving use the new
1035 NoUpdate func attrib instead. Make sure that needsUpdate is set
1036 for function that have NoUpdate, but where depm might have changed
1039 * text2.C (cursorLeft): make us return true if depm changed
1041 (cursorRight): ditto
1042 (cursorUpParagraph): ditto
1043 (curosrDownParagraph): ditto
1044 (cursorUp, cursorDown): ditto, make sure to read comments in code
1045 (deleteEmptyParagraphMechanism): remove an assert, also return
1046 true if just a single char was deleted.
1048 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1049 cursor that we modify, to avoid modifying an active cursor before
1050 we call setCursor. This allows depm to run. Also return true if
1051 depm deleted something.
1053 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1054 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1055 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1056 something was changed in the buffer because of them (ie. depm run)
1058 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1059 debug messages. Make update by default be false. Make sure that
1060 the result of update is retained throught several calls down to
1063 * LyXAction.h: add a new func_attrib: NoUpdate
1065 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1066 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1067 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1069 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1071 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1073 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1074 bv_->owner(), bv_->buffer() by direct references to the private
1076 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1077 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1078 (fitCursor): center() is in BufferView::Pimpl.
1079 (getStatus, trackChanges, dispatch): no need for a temporary buf
1081 (fitCursor, workAreaDispatch): use workarea().workheight()
1083 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1085 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1087 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1089 * buffer.C: format up to 241.
1090 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1091 break if pasting into ERT
1092 * lyxfunc.C (getStatus): suppress mathpanel and
1093 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1095 2005-02-01 Angus Leeming <leeming@lyx.org>
1097 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1099 2005-02-01 Angus Leeming <leeming@lyx.org>
1101 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1102 calling fs::is_directory().
1104 2005-01-31 Angus Leeming <leeming@lyx.org>
1106 * lyx_main.C (priv_exec): specify explicitly the relative location
1107 of the top level build directory when run in-place.
1109 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1111 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1112 LyXText containing the cursor, not the top-level one.
1114 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1116 (insertStringAsLines): rename par to pit; use temporary variable
1117 par to hold a Paragraph; do not store par.layout() in a variable,
1118 since the pointer may die when breaking paragraphs; pass pars to
1119 breakParagraph() instead of Buffer::paragraphs().
1121 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1123 * lyxlex_pimpl.h: #include <fstream>.
1125 * BufferView.[Ch] (getLyXText): add a const version.
1127 * BufferView_pimpl.C: add debug aids.
1132 * paragraph_funcs.h: add commentary explaining what the class does.
1135 * coordcache.[Ch]: add lots of commentary.
1136 (startUpdating, doneUpdating): debug aids.
1137 (arrays, insets, parPos, getParPos): accessors to private data.
1139 * cursor_slice.[Ch] (text): add a const version.
1140 * dociterator.[Ch] (text, innerText): add const versions.
1142 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1145 * paragraph.C (getRow, pos2ros): add asserts.
1147 * paragraph.h: add commentary. Lots of.
1149 * paragraph.[Ch] (metrucs, draw): removed.
1152 * rowpainter.[Ch]: const-correct changes.
1154 * text.C: various obvious clean-ups. Removal of ancient cruft.
1157 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1159 * vc-backend.C (find_file): rewrite to use boost.filesystem
1162 * main.C (main): set default name check for boost.filesystem to
1165 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1168 (actOnUpdatedPrefs): ditto
1170 * lyx_main.C (init): rewrite to use boost.filesystem
1171 (queryUserLyXDir): ditto
1173 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1174 (getContentsOfAsciiFile): ditto
1176 * lastfiles.C (readFile): rewrite to use boost.filesystem
1178 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1180 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1181 (loadLyXFile): ditto
1183 * buffer.C (Buffer): adjust for destroydir
1184 (getLogName): rewrite to use boost.filesystem
1185 (setFileName): ditto
1186 (save): use fs::copy_file (from fs_extras)
1188 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1190 * LaTeX.C (run): rewrite to use boost.filesystem
1191 (scanAuxFiles): ditto
1192 (handleFoundFile): ditto
1194 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1196 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1198 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1200 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1202 * lyxlayout.[Ch]: change some vars from float to double
1204 * buffer.C (readFile): make a local var const
1206 * Several files: use convert<> instead of atoi,strToXXX and friends
1208 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1210 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1211 holds the contents of packages.lst. New functions getAvailable
1212 and isAvailable to parse and check that list, resp.
1216 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1218 * bufferparams.[Ch]: new param output_changes.
1220 * Buffer.C: increase file format to 240.
1221 Use output_changes and isVailable.
1225 * paragraph_pimpl.C: Use output_changes and isVailable.
1227 2005-01-23 Angus Leeming <leeming@lyx.org>
1229 * output_latex.C: #include "insetbibitem.h", rather than
1230 forward declare function bibitemWidest.
1232 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1234 * lyx_main.C (init): make it compile on the Mac.
1236 2005-01-20 Angus Leeming <leeming@lyx.org>
1238 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1239 (setLyXMisc): (char string literal) != (char string literal) is
1240 performing a comparison on the addresses. Convert one operand
1241 explicitly to string to guarantee expected behaviour.
1244 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1247 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1249 * output_plaintext.C: remove unneeded #include gzstream.h.
1251 2005-01-20 Angus Leeming <leeming@lyx.org>
1253 * SpellBase.h: rename some of the elements of the Result enum.
1260 * pspell.C (check): ditto
1262 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1264 * buffer.C: add #include <fstream>.
1266 * lyx_main.C (init): Compile fix.
1268 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1270 2005-01-20 Angus Leeming <leeming@lyx.org>
1272 * mover.h: change commentary to reflect the changed meaning of
1273 the $$s placeholder.
1275 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1277 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1279 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1281 2005-01-20 Angus Leeming <leeming@lyx.org>
1283 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1284 printing diagnostic data by not dereferecing an iterator past the
1287 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1289 * buffer.C (readHeader): use "&&" rather than "and".
1291 * lyxserver.h (inPipeName, outPipeName): make these const.
1293 2005-01-19 Angus Leeming <leeming@lyx.org>
1295 * lyx_main.C (error_handler, init): protect SIGHUP with
1296 #ifdef SIGHUP guards.
1298 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1300 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1302 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1304 * text.C (setHeightOfRow): add a margin at the top and bottom of
1305 the document (bug 1761)
1307 2005-01-17 Angus Leeming <leeming@lyx.org>
1309 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1310 with "python ". Workaround for a brain-dead Windows.
1312 2005-01-16 Angus Leeming <leeming@lyx.org>
1314 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1315 for MacOSX and Windows to use prependEnvPath.
1316 Strip out the hard-coded block to add elements to the PATH for
1317 MacOSX and replace it with a call to prependEnvPath using the
1318 contents of LyXRC::path_prefix.
1319 (queryUserLyXDir): strip out the code to run reconfigure, instead
1320 returning a boolean indicating the necessity to do so.
1321 (reconfigureUserLyXDir): contains the code to reconfigure the
1322 user support directory. Is now called after the various LyXRC data
1323 files have been read.
1325 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1327 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1329 * converter.[Ch] (convert): take a new parameter try_default. Use
1330 a default converter (imagemagick) if try_default is true.
1332 2005-01-13 Angus Leeming <leeming@lyx.org>
1334 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1335 os::cygwin_path_fix.
1336 (write): output LyXRC::cygwin_path_fix as necessary.
1338 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1341 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1343 2005-01-12 Angus Leeming <leeming@lyx.org>
1345 * lyx_main.C (init): set the PATH variable to include the
1346 directory containing the LyX binary when running on Mac or Windows.
1348 2005-01-12 Angus Leeming <leeming@lyx.org>
1350 * lyx_main.C (init): remove cruft that purports to set the locale
1351 dir. It doesn't and is not needed anyway.
1353 2005-01-10 Angus Leeming <leeming@lyx.org>
1355 * Makefile.am: remove the lyx_main.C special casing.
1357 * BufferView_pimpl.C:
1363 * messages.C: use support/package.h to provide the paths to the
1364 various directories used by LyX.
1366 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1368 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1369 layout if pasting into an empty paragraph)
1371 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1373 * tex-accent.C: add <string>
1375 2005-01-06 José Matos <jamatos@lyx.org>
1377 * ParagraphParameters.C (write): put every parameter in its own line.
1378 * paragraph.C (write): reduce number of consecutive empty lines exported.
1379 * buffer.C (LYX_FORMAT): increase file format to 239.
1381 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1383 * everywhere: change support/tostr.h -> support/convert.h
1385 * tabular.C: make all write_attributes templates, tostr -> convert
1387 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1388 (emptyTag): and -> &&, and fix type for ret from getChar
1389 (getFirstWord): fix type for ret from getChar
1390 (onlyText): and -> &&
1391 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1394 * toc.C (goTo, action):
1395 * text3.C (dispatch):
1396 * text.C (currentState):
1397 * tex-accent.C (DoAccent):
1400 * lyxfunc.C (menuNew):
1401 * lyxfinc.C (replace):
1402 * counters.C (laberItem):
1403 * bufferview_funcs.C (font2string):
1404 * bufferparams.C (writeFile):
1405 * buffer.C (readFile):
1407 * MenuBackend.C: tostr -> convert
1409 * LaTeX.C (runMessage): fix format
1410 (scanAuxFiles): tostr -> convert
1412 * BufferView_pimpl.C (savePosition): fix format
1413 (restorePosition): ditto
1416 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1418 * Spacing.[Ch]: New method getValueAsString().
1422 * ParagraphParameters.C:
1425 * text3.C: store/read spacing value as string.
1427 * rowpainter.C: change float value (spacing_val) to double.
1429 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1430 broken custom document spacing).
1432 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1434 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1435 namespace, also more use of temp references and const
1437 * cursor.[Ch] (getStatus): move to lyxfunc.C
1439 * bufferparams.C: reformat slightly
1441 * bufferview_funcs.C (font2string): constify arg
1447 * buffer_funcs.C: (many funcs): constify arg on function
1448 definitions, also make more local vars const, also add ASSERTS on
1451 * buffer.C (LYX_FORMAT): put const in correct place
1452 (many funcs): constify arg on function definitions, also make
1453 more local vars const
1455 * aspell_local.h: remove "struct" from typdef setup
1457 * aspell.C (check): make word_ok const
1458 (nextMiss): simplify slightly
1461 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1463 * lyxrc.[Ch]: store all float values as strings.
1464 use int (not float) for lyxrc.dpi.
1466 2005-01-04 Angus Leeming <leeming@lyx.org>
1468 * lyx_cb.C (Reconfigure):
1469 * lyx_main.C (queryUserLyXDir):
1470 to run the <system_lyxdir>/configure correctly on Windows, prefix
1471 the path to the script with "sh " when generating the string that
1472 is passed to system().
1474 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1476 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1478 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1480 * lyxlength.C (asLatexString): get rid of setprecision
1482 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1484 * text2.C (setLayout): remove unused variable endpit.
1485 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1487 * paragraph.C (onlyText): remove unused variable style.
1489 * cursor.C (bruteFind): remove unused variables beg and end.
1491 * Makefile.am (dist_noinset_DATA): not needed anymore
1493 * cheaders/*: remove.
1495 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1497 * text3.C: fix LFUN_MATH_MODE.
1499 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1501 * buffer_funcs.C (countWords): new function. Counts words between
1504 * BufferView_pimpl.C (getStatus, dispatch): handle
1507 * LyXAction.C (init):
1508 * lfuns.h: add LFUN_WORDS_COUNT.
1510 2004-12-19 Angus Leeming <leeming@lyx.org>
1512 * buffer.C (save): s/slashify_path/internal_path/.
1514 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1516 * lyxfind.C (findChange): do not search for end of pars, because
1517 the change tracker cannot handle this (fixes bug 1719).
1519 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1521 * paragraph.[Ch] (autoBreakRows): remove
1523 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1525 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1526 avoid using the paragraph one
1528 * text2.C (LyXText, insertStringAsLines): adjust
1530 2004-12-16 Angus Leeming <leeming@lyx.org>
1534 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1536 2004-12-14 Angus Leeming <leeming@lyx.org>
1538 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1540 * bufferlist.C (emergencyWrite):
1541 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1544 2004-12-14 Angus Leeming <leeming@lyx.org>
1546 * main.C: (main): no longer pass pointers to os::init.
1548 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1550 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1551 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1553 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1556 * text3.C: remove selection_possible global flag
1558 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1560 * text2.C (getSelectionSpan): remove
1561 (changeDepth, changeDepthAllowed): adjust
1563 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1565 * Makefile.am (BOOST_LIBS): use boost variables
1567 2004-12-03 José Matos <jamatos@lyx.org>
1569 * buffer.C: format up to 238.
1571 2004-12-03 José Matos <jamatos@lyx.org>
1573 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1575 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1577 * cursor.C (goUpDown): remove call to idxUpDown2
1579 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1581 * tabular.[Ch]: use size_t-like types for cell, row and column
1584 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1586 * lyxfunc.C (getStatus): do not lose previous information when
1587 calling BufferView::getStatus; do not set a default "Command
1588 disabled" message at the beginning, but just before returning.
1590 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1592 * cursor.h (getStatus): add better comment from src/cursor.C
1594 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1596 * text3.C (getStatus): return false when the lfun is not handled
1598 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1600 * broken_headers.h: remove
1602 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1604 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1606 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1607 offset_ref accessors
1609 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1610 top_y_, merge fitcursor with update
1611 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1613 (metrics): introduce
1614 (workAreaDispatch): adapt to new coord scheme
1615 (redoCurrentBuffer): remove
1617 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1619 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1622 * coordcache.[Ch]: add paragraph cache and helpers
1624 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1627 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1628 (targetX, setTargetX): introduce
1630 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1631 baseline -> ascent, as the rest of lyx
1633 * lyxtext.h: remove redoParagraphs, updateParPositions,
1634 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1635 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1636 have ascent/descent (ascent is ascent of first par)
1638 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1641 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1643 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1645 * pariterator.C: fix infinite loop introduced in par->pit renaming
1647 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1648 in insets and LyXText, draw two off-screen paragraphs using
1649 NullPainter, and adapt to new coord scheme
1653 * text3.C: adapt lfun handlers to the new coord scheme, which
1654 means: there's only guaranteed coord information for onscreen pars
1655 plus one above and one below. This implies that one can do search
1656 from y coordinates in the range [-1,workHeight]
1658 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1660 * rename a lot of InsetOld to InsetBase
1662 2004-11-25 Angus Leeming <leeming@lyx.org>
1664 * BufferView_pimpl.C:
1666 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1668 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1670 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1671 call BufferView::getStatus if LCursor::getStatus did nothing
1672 (setStatusMessage, getStatusMessage): removed.
1674 * FuncStatus.C (message): new methods. Used to provide an error
1675 message indicating why a command is disabled.
1676 (clear, |=, FuncStatus): update for message.
1678 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1680 * lyxfunc.C (dispatch): always call sendDispatchMessage
1682 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1685 * BufferView_pimpl.C:
1690 * cursor_slice.[Ch]:
1693 * paragraph_funcs.C:
1699 * undo.C: par->pit renaming
1701 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1703 * tabular.C (cellstruct): use initialization, store a shared_ptr
1704 to insettext instead of the insettext directly, adjust to fit.
1705 (operator=): new function
1706 (swap): new function
1707 (rowstruct): use initialization
1708 (columnstruct): use initialization
1709 (ltType): use initialization
1712 * lyxlength.h (swap): new function
1714 * LColor.[Ch] (operator=): use the common semantics
1716 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1718 * lyxfind.C (findNextChange): update the bufferview after setting
1721 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1723 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1724 number of InsetOptArgs has already been inserted.
1726 * output_latex.C (latexOptArgInsets): new method. This outputs all
1727 the optarg insets, up to the limit defined in the layout file.
1728 (optArgInset): removed
1729 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1731 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1733 * paragraph.C (isLetter): remove special spellchecker-related
1734 code; return true also for digits
1735 (isWord, isKomma): remove
1737 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1738 * lyxfind.C (MatchString()): use isLetter instead of isWord
1740 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1742 * pariterator.h (operatir=): comment out un-implemented member
1745 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1748 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1750 * lyxfont.h: include LColor.h to satisfy concept checks.
1752 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1754 * pariterator.h: add typdefs for value_type, difference_type,
1755 pointer and reference to satisfy concept checks. Also add default
1756 constructor for same reason.
1758 * pariterator.C (operator++): add post-increment operator to
1759 satisfy concept checks.
1761 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1764 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1766 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1767 checks. Also rename base_type to BaseType to follow naming
1770 * FloatList.h: include Floating.h to satisfy concept checks.
1772 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1774 * lyxfunc.C (getStatus): when the origin of the request is menu or
1775 toolbar, and the LyXView does not have focus, do as if there was
1776 no buffer (bug 1720)
1778 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1779 FuncRequest to individual entries of LFUN_SEQUENCE
1781 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1783 * output_latex.C (TeXOnePar): override runparams.moving_arg
1784 according to the needprotect value of the current paragraph (bug
1787 * paragraph.C (simpleTeXOnePar): no need to override
1788 runparams.moving_args here
1790 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1792 * vspace.C: fix off-by-one-error, related to fix #1682
1794 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1796 * lengthcommon.C: a more general fix for bug 1682
1798 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1800 * text.C (backspace): fix crash
1802 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1804 * format.[Ch] (getFormatFromFile): new method
1805 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1807 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1809 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1811 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1813 * lyxfunc.C (dispatch): remove the verbose argument
1814 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1817 * kbmap.C (defkey): set the origin of func to KEYBOARD
1819 * MenuBackend.C (MenuItem):
1820 * ToolbarBackend.C (add): set the origin of func to UI
1822 * funcrequest.[Ch]: add origin member, which indicates which part
1823 of LyX requests an action
1825 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1827 * converter.C (move): don't lie in the error message
1828 * converter.h (isReachable, move): document
1830 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1832 * buffer.C: remove unused using lyx::support::atoi
1833 * paragraph_funcs.C: ditto
1835 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1837 * bufferlist.C (exists): use bind and equal_to instead of
1840 * lyxtextclasslist.C (NumberOfClass): ditto
1842 * cursor.C (insert): use for_each instead of explicit for loop
1844 * bufferlist.C (getFileNames): use std::transform and
1845 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1847 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1850 * buffer.C (changeLanguage): use for_each instead of explicit for
1852 (hasParWithID): implement using getParFromID
1854 * LaTeXFeatures.C: ws change only
1856 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1859 * BufferView_pimpl.C (trackChanges): use for_each instead of
1862 2004-11-04 André Pönitz <poenitz@gmx.net>
1865 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1867 * dociterator.C (asDocIterator): use hard assert again.
1869 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1871 * lyxlength.C (asLatexString): rewrite so that it does not use
1874 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1876 * text3.C (specialChar, dispatch): make sure cursor moves to the
1877 right after inserting an inset
1879 2004-11-02 José Matos <jamatos@lyx.org>
1881 * output_docbook.C (docbook):
1882 * paragraph.C (getID):
1883 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1884 garantee that the output is always legal.
1886 * tabular.C (docbook):
1887 * outputprams.[Ch]: remove mixed contents.
1889 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1891 * text2.C (setCounter): prevent endless loop
1893 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1895 * exporter.C (copyFile): use the mover instead of support::copy()
1896 * exporter.C (Export): pass format and latex name to copyFile()
1897 * exporter.h (addExternalFile): document
1898 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1900 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1902 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1904 2004-10-30 José Matos <jamatos@lyx.org>
1906 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1907 text and no inset or font change. This allows to use CDATA
1908 sections just for the whole paragraph.
1910 2004-10-30 José Matos <jamatos@lyx.org>
1912 * paragraph.C (getFirstWord): remove unused variable.
1914 2004-10-30 José Matos <jamatos@lyx.org>
1916 * paragraph.C (getFirstWord): the content should always be escaped
1918 (simpleDocBookOnePar):
1919 * output_docbook.C (makeEnvironment): replace reference to CDATA
1922 2004-10-30 José Matos <jamatos@lyx.org>
1924 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1926 2004-10-30 José Matos <jamatos@lyx.org>
1928 * output_docbook.C (makeParagraphs):
1929 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1930 standard paragraph has only a given type of content drop the wrapper.
1932 2004-10-29 José Matos <jamatos@lyx.org>
1934 * output_docbook.C (makeEnvironment):
1936 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1938 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1940 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1941 (cleanID): sanitize any id.
1943 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1945 * buffer.C, lyxlex_pimpl.C:
1946 * lyxlex_pimpl.C (setFile):
1947 s/getExtFromContents/getFormatFromContents/
1949 2004-10-28 José Matos <jamatos@lyx.org>
1951 * output_docbook.C (makeEnvironment): move id to broadest possible
1954 * sgml.C (openTag): apply substitution of <> for all attributes.
1956 2004-10-28 José Matos <jamatos@lyx.org>
1958 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1959 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1960 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1962 * sgml.[Ch]: new version for open and closeTag for paragraph and
1963 for strings. Now they handle the ids of paragraphs.
1965 2004-10-26 Angus Leeming <leeming@lyx.org>
1967 * Makefile.am: add mover.[Ch].
1969 * converter.C (convert, move): use the new Movers to move external
1970 files to the temp directory.
1972 * lyx_main.C (init): ensure that the global system_movers data
1975 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1978 * mover.[Ch]: new files, defining a Mover as a utility to move an
1979 external file between directories and, if necessary, manipulate this
1980 file using a helper script.
1982 2004-10-25 José Matos <jamatos@lyx.org>
1984 * output_docbook.C (makeCommand): merge two if's that tested the
1987 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1989 * sgml.C (escapeString): fix warning in a better way
1991 2004-10-25 José Matos <jamatos@lyx.org>
1993 * sgml.C (escapeString): import the require boosts header file for
1994 tie, and avoid a signed unsigned comparison.
1996 2004-10-25 José Matos <jamatos@lyx.org>
1998 * sgml.h: add #include <string>
2000 2004-10-25 José Matos <jamatos@lyx.org>
2002 * sgml.[Ch] (escapeString): new function to escape all the string.
2004 2004-10-24 José Matos <jamatos@lyx.org>
2006 * paragraph.[Ch] (getFirstWord): new function to get the first
2007 word. Useful for description.
2008 (simpleDocBookOnePar): remove depth argument, add another that
2009 says where to start the paragraph.
2011 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2012 use the new functions to fix cleanly the support for descriptions.
2014 2004-10-24 José Matos <jamatos@lyx.org>
2016 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2017 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2018 * output_linuxdoc.C (linuxdocParagraphs):
2019 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2020 add buffer as argument.
2022 2004-10-24 José Matos <jamatos@lyx.org>
2024 * output_docbook.C (makeEnvironment, searchEnvironment): place
2025 CDATA inside paragraphs and fix scope for listitems.
2027 2004-10-24 José Matos <jamatos@lyx.org>
2029 * output_docbook.C: remove using statement for stack.
2031 2004-10-23 José Matos <jamatos@lyx.org>
2033 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2034 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2035 docbook. The new scheme is recursive and makes use of iterators, the
2036 same as latex export works.
2037 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2038 directly with the paragraph contents. This code was moved up to
2039 output_docbook.C (docbookParagraphs).
2040 * sgml.C (openTag, closeTag): removed unneeded newlines.
2041 (closeEnvTags) removed.
2043 2004-10-23 André Pönitz <poenitz@gmx.net>
2045 * undo.C (textUndoOrRedo):
2046 * dociterator.C (asDocIterator): work around crash
2048 * cursor.C (getStatus): replace ASSERT by more verbose error message
2049 and manual correction of the problem. Should increase stability
2050 while providing more sensible information.
2052 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2054 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2056 * bufferlist.C (previous, next): new methods
2059 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2061 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2063 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2064 entities to preamble.
2066 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2068 * messages.C (Pimpl): strip off translation context information
2070 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2072 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2073 the cursor is correct (bug 1694)
2075 2004-10-13 José Matos <jamatos@lyx.org>
2077 * output_docbook.C (docbookParagraphs): fix closing tags in the
2078 end of the document.
2080 2004-10-09 José Matos <jamatos@lyx.org>
2082 * buffer.C: format up to 237.
2083 * bufferparams.C (write): use tostr to convert booleans to strings.
2085 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2087 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2089 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2091 * LaTeX.C: implement use of babel language in xindy.
2093 2004-10-05 José Matos <jamatos@lyx.org>
2095 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2096 Add new translators to help reading and writing the lyx file.
2098 2004-10-05 José Matos <jamatos@lyx.org>
2100 * ParagraphParameters.C (read):
2101 * text.C (readParToken): replace nexToken by more appropriate lex
2104 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2106 * LaTeX.C (runMakeIndex):
2107 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2108 (usually 'makeindex') configurable.
2110 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2111 with a variable rather than with a number.
2113 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2115 * output_latex.C (TeXOnePar): make sure font setting is the first
2116 thing that gets output (and the last at the end). Should fix bug
2119 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2121 * pch.h: use proper signal include
2123 * LaTeX.h: Use preferred calling of Boost.Signal
2126 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2128 * pch.h: dont include <boost/function/function0.hpp>
2130 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2132 * paragraph_pimpl.h: remove usage of ShareContainer
2134 * paragraph_pimpl.C: remove initialization of ShareContainer.
2136 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2140 * BufferView.C (putSelectionAt): change the semantics when
2141 backwards == true: now, this just swaps cursor and anchor wrt the
2144 * BufferView.h (putSelectionAt): add some documentation
2146 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2147 make sure backwardChar is done at least once (to avoid getting
2149 (findNextChange): use putSelectionAt in the forward direction
2150 (operator()): use Paragraph::isWord
2152 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2154 * Spacing.C (set): c_str fix
2156 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2158 * lyx_cb.C (Reconfigure): quote the name of configure script in
2159 case it contains spaces
2161 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2165 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2166 (BOOST_LIBS): use top_buildir when looking for the file
2168 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2170 * pch.h: do not use include boost/format.hpp, multiple symbols
2171 will result (gcc bug)
2174 2004-08-23 José Matos <jamatos@lyx.org>
2176 * bufferparams.C (readToken): fix reading of the author field.
2178 2004-08-20 José Matos <jamatos@lyx.org>
2180 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2182 2004-08-20 José Matos <jamatos@lyx.org>
2184 * lyxlex.[Ch] (findToken): remove function.
2186 * ParagraphParameters.C (findToken):
2187 * bufferparams.C (findToken): replace call for previous function
2188 with local copy. This local function has one more argument, the
2189 read string argument.
2191 2004-08-16 José Matos <jamatos@lyx.org>
2193 * ParagraphParameters.C (write):
2194 * Spacing.C (writeFile):
2195 * bufferparams.C (writeLaTeX):
2196 * lyx_cb.C (Reconfigure):
2197 * paragraph.C (write):
2198 * tabular.C (write): remove unnecessary space at end of line.
2201 2004-08-16 José Matos <jamatos@lyx.org>
2203 * text.C (readParagraph): remove debug message.
2205 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2207 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2210 * output_plaintext.C (asciiParagraph): set depth correctly
2212 * outputparams.h: add member depth
2214 * paragraph_funcs.C (ownerPar): remove.
2216 * text2.C (setCounter): remove first_pit; comment out some
2217 non-working code that uses ownerPar
2219 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2222 2004-08-16 José Matos <jamatos@lyx.org>
2224 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2225 For the same level of importance use the same chanel to report problems.
2226 (read): add code to deal with \begin_body and \end_body.
2229 2004-08-15 José Matos <jamatos@lyx.org>
2231 * lyxlex.C (getString): fix comment, buffer::readBody is now
2232 buffer:readDocument.
2234 * tex-strings.C (string_papersize): Default -> default,
2235 Custom -> custom, for consistency with other options.
2237 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2241 * Makefile.am: support pch
2243 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2245 * text.C (readParToken): remove the static LyXFont variable and
2246 pass it as a parameter instead. This fixes a nasty bug where an
2247 inset will be inserted with a bad font in some situations
2248 (readParagraph): adapt
2250 * text2.C (setCounter): reduce number of calls to pars_[pit]
2252 * text.C (singleWidth): add an assert, fix a test
2254 * rowpainter.C (paintText): reduce number of calls to singleWidth
2256 * paragraph.C (isHfill):
2257 (isNewline): ws only
2259 2004-08-14 André Pönitz <poenitz@gmx.net>
2264 * lyxtext.h (several functions): use a Paragraph & argument
2267 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2269 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2271 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2273 * text.C (singleWidth): remove useless test
2275 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2277 * tabular.h: remove bogus comments
2279 * tabular.C (getDescentOfRow):
2280 (isPartOfMultiColumn): add assertions
2282 * lyxlength.C (inPixels): remove #warning
2284 2004-08-14 André Pönitz <poenitz@gmx.net>
2286 * paragraph.h: inline getChar()
2288 * BufferView.h: remove unused declarations
2290 2004-08-14 José Matos <jamatos@lyx.org>
2292 * Buffer.[Ch] (readDocument): new name for old readBody.
2293 * Buffer.C: new file format, new keywords: \begin_document,
2294 \begin_header, \begin_body, \end_body.
2296 * bufferparams.C (readToken): replace all calls to lex.nextToken
2297 by lex.next(). Do the same to eatLine except where really needed.
2299 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2300 line when writing to the lyx file.
2302 * output_plaintext.C (asciiParagraph): fix Bibliography style
2305 * text.C (read): fix end of file handling.
2307 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2309 * MenuBackend.C (Menu::operator[]): new method to access
2310 individual menu items
2311 (Menu::hasFunc): new method. search for an item that corresponds
2313 (MenuBackend::specialMenu): new method
2314 (MenuBackend::expand): if a special menu has been set, skip
2315 entries whose func() appears in this menu
2317 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2319 * text3.C: use Debug::DEBUG a bit more
2321 * text.C (leftMargin): try to simplify a tiny bit change var x to
2322 l_margin. Dont output the wide margins always.
2323 (rightMargin): no margin in inner texts
2325 * rowpainter.h (nestMargin): new func
2326 (changebarMargin): new func
2327 (rightMargin): new func
2329 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2333 * factory.C (createInset): modify setDrawFrame
2335 * cursor.C: use Debug::DEBUG a bit more
2337 2004-08-14 André Pönitz <poenitz@gmx.net>
2340 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2341 cache for all insets in (at least partially) visible (top-level)
2344 * BufferView_pimpl.C: reset external coord cache before every update.
2345 This means the coord cache only contains valid entries.
2347 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2350 * BufferView_pimpl.C (getInsetByCode): move function out of class
2351 and change in to a template in anon namespace. Also fix to do what
2354 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2357 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2359 (breakParagraph): rename par to par_offset and use a local
2360 reference. Add code to keep the language over a rebreak.
2361 (breakParagraphConservative): rename par to par_offset, use a
2363 (mergeParagraph): ditto
2365 (isFirstInSequence): ditto
2366 (outerFont): rename pit to par_offset
2368 * paragraph.C: ws change
2369 * paragraph.h: ditto
2373 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2375 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2378 * paragraph.C (simpleTeXOnePar): when we have a \item with
2379 optional argument, enclose the argument with curly brackets (in
2380 case it contains a closing square bracket)
2384 * text3.C (checkInsetHit): constify
2386 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2388 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2389 documents (bug 1629)
2391 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2393 Fix toggling of collapsable insets with the mouse (bug 1558)
2395 * lyxfunc.C (dispatch): adapt to LCursor changes
2397 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2398 make sure that dispatch is not invoked twice
2400 * cursor.C (needsUpdate): new method
2401 (dispatch): return void
2402 (result): new method, to access the DispatchResult of the cursor.
2404 2004-08-13 José Matos <jamatos@lyx.org>
2406 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2408 2004-08-13 André Pönitz <poenitz@gmx.net>
2410 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2412 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2415 2004-08-12 André Pönitz <poenitz@gmx.net>
2417 * text3.C: take out the 'cursor right' form insertInset and only
2418 do it in those places when it is really needed. Fixes crash on
2421 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2423 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2425 * BufferView_pimpl.C (setBuffer): initialize the current font of
2426 the underlying LyXText
2428 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2430 * kbsequence.C (print): use UI native formatting for menu
2433 * text.C (insertChar): call Paragraph::insertChar with a font
2436 * paragraph.C (insertInset, insertChar): the version that takes a
2437 LyXFont argument is now a wrapper around the other one (the
2438 opposite used to be true).
2440 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2441 argument. Font setting is done in Paragraph now.
2443 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2445 * outputparams.h: add new members intitle and lang.
2447 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2448 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2450 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2452 * text3.C (dispatch): remove special handling of button 4 and 5,
2453 it is now taken care of in the frontend code.
2455 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2457 * Spacing.h: add <string> (STLPort compile fix)
2459 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2461 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2463 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2465 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2468 * converter.C (showMessage): inherit from unary_function, make
2471 * buffer.C (writeFile): initialize retval
2473 * InsetList.h: rename private variable list to list_
2474 * InsetList.[Ch]: adjust accordingly.
2476 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2478 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2479 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2480 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2481 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2482 * ParagraphParameters.C, LaTeXFeatures.C: replace
2483 "support/std_sstream.h" with <sstream>
2485 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2487 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2488 * lyxsocket.C (LyXServerSocket): ditto
2489 (serverCallback): ditto
2491 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2493 * LaTeXFeatures.C: check release date when loading jurabib.
2495 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2497 * lyxserver.C (startPipe): call register_socket_callback
2498 (endPipe): call unregister_socket_callback
2500 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2502 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2503 (LyXServerSocket): register the callback
2504 (LyXServerSocket): unregister the callback
2505 (fd): delete function
2506 (serverCallback): improve error checking and setup the callbacks.
2507 (dataCallback): change arg to fd.
2508 (writeln): new func (copied fro the client socket) used for server
2510 (LyXDataSocket): simplify
2511 (~LyXDataSocket): close ann unregiser callback
2512 (server): delete function
2513 (fd): delete function
2514 (readln): small changes, improve some std::string usage
2515 (writeln): constify a bit
2517 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2519 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2522 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2524 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2525 after it has been populated
2527 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2529 * text2.C (insertInset): move cursor when inserting inset.
2531 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2533 * kbmap.C (findbindings): a couple of new methods. returns a
2534 container of kb_sequence objects. The real work is done by the
2535 private recursive version
2536 (printbindings): uses findbindings to print out a bracketed list
2537 of bindings (renamed from findbinding).
2539 * MenuBackend.C (binding): use kb_keymap::findbindings
2541 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2543 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2545 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2547 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2549 * paragraph.C (isWord): return true on insets that report
2552 * text.C (getWord): use Paragraph::isWord to decide what is in a
2553 word and what is not; fix bug 1609.
2555 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2557 * tex-strings.C: add "none" to string_paperpackages[], fixes
2558 off-by-one-error in the paperpackage selection.
2561 * tex-strings.[Ch]: char const * string[n]
2562 -> char const * const string[]
2564 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2566 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2567 command, return early.
2569 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2571 * debug.h: add DEBUG to enum and fix size of ANY.
2573 * debug.C: add support for Debug::DEBUG
2574 (showTags): cast errorTags.level to unsigned int
2576 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2577 (redoCurrentBuffer): ditto
2578 (updateScrollbar): ditto
2579 * cursor.C (dispatch): ditto
2580 * text2.C (setLayout): ditto
2582 (updateCounters): ditto
2584 (deleteEmptyParagraphMechanism): ditto
2586 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2588 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2589 annotations to cleanup the Makefile slightly.
2591 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2593 * lyxrc.C: do not set user_email to a default value but use empty
2594 instead. The entry used to be translated, which does not work
2595 since at the point where lyxrc is constructed there is no
2596 translation service available
2598 * messages.C (getLocaleDir): remove and use directly
2599 lyx_localedir() instead
2601 2004-06-02 Angus Leeming <leeming@lyx.org>
2603 Fix crash caused by dereferencing null pointer 'exportdata' in
2604 OutputParams by creating a new ExportData variable on the heap,
2605 storing it in a boost::shared_ptr.
2606 The crash was triggered when generating an Instant Preview
2607 of an external inset.
2609 * Makefile.am: add outputparams.C
2611 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2612 (c-tor): allocate memory to it.
2614 * exporter.C (c-tor): associated changes.
2616 2004-06-01 Angus Leeming <leeming@lyx.org>
2618 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2619 contains data before calling isInset(0). (Bug 1513.)
2621 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2623 * exporter.C (checkOverwrite): new method
2624 * exporter.C (copyFile): new method
2625 * exporter.C (Export): copy referenced files to the document dir
2626 * exporter.[Ch]: new class ExportedFile
2627 * exporter.[Ch]: new class ExportData. Contains currently the
2628 names of referenced external files
2629 * outputparams.h: add exportdata member.
2631 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2633 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2636 2004-05-19 Angus Leeming <leeming@lyx.org>
2641 * lyxfunc.C: small changes due to the introduction of namespace
2642 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2644 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2646 * text3.C (dispatch): supress update when only moving the cursor
2647 * cursor.C (selHandle): remove commented code
2649 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2651 * paragraph.C (startTeXParParams): correct column count
2652 * CutAndPaste.C (pasteSelection): remove const_cast
2653 * output_docbook.C (docbookParagraphs): remove const_cast
2654 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2655 const_cast and return ParagraphList::const_iterator
2656 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2657 * output_plaintext.C (writeFileAscii): remove const_cast
2658 * paragraph.[Ch] (simpleTeXOnePar): make const
2659 * paragraph_funcs.C (outerPar): use const iterators
2660 * paragraph_pimpl.C (validate): use const iterators
2661 * text.C (setHeightOfRow): use const iterators
2663 2004-05-17 Angus Leeming <leeming@lyx.org>
2666 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2668 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2669 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2670 if the citation engine has changed.
2672 2004-05-14 José Matos <jamatos@lyx.org>
2674 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2675 if the textclass does not provide it. Have it different for sgml and
2677 support the language of document.
2678 * output_docbook.C (docbookParagraphs):
2679 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2680 first anchor as the id of the paragraph, remove special case code.
2681 * sgml.C (escapeChar): escape only < & >.
2683 2004-05-14 Angus Leeming <leeming@lyx.org>
2685 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2686 dependencies on src/frontends/controllers/biblio.h. Define a
2687 CiteEngine_enum wrapper class to enable the enum to be forward
2690 2004-05-12 Angus Leeming <leeming@lyx.org>
2692 * buffer.C: up LYX_FORMAT to 234.
2693 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2694 use_numerical_citations with a single biblio::CiteEngine cite_engine
2696 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2698 2004-05-13 José Matos <jamatos@lyx.org>
2701 * converter.C (Converter, readFlags): add xml member.
2702 * outputparams.h: add XML flavor.
2703 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2705 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2707 * lyxfunc.C (dispatch):
2708 (getStatus): fix handling of LFUN_SEQUENCE
2710 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2712 * debug.C (showLevel): do not forget the end-of-line marker
2714 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2716 * kbmap.C (read): do not stop parsing a bind file when an error
2719 2004-04-29 Angus Leeming <leeming@lyx.org>
2724 * text2.C: wrap a bunch of #warning statements
2725 inside #ifdef WITH_WARNINGS blocks.
2727 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2729 * buffer.C: increment format to 233.
2731 2004-04-28 Angus Leeming <leeming@lyx.org>
2733 * BufferView_pimpl.C:
2736 s/updateToolbar()/updateToolbars()/
2737 s/Toolbar.h/Toolbars.h/
2739 2004-04-28 Angus Leeming <leeming@lyx.org>
2741 * BufferView.[Ch] (c-tor):
2742 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2743 No longer passes these data to the WorkArea generator.
2745 2004-04-28 Angus Leeming <leeming@lyx.org>
2747 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2749 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2751 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2753 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2755 * output_latex.C (TeXEnvironment): make sure that there is a line
2756 break before \end{foo} for the last paragraph of a document
2757 (TeXOnePar): if the paragraph is at the end of the document (or
2758 inset) and the language has to be reset, then make sure that the
2759 line break is _before_ the language command, not after (fixes bug
2760 1225); also make sure that the language reset command is the first
2761 thing after the paragraph (to ensure proper nesting of
2762 environments and thus fix bug 1404)
2764 2004-04-21 John Levon <levon@movementarian.org>
2767 * ToolbarBackend.C: make "name" be a programmatic name
2768 and a gui_name field.
2770 * lyxfunc.C: display the minibuffer on M-x
2772 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2774 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2777 2004-04-19 Angus Leeming <leeming@lyx.org>
2779 * BufferView_pimpl.C (setBuffer): changed preview interface.
2781 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2784 2004-04-19 John Levon <levon@movementarian.org>
2786 * BufferView_pimpl.C:
2787 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2789 2004-04-05 Angus Leeming <leeming@lyx.org>
2791 * text.C (redoParagraphs): add call to updateCounters(), thereby
2792 fixing the missing "Figure #:" label from the caption of a
2795 2004-04-13 Angus Leeming <leeming@lyx.org>
2797 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2798 cursor is clicked out of an inset.
2800 2004-04-13 Angus Leeming <leeming@lyx.org>
2802 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2803 than an InsetOld one.
2805 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2807 * format.[Ch]: add editor to Format
2808 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2809 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2811 2004-04-08 André Pönitz <poenitz@gmx.net>
2813 * metricsinfo.h: remove PainterInfo::width member
2815 2004-04-08 Angus Leeming <leeming@lyx.org>
2817 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2818 "\providecommand" rather than "\newcommand", thereby preventing
2819 clashes with packages that define "\boldsymbol" themselves.
2822 2004-04-08 Angus Leeming <leeming@lyx.org>
2824 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2825 thereby squashing an unnecessary warning.
2827 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2829 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2832 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2834 * BufferView.C (setCursor): call redoParagraph (some insets could
2836 (putSelectionAt): remove the 'double update' trick
2838 * BufferView_pimpl.C (fitCursor): call refreshPar
2839 (workAreaDispatch): remove an uneeded update call
2840 (dispatch): remove some manual update calls
2842 * cursor.[Ch]: remove cached_y_, updatePos
2843 (selHandle): set noUpdate when appropriate
2845 * lyxfunc.C (dispatch): track if we need an update
2847 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2849 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2850 (paintSelection): cheap optimization, do not call cursorX when not
2852 (paintPars): change signature
2855 (paintTextInset): adjust
2859 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2861 * lengthcommon.C: compilation fix: remove explicit array size from
2862 unit_name[] and friends
2864 2004-04-05 Angus Leeming <leeming@lyx.org>
2866 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2868 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2869 present only for the preferences dialog.
2870 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2872 2004-04-05 Angus Leeming <leeming@lyx.org>
2874 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2875 to enable the frontends to export changes to lyxrc correctly.
2877 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2879 2004-04-07 André Pönitz <poenitz@gmx.net>
2881 * cursor.[Ch] (selClear, adjust): remove math
2883 * cursor_slice.C: more agressive assert
2886 * BufferView_pimpl.C: rework mouse event dispatch
2893 2004-04-05 André Pönitz <poenitz@gmx.net>
2895 * cursor.[Ch] (valign, halign...): remove unneeded functions
2897 2004-04-05 Angus Leeming <leeming@lyx.org>
2899 * lyxlength.[Ch] (unit_name et al.): const-correct.
2901 2004-04-05 Angus Leeming <leeming@lyx.org>
2903 * BufferView_pimpl.C:
2912 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2914 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2916 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2918 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2920 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2921 * BufferView_pimpl.[Ch] (getStatus)
2922 * BufferView.[Ch] (getStatus): add
2923 * lyxfunc.C (getStatus): move lfuns handled in
2924 BufferView::dispatch to te function above
2925 * Cursor.C (setSelection): set selection() = true
2927 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2929 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2931 2004-03-31 Angus Leeming <leeming@lyx.org>
2933 * lyxfunc.C (dispatch): Fall through to the generic
2934 Dialogs::show("preamble").
2936 2004-03-31 Angus Leeming <leeming@lyx.org>
2938 * lyxfunc.C (dispatch): Fall through to the generic
2939 Dialogs::show("spellchecker").
2941 2004-03-31 Angus Leeming <leeming@lyx.org>
2943 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2946 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2951 * insetiterator.[Ch]:
2956 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2958 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2960 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2961 insets where we are putting the cursor.
2963 2004-03-31 Angus Leeming <leeming@lyx.org>
2966 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2968 * lyxrc.[Ch] (read, write): overloaded member functions taking
2969 a std::[io]stream arguments.
2971 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2973 2004-03-31 Angus Leeming <leeming@lyx.org>
2975 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2976 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2978 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2979 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2981 2004-03-31 Angus Leeming <leeming@lyx.org>
2983 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2984 the LFUN_ALL_INSETS_TOGGLE code.
2986 2004-03-30 Angus Leeming <leeming@lyx.org>
2988 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2989 has died. Fall through to the generic Dialogs::show("document").
2991 2004-03-30 Angus Leeming <leeming@lyx.org>
2994 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2995 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2997 * lyxfunc.C (getStatus, dispatch): define the actions for these
2998 lfuns. Little more than a cut and pste job from ControlDocument.C
3000 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3002 2004-03-30 Angus Leeming <leeming@lyx.org>
3005 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3006 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3008 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3009 open/closed state of ollapsable insets. Usage:
3011 all-inset-toggle <state> <name>, where
3012 <state> == "open" || "closed" || "toggle" and
3013 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3015 * lyxtext.h, text2.C (toggleInset): removed.
3017 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3018 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3019 now passes LFUN_INSET_TOGGLE to the found inset.
3021 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3022 is now invoked as "all-insets-toggle toggle branch".
3024 2004-03-30 Angus Leeming <leeming@lyx.org>
3028 * pariterator.[Ch]: added/corrected header blurb.
3030 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3032 * dociterator.[Ch]: add an inset_ member
3033 (backwardPos): implemented
3034 (backwardPos, forwardPos): use inset_ when the stack is empty.
3035 (doc_iterator_begin, doc_iterator_end): implemented
3036 * pariterator.[Ch]: adjust, add begin, end
3037 * insetiterator.[Ch]: adjust, add begin, end
3041 * BufferView_pimpl.C:
3042 * CutAndPaste.C: adjust
3044 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3046 * buffer.C: increment file format to 232.
3047 * LaTeXFeatures.C: add bibtopic package.
3048 * bufferparams.[Ch]: param \use_bibtopic.
3050 * lyxrc.[Ch]: add lyxrc bibtex_command
3051 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3053 * buffer.C: increment file format to 231.
3055 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3057 * dociterator.C: implement forwardPar
3058 * iterators.[Ch]: remove, replaced by
3059 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3061 * BufferView_pimpl.C:
3064 * bufferview_funcs.C:
3070 * Makefile.am: adjust
3072 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3074 * CutAndPaste.C (pasteSelection): fix 2 crashes
3075 (eraseSelection): fix a crash
3076 * paragraph_funcs.C: remove a warning
3078 2004-03-28 Angus Leeming <leeming@lyx.org>
3081 * LyXAction.C (init): new LFUN_PRINT.
3083 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3085 2004-03-27 Angus Leeming <leeming@lyx.org>
3088 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3090 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3092 2004-03-27 Angus Leeming <leeming@lyx.org>
3094 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3095 insetlist always contains non-null pointers to insets.
3097 2004-03-26 Angus Leeming <leeming@lyx.org>
3099 * src/BufferView_pimpl.C:
3100 * src/CutAndPaste.C:
3103 * src/output_plaintext.C:
3104 * src/outputparams.h:
3105 * src/paragraph_funcs.C:
3109 * src/frontends/controllers/ControlErrorList.C:
3110 * src/frontends/gtk/FileDialogPrivate.C:
3111 * src/frontends/gtk/GPainter.C:
3112 * src/frontends/gtk/GToolbar.C:
3113 * src/frontends/qt2/QRef.C:
3114 * src/mathed/math_scriptinset.C: squash compiler warnings.
3116 2004-03-26 Angus Leeming <leeming@lyx.org>
3118 * ispell.C (LaunchIspell::start):
3119 * lyx_cb.C (AutoSaveBuffer::start):
3120 invoke run(DontWait) rather than runNonBlocking().
3122 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3124 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3126 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3128 * kbsequence.C (print): adjust
3130 * kbmap.C (printKeySym): rename and change signature
3131 (printKey): use LyXKeySym::print()
3133 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3135 * undo.C: add using std::advance to compile for stlport
3137 2004-03-24 Angus Leeming <leeming@lyx.org>
3139 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3140 it leads to a crash when no buffer is present.
3142 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3143 Martin Vermeer <martin.vermeer@hut.fi>
3145 * lyxfunc.C (dispatch):
3146 * bufferparams.C (readToken): use the new LColor::setColor
3148 * LColor.[Ch] (setColor): new version that takes two strings as
3149 argument and creates a new color entry if necessary
3151 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3153 * buffer.C (makeLaTeXFile): if the main latex file that is
3154 processed is usually a subdocument of some master, then pretend
3155 for a while that it is actually the master
3157 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3159 * buffer.C (getLabelList):
3160 (getBibkeyList): use getMasterBuffer()
3161 (getMasterBuffer): new method. Returns the main document in the
3162 case where one is using included documents.
3164 2004-03-25 André Pönitz <poenitz@gmx.net>
3168 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3170 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3172 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3173 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3175 * ParameterStruct.h: merge with ParagraphParameters
3177 * lyxtext.h: remove LyXText::parOffset() and getPar()
3179 * text3.C: Remove all 'manual' update calls. We do now one per user
3180 interaction which is completely sufficient.
3184 * BufferView_pimpl.C:
3185 * FontIterator.[Ch]:
3187 * ParagraphParameters.[Ch]:
3192 * cursor_slice.[Ch]:
3199 * output_docbook.[Ch]:
3200 * output_latex.[Ch]:
3201 * output_linuxdoc.[Ch]:
3202 * output_plaintext.[Ch]:
3204 * paragraph_funcs.[Ch]:
3205 * paragraph_pimpl.[Ch]:
3213 * frontends/controllers/ControlDocument.C:
3214 * frontends/controllers/ControlErrorList.C:
3215 * frontends/controllers/ControlSpellchecker.C:
3218 * insets/insetbase.h:
3219 * insets/insetbibitem.C:
3220 * insets/insetbox.C:
3221 * insets/insetbranch.C:
3222 * insets/insetcaption.C:
3223 * insets/insetcharstyle.C:
3224 * insets/insetcharstyle.h:
3225 * insets/insetcollapsable.C:
3226 * insets/insetcollapsable.h:
3227 * insets/insetert.C:
3228 * insets/insetfloat.C:
3229 * insets/insetfoot.C:
3230 * insets/insetmarginal.C:
3231 * insets/insetnote.C:
3232 * insets/insetoptarg.C:
3233 * insets/insettabular.C:
3234 * insets/insettext.C:
3235 * insets/insettext.h:
3236 * insets/insetwrap.C:
3237 * mathed/math_mboxinset.C:
3238 * mathed/math_nestinset.C:
3239 * mathed/math_scriptinset.C:
3240 * mathed/math_scriptinset.h:
3243 2004-03-24 Angus Leeming <leeming@lyx.org>
3245 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3246 deal with any child processes that have finished but are waiting to
3247 communicate this fact to the rest of LyX.
3249 2004-03-24 Angus Leeming <leeming@lyx.org>
3251 64-bit compile fixes.
3253 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3254 (c-tor): pass lyx::pos_types rather than ints.
3256 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3259 * text.C (Delete): compile fix.
3260 (getPar): ensure that function declaration is the same as that in
3263 2004-03-23 Angus Leeming <leeming@lyx.org>
3265 * ispell.C (LaunchIspell):
3266 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3267 a boost::shred_ptr rather than a std::auto_ptr.
3269 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3271 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3272 handle LFUN_FILE_INSERT_*
3274 * lyxrc.C (setDefaults, getDescription, output, read):
3275 * lyxrc.h: remove ps_command
3277 2004-03-22 Angus Leeming <leeming@lyx.org>
3279 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3280 Ensure that error_handler is processed once only and that all data
3281 is saved before attempting to output any warning messages.
3283 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3285 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3287 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3289 2004-03-19 André Pönitz <poenitz@gmx.net>
3291 * cursor.[Ch] (reset): take main text inset as argument
3293 * BufferView: adjust
3294 * BufferView_pimpl.C: adjust
3296 * paragraph.[Ch]: fix completely broken operator=()
3298 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3300 * LColor.C (getFromLyXName): make sure that the color name is used
3303 2004-03-17 Angus Leeming <leeming@lyx.org>
3306 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3308 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3309 dialog and to kill a forked process.
3311 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3313 * text2.C (setCursorFromCoordinates): fix font problem
3315 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3317 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3318 bogus "rebuild cursor" code
3320 2004-03-11 André Pönitz <poenitz@gmx.net>
3322 * buffer.[Ch]: use InsetText instead of LyXText as container for
3325 * dociterator.[Ch]: drop the BufferView * member which is not needed
3326 anymore after the change to buffer.C
3328 * paragraph_funcs.C:
3332 * BufferView_pimpl.[Ch]:
3334 * cursor_slice.[Ch]: adjust
3336 * text3.C: fix bug in mathDispatch
3338 2004-03-08 André Pönitz <poenitz@gmx.net>
3340 * undo.[Ch]: use 'StableDocumentIterator' as base for
3343 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3346 * bufferparams.[Ch]: add jurabib support and param.
3348 * LaTeX.C: add FIXME/comment.
3350 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3352 * buffer.C: increment file format to 230.
3354 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3356 * cursor.C (dispatch): avoid infinite loops
3358 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3360 * rowpainter.C (paintSelection): fix x coordinates
3362 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3364 * text.C (rowBreakPoint): fix breaking before displayed insets
3366 2004-03-01 André Pönitz <poenitz@gmx.net>
3368 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3370 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3374 * BufferView_pimpl.C:
3382 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3388 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3389 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3391 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3393 * Bidi.[Ch] (computeTables): const correctness
3394 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3395 fill_hfill, fill_label_hfill and x from Row
3396 * lyxtext.h: prepareToPrint returns a RowMetrics
3397 * rowPainter.C: adjust
3398 * text.C (prepareToPrint): use width, not textWidth. adjust
3399 (redoParagraphInternal, cursorX): adjust
3400 * text2.C (getColumnNearX): adjust
3401 (init): put a default value to the top LyXText::width
3403 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3405 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3407 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3409 * lyxtext.h: add FontIterator class
3411 * text.C (FontIterator, operator*, operator->, operator++): add
3412 (rowBreakPoint, setRowWidth): adjust (fixing a
3415 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3417 * BufferView_pimpl.C (workAreaDispatch): allow also
3418 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3420 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3422 * text.C (rowBreakPoint): fix a bug showing with very large insets
3424 2004-02-25 André Pönitz <poenitz@gmx.net>
3427 * cursor.[Ch]: move some mathed specific code to mathed
3429 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3431 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3432 use_tempdir in preferences
3433 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3435 * lyx_main.C: ensure that tempdir is valid
3436 * lyxlex.h: correct typo
3437 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3438 * paragraph.[Ch] (isMultiLingual): make const
3439 * cursor.[Ch] (openable): make const
3441 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3443 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3445 2004-02-20 André Pönitz <poenitz@gmx.net>
3447 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3449 * cursor.[Ch]: prepare for localized getStatus()
3455 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3457 2004-02-20 André Pönitz <poenitz@gmx.net>
3459 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3461 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3463 * text2.C (setCursorFromCoordinates): switch to absolute coords
3465 (cursorDown): adjust
3466 * text3.C (dispatch): adjust
3468 2004-02-16 André Pönitz <poenitz@gmx.net>
3470 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3473 * cursor_slice.[Ch]: remove unneeded acessor function
3475 * lyxtext.h: rename rtl() to isRTL()
3483 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3485 * rowpainter.C (paintSelection): coord fix
3487 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3489 * Spacing.C: compile fix
3491 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3493 * cursor.C (dispatch): restore current_ before returning
3495 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3497 * text2.C (cursorUp, cursorDown): fix coords
3500 2004-02-12 André Pönitz <poenitz@gmx.net>
3505 * text3.C: add LCursor & parameter to most cursor movement functions
3506 remove usage of LyXText::cursorRow() and cursorPar()
3508 * cursor.[Ch]: add textRow() needed members
3511 * BufferView_pimpl.C:
3514 * BufferView_pimpl.C: adjust
3516 2004-02-11 André Pönitz <poenitz@gmx.net>
3520 * BufferView_pimpl.C: shift undo/redo handling
3522 * cursor.[Ch]: fix mathed crash
3525 * lyxtext.h: move selectionAsText to LCursor
3533 * rowpainter.C: fix excessive drawing
3535 2004-02-06 André Pönitz <poenitz@gmx.net>
3538 * BufferView_pimpl.[Ch]:
3539 * text3.C: move some text specific LFUN handling
3541 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3543 * text3.C (checkInsetHit): adjust coords
3544 * text2.C (getColumnNearX): adjust coords
3545 (edit): adjust coords
3546 * text.C (getRowNearY): add two asserts
3548 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3551 * format.C: add using std::distance to compile on gcc 2.95/stlport
3553 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3555 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3557 2004-02-04 André Pönitz <poenitz@gmx.net>
3559 * BufferView.[Ch] (insertInset):
3560 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3565 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3567 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3568 on the default clause of the switch
3569 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3570 wasn't catched by LCursor::dispatch
3572 2004-02-03 André Pönitz <poenitz@gmx.net>
3575 * cursor.[Ch]: some additional asserts
3577 * undo.[Ch]: remove LyXText dependency in interface
3581 * lyxtext.h (firstPar, lastPar): remove dead functions
3586 * paragraph.[Ch]: adjust
3588 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3590 * lyxfind.C (find): fix argument order in call to ::find
3592 2004-02-02 André Pönitz <poenitz@gmx.net>
3594 * cursor.[Ch]: remove direct access to anchor
3596 * text.C: remove findText() hack
3598 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3600 * iterators.[Ch] (lockPath): remove in favour of...
3601 * BufferView.[Ch] (setCursor): this addition
3602 * BufferView.C (putSelectionAt): adjust
3603 * undo.C (performUndoOrRedo): adjust
3604 * lyxfunc.C (dispatch): adjust
3606 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3608 * iterators.C (lockPath): add a missing slice
3609 * undo.C (performUndoOrRedo): remove redundant positioning code
3611 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3613 * vc-backend.C (scanMaster): ";" -> ';'
3615 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3617 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3618 std::binary_function
3620 * lyxtextclass.C (compare_name): rename to...
3621 (LayoutNamesEqual): ...this
3623 * lyxlex_pimpl.C (compare_tags): inherit from
3624 std::binary_function, put back into anon namespace
3626 * lyxfind.C (MatchString): inherig from std::binary_function
3627 (findChange): use empty() istead of !size()
3629 * format.C (FormatNamesEqual): new functor
3636 * converter.C (compare_Converter): rename to...
3637 (ConverterEqual): ...this, and fixup a bit.
3638 (getConverter): use it, and make function const
3639 (getNumber): use it, and make function const
3643 * bufferlist.C: add using boost::bind
3645 * MenuBackend.C (MenuNamesEqual): new functor
3646 (hasMenu): use it, and make function const
3647 (hasSubmenu): use nested bind to get rid of compare_memfun.
3649 2004-01-30 André Pönitz <poenitz@gmx.net>
3651 * BufferView_pimpl.C:
3654 * cursor_slice.[Ch]:
3657 * paragraph_funcs.C:
3658 * paragraph_funcs.h:
3662 * text3.C: move some of the edit(x,y) handling to the insets
3663 some coordinate changes.
3665 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3667 * text.C: add using statements for std::advance and std::distance
3669 * paragraph.C: add using statement for std::distance
3671 * lyxfind.C: add using statement for std::advance
3673 * cursor.C (region): remove std:: from swap
3674 (openable): use nucleus in stead of operator->
3676 * BufferView.C: add using statements for std::distance and std::swap
3678 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3680 * iterators.C: Remove the pimple, move the needed structures to
3681 the header file. Create accessor for the positions stack.
3682 (asPosIterator): remove function
3684 * PosIterator.C (PosIterator): move constructors to top of file
3685 (PosIterator): reimplement the constructor taking a ParIterator in
3687 (setFrom): new function
3688 (operator!=): inline it
3690 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3692 * lyxfind.C (replaceAll): use std::advance
3694 * iterators.h: inherit from std::iterator.
3696 * PosIterator.C (advance, distance): remove
3697 * PosIterator.h: interit from std::iterator.
3699 2004-01-26 André Pönitz <poenitz@gmx.net>
3702 * BufferView_pimpl.[Ch]:
3706 * bufferview_funcs.C:
3716 * output_linuxdoc.C:
3717 * output_plaintext.C:
3719 * paragraph_funcs.[Ch]:
3720 * paragraph_pimpl.[Ch]:
3726 * text3.C: more IU: dumps most of the rest of the mathcursor
3727 implementation into cursor.[Ch]; "globalize" a bit of it.
3729 2004-01-25 Angus Leeming <leeming@lyx.org>
3731 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3733 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3735 * LaTeXFeatures.h: add nice_ and nice() const
3736 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3738 2004-01-20 André Pönitz <poenitz@gmx.net>
3741 * BufferView_pimpl.C:
3743 * bufferview_funcs.C:
3745 * cursor_slice.[Ch]:
3756 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3757 LCursor and mathcursor parts to LCursor and InsetBase.
3759 2004-01-15 André Pönitz <poenitz@gmx.net>
3761 * cursor_slice.[Ch]: add a few covienience functions
3763 * funcrequest.[Ch]: remove BufferView * member
3765 * BufferView_pimpl.C:
3772 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3774 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3776 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3777 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3779 2004-01-13 André Pönitz <poenitz@gmx.net>
3782 * lyxtext.h: hide cursor and selection anchor behind accessor function
3785 * BufferView_pimpl.[Ch]:
3787 * bufferview_funcs.C:
3797 * cursor_slice.[Ch]: some integer type changes for inset unification
3799 * lyxcursor.[hC]: remove, it's CursorSlice now.
3802 * BufferView_pimpl.[Ch]:
3803 * bufferview_funcs.C:
3809 * textcursor.[Ch]: adjust
3811 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3813 * text2.C (undoSpan): add and use
3814 * text.C (breakParagraph): use undoSpan (fix bug 578)
3817 2004-01-08 Angus Leeming <leeming@lyx.org>
3819 * BufferView_pimpl.C (MenuInsertLyXFile):
3820 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3821 * lyxfunc.C (menuNew, open, doImport):
3822 FileFilterList change to the FileDialog open and save functions.
3824 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3826 * ShareContainer.h: make isEqual and isUnique adaptable
3828 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3830 2004-01-07 Angus Leeming <leeming@lyx.org>
3833 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3835 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3837 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3838 functions replacing find, replace and replaceAll.
3840 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3841 LFUN_WORDFIND(FORWARD|BACKWARD).
3843 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3845 * text.C (breakParagraph): remove an outdated #warning
3847 2004-01-07 André Pönitz <poenitz@gmx.net>
3849 * lyxfind.C: somewhat clearer logic
3851 * text.C: prevent crash in cursorX on unitialized row cache
3853 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3855 * lyxcursor.[Ch] (operator>): add
3856 * textcursor.C (selStart, selEnd): use std::min and std::max
3858 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3860 * Chktex.C: include boost/format.hpp
3862 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3864 * InsetList.C: replace functor MathcIt with adaptable functor
3866 (insetIterator): modify accordingly
3868 * BranchList.h: move the BranchNamesEqual functor here from...
3869 * BranchList.C: ... to here
3871 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3873 (add): replace a finding loop with std::find_if.
3875 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3877 * output_docbook.C: moving LatexParam functionality into
3880 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3882 * buffer.C: increment format to 229.
3884 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3887 * lyx_sty.[Ch]: remove minipageindent_def
3893 * text3.C: remove LFUN_INSET_MINIPAGE
3895 2003-12-28 Angus Leeming <leeming@lyx.org>
3897 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3899 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3901 * text2.C (setParagraph): fix off-by-one crash
3903 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3905 * output_docbook.C: header stuff for AGU
3907 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3909 * text2.C (redoCursor): remove
3912 * BufferView_pimpl.C: remove calls to redoCursor and
3913 setCursor(cursor.par(), cursor.pos()) all around
3915 2003-12-15 Angus Leeming <leeming@lyx.org>
3917 * buffer.C: up the format to 228.
3919 2003-12-15 André Pönitz <poenitz@gmx.net>
3921 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3926 * BufferView_pimpl.C:
3935 2003-12-15 Angus Leeming <leeming@lyx.org>
3937 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3938 than getFromGUIName to manipulate the color.
3940 2003-12-14 Angus Leeming <leeming@lyx.org>
3942 * BranchList.[Ch]: minimize the API.
3943 (Branch::getBranch, getColor): now return a 'const &'.
3944 (Branch::setSelected) now returns a bool set to true if the
3945 selection status changes.
3946 (BranchList::clear, size, getColor, setColor, setSelected,
3947 allBranches, allSelected, separator): removed.
3948 (BranchList::find): new functions, returning the Branch with
3950 (BranchList::add, remove): return a bool indicating that
3951 the operation was successful.
3953 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3954 new InsetBranch::isBranchSlected member function.
3956 * LColor.[Ch]: mimimize the API.
3957 (fill): renamed as addColor and made private.
3958 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3959 versions of these functions taking a string arg have been removed.
3961 * bufferparams.C (readToken):
3962 * lyxfunc.C (dispatch):
3963 * lyxrc.C (read): changes due to the altered BranchList and
3966 * factory.C (createInset, readInset): changes due to altered
3969 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3972 * lyxfunc.C: remove insetminipage. "minipage-insert"
3973 now produces a frameless minipage box inset.
3975 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3977 * textcursor.[Ch] (selStart,selEnd): add new methods
3978 remove selection::start, end, use LyXCursor::operator<
3979 * lyxcursor.[Ch] (operator<): add
3980 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3981 * BufferView.[Ch] (unsetXSel): add
3982 * text2.C (clearSelection): use unsetXSel,adjust
3985 * rowpainter.C: adjust
3986 * bufferview_funcs.C (put_selection_at): adjust
3988 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3990 * BufferView_pimpl.C: small coord. correction
3992 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3994 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3995 dragging over the splash screen.
3997 2003-12-11 Angus Leeming <leeming@lyx.org>
3999 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4000 as it is now handled in LyXText::dispatch.
4002 * text3.C (doInsertInset): remove a level of nesting.
4004 2003-12-11 Angus Leeming <leeming@lyx.org>
4006 * factory.C (createInset): changes due to the changed interface to
4007 InsetCommandMailer::string2params.
4009 2003-12-10 Angus Leeming <leeming@lyx.org>
4011 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4012 'dialog-show-new-inset <inset name>'
4014 2003-12-10 Angus Leeming <leeming@lyx.org>
4016 * buffer.C: up the format to 227.
4018 * factory.C: the box inset is now identified simply by 'Box'.
4020 2003-12-10 Angus Leeming <leeming@lyx.org>
4022 * buffer.C: up the format to 226.
4024 * factory.C: the note inset is now identified simply by 'Note'.
4026 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4028 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4029 when a pit is enough. Standarize a couple of loops.
4031 2003-12-05 Angus Leeming <leeming@lyx.org>
4033 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4034 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4035 data to the re-worked "log" dialog.
4037 2003-12-03 André Pönitz <poenitz@gmx.net>
4043 * paragraph_funcs.C:
4045 * text2.C: use Inset::getText instead of Inset::getParagraph
4047 2003-12-03 André Pönitz <poenitz@gmx.net>
4051 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4052 InsetText::read() as LyXText::read()
4054 2003-12-02 Angus Leeming <leeming@lyx.org>
4056 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4057 type. Add a comment in the implementation that the function uses
4058 the stream's bad() function rather than fail() as the std::streams
4061 2003-12-02 André Pönitz <poenitz@gmx.net>
4063 * lyxlex.[Ch]: make interface more similar to std::stream
4065 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4067 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4069 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4071 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4073 * vspace.[Ch]: remove VSpace::NONE
4075 2003-12-01 André Pönitz <poenitz@gmx.net>
4078 * lyxtext.h: move ParagraphList member to LyXText
4079 rename LyXText::ownerParagraphs to LyXText::paragraph
4082 * bufferview_funcs.C:
4092 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4094 * undo.C: fix cursor positioning
4096 2003-12-01 John Levon <levon@movementarian.org>
4098 * BufferView_pimpl.C: fix a crash on exit with
4101 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4103 * BranchList.C: fix setSelected() method.
4105 2003-11-28 André Pönitz <poenitz@gmx.net>
4107 * ParagraphParameters.[Ch]:
4108 * ParameterStruct.h: remove space above/below from Paragraph to
4111 * BufferView_pimpl.C:
4117 * paragraph_funcs.C:
4123 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4125 * factory.C: Syntax change for CharStyles
4127 2003-11-28 André Pönitz <poenitz@gmx.net>
4132 * buffer.[Ch]: move LyXText member
4134 2003-11-28 André Pönitz <poenitz@gmx.net>
4136 * BufferView.[Ch]: make LyXText * text a private member
4138 * BufferView_pimpl.C:
4149 * output_plaintext.C: cleanup
4151 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4154 * lyxtextclass.[Ch]: parametrize SGML document header
4156 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4159 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4162 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4164 * text2.C (setFont): rework using PosIterator (no more recursive)
4165 (setCharFont): no more needed
4166 (setLayout): no more selection cursors fiddling (done by redoCursor)
4167 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4168 destroy remaining ones)
4170 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4172 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4174 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4177 * text3.C: adjust + re-allow multi par depth changes
4178 * textcursor.C: simplify a bit
4180 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4186 * src/output_docbook.C:
4187 * src/output_latex.C:
4192 * src/text2.C: Introducing a number of tags parametrizing various
4193 XML formats that we may want to support
4195 2003-11-25 André Pönitz <poenitz@gmx.net>
4197 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4199 * lyxtext.h (leftMargin/rightMargin): simplify interface
4206 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4208 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4209 master file to any child files. Fixes bug 546.
4211 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4213 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4215 2003-11-24 André Pönitz <poenitz@gmx.net>
4217 * rowpainter.C: simplification
4219 * text2.C (updateCounters): remove call to redoParagraph on
4220 changed labels as this is far too expensive.
4222 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4224 * converter.C (convert): fix a crash: this function gets
4225 called with buffer == 0 from importer code.
4227 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4229 * text3.C (cursorPrevious): make sure that we do not compare
4230 iterators form different containers.
4233 * rowpainter.C (paintSelection): make sure that we do not compare
4234 iterators from different containers.
4236 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4237 iterators from different ParagraphList containers.
4240 * text2.C (LyXText): change order of initialization slightly
4241 (operator=): new function. copy all variables except cache_par_
4242 (moveUp): make sure that we do not compare iterators from
4243 different ParagraphList constainers.
4246 * text.C (firstPar): new function
4247 (lastPar): new function
4248 (endPar): new function
4250 * lyxtext.h: move things around and group public functions, public
4251 variables, private functions, private variables
4253 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4255 * factory.C: change call to InsetERT constructor to avoid
4256 additional invocation of method status
4257 * text2.C (toggleInset): remove redundant update() call
4258 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4259 instead of a Bufferview pointer
4261 2003-11-21 André Pönitz <poenitz@gmx.net>
4263 * rowpainter.C: simplification
4265 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4267 * text3.C (dispatch): make possible to extend a word/row selection
4270 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4272 * lyxtext.h: x0_,y0_ -> xo_,yo_
4273 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4274 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4275 * rowpainter.C (paintRows): paint full paragraphs
4277 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4279 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4282 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4284 * lyxtext.h: add x0_, y0_
4285 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4286 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4288 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4290 * text2.C (setCursorIntern): move the x_target update here *
4291 * text3.C: change some bv() to true/false in calls to
4292 cursorUp/Down/Right/Left
4293 * cursor.C: use helper function.
4295 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4297 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4298 * paragraph_funcs.[Ch]: correct comment
4299 * rowpainter.C: do not paint selections away from bv->cursor()
4300 Fix a long standing selection painting bug.
4301 * text3.C: generalize mouse-selection code to LyXTexts other that
4303 * textcursor.C: do not use y coords if we can use par offsets
4305 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4307 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4308 cursor position after e.g. inset insert)
4310 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4312 * lyxfind.C (replace): adjust to locking removal + some
4315 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4317 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4320 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4323 * output_docbook.C: XML sanitation: new layout
4324 parameters InnerTag and CommandDepth
4326 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4328 * BufferView_pimpl.C:
4330 * text3.C: Fix the insertion and modification of button-style
4333 2003-11-13 André Pönitz <poenitz@gmx.net>
4335 * InsetList.[Ch]: remove deleteLyXText
4337 * paragraph.[Ch]: cache beginOfBody position
4342 * text3.C: remove superfluous update() calls
4346 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4348 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4349 * BufferView.C (fitLockedInsetCursor): remove
4350 * cursor.[Ch] (getDim): add
4351 * text.C (getRowNearY): add faster version
4352 * text3.C: remove some update calls
4354 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4366 * text3.C: The Character Style /XML short element patch.
4368 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4371 * factory.C: Small step to solving 'unable to insert some insets'
4374 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4376 * cursor.[Ch] (updatePos): new function for updating the y
4377 position of the tip inset
4378 * bufferview_funcs.C (put_selection_at):
4379 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4381 2003-11-11 André Pönitz <poenitz@gmx.net>
4383 * text.C: remove big comment on invalid Paragraph pointers as it is
4386 2003-11-11 André Pönitz <poenitz@gmx.net>
4388 * text_funcs.[Ch]: merge with ...
4396 * Makefile.am: remove text_funcs.[Ch]
4398 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4400 * cursor.C (getPos): return absolute cached y coord
4402 * BufferView_pimpl.C (fitCursor): new simplistic code
4403 (workAreaDispatch): add a fitCursor call
4405 2003-11-10 André Pönitz <poenitz@gmx.net>
4408 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4410 2003-11-10 André Pönitz <poenitz@gmx.net>
4412 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4413 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4414 indicate that the cursor needs to leave an inset
4416 * lyxtext.h: remove inset locking
4418 * cursor.[Ch]: re-implement functionality provided by inset locking
4421 * BufferView_pimpl.[Ch]:
4423 * bufferview_funcs.[Ch]:
4435 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4437 * PosIterator.[Ch]: replace the stack with a vector, add inset
4439 * iterators.[C]: adjust
4441 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4443 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4445 * paragraph_funcs.C (readParToken): put the correct id in the
4446 error item, not the id of the top paragraph
4448 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4450 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4451 * bufferview_funcs.C (put_selection_at): use the above
4453 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4455 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4457 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4459 * output_linuxdoc.h:
4460 * output_plaintext.h:
4462 * output_docbook.h: add #include statements
4464 2003-11-05 José Matos <jamatos@lyx.org>
4466 * output_docbook.[Ch]:
4467 * output_latex.[Ch]:
4468 * output_linuxdoc.[Ch]:
4469 * output_plaintext.[Ch]: New files for output formats.
4470 * output.[Ch]: New file for helper functions.
4473 * paragraph_funcs.[Ch]: output functions moved to new files.
4475 * outputparams.h: rename of latexrunparams.h
4483 * paragraph_funcs.[Ch]:
4484 * paragraph_pimpl.[Ch]:
4485 * tabular.[Ch]: rename ascii to plaintext
4486 and LatexRunParams to OutputParams.
4488 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4490 * iterators.[Ch] (text): require bv argument
4491 * undo.C (recordUndo):
4492 * lyxfunc.C (dispatch):
4493 * bufferview_funcs.C (put_selection_at): adjust
4495 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4497 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4499 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4501 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4504 2003-11-04 André Pönitz <poenitz@gmx.net>
4506 * cursor.[Ch]: restructure
4509 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4511 * iterators.[Ch] (asCursor): remove
4513 * lfuns.h: remove LFUN_INSET_EDIT
4519 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4521 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4523 * lyxfind.[Ch]: complete overhaul
4524 * BufferView_pimpl.C:
4526 * paragraph.[Ch] (insert): add
4528 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4532 * text.C: remove dead spellcheck code
4534 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4536 * dispatchresult.h: add a val setter
4538 * cursor.C (dispatch): use a tempvar for data_[i]
4540 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4542 * PosIterator.[Ch]: compile fix
4544 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4546 * text.C (cursorPar): deactivate the cursor cache
4548 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4550 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4552 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4554 * text3.C (dispatch): adjust for new DisptchResult semantics.
4556 * lyxfunc.C (dispatch): handle update when return from
4557 Cursor::dispatch, adjust for new DispatchResult semantics.
4559 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4560 DispatchResult(true) mean to not update. Add class functions for
4561 setting dispatched and update, as well as reading.
4563 * cursor.C (dispatch): don't handle update here
4565 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4567 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4568 * trans_mgr.C: adjust
4570 * paragraph_funcs.C (readParToken): exception safety
4572 * lyxvc.h: store the vcs pointer in a scoped_ptr
4575 * lyxsocket.C (serverCallback): exception safety
4577 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4579 * ispell.C (clone): make it return a auto_ptr
4581 * factory.C (createInset): exception safety
4582 (readInset): exception safety
4584 * bufferlist.C (newBuffer): exception safety
4586 * Thesaurus.C (Thesaurus): use initialization for aik_
4588 * MenuBackend.C (expandToc): exception safety.
4590 2003-11-03 André Pönitz <poenitz@gmx.net>
4594 * bufferview_funcs.C: remove getInsetFromId()
4597 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4603 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4605 * PosIterator.C (distance, advance): new
4606 * bufferview_funcs.[Ch] (put_selection_at): new
4607 * iterators.[Ch] (lockPath): new
4609 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4611 * iterators.[Ch] (asPosIterator): added
4612 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4613 * PosIterator.[Ch]: added
4615 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4619 * cursor.C (dispatch):
4620 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4622 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4623 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4624 contructor, add a class function dispatched. Remove operator>=
4626 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4628 * debug.C: only use the default constructor for debugstream
4631 * main.C (main): include debug.h and setup the lyxerr streambuf
4634 2003-10-31 José Matos <jamatos@lyx.org>
4636 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4638 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4639 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4640 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4641 * paragraph_pimpl.C (simpleTeXSpecialC):
4642 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4643 add LatexRunParams argument.
4645 * exporter.C (Export): change call accordingly.
4647 * latexrunparams.h: add new member to take care of the other backends.
4648 2003-10-30 José Matos <jamatos@lyx.org>
4650 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4651 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4652 factorise code for paragraph output.
4654 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4657 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4659 * text3.C (dispatch):
4660 * lyxfunc.C (dispatch):
4661 * cursor.C (dispatch):
4662 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4664 * dispatchresult.h: make the dispatch_result_t ctor explicit
4666 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4669 * buffer.C: small refactoring of docbook stuff
4671 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4673 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4676 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4678 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4679 operator dispatch_result_t, and operators for == != and >=
4681 * cursor.C (dispatch): adjust for operator dispatch_result_t
4682 removal. comment out call to update
4684 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4686 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4694 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4697 * dispatchresult.h: new file, DispatchResult broken out of
4700 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4702 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4704 * text.C (rowBreakPoint): put a hack inside #if 0
4706 2003-10-28 André Pönitz <poenitz@gmx.net>
4710 * paragraph_funcs.C:
4713 * text2.C: general cleanup (lots of small stuff)
4715 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4717 * text2.C (cursorEnd): simple fix to the "end key goes to one
4718 before the end on last row" bug
4720 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4722 * text.C (backspace): fix the "zombie characters"
4724 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4726 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4728 2003-10-27 André Pönitz <poenitz@gmx.net>
4730 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4732 * factory.C: handle new InsetPagebreak, InsetLine
4734 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4735 and move handling into new InsetPagebreak, InsetLine
4737 * BufferView_pimpl.C:
4739 * ParagraphParameters.C:
4740 * ParameterStruct.h:
4745 * paragraph_funcs.C:
4746 * paragraph_pimpl.C:
4752 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4755 * lyxrow_funcs.[Ch]:
4761 * text3.C: remove lastPos uses in favour of Row::endpos
4763 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4765 * undo.C (performUndoOrRedo): fix two crashes by setting a
4766 cursor by hand and reordering some calls. Use bv->lockInset instead
4767 of inset->edit because the latter loses cursor information
4769 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4771 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4773 (rowBreakPoint): fix width. change point to point + 1.
4774 Add a missing check.
4776 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4779 * lyxfunc.C: fix (at least partly) the problems
4780 with the Nav menu and headers inside branch insets
4783 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4785 * paragraph.C (getChar): add strong asserts
4787 * lyxrow_funcs.C (lastPos): remove hideous hack
4789 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4790 (fill): adjust to that (avoid an infinite loop)
4792 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4794 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4796 2003-10-23 André Pönitz <poenitz@gmx.net>
4798 * RowList_fwd.h: change list<> to vector<> to gain speed
4799 after suggestion from Alfredo
4801 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4803 * lyxtext.h: move the bidi stuff from here...
4806 * Bidi.[Ch]: ... to here
4808 2003-10-23 André Pönitz <poenitz@gmx.net>
4811 * text.C (isLastRow, isFirstRow): new functions
4813 * paragraph.h: new width cache member
4815 * rowpainter.C: replace RowList::iterator with Row & where possible
4817 * lyxfunc.C: replace several view()->text with a single call
4819 * toc.C: fix 'unused' warning
4821 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4823 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4824 when woring with stream::pos_type
4825 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4827 2003-10-22 André Pönitz <poenitz@gmx.net>
4830 * text.C: use Row & instead of RowList::iterator
4832 * lyxrow.h: rename end() to endpos()
4838 2003-10-22 Angus Leeming <leeming@lyx.org>
4840 * buffer.[Ch] (fully_loaded): new member function, returning true
4841 only when the file has been loaded fully.
4842 Used to prevent the premature generation of previews and by the
4843 citation inset to prevent computation of the natbib-style label.
4845 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4846 templates are all set up.
4848 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4850 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4852 * text.C: fixed an "oops" in the "is a bit silly"
4855 2003-10-21 André Pönitz <poenitz@gmx.net>
4857 * FuncStatus.[Ch]: small stuff, whitespace
4859 * lyxfont.[Ch]: operator<<() for debug reasons
4863 * lyxtext.h: whitespace, spelling
4865 * paragraph.C: naming of variables
4868 * text2.C: small stuff
4871 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4873 * text.C: (1) finish off the inset display() work;
4874 (2) fix the "is a bit silly" bug (accessing char
4877 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4879 * text.C: re-introduce display() for insets, fixing the
4880 various bugs (stretch of line above, math inset
4883 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4885 * text.C (rightMargin): remove spurious semicolon
4887 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4890 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4892 * text3.C: fix one crash due to wrong cursor def
4894 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4896 * vc-backend.C (scanMaster): make the regex static
4898 * LaTeX.C (scanAuxFile): make the regexs static
4900 * text3.C (doInsertInset, dispatch, dispatch):
4901 * text2.C (cursorUp, cursorDown):
4902 * text.C (selectNextWordToSpellcheck):
4903 * BufferView_pimpl.C (dispatch):
4904 * lyxfunc.C (dispatch): localDispatch -> dispatch
4906 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4908 * lyxsocket.C: include <cerrno>
4910 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4912 * lyxfunc.C (dispatch): remove textcache stuff
4914 * bufferlist.C (release): remove textcache stuff
4917 * TextCache.C: delete file
4918 * TextCache.h: delete file
4920 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4922 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4923 delete of the bv_->text.
4924 (resizeCurrentBuffer): remove texcache stuff
4925 (workAreaResize): ditto
4927 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4929 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4932 2003-10-16 André Pönitz <poenitz@gmx.net>
4939 * text3.C: speed up by storing y positions per paragraph plus per-row
4940 offset instead of having a 'full' y position in the row.
4942 2003-10-15 André Pönitz <poenitz@gmx.net>
4946 * undo.[Ch]: make undo aware of inner insets
4948 2003-10-14 Angus Leeming <leeming@lyx.org>
4950 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4951 static member functions LyX::ref() and LyX::cref.
4952 (lastfiles): new accessor functions for the new lastfiles_ member var.
4953 (addLyXView, views_): add a new LyXView to the list of views_.
4954 (updateInset): loop over all LyXViews to call their own updateInset
4955 member function, returning a pointer to the Buffer owning the inset.
4957 * BufferView_pimpl.C (loadLyXFile):
4958 * MenuBackend.C (expandLastfiles):
4959 * bufferlist.C (MenuWrite, QuitLyX):
4960 lastfiles is no longer a global variable.
4961 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4963 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4964 static function. Access through LyX::cref().emergencyCleanup().
4966 2003-10-14 André Pönitz <poenitz@gmx.net>
4968 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4970 * undo.[Ch]: restoring part of 'undo in insets'
4973 * undo_funcs.[Ch]: merge with undo.[Ch]
4975 * tabular.C: small cleansing stuff
4977 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4979 * paragraph_funcs.C (readParToken): report unknown insets as error
4980 boxes. Use the outer paragraph as location (also for unknown
4983 * factory.C (readInset): do not abort on reading an unknown inset.
4984 Eat it and return 0.
4986 2003-10-13 Angus Leeming <leeming@lyx.org>
4988 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4990 * lyxrc.C: displayTranslator is now a function,
4991 declared in GraphicsTypes.h.
4993 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4995 * format.C: new placeholder $$a to pass the socket address.
4997 * bufferlist.[Ch]: new function getBufferFromTmp.
4999 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5000 files in the temporary dir.
5002 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5004 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5006 * Makefile.am: add lyxsocket.[Ch].
5008 * lyx_main.C (error_handler): handle SIGPIPE.
5010 2003-10-13 André Pönitz <poenitz@gmx.net>
5012 * BufferView_pimpl.C:
5017 * undo_funcs.[Ch]: use paroffset_type instead of
5018 ParagraphList::iterators to prevent multiple conversion
5019 (and get a more robust interface)
5021 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5023 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5025 * text3.C (dispatch): ditto
5027 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5029 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5030 move the onlyfile, use onlyfile instead of foundfile in a couple
5033 * DepTable.C (update): flush the error stream a bit more
5035 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5037 * lyxserver.C (callback): adjust
5039 * lyxfunc.C (getStatus): add a missing brace in commented code
5040 (ensureBufferClean): reindent
5041 (dispatch): delete version taking a string
5043 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5045 * LaTeX.C (deplog): move found file handlig from here...
5046 (handleFoundFile): .. to new function here.
5047 (deplog): make sure to discover several files mentioned on the
5050 2003-10-10 André Pönitz <poenitz@gmx.net>
5057 * text3.C: fix some of the tabular crashes
5059 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5061 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5063 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5065 2003-10-09 André Pönitz <poenitz@gmx.net>
5067 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5070 * BufferView_pimpl.C:
5071 * bufferview_funcs.C:
5082 * undo_funcs.C: adjust
5084 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5086 * text2.C (incrementItemDepth): new function, use a backtracking
5087 algorithm to discover the correct item depth.
5088 (resetEnumCounterIfNeeded): new function, use a backtracking
5089 algorithm to discover if counter reset is needed.
5090 (setCounter): use them. Simplify a bit. Add different labels for
5091 different item depths for itemize.
5093 * paragraph.C (Paragraph): remove initialization of enumdepth
5096 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5097 enumerate and itemize. Change the type of itemdepth to signed char.
5099 2003-10-08 André Pönitz <poenitz@gmx.net>
5101 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5106 * tabular.[Ch]: fix crash after 'row-insert'
5108 2003-10-08 Angus Leeming <leeming@lyx.org>
5110 Fix doxygen warnings.
5112 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5113 Remove CutAndPaste:: prefix from header file declaration.
5115 * LColor.h (fill): remove LColor:: prefix from declaration.
5117 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5118 use lyx::depth_type rather than Paragraph::depth_type so that
5119 header file and .C file match.
5121 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5123 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5124 * aspell.C: \file aspell_local.C -> \file aspell.C
5125 * gettext.C: \file gettext.C -> \file src/gettext.C
5126 * gettext.h: \file gettext.h -> \file src/gettext.h
5127 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5128 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5129 * text.C: \file text.C -> \file src/text.C
5131 * toc.C: move comment so that doxygen is not confused.
5133 2003-10-07 Angus Leeming <leeming@lyx.org>
5135 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5137 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5140 * aspell_local.h: add forgotten std::string's.
5142 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5149 * text3.C: The Box patch. Fancybox support, minipage, parbox
5151 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5157 * ParagraphParameters.h:
5167 * lyxtextclasslist.h:
5170 * paragraph_pimpl.C:
5171 * textcursor.h: add <string> and other small fixes to make Lars'
5172 std::string patch compile with STLport.
5174 2003-10-06 Angus Leeming <leeming@lyx.org>
5176 * LColor.h: Add missing #include <string>.
5178 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5180 * All most all file in all subdirs: Make <string> be the prefered
5181 way of getting to std::string, add using declarations.
5183 2003-10-06 André Pönitz <poenitz@gmx.net>
5185 * metricsinfo.C: initialize LyXFont before changing attribute.
5186 (fixes the 'math in \emph is upright' bug)
5188 2003-10-06 André Pönitz <poenitz@gmx.net>
5190 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5192 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5195 * paragraph_pimpl.C: Small fixes to build using STLport
5197 2003-10-02 André Pönitz <poenitz@gmx.net>
5200 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5202 2003-10-01 André Pönitz <poenitz@gmx.net>
5204 * factory.C: assert early
5206 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5208 * lyx_main.C: remove the global debug object
5210 * debug.h: adjust for new debugstream
5212 * debug.C: adjust for new debugstream and keep the global debug
5215 2003-09-22 Angus Leeming <leeming@lyx.org>
5217 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5218 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5219 an incomplete class LyXFont.
5221 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5223 * factory.C: bug fix in branches
5225 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5227 * lyxfunc.C (processKeySym): adjust
5229 (dispatch): change arg name from ev to func, adjust
5230 (sendDispatchMessage): ditto
5232 * lyx_main.C (defaultKeyBindings): adjust keybindings
5233 (deadKeyBindings): ditto
5235 * kbsequence.C (addkey): return a FuncRequest
5237 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5239 * kbmap.C (bind): take a FuncRequest as arg, adjust
5242 (defkey): change to take a FuncRequest as arg, adjust
5243 (findbinding): take a FuncRequest as arg, adjust.
5245 * funcrequest.h (operator=): added
5247 * funcrequest.C (FuncRequest): default kb_action changed from
5248 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5250 * buffer.C (dispatch): simplify
5251 (dispatch): adjust to take a FuncRequest as arg, adjust
5253 * boost.C (assertion_failed): change assertion message slightly
5255 * ToolbarBackend.C (read): simplify
5257 * MenuBackend.C (binding): adjust call to findbinding, add a
5258 message if no binding is found.
5260 (expandToc): correct by adding a empty FuncRequest
5262 * LyXAction.C: include <boost/assert.hpp>
5263 (isPseudoAction): delete function
5264 (LookupFunc): change name to...
5265 (lookupFunc): this. change return type to FuncRequest.
5266 (getActionName): take kb_action as arg, simplify
5267 (funcHasFlag): add an assert, simplify.
5269 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5271 * toc.C (action): return a FuncRequest, simplify
5273 * lyxfunc.C (processKeySym): adjust
5274 (getStatus): delete version that takes an int.
5276 (dispatch): delete version that takes action as int
5278 (sendDispatchMessage): simplify and adjust
5280 * funcrequest.C (getArg): take unsigned int as arg
5282 * ToolbarBackend.C (read): adjust
5283 (add): delete version that takes func as a string.
5284 (getIton): take a FuncRequest as arg
5286 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5289 * MenuBackend.C (MenuItem): add a new construct that only takes a
5290 Kind, simplify the constructor use for submenus.
5292 (expandLastfiles): adjust
5293 (expandDocuments): adjust
5294 (expandFormats): adjust
5295 (expandFloatListInsert): adjust
5296 (expandFloatInsert): adjust
5297 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5299 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5300 Remove class variables lyx_pseudo_map and lyx_arg_map
5302 * LyXAction.C (searchActionArg): delete function
5303 (getPseudoAction): delete function
5304 (retrieveActionArg): delete function
5305 (LookupFunc): make it return kb_action, simplify.
5306 (getActionName): simplify
5308 * factory.C (createInset): fix new bug
5310 2003-09-19 Angus Leeming <leeming@lyx.org>
5312 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5313 masterFilename_ parameter in the include inset.
5315 * factory.C (createInset): changes due to the changes to InsetInclude.
5317 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5319 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5321 2003-09-18 Angus Leeming <leeming@lyx.org>
5324 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5325 Inset::fillWithBibKeys.
5326 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5328 2003-09-18 Angus Leeming <leeming@lyx.org>
5330 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5332 (ctor): pass and store a 'Buffer const &'
5333 (buffer): new member function.
5335 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5336 '*this' to the LaTeXFeatures ctor.
5338 2003-09-18 Angus Leeming <leeming@lyx.org>
5344 * text.C: rename EnumLColor as LColor_color.
5346 2003-09-18 Angus Leeming <leeming@lyx.org>
5348 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5349 remove #include "insets/insetbase.h" from cursor.h.
5351 2003-09-18 Angus Leeming <leeming@lyx.org>
5353 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5354 InsetOld_code to remove #include "inset.h".
5356 * iterators.C: add #include "insets/inset.h"
5358 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5360 * BufferView.C: remove more locking stuff that apparently doesn't
5361 do anything sensible.
5363 2003-09-16 André Pönitz <poenitz@gmx.net>
5366 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5369 2003-09-16 Angus Leeming <leeming@lyx.org>
5371 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5373 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5376 * paragraph.h: remove #include "lyxfont.h". Forward declare
5379 2003-09-16 Angus Leeming <leeming@lyx.org>
5381 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5382 of support/textutils.h.
5383 (isWord): move the contents of support/textutils.h's IsWordChar here.
5389 * text2.C: add #include "paragraph.h".
5392 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5394 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5400 * LaTeX.C: use namespace alias for lyx::support::os
5402 2003-09-16 Angus Leeming <leeming@lyx.org>
5405 * bufferview_funcs.C:
5408 * paragraph_pimpl.C:
5410 * text.C: add #include "LColor.h".
5412 2003-09-16 Angus Leeming <leeming@lyx.org>
5414 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5415 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5417 Store the FontBits::color variable as an int rather than as an
5418 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5421 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5422 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5423 string calls together.
5425 * lyxrc.C: add #include "LColor.h".
5427 2003-09-15 Angus Leeming <leeming@lyx.org>
5429 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5432 2003-09-15 Angus Leeming <leeming@lyx.org>
5434 * LColor.h: add an EnumLColor wrapper for LColor::color.
5436 * lyxfont.[Ch] (color, setColor, realColor):
5437 * lyxtext.h, text.C (backgroundColor):
5438 pass EnumLColor args to/from the functions, rather than LColor::color
5442 * lyxtext.h: forward declare EnumLColor.
5444 * lyx_main.C: add #include "LColor.h".
5446 2003-09-15 Angus Leeming <leeming@lyx.org>
5448 * .cvsignore: add lyx-gtk.
5450 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5455 * ParagraphParameters.C
5459 * bufferview_funcs.C
5469 * vc-backend.C: remove usage of STRCONV
5471 2003-09-15 Angus Leeming <leeming@lyx.org>
5473 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5474 explicitly define the color passed to the painter.
5476 2003-09-15 Angus Leeming <leeming@lyx.org>
5478 * bufferparams.C (BufferParams): reorder member initializers to avoid
5481 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5483 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5484 * text.C (updateRowPositions): remove an unusual nop
5486 2003-09-12 André Pönitz <poenitz@gmx.net>
5488 * BufferView_pimpl.C:
5497 * Counters.[Ch]: finish the 'automatic counters' job
5499 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5501 * aspell.C: include <boost/assert.cpp> (compile fix)
5503 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5505 * boost.C (assertion_failed): use lyx::support::abort instead of
5508 2003-09-10 Angus Leeming <leeming@lyx.org>
5510 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5511 with their _fwd progeny.
5513 2003-09-09 Angus Leeming <leeming@lyx.org>
5515 134 files throughtout the source tree: replace 'using namespace abc;'
5516 directives with the appropriate 'using abc::xyz;' declarations.
5518 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5520 * boost.C (emergencyCleanup): moved here from LAssert.c
5521 (assertion_failed): new function, called by BOOST_ASSERT
5523 * several files: change Assert to BOOST_ASSERT
5525 2003-09-09 Angus Leeming <leeming@lyx.org>
5527 * buffer.[Ch]: Add an Impl class and move Buffer's member
5528 variables into it. As a result move several header files out of
5531 Add header files to lots of .C files all over the tree as a result.
5533 2003-09-09 Angus Leeming <leeming@lyx.org>
5535 * buffer.[Ch]: make Buffer's member variables private. Add
5538 Lots of changes all over the tree as a result.
5540 2003-09-08 Angus Leeming <leeming@lyx.org>
5542 * graph.C: #include <config.h>.
5544 2003-09-08 Angus Leeming <leeming@lyx.org>
5548 * BufferView_pimpl.C:
5577 * toc.C: remove redundant using directives.
5579 2003-09-07 Angus Leeming <leeming@lyx.org>
5581 * LaTeXFeatures.h: remove #include "support/types.h".
5582 * ToolbarBackend.h: remove #include <algorithm>.
5583 * changes.h: remove #include <ctime>.
5584 * debug.h: remove #include <iosfwd>.
5585 * graph.h: remove #include "support/std_string.h".
5586 * lyx_main.h: remove #include <csignal>.
5587 * lyxlex_pimpl.h: remove #include <fstream>.
5588 * sgml.h: remove #include <algorithm>, <utility>.
5589 * toc.h: remove #include "support/std_ostream.h".
5590 Add #include <iosfwd>.
5592 2003-09-07 Angus Leeming <leeming@lyx.org>
5594 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5596 * converter.h: forward declare LatexRunParams.
5597 * encoding.h: remove #include "lyxrc.h".
5598 * lyxtext.h: remove #include "LColor.h".
5599 * lyxtextclass.h: remove #include "support/types.h".
5600 * trans.h: remove #include "tex-accent.h".
5601 * trans_mgr.h: remove #include "tex-accent.h".
5602 * insets/inset.h: remove #include "support/types.h", <vector>.
5603 * insets/insetcollapsable.h: remove #include "LColor.h".
5604 * insets/insetinclude.h: remove #include "dimension.h".
5605 * insets/insetlatexaccent.h: remove #include "dimension.h".
5606 * insets/insetoptarg.h:: remove #include "insettext.h".
5607 * insets/insettext.h: remove #include "dimension.h",
5608 <boost/shared_ptr.hpp>
5610 * insets/renderers.h: add #include "dimension.h".
5611 * insets/updatableinset.h: add #include "support/types.h".
5613 * many .C files: Associated changes.
5615 2003-09-06 Angus Leeming <leeming@lyx.org>
5617 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5618 one, inside testInvariant.
5620 * PrinterParams.C: new file.
5621 * PrinterParams.[Ch]: move the function bodies out of line.
5623 2003-09-06 Angus Leeming <leeming@lyx.org>
5625 * ParagraphParameters.h: forward declare ParameterStruct rather than
5626 including its header file.
5627 (depth): moved out-of-line.
5629 2003-09-06 Angus Leeming <leeming@lyx.org>
5631 * BufferView_pimpl.h:
5634 * lyxfunc.h: forward declare LyXKeySym rather than
5635 #include "frontends/LyXKeySym.h".
5637 * BufferView_pimpl.C:
5640 * lyxfunc.C: associated changes.
5642 2003-09-06 Angus Leeming <leeming@lyx.org>
5644 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5645 As a result, can remove the #include "insets/inset.h" from BufferView.h
5647 2003-09-06 Angus Leeming <leeming@lyx.org>
5649 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5650 As a result, can remove the #include "insets/inset.h" from BufferView.h
5652 2003-09-06 Angus Leeming <leeming@lyx.org>
5658 * bufferview_funcs.C:
5659 * BufferView_pimpl.C:
5664 * ParagraphParameters.C:
5669 * frontends/controllers/ControlDocument.C:
5670 * insets/insetcaption.C: rearrange the #includes into some sort of
5673 * buffer.h: remove #includes ErrorList.h, undo.h
5675 2003-09-06 Angus Leeming <leeming@lyx.org>
5677 * support/types.h: add a 'depth_type' typedef, used to store the
5678 nesting depth of a paragraph.
5681 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5682 defining explicitly.
5685 * paragraph_funcs.h:
5686 * ParagraphParameters.h:
5687 * sgml.h: use lyx::depth_type rather than Paragraph or
5688 ParameterStruct's depth_type.
5691 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5694 * BufferView_pimpl.C:
5696 * ParagraphParameters.C:
5699 * bufferview_funcs.C:
5706 * frontends/LyXView.C:
5707 * frontends/controllers/ControlDocument.C:
5708 * frontends/controllers/ControlErrorList.C:
5709 * insets/insetbibitem.C:
5710 * insets/insetbranch.C:
5711 * insets/insetcaption.C:
5712 * insets/insetcollapsable.C:
5713 * insets/insetenv.C:
5714 * insets/insetert.C:
5715 * insets/insetfloat.C:
5716 * insets/insetfoot.C:
5717 * insets/insetfootlike.C:
5718 * insets/insetnewline.C:
5719 * insets/insetquotes.C:
5720 * insets/insettabular.C:
5721 * insets/insettext.C:
5722 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5724 * frontends/controllers/ControlChanges.C: #include "changes.h".
5726 2003-09-06 Angus Leeming <leeming@lyx.org>
5728 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5729 than #including paragraph.h.
5732 * RowList.h: deleted. Superfluous.
5742 * insets/insettext.h: use ParagraphList_fwd.h rather than
5745 * paragraph.h: don't forward declare ParagraphList.
5748 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5749 rather than ParagraphList.h. paragraph.h is still needed for the
5750 Paragraph::depth_type parameters.
5752 * textcursor.h: enable it to compile stand-alone in light of the
5755 * bufferview_funcs.C:
5767 * frontends/controllers/ControlParagraph.C:
5768 * frontends/controllers/ControlTabular.C:
5769 * insets/insetmarginal.C:
5770 * insets/insetminipage.C:
5771 * insets/insetnote.C:
5772 * insets/insetoptarg.C: add header files needed to compile again.
5774 2003-09-06 Angus Leeming <leeming@lyx.org>
5776 * RowList_fwd.h: new file, forward-declaring Row rather than
5777 #including lyxrow.h.
5782 * insets/insettext.h: use it instead of RowList.h
5784 * bufferview_funcs.C:
5791 * text3.C: #include "RowList.h".
5793 2003-09-05 Angus Leeming <leeming@lyx.org>
5795 * factory.C (createInset):
5796 * vspace.C (c-tor): replace sscanf call with an istringstream.
5797 * ispell.C: re-add missing HP/UX headers.
5798 * lyxserver.C: re-add missing os2 headers.
5800 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5809 * text3.C: re-add missing system headers, needed for 2.95.2.
5811 2003-09-05 Angus Leeming <leeming@lyx.org>
5813 Changes most place everywhere due to the removal of using directives
5814 from support/std_sstream.h.
5816 2003-09-05 Angus Leeming <leeming@lyx.org>
5818 Replace LString.h with support/std_string.h,
5819 Lsstream.h with support/std_sstream.h,
5820 support/LIstream.h with support/std_istream.h,
5821 support/LOstream.h with support/std_ostream.h.
5823 Changes resulting throughout the tree.
5825 2003-09-05 Angus Leeming <leeming@lyx.org>
5827 * sgml.h: ensure that the header file can be compiled stand-alone.
5828 * *.C: strip out redundant #includes. (320 in total.)
5830 2003-09-04 Angus Leeming <leeming@lyx.org>
5832 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5833 here (from getPackages).
5835 * debug.[Ch]: add a new EXTERNAL tag.
5837 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5839 * text2.C (cursorEnd): simplify
5841 (getColumnNearX): adjust
5843 * text.C (computeBidiTables): adjust
5846 * rowpainter.C (paintChars): adjust
5847 (paintSelection): adjust
5848 (paintChangeBar): adjust
5851 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5853 (numberOfSeparators): adjust
5855 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5861 * text3.C: Restricts the mouse click functionality
5862 of insets like bibtex, include, toc and floatlist to the visible
5863 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5864 up the dialogs. Cursor has to be in front of the inset (i.e.
5865 start of row) for this to function.
5867 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5869 * bufferview_funcs.C (currentState): output row information
5871 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5873 * bufferview_funcs.C (currentState): output paragraph position
5875 2003-09-04 Angus Leeming <leeming@lyx.org>
5877 * FloatList.h: move out #include "Floating.h".
5878 * LaTeX.h: move out #include "DepTable.h".
5879 * LyXAction.h: move out #include "funcrequest.h".
5880 * buffer.h: move out #include "author.h", "iterators.h".
5881 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5882 * lyx_main.h: move out #include "errorlist.h".
5883 * lyxfunc.h: move out #include "FuncStatus.h".
5884 * lyxtext: move out #include "lyxcursor.h".
5885 * paragraph_pimpl.h: move out #include "counters.h".
5887 2003-09-03 Angus Leeming <leeming@lyx.org>
5889 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5890 preamble_snippets list, enabling us to add snippets to the preamble
5891 only if the snippet was not there already.
5893 2003-09-04 Angus Leeming <leeming@lyx.org>
5895 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5897 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5899 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5902 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5904 * BranchList.C: point fix, earlier forgotten
5906 2003-09-02 Angus Leeming <leeming@lyx.org>
5908 * box.C (contains): renamed from 'contained' after a fantastic
5911 2003-09-02 John Levon <levon@movementarian.org>
5917 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5919 2003-09-02 John Levon <levon@movementarian.org>
5921 * text2.C: simplification of cursorEnd(), including partial
5924 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5926 * buffer.C (readFile): add a space
5928 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5930 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5932 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5934 * buffer.C (readFile): new function, take a filename and a
5935 ParagraphList::iterator
5937 (readFile): adjust, make it private. don't use setStream, make
5938 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5939 always contain the filename.
5941 * BufferView.C (insertLyXFile): simplify and make it work for
5944 2003-08-30 John Levon <levon@movementarian.org>
5946 * Makefile.am: fix dist (from Kayvan)
5948 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5950 * most files: change to use const Buffer refs
5952 2003-08-27 André Pönitz <poenitz@gmx.net>
5954 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5955 on top of ownerPar().
5957 2003-08-27 John Levon <levon@movementarian.org>
5959 * funcrequest.C: properly initialise POD members
5961 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5963 * lyxtext.h (top_y): move top_y from here
5968 * BufferView_pimpl.[Ch]: to here
5969 * frontends/screen.C:
5970 * insets/insettabular.C:
5971 * insets/insettext.C: adjust
5972 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5974 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5977 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5979 2003-08-26 André Pönitz <poenitz@gmx.net>
5981 * paragraph_func.[Ch] (outerPar): new function
5984 * paragraph_funcs.C:
5985 * paragraph_funcs.h:
5986 * paragraph_pimpl.C:
5987 * text2.C: remove Inset::par_owner
5989 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5994 * text2.C: eliminates the needFullRow/display() stuff
5995 altogether, putting the logic in metrics/draw in the insets.
5997 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5999 * text2.C (redoParagraphInternal, redoParagraphs):
6000 * text.C (redoParagraph): add a call to updateRowPositions at the
6001 end of each 'metrics-like' call. Remove all others.
6002 (getRow): remove the 'y-computing' version.
6003 (getRowNearY): do not compute nor return the real y. Solve the
6004 'y < 0' problem and simplify.
6006 2003-08-22 Angus Leeming <leeming@lyx.org>
6008 * *.[Ch]: clean-up of licence and author blurbs.
6009 Also move config.h out of a few .h files and into a few .C files.
6011 2003-08-22 André Pönitz <poenitz@gmx.net>
6013 * lyxrow.[Ch]: add x_ and *fill_ members
6018 * text2.C: adjust/remove prepareToPrint() calls
6020 2003-08-22 André Pönitz <poenitz@gmx.net>
6022 * lyxrow.[Ch]: add end_ member
6024 * lyxrow_funcs.C: use LyXRow::end_
6026 * lyxtext.h (singleWidth): add LyXFont parameter
6029 * text2.C: adjust LyXText::singleWidth() calls
6031 * text.C (redoParagraph): simplify row breaking logic
6034 2003-08-19 André Pönitz <poenitz@gmx.net>
6036 * funcrequest.C: initialize button_ member
6039 * rowpainter.[Ch]: interface consolidation
6041 2003-08-18 André Pönitz <poenitz@gmx.net>
6044 * BufferView_pimpl.C:
6046 * paragraph_funcs.C:
6048 * text3.C: remove LyXScreen::draw() and fitCursor calls
6050 * BranchList.h: remove spurious semicolons
6052 * MenuBackend.C: fix branchlist related crash
6054 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6062 * bufferparams.[Ch]:
6066 * text3.C: implements the 'branch inset'
6067 idea. This allows the output of various versions of a document
6068 from a single source version, selectively outputing or suppressing
6069 output of parts of the text.
6070 This implementation contains a 'branch list editor' in a separate
6071 tab of the document settings dialog. Branches are user definable
6072 and have a "display colour" to distinguish them on-screen.
6074 ColorHandler was somewhat cleaned up.
6075 (1) make possible a dynamically growing LColor list by allowing
6076 the graphic context cache to grow along (vector);
6077 (2) eliminate an IMHO unnecessary step in colour allocation.
6079 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6081 * BufferView_pimpl.C: compile fix
6083 2003-08-15 André Pönitz <poenitz@gmx.net>
6085 * rowpainter.C: remove extra metrics calls
6087 * lyxtext.h: merge the two constructors into a single one,
6088 pass reference to owner's par list
6090 * BufferView_pimpl.C:
6094 2003-08-15 André Pönitz <poenitz@gmx.net>
6096 * lyxrow_funcs.[Ch]:
6099 * paragraph_funcs.C:
6104 * text_funcs.C: split LyXText::rowlist_ into individual
6105 Paragraph::rows_ chunks
6108 * BufferView_pimpl.[Ch]:
6111 * text3.C: remove toggleSelection()
6113 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6115 * bufferlist.C: beautify two alerts (shorter text of buttons)
6116 * buffer.C: Remove redundant ' ' from message
6118 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6119 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6120 rename VALIGN_CENTER to VALIGN_MIDDLE
6122 2003-08-11 André Pönitz <poenitz@gmx.net>
6124 * lyxtext.h (getPar):
6125 * text.C: new function
6127 2003-08-11 André Pönitz <poenitz@gmx.net>
6130 * tracer.[Ch]: remove unneeded files
6132 * InsetList.[Ch]: remove resizeInsetsLyXText()
6137 * text3.C: merge insertParagraphs() and appendParagraph()
6138 remove breakAgain(), update()
6140 * BufferView_pimpl.[Ch]:
6141 * bufferview_funcs.[Ch]:
6145 * tabular.C: adjust after text & InsetList changes.
6147 2003-08-08 André Pönitz <poenitz@gmx.net>
6149 * text.C (insertChar, backspace): replace rowlist fiddling
6150 with rebreak of full par
6153 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6154 checkParagraph, updateInset): removed
6156 2003-08-07 André Pönitz <poenitz@gmx.net>
6159 * text3.C: merge some LFUN handlers, remove dead code
6161 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6163 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6165 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6167 * text2.C (DEPM): fix part of bug 1255 and 1256
6169 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6171 * BufferView_pimpl.C (workAreaDispatch): change to use
6172 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6173 that are no mouse related.
6175 2003-08-05 André Pönitz <poenitz@gmx.net>
6178 * BufferView_pimpl.[Ch]:
6179 * bufferview_funcs.C:
6181 * text3.C: rip out "deep update"
6183 * textcursor.[Ch] (last_sel_cursor): remove unused member
6185 2003-08-04 André Pönitz <poenitz@gmx.net>
6188 * BufferView_pimpl.[Ch]:
6189 * ParagraphParameters.C:
6190 * bufferview_funcs.C:
6196 * text3.C: replace "complicated" BufferView::update(...) calls with
6199 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6201 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6203 * Makefile.am (lyx_SOURCES): add paper.h
6205 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6207 * Makefile.am: move things around so that both lyx-qt and
6208 lyx-xforms can be built (according to --with-frontend). Then lyx
6209 is a symbolic link to lyx-[firstfrontend]
6211 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6213 * Always use std::endl with lyxerr
6215 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6217 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6219 2003-08-01 André Pönitz <poenitz@gmx.net>
6222 * BufferView_pimpl.[Ch]:
6224 * text3.C: merge BufferView::repaint() and BufferView::update()
6226 2003-08-01 José Matos <jamatos@lyx.org>
6228 * buffer.[Ch]: file_format is no longer a buffer data element.
6230 2003-08-01 André Pönitz <poenitz@gmx.net>
6235 * text2.C: make redoParagraph more independent of current cursor
6237 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6239 * text2.C: remove unneeded members
6241 2003-07-30 André Pönitz <poenitz@gmx.net>
6243 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6245 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6246 create a single function...
6248 * paragraph_funcs.C (moveItem): ... here.
6251 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6253 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6255 * LColor.[Ch]: Add comment and greyedout logical colors.
6257 2003-07-30 André Pönitz <poenitz@gmx.net>
6259 * tabular.C: don't use Assert too heavily. This crashes where it
6262 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6264 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6265 is disabled (bug 1232)
6267 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6269 * factory.C: limited 'arg' scope
6271 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6273 * factory.C: fixed Note submenu issues
6275 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6277 * factory.C: submenu for Note/Comment/Greyedout
6279 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6282 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6284 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6287 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6288 greyedout. Patch provided by Jürgen Spitzmüller.
6290 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6292 * kbmap.C (read): fix error message when reading bind files
6294 2003-07-29 Angus Leeming <leeming@lyx.org>
6296 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6297 certainly does not do what it purports to do. I am doing it, and
6298 us, a favour by killing it.
6300 2003-07-28 José Matos <jamatos@lyx.org>
6302 * buffer.C (readBody, do_writeFile):
6303 * paragraph.C(readParagraph): \end_document replaces \the_end.
6305 2003-07-29 André Pönitz <poenitz@gmx.net>
6308 * BufferView_pimpl.[Ch]:
6312 * textcursor.[Ch]: remove toggleToggle & Co
6314 2003-07-28 José Matos <jamatos@fep.up.pt>
6316 * buffer.C (readParagraph):
6317 * params_func (readParToken, readParagraph):
6318 * paragraph.C (write): \layout -> \begin_layout.
6320 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6322 * lyxlex_pimpl.C (setFile): clean up slightly.
6324 * bufferparams.h: add compressed var
6326 * buffer_funcs.C (readFile): adjust for LyXLex change
6327 (newFile): ditto + simplify
6329 * buffer.C (writeFile): handle writing of compressed files
6331 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6332 Check if the file is compressed and set a bufferparm if so.
6334 * Makefile.am (lyx_LDADD): remove explicit -lz
6336 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6338 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6339 makeDocBookFile): put the real LyX version in the first line of
6343 * version.C.in: remove lyx_docversion
6345 * tabular.C (write_attribute): add a template-based version to
6346 write enums properly
6348 2003-07-28 André Pönitz <poenitz@gmx.net>
6353 * text3.C: use doubles again for x-coordinates. They are needed.
6355 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6357 * messages.C (getLocaleDir): use lyx_localedir()
6359 * lyxlex_pimpl.C (setFile): compress stuff
6361 * buffer.C (writeFile): add some compression stuff
6362 (do_writeFile): new func, dont call expliti close... will this
6365 * Makefile.am (lyx_LDADD): add -lz
6367 2003-07-28 José Matos <jamatos@fep.up.pt>
6369 * buffer.C: increment file format.
6370 * paragraph_funcs (readParagraph, readParToken):
6371 * paragraph.C (readParagraph): add \end_layout.
6373 2003-07-27 Angus Leeming <leeming@lyx.org>
6375 * Makefile.am: remove special casing for configure-time setting of
6376 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6378 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6379 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6381 2003-07-26 André Pönitz <poenitz@gmx.net>
6383 * paragraph_func.[Ch]:
6384 * paragraph.C (realizeFont): inline it whereever it is used
6389 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6392 2003-07-26 André Pönitz <poenitz@gmx.net>
6396 * text2.C: get rid of LyXText::need_break_row
6398 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6400 * toc.[Ch]: put namespace toc inside namespace lyx
6402 * MenuBackend.C (expandToc2): adjust for lyx::toc
6405 * lyxfunc.C (dispatch): adjust for lyx::find
6407 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6408 lyx::find instead. Reorganize a bit.
6409 (LyXReplace): rename to replace
6410 (LyXFind): rename to find
6412 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6415 2003-07-26 André Pönitz <poenitz@gmx.net>
6417 * text.C (setHeightOfRow): restrict scope of temporary variable
6419 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6420 code (never has been used?)
6422 2003-07-27 Asger Alstrup <alstrup@local>
6424 * text.C (fill): Optimise algorithm to exploit that we can reuse
6425 the LyXFont for many characters.
6426 (setHeightOfRow): Same thing.
6427 (rowBreakPoint): Same thing.
6429 2003-07-26 Asger Alstrup <alstrup@local>
6431 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6433 * text.C (singleWidth): Spurious font copying in hot-spot
6434 singleWidth avoided. Reorder tests for arabic for efficiency.
6436 * text.C (fill): handle empty paragraphs better.
6438 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6441 * encoding.h: add includes
6443 * lyxrc.C: remove reading of bind files
6445 * lyx_main.C (init): setup bindings and menus only if we have a
6448 * kbmap.C (read): new method. Do the actual reading of bind
6451 * converter.C (dvipdfm_options):
6454 (output): adapt PAPER_* enums.
6456 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6458 * bufferparams.h: remove paper-related enums from there
6460 * paper.h: New file. A trivial header file to hold paper-related
6461 enums. It should later expand to contain many paper-related
6464 * lyxrc.C: declare extern displayTranslator
6466 2003-07-27 José Matos <jamatos@fep.up.pt>
6468 * tabular.[Ch] (linuxdoc): add support for tables and figures
6471 2003-07-27 José Matos <jamatos@fep.up.pt>
6473 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6474 consistency in both functions.
6475 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6477 2003-07-26 Asger Alstrup <alstrup@local>
6479 * rowpainter.C (paintRows): Change algorithm to work directly on
6480 the insets rather than asking every character in the document
6481 whether its an inset.
6483 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6485 * buffer.C (openFileWrite): factorize some code
6487 2003-07-26 Angus Leeming <leeming@lyx.org>
6490 * lyx_main.[Ch]: replace occurances of system_tempdir with
6493 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6495 * rename Inset to InsetOld
6497 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6499 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6500 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6501 which I think is a bit clearer. EDIT is gone, since it was
6502 premature optimisation, and broken for mathed anyway.
6503 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6504 with cursor positioning in insets as well (math insets still do not
6505 work, but that's a different story anyway.) It mysteriously
6506 crashes sometimes with undo in the first paragraph, but I'm fairly
6507 confident that this is a compiler bug.
6509 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6511 * paragraph.C (Paragraph): adjust for new clone return type
6513 (copyIntoMinibuffer): ditto
6515 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6517 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6518 by not having a special case, and always doing a full rebreak of
6519 the document after undo.
6521 2003-07-23 Angus Leeming <leeming@lyx.org>
6523 * factory.C (createInset): InsetExternal::setParams now takes a
6526 2003-07-23 Angus Leeming <leeming@lyx.org>
6528 * factory.C (createInset): changed interface to the external and
6529 graphics mailers' string2params functions.
6531 2003-07-23 Angus Leeming <leeming@lyx.org>
6533 * factory.C (createInset): pass a
6534 Buffer const * parameter to InsetExternalMailer's string2params.
6536 2003-07-22 John Levon <levon@movementarian.org>
6538 * Thesaurus.h: include the right aiksaurus header
6540 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6542 * MenuBackend.C (expand): check menu shortcuts unconditionally
6544 2003-07-21 Angus Leeming <leeming@lyx.org>
6546 * factory.C (createInset): pass a
6547 buffer_path parameter to InsetGraphicsMailer's string2params.
6549 2003-07-21 Angus Leeming <leeming@lyx.org>
6551 * BufferView_pimpl.C (buffer):
6554 * lyxfunc.C (dispatch):
6555 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6556 rather than the grfx shortcut.
6558 2003-07-21 André Pönitz <poenitz@gmx.net>
6560 * rowpainter.C: remove unused variables
6563 * tabular_funcs.h: move to tabular.C
6564 * Makefile.am: adjust
6566 * tabular.[Ch]: basic optical cleaning
6568 * author.h: pass references, not values
6570 2003-07-18 André Pönitz <poenitz@gmx.net>
6578 * text3.C: two-phase drawing for InsetText and InsetTabular
6579 some float -> int changes.
6581 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6583 * lyx_main.C: fix the fix
6585 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6587 * lyx_main.C: fix a crash in batch mode if no files specified
6590 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6592 * format.[Ch] (papersize): moved to BufferParams
6593 * converter.[Ch] (dvips_options): moved to BufferParams
6594 (dvipdfm_options): moved to anon namespace
6595 * bufferparams.[Ch]: added above functions.
6597 2003-07-17 André Pönitz <poenitz@gmx.net>
6601 * text2.C: don't call inset->update() anymore
6603 * metricsinfo.[Ch]: add convenience constructor
6605 2003-07-16 André Pönitz <poenitz@gmx.net>
6610 * text2.C: replace the LyXCursor::irow_ member with
6611 on-demand computation of the value
6613 2003-07-16 John Levon <levon@movementarian.org>
6615 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6617 2003-07-15 André Pönitz <poenitz@gmx.net>
6620 * text2.C: remove no more needed refresh_row
6622 2003-07-15 André Pönitz <poenitz@gmx.net>
6627 * text3.C: refresh_status tristate -> need_update bool
6629 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6631 * lyxtext.h (init): remove reinit argument (act as if always true)
6632 * text2.C: adjust to that
6634 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6636 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6637 * text3.C: use it to delete selections in some cases
6638 (bugs 441, 673, 702, 954).
6640 2003-07-14 André Pönitz <poenitz@gmx.net>
6642 * rowpainter.[Ch]: reduce interface
6644 2003-07-14 André Pönitz <poenitz@gmx.net>
6646 * BufferView_pimpl.C:
6647 * text2.C: adjust after removing unused BufferView * argument
6649 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6651 * text2.C (init): fix a crash fired on resize
6653 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6655 * buffer.[Ch]: added new closing signal
6656 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6657 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6658 BufferView::Pimpl via the closing the signal
6660 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6662 * buffer.[Ch]: take out all bv-related from buffer
6664 * BufferView_pimpl.[Ch]: connect to new signals
6665 * CutAndPaste.C: removed useless asserts
6666 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6669 * lyxfunc.C: moved view-related funciontality from vc here
6670 * paragraph.C: removed outdated comments
6673 2003-07-10 André Pönitz <poenitz@gmx.net>
6675 * BufferView_pimpl.C:
6679 * text2.C: remove InsetText::InnerCache, clean up consequences
6681 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6683 * ispell.C: fix two typos in error messages
6685 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6687 * Extend Note inset to other forms of annotation like Comment
6688 and Greyedout. Right button click gives dialog.
6690 Files modified or added (+):
6694 * ControlNote.[Ch] +
6696 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6697 frontends/controllers
6701 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6703 * aspell.C: add missing namespace lyx::support
6705 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6707 * BufferView.[Ch] (newFile): Add
6708 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6709 * LaTeX.[Ch] (message): added this signal and use it
6710 * buffer.[Ch] (busy, message): added these signals and use them
6711 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6715 * importer.C: use buffer signals instead of direct bv calling
6716 * lyx_cb.[Ch] (ShowMessage): removed
6719 * paragraph_funcs.C:
6720 * text2.C: use buffer signals
6722 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6724 * introduce namespace lyx::graphics
6726 2003-07-02 André Pönitz <poenitz@gmx.net>
6728 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6730 2003-07-01 André Pönitz <poenitz@gmx.net>
6737 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6738 text*.C to text_func.C
6740 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6742 * introduce namespace lyx::support
6744 2003-06-30 André Pönitz <poenitz@gmx.net>
6749 * text.C: re-enable --with-included-string
6751 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6753 * textcursor.C: add <config.h>
6755 * text.C (getWord): remove const from word_location arg
6757 * lyxvc.C (getLogFile): fix const type order
6759 * lyxtext.h: remove const from word_location arg, add arg name
6761 * lyxlayout.h: currect type on labeltype.
6763 * importer.C: correct \file
6765 * converter.C (intToFormat): use std:: on ret val, ws changes
6767 * bufferlist.h: correct \file
6769 * buffer.C (makeLinuxDocFile): fix const type order
6770 (makeDocBookFile): ditto
6771 (fillWithBibKeys): use std:: on stdlib args.
6773 * CutAndPaste.C: fix authors.
6774 (availableSelections): use std:: on return vector
6776 2003-06-27 André Pönitz <poenitz@gmx.net>
6778 * BufferView_pimpl.C:
6779 * bufferview_funcs.C:
6787 * text3.C: remove LyXCursor::row_ member
6790 * text.C: rename fullRebreak() to partialRebreak() and implement
6791 a fullRebreak() that really bereks fully
6793 * textcursor.h: new struct for cursor-related data
6795 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6797 * lyx_main.C (LyX): get full path of document loaded on the
6800 2003-06-26 André Pönitz <poenitz@gmx.net>
6802 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6803 remove unused/broken operator>,<,>=.
6805 * text.C: remove only use of broken operator<= in an Assert().
6807 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6809 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6810 moved errorlist_.clear to showErrorList
6812 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6814 * converter.C (scanLog, runLaTeX):
6815 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6816 move the bv->showErrorList call to the callers
6817 * lyxfunc.C: i.e. here...
6819 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6820 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6821 namespace, the second to...
6822 * buffer_funcs (BufferFormat, parseErrors): added
6823 * errorlist.C (ErrorList(TeXErrors const &)): removed
6825 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6827 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6829 2003-06-24 "Garst R. Reese" <reese@isn.net>
6833 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6835 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6837 * version.C.in: change docversion to 1.4
6839 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6841 * buffer.C: fix a bug just introduced
6843 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6845 * buffer.[Ch]: added the parseError signal and use it, removed
6847 * BufferView.[Ch] (addError): moved to ...
6848 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6849 to the Buffer::parseError signal to catch (guess what) parse errors
6850 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6852 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6854 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6855 ability to create a buffer and to return an existing one from
6856 the list. Moved these functions to...
6857 * buffer_funcs.[Ch]: added
6858 * BufferView.[Ch] (loadLyXFile): added
6859 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6860 job removed from bufferlist::loadLyXFile.
6861 * buffer.C (setReadOnly): make it work without view
6862 (i.e added an if (users))
6864 2003-06-19 Angus Leeming <leeming@lyx.org>
6867 * LyXAction.C (init):
6868 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6869 with LFUN_DIALOG_SHOW <name> <data>.
6871 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6873 * CutAndPaste.C (availableSelections): small compilation fix for
6874 ancient (gcc 2.9x) compilers
6876 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6878 * text3.C (cursorNext): add tmp var
6880 * text2.C (updateCounters): for function calling out of for clause
6881 (replaceSelectionWithString): ditto
6882 (insertStringAsParagraphs): ditto
6883 (getColumnNearX): add tmp var
6884 (setCursorFromCoordinates): add tmp var
6885 (cursorDownParagraph): add tmp var
6886 (deleteEmptyParagraphMechanism): add tmp var
6888 * text.C (insertChar): add tmp var
6890 * rowpainter.C (paintDepthBar): add tmp var
6892 * CutAndPaste.C (availableSelections): potentially check all
6893 paragraphs in a cut to fill the shown strings.
6895 2003-06-18 André Pönitz <poenitz@gmx.net>
6897 * kbmap.[Ch]: use vector<> instead of list<>
6899 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6901 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6902 pasteSelection with index
6904 * text2.C (pasteSelection): modify, call pasteSelection with index
6906 * paragraph.C (asString): reimplement version with no interval to
6907 call the one with interval.
6909 * lyxtext.h: add index arg to pasteSelection
6911 * MenuBackend.C (MenuItem): handle PasteRecent
6912 (Menu::read::Menutags): add md_pasterecent
6914 (expandPasteRecent): new function
6917 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6919 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6921 (availableSelections): new function
6923 2003-06-17 Angus Leeming <leeming@lyx.org>
6925 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6927 2003-06-17 Angus Leeming <leeming@lyx.org>
6930 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6932 * lyxfunc.C (dispatch): invoke it.
6934 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6936 * iterators.C (operator++, ParPosition): reintroduce some
6937 const_cast for the benefit of older compilers.
6939 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6941 * text3.C (dispatch): do not modify clipboard when doing
6942 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6943 LFUN_DELETE_SKIP on a selection selection
6945 2003-06-16 André Pönitz <poenitz@gmx.net>
6951 * tabular.[Ch]: IU of clone() and getLabelList();
6953 2003-06-13 André Pönitz <poenitz@gmx.net>
6955 * tabular.h: compactification
6957 2003-06-12 André Pönitz <poenitz@gmx.net>
6961 * tabular_funcs.h: some renaming plus whitespace
6963 2003-06-12 André Pönitz <poenitz@gmx.net>
6966 * BufferView_pimpl.C:
6972 * toc.C: Return a Paragraph & for ParIterator::operator*()
6974 2003-06-11 John Levon <levon@movementarian.org>
6978 * ToolbarBackend.C: add "Toolbars" section and
6981 2003-06-10 Angus Leeming <leeming@lyx.org>
6984 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6986 * lyxfunc.C (dispatch): invoke it.
6988 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6990 * main.C: protect <ios> with HAVE_IOS
6991 (main): protect sync_with_stdio with HAVE_IOS
6993 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6995 * text2.C (cutSelection): adjust
6996 (pasteSelection): adjust
6998 * messages.C: handle get of empty string
7000 * main.C (main): use sync_with_stdio(false)
7002 * lyxfunc.C (dispatch): adjust
7004 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7005 (WriteAs): remove unneeded BufferView arg.
7007 * bufferparams.h: use correct types on papersize, papersize2 and
7010 * bufferparams.C (readToken): adjust for type
7011 (writeLaTeX): add missing cases to switch.
7013 * bufferlist.C (quitWriteBuffer): adjust
7016 * buffer.C (asciiParagraph): remove some commented code.
7018 * CutAndPaste.C: remove current_view extern variable.
7019 (cutSelection): add BufferParams arg.
7020 (eraseSelection): add BufferParams arg.
7021 (pasteSelection): add Buffer const & arg
7023 2003-06-07 John Levon <levon@movementarian.org>
7026 * paragraph_funcs.C:
7027 * paragraph_pimpl.C:
7031 * paragraph.C: allow InsetERT to freely space lines,
7032 and some consolidation of code
7034 2003-06-06 José Matos <jamatos@fep.up.pt>
7036 * buffer.C (makeDocBookFile): fix bug #821
7038 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7040 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7042 2003-06-04 Angus Leeming <leeming@lyx.org>
7044 * buffer.C: bump format to 224.
7046 2003-06-05 André Pönitz <poenitz@gmx.net>
7048 * text2.C (redoParagraphs): remove two const_cast<>
7050 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7052 * ParagraphList.h: remove last remnants of NO_STD_LIST
7054 2003-06-03 Angus Leeming <leeming@lyx.org>
7056 * factory.C (createInset): small change to the way InsetExternal's params
7059 2003-06-04 André Pönitz <poenitz@gmx.net>
7061 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7063 * paragraph_pimpl.h:
7064 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7066 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7068 * undo_funcs.C: make some simple cases of undo work again
7070 2003-06-03 John Levon <levon@movementarian.org>
7072 * ispell.C: HPUX doesn't have sys/select.h
7075 2003-06-03 John Levon <levon@movementarian.org>
7077 * CutAndPaste.C: update tabular and include inset
7082 * paragraph.C: remove owningBuffer(), don't pass Buffer
7085 * factory.C: insetGraphicsParams changed
7087 2003-06-02 John Levon <levon@movementarian.org>
7093 * text3.C: remove insetparent
7095 2003-06-02 John Levon <levon@movementarian.org>
7098 * buffer.C: fix inset_iterator.end(), move out of line
7101 2003-06-01 John Levon <levon@movementarian.org>
7103 * text3.C: use a proper cut/paste when doing inset
7104 insert (from Jürgen Spitzmüller)
7106 2003-06-01 John Levon <levon@movementarian.org>
7108 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7110 2003-05-30 André Pönitz <poenitz@gmx.net>
7112 * rowpainter.C: unify second drawing phase
7114 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7116 * trans_mgr.C: remove one case of current_view
7118 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7120 * paragraph_funcs.h: remove paragraph.h include
7122 * paragraph.h: delete NO_STD_LIST stuff
7124 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7126 * buffer.h: remove paragraph.h include
7128 * ParagraphList.C: delete file
7130 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7132 * toc.C (getTocList): adjust
7134 * paragraph_pimpl.C (validate): adjust
7136 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7138 * paragraph.C (Paragraph): adjust
7139 (getPositionOfInset): use const_iterator, adjust
7140 (bibitem): use const_iterator, adjust
7141 (setInsetOwner): adjust
7143 * iterators.C (operator++): adjust
7145 * InsetList.[Ch]: Replace selfmade iterator with standard
7146 vector::iterator also introduce const_iterator. Remove getPos,
7147 getInset and setInset from InsetTable. Adjust accordingly.
7149 * BufferView.C (lockInset): adjust
7150 (ChangeInsets): adjust
7152 * tabular.[Ch]: delete commented same_id functions
7154 2003-05-28 John Levon <levon@movementarian.org>
7156 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7158 2003-05-28 André Pönitz <poenitz@gmx.net>
7160 * metricsinfo.[Ch]: remove 'fullredraw' member
7162 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7164 * lyxtextclass.C (operator): remove caching.
7166 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7170 * text2.C (cursorBottom): adjust
7171 (setCounter): use ParagraphList::find, adjust
7173 * text.C (workWidth): use ParagraphList::find, adjust
7175 * lyxcursor.C (LyXCursor): adjust
7177 * buffer.C (inset_iterator): adjust
7179 * ParagraphList.h: make iterator(value_type) private, make
7180 ParagraphList a friend of iterator.
7182 * ParagraphList.C (find): new function
7184 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7186 2003-05-27 André Pönitz <poenitz@gmx.net>
7188 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7190 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7192 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7194 2003-05-26 John Levon <levon@movementarian.org>
7196 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7198 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7200 * remove same_id from function signatures, adjust.
7202 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7204 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7206 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7208 * paragraph.C (Paragraph): get rid of same_ids parameter
7210 * ParagraphList.C (insert): adjust
7213 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7215 * paragraph_funcs.C (breakParagraph): adjust
7216 (breakParagraphConservative): adjust
7218 * buffer.C (readParagraph): adjust
7220 * ParagraphList.C (insert): take a reference instead of a pointer
7223 * paragraph.[Ch] (id): new function
7225 * bufferlist.C (newFile): adjust
7227 * ParagraphList.C (ParagraphList): adjust
7229 (push_back): take a reference instead of a pointer.
7231 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7233 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7236 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7237 set else use old code.
7239 * ParagraphList.C: remove all NO_NEXT code and only compile this
7240 code of NO_STD_LIST is set.
7242 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7244 * BufferView_pimpl.C:
7254 * graphics/GraphicsConverter.C:
7255 * graphics/PreviewLoader.C: header adjustment
7257 2003-05-23 Angus Leeming <leeming@lyx.org>
7259 * LaTeXFeatures.[Ch] (useBabel): new method.
7260 * bufferparams.C (writeLaTeX): use it.
7262 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7264 * ParagraphList.h (set): remove unused function.
7266 2003-05-23 André Pönitz <poenitz@gmx.net>
7269 * BufferView_pimpl.C:
7273 * undo_funcs.C: setUndo reworked
7275 * iterators.[Ch]: add access to topmost ParagraphList
7277 * lyxtext.[Ch] (workWidth): add a const
7279 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7281 * texrow.[Ch] (increasePos): remove function
7282 * exporter.C (export): removed unused var and outdated comment
7284 2003-05-23 Angus Leeming <leeming@lyx.org>
7286 * latexrunparams.h: rename fragile as moving_arg.
7287 * paragraph.C (simpleTeXOnePar): ditto.
7288 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7290 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7292 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7294 (textUndoOrRedo): comment out a currently unused var.
7296 * paragraph.h (NO_NEXT): enable NO_NEXT
7298 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7300 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7302 * exporter.C (Export): adjust for removeAutoInsets removal.
7304 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7306 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7308 * BufferView.[Ch] (removeAutoInsets): delete function
7310 2003-05-22 Angus Leeming <leeming@lyx.org>
7312 * latexrunparams.h: add a free_spacing variable.
7314 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7315 to pass moving_arg, as the data is stored in runparams.fragile.
7317 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7318 to Inset::latexOptional or to simpleTeXOnePar.
7320 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7321 free_spacing arg to Inset::latexOptional.
7323 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7326 2003-05-22 Angus Leeming <leeming@lyx.org>
7328 * latexrunparams.h: add fragile and use_babel variables.
7330 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7331 * buffer.C (makeLaTeXFile): store this returned value in
7332 runparams.use_babel, thus passing it to the inset::latex methods.
7334 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7335 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7337 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7338 longer has a fragile arg, as it is stored in runparams.fragile.
7340 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7341 moving_arg parameter as the data is stored in runparams.fragile.
7343 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7344 a fragile parameter as the data is stored in runparams.fragile.
7346 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7348 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7350 2003-05-22 Angus Leeming <leeming@lyx.org>
7352 * latexrunparams.h: add a 'bool nice' which defaults to false.
7354 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7355 now encapsulated within runparams.
7357 * bufferlist.C (updateIncludedTeXfiles):
7358 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7360 2003-05-22 Angus Leeming <leeming@lyx.org>
7362 * latexrunparams.h: new file containing struct LatexRunParams.
7363 * Makefile.am: add new file.
7365 * LaTeX.[Ch] (c-tor, run):
7366 * buffer.[Ch] (makeLaTeXFile):
7367 * bufferlist.[Ch] (updateIncludedTeXfiles):
7368 * converter.C (convert, scanLog):
7369 * converter.[Ch] (runLaTeX):
7370 * exporter.C (Export):
7371 * paragraph.[Ch] (simpleTeXOnePar):
7372 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7373 * paragraph_funcs.[Ch] (latexParagraphs):
7374 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7375 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7376 pass around a LatexRunParams parameter.
7378 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7380 * paragraph.[Ch]: remove unused constructor
7382 * ParagraphList.C (erase): new function, taking two iterators
7384 2003-05-22 André Pönitz <poenitz@gmx.net>
7386 * undo_funcs.C: remove duplicated code
7388 * iterator.[Ch]: operator=
7390 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7392 * tabular.C (SetMultiColumn): ws changes
7394 * rowpainter.C (paintFirst): get rid of a ->previous
7396 * lyx_cb.C (getPossibleLabel): parlist simplification
7398 * BufferView.C (ChangeInsets): simplify slightly.
7400 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7402 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7403 * lfuns.h: new LFUN_SPACE
7404 * lyxfunc.C: protected space has a new lfun
7405 * paragraph_funcs.C: read new space insets
7407 * factory.C: handle new space insets
7409 2003-05-22 André Pönitz <poenitz@gmx.net>
7412 * BufferView_pimpl.C:
7415 * undo_funcs.C: return a ParIterator from getParFromID.
7417 * iterators.[Ch]: add two const's
7419 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7421 * toc.C (getTocList): adjust
7423 * iterators.[Ch]: rework for parlist
7425 * buffer.C (par_iterator_begin): adjust
7426 (par_iterator_end): adjust
7428 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7430 * BufferView.C (removeAutoInsets): adjust
7431 (ChangeInsets): adjust
7433 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7435 * text.C (top_y): fix bug 1110
7437 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7439 * errorlist.[Ch]: added
7442 * BufferView_pimpl.C:
7443 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7446 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7448 * Makefile.am: ensure that lyx is relinked upon changes to the
7449 various "convenience" libs.
7451 2003-05-20 Angus Leeming <leeming@lyx.org>
7453 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7454 files are compiled in alphabetical order again.
7456 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7458 2003-05-19 Angus Leeming <leeming@lyx.org>
7460 * gettext.[Ch]: remove "char const * _(char const *)".
7462 2003-05-19 André Pönitz <poenitz@gmx.net>
7464 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7473 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7475 2003-05-19 André Pönitz <poenitz@gmx.net>
7479 * lyxtextclass.[Ch]:
7481 * paragraph_funcs.[Ch]:
7483 * text3.C: more insetenv work
7485 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7487 * ParagraphParameters.C (params2string): small bug fixed
7489 2003-05-16 André Pönitz <poenitz@gmx.net>
7492 * bufferview_funcs.C: patch from Kornel Benko to prevent
7493 crash when _(...) is called twice in a statement
7495 2003-05-16 André Pönitz <poenitz@gmx.net>
7502 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7504 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7506 * lyx_main.C (init): remove spurious static_cast
7508 2003-05-14 André Pönitz <poenitz@gmx.net>
7510 * BufferView.C: fix format string
7512 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7514 * BufferView.[Ch] (insertErrors): removed
7515 * BufferView.[Ch] (showErrorList): added
7516 * buffer.C (runChkTeX):
7517 * converter.C (scanLog): call showErrorList instead of inserterrors
7519 2003-05-13 André Pönitz <poenitz@gmx.net>
7521 * BufferView_pimpl.C:
7523 * bufferview_func.C:
7530 * tabular_funcs.h: tostr() from its own header
7532 * ParagraphParameters.C:
7537 * text3.C: STRCONV()
7539 2003-05-12 André Pönitz <poenitz@gmx.net>
7542 * BufferView_pimpl.C:
7546 * ParagraphParameters.C:
7550 * bufferview_funcs.C:
7563 * paragraph_funcs.C:
7567 * text3.C: boost::format -> bformat all over the place
7570 2003-05-09 André Pönitz <poenitz@gmx.net>
7572 * LColor.[Ch]: Pimpl the #include <map> away
7574 2003-05-09 John Levon <levon@movementarian.org>
7576 * bufferlist.C: never remove emergency saves
7578 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7580 * Makefile.am: better lib building
7582 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7584 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7586 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7587 (simpleTeXSpecialChars): adjust
7588 (simpleTeXSpecialChars): adjust
7589 * paragraph.C (simpleTeXOnePar): adjust
7590 * buffer.C (makeLaTeXFile): adjust
7592 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7594 * text2.C (changeDepth): parlist cleanup
7595 (getColumnNearX): ditto
7597 * rowpainter.C (getLabelFont): parlist cleanup
7599 * bufferlist.C (newFile): parlist cleanup
7601 * CutAndPaste.C (eraseSelection): parlist cleanup
7603 * BufferView_pimpl.C (trackChanges): parlist cleanup
7606 * BufferView.C (lockInset): parlist cleanup.
7607 (ChangeInsets): ditto
7609 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7611 * CutAndPaste.h: Update file header.
7613 * CutAndPaste.C: Update file header.
7614 Store the parts cut out of the Document in a limited_stack.
7615 (copySelection): adjust
7616 (pasteSelection): new function, takes the index in the limited stack.
7617 (nrOfParagraphs): adjust
7618 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7619 simplify error inset insertion.
7620 (checkPastePossible): adjust
7622 2003-05-06 John Levon <levon@movementarian.org>
7624 * text2.C: don't cast wrap inset to float
7626 2003-05-05 André Pönitz <poenitz@gmx.net>
7629 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7631 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7632 few naked Paragraph *.
7634 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7636 * bufferparams.C: Output warning if a document with missing
7637 TeX document class is loaded
7638 * exporter.C: Disable TeX exports if the document class is missing
7641 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7642 isTeXClassAvailable()
7644 2003-05-03 John Levon <levon@movementarian.org>
7647 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7648 explicit cursor show/hide
7650 * BufferView_pimpl.h:
7651 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7652 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7654 * lyxfunc.C: hide cursor before dispatching.
7659 * text3.C: remove explicit cursor hides
7661 2003-05-02 André Pönitz <poenitz@gmx.net>
7663 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7666 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7669 * text2.C: tiny whitespace
7671 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7673 * undo_funcs.C: almost only ws changes.
7675 * ParagraphList.C (splice): just return if pl is empty.
7677 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7679 * ParagraphList.C (splice): new function.
7681 * CutAndPaste.C (pasteSelection): use it
7683 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7685 * CutAndPaste.C (pasteSelection): remove the last next and
7686 previous from this file.
7688 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7690 * CutAndPaste.C (pasteSelection): more clean up, user proper
7691 ParagraphList functions for pasteing.
7693 * ParagraphList.C (insert): new function, three arg insert
7695 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7697 * ParagraphList.C (insert): new function, three arg insert
7699 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7702 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7704 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7706 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7708 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7710 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7712 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7713 (copySelection): clean up a bit.
7714 (pasteSelection): use make_pair
7716 * ParagraphList.C (ParagraphList): implement copy constructor
7717 (operator=): implement, base on copy constructor.
7720 * paragraph.C (erase): return a bool
7722 * paragraph_pimpl.C (erasePos): remove function, move contents...
7723 (erase): ... here. Return a bool.
7724 (erase): call erase instead of erasePos.
7726 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7728 * ParagraphList.h: define PitPosPair
7729 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7730 ParagraphList, fix a bug on pasting multiple pars
7731 * text2.C: change interface to C&P
7733 2003-04-30 André Pönitz <poenitz@gmx.net>
7735 * undo_func.C: revert part of yesterday's patch 2
7737 2003-04-30 John Levon <levon@movementarian.org>
7739 * LColor.C: s/tabular/table/
7741 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7743 * text3.C (dispatch): do not convert iterator -> pointer
7744 * undo_funcs.C (setCursorParUndo): ditto
7745 * text_funcs.C (transposeChars): ditto
7747 * text2.C (setLayout): ws changes only
7749 * text.C (breakParagraph): do not convert iterator -> pointer
7751 (acceptChange): ditto
7752 (rejectChange): ditto
7757 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7760 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7762 * text3.C (gotoInset): YABG (yet another bad getChar)
7764 2003-04-29 André Pönitz <poenitz@gmx.net>
7766 * paragraph.h: make operator= private unimplemented as long as
7769 * ParagraphList.C: whitespace
7772 * paragraph_pimpl.[Ch]:
7773 * paragraph_funcs.C:
7775 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7778 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7780 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7782 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7783 * paragraph.[Ch] (erase):
7784 * paragraph_pimpl.[Ch] (erase): change return type and value
7785 * text2.C (cutSelection): some rework
7787 2003-04-28 John Levon <levon@movementarian.org>
7789 * bufferlist.C: changes for unsaved changes dialog
7791 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7793 * bufferlist.C (newFile): set language (messages_) for new
7796 * buffer.C (readFile): ws changes only.
7798 2003-04-28 André Pönitz <poenitz@gmx.net>
7803 * BufferView_pimpl.C:
7804 * BufferView.C: getParFromID related ParagraphList::iterator changes
7806 2003-04-28 André Pönitz <poenitz@gmx.net>
7808 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7811 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7813 * messages.C: remove one more localedir class variable.
7815 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7817 * messages.C (getLocaleDir): singleton generation function
7819 (Messages): add a default constructor.
7821 * main.C (main): do not setup localedir here, do not call
7824 * gettext.C (_): use it.
7825 (gettext_init): delete funciton
7827 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7829 * gettext.C (getLyXMessages): new singleton generating function.
7831 * buffer.C (updateDocLang): adjust
7833 * Makefile.am (messages.o): add target
7834 (main.o): remove target
7836 2003-04-27 John Levon <levon@movementarian.org>
7841 * lyxvc.C: specify cancel button in Alert::prompt
7843 2003-04-26 John Levon <levon@movementarian.org>
7848 * LyXAction.C: add LFUN_INSET_SETTINGS
7850 * lyxfunc.C: don't enable tabular-feature when there's
7851 just any locking inset
7853 2003-04-26 John Levon <levon@movementarian.org>
7855 * bufferlist.C: re-add Cancel to buffer close question
7857 * lyxfunc.C: fix import UI a bit
7859 2003-04-25 John Levon <levon@movementarian.org>
7861 * gettext.C: remove the broken asserts for now
7863 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7865 * messages.C: make case where setlocale cannot comply work better.
7867 * buffer.C (updateDocLang): new function
7868 (changeLanguage): use it
7871 * text2.C (setCounter): use B_ a bit.
7873 * lyxlayout.C (Read): be sure to trim the label strings.
7875 * messages.C (Messages): fix typo in comment
7877 * buffer.C (readFile): set message_ after file is loaded.
7878 (makeDocBookFile): remove double return
7879 (changeLanguage): reset message_ upon language change.
7880 (B_): new func, use this to get translated buffer strings.
7882 * main.C: add myself and Jean Marc as authors.
7884 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7886 * messages.[hC]: pimplify Messages, and three different pimpls to be
7887 used in different circumstances.
7889 * gettext.[Ch]: change for use with new message code.
7891 2003-04-24 André Pönitz <poenitz@gmx.net>
7893 * factory.C: support for eqref
7895 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7897 * messages.[Ch]: add missing char
7899 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7901 * messages.[Ch]: New files
7903 2003-04-18 John Levon <levon@movementarian.org>
7907 * BufferView_pimpl.C:
7911 * text2.C: remove layout-copy/paste (bug 778)
7913 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7915 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7917 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7919 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7920 if they succeed. Act accordingly.
7922 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7924 * text2.C (setCharFont): adjust
7925 (setCounter): adjust
7926 (insertStringAsLines): adjust
7928 * text.C (leftMargin): adjust
7929 (setHeightOfRow): adjust
7931 * rowpainter.C (paintFirst): adjust
7934 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7936 (isFirstInSequence): ditto
7937 (getEndLabel): ditto
7940 * paragraph.C (getParLanguage): comment out some hard stuff.
7942 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7944 (simpleDocBookOnePar): ditto
7945 (makeDocBookFile): use ParagraphList::iterator
7947 * CutAndPaste.C (pasteSelection): adjust
7949 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7951 * text2.C (getFont): adjust
7952 (getLayoutFont): adjust
7953 (getLabelFont): adjust
7955 * paragraph_funcs.C (TeXOnePar): adjust
7957 * buffer.C (simpleLinuxDocOnePar): adjust
7958 (simpleDocBookOnePar): adjust
7960 * CutAndPaste.C (pasteSelection): adjust
7962 * BufferView.C (getEncoding): adjust
7964 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7966 2003-04-16 John Levon <levon@movementarian.org>
7968 * lyxfind.C: use parlist stuff for search/changes
7970 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7972 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7974 * text2.C (deleteEmptyParagraphMechanism): adjust
7976 * text2.[Ch] (ownerParagraph): delete func (both of them
7978 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7980 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7982 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7984 * ParagraphList.C: prepare for NO_NEXT
7986 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7988 * text2.C (getFont): adjust
7989 (getLayoutFont): adjust
7990 (getLabelFont): adjust
7992 * paragraph.C (getFont): adjust
7993 (getLabelFont): adjust
7994 (getLayoutFont): adjust
7996 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7998 2003-04-15 John Levon <levon@movementarian.org>
8002 * lyx_main.C: handle Include in .ui files
8004 2003-04-15 John Levon <levon@movementarian.org>
8006 * MenuBackend.C: make the doc files length shorter
8009 * ToolbarBackend.C: handle toolbar placement flags,
8012 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8014 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8017 * paragraph_funcs.C (TeXOnePar): adjust
8019 * paragraph.C (getLabelFont): add outerfont arg, adjust
8020 (getLayoutFont): ditto
8021 (simpleTeXOnePar): adjust
8023 * paragraph_pimpl.C (realizeFont): delete func
8025 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8027 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8028 row argument, constify cur argument.
8030 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8032 * text2.C (getFont): adjust
8033 (getLayoutFont): adjust
8034 (getLabelFont): adjust
8036 * paragraph_funcs.C (TeXOnePar): adjust
8037 (outerFont): new func...
8038 (realizeFont): ...moved out from here, changed this to facilitate
8041 * paragraph.C (getFont): take outerfont as arg, adjust
8042 (simpleTeXOnePar): add outerfont arg, adjust
8044 * buffer.C (simpleLinuxDocOnePar): adjust
8045 (simpleDocBookOnePar): adjust
8047 * CutAndPaste.C (pasteSelection): adjust
8049 * BufferView.C (getEncoding): adjust
8051 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8053 * text2.C (setCharFont): adjust
8054 (setCounter): adjust
8056 * text.C (leftMargin): adjust
8057 (setHeightOfRow): adjust
8059 * rowpainter.C (paintFirst): adjust
8062 * paragraph_pimpl.C (realizeFont): adjust
8064 * paragraph.C (isFirstInSequence): move from here...
8065 * paragraph_funcs.C (isFirstInSequence): ...to here
8067 * paragraph.C (outerHook): move from here...
8068 * paragraph_funcs.C (outerHook): ...to here
8070 * paragraph.C (depthHook): move from here...
8071 * paragraph_funcs.C (depthHook): ...to here
8073 * paragraph.C (getEndLabel): move from here...
8074 * paragraph_funcs.C (getEndLabel): ...to here
8076 * text2.C (realizeFont): move from here...
8077 * paragraph_funcs.C (realizeFont): ...to here
8079 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8081 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8083 2003-04-14 Angus Leeming <leeming@lyx.org>
8085 * LColor.[Ch]: scrap LColor mathcursor.
8087 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8089 * lyxlex.[Ch] (text): delete function
8090 * trans.C (Load): adjust
8091 * paragraph_funcs.C (readParToken): adjust
8093 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8095 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8096 vector<char> instead of a char[].
8098 * lyxlex_pimpl.C (getString): adjust
8100 (lex): use getString
8104 * lyxlex.C (text): use pimpl_->getString()
8108 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8110 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8111 (makeFontEntriesLayoutSpecific): temp var for par.size()
8112 (setLayout): temp var for ownerParagraphs().end()
8113 (fullRebreak): temp var for rows().end()
8114 (selectionAsString): temp var for boost::next(startpit), realize
8115 that the while really is a regular for loop.
8116 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8117 setCursor in one place.
8118 (setParagraph): temp vr for ownerParagraphs().end()
8119 (updateCounters): make the while loop a for loop
8120 (cutSelection): temp var for ownerParagraphs().end()
8121 (updateInset): make the do {} while() a regular for loop
8122 (getCursorX): use temp vars
8123 (setCurrentFont): use temp vars
8124 (getColumnNearX): use temp vars
8126 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8128 * text.C (transformChar): use temp var for getChar
8129 (computeBidiTables): use temp var for row->par()
8130 (fill): move temp vars for row->par() and pit->layout() earlier in
8132 (labelFill): use temp var for row->par()
8133 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8134 asc and desc, realize that pit never changes and that firstpit is
8135 just a duplicate and not needed. Exchange rit->par() with pit in a
8137 (breakAgain): use a temp var for boost::next(rit)
8138 (breakAgainOneRow): ditto
8139 (breakParagraph): use a temp var for rows().begin()
8140 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8141 (cursorRightOneWord): use temp var for cursor.par() and
8142 cursor.pos(), remove usage of tmpcursor.
8143 (cursorLeftOneWord): use temp var for cursor.par() and
8144 cursor.pos() only set cur at end of function.
8146 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8148 * text.C, text2.C: exchange all usage of Paragraph::next with
8149 boost::next(ParagraphList::iterator)
8151 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8153 * text2.C (cursorTop): simplify implementation
8154 (cursorBottom): ditto
8155 (setParagraph): use ParagraphList::iterator
8156 (setCurrentFont): adjust
8157 (getColumnNearX): adjust
8158 (cursorRight): adjust
8159 (cursorLeft): remove usage of Paragraph::previous
8160 (cursorUpParagraph): ditto
8161 (deleteEmptyParagraphMechanism): slight cleanup
8163 * text.C (isBoundary): take a Paragraph const & instead of a
8165 (addressBreakPoint): ditto
8166 (leftMargin): remove usage of Paragraph::previous.
8167 (setHeightOfRow): ditto
8168 (cursorLeftOneWord): ditto
8169 (selectNextWordToSpellcheck): ditto
8172 (breakParagraph): remove one usage of Paragraph::next
8173 (redoParagraph): ditto
8174 (acceptChange): ditto
8175 (insertChar): adjust
8176 (rowBreakPoint): adjust
8178 * bufferview_funcs.C (toggleAndShow): adjust
8180 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8182 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8183 methods to access it.
8185 * text.C: Added updateRowPositions to compute all row positions.
8186 Make top_y and getRowNearY() to use the cached y position
8188 2003-04-11 John Levon <levon@movementarian.org>
8190 * text.C (rowBreakPoint): reintroduce the labelEnd
8191 checks, code copied from the row fill stuff. Deep voodoo.
8193 * text.C (fill): add a comment and debugging for the
8196 2003-04-11 John Levon <levon@movementarian.org>
8198 * text.C: make sure fullrow insets get wrapped to the next line,
8199 even when they're in a manual label
8201 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8203 * text2.C (insertParagraph): make it take ParagraphList::iterator
8205 (setLayout): make it return ParagraphList::iterator
8206 (redoParagraphs): ditto
8208 (checkParagraph): ditto
8210 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8212 * text2.C: adjust several funcs.
8213 (realizeFont): take a ParagraphList::iterator as arg.
8214 (getLayoutFont): ditto
8215 (getLabelFont): ditto
8216 (setCharFont): ditto
8218 * text.C: adjust several funcs.
8220 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8222 * text.C (selectNextWordToSpellcheck): don't accidentally
8225 2003-04-10 John Levon <levon@movementarian.org>
8227 * ToolbarBackend.C (getIcon): special handling for
8230 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8232 * text2.C (cursorRight): a getChar assert fixed
8234 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8236 * text2.C (getFont): change to take a ParagraphList::iterator
8237 instead of Paragraph*
8238 Adjust several functions.
8240 * text.C (transformChar): change to take a ParagraphList::iterator
8241 instead of Paragraph*
8242 (singleWidth): ditto
8243 Adjust several functions.
8245 * rowpainter.C: adjust several functions
8246 * rowpainter.h:store a ParagraphList::iterator and not a
8250 2003-04-09 John Levon <levon@movementarian.org>
8255 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8256 and the "help" bits as well
8258 2003-04-09 John Levon <levon@movementarian.org>
8261 * ToolbarBackend.C: allow multiple toolbars
8263 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8265 * undo_funcs.C (setCursorParUndo): adjust
8267 * text_funcs.C (transposeChars): adjust
8269 * text3.C (gotoNextInset): adjust
8272 * text2.C (setLayout): adjust
8273 (changeDepth): adjust
8275 (redoParagraphs): adjust
8276 (selectionAsString): adjust
8277 (setParagraph): adjust
8278 (insertInset): adjust
8279 (cutSelection): adjust
8280 (copySelection): adjust
8281 (pasteSelection): adjust
8282 (insertStringAsLines): adjust
8283 (updateInset): adjust
8284 (setCursor): change to take a ParagraphList::iterator parameter
8285 (setCursorIntern): change to take a ParagraphList::iterator parameter
8286 (setCurrentFont): adjust
8287 (cursorLeft): adjust
8288 (cursorRight): adjust
8289 (deleteEmptyParagraphMechanism): adjust
8291 * text.C (breakParagraph): adjust
8292 (insertChar): adjust
8293 (acceptChange): adjust
8294 (rejectChange): adjust
8295 (selectNextWordToSpellcheck): adjust
8296 (changeCase): adjust
8300 * lyxfind.C (SearchForward): adjust
8301 (SearchBackward): adjust
8302 (nextChange): adjust
8304 * lyxcursor.C (par): adjust
8306 * lyxcursor.h: store a ParagraphList::iterator instead of a
8309 * lyx_cb.C (getPossibleLabel): adjust
8311 * bufferview_funcs.C (toggleAndShow): adjust
8313 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8316 * BufferView.C (removeAutoInsets): adjust
8317 (lockedInsetStoreUndo): adjust
8319 2003-04-09 John Levon <levon@movementarian.org>
8321 * ToolbarBackend.C: try icon without argument
8322 if with argument fails
8324 2003-04-08 John Levon <levon@movementarian.org>
8327 * ToolbarBackend.C: add getIcon(), handle tooltip,
8328 and change from "Icon" to "Item".
8330 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8332 * BufferView.C (lockInset): another bad getchar crunched
8334 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8336 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8339 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8341 * lyxfind.C (searchForward, searchBackwards): bug 782
8343 2003-04-07 John Levon <levon@movementarian.org>
8345 * paragraph.C: remove dead comment
8347 * text.C: remove troublesome depth-fiddling code
8348 in leftMargin() and rightMargin() (bug 1017)
8350 * text.C: fix breaking of rows in nested lists
8353 * text2.C (updateCounters): fix up depth values
8356 2003-04-07 John Levon <levon@movementarian.org>
8358 * BufferView_pimpl.C: clear message when doc finishes resizing,
8359 and after a mouse event
8361 * lyxfunc.C: clear message after exiting inset
8363 2003-04-07 John Levon <levon@movementarian.org>
8365 * bufferview_funcs.C: show math status not outside
8366 status in the statusbar
8368 2003-04-07 John Levon <levon@movementarian.org>
8370 * lyxfunc.C: note status changed after a depth change
8372 2003-04-04 Angus Leeming <leeming@lyx.org>
8374 * LaTeX.h: move AuxInfo operator==, != out of line.
8375 Remove LaTeX virtual destructor; nothing derives from it.
8376 Move operator()() out of public area and rename it startscript().
8377 Change protected for private.
8379 2003-04-04 Angus Leeming <leeming@lyx.org>
8382 * text2.C: remove unneeded #includes.
8384 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8386 * text2.C (dEPM): fix the heigth of the next row
8388 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8390 * text.C: squashed an invalid getChar requester + some ws changes
8392 2003-04-03 John Levon <levon@movementarian.org>
8394 * bufferview_funcs.h:
8395 * bufferview_funcs.C:
8398 * text2.C: make getStatus work for the env depth lfuns
8400 2003-04-03 John Levon <levon@movementarian.org>
8402 * bufferview_funcs.h:
8403 * bufferview_funcs.C:
8406 * text2.C: parlistize decDepth(), by merging it with incDepth()
8408 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8410 * lyxrow.h: store a ParagraphList::iterator instead of a
8411 Paragraph* and adjust other class functions to suit.
8413 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8416 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8418 * text2.C (setCursor): do not anchor to cursor row for the time being
8420 2003-04-02 John Levon <levon@movementarian.org>
8427 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8429 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8431 * paragraph.h: make ParagraphList and ParagraphList::iterator
8432 friends of Paragraph.
8434 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8436 * ParagraphList.C: Use the private next_ and previous_ from
8439 2003-04-01 John Levon <levon@movementarian.org>
8443 * Makefile.am: rename, remove defaults gunk
8446 * MenuBackend.C: remove defaults gunk
8449 * Languages.C: remove defaults gunk
8452 * lyx_main.C: error out if files couldn't be found.
8454 2003-04-02 John Levon <levon@movementarian.org>
8456 * text2.C: make incDepth() use parlist
8458 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8460 * undo_funcs.C (firstUndoParagraph): adjust
8462 * text3.C (gotoInset): adjust
8463 (dispatch): adjust, and rewrite loop.
8465 * text2.C (init): adjust, and rewrite loop.
8466 (redoParagraphs): adjust
8467 (updateInset): adjust, and rewrite loop.
8468 (deleteEmptyParagraphMechanism): adjust
8470 * tabular.C (LyXTabular): adjust
8471 (SetMultiColumn): adjust
8474 * lyxtext.[Ch] (ownerParagraph): delete function
8475 (ownerParagraphs): new function returns a ParagraphList.
8477 * BufferView.C (removeAutoInsets): adjust
8478 (insertErrors): adjust
8479 (setCursorFromRow): adjust
8481 2003-04-01 Angus Leeming <leeming@lyx.org>
8483 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8486 2003-04-02 John Levon <levon@movementarian.org>
8492 * text_funcs.C: make transposeChars a free function
8494 * lyxrow_funcs.C: remove wrong comment
8496 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8499 * rowpainter.C: adjust
8504 * lyxrow_funcs. [Ch]: new files
8506 * lyxrow.[Ch]: remove next and previous pointers
8507 (next,previous): remove accessor functions
8508 (isParEnd): move to lyxrow_funcs
8509 (lastPos): move to lyxrow_funcs
8510 (nextRowIsAllInset): move to lyxrow_funcs
8511 (lastPrintablePos): move to lyxrow_funcs
8512 (numberOfSeparators): move to lyxrow_funcs
8513 (numberOfHfills): move to lyxrow_funcs
8514 (numberOfLabelHfills): move to lyxrow_funcs
8515 (hfillExpansion): move to lyxrow_funcs
8519 * bufferview_funcs.C (toggleAndShow): adjust
8521 * RowList.h: Remove class RowList from file leave just a
8524 * RowList.C: delete file
8526 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8529 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8531 * text3.C (cursorPrevious): adjust
8532 (cursorNext): adjust
8535 * text2.C (redoHeightOfParagraph): adjust
8536 (redoDrawingOfParagraph): adjust
8539 * text.C (breakParagraph): adjust
8540 (insertChar): adjust
8543 * rowpainter.C (RowPainter): adjust
8544 (leftMargin): simplify and adjust
8545 (most rowpainter functions): adjust.
8547 * rowpainter.h: store the row as RowList::iterator not as Row*
8549 * lyxcursor.C (row): taka RowList::iterator as arg
8552 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8555 2003-04-01 Angus Leeming <leeming@lyx.org>
8557 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8558 stuff like bool Bool.
8560 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8562 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8565 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8567 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8570 * lyxtext.h (rows): drop one version and leve a const variant that
8571 returns a RowList::iterator.
8573 2003-03-31 Angus Leeming <leeming@lyx.org>
8575 * text.C (fill): ensure that the signature is the same as that in the
8578 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8580 * text2.C (redoParagraphs): adjust
8581 (updateCounters): adjust
8582 (checkParagraph): adjust
8583 (getColumnNearX): adjust and reformat a bit.
8585 * text.C (top_y): adjust
8587 (leftMargin): adjust
8588 (prepareToPrint): adjust
8590 (getRowNearY): adjust
8592 * lyxtext.h: make rowlist_ mutable.
8594 * RowList.h: add const_iterator
8595 * RowList.C: adjust for RowList::const_iterator.
8597 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8600 2003-03-31 John Levon <levon@movementarian.org>
8603 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8605 * lyx_main.C: set default fonts from using lyx_gui funcs
8607 * exporter.C: pdf_mode moved from lyxrc
8610 * lyxfunc.C: changes from above
8612 2003-03-31 John Levon <levon@movementarian.org>
8614 * lyx_main.C: fix to the last fix
8616 2003-03-31 John Levon <levon@movementarian.org>
8618 * bufferlist.C: "Load original" -> "Load Original"
8624 * format.C: more Alert cleanups
8626 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8628 * text2.C (removeParagraph): make it take a RowList::iterator as
8630 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8631 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8633 * text.C (anchor_row): make it take a RowList::iterator as arg,
8635 (computeBidiTables): make it take a const reference to Row instead
8636 of Row pointer, adjust.
8637 (leftMargin): make it take a RowList::iterator as arg, adjust.
8638 (rowBreakPoint): adjust
8639 (breakAgainOneRow): make it take a RowList::iterator as arg,
8641 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8643 * bufferview_funcs.C (toggleAndShow): adjust
8645 2003-03-30 John Levon <levon@movementarian.org>
8649 * boost-inst.C: moved to support
8651 * several files: changes as a result
8653 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8655 * text2.C (LyXText): adjust.
8657 (removeRow): make it take a RowList::iterator as arg, adjust.
8658 (fullRebreak): adjust
8659 (deleteEmptyParagraphMechanism): adjust
8660 (clearPaint): adjust
8663 * text.C (top_y): adjust
8664 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8665 (breakAgain): make it take a RowList::iterator as arg, adjust.
8666 (breakParagraph): adjust
8667 (insertChar): adjust
8670 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8671 need_break_row, and refresh_row.
8673 * text3.C (dispatch): adjust
8675 * text2.C (checkParagraph): adjust
8677 (setCursorFromCoordinates): adjust
8679 * text.C (top_y): adjust
8681 (getRow): make it return a RowList::iterator, adjust
8682 (getRowNearY): make it return a RowList::iterator, adjust
8684 * text2.C (init): adjust
8685 (insertRow): remove function
8686 (insertParagraph): adjust
8687 (redoParagraphs): adjust
8688 (fullRebreak): adjust
8689 (updateCounters): adjust
8691 * text.C (top_y): rewrite to use RowList iterators.
8693 (setHeightOfRow): rewrite to sue RowList iterators.
8694 (appendParagraph): adjust
8695 (breakAgain): adjust
8696 (breakAgainOneRow): adjust
8697 (breakParagraph): adjust
8699 (getRowNearY): adjust, and remove commented code.
8701 * lyxtext.h (firstRow): delete function
8702 (lastRow): delete function
8703 (rows): new function (const and non-const versions.)
8704 (insertRow): delete function
8706 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8708 2003-03-29 John Levon <levon@movementarian.org>
8710 * BufferView_pimpl.C: always update scrollbar top
8711 because pasting text when we're anchored could mean we
8712 miss an update altogether
8714 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8716 * text2.C (init): use rowlist_.end() and not 0.
8717 (insertRow): change to take a RowList::iterator as arg, adjust
8719 (insertParagraph): change to take a RowList::iterator as arg,
8721 (redoParagraphs): remove some debug msgs.
8723 * text.C (appendParagraph): change to take a RowList::iterator
8724 arg, adjust for this.
8725 (breakAgain): add an assert
8726 (breakAgainOneRow): ditto
8728 2003-03-29 John Levon <levon@movementarian.org>
8730 * text2.C: do not clear selection after inc/decDepth
8733 2003-03-29 John Levon <levon@movementarian.org>
8736 * buffer.C: fix broken strerrors according to Lars
8738 2003-03-29 John Levon <levon@movementarian.org>
8740 * converters.C: more Alert cleanups
8742 2003-03-29 John Levon <levon@movementarian.org>
8744 * bufferview_funcs.C: remove pointless Alert
8746 * buffer.C: fix confusing error message when
8747 a template is chmoded 000
8749 2003-03-29 John Levon <levon@movementarian.org>
8753 * BufferView_pimpl.C: Alert fixes
8757 * tabular-old.C: remove unused table compat reading
8759 2003-03-29 John Levon <levon@movementarian.org>
8764 * lyx_cb.C: more Alert cleanups
8766 * lyxfunc.C: don't allow chktex if not latex document
8768 2003-03-29 John Levon <levon@movementarian.org>
8772 * buffer.C: warnings pushed down from support/,
8775 2003-03-29 John Levon <levon@movementarian.org>
8777 * lyxfunc.C: safety check for C-r (revert)
8779 2003-03-29 John Levon <levon@movementarian.org>
8782 * bufferlist.C: several UI fixes using Alert::prompt.
8783 Fix the pointless looping quit code. Fix stupid revert
8788 * lyx_cb.C: use Alert::prompt
8790 * lyx_main.C: remove a silly question
8792 * lyxfunc.C: remove a couple of silly questions,
8795 2003-03-28 John Levon <levon@movementarian.org>
8797 * text2.C: fix bug 974 (End on empty par)
8799 2003-03-28 John Levon <levon@movementarian.org>
8801 * BufferView_pimpl.C:
8803 * lfuns.h: remove do-nothing math greek lfuns
8805 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8807 * lyxgluelength.h (isValidGlueLength): add default arg on
8808 parameter 2. Remove default arg from friend in class.
8810 * lyxlength.h (isValidLength): add default arg on parameter 2.
8811 Remove default arg from friend in class.
8813 * text2.C (LyXText): adjust, initialize refresh_row.
8817 (insertParagraph): adjst
8818 (redoParagraphs): adjust
8819 (fullRebreak): adjust
8820 (updateCounters): adjust
8821 (deleteEmptyParagraphMechanism): first attempt at fixing a
8824 * text.C (top_y): adjust
8825 (setHeightOfRow): adjust
8827 (getRowNearY): adjust
8829 * lyxtext.h: include RowList.h
8830 (~LyXText): not needed anymore, deleted.
8831 (firstRow): modify for RowList
8832 (lastRow): new function
8833 Delete firstrow and lastrow class variables, add a Rowlist
8834 rowlist_ class variable.
8836 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8839 * RowList.C (insert): fix case where it == begin().
8841 2003-03-26 Angus Leeming <leeming@lyx.org>
8843 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8844 the thesaurus dialog.
8846 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8848 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8850 * RowList.[Ch]: new files
8852 * ParagraphList.C (erase): handle the case where it == begin
8855 2003-03-25 John Levon <levon@movementarian.org>
8859 * aspell.C: add new aspell support
8862 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8865 2003-03-25 Angus Leeming <leeming@lyx.org>
8868 * LyXAction.C (init): new LFUN_INSET_INSERT.
8870 * BufferView_pimpl.C (dispatch): split out part of the
8871 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8873 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8876 2003-03-25 Angus Leeming <leeming@lyx.org>
8878 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8880 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8883 * text3.C: remove useless row->height(0)
8885 2003-03-25 John Levon <levon@movementarian.org>
8889 * text3.C: rename the refreshing stuff to better names
8891 2003-03-24 John Levon <levon@movementarian.org>
8893 * BufferView_pimpl.h:
8894 * BufferView_pimpl.C: update layout choice on a mouse
8897 2003-03-23 John Levon <levon@movementarian.org>
8899 * Makefile.am: fix commandtags.h reference
8901 2003-03-22 John Levon <levon@movementarian.org>
8903 * BufferView_pimpl.C:
8908 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8910 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8913 * text.C: take the rtl methods out of line
8915 2003-03-21 André Pönitz <poenitz@gmx.net>
8917 * metricsinfo.[Ch]: new files containing structures to be passed around
8918 during the two-phase-drawing...
8920 2003-03-21 André Pönitz <poenitz@gmx.net>
8922 * lyxtextclass.C: read 'environment' tag.
8924 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8926 * text2.C (removeRow): fix bug 964
8928 2003-03-20 John Levon <levon@movementarian.org>
8932 * text2.C: paint cleanups. Inset::update() dropped font
8935 2003-03-19 John Levon <levon@movementarian.org>
8937 * lyxfunc.C: only fitcursor/markDirty if available()
8939 2003-03-19 John Levon <levon@movementarian.org>
8941 * commandtags.h: rename to ...
8943 * lfuns.h: ... this, and renumber / cleanup
8945 2003-03-19 John Levon <levon@movementarian.org>
8947 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8948 fit the cursor after an lfun
8952 * BufferView_pimpl.h:
8953 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8955 * LyXAction.C: layout-character should have ReadOnly
8957 * ParagraphParameters.C:
8959 * bufferview_funcs.C:
8966 * undo_funcs.C: changes from above
8968 2003-03-18 John Levon <levon@movementarian.org>
8970 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8971 remove it from update()
8973 * lyxfunc.C: update layout choice after an lfun
8975 * text3.C: remove extra updateLayoutChoice()s
8977 2003-03-18 John Levon <levon@movementarian.org>
8979 * text.C: top_y change means full repaint, fix
8980 a drawing bug with cursor movement
8982 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8986 * text2.C: anchor row on setCursor
8988 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8990 * lyxtext.h: remove almost all mutable keywords
8993 * text3.C: remove const keywords accordingly
8995 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8997 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8999 (TeXEnvironment): ditto
9002 2003-03-17 John Levon <levon@movementarian.org>
9004 * text.C (rowBreakPoint): remove attempt to fix displayed
9005 math insets inside a manual label
9007 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9009 * lyxtext.h: remove BufferView* as first arg from almost all class
9011 * other files: adjust.
9013 2003-03-17 John Levon <levon@movementarian.org>
9017 * text2.C: more paint cleanups
9019 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9022 * rowpainter.C: remove "smart" background painting code
9024 2003-03-16 John Levon <levon@movementarian.org>
9029 * text3.C: add helper functions for setting refresh_row/y
9031 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9033 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9034 newline inset which *can* get inserted in the pass_thru layouts.
9035 This is primarily for literate documents.
9037 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9039 * buffer.C: increment LYX_FORMAT to 223
9041 2003-03-14 André Pönitz <poenitz@gmx.net>
9043 * textclass.h: prepare for environment handling, ws changes
9044 * lyxlayout.C: read latexheader and latexfooter tags
9046 2003-03-14 John Levon <levon@movementarian.org>
9048 * text2.C: rewrite ::status() a bit
9050 2003-03-13 John Levon <levon@movementarian.org>
9052 * lyxtext.h: add some docs
9054 2003-03-13 John Levon <levon@movementarian.org>
9059 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9061 2003-03-13 John Levon <levon@movementarian.org>
9063 * text3.C: fix appendix redrawing
9065 2003-03-13 John Levon <levon@movementarian.org>
9067 * text.C (setHeightOfRow):
9069 * rowpainter.C: make appendix mark have the text
9070 "Appendix" so the user knows what it is
9073 * LColor.C: s/appendixline/appendix/ from above
9075 2003-03-13 John Levon <levon@movementarian.org>
9077 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9079 * text.C: fix a getChar(pos) bug properly
9081 2003-03-13 Angus Leeming <leeming@lyx.org>
9084 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9085 Probably only temporary. Let's see how things pan out.
9087 * BufferView.C (unlockInset):
9088 * BufferView_pimpl.C (fitCursor):
9089 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9091 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9092 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9094 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9095 new functions that convert ParagraphParameters to and from a string.
9097 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9098 BufferView::Pimpl's dispatch.
9099 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9101 2003-03-13 André Pönitz <poenitz@gmx.net>
9105 * factory.C: make it aware of InsetEnv
9107 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9109 * text2.C (setCursor): never ask for one past last
9110 (setCursor): add some debugging messages.
9112 * text.C (singleWidth): never ask for one past last
9113 (singleWidth): ditto
9115 (rightMargin): ditto
9116 (rowBreakPoint): ditto
9117 (setHeightOfRow): ditto
9118 (prepareToPrint): ditto
9120 * rowpainter.C (paintBackground): never ask for one past last
9121 (paintText): never ask for one past last
9123 * paragraph_pimpl.C (getChar): make the assert stricter, never
9124 allow the one past last pos to be taken
9126 * paragraph.C (getChar): ws changes only
9128 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9129 (numberOfSeparators): ditto
9130 (numberOfHfills): ditto
9132 2003-03-12 John Levon <levon@movementarian.org>
9138 * paragraph_funcs.C: fix per-buffer authorlists
9140 2003-03-12 John Levon <levon@movementarian.org>
9142 * text.C: fix newline in right address
9144 2003-03-12 Angus Leeming <leeming@lyx.org>
9146 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9147 duplicate those in LyXFunc::dispatch.
9151 * ToolbarDefaults.C:
9152 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9153 Add LFUN_FONTFREE_UPDATE.
9155 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9156 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9158 * bufferview_func.[Ch]: several new functions to facilliate
9159 transfer of data to and from the character dialog.
9161 2003-03-12 John Levon <levon@movementarian.org>
9166 * paragraph_funcs.C:
9167 * paragraph_pimpl.C:
9171 * text3.C: remove META_NEWLINE in favour of an inset
9174 * rowpainter.C: remove paintNewline (done by inset)
9176 2003-03-12 John Levon <levon@movementarian.org>
9178 * paragraph_pimpl.C: complain about bad getChar()s
9179 for a while at least
9181 2003-03-12 John Levon <levon@movementarian.org>
9184 * buffer.C: move paragraph read into a separate function,
9185 a little renaming to reflect that.
9188 * bufferparams.C: remove the author_ids map, not necessary now
9191 * factory.C: moved Buffer::readInset to here
9193 * paragraph_funcs.h:
9194 * paragraph_funcs.C: readParagraph free function moved from
9197 * tabular.C: name change
9199 2003-03-12 John Levon <levon@movementarian.org>
9202 * ParagraphParameters.C: move par params input to
9205 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9206 behave like a normal read from the stream wrt reading
9207 a line vs. a \\token
9209 2003-03-12 John Levon <levon@movementarian.org>
9212 * ParagraphParameters.h:
9213 * ParagraphParameters.C: move output code to a
9216 2003-03-12 John Levon <levon@movementarian.org>
9218 * BufferView.C (insertLyXFile):
9221 * tabular.C: use a parlist iterator for creating the
9224 2003-03-12 John Levon <levon@movementarian.org>
9226 * buffer.C: make current_change static local not
9229 2003-03-12 John Levon <levon@movementarian.org>
9231 * buffer.C: fix insertStringAsLines for change tracking
9233 2003-03-12 John Levon <levon@movementarian.org>
9240 * bufferparams.C: move author list into params. Rename some
9241 functions. Move the header reading into a separate token
9242 loop. Move the header token reading into BufferParams.
9244 2003-03-12 John Levon <levon@movementarian.org>
9246 * changes.C: put debug inside lyxerr.debugging() checks
9248 2003-03-11 André Pönitz <poenitz@gmx.net>
9250 * factory.C: make it aware of InsetHFill
9252 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9254 * buffer.C (latexParagraphs): move function from here...
9255 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9258 2003-03-10 Angus Leeming <leeming@lyx.org>
9260 * LyXAction.C (init): fix bug in poplating array with multiple entries
9261 with the same LFUN (spotted by JMarc).
9263 2003-03-10 John Levon <levon@movementarian.org>
9266 * text2.C: move getColumnNearX() near its
9269 2003-03-10 John Levon <levon@movementarian.org>
9271 * text.C: fix break before a minipage
9273 2003-03-10 John Levon <levon@movementarian.org>
9275 * text.C: fix the last commit
9277 2003-03-09 John Levon <levon@movementarian.org>
9281 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9282 bug 365 (don't break before insets unless needed). Don't
9283 return a value > last under any circumstances.
9285 2003-03-09 Angus Leeming <leeming@lyx.org>
9287 * BufferView_pimpl.C (trackChanges, dispatch): call
9288 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9290 2003-03-09 Angus Leeming <leeming@lyx.org>
9292 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9293 than Dialogs::showAboutlyx().
9295 2003-03-09 Angus Leeming <leeming@lyx.org>
9297 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9298 than Dialogs::showTabularCreate().
9300 2003-03-09 John Levon <levon@movementarian.org>
9304 * text2.C: 3rd arg to nextBreakPoint was always the same.
9307 2003-03-08 John Levon <levon@movementarian.org>
9314 * text2.C: Remove the "main" bit from the "main body"
9317 2003-03-08 John Levon <levon@movementarian.org>
9319 * text.C (leftMargin): The left margin of an empty
9320 manual label paragraph should not include the label width
9323 * text.C (prepareToPrint): don't attempt to measure hfills
9324 for empty manual label paragraphs - the answer should be 0
9326 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9328 * CutAndPaste.C: remove commented code and reindent.
9330 2003-03-08 John Levon <levon@movementarian.org>
9333 * lyxfunc.C: move reloadBuffer()
9336 * BufferView.C: to here
9338 * lyxvc.C: add comment
9341 * vc-backend.C: call bv->reload() to avoid
9342 getStatus() check on MENURELOAD
9344 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9346 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9347 to an old format .dep file.
9349 2003-03-07 Angus Leeming <leeming@lyx.org>
9351 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9352 when the LFUN_MOUSE_RELEASE should have been handled by
9353 inset->localDispatch.
9355 2003-03-07 Angus Leeming <leeming@lyx.org>
9357 * BufferView_pimpl.C (dispatch):
9358 * LyXAction.C (init):
9359 * ToolbarDefaults.C (init):
9361 * lyxfunc.C (getStatus):
9362 remove LFUN_INSET_GRAPHICS.
9364 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9366 2003-03-07 Angus Leeming <leeming@lyx.org>
9369 * LyXAction.C (init):
9370 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9372 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9375 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9377 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9378 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9380 2003-03-07 Angus Leeming <leeming@lyx.org>
9382 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9385 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9387 * ParagraphList.C (front): new function
9390 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9392 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9393 and top_row_offset_. removed var first_y.
9395 * text2.C (LyXText, removeRow):
9397 * BufferView_pimpl.C:
9398 use these methods instead of using first_y
9400 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9402 * text2.C (pasteSelection): adjust for checkPastePossible
9404 * CutAndPaste.C: remove Paragraph * buf and replace with
9405 ParagraphList paragraphs.
9406 (DeleteBuffer): delete
9407 (cutSelection): change the tc type to textclass_type
9408 (copySelection): change the tc type to textclass_type
9409 (copySelection): adjust for ParagraphList
9410 (pasteSelection): change the tc type to textclass_type
9411 (pasteSelection): adjust for Paragraphlist
9412 (nrOfParagraphs): simplify for ParagraphList
9413 (checkPastePossible): simplify for ParagraphList
9414 (checkPastePossible): remove unused arg
9416 * ParagraphList.C (insert): handle the case where there are no
9419 * CutAndPaste.h: make CutAndPaste a namespace.
9421 * text3.C (dispatch): adjust
9423 * text.C (breakParagraph): add a ParagraphList as arg
9425 * paragraph_funcs.C (breakParagraph): change to take a
9426 BufferParams and a ParagraphList as args.
9427 (breakParagraphConservative): ditto
9428 (mergeParagraph): ditto
9429 (TeXDeeper): add a ParagraphList arg
9430 (TeXEnvironment): ditto
9433 * buffer.C (readLyXformat2): adjust
9434 (insertStringAsLines): adjust
9435 (latexParagraphs): adjust
9437 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9438 (cutSelection): adjust
9439 (pasteSelection): adjust
9441 * BufferView_pimpl.C (insertInset): adjust
9443 2003-03-05 Angus Leeming <leeming@lyx.org>
9446 * LyXAction.C (init):
9447 * BufferView_pimpl.C (dispatch):
9448 * lyxfunc.C (getStatus):
9449 remove LFUN_CHILD_INSERT.
9451 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9453 2003-03-05 Angus Leeming <leeming@lyx.org>
9456 * LyXAction.C (init):
9457 * src/factory.C (createInset):
9458 * lyxfunc.C (getStatus):
9459 * text3.C (dispatch):
9460 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9462 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9464 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9466 * ParagraphList.C (insert): handle insert right before end()
9467 (erase): fix cases where it can be first or last paragraph.
9469 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9471 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9472 Paragraph::next and Paragraph::previous
9475 * text.C (breakParagraph): adjust
9477 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9478 BufferParams& as arg.
9479 (breakParagraph): use ParagraphList::insert
9480 (breakParagraphConservative): take a Buffer* instead of a
9481 BufferParams& as arg.
9482 (breakParagraphConservative): use ParagraphList::insert.
9484 * buffer.C (insertStringAsLines): un-const it
9485 (insertStringAsLines): adjust
9487 * ParagraphList.C (insert): new function
9489 * CutAndPaste.C (pasteSelection): adjust
9491 * text.C (backspace): adjust
9493 * tabular.C (SetMultiColumn): adjust
9495 * CutAndPaste.C (cutSelection): adjust
9496 (pasteSelection): adjust
9498 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9499 Buffer const * as arg
9501 * ParagraphList.C (erase): new function
9502 * paragraph_funcs.C (mergeParagraph): use it
9503 (mergeParagraph): make it take a Buffer* instead of a
9504 BufferParams* as arg
9506 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9508 (breakParagraphConservative): ditto
9510 * paragraph.h: remove the breakParagraph friend
9512 * paragraph.C (eraseIntern): new function
9513 (setChange): new function
9515 * paragraph_funcs.C (mergeParagraph): make it take a
9516 ParagraphList::iterator instead of a Paragraph *, adjust
9519 * paragraph.h: move an #endif so that the change tracking stuff
9520 also works in the NO_NEXT case.
9522 2003-03-04 Angus Leeming <leeming@lyx.org>
9525 * LyXAction.C: new LFUN_INSET_MODIFY.
9527 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9528 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9530 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9532 * several files: ws changes only
9534 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9535 (TeXEnvironment): ditto
9538 * buffer.C (makeLaTeXFile): adjust
9539 (latexParagraphs): make it take ParagraphList::iterator as args
9541 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9543 * buffer.C (latexParagraphs): adjust
9545 * paragraph.C (TeXOnePar): move function...
9546 (optArgInset): move function...
9547 (TeXEnvironment): move function...
9548 * paragraph_pimpl.C (TeXDeeper): move function...
9549 * paragraph_funcs.C: ...here
9551 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9553 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9555 * buffer.C (readInset): remove compability code for old Figure and
9558 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9560 * buffer.C: ws changes
9563 * BufferView_pimpl.C: ditto
9566 * bufferlist.h: ditto
9570 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9572 * converter.[Ch]: split into itself +
9575 * Makefile.am: += graph.[Ch] + format.[Ch]
9582 * lyxrc.C: added #include "format.h"
9584 2003-02-27 Angus Leeming <leeming@lyx.org>
9586 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9589 * factory.C (createInset): add "label" to the factory.
9591 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9592 string and do no more.
9594 2003-02-27 Angus Leeming <leeming@lyx.org>
9597 * LyXAction.C (init):
9598 * factory.C (createInset):
9599 * BufferView_pimpl.C (dispatch):
9600 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9602 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9604 * lyxfunc.C (dispatch):
9605 * text3.C (dispatch): pass name to params2string.
9607 2003-02-26 Angus Leeming <leeming@lyx.org>
9609 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9611 Rearrange the ~includes. Strip out the unnecessary ones.
9613 * factory.C (createInset): reformat.
9614 create new insets for the various LFUN_XYZ_APPLY lfuns.
9616 2003-02-26 John Levon <levon@movementarian.org>
9619 * lyxrow.C: add isParStart,isParEnd helpers
9621 * paragraph.h: make isInserted/DeletedText take refs
9623 * paragraph_funcs.h:
9624 * paragraph_funcs.C: remove #if 0'd code
9629 * text.C: use lyxrow helpers above.
9630 Move draw and paint routines to RowPainter.
9631 Make several methods use refs not pointers.
9632 Make backgroundColor() const.
9633 Add markChangeInDraw(), isInInset().
9634 Merge changeRegionCase into changeCase.
9635 Make workWidth() shouldn't-happen code into an Assert.
9638 * rowpainter.C: new class for painting a row.
9641 * vspace.C: make inPixels take a ref
9643 2003-02-26 Angus Leeming <leeming@lyx.org>
9645 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9648 2003-02-25 John Levon <levon@movementarian.org>
9650 * ispell.C: give the forked command a more accurate name
9652 2003-02-22 John Levon <levon@movementarian.org>
9655 * toc.C: make TocItem store an id not a Paragraph *
9658 2003-02-21 Angus Leeming <leeming@lyx.org>
9660 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9661 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9662 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9663 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9664 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9665 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9667 * BufferView_pimpl.C (dispatch):
9668 * LyXAction.C (init):
9669 * factory.C (createInset):
9670 * lyxfunc.C (getStatus, dispatch):
9671 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9673 2003-02-21 Angus Leeming <leeming@lyx.org>
9675 * BufferView_pimpl.C (MenuInsertLyXFile):
9676 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9677 * lyxfunc.C (menuNew, open, doImport):
9678 no longer pass a LyXView & to fileDlg.
9680 2003-02-21 Angus Leeming <leeming@lyx.org>
9682 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9683 * LyXAction.C: change, BIBKEY to BIBITEM.
9684 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9685 Change InsetBibKey to InsetBibitem.
9686 Change BIBKEY_CODE to BIBITEM_CODE.
9687 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9688 * factory.C: replace insetbib.h with insetbibitem.h.
9689 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9690 * paragraph.C: replace insetbib.h with insetbibitem.h.
9691 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9692 Change bibkey() to bibitem().
9693 * text.C: remove insetbib.h.
9694 * text2.C: replace insetbib.h with insetbibitem.h.
9695 change bibkey() to bibitem().
9696 * text3.C: remove insetbib.h.
9697 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9699 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9701 * lyxrc.C (output): enclose user email in quotes (in case there are
9704 2003-02-18 John Levon <levon@movementarian.org>
9706 * buffer.h: add std::
9708 2003-02-17 John Levon <levon@movementarian.org>
9714 * pspell.C: reworking. Especially in ispell, a large
9715 number of clean ups and bug fixes.
9717 * lyxfunc.C: fix revert to behave sensibly
9719 2003-02-17 André Pönitz <poenitz@gmx.net>
9722 * commandtags.h: new LFUN_INSERT_BIBKEY
9732 * paragraph_func.C: remove special bibkey handling
9734 2003-02-17 John Levon <levon@movementarian.org>
9736 * text.C (Delete): fix case where delete at the end of
9737 the very first paragraph would not merge the pars
9739 2003-02-17 John Levon <levon@movementarian.org>
9741 * lyxrow.C: fix lastPrintablePos()
9743 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9745 * bufferparams.C (writeLaTeX): add a std:here
9747 * buffer.C: and remove a using directive there
9749 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9751 * buffer.C (makeLaTeXFile): move the code that generates the
9754 * bufferparams.C (writeLaTeX): ... in this new method
9756 * LaTeXFeatures.C (getEncodingSet): make const
9757 (getLanguages): make const
9759 * MenuBackend.C (binding): returns the binding associated to this
9761 (add): sets the status of each item by calling getStatus. Adds
9763 (read): add support for OptSubMenu
9764 (expand): remove extra separator at the end of expanded menu
9766 2003-02-15 John Levon <levon@movementarian.org>
9769 * BufferView_pimpl.C:
9771 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9772 inset code that had no actual effect. Remove unneeded status
9775 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9777 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9780 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9782 * text.C (drawLengthMarker): also draw an arrow marker for
9783 symbolic lengths (medskip...)
9785 2003-02-14 John Levon <levon@movementarian.org>
9788 * tabular.C: better method names
9790 2003-02-14 John Levon <levon@movementarian.org>
9792 * BufferView_pimpl.C:
9797 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9798 it's a more accurate name. Remove some pointless uses.
9800 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9802 * text2.C (LyXText): change order of initilizers to shut off
9805 2003-02-14 John Levon <levon@movementarian.org>
9807 * buffer.C: use ParIterator for getParFromID()
9811 * paragraph_pimpl.h:
9812 * paragraph_pimpl.C: remove unused getParFromID()
9814 2003-02-14 John Levon <levon@movementarian.org>
9816 * buffer.C: remove some very old #if 0'd parse code
9818 2003-02-13 John Levon <levon@movementarian.org>
9822 * text2.C: move hfillExpansion(), numberOfSeparators(),
9823 rowLast(), rowLastPrintable(), numberofHfills(),
9824 numberOfLabelHfills() ...
9827 * lyxrow.C: ... to member functions here.
9832 * text.C: remove LyXText::beginningOfMainBody(), and call
9833 p->beginningOfMainBody() directly. Move the check for
9834 LABEL_MANUAL into the latter.
9841 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9847 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9848 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9850 2003-02-13 John Levon <levon@movementarian.org>
9852 * CutAndPaste.C: remove debug
9854 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9856 * paragraph.C (asString): remove two unused variables
9858 * lyxtextclass.C (readTitleType):
9860 (LyXTextClass): handle new members titletype_ and titlename_
9862 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9864 2003-02-09 John Levon <levon@movementarian.org>
9867 * buffer.C: replace hand-coded list with a map for the dep clean
9869 2003-02-08 John Levon <levon@movementarian.org>
9871 * LaTeX.C: consolidate code into showRunMessage() helper
9873 2003-02-08 John Levon <levon@movementarian.org>
9878 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9879 and pass the size in explicitly
9881 * BufferView_pimpl.h:
9882 * BufferView_pimpl.C:
9884 * BufferView.C: add getCurrentChange()
9886 * BufferView_pimpl.h:
9887 * BufferView_pimpl.C: handle change lfuns
9889 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9890 for changes. Mark pasted paragraphs as new.
9892 * support/lyxtime.h:
9893 * support/lyxtime.C:
9894 * DepTable.C: abstract time_t as lyx::time_type
9897 * LColor.C: add colours for new text, deleted text, changebars
9899 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9900 package use "usenames" option.
9904 * LyXAction.C: add change lfuns
9908 * author.C: author handling
9911 * buffer.C: add a per-buffer author list, with first entry as
9912 current author. Handle new .lyx tokens for change tracking. Output
9913 author list to .lyx file. Output dvipost stuff to .tex preamble.
9914 Bump lyx format to 222.
9917 * bufferlist.C: add setCurrentAuthor() to reset current author details
9921 * bufferparams.C: add param for tracking
9923 * bufferview_funcs.C: output change info in minibuffer
9927 * changes.C: add change-tracking structure
9930 * debug.C: add CHANGES debug flag
9933 * lyxfind.C: add code for finding the next change piece
9936 * lyxrc.C: add user_name and user_email
9939 * lyxrow.C: add a metric for the top of the text line
9942 * text.C: implement accept/rejectChange()
9945 * text.C: paint changebars. Paint new/deleted text in the chosen
9946 colours. Strike through deleted text.
9950 * paragraph_pimpl.h:
9951 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9952 in the current change to the insert functions. Rework erase to
9953 mark text as deleted, adding an eraseIntern() and a range-based
9954 erase(). Implement per-paragraph change lookup and
9957 * paragraph_funcs.C: Fixup paste for change tracking.
9959 * tabular.C: mark added row/columns as new.
9961 * text.C: fix rowLast() to never return -1. Don't allow
9962 spellchecking of deleted text. Track transpose changes. Don't
9963 allow paragraph break or merge where appropriate.
9965 * text2.C: leave cursor at end of selection after a cut.
9967 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9969 * text.C (getLengthMarkerHeight):
9970 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9971 visible on screen too.
9973 2003-02-07 John Levon <levon@movementarian.org>
9975 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9977 2003-02-05 Angus Leeming <leeming@lyx.org>
9979 * lyxserver.C (read_ready): revert my patch of 11 September last year
9980 as it sends PC cpu through the roof. Presumably this means that
9981 the lyxserver will no longer run on an Alpha...
9983 2003-01-30 Angus Leeming <leeming@lyx.org>
9985 * factory.C (createInset): create an InsetCommandParam of type "index"
9986 and use it to 'do the right thing'.
9988 * text2.C (getStringToIndex): ensure that cursor position is always
9989 reset to the reset_cursor position.
9991 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9993 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9996 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10000 * lyxfunc.C: Output messages with identical spelling, punctuation,
10003 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10005 * MenuBackend.C (expandFormats): List only viewable export formats
10008 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10011 * lyxfunc.C (getStatus): Make sure that formats other than
10012 "fax" can also be disabled
10014 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10016 * text3.C (dispatch): put the lfuns that insert insets in 3
10017 groups, and call doInsertInset with appropriate arguments.
10018 (doInsertInset): new function, that creates an inset and inserts
10019 it according to some boolean parameters.
10021 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10023 * buffer.C (readFile): remember to pass on 'par' when calling
10024 readFile recursively.
10026 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10028 * MenuBackend.C (expandFormats): add "..." to import formats.
10030 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10032 * paragraph.C (asString): Remove XForms RTL hacks.
10034 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10035 * buffer.C: fix typo
10037 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10039 * Makefile.am (LIBS): delete var
10040 (lyx_LDADD): add @LIBS@ here instead.
10042 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10044 * Clarify the meaning of "wheel mouse jump"
10046 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10048 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10051 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10053 * importer.C (Loaders): do not preallocate 3 elements in the
10054 vector, since one ends up with 6 elements otherwise
10056 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10058 * DepTable.C (write): write the file name as last element of the
10059 .dep file (because it may contain spaces)
10060 (read): read info in the right order
10062 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10064 * paragraph_pimpl.C (simpleTeXBlanks):
10065 (simpleTeXSpecialChars):
10066 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10068 * tabular.C (latex): add some missing case statements. Reindent.
10070 * MenuBackend.C (expandToc): remove unused variable.
10072 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10081 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10084 2003-01-05 John Levon <levon@movementarian.org>
10087 * BufferView.C: add getEncoding()
10090 * kbsequence.C: do not store last keypress
10093 * lyxfunc.C: store last keypress here instead. Pass encoding
10096 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10098 * lyx_main.C (init): remove annoying error message when following
10099 symbolic links (bug #780)
10101 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10103 * text.C (insertChar):
10104 * lyxrc.C (getDescription): remove extra spaces
10106 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10108 * lyxrc.C (getDescription): remove extra spaces
10110 2002-12-20 John Levon <levon@movementarian.org>
10112 * text3.C: hack fix for page up/down across tall rows
10114 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10116 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10119 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10121 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10122 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10123 thesaurus is not compiled in
10125 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10127 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10129 2002-12-16 Angus Leeming <leeming@lyx.org>
10132 * lyx_main.C (init): remove override_x_deadkeys stuff.
10134 2002-12-12 John Levon <levon@movementarian.org>
10136 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10137 insert. Only remove shift modifier under strict
10140 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10142 * MenuBackend.C (expandToc): fix crash.
10144 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10146 * MenuBackend.C (expandToc): gettext on float names.
10148 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10150 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10151 implement bool empty() [bug 490]
10153 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10155 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10157 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10159 * several files: ws changes
10161 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10163 * text2.C (setCounter): clean up a bit, use boost.format.
10164 (updateCounters): initialize par upon declaration.
10166 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10167 if the layout exists. We do not just store the layout any more.
10168 (SwitchLayoutsBetweenClasses): use boost.format
10170 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10172 * converter.C (convert): if from and to files are the same, use a
10173 temporary files as intermediary
10175 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10178 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10180 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10182 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10184 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10186 * tabular.C (asciiPrintCell): use string(size, char) instead of
10189 * sgml.C (openTag): fix order of arguments to string constructor
10192 * lyxfunc.C (dispatch): use boost.format
10194 * lots of files: change "c" -> 'c'
10196 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10198 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10200 2002-11-25 Angus Leeming <leeming@lyx.org>
10202 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10204 * lyx_main.C (init): compile fix.
10206 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10208 * lyx_cb.C (start): boost.formatify
10209 do not include <iostream>
10211 * lengthcommon.C: ws only
10213 * boost-inst.C,BoostFormat.h: add more explict instantations
10215 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10217 * lots of files: handle USE_BOOST_FORMAT
10219 2002-11-21 John Levon <levon@movementarian.org>
10221 * pspell.C: fix compile
10223 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10225 * lyxfunc.C (dispatch): use boost::format
10229 * lyxfont.C (stateText): use boost::format
10231 * lyx_main.C (LyX): use boost::format
10233 (queryUserLyXDir): ditto
10234 (readRcFile): ditto
10236 (typedef boost::function): use the recommened syntax.
10238 * importer.C (Import): use boost::format
10240 * debug.C (showLevel): use boost::format
10242 * converter.C (view): use boost::format
10247 * bufferview_funcs.C (currentState): use boost::format
10249 * bufferlist.C (emergencyWrite): use boost::format
10251 * buffer.C (readLyXformat2): use boost::format
10252 (parseSingleLyXformat2Token): ditto
10254 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10256 * LaTeX.C (run): use boost::format
10258 * Chktex.C (scanLogFile): use boost::format
10260 * BufferView_pimpl.C (savePosition): use boost::format
10261 (restorePosition): ditto
10262 (MenuInsertLyXFile): ditto
10264 * BoostFormat.h: help file for explicit instation.
10266 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10268 * tabular.C (latex): Support for block alignment in fixed width
10271 2002-11-17 John Levon <levon@movementarian.org>
10273 * BufferView_pimpl.C:
10275 * lyxfunc.C: split filedialog into open/save
10277 2002-11-08 Juergen Vigna <jug@sad.it>
10279 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10280 by my last patch (hopefully).
10282 2002-11-08 John Levon <levon@movementarian.org>
10291 * toc.C: ParConstIterator, and use it (from Lars)
10293 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10295 * lyxtextclass.[Ch]: revise and add doxygen comments
10297 2002-11-07 John Levon <levon@movementarian.org>
10299 * text.C: fix progress value for spellchecker
10301 * toc.C: fix navigate menu for insetwrap inside minipage
10303 * paragraph_funcs.C: added FIXME for suspect code
10305 2002-11-07 John Levon <levon@movementarian.org>
10307 * BufferView_pimpl.C: fix redrawing of insets
10310 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10312 * text2.C (updateCounters): fix bug 668
10314 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10316 * text3.C (dispatch): Do not make the buffer dirty when moving the
10319 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10321 * vc-backend.C: STRCONV
10322 (scanMaster): ditto
10324 * text2.C (setCounter): STRCONV
10326 * paragraph.C (asString): STRCONV
10328 * lyxlength.C (asString): STRCONV
10329 (asLatexString): ditto
10331 * lyxgluelength.C (asString): STRCONV
10332 (asLatexString): ditto
10334 * lyxfunc.C (dispatch): STRCONV
10337 * lyxfont.C (stateText): STRCONV
10339 * importer.C (Import): STRCONV
10341 * counters.C (labelItem): STRCONV
10342 (numberLabel): ditto
10343 (numberLabel): remove unused ostringstream o
10348 * bufferview_funcs.C (currentState): STRCONV
10350 * buffer.C (readFile): STRCONV
10351 (asciiParagraph): ditto
10352 (makeLaTeXFile): ditto
10354 * Spacing.C (writeEnvirBegin): STRCONV
10356 * LaTeXFeatures.C (getLanguages): STRCONV
10357 (getPackages): ditto
10359 (getBabelOptions): ditto
10360 (getTClassPreamble): ditto
10361 (getLyXSGMLEntities): ditto
10362 (getIncludedFiles): ditto
10366 (scanAuxFile): ditto
10369 * LString.h: add the STRCONV macros
10371 * BufferView_pimpl.C (savePosition): STRCONV
10372 (restorePosition): ditto
10373 (MenuInsertLyXFile): ditto
10375 * vc-backend.C (scanMaster): change from submatch[...] to
10378 * funcrequest.C: include config.h
10380 * factory.C: include config.h
10382 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10384 * box.C: include config.h
10386 * LaTeX.C (scanAuxFile): change from submatch[...] to
10390 2002-10-25 Angus Leeming <leeming@lyx.org>
10392 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10394 * ispell.[Ch] (setError): new method.
10395 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10396 Use setError() insetead of goto END.
10398 * lyx_cb.C (AutoSave): move out child process into new class
10401 2002-10-30 John Levon <levon@movementarian.org>
10403 * text3.C: make start appendix undoable
10405 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10407 * lyxlength.C (inPixels): Fix returned value.
10409 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10412 2002-10-24 Angus Leeming <leeming@lyx.org>
10414 * lyxgluelength.h: no need to forward declare BufferParams
10415 or BufferView, so don't.
10417 2002-10-21 John Levon <levon@movementarian.org>
10419 * BufferView.C: menuUndo ->undo, redo
10421 * BufferView.h: document, remove dead, make some methods private
10423 * paragraph_funcs.h:
10424 * paragraph_funcs.C:
10425 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10430 * sgml.C: move sgml open/close tag into sgml.C
10432 * bufferview_funcs.h: unused prototype
10435 * lyxfunc.C: remove unused
10438 * text.C: remove unused
10440 2002-10-21 John Levon <levon@movementarian.org>
10444 * BufferView_pimpl.h:
10445 * BufferView_pimpl.C: fix mouse wheel handling based on
10446 patch from Darren Freeman
10448 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10450 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10452 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10454 * lyxlength.C (inPixels): Fix hanfling of negative length.
10455 Fix LyXLength::MU case.
10457 2002-10-16 John Levon <levon@movementarian.org>
10459 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10461 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10463 * converter.C (view): add support for $$i (file name) and $$p
10464 (file path) for the viewer command. If $$i is not specified, then
10465 it is appended to the command (for compatibility with old syntax)
10467 2002-10-14 Juergen Vigna <jug@sad.it>
10469 * undo_funcs.C (textHandleUndo): alter the order in which the
10470 new undopar is added to the LyXText, as we have to set first
10471 the right prev/next and then add it as otherwise the rebuild of
10472 LyXText is not correct. Also reset the cursor to the right paragraph,
10473 with this IMO we could remove the hack in "redoParagraphs()".
10475 2002-10-09 Angus Leeming <leeming@lyx.org>
10477 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10478 to turn off an optimisation if a new inset is to be inserted.
10480 2002-10-11 André Pönitz <poenitz@gmx.net>
10482 * lyxtext.h: make some functions public to allow access
10483 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10485 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10487 * text3.C (dispatch): when changing layout, avoid an infinite loop
10490 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10492 * lyxrc.C (read): treat a viewer or converter command of "none" as
10495 * MenuBackend.C (expandFormats): for an update, also allow the
10496 formats that are not viewable
10498 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10499 script if it is newer than the lyxrc.defaults in user directory
10501 2002-10-07 André Pönitz <poenitz@gmx.net>
10503 * text.C: Vitaly Lipatov's small i18n fix
10505 2002-09-25 Angus Leeming <leeming@lyx.org>
10507 * ispell.h: doxygen fix.
10509 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10511 * buffer.h (readFile): Add a new argument to the method, to allow
10512 reading of old-format templates.
10514 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10516 * toc.C (getTocList): Get TOC from InsetWrap.
10518 2002-09-16 John Levon <levon@movementarian.org>
10520 * lyxfunc.C: check tabular for cut/copy too
10522 2002-09-12 John Levon <levon@movementarian.org>
10524 * LyXAction.C: tidy
10527 * factory.C: add header
10529 * paragraph_funcs.h:
10530 * paragraph_funcs.C: cleanup
10532 2002-09-11 John Levon <levon@movementarian.org>
10534 * PrinterParams.h: odd/even default to true
10536 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10538 * PrinterParams.h: update printer parameters for new xforms dialog
10540 2002-09-11 Angus Leeming <leeming@lyx.org>
10542 * lyxserver.C (read_ready): re-write to make it more transparent
10543 and to make it work in coherent fashion under Tru64 Unix.
10545 2002-09-11 André Pönitz <poenitz@gmx.net>
10549 * text3.C: implement LFUN_WORDSEL
10551 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10553 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10554 make floatlist_ a boost::shared_ptr<FloatList>
10556 * lyxtextclass.C: include FloatList.h
10557 (LyXTextClass): initialize floatlist_
10558 (TextClassTags): add TC_NOFLOAT
10559 (Read): match "nofloat" to TC_NOFLOAT and use it.
10560 (readFloat): modify call to floatlist_
10564 * FloatList.[Ch] (FloatList): remove commented out float
10566 (erase): new function
10568 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10570 * MenuBackend.C (expandToc): fix crash when there is no document
10573 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10575 * many files: Add insetwrap.
10577 2002-09-09 John Levon <levon@movementarian.org>
10579 * text2.C: remove confusing and awkward depth wraparound
10581 2002-09-09 John Levon <levon@movementarian.org>
10583 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10586 * buffer.C: remove getIncludeonlyList()
10589 * lyxfunc.C: remove headers
10591 2002-09-09 Juergen Vigna <jug@sad.it>
10593 * text.C (getColumnNearX): fix form Michael this is most
10594 probably a cut&paste bug.
10596 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10598 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10600 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10601 references, ws changes.
10603 * text2.C (init): update counters after init
10604 (insertParagraph): no need to set counter on idividual paragraphs.
10605 (setCounter): access the counters object in the textclass object
10606 on in the buffer object.
10607 (updateCounters): ditto
10609 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10610 shared_ptr<Counters> to avoid loading counters.h in all
10612 (LyXTextClass): initialize ctrs_
10613 (TextClassTags): add TC_COUNTER, and ...
10614 (Read): use it here.
10615 (CounterTags): new tags
10616 (readCounter): new function
10617 (counters): new funtion
10618 (defaultLayoutName): return a const reference
10620 * counters.C (Counters): remove contructor
10621 (newCounter): remove a couple of unneeded statements.
10622 (newCounter): simplify a bit.
10623 (numberLabel): some small formatting changes.
10625 * buffer.[Ch]: remove all traces of counters, move the Counters
10626 object to the LyXTextClass.
10628 2002-09-06 Alain Castera <castera@in2p3.fr>
10630 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10631 package to set the horizontal alignment on fixed width columns.
10634 * lyx_sty.h: added tabularnewline macro def.
10636 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10638 2002-09-06 John Levon <levon@movementarian.org>
10640 * LyXAction.C: tooltips for sub/superscript
10642 * MenuBackend.C: a bit more verbose
10644 * lyxfunc.C: tiny clean
10646 * undo_funcs.C: document undo_frozen
10648 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10650 * counters.C (Counters): add missing algorithm counter.
10652 * text2.C (setCounter): lookup the counter with layouts latexname
10653 instead of by section number.
10654 (setCounter): use a hackish way to lookup the correct enum
10656 a float name->type change
10657 reset enum couners with counter name directly instead of depth value.
10659 * counters.C (Counters): remove the push_backs, change to use the
10660 float type not the float name.
10661 (labelItem): remove unused string, float name->type change
10663 * counters.h: don't include vector, loose the enums and sects vectors
10665 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10667 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10668 (Read): add float->TC_FLOAT to textclassTags
10669 (Read): and handle it in the switch
10670 (readFloat): new function
10672 * FloatList.C (FloatList): comment out the hardcoded float
10675 * lyxlayout.h: ws change.
10677 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10679 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10681 2002-09-03 Angus Leeming <leeming@lyx.org>
10683 * BufferView_pimpl.h: qualified name is not allowed in member
10684 declaration: WorkArea & Pimpl::workarea() const;
10686 * factory.C: added using std::endl directive.
10688 * text3.C: added using std::find and std::vector directives.
10690 2002-08-29 André Pönitz <poenitz@gmx.net>
10693 * text2.C: remove unused member number_of_rows
10696 * BufferView2.C: remove file, move contents to...
10697 * BufferView.C: ... here
10699 * BufferView_pimpl.C:
10700 * factory.C: move more inset creation to factory
10702 * vspace.C: avoid direct usage of LyXText, ws changes
10705 don't provide direct access to WorkArea, use two simple
10706 acessors haveSelction() and workHeight() instead
10709 2002-08-29 John Levon <levon@movementarian.org>
10711 * BufferView_pimpl.C (dispatch): do not continue when
10714 2002-08-28 André Pönitz <poenitz@gmx.net>
10716 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10719 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10721 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10723 * buffer.C: increment LYX_FORMAT to 221
10725 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10726 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10728 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10730 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10732 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10734 * factory.C (createInset): use LyXTextClass::floats
10736 * MenuBackend.C (expandFloatListInsert):
10737 (expandFloatInsert):
10740 * text2.C (setCounter):
10742 * LaTeXFeatures.C (useFloat):
10743 (getFloatDefinitions):
10745 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10747 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10748 floatlist_, with accessor floats().
10750 * FloatList.h: remove global FloatList
10752 2002-08-26 André Pönitz <poenitz@gmx.net>
10754 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10758 * BufferView_pimpl.C:
10759 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10761 2002-08-25 John Levon <levon@movementarian.org>
10763 * LyXAction.C: fix margin note description
10765 2002-08-24 John Levon <levon@movementarian.org>
10769 * bufferview_funcs.C:
10771 * undo_funcs.C: cleanups
10773 * lyxfunc.C: disable CUT/COPY when no selection
10775 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10777 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10778 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10780 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10781 Add backward compatibility to "mono", "gray" and "no".
10783 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10785 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10786 (and file_format >= 200).
10788 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10790 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10792 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10794 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10796 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10798 * BufferView_pimpl.C:
10805 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10806 inset and code to make it work with the paragraph code. The inset
10807 can be anywhere in the paragraph, but will only do the expected
10808 thing in LaTeX if the layout file contains the parameter line
10810 (or more generally, a nonzero value) for that layout.
10812 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10814 * paragraph.h: remove the declaration of undefined counters class
10817 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10819 * text2.C (setCounter): fixed enumeration mis-count as reported by
10820 Dr. Richard Hawkins.
10822 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10824 * paragraph_funcs.h: remove some unneeded includes
10826 * text.C (backspace): pasteParagraph now in global scipe
10828 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10829 (pasteSelection): ditto
10831 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10832 * paragraph_funcs.C (pasteParagraph): ... here
10834 2002-08-20 André Pönitz <poenitz@gmx.net>
10836 * commandtags.h: new LFUNs for swapping/copying table row/colums
10839 * lyxfunc.C: support for new lfuns
10841 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10844 * buffer.[Ch]: remove NO_COMPABILITY stuff
10846 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10848 * boost.C (throw_exception): new file, with helper function for
10849 boost compiled without exceptions.
10854 * ParameterStruct.h:
10855 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10857 * bufferlist.C (emergencyWriteAll): use boost bind
10859 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10861 * text.C: include paragraph_funcs.h
10862 (breakParagraph): breakParagraph is now in global scope
10864 * paragraph_funcs.[Ch]: new files
10866 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10869 * buffer.C: include paragraph_funcs.h
10870 (insertStringAsLines): breakParagraph is now in global scope
10872 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10875 * CutAndPaste.C: include paragraph_funcs.h
10876 (cutSelection): breakParagraphConservative is now in global scope
10877 (pasteSelection): ditto
10879 * buffer.h: declare oprator== and operator!= for
10880 Buffer::inset_iterator
10882 * bufferlist.C (emergencyWrite): don't use fmt(...)
10884 * text3.C: add using std::endl
10886 * BufferView.C (moveCursorUpdate): remove default arg
10888 2002-08-20 André Pönitz <poenitz@gmx.net>
10890 * buffer.[Ch]: move inline functions to .C
10893 * BufferView_pimpl.C:
10895 * buffer.[Ch]: use improved inset_iterator
10898 * paragraph.[Ch]: write one paragraph at a time
10900 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10902 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10903 style if style is not specified.
10905 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10907 * text2.C (setCounter): when searching for right label for a
10908 caption, make sure to recurse to parent insets (so that a caption
10909 in a minipage in a figure float works) (bug #568)
10911 2002-08-20 André Pönitz <poenitz@gmx.net>
10913 * text3.C: new file for LyXText::dispatch() and helpers
10915 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10917 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10919 2002-08-19 André Pönitz <poenitz@gmx.net>
10922 * text.C: new LyXText::dispatch()
10924 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10926 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10928 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10930 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10933 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10935 * Makefile.am: use $(variables) instead of @substitutions@
10937 2002-08-15 André Pönitz <poenitz@gmx.net>
10940 * BufferView_pimpl.C: streamlining mathed <-> outer world
10944 * LyXAction.C: remove unused LFUN_MATH
10946 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10948 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10950 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10952 * paragraph.C (Paragraph): reformat a bit
10953 (cutIntoMinibuffer): use builtin InsetList function instad of
10957 * buffer.C: include boost/bind.hpp, add using std::for_each
10958 (writeFileAscii): use ParagraphList iterators
10959 (validate): use for_each for validate traversal of paragraphs
10960 (getBibkeyList): use ParagraphList iterators
10961 (resizeInsets): use for_each to resizeInsetsLyXText for all
10963 (getParFromID): use ParagraphList iterators
10965 * BufferView2.C (lockInset): use paragraph list and iterators
10967 2002-08-14 John Levon <levon@movementarian.org>
10969 * lyxserver.C: remove spurious xforms include
10971 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10973 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10975 2002-08-13 André Pönitz <poenitz@gmx.net>
10978 * lyxfunc.C: further cleaning
10980 2002-08-13 André Pönitz <poenitz@gmx.net>
10982 * funcrequest.h: new constructor
10984 * funcrequest.C: move stuff here from .h
10987 * BufferView_pimpl.C:
10990 * lyxfunc.C: subsequent changes
10992 * lyxfunc.h: new view() member function
10994 * lyxfunc.C: subsequent changes
10996 2002-08-13 Angus Leeming <leeming@lyx.org>
10999 * BufferView_pimpl.C:
11007 changes due to the changed LyXView interface that now returns references
11008 to member variables not pointers.
11010 2002-08-13 Angus Leeming <leeming@lyx.org>
11012 * WordLangTuple (word, lang_code): return references to strings,
11017 * lyxtext.h: forward-declare WordLangTuple.
11022 * text.C: #include "WordLangTuple.h".
11025 * text.C: (selectNextWordToSpellcheck): constify return type.
11027 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11033 * paragraph_pimpl.h:
11036 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11037 suggested by Angus.
11038 Made updateCounter always count from start of buffer, and removed
11039 second argument (par).
11040 Reverted floats number display to '#'. Perhaps I'll try again when the
11041 code base is sanitized a bit.
11043 2002-08-12 Angus Leeming <leeming@lyx.org>
11045 * buffer.[Ch] (getLabelList): constify.
11047 2002-08-07 André Pönitz <poenitz@gmx.net>
11049 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11051 * funcrequest.h: extension to keep mouse (x,y) position
11053 2002-08-12 Juergen Vigna <jug@sad.it>
11055 * BufferView2.C (insertErrors): forbid undo when inserting error
11058 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11060 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11062 * ParagraphList.[Ch]: new files
11064 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11066 * BufferView2.C (lockInset): ParagraphList changes
11069 * bufferlist.C: ditto
11073 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11075 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11076 unused class variable counter_,
11078 * paragraph.[Ch] (getFirstCounter): delete unused function
11080 * counters.C: include LAssert.h
11081 (reset): add a new function with no arg, change other version to
11082 not have def. arg and to not allow empty arg.
11084 * text2.C (setCounter): remove empty arg from call to Counters::reset
11086 2002-08-11 John Levon <levon@movementarian.org>
11088 * Makefile.am: add WordLangTuple.h
11090 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11092 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11093 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11095 * insets/insettext.C: InsetList changes
11097 * graphics/GraphicsSupport.C (operator()): InsetList changes
11099 * toc.C (getTocList): InsetList changes
11101 * paragraph_pimpl.[Ch]: InsetList changes
11103 * paragraph.[Ch]: InsetList changes
11105 * buffer.C (inset_iterator): InsetList changes
11106 (setParagraph): ditto
11107 * buffer.h (inset_iterator): ditto
11108 * iterators.C (operator++): ditto
11109 * iterators.h: ditto
11111 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11113 * InsetList.[Ch]: new files, most InsetList handling moved out of
11116 * BufferView2.C (removeAutoInsets): InsetList changes
11118 (ChangeInsets): ditto
11120 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11122 * paragraph_pimpl.h (empty): new function
11124 * paragraph.[Ch] (empty): new function
11126 * other files: use the new Paragraph::empty function
11128 2002-08-09 John Levon <levon@movementarian.org>
11130 * lyxtext.h: remove unused refresh_height
11132 2002-08-09 John Levon <levon@movementarian.org>
11139 * paragraph.C: move sgml char escaping out of paragraph
11142 * paragraph.C: remove id setter
11146 * paragraph_pimpl.C: remove dead tex_code_break_column
11148 * bufferview_funcs.C: small cleanup
11150 * lyxfunc.C: remove dead proto
11152 * lyxtext.h: make some stuff private. Remove some dead stuff.
11154 * lyxgluelength.C: make as[LyX]String() readable
11156 2002-08-08 John Levon <levon@movementarian.org>
11161 * ToolbarDefaults.C:
11164 * toc.C: lyxaction cleanup
11166 2002-08-08 John Levon <levon@movementarian.org>
11168 * BufferView2.C: small cleanup
11171 * lyxfind.C: move unnecessary header into the .C
11173 2002-08-08 John Levon <levon@movementarian.org>
11175 * funcrequest.h: just tedious nonsense
11178 * lyx_main.C: cleanups
11181 * vspace.C: remove dead header lyx_main.h
11183 2002-08-07 Angus Leeming <leeming@lyx.org>
11186 * paragraph_pimpl.h:
11187 Forward declare class Counters in paragraph.h by moving the ctrs member
11188 variable into Paragraph::Pimpl.
11189 (counters): new method, returning a reference to pimpl_->ctrs.
11191 * text2.C: ensuing changes.
11193 2002-08-07 John Levon <levon@movementarian.org>
11195 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11197 * BufferView_pimpl.C: announce X selection on double/triple
11200 * lyx_main.C: use correct bool in batch dispatch
11202 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11204 2002-08-07 André Pönitz <poenitz@gmx.net>
11206 * funcrequest.h: new class to wrap a kb_action and its argument
11209 * BufferView_pimpl[Ch]:
11213 * lyxrc.C: subsequent changes
11216 2002-08-07 John Levon <levon@movementarian.org>
11218 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11219 document options change.
11221 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11226 * makefile.am: move counters functionality over from
11227 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11229 2002-08-06 John Levon <levon@movementarian.org>
11231 * WordLangTuple.h: new file for word + language code tuple
11242 * BufferView2.C: use WordLangTuple
11245 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11247 2002-08-06 John Levon <levon@movementarian.org>
11249 * lyx_main.C: fix cmdline batch handling
11251 2002-08-06 André Pönitz <poenitz@gmx.net>
11253 * lyxrc.C: set default for show_banner to true
11255 2002-08-06 John Levon <levon@movementarian.org>
11257 * pspell.C: fix a crash, and allow new aspell to work
11259 2002-08-06 John Levon <levon@movementarian.org>
11262 * kbmap.C: small cleanup
11265 * vspace.C: add const
11267 2002-08-05 John Levon <levon@movementarian.org>
11269 * LyXAction.C: back to tabular-insert
11271 2002-08-04 John Levon <levon@movementarian.org>
11274 * BufferView.C: cosmetic change
11276 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11286 * BufferView2.C: purge all "Lyx" not "LyX" strings
11289 * lyxcursor.C: attempt to add some documentation
11294 * ToolbarDefaults.C:
11295 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11296 merge with LFUN_TABULAR_INSERT
11303 * pspell.C: split up i/pspell implementations into separate
11304 files, many cleanups
11306 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11308 * text2.C: some cleanup
11310 * lyxfunc.C: don't check for isp_command == "none" any more, it
11311 didn't make any sense
11313 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11318 * makefile.am: move counters functionality over
11319 from text2.C/paragraph.[Ch] to counters.[Ch], and
11321 2002-08-02 John Levon <levon@movementarian.org>
11323 * buffer.C: s/lyxconvert/lyx2lyx/
11325 2002-08-02 Angus Leeming <leeming@lyx.org>
11327 * lyxlex.C: revert John's change as it breaks reading of the user
11330 2002-08-02 Angus Leeming <leeming@lyx.org>
11332 * importer.C (Import):
11333 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11334 changes due to LyXView::view() now returning a boost::shared_ptr.
11336 2002-08-02 John Levon <levon@movementarian.org>
11338 * lyxlex.C: small cleanup
11340 2002-08-02 John Levon <levon@movementarian.org>
11342 * text2.C (status): small cleanup, no logic change
11344 2002-08-01 John Levon <levon@movementarian.org>
11347 * buffer.C (writeFile): don't output alerts, caller
11351 * lyx_cb.C: from above
11353 * lyxfunc.C: allow to open non-existent files
11355 2002-07-31 John Levon <levon@movementarian.org>
11357 * lyxserver.C: don't let incidental errors get
11360 2002-07-30 John Levon <levon@movementarian.org>
11362 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11364 2002-07-30 John Levon <levon@movementarian.org>
11367 * lyxserver.C: remove I/O callback too
11369 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11371 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11374 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11376 * many files: strip,frontStrip -> trim,ltrim,rtrim
11378 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11380 * PrinterParams.h: remove extern containsOnly, and include
11381 support/lstrings.h instead.
11383 * LaTeX.C (scanAuxFile): modify because of strip changes
11385 * buffer.C (makeLaTeXFile): ditto
11386 * bufferparams.C (writeFile): ditt
11387 * lyxfont.C (stateText): ditto
11388 * lyxserver.C (read_ready): ditto
11389 * vc-backend.C (scanMaster): ditto
11391 * BufferView_pimpl.h: ws changes
11393 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11395 2002-07-26 André Pönitz <poenitz@gmx.net>
11397 * kb_sequence.C: remove unnedred usings
11399 2002-07-26 Juergen Vigna <jug@sad.it>
11401 * lyxfind.C (LyXReplace): we have to check better if the returned
11402 text is not of theLockingInset()->getLockingInset().
11404 2002-07-25 Juergen Vigna <jug@sad.it>
11406 * lyxfind.C (LyXReplace): don't replace if we don't get the
11409 * undo_funcs.C (createUndo): remove debugging code.
11411 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11413 * buffer.C (parseSingleLyXformat2Token): Use default placement
11414 when reading old floats.
11416 * FloatList.C (FloatList): Change the default placement of figure
11417 and tables to "tbp".
11419 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11421 * MenuBackend.C: using std::max
11423 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11425 * MenuBackend.C (expandToc):
11426 (expandToc2): code moved from xforms menu frontend. It is now
11427 generic and TOCs are transparent to menu frontends.
11429 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11431 * toc.C (getTocList): protect against buf=0
11433 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11434 Menu as first parameter. Now, this calls itself recursively to
11435 expand a whole tree (this will be useful for TOC handling)
11436 (expandFloatInsert): remove 'wide' version of floats
11438 * MenuBackend.h (submenuname): returns the name of the submenu.
11439 (submenu): returns the submenu itself, provided it has been
11440 created by MenuBackend::expand
11442 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11444 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11445 insets which have noFontChange == true. (bug #172)
11447 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11449 * BufferView_pimpl.C: add connection objects and use them...
11452 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11454 * MenuBackend.C (expandLastfiles):
11457 (expandFloatListInsert):
11458 (expandFloatInsert):
11459 (expand): split expand in parts
11461 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11463 * lyx_gui.C: use lyx_gui::exit()
11465 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11467 * LyXAction.C: show the failing pseudo action
11469 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11471 * buffer.C (readFile): Run the lyxconvert script in order to read
11474 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11478 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11480 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11484 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11486 2002-07-22 Herbert Voss <voss@lyx.org>
11489 * lyxlength.[Ch]: add support for the vertical lengths
11491 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11493 * toc.[Ch]: std:: fixes
11495 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11497 * lyxrc.C: do not include lyx_main.h
11499 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11505 * BufferView2.C: include "lyxlex.h"
11508 * bufferparams.h: do not #include "lyxlex.h"
11510 * lyxtextclasslist.C (Add): remove method
11511 (classlist): renamed to classlist_
11513 * paragraph_pimpl.C:
11517 * bufferview_funcs.C:
11522 * toc.C (getTocList): use BufferParams::getLyXTextClass
11524 * toc.C (getTocList): use InsetFloat::addToToc
11526 * toc.[Ch]: new files, containing helper functions to handle table
11529 * lyxfunc.C (dispatch): no need to remove spaces around command
11531 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11532 first command of the sequence; it is not very clever, but I do not
11533 have a better idea, actually
11535 * LyXAction.C (LookupFunc): make sure to remove space at the
11536 beginning and end of the command
11538 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11540 * MenuBackend.C (getMenubar): new method: return the menubar of
11542 (read): treat differently reading of menu and menubar (in
11543 particular, the menubar has no name now)
11544 (Menu::menubar): remove
11546 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11549 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11551 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11552 a bibitem inset in a RTL paragraph.
11554 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11556 * paragraph_pimpl.C: constify
11558 * BufferView_pimpl.C:
11560 * lyxfunc.C: fix dispatch in a nicer way
11562 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11564 * lyxfunc.C (dispatch):
11565 * BufferView_pimpl.C:
11566 * BufferView_pimpl.h:
11568 * BufferView.h: rename Dispatch() to dispatch()
11570 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11572 * lyxlayout.C (Read): honor DependsOn tag
11574 * lyxlayout.[Ch] (depends_on): new method
11576 * version.C.in: update lyx_docversion
11578 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11580 * paragraph.C (validate): remove from here...
11581 * paragraph_pimpl.C (validate): ... and move here
11582 (isTextAt): make it const
11584 * buffer.C (getLists): ws cleanup
11586 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11588 * language.C (read): Use iso8859-1 encoding in latex_lang
11589 (this prevents LyX from crashing when using iso10646-1 encoding).
11591 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11593 * text2.C (toggleInset): if cursor is inside an inset, close the
11594 inset and leave cursor _after_ it
11596 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11598 * lyxfunc.C: move minibuffer completion handling out of here
11600 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11602 * BufferView_pimpl.C:
11603 * LaTeX.C: fix dispatch calls
11605 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11607 * text.C (drawChars): Fix Arabic text rendering.
11609 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11613 * lyxfunc.C: remove message-push/pop
11617 * lyxfunc.C: rationalise some code by removing verboseDispatch
11618 in favour of a bool argument to dispatch()
11620 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11622 * lyx_main.C (init): make sure to read symlinks as absolute paths
11624 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11627 * lyxfunc.C: no need for commandshortcut to be a member
11629 2002-07-15 André Pönitz <poenitz@gmx.net>
11631 * converter.C: add support for $$s (scripts from lib/scripts dir)
11632 * lyx_main.C: white space
11634 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11638 * lyxrc.C: remove second exit confirmation
11640 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11645 * BufferView_pimpl.h:
11646 * BufferView_pimpl.C:
11647 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11649 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11651 * MenuBackend.C (expand): add numeric shortcuts to document menu
11653 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11655 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11657 * lyxfont.C (setLyXFamily):
11664 * buffer.C (asciiParagraph): use ascii_lowercase
11666 2002-07-15 Mike Fabian <mfabian@suse.de>
11668 * lyxlex_pimpl.C (search_kw):
11669 * lyxlex.C (getLongString):
11670 * converter.h (operator<):
11671 * converter.C (operator<):
11672 * buffer.C (parseSingleLyXformat2Token):
11674 * ToolbarDefaults.C (read):
11675 * MenuBackend.C (checkShortcuts):
11677 * LColor.C (getFromGUIName):
11678 (getFromLyXName): use the compare_ascii_no_case instead of
11679 compare_no_case, because in turkish, 'i' is not the lowercase
11680 version of 'I', and thus turkish locale breaks parsing of tags.
11682 2002-07-16 Angus Leeming <leeming@lyx.org>
11684 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11685 now takes a Buffer const & argument.
11687 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11689 * BufferView.C (resize): check there's a buffer to resize
11691 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11693 * lyxfunc.C: remove dead code
11696 * lyxserver.C: use lyx_guii::set_read_callback
11698 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11700 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11701 an inset in a RTL paragraph.
11703 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11705 * lyxfunc.C: repaint after a font size update
11707 2002-07-15 André Pönitz <poenitz@gmx.net>
11709 * lyxlength.C: inBP should be able to return negative values
11711 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11713 * lyxfunc.C: use lyx_gui::update_fonts()
11715 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11717 * lyxfunc.C: use lyx_gui::update_color()
11719 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11725 * lyxrc.C: remove file->new asks for name option, and let
11726 buffer-new take an argument
11728 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11730 * BufferView_pimpl.C: remove unneeded extra repaint()
11732 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11734 * LyXAction.C: allow command-sequence with NoBuffer
11736 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11738 2002-07-10 Angus Leeming <leeming@lyx.org>
11740 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11742 2002-07-09 Angus Leeming <leeming@lyx.org>
11744 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11746 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11748 * lengthcommon.h: whitespace
11750 * lyxfunc.C: update scrollbar after goto paragraph
11752 * lyxtext.h: factor out page break drawing, and fix it so
11753 page break/added space paints as selected nicely
11755 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11757 * BufferView_pimpl.C: add FIXMEs, clean up a little
11759 2002-07-09 André Pönitz <poenitz@gmx.net>
11761 * lyxfont.[Ch]: support for wasy symbols
11763 2002-07-08 André Pönitz <poenitz@gmx.net>
11765 * BufferView_pimpl.C: apply John's patch for #93.
11767 2002-07-05 Angus Leeming <leeming@lyx.org>
11769 * BufferView_pimpl.C (buffer): generate previews if desired.
11771 * LColor.h: add "preview" to the color enum.
11773 * LColor.C (LColor): add a corresponding entry to the items array.
11775 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11778 2002-07-05 Angus Leeming <leeming@lyx.org>
11780 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11781 The body of the code is now in the method that is passed an ostream &
11782 rather than a file name.
11783 Pass an additional only_preamble parameter, useful for the forthcoming
11786 2002-07-03 André Pönitz <poenitz@gmx.net>
11788 * lyxfunc.C: simplify getStatus() a bit for math stuff
11790 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11792 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11794 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11796 * text.C (changeRegionCase): do not change case of all the
11797 document when region ends at paragraph end (bug #461)
11799 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11801 * paragraph.C (startTeXParParams):
11802 (endTeXParParams): add \protect when necessary
11804 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11806 * BufferView_pimpl.C (workAreaExpose): remove warning
11808 2002-06-27 Angus Leeming <leeming@lyx.org>
11810 * Makefile.am: add lyxlayout_ptr_fwd.h.
11812 2002-06-26 André Pönitz <poenitz@gmx.net>
11814 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11816 2002-06-25 Angus Leeming <leeming@lyx.org>
11818 * lyxfunc.C (dispatch): Comment out the call to
11819 grfx::GCache::changeDisplay. The method no longer exists now that the
11820 pixmap generation part of the graphics loader has been moved into
11823 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11825 * text2.C: layout as layout
11827 * text.C: layout as layout
11829 * tabular.C (OldFormatRead): layout as layout
11831 * paragraph_pimpl.C (TeXDeeper): layout as layout
11832 (realizeFont): layout as layout
11834 * paragraph.C (writeFile): layout as layout
11835 (validate): layout as layout
11836 (getFont): layout as layout
11837 (getLabelFont): layout as layout
11838 (getLayoutFont): layout as layout
11839 (breakParagraph): layout as layout
11840 (stripLeadingSpaces): layout as layout
11841 (getEndLabel): layout as layout
11842 (getMaxDepthAfter): layout as layout
11843 (applyLayout): layout as layout
11844 (TeXOnePar): layout as layout
11845 (simpleTeXOnePar): layout as layout
11846 (TeXEnvironment): layout as layout
11847 (layout): layout as layout
11848 (layout): layout as layout
11850 * lyxtextclass.C (compare_name): new functor to work with
11851 shared_ptr, layout as layout
11852 (Read): layout as layout
11853 (hasLayout): layout as layout
11854 (operator): layout as layout
11855 (delete_layout): layout as layout
11856 (defaultLayout): layout as layout
11858 * lyxlayout_ptr_fwd.h: new file
11860 * lyxlayout.C (Read): layout as layout
11862 * lyx_cb.C (MenuInsertLabel): layout as layout
11864 * bufferlist.C (newFile): layout as layout
11866 * buffer.C (readLyXformat2): layout as layout
11867 (parseSingleLyXformat2Token): layout as layout
11868 (insertStringAsLines): layout as layout
11869 (asciiParagraph): layout as layout
11870 (latexParagraphs): layout as layout
11871 (makeLinuxDocFile): layout as layout
11872 (simpleLinuxDocOnePar): layout as layout
11873 (makeDocBookFile): layout as layout
11874 (simpleDocBookOnePar): layout as layout
11875 (getLists): layout as layout
11877 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11879 * CutAndPaste.C (cutSelection): layout as layout
11880 (pasteSelection): layout as layout
11881 (SwitchLayoutsBetweenClasses): layout as layout
11883 * BufferView_pimpl.C (Dispatch): layout as layout
11884 (smartQuote): layout as layout
11886 * BufferView2.C (unlockInset): layout as layout
11888 2002-06-24 André Pönitz <poenitz@gmx.net>
11890 * lyxfunc.C: fix #487
11892 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11896 * lyxfunc.C: remove display_shortcuts, show_banner
11898 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11900 * Buffer_pimpl.C: oops, update on resize
11902 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11909 * BufferView.C: use repaint()
11911 * BufferView_pimpl.h:
11912 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11913 as it's a clearer description. Remove superfluous
11916 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11918 * text.C: fix bug 488. Not ideal, but getting
11919 getWord() to work properly for the insets that
11920 matter is more difficult ...
11922 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11924 * BufferView_pimpl.C:
11927 * lyxfunc.C: remove the six million index lyxfuncs to just
11928 one, and DTRT (bug 458)
11930 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11934 * BufferView_pimpl.h:
11935 * BufferView_pimpl.C: clean up resize() stuff,
11936 and unnecessary updateScreen()s
11938 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11942 * BufferView_pimpl.h:
11943 * BufferView_pimpl.C:
11946 * minibuffer.C: remove focus management of workarea,
11947 not needed. Use screen's greyOut()
11949 2002-06-17 Herbert Voss <voss@lyx.org>
11951 * converter.C: (convert) do not post a message, when converting
11952 fails, let the calling function decide what to do in this case
11954 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11956 * lyxfunc.C: tidy up a little
11958 2002-06-16 <alstrup@diku.dk>
11960 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11961 Got rid of FORMS_H_LOCATION include. Now we are
11964 2002-06-15 LyX Development team <lyx@rilke>
11966 * buffer.[Ch] (sgmlOpenTag):
11967 (sgmlCloseTag): Added support for avoiding pernicious mixed
11968 content. Return number of lines written.
11970 (makeLinuxDocFile):
11971 (makeDocBookFile): Fixed calls to sgml*Tag.
11972 Simple white space clean.
11974 (simpleDocBookOnePar): Simple white space clean.
11976 * tabular.[Ch] (docBook): Renamed to docbook and got another
11977 argument to related with the pernicious mixed content.
11979 (docbookRow): Fixed calls for docbook inset method.
11981 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11983 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11984 so it's X11 independent.
11988 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11990 2002-06-15 Lyx Development team <lyx@electronia>
11992 * intl.h: Renamed getTrans to getTransManager.
11994 2002-06-14 Angus Leeming <leeming@lyx.org>
11996 * Makefile.am: nuke forgotten stl_string_fwd.h.
11998 2002-06-12 Angus Leeming <leeming@lyx.org>
12000 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12002 2002-06-13 Angus Leeming <leeming@lyx.org>
12005 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12007 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12009 * kbmap.C (getiso): add support for cyrillic and greek
12011 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12015 * BufferView_pimpl.h:
12016 * BufferView_pimpl.C: move bogus scrolling logic
12019 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12022 * BufferView_pimpl.C: view->resize() change
12024 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12026 * BufferView_pimpl.C: topCursorVisible
12029 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12033 * lyx_gui.C: move to frontends/
12037 * lyx_main.C: changes from above
12039 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12046 * lyx_main.C: minor tidy
12048 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12050 * BufferView_pimpl.h:
12051 * BufferView_pimpl.C:
12053 * BufferView.C: make painter() const,
12056 * BufferView2.C: use screen() accessor
12059 * lyx_main.C: some minor cleanup
12061 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12063 * BufferView_pimpl.h:
12064 * BufferView_pimpl.C: remove enter/leaveView,
12067 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12072 * BufferView_pimpl.h:
12073 * BufferView_pimpl.C: only construct screen once,
12076 * lyxrc.C: remove pointless comment
12078 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12081 * BufferView.C: remove active() and belowMouse()
12083 * BufferView_pimpl.h:
12084 * BufferView_pimpl.C: use workarea() not workarea_,
12085 and make it use a scoped_ptr instead
12087 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12089 * lyx_gui.C: add debug message on BadWindow
12091 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12093 * sp_spell.C: fdopen is not part of the C++ standard.
12095 * paragraph.C (InsetIterator): use >= instead of ==
12097 2002-06-07 Angus Leeming <leeming@lyx.org>
12099 Fixes needed to compile with Compaq cxx 6.5.
12100 * BufferView_pimpl.C:
12107 * lyxtextclasslist.C:
12112 all c-library variables have been moved into namespace std. Wrap
12113 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12118 Add a using std::abs declaration.
12120 * kbmap.h (modifier_pair):
12121 * paragraph.h (InsetTable, InsetList):
12122 * lyxfont.h (FontBits):
12123 type definition made public.
12125 * bufferlist.C (emergencyWriteAll): the compiler complains that
12126 there is more than one possible lyx::class_fun template to choose from.
12127 I re-named the void specialisation as lyx::void_class_fun.
12129 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12131 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12132 the compiler is is unable to find tostr in write_attribute.
12134 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12136 * buffer.C (sgmlError): hide #warning
12138 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12140 * xtl/*: get rid of xtl, which is not in use anyway
12142 * LyXAction.C (init):
12143 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12144 were unimplemented xtl experimentation
12146 2002-06-04 André Pönitz <poenitz@gmx.net>
12148 * lyxfunc.C: disable array operation on simple formulae
12150 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12152 * converter.C: constify a bit
12154 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12156 * lyx_gui.C: check xforms version correctly
12158 2002-04-30 Herbert Voss <voss@lyx.org>
12160 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12163 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12165 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12166 attempt to register it with a VCS)
12168 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12170 * lyx_main.C (init): honor variables LYX_DIR_13x and
12173 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12177 * lyx_main.C: fix a crash on bad command line,
12178 and give a useful exit status on error
12180 * lyxfunc.C (doImport): allow -i lyx to work
12182 2002-03-30 André Pönitz <poenitz@gmx.net>
12184 * lyxfunc.C: mathed font changes
12186 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12201 * trans_mgr.h: srcdocs, and some minor cleanups
12203 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12205 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12206 call getFont all the time)
12208 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12210 * switch from SigC signals to boost::signals
12212 2002-05-29 André Pönitz <poenitz@gmx.net>
12214 * paragraph_pimpl.C (getChar): don't call size() too often...
12216 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12218 * paragraph_pimpl.C (insertChar): do not try to update tables when
12219 appending (pos == size())
12221 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12222 in order to reduce drastically the number of comparisons needed to
12223 parse a large document
12225 2002-05-29 André Pönitz <poenitz@gmx.net>
12231 * textclasslist.[Ch]:
12232 * sp_ispell.h: whitespace change
12234 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12236 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12237 lyxaction directly now.
12239 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12243 * lyxvc.C: remove unused headers
12245 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12252 * undo_funcs.C: some cleanups. Use shared_ptr
12253 and a template for the undo stacks.
12255 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12257 * BufferView_pimpl.h:
12258 * BufferView_pimpl.C:
12265 * text2.C: use key_state/mouse_state
12267 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12269 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12272 * chset.C: change include order
12273 (loadFile): use boost regex and get rid of LRegex and LSubstring
12275 * Makefile.am (BOOST_LIBS): new variable
12276 (lyx_LDADD): use it
12278 * LaTeX.C: change include order.
12279 (scanAuxFile): use boost regex and get rid of LRegex and
12283 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12288 * FontInfo.C: moved to frontends/xforms/
12291 * FontLoader.C: moved into frontends for GUIIzation
12296 * lyxfunc.C: changes from above
12298 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12300 * LColor.C: remove spurious X include
12302 * BufferView_pimpl.C:
12307 * text2.C: move font metrics to frontends/
12309 2002-05-24 Juergen Vigna <jug@sad.it>
12311 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12312 setting the undo_cursor.
12314 * ParagraphParameters.h: include local includes first.
12316 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12318 * BufferView_pimpl.C:
12319 * BufferView_pimpl.h:
12323 * screen.C: move WorkArea into frontends/
12329 * BufferView2.C: move LyXScreen into frontends/
12333 * lyx_gui.C: move lyxlookup into frontends/xforms/
12335 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12338 * BufferView_pimpl.C:
12348 * bufferview_funcs.C:
12361 * vc-backend.C: move LyX/XFormsView into frontends/
12363 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12375 * text2.C: move Painter to frontends/
12377 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12379 * buffer.C: comment out some some code that depend upon lyx_format
12382 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12383 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12385 * buffer.h (NO_COMPABILITY): turn off compability
12387 * ColorHandler.C: include scoped_array.hpp
12389 * font.C: Use more specific smart_ptr header.
12392 * ShareContainer.h: ditto
12393 * lyx_main.h: ditto
12395 * FontInfo.h: ditto
12396 * BufferView_pimpl.h: ditto
12397 * ColorHandler.h: ditto
12399 * kbmap.C (defkey): change call to shared_ptr::reset
12401 2002-05-21 Juergen Vigna <jug@sad.it>
12403 * buffer.C (insertErtContents): fix to insert ert asis if it is
12404 non empty. Skip it completely if it contains only whitespaces.
12406 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12408 * BufferView_pimpl.C:
12409 * BufferView2.C: clear selection on paste (bug 393)
12411 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12413 * DepTable.C: include ctime
12415 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12417 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12419 2002-05-14 Juergen Vigna <jug@sad.it>
12421 * text.C (breakParagraph): fixed function to honor the keepempty
12422 layout in the right maner and also to permit the right breaking
12423 algorithm on empty or non empyt keepempty paragraphs.
12425 * paragraph.C (breakParagraph): we have to check also if the par
12426 is really empty (!size()) for isempty otherwise we do the wrong
12429 2002-05-10 Juergen Vigna <jug@sad.it>
12431 * buffer.[Ch] : The following are only changes to the ert
12432 compatibility read reading old LaTeX layout and font stuff and
12433 convert it to ERTInsets.
12435 * buffer.h: added isErtInset().
12437 * buffer.C (struct ErtComp): add a fromlayout bool to check
12438 if we're inside a LaTeX layout.
12439 (isErtInset): new helper function.
12440 (insertErtContents): look for other ert insets before this one
12441 and insert the contents there, so that we don't have subsequent
12442 ERT insets with nothing between them. This way we create only one
12443 inset with multiple paragraphs. Also check if we don't insert only
12444 spaces ' ' as they are ignored anyway afterwards in the .tex file
12445 so if we have only spaces we will ignore this latex part in the
12447 (parseSingleLyXformat2Token \\layout): better compatibility when
12448 reading layout-latex stuff.
12449 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12451 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12452 stuff after reading the inset only get the information back from
12455 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12457 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12459 * LaTeXFeatures.C (getBabelOptions): New method.
12461 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12463 * BufferView_pimpl.C (Dispatch): work around missing argument for
12466 2002-05-08 Juergen Vigna <jug@sad.it>
12468 * text.C (leftMargin): handle paragraph leftindent.
12470 * paragraph.C (writeFile): write the new \\leftindent tag.
12471 (validate): handle leftindent code.
12472 (TeXEnvironment): handle paragraphleftindent code again.
12474 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12476 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12477 for paragrap_extra indent code and new token \\leftindent.
12478 (latexParagraphs): handle the leftindent as environment.
12480 * ParameterStruct.h: added leftindent support.
12482 * ParagraphParameters.C (leftIndent): added support functions for
12483 the paragraph left indent.
12485 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12488 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12490 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12493 * text.C (computeBidiTables): No bidi in insetERT.
12495 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12498 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12500 * version.C.in: pre 5
12502 2002-05-02 José Matos <jamatos@fep.up.pt>
12503 * buffer.C (makeDocBookFile): white space changes, add newline to
12505 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12507 * tabular.C (docBook): fix typo.
12509 2002-05-03 Juergen Vigna <jug@sad.it>
12511 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12512 change in LyXText as we can not be sure it was not freed.
12513 (drawOneRow): remove unused code.
12515 * text.C (drawInset): redo the calculation of the need_break_row as
12516 it could have a row which was already freed.
12517 (draw): look at the return value of drawInset and return false if
12518 it also returned false.
12519 (paintRowText): look at the return value of draw and return false if
12520 it also returned false.
12522 * lyxtext.h: added bool return type to drawInset() and draw() so that
12523 if we have a change in the row so that the rowbreak has to be redone
12524 we abort drawing as it will be called again.
12526 2002-05-02 Juergen Vigna <jug@sad.it>
12528 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12529 a change in the maintext also if we're inside an inset.
12530 (Dispatch): set the cursor again after a break line and after the
12531 screen has been updated as it could be we're in a different row.
12533 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12534 to set the cursor behind the pargraph with > size().
12535 (setCursor): check also for the same paragraph when checking where
12536 to put the cursor if we have a NFR inset.
12538 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12539 parts of layout read further up as it still was in the wrong
12542 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12544 * screen.C (drawFromTo): change sine fullRebreak always return
12547 * buffer.C (parseSingleLyXformat2Token): reindent some
12549 * BufferView_pimpl.C (update): change since fullRebreak always
12551 (Dispatch): git rid of the last hardcoded "Standard"s.
12553 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12555 * text2.[Ch] (fullRebreak): make it return void now that we always
12558 2002-04-30 Juergen Vigna <jug@sad.it>
12560 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12561 ert compatibility check for "latex" layout.
12563 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12565 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12566 minipages: use col% instead of p%, and also use the current font.
12567 (makeLaTeXFile): Fix use babel condition.
12568 (parseSingleLyXformat2Token): Correct font when reading old floats.
12570 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12572 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12573 inserting list of floats.
12575 2002-04-25 Herbert Voss <voss@lyx.org>
12577 * MenuBackend.C (expand): don't add the graphics extensions to the
12580 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12582 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12583 non-existing layout, do not complain if it was the default layout
12584 of the original class (bug #342)
12586 2002-04-24 Juergen Vigna <jug@sad.it>
12588 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12589 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12591 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12593 * buffer.C (getBibkeyList): If using \bibliography, return the
12594 option field with the reference itself. Enables us to provide natbib
12595 support when using \bibliography.
12597 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12599 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12601 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12602 natbib is provided by the LaTeX class.
12604 2002-04-23 Juergen Vigna <jug@sad.it>
12606 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12609 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12611 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12613 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12615 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12616 ensuremath around textordmasculine, textordfeminine and
12619 2002-04-19 Juergen Vigna <jug@sad.it>
12621 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12622 reinitializing the buffer otherwise row-dimensions may be wrong.
12623 (update): reset also the selection cursors if they do exits otherwise
12624 their x/y positions may be wrong.
12626 * text2.C (cursorDown): don't enter the inset if we came from a row
12627 above and are one row over the inset.
12629 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12630 really leaving an inset.
12632 2002-04-18 Juergen Vigna <jug@sad.it>
12634 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12635 of the selected paragraph does not have the selected layout also if
12638 * text2.C (setLayout): fixed bug which did not change last selected
12641 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12642 changed the read and substituted \\end_float with \\end_inset!
12644 * BufferView_pimpl.C (cursorPrevious):
12645 (cursorNext): fixed to make it work with rows heigher than the work
12646 area without moving the cursor only the draw of the row.
12647 (workAreaMotionNotify): fix jumping over high rows.
12649 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12651 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12654 2002-04-16 Juergen Vigna <jug@sad.it>
12656 * text2.C (setCursor): set also the irow().
12657 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12659 (cursorDown): support for locking an inset if the x_fix value goes
12660 inside it. That way I can transverse insets too with cursor up/down.
12662 * lyxrow.h: added irow helper function same as other (i) functions.
12664 * BufferView_pimpl.C (cursorPrevious):
12665 (cursorNext): fixed for insets!
12667 2002-04-15 Juergen Vigna <jug@sad.it>
12669 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12670 position otherwise it is wrong in some cases.
12672 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12673 inside the inset before the call.
12675 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12677 * buffer.[Ch] (getBibkeyList): make it const.
12679 2002-04-12 Juergen Vigna <jug@sad.it>
12681 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12683 * text2.C (getCursorX): new helper function
12684 (setCursor): compute also ix_
12685 (setCursorFromCoordinates): set also ix.
12687 * lyxcursor.h: added ix_ and helper functions.
12689 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12691 * buffer.C (insertStringAsLines): dont break paragraph if the this
12692 paragraph is inside an inset which does not permit it!
12694 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12695 also with no chars on this paragraph.
12696 (paintRowText): only paint stuff if it's inside the workarea!
12698 * paragraph.C (breakParagraph): honor keepempty flag and break the
12699 paragraph always below not above.
12701 * BufferView2.C (unlockInset): update the paragraph layout on inset
12702 unlock as we changed paragraph in such a case.
12704 * lyxfind.C (LyXFind): clear the former selection if not found!
12706 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12707 again called in insertChar().
12709 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12710 an inset which uses the whole row!
12711 (rightMargin): ditto.
12712 (insertChar): force a rebreak if we inserted an inset!
12714 2002-03-28 Herbert Voss <voss@lyx.org>
12716 * lyxlength.[Ch]: add inBP() to get the right PS-point
12717 units (BigPoint). With inPixels we have rounding errors
12719 2002-04-11 Juergen Vigna <jug@sad.it>
12721 * text2.C (setCursorFromCoordinates): set iy to the right value.
12722 (setCursor): add check if row->previous exists!
12724 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12725 an old float_type as this was the case in the old code!
12727 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12729 * BufferView2.C (showLockedInsetCursor): use iy
12730 (fitLockedInsetCursor): ditto
12732 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12733 locked insets as there we have the right value now.
12735 * lyxcursor.C: added iy_ variable and iy functions to set to the
12736 baseline of cursor-y of the locked inset.
12738 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12739 (setCursor): fixed for insets which need a full row.
12741 * text.C (rowLastPrintable): don't ignore the last space when before
12742 an inset which needs a full row.
12743 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12744 as last character of a row when before a inset which needs a full row.
12746 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12748 * version.C.in: update date
12750 * text2.C (fullRebreak): try to always return true and see what
12753 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12755 * MenuBackend.C (expand): use Floating::listName
12757 * FloatList.C (FloatList): add listName argument to the built-in
12760 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12761 text associated with the float.
12763 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12765 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12767 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12769 * ShareContainer.h: add a couple of missing typenames.
12771 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12773 * lyxrc.C (getDescription): use _() correctly rather than N_().
12775 2002-03-28 Herbert Voss <voss@lyx.org>
12777 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12778 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12780 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12782 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12783 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12785 2002-03-29 Juergen Vigna <jug@sad.it>
12787 * lyxfunc.C (dispatch): add a missing fitCursor call.
12789 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12790 it was scrolled by a cursor move, so return the bool status.
12792 * BufferView.C (fitCursor): return the bool flag also to the outside
12793 world as this is needed.
12795 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12797 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12798 call the edit() as it is not needed (and wrong) IMO.
12799 (workAreaButtonPress): set the screen_first variable before evt.
12800 unlock the inset as this may change screen_first and then we have
12801 a wrong y position for the click!
12803 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12805 * MenuBackend.C (expand): another translation that I missed
12807 2002-03-28 Juergen Vigna <jug@sad.it>
12809 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12811 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12813 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12815 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12817 * MenuBackend.C (expand): fix export/view/update when there is no
12820 2002-03-27 Herbert Voss <voss@lyx.org>
12822 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12825 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12827 * bufferview_funcs.C (currentState): only show paragraph number
12828 for is DEVEL_VERSION is set.
12830 * lyxfunc.C (dispatch): put warning in INFO channel
12832 * MenuBackend.C (expand): translate the name of floats
12834 * FloatList.C (FloatList): mark the float names for translation
12836 * converter.C (convert): use LibScriptSearch
12838 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12840 * MenuBackend.C (defaults): fix default menu (we might as well get
12843 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12845 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12848 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12850 * lyxvc.C: reorder includes.
12852 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12854 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12857 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12859 * CutAndPaste.C: change layouts earlier on paste
12860 to avoid crashing when calling getFont()
12862 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12864 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12867 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12869 * WorkArea.C: remove 'Pending' debug message.
12871 * most files: ws cleanup
12873 * buffer.[Ch]: ws changes
12875 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12877 2002-03-21 Juergen Vigna <jug@sad.it>
12879 * tabular.C (SetMultiColumn): collapse also the contents of the
12880 cells and set the last border right. Added a Buffer const * param.
12882 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12884 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12887 2002-03-19 Juergen Vigna <jug@sad.it>
12889 * text2.C (clearSelection): reset also xsel_cache.
12891 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12892 where it needs to be called (John tells us to do so too :)
12893 (selectionLost): reset sel_cache.
12895 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12897 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12899 * text2.C (setCursorIntern): put debuging code in INSETS channel
12901 2002-03-19 André Pönitz <poenitz@gmx.net>
12903 * lyxfunc.C: tiny whitespace change
12905 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12907 * ToolbarDefaults.C (init):
12908 * LyXAction.C (init):
12910 * BufferView_pimpl.C (Dispatch):
12911 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12913 2002-03-19 Allan Rae <rae@lyx.org>
12915 * exporter.C (Export): removeAutoInsets before doing anything else.
12916 While I've just introduced a dependency on BufferView this really is
12917 the best place to clean the buffer otherwise you need to cleanup in
12918 a dozen places before calling export or cleanup in a dozen functions
12921 * converter.C (runLaTeX):
12922 (scanLog): Better handling of removeAutoInsets and screen updates.
12924 * lyxfunc.C (dispatch): small whitespace changes
12926 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12928 * WorkArea.C (C_WorkAreaEvent): return a value.
12929 (event_cb): return 1 if we handled the event, 0 otherwise.
12931 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12933 2002-03-18 Juergen Vigna <jug@sad.it>
12935 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12936 (GetAdditionalWidth): ditto.
12937 (RightLine): ditto.
12940 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12941 inset if we're there actually (probably not used right now but this
12942 is the direction to go for unifying code).
12943 (paste): disable code to clear the selection.
12945 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12946 inside an InsetText and move the check further up as it is in the
12949 * text2.C (pasteSelection): set a selection over the pasted text.
12951 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12953 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12954 and libgraphics to build on Cygwin.
12956 2002-03-15 Juergen Vigna <jug@sad.it>
12958 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12959 inserting an Inset into the paragraph. I know this is not the best
12960 fix but we already use current_view in CutAndPaste so we will remove
12961 all of it's using at the same time.
12963 * buffer.C (sgmlError): deactivated function till it is rewritten in
12964 the right mode, now it can create problems.
12966 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12967 before accessing it.
12969 2002-03-14 Juergen Vigna <jug@sad.it>
12971 * undo_funcs.C (textHandleUndo): do the right thing when updating
12972 the inset after the undo/redo.
12974 * text2.C (setCursor): just some testcode for #44 not ready yet.
12976 * undo_funcs.C (textHandleUndo): set the next() and previous()
12977 pointers of the paragraph to 0 before deleting otherwise we have
12978 problems with the Paragraph::[destructor].
12980 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12981 on a paragraph insertion.
12983 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12985 * buffer.C (asciiParagraph): use += operator for char append to
12988 * paragraph.C (getFontSettings): compare >= not just >
12989 (highestFontInRange): ditto
12992 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12994 * paragraph.C: change several algorithm to be more appripriate for
12995 the problem domain. This is lookip in FontList and in the InsetList.
12997 2002-03-13 André Pönitz <poenitz@gmx.net>
13000 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13002 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13007 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13009 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13011 * Painter.C (display): anon helper function, adjust code for this
13013 (pixmap): remove function.
13015 * Painter.h: remove private display variable.
13017 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13019 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13021 * WorkArea.[Ch]: remove figinset_canvas cruft.
13023 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13025 * lyxtextclass.C (operator): add one item cache optimization.
13027 * bufferlist.h: doxy changes
13029 * bufferlist.C: ws changes
13031 * DepTable.[Ch] (ext_exist): place const in the right spot.
13033 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13035 (workAreaExpose): call resizeInsets when the with BufferView changes.
13036 (Dispatch): adjust for protectedBlank removal
13037 (specialChar): call updateInset if the insert went ok.
13039 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13040 specialChar instead.
13042 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13044 * BufferView.h: doxy change
13046 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13048 * lyxtextclass.C (operator[]): remove non-const version
13049 (defaultLayout): remove non-const version
13051 2002-03-12 Juergen Vigna <jug@sad.it>
13053 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13054 did resize the LyXText too.
13056 * buffer.C (readLyXformat2): set layout information on newly allocated
13059 * tabular.C (OldFormatRead): set layout information on the paragraph.
13061 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13063 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13065 2002-03-11 Juergen Vigna <jug@sad.it>
13067 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13069 (resizeCurrentBuffer): force also the insets to resize themselfes.
13070 (moveCursorUpdate): fixed up for InsetText.
13072 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13075 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13076 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13077 value of Dialogs::tooltipsEnabled().
13078 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13080 2002-03-08 Juergen Vigna <jug@sad.it>
13082 * BufferView_pimpl.C (updateInset): update inset inside inset also
13083 if it isn't inside theLockingInset().
13085 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13087 * buffer.C (asciiParagraph): redo some of the word and line length
13089 (getLists): look for Caption instead of caption.
13091 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13093 * buffer.C (Buffer): initialize niceFile to true
13095 (makeLinuxDocFile):
13096 (makeDocBookFile): make sure niceFile is true on exit
13098 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13100 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13102 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13104 * LyXSendto.C: remove.
13105 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13106 * lyx_gui.C: remove now-redundant comment.
13107 * ColorHandler.h: remove forward declaration of class WorkArea.
13108 * lyxfunc.C: remove #include "WorkArea.h".
13110 2002-03-07 Juergen Vigna <jug@sad.it>
13112 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13113 got moved away with the DEPM and also set the inset_owner always
13114 right which before could have been omitted.
13116 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13118 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13119 wanted layout is not found.
13121 2002-03-07 Juergen Vigna <jug@sad.it>
13123 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13125 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13127 * paragraph.C (breakParagraph): use default layout not layout of
13129 (Paragraph): clear ParagraphParameters.
13131 2002-03-06 Juergen Vigna <jug@sad.it>
13133 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13134 otherwise it would not be a valid lenght. Fixed a special case in
13135 the minipage compatibility read where we end the document with a
13138 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13139 was set as it could be 0 for InsetTexts first entry.
13141 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13143 * paragraph.C (writeFile): if layout is empty write out
13144 defaultLayoutName().
13146 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13147 file without named layout we set layout to defaultLayoutName().
13149 2002-03-06 Juergen Vigna <jug@sad.it>
13151 * CutAndPaste.C (copySelection): set layout for new paragraph.
13153 * text.C (prepareToPrint): leave ERT inset left aligned
13154 (leftMargin): don't indent paragraphs inside ERT insets
13156 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13158 * paragraph.C (breakParagraph): dont call clear do the work manually
13160 * paragraph.[Ch] (clear): remove function
13162 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13164 * paragraph.C (Paragraph): dont call clear, the work has already
13167 * lyxtextclass.C (operator): assert if n is empty
13169 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13170 work manually instead.
13172 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13174 * BufferView_pimpl.C: protect selectionLost against text == 0
13176 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13178 * text.C (breakParagraph): fix a setting layout to '0' problem.
13180 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13182 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13183 final location of file, for the included files, and graphics.
13185 2002-03-05 Juergen Vigna <jug@sad.it>
13187 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13189 2002-03-04 Juergen Vigna <jug@sad.it>
13191 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13193 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13194 last column of multicolumn cells.
13195 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13197 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13199 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13200 file if it doesn't go to a temporary file.
13202 * buffer.C (sgmlOpenTag):
13203 (sgmlCloseTag): remove extra newline insertion.
13205 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13207 * text.C (getRowNearY): comment out debug msg
13209 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13211 * text2.C: first -> first_y
13213 * text.C (getRowNearY): add some attemts at a possible
13214 optimization, not working.
13216 * tabular.[Ch]: add BufferParams to several function so that newly
13217 created paragraph can be initialized to he default layotu for the
13220 * tabular-old.C (ReadOld): add buf->params to call of Init
13222 * screen.C: rename text->first to text->first_y
13224 * paragraph.C (breakParagraph): always set layout in the broken
13227 * lyxtextclass.C (Read): remove lowercase
13230 (delete_layout): ditto
13232 * lyxtext.h: rename first -> first_y
13234 * lyxlayout.C (Read): remove lowercase
13237 (obsoleted_by): ditto
13239 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13241 * buffer.C (insertErtContents): add params are to InsetERT
13242 (parseSingleLyXformat2Token): add code to check if a paragraphs
13243 layout really exist.
13244 (parseSingleLyXformat2Token): add params to several inset
13246 (asciiParagraph): remove lowercase, do the layout comparisons with
13249 * BufferView_pimpl.C (cursorNext): first -> first_y
13250 (resizeCurrentBuffer): first -> first_y
13251 (updateScrollbar): first -> first_y
13252 (scrollCB): first -> first_y
13253 (workAreaMotionNotify): first -> first_y
13254 (workAreaButtonPress): first -> first_y
13255 (checkInsetHit): first -> first_y
13256 (cursorPrevious): first -> first_y
13257 (cursorNext): first -> first_y
13258 (Dispatch): add buffer_->params to severl inset contructors
13260 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13262 * lyxlayout.C (Read): remove some debug info that I forgot.
13264 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13265 clean up the code slightly.
13266 (makeLinuxDocFile): ditto
13267 (makeDocBookFile): ditto
13269 * text2.C: layout as string
13271 * text.C: layout as string
13273 * paragraph_pimpl.C: layout as string
13275 * paragraph.[Ch]: layout as string
13277 * lyxtextclasslist.[Ch]: layout as string
13279 * lyxtextclass.[Ch]: layout as string
13281 * lyxtext.h: layout as string
13283 * lyxlayout.[Ch]: layout as string
13285 * lyx_cb.C: layout as string
13287 * bufferview_funcs.C: layout as string
13289 * bufferparams.C: layout as string
13291 * buffer.C: layout as string
13293 * LyXView.[Ch]: layout as string
13295 * LaTeXFeatures.[Ch]: layout as string
13297 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13299 * BufferView_pimpl.C: change current_layout to string, remove
13304 (workAreaButtonRelease): layout as string
13306 * BufferView2.C (unlockInset): adjust
13308 * vspace.C (asLatexCommand): use an explict temp variable.
13310 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13312 * Makefile.am: use FRONTEND_*
13314 2002-03-01 Juergen Vigna <jug@sad.it>
13316 * tabular.C (SetWidthOfMulticolCell): changed to something better
13317 I hope but still work in progress.
13318 (recalculateMulticolumnsOfColumn): renamed function from
13319 recalculateMulticolCells as it is more appropriate now.
13320 (SetWidthOfCell): calculate multicols better.
13322 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13324 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13326 * lyxfunc.C (processKeySym): print sequence also if it is
13327 `deleted' (complete)
13329 * kbsequence.C (print): print sequence even if it is deleted
13330 (complete would be a better word, actually).
13332 * lyxfunc.C (dispatch): print complete options after a prefix key
13334 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13336 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13338 * text2.C (setCharFont): eliminate setCharFont code duplication.
13340 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13342 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13343 LFUN_TABULAR_FEATURE (bug #177)
13345 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13347 * Makefile.am: remove figure.h
13349 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13351 * Bufferview_pimpl.C:
13363 * text2.C: remove #include "lyx_gui_misc.h".
13365 * LaTeX.C: added #include <cstdio>
13367 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13369 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13370 that the paragraph following this one can have.
13372 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13374 * vspace.C (asLatexCommand): fix bogus gcc warning
13376 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13378 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13380 * text2.C (setLayout): get rid of redundant code
13382 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13384 * text2.C (incDepth): make sure depth cannot be increased beyond
13387 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13389 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13390 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13392 * PainterBase.h (image):
13393 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13394 a LyXImage const *.
13396 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13400 * BufferView_pimpl.C:
13401 * BufferView_pimpl.h:
13421 * sp_spell.C: remove fig inset, and the crap house of
13422 cards that follows it
13424 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13429 * os2_errortable.h:
13430 * nt_defines.h: move .h into support/
13432 * vms_defines.h: remove
13434 * WorkArea.C: add space in debug output
13438 * buffer.C: add WITH_WARNINGS
13442 * bufferlist.C: s/retrive/retrieve/, add docs
13451 * chset.C: add docs
13453 * lyxgui.C: add ID to X error handler
13455 * lyxtestclass.c: fix typo
13457 2002-02-26 Juergen Vigna <jug@sad.it>
13459 * tabular_funcs.C (write_attribute): changed so that some default
13460 attributes are not written at all.
13461 (getTokenValue): set default values before trying to read the
13462 value so we have the return value always set as default if we don't
13463 find the token we search for.
13465 * tabular.C (Write): write bools as bools not as strings!
13467 2002-02-22 Juergen Vigna <jug@sad.it>
13469 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13470 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13472 * text.C (leftMargin): don't add an indent for paragraphs inside
13473 tabular cells (fix #208).
13475 2002-02-21 José Matos <jamatos@fep.up.pt>
13477 * tabular.C (docBook): fixed support for long tables.
13479 2002-02-20 Juergen Vigna <jug@sad.it>
13481 * text2.C (getFont): get the drawing font of the Inset if this
13482 paragraph is inside an inset (only important for InsetERT for now).
13484 * buffer.C (insertErtContents): use new lanugage params in ERT
13487 * CutAndPaste.C: commenting out seemingly uneeded code.
13489 2002-02-19 Allan Rae <rae@lyx.org>
13491 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13492 Iterators might be simple to use but they also get invalidated.
13493 (removeAutoInsets): renamed saved cursor tracking variables and added
13494 some comments to clarify what everything does.
13496 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13503 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13504 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13507 * vc-backend.h: remove #include "support/syscall.h"
13511 * converter.C: rearrange #includes in Lars' approved fashion.
13513 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13514 forward declare class Timeout in the header file.
13516 * XFormsView.C: changes due to the above.
13518 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13519 similar to LyXView.
13521 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13522 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13524 2002-02-18 José Matos <jamatos@fep.up.pt>
13526 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13529 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13531 * a lot of small ws changes
13532 * add a lot of using std::XXX
13533 * use std construcs some places where approp.
13534 * use some exisint stuff from lyxfunctional where approp.
13535 * Make file changes to use partial linking (lets test this now...)
13537 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13541 remove #include "support/syscontr.h" as it's redundant. Always has been.
13549 change Systemcalls::System to Systemcalls::Wait and
13550 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13551 No change of functionality, just reflects the stripped down Systemcalls
13554 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13556 * debug.[Ch]: add a GRAPHICS type to the enum.
13558 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13560 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13562 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13565 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13567 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13568 match the changes below.
13570 * text2.C (toggleInset): if there is not editable inset at cursor
13571 position, try to see if cursor is _inside_ a collapsable inset
13574 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13576 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13577 document menu has a nice checkbox
13579 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13581 * lyxlength.C (asLatexString): change PW to output as percent of
13584 * lengthcommon.C: change '%' to 't%'
13586 * lyxfunc.C (dispatch): a few comments from Martin
13588 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13592 * BufferView_pimpl.h:
13593 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13596 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13598 * vspace.C (inPixels): fix compiler warning
13600 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13602 * lyxfunc.C (getStatus): fix status message for disabled commands.
13604 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13606 * BufferView_pimpl.C: fix crash on close buffer
13607 during selection (#227)
13609 2002-01-27 Herbert Voss <voss@lyx.org>
13611 * buffer.C: link old Figure to new graphic inset
13613 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13615 * FontLoader.C (getFontinfo): Change the latex font names in order
13616 to match the names of type1inst.
13618 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13620 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13622 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13623 (extchanged): ditto
13625 (remove_files_with_extension): ditto
13626 (remove_file): ditto
13629 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13630 document is smaller than the work area height. Do not initialize
13631 static variables to 0.
13633 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13635 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13637 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13638 LFUN_LAYOUT_PARAGRAPHS.
13640 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13641 tabular. It is possible to provide a possible cell, which will
13642 typically be the actcell from the corresponding insettabular
13644 * lyxfunc.C (getStatus): small cleanup; disable
13645 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13648 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13650 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13652 * paragraph.C (startTeXParParams):
13653 (endTeXParParams): new methods. The LaTeX code to
13654 start/end paragraph formatting
13655 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13656 empty (fixes bug #200)
13658 * vspace.C (inPixels): adapt to the change below
13659 (inPixels): [later] more cleanups (remove unused variables)
13661 * lyxlength.C (inPixels): change to use a width and a height as
13664 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13666 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13667 Replaced with \paperwidth
13669 * DepTable.C (insert): add std:: qualifier
13671 2002-01-18 Allan Rae <rae@lyx.org>
13673 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13676 * text.C (drawInset): Turned out I didn't know enough about how
13677 rebreaking worked. This fixes most of the redraw problems. I see
13678 an occasional cursor trail when a line is broken now and the cursor
13679 placement can seem out by a few pixels also after a rebreak.
13681 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13683 * buffer.C (parseSingleLyXformat2Token): update because minipage
13684 width is now a LyXLength
13686 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13688 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13691 2002-01-17 Juergen Vigna <jug@sad.it>
13693 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13695 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13696 is set correctly and the inset is updated correctly.
13698 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13700 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13701 the beginning of the loop.
13703 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13705 * lyxrc.C: improve help for use_scalable_fonts
13707 2002-01-17 Allan Rae <rae@lyx.org>
13709 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13711 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13713 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13714 make sure to set their inset_owner to the right value (bug #171)
13716 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13719 * DepTable.C: Implement mtime checking to reduce time spent doing
13722 2002-01-16 Juergen Vigna <jug@sad.it>
13724 * tabular.C (GetAdditionalHeight): one of error fixed.
13726 * lyxrc.C (output): small fix in writing use_pspell.
13728 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13730 * sp_base.h: #include LString.h
13732 2002-01-16 Allan Rae <rae@lyx.org>
13734 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13735 Can someone check this please?
13737 * text.C (drawInset): It was possible that p.row would be removed by
13738 breakAgainOneRow upsetting a few other settings. There may be another
13739 small tweak possible by setting need_break_row = 0 when p.row has been
13740 removed but I don't know enough about the logic here.
13742 2002-01-15 Allan Rae <rae@lyx.org>
13744 * text.C (insertChar): removed conditional truism.
13746 * BufferView2.C (removeAutoInsets): More tweaks.
13747 cur_par_prev could be a stray pointer. Check for trailing empty line
13748 in case last line was cur_par and only had an error inset on it.
13750 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13752 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13755 * vc-backend.C (most methods):
13756 * exporter.C (Export):
13757 * converter.C (convert):
13759 * LyXSendto.C (SendtoApplyCB):
13760 * lyxfunc.C (dispatch):
13764 * lyx_cb.C (AutoSave):
13766 * BufferView_pimpl.C (MenuInsertLyXFile):
13767 * buffer.C (runChktex): use Buffer::filePath().
13769 * buffer.h: rename filename to filename_; rename filepath to
13770 filepath_ and make it private
13771 (filePath): new method
13773 * buffer.C (writeFile): use fileName()
13776 * lyx_main.C (init): fix starting of LyX when the binary is a
13777 link from so,ewhere else.
13779 * minibuffer.C: include <cctype> for isprint
13781 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13783 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13784 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13785 name clash with InsetCollapsable's width function.
13787 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13789 * lastfiles.C: include <iterator>
13791 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13793 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13796 * buffer.C (makeLaTeXFile): ditto.
13797 Also make loop operation more transparent.
13799 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13801 * ToolbarDefaults.C: remove trailing comma closing namespace.
13803 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13805 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13808 * trans.C (Load): comment out unused variable, allowed.
13810 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13812 * minibuffer.[Ch] (append_char): new method to recieve input from the
13813 drop-down completion browser. If a key was pressed, then recieve this
13814 char and append it to the existing string.
13815 (peek_event): modify the positioning data passed to the completion
13816 browser so that it can be placed above the minibuffer rather than below.
13817 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13819 * LyXAction.C (init): alloe error-next for readonly documents.
13821 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13824 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13826 * bufferlist.C (readFile): create the buffer _after_ checking that
13829 * lyxfunc.C (verboseDispatch): fix handling of arguments
13831 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13833 * lyxrc.C: use string::erase() instead of initializing to "".
13836 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13838 * BufferView_pimpl.h:
13839 * BufferView_pimpl.C:
13842 * text2.C: tell X when we have made a selection for copying
13844 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13846 * BufferView_pimpl.C (MenuInsertLyXFile):
13847 * lyxfunc.C (menuNew):
13849 (doImport): add shortcuts to directory buttons
13851 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13854 * lyxfunc.C (setStatusMessage):
13855 (getStatusMessage): new methods
13856 (getStatus):use setStatusMessage instead of setErrorMessage
13857 (dispatch): when function is disabled, set error message here
13858 [instead of in getStatus previously]
13860 * BufferView_pimpl.C (workAreaButtonRelease): update
13861 toolbar/menubar here too.
13863 2002-01-13 Allan Rae <rae@lyx.org>
13865 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13866 Now seems indestructible. Remaining task is to audit all other
13867 code affected by deleteEmptyParagraphMechanism. One small quirk
13868 left is that an empty document with an error in the preamble can
13869 be made to report an error but no error box appears. I don't know
13871 (removeAutoInsets): Improved comments.
13873 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13876 * Thesaurus.C: update for Aiksaurus 0.14
13878 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13880 * text2.C (firstParagraph): removed member function, all uses
13881 replaces with ownerParagraph
13882 (redoParagraphs): here
13883 (updateInset): here
13884 (toggleAppendix): here
13885 * BufferView2.C (insertErrors): here
13886 (setCursorFromRow): here
13888 2002-01-13 Allan Rae <rae@lyx.org>
13890 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13891 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13892 There is still a way to segfault this although you may have to do this
13893 multiple times: Have an InsetERT with an unknown command in it.
13894 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13895 <down-arrow>, <Enter> again, View->DVI, BANG!
13897 * text2.C (setCursor):
13898 (deleteEmptyParagraphMechanism):
13899 * lyxtext.h (setCursor):
13900 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13901 Making use of the return value may help fix other bugs.
13903 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13905 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13907 * LyXView.C (updateMenubar): call MenuBar::update here
13908 (updateToolbar): but not here
13909 (showState): do not update toolbar/menubar
13911 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13912 should need to care about that.
13914 * lyxfunc.C (verboseDispatch): simplify a bit
13915 (getStatus): have a version which takes a pseudoaction, and
13916 another which requires a (kb_action,string).
13918 * LyXAction.C (retrieveActionArg): make it work also when action
13919 is not a pseudo-action.
13920 (getActionName): simplify a bit
13923 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13925 * lyxfunc.C (verboseDispatch): new families of methods with
13926 several ways to specify a command and a bool to indicate whether
13927 the command name and shortcut should be displayed in minibuffer
13928 (eventually, we could extend that to a finer bitmask like
13929 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13930 (dispatch): the pristine dispatch command which just, well,
13931 dispatchs! Note it still sets its result to minibuffer; I'm not
13934 * lyxfunc.h: remove setHintMessage
13936 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13938 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13940 * BufferView_pimpl.C (specialChar): delete new inset if we have
13941 not been able to insert it.
13943 * kbmap.C: revert to using int instead of kb_action, since all we
13944 are dealing with is pseudo-actions.
13946 * LyXAction.C (searchActionArg): change to return int instead of
13947 kb_action, since the result is a pseudoaction.
13949 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13951 * buffer.C (insertErtContents): Fix (partially) the font bug.
13953 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13955 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13956 as the other one is broken on my machine!
13958 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13961 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13963 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13965 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13966 reflect their actual use. Provide compatibility code for older lyxrc
13969 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13971 change names of popup font variables in line with the changes to lyxrc.C
13973 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13975 * buffer.C (asciiParagraph): avoid outputing a word twice after
13978 * lyxrc.C (getDescription): document that document_path and
13979 template_path can be empty.
13981 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13983 * LaTeXFeatures.C (getMacros):
13984 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13986 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13988 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13990 (getPackages): rename feature "floats" to "float". Use an array to
13991 iterate over 'simple' features (i.e. just a \usepackage). Add
13992 handling of "amsmath" (renamed from "amsstyle").
13994 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13996 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13999 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14001 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14002 FuncStaus::FuncStatus & FuncStaus::some_method().
14004 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14006 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14007 of the func_satus stuff. Edited and massaged in various ways by
14010 * lyxfunc.C (getStatus): use FuncStatus
14012 2002-01-08 Juergen Vigna <jug@sad.it>
14014 * text.C (nextBreakPoint): use function Inset::isChar().
14016 * paragraph.C (TeXOnePar): use function
14017 Inset::forceDefaultParagraphs.
14019 * buffer.C (latexParagraphs): use function
14020 Inset::forceDefaultParagraphs.
14022 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14024 * lyx_gui.C (init): set the style of the menu popups to
14025 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14027 2002-01-07 Juergen Vigna <jug@sad.it>
14029 * text.C (setHeightOfRow): small fix
14030 (prepareToPrint): don't look at alignment if we don't have the place
14033 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14035 * box.C: New file. Move the Box methods and functions out of box.h,
14036 following Lars' suggestion.
14038 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14040 * box.h: #include "support/LOstream.h", needed for inlined function.
14043 * lyxtextclasslist.C: added some using std declarations.
14045 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14047 * box.h: make signed dimensions to allow insets wider than
14048 the screen (bug #162)
14050 * BufferView_pimpl.C: add some insetHit debug
14052 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14054 * vc-backend.C: add FIXME
14056 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14058 * lyxfunc.C (getStatus): enable code for showing math font status
14061 2002-01-07 Juergen Vigna <jug@sad.it>
14063 * text.C (nextBreakPoint): removed debug output not needed anymore.
14065 2002-01-06 Juergen Vigna <jug@sad.it>
14067 * text.C (nextBreakPoint): fixed up this function we had this bug
14068 since ever but now hopefully we break row better.
14069 (insertChar): we have to check if an inset is the next char as it
14070 could now happen that a large inset is causing a break.
14072 2002-01-05 Juergen Vigna <jug@sad.it>
14074 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14075 if it doesn't like to be drawed.
14077 2002-01-04 Juergen Vigna <jug@sad.it>
14079 * BufferView2.C (lockInset): forgot to set a cursor.
14081 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14083 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14085 * FormMathsPanel.C:
14088 * form_maths_panel.C:
14089 * form_maths_panel.h:
14090 * form_maths_panel.fd: implemented sub- and super- buttons in math
14093 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14094 (or ^ space) to be used as in TeX (req'd by Andr�.
14096 * lyxfunc.C: Allow ^ and _ again to be used both as
14097 super/subscript (mathed) and as themselves (in text).
14099 2002-01-03 Allan Rae <rae@lyx.org>
14101 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14102 "LyX" or the filename of the current buffer if it has one. This is a
14103 modified form of John Levon's patch.
14105 * XFormsView.C (setWindowTitle): also set icon title.
14107 * LyXView.h (setWindowTitle): signature changed.
14108 * XFormsView.h (setWindowTitle): ditto.
14110 2002-01-02 Juergen Vigna <jug@sad.it>
14112 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14114 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14116 * screen.C (topCursorVisible): introduce a temp var for
14117 text->cursor.row(), handle the case where this row is null. (kindo
14120 * text2.C (setCursor): add a couple of asserts.
14122 * paragraph.h (inset_iterator): add -> operator
14124 * paragraph.[Ch] (autoDeleteInsets): remove member function
14126 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14127 cursor pos correctly and handle inset deletion by itself.
14128 (insertErrors): move iterator declaration out of for expression
14130 * lyxtextclass.C: add <algorithm>
14132 * Makefile.am: added the new files to sources, removed layout.C
14134 * layout.C: removed file
14136 * layout.h: remove LYX_DUMMY_LAYOUT
14138 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14142 * lyxtextclass.[Ch]:
14143 * lyxtextclasslist.[Ch]: new files
14145 * include order changes to a lot of files, also changes because of
14148 2001-12-27 Juergen Vigna <jug@sad.it>
14150 * buffer.C (asciiParagraph): more fixes.
14152 * tabular.C (ascii): make ascii export support export of only the
14153 data separated by a column-delimiter.
14154 (ascii): better support for ascii export.
14156 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14158 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14160 * tabular_funcs.C: use a "using std::getline" instead of the
14161 previous fix from Angus (necessary for cxx + lyxstring)
14163 2001-12-24 Juergen Vigna <jug@sad.it>
14165 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14167 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14168 problems. First check a minipage also if we have some ert-contents
14169 (not only on par->size(), second set the right depth of the paragraph
14170 on the relink to the root-paragraph-list!
14172 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14173 which then did not anymore update the main paragraphs on undo/redo!
14175 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14177 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14178 code. Support all font-changing funcs (even those which are not in
14179 menu currently). Support for reporting font settings in
14180 mathed (disabled until Andre provides a function on mathed's side).
14182 * func_status.h (toggle): small helper function to set toggle
14185 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14187 * tabular_funcs.C: getline -> std::getline
14189 2001-12-21 Juergen Vigna <jug@sad.it>
14191 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14192 accessed and could be 0 (I couldn't generate this but it seems
14195 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14197 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14198 * tabular_funcs.h: here and include iosfwd
14200 2001-12-20 Juergen Vigna <jug@sad.it>
14202 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14203 inside inset but undo_par was.
14205 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14207 * Thesaurus.C: always include <config.h> in sources.
14211 * box.h: do not include <config.h> in header files
14213 * text.C (paintLastRow): remove unused variable
14215 * text.C (transformChar):
14217 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14219 * Painter.C (text):
14220 * font.C (width): rewrite to use uppercase() instead of
14223 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14225 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14227 * lyxfind.C: clean up of find failure position change
14229 2001-12-20 Juergen Vigna <jug@sad.it>
14231 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14233 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14234 (TeXRow): added to LaTeX a single tabular row.
14235 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14236 (Latex): simplified and finally good LT-h/f support.
14237 (various_functions): just small adaptions for LT-h/f support.
14239 * tabular_funcs.[hC]: added and moved here all not classfunctions
14242 2001-12-19 Juergen Vigna <jug@sad.it>
14244 * tabular.[Ch]: better support for longtabular options (not finished
14247 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14249 * text.C (paintLastRow): use the label font instead of the font of
14250 the last character to compute the size of *_BOX. This makes more
14251 sense and avoids a crash with empty paragraphs.
14252 Use Painter::rectangle to draw EMPTY_BOX.
14254 2001-12-19 Juergen Vigna <jug@sad.it>
14256 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14257 the paragraphs if the replaced paragraph is not the first one!
14258 Tried to delete not used paragraphs but does not work yet so for
14259 now it's inside #ifdef's and by default off!
14261 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14263 * MenuBackend.C: include "lyx_main.h" instead of declaring
14264 lastfiles (actually was declared as LastFiles* instead of a
14267 2001-12-17 Juergen Vigna <jug@sad.it>
14269 * tabular.C (AppendColumn): applied John's fix
14271 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14275 * BufferView_pimpl.h:
14276 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14279 * box.h: new start of class for above
14281 * lyxfunc.C: ignore space-only minibuffer dispatches.
14282 Show the command name when it doesn't exist
14284 * minibuffer.C: don't add empty lines to the history
14286 * minibuffer.C: add a space on dropdown completion
14288 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14290 * text.C: fix line above/below drawing in insets
14292 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14294 * lyxlength.C (LyXLength): Initialize private variables.
14296 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14298 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14299 when inserting error insets.
14301 2001-12-13 Juergen Vigna <jug@sad.it>
14303 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14304 actually sometimes the before-paragraph.
14305 (setUndo): don't clear the redostack if we're not actually undoing!
14307 2001-12-06 Juergen Vigna <jug@sad.it>
14309 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14310 and fixed redoing of main paragraph, so we can use it now ;)
14312 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14314 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14316 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14319 2001-12-13 André Pönitz <poenitz@gmx.net>
14322 * undo_func.C: minor cleanup
14324 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14326 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14327 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14328 font in urw-fonts package which is marked as -urw-fontspecific and
14329 does not work (incidentally, changing the encoding in the
14330 fonts.dir of this package to -adobe-fontspecific fixes the
14333 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14334 is a crash when undoing first paragraph (Juergen, please take a
14335 look). THis does not mean the undo fix is wrong, just that it
14338 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14339 the (Paragraph*) version when needed instead of duplicating the
14342 * text.C (workWidth): use Inset::parOwner to find out where the
14343 inset has been inserted. This is a huge performance gain for large
14344 documents with lots of insets. If Inset::parOwner is not set, fall
14345 back on the brute force method
14347 * paragraph_pimpl.C (insertInset):
14348 * paragraph.C (Paragraph):
14349 (cutIntoMinibuffer): set parOwner of insets when
14350 inserting/removing them
14352 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14354 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14360 * mathed/formulabase.C:
14361 * mathed/math_cursor.[Ch]:
14362 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14365 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14367 * lyxlength.[Ch] (operator!=): new function
14369 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14371 * text.C (workWidth): use Inset::parOwner to find out where the
14372 inset has been inserted. This is a huge performance gain for large
14373 documents with lots of insets. If Inset::parOwner is not set, fall
14374 back on the brute force method
14376 * paragraph_pimpl.C (insertInset):
14377 * paragraph.C (Paragraph):
14378 (cutIntoMinibuffer): set parOwner of insets when
14379 inserting/removing them
14381 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14383 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14385 * tabular-old.C (getTokenValue):
14386 * tabular.C (getTokenValue):
14387 (write_attribute): new versions for LyXLength
14388 (everywhere): adjust the use of widths
14390 * tabular.h: change the type of widths from string to LyXLength
14392 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14394 * paragraph.C: fixed missing line number count when exporting
14395 Environments to LaTeX file
14397 * buffer.C: added informational message for checking line numbers.
14399 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14401 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14402 paragraph, do the 'double space' part, but not the 'empty
14405 * text.C (workWidth): small optimization
14406 (getLengthMarkerHeight): use minimal size for negative lengths.
14408 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14410 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14412 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14414 2001-12-11 André Pönitz <poenitz@gmx.net>
14417 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14419 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14421 * text2.C: keep selection on a setFont()
14423 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14425 * lyx_cb.C: another bv->text misuse, from insert label
14427 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14430 * kbsequence.C: re-instate nmodifier mask
14432 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14434 * lyx_main.h: make lyxGUI private.
14436 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14438 * lyxfind.C: place the cursor correctly on failed search
14440 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14442 * text.C (getLengthMarkerHeight): for small heights, the arrows
14443 are not always on top/bottom of the text
14444 (drawLengthMarker): smaller arrows; take the left margin in
14445 account; draw also vfills.
14447 (paintLastRow): remove special code for vfill and standard spaces,
14448 since everything is handled in drawLengthMarker now.
14450 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14452 * buffer.C (insertErtContents): try to handle font and language
14453 interaction a bit better.g
14455 * ColorHandler.C (updateColor): change the hash to cover the whole
14456 LColor enum, ws cleanup
14457 (getGCLinepars): ditto
14458 (getGCLinepars): only lookup in the linecache once.
14460 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14462 * iterators.C (operator++): Make the iterator more robust
14464 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14466 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14468 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14471 * text.C: better added space drawing
14473 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14476 * BufferView2.C: fix layout combo update on inset unlock
14478 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14480 * Makefile.am: don't compile unused files
14482 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14486 * LyXAction.C: remove old LFUN_LAYOUTNO
14488 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14490 * paragraph_pimpl.h:
14491 * paragraph_pimpl.C: isTextAt() doesn't need font param
14493 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14496 * lyxlex.C: little cleanup
14498 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14500 * BufferView_pimpl.C: fix insertAscii for insets
14502 2001-12-05 Juergen Vigna <jug@sad.it>
14504 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14505 set the right font on the "multi" paragraph paste!
14507 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14513 * lyxlength.C: remove out-commented code.
14515 * BufferView_pimpl:
14529 * vc-backend.C: change "while(" to "while ("
14531 * lyxlength.[Ch]: add zero function to check if length is zero or
14533 * lyxgluelength.C: use it
14535 2001-12-05 Allan Rae <rae@lyx.org>
14537 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14538 Works for 2.95.3, from what I understand of Garst's reports this should
14539 work for other g++ versions. We're screwed if the abs(int) definition
14540 changed between bugfix releases of gcc.
14542 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14544 * text.C: fix chapter label offset !
14546 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14549 * text.C: fix hfill at end of line, clean up
14551 2001-12-04 Juergen Vigna <jug@sad.it>
14553 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14554 that we force an update of the inset and it's owners if neccessary.
14556 2001-12-03 Juergen Vigna <jug@sad.it>
14558 * text.C (rowLast): simplified code
14560 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14562 * lyxfunc.C: fix show options on timeout
14564 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14566 * screen.C (topCursorVisible): scroll half a page when the cursor
14567 reached top of bottom of screen
14569 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14571 * minibuffer.C: deactivate on loss of focus
14573 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14575 * vspace.[Ch] (operator!=): add operator.
14577 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14579 * BufferView_pimpl.C: refuse to open an inset when
14580 there's a selection.
14582 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14584 * BufferView_pimpl.C: allow to click on RHS of full row insets
14586 2001-11-30 Juergen Vigna <jug@sad.it>
14588 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14589 insets for undo reasons.
14591 2001-11-28 André Pönitz <poenitz@gmx.net>
14593 * vspace.[Ch]: cosmetical changes
14595 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14605 * kbsequence.C: part re-write of old kb code
14608 * WorkArea.C: remove Lgb_bug_find_hack
14610 2001-11-30 José Matos <jamatos@fep.up.pt>
14612 * buffer.C (makeDocBookFile): add a comment to point a hack.
14613 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14614 Fixed a double write of labels.
14616 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14619 * LaTeX.h Fixed bug in LaTeX class where it would not
14620 re-run latex if no depfiles were changed, but the .dvi was removed.
14622 2001-11-28 André Pönitz <poenitz@gmx.net>
14624 * all the files from the change on 2001/11/26:
14625 use lyx::layout_type instead of LyXTextClass::size_type
14626 use lyx::textclass_type instead of LyXTextClassList::size_type
14628 2001-11-29 Juergen Vigna <jug@sad.it>
14630 * text.C: added support for paragraph::isFreeSpacing()
14632 * buffer.C: same as above
14634 * paragraph.h: inserted isFreeSpacing() function to enable
14635 FreeSpacing inside InsetERT.
14637 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14638 of the paragraph's in the cut/copy buffer to 0!
14640 * text2.C (removeRow): remove the assert as it can!
14642 * lyxtext.h: added helper function firstRow returning firstrow and
14643 made firstrow private again.
14645 * BufferView2.C (lockInset): don't relock if we're already locked!
14647 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14648 the only paragraph.
14649 (removeRow): added Assert::(firstrow)
14651 * debug.C: forgot to add INSETTEXT here.
14653 2001-11-28 Juergen Vigna <jug@sad.it>
14655 * sp_spell.C (initialize): changed error text to more general
14656 spellchecker command use (not only ispell!)
14658 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14660 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14662 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14664 * vspace.C: initialise lyxgluelength on failure
14666 2001-11-28 Allan Rae <rae@lyx.org>
14668 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14669 declaration & definition that looks like a function declaration.
14671 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14673 * BufferView2.C (copy):
14674 (copyEnvironment): do not clear the selection when doing a copy.
14676 * text.C (paintFirstRow): compilation fix
14678 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14680 * tabular.C (Latex): correct line count when writing latex.
14682 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14684 * paragraph_pimpl.h:
14685 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14688 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14692 * LColor.C: change vfillline->added_space
14694 * text.C: add markers and text for added space
14696 * vspace.C: fix comment
14698 2001-11-28 André Pönitz <poenitz@gmx.net>
14700 * paragraph.C: whitespace changes
14701 * all the other files from the change on 2001/11/26:
14702 change *::pos_type into lyx::pos_type
14704 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14706 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14707 language of the document when inserting error insets.
14709 2001-11-26 André Pönitz <poenitz@gmx.net>
14711 * BufferView_pimpl.[Ch]:
14719 * paragraph_pimpl.[Ch]:
14722 * text2.C: reduce header dependencies, introduce type for positions
14724 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14726 * <various>: change to use Alert.h
14728 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14730 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14731 when encountering an unknown token.
14732 (readLyXformat2): Show an error message if there were unknown tokens.
14734 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14737 * BufferView_pimpl.C:
14741 * text2.C: use par->isInset()
14743 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14745 * paragraph_pimpl.h:
14746 * paragraph_pimpl.C: cleanup
14748 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14750 * text2.C (removeRow):
14751 * text.C (setHeightOfRow): remove useless (and costly) call to
14754 2001-11-20 Allan Rae <rae@lyx.org>
14756 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14757 Now need Inset*::checkInsertChar() to return true for appropriate
14758 cases so that the characters in the minibuffer will actually be
14761 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14763 * text.C: change the order of the includes.
14764 (workWidth): initialize it at once.
14765 (workWidth): make maxw unsigned
14766 (setHeightOfRow): remove unused variable (inset)
14767 (selectSelectedWord): remove unused variable (inset)
14768 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14770 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14772 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14773 server is not running.
14775 (closeConnection): add debug info when server is disabled.
14777 * ColorHandler.C (getGCForeground): send debug message to GUI
14780 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14782 * kbmap.C (bind): modify because return conventions of
14783 kb_sequence::parse have changed.
14785 * kbsequence.C (parse): only ignore spaces and not any stupid
14786 control character. This avoids tests like s[i] <= ' ', which are
14787 guaranteed to fail with 8bit characters and signed chars.
14788 Change return code to string::npos when there have been no error
14789 (0 was a bad idea when error is at first character)
14791 2001-11-14 José Matos <jamatos@fep.up.pt>
14794 * buffer.C (simpleDocBookOnePar): removed unused argument.
14796 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14798 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14799 insets which are part of a word. Paragraph::isLetter takes care of
14800 that now. Use Paragraph::isInset to identify insets.
14801 (selectSelectedWord): do not test for hyphenation break.
14803 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14804 that protected spaces are considered as spaces.
14806 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14809 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14812 * lyxserver.C: fix it. and small cleanup.
14814 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14816 * BufferView_pimpl.C: use inline helpers
14819 * LaTeXFeatures.C: fix typos
14822 * Spacing.C: move spacing_string into class
14824 * ToolbarDefaults.C: move stuff into namespace anon
14826 * layout.h: update enum
14828 * lyxfunc.C: use better debug
14830 * minibuffer.h: fix typo
14834 * WorkArea.C: add and use Debug::WORKAREA
14838 * text2.C: code re-organisation, inline helpers
14840 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14842 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14843 std::vector.empty().
14845 2001-11-09 Allan Rae <rae@lyx.org>
14847 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14848 '\n's after tables. Tabular and ERT inset work now makes this no
14851 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14854 * minibuffer.C: fix crash, improve drop-down completion
14856 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14859 * lyxserver.C: invalidate fd's when doing endPipe()
14861 2001-11-08 José Matos <jamatos@fep.up.pt>
14863 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14864 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14867 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14869 2001-11-07 José Matos <jamatos@fep.up.pt>
14872 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14875 * buffer.C (sgmlOpenTag):
14876 * buffer.C (sgmlCloseTag): removed debug info.
14878 * buffer.h (sgmlOpenTag):
14879 * buffer.h (sgmlCloseTag): made public.
14881 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14883 * buffer.C (saveParamsAsDefaults):
14884 * lyx_cb.C (MenuLayoutSave): remove
14886 * LyXAction.C (init):
14888 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14890 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14892 * buffer.C (setPaperStuff): removed from here...
14894 * bufferparams.C (setPaperStuff): ... and moved there.
14896 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14900 * XFormsView.C: add support for drop-down completion
14902 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14904 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14907 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14909 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14912 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14914 * lyx_main.C: change ref to known bugs
14916 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14918 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14919 to work around older babel problems.
14921 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14923 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14925 2001-10-24 Juergen Vigna <jug@sad.it>
14927 * tabular-old.C (ReadOld): below variable changes reflected.
14929 * tabular.[Ch]: added ltType struct for longtable header/footer
14930 defines and changed all instances where they are used. Added
14931 future support for double top/bottom rows.
14933 2001-10-24 José Matos <jamatos@fep.up.pt>
14935 * buffer.h (docbookHandleCaption):
14936 * buffer.C (docbookHandleCaption): removed unused function.
14937 (makeDocBookFile): moved docbook supported version to v4.1.
14939 2001-10-24 José Matos <jamatos@fep.up.pt>
14942 * tabular.C (docbookRow): new function to export docbook code of a row.
14943 (DocBook): now honors the longtable flags.
14945 2001-10-23 José Matos <jamatos@fep.up.pt>
14948 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14949 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14951 * buffer.C (makeLinuxDocFile):
14952 (makeDocBookFile): reworked the preamble, more clean, and with
14953 support for lyx defined entities. Changed the document declaration
14954 to be more XML friendly.
14956 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14957 if we need to output XML that should be done with a filter.
14959 2001-10-22 Juergen Vigna <jug@sad.it>
14961 * sp_pspell.h (class PSpell): add alive function needed in the
14962 controller to see if the spellchecker could be started.
14964 2001-10-22 Juergen Vigna <jug@sad.it>
14966 * buffer.C (insertStringAsLines): modify the font for inserting
14967 chars in certain conditions by calling checkInsertChar(font).
14969 2001-10-19 Juergen Vigna <jug@sad.it>
14971 * text.C (workWidth): use getRow instead of wrong algorithm.
14972 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14974 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14979 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14981 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14983 * text.C (workWidth): do not search for the exact row when
14984 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14985 optimization for big documents.
14987 2001-10-18 Juergen Vigna <jug@sad.it>
14989 * text.C (workWidth): new function with added Inset * parameter.
14991 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14993 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14995 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14996 change return type of getColumnNearX.
14999 * text.C (changeRegionCase): use uppercase/lowercase instead of
15002 (rightMargin): simplify code by factoring out the uses of
15007 (appendParagraph): use Paragraph::size_type
15009 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15011 * vspace.C (asLatexString): add a missing break
15013 2001-10-15 Herbert Voss <voss@perce.de>
15015 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15017 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15019 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15022 2001-10-10 André Pönitz <poenitz@gmx.net>
15024 * lyxfunc.C: removed greek_kb_flag.
15026 2001-10-10 Herbert Voss <voss@perce.de>
15028 * lyx_main.C: delete global string help_lyxdir.
15030 2001-10-09 Herbert Voss <voss@perce.de>
15032 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15034 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15036 * lyx_main.C: added global string help_lyxdir.
15038 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15040 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15042 * lyxrc.C (set_font_norm_type): support iso8859-4
15044 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15046 * LaTeX.C (deplog): add another regex for MikTeX
15048 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15050 * lyxrc.C (set_font_norm_type): support iso8859-3
15052 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15054 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15056 * LaTeXFeatures.C: remove special case of french and index
15058 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15059 before \begin{document}). This solves several incompatibilities.
15061 2001-10-03 Garst Reese <reese@isn.net>
15063 * lyx_cb.C: change CheckTex error msg.
15065 2001-10-03 José Matos <jamatos@fep.up.pt>
15067 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15069 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15071 * .cvsignore: update
15073 * lyx_main.C (commandLineVersionInfo): use new style version info.
15075 * buffer.C (writeFile):
15077 (makeLinuxDocFile):
15078 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15080 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15082 * version.h: update to use stuff in version.C
15084 * version.C.in: new file. Contains version information determined
15085 at compile time. This is a merging of version.h and
15088 2001-10-03 Juergen Vigna <jug@sad.it>
15090 * BufferView_pimpl.C (update): don't change "dirty" status in
15093 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15095 * WorkArea.C (c-tor): re-position version string slightly.
15097 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15099 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15100 revert to previous code.
15102 WorkArea.[Ch]: (show, destroySplash): methods removed.
15104 WorkArea.C: rework code so that it's an amalgam of the codes before and
15105 after the splash screen was moved to WorkArea.
15107 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15110 * vspace.C (inPixels):
15113 * buffer.C (insertStringAsLines):
15114 (asciiParagraph): fix types to be large enough
15116 * lyxlex_pimpl.h: change member status from short to int
15118 * layout.h: fix type of endlabeltype
15121 * kbsequence.C (parse): change return type to string::size_type
15123 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15126 * Bullet.C (bulletSize):
15127 (bulletEntry): do not use short ints as parameters
15129 * BufferView2.C (insertLyXFile): change a char to an int.
15131 * WorkArea.C (WorkArea): remove unneeded floats in computation
15133 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15135 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15137 * paragraph.C (asString): Do not ignore newline/hfill chars when
15138 copying to the clipboard.
15140 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15142 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15143 after a multi-line inset.
15145 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15147 * paragraph.C (validate): Set NeedLyXFootnoteCode
15149 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15151 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15152 and decrease-error to decrease.
15154 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15156 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15157 it more readable (should be equivalent)
15159 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15161 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15163 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15165 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15166 of a cursor (row, etc.) after a character has been deleted
15167 (deleteEmptyParagraphMechanism): call the method above on _all_
15168 cursors held by the LyXText when a double space has been
15171 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15173 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15175 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15177 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15178 background. Use greyOut() and the new show() methods to toggle between
15179 the foreground and background. Add code to remove the splash after
15180 its initial showing.
15182 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15183 (create_forms): no longer call Dialogs::showSplash.
15185 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15187 * .cvsignore: add version_info.h
15189 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15191 * version_info.h.in: new file
15193 * Makefile.am: add version_info.h.in
15195 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15196 version_info.h instead of VERSION_INFO
15198 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15200 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15201 The ERT inset now returns string().
15203 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15205 * lyxtext.h, text.C (selectNextWord): renamed as
15206 selectNextWordToSpellcheck.
15208 * text.C (selectNextWordToSpellcheck): Modified to not select
15209 words inside an ERT inset.
15211 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15213 * lyx_cb.C (MenuLayoutSave): change a bit the question
15215 * sp_base.h: include <sys/types.h>
15217 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15219 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15221 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15223 * several files: fix typos in user-visible strings
15225 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15227 * text2.C (pasteSelection): do not set the selection, since it
15228 will be cleared later. Actually, the intent was to fix the way the
15229 selection was set, but I figured rmoving the code was just as good.
15231 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15233 * FontLoader.C (available): Check if font is available without
15236 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15238 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15240 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15242 * lyxrc.[Ch]: added display_graphics variable and associated code.
15244 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15246 * bufferparams.C (hasClassDefaults): new method. Returns true if
15247 the buffer parameters correspond to known class defaults
15249 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15251 * XFormsView.C (show): set minimum size to the main window.
15253 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15255 * text2.C (copySelection):
15257 * lyxfind.C (LyXReplace):
15258 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15259 LyXText::selectionAsString.
15261 * paragraph.C (asString): add "label" argument to the second form
15263 * text2.C (selectionAsString): add "label" argument and pass it to
15264 Paragraph::asString.
15266 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15268 * lyx_main.C (commandLineHelp): remove version information
15270 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15272 * lyx_main.C: add -version commandline option
15274 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15276 * paragraph.h: make the optional constructor arg required instead.
15277 some modifications to other files because of this.
15279 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15281 * lyxserver.C (C_LyXComm_callback): make it static
15283 * lyx_main.C (error_handler): make it static
15285 * lyx_gui.C (LyX_XErrHandler): make it static
15287 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15289 * WorkArea.C: make the extern "C" methods static.
15291 * Makefile.am (lyx_LDADD): simplify
15293 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15295 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15296 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15298 * LyXAction.C (init):
15299 * lyxfunc.C (dispatch): associated code removal.
15301 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15303 * lyxfont.h (isSymbolFont): shut off warning
15305 * text.C (setHeightOfRow):
15306 (getVisibleRow): fix crash with empty paragraphs which have a
15309 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15311 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15314 2001-09-04 José Matos <jamatos@fep.up.pt>
15317 * tabular.C (docbook): rename docBook method to docbook.
15319 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15321 * Makefile.am: add dependencies to main.o.
15323 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15325 * FontLoader.C (available): Return false if !lyxrc.use_gui
15327 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15329 * FontInfo.C (query):
15330 * converter.C (view):
15331 * importer.C (Import):
15332 * exporter.C (Export): Can not -> cannot.
15334 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15336 * BufferView_pimpl.C: allow to create index inset even if
15339 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15341 * buffer.C (getLists): replace boost::tie code with an explicit pair
15342 as boost::tie can break some compilers.
15344 * iterators.h: Added a std:: declaration to the return type of
15347 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15349 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15352 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15354 * iterators.[Ch]: New files. Provide paragraph iterators.
15356 * buffer.C (changeLanguage): Use paragraph iterators.
15357 (isMultiLingual): ditto
15359 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15361 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15363 * FontLoader.C: Support for cmr font.
15365 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15367 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15368 (available): New method.
15370 * FontInfo.C (getFontname): Use scalable fonts even when
15371 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15374 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15376 * converter.C (Formats::view): reverted! Incorrect fix.
15378 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15380 * converter.C (Formats::view): only output the -paper option
15381 if the dvi viewer is xdvi, thereby fixing bug #233429.
15383 2001-08-23 Herbert Voss <voss@perce>
15385 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15387 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15389 * Spacing.h (Spacing): Set space to Default on in the default
15392 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15394 * vc-backend.h (RCS::versionString): add RCS to version
15395 (CVS::versionString): add CVS to version
15397 * vc-backend.C (scanMaster): do not add CVS to version.
15398 (scanMaster): do not add RCS to version
15400 * lyxvc.C (versionString): new method
15402 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15404 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15406 * Spacing.C (set): initialize fval
15408 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15410 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15413 2001-08-16 Juergen Vigna <jug@sad.it>
15415 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15417 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15419 * BufferView_pimpl.C:
15422 * text2.C: setParagraph takes linespacing now
15424 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15426 * LyxAction.C: add internal LFUN_CITATION_INSERT
15428 * LyXView.C: actually apply fix
15430 * bufferlist.C: fix open non-existent file
15432 * lyxfind.C: fix indentation
15434 * lyxfunc.C: remove unneeded assert, fix typo
15436 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15438 * MenuBackend.C: use "Floatname List"
15440 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15442 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15443 when converting LaTeX layout to insetERT.
15444 Generate a non-collapsed float when reading old float
15446 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15448 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15451 2001-08-13 Juergen Vigna <jug@sad.it>
15453 * text.C (fill): return 0 instead of 20 as this seems to be the more
15456 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15458 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15461 2001-08-13 Juergen Vigna <jug@sad.it>
15463 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15465 (SearchBackward): comment out the unlocking of the inset_owner this
15466 should not be needed!
15468 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15470 * Many files: Remove inherit_language, and add latex_language
15472 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15473 collapsible insets.
15475 2001-08-10 Juergen Vigna <jug@sad.it>
15477 * text.C (prepareToPrint): fixed hfill-width in draw!
15479 * BufferView2.C (selectLastWord): save the selection cursor as this
15480 now is cleared in the function LyXText::clearSelection!
15482 2001-08-08 Juergen Vigna <jug@sad.it>
15484 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15485 BACKSPACE type functions.
15487 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15488 is only cutted from the document but not put in the cut-buffer, where
15489 still the old stuff should be.
15491 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15493 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15495 * tabular.C (SetWidthOfCell): fixed special case where the width
15497 (LeftLine): handle '|' in align_special.
15499 (LeftAlreadyDrawed): ditto
15500 (SetWidthOfCell): ditto
15502 2001-08-07 Juergen Vigna <jug@sad.it>
15504 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15506 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15508 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15509 * lyxlex.[hC]: ditto
15511 2001-08-06 Juergen Vigna <jug@sad.it>
15513 * text.C (getVisibleRow): fix up row clearing a bit.
15515 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15517 * minibuffer.C: make sure the X server sees the changes in the input.
15519 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15521 * paragraph.C (getFont): split into...
15522 (getLabelFont): this
15523 (getLayoutFont): and this
15524 * paragraph_pimpl.C (realizeFont): calling this
15526 * text2.C (getFont): split into...
15527 (getLayoutFont): this
15528 (getLabelFont): and this
15529 (realizeFont): all three calling this
15531 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15534 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15536 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15538 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15540 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15541 layouts from the Quote inset insertion.
15543 2001-08-03 Juergen Vigna <jug@sad.it>
15545 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15547 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15548 only if status not is already CHANGED_IN_DRAW (second level).
15550 * text.C (draw): don't set the need_break_row when inside an
15553 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15555 * buffer.C (parseSingleLyXformat2Token): handle more latex
15558 * bufferview_funcs.[hC]: change function names to
15559 begin with small char, adjust other files.
15561 2001-08-02 André Pönitz <poenitz@gmx.net>
15564 BufferView_pimpl.C: remove broken special code for math-greek
15566 2001-08-02 Juergen Vigna <jug@sad.it>
15568 * BufferView_pimpl.C (update): redone this function so that we
15569 update the text again if there was a CHANGE_IN_DRAW.
15571 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15572 (drawFromTo): added a new internal bool which is used by draw() and
15574 (general): some cursor drawing problems fixed.
15576 2001-08-01 Juergen Vigna <jug@sad.it>
15578 * lyxfind.C (LyXFind): fixed
15579 (SearchForward): ditto
15580 (SearchBackward): ditto
15582 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15583 spurius drawing of the cursor in the main area.
15585 * text2.C (status): small fix which could lead to a segfault!
15586 (clearSelection): remove unneeded BufferView param.
15588 2001-08-01 André Pönitz <poenitz@gmx.net>
15590 * lyxfunc.C: small change due to changed mathed interface
15592 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15594 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15596 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15598 * lyxfunc.c: fail gracefully if file doesn't exist
15603 * BufferView_pimpl.C: IsDirWriteable() proto changed
15605 * LyXView.C: fix updateWindowTitle() to store the last title
15607 2001-07-31 Juergen Vigna <jug@sad.it>
15609 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15610 the font (wrong since using of Paragraph::highestFontInRange).
15612 * paragraph.C (highestFontInRange): added a default_size parameter.
15614 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15615 (setHeightOfRow): reformat
15617 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15619 * converter.[hC] + affected files: move to (inital-char)lowercase
15622 * ParagraphParameters.C (ParagraphParameters): remove commented code
15624 * PainterBase.[Ch]: remove commented code
15626 * LaTeXFeatures.h: add "bool floats" for float.sty
15628 * LaTeXFeatures.C (LaTeXFeatures): init floats
15629 (require): handle float
15630 (getPackages): do it with floats
15632 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15634 * BufferView_pimpl.C (Dispatch): improve handling of
15635 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15637 * commandtags.h: #include lyxfont.h here temporarily to avoid
15640 * bufferlist.h: include LString.h here.
15642 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15644 * text2.C (getStringToIndex): new method.
15646 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15648 * *: Reduced header file dependencies all over.
15650 2001-07-30 Baruch Even <baruch@lyx.org>
15652 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15654 2001-07-29 Baruch Even <baruch@lyx.org>
15656 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15658 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15660 * ParameterStruct.h (endif): add a default constructor to make
15661 sure that all variables is initialized.
15663 * ParagraphParameters.C (ParagraphParameters): adjust
15665 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15667 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15668 index; also, check that there is something to index, and that it
15669 does not span over several paragraphs.
15670 (doubleClick): use WHOLE_WORD_STRICT for double click.
15672 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15674 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15677 2001-07-26 Baruch Even <baruch@lyx.org>
15679 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15680 an InsetFig figure, backwards compatible reading of old figure code.
15682 2001-07-27 Juergen Vigna <jug@sad.it>
15684 * text2.C: font.realize function adaption.
15686 * text.C (draw): add a warnings lyxerr text if needed.
15688 * layout.C: font.realize function adaption.
15690 * language.C: add inherit_language and implement it's handlings
15692 * bufferview_funcs.C (StyleReset): remove language parameter from
15693 font creation (should be language_inherit now).
15695 * bufferparams.C (writeFile): handle ignore_language.
15697 * paragraph.C (getFontSettings): the language has to be resolved
15698 otherwise we have problems in LyXFont!
15700 * lyxfont.C (lyxWriteChanges): added document_language parameter
15701 (update): removed unneeded language parameter
15703 * paragraph.C (validate): fixed wrong output of color-package when
15704 using interface colors for certain fonts in certain environments,
15705 which should not seen as that on the final output.
15707 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15709 * BufferView_pimpl.C:
15714 * LyXAction.C: add thesaurus support
15717 * lyxfind.C: add "once" parameter, for thesaurus, to not
15718 move to the next match
15720 2001-07-26 Juergen Vigna <jug@sad.it>
15722 * lyxfont.C (realize): honor ignore_language too!
15725 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15727 * text.C (draw): one place more for ignore_language to not draw
15730 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15732 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15734 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15736 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15737 the minipage conversion problem.
15739 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15741 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15744 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15746 * BufferView.h: don't forward declare WorkArea
15748 * BufferView.C: don't include WorkArea.h
15750 2001-07-25 André Pönitz <poenitz@gmx.net>
15754 * lyxfunc.C: new LFUN 'math-space'
15756 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15758 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15760 * text2.C (toggleInset): call open/close
15762 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15764 * lyxfunc.C (dispatch): add debug for the disabled case
15766 * font.C (buttonText): make similar to rectText
15768 * buffer.C (readInset): comment out parsing of insetlist and
15771 * PainterBase.C (rectText): small correction
15773 * BufferView_pimpl.C: comment out insettheorem and insetlist
15774 * LyXAction.C: ditto
15775 * commandtags.h: ditto
15777 2001-07-24 Juergen Vigna <jug@sad.it>
15779 * text.C (draw): honor the ignore_language.
15781 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15783 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15785 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15788 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15790 * lyxtext.h: remove unused (and unimplemented) methods
15792 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15794 * text.C (getVisibleRow): honor background color
15797 * Painter.h: remove default color argument for fillRectangle
15799 * text.C (backgroundColor): new method
15801 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15803 * text.C (getVisibleRow): adjust
15805 * font.[Ch] (rectText): new method, metrics
15806 (buttonText): new method, metrics
15808 * PainterBase.[hC]: make rectText and buttonText always draw and take
15811 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15813 * ToolbarDefaults.C (read):
15814 * MenuBackend.C (read): allow escaping in all strings
15816 * BufferView_pimpl.C (insertAndEditInset): new method.
15817 (Dispatch): use insertAndEditInset whenever appropriate.
15819 * BufferView_pimpl.C (insertNote): removed
15821 * BufferView_pimpl.C (smartQuote): new method, moved from
15822 BufferView; if an insetquote cannot be inserted, insert a '"'
15825 * BufferView2.C: remove insertCorrectQuote();
15827 * lyxfunc.C (getStatus): Add support for all remaingin
15828 inset-insert lfuns.
15830 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15832 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15833 command (necessary to pass " as parameter of self-insert.
15835 * text.C (selectWordWhenUnderCursor):
15836 (selectWord): add word_location parameter
15837 (selectWordWhenUnderCursor): same + remove special code for word
15839 (selectNextWord): use kind() to guess type of insetspecialchar,
15842 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15843 (insertErtContents): create ert insets as collapsed.
15844 (readInset): better compatibility code for Info inset.
15846 2001-07-20 Juergen Vigna <jug@sad.it>
15848 * lyxfunc.C (dispatch): use always LyXFind now!
15850 * text2.C (init): add a reinit flag so that the LyXText can be
15851 reinited instead of deleted and reallocated (used in InsetText).
15853 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15859 2001-07-18 Juergen Vigna <jug@sad.it>
15861 * text.C (selectNextWord): handle insets inside inset by calling
15862 always the bv->text functions so that we can go up the_locking_inset!
15864 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15865 in strange locations when inside an inset!
15867 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15868 handling to include insets.
15870 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15872 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15874 * LyXAction.C (init):
15876 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15877 LIGATURE_BREAK, since the name is so stupid.
15879 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15881 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15884 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15886 * sp_form.[Ch]: remove.
15888 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15890 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15893 * src/buffer.C (readInset): ditto.
15895 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15897 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15898 menuSeparator(), endOfSentenceDot(), ldots() and
15899 hyphenationPoint(), which are therefore removed.
15900 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15902 * LyXAction.C (init):
15903 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15905 * paragraph.C (getWord): removed.
15907 * BufferView_pimpl.C (Dispatch): use last word or selection for
15908 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15910 * lyx_main.C (queryUserLyXDir): do not ask before creating
15911 user_dir, except if it has been named explicitely.
15913 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15915 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15916 a document of zero size.
15918 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15920 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15921 approriately in the c-tor and in require().
15922 (getPackages): output the appropriate LaTeX for natbib support.
15924 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15925 variables "use_natbib" and "use_numerical_citations" when reading the
15927 (readInset): read the various natbib cite commands.
15928 (validate): white-space change.
15930 * bufferparams.[Ch]: new variables "bool use_natbib" and
15931 "bool use_numerical_citations".
15932 (writeFile): output them in the LyX file.
15934 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15936 * lyxfunc.C (getStatus): add support for all the inset insertion
15939 * text2.C (insertInset):
15940 * paragraph.C (insetAllowed):
15941 * BufferView_pimpl.C (insertInset): update to take in account the
15942 renaming of insertInsetAllowed
15944 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15946 * text2.C (getInset): new method. returns inset at cursor position.
15948 * BufferView_pimpl.C (Dispatch): changes because of this.
15950 * LyXAction.C (init): rename open-stuff to inset-toggle.
15952 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15954 * text2.C (toggleInset): renamed from openStuff; use
15957 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15959 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15961 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15963 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15965 * buffer.C (readLyXformat2): Add filename to the error dialog
15967 2001-07-18 Juergen Vigna <jug@sad.it>
15969 * tabular.C (GetCellNumber): put an assert here instead of the check!
15971 2001-07-17 Juergen Vigna <jug@sad.it>
15973 * BufferView_pimpl.C (toggleSelection): adapted too.
15975 * text.C (selectNextWord): adapted for use with insets.
15976 (selectSelectedWord): ditto
15978 2001-07-17 Juergen Vigna <jug@sad.it>
15980 * sp_spell.C (PSpell): fix initialitation order.
15982 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15984 * paragraph.C: spacing
15986 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15988 * sp_spell.C: repair language selection for pspell
15990 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15992 * lyxfunc.h: change more methods to begin with lower char.
15994 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15996 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15997 for unknown layouts.
15999 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16001 * buffer.C (readLyXformat2): Generate an error dialog if there are
16004 2001-07-16 Juergen Vigna <jug@sad.it>
16006 * sp_spell.C: always compile ISpell part.
16008 * lyxrc.C: added use_pspell entry and it's handling.
16010 2001-07-13 Juergen Vigna <jug@sad.it>
16012 * sp_spell.C: removed double includes.
16014 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16016 Consistent use of Lsstream.h:
16017 * Lsstream.h: added using std::stringstream for consistencies sake.
16019 * buffer.C: removed using std::stringstream
16021 * lyxfont.C (stateText):
16022 * paragraph.C (asString):
16023 * text.C (selectNextWord, selectSelectedWord):
16024 * text2.C (setCounter):
16025 * vspace.C (asString, asLatexString):
16026 std::ostringstream -> ostringstream.
16028 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16030 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16031 * commandtags.h: add LFUN_HELP_ABOUTLYX
16032 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16034 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16036 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16038 * lyx_gui_misc.C: remove spellchecker
16039 * lyxfunc.C: showSpellchecker
16041 * sp_ispell.h: added
16042 * sp_pspell.h: added
16043 * sp_spell.C: added
16044 * sp_form.[Ch]: removed
16045 * spellchecker.[Ch]: removed
16047 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16049 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16051 (simpleTeXSpecialChars): Simply print the input character without
16052 any special translation if pass_thru is set.
16054 * layout.h: Added bool pass_thru to layout class for being able to
16055 implement pass through of a paragraph for Literate Programming.
16057 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16058 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16059 * layout.C (Read): add "passthru" to list of layout tags and add
16060 code to set the pass_thru boolean when it is read.
16062 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16064 * trans_decl.h: remove allowed from KmodInfo
16066 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16067 remove allowed code
16070 * paragraph_pimpl.C (erase): use boost::prior
16072 * Painter.C (text): use data() instead of c_str() when length is
16074 * WorkArea.C (putClipboard): ditto
16075 * font.h (width): ditto
16077 * BufferView2.C: use it-> instead of (*it). for iterators
16079 * paragraph_pimpl.C: ditto
16080 * paragraph.C: ditto
16081 * minibuffer.C: ditto
16082 * language.C: ditto
16084 * encoding.C: ditto
16085 * counters.C: ditto
16086 * converter.C: ditto
16088 * Variables.C: ditto
16089 * TextCache.C: ditto
16090 * MenuBackend.C: ditto
16091 * LyXAction.C: ditto
16093 * FloatList.C: ditto
16094 * DepTable.C: ditto
16095 * ColorHandler.C (LyXColorHandler): ditto
16097 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16099 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16101 * text2.C (openStuff): reintroduce this method (which had been
16102 nuked in NEW_INSETS frenzy).
16104 * lyxfunc.C (Dispatch): when an action has not been handled, use
16105 its name in the error message, not its number.
16107 * paragraph.C (inInset): change method name to begin with lowercase.
16110 * text2.C: updates because of this.
16112 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16114 * ToolbarDefaults.C (add): add spaces in error message
16116 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16118 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16119 (readLyXformat2): rename return_par to first_par, use lyxlex's
16120 pushToken and remove the manual push handling.
16121 (parseSingleLyXformat2Token): add another ert comp. variable:
16122 in_tabular, rename return_par to first_par. handle newlines better
16124 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16126 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16128 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16130 * text2.C (getParFromID): removed
16132 * buffer.C (getParFromID): new method moved form lyxtext.
16133 * BufferView2.C (insertErrors): adjust
16134 (setCursorFromRow): adjust
16135 * BufferView_pimpl.C (restorePosition): adjust
16136 * lyxfunc.C (Dispatch): adjust
16137 * undo_funcs.C (textUndo): adjust
16139 (textHandleUndo): adjust
16140 (textHandleUndo): adjust
16142 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16144 * buffer.C: up' the LYX_FORMAT
16146 * lyxfont.h: turn NO_LATEX on as default
16148 * buffer.C (insertErtContents): new methods of tex style compability.
16149 (parseSingleLyXformat2Token): use it several places.
16150 * tabular.C (OldFormatRead): and here
16152 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16154 * text2.C: remove some commented code.
16157 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16158 * trans.C: changes because of the above.
16160 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16162 * text2.C (setCounter): Fix counters bug with bibliography layout.
16164 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16166 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16167 own member functions
16168 (simpleTeXSpecialChars): ditto
16170 2001-07-06 Juergen Vigna <jug@sad.it>
16172 * a lot of files: changed the access to LyXText::status and the
16173 call of undo-functions.
16175 * undo.[Ch]: added a inset_id to the undo informations.
16177 * undo_funcs.[Ch]: added and moved here all undo functions.
16179 * lyxtext.h: give the status enum a weight, made status_ a private
16180 variable and made accessor functions for it, removed the whole bunch
16181 of undo-functions as they are now in their own file, make some
16182 functions publically available. Added function ownerParagraph with
16185 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16186 made InInset() a const function, added getParFromID() function.
16188 * buffer.[Ch]: added const version for inset_iterator functions,
16189 added getInsetFromID() function.
16191 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16192 changed undo functions for new version.
16194 2001-07-05 Juergen Vigna <jug@sad.it>
16196 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16197 unknow mechanism does not call the proper constructor but only this
16198 one also if I request the other!?
16200 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16202 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16204 * text2.C (LyXText): use initialization lists.
16206 * lyxtext.h (Selection): initialize set_ and mark_
16207 (init): remove method
16209 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16211 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16213 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16215 * screen.[Ch]: change method names to begin with lowercase
16217 * BufferView_pimpl.C (updateScrollbar): simplify further and
16218 hopefully make it a bit faster.
16220 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16222 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16223 calling directly xforms functions.
16225 * Painter.C (Painter):
16226 * lyx_cb.C (MenuWrite):
16227 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16230 * lyx_gui.C: remove bogus guiruntime extern declaration.
16232 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16234 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16236 (redoDrawingOfParagraph): ditto
16237 (redoParagraphs): ditto
16238 (cutSelection): don't create a object for CutAndPaste use the
16239 static method directly
16240 (pasteSelection): ditto
16242 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16245 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16247 * modifications to some other files because of this.
16249 * Makefile.am (lyx_SOURCES): add XFormsView
16251 * XFormsView.[Ch]: new files
16253 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16254 the main window. Move the gui dependent stuff to XFormsView
16256 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16258 * tabular.C (GetCellInset): update cur_cell also in the row/col
16259 version of this function.
16261 * lyxfunc.C: no need to include figure_form.h here.
16267 * lyxvc.C: no need to include forms.h here.
16269 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16271 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16273 * lyxfunc.C (Dispatch):
16275 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16276 constructor argument.
16278 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16280 * paragraph.C (Paragraph): dont't clear, and just set layout.
16281 (makeSameLayout): use params's copy contructor.
16283 * ParagraphParameters.[Ch] (makeSame): delete method
16285 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16287 * Variables.[Ch]: fix indentation, rename set to isSet
16289 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16291 * lyxfunc.C (Dispatch): fix typo
16293 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16295 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16298 * bufferlist.C: include assert.h for emergencyWrite().
16300 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16302 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16303 give up at last (bug #425202) !
16305 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16311 * spellchecker.C: strip spellchecker options and bring up
16312 preferences tab instead
16314 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16316 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16317 the istringstream constructor
16319 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16321 * paragraph.C (getLayout): fix return value
16323 * paragraph.h: do not declare getLayout as inline.
16325 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16327 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16329 * lyxcursor.h (operator<): new func
16330 (operator>): new func
16331 (operator>=): new func
16332 (operator<=): new func
16334 * text.C (changeCase): use selection.start and selection.end
16335 (changeRegionCase): require from to be <= to. Require par to be a
16338 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16340 2001-06-27 Juergen Vigna <jug@sad.it>
16342 * text.C (cursorLeftOneWord): changed to return the cursor and added
16343 overlay with BufferView * parameter which calls this one.
16345 (selectWord): use new getWord function.
16346 (changeCase): renamed from changeWordCase as and extended to work
16347 also on selections.
16349 * lyxtext.h: added enum word_location
16351 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16352 changeCase as this operates now also on selections.
16354 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16356 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16358 * many files: send debug output to Debug::INFO instead of
16361 * converter.C (View):
16363 (Move): send debug output to Debug::FILES instead of console.
16365 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16367 * lyxfunc.C (getStatus): use func_status
16369 * func_status.h: new header, describing the results of
16370 LyXFunc::getStatus;
16372 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16375 2001-06-25 The LyX Project <jug@sad.it>
16377 * buffer.C (sgmlOpenTag):
16379 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16381 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16383 * text2.C: remove some dead code
16385 * tabular.C (GetCellInset): store the last cell checked (gotten)
16387 * tabular.h: add the helper for the speedup
16389 * lyxtext.h: remove some dead code
16391 2001-06-26 The LyX Project <Asger>
16393 * paragraph.C: Change export to LaTeX of alignment to
16394 \begin{center} and family for better roundtrip work with reLyX.
16396 * Tune the math drawing a bit.
16398 2001-06-25 The LyX Project <Asger>
16400 * LColor.C (LColor): New color for math background. New color
16403 2001-06-25 The LyX Project <jug@sad.it>
16405 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16407 * lyxfunc.C (Open):
16408 * bufferlist.C (newFile): do not restrict to files ending with
16411 * BufferView_pimpl.C (MenuInsertLyXFile):
16413 2001-06-24 The LyX Project <jug@sad.it>
16415 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16418 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16420 * lyxtext.h: rename most methods to begin with a small char.
16421 Lots of changes because of this.
16423 * paragraph.C (Paragraph): do not call fitToSize
16424 (erase): call Pimpl::erase
16425 (insertChar): call Pimpl::insertChar
16426 (insertInset): call Pipl::insertInset
16427 (breakParagraph): do not call fitToSize
16428 (breakParagraphConservative): do not call fitToSize
16429 (fitToSize): remove method
16431 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16433 2001-06-24 The LyX Project <Asger>
16435 * Fix Qt compilation^2
16437 2001-06-24 The LyX Project <jug@sad.it>
16439 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16440 depthHook(getDepth()-1).
16443 * ParagraphParameters.h:
16444 * ParameterStruct.h: change type of depth to unsigned int ==
16445 depth_type. Many adaptations to other files before of that.
16447 2001-06-24 The LyX Project <Asger>
16449 * Fix Qt compilation.
16451 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16453 * paragraph.h: renamed several methods to begin with small letter.
16454 several changes to many parts of the code because of this.
16456 2001-06-23 The LyX Project <jug@sad.it>
16458 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16459 rewritten to discard all double spaces when KeepEmpty is off
16460 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16461 to only handle newlines but not fiddle with spaces and friends.
16463 * lyxfunc.C (MenuNew): when doing 'new from template', use
16464 template_path as default directory
16466 2001-06-23 The LyX Project <Asger>
16468 * Clean-up of header file includes all over
16469 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16471 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16473 * paragraph.h: renamed from lyxparagraph.h
16475 2001-06-23 Asger <lyx@violet.home.sad.it>
16477 * Buffer.h: Removed Buffer::resize
16478 * BufferList.h: Removed BufferList::resize
16479 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16480 the document lazily when we change the width, or the font settings.
16482 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16484 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16486 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16488 * buffer.h: remove out of date comment
16490 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16493 * screen.C: fix "theoretical" GC leak
16495 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16497 * LaTeX.C (scanAuxFile):
16498 (deplog): remove trailing \r when reading stream (useful under
16501 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16503 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16504 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16505 and BufferView::theLockingInset(Inset*), so should use them and not
16506 access bv_->text->the_locking_inset directly.
16508 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16510 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16513 * tex-defs.h: remove old unused file
16515 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16517 * BufferView_pimpl.C: fix typo, remove minibuffer message
16518 when buffer has loaded
16520 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16522 * lyxfunc.C (Dispatch): use stringstream
16523 (MenuNew): use stringstream
16524 (Open): use stringstream
16526 * importer.C (Import): use stringstream
16528 * bufferview_funcs.C (CurrentState): use stringstream
16530 * LaTeX.C (run): use stringstream
16532 * BufferView_pimpl.C (savePosition): use stringstream
16533 (restorePosition): use stringstream
16534 (MenuInsertLyXFile): use stringstream
16536 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16549 * vspace.C: removed // -*- C++ -*- as first line.
16552 * version.h: added // -*- C++ -*- as first line.
16554 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16556 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16558 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16561 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16563 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16566 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16568 * gettext.C: include LString.h even when --disable-nls is on.
16570 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16572 * converter.h (Get): changed argument type from int to
16573 FormatList::size_type to avoid unnecessary conversion.
16575 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16578 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16580 * gettext.h: include LString.h even when --disable-nls is on.
16582 2001-06-07 Juergen Vigna <jug@sad.it>
16584 * text.C (BreakAgain): subst spaces with tabs.
16586 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16587 (resizeInsetsLyXText): set force on resizeLyXText.
16589 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16591 * gettext.h (gettext_init):
16592 (locale_init): use a real definition instead of a macro
16594 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16596 * Bufferview_pimpl.C:
16598 * LColor.C: further lcolor tidies
16600 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16602 * BufferView_pimpl.C (updateScrollbar): simplify.
16604 * BufferView2.C: don't include insets/insetinfo.h, change
16605 prototype for insertInset and call the Pimpl version. let
16606 updateInset call Pimpl version.
16608 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16609 gotoInset to BufferView::Pimpl
16611 2001-06-01 Juergen Vigna <jug@sad.it>
16613 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16614 inside a LockingInset (is the update needed at all?).
16616 2001-05-31 Juergen Vigna <jug@sad.it>
16618 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16619 here not the old one otherwise how should we compare it afterwards
16622 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16627 * FontInfo.C: bring C functions into global namespace when
16630 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16632 * LString.h: make sure config.h has been loaded before LString.h.
16634 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16635 (one for each char read by EatLine!).
16637 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16640 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16642 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16643 to the same as the par we break from
16645 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16647 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16649 * MenuBackend.C (expand): also create menu entries for wide
16650 versions of the floats.
16652 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16654 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16656 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16657 frontends/Makefile.am
16663 * tabular.C (getTokenValue): add std::
16665 * tabular-old.C (getTokenValue): add std::
16666 (getTokenValue): ditto
16667 (getTokenValue): ditto
16669 * screen.C (ToggleSelection): adjust
16671 * lyxtext.h: put selection cursors inside a Selection struct.
16673 * lyxfunc.C (moveCursorUpdate): adjust
16675 * lyxfont.C (latexWriteStartChanges): add std::
16677 * lyxfind.C: adjust
16679 * font.h: delete with(char const *, LyXFont const &)
16681 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16683 * FontInfo.C (getFontname): add std::
16685 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16686 (workAreaButtonPress): adjust
16687 (tripleClick): adjust
16689 (moveCursorUpdate): adjust
16692 * BufferView2.C (gotoInset): adjust
16694 2001-05-30 Juergen Vigna <jug@sad.it>
16696 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16697 to check pspell I add this as default as I now have new pspell
16698 libraries and they seem to use this.
16700 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16702 * text2.C (CutSelection): make the cursor valid before the call to
16705 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16707 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16708 relied on 0 terminated strings and other horrors. Bug found due to
16709 the new assert in lyxstring!
16711 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16714 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16716 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16719 * lyxfunc.C (processKeySym): change method of getting to the
16722 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16723 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16724 * BufferView_pimpl.[Ch]: here as private methods.
16726 2001-05-28 Juergen Vigna <jug@sad.it>
16728 * text.C (SetHeightOfRow): added the update() call again as it is
16729 needed to initialize inset dimensions!
16731 2001-05-16 Juergen Vigna <jug@sad.it>
16733 * text2.C (SetCharFont): Add new function with BufferView * and
16734 bool toggleall parameters for setting insets internal fonts.
16735 (SetFont): Freeze the undo as we may change fonts in Insets and
16736 all this change should be inside only one Undo!
16738 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16739 setting font's in insets as for them we have the SetFont function!
16741 2001-05-15 Juergen Vigna <jug@sad.it>
16743 * text2.C (ClearSelection): to be sure we REALLY don't have any
16746 * tabular.C (TeXCellPreamble): fixed the left border problem for
16749 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16751 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16754 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16756 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16757 LFUN_BREAKPARAGRAPH.
16759 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16760 help test to "internal only", similar for LFUN_INSERT_URL
16762 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16763 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16764 auto_region_delete and deadkeys.
16766 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16769 * LColor.C: remove some dead entries, tidy a little
16771 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16773 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16775 (Dispatch): implement LFUN_ESCAPE
16777 * commandtags.h: add LFUN_ESCAPE
16779 * LyXAction.C (init): add entry for LFUN_ESCAPE
16781 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16782 Remove commented code.
16783 (insertNote): moved here
16784 (open_new_inset): moved here
16786 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16789 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16791 * kbmap.C (findbinding): clean it up and make it work correctly.
16793 * lyx_main.C (init): do not pass argc and argv as parameters
16795 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16797 * buffer.C: fix path for OS/2 & Win32
16801 * lyx_main.C: Added os:: class.
16803 * os2_defines.h: update
16805 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16807 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16808 better by trying again with reduced state.
16810 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16812 * lyxrc.C (read): print error about invalid key sequence only when
16813 debugging (because not all latinX keysyms are known to some X
16816 * kbsequence.C (getiso): add a few std:: qualifiers
16817 (getiso): comment out extra return statement.
16819 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16821 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16823 (Dispatch): enhance the accent inset a bit. (not perfect)
16825 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16827 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16829 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16831 * bufferlist.C (emergencyWrite): fix assert() call
16833 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16835 * text.C (InsertChar): Added trivial patch to only send the "you
16836 can not do multiple spaces this way" message once during a
16839 2001-05-08 Baruch Even <baruch@lyx.org>
16841 * Makefile.am: Changed order of libraries to get LyX to link properly
16842 with the gnome frontend.
16844 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16846 * LaTeXFeatures.h: add a std:: qualifier
16848 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16850 * paragraph.C (String): use stringstream
16852 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16854 * paragraph.C (writeFile): remove footflag arg
16856 * buffer.C (makeLaTeXFile): use stringstream
16857 (latexParagraphs): remove footnot gurba
16859 * LaTeXFeatures.C (getPackages): use stringstream
16860 (getMacros): likewise
16861 (getTClassPreamble): likewise
16862 (getFloatDefinitions): new method
16864 * paragraph.C (writeFile): reindent
16867 * WorkArea.h: revert the xpos + etc changes.
16869 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16871 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16873 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16874 (pasteSelection): likewise
16875 * text2.C (CreateUndo): likewise
16877 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16879 * minibuffer.C (peek_event): temporarily reduce the functionality
16880 of the minibuffer (to allow args on lfuns)
16882 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16883 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16885 * buffer.C (readInset): add compability reading of old float
16886 lists, add reading of new style float list.
16887 (readInset): avoid reevaluation of inscmd.getCmdName()
16888 (getLists): reindent
16890 * MenuBackend.C (MenuItem): implement parsing of
16891 md_floatlistinsert and md_floatinsert.
16892 (expand::LastFiles): move initalizaton of iterators out of loop,
16893 avoid reevaluation.
16894 (expand::Documents): introduce typdedef vector<string> Strings,
16896 (expand::ExportFormats): introduce typedef vector<Format const *>
16897 Formats, and use it.
16898 (expand): implement FloatListInsert and FloatInsert.
16900 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16901 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16902 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16904 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16906 (Dispatch::LFUN_FLOAT_LIST): implement
16908 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16910 * LaTeX.C (run): Fix problem with --export code.
16912 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16914 * BufferView.[Ch] (workarea): removed.
16915 (getClipboard) new method; wrapper for workarea()->getClipboard()
16917 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16920 * WorkArea.h (width, height, xpos, ypos): These methods all
16921 returned the dimensions of the work_area sub-area of WorkArea,
16922 resulting in a position error if the WorkArea were resized. Now
16923 return the dimensions of the entire WorkArea.
16925 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16927 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16929 * LaTeX.C (deplog): correct the syntax of regex reg1
16931 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16933 * undo.C: remove !NEW_INSETS cruft
16935 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16937 * text2.C: remove !NEW_INSETS cruft
16939 * text.C: remove !NEW_INSETS cruft
16941 * tabular.C: remove !NEW_INSETS cruft
16943 * spellchecker.C: remove !NEW_INSETS cruft
16945 * lyxtext.h: remove !NEW_INSETS cruft
16947 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16949 * lyxfunc.C: remove !NEW_INSETS cruft
16951 * lyxfind.C: remove !NEW_INSETS cruft
16953 * lyx_cb.C: remove !NEW_INSETS cruft
16955 * figureForm.C: remove !NEW_INSETS cruft
16957 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16959 * buffer.[Ch]: remove !NEW_INSETS cruft
16961 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16963 * CutAndPaste.C: remove !NEW_INSETS cruft
16965 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16967 * BufferView2.C: remove !NEW_INSETS cruft
16969 * BufferView.h: remove !NEW_INSETS cruft
16971 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16973 * Lsstream.h: include LString.h before the sstream headers to
16974 fix problem with gcc 2.95.3 and lyxstring
16976 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16978 * lyx_main.C: add using directives when needed for C functions
16979 declared in std:: namespace.
16981 2001-04-27 Juergen Vigna <jug@sad.it>
16983 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16984 (SetHeightOfRow): comment out the update call should not be needed!
16986 2001-04-13 Juergen Vigna <jug@sad.it>
16988 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16989 (LyXTabular): tried to minimize operator= operations (and realized
16990 hopfully Lars wish).
16992 2001-04-27 Juergen Vigna <jug@sad.it>
16994 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16996 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16998 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17000 * buffer.C (readInset): hack to make listof algorithm work
17002 * BufferView_pimpl.C: hack to make listof algorithm work
17004 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17006 * LyXAction.C: removed all !NEW_INSETS cruft
17007 (init): moved lfun_item in method
17009 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17011 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17013 * BufferView2.C (theLockingInset): white space.
17015 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17017 * minibuffer.C: include <iostream>
17019 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17021 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17023 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17025 * text.[Ch] (TransposeChars): new method
17027 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17029 * call message directly through LyXView instead of through LyXFunc
17030 * BufferView2.C: adjust
17031 * BufferView_pimpl.C: adjust
17032 * FontLoader.C: adjust
17034 * bufferview_funcs.C: adjust
17035 * converter.C: adjust
17036 * figureForm.C: adjust
17037 * importer.C: adjust
17039 * lyx_gui_misc.C: adjust
17040 * lyxfunc.C: adjust
17043 + more files in subdirs
17045 * lyxparagraph.h (size): move up int file
17048 * adjust all uses of Assert to lyx::Assert.
17050 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17051 lyxfunctional in namespace lyx
17052 * layout.C (hasLayout): ditto
17055 (delete_layout): ditto
17056 (NumberOfClass): ditto
17057 * converter.C (GetFormat): ditto
17062 * bufferlist.C (getFileNames): ditto
17063 (emergencyWriteAll): ditto
17066 * MenuBackend.C (hasSubmenu): ditto
17069 * BufferView_pimpl.C (getInsetByCode): ditto
17071 2001-04-18 Juergen Vigna <jug@sad.it>
17073 * vspace.C (asLatexString): fixed the 100% problem.
17075 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17077 * lyxfunc.C (Dispatch):
17079 * minibuffer.h: add a few std:: qualifiers
17081 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17083 * minibuffer.[Ch]: reimplement so that commands is initiated and
17084 run from lyxfunc, simplified som handling, and made the completion
17085 and history code for complete. wip.
17087 * lyxfunc.C (processKeySym): call message
17088 (miniDispatch): new temporary method
17089 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17090 (LFUN_MESSAGE): implement
17091 (LFUN_MESSAGE_PUSH): implement
17092 (LFUN_MESSAGE_POP): implement
17093 (initMiniBuffer): the initial/defualt minibuffer message.
17095 * lyxfont.[Ch]: inline some more getters
17097 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17099 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17101 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17102 (AutoSave): use LFUN_MESSAGE
17103 (Reconfigure): ditto
17105 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17107 * figureForm.C: use LFUN_MESSAGE
17109 * converter.C (runLaTeX): use LFUN_MESSAGE
17111 * bufferview_funcs.C: use LFUN_MESSAGE
17113 (changeDepth): ditto
17115 * bufferparams.h: use boost::
17117 * bufferlist.h: inherit privately from noncopyable
17119 * bufferlist.C (loadLyXFile): remove some commented code.
17121 * buffer.C (runChktex): use LFUN_MESSAGE
17123 * ShareContainer.h: inherit privately from noncopyable
17125 * ParagraphParameters.[hC] (depth): inline it.
17127 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17129 (message): new method
17130 (messagePush): ditto
17131 (messagePop): ditto
17132 (show): init minibuffer
17133 (showState): direct call
17135 * LaTeX.[Ch]: inherit privately from noncopyable
17136 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17137 instead of WriteStatus.
17139 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17141 * BufferView_pimpl.C (buffer): don't init minibuffer
17142 (workAreaButtonPress): use LFUN_MESSAGE
17143 (workAreaButtonRelease): ditto
17144 (savePosition): ditto
17145 (restorePosition): ditto
17146 (MenuInsertLyXFile): ditto
17147 (workAreaExpose): don't init minibuffer
17148 (update): remove commented code, simplify
17150 * BufferView2.C (openStuff): use LFUN_MESSAGE
17151 (toggleFloat): ditto
17154 (copyEnvironment): ditto
17155 (pasteEnvironment): ditto
17160 (updateInset): remove some commented code
17162 * lastfiles.h: inherit privately from noncopyable
17165 * lyx_main.h: ditto
17167 * lyxlex_pimpl.h: ditto
17169 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17170 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17171 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17173 * LyXAction.h: inherit privately from noncopyable, add methods
17174 func_begin, func_end, returning iterators to the func map.
17176 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17177 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17178 (func_begin): new method
17179 (func_end): new method
17181 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17183 (copySelection): ditto
17184 (pasteSelection): ditto
17186 * BufferView.C: whitespace change
17187 * BufferView.h: inherit privately from noncopyable
17189 2001-04-16 Allan Rae <rae@lyx.org>
17191 * tabular-old.C (l_getline):
17192 * spellchecker.C (sc_check_word):
17193 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17194 an unrecognised preprocessor directive. So ensure they're wrapped.
17196 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17198 * src/exporter.C (Export): Give an error message when path to file
17201 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17203 * LaTeX.C (deplog): Always check that foundfile exists.
17205 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17208 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17210 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17212 * tabular.[Ch] (getLabelList): implement new method
17214 * minibuffer.h: comment ouf setTiimer
17216 * minibuffer.C (ExecutingCB): constify res
17217 (peek_event): constify s
17218 (Set): constify ntext
17219 (Init): constify nicename
17221 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17223 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17224 (savePosition): use two params to Minibuffer::Set
17225 (restorePosition): ditto
17227 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17229 * lyx_main.C: include language.h
17231 * Makefile.am (lyx_main.o): add language.h
17233 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17239 * CutAndPaste.C: include gettext.h
17241 * lyxfont.h: remove old hack with ON and OFF.
17244 * lyxfont.h: do not include language.h...
17249 * bufferview_funcs.C:
17255 * paragraph.C: ... but do it here instead
17257 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17259 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17261 * tabular.C: small reformat
17263 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17266 (BreakParagraph): ditto
17267 (SetOnlyLayout): ditto
17270 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17273 * lastfiles.C: removed most using decl, add std:: where needed
17275 * buffer.C: ws changes
17277 * MenuBackend.C (class compare_format): put into anon namespace
17278 (expand): constify label, names, action, action2
17281 * text.C (SingleWidth): constify font
17282 (IsBoundary): constify rtl2
17283 (GetVisibleRow): constify ww
17285 * LaTeX.C (deplog): constify logfile
17287 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17289 (workAreaExpose): constify widthChange, heightChange
17291 * lyxrow.C (par): moved
17294 * lyxrow.h: as inlines here
17296 * lyxfont.h (shape): moved from lyxfont.C
17297 (emph): moved from lyxfont.C
17299 * lyxfont.C (LyXFont): use initialization list for all
17301 (shape): move to lyxfont.h as inline
17302 (emph): move to lyxfont.h as inline
17305 2001-04-04 Juergen Vigna <jug@sad.it>
17307 * vspace.C: had to include stdio.h for use of sscanf
17309 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17312 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17313 independent of xforms.
17315 2001-04-02 Juergen Vigna <jug@sad.it>
17317 * spellchecker.C: fixed namespace placing!
17319 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17321 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17322 the LyXParagraph * is 0.
17324 2001-03-29 Juergen Vigna <jug@sad.it>
17326 * vspace.C: added support for %, c%, p%, l%.
17327 (stringFromUnit): added helper function.
17328 (asLatexString): changed to give right results for the %-values.
17330 * buffer.C: convert the widthp in a width%.
17332 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17334 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17337 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17338 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17340 * lyx_cb.[Ch]: see above.
17342 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17346 * lyx.[Ch]: replaced by figure_form.[Ch].
17350 * lyxfunc.C: changed headers associated with above changes.
17352 2001-03-27 Juergen Vigna <jug@sad.it>
17354 * BufferView_pimpl.C: set the temporary cursor right!
17356 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17358 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17360 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17362 * LString.h: removed "using std::getline"!
17364 * BufferView_pimpl.C (Dispatch): changes due to changes in
17365 InsetInclude::Params.
17367 * buffer.C (tag_name): removed redundant break statements as they were
17368 producing lots of warnings with my compiler.
17370 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17372 * LString.h: add "using std::getline" when using the real <string>.
17374 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17376 * buffer.C: removed bitset usage.
17377 PAR_TAG moved to an anonymous name space.
17378 (tag_name): new funtion, also in the anonymous namespace.
17379 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17380 (makeDocBookFile): clean code. Completed transition from string arrays
17382 (SimpleDocBookOnePar): code clean.
17384 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17386 * tabular.C: add some comments.
17388 2001-03-22 Juergen Vigna <jug@sad.it>
17390 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17391 compatibility read a bit and fixed bug with minipage in different
17394 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17396 * buffer.C (pop_tag): removed.
17397 (push_tag): removed.
17398 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17399 array replaced with vector. Added support for CDATA sections.
17400 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17402 (makeDocBookFile): XML conformant declaration of CDATA section,
17403 fixed bug related to <emphasis> in the first paragraph char.
17404 (sgmlOpenTag): exclude empty tags.
17405 (sgmlCloseTag): ditto.
17407 * buffer.h (pop_tag): removed.
17408 (push_tag): removed.
17410 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17412 * language.h (Languages): added size_type and size().
17414 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17416 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17417 response on compability reading of minipages. One probliem is that
17418 the old usage of minipages was flertydig
17420 * several files here and in subdirs: don't use static at file
17421 scope use anon namespaces instead.
17423 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17425 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17426 LaTeX output. This is necessary for Literate document
17429 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17431 * buffer.C: insert hfill when needed.
17433 * tabular.C (l_getline): use string::erase, small whitespace change.
17435 * BufferView_pimpl.C: try the anon namespace.
17436 * WorkArea.C: ditto
17438 2001-03-16 Juergen Vigna <jug@sad.it>
17440 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17441 otherwise it won't open options-dialogs.
17443 * buffer.C: honor pextraWidth(p) on converting minipages.
17445 * tabular.C (l_getline): changed the functions to strip trailing \r.
17447 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17449 * BufferView_pimpl.C:
17450 * minibuffer..C: added "using SigC::slot" declaration.
17452 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17454 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17460 * paragraph.C: ditto
17462 * lyxtext.h: NO_PEXTRA
17464 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17466 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17467 * ParameterStruct.h: ditto
17468 * ParagraphParameters.h: ditto
17469 * lyxparagraph.h: ditto
17471 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17473 * buffer.C: add compability for minipage alignment.
17474 (latexParagraphs): remove unwanted pextra check.
17476 * several files: remove CXX_WORKING_NAMESPACES
17478 * buffer.C (pop_tag): tie is in namespace boost
17480 * BufferView.h: noncopyable is in namespace boost
17482 * lyx_main.h: ditto
17485 * lastfiles.h: ditto
17486 * bufferlist.h: ditto
17487 * ShareContainer.h: ditto
17489 * LyXAction.h: ditto
17492 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17494 * Merging changes from BRANCH_MVC back into HEAD.
17496 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17498 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17500 * BufferView_pimpl.C: change from intl.C
17504 * Makefile.am: move combox.*
17510 * intl.C: remove dialog (covered by prefs)
17512 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17514 * lyxfunc.C (Dispatch): removed redundant break statement.
17516 2001-03-14 Juergen Vigna <jug@sad.it>
17518 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17520 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17522 * buffer.C: add hack to fix compability reading of minipages.
17524 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17526 * buffer.C (getLists): Cleanup.
17528 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17530 * lyxfont.C (update): don't honor toggleall on font size.
17532 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17536 * Makefile.am: moved to frontends/xforms/
17540 * BufferView_pimpl.C: changes for moved mathpanel
17542 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17544 * gettext.h: fix gettext_init() in --disable-nls
17546 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17548 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17550 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17553 * lyx.h: strip external form
17555 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17557 * BufferView_pimpl.C: add comment, destroySplash()
17559 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17561 * BufferView_pimpl.C:
17565 * lyxfunc.C: use re-worked insetinclude
17567 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17569 * buffer.C: add using std::stringstream.
17571 * lyx_cb.C: readd using std::ios.
17573 * buffer.C: add using std::map.
17575 * BufferView_pimpl.C: add using std::vector.
17577 * ShareContainer.h: add std:: to swap.
17579 * buffer.h: add some typedefs
17580 * buffer.C (getLists): use them
17581 (getLists): renamed from getTocList.
17582 add a counter for the different float types and use it in the
17584 (getLists): use the same counter for the NEW_INSETS and the "non"
17587 * lyx_cb.h: remove unused items, includes, using etc.
17589 * ShareContainer.h: remove some commented code, add more comments
17590 and "documentation".
17592 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17594 * buffer.C (getTocList): make the list also when NEW_INSETS is
17597 * buffer.h: remove TocType
17599 * buffer.C (getTocList): change to return a map<string,
17600 vector<TocItem> >, implement for dynamic number of list.
17602 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17603 * text2.C (PasteSelection): adjust
17604 * CutAndPaste.C (pasteSelection): adjust
17606 * FloatList.C (FloatList): update from the new_insets branch.
17607 * Floating.[Ch]: ditto
17608 * LaTeXFeatures.C: ditto
17610 * lyxlex_pimpl.C: ditto
17612 * paragraph.C (Last): remove when NEW_INSETS is defined.
17614 * other file: changes because of the above.
17616 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17618 * lyxparagraph.h: rename next to next_, previous to previous_,
17619 make them private for NEW_INSETS. Rename Next() to next(),
17620 Previous() to previous().
17622 * other files: changes because of the above.
17624 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17627 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17630 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17632 * main.C (main): pass lyx_localedir to gettext_init().
17634 * gettext.h: remove locale_init and gettext_init macros
17636 * gettext.C (locale_init): new function
17637 (gettext_init): new function
17639 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17642 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17644 * Moved credits to frontends:
17645 * credits.[Ch]: removed
17646 * credits_form.[Ch]: removed
17647 * lyx_gui_misc.C: remove credits stuff
17650 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17652 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17654 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17655 unneeded destructor.
17657 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17658 a standalone pointer again.
17660 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17662 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17668 * ToolbarDefaults.C:
17677 * BufferView_pimpl.C: use new file dialog in GUII
17680 * lyx_cb.C: remove LayoutsCB to Toolbar
17682 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17684 * ShareContainer.h (get): add std:: qualifier
17686 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17688 * ShareContainer.h: define a proper ShareContainer::value_type
17689 type (and use typename to please compaq cxx)
17691 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17693 * lyxparagraph.h: move serveral local vars to
17694 ParameterStruct/ParagraphParameters., use ShareContainer in
17695 FontTable., make vars in FontTable private and add getter and
17698 * paragraph.C: changes because of the above.
17700 * lyxfont.h: remove copy constructor and copy assignment. (the
17701 default ones is ok), move number inside FontBits. move inlines to
17704 * lyxfont.C: add number to initializaton of statics, move several
17705 inlines here. constify several local vars. some whitespace
17706 cleanup. Dont hide outerscope variables.
17708 * Spacing.h: add two new constructors to match the set methods.
17710 * ShareContainer.h: new file, will perhaps be moved to support
17712 * ParameterStruct.h: new file
17714 * ParagraphParameters.h: new file
17716 * ParagraphParameters.C: new file
17718 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17719 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17721 * BufferView_pimpl.C: ParagraphParameter changes.
17722 * buffer.C: Likewise.
17723 * bufferview_funcs.C: Likewise.
17724 * text.C: Likewise.
17725 * text2.C: Likewise.
17727 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17729 * lyxfind.C (LyXReplace): do not redefine default argument in
17731 (IsStringInText): ditto
17732 (SearchForward): ditto
17733 (SearchBackward): ditto
17735 2001-03-06 Juergen Vigna <jug@sad.it>
17737 * lyxfind.C (IsStringInText): put parentes around expressions.
17739 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17741 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17743 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17745 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17747 * stl_string_fwd.h: add comment
17749 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17752 * tabular.C: remove unused DocBook methods
17758 killed DO_USE_DEFAULT_LANGUAGE
17760 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17762 * lyx_gui.C: do not include language.h.
17764 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17765 arguments in function implementation.
17767 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17769 * BufferView_pimpl.C: add <ctime>
17771 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17773 * BufferView_pimpl.C: add using std::find_if
17775 2001-02-27 José Matos <jamatos@fep.up.pt>
17777 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17780 2001-02-11 José Matos <jamatos@fep.up.pt>
17782 * buffer.C (makeDocBookFile): command styles now have a parameter as
17783 "title" by default.
17785 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17787 * layout_forms.[Ch]: removed
17788 * lyx_cb.[Ch]: out character
17789 * lyx_gui.C: out character
17790 * lyx_gui_misc.C: out character
17791 * bufferview_funcs.C: : out character,
17792 added toggleall as parameter in ToggleAndShow
17794 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17796 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17798 * text2.C (SetCurrentFont): Disable number property at boundary.
17800 2001-02-26 Juergen Vigna <jug@sad.it>
17802 * lyxfunc.C (getStatus): added a string argument override function so
17803 that this is correctly called from LyXFunc::Dispatch if it contains a
17804 do_not_use_argument which is used!
17805 (Dispatch): added check for "custom" export and call appropriate func.
17807 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17809 * lyxrc.C: Add language_command_local, language_use_babel and
17810 language_global_options.
17812 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17814 * buffer.C (makeLaTeXFile): Use language_use_babel and
17815 language_global_options.
17817 2001-02-23 Juergen Vigna <jug@sad.it>
17819 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17820 which works with LyXText and putted it inside BufferView. Here now we
17821 only call for that part the BufferView::Dispatch() function.
17823 * BufferView.C (Dispatch): added.
17825 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17826 functions which needs to use a LyXText over from LyXFunc.
17827 (MenuInsertLyXFile): added
17828 (getInsetByCode): added
17829 (moveCursorUpdate): added
17830 (static TEXT): added
17832 2001-02-22 Juergen Vigna <jug@sad.it>
17834 * BufferView_pimpl.C (update): call a status update to see if LyXText
17837 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17839 * vc-backend.C (revert): implement for CVS
17840 (getLog): implement for CVS
17842 2001-02-20 Juergen Vigna <jug@sad.it>
17844 * text2.C (ClearSelection): added BufferView param for inset_owner call
17846 * lyxfunc.C (TEXT): added this function and use it instead of
17847 directly owner->view()-text of getLyXText().
17849 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17851 * src/layout_forms.C: out preamble
17852 * src/layout_forms.h: out preamble
17853 * src/lyx_cb.C: out preamble
17854 * src/lyx_cb.h: out preamble
17855 * src/lyx_gui.C: out preamble
17856 * src/lyx_gui_misc.C: out preamble
17857 * src/lyxfunc.C: connect with guii preamble
17859 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17861 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17863 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17865 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17866 whether to run bibtex.
17868 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17870 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17872 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17874 * Makefile.am (lyx_SOURCES): removed bibforms.h
17876 * vspace.h: doxygen
17878 * text.C (GetVisibleRow): make several local vars const
17880 * tabular.C: small cleanup.
17882 * lyxserver.C (callback): use compare instead of strncmp
17884 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17885 inlines to after class or to paragraph.C
17887 * lyxfont.h: remove friend operator!=
17889 * converter.h: move friend bool operator< to non friend and after
17892 * combox.h: small cleanup
17894 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17895 to inlines after class def.
17897 * buffer.C (pop_tag): use string operations instead of strcmp
17899 * bmtable.c: doxygen, small cleanup
17901 * LaTeX.h: remove friend operator==
17903 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17915 * BufferView_pimpl.C:
17916 * BufferView.[Ch]: remove cruft
17918 2001-02-14 Juergen Vigna <jug@sad.it>
17920 * lyxfunc.C: removed #if 0 unused code
17922 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17924 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17926 * text2.C (SetSelection): added a BufferView * parameter
17928 2001-02-13 Juergen Vigna <jug@sad.it>
17930 * lyxfunc.C (Dispatch): fixed protected blank problem.
17931 * BufferView2.C (protectedBlank): added LyxText * parameter.
17933 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17934 (AppendColumn): same as above for column_info.
17936 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17937 (moveCursorUpdate): use a LyXText param for support of InsetText.
17939 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17940 (tripleClick): ditto
17942 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17944 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17946 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17948 * text2.C (SetSelection): set correct update status if inset_owner
17949 (ToggleFree): ditto
17951 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17953 * tabular.C: remove some commented code.
17955 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17957 * BufferView_pimpl.C: call hideSplash()
17959 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17962 * bibforms.h: remove
17965 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17966 add LFUN_CHILD_CREATE
17968 * counters.h: fix tiny typo
17973 * lyx.C: move splash to frontends/xforms/
17975 * lyx_gui_misc.C: move Include and Bibform to frontends
17977 * lyxvc.h: clarify comment
17979 * vspace.C: tiny housekeeping
17981 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17983 * text.C (PrepareToPrint): RTL Fix.
17985 * paragraph.C (GetUChar): New method.
17986 (String): Use GetUChar.
17988 * buffer.C (asciiParagraph): Use GetUChar.
17990 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17992 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17994 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17997 * buffer.C: rename to getLogName(), handle
17998 build log / latex log nicely
18000 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18003 * MenuBackend.h: remove support for reference menuitem type.
18005 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18007 * BufferView_pimpl.C: housekeeping
18008 * BufferView_pimpl.h:
18013 * minibuffer.h: move Timeout GUI-I
18015 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18017 * lyxrc.C (read): Update converters data-structures.
18019 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18021 * LaTeX.h (operator!=): add operator != for Aux_Info
18023 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18025 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18027 * LaTeXLog.C: deleted, useful code moved to Buffer
18030 * buffer.C: new function getLatexLogName()
18036 * lyxfunc.C: use frontends for LaTeX and VC logs
18038 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18040 * LaTeX.h: yet another std:: that Allan forgot.
18042 * Variables.C (set): renamed from isset(), because this clashes
18043 with some HP-UX macros (grr).
18045 2001-02-06 Allan Rae <rae@lyx.org>
18047 * LaTeX.h: Another bug fix. Missing std:: this time.
18049 2001-02-04 Allan Rae <rae@lyx.org>
18051 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18052 floats problem. I've left it commented out because it's not quite
18053 correct. It should also test that the current object is a table or
18054 figure inset. But I haven't gotten around to figuring out how to do
18055 that. I *think* it'll be something like: "table" == inset.type()
18057 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18060 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18062 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18063 all the citation/databases/styles in the auxilary file.
18064 (run): Rerun latex if there was a babel language error.
18066 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18068 * text.C (Backspace): Preserve the font when changing newline char
18070 (BreakParagraph): If the cursor is before a space, delete the space.
18072 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18074 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18076 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18077 new argument (code).
18078 (ChangeCitationsIfUnique): New method.
18080 * paragraph.C (GetPositionOfInset): Handle bibkey.
18082 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18084 * BufferView_pimpl.h: change type of Position::par_pos to
18085 LyXParagraph::size_type.
18087 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18089 * BufferView_pimpl.C (savePosition, restorePosition): Write
18090 messages to minibuffer.
18092 2001-01-28 José Matos <jamatos@fep.up.pt>
18094 * buffer.C (makeDocBookFile): adds support for document language.
18095 A silly restriction on the name of LatexCommand types where removed.
18096 Added support for CDATA sections, allows to chars unescaped, used
18097 among others in code, to avoid escape < and >.
18099 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18101 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18102 saved positions instrad of a stack. Furthermore, a position is
18103 stored using paragraph id/paragraph position.
18105 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18106 Remove LFUN_REF_BACK.
18108 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18110 * converter.C (dvipdfm_options): New method.
18112 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18114 * vspace.C (isValidLength): Fix for empty input string.
18116 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18118 * LyXAction.C (init): change description of LFUN_FIGURE to
18121 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18123 * LaTeX.C: add using directive
18125 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18127 * MenuBackend.C (expand): Fix the sorting of the formats.
18129 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18131 * lyx_main.C: tiny error message fix
18133 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18135 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18136 calling fl_initialize(). This fixes the problem with ',' as
18137 decimal separator in text files.
18139 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18141 * trans.C (process): Fix the keymap bug.
18143 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18145 * LaTeX.C (scanAuxFiles): New method. Provides support for
18146 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18147 (scanLogFile) Scan for "run BibTeX" messages.
18149 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18150 OT1 font encoding. Also, load the aecompl package if the ae
18153 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18155 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18157 * texrow.C (increasePos): turn two error messages into debug
18160 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18162 * LaTeX.C (scanAux): Handle the \@input macro.
18163 (runBibTeX): Use scanAux().
18165 * language.C (latex_options_): New field.
18167 * LaTeXFeatures.C (getMacros): Add language macros.
18169 * buffer.C (makeLaTeXFile): Small fix.
18171 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18173 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18175 * text2.C: add a using directive.
18177 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18182 * lyxfunc.C: kill LyXBell.
18184 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18186 * text.C (IsBoundary): Remove the error message
18188 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18190 * lyxrc.C (setDefaults): Correct initialization value for
18193 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18195 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18198 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18199 and GotoNextNote().
18201 * src/LyXAction.C: Added reference-next.
18203 * text.C (InsertChar): Use contains instead of strchr.
18205 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18207 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18209 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18210 alignment commands (when needed).
18212 * text.C (InsertChar): Add ':' to number separator chars.