1 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * text.C (read): remove unused variable.
4 (readParToken): remove static Change variable (never good in
5 recursive settings...); add it as a parameter instead.
7 * paragraph_pimpl.C (acceptChange): make debug info conditional.
9 * metricsinfo.C (PainterInfo): add new member erased_.
11 * rowpainter.C (RowPainter): add erased_ member, initialized from
13 (paintInset): pass erased_ to Inset::draw.
15 * lyxfunc.C (lookupChange): new function. Tells whether change
16 tracking is disabled at a given postion.
17 (getStatus): disable some actions when in deleted text with change
20 2005-08-03 John Levon <levon@movementarian.org>
22 * tabular.C (appendColumn, setMultiColumn): adapt to change to
25 * paragraph_pimpl.C (markErased): add bool argument and handle it.
26 Also make sure to mark insets recursively.
27 (rejectChange, erase): be recursive
29 * paragraph.C (markErased): add bool argument.
30 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
32 * lyxfind.C (findNextChange): tiny cleanup.
34 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
35 change tracking with the cursor in an inset; make sure the first
36 change is not skipped.
38 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
40 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
41 tabularStackDirty to work around bug 1919 (tabular needs
42 to know whether its own cell paste buffer or the one of
44 * CutAndPaste.C: mark tabular_stack_ clean after copy.
46 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
48 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
50 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
52 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
53 use old deleteion algorithm when changetracking is on.
55 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
57 * messages.C (get): add debug output.
59 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
61 * text.C (cursorX): fix bug 1965: cursor movement at
62 line end broken in RtL.
63 (drawSelection): fix bug 1970: drawing of single-line
64 selection broken for RtL.
66 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
70 * dociterator.h (clear, push_back, pop_back): change from
73 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
74 and changed to just return the value of the item depth; take a
75 ParIterator as argument; take the itemdepth at outer nesting level
76 in account if necessary; cleanup and comment the code.
77 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
78 and changed to just return true if reset is needed; take a
79 ParIterator as argument; cleanup and comment the code.
80 (setCounter): adapt to above changes.
82 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
84 * text3.C (dispatch): make debug message optional
86 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
88 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
91 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
93 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
95 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
97 * text.C (insertChar):
98 * text2.C (deleteEmptyParagraphMechanism): take care whether
99 a blank has been deleted (in change tracking mode) (bug 1254).
101 2005-07-20 John Levon <levon@movementarian.org>
103 * text2.C (insertStringAsLines): remove old dubious code,
106 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
108 * MenuBackend.C (expandToc): use Floating::listName() as title of
111 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
113 * toc.[Ch]: Do not use translatable strings (bug 1870).
115 2005-07-20 John Levon <levon@movementarian.org>
117 * tabular.C: fix 1748 - setting multicolumn adds
118 left line to the first cell
120 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
123 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
126 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
128 * messages.C: supress some lyxerr messages
130 2005-07-18 Juergen Vigna <jug@lyx.org>
132 * text.C (drawSelection): honor boundary when asking for cursorX.
134 2005-07-17 José Matos <jamatos@fc.up.pt>
136 * tabular.C (recalculateMulticolumns): fix handling of one column
139 2005-07-17 Juergen Vigna <jug@lyx.org>
141 * text.C (Delete, backspace): fixed so that paragraph with the
142 same layout can be merged by Delete/Backspace.
144 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
146 * text.C (readParToken): fix spelling.
148 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
150 * text2.C: fix counter update for DEPM problem reported by
153 2005-07-17 Juergen Vigna <jug@lyx.org>
155 * BufferView_pimpl.C (setBuffer): save/restore the
156 cursor/selection when switching buffers
159 * buffer.C (saveCursor): add saveDocumentIterators to save the
160 cursor when switching buffer.
162 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
165 * buffer.C: clarify message
167 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
169 * dociterator.C (DocIterator): fix initialization order
171 2005-07-17 Juergen Vigna <jug@lyx.org>
173 * text2.C (cursorHome):
174 * text.C (drawSelection, cursorX):
175 * dociterator.C (textRow): add boundary to getRow() call
177 * paragraph.C (getRow): implementation of below
179 * paragraph.h: add parameter boundary for getRow() function
181 2005-07-17 José Matos <jamatos@fc.up.pt>
185 * tex-strings.[Ch]: new file format, remove support for a4.sty,
186 a4wide.sty and a4widemargins.
188 2005-07-17 Juergen Vigna <jug@lyx.org>
190 * text2.C (cursorLeft): fix one of error
192 2005-07-17 Juergen Vigna <jug@lyx.org>
194 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
196 more fixes for boundary handling
198 * text3.C (dispatch): don't reset cursor if boundary has changed
201 2005-07-16 Juergen Vigna <jug@lyx.org>
203 * text2.C (getColumnNearX): hopefully got it right now,
204 check if we are on column 0 for special case.
206 2005-07-16 Juergen Vigna <jug@lyx.org>
208 * text2.C (getColumnNearX): handle special case Newline Inset
210 * text.C (singleWidth): Just remove bogus check
212 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
214 * funcrequest.C (split): avoid reading uninitialized char c
216 2005-07-16 José Matos <jamatos@fc.up.pt>
222 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
223 single papersize variable.
225 2005-07-16 Juergen Vigna <jug@lyx.org>
227 * text3.C (dispatch): honor boundary when checking if a cursor
228 movement has been done
230 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
231 (setCursor, setCursorIntern): fix cursor movement with boundary
233 2005-07-16 Juergen Vigna <jug@lyx.org>
235 * text.C (currentState): output the actual Boundary
237 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
239 * factory.C (createInset): fix bad logic for tabular creation
241 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
243 * lyx_main.C (init): change some reLyX reference to tex2lyx
245 2005-07-16 Juergen Vigna <jug@lyx.org>
247 * dociterator.C (DocIterator): initialize boundary
249 2005-07-16 Juergen Vigna <jug@lyx.org>
251 * text2.C (getColumnNearX): Consider rows without trailing blank.
253 2005-07-16 André Pönitz <poenitz@gmx.net>
255 * lyxfont.h: Change order of declarations to give the compiler
256 a better chance to inline things
258 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
259 questions on unsaved docs for better scritability
261 2005-07-16 André Pönitz <poenitz@gmx.net>
263 * paragraph.h (getChar): remove asserts as the same kind of security
264 can be achieved by using a suitable standard library implementation
265 and the function was in the critical path (25.9% in profiler)
267 2005-07-16 Juergen Vigna <jug@lyx.org>
269 * cursor.C (bruteFind2):
270 * bufferview_funcs.C (coordOffset):
271 * text.C (cursorX,cursorY): Handle cursor position after last char
272 in row before a inset which uses a whole row.
274 2005-07-15 José Matos <jamatos@lyx.org>
276 * output_plaintext.[Ch] (writeFileAscii): control reference title
278 (asciiParagraph): noparbreak was already deal and was incorrectly
281 2005-07-15 Juergen Vigna <jug@lyx.org>
283 * lyxfunc.C (dispatch): save and restore the cursor after a
286 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
288 * text.C (backspace): bug 806 for empty keepempty paragraphs we
289 change the layout to default before letting DEPM do its thing.
291 * paragraph_funcs.C (breakParagraph): dont reset the layout on
294 * text.C (setCursorFromCoordinates): add a debug statement
296 * text2.C (getColumnNearX): bug 1825 make sure that we don't
297 return a pos that is not on the row
299 * output_latex.C (TeXDeeper): get rid of potential dereferencing
300 of past the end iterator
302 2005-07-14 André Pönitz <poenitz@gmx.net>
304 * undo.C (recordUndoFullBuffer): implement undo for
307 2005-07-14 André Pönitz <poenitz@gmx.net>
309 * cursor.C (setSelection): open insets when selection is set there
310 to avoid crashs with cold coord cache
312 2005-07-14 André Pönitz <poenitz@gmx.net>
314 * trans_mgr.C (insert): move cursor to the right after inserting
317 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
319 * BufferView_pimpl.C (update): dampen some of the debug blabbering
320 * factory.C (readInset): ditto
321 * text.C, text2.C: ditto
323 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
325 * buffer.C: format incremented to 242. There is no file format per
326 se, but the "frenchb" language has been removed from lib/language
327 and has to be translated to "french" by lyx2lyx.
329 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
331 * cursor_slice.h, dociterator.h: add some documentation
332 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
334 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
336 * text.C (leftMargin): do not add identation to display() style
337 insets, because they are always centered (bug 1293).
339 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
341 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
342 formatted_time methods in support/lyxtime.
344 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
346 * toc.[Ch]: new method getGuiName, which is used by the frontends
347 to set the toc combo (fixes bug 1870). Make TOC string translatable.
349 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
351 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
352 StableDocIterator const &)
353 * undo.C (recordUndo): use the above instead of cell.size() comparison
354 (fixes bug 1808; instructed by Andr�.
356 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
359 * dociterator.h: Fix the assert when copying rows/cols in math
361 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
363 * BufferView_pimpl.C:
365 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
367 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
368 (findInset): new functions, refactored from goto Inset that return
369 the position of a certain inset without setting the buffer's cursor
371 (gotoInset): rewrite to call findInset and then set the cursor
374 2005-06-16 Angus Leeming <leeming@lyx.org>
376 * lyxrc.C (output, read): wrap all input and output of paths with
377 calls to os::internal_path and os::external_path, respectively.
378 (output): wrap bind_file inside quotes.
380 * format.C (view): enable the viewer to use the '$$s' placeholder.
382 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
384 * LColor.[Ch] (getFromLaTeXName): new
386 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
388 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
390 2005-06-14 Angus Leeming <leeming@lyx.org>
392 * lyx_main.C (init): ensure that the LyX binary dir is the first
393 element in the PATH on non-POSIX builds.
395 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
397 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
399 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
401 * rowpainter.C (paintInset, paintHebrewComposeChar)
402 (paintArabicComposeChar, paintChars): add a LyXFont argument.
403 (paintChars): use getFontSpan to reduce calls to getFont to a
404 minimum; use Paragraph::lookupChange instead of isXXXText.
405 (paintForeignMark): rename LyXFont argument.
406 (paintFromPos): pass a LyXFont object to the various paintXXX
409 * FontIterator.C (FontIterator, operator++): use
410 Paragraph::getFontSpan
412 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
413 version that returns the font span as a pair.
415 2005-06-09 Angus Leeming <leeming@lyx.org>
417 * converter.C (convert): Don't forget "outfile = real_outfile" as
418 the final step in a conversion where the input and output file names
419 are the same. Otherwise, future conversion steps won't work...
421 2005-06-09 Angus Leeming <leeming@lyx.org>
423 * lyxsocket.C: remove stub code as it isn't needed by
424 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
426 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
428 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
429 effectively disabled -x
431 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
433 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
434 when it actually makes sense.
436 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
438 * BufferView_pimpl.C: revert to showCursor in connection with
439 Lars's front-end stack
441 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
443 * text.C (redoParagraph): move cursor right after a bibitem
446 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
448 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
450 * buffer_funcs.C (bufferErrors): fix computation of the end of an
453 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
455 * BufferView.[Ch] (update):
456 * BufferView_pimpl.[Ch] (update, metrics):
457 * dimension.h (operator==):
458 * lyxfunc.C (dispatch):
459 * metricsinfo.h (ViewMetricsInfo):
460 * rowpainter.C (paintText):
462 * text.C (redoParagraph):
463 * text3.C (dispatch): Make LyX only repaint current paragraph in
464 case of character insert --> speedup. Also fix cursor draw
467 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
469 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
470 avoid a crash (bug 1891)
472 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
476 * text2.C (getStringToIndex): constify cur argument.
478 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
479 argument has been given
480 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
481 try to invoke LFUN_INSET_APPLY).
483 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
484 if no inset was created by doInsertInset
485 (doInsertInset): return true if an inset has been inserted.
487 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
489 * vspace.C (asGUIName): new method. A version of the space
490 suitable for showing on screen.
492 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
495 * lyxrc.C: rename "ASCII" to "Plain Text"
497 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
499 * buffer_funcs.C (expandLabel): take a Buffer as argument;
500 translate the labelstring.
501 (setCounter): translate labelstring as needed.
503 * output_docbook.C (makeCommand): fix expandLabel invokation
505 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
507 * BufferView.C: fix dialog title
509 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
511 * lyx_main.C (priv_exec): fix logic error with help from Angus
512 * lyx_main.C (parse_execute): set is_gui = false and remove now
513 obsolete comment about a segfault
515 2005-05-18 Angus Leeming <leeming@lyx.org>
517 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
519 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
521 * tabular.[hC]: added setCellInset to fix tabular paste.
523 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
525 * buffer.C (save): check if destination is writable before trying
528 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
530 * BufferView_pimpl.C (update): fix processEvents -caused update
533 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
535 * buffer_funcs.C (setCounter): fix test for numbering of
538 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
539 depth correctly; use optional argument when it exists
541 * lyxtextclass.C: remove unused MaxCounterTags enum
542 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
543 (max_toclevel, min_toclevel): new methods.
545 * MenuBackend.C (expandToc2): fix case where depth is smaller than
546 the smallest depth in toc.
548 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
549 layouts that should not appear in a table of contents.
551 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
553 * cursor.h (undispatched, noUpdate): add comments from Andr�
554 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
558 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
560 2005-05-07 André Pönitz <poenitz@gmx.net>
562 * cursor.[Ch] (leaveInset): new function
564 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
566 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
568 2005-05-04 Angus Leeming <leeming@lyx.org>
570 * lyxfunc.C (getStatus): disable the spell checker dialog if
571 none of USE_[AIP]SPELL are defined.
573 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
575 * tabular.C (setWidthOfCell): remove obsolete comment
577 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
579 * paragraph.C (bibitem):
580 * buffer_funcs.C (setCounter):
581 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
583 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
585 * text3.C (getStatus): immediately return after setOnOff
587 * rowpainter.C: fix drawing of appendix start
589 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
591 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
592 SwitchBetweenClasses and remove the unused return value.
593 Handle character styles, too
595 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
597 * factory.C (createInset): handle undefined character styles
599 2005-05-02 Angus Leeming <leeming@lyx.org>
601 * buffer.C: protect the #include of utime.h with a preprocessor
604 2005-05-02 Angus Leeming <leeming@lyx.org>
606 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
607 function so that auto-saving works, albeit in a blocking manner.
609 * Makefile.am: make compilation of the client sub directory, of
610 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
611 on conditionals set at configure time.
613 * SpellBase.[Ch]: no longer an abstract base class. Instead,
614 it can be compiled in its own right but has no-op functionality.
616 * aspell.C, pspell.C: remove preprocessor guards. The files should
617 be compiled only if the necessary functionality exists.
619 * lyxserver.C, lyxsocket.C: disable on Windows.
621 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
623 * text.C (leftMargin): Fix the parindent use bug (1764)
626 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
628 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
631 2005-04-25 Angus Leeming <leeming@lyx.org>
639 include <config.h> in .C files, not .h ones.
641 protect headers inside preprocessor guards.
643 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
645 * FuncStatus.h (StatusCodes): document
647 2005-04-21 André Pönitz <poenitz@gmx.net>
649 * FuncStatus.h (enabled, onoff): document
651 2005-04-19 Angus Leeming <leeming@lyx.org>
653 * BufferView_pimpl.C (cursorToggle): no longer test whether
654 any child processes have been reaped before calling
655 handleCompletedProcesses().
657 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
659 * text3.C (dispatch): fix, finally fix, the language problem in
660 new lyxtexts, without disabling on-the-fly font changes (Helge's
663 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
665 * text3.C (dispatch): set cursor on double/triple click events
668 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
670 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
671 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
673 * rowpainter.C (paintFirst): simplify the code a little bit. In
674 particular, remove the test for secnumdepth.
675 * text.C (setHeightOfRow): only allocate space for chapter number
676 when updateCounters provided an actual label, instead of looking
677 at secnumdepth directly.
679 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
681 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
682 paragraphs when secnumdepth is large enough or, for environments,
683 when they are not the first in a sequence.
685 2005-04-17 Angus Leeming <leeming@lyx.org>
687 * buffer.C (makeLaTeXFile): replace code to manipulate a path
688 containing space and '~' characters with a call to latex_path().
690 2005-04-17 Angus Leeming <leeming@lyx.org>
692 * converter.C (convert): protect all args of convertDefault.sh
695 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
697 * text3.C (dispatch): change the layout to "Caption" after inserting
700 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
702 * text3.C (dispatch): fix language problem in newly created
703 textinsets (and main text) in non-english docs
705 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
707 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
708 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
709 * text3.C (getStatus): disable LFUN_INSET_MODIFY
711 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
716 * rowpainter.C (getFont): Fix metrics bug introduced by inset
719 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
721 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
722 output of \item arguments without trailing text.
724 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
726 * FontIterator.C (operator*): avoid a copy of the font.
728 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
730 * rowpainter.C (getFont): fix language bug from previous fix
732 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
734 * rowpainter.C (RowPainter, getFont): fix font inside inset
737 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
739 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
740 preventing inserted font, deco, delim insets jumping to start of
743 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
745 * lyxfunc.C (dispatch): translate message before sending it to the
748 2005-03-29 Angus Leeming <leeming@lyx.org>
750 * lyx_main.C (priv_exec): call os::internal_path on each file passed
751 to LyX on the command line.
753 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
755 * vc-backend.C: use QuoteName to protect file names wherever
758 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
761 * BranchList.h: fix bugs 1844,1845: document settings don't
764 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
766 * lyxrc.C (setDefaults, read, output, getDescription): add support
767 for tex_allows_spaces.
769 * exporter.C (Export): allows files in directory containing spaces
770 if tex_allows_spaces is true.
772 * buffer.C (makeLaTeXFile): if the document path contains spaces,
773 output it in double quotes.
775 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
777 * rowpainter.C: use default text height for drawing change tracker
780 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
782 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
784 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
786 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
787 directory is missing.
789 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
791 * text2.C: fixed the fix, extended to other case.
793 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
795 * text2.C: fix for cursor up/down stuck in math [bug 1792]
797 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
799 * text2.C (cursorUp): get rid of a crash
800 * text.C (x2pos): add an assert
802 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
804 * lyxfunc.C (getStatus): fix warning when assertions are disabled
808 * dociterator.C: include <boost/current_function.hpp>, which is
809 needed when assertions are disabled.
811 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
813 * text2.C: fix for stuck cursor when traversing two
814 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
816 2005-02-25 Andreas Vox <avox@arcor.de>
818 * output_docbook.C (makeParagraph): suppress trailing newline
819 after a run of paragraphs
821 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
823 * paragraph.C: fix for confused change tracker when pasting
824 text that begins with a lineseparator. [bug 1827]
825 (setChange(0, Change::INSERTED);)
827 * paragraph_funcs.C: fix for lost changes on triple-paste
828 in change tracking mode [bug 1827] (par.setChange()).
830 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
832 * text2.C (updateCounters, setCounter, expandLabel): move to
835 * buffer_funcs.C (updateCounters): turn into a free standing
836 function and add a buffer parameter. Remove dead code for tracking
838 (setCounter): change into a free-standing function which gets a
839 dociterator as argument. Use this iterator to fix captions in a
840 simple way. When no float is found above the caption, use the
841 labelstring of the caption layout as default.
843 * text.C (breakParagraph, backspace):
844 * text2.C (init, setLayout, changeDepth):
845 * text3.C (dispatch):
846 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
849 * dociterator.C (forwardPar): make it much faster by calling
850 forwardPos() only when really necessary.
852 * output_docbook.C (makeCommand): adapt to expandLabel move.
854 * cursor.C: remove unused variable
856 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
858 * paragraph_funcs.C: fix crash when pasting insets in change
859 tracking mode [bug 1277] (honour change type in moveItem).
861 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
863 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
865 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
867 * BufferView.C (setCursor): change to use a DocIterator.
868 (gotoLabel): use BufferView::setCursor (other part of bug 781).
869 (putSelectionAt): adapt to BufferView::setCursor change.
871 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
872 moved here from LyXText and rewritten to use proper cursor
873 methods. Fixes bug 1787, 616 and 835.
875 * BufferView_pimpl.C (restorePosition): set the cursor correctly
876 when inside an inset (part of bug 781).
877 (dispatch): adapt to change of BufferView::setCursor.
878 (getStatus, dispatch): handle LFUN_GOTOERROR,
879 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
881 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
882 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
883 * text3.C (gotoNextInset, gotoInset): removed.
885 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
887 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
889 2005-02-15 Angus Leeming <leeming@lyx.org>
891 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
892 can be used meaningfully in a comparison.
894 2005-02-13 André Pönitz <poenitz@gmx.net>
896 * bufferview_funcs.C (coordOffset): improve cursor drawing
898 2005-02-13 André Pönitz <poenitz@gmx.net>
900 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
901 * Cursor.C (dispatch): use fixIfBroken
902 * lyxfunc.C (getStatus): use fixIfBroken
904 2005-02-15 Angus Leeming <leeming@lyx.org>
906 * lyx_main.C (error_handler):
908 * lyxrc.C (setDefaults):
910 #include "environment.h".
912 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
914 2005-02-15 Angus Leeming <leeming@lyx.org>
916 * lyxserver.C (startPipe): squash MSVC warning "local variable
917 'fd' used without having been initialized".
919 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
921 * BufferView_pimpl.C: revert accidental commit.
923 2005-02-14 André Pönitz <poenitz@gmx.net>
925 * dociterator.[Ch]: new member forwardPosNoDescent(),
926 which doesn't enter nested insets.
927 * text2.C (setFont): use forwardPosNoDescent() instead
928 of ForwardPos() (fixes crash on font change).
930 2005-02-13 Angus Leeming <leeming@lyx.org>
932 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
933 only if lyxrc.path_prefix is not empty.
935 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
937 * bufferparams.C (readGraphicsDriver): prevent crash
939 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
941 * text2.C (setCounter): check for inInset() == 0
943 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
945 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
946 but use update() to get correct screen display; use convert
947 instead of istringstream.
948 (getStatus): handle LFUN_GOTO_PARAGRAPH
950 * lyxfunc.C (dispatch, getStatus): do not handle
951 LFUN_GOTO_PARAGRAPH here.
953 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
955 * text3.C (dispatch): size() -> depth()
957 * text2.C: remove some debug output
959 * paragraph.C: ws changes only
961 * lyxfunc.C (getStatus): size() -> depth()
963 * dociterator.h (clear, push_back, pop_back, internalData,
964 operator[], resize, empty): new functions
965 Make StableDocIterator and operator== be friends. Don't inherit
966 from std::vector use a privat class variable slices_ instead.
969 * dociterator.C: update because of not inheriting from std::vector
970 anymore. Call explictly to slices_ instead. Use depth() instead of
971 size() and top() instead of back()
973 * cursor.C: chagne size() -> depth and back() -> top(). Also
974 remove some direct operator[](i) calls in favour of foo[i]
975 (getFont): remove some dead code
977 * bufferview_funcs.C (coordOffset): size() -> depth()
979 * buffer.C: ws changes only
981 * CutAndPaste.C (eraseSelection): back() -> top()
983 * BufferView_pimpl.C (selectionRequested): back() -> top()
985 * BufferView.C (setCursor): size() -> depth()
987 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
989 * text3.C (cursorPrevious): return true if depm changed something
991 (dispatch): rename sl to oldTopSlice, remove moving use the new
992 NoUpdate func attrib instead. Make sure that needsUpdate is set
993 for function that have NoUpdate, but where depm might have changed
996 * text2.C (cursorLeft): make us return true if depm changed
999 (cursorUpParagraph): ditto
1000 (curosrDownParagraph): ditto
1001 (cursorUp, cursorDown): ditto, make sure to read comments in code
1002 (deleteEmptyParagraphMechanism): remove an assert, also return
1003 true if just a single char was deleted.
1005 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1006 cursor that we modify, to avoid modifying an active cursor before
1007 we call setCursor. This allows depm to run. Also return true if
1008 depm deleted something.
1010 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1011 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1012 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1013 something was changed in the buffer because of them (ie. depm run)
1015 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1016 debug messages. Make update by default be false. Make sure that
1017 the result of update is retained throught several calls down to
1020 * LyXAction.h: add a new func_attrib: NoUpdate
1022 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1023 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1024 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1026 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1028 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1030 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1031 bv_->owner(), bv_->buffer() by direct references to the private
1033 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1034 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1035 (fitCursor): center() is in BufferView::Pimpl.
1036 (getStatus, trackChanges, dispatch): no need for a temporary buf
1038 (fitCursor, workAreaDispatch): use workarea().workheight()
1040 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1042 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1044 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1046 * buffer.C: format up to 241.
1047 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1048 break if pasting into ERT
1049 * lyxfunc.C (getStatus): suppress mathpanel and
1050 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1052 2005-02-01 Angus Leeming <leeming@lyx.org>
1054 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1056 2005-02-01 Angus Leeming <leeming@lyx.org>
1058 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1059 calling fs::is_directory().
1061 2005-01-31 Angus Leeming <leeming@lyx.org>
1063 * lyx_main.C (priv_exec): specify explicitly the relative location
1064 of the top level build directory when run in-place.
1066 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1068 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1069 LyXText containing the cursor, not the top-level one.
1071 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1073 (insertStringAsLines): rename par to pit; use temporary variable
1074 par to hold a Paragraph; do not store par.layout() in a variable,
1075 since the pointer may die when breaking paragraphs; pass pars to
1076 breakParagraph() instead of Buffer::paragraphs().
1078 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1080 * lyxlex_pimpl.h: #include <fstream>.
1082 * BufferView.[Ch] (getLyXText): add a const version.
1084 * BufferView_pimpl.C: add debug aids.
1089 * paragraph_funcs.h: add commentary explaining what the class does.
1092 * coordcache.[Ch]: add lots of commentary.
1093 (startUpdating, doneUpdating): debug aids.
1094 (arrays, insets, parPos, getParPos): accessors to private data.
1096 * cursor_slice.[Ch] (text): add a const version.
1097 * dociterator.[Ch] (text, innerText): add const versions.
1099 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1102 * paragraph.C (getRow, pos2ros): add asserts.
1104 * paragraph.h: add commentary. Lots of.
1106 * paragraph.[Ch] (metrucs, draw): removed.
1109 * rowpainter.[Ch]: const-correct changes.
1111 * text.C: various obvious clean-ups. Removal of ancient cruft.
1114 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1116 * vc-backend.C (find_file): rewrite to use boost.filesystem
1119 * main.C (main): set default name check for boost.filesystem to
1122 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1125 (actOnUpdatedPrefs): ditto
1127 * lyx_main.C (init): rewrite to use boost.filesystem
1128 (queryUserLyXDir): ditto
1130 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1131 (getContentsOfAsciiFile): ditto
1133 * lastfiles.C (readFile): rewrite to use boost.filesystem
1135 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1137 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1138 (loadLyXFile): ditto
1140 * buffer.C (Buffer): adjust for destroydir
1141 (getLogName): rewrite to use boost.filesystem
1142 (setFileName): ditto
1143 (save): use fs::copy_file (from fs_extras)
1145 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1147 * LaTeX.C (run): rewrite to use boost.filesystem
1148 (scanAuxFiles): ditto
1149 (handleFoundFile): ditto
1151 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1153 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1155 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1157 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1159 * lyxlayout.[Ch]: change some vars from float to double
1161 * buffer.C (readFile): make a local var const
1163 * Several files: use convert<> instead of atoi,strToXXX and friends
1165 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1167 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1168 holds the contents of packages.lst. New functions getAvailable
1169 and isAvailable to parse and check that list, resp.
1173 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1175 * bufferparams.[Ch]: new param output_changes.
1177 * Buffer.C: increase file format to 240.
1178 Use output_changes and isVailable.
1182 * paragraph_pimpl.C: Use output_changes and isVailable.
1184 2005-01-23 Angus Leeming <leeming@lyx.org>
1186 * output_latex.C: #include "insetbibitem.h", rather than
1187 forward declare function bibitemWidest.
1189 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1191 * lyx_main.C (init): make it compile on the Mac.
1193 2005-01-20 Angus Leeming <leeming@lyx.org>
1195 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1196 (setLyXMisc): (char string literal) != (char string literal) is
1197 performing a comparison on the addresses. Convert one operand
1198 explicitly to string to guarantee expected behaviour.
1201 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1204 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1206 * output_plaintext.C: remove unneeded #include gzstream.h.
1208 2005-01-20 Angus Leeming <leeming@lyx.org>
1210 * SpellBase.h: rename some of the elements of the Result enum.
1217 * pspell.C (check): ditto
1219 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1221 * buffer.C: add #include <fstream>.
1223 * lyx_main.C (init): Compile fix.
1225 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1227 2005-01-20 Angus Leeming <leeming@lyx.org>
1229 * mover.h: change commentary to reflect the changed meaning of
1230 the $$s placeholder.
1232 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1234 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1236 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1238 2005-01-20 Angus Leeming <leeming@lyx.org>
1240 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1241 printing diagnostic data by not dereferecing an iterator past the
1244 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1246 * buffer.C (readHeader): use "&&" rather than "and".
1248 * lyxserver.h (inPipeName, outPipeName): make these const.
1250 2005-01-19 Angus Leeming <leeming@lyx.org>
1252 * lyx_main.C (error_handler, init): protect SIGHUP with
1253 #ifdef SIGHUP guards.
1255 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1257 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1259 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1261 * text.C (setHeightOfRow): add a margin at the top and bottom of
1262 the document (bug 1761)
1264 2005-01-17 Angus Leeming <leeming@lyx.org>
1266 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1267 with "python ". Workaround for a brain-dead Windows.
1269 2005-01-16 Angus Leeming <leeming@lyx.org>
1271 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1272 for MacOSX and Windows to use prependEnvPath.
1273 Strip out the hard-coded block to add elements to the PATH for
1274 MacOSX and replace it with a call to prependEnvPath using the
1275 contents of LyXRC::path_prefix.
1276 (queryUserLyXDir): strip out the code to run reconfigure, instead
1277 returning a boolean indicating the necessity to do so.
1278 (reconfigureUserLyXDir): contains the code to reconfigure the
1279 user support directory. Is now called after the various LyXRC data
1280 files have been read.
1282 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1284 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1286 * converter.[Ch] (convert): take a new parameter try_default. Use
1287 a default converter (imagemagick) if try_default is true.
1289 2005-01-13 Angus Leeming <leeming@lyx.org>
1291 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1292 os::cygwin_path_fix.
1293 (write): output LyXRC::cygwin_path_fix as necessary.
1295 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1298 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1300 2005-01-12 Angus Leeming <leeming@lyx.org>
1302 * lyx_main.C (init): set the PATH variable to include the
1303 directory containing the LyX binary when running on Mac or Windows.
1305 2005-01-12 Angus Leeming <leeming@lyx.org>
1307 * lyx_main.C (init): remove cruft that purports to set the locale
1308 dir. It doesn't and is not needed anyway.
1310 2005-01-10 Angus Leeming <leeming@lyx.org>
1312 * Makefile.am: remove the lyx_main.C special casing.
1314 * BufferView_pimpl.C:
1320 * messages.C: use support/package.h to provide the paths to the
1321 various directories used by LyX.
1323 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1325 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1326 layout if pasting into an empty paragraph)
1328 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1330 * tex-accent.C: add <string>
1332 2005-01-06 José Matos <jamatos@lyx.org>
1334 * ParagraphParameters.C (write): put every parameter in its own line.
1335 * paragraph.C (write): reduce number of consecutive empty lines exported.
1336 * buffer.C (LYX_FORMAT): increase file format to 239.
1338 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1340 * everywhere: change support/tostr.h -> support/convert.h
1342 * tabular.C: make all write_attributes templates, tostr -> convert
1344 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1345 (emptyTag): and -> &&, and fix type for ret from getChar
1346 (getFirstWord): fix type for ret from getChar
1347 (onlyText): and -> &&
1348 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1351 * toc.C (goTo, action):
1352 * text3.C (dispatch):
1353 * text.C (currentState):
1354 * tex-accent.C (DoAccent):
1357 * lyxfunc.C (menuNew):
1358 * lyxfinc.C (replace):
1359 * counters.C (laberItem):
1360 * bufferview_funcs.C (font2string):
1361 * bufferparams.C (writeFile):
1362 * buffer.C (readFile):
1364 * MenuBackend.C: tostr -> convert
1366 * LaTeX.C (runMessage): fix format
1367 (scanAuxFiles): tostr -> convert
1369 * BufferView_pimpl.C (savePosition): fix format
1370 (restorePosition): ditto
1373 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1375 * Spacing.[Ch]: New method getValueAsString().
1379 * ParagraphParameters.C:
1382 * text3.C: store/read spacing value as string.
1384 * rowpainter.C: change float value (spacing_val) to double.
1386 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1387 broken custom document spacing).
1389 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1391 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1392 namespace, also more use of temp references and const
1394 * cursor.[Ch] (getStatus): move to lyxfunc.C
1396 * bufferparams.C: reformat slightly
1398 * bufferview_funcs.C (font2string): constify arg
1404 * buffer_funcs.C: (many funcs): constify arg on function
1405 definitions, also make more local vars const, also add ASSERTS on
1408 * buffer.C (LYX_FORMAT): put const in correct place
1409 (many funcs): constify arg on function definitions, also make
1410 more local vars const
1412 * aspell_local.h: remove "struct" from typdef setup
1414 * aspell.C (check): make word_ok const
1415 (nextMiss): simplify slightly
1418 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1420 * lyxrc.[Ch]: store all float values as strings.
1421 use int (not float) for lyxrc.dpi.
1423 2005-01-04 Angus Leeming <leeming@lyx.org>
1425 * lyx_cb.C (Reconfigure):
1426 * lyx_main.C (queryUserLyXDir):
1427 to run the <system_lyxdir>/configure correctly on Windows, prefix
1428 the path to the script with "sh " when generating the string that
1429 is passed to system().
1431 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1433 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1435 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1437 * lyxlength.C (asLatexString): get rid of setprecision
1439 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1441 * text2.C (setLayout): remove unused variable endpit.
1442 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1444 * paragraph.C (onlyText): remove unused variable style.
1446 * cursor.C (bruteFind): remove unused variables beg and end.
1448 * Makefile.am (dist_noinset_DATA): not needed anymore
1450 * cheaders/*: remove.
1452 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1454 * text3.C: fix LFUN_MATH_MODE.
1456 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1458 * buffer_funcs.C (countWords): new function. Counts words between
1461 * BufferView_pimpl.C (getStatus, dispatch): handle
1464 * LyXAction.C (init):
1465 * lfuns.h: add LFUN_WORDS_COUNT.
1467 2004-12-19 Angus Leeming <leeming@lyx.org>
1469 * buffer.C (save): s/slashify_path/internal_path/.
1471 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1473 * lyxfind.C (findChange): do not search for end of pars, because
1474 the change tracker cannot handle this (fixes bug 1719).
1476 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1478 * paragraph.[Ch] (autoBreakRows): remove
1480 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1482 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1483 avoid using the paragraph one
1485 * text2.C (LyXText, insertStringAsLines): adjust
1487 2004-12-16 Angus Leeming <leeming@lyx.org>
1491 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1493 2004-12-14 Angus Leeming <leeming@lyx.org>
1495 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1497 * bufferlist.C (emergencyWrite):
1498 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1501 2004-12-14 Angus Leeming <leeming@lyx.org>
1503 * main.C: (main): no longer pass pointers to os::init.
1505 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1507 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1508 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1510 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1513 * text3.C: remove selection_possible global flag
1515 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1517 * text2.C (getSelectionSpan): remove
1518 (changeDepth, changeDepthAllowed): adjust
1520 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1522 * Makefile.am (BOOST_LIBS): use boost variables
1524 2004-12-03 José Matos <jamatos@lyx.org>
1526 * buffer.C: format up to 238.
1528 2004-12-03 José Matos <jamatos@lyx.org>
1530 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1532 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1534 * cursor.C (goUpDown): remove call to idxUpDown2
1536 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1538 * tabular.[Ch]: use size_t-like types for cell, row and column
1541 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1543 * lyxfunc.C (getStatus): do not lose previous information when
1544 calling BufferView::getStatus; do not set a default "Command
1545 disabled" message at the beginning, but just before returning.
1547 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1549 * cursor.h (getStatus): add better comment from src/cursor.C
1551 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1553 * text3.C (getStatus): return false when the lfun is not handled
1555 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1557 * broken_headers.h: remove
1559 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1561 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1563 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1564 offset_ref accessors
1566 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1567 top_y_, merge fitcursor with update
1568 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1570 (metrics): introduce
1571 (workAreaDispatch): adapt to new coord scheme
1572 (redoCurrentBuffer): remove
1574 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1576 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1579 * coordcache.[Ch]: add paragraph cache and helpers
1581 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1584 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1585 (targetX, setTargetX): introduce
1587 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1588 baseline -> ascent, as the rest of lyx
1590 * lyxtext.h: remove redoParagraphs, updateParPositions,
1591 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1592 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1593 have ascent/descent (ascent is ascent of first par)
1595 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1598 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1600 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1602 * pariterator.C: fix infinite loop introduced in par->pit renaming
1604 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1605 in insets and LyXText, draw two off-screen paragraphs using
1606 NullPainter, and adapt to new coord scheme
1610 * text3.C: adapt lfun handlers to the new coord scheme, which
1611 means: there's only guaranteed coord information for onscreen pars
1612 plus one above and one below. This implies that one can do search
1613 from y coordinates in the range [-1,workHeight]
1615 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1617 * rename a lot of InsetOld to InsetBase
1619 2004-11-25 Angus Leeming <leeming@lyx.org>
1621 * BufferView_pimpl.C:
1623 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1625 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1627 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1628 call BufferView::getStatus if LCursor::getStatus did nothing
1629 (setStatusMessage, getStatusMessage): removed.
1631 * FuncStatus.C (message): new methods. Used to provide an error
1632 message indicating why a command is disabled.
1633 (clear, |=, FuncStatus): update for message.
1635 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1637 * lyxfunc.C (dispatch): always call sendDispatchMessage
1639 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1642 * BufferView_pimpl.C:
1647 * cursor_slice.[Ch]:
1650 * paragraph_funcs.C:
1656 * undo.C: par->pit renaming
1658 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1660 * tabular.C (cellstruct): use initialization, store a shared_ptr
1661 to insettext instead of the insettext directly, adjust to fit.
1662 (operator=): new function
1663 (swap): new function
1664 (rowstruct): use initialization
1665 (columnstruct): use initialization
1666 (ltType): use initialization
1669 * lyxlength.h (swap): new function
1671 * LColor.[Ch] (operator=): use the common semantics
1673 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1675 * lyxfind.C (findNextChange): update the bufferview after setting
1678 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1680 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1681 number of InsetOptArgs has already been inserted.
1683 * output_latex.C (latexOptArgInsets): new method. This outputs all
1684 the optarg insets, up to the limit defined in the layout file.
1685 (optArgInset): removed
1686 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1688 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1690 * paragraph.C (isLetter): remove special spellchecker-related
1691 code; return true also for digits
1692 (isWord, isKomma): remove
1694 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1695 * lyxfind.C (MatchString()): use isLetter instead of isWord
1697 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1699 * pariterator.h (operatir=): comment out un-implemented member
1702 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1705 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1707 * lyxfont.h: include LColor.h to satisfy concept checks.
1709 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1711 * pariterator.h: add typdefs for value_type, difference_type,
1712 pointer and reference to satisfy concept checks. Also add default
1713 constructor for same reason.
1715 * pariterator.C (operator++): add post-increment operator to
1716 satisfy concept checks.
1718 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1721 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1723 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1724 checks. Also rename base_type to BaseType to follow naming
1727 * FloatList.h: include Floating.h to satisfy concept checks.
1729 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1731 * lyxfunc.C (getStatus): when the origin of the request is menu or
1732 toolbar, and the LyXView does not have focus, do as if there was
1733 no buffer (bug 1720)
1735 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1736 FuncRequest to individual entries of LFUN_SEQUENCE
1738 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1740 * output_latex.C (TeXOnePar): override runparams.moving_arg
1741 according to the needprotect value of the current paragraph (bug
1744 * paragraph.C (simpleTeXOnePar): no need to override
1745 runparams.moving_args here
1747 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1749 * vspace.C: fix off-by-one-error, related to fix #1682
1751 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1753 * lengthcommon.C: a more general fix for bug 1682
1755 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1757 * text.C (backspace): fix crash
1759 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1761 * format.[Ch] (getFormatFromFile): new method
1762 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1764 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1766 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1768 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1770 * lyxfunc.C (dispatch): remove the verbose argument
1771 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1774 * kbmap.C (defkey): set the origin of func to KEYBOARD
1776 * MenuBackend.C (MenuItem):
1777 * ToolbarBackend.C (add): set the origin of func to UI
1779 * funcrequest.[Ch]: add origin member, which indicates which part
1780 of LyX requests an action
1782 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1784 * converter.C (move): don't lie in the error message
1785 * converter.h (isReachable, move): document
1787 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1789 * buffer.C: remove unused using lyx::support::atoi
1790 * paragraph_funcs.C: ditto
1792 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1794 * bufferlist.C (exists): use bind and equal_to instead of
1797 * lyxtextclasslist.C (NumberOfClass): ditto
1799 * cursor.C (insert): use for_each instead of explicit for loop
1801 * bufferlist.C (getFileNames): use std::transform and
1802 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1804 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1807 * buffer.C (changeLanguage): use for_each instead of explicit for
1809 (hasParWithID): implement using getParFromID
1811 * LaTeXFeatures.C: ws change only
1813 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1816 * BufferView_pimpl.C (trackChanges): use for_each instead of
1819 2004-11-04 André Pönitz <poenitz@gmx.net>
1822 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1824 * dociterator.C (asDocIterator): use hard assert again.
1826 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1828 * lyxlength.C (asLatexString): rewrite so that it does not use
1831 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1833 * text3.C (specialChar, dispatch): make sure cursor moves to the
1834 right after inserting an inset
1836 2004-11-02 José Matos <jamatos@lyx.org>
1838 * output_docbook.C (docbook):
1839 * paragraph.C (getID):
1840 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1841 garantee that the output is always legal.
1843 * tabular.C (docbook):
1844 * outputprams.[Ch]: remove mixed contents.
1846 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1848 * text2.C (setCounter): prevent endless loop
1850 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1852 * exporter.C (copyFile): use the mover instead of support::copy()
1853 * exporter.C (Export): pass format and latex name to copyFile()
1854 * exporter.h (addExternalFile): document
1855 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1857 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1859 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1861 2004-10-30 José Matos <jamatos@lyx.org>
1863 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1864 text and no inset or font change. This allows to use CDATA
1865 sections just for the whole paragraph.
1867 2004-10-30 José Matos <jamatos@lyx.org>
1869 * paragraph.C (getFirstWord): remove unused variable.
1871 2004-10-30 José Matos <jamatos@lyx.org>
1873 * paragraph.C (getFirstWord): the content should always be escaped
1875 (simpleDocBookOnePar):
1876 * output_docbook.C (makeEnvironment): replace reference to CDATA
1879 2004-10-30 José Matos <jamatos@lyx.org>
1881 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1883 2004-10-30 José Matos <jamatos@lyx.org>
1885 * output_docbook.C (makeParagraphs):
1886 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1887 standard paragraph has only a given type of content drop the wrapper.
1889 2004-10-29 José Matos <jamatos@lyx.org>
1891 * output_docbook.C (makeEnvironment):
1893 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1895 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1897 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1898 (cleanID): sanitize any id.
1900 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1902 * buffer.C, lyxlex_pimpl.C:
1903 * lyxlex_pimpl.C (setFile):
1904 s/getExtFromContents/getFormatFromContents/
1906 2004-10-28 José Matos <jamatos@lyx.org>
1908 * output_docbook.C (makeEnvironment): move id to broadest possible
1911 * sgml.C (openTag): apply substitution of <> for all attributes.
1913 2004-10-28 José Matos <jamatos@lyx.org>
1915 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1916 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1917 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1919 * sgml.[Ch]: new version for open and closeTag for paragraph and
1920 for strings. Now they handle the ids of paragraphs.
1922 2004-10-26 Angus Leeming <leeming@lyx.org>
1924 * Makefile.am: add mover.[Ch].
1926 * converter.C (convert, move): use the new Movers to move external
1927 files to the temp directory.
1929 * lyx_main.C (init): ensure that the global system_movers data
1932 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1935 * mover.[Ch]: new files, defining a Mover as a utility to move an
1936 external file between directories and, if necessary, manipulate this
1937 file using a helper script.
1939 2004-10-25 José Matos <jamatos@lyx.org>
1941 * output_docbook.C (makeCommand): merge two if's that tested the
1944 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1946 * sgml.C (escapeString): fix warning in a better way
1948 2004-10-25 José Matos <jamatos@lyx.org>
1950 * sgml.C (escapeString): import the require boosts header file for
1951 tie, and avoid a signed unsigned comparison.
1953 2004-10-25 José Matos <jamatos@lyx.org>
1955 * sgml.h: add #include <string>
1957 2004-10-25 José Matos <jamatos@lyx.org>
1959 * sgml.[Ch] (escapeString): new function to escape all the string.
1961 2004-10-24 José Matos <jamatos@lyx.org>
1963 * paragraph.[Ch] (getFirstWord): new function to get the first
1964 word. Useful for description.
1965 (simpleDocBookOnePar): remove depth argument, add another that
1966 says where to start the paragraph.
1968 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1969 use the new functions to fix cleanly the support for descriptions.
1971 2004-10-24 José Matos <jamatos@lyx.org>
1973 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1974 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1975 * output_linuxdoc.C (linuxdocParagraphs):
1976 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1977 add buffer as argument.
1979 2004-10-24 José Matos <jamatos@lyx.org>
1981 * output_docbook.C (makeEnvironment, searchEnvironment): place
1982 CDATA inside paragraphs and fix scope for listitems.
1984 2004-10-24 José Matos <jamatos@lyx.org>
1986 * output_docbook.C: remove using statement for stack.
1988 2004-10-23 José Matos <jamatos@lyx.org>
1990 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1991 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1992 docbook. The new scheme is recursive and makes use of iterators, the
1993 same as latex export works.
1994 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1995 directly with the paragraph contents. This code was moved up to
1996 output_docbook.C (docbookParagraphs).
1997 * sgml.C (openTag, closeTag): removed unneeded newlines.
1998 (closeEnvTags) removed.
2000 2004-10-23 André Pönitz <poenitz@gmx.net>
2002 * undo.C (textUndoOrRedo):
2003 * dociterator.C (asDocIterator): work around crash
2005 * cursor.C (getStatus): replace ASSERT by more verbose error message
2006 and manual correction of the problem. Should increase stability
2007 while providing more sensible information.
2009 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2011 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2013 * bufferlist.C (previous, next): new methods
2016 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2018 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2020 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2021 entities to preamble.
2023 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2025 * messages.C (Pimpl): strip off translation context information
2027 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2029 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2030 the cursor is correct (bug 1694)
2032 2004-10-13 José Matos <jamatos@lyx.org>
2034 * output_docbook.C (docbookParagraphs): fix closing tags in the
2035 end of the document.
2037 2004-10-09 José Matos <jamatos@lyx.org>
2039 * buffer.C: format up to 237.
2040 * bufferparams.C (write): use tostr to convert booleans to strings.
2042 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2044 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2046 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2048 * LaTeX.C: implement use of babel language in xindy.
2050 2004-10-05 José Matos <jamatos@lyx.org>
2052 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2053 Add new translators to help reading and writing the lyx file.
2055 2004-10-05 José Matos <jamatos@lyx.org>
2057 * ParagraphParameters.C (read):
2058 * text.C (readParToken): replace nexToken by more appropriate lex
2061 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2063 * LaTeX.C (runMakeIndex):
2064 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2065 (usually 'makeindex') configurable.
2067 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2068 with a variable rather than with a number.
2070 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2072 * output_latex.C (TeXOnePar): make sure font setting is the first
2073 thing that gets output (and the last at the end). Should fix bug
2076 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2078 * pch.h: use proper signal include
2080 * LaTeX.h: Use preferred calling of Boost.Signal
2083 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2085 * pch.h: dont include <boost/function/function0.hpp>
2087 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2089 * paragraph_pimpl.h: remove usage of ShareContainer
2091 * paragraph_pimpl.C: remove initialization of ShareContainer.
2093 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2097 * BufferView.C (putSelectionAt): change the semantics when
2098 backwards == true: now, this just swaps cursor and anchor wrt the
2101 * BufferView.h (putSelectionAt): add some documentation
2103 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2104 make sure backwardChar is done at least once (to avoid getting
2106 (findNextChange): use putSelectionAt in the forward direction
2107 (operator()): use Paragraph::isWord
2109 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2111 * Spacing.C (set): c_str fix
2113 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2115 * lyx_cb.C (Reconfigure): quote the name of configure script in
2116 case it contains spaces
2118 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2122 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2123 (BOOST_LIBS): use top_buildir when looking for the file
2125 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2127 * pch.h: do not use include boost/format.hpp, multiple symbols
2128 will result (gcc bug)
2131 2004-08-23 José Matos <jamatos@lyx.org>
2133 * bufferparams.C (readToken): fix reading of the author field.
2135 2004-08-20 José Matos <jamatos@lyx.org>
2137 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2139 2004-08-20 José Matos <jamatos@lyx.org>
2141 * lyxlex.[Ch] (findToken): remove function.
2143 * ParagraphParameters.C (findToken):
2144 * bufferparams.C (findToken): replace call for previous function
2145 with local copy. This local function has one more argument, the
2146 read string argument.
2148 2004-08-16 José Matos <jamatos@lyx.org>
2150 * ParagraphParameters.C (write):
2151 * Spacing.C (writeFile):
2152 * bufferparams.C (writeLaTeX):
2153 * lyx_cb.C (Reconfigure):
2154 * paragraph.C (write):
2155 * tabular.C (write): remove unnecessary space at end of line.
2158 2004-08-16 José Matos <jamatos@lyx.org>
2160 * text.C (readParagraph): remove debug message.
2162 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2164 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2167 * output_plaintext.C (asciiParagraph): set depth correctly
2169 * outputparams.h: add member depth
2171 * paragraph_funcs.C (ownerPar): remove.
2173 * text2.C (setCounter): remove first_pit; comment out some
2174 non-working code that uses ownerPar
2176 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2179 2004-08-16 José Matos <jamatos@lyx.org>
2181 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2182 For the same level of importance use the same chanel to report problems.
2183 (read): add code to deal with \begin_body and \end_body.
2186 2004-08-15 José Matos <jamatos@lyx.org>
2188 * lyxlex.C (getString): fix comment, buffer::readBody is now
2189 buffer:readDocument.
2191 * tex-strings.C (string_papersize): Default -> default,
2192 Custom -> custom, for consistency with other options.
2194 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2198 * Makefile.am: support pch
2200 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2202 * text.C (readParToken): remove the static LyXFont variable and
2203 pass it as a parameter instead. This fixes a nasty bug where an
2204 inset will be inserted with a bad font in some situations
2205 (readParagraph): adapt
2207 * text2.C (setCounter): reduce number of calls to pars_[pit]
2209 * text.C (singleWidth): add an assert, fix a test
2211 * rowpainter.C (paintText): reduce number of calls to singleWidth
2213 * paragraph.C (isHfill):
2214 (isNewline): ws only
2216 2004-08-14 André Pönitz <poenitz@gmx.net>
2221 * lyxtext.h (several functions): use a Paragraph & argument
2224 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2226 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2228 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2230 * text.C (singleWidth): remove useless test
2232 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2234 * tabular.h: remove bogus comments
2236 * tabular.C (getDescentOfRow):
2237 (isPartOfMultiColumn): add assertions
2239 * lyxlength.C (inPixels): remove #warning
2241 2004-08-14 André Pönitz <poenitz@gmx.net>
2243 * paragraph.h: inline getChar()
2245 * BufferView.h: remove unused declarations
2247 2004-08-14 José Matos <jamatos@lyx.org>
2249 * Buffer.[Ch] (readDocument): new name for old readBody.
2250 * Buffer.C: new file format, new keywords: \begin_document,
2251 \begin_header, \begin_body, \end_body.
2253 * bufferparams.C (readToken): replace all calls to lex.nextToken
2254 by lex.next(). Do the same to eatLine except where really needed.
2256 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2257 line when writing to the lyx file.
2259 * output_plaintext.C (asciiParagraph): fix Bibliography style
2262 * text.C (read): fix end of file handling.
2264 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2266 * MenuBackend.C (Menu::operator[]): new method to access
2267 individual menu items
2268 (Menu::hasFunc): new method. search for an item that corresponds
2270 (MenuBackend::specialMenu): new method
2271 (MenuBackend::expand): if a special menu has been set, skip
2272 entries whose func() appears in this menu
2274 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2276 * text3.C: use Debug::DEBUG a bit more
2278 * text.C (leftMargin): try to simplify a tiny bit change var x to
2279 l_margin. Dont output the wide margins always.
2280 (rightMargin): no margin in inner texts
2282 * rowpainter.h (nestMargin): new func
2283 (changebarMargin): new func
2284 (rightMargin): new func
2286 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2290 * factory.C (createInset): modify setDrawFrame
2292 * cursor.C: use Debug::DEBUG a bit more
2294 2004-08-14 André Pönitz <poenitz@gmx.net>
2297 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2298 cache for all insets in (at least partially) visible (top-level)
2301 * BufferView_pimpl.C: reset external coord cache before every update.
2302 This means the coord cache only contains valid entries.
2304 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2307 * BufferView_pimpl.C (getInsetByCode): move function out of class
2308 and change in to a template in anon namespace. Also fix to do what
2311 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2314 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2316 (breakParagraph): rename par to par_offset and use a local
2317 reference. Add code to keep the language over a rebreak.
2318 (breakParagraphConservative): rename par to par_offset, use a
2320 (mergeParagraph): ditto
2322 (isFirstInSequence): ditto
2323 (outerFont): rename pit to par_offset
2325 * paragraph.C: ws change
2326 * paragraph.h: ditto
2330 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2332 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2335 * paragraph.C (simpleTeXOnePar): when we have a \item with
2336 optional argument, enclose the argument with curly brackets (in
2337 case it contains a closing square bracket)
2341 * text3.C (checkInsetHit): constify
2343 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2345 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2346 documents (bug 1629)
2348 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2350 Fix toggling of collapsable insets with the mouse (bug 1558)
2352 * lyxfunc.C (dispatch): adapt to LCursor changes
2354 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2355 make sure that dispatch is not invoked twice
2357 * cursor.C (needsUpdate): new method
2358 (dispatch): return void
2359 (result): new method, to access the DispatchResult of the cursor.
2361 2004-08-13 José Matos <jamatos@lyx.org>
2363 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2365 2004-08-13 André Pönitz <poenitz@gmx.net>
2367 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2369 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2372 2004-08-12 André Pönitz <poenitz@gmx.net>
2374 * text3.C: take out the 'cursor right' form insertInset and only
2375 do it in those places when it is really needed. Fixes crash on
2378 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2380 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2382 * BufferView_pimpl.C (setBuffer): initialize the current font of
2383 the underlying LyXText
2385 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2387 * kbsequence.C (print): use UI native formatting for menu
2390 * text.C (insertChar): call Paragraph::insertChar with a font
2393 * paragraph.C (insertInset, insertChar): the version that takes a
2394 LyXFont argument is now a wrapper around the other one (the
2395 opposite used to be true).
2397 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2398 argument. Font setting is done in Paragraph now.
2400 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2402 * outputparams.h: add new members intitle and lang.
2404 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2405 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2407 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2409 * text3.C (dispatch): remove special handling of button 4 and 5,
2410 it is now taken care of in the frontend code.
2412 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2414 * Spacing.h: add <string> (STLPort compile fix)
2416 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2418 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2420 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2422 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2425 * converter.C (showMessage): inherit from unary_function, make
2428 * buffer.C (writeFile): initialize retval
2430 * InsetList.h: rename private variable list to list_
2431 * InsetList.[Ch]: adjust accordingly.
2433 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2435 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2436 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2437 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2438 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2439 * ParagraphParameters.C, LaTeXFeatures.C: replace
2440 "support/std_sstream.h" with <sstream>
2442 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2444 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2445 * lyxsocket.C (LyXServerSocket): ditto
2446 (serverCallback): ditto
2448 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2450 * LaTeXFeatures.C: check release date when loading jurabib.
2452 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2454 * lyxserver.C (startPipe): call register_socket_callback
2455 (endPipe): call unregister_socket_callback
2457 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2459 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2460 (LyXServerSocket): register the callback
2461 (LyXServerSocket): unregister the callback
2462 (fd): delete function
2463 (serverCallback): improve error checking and setup the callbacks.
2464 (dataCallback): change arg to fd.
2465 (writeln): new func (copied fro the client socket) used for server
2467 (LyXDataSocket): simplify
2468 (~LyXDataSocket): close ann unregiser callback
2469 (server): delete function
2470 (fd): delete function
2471 (readln): small changes, improve some std::string usage
2472 (writeln): constify a bit
2474 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2476 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2479 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2481 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2482 after it has been populated
2484 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2486 * text2.C (insertInset): move cursor when inserting inset.
2488 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2490 * kbmap.C (findbindings): a couple of new methods. returns a
2491 container of kb_sequence objects. The real work is done by the
2492 private recursive version
2493 (printbindings): uses findbindings to print out a bracketed list
2494 of bindings (renamed from findbinding).
2496 * MenuBackend.C (binding): use kb_keymap::findbindings
2498 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2500 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2502 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2504 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2506 * paragraph.C (isWord): return true on insets that report
2509 * text.C (getWord): use Paragraph::isWord to decide what is in a
2510 word and what is not; fix bug 1609.
2512 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2514 * tex-strings.C: add "none" to string_paperpackages[], fixes
2515 off-by-one-error in the paperpackage selection.
2518 * tex-strings.[Ch]: char const * string[n]
2519 -> char const * const string[]
2521 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2523 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2524 command, return early.
2526 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2528 * debug.h: add DEBUG to enum and fix size of ANY.
2530 * debug.C: add support for Debug::DEBUG
2531 (showTags): cast errorTags.level to unsigned int
2533 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2534 (redoCurrentBuffer): ditto
2535 (updateScrollbar): ditto
2536 * cursor.C (dispatch): ditto
2537 * text2.C (setLayout): ditto
2539 (updateCounters): ditto
2541 (deleteEmptyParagraphMechanism): ditto
2543 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2545 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2546 annotations to cleanup the Makefile slightly.
2548 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2550 * lyxrc.C: do not set user_email to a default value but use empty
2551 instead. The entry used to be translated, which does not work
2552 since at the point where lyxrc is constructed there is no
2553 translation service available
2555 * messages.C (getLocaleDir): remove and use directly
2556 lyx_localedir() instead
2558 2004-06-02 Angus Leeming <leeming@lyx.org>
2560 Fix crash caused by dereferencing null pointer 'exportdata' in
2561 OutputParams by creating a new ExportData variable on the heap,
2562 storing it in a boost::shared_ptr.
2563 The crash was triggered when generating an Instant Preview
2564 of an external inset.
2566 * Makefile.am: add outputparams.C
2568 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2569 (c-tor): allocate memory to it.
2571 * exporter.C (c-tor): associated changes.
2573 2004-06-01 Angus Leeming <leeming@lyx.org>
2575 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2576 contains data before calling isInset(0). (Bug 1513.)
2578 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2580 * exporter.C (checkOverwrite): new method
2581 * exporter.C (copyFile): new method
2582 * exporter.C (Export): copy referenced files to the document dir
2583 * exporter.[Ch]: new class ExportedFile
2584 * exporter.[Ch]: new class ExportData. Contains currently the
2585 names of referenced external files
2586 * outputparams.h: add exportdata member.
2588 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2590 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2593 2004-05-19 Angus Leeming <leeming@lyx.org>
2598 * lyxfunc.C: small changes due to the introduction of namespace
2599 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2601 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2603 * text3.C (dispatch): supress update when only moving the cursor
2604 * cursor.C (selHandle): remove commented code
2606 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2608 * paragraph.C (startTeXParParams): correct column count
2609 * CutAndPaste.C (pasteSelection): remove const_cast
2610 * output_docbook.C (docbookParagraphs): remove const_cast
2611 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2612 const_cast and return ParagraphList::const_iterator
2613 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2614 * output_plaintext.C (writeFileAscii): remove const_cast
2615 * paragraph.[Ch] (simpleTeXOnePar): make const
2616 * paragraph_funcs.C (outerPar): use const iterators
2617 * paragraph_pimpl.C (validate): use const iterators
2618 * text.C (setHeightOfRow): use const iterators
2620 2004-05-17 Angus Leeming <leeming@lyx.org>
2623 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2625 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2626 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2627 if the citation engine has changed.
2629 2004-05-14 José Matos <jamatos@lyx.org>
2631 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2632 if the textclass does not provide it. Have it different for sgml and
2634 support the language of document.
2635 * output_docbook.C (docbookParagraphs):
2636 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2637 first anchor as the id of the paragraph, remove special case code.
2638 * sgml.C (escapeChar): escape only < & >.
2640 2004-05-14 Angus Leeming <leeming@lyx.org>
2642 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2643 dependencies on src/frontends/controllers/biblio.h. Define a
2644 CiteEngine_enum wrapper class to enable the enum to be forward
2647 2004-05-12 Angus Leeming <leeming@lyx.org>
2649 * buffer.C: up LYX_FORMAT to 234.
2650 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2651 use_numerical_citations with a single biblio::CiteEngine cite_engine
2653 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2655 2004-05-13 José Matos <jamatos@lyx.org>
2658 * converter.C (Converter, readFlags): add xml member.
2659 * outputparams.h: add XML flavor.
2660 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2662 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2664 * lyxfunc.C (dispatch):
2665 (getStatus): fix handling of LFUN_SEQUENCE
2667 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2669 * debug.C (showLevel): do not forget the end-of-line marker
2671 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2673 * kbmap.C (read): do not stop parsing a bind file when an error
2676 2004-04-29 Angus Leeming <leeming@lyx.org>
2681 * text2.C: wrap a bunch of #warning statements
2682 inside #ifdef WITH_WARNINGS blocks.
2684 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2686 * buffer.C: increment format to 233.
2688 2004-04-28 Angus Leeming <leeming@lyx.org>
2690 * BufferView_pimpl.C:
2693 s/updateToolbar()/updateToolbars()/
2694 s/Toolbar.h/Toolbars.h/
2696 2004-04-28 Angus Leeming <leeming@lyx.org>
2698 * BufferView.[Ch] (c-tor):
2699 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2700 No longer passes these data to the WorkArea generator.
2702 2004-04-28 Angus Leeming <leeming@lyx.org>
2704 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2706 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2708 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2710 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2712 * output_latex.C (TeXEnvironment): make sure that there is a line
2713 break before \end{foo} for the last paragraph of a document
2714 (TeXOnePar): if the paragraph is at the end of the document (or
2715 inset) and the language has to be reset, then make sure that the
2716 line break is _before_ the language command, not after (fixes bug
2717 1225); also make sure that the language reset command is the first
2718 thing after the paragraph (to ensure proper nesting of
2719 environments and thus fix bug 1404)
2721 2004-04-21 John Levon <levon@movementarian.org>
2724 * ToolbarBackend.C: make "name" be a programmatic name
2725 and a gui_name field.
2727 * lyxfunc.C: display the minibuffer on M-x
2729 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2731 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2734 2004-04-19 Angus Leeming <leeming@lyx.org>
2736 * BufferView_pimpl.C (setBuffer): changed preview interface.
2738 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2741 2004-04-19 John Levon <levon@movementarian.org>
2743 * BufferView_pimpl.C:
2744 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2746 2004-04-05 Angus Leeming <leeming@lyx.org>
2748 * text.C (redoParagraphs): add call to updateCounters(), thereby
2749 fixing the missing "Figure #:" label from the caption of a
2752 2004-04-13 Angus Leeming <leeming@lyx.org>
2754 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2755 cursor is clicked out of an inset.
2757 2004-04-13 Angus Leeming <leeming@lyx.org>
2759 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2760 than an InsetOld one.
2762 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2764 * format.[Ch]: add editor to Format
2765 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2766 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2768 2004-04-08 André Pönitz <poenitz@gmx.net>
2770 * metricsinfo.h: remove PainterInfo::width member
2772 2004-04-08 Angus Leeming <leeming@lyx.org>
2774 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2775 "\providecommand" rather than "\newcommand", thereby preventing
2776 clashes with packages that define "\boldsymbol" themselves.
2779 2004-04-08 Angus Leeming <leeming@lyx.org>
2781 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2782 thereby squashing an unnecessary warning.
2784 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2786 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2789 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2791 * BufferView.C (setCursor): call redoParagraph (some insets could
2793 (putSelectionAt): remove the 'double update' trick
2795 * BufferView_pimpl.C (fitCursor): call refreshPar
2796 (workAreaDispatch): remove an uneeded update call
2797 (dispatch): remove some manual update calls
2799 * cursor.[Ch]: remove cached_y_, updatePos
2800 (selHandle): set noUpdate when appropriate
2802 * lyxfunc.C (dispatch): track if we need an update
2804 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2806 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2807 (paintSelection): cheap optimization, do not call cursorX when not
2809 (paintPars): change signature
2812 (paintTextInset): adjust
2816 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2818 * lengthcommon.C: compilation fix: remove explicit array size from
2819 unit_name[] and friends
2821 2004-04-05 Angus Leeming <leeming@lyx.org>
2823 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2825 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2826 present only for the preferences dialog.
2827 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2829 2004-04-05 Angus Leeming <leeming@lyx.org>
2831 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2832 to enable the frontends to export changes to lyxrc correctly.
2834 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2836 2004-04-07 André Pönitz <poenitz@gmx.net>
2838 * cursor.[Ch] (selClear, adjust): remove math
2840 * cursor_slice.C: more agressive assert
2843 * BufferView_pimpl.C: rework mouse event dispatch
2850 2004-04-05 André Pönitz <poenitz@gmx.net>
2852 * cursor.[Ch] (valign, halign...): remove unneeded functions
2854 2004-04-05 Angus Leeming <leeming@lyx.org>
2856 * lyxlength.[Ch] (unit_name et al.): const-correct.
2858 2004-04-05 Angus Leeming <leeming@lyx.org>
2860 * BufferView_pimpl.C:
2869 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2871 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2873 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2875 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2877 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2878 * BufferView_pimpl.[Ch] (getStatus)
2879 * BufferView.[Ch] (getStatus): add
2880 * lyxfunc.C (getStatus): move lfuns handled in
2881 BufferView::dispatch to te function above
2882 * Cursor.C (setSelection): set selection() = true
2884 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2886 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2888 2004-03-31 Angus Leeming <leeming@lyx.org>
2890 * lyxfunc.C (dispatch): Fall through to the generic
2891 Dialogs::show("preamble").
2893 2004-03-31 Angus Leeming <leeming@lyx.org>
2895 * lyxfunc.C (dispatch): Fall through to the generic
2896 Dialogs::show("spellchecker").
2898 2004-03-31 Angus Leeming <leeming@lyx.org>
2900 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2903 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2908 * insetiterator.[Ch]:
2913 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2915 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2917 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2918 insets where we are putting the cursor.
2920 2004-03-31 Angus Leeming <leeming@lyx.org>
2923 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2925 * lyxrc.[Ch] (read, write): overloaded member functions taking
2926 a std::[io]stream arguments.
2928 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2930 2004-03-31 Angus Leeming <leeming@lyx.org>
2932 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2933 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2935 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2936 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2938 2004-03-31 Angus Leeming <leeming@lyx.org>
2940 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2941 the LFUN_ALL_INSETS_TOGGLE code.
2943 2004-03-30 Angus Leeming <leeming@lyx.org>
2945 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2946 has died. Fall through to the generic Dialogs::show("document").
2948 2004-03-30 Angus Leeming <leeming@lyx.org>
2951 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2952 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2954 * lyxfunc.C (getStatus, dispatch): define the actions for these
2955 lfuns. Little more than a cut and pste job from ControlDocument.C
2957 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2959 2004-03-30 Angus Leeming <leeming@lyx.org>
2962 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2963 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2965 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2966 open/closed state of ollapsable insets. Usage:
2968 all-inset-toggle <state> <name>, where
2969 <state> == "open" || "closed" || "toggle" and
2970 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2972 * lyxtext.h, text2.C (toggleInset): removed.
2974 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2975 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2976 now passes LFUN_INSET_TOGGLE to the found inset.
2978 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2979 is now invoked as "all-insets-toggle toggle branch".
2981 2004-03-30 Angus Leeming <leeming@lyx.org>
2985 * pariterator.[Ch]: added/corrected header blurb.
2987 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2989 * dociterator.[Ch]: add an inset_ member
2990 (backwardPos): implemented
2991 (backwardPos, forwardPos): use inset_ when the stack is empty.
2992 (doc_iterator_begin, doc_iterator_end): implemented
2993 * pariterator.[Ch]: adjust, add begin, end
2994 * insetiterator.[Ch]: adjust, add begin, end
2998 * BufferView_pimpl.C:
2999 * CutAndPaste.C: adjust
3001 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3003 * buffer.C: increment file format to 232.
3004 * LaTeXFeatures.C: add bibtopic package.
3005 * bufferparams.[Ch]: param \use_bibtopic.
3007 * lyxrc.[Ch]: add lyxrc bibtex_command
3008 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3010 * buffer.C: increment file format to 231.
3012 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3014 * dociterator.C: implement forwardPar
3015 * iterators.[Ch]: remove, replaced by
3016 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3018 * BufferView_pimpl.C:
3021 * bufferview_funcs.C:
3027 * Makefile.am: adjust
3029 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3031 * CutAndPaste.C (pasteSelection): fix 2 crashes
3032 (eraseSelection): fix a crash
3033 * paragraph_funcs.C: remove a warning
3035 2004-03-28 Angus Leeming <leeming@lyx.org>
3038 * LyXAction.C (init): new LFUN_PRINT.
3040 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3042 2004-03-27 Angus Leeming <leeming@lyx.org>
3045 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3047 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3049 2004-03-27 Angus Leeming <leeming@lyx.org>
3051 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3052 insetlist always contains non-null pointers to insets.
3054 2004-03-26 Angus Leeming <leeming@lyx.org>
3056 * src/BufferView_pimpl.C:
3057 * src/CutAndPaste.C:
3060 * src/output_plaintext.C:
3061 * src/outputparams.h:
3062 * src/paragraph_funcs.C:
3066 * src/frontends/controllers/ControlErrorList.C:
3067 * src/frontends/gtk/FileDialogPrivate.C:
3068 * src/frontends/gtk/GPainter.C:
3069 * src/frontends/gtk/GToolbar.C:
3070 * src/frontends/qt2/QRef.C:
3071 * src/mathed/math_scriptinset.C: squash compiler warnings.
3073 2004-03-26 Angus Leeming <leeming@lyx.org>
3075 * ispell.C (LaunchIspell::start):
3076 * lyx_cb.C (AutoSaveBuffer::start):
3077 invoke run(DontWait) rather than runNonBlocking().
3079 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3081 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3083 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3085 * kbsequence.C (print): adjust
3087 * kbmap.C (printKeySym): rename and change signature
3088 (printKey): use LyXKeySym::print()
3090 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3092 * undo.C: add using std::advance to compile for stlport
3094 2004-03-24 Angus Leeming <leeming@lyx.org>
3096 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3097 it leads to a crash when no buffer is present.
3099 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3100 Martin Vermeer <martin.vermeer@hut.fi>
3102 * lyxfunc.C (dispatch):
3103 * bufferparams.C (readToken): use the new LColor::setColor
3105 * LColor.[Ch] (setColor): new version that takes two strings as
3106 argument and creates a new color entry if necessary
3108 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3110 * buffer.C (makeLaTeXFile): if the main latex file that is
3111 processed is usually a subdocument of some master, then pretend
3112 for a while that it is actually the master
3114 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3116 * buffer.C (getLabelList):
3117 (getBibkeyList): use getMasterBuffer()
3118 (getMasterBuffer): new method. Returns the main document in the
3119 case where one is using included documents.
3121 2004-03-25 André Pönitz <poenitz@gmx.net>
3125 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3127 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3129 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3130 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3132 * ParameterStruct.h: merge with ParagraphParameters
3134 * lyxtext.h: remove LyXText::parOffset() and getPar()
3136 * text3.C: Remove all 'manual' update calls. We do now one per user
3137 interaction which is completely sufficient.
3141 * BufferView_pimpl.C:
3142 * FontIterator.[Ch]:
3144 * ParagraphParameters.[Ch]:
3149 * cursor_slice.[Ch]:
3156 * output_docbook.[Ch]:
3157 * output_latex.[Ch]:
3158 * output_linuxdoc.[Ch]:
3159 * output_plaintext.[Ch]:
3161 * paragraph_funcs.[Ch]:
3162 * paragraph_pimpl.[Ch]:
3170 * frontends/controllers/ControlDocument.C:
3171 * frontends/controllers/ControlErrorList.C:
3172 * frontends/controllers/ControlSpellchecker.C:
3175 * insets/insetbase.h:
3176 * insets/insetbibitem.C:
3177 * insets/insetbox.C:
3178 * insets/insetbranch.C:
3179 * insets/insetcaption.C:
3180 * insets/insetcharstyle.C:
3181 * insets/insetcharstyle.h:
3182 * insets/insetcollapsable.C:
3183 * insets/insetcollapsable.h:
3184 * insets/insetert.C:
3185 * insets/insetfloat.C:
3186 * insets/insetfoot.C:
3187 * insets/insetmarginal.C:
3188 * insets/insetnote.C:
3189 * insets/insetoptarg.C:
3190 * insets/insettabular.C:
3191 * insets/insettext.C:
3192 * insets/insettext.h:
3193 * insets/insetwrap.C:
3194 * mathed/math_mboxinset.C:
3195 * mathed/math_nestinset.C:
3196 * mathed/math_scriptinset.C:
3197 * mathed/math_scriptinset.h:
3200 2004-03-24 Angus Leeming <leeming@lyx.org>
3202 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3203 deal with any child processes that have finished but are waiting to
3204 communicate this fact to the rest of LyX.
3206 2004-03-24 Angus Leeming <leeming@lyx.org>
3208 64-bit compile fixes.
3210 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3211 (c-tor): pass lyx::pos_types rather than ints.
3213 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3216 * text.C (Delete): compile fix.
3217 (getPar): ensure that function declaration is the same as that in
3220 2004-03-23 Angus Leeming <leeming@lyx.org>
3222 * ispell.C (LaunchIspell):
3223 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3224 a boost::shred_ptr rather than a std::auto_ptr.
3226 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3228 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3229 handle LFUN_FILE_INSERT_*
3231 * lyxrc.C (setDefaults, getDescription, output, read):
3232 * lyxrc.h: remove ps_command
3234 2004-03-22 Angus Leeming <leeming@lyx.org>
3236 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3237 Ensure that error_handler is processed once only and that all data
3238 is saved before attempting to output any warning messages.
3240 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3242 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3244 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3246 2004-03-19 André Pönitz <poenitz@gmx.net>
3248 * cursor.[Ch] (reset): take main text inset as argument
3250 * BufferView: adjust
3251 * BufferView_pimpl.C: adjust
3253 * paragraph.[Ch]: fix completely broken operator=()
3255 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3257 * LColor.C (getFromLyXName): make sure that the color name is used
3260 2004-03-17 Angus Leeming <leeming@lyx.org>
3263 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3265 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3266 dialog and to kill a forked process.
3268 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3270 * text2.C (setCursorFromCoordinates): fix font problem
3272 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3274 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3275 bogus "rebuild cursor" code
3277 2004-03-11 André Pönitz <poenitz@gmx.net>
3279 * buffer.[Ch]: use InsetText instead of LyXText as container for
3282 * dociterator.[Ch]: drop the BufferView * member which is not needed
3283 anymore after the change to buffer.C
3285 * paragraph_funcs.C:
3289 * BufferView_pimpl.[Ch]:
3291 * cursor_slice.[Ch]: adjust
3293 * text3.C: fix bug in mathDispatch
3295 2004-03-08 André Pönitz <poenitz@gmx.net>
3297 * undo.[Ch]: use 'StableDocumentIterator' as base for
3300 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3303 * bufferparams.[Ch]: add jurabib support and param.
3305 * LaTeX.C: add FIXME/comment.
3307 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3309 * buffer.C: increment file format to 230.
3311 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3313 * cursor.C (dispatch): avoid infinite loops
3315 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3317 * rowpainter.C (paintSelection): fix x coordinates
3319 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3321 * text.C (rowBreakPoint): fix breaking before displayed insets
3323 2004-03-01 André Pönitz <poenitz@gmx.net>
3325 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3327 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3331 * BufferView_pimpl.C:
3339 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3345 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3346 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3348 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3350 * Bidi.[Ch] (computeTables): const correctness
3351 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3352 fill_hfill, fill_label_hfill and x from Row
3353 * lyxtext.h: prepareToPrint returns a RowMetrics
3354 * rowPainter.C: adjust
3355 * text.C (prepareToPrint): use width, not textWidth. adjust
3356 (redoParagraphInternal, cursorX): adjust
3357 * text2.C (getColumnNearX): adjust
3358 (init): put a default value to the top LyXText::width
3360 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3362 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3364 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3366 * lyxtext.h: add FontIterator class
3368 * text.C (FontIterator, operator*, operator->, operator++): add
3369 (rowBreakPoint, setRowWidth): adjust (fixing a
3372 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3374 * BufferView_pimpl.C (workAreaDispatch): allow also
3375 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3377 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3379 * text.C (rowBreakPoint): fix a bug showing with very large insets
3381 2004-02-25 André Pönitz <poenitz@gmx.net>
3384 * cursor.[Ch]: move some mathed specific code to mathed
3386 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3388 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3389 use_tempdir in preferences
3390 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3392 * lyx_main.C: ensure that tempdir is valid
3393 * lyxlex.h: correct typo
3394 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3395 * paragraph.[Ch] (isMultiLingual): make const
3396 * cursor.[Ch] (openable): make const
3398 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3400 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3402 2004-02-20 André Pönitz <poenitz@gmx.net>
3404 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3406 * cursor.[Ch]: prepare for localized getStatus()
3412 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3414 2004-02-20 André Pönitz <poenitz@gmx.net>
3416 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3418 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3420 * text2.C (setCursorFromCoordinates): switch to absolute coords
3422 (cursorDown): adjust
3423 * text3.C (dispatch): adjust
3425 2004-02-16 André Pönitz <poenitz@gmx.net>
3427 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3430 * cursor_slice.[Ch]: remove unneeded acessor function
3432 * lyxtext.h: rename rtl() to isRTL()
3440 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3442 * rowpainter.C (paintSelection): coord fix
3444 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3446 * Spacing.C: compile fix
3448 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3450 * cursor.C (dispatch): restore current_ before returning
3452 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3454 * text2.C (cursorUp, cursorDown): fix coords
3457 2004-02-12 André Pönitz <poenitz@gmx.net>
3462 * text3.C: add LCursor & parameter to most cursor movement functions
3463 remove usage of LyXText::cursorRow() and cursorPar()
3465 * cursor.[Ch]: add textRow() needed members
3468 * BufferView_pimpl.C:
3471 * BufferView_pimpl.C: adjust
3473 2004-02-11 André Pönitz <poenitz@gmx.net>
3477 * BufferView_pimpl.C: shift undo/redo handling
3479 * cursor.[Ch]: fix mathed crash
3482 * lyxtext.h: move selectionAsText to LCursor
3490 * rowpainter.C: fix excessive drawing
3492 2004-02-06 André Pönitz <poenitz@gmx.net>
3495 * BufferView_pimpl.[Ch]:
3496 * text3.C: move some text specific LFUN handling
3498 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3500 * text3.C (checkInsetHit): adjust coords
3501 * text2.C (getColumnNearX): adjust coords
3502 (edit): adjust coords
3503 * text.C (getRowNearY): add two asserts
3505 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3508 * format.C: add using std::distance to compile on gcc 2.95/stlport
3510 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3512 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3514 2004-02-04 André Pönitz <poenitz@gmx.net>
3516 * BufferView.[Ch] (insertInset):
3517 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3522 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3524 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3525 on the default clause of the switch
3526 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3527 wasn't catched by LCursor::dispatch
3529 2004-02-03 André Pönitz <poenitz@gmx.net>
3532 * cursor.[Ch]: some additional asserts
3534 * undo.[Ch]: remove LyXText dependency in interface
3538 * lyxtext.h (firstPar, lastPar): remove dead functions
3543 * paragraph.[Ch]: adjust
3545 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3547 * lyxfind.C (find): fix argument order in call to ::find
3549 2004-02-02 André Pönitz <poenitz@gmx.net>
3551 * cursor.[Ch]: remove direct access to anchor
3553 * text.C: remove findText() hack
3555 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3557 * iterators.[Ch] (lockPath): remove in favour of...
3558 * BufferView.[Ch] (setCursor): this addition
3559 * BufferView.C (putSelectionAt): adjust
3560 * undo.C (performUndoOrRedo): adjust
3561 * lyxfunc.C (dispatch): adjust
3563 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3565 * iterators.C (lockPath): add a missing slice
3566 * undo.C (performUndoOrRedo): remove redundant positioning code
3568 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3570 * vc-backend.C (scanMaster): ";" -> ';'
3572 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3574 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3575 std::binary_function
3577 * lyxtextclass.C (compare_name): rename to...
3578 (LayoutNamesEqual): ...this
3580 * lyxlex_pimpl.C (compare_tags): inherit from
3581 std::binary_function, put back into anon namespace
3583 * lyxfind.C (MatchString): inherig from std::binary_function
3584 (findChange): use empty() istead of !size()
3586 * format.C (FormatNamesEqual): new functor
3593 * converter.C (compare_Converter): rename to...
3594 (ConverterEqual): ...this, and fixup a bit.
3595 (getConverter): use it, and make function const
3596 (getNumber): use it, and make function const
3600 * bufferlist.C: add using boost::bind
3602 * MenuBackend.C (MenuNamesEqual): new functor
3603 (hasMenu): use it, and make function const
3604 (hasSubmenu): use nested bind to get rid of compare_memfun.
3606 2004-01-30 André Pönitz <poenitz@gmx.net>
3608 * BufferView_pimpl.C:
3611 * cursor_slice.[Ch]:
3614 * paragraph_funcs.C:
3615 * paragraph_funcs.h:
3619 * text3.C: move some of the edit(x,y) handling to the insets
3620 some coordinate changes.
3622 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3624 * text.C: add using statements for std::advance and std::distance
3626 * paragraph.C: add using statement for std::distance
3628 * lyxfind.C: add using statement for std::advance
3630 * cursor.C (region): remove std:: from swap
3631 (openable): use nucleus in stead of operator->
3633 * BufferView.C: add using statements for std::distance and std::swap
3635 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3637 * iterators.C: Remove the pimple, move the needed structures to
3638 the header file. Create accessor for the positions stack.
3639 (asPosIterator): remove function
3641 * PosIterator.C (PosIterator): move constructors to top of file
3642 (PosIterator): reimplement the constructor taking a ParIterator in
3644 (setFrom): new function
3645 (operator!=): inline it
3647 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3649 * lyxfind.C (replaceAll): use std::advance
3651 * iterators.h: inherit from std::iterator.
3653 * PosIterator.C (advance, distance): remove
3654 * PosIterator.h: interit from std::iterator.
3656 2004-01-26 André Pönitz <poenitz@gmx.net>
3659 * BufferView_pimpl.[Ch]:
3663 * bufferview_funcs.C:
3673 * output_linuxdoc.C:
3674 * output_plaintext.C:
3676 * paragraph_funcs.[Ch]:
3677 * paragraph_pimpl.[Ch]:
3683 * text3.C: more IU: dumps most of the rest of the mathcursor
3684 implementation into cursor.[Ch]; "globalize" a bit of it.
3686 2004-01-25 Angus Leeming <leeming@lyx.org>
3688 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3690 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3692 * LaTeXFeatures.h: add nice_ and nice() const
3693 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3695 2004-01-20 André Pönitz <poenitz@gmx.net>
3698 * BufferView_pimpl.C:
3700 * bufferview_funcs.C:
3702 * cursor_slice.[Ch]:
3713 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3714 LCursor and mathcursor parts to LCursor and InsetBase.
3716 2004-01-15 André Pönitz <poenitz@gmx.net>
3718 * cursor_slice.[Ch]: add a few covienience functions
3720 * funcrequest.[Ch]: remove BufferView * member
3722 * BufferView_pimpl.C:
3729 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3731 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3733 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3734 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3736 2004-01-13 André Pönitz <poenitz@gmx.net>
3739 * lyxtext.h: hide cursor and selection anchor behind accessor function
3742 * BufferView_pimpl.[Ch]:
3744 * bufferview_funcs.C:
3754 * cursor_slice.[Ch]: some integer type changes for inset unification
3756 * lyxcursor.[hC]: remove, it's CursorSlice now.
3759 * BufferView_pimpl.[Ch]:
3760 * bufferview_funcs.C:
3766 * textcursor.[Ch]: adjust
3768 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3770 * text2.C (undoSpan): add and use
3771 * text.C (breakParagraph): use undoSpan (fix bug 578)
3774 2004-01-08 Angus Leeming <leeming@lyx.org>
3776 * BufferView_pimpl.C (MenuInsertLyXFile):
3777 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3778 * lyxfunc.C (menuNew, open, doImport):
3779 FileFilterList change to the FileDialog open and save functions.
3781 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3783 * ShareContainer.h: make isEqual and isUnique adaptable
3785 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3787 2004-01-07 Angus Leeming <leeming@lyx.org>
3790 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3792 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3794 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3795 functions replacing find, replace and replaceAll.
3797 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3798 LFUN_WORDFIND(FORWARD|BACKWARD).
3800 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3802 * text.C (breakParagraph): remove an outdated #warning
3804 2004-01-07 André Pönitz <poenitz@gmx.net>
3806 * lyxfind.C: somewhat clearer logic
3808 * text.C: prevent crash in cursorX on unitialized row cache
3810 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3812 * lyxcursor.[Ch] (operator>): add
3813 * textcursor.C (selStart, selEnd): use std::min and std::max
3815 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3817 * Chktex.C: include boost/format.hpp
3819 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3821 * InsetList.C: replace functor MathcIt with adaptable functor
3823 (insetIterator): modify accordingly
3825 * BranchList.h: move the BranchNamesEqual functor here from...
3826 * BranchList.C: ... to here
3828 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3830 (add): replace a finding loop with std::find_if.
3832 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3834 * output_docbook.C: moving LatexParam functionality into
3837 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3839 * buffer.C: increment format to 229.
3841 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3844 * lyx_sty.[Ch]: remove minipageindent_def
3850 * text3.C: remove LFUN_INSET_MINIPAGE
3852 2003-12-28 Angus Leeming <leeming@lyx.org>
3854 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3856 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3858 * text2.C (setParagraph): fix off-by-one crash
3860 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3862 * output_docbook.C: header stuff for AGU
3864 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3866 * text2.C (redoCursor): remove
3869 * BufferView_pimpl.C: remove calls to redoCursor and
3870 setCursor(cursor.par(), cursor.pos()) all around
3872 2003-12-15 Angus Leeming <leeming@lyx.org>
3874 * buffer.C: up the format to 228.
3876 2003-12-15 André Pönitz <poenitz@gmx.net>
3878 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3883 * BufferView_pimpl.C:
3892 2003-12-15 Angus Leeming <leeming@lyx.org>
3894 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3895 than getFromGUIName to manipulate the color.
3897 2003-12-14 Angus Leeming <leeming@lyx.org>
3899 * BranchList.[Ch]: minimize the API.
3900 (Branch::getBranch, getColor): now return a 'const &'.
3901 (Branch::setSelected) now returns a bool set to true if the
3902 selection status changes.
3903 (BranchList::clear, size, getColor, setColor, setSelected,
3904 allBranches, allSelected, separator): removed.
3905 (BranchList::find): new functions, returning the Branch with
3907 (BranchList::add, remove): return a bool indicating that
3908 the operation was successful.
3910 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3911 new InsetBranch::isBranchSlected member function.
3913 * LColor.[Ch]: mimimize the API.
3914 (fill): renamed as addColor and made private.
3915 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3916 versions of these functions taking a string arg have been removed.
3918 * bufferparams.C (readToken):
3919 * lyxfunc.C (dispatch):
3920 * lyxrc.C (read): changes due to the altered BranchList and
3923 * factory.C (createInset, readInset): changes due to altered
3926 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3929 * lyxfunc.C: remove insetminipage. "minipage-insert"
3930 now produces a frameless minipage box inset.
3932 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3934 * textcursor.[Ch] (selStart,selEnd): add new methods
3935 remove selection::start, end, use LyXCursor::operator<
3936 * lyxcursor.[Ch] (operator<): add
3937 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3938 * BufferView.[Ch] (unsetXSel): add
3939 * text2.C (clearSelection): use unsetXSel,adjust
3942 * rowpainter.C: adjust
3943 * bufferview_funcs.C (put_selection_at): adjust
3945 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3947 * BufferView_pimpl.C: small coord. correction
3949 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3951 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3952 dragging over the splash screen.
3954 2003-12-11 Angus Leeming <leeming@lyx.org>
3956 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3957 as it is now handled in LyXText::dispatch.
3959 * text3.C (doInsertInset): remove a level of nesting.
3961 2003-12-11 Angus Leeming <leeming@lyx.org>
3963 * factory.C (createInset): changes due to the changed interface to
3964 InsetCommandMailer::string2params.
3966 2003-12-10 Angus Leeming <leeming@lyx.org>
3968 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3969 'dialog-show-new-inset <inset name>'
3971 2003-12-10 Angus Leeming <leeming@lyx.org>
3973 * buffer.C: up the format to 227.
3975 * factory.C: the box inset is now identified simply by 'Box'.
3977 2003-12-10 Angus Leeming <leeming@lyx.org>
3979 * buffer.C: up the format to 226.
3981 * factory.C: the note inset is now identified simply by 'Note'.
3983 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3985 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3986 when a pit is enough. Standarize a couple of loops.
3988 2003-12-05 Angus Leeming <leeming@lyx.org>
3990 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3991 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3992 data to the re-worked "log" dialog.
3994 2003-12-03 André Pönitz <poenitz@gmx.net>
4000 * paragraph_funcs.C:
4002 * text2.C: use Inset::getText instead of Inset::getParagraph
4004 2003-12-03 André Pönitz <poenitz@gmx.net>
4008 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4009 InsetText::read() as LyXText::read()
4011 2003-12-02 Angus Leeming <leeming@lyx.org>
4013 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4014 type. Add a comment in the implementation that the function uses
4015 the stream's bad() function rather than fail() as the std::streams
4018 2003-12-02 André Pönitz <poenitz@gmx.net>
4020 * lyxlex.[Ch]: make interface more similar to std::stream
4022 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4024 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4026 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4028 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4030 * vspace.[Ch]: remove VSpace::NONE
4032 2003-12-01 André Pönitz <poenitz@gmx.net>
4035 * lyxtext.h: move ParagraphList member to LyXText
4036 rename LyXText::ownerParagraphs to LyXText::paragraph
4039 * bufferview_funcs.C:
4049 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4051 * undo.C: fix cursor positioning
4053 2003-12-01 John Levon <levon@movementarian.org>
4055 * BufferView_pimpl.C: fix a crash on exit with
4058 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4060 * BranchList.C: fix setSelected() method.
4062 2003-11-28 André Pönitz <poenitz@gmx.net>
4064 * ParagraphParameters.[Ch]:
4065 * ParameterStruct.h: remove space above/below from Paragraph to
4068 * BufferView_pimpl.C:
4074 * paragraph_funcs.C:
4080 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4082 * factory.C: Syntax change for CharStyles
4084 2003-11-28 André Pönitz <poenitz@gmx.net>
4089 * buffer.[Ch]: move LyXText member
4091 2003-11-28 André Pönitz <poenitz@gmx.net>
4093 * BufferView.[Ch]: make LyXText * text a private member
4095 * BufferView_pimpl.C:
4106 * output_plaintext.C: cleanup
4108 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4111 * lyxtextclass.[Ch]: parametrize SGML document header
4113 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4116 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4119 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4121 * text2.C (setFont): rework using PosIterator (no more recursive)
4122 (setCharFont): no more needed
4123 (setLayout): no more selection cursors fiddling (done by redoCursor)
4124 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4125 destroy remaining ones)
4127 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4129 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4131 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4134 * text3.C: adjust + re-allow multi par depth changes
4135 * textcursor.C: simplify a bit
4137 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4143 * src/output_docbook.C:
4144 * src/output_latex.C:
4149 * src/text2.C: Introducing a number of tags parametrizing various
4150 XML formats that we may want to support
4152 2003-11-25 André Pönitz <poenitz@gmx.net>
4154 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4156 * lyxtext.h (leftMargin/rightMargin): simplify interface
4163 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4165 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4166 master file to any child files. Fixes bug 546.
4168 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4170 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4172 2003-11-24 André Pönitz <poenitz@gmx.net>
4174 * rowpainter.C: simplification
4176 * text2.C (updateCounters): remove call to redoParagraph on
4177 changed labels as this is far too expensive.
4179 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4181 * converter.C (convert): fix a crash: this function gets
4182 called with buffer == 0 from importer code.
4184 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4186 * text3.C (cursorPrevious): make sure that we do not compare
4187 iterators form different containers.
4190 * rowpainter.C (paintSelection): make sure that we do not compare
4191 iterators from different containers.
4193 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4194 iterators from different ParagraphList containers.
4197 * text2.C (LyXText): change order of initialization slightly
4198 (operator=): new function. copy all variables except cache_par_
4199 (moveUp): make sure that we do not compare iterators from
4200 different ParagraphList constainers.
4203 * text.C (firstPar): new function
4204 (lastPar): new function
4205 (endPar): new function
4207 * lyxtext.h: move things around and group public functions, public
4208 variables, private functions, private variables
4210 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4212 * factory.C: change call to InsetERT constructor to avoid
4213 additional invocation of method status
4214 * text2.C (toggleInset): remove redundant update() call
4215 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4216 instead of a Bufferview pointer
4218 2003-11-21 André Pönitz <poenitz@gmx.net>
4220 * rowpainter.C: simplification
4222 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4224 * text3.C (dispatch): make possible to extend a word/row selection
4227 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4229 * lyxtext.h: x0_,y0_ -> xo_,yo_
4230 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4231 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4232 * rowpainter.C (paintRows): paint full paragraphs
4234 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4236 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4239 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4241 * lyxtext.h: add x0_, y0_
4242 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4243 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4245 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4247 * text2.C (setCursorIntern): move the x_target update here *
4248 * text3.C: change some bv() to true/false in calls to
4249 cursorUp/Down/Right/Left
4250 * cursor.C: use helper function.
4252 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4254 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4255 * paragraph_funcs.[Ch]: correct comment
4256 * rowpainter.C: do not paint selections away from bv->cursor()
4257 Fix a long standing selection painting bug.
4258 * text3.C: generalize mouse-selection code to LyXTexts other that
4260 * textcursor.C: do not use y coords if we can use par offsets
4262 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4264 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4265 cursor position after e.g. inset insert)
4267 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4269 * lyxfind.C (replace): adjust to locking removal + some
4272 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4274 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4277 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4280 * output_docbook.C: XML sanitation: new layout
4281 parameters InnerTag and CommandDepth
4283 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4285 * BufferView_pimpl.C:
4287 * text3.C: Fix the insertion and modification of button-style
4290 2003-11-13 André Pönitz <poenitz@gmx.net>
4292 * InsetList.[Ch]: remove deleteLyXText
4294 * paragraph.[Ch]: cache beginOfBody position
4299 * text3.C: remove superfluous update() calls
4303 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4305 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4306 * BufferView.C (fitLockedInsetCursor): remove
4307 * cursor.[Ch] (getDim): add
4308 * text.C (getRowNearY): add faster version
4309 * text3.C: remove some update calls
4311 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4323 * text3.C: The Character Style /XML short element patch.
4325 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4328 * factory.C: Small step to solving 'unable to insert some insets'
4331 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4333 * cursor.[Ch] (updatePos): new function for updating the y
4334 position of the tip inset
4335 * bufferview_funcs.C (put_selection_at):
4336 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4338 2003-11-11 André Pönitz <poenitz@gmx.net>
4340 * text.C: remove big comment on invalid Paragraph pointers as it is
4343 2003-11-11 André Pönitz <poenitz@gmx.net>
4345 * text_funcs.[Ch]: merge with ...
4353 * Makefile.am: remove text_funcs.[Ch]
4355 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4357 * cursor.C (getPos): return absolute cached y coord
4359 * BufferView_pimpl.C (fitCursor): new simplistic code
4360 (workAreaDispatch): add a fitCursor call
4362 2003-11-10 André Pönitz <poenitz@gmx.net>
4365 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4367 2003-11-10 André Pönitz <poenitz@gmx.net>
4369 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4370 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4371 indicate that the cursor needs to leave an inset
4373 * lyxtext.h: remove inset locking
4375 * cursor.[Ch]: re-implement functionality provided by inset locking
4378 * BufferView_pimpl.[Ch]:
4380 * bufferview_funcs.[Ch]:
4392 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4394 * PosIterator.[Ch]: replace the stack with a vector, add inset
4396 * iterators.[C]: adjust
4398 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4400 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4402 * paragraph_funcs.C (readParToken): put the correct id in the
4403 error item, not the id of the top paragraph
4405 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4407 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4408 * bufferview_funcs.C (put_selection_at): use the above
4410 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4412 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4414 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4416 * output_linuxdoc.h:
4417 * output_plaintext.h:
4419 * output_docbook.h: add #include statements
4421 2003-11-05 José Matos <jamatos@lyx.org>
4423 * output_docbook.[Ch]:
4424 * output_latex.[Ch]:
4425 * output_linuxdoc.[Ch]:
4426 * output_plaintext.[Ch]: New files for output formats.
4427 * output.[Ch]: New file for helper functions.
4430 * paragraph_funcs.[Ch]: output functions moved to new files.
4432 * outputparams.h: rename of latexrunparams.h
4440 * paragraph_funcs.[Ch]:
4441 * paragraph_pimpl.[Ch]:
4442 * tabular.[Ch]: rename ascii to plaintext
4443 and LatexRunParams to OutputParams.
4445 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4447 * iterators.[Ch] (text): require bv argument
4448 * undo.C (recordUndo):
4449 * lyxfunc.C (dispatch):
4450 * bufferview_funcs.C (put_selection_at): adjust
4452 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4454 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4456 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4458 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4461 2003-11-04 André Pönitz <poenitz@gmx.net>
4463 * cursor.[Ch]: restructure
4466 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4468 * iterators.[Ch] (asCursor): remove
4470 * lfuns.h: remove LFUN_INSET_EDIT
4476 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4478 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4480 * lyxfind.[Ch]: complete overhaul
4481 * BufferView_pimpl.C:
4483 * paragraph.[Ch] (insert): add
4485 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4489 * text.C: remove dead spellcheck code
4491 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4493 * dispatchresult.h: add a val setter
4495 * cursor.C (dispatch): use a tempvar for data_[i]
4497 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4499 * PosIterator.[Ch]: compile fix
4501 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4503 * text.C (cursorPar): deactivate the cursor cache
4505 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4507 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4509 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4511 * text3.C (dispatch): adjust for new DisptchResult semantics.
4513 * lyxfunc.C (dispatch): handle update when return from
4514 Cursor::dispatch, adjust for new DispatchResult semantics.
4516 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4517 DispatchResult(true) mean to not update. Add class functions for
4518 setting dispatched and update, as well as reading.
4520 * cursor.C (dispatch): don't handle update here
4522 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4524 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4525 * trans_mgr.C: adjust
4527 * paragraph_funcs.C (readParToken): exception safety
4529 * lyxvc.h: store the vcs pointer in a scoped_ptr
4532 * lyxsocket.C (serverCallback): exception safety
4534 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4536 * ispell.C (clone): make it return a auto_ptr
4538 * factory.C (createInset): exception safety
4539 (readInset): exception safety
4541 * bufferlist.C (newBuffer): exception safety
4543 * Thesaurus.C (Thesaurus): use initialization for aik_
4545 * MenuBackend.C (expandToc): exception safety.
4547 2003-11-03 André Pönitz <poenitz@gmx.net>
4551 * bufferview_funcs.C: remove getInsetFromId()
4554 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4560 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4562 * PosIterator.C (distance, advance): new
4563 * bufferview_funcs.[Ch] (put_selection_at): new
4564 * iterators.[Ch] (lockPath): new
4566 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4568 * iterators.[Ch] (asPosIterator): added
4569 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4570 * PosIterator.[Ch]: added
4572 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4576 * cursor.C (dispatch):
4577 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4579 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4580 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4581 contructor, add a class function dispatched. Remove operator>=
4583 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4585 * debug.C: only use the default constructor for debugstream
4588 * main.C (main): include debug.h and setup the lyxerr streambuf
4591 2003-10-31 José Matos <jamatos@lyx.org>
4593 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4595 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4596 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4597 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4598 * paragraph_pimpl.C (simpleTeXSpecialC):
4599 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4600 add LatexRunParams argument.
4602 * exporter.C (Export): change call accordingly.
4604 * latexrunparams.h: add new member to take care of the other backends.
4605 2003-10-30 José Matos <jamatos@lyx.org>
4607 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4608 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4609 factorise code for paragraph output.
4611 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4614 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4616 * text3.C (dispatch):
4617 * lyxfunc.C (dispatch):
4618 * cursor.C (dispatch):
4619 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4621 * dispatchresult.h: make the dispatch_result_t ctor explicit
4623 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4626 * buffer.C: small refactoring of docbook stuff
4628 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4630 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4633 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4635 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4636 operator dispatch_result_t, and operators for == != and >=
4638 * cursor.C (dispatch): adjust for operator dispatch_result_t
4639 removal. comment out call to update
4641 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4643 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4651 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4654 * dispatchresult.h: new file, DispatchResult broken out of
4657 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4659 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4661 * text.C (rowBreakPoint): put a hack inside #if 0
4663 2003-10-28 André Pönitz <poenitz@gmx.net>
4667 * paragraph_funcs.C:
4670 * text2.C: general cleanup (lots of small stuff)
4672 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4674 * text2.C (cursorEnd): simple fix to the "end key goes to one
4675 before the end on last row" bug
4677 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4679 * text.C (backspace): fix the "zombie characters"
4681 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4683 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4685 2003-10-27 André Pönitz <poenitz@gmx.net>
4687 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4689 * factory.C: handle new InsetPagebreak, InsetLine
4691 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4692 and move handling into new InsetPagebreak, InsetLine
4694 * BufferView_pimpl.C:
4696 * ParagraphParameters.C:
4697 * ParameterStruct.h:
4702 * paragraph_funcs.C:
4703 * paragraph_pimpl.C:
4709 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4712 * lyxrow_funcs.[Ch]:
4718 * text3.C: remove lastPos uses in favour of Row::endpos
4720 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4722 * undo.C (performUndoOrRedo): fix two crashes by setting a
4723 cursor by hand and reordering some calls. Use bv->lockInset instead
4724 of inset->edit because the latter loses cursor information
4726 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4728 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4730 (rowBreakPoint): fix width. change point to point + 1.
4731 Add a missing check.
4733 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4736 * lyxfunc.C: fix (at least partly) the problems
4737 with the Nav menu and headers inside branch insets
4740 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4742 * paragraph.C (getChar): add strong asserts
4744 * lyxrow_funcs.C (lastPos): remove hideous hack
4746 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4747 (fill): adjust to that (avoid an infinite loop)
4749 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4751 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4753 2003-10-23 André Pönitz <poenitz@gmx.net>
4755 * RowList_fwd.h: change list<> to vector<> to gain speed
4756 after suggestion from Alfredo
4758 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4760 * lyxtext.h: move the bidi stuff from here...
4763 * Bidi.[Ch]: ... to here
4765 2003-10-23 André Pönitz <poenitz@gmx.net>
4768 * text.C (isLastRow, isFirstRow): new functions
4770 * paragraph.h: new width cache member
4772 * rowpainter.C: replace RowList::iterator with Row & where possible
4774 * lyxfunc.C: replace several view()->text with a single call
4776 * toc.C: fix 'unused' warning
4778 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4780 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4781 when woring with stream::pos_type
4782 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4784 2003-10-22 André Pönitz <poenitz@gmx.net>
4787 * text.C: use Row & instead of RowList::iterator
4789 * lyxrow.h: rename end() to endpos()
4795 2003-10-22 Angus Leeming <leeming@lyx.org>
4797 * buffer.[Ch] (fully_loaded): new member function, returning true
4798 only when the file has been loaded fully.
4799 Used to prevent the premature generation of previews and by the
4800 citation inset to prevent computation of the natbib-style label.
4802 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4803 templates are all set up.
4805 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4807 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4809 * text.C: fixed an "oops" in the "is a bit silly"
4812 2003-10-21 André Pönitz <poenitz@gmx.net>
4814 * FuncStatus.[Ch]: small stuff, whitespace
4816 * lyxfont.[Ch]: operator<<() for debug reasons
4820 * lyxtext.h: whitespace, spelling
4822 * paragraph.C: naming of variables
4825 * text2.C: small stuff
4828 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4830 * text.C: (1) finish off the inset display() work;
4831 (2) fix the "is a bit silly" bug (accessing char
4834 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4836 * text.C: re-introduce display() for insets, fixing the
4837 various bugs (stretch of line above, math inset
4840 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4842 * text.C (rightMargin): remove spurious semicolon
4844 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4847 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4849 * text3.C: fix one crash due to wrong cursor def
4851 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4853 * vc-backend.C (scanMaster): make the regex static
4855 * LaTeX.C (scanAuxFile): make the regexs static
4857 * text3.C (doInsertInset, dispatch, dispatch):
4858 * text2.C (cursorUp, cursorDown):
4859 * text.C (selectNextWordToSpellcheck):
4860 * BufferView_pimpl.C (dispatch):
4861 * lyxfunc.C (dispatch): localDispatch -> dispatch
4863 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4865 * lyxsocket.C: include <cerrno>
4867 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4869 * lyxfunc.C (dispatch): remove textcache stuff
4871 * bufferlist.C (release): remove textcache stuff
4874 * TextCache.C: delete file
4875 * TextCache.h: delete file
4877 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4879 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4880 delete of the bv_->text.
4881 (resizeCurrentBuffer): remove texcache stuff
4882 (workAreaResize): ditto
4884 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4886 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4889 2003-10-16 André Pönitz <poenitz@gmx.net>
4896 * text3.C: speed up by storing y positions per paragraph plus per-row
4897 offset instead of having a 'full' y position in the row.
4899 2003-10-15 André Pönitz <poenitz@gmx.net>
4903 * undo.[Ch]: make undo aware of inner insets
4905 2003-10-14 Angus Leeming <leeming@lyx.org>
4907 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4908 static member functions LyX::ref() and LyX::cref.
4909 (lastfiles): new accessor functions for the new lastfiles_ member var.
4910 (addLyXView, views_): add a new LyXView to the list of views_.
4911 (updateInset): loop over all LyXViews to call their own updateInset
4912 member function, returning a pointer to the Buffer owning the inset.
4914 * BufferView_pimpl.C (loadLyXFile):
4915 * MenuBackend.C (expandLastfiles):
4916 * bufferlist.C (MenuWrite, QuitLyX):
4917 lastfiles is no longer a global variable.
4918 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4920 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4921 static function. Access through LyX::cref().emergencyCleanup().
4923 2003-10-14 André Pönitz <poenitz@gmx.net>
4925 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4927 * undo.[Ch]: restoring part of 'undo in insets'
4930 * undo_funcs.[Ch]: merge with undo.[Ch]
4932 * tabular.C: small cleansing stuff
4934 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4936 * paragraph_funcs.C (readParToken): report unknown insets as error
4937 boxes. Use the outer paragraph as location (also for unknown
4940 * factory.C (readInset): do not abort on reading an unknown inset.
4941 Eat it and return 0.
4943 2003-10-13 Angus Leeming <leeming@lyx.org>
4945 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4947 * lyxrc.C: displayTranslator is now a function,
4948 declared in GraphicsTypes.h.
4950 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4952 * format.C: new placeholder $$a to pass the socket address.
4954 * bufferlist.[Ch]: new function getBufferFromTmp.
4956 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4957 files in the temporary dir.
4959 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4961 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4963 * Makefile.am: add lyxsocket.[Ch].
4965 * lyx_main.C (error_handler): handle SIGPIPE.
4967 2003-10-13 André Pönitz <poenitz@gmx.net>
4969 * BufferView_pimpl.C:
4974 * undo_funcs.[Ch]: use paroffset_type instead of
4975 ParagraphList::iterators to prevent multiple conversion
4976 (and get a more robust interface)
4978 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4980 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4982 * text3.C (dispatch): ditto
4984 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4986 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4987 move the onlyfile, use onlyfile instead of foundfile in a couple
4990 * DepTable.C (update): flush the error stream a bit more
4992 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4994 * lyxserver.C (callback): adjust
4996 * lyxfunc.C (getStatus): add a missing brace in commented code
4997 (ensureBufferClean): reindent
4998 (dispatch): delete version taking a string
5000 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5002 * LaTeX.C (deplog): move found file handlig from here...
5003 (handleFoundFile): .. to new function here.
5004 (deplog): make sure to discover several files mentioned on the
5007 2003-10-10 André Pönitz <poenitz@gmx.net>
5014 * text3.C: fix some of the tabular crashes
5016 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5018 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5020 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5022 2003-10-09 André Pönitz <poenitz@gmx.net>
5024 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5027 * BufferView_pimpl.C:
5028 * bufferview_funcs.C:
5039 * undo_funcs.C: adjust
5041 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5043 * text2.C (incrementItemDepth): new function, use a backtracking
5044 algorithm to discover the correct item depth.
5045 (resetEnumCounterIfNeeded): new function, use a backtracking
5046 algorithm to discover if counter reset is needed.
5047 (setCounter): use them. Simplify a bit. Add different labels for
5048 different item depths for itemize.
5050 * paragraph.C (Paragraph): remove initialization of enumdepth
5053 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5054 enumerate and itemize. Change the type of itemdepth to signed char.
5056 2003-10-08 André Pönitz <poenitz@gmx.net>
5058 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5063 * tabular.[Ch]: fix crash after 'row-insert'
5065 2003-10-08 Angus Leeming <leeming@lyx.org>
5067 Fix doxygen warnings.
5069 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5070 Remove CutAndPaste:: prefix from header file declaration.
5072 * LColor.h (fill): remove LColor:: prefix from declaration.
5074 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5075 use lyx::depth_type rather than Paragraph::depth_type so that
5076 header file and .C file match.
5078 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5080 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5081 * aspell.C: \file aspell_local.C -> \file aspell.C
5082 * gettext.C: \file gettext.C -> \file src/gettext.C
5083 * gettext.h: \file gettext.h -> \file src/gettext.h
5084 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5085 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5086 * text.C: \file text.C -> \file src/text.C
5088 * toc.C: move comment so that doxygen is not confused.
5090 2003-10-07 Angus Leeming <leeming@lyx.org>
5092 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5094 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5097 * aspell_local.h: add forgotten std::string's.
5099 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5106 * text3.C: The Box patch. Fancybox support, minipage, parbox
5108 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5114 * ParagraphParameters.h:
5124 * lyxtextclasslist.h:
5127 * paragraph_pimpl.C:
5128 * textcursor.h: add <string> and other small fixes to make Lars'
5129 std::string patch compile with STLport.
5131 2003-10-06 Angus Leeming <leeming@lyx.org>
5133 * LColor.h: Add missing #include <string>.
5135 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5137 * All most all file in all subdirs: Make <string> be the prefered
5138 way of getting to std::string, add using declarations.
5140 2003-10-06 André Pönitz <poenitz@gmx.net>
5142 * metricsinfo.C: initialize LyXFont before changing attribute.
5143 (fixes the 'math in \emph is upright' bug)
5145 2003-10-06 André Pönitz <poenitz@gmx.net>
5147 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5149 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5152 * paragraph_pimpl.C: Small fixes to build using STLport
5154 2003-10-02 André Pönitz <poenitz@gmx.net>
5157 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5159 2003-10-01 André Pönitz <poenitz@gmx.net>
5161 * factory.C: assert early
5163 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5165 * lyx_main.C: remove the global debug object
5167 * debug.h: adjust for new debugstream
5169 * debug.C: adjust for new debugstream and keep the global debug
5172 2003-09-22 Angus Leeming <leeming@lyx.org>
5174 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5175 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5176 an incomplete class LyXFont.
5178 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5180 * factory.C: bug fix in branches
5182 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5184 * lyxfunc.C (processKeySym): adjust
5186 (dispatch): change arg name from ev to func, adjust
5187 (sendDispatchMessage): ditto
5189 * lyx_main.C (defaultKeyBindings): adjust keybindings
5190 (deadKeyBindings): ditto
5192 * kbsequence.C (addkey): return a FuncRequest
5194 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5196 * kbmap.C (bind): take a FuncRequest as arg, adjust
5199 (defkey): change to take a FuncRequest as arg, adjust
5200 (findbinding): take a FuncRequest as arg, adjust.
5202 * funcrequest.h (operator=): added
5204 * funcrequest.C (FuncRequest): default kb_action changed from
5205 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5207 * buffer.C (dispatch): simplify
5208 (dispatch): adjust to take a FuncRequest as arg, adjust
5210 * boost.C (assertion_failed): change assertion message slightly
5212 * ToolbarBackend.C (read): simplify
5214 * MenuBackend.C (binding): adjust call to findbinding, add a
5215 message if no binding is found.
5217 (expandToc): correct by adding a empty FuncRequest
5219 * LyXAction.C: include <boost/assert.hpp>
5220 (isPseudoAction): delete function
5221 (LookupFunc): change name to...
5222 (lookupFunc): this. change return type to FuncRequest.
5223 (getActionName): take kb_action as arg, simplify
5224 (funcHasFlag): add an assert, simplify.
5226 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5228 * toc.C (action): return a FuncRequest, simplify
5230 * lyxfunc.C (processKeySym): adjust
5231 (getStatus): delete version that takes an int.
5233 (dispatch): delete version that takes action as int
5235 (sendDispatchMessage): simplify and adjust
5237 * funcrequest.C (getArg): take unsigned int as arg
5239 * ToolbarBackend.C (read): adjust
5240 (add): delete version that takes func as a string.
5241 (getIton): take a FuncRequest as arg
5243 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5246 * MenuBackend.C (MenuItem): add a new construct that only takes a
5247 Kind, simplify the constructor use for submenus.
5249 (expandLastfiles): adjust
5250 (expandDocuments): adjust
5251 (expandFormats): adjust
5252 (expandFloatListInsert): adjust
5253 (expandFloatInsert): adjust
5254 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5256 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5257 Remove class variables lyx_pseudo_map and lyx_arg_map
5259 * LyXAction.C (searchActionArg): delete function
5260 (getPseudoAction): delete function
5261 (retrieveActionArg): delete function
5262 (LookupFunc): make it return kb_action, simplify.
5263 (getActionName): simplify
5265 * factory.C (createInset): fix new bug
5267 2003-09-19 Angus Leeming <leeming@lyx.org>
5269 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5270 masterFilename_ parameter in the include inset.
5272 * factory.C (createInset): changes due to the changes to InsetInclude.
5274 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5276 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5278 2003-09-18 Angus Leeming <leeming@lyx.org>
5281 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5282 Inset::fillWithBibKeys.
5283 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5285 2003-09-18 Angus Leeming <leeming@lyx.org>
5287 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5289 (ctor): pass and store a 'Buffer const &'
5290 (buffer): new member function.
5292 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5293 '*this' to the LaTeXFeatures ctor.
5295 2003-09-18 Angus Leeming <leeming@lyx.org>
5301 * text.C: rename EnumLColor as LColor_color.
5303 2003-09-18 Angus Leeming <leeming@lyx.org>
5305 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5306 remove #include "insets/insetbase.h" from cursor.h.
5308 2003-09-18 Angus Leeming <leeming@lyx.org>
5310 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5311 InsetOld_code to remove #include "inset.h".
5313 * iterators.C: add #include "insets/inset.h"
5315 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5317 * BufferView.C: remove more locking stuff that apparently doesn't
5318 do anything sensible.
5320 2003-09-16 André Pönitz <poenitz@gmx.net>
5323 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5326 2003-09-16 Angus Leeming <leeming@lyx.org>
5328 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5330 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5333 * paragraph.h: remove #include "lyxfont.h". Forward declare
5336 2003-09-16 Angus Leeming <leeming@lyx.org>
5338 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5339 of support/textutils.h.
5340 (isWord): move the contents of support/textutils.h's IsWordChar here.
5346 * text2.C: add #include "paragraph.h".
5349 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5351 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5357 * LaTeX.C: use namespace alias for lyx::support::os
5359 2003-09-16 Angus Leeming <leeming@lyx.org>
5362 * bufferview_funcs.C:
5365 * paragraph_pimpl.C:
5367 * text.C: add #include "LColor.h".
5369 2003-09-16 Angus Leeming <leeming@lyx.org>
5371 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5372 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5374 Store the FontBits::color variable as an int rather than as an
5375 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5378 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5379 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5380 string calls together.
5382 * lyxrc.C: add #include "LColor.h".
5384 2003-09-15 Angus Leeming <leeming@lyx.org>
5386 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5389 2003-09-15 Angus Leeming <leeming@lyx.org>
5391 * LColor.h: add an EnumLColor wrapper for LColor::color.
5393 * lyxfont.[Ch] (color, setColor, realColor):
5394 * lyxtext.h, text.C (backgroundColor):
5395 pass EnumLColor args to/from the functions, rather than LColor::color
5399 * lyxtext.h: forward declare EnumLColor.
5401 * lyx_main.C: add #include "LColor.h".
5403 2003-09-15 Angus Leeming <leeming@lyx.org>
5405 * .cvsignore: add lyx-gtk.
5407 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5412 * ParagraphParameters.C
5416 * bufferview_funcs.C
5426 * vc-backend.C: remove usage of STRCONV
5428 2003-09-15 Angus Leeming <leeming@lyx.org>
5430 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5431 explicitly define the color passed to the painter.
5433 2003-09-15 Angus Leeming <leeming@lyx.org>
5435 * bufferparams.C (BufferParams): reorder member initializers to avoid
5438 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5440 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5441 * text.C (updateRowPositions): remove an unusual nop
5443 2003-09-12 André Pönitz <poenitz@gmx.net>
5445 * BufferView_pimpl.C:
5454 * Counters.[Ch]: finish the 'automatic counters' job
5456 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5458 * aspell.C: include <boost/assert.cpp> (compile fix)
5460 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5462 * boost.C (assertion_failed): use lyx::support::abort instead of
5465 2003-09-10 Angus Leeming <leeming@lyx.org>
5467 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5468 with their _fwd progeny.
5470 2003-09-09 Angus Leeming <leeming@lyx.org>
5472 134 files throughtout the source tree: replace 'using namespace abc;'
5473 directives with the appropriate 'using abc::xyz;' declarations.
5475 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5477 * boost.C (emergencyCleanup): moved here from LAssert.c
5478 (assertion_failed): new function, called by BOOST_ASSERT
5480 * several files: change Assert to BOOST_ASSERT
5482 2003-09-09 Angus Leeming <leeming@lyx.org>
5484 * buffer.[Ch]: Add an Impl class and move Buffer's member
5485 variables into it. As a result move several header files out of
5488 Add header files to lots of .C files all over the tree as a result.
5490 2003-09-09 Angus Leeming <leeming@lyx.org>
5492 * buffer.[Ch]: make Buffer's member variables private. Add
5495 Lots of changes all over the tree as a result.
5497 2003-09-08 Angus Leeming <leeming@lyx.org>
5499 * graph.C: #include <config.h>.
5501 2003-09-08 Angus Leeming <leeming@lyx.org>
5505 * BufferView_pimpl.C:
5534 * toc.C: remove redundant using directives.
5536 2003-09-07 Angus Leeming <leeming@lyx.org>
5538 * LaTeXFeatures.h: remove #include "support/types.h".
5539 * ToolbarBackend.h: remove #include <algorithm>.
5540 * changes.h: remove #include <ctime>.
5541 * debug.h: remove #include <iosfwd>.
5542 * graph.h: remove #include "support/std_string.h".
5543 * lyx_main.h: remove #include <csignal>.
5544 * lyxlex_pimpl.h: remove #include <fstream>.
5545 * sgml.h: remove #include <algorithm>, <utility>.
5546 * toc.h: remove #include "support/std_ostream.h".
5547 Add #include <iosfwd>.
5549 2003-09-07 Angus Leeming <leeming@lyx.org>
5551 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5553 * converter.h: forward declare LatexRunParams.
5554 * encoding.h: remove #include "lyxrc.h".
5555 * lyxtext.h: remove #include "LColor.h".
5556 * lyxtextclass.h: remove #include "support/types.h".
5557 * trans.h: remove #include "tex-accent.h".
5558 * trans_mgr.h: remove #include "tex-accent.h".
5559 * insets/inset.h: remove #include "support/types.h", <vector>.
5560 * insets/insetcollapsable.h: remove #include "LColor.h".
5561 * insets/insetinclude.h: remove #include "dimension.h".
5562 * insets/insetlatexaccent.h: remove #include "dimension.h".
5563 * insets/insetoptarg.h:: remove #include "insettext.h".
5564 * insets/insettext.h: remove #include "dimension.h",
5565 <boost/shared_ptr.hpp>
5567 * insets/renderers.h: add #include "dimension.h".
5568 * insets/updatableinset.h: add #include "support/types.h".
5570 * many .C files: Associated changes.
5572 2003-09-06 Angus Leeming <leeming@lyx.org>
5574 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5575 one, inside testInvariant.
5577 * PrinterParams.C: new file.
5578 * PrinterParams.[Ch]: move the function bodies out of line.
5580 2003-09-06 Angus Leeming <leeming@lyx.org>
5582 * ParagraphParameters.h: forward declare ParameterStruct rather than
5583 including its header file.
5584 (depth): moved out-of-line.
5586 2003-09-06 Angus Leeming <leeming@lyx.org>
5588 * BufferView_pimpl.h:
5591 * lyxfunc.h: forward declare LyXKeySym rather than
5592 #include "frontends/LyXKeySym.h".
5594 * BufferView_pimpl.C:
5597 * lyxfunc.C: associated changes.
5599 2003-09-06 Angus Leeming <leeming@lyx.org>
5601 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5602 As a result, can remove the #include "insets/inset.h" from BufferView.h
5604 2003-09-06 Angus Leeming <leeming@lyx.org>
5606 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5607 As a result, can remove the #include "insets/inset.h" from BufferView.h
5609 2003-09-06 Angus Leeming <leeming@lyx.org>
5615 * bufferview_funcs.C:
5616 * BufferView_pimpl.C:
5621 * ParagraphParameters.C:
5626 * frontends/controllers/ControlDocument.C:
5627 * insets/insetcaption.C: rearrange the #includes into some sort of
5630 * buffer.h: remove #includes ErrorList.h, undo.h
5632 2003-09-06 Angus Leeming <leeming@lyx.org>
5634 * support/types.h: add a 'depth_type' typedef, used to store the
5635 nesting depth of a paragraph.
5638 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5639 defining explicitly.
5642 * paragraph_funcs.h:
5643 * ParagraphParameters.h:
5644 * sgml.h: use lyx::depth_type rather than Paragraph or
5645 ParameterStruct's depth_type.
5648 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5651 * BufferView_pimpl.C:
5653 * ParagraphParameters.C:
5656 * bufferview_funcs.C:
5663 * frontends/LyXView.C:
5664 * frontends/controllers/ControlDocument.C:
5665 * frontends/controllers/ControlErrorList.C:
5666 * insets/insetbibitem.C:
5667 * insets/insetbranch.C:
5668 * insets/insetcaption.C:
5669 * insets/insetcollapsable.C:
5670 * insets/insetenv.C:
5671 * insets/insetert.C:
5672 * insets/insetfloat.C:
5673 * insets/insetfoot.C:
5674 * insets/insetfootlike.C:
5675 * insets/insetnewline.C:
5676 * insets/insetquotes.C:
5677 * insets/insettabular.C:
5678 * insets/insettext.C:
5679 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5681 * frontends/controllers/ControlChanges.C: #include "changes.h".
5683 2003-09-06 Angus Leeming <leeming@lyx.org>
5685 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5686 than #including paragraph.h.
5689 * RowList.h: deleted. Superfluous.
5699 * insets/insettext.h: use ParagraphList_fwd.h rather than
5702 * paragraph.h: don't forward declare ParagraphList.
5705 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5706 rather than ParagraphList.h. paragraph.h is still needed for the
5707 Paragraph::depth_type parameters.
5709 * textcursor.h: enable it to compile stand-alone in light of the
5712 * bufferview_funcs.C:
5724 * frontends/controllers/ControlParagraph.C:
5725 * frontends/controllers/ControlTabular.C:
5726 * insets/insetmarginal.C:
5727 * insets/insetminipage.C:
5728 * insets/insetnote.C:
5729 * insets/insetoptarg.C: add header files needed to compile again.
5731 2003-09-06 Angus Leeming <leeming@lyx.org>
5733 * RowList_fwd.h: new file, forward-declaring Row rather than
5734 #including lyxrow.h.
5739 * insets/insettext.h: use it instead of RowList.h
5741 * bufferview_funcs.C:
5748 * text3.C: #include "RowList.h".
5750 2003-09-05 Angus Leeming <leeming@lyx.org>
5752 * factory.C (createInset):
5753 * vspace.C (c-tor): replace sscanf call with an istringstream.
5754 * ispell.C: re-add missing HP/UX headers.
5755 * lyxserver.C: re-add missing os2 headers.
5757 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5766 * text3.C: re-add missing system headers, needed for 2.95.2.
5768 2003-09-05 Angus Leeming <leeming@lyx.org>
5770 Changes most place everywhere due to the removal of using directives
5771 from support/std_sstream.h.
5773 2003-09-05 Angus Leeming <leeming@lyx.org>
5775 Replace LString.h with support/std_string.h,
5776 Lsstream.h with support/std_sstream.h,
5777 support/LIstream.h with support/std_istream.h,
5778 support/LOstream.h with support/std_ostream.h.
5780 Changes resulting throughout the tree.
5782 2003-09-05 Angus Leeming <leeming@lyx.org>
5784 * sgml.h: ensure that the header file can be compiled stand-alone.
5785 * *.C: strip out redundant #includes. (320 in total.)
5787 2003-09-04 Angus Leeming <leeming@lyx.org>
5789 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5790 here (from getPackages).
5792 * debug.[Ch]: add a new EXTERNAL tag.
5794 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5796 * text2.C (cursorEnd): simplify
5798 (getColumnNearX): adjust
5800 * text.C (computeBidiTables): adjust
5803 * rowpainter.C (paintChars): adjust
5804 (paintSelection): adjust
5805 (paintChangeBar): adjust
5808 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5810 (numberOfSeparators): adjust
5812 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5818 * text3.C: Restricts the mouse click functionality
5819 of insets like bibtex, include, toc and floatlist to the visible
5820 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5821 up the dialogs. Cursor has to be in front of the inset (i.e.
5822 start of row) for this to function.
5824 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5826 * bufferview_funcs.C (currentState): output row information
5828 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5830 * bufferview_funcs.C (currentState): output paragraph position
5832 2003-09-04 Angus Leeming <leeming@lyx.org>
5834 * FloatList.h: move out #include "Floating.h".
5835 * LaTeX.h: move out #include "DepTable.h".
5836 * LyXAction.h: move out #include "funcrequest.h".
5837 * buffer.h: move out #include "author.h", "iterators.h".
5838 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5839 * lyx_main.h: move out #include "errorlist.h".
5840 * lyxfunc.h: move out #include "FuncStatus.h".
5841 * lyxtext: move out #include "lyxcursor.h".
5842 * paragraph_pimpl.h: move out #include "counters.h".
5844 2003-09-03 Angus Leeming <leeming@lyx.org>
5846 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5847 preamble_snippets list, enabling us to add snippets to the preamble
5848 only if the snippet was not there already.
5850 2003-09-04 Angus Leeming <leeming@lyx.org>
5852 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5854 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5856 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5859 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5861 * BranchList.C: point fix, earlier forgotten
5863 2003-09-02 Angus Leeming <leeming@lyx.org>
5865 * box.C (contains): renamed from 'contained' after a fantastic
5868 2003-09-02 John Levon <levon@movementarian.org>
5874 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5876 2003-09-02 John Levon <levon@movementarian.org>
5878 * text2.C: simplification of cursorEnd(), including partial
5881 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5883 * buffer.C (readFile): add a space
5885 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5887 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5889 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5891 * buffer.C (readFile): new function, take a filename and a
5892 ParagraphList::iterator
5894 (readFile): adjust, make it private. don't use setStream, make
5895 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5896 always contain the filename.
5898 * BufferView.C (insertLyXFile): simplify and make it work for
5901 2003-08-30 John Levon <levon@movementarian.org>
5903 * Makefile.am: fix dist (from Kayvan)
5905 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5907 * most files: change to use const Buffer refs
5909 2003-08-27 André Pönitz <poenitz@gmx.net>
5911 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5912 on top of ownerPar().
5914 2003-08-27 John Levon <levon@movementarian.org>
5916 * funcrequest.C: properly initialise POD members
5918 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5920 * lyxtext.h (top_y): move top_y from here
5925 * BufferView_pimpl.[Ch]: to here
5926 * frontends/screen.C:
5927 * insets/insettabular.C:
5928 * insets/insettext.C: adjust
5929 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5931 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5934 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5936 2003-08-26 André Pönitz <poenitz@gmx.net>
5938 * paragraph_func.[Ch] (outerPar): new function
5941 * paragraph_funcs.C:
5942 * paragraph_funcs.h:
5943 * paragraph_pimpl.C:
5944 * text2.C: remove Inset::par_owner
5946 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5951 * text2.C: eliminates the needFullRow/display() stuff
5952 altogether, putting the logic in metrics/draw in the insets.
5954 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5956 * text2.C (redoParagraphInternal, redoParagraphs):
5957 * text.C (redoParagraph): add a call to updateRowPositions at the
5958 end of each 'metrics-like' call. Remove all others.
5959 (getRow): remove the 'y-computing' version.
5960 (getRowNearY): do not compute nor return the real y. Solve the
5961 'y < 0' problem and simplify.
5963 2003-08-22 Angus Leeming <leeming@lyx.org>
5965 * *.[Ch]: clean-up of licence and author blurbs.
5966 Also move config.h out of a few .h files and into a few .C files.
5968 2003-08-22 André Pönitz <poenitz@gmx.net>
5970 * lyxrow.[Ch]: add x_ and *fill_ members
5975 * text2.C: adjust/remove prepareToPrint() calls
5977 2003-08-22 André Pönitz <poenitz@gmx.net>
5979 * lyxrow.[Ch]: add end_ member
5981 * lyxrow_funcs.C: use LyXRow::end_
5983 * lyxtext.h (singleWidth): add LyXFont parameter
5986 * text2.C: adjust LyXText::singleWidth() calls
5988 * text.C (redoParagraph): simplify row breaking logic
5991 2003-08-19 André Pönitz <poenitz@gmx.net>
5993 * funcrequest.C: initialize button_ member
5996 * rowpainter.[Ch]: interface consolidation
5998 2003-08-18 André Pönitz <poenitz@gmx.net>
6001 * BufferView_pimpl.C:
6003 * paragraph_funcs.C:
6005 * text3.C: remove LyXScreen::draw() and fitCursor calls
6007 * BranchList.h: remove spurious semicolons
6009 * MenuBackend.C: fix branchlist related crash
6011 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6019 * bufferparams.[Ch]:
6023 * text3.C: implements the 'branch inset'
6024 idea. This allows the output of various versions of a document
6025 from a single source version, selectively outputing or suppressing
6026 output of parts of the text.
6027 This implementation contains a 'branch list editor' in a separate
6028 tab of the document settings dialog. Branches are user definable
6029 and have a "display colour" to distinguish them on-screen.
6031 ColorHandler was somewhat cleaned up.
6032 (1) make possible a dynamically growing LColor list by allowing
6033 the graphic context cache to grow along (vector);
6034 (2) eliminate an IMHO unnecessary step in colour allocation.
6036 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6038 * BufferView_pimpl.C: compile fix
6040 2003-08-15 André Pönitz <poenitz@gmx.net>
6042 * rowpainter.C: remove extra metrics calls
6044 * lyxtext.h: merge the two constructors into a single one,
6045 pass reference to owner's par list
6047 * BufferView_pimpl.C:
6051 2003-08-15 André Pönitz <poenitz@gmx.net>
6053 * lyxrow_funcs.[Ch]:
6056 * paragraph_funcs.C:
6061 * text_funcs.C: split LyXText::rowlist_ into individual
6062 Paragraph::rows_ chunks
6065 * BufferView_pimpl.[Ch]:
6068 * text3.C: remove toggleSelection()
6070 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6072 * bufferlist.C: beautify two alerts (shorter text of buttons)
6073 * buffer.C: Remove redundant ' ' from message
6075 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6076 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6077 rename VALIGN_CENTER to VALIGN_MIDDLE
6079 2003-08-11 André Pönitz <poenitz@gmx.net>
6081 * lyxtext.h (getPar):
6082 * text.C: new function
6084 2003-08-11 André Pönitz <poenitz@gmx.net>
6087 * tracer.[Ch]: remove unneeded files
6089 * InsetList.[Ch]: remove resizeInsetsLyXText()
6094 * text3.C: merge insertParagraphs() and appendParagraph()
6095 remove breakAgain(), update()
6097 * BufferView_pimpl.[Ch]:
6098 * bufferview_funcs.[Ch]:
6102 * tabular.C: adjust after text & InsetList changes.
6104 2003-08-08 André Pönitz <poenitz@gmx.net>
6106 * text.C (insertChar, backspace): replace rowlist fiddling
6107 with rebreak of full par
6110 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6111 checkParagraph, updateInset): removed
6113 2003-08-07 André Pönitz <poenitz@gmx.net>
6116 * text3.C: merge some LFUN handlers, remove dead code
6118 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6120 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6122 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6124 * text2.C (DEPM): fix part of bug 1255 and 1256
6126 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6128 * BufferView_pimpl.C (workAreaDispatch): change to use
6129 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6130 that are no mouse related.
6132 2003-08-05 André Pönitz <poenitz@gmx.net>
6135 * BufferView_pimpl.[Ch]:
6136 * bufferview_funcs.C:
6138 * text3.C: rip out "deep update"
6140 * textcursor.[Ch] (last_sel_cursor): remove unused member
6142 2003-08-04 André Pönitz <poenitz@gmx.net>
6145 * BufferView_pimpl.[Ch]:
6146 * ParagraphParameters.C:
6147 * bufferview_funcs.C:
6153 * text3.C: replace "complicated" BufferView::update(...) calls with
6156 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6158 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6160 * Makefile.am (lyx_SOURCES): add paper.h
6162 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6164 * Makefile.am: move things around so that both lyx-qt and
6165 lyx-xforms can be built (according to --with-frontend). Then lyx
6166 is a symbolic link to lyx-[firstfrontend]
6168 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6170 * Always use std::endl with lyxerr
6172 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6174 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6176 2003-08-01 André Pönitz <poenitz@gmx.net>
6179 * BufferView_pimpl.[Ch]:
6181 * text3.C: merge BufferView::repaint() and BufferView::update()
6183 2003-08-01 José Matos <jamatos@lyx.org>
6185 * buffer.[Ch]: file_format is no longer a buffer data element.
6187 2003-08-01 André Pönitz <poenitz@gmx.net>
6192 * text2.C: make redoParagraph more independent of current cursor
6194 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6196 * text2.C: remove unneeded members
6198 2003-07-30 André Pönitz <poenitz@gmx.net>
6200 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6202 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6203 create a single function...
6205 * paragraph_funcs.C (moveItem): ... here.
6208 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6210 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6212 * LColor.[Ch]: Add comment and greyedout logical colors.
6214 2003-07-30 André Pönitz <poenitz@gmx.net>
6216 * tabular.C: don't use Assert too heavily. This crashes where it
6219 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6221 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6222 is disabled (bug 1232)
6224 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6226 * factory.C: limited 'arg' scope
6228 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6230 * factory.C: fixed Note submenu issues
6232 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6234 * factory.C: submenu for Note/Comment/Greyedout
6236 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6239 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6241 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6244 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6245 greyedout. Patch provided by Jürgen Spitzmüller.
6247 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6249 * kbmap.C (read): fix error message when reading bind files
6251 2003-07-29 Angus Leeming <leeming@lyx.org>
6253 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6254 certainly does not do what it purports to do. I am doing it, and
6255 us, a favour by killing it.
6257 2003-07-28 José Matos <jamatos@lyx.org>
6259 * buffer.C (readBody, do_writeFile):
6260 * paragraph.C(readParagraph): \end_document replaces \the_end.
6262 2003-07-29 André Pönitz <poenitz@gmx.net>
6265 * BufferView_pimpl.[Ch]:
6269 * textcursor.[Ch]: remove toggleToggle & Co
6271 2003-07-28 José Matos <jamatos@fep.up.pt>
6273 * buffer.C (readParagraph):
6274 * params_func (readParToken, readParagraph):
6275 * paragraph.C (write): \layout -> \begin_layout.
6277 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6279 * lyxlex_pimpl.C (setFile): clean up slightly.
6281 * bufferparams.h: add compressed var
6283 * buffer_funcs.C (readFile): adjust for LyXLex change
6284 (newFile): ditto + simplify
6286 * buffer.C (writeFile): handle writing of compressed files
6288 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6289 Check if the file is compressed and set a bufferparm if so.
6291 * Makefile.am (lyx_LDADD): remove explicit -lz
6293 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6295 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6296 makeDocBookFile): put the real LyX version in the first line of
6300 * version.C.in: remove lyx_docversion
6302 * tabular.C (write_attribute): add a template-based version to
6303 write enums properly
6305 2003-07-28 André Pönitz <poenitz@gmx.net>
6310 * text3.C: use doubles again for x-coordinates. They are needed.
6312 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6314 * messages.C (getLocaleDir): use lyx_localedir()
6316 * lyxlex_pimpl.C (setFile): compress stuff
6318 * buffer.C (writeFile): add some compression stuff
6319 (do_writeFile): new func, dont call expliti close... will this
6322 * Makefile.am (lyx_LDADD): add -lz
6324 2003-07-28 José Matos <jamatos@fep.up.pt>
6326 * buffer.C: increment file format.
6327 * paragraph_funcs (readParagraph, readParToken):
6328 * paragraph.C (readParagraph): add \end_layout.
6330 2003-07-27 Angus Leeming <leeming@lyx.org>
6332 * Makefile.am: remove special casing for configure-time setting of
6333 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6335 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6336 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6338 2003-07-26 André Pönitz <poenitz@gmx.net>
6340 * paragraph_func.[Ch]:
6341 * paragraph.C (realizeFont): inline it whereever it is used
6346 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6349 2003-07-26 André Pönitz <poenitz@gmx.net>
6353 * text2.C: get rid of LyXText::need_break_row
6355 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6357 * toc.[Ch]: put namespace toc inside namespace lyx
6359 * MenuBackend.C (expandToc2): adjust for lyx::toc
6362 * lyxfunc.C (dispatch): adjust for lyx::find
6364 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6365 lyx::find instead. Reorganize a bit.
6366 (LyXReplace): rename to replace
6367 (LyXFind): rename to find
6369 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6372 2003-07-26 André Pönitz <poenitz@gmx.net>
6374 * text.C (setHeightOfRow): restrict scope of temporary variable
6376 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6377 code (never has been used?)
6379 2003-07-27 Asger Alstrup <alstrup@local>
6381 * text.C (fill): Optimise algorithm to exploit that we can reuse
6382 the LyXFont for many characters.
6383 (setHeightOfRow): Same thing.
6384 (rowBreakPoint): Same thing.
6386 2003-07-26 Asger Alstrup <alstrup@local>
6388 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6390 * text.C (singleWidth): Spurious font copying in hot-spot
6391 singleWidth avoided. Reorder tests for arabic for efficiency.
6393 * text.C (fill): handle empty paragraphs better.
6395 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6398 * encoding.h: add includes
6400 * lyxrc.C: remove reading of bind files
6402 * lyx_main.C (init): setup bindings and menus only if we have a
6405 * kbmap.C (read): new method. Do the actual reading of bind
6408 * converter.C (dvipdfm_options):
6411 (output): adapt PAPER_* enums.
6413 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6415 * bufferparams.h: remove paper-related enums from there
6417 * paper.h: New file. A trivial header file to hold paper-related
6418 enums. It should later expand to contain many paper-related
6421 * lyxrc.C: declare extern displayTranslator
6423 2003-07-27 José Matos <jamatos@fep.up.pt>
6425 * tabular.[Ch] (linuxdoc): add support for tables and figures
6428 2003-07-27 José Matos <jamatos@fep.up.pt>
6430 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6431 consistency in both functions.
6432 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6434 2003-07-26 Asger Alstrup <alstrup@local>
6436 * rowpainter.C (paintRows): Change algorithm to work directly on
6437 the insets rather than asking every character in the document
6438 whether its an inset.
6440 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6442 * buffer.C (openFileWrite): factorize some code
6444 2003-07-26 Angus Leeming <leeming@lyx.org>
6447 * lyx_main.[Ch]: replace occurances of system_tempdir with
6450 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6452 * rename Inset to InsetOld
6454 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6456 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6457 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6458 which I think is a bit clearer. EDIT is gone, since it was
6459 premature optimisation, and broken for mathed anyway.
6460 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6461 with cursor positioning in insets as well (math insets still do not
6462 work, but that's a different story anyway.) It mysteriously
6463 crashes sometimes with undo in the first paragraph, but I'm fairly
6464 confident that this is a compiler bug.
6466 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6468 * paragraph.C (Paragraph): adjust for new clone return type
6470 (copyIntoMinibuffer): ditto
6472 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6474 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6475 by not having a special case, and always doing a full rebreak of
6476 the document after undo.
6478 2003-07-23 Angus Leeming <leeming@lyx.org>
6480 * factory.C (createInset): InsetExternal::setParams now takes a
6483 2003-07-23 Angus Leeming <leeming@lyx.org>
6485 * factory.C (createInset): changed interface to the external and
6486 graphics mailers' string2params functions.
6488 2003-07-23 Angus Leeming <leeming@lyx.org>
6490 * factory.C (createInset): pass a
6491 Buffer const * parameter to InsetExternalMailer's string2params.
6493 2003-07-22 John Levon <levon@movementarian.org>
6495 * Thesaurus.h: include the right aiksaurus header
6497 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6499 * MenuBackend.C (expand): check menu shortcuts unconditionally
6501 2003-07-21 Angus Leeming <leeming@lyx.org>
6503 * factory.C (createInset): pass a
6504 buffer_path parameter to InsetGraphicsMailer's string2params.
6506 2003-07-21 Angus Leeming <leeming@lyx.org>
6508 * BufferView_pimpl.C (buffer):
6511 * lyxfunc.C (dispatch):
6512 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6513 rather than the grfx shortcut.
6515 2003-07-21 André Pönitz <poenitz@gmx.net>
6517 * rowpainter.C: remove unused variables
6520 * tabular_funcs.h: move to tabular.C
6521 * Makefile.am: adjust
6523 * tabular.[Ch]: basic optical cleaning
6525 * author.h: pass references, not values
6527 2003-07-18 André Pönitz <poenitz@gmx.net>
6535 * text3.C: two-phase drawing for InsetText and InsetTabular
6536 some float -> int changes.
6538 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6540 * lyx_main.C: fix the fix
6542 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6544 * lyx_main.C: fix a crash in batch mode if no files specified
6547 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6549 * format.[Ch] (papersize): moved to BufferParams
6550 * converter.[Ch] (dvips_options): moved to BufferParams
6551 (dvipdfm_options): moved to anon namespace
6552 * bufferparams.[Ch]: added above functions.
6554 2003-07-17 André Pönitz <poenitz@gmx.net>
6558 * text2.C: don't call inset->update() anymore
6560 * metricsinfo.[Ch]: add convenience constructor
6562 2003-07-16 André Pönitz <poenitz@gmx.net>
6567 * text2.C: replace the LyXCursor::irow_ member with
6568 on-demand computation of the value
6570 2003-07-16 John Levon <levon@movementarian.org>
6572 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6574 2003-07-15 André Pönitz <poenitz@gmx.net>
6577 * text2.C: remove no more needed refresh_row
6579 2003-07-15 André Pönitz <poenitz@gmx.net>
6584 * text3.C: refresh_status tristate -> need_update bool
6586 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6588 * lyxtext.h (init): remove reinit argument (act as if always true)
6589 * text2.C: adjust to that
6591 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6593 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6594 * text3.C: use it to delete selections in some cases
6595 (bugs 441, 673, 702, 954).
6597 2003-07-14 André Pönitz <poenitz@gmx.net>
6599 * rowpainter.[Ch]: reduce interface
6601 2003-07-14 André Pönitz <poenitz@gmx.net>
6603 * BufferView_pimpl.C:
6604 * text2.C: adjust after removing unused BufferView * argument
6606 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6608 * text2.C (init): fix a crash fired on resize
6610 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6612 * buffer.[Ch]: added new closing signal
6613 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6614 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6615 BufferView::Pimpl via the closing the signal
6617 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6619 * buffer.[Ch]: take out all bv-related from buffer
6621 * BufferView_pimpl.[Ch]: connect to new signals
6622 * CutAndPaste.C: removed useless asserts
6623 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6626 * lyxfunc.C: moved view-related funciontality from vc here
6627 * paragraph.C: removed outdated comments
6630 2003-07-10 André Pönitz <poenitz@gmx.net>
6632 * BufferView_pimpl.C:
6636 * text2.C: remove InsetText::InnerCache, clean up consequences
6638 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6640 * ispell.C: fix two typos in error messages
6642 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6644 * Extend Note inset to other forms of annotation like Comment
6645 and Greyedout. Right button click gives dialog.
6647 Files modified or added (+):
6651 * ControlNote.[Ch] +
6653 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6654 frontends/controllers
6658 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6660 * aspell.C: add missing namespace lyx::support
6662 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6664 * BufferView.[Ch] (newFile): Add
6665 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6666 * LaTeX.[Ch] (message): added this signal and use it
6667 * buffer.[Ch] (busy, message): added these signals and use them
6668 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6672 * importer.C: use buffer signals instead of direct bv calling
6673 * lyx_cb.[Ch] (ShowMessage): removed
6676 * paragraph_funcs.C:
6677 * text2.C: use buffer signals
6679 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6681 * introduce namespace lyx::graphics
6683 2003-07-02 André Pönitz <poenitz@gmx.net>
6685 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6687 2003-07-01 André Pönitz <poenitz@gmx.net>
6694 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6695 text*.C to text_func.C
6697 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6699 * introduce namespace lyx::support
6701 2003-06-30 André Pönitz <poenitz@gmx.net>
6706 * text.C: re-enable --with-included-string
6708 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6710 * textcursor.C: add <config.h>
6712 * text.C (getWord): remove const from word_location arg
6714 * lyxvc.C (getLogFile): fix const type order
6716 * lyxtext.h: remove const from word_location arg, add arg name
6718 * lyxlayout.h: currect type on labeltype.
6720 * importer.C: correct \file
6722 * converter.C (intToFormat): use std:: on ret val, ws changes
6724 * bufferlist.h: correct \file
6726 * buffer.C (makeLinuxDocFile): fix const type order
6727 (makeDocBookFile): ditto
6728 (fillWithBibKeys): use std:: on stdlib args.
6730 * CutAndPaste.C: fix authors.
6731 (availableSelections): use std:: on return vector
6733 2003-06-27 André Pönitz <poenitz@gmx.net>
6735 * BufferView_pimpl.C:
6736 * bufferview_funcs.C:
6744 * text3.C: remove LyXCursor::row_ member
6747 * text.C: rename fullRebreak() to partialRebreak() and implement
6748 a fullRebreak() that really bereks fully
6750 * textcursor.h: new struct for cursor-related data
6752 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6754 * lyx_main.C (LyX): get full path of document loaded on the
6757 2003-06-26 André Pönitz <poenitz@gmx.net>
6759 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6760 remove unused/broken operator>,<,>=.
6762 * text.C: remove only use of broken operator<= in an Assert().
6764 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6766 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6767 moved errorlist_.clear to showErrorList
6769 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6771 * converter.C (scanLog, runLaTeX):
6772 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6773 move the bv->showErrorList call to the callers
6774 * lyxfunc.C: i.e. here...
6776 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6777 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6778 namespace, the second to...
6779 * buffer_funcs (BufferFormat, parseErrors): added
6780 * errorlist.C (ErrorList(TeXErrors const &)): removed
6782 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6784 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6786 2003-06-24 "Garst R. Reese" <reese@isn.net>
6790 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6792 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6794 * version.C.in: change docversion to 1.4
6796 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6798 * buffer.C: fix a bug just introduced
6800 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6802 * buffer.[Ch]: added the parseError signal and use it, removed
6804 * BufferView.[Ch] (addError): moved to ...
6805 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6806 to the Buffer::parseError signal to catch (guess what) parse errors
6807 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6809 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6811 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6812 ability to create a buffer and to return an existing one from
6813 the list. Moved these functions to...
6814 * buffer_funcs.[Ch]: added
6815 * BufferView.[Ch] (loadLyXFile): added
6816 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6817 job removed from bufferlist::loadLyXFile.
6818 * buffer.C (setReadOnly): make it work without view
6819 (i.e added an if (users))
6821 2003-06-19 Angus Leeming <leeming@lyx.org>
6824 * LyXAction.C (init):
6825 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6826 with LFUN_DIALOG_SHOW <name> <data>.
6828 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6830 * CutAndPaste.C (availableSelections): small compilation fix for
6831 ancient (gcc 2.9x) compilers
6833 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6835 * text3.C (cursorNext): add tmp var
6837 * text2.C (updateCounters): for function calling out of for clause
6838 (replaceSelectionWithString): ditto
6839 (insertStringAsParagraphs): ditto
6840 (getColumnNearX): add tmp var
6841 (setCursorFromCoordinates): add tmp var
6842 (cursorDownParagraph): add tmp var
6843 (deleteEmptyParagraphMechanism): add tmp var
6845 * text.C (insertChar): add tmp var
6847 * rowpainter.C (paintDepthBar): add tmp var
6849 * CutAndPaste.C (availableSelections): potentially check all
6850 paragraphs in a cut to fill the shown strings.
6852 2003-06-18 André Pönitz <poenitz@gmx.net>
6854 * kbmap.[Ch]: use vector<> instead of list<>
6856 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6858 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6859 pasteSelection with index
6861 * text2.C (pasteSelection): modify, call pasteSelection with index
6863 * paragraph.C (asString): reimplement version with no interval to
6864 call the one with interval.
6866 * lyxtext.h: add index arg to pasteSelection
6868 * MenuBackend.C (MenuItem): handle PasteRecent
6869 (Menu::read::Menutags): add md_pasterecent
6871 (expandPasteRecent): new function
6874 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6876 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6878 (availableSelections): new function
6880 2003-06-17 Angus Leeming <leeming@lyx.org>
6882 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6884 2003-06-17 Angus Leeming <leeming@lyx.org>
6887 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6889 * lyxfunc.C (dispatch): invoke it.
6891 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6893 * iterators.C (operator++, ParPosition): reintroduce some
6894 const_cast for the benefit of older compilers.
6896 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6898 * text3.C (dispatch): do not modify clipboard when doing
6899 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6900 LFUN_DELETE_SKIP on a selection selection
6902 2003-06-16 André Pönitz <poenitz@gmx.net>
6908 * tabular.[Ch]: IU of clone() and getLabelList();
6910 2003-06-13 André Pönitz <poenitz@gmx.net>
6912 * tabular.h: compactification
6914 2003-06-12 André Pönitz <poenitz@gmx.net>
6918 * tabular_funcs.h: some renaming plus whitespace
6920 2003-06-12 André Pönitz <poenitz@gmx.net>
6923 * BufferView_pimpl.C:
6929 * toc.C: Return a Paragraph & for ParIterator::operator*()
6931 2003-06-11 John Levon <levon@movementarian.org>
6935 * ToolbarBackend.C: add "Toolbars" section and
6938 2003-06-10 Angus Leeming <leeming@lyx.org>
6941 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6943 * lyxfunc.C (dispatch): invoke it.
6945 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6947 * main.C: protect <ios> with HAVE_IOS
6948 (main): protect sync_with_stdio with HAVE_IOS
6950 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6952 * text2.C (cutSelection): adjust
6953 (pasteSelection): adjust
6955 * messages.C: handle get of empty string
6957 * main.C (main): use sync_with_stdio(false)
6959 * lyxfunc.C (dispatch): adjust
6961 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6962 (WriteAs): remove unneeded BufferView arg.
6964 * bufferparams.h: use correct types on papersize, papersize2 and
6967 * bufferparams.C (readToken): adjust for type
6968 (writeLaTeX): add missing cases to switch.
6970 * bufferlist.C (quitWriteBuffer): adjust
6973 * buffer.C (asciiParagraph): remove some commented code.
6975 * CutAndPaste.C: remove current_view extern variable.
6976 (cutSelection): add BufferParams arg.
6977 (eraseSelection): add BufferParams arg.
6978 (pasteSelection): add Buffer const & arg
6980 2003-06-07 John Levon <levon@movementarian.org>
6983 * paragraph_funcs.C:
6984 * paragraph_pimpl.C:
6988 * paragraph.C: allow InsetERT to freely space lines,
6989 and some consolidation of code
6991 2003-06-06 José Matos <jamatos@fep.up.pt>
6993 * buffer.C (makeDocBookFile): fix bug #821
6995 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6997 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6999 2003-06-04 Angus Leeming <leeming@lyx.org>
7001 * buffer.C: bump format to 224.
7003 2003-06-05 André Pönitz <poenitz@gmx.net>
7005 * text2.C (redoParagraphs): remove two const_cast<>
7007 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7009 * ParagraphList.h: remove last remnants of NO_STD_LIST
7011 2003-06-03 Angus Leeming <leeming@lyx.org>
7013 * factory.C (createInset): small change to the way InsetExternal's params
7016 2003-06-04 André Pönitz <poenitz@gmx.net>
7018 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7020 * paragraph_pimpl.h:
7021 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7023 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7025 * undo_funcs.C: make some simple cases of undo work again
7027 2003-06-03 John Levon <levon@movementarian.org>
7029 * ispell.C: HPUX doesn't have sys/select.h
7032 2003-06-03 John Levon <levon@movementarian.org>
7034 * CutAndPaste.C: update tabular and include inset
7039 * paragraph.C: remove owningBuffer(), don't pass Buffer
7042 * factory.C: insetGraphicsParams changed
7044 2003-06-02 John Levon <levon@movementarian.org>
7050 * text3.C: remove insetparent
7052 2003-06-02 John Levon <levon@movementarian.org>
7055 * buffer.C: fix inset_iterator.end(), move out of line
7058 2003-06-01 John Levon <levon@movementarian.org>
7060 * text3.C: use a proper cut/paste when doing inset
7061 insert (from Jürgen Spitzmüller)
7063 2003-06-01 John Levon <levon@movementarian.org>
7065 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7067 2003-05-30 André Pönitz <poenitz@gmx.net>
7069 * rowpainter.C: unify second drawing phase
7071 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7073 * trans_mgr.C: remove one case of current_view
7075 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7077 * paragraph_funcs.h: remove paragraph.h include
7079 * paragraph.h: delete NO_STD_LIST stuff
7081 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7083 * buffer.h: remove paragraph.h include
7085 * ParagraphList.C: delete file
7087 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7089 * toc.C (getTocList): adjust
7091 * paragraph_pimpl.C (validate): adjust
7093 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7095 * paragraph.C (Paragraph): adjust
7096 (getPositionOfInset): use const_iterator, adjust
7097 (bibitem): use const_iterator, adjust
7098 (setInsetOwner): adjust
7100 * iterators.C (operator++): adjust
7102 * InsetList.[Ch]: Replace selfmade iterator with standard
7103 vector::iterator also introduce const_iterator. Remove getPos,
7104 getInset and setInset from InsetTable. Adjust accordingly.
7106 * BufferView.C (lockInset): adjust
7107 (ChangeInsets): adjust
7109 * tabular.[Ch]: delete commented same_id functions
7111 2003-05-28 John Levon <levon@movementarian.org>
7113 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7115 2003-05-28 André Pönitz <poenitz@gmx.net>
7117 * metricsinfo.[Ch]: remove 'fullredraw' member
7119 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7121 * lyxtextclass.C (operator): remove caching.
7123 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7127 * text2.C (cursorBottom): adjust
7128 (setCounter): use ParagraphList::find, adjust
7130 * text.C (workWidth): use ParagraphList::find, adjust
7132 * lyxcursor.C (LyXCursor): adjust
7134 * buffer.C (inset_iterator): adjust
7136 * ParagraphList.h: make iterator(value_type) private, make
7137 ParagraphList a friend of iterator.
7139 * ParagraphList.C (find): new function
7141 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7143 2003-05-27 André Pönitz <poenitz@gmx.net>
7145 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7147 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7149 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7151 2003-05-26 John Levon <levon@movementarian.org>
7153 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7155 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7157 * remove same_id from function signatures, adjust.
7159 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7161 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7163 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7165 * paragraph.C (Paragraph): get rid of same_ids parameter
7167 * ParagraphList.C (insert): adjust
7170 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7172 * paragraph_funcs.C (breakParagraph): adjust
7173 (breakParagraphConservative): adjust
7175 * buffer.C (readParagraph): adjust
7177 * ParagraphList.C (insert): take a reference instead of a pointer
7180 * paragraph.[Ch] (id): new function
7182 * bufferlist.C (newFile): adjust
7184 * ParagraphList.C (ParagraphList): adjust
7186 (push_back): take a reference instead of a pointer.
7188 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7190 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7193 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7194 set else use old code.
7196 * ParagraphList.C: remove all NO_NEXT code and only compile this
7197 code of NO_STD_LIST is set.
7199 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7201 * BufferView_pimpl.C:
7211 * graphics/GraphicsConverter.C:
7212 * graphics/PreviewLoader.C: header adjustment
7214 2003-05-23 Angus Leeming <leeming@lyx.org>
7216 * LaTeXFeatures.[Ch] (useBabel): new method.
7217 * bufferparams.C (writeLaTeX): use it.
7219 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7221 * ParagraphList.h (set): remove unused function.
7223 2003-05-23 André Pönitz <poenitz@gmx.net>
7226 * BufferView_pimpl.C:
7230 * undo_funcs.C: setUndo reworked
7232 * iterators.[Ch]: add access to topmost ParagraphList
7234 * lyxtext.[Ch] (workWidth): add a const
7236 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7238 * texrow.[Ch] (increasePos): remove function
7239 * exporter.C (export): removed unused var and outdated comment
7241 2003-05-23 Angus Leeming <leeming@lyx.org>
7243 * latexrunparams.h: rename fragile as moving_arg.
7244 * paragraph.C (simpleTeXOnePar): ditto.
7245 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7247 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7249 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7251 (textUndoOrRedo): comment out a currently unused var.
7253 * paragraph.h (NO_NEXT): enable NO_NEXT
7255 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7257 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7259 * exporter.C (Export): adjust for removeAutoInsets removal.
7261 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7263 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7265 * BufferView.[Ch] (removeAutoInsets): delete function
7267 2003-05-22 Angus Leeming <leeming@lyx.org>
7269 * latexrunparams.h: add a free_spacing variable.
7271 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7272 to pass moving_arg, as the data is stored in runparams.fragile.
7274 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7275 to Inset::latexOptional or to simpleTeXOnePar.
7277 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7278 free_spacing arg to Inset::latexOptional.
7280 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7283 2003-05-22 Angus Leeming <leeming@lyx.org>
7285 * latexrunparams.h: add fragile and use_babel variables.
7287 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7288 * buffer.C (makeLaTeXFile): store this returned value in
7289 runparams.use_babel, thus passing it to the inset::latex methods.
7291 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7292 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7294 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7295 longer has a fragile arg, as it is stored in runparams.fragile.
7297 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7298 moving_arg parameter as the data is stored in runparams.fragile.
7300 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7301 a fragile parameter as the data is stored in runparams.fragile.
7303 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7305 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7307 2003-05-22 Angus Leeming <leeming@lyx.org>
7309 * latexrunparams.h: add a 'bool nice' which defaults to false.
7311 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7312 now encapsulated within runparams.
7314 * bufferlist.C (updateIncludedTeXfiles):
7315 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7317 2003-05-22 Angus Leeming <leeming@lyx.org>
7319 * latexrunparams.h: new file containing struct LatexRunParams.
7320 * Makefile.am: add new file.
7322 * LaTeX.[Ch] (c-tor, run):
7323 * buffer.[Ch] (makeLaTeXFile):
7324 * bufferlist.[Ch] (updateIncludedTeXfiles):
7325 * converter.C (convert, scanLog):
7326 * converter.[Ch] (runLaTeX):
7327 * exporter.C (Export):
7328 * paragraph.[Ch] (simpleTeXOnePar):
7329 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7330 * paragraph_funcs.[Ch] (latexParagraphs):
7331 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7332 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7333 pass around a LatexRunParams parameter.
7335 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7337 * paragraph.[Ch]: remove unused constructor
7339 * ParagraphList.C (erase): new function, taking two iterators
7341 2003-05-22 André Pönitz <poenitz@gmx.net>
7343 * undo_funcs.C: remove duplicated code
7345 * iterator.[Ch]: operator=
7347 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7349 * tabular.C (SetMultiColumn): ws changes
7351 * rowpainter.C (paintFirst): get rid of a ->previous
7353 * lyx_cb.C (getPossibleLabel): parlist simplification
7355 * BufferView.C (ChangeInsets): simplify slightly.
7357 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7359 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7360 * lfuns.h: new LFUN_SPACE
7361 * lyxfunc.C: protected space has a new lfun
7362 * paragraph_funcs.C: read new space insets
7364 * factory.C: handle new space insets
7366 2003-05-22 André Pönitz <poenitz@gmx.net>
7369 * BufferView_pimpl.C:
7372 * undo_funcs.C: return a ParIterator from getParFromID.
7374 * iterators.[Ch]: add two const's
7376 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7378 * toc.C (getTocList): adjust
7380 * iterators.[Ch]: rework for parlist
7382 * buffer.C (par_iterator_begin): adjust
7383 (par_iterator_end): adjust
7385 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7387 * BufferView.C (removeAutoInsets): adjust
7388 (ChangeInsets): adjust
7390 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7392 * text.C (top_y): fix bug 1110
7394 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7396 * errorlist.[Ch]: added
7399 * BufferView_pimpl.C:
7400 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7403 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7405 * Makefile.am: ensure that lyx is relinked upon changes to the
7406 various "convenience" libs.
7408 2003-05-20 Angus Leeming <leeming@lyx.org>
7410 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7411 files are compiled in alphabetical order again.
7413 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7415 2003-05-19 Angus Leeming <leeming@lyx.org>
7417 * gettext.[Ch]: remove "char const * _(char const *)".
7419 2003-05-19 André Pönitz <poenitz@gmx.net>
7421 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7430 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7432 2003-05-19 André Pönitz <poenitz@gmx.net>
7436 * lyxtextclass.[Ch]:
7438 * paragraph_funcs.[Ch]:
7440 * text3.C: more insetenv work
7442 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7444 * ParagraphParameters.C (params2string): small bug fixed
7446 2003-05-16 André Pönitz <poenitz@gmx.net>
7449 * bufferview_funcs.C: patch from Kornel Benko to prevent
7450 crash when _(...) is called twice in a statement
7452 2003-05-16 André Pönitz <poenitz@gmx.net>
7459 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7461 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7463 * lyx_main.C (init): remove spurious static_cast
7465 2003-05-14 André Pönitz <poenitz@gmx.net>
7467 * BufferView.C: fix format string
7469 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7471 * BufferView.[Ch] (insertErrors): removed
7472 * BufferView.[Ch] (showErrorList): added
7473 * buffer.C (runChkTeX):
7474 * converter.C (scanLog): call showErrorList instead of inserterrors
7476 2003-05-13 André Pönitz <poenitz@gmx.net>
7478 * BufferView_pimpl.C:
7480 * bufferview_func.C:
7487 * tabular_funcs.h: tostr() from its own header
7489 * ParagraphParameters.C:
7494 * text3.C: STRCONV()
7496 2003-05-12 André Pönitz <poenitz@gmx.net>
7499 * BufferView_pimpl.C:
7503 * ParagraphParameters.C:
7507 * bufferview_funcs.C:
7520 * paragraph_funcs.C:
7524 * text3.C: boost::format -> bformat all over the place
7527 2003-05-09 André Pönitz <poenitz@gmx.net>
7529 * LColor.[Ch]: Pimpl the #include <map> away
7531 2003-05-09 John Levon <levon@movementarian.org>
7533 * bufferlist.C: never remove emergency saves
7535 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7537 * Makefile.am: better lib building
7539 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7541 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7543 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7544 (simpleTeXSpecialChars): adjust
7545 (simpleTeXSpecialChars): adjust
7546 * paragraph.C (simpleTeXOnePar): adjust
7547 * buffer.C (makeLaTeXFile): adjust
7549 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7551 * text2.C (changeDepth): parlist cleanup
7552 (getColumnNearX): ditto
7554 * rowpainter.C (getLabelFont): parlist cleanup
7556 * bufferlist.C (newFile): parlist cleanup
7558 * CutAndPaste.C (eraseSelection): parlist cleanup
7560 * BufferView_pimpl.C (trackChanges): parlist cleanup
7563 * BufferView.C (lockInset): parlist cleanup.
7564 (ChangeInsets): ditto
7566 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7568 * CutAndPaste.h: Update file header.
7570 * CutAndPaste.C: Update file header.
7571 Store the parts cut out of the Document in a limited_stack.
7572 (copySelection): adjust
7573 (pasteSelection): new function, takes the index in the limited stack.
7574 (nrOfParagraphs): adjust
7575 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7576 simplify error inset insertion.
7577 (checkPastePossible): adjust
7579 2003-05-06 John Levon <levon@movementarian.org>
7581 * text2.C: don't cast wrap inset to float
7583 2003-05-05 André Pönitz <poenitz@gmx.net>
7586 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7588 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7589 few naked Paragraph *.
7591 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7593 * bufferparams.C: Output warning if a document with missing
7594 TeX document class is loaded
7595 * exporter.C: Disable TeX exports if the document class is missing
7598 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7599 isTeXClassAvailable()
7601 2003-05-03 John Levon <levon@movementarian.org>
7604 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7605 explicit cursor show/hide
7607 * BufferView_pimpl.h:
7608 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7609 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7611 * lyxfunc.C: hide cursor before dispatching.
7616 * text3.C: remove explicit cursor hides
7618 2003-05-02 André Pönitz <poenitz@gmx.net>
7620 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7623 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7626 * text2.C: tiny whitespace
7628 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7630 * undo_funcs.C: almost only ws changes.
7632 * ParagraphList.C (splice): just return if pl is empty.
7634 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7636 * ParagraphList.C (splice): new function.
7638 * CutAndPaste.C (pasteSelection): use it
7640 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7642 * CutAndPaste.C (pasteSelection): remove the last next and
7643 previous from this file.
7645 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7647 * CutAndPaste.C (pasteSelection): more clean up, user proper
7648 ParagraphList functions for pasteing.
7650 * ParagraphList.C (insert): new function, three arg insert
7652 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7654 * ParagraphList.C (insert): new function, three arg insert
7656 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7659 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7661 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7663 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7665 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7667 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7669 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7670 (copySelection): clean up a bit.
7671 (pasteSelection): use make_pair
7673 * ParagraphList.C (ParagraphList): implement copy constructor
7674 (operator=): implement, base on copy constructor.
7677 * paragraph.C (erase): return a bool
7679 * paragraph_pimpl.C (erasePos): remove function, move contents...
7680 (erase): ... here. Return a bool.
7681 (erase): call erase instead of erasePos.
7683 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7685 * ParagraphList.h: define PitPosPair
7686 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7687 ParagraphList, fix a bug on pasting multiple pars
7688 * text2.C: change interface to C&P
7690 2003-04-30 André Pönitz <poenitz@gmx.net>
7692 * undo_func.C: revert part of yesterday's patch 2
7694 2003-04-30 John Levon <levon@movementarian.org>
7696 * LColor.C: s/tabular/table/
7698 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7700 * text3.C (dispatch): do not convert iterator -> pointer
7701 * undo_funcs.C (setCursorParUndo): ditto
7702 * text_funcs.C (transposeChars): ditto
7704 * text2.C (setLayout): ws changes only
7706 * text.C (breakParagraph): do not convert iterator -> pointer
7708 (acceptChange): ditto
7709 (rejectChange): ditto
7714 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7717 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7719 * text3.C (gotoInset): YABG (yet another bad getChar)
7721 2003-04-29 André Pönitz <poenitz@gmx.net>
7723 * paragraph.h: make operator= private unimplemented as long as
7726 * ParagraphList.C: whitespace
7729 * paragraph_pimpl.[Ch]:
7730 * paragraph_funcs.C:
7732 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7735 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7737 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7739 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7740 * paragraph.[Ch] (erase):
7741 * paragraph_pimpl.[Ch] (erase): change return type and value
7742 * text2.C (cutSelection): some rework
7744 2003-04-28 John Levon <levon@movementarian.org>
7746 * bufferlist.C: changes for unsaved changes dialog
7748 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7750 * bufferlist.C (newFile): set language (messages_) for new
7753 * buffer.C (readFile): ws changes only.
7755 2003-04-28 André Pönitz <poenitz@gmx.net>
7760 * BufferView_pimpl.C:
7761 * BufferView.C: getParFromID related ParagraphList::iterator changes
7763 2003-04-28 André Pönitz <poenitz@gmx.net>
7765 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7768 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7770 * messages.C: remove one more localedir class variable.
7772 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7774 * messages.C (getLocaleDir): singleton generation function
7776 (Messages): add a default constructor.
7778 * main.C (main): do not setup localedir here, do not call
7781 * gettext.C (_): use it.
7782 (gettext_init): delete funciton
7784 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7786 * gettext.C (getLyXMessages): new singleton generating function.
7788 * buffer.C (updateDocLang): adjust
7790 * Makefile.am (messages.o): add target
7791 (main.o): remove target
7793 2003-04-27 John Levon <levon@movementarian.org>
7798 * lyxvc.C: specify cancel button in Alert::prompt
7800 2003-04-26 John Levon <levon@movementarian.org>
7805 * LyXAction.C: add LFUN_INSET_SETTINGS
7807 * lyxfunc.C: don't enable tabular-feature when there's
7808 just any locking inset
7810 2003-04-26 John Levon <levon@movementarian.org>
7812 * bufferlist.C: re-add Cancel to buffer close question
7814 * lyxfunc.C: fix import UI a bit
7816 2003-04-25 John Levon <levon@movementarian.org>
7818 * gettext.C: remove the broken asserts for now
7820 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7822 * messages.C: make case where setlocale cannot comply work better.
7824 * buffer.C (updateDocLang): new function
7825 (changeLanguage): use it
7828 * text2.C (setCounter): use B_ a bit.
7830 * lyxlayout.C (Read): be sure to trim the label strings.
7832 * messages.C (Messages): fix typo in comment
7834 * buffer.C (readFile): set message_ after file is loaded.
7835 (makeDocBookFile): remove double return
7836 (changeLanguage): reset message_ upon language change.
7837 (B_): new func, use this to get translated buffer strings.
7839 * main.C: add myself and Jean Marc as authors.
7841 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7843 * messages.[hC]: pimplify Messages, and three different pimpls to be
7844 used in different circumstances.
7846 * gettext.[Ch]: change for use with new message code.
7848 2003-04-24 André Pönitz <poenitz@gmx.net>
7850 * factory.C: support for eqref
7852 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7854 * messages.[Ch]: add missing char
7856 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7858 * messages.[Ch]: New files
7860 2003-04-18 John Levon <levon@movementarian.org>
7864 * BufferView_pimpl.C:
7868 * text2.C: remove layout-copy/paste (bug 778)
7870 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7872 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7874 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7876 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7877 if they succeed. Act accordingly.
7879 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7881 * text2.C (setCharFont): adjust
7882 (setCounter): adjust
7883 (insertStringAsLines): adjust
7885 * text.C (leftMargin): adjust
7886 (setHeightOfRow): adjust
7888 * rowpainter.C (paintFirst): adjust
7891 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7893 (isFirstInSequence): ditto
7894 (getEndLabel): ditto
7897 * paragraph.C (getParLanguage): comment out some hard stuff.
7899 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7901 (simpleDocBookOnePar): ditto
7902 (makeDocBookFile): use ParagraphList::iterator
7904 * CutAndPaste.C (pasteSelection): adjust
7906 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7908 * text2.C (getFont): adjust
7909 (getLayoutFont): adjust
7910 (getLabelFont): adjust
7912 * paragraph_funcs.C (TeXOnePar): adjust
7914 * buffer.C (simpleLinuxDocOnePar): adjust
7915 (simpleDocBookOnePar): adjust
7917 * CutAndPaste.C (pasteSelection): adjust
7919 * BufferView.C (getEncoding): adjust
7921 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7923 2003-04-16 John Levon <levon@movementarian.org>
7925 * lyxfind.C: use parlist stuff for search/changes
7927 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7929 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7931 * text2.C (deleteEmptyParagraphMechanism): adjust
7933 * text2.[Ch] (ownerParagraph): delete func (both of them
7935 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7937 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7939 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7941 * ParagraphList.C: prepare for NO_NEXT
7943 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7945 * text2.C (getFont): adjust
7946 (getLayoutFont): adjust
7947 (getLabelFont): adjust
7949 * paragraph.C (getFont): adjust
7950 (getLabelFont): adjust
7951 (getLayoutFont): adjust
7953 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7955 2003-04-15 John Levon <levon@movementarian.org>
7959 * lyx_main.C: handle Include in .ui files
7961 2003-04-15 John Levon <levon@movementarian.org>
7963 * MenuBackend.C: make the doc files length shorter
7966 * ToolbarBackend.C: handle toolbar placement flags,
7969 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7971 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7974 * paragraph_funcs.C (TeXOnePar): adjust
7976 * paragraph.C (getLabelFont): add outerfont arg, adjust
7977 (getLayoutFont): ditto
7978 (simpleTeXOnePar): adjust
7980 * paragraph_pimpl.C (realizeFont): delete func
7982 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7984 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7985 row argument, constify cur argument.
7987 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7989 * text2.C (getFont): adjust
7990 (getLayoutFont): adjust
7991 (getLabelFont): adjust
7993 * paragraph_funcs.C (TeXOnePar): adjust
7994 (outerFont): new func...
7995 (realizeFont): ...moved out from here, changed this to facilitate
7998 * paragraph.C (getFont): take outerfont as arg, adjust
7999 (simpleTeXOnePar): add outerfont arg, adjust
8001 * buffer.C (simpleLinuxDocOnePar): adjust
8002 (simpleDocBookOnePar): adjust
8004 * CutAndPaste.C (pasteSelection): adjust
8006 * BufferView.C (getEncoding): adjust
8008 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8010 * text2.C (setCharFont): adjust
8011 (setCounter): adjust
8013 * text.C (leftMargin): adjust
8014 (setHeightOfRow): adjust
8016 * rowpainter.C (paintFirst): adjust
8019 * paragraph_pimpl.C (realizeFont): adjust
8021 * paragraph.C (isFirstInSequence): move from here...
8022 * paragraph_funcs.C (isFirstInSequence): ...to here
8024 * paragraph.C (outerHook): move from here...
8025 * paragraph_funcs.C (outerHook): ...to here
8027 * paragraph.C (depthHook): move from here...
8028 * paragraph_funcs.C (depthHook): ...to here
8030 * paragraph.C (getEndLabel): move from here...
8031 * paragraph_funcs.C (getEndLabel): ...to here
8033 * text2.C (realizeFont): move from here...
8034 * paragraph_funcs.C (realizeFont): ...to here
8036 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8038 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8040 2003-04-14 Angus Leeming <leeming@lyx.org>
8042 * LColor.[Ch]: scrap LColor mathcursor.
8044 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8046 * lyxlex.[Ch] (text): delete function
8047 * trans.C (Load): adjust
8048 * paragraph_funcs.C (readParToken): adjust
8050 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8052 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8053 vector<char> instead of a char[].
8055 * lyxlex_pimpl.C (getString): adjust
8057 (lex): use getString
8061 * lyxlex.C (text): use pimpl_->getString()
8065 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8067 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8068 (makeFontEntriesLayoutSpecific): temp var for par.size()
8069 (setLayout): temp var for ownerParagraphs().end()
8070 (fullRebreak): temp var for rows().end()
8071 (selectionAsString): temp var for boost::next(startpit), realize
8072 that the while really is a regular for loop.
8073 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8074 setCursor in one place.
8075 (setParagraph): temp vr for ownerParagraphs().end()
8076 (updateCounters): make the while loop a for loop
8077 (cutSelection): temp var for ownerParagraphs().end()
8078 (updateInset): make the do {} while() a regular for loop
8079 (getCursorX): use temp vars
8080 (setCurrentFont): use temp vars
8081 (getColumnNearX): use temp vars
8083 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8085 * text.C (transformChar): use temp var for getChar
8086 (computeBidiTables): use temp var for row->par()
8087 (fill): move temp vars for row->par() and pit->layout() earlier in
8089 (labelFill): use temp var for row->par()
8090 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8091 asc and desc, realize that pit never changes and that firstpit is
8092 just a duplicate and not needed. Exchange rit->par() with pit in a
8094 (breakAgain): use a temp var for boost::next(rit)
8095 (breakAgainOneRow): ditto
8096 (breakParagraph): use a temp var for rows().begin()
8097 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8098 (cursorRightOneWord): use temp var for cursor.par() and
8099 cursor.pos(), remove usage of tmpcursor.
8100 (cursorLeftOneWord): use temp var for cursor.par() and
8101 cursor.pos() only set cur at end of function.
8103 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8105 * text.C, text2.C: exchange all usage of Paragraph::next with
8106 boost::next(ParagraphList::iterator)
8108 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8110 * text2.C (cursorTop): simplify implementation
8111 (cursorBottom): ditto
8112 (setParagraph): use ParagraphList::iterator
8113 (setCurrentFont): adjust
8114 (getColumnNearX): adjust
8115 (cursorRight): adjust
8116 (cursorLeft): remove usage of Paragraph::previous
8117 (cursorUpParagraph): ditto
8118 (deleteEmptyParagraphMechanism): slight cleanup
8120 * text.C (isBoundary): take a Paragraph const & instead of a
8122 (addressBreakPoint): ditto
8123 (leftMargin): remove usage of Paragraph::previous.
8124 (setHeightOfRow): ditto
8125 (cursorLeftOneWord): ditto
8126 (selectNextWordToSpellcheck): ditto
8129 (breakParagraph): remove one usage of Paragraph::next
8130 (redoParagraph): ditto
8131 (acceptChange): ditto
8132 (insertChar): adjust
8133 (rowBreakPoint): adjust
8135 * bufferview_funcs.C (toggleAndShow): adjust
8137 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8139 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8140 methods to access it.
8142 * text.C: Added updateRowPositions to compute all row positions.
8143 Make top_y and getRowNearY() to use the cached y position
8145 2003-04-11 John Levon <levon@movementarian.org>
8147 * text.C (rowBreakPoint): reintroduce the labelEnd
8148 checks, code copied from the row fill stuff. Deep voodoo.
8150 * text.C (fill): add a comment and debugging for the
8153 2003-04-11 John Levon <levon@movementarian.org>
8155 * text.C: make sure fullrow insets get wrapped to the next line,
8156 even when they're in a manual label
8158 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8160 * text2.C (insertParagraph): make it take ParagraphList::iterator
8162 (setLayout): make it return ParagraphList::iterator
8163 (redoParagraphs): ditto
8165 (checkParagraph): ditto
8167 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8169 * text2.C: adjust several funcs.
8170 (realizeFont): take a ParagraphList::iterator as arg.
8171 (getLayoutFont): ditto
8172 (getLabelFont): ditto
8173 (setCharFont): ditto
8175 * text.C: adjust several funcs.
8177 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8179 * text.C (selectNextWordToSpellcheck): don't accidentally
8182 2003-04-10 John Levon <levon@movementarian.org>
8184 * ToolbarBackend.C (getIcon): special handling for
8187 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8189 * text2.C (cursorRight): a getChar assert fixed
8191 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8193 * text2.C (getFont): change to take a ParagraphList::iterator
8194 instead of Paragraph*
8195 Adjust several functions.
8197 * text.C (transformChar): change to take a ParagraphList::iterator
8198 instead of Paragraph*
8199 (singleWidth): ditto
8200 Adjust several functions.
8202 * rowpainter.C: adjust several functions
8203 * rowpainter.h:store a ParagraphList::iterator and not a
8207 2003-04-09 John Levon <levon@movementarian.org>
8212 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8213 and the "help" bits as well
8215 2003-04-09 John Levon <levon@movementarian.org>
8218 * ToolbarBackend.C: allow multiple toolbars
8220 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8222 * undo_funcs.C (setCursorParUndo): adjust
8224 * text_funcs.C (transposeChars): adjust
8226 * text3.C (gotoNextInset): adjust
8229 * text2.C (setLayout): adjust
8230 (changeDepth): adjust
8232 (redoParagraphs): adjust
8233 (selectionAsString): adjust
8234 (setParagraph): adjust
8235 (insertInset): adjust
8236 (cutSelection): adjust
8237 (copySelection): adjust
8238 (pasteSelection): adjust
8239 (insertStringAsLines): adjust
8240 (updateInset): adjust
8241 (setCursor): change to take a ParagraphList::iterator parameter
8242 (setCursorIntern): change to take a ParagraphList::iterator parameter
8243 (setCurrentFont): adjust
8244 (cursorLeft): adjust
8245 (cursorRight): adjust
8246 (deleteEmptyParagraphMechanism): adjust
8248 * text.C (breakParagraph): adjust
8249 (insertChar): adjust
8250 (acceptChange): adjust
8251 (rejectChange): adjust
8252 (selectNextWordToSpellcheck): adjust
8253 (changeCase): adjust
8257 * lyxfind.C (SearchForward): adjust
8258 (SearchBackward): adjust
8259 (nextChange): adjust
8261 * lyxcursor.C (par): adjust
8263 * lyxcursor.h: store a ParagraphList::iterator instead of a
8266 * lyx_cb.C (getPossibleLabel): adjust
8268 * bufferview_funcs.C (toggleAndShow): adjust
8270 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8273 * BufferView.C (removeAutoInsets): adjust
8274 (lockedInsetStoreUndo): adjust
8276 2003-04-09 John Levon <levon@movementarian.org>
8278 * ToolbarBackend.C: try icon without argument
8279 if with argument fails
8281 2003-04-08 John Levon <levon@movementarian.org>
8284 * ToolbarBackend.C: add getIcon(), handle tooltip,
8285 and change from "Icon" to "Item".
8287 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8289 * BufferView.C (lockInset): another bad getchar crunched
8291 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8293 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8296 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8298 * lyxfind.C (searchForward, searchBackwards): bug 782
8300 2003-04-07 John Levon <levon@movementarian.org>
8302 * paragraph.C: remove dead comment
8304 * text.C: remove troublesome depth-fiddling code
8305 in leftMargin() and rightMargin() (bug 1017)
8307 * text.C: fix breaking of rows in nested lists
8310 * text2.C (updateCounters): fix up depth values
8313 2003-04-07 John Levon <levon@movementarian.org>
8315 * BufferView_pimpl.C: clear message when doc finishes resizing,
8316 and after a mouse event
8318 * lyxfunc.C: clear message after exiting inset
8320 2003-04-07 John Levon <levon@movementarian.org>
8322 * bufferview_funcs.C: show math status not outside
8323 status in the statusbar
8325 2003-04-07 John Levon <levon@movementarian.org>
8327 * lyxfunc.C: note status changed after a depth change
8329 2003-04-04 Angus Leeming <leeming@lyx.org>
8331 * LaTeX.h: move AuxInfo operator==, != out of line.
8332 Remove LaTeX virtual destructor; nothing derives from it.
8333 Move operator()() out of public area and rename it startscript().
8334 Change protected for private.
8336 2003-04-04 Angus Leeming <leeming@lyx.org>
8339 * text2.C: remove unneeded #includes.
8341 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8343 * text2.C (dEPM): fix the heigth of the next row
8345 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8347 * text.C: squashed an invalid getChar requester + some ws changes
8349 2003-04-03 John Levon <levon@movementarian.org>
8351 * bufferview_funcs.h:
8352 * bufferview_funcs.C:
8355 * text2.C: make getStatus work for the env depth lfuns
8357 2003-04-03 John Levon <levon@movementarian.org>
8359 * bufferview_funcs.h:
8360 * bufferview_funcs.C:
8363 * text2.C: parlistize decDepth(), by merging it with incDepth()
8365 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8367 * lyxrow.h: store a ParagraphList::iterator instead of a
8368 Paragraph* and adjust other class functions to suit.
8370 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8373 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8375 * text2.C (setCursor): do not anchor to cursor row for the time being
8377 2003-04-02 John Levon <levon@movementarian.org>
8384 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8386 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8388 * paragraph.h: make ParagraphList and ParagraphList::iterator
8389 friends of Paragraph.
8391 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8393 * ParagraphList.C: Use the private next_ and previous_ from
8396 2003-04-01 John Levon <levon@movementarian.org>
8400 * Makefile.am: rename, remove defaults gunk
8403 * MenuBackend.C: remove defaults gunk
8406 * Languages.C: remove defaults gunk
8409 * lyx_main.C: error out if files couldn't be found.
8411 2003-04-02 John Levon <levon@movementarian.org>
8413 * text2.C: make incDepth() use parlist
8415 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8417 * undo_funcs.C (firstUndoParagraph): adjust
8419 * text3.C (gotoInset): adjust
8420 (dispatch): adjust, and rewrite loop.
8422 * text2.C (init): adjust, and rewrite loop.
8423 (redoParagraphs): adjust
8424 (updateInset): adjust, and rewrite loop.
8425 (deleteEmptyParagraphMechanism): adjust
8427 * tabular.C (LyXTabular): adjust
8428 (SetMultiColumn): adjust
8431 * lyxtext.[Ch] (ownerParagraph): delete function
8432 (ownerParagraphs): new function returns a ParagraphList.
8434 * BufferView.C (removeAutoInsets): adjust
8435 (insertErrors): adjust
8436 (setCursorFromRow): adjust
8438 2003-04-01 Angus Leeming <leeming@lyx.org>
8440 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8443 2003-04-02 John Levon <levon@movementarian.org>
8449 * text_funcs.C: make transposeChars a free function
8451 * lyxrow_funcs.C: remove wrong comment
8453 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8456 * rowpainter.C: adjust
8461 * lyxrow_funcs. [Ch]: new files
8463 * lyxrow.[Ch]: remove next and previous pointers
8464 (next,previous): remove accessor functions
8465 (isParEnd): move to lyxrow_funcs
8466 (lastPos): move to lyxrow_funcs
8467 (nextRowIsAllInset): move to lyxrow_funcs
8468 (lastPrintablePos): move to lyxrow_funcs
8469 (numberOfSeparators): move to lyxrow_funcs
8470 (numberOfHfills): move to lyxrow_funcs
8471 (numberOfLabelHfills): move to lyxrow_funcs
8472 (hfillExpansion): move to lyxrow_funcs
8476 * bufferview_funcs.C (toggleAndShow): adjust
8478 * RowList.h: Remove class RowList from file leave just a
8481 * RowList.C: delete file
8483 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8486 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8488 * text3.C (cursorPrevious): adjust
8489 (cursorNext): adjust
8492 * text2.C (redoHeightOfParagraph): adjust
8493 (redoDrawingOfParagraph): adjust
8496 * text.C (breakParagraph): adjust
8497 (insertChar): adjust
8500 * rowpainter.C (RowPainter): adjust
8501 (leftMargin): simplify and adjust
8502 (most rowpainter functions): adjust.
8504 * rowpainter.h: store the row as RowList::iterator not as Row*
8506 * lyxcursor.C (row): taka RowList::iterator as arg
8509 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8512 2003-04-01 Angus Leeming <leeming@lyx.org>
8514 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8515 stuff like bool Bool.
8517 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8519 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8522 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8524 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8527 * lyxtext.h (rows): drop one version and leve a const variant that
8528 returns a RowList::iterator.
8530 2003-03-31 Angus Leeming <leeming@lyx.org>
8532 * text.C (fill): ensure that the signature is the same as that in the
8535 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8537 * text2.C (redoParagraphs): adjust
8538 (updateCounters): adjust
8539 (checkParagraph): adjust
8540 (getColumnNearX): adjust and reformat a bit.
8542 * text.C (top_y): adjust
8544 (leftMargin): adjust
8545 (prepareToPrint): adjust
8547 (getRowNearY): adjust
8549 * lyxtext.h: make rowlist_ mutable.
8551 * RowList.h: add const_iterator
8552 * RowList.C: adjust for RowList::const_iterator.
8554 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8557 2003-03-31 John Levon <levon@movementarian.org>
8560 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8562 * lyx_main.C: set default fonts from using lyx_gui funcs
8564 * exporter.C: pdf_mode moved from lyxrc
8567 * lyxfunc.C: changes from above
8569 2003-03-31 John Levon <levon@movementarian.org>
8571 * lyx_main.C: fix to the last fix
8573 2003-03-31 John Levon <levon@movementarian.org>
8575 * bufferlist.C: "Load original" -> "Load Original"
8581 * format.C: more Alert cleanups
8583 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8585 * text2.C (removeParagraph): make it take a RowList::iterator as
8587 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8588 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8590 * text.C (anchor_row): make it take a RowList::iterator as arg,
8592 (computeBidiTables): make it take a const reference to Row instead
8593 of Row pointer, adjust.
8594 (leftMargin): make it take a RowList::iterator as arg, adjust.
8595 (rowBreakPoint): adjust
8596 (breakAgainOneRow): make it take a RowList::iterator as arg,
8598 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8600 * bufferview_funcs.C (toggleAndShow): adjust
8602 2003-03-30 John Levon <levon@movementarian.org>
8606 * boost-inst.C: moved to support
8608 * several files: changes as a result
8610 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8612 * text2.C (LyXText): adjust.
8614 (removeRow): make it take a RowList::iterator as arg, adjust.
8615 (fullRebreak): adjust
8616 (deleteEmptyParagraphMechanism): adjust
8617 (clearPaint): adjust
8620 * text.C (top_y): adjust
8621 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8622 (breakAgain): make it take a RowList::iterator as arg, adjust.
8623 (breakParagraph): adjust
8624 (insertChar): adjust
8627 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8628 need_break_row, and refresh_row.
8630 * text3.C (dispatch): adjust
8632 * text2.C (checkParagraph): adjust
8634 (setCursorFromCoordinates): adjust
8636 * text.C (top_y): adjust
8638 (getRow): make it return a RowList::iterator, adjust
8639 (getRowNearY): make it return a RowList::iterator, adjust
8641 * text2.C (init): adjust
8642 (insertRow): remove function
8643 (insertParagraph): adjust
8644 (redoParagraphs): adjust
8645 (fullRebreak): adjust
8646 (updateCounters): adjust
8648 * text.C (top_y): rewrite to use RowList iterators.
8650 (setHeightOfRow): rewrite to sue RowList iterators.
8651 (appendParagraph): adjust
8652 (breakAgain): adjust
8653 (breakAgainOneRow): adjust
8654 (breakParagraph): adjust
8656 (getRowNearY): adjust, and remove commented code.
8658 * lyxtext.h (firstRow): delete function
8659 (lastRow): delete function
8660 (rows): new function (const and non-const versions.)
8661 (insertRow): delete function
8663 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8665 2003-03-29 John Levon <levon@movementarian.org>
8667 * BufferView_pimpl.C: always update scrollbar top
8668 because pasting text when we're anchored could mean we
8669 miss an update altogether
8671 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8673 * text2.C (init): use rowlist_.end() and not 0.
8674 (insertRow): change to take a RowList::iterator as arg, adjust
8676 (insertParagraph): change to take a RowList::iterator as arg,
8678 (redoParagraphs): remove some debug msgs.
8680 * text.C (appendParagraph): change to take a RowList::iterator
8681 arg, adjust for this.
8682 (breakAgain): add an assert
8683 (breakAgainOneRow): ditto
8685 2003-03-29 John Levon <levon@movementarian.org>
8687 * text2.C: do not clear selection after inc/decDepth
8690 2003-03-29 John Levon <levon@movementarian.org>
8693 * buffer.C: fix broken strerrors according to Lars
8695 2003-03-29 John Levon <levon@movementarian.org>
8697 * converters.C: more Alert cleanups
8699 2003-03-29 John Levon <levon@movementarian.org>
8701 * bufferview_funcs.C: remove pointless Alert
8703 * buffer.C: fix confusing error message when
8704 a template is chmoded 000
8706 2003-03-29 John Levon <levon@movementarian.org>
8710 * BufferView_pimpl.C: Alert fixes
8714 * tabular-old.C: remove unused table compat reading
8716 2003-03-29 John Levon <levon@movementarian.org>
8721 * lyx_cb.C: more Alert cleanups
8723 * lyxfunc.C: don't allow chktex if not latex document
8725 2003-03-29 John Levon <levon@movementarian.org>
8729 * buffer.C: warnings pushed down from support/,
8732 2003-03-29 John Levon <levon@movementarian.org>
8734 * lyxfunc.C: safety check for C-r (revert)
8736 2003-03-29 John Levon <levon@movementarian.org>
8739 * bufferlist.C: several UI fixes using Alert::prompt.
8740 Fix the pointless looping quit code. Fix stupid revert
8745 * lyx_cb.C: use Alert::prompt
8747 * lyx_main.C: remove a silly question
8749 * lyxfunc.C: remove a couple of silly questions,
8752 2003-03-28 John Levon <levon@movementarian.org>
8754 * text2.C: fix bug 974 (End on empty par)
8756 2003-03-28 John Levon <levon@movementarian.org>
8758 * BufferView_pimpl.C:
8760 * lfuns.h: remove do-nothing math greek lfuns
8762 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8764 * lyxgluelength.h (isValidGlueLength): add default arg on
8765 parameter 2. Remove default arg from friend in class.
8767 * lyxlength.h (isValidLength): add default arg on parameter 2.
8768 Remove default arg from friend in class.
8770 * text2.C (LyXText): adjust, initialize refresh_row.
8774 (insertParagraph): adjst
8775 (redoParagraphs): adjust
8776 (fullRebreak): adjust
8777 (updateCounters): adjust
8778 (deleteEmptyParagraphMechanism): first attempt at fixing a
8781 * text.C (top_y): adjust
8782 (setHeightOfRow): adjust
8784 (getRowNearY): adjust
8786 * lyxtext.h: include RowList.h
8787 (~LyXText): not needed anymore, deleted.
8788 (firstRow): modify for RowList
8789 (lastRow): new function
8790 Delete firstrow and lastrow class variables, add a Rowlist
8791 rowlist_ class variable.
8793 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8796 * RowList.C (insert): fix case where it == begin().
8798 2003-03-26 Angus Leeming <leeming@lyx.org>
8800 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8801 the thesaurus dialog.
8803 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8805 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8807 * RowList.[Ch]: new files
8809 * ParagraphList.C (erase): handle the case where it == begin
8812 2003-03-25 John Levon <levon@movementarian.org>
8816 * aspell.C: add new aspell support
8819 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8822 2003-03-25 Angus Leeming <leeming@lyx.org>
8825 * LyXAction.C (init): new LFUN_INSET_INSERT.
8827 * BufferView_pimpl.C (dispatch): split out part of the
8828 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8830 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8833 2003-03-25 Angus Leeming <leeming@lyx.org>
8835 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8837 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8840 * text3.C: remove useless row->height(0)
8842 2003-03-25 John Levon <levon@movementarian.org>
8846 * text3.C: rename the refreshing stuff to better names
8848 2003-03-24 John Levon <levon@movementarian.org>
8850 * BufferView_pimpl.h:
8851 * BufferView_pimpl.C: update layout choice on a mouse
8854 2003-03-23 John Levon <levon@movementarian.org>
8856 * Makefile.am: fix commandtags.h reference
8858 2003-03-22 John Levon <levon@movementarian.org>
8860 * BufferView_pimpl.C:
8865 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8867 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8870 * text.C: take the rtl methods out of line
8872 2003-03-21 André Pönitz <poenitz@gmx.net>
8874 * metricsinfo.[Ch]: new files containing structures to be passed around
8875 during the two-phase-drawing...
8877 2003-03-21 André Pönitz <poenitz@gmx.net>
8879 * lyxtextclass.C: read 'environment' tag.
8881 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8883 * text2.C (removeRow): fix bug 964
8885 2003-03-20 John Levon <levon@movementarian.org>
8889 * text2.C: paint cleanups. Inset::update() dropped font
8892 2003-03-19 John Levon <levon@movementarian.org>
8894 * lyxfunc.C: only fitcursor/markDirty if available()
8896 2003-03-19 John Levon <levon@movementarian.org>
8898 * commandtags.h: rename to ...
8900 * lfuns.h: ... this, and renumber / cleanup
8902 2003-03-19 John Levon <levon@movementarian.org>
8904 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8905 fit the cursor after an lfun
8909 * BufferView_pimpl.h:
8910 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8912 * LyXAction.C: layout-character should have ReadOnly
8914 * ParagraphParameters.C:
8916 * bufferview_funcs.C:
8923 * undo_funcs.C: changes from above
8925 2003-03-18 John Levon <levon@movementarian.org>
8927 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8928 remove it from update()
8930 * lyxfunc.C: update layout choice after an lfun
8932 * text3.C: remove extra updateLayoutChoice()s
8934 2003-03-18 John Levon <levon@movementarian.org>
8936 * text.C: top_y change means full repaint, fix
8937 a drawing bug with cursor movement
8939 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8943 * text2.C: anchor row on setCursor
8945 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8947 * lyxtext.h: remove almost all mutable keywords
8950 * text3.C: remove const keywords accordingly
8952 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8954 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8956 (TeXEnvironment): ditto
8959 2003-03-17 John Levon <levon@movementarian.org>
8961 * text.C (rowBreakPoint): remove attempt to fix displayed
8962 math insets inside a manual label
8964 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8966 * lyxtext.h: remove BufferView* as first arg from almost all class
8968 * other files: adjust.
8970 2003-03-17 John Levon <levon@movementarian.org>
8974 * text2.C: more paint cleanups
8976 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8979 * rowpainter.C: remove "smart" background painting code
8981 2003-03-16 John Levon <levon@movementarian.org>
8986 * text3.C: add helper functions for setting refresh_row/y
8988 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8990 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8991 newline inset which *can* get inserted in the pass_thru layouts.
8992 This is primarily for literate documents.
8994 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8996 * buffer.C: increment LYX_FORMAT to 223
8998 2003-03-14 André Pönitz <poenitz@gmx.net>
9000 * textclass.h: prepare for environment handling, ws changes
9001 * lyxlayout.C: read latexheader and latexfooter tags
9003 2003-03-14 John Levon <levon@movementarian.org>
9005 * text2.C: rewrite ::status() a bit
9007 2003-03-13 John Levon <levon@movementarian.org>
9009 * lyxtext.h: add some docs
9011 2003-03-13 John Levon <levon@movementarian.org>
9016 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9018 2003-03-13 John Levon <levon@movementarian.org>
9020 * text3.C: fix appendix redrawing
9022 2003-03-13 John Levon <levon@movementarian.org>
9024 * text.C (setHeightOfRow):
9026 * rowpainter.C: make appendix mark have the text
9027 "Appendix" so the user knows what it is
9030 * LColor.C: s/appendixline/appendix/ from above
9032 2003-03-13 John Levon <levon@movementarian.org>
9034 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9036 * text.C: fix a getChar(pos) bug properly
9038 2003-03-13 Angus Leeming <leeming@lyx.org>
9041 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9042 Probably only temporary. Let's see how things pan out.
9044 * BufferView.C (unlockInset):
9045 * BufferView_pimpl.C (fitCursor):
9046 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9048 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9049 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9051 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9052 new functions that convert ParagraphParameters to and from a string.
9054 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9055 BufferView::Pimpl's dispatch.
9056 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9058 2003-03-13 André Pönitz <poenitz@gmx.net>
9062 * factory.C: make it aware of InsetEnv
9064 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9066 * text2.C (setCursor): never ask for one past last
9067 (setCursor): add some debugging messages.
9069 * text.C (singleWidth): never ask for one past last
9070 (singleWidth): ditto
9072 (rightMargin): ditto
9073 (rowBreakPoint): ditto
9074 (setHeightOfRow): ditto
9075 (prepareToPrint): ditto
9077 * rowpainter.C (paintBackground): never ask for one past last
9078 (paintText): never ask for one past last
9080 * paragraph_pimpl.C (getChar): make the assert stricter, never
9081 allow the one past last pos to be taken
9083 * paragraph.C (getChar): ws changes only
9085 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9086 (numberOfSeparators): ditto
9087 (numberOfHfills): ditto
9089 2003-03-12 John Levon <levon@movementarian.org>
9095 * paragraph_funcs.C: fix per-buffer authorlists
9097 2003-03-12 John Levon <levon@movementarian.org>
9099 * text.C: fix newline in right address
9101 2003-03-12 Angus Leeming <leeming@lyx.org>
9103 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9104 duplicate those in LyXFunc::dispatch.
9108 * ToolbarDefaults.C:
9109 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9110 Add LFUN_FONTFREE_UPDATE.
9112 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9113 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9115 * bufferview_func.[Ch]: several new functions to facilliate
9116 transfer of data to and from the character dialog.
9118 2003-03-12 John Levon <levon@movementarian.org>
9123 * paragraph_funcs.C:
9124 * paragraph_pimpl.C:
9128 * text3.C: remove META_NEWLINE in favour of an inset
9131 * rowpainter.C: remove paintNewline (done by inset)
9133 2003-03-12 John Levon <levon@movementarian.org>
9135 * paragraph_pimpl.C: complain about bad getChar()s
9136 for a while at least
9138 2003-03-12 John Levon <levon@movementarian.org>
9141 * buffer.C: move paragraph read into a separate function,
9142 a little renaming to reflect that.
9145 * bufferparams.C: remove the author_ids map, not necessary now
9148 * factory.C: moved Buffer::readInset to here
9150 * paragraph_funcs.h:
9151 * paragraph_funcs.C: readParagraph free function moved from
9154 * tabular.C: name change
9156 2003-03-12 John Levon <levon@movementarian.org>
9159 * ParagraphParameters.C: move par params input to
9162 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9163 behave like a normal read from the stream wrt reading
9164 a line vs. a \\token
9166 2003-03-12 John Levon <levon@movementarian.org>
9169 * ParagraphParameters.h:
9170 * ParagraphParameters.C: move output code to a
9173 2003-03-12 John Levon <levon@movementarian.org>
9175 * BufferView.C (insertLyXFile):
9178 * tabular.C: use a parlist iterator for creating the
9181 2003-03-12 John Levon <levon@movementarian.org>
9183 * buffer.C: make current_change static local not
9186 2003-03-12 John Levon <levon@movementarian.org>
9188 * buffer.C: fix insertStringAsLines for change tracking
9190 2003-03-12 John Levon <levon@movementarian.org>
9197 * bufferparams.C: move author list into params. Rename some
9198 functions. Move the header reading into a separate token
9199 loop. Move the header token reading into BufferParams.
9201 2003-03-12 John Levon <levon@movementarian.org>
9203 * changes.C: put debug inside lyxerr.debugging() checks
9205 2003-03-11 André Pönitz <poenitz@gmx.net>
9207 * factory.C: make it aware of InsetHFill
9209 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9211 * buffer.C (latexParagraphs): move function from here...
9212 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9215 2003-03-10 Angus Leeming <leeming@lyx.org>
9217 * LyXAction.C (init): fix bug in poplating array with multiple entries
9218 with the same LFUN (spotted by JMarc).
9220 2003-03-10 John Levon <levon@movementarian.org>
9223 * text2.C: move getColumnNearX() near its
9226 2003-03-10 John Levon <levon@movementarian.org>
9228 * text.C: fix break before a minipage
9230 2003-03-10 John Levon <levon@movementarian.org>
9232 * text.C: fix the last commit
9234 2003-03-09 John Levon <levon@movementarian.org>
9238 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9239 bug 365 (don't break before insets unless needed). Don't
9240 return a value > last under any circumstances.
9242 2003-03-09 Angus Leeming <leeming@lyx.org>
9244 * BufferView_pimpl.C (trackChanges, dispatch): call
9245 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9247 2003-03-09 Angus Leeming <leeming@lyx.org>
9249 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9250 than Dialogs::showAboutlyx().
9252 2003-03-09 Angus Leeming <leeming@lyx.org>
9254 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9255 than Dialogs::showTabularCreate().
9257 2003-03-09 John Levon <levon@movementarian.org>
9261 * text2.C: 3rd arg to nextBreakPoint was always the same.
9264 2003-03-08 John Levon <levon@movementarian.org>
9271 * text2.C: Remove the "main" bit from the "main body"
9274 2003-03-08 John Levon <levon@movementarian.org>
9276 * text.C (leftMargin): The left margin of an empty
9277 manual label paragraph should not include the label width
9280 * text.C (prepareToPrint): don't attempt to measure hfills
9281 for empty manual label paragraphs - the answer should be 0
9283 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9285 * CutAndPaste.C: remove commented code and reindent.
9287 2003-03-08 John Levon <levon@movementarian.org>
9290 * lyxfunc.C: move reloadBuffer()
9293 * BufferView.C: to here
9295 * lyxvc.C: add comment
9298 * vc-backend.C: call bv->reload() to avoid
9299 getStatus() check on MENURELOAD
9301 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9303 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9304 to an old format .dep file.
9306 2003-03-07 Angus Leeming <leeming@lyx.org>
9308 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9309 when the LFUN_MOUSE_RELEASE should have been handled by
9310 inset->localDispatch.
9312 2003-03-07 Angus Leeming <leeming@lyx.org>
9314 * BufferView_pimpl.C (dispatch):
9315 * LyXAction.C (init):
9316 * ToolbarDefaults.C (init):
9318 * lyxfunc.C (getStatus):
9319 remove LFUN_INSET_GRAPHICS.
9321 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9323 2003-03-07 Angus Leeming <leeming@lyx.org>
9326 * LyXAction.C (init):
9327 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9329 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9332 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9334 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9335 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9337 2003-03-07 Angus Leeming <leeming@lyx.org>
9339 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9342 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9344 * ParagraphList.C (front): new function
9347 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9349 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9350 and top_row_offset_. removed var first_y.
9352 * text2.C (LyXText, removeRow):
9354 * BufferView_pimpl.C:
9355 use these methods instead of using first_y
9357 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9359 * text2.C (pasteSelection): adjust for checkPastePossible
9361 * CutAndPaste.C: remove Paragraph * buf and replace with
9362 ParagraphList paragraphs.
9363 (DeleteBuffer): delete
9364 (cutSelection): change the tc type to textclass_type
9365 (copySelection): change the tc type to textclass_type
9366 (copySelection): adjust for ParagraphList
9367 (pasteSelection): change the tc type to textclass_type
9368 (pasteSelection): adjust for Paragraphlist
9369 (nrOfParagraphs): simplify for ParagraphList
9370 (checkPastePossible): simplify for ParagraphList
9371 (checkPastePossible): remove unused arg
9373 * ParagraphList.C (insert): handle the case where there are no
9376 * CutAndPaste.h: make CutAndPaste a namespace.
9378 * text3.C (dispatch): adjust
9380 * text.C (breakParagraph): add a ParagraphList as arg
9382 * paragraph_funcs.C (breakParagraph): change to take a
9383 BufferParams and a ParagraphList as args.
9384 (breakParagraphConservative): ditto
9385 (mergeParagraph): ditto
9386 (TeXDeeper): add a ParagraphList arg
9387 (TeXEnvironment): ditto
9390 * buffer.C (readLyXformat2): adjust
9391 (insertStringAsLines): adjust
9392 (latexParagraphs): adjust
9394 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9395 (cutSelection): adjust
9396 (pasteSelection): adjust
9398 * BufferView_pimpl.C (insertInset): adjust
9400 2003-03-05 Angus Leeming <leeming@lyx.org>
9403 * LyXAction.C (init):
9404 * BufferView_pimpl.C (dispatch):
9405 * lyxfunc.C (getStatus):
9406 remove LFUN_CHILD_INSERT.
9408 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9410 2003-03-05 Angus Leeming <leeming@lyx.org>
9413 * LyXAction.C (init):
9414 * src/factory.C (createInset):
9415 * lyxfunc.C (getStatus):
9416 * text3.C (dispatch):
9417 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9419 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9421 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9423 * ParagraphList.C (insert): handle insert right before end()
9424 (erase): fix cases where it can be first or last paragraph.
9426 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9428 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9429 Paragraph::next and Paragraph::previous
9432 * text.C (breakParagraph): adjust
9434 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9435 BufferParams& as arg.
9436 (breakParagraph): use ParagraphList::insert
9437 (breakParagraphConservative): take a Buffer* instead of a
9438 BufferParams& as arg.
9439 (breakParagraphConservative): use ParagraphList::insert.
9441 * buffer.C (insertStringAsLines): un-const it
9442 (insertStringAsLines): adjust
9444 * ParagraphList.C (insert): new function
9446 * CutAndPaste.C (pasteSelection): adjust
9448 * text.C (backspace): adjust
9450 * tabular.C (SetMultiColumn): adjust
9452 * CutAndPaste.C (cutSelection): adjust
9453 (pasteSelection): adjust
9455 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9456 Buffer const * as arg
9458 * ParagraphList.C (erase): new function
9459 * paragraph_funcs.C (mergeParagraph): use it
9460 (mergeParagraph): make it take a Buffer* instead of a
9461 BufferParams* as arg
9463 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9465 (breakParagraphConservative): ditto
9467 * paragraph.h: remove the breakParagraph friend
9469 * paragraph.C (eraseIntern): new function
9470 (setChange): new function
9472 * paragraph_funcs.C (mergeParagraph): make it take a
9473 ParagraphList::iterator instead of a Paragraph *, adjust
9476 * paragraph.h: move an #endif so that the change tracking stuff
9477 also works in the NO_NEXT case.
9479 2003-03-04 Angus Leeming <leeming@lyx.org>
9482 * LyXAction.C: new LFUN_INSET_MODIFY.
9484 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9485 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9487 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9489 * several files: ws changes only
9491 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9492 (TeXEnvironment): ditto
9495 * buffer.C (makeLaTeXFile): adjust
9496 (latexParagraphs): make it take ParagraphList::iterator as args
9498 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9500 * buffer.C (latexParagraphs): adjust
9502 * paragraph.C (TeXOnePar): move function...
9503 (optArgInset): move function...
9504 (TeXEnvironment): move function...
9505 * paragraph_pimpl.C (TeXDeeper): move function...
9506 * paragraph_funcs.C: ...here
9508 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9510 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9512 * buffer.C (readInset): remove compability code for old Figure and
9515 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9517 * buffer.C: ws changes
9520 * BufferView_pimpl.C: ditto
9523 * bufferlist.h: ditto
9527 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9529 * converter.[Ch]: split into itself +
9532 * Makefile.am: += graph.[Ch] + format.[Ch]
9539 * lyxrc.C: added #include "format.h"
9541 2003-02-27 Angus Leeming <leeming@lyx.org>
9543 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9546 * factory.C (createInset): add "label" to the factory.
9548 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9549 string and do no more.
9551 2003-02-27 Angus Leeming <leeming@lyx.org>
9554 * LyXAction.C (init):
9555 * factory.C (createInset):
9556 * BufferView_pimpl.C (dispatch):
9557 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9559 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9561 * lyxfunc.C (dispatch):
9562 * text3.C (dispatch): pass name to params2string.
9564 2003-02-26 Angus Leeming <leeming@lyx.org>
9566 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9568 Rearrange the ~includes. Strip out the unnecessary ones.
9570 * factory.C (createInset): reformat.
9571 create new insets for the various LFUN_XYZ_APPLY lfuns.
9573 2003-02-26 John Levon <levon@movementarian.org>
9576 * lyxrow.C: add isParStart,isParEnd helpers
9578 * paragraph.h: make isInserted/DeletedText take refs
9580 * paragraph_funcs.h:
9581 * paragraph_funcs.C: remove #if 0'd code
9586 * text.C: use lyxrow helpers above.
9587 Move draw and paint routines to RowPainter.
9588 Make several methods use refs not pointers.
9589 Make backgroundColor() const.
9590 Add markChangeInDraw(), isInInset().
9591 Merge changeRegionCase into changeCase.
9592 Make workWidth() shouldn't-happen code into an Assert.
9595 * rowpainter.C: new class for painting a row.
9598 * vspace.C: make inPixels take a ref
9600 2003-02-26 Angus Leeming <leeming@lyx.org>
9602 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9605 2003-02-25 John Levon <levon@movementarian.org>
9607 * ispell.C: give the forked command a more accurate name
9609 2003-02-22 John Levon <levon@movementarian.org>
9612 * toc.C: make TocItem store an id not a Paragraph *
9615 2003-02-21 Angus Leeming <leeming@lyx.org>
9617 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9618 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9619 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9620 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9621 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9622 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9624 * BufferView_pimpl.C (dispatch):
9625 * LyXAction.C (init):
9626 * factory.C (createInset):
9627 * lyxfunc.C (getStatus, dispatch):
9628 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9630 2003-02-21 Angus Leeming <leeming@lyx.org>
9632 * BufferView_pimpl.C (MenuInsertLyXFile):
9633 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9634 * lyxfunc.C (menuNew, open, doImport):
9635 no longer pass a LyXView & to fileDlg.
9637 2003-02-21 Angus Leeming <leeming@lyx.org>
9639 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9640 * LyXAction.C: change, BIBKEY to BIBITEM.
9641 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9642 Change InsetBibKey to InsetBibitem.
9643 Change BIBKEY_CODE to BIBITEM_CODE.
9644 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9645 * factory.C: replace insetbib.h with insetbibitem.h.
9646 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9647 * paragraph.C: replace insetbib.h with insetbibitem.h.
9648 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9649 Change bibkey() to bibitem().
9650 * text.C: remove insetbib.h.
9651 * text2.C: replace insetbib.h with insetbibitem.h.
9652 change bibkey() to bibitem().
9653 * text3.C: remove insetbib.h.
9654 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9656 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9658 * lyxrc.C (output): enclose user email in quotes (in case there are
9661 2003-02-18 John Levon <levon@movementarian.org>
9663 * buffer.h: add std::
9665 2003-02-17 John Levon <levon@movementarian.org>
9671 * pspell.C: reworking. Especially in ispell, a large
9672 number of clean ups and bug fixes.
9674 * lyxfunc.C: fix revert to behave sensibly
9676 2003-02-17 André Pönitz <poenitz@gmx.net>
9679 * commandtags.h: new LFUN_INSERT_BIBKEY
9689 * paragraph_func.C: remove special bibkey handling
9691 2003-02-17 John Levon <levon@movementarian.org>
9693 * text.C (Delete): fix case where delete at the end of
9694 the very first paragraph would not merge the pars
9696 2003-02-17 John Levon <levon@movementarian.org>
9698 * lyxrow.C: fix lastPrintablePos()
9700 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9702 * bufferparams.C (writeLaTeX): add a std:here
9704 * buffer.C: and remove a using directive there
9706 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9708 * buffer.C (makeLaTeXFile): move the code that generates the
9711 * bufferparams.C (writeLaTeX): ... in this new method
9713 * LaTeXFeatures.C (getEncodingSet): make const
9714 (getLanguages): make const
9716 * MenuBackend.C (binding): returns the binding associated to this
9718 (add): sets the status of each item by calling getStatus. Adds
9720 (read): add support for OptSubMenu
9721 (expand): remove extra separator at the end of expanded menu
9723 2003-02-15 John Levon <levon@movementarian.org>
9726 * BufferView_pimpl.C:
9728 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9729 inset code that had no actual effect. Remove unneeded status
9732 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9734 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9737 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9739 * text.C (drawLengthMarker): also draw an arrow marker for
9740 symbolic lengths (medskip...)
9742 2003-02-14 John Levon <levon@movementarian.org>
9745 * tabular.C: better method names
9747 2003-02-14 John Levon <levon@movementarian.org>
9749 * BufferView_pimpl.C:
9754 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9755 it's a more accurate name. Remove some pointless uses.
9757 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9759 * text2.C (LyXText): change order of initilizers to shut off
9762 2003-02-14 John Levon <levon@movementarian.org>
9764 * buffer.C: use ParIterator for getParFromID()
9768 * paragraph_pimpl.h:
9769 * paragraph_pimpl.C: remove unused getParFromID()
9771 2003-02-14 John Levon <levon@movementarian.org>
9773 * buffer.C: remove some very old #if 0'd parse code
9775 2003-02-13 John Levon <levon@movementarian.org>
9779 * text2.C: move hfillExpansion(), numberOfSeparators(),
9780 rowLast(), rowLastPrintable(), numberofHfills(),
9781 numberOfLabelHfills() ...
9784 * lyxrow.C: ... to member functions here.
9789 * text.C: remove LyXText::beginningOfMainBody(), and call
9790 p->beginningOfMainBody() directly. Move the check for
9791 LABEL_MANUAL into the latter.
9798 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9804 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9805 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9807 2003-02-13 John Levon <levon@movementarian.org>
9809 * CutAndPaste.C: remove debug
9811 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9813 * paragraph.C (asString): remove two unused variables
9815 * lyxtextclass.C (readTitleType):
9817 (LyXTextClass): handle new members titletype_ and titlename_
9819 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9821 2003-02-09 John Levon <levon@movementarian.org>
9824 * buffer.C: replace hand-coded list with a map for the dep clean
9826 2003-02-08 John Levon <levon@movementarian.org>
9828 * LaTeX.C: consolidate code into showRunMessage() helper
9830 2003-02-08 John Levon <levon@movementarian.org>
9835 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9836 and pass the size in explicitly
9838 * BufferView_pimpl.h:
9839 * BufferView_pimpl.C:
9841 * BufferView.C: add getCurrentChange()
9843 * BufferView_pimpl.h:
9844 * BufferView_pimpl.C: handle change lfuns
9846 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9847 for changes. Mark pasted paragraphs as new.
9849 * support/lyxtime.h:
9850 * support/lyxtime.C:
9851 * DepTable.C: abstract time_t as lyx::time_type
9854 * LColor.C: add colours for new text, deleted text, changebars
9856 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9857 package use "usenames" option.
9861 * LyXAction.C: add change lfuns
9865 * author.C: author handling
9868 * buffer.C: add a per-buffer author list, with first entry as
9869 current author. Handle new .lyx tokens for change tracking. Output
9870 author list to .lyx file. Output dvipost stuff to .tex preamble.
9871 Bump lyx format to 222.
9874 * bufferlist.C: add setCurrentAuthor() to reset current author details
9878 * bufferparams.C: add param for tracking
9880 * bufferview_funcs.C: output change info in minibuffer
9884 * changes.C: add change-tracking structure
9887 * debug.C: add CHANGES debug flag
9890 * lyxfind.C: add code for finding the next change piece
9893 * lyxrc.C: add user_name and user_email
9896 * lyxrow.C: add a metric for the top of the text line
9899 * text.C: implement accept/rejectChange()
9902 * text.C: paint changebars. Paint new/deleted text in the chosen
9903 colours. Strike through deleted text.
9907 * paragraph_pimpl.h:
9908 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9909 in the current change to the insert functions. Rework erase to
9910 mark text as deleted, adding an eraseIntern() and a range-based
9911 erase(). Implement per-paragraph change lookup and
9914 * paragraph_funcs.C: Fixup paste for change tracking.
9916 * tabular.C: mark added row/columns as new.
9918 * text.C: fix rowLast() to never return -1. Don't allow
9919 spellchecking of deleted text. Track transpose changes. Don't
9920 allow paragraph break or merge where appropriate.
9922 * text2.C: leave cursor at end of selection after a cut.
9924 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9926 * text.C (getLengthMarkerHeight):
9927 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9928 visible on screen too.
9930 2003-02-07 John Levon <levon@movementarian.org>
9932 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9934 2003-02-05 Angus Leeming <leeming@lyx.org>
9936 * lyxserver.C (read_ready): revert my patch of 11 September last year
9937 as it sends PC cpu through the roof. Presumably this means that
9938 the lyxserver will no longer run on an Alpha...
9940 2003-01-30 Angus Leeming <leeming@lyx.org>
9942 * factory.C (createInset): create an InsetCommandParam of type "index"
9943 and use it to 'do the right thing'.
9945 * text2.C (getStringToIndex): ensure that cursor position is always
9946 reset to the reset_cursor position.
9948 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9950 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9953 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9957 * lyxfunc.C: Output messages with identical spelling, punctuation,
9960 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9962 * MenuBackend.C (expandFormats): List only viewable export formats
9965 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9968 * lyxfunc.C (getStatus): Make sure that formats other than
9969 "fax" can also be disabled
9971 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9973 * text3.C (dispatch): put the lfuns that insert insets in 3
9974 groups, and call doInsertInset with appropriate arguments.
9975 (doInsertInset): new function, that creates an inset and inserts
9976 it according to some boolean parameters.
9978 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9980 * buffer.C (readFile): remember to pass on 'par' when calling
9981 readFile recursively.
9983 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9985 * MenuBackend.C (expandFormats): add "..." to import formats.
9987 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9989 * paragraph.C (asString): Remove XForms RTL hacks.
9991 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9992 * buffer.C: fix typo
9994 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9996 * Makefile.am (LIBS): delete var
9997 (lyx_LDADD): add @LIBS@ here instead.
9999 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10001 * Clarify the meaning of "wheel mouse jump"
10003 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10005 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10008 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10010 * importer.C (Loaders): do not preallocate 3 elements in the
10011 vector, since one ends up with 6 elements otherwise
10013 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10015 * DepTable.C (write): write the file name as last element of the
10016 .dep file (because it may contain spaces)
10017 (read): read info in the right order
10019 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10021 * paragraph_pimpl.C (simpleTeXBlanks):
10022 (simpleTeXSpecialChars):
10023 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10025 * tabular.C (latex): add some missing case statements. Reindent.
10027 * MenuBackend.C (expandToc): remove unused variable.
10029 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10038 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10041 2003-01-05 John Levon <levon@movementarian.org>
10044 * BufferView.C: add getEncoding()
10047 * kbsequence.C: do not store last keypress
10050 * lyxfunc.C: store last keypress here instead. Pass encoding
10053 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10055 * lyx_main.C (init): remove annoying error message when following
10056 symbolic links (bug #780)
10058 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10060 * text.C (insertChar):
10061 * lyxrc.C (getDescription): remove extra spaces
10063 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10065 * lyxrc.C (getDescription): remove extra spaces
10067 2002-12-20 John Levon <levon@movementarian.org>
10069 * text3.C: hack fix for page up/down across tall rows
10071 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10073 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10076 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10078 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10079 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10080 thesaurus is not compiled in
10082 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10084 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10086 2002-12-16 Angus Leeming <leeming@lyx.org>
10089 * lyx_main.C (init): remove override_x_deadkeys stuff.
10091 2002-12-12 John Levon <levon@movementarian.org>
10093 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10094 insert. Only remove shift modifier under strict
10097 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10099 * MenuBackend.C (expandToc): fix crash.
10101 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10103 * MenuBackend.C (expandToc): gettext on float names.
10105 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10107 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10108 implement bool empty() [bug 490]
10110 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10112 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10114 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10116 * several files: ws changes
10118 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10120 * text2.C (setCounter): clean up a bit, use boost.format.
10121 (updateCounters): initialize par upon declaration.
10123 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10124 if the layout exists. We do not just store the layout any more.
10125 (SwitchLayoutsBetweenClasses): use boost.format
10127 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10129 * converter.C (convert): if from and to files are the same, use a
10130 temporary files as intermediary
10132 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10135 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10137 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10139 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10141 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10143 * tabular.C (asciiPrintCell): use string(size, char) instead of
10146 * sgml.C (openTag): fix order of arguments to string constructor
10149 * lyxfunc.C (dispatch): use boost.format
10151 * lots of files: change "c" -> 'c'
10153 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10155 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10157 2002-11-25 Angus Leeming <leeming@lyx.org>
10159 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10161 * lyx_main.C (init): compile fix.
10163 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10165 * lyx_cb.C (start): boost.formatify
10166 do not include <iostream>
10168 * lengthcommon.C: ws only
10170 * boost-inst.C,BoostFormat.h: add more explict instantations
10172 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10174 * lots of files: handle USE_BOOST_FORMAT
10176 2002-11-21 John Levon <levon@movementarian.org>
10178 * pspell.C: fix compile
10180 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10182 * lyxfunc.C (dispatch): use boost::format
10186 * lyxfont.C (stateText): use boost::format
10188 * lyx_main.C (LyX): use boost::format
10190 (queryUserLyXDir): ditto
10191 (readRcFile): ditto
10193 (typedef boost::function): use the recommened syntax.
10195 * importer.C (Import): use boost::format
10197 * debug.C (showLevel): use boost::format
10199 * converter.C (view): use boost::format
10204 * bufferview_funcs.C (currentState): use boost::format
10206 * bufferlist.C (emergencyWrite): use boost::format
10208 * buffer.C (readLyXformat2): use boost::format
10209 (parseSingleLyXformat2Token): ditto
10211 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10213 * LaTeX.C (run): use boost::format
10215 * Chktex.C (scanLogFile): use boost::format
10217 * BufferView_pimpl.C (savePosition): use boost::format
10218 (restorePosition): ditto
10219 (MenuInsertLyXFile): ditto
10221 * BoostFormat.h: help file for explicit instation.
10223 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10225 * tabular.C (latex): Support for block alignment in fixed width
10228 2002-11-17 John Levon <levon@movementarian.org>
10230 * BufferView_pimpl.C:
10232 * lyxfunc.C: split filedialog into open/save
10234 2002-11-08 Juergen Vigna <jug@sad.it>
10236 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10237 by my last patch (hopefully).
10239 2002-11-08 John Levon <levon@movementarian.org>
10248 * toc.C: ParConstIterator, and use it (from Lars)
10250 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10252 * lyxtextclass.[Ch]: revise and add doxygen comments
10254 2002-11-07 John Levon <levon@movementarian.org>
10256 * text.C: fix progress value for spellchecker
10258 * toc.C: fix navigate menu for insetwrap inside minipage
10260 * paragraph_funcs.C: added FIXME for suspect code
10262 2002-11-07 John Levon <levon@movementarian.org>
10264 * BufferView_pimpl.C: fix redrawing of insets
10267 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10269 * text2.C (updateCounters): fix bug 668
10271 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10273 * text3.C (dispatch): Do not make the buffer dirty when moving the
10276 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10278 * vc-backend.C: STRCONV
10279 (scanMaster): ditto
10281 * text2.C (setCounter): STRCONV
10283 * paragraph.C (asString): STRCONV
10285 * lyxlength.C (asString): STRCONV
10286 (asLatexString): ditto
10288 * lyxgluelength.C (asString): STRCONV
10289 (asLatexString): ditto
10291 * lyxfunc.C (dispatch): STRCONV
10294 * lyxfont.C (stateText): STRCONV
10296 * importer.C (Import): STRCONV
10298 * counters.C (labelItem): STRCONV
10299 (numberLabel): ditto
10300 (numberLabel): remove unused ostringstream o
10305 * bufferview_funcs.C (currentState): STRCONV
10307 * buffer.C (readFile): STRCONV
10308 (asciiParagraph): ditto
10309 (makeLaTeXFile): ditto
10311 * Spacing.C (writeEnvirBegin): STRCONV
10313 * LaTeXFeatures.C (getLanguages): STRCONV
10314 (getPackages): ditto
10316 (getBabelOptions): ditto
10317 (getTClassPreamble): ditto
10318 (getLyXSGMLEntities): ditto
10319 (getIncludedFiles): ditto
10323 (scanAuxFile): ditto
10326 * LString.h: add the STRCONV macros
10328 * BufferView_pimpl.C (savePosition): STRCONV
10329 (restorePosition): ditto
10330 (MenuInsertLyXFile): ditto
10332 * vc-backend.C (scanMaster): change from submatch[...] to
10335 * funcrequest.C: include config.h
10337 * factory.C: include config.h
10339 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10341 * box.C: include config.h
10343 * LaTeX.C (scanAuxFile): change from submatch[...] to
10347 2002-10-25 Angus Leeming <leeming@lyx.org>
10349 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10351 * ispell.[Ch] (setError): new method.
10352 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10353 Use setError() insetead of goto END.
10355 * lyx_cb.C (AutoSave): move out child process into new class
10358 2002-10-30 John Levon <levon@movementarian.org>
10360 * text3.C: make start appendix undoable
10362 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10364 * lyxlength.C (inPixels): Fix returned value.
10366 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10369 2002-10-24 Angus Leeming <leeming@lyx.org>
10371 * lyxgluelength.h: no need to forward declare BufferParams
10372 or BufferView, so don't.
10374 2002-10-21 John Levon <levon@movementarian.org>
10376 * BufferView.C: menuUndo ->undo, redo
10378 * BufferView.h: document, remove dead, make some methods private
10380 * paragraph_funcs.h:
10381 * paragraph_funcs.C:
10382 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10387 * sgml.C: move sgml open/close tag into sgml.C
10389 * bufferview_funcs.h: unused prototype
10392 * lyxfunc.C: remove unused
10395 * text.C: remove unused
10397 2002-10-21 John Levon <levon@movementarian.org>
10401 * BufferView_pimpl.h:
10402 * BufferView_pimpl.C: fix mouse wheel handling based on
10403 patch from Darren Freeman
10405 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10407 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10409 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10411 * lyxlength.C (inPixels): Fix hanfling of negative length.
10412 Fix LyXLength::MU case.
10414 2002-10-16 John Levon <levon@movementarian.org>
10416 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10418 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10420 * converter.C (view): add support for $$i (file name) and $$p
10421 (file path) for the viewer command. If $$i is not specified, then
10422 it is appended to the command (for compatibility with old syntax)
10424 2002-10-14 Juergen Vigna <jug@sad.it>
10426 * undo_funcs.C (textHandleUndo): alter the order in which the
10427 new undopar is added to the LyXText, as we have to set first
10428 the right prev/next and then add it as otherwise the rebuild of
10429 LyXText is not correct. Also reset the cursor to the right paragraph,
10430 with this IMO we could remove the hack in "redoParagraphs()".
10432 2002-10-09 Angus Leeming <leeming@lyx.org>
10434 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10435 to turn off an optimisation if a new inset is to be inserted.
10437 2002-10-11 André Pönitz <poenitz@gmx.net>
10439 * lyxtext.h: make some functions public to allow access
10440 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10442 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10444 * text3.C (dispatch): when changing layout, avoid an infinite loop
10447 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10449 * lyxrc.C (read): treat a viewer or converter command of "none" as
10452 * MenuBackend.C (expandFormats): for an update, also allow the
10453 formats that are not viewable
10455 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10456 script if it is newer than the lyxrc.defaults in user directory
10458 2002-10-07 André Pönitz <poenitz@gmx.net>
10460 * text.C: Vitaly Lipatov's small i18n fix
10462 2002-09-25 Angus Leeming <leeming@lyx.org>
10464 * ispell.h: doxygen fix.
10466 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10468 * buffer.h (readFile): Add a new argument to the method, to allow
10469 reading of old-format templates.
10471 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10473 * toc.C (getTocList): Get TOC from InsetWrap.
10475 2002-09-16 John Levon <levon@movementarian.org>
10477 * lyxfunc.C: check tabular for cut/copy too
10479 2002-09-12 John Levon <levon@movementarian.org>
10481 * LyXAction.C: tidy
10484 * factory.C: add header
10486 * paragraph_funcs.h:
10487 * paragraph_funcs.C: cleanup
10489 2002-09-11 John Levon <levon@movementarian.org>
10491 * PrinterParams.h: odd/even default to true
10493 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10495 * PrinterParams.h: update printer parameters for new xforms dialog
10497 2002-09-11 Angus Leeming <leeming@lyx.org>
10499 * lyxserver.C (read_ready): re-write to make it more transparent
10500 and to make it work in coherent fashion under Tru64 Unix.
10502 2002-09-11 André Pönitz <poenitz@gmx.net>
10506 * text3.C: implement LFUN_WORDSEL
10508 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10510 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10511 make floatlist_ a boost::shared_ptr<FloatList>
10513 * lyxtextclass.C: include FloatList.h
10514 (LyXTextClass): initialize floatlist_
10515 (TextClassTags): add TC_NOFLOAT
10516 (Read): match "nofloat" to TC_NOFLOAT and use it.
10517 (readFloat): modify call to floatlist_
10521 * FloatList.[Ch] (FloatList): remove commented out float
10523 (erase): new function
10525 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10527 * MenuBackend.C (expandToc): fix crash when there is no document
10530 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10532 * many files: Add insetwrap.
10534 2002-09-09 John Levon <levon@movementarian.org>
10536 * text2.C: remove confusing and awkward depth wraparound
10538 2002-09-09 John Levon <levon@movementarian.org>
10540 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10543 * buffer.C: remove getIncludeonlyList()
10546 * lyxfunc.C: remove headers
10548 2002-09-09 Juergen Vigna <jug@sad.it>
10550 * text.C (getColumnNearX): fix form Michael this is most
10551 probably a cut&paste bug.
10553 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10555 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10557 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10558 references, ws changes.
10560 * text2.C (init): update counters after init
10561 (insertParagraph): no need to set counter on idividual paragraphs.
10562 (setCounter): access the counters object in the textclass object
10563 on in the buffer object.
10564 (updateCounters): ditto
10566 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10567 shared_ptr<Counters> to avoid loading counters.h in all
10569 (LyXTextClass): initialize ctrs_
10570 (TextClassTags): add TC_COUNTER, and ...
10571 (Read): use it here.
10572 (CounterTags): new tags
10573 (readCounter): new function
10574 (counters): new funtion
10575 (defaultLayoutName): return a const reference
10577 * counters.C (Counters): remove contructor
10578 (newCounter): remove a couple of unneeded statements.
10579 (newCounter): simplify a bit.
10580 (numberLabel): some small formatting changes.
10582 * buffer.[Ch]: remove all traces of counters, move the Counters
10583 object to the LyXTextClass.
10585 2002-09-06 Alain Castera <castera@in2p3.fr>
10587 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10588 package to set the horizontal alignment on fixed width columns.
10591 * lyx_sty.h: added tabularnewline macro def.
10593 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10595 2002-09-06 John Levon <levon@movementarian.org>
10597 * LyXAction.C: tooltips for sub/superscript
10599 * MenuBackend.C: a bit more verbose
10601 * lyxfunc.C: tiny clean
10603 * undo_funcs.C: document undo_frozen
10605 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10607 * counters.C (Counters): add missing algorithm counter.
10609 * text2.C (setCounter): lookup the counter with layouts latexname
10610 instead of by section number.
10611 (setCounter): use a hackish way to lookup the correct enum
10613 a float name->type change
10614 reset enum couners with counter name directly instead of depth value.
10616 * counters.C (Counters): remove the push_backs, change to use the
10617 float type not the float name.
10618 (labelItem): remove unused string, float name->type change
10620 * counters.h: don't include vector, loose the enums and sects vectors
10622 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10624 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10625 (Read): add float->TC_FLOAT to textclassTags
10626 (Read): and handle it in the switch
10627 (readFloat): new function
10629 * FloatList.C (FloatList): comment out the hardcoded float
10632 * lyxlayout.h: ws change.
10634 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10636 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10638 2002-09-03 Angus Leeming <leeming@lyx.org>
10640 * BufferView_pimpl.h: qualified name is not allowed in member
10641 declaration: WorkArea & Pimpl::workarea() const;
10643 * factory.C: added using std::endl directive.
10645 * text3.C: added using std::find and std::vector directives.
10647 2002-08-29 André Pönitz <poenitz@gmx.net>
10650 * text2.C: remove unused member number_of_rows
10653 * BufferView2.C: remove file, move contents to...
10654 * BufferView.C: ... here
10656 * BufferView_pimpl.C:
10657 * factory.C: move more inset creation to factory
10659 * vspace.C: avoid direct usage of LyXText, ws changes
10662 don't provide direct access to WorkArea, use two simple
10663 acessors haveSelction() and workHeight() instead
10666 2002-08-29 John Levon <levon@movementarian.org>
10668 * BufferView_pimpl.C (dispatch): do not continue when
10671 2002-08-28 André Pönitz <poenitz@gmx.net>
10673 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10676 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10678 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10680 * buffer.C: increment LYX_FORMAT to 221
10682 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10683 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10685 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10687 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10689 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10691 * factory.C (createInset): use LyXTextClass::floats
10693 * MenuBackend.C (expandFloatListInsert):
10694 (expandFloatInsert):
10697 * text2.C (setCounter):
10699 * LaTeXFeatures.C (useFloat):
10700 (getFloatDefinitions):
10702 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10704 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10705 floatlist_, with accessor floats().
10707 * FloatList.h: remove global FloatList
10709 2002-08-26 André Pönitz <poenitz@gmx.net>
10711 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10715 * BufferView_pimpl.C:
10716 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10718 2002-08-25 John Levon <levon@movementarian.org>
10720 * LyXAction.C: fix margin note description
10722 2002-08-24 John Levon <levon@movementarian.org>
10726 * bufferview_funcs.C:
10728 * undo_funcs.C: cleanups
10730 * lyxfunc.C: disable CUT/COPY when no selection
10732 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10734 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10735 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10737 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10738 Add backward compatibility to "mono", "gray" and "no".
10740 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10742 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10743 (and file_format >= 200).
10745 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10747 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10749 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10751 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10753 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10755 * BufferView_pimpl.C:
10762 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10763 inset and code to make it work with the paragraph code. The inset
10764 can be anywhere in the paragraph, but will only do the expected
10765 thing in LaTeX if the layout file contains the parameter line
10767 (or more generally, a nonzero value) for that layout.
10769 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10771 * paragraph.h: remove the declaration of undefined counters class
10774 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10776 * text2.C (setCounter): fixed enumeration mis-count as reported by
10777 Dr. Richard Hawkins.
10779 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10781 * paragraph_funcs.h: remove some unneeded includes
10783 * text.C (backspace): pasteParagraph now in global scipe
10785 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10786 (pasteSelection): ditto
10788 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10789 * paragraph_funcs.C (pasteParagraph): ... here
10791 2002-08-20 André Pönitz <poenitz@gmx.net>
10793 * commandtags.h: new LFUNs for swapping/copying table row/colums
10796 * lyxfunc.C: support for new lfuns
10798 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10801 * buffer.[Ch]: remove NO_COMPABILITY stuff
10803 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10805 * boost.C (throw_exception): new file, with helper function for
10806 boost compiled without exceptions.
10811 * ParameterStruct.h:
10812 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10814 * bufferlist.C (emergencyWriteAll): use boost bind
10816 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10818 * text.C: include paragraph_funcs.h
10819 (breakParagraph): breakParagraph is now in global scope
10821 * paragraph_funcs.[Ch]: new files
10823 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10826 * buffer.C: include paragraph_funcs.h
10827 (insertStringAsLines): breakParagraph is now in global scope
10829 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10832 * CutAndPaste.C: include paragraph_funcs.h
10833 (cutSelection): breakParagraphConservative is now in global scope
10834 (pasteSelection): ditto
10836 * buffer.h: declare oprator== and operator!= for
10837 Buffer::inset_iterator
10839 * bufferlist.C (emergencyWrite): don't use fmt(...)
10841 * text3.C: add using std::endl
10843 * BufferView.C (moveCursorUpdate): remove default arg
10845 2002-08-20 André Pönitz <poenitz@gmx.net>
10847 * buffer.[Ch]: move inline functions to .C
10850 * BufferView_pimpl.C:
10852 * buffer.[Ch]: use improved inset_iterator
10855 * paragraph.[Ch]: write one paragraph at a time
10857 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10859 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10860 style if style is not specified.
10862 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10864 * text2.C (setCounter): when searching for right label for a
10865 caption, make sure to recurse to parent insets (so that a caption
10866 in a minipage in a figure float works) (bug #568)
10868 2002-08-20 André Pönitz <poenitz@gmx.net>
10870 * text3.C: new file for LyXText::dispatch() and helpers
10872 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10874 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10876 2002-08-19 André Pönitz <poenitz@gmx.net>
10879 * text.C: new LyXText::dispatch()
10881 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10883 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10885 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10887 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10890 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10892 * Makefile.am: use $(variables) instead of @substitutions@
10894 2002-08-15 André Pönitz <poenitz@gmx.net>
10897 * BufferView_pimpl.C: streamlining mathed <-> outer world
10901 * LyXAction.C: remove unused LFUN_MATH
10903 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10905 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10907 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10909 * paragraph.C (Paragraph): reformat a bit
10910 (cutIntoMinibuffer): use builtin InsetList function instad of
10914 * buffer.C: include boost/bind.hpp, add using std::for_each
10915 (writeFileAscii): use ParagraphList iterators
10916 (validate): use for_each for validate traversal of paragraphs
10917 (getBibkeyList): use ParagraphList iterators
10918 (resizeInsets): use for_each to resizeInsetsLyXText for all
10920 (getParFromID): use ParagraphList iterators
10922 * BufferView2.C (lockInset): use paragraph list and iterators
10924 2002-08-14 John Levon <levon@movementarian.org>
10926 * lyxserver.C: remove spurious xforms include
10928 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10930 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10932 2002-08-13 André Pönitz <poenitz@gmx.net>
10935 * lyxfunc.C: further cleaning
10937 2002-08-13 André Pönitz <poenitz@gmx.net>
10939 * funcrequest.h: new constructor
10941 * funcrequest.C: move stuff here from .h
10944 * BufferView_pimpl.C:
10947 * lyxfunc.C: subsequent changes
10949 * lyxfunc.h: new view() member function
10951 * lyxfunc.C: subsequent changes
10953 2002-08-13 Angus Leeming <leeming@lyx.org>
10956 * BufferView_pimpl.C:
10964 changes due to the changed LyXView interface that now returns references
10965 to member variables not pointers.
10967 2002-08-13 Angus Leeming <leeming@lyx.org>
10969 * WordLangTuple (word, lang_code): return references to strings,
10974 * lyxtext.h: forward-declare WordLangTuple.
10979 * text.C: #include "WordLangTuple.h".
10982 * text.C: (selectNextWordToSpellcheck): constify return type.
10984 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10990 * paragraph_pimpl.h:
10993 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10994 suggested by Angus.
10995 Made updateCounter always count from start of buffer, and removed
10996 second argument (par).
10997 Reverted floats number display to '#'. Perhaps I'll try again when the
10998 code base is sanitized a bit.
11000 2002-08-12 Angus Leeming <leeming@lyx.org>
11002 * buffer.[Ch] (getLabelList): constify.
11004 2002-08-07 André Pönitz <poenitz@gmx.net>
11006 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11008 * funcrequest.h: extension to keep mouse (x,y) position
11010 2002-08-12 Juergen Vigna <jug@sad.it>
11012 * BufferView2.C (insertErrors): forbid undo when inserting error
11015 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11017 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11019 * ParagraphList.[Ch]: new files
11021 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11023 * BufferView2.C (lockInset): ParagraphList changes
11026 * bufferlist.C: ditto
11030 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11032 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11033 unused class variable counter_,
11035 * paragraph.[Ch] (getFirstCounter): delete unused function
11037 * counters.C: include LAssert.h
11038 (reset): add a new function with no arg, change other version to
11039 not have def. arg and to not allow empty arg.
11041 * text2.C (setCounter): remove empty arg from call to Counters::reset
11043 2002-08-11 John Levon <levon@movementarian.org>
11045 * Makefile.am: add WordLangTuple.h
11047 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11049 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11050 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11052 * insets/insettext.C: InsetList changes
11054 * graphics/GraphicsSupport.C (operator()): InsetList changes
11056 * toc.C (getTocList): InsetList changes
11058 * paragraph_pimpl.[Ch]: InsetList changes
11060 * paragraph.[Ch]: InsetList changes
11062 * buffer.C (inset_iterator): InsetList changes
11063 (setParagraph): ditto
11064 * buffer.h (inset_iterator): ditto
11065 * iterators.C (operator++): ditto
11066 * iterators.h: ditto
11068 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11070 * InsetList.[Ch]: new files, most InsetList handling moved out of
11073 * BufferView2.C (removeAutoInsets): InsetList changes
11075 (ChangeInsets): ditto
11077 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11079 * paragraph_pimpl.h (empty): new function
11081 * paragraph.[Ch] (empty): new function
11083 * other files: use the new Paragraph::empty function
11085 2002-08-09 John Levon <levon@movementarian.org>
11087 * lyxtext.h: remove unused refresh_height
11089 2002-08-09 John Levon <levon@movementarian.org>
11096 * paragraph.C: move sgml char escaping out of paragraph
11099 * paragraph.C: remove id setter
11103 * paragraph_pimpl.C: remove dead tex_code_break_column
11105 * bufferview_funcs.C: small cleanup
11107 * lyxfunc.C: remove dead proto
11109 * lyxtext.h: make some stuff private. Remove some dead stuff.
11111 * lyxgluelength.C: make as[LyX]String() readable
11113 2002-08-08 John Levon <levon@movementarian.org>
11118 * ToolbarDefaults.C:
11121 * toc.C: lyxaction cleanup
11123 2002-08-08 John Levon <levon@movementarian.org>
11125 * BufferView2.C: small cleanup
11128 * lyxfind.C: move unnecessary header into the .C
11130 2002-08-08 John Levon <levon@movementarian.org>
11132 * funcrequest.h: just tedious nonsense
11135 * lyx_main.C: cleanups
11138 * vspace.C: remove dead header lyx_main.h
11140 2002-08-07 Angus Leeming <leeming@lyx.org>
11143 * paragraph_pimpl.h:
11144 Forward declare class Counters in paragraph.h by moving the ctrs member
11145 variable into Paragraph::Pimpl.
11146 (counters): new method, returning a reference to pimpl_->ctrs.
11148 * text2.C: ensuing changes.
11150 2002-08-07 John Levon <levon@movementarian.org>
11152 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11154 * BufferView_pimpl.C: announce X selection on double/triple
11157 * lyx_main.C: use correct bool in batch dispatch
11159 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11161 2002-08-07 André Pönitz <poenitz@gmx.net>
11163 * funcrequest.h: new class to wrap a kb_action and its argument
11166 * BufferView_pimpl[Ch]:
11170 * lyxrc.C: subsequent changes
11173 2002-08-07 John Levon <levon@movementarian.org>
11175 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11176 document options change.
11178 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11183 * makefile.am: move counters functionality over from
11184 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11186 2002-08-06 John Levon <levon@movementarian.org>
11188 * WordLangTuple.h: new file for word + language code tuple
11199 * BufferView2.C: use WordLangTuple
11202 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11204 2002-08-06 John Levon <levon@movementarian.org>
11206 * lyx_main.C: fix cmdline batch handling
11208 2002-08-06 André Pönitz <poenitz@gmx.net>
11210 * lyxrc.C: set default for show_banner to true
11212 2002-08-06 John Levon <levon@movementarian.org>
11214 * pspell.C: fix a crash, and allow new aspell to work
11216 2002-08-06 John Levon <levon@movementarian.org>
11219 * kbmap.C: small cleanup
11222 * vspace.C: add const
11224 2002-08-05 John Levon <levon@movementarian.org>
11226 * LyXAction.C: back to tabular-insert
11228 2002-08-04 John Levon <levon@movementarian.org>
11231 * BufferView.C: cosmetic change
11233 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11243 * BufferView2.C: purge all "Lyx" not "LyX" strings
11246 * lyxcursor.C: attempt to add some documentation
11251 * ToolbarDefaults.C:
11252 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11253 merge with LFUN_TABULAR_INSERT
11260 * pspell.C: split up i/pspell implementations into separate
11261 files, many cleanups
11263 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11265 * text2.C: some cleanup
11267 * lyxfunc.C: don't check for isp_command == "none" any more, it
11268 didn't make any sense
11270 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11275 * makefile.am: move counters functionality over
11276 from text2.C/paragraph.[Ch] to counters.[Ch], and
11278 2002-08-02 John Levon <levon@movementarian.org>
11280 * buffer.C: s/lyxconvert/lyx2lyx/
11282 2002-08-02 Angus Leeming <leeming@lyx.org>
11284 * lyxlex.C: revert John's change as it breaks reading of the user
11287 2002-08-02 Angus Leeming <leeming@lyx.org>
11289 * importer.C (Import):
11290 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11291 changes due to LyXView::view() now returning a boost::shared_ptr.
11293 2002-08-02 John Levon <levon@movementarian.org>
11295 * lyxlex.C: small cleanup
11297 2002-08-02 John Levon <levon@movementarian.org>
11299 * text2.C (status): small cleanup, no logic change
11301 2002-08-01 John Levon <levon@movementarian.org>
11304 * buffer.C (writeFile): don't output alerts, caller
11308 * lyx_cb.C: from above
11310 * lyxfunc.C: allow to open non-existent files
11312 2002-07-31 John Levon <levon@movementarian.org>
11314 * lyxserver.C: don't let incidental errors get
11317 2002-07-30 John Levon <levon@movementarian.org>
11319 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11321 2002-07-30 John Levon <levon@movementarian.org>
11324 * lyxserver.C: remove I/O callback too
11326 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11328 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11331 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11333 * many files: strip,frontStrip -> trim,ltrim,rtrim
11335 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11337 * PrinterParams.h: remove extern containsOnly, and include
11338 support/lstrings.h instead.
11340 * LaTeX.C (scanAuxFile): modify because of strip changes
11342 * buffer.C (makeLaTeXFile): ditto
11343 * bufferparams.C (writeFile): ditt
11344 * lyxfont.C (stateText): ditto
11345 * lyxserver.C (read_ready): ditto
11346 * vc-backend.C (scanMaster): ditto
11348 * BufferView_pimpl.h: ws changes
11350 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11352 2002-07-26 André Pönitz <poenitz@gmx.net>
11354 * kb_sequence.C: remove unnedred usings
11356 2002-07-26 Juergen Vigna <jug@sad.it>
11358 * lyxfind.C (LyXReplace): we have to check better if the returned
11359 text is not of theLockingInset()->getLockingInset().
11361 2002-07-25 Juergen Vigna <jug@sad.it>
11363 * lyxfind.C (LyXReplace): don't replace if we don't get the
11366 * undo_funcs.C (createUndo): remove debugging code.
11368 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11370 * buffer.C (parseSingleLyXformat2Token): Use default placement
11371 when reading old floats.
11373 * FloatList.C (FloatList): Change the default placement of figure
11374 and tables to "tbp".
11376 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11378 * MenuBackend.C: using std::max
11380 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11382 * MenuBackend.C (expandToc):
11383 (expandToc2): code moved from xforms menu frontend. It is now
11384 generic and TOCs are transparent to menu frontends.
11386 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11388 * toc.C (getTocList): protect against buf=0
11390 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11391 Menu as first parameter. Now, this calls itself recursively to
11392 expand a whole tree (this will be useful for TOC handling)
11393 (expandFloatInsert): remove 'wide' version of floats
11395 * MenuBackend.h (submenuname): returns the name of the submenu.
11396 (submenu): returns the submenu itself, provided it has been
11397 created by MenuBackend::expand
11399 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11401 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11402 insets which have noFontChange == true. (bug #172)
11404 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11406 * BufferView_pimpl.C: add connection objects and use them...
11409 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11411 * MenuBackend.C (expandLastfiles):
11414 (expandFloatListInsert):
11415 (expandFloatInsert):
11416 (expand): split expand in parts
11418 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11420 * lyx_gui.C: use lyx_gui::exit()
11422 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11424 * LyXAction.C: show the failing pseudo action
11426 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11428 * buffer.C (readFile): Run the lyxconvert script in order to read
11431 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11435 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11437 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11441 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11443 2002-07-22 Herbert Voss <voss@lyx.org>
11446 * lyxlength.[Ch]: add support for the vertical lengths
11448 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11450 * toc.[Ch]: std:: fixes
11452 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11454 * lyxrc.C: do not include lyx_main.h
11456 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11462 * BufferView2.C: include "lyxlex.h"
11465 * bufferparams.h: do not #include "lyxlex.h"
11467 * lyxtextclasslist.C (Add): remove method
11468 (classlist): renamed to classlist_
11470 * paragraph_pimpl.C:
11474 * bufferview_funcs.C:
11479 * toc.C (getTocList): use BufferParams::getLyXTextClass
11481 * toc.C (getTocList): use InsetFloat::addToToc
11483 * toc.[Ch]: new files, containing helper functions to handle table
11486 * lyxfunc.C (dispatch): no need to remove spaces around command
11488 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11489 first command of the sequence; it is not very clever, but I do not
11490 have a better idea, actually
11492 * LyXAction.C (LookupFunc): make sure to remove space at the
11493 beginning and end of the command
11495 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11497 * MenuBackend.C (getMenubar): new method: return the menubar of
11499 (read): treat differently reading of menu and menubar (in
11500 particular, the menubar has no name now)
11501 (Menu::menubar): remove
11503 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11506 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11508 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11509 a bibitem inset in a RTL paragraph.
11511 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11513 * paragraph_pimpl.C: constify
11515 * BufferView_pimpl.C:
11517 * lyxfunc.C: fix dispatch in a nicer way
11519 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11521 * lyxfunc.C (dispatch):
11522 * BufferView_pimpl.C:
11523 * BufferView_pimpl.h:
11525 * BufferView.h: rename Dispatch() to dispatch()
11527 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11529 * lyxlayout.C (Read): honor DependsOn tag
11531 * lyxlayout.[Ch] (depends_on): new method
11533 * version.C.in: update lyx_docversion
11535 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11537 * paragraph.C (validate): remove from here...
11538 * paragraph_pimpl.C (validate): ... and move here
11539 (isTextAt): make it const
11541 * buffer.C (getLists): ws cleanup
11543 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11545 * language.C (read): Use iso8859-1 encoding in latex_lang
11546 (this prevents LyX from crashing when using iso10646-1 encoding).
11548 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11550 * text2.C (toggleInset): if cursor is inside an inset, close the
11551 inset and leave cursor _after_ it
11553 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11555 * lyxfunc.C: move minibuffer completion handling out of here
11557 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11559 * BufferView_pimpl.C:
11560 * LaTeX.C: fix dispatch calls
11562 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11564 * text.C (drawChars): Fix Arabic text rendering.
11566 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11570 * lyxfunc.C: remove message-push/pop
11574 * lyxfunc.C: rationalise some code by removing verboseDispatch
11575 in favour of a bool argument to dispatch()
11577 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11579 * lyx_main.C (init): make sure to read symlinks as absolute paths
11581 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11584 * lyxfunc.C: no need for commandshortcut to be a member
11586 2002-07-15 André Pönitz <poenitz@gmx.net>
11588 * converter.C: add support for $$s (scripts from lib/scripts dir)
11589 * lyx_main.C: white space
11591 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11595 * lyxrc.C: remove second exit confirmation
11597 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11602 * BufferView_pimpl.h:
11603 * BufferView_pimpl.C:
11604 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11606 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11608 * MenuBackend.C (expand): add numeric shortcuts to document menu
11610 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11612 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11614 * lyxfont.C (setLyXFamily):
11621 * buffer.C (asciiParagraph): use ascii_lowercase
11623 2002-07-15 Mike Fabian <mfabian@suse.de>
11625 * lyxlex_pimpl.C (search_kw):
11626 * lyxlex.C (getLongString):
11627 * converter.h (operator<):
11628 * converter.C (operator<):
11629 * buffer.C (parseSingleLyXformat2Token):
11631 * ToolbarDefaults.C (read):
11632 * MenuBackend.C (checkShortcuts):
11634 * LColor.C (getFromGUIName):
11635 (getFromLyXName): use the compare_ascii_no_case instead of
11636 compare_no_case, because in turkish, 'i' is not the lowercase
11637 version of 'I', and thus turkish locale breaks parsing of tags.
11639 2002-07-16 Angus Leeming <leeming@lyx.org>
11641 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11642 now takes a Buffer const & argument.
11644 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11646 * BufferView.C (resize): check there's a buffer to resize
11648 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11650 * lyxfunc.C: remove dead code
11653 * lyxserver.C: use lyx_guii::set_read_callback
11655 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11657 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11658 an inset in a RTL paragraph.
11660 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11662 * lyxfunc.C: repaint after a font size update
11664 2002-07-15 André Pönitz <poenitz@gmx.net>
11666 * lyxlength.C: inBP should be able to return negative values
11668 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11670 * lyxfunc.C: use lyx_gui::update_fonts()
11672 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11674 * lyxfunc.C: use lyx_gui::update_color()
11676 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11682 * lyxrc.C: remove file->new asks for name option, and let
11683 buffer-new take an argument
11685 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11687 * BufferView_pimpl.C: remove unneeded extra repaint()
11689 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11691 * LyXAction.C: allow command-sequence with NoBuffer
11693 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11695 2002-07-10 Angus Leeming <leeming@lyx.org>
11697 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11699 2002-07-09 Angus Leeming <leeming@lyx.org>
11701 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11703 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11705 * lengthcommon.h: whitespace
11707 * lyxfunc.C: update scrollbar after goto paragraph
11709 * lyxtext.h: factor out page break drawing, and fix it so
11710 page break/added space paints as selected nicely
11712 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11714 * BufferView_pimpl.C: add FIXMEs, clean up a little
11716 2002-07-09 André Pönitz <poenitz@gmx.net>
11718 * lyxfont.[Ch]: support for wasy symbols
11720 2002-07-08 André Pönitz <poenitz@gmx.net>
11722 * BufferView_pimpl.C: apply John's patch for #93.
11724 2002-07-05 Angus Leeming <leeming@lyx.org>
11726 * BufferView_pimpl.C (buffer): generate previews if desired.
11728 * LColor.h: add "preview" to the color enum.
11730 * LColor.C (LColor): add a corresponding entry to the items array.
11732 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11735 2002-07-05 Angus Leeming <leeming@lyx.org>
11737 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11738 The body of the code is now in the method that is passed an ostream &
11739 rather than a file name.
11740 Pass an additional only_preamble parameter, useful for the forthcoming
11743 2002-07-03 André Pönitz <poenitz@gmx.net>
11745 * lyxfunc.C: simplify getStatus() a bit for math stuff
11747 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11749 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11751 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11753 * text.C (changeRegionCase): do not change case of all the
11754 document when region ends at paragraph end (bug #461)
11756 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11758 * paragraph.C (startTeXParParams):
11759 (endTeXParParams): add \protect when necessary
11761 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11763 * BufferView_pimpl.C (workAreaExpose): remove warning
11765 2002-06-27 Angus Leeming <leeming@lyx.org>
11767 * Makefile.am: add lyxlayout_ptr_fwd.h.
11769 2002-06-26 André Pönitz <poenitz@gmx.net>
11771 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11773 2002-06-25 Angus Leeming <leeming@lyx.org>
11775 * lyxfunc.C (dispatch): Comment out the call to
11776 grfx::GCache::changeDisplay. The method no longer exists now that the
11777 pixmap generation part of the graphics loader has been moved into
11780 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11782 * text2.C: layout as layout
11784 * text.C: layout as layout
11786 * tabular.C (OldFormatRead): layout as layout
11788 * paragraph_pimpl.C (TeXDeeper): layout as layout
11789 (realizeFont): layout as layout
11791 * paragraph.C (writeFile): layout as layout
11792 (validate): layout as layout
11793 (getFont): layout as layout
11794 (getLabelFont): layout as layout
11795 (getLayoutFont): layout as layout
11796 (breakParagraph): layout as layout
11797 (stripLeadingSpaces): layout as layout
11798 (getEndLabel): layout as layout
11799 (getMaxDepthAfter): layout as layout
11800 (applyLayout): layout as layout
11801 (TeXOnePar): layout as layout
11802 (simpleTeXOnePar): layout as layout
11803 (TeXEnvironment): layout as layout
11804 (layout): layout as layout
11805 (layout): layout as layout
11807 * lyxtextclass.C (compare_name): new functor to work with
11808 shared_ptr, layout as layout
11809 (Read): layout as layout
11810 (hasLayout): layout as layout
11811 (operator): layout as layout
11812 (delete_layout): layout as layout
11813 (defaultLayout): layout as layout
11815 * lyxlayout_ptr_fwd.h: new file
11817 * lyxlayout.C (Read): layout as layout
11819 * lyx_cb.C (MenuInsertLabel): layout as layout
11821 * bufferlist.C (newFile): layout as layout
11823 * buffer.C (readLyXformat2): layout as layout
11824 (parseSingleLyXformat2Token): layout as layout
11825 (insertStringAsLines): layout as layout
11826 (asciiParagraph): layout as layout
11827 (latexParagraphs): layout as layout
11828 (makeLinuxDocFile): layout as layout
11829 (simpleLinuxDocOnePar): layout as layout
11830 (makeDocBookFile): layout as layout
11831 (simpleDocBookOnePar): layout as layout
11832 (getLists): layout as layout
11834 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11836 * CutAndPaste.C (cutSelection): layout as layout
11837 (pasteSelection): layout as layout
11838 (SwitchLayoutsBetweenClasses): layout as layout
11840 * BufferView_pimpl.C (Dispatch): layout as layout
11841 (smartQuote): layout as layout
11843 * BufferView2.C (unlockInset): layout as layout
11845 2002-06-24 André Pönitz <poenitz@gmx.net>
11847 * lyxfunc.C: fix #487
11849 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11853 * lyxfunc.C: remove display_shortcuts, show_banner
11855 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11857 * Buffer_pimpl.C: oops, update on resize
11859 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11866 * BufferView.C: use repaint()
11868 * BufferView_pimpl.h:
11869 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11870 as it's a clearer description. Remove superfluous
11873 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11875 * text.C: fix bug 488. Not ideal, but getting
11876 getWord() to work properly for the insets that
11877 matter is more difficult ...
11879 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11881 * BufferView_pimpl.C:
11884 * lyxfunc.C: remove the six million index lyxfuncs to just
11885 one, and DTRT (bug 458)
11887 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11891 * BufferView_pimpl.h:
11892 * BufferView_pimpl.C: clean up resize() stuff,
11893 and unnecessary updateScreen()s
11895 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11899 * BufferView_pimpl.h:
11900 * BufferView_pimpl.C:
11903 * minibuffer.C: remove focus management of workarea,
11904 not needed. Use screen's greyOut()
11906 2002-06-17 Herbert Voss <voss@lyx.org>
11908 * converter.C: (convert) do not post a message, when converting
11909 fails, let the calling function decide what to do in this case
11911 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11913 * lyxfunc.C: tidy up a little
11915 2002-06-16 <alstrup@diku.dk>
11917 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11918 Got rid of FORMS_H_LOCATION include. Now we are
11921 2002-06-15 LyX Development team <lyx@rilke>
11923 * buffer.[Ch] (sgmlOpenTag):
11924 (sgmlCloseTag): Added support for avoiding pernicious mixed
11925 content. Return number of lines written.
11927 (makeLinuxDocFile):
11928 (makeDocBookFile): Fixed calls to sgml*Tag.
11929 Simple white space clean.
11931 (simpleDocBookOnePar): Simple white space clean.
11933 * tabular.[Ch] (docBook): Renamed to docbook and got another
11934 argument to related with the pernicious mixed content.
11936 (docbookRow): Fixed calls for docbook inset method.
11938 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11940 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11941 so it's X11 independent.
11945 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11947 2002-06-15 Lyx Development team <lyx@electronia>
11949 * intl.h: Renamed getTrans to getTransManager.
11951 2002-06-14 Angus Leeming <leeming@lyx.org>
11953 * Makefile.am: nuke forgotten stl_string_fwd.h.
11955 2002-06-12 Angus Leeming <leeming@lyx.org>
11957 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11959 2002-06-13 Angus Leeming <leeming@lyx.org>
11962 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11964 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11966 * kbmap.C (getiso): add support for cyrillic and greek
11968 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11972 * BufferView_pimpl.h:
11973 * BufferView_pimpl.C: move bogus scrolling logic
11976 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11979 * BufferView_pimpl.C: view->resize() change
11981 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11983 * BufferView_pimpl.C: topCursorVisible
11986 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11990 * lyx_gui.C: move to frontends/
11994 * lyx_main.C: changes from above
11996 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12003 * lyx_main.C: minor tidy
12005 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12007 * BufferView_pimpl.h:
12008 * BufferView_pimpl.C:
12010 * BufferView.C: make painter() const,
12013 * BufferView2.C: use screen() accessor
12016 * lyx_main.C: some minor cleanup
12018 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12020 * BufferView_pimpl.h:
12021 * BufferView_pimpl.C: remove enter/leaveView,
12024 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12029 * BufferView_pimpl.h:
12030 * BufferView_pimpl.C: only construct screen once,
12033 * lyxrc.C: remove pointless comment
12035 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12038 * BufferView.C: remove active() and belowMouse()
12040 * BufferView_pimpl.h:
12041 * BufferView_pimpl.C: use workarea() not workarea_,
12042 and make it use a scoped_ptr instead
12044 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12046 * lyx_gui.C: add debug message on BadWindow
12048 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12050 * sp_spell.C: fdopen is not part of the C++ standard.
12052 * paragraph.C (InsetIterator): use >= instead of ==
12054 2002-06-07 Angus Leeming <leeming@lyx.org>
12056 Fixes needed to compile with Compaq cxx 6.5.
12057 * BufferView_pimpl.C:
12064 * lyxtextclasslist.C:
12069 all c-library variables have been moved into namespace std. Wrap
12070 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12075 Add a using std::abs declaration.
12077 * kbmap.h (modifier_pair):
12078 * paragraph.h (InsetTable, InsetList):
12079 * lyxfont.h (FontBits):
12080 type definition made public.
12082 * bufferlist.C (emergencyWriteAll): the compiler complains that
12083 there is more than one possible lyx::class_fun template to choose from.
12084 I re-named the void specialisation as lyx::void_class_fun.
12086 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12088 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12089 the compiler is is unable to find tostr in write_attribute.
12091 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12093 * buffer.C (sgmlError): hide #warning
12095 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12097 * xtl/*: get rid of xtl, which is not in use anyway
12099 * LyXAction.C (init):
12100 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12101 were unimplemented xtl experimentation
12103 2002-06-04 André Pönitz <poenitz@gmx.net>
12105 * lyxfunc.C: disable array operation on simple formulae
12107 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12109 * converter.C: constify a bit
12111 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12113 * lyx_gui.C: check xforms version correctly
12115 2002-04-30 Herbert Voss <voss@lyx.org>
12117 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12120 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12122 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12123 attempt to register it with a VCS)
12125 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12127 * lyx_main.C (init): honor variables LYX_DIR_13x and
12130 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12134 * lyx_main.C: fix a crash on bad command line,
12135 and give a useful exit status on error
12137 * lyxfunc.C (doImport): allow -i lyx to work
12139 2002-03-30 André Pönitz <poenitz@gmx.net>
12141 * lyxfunc.C: mathed font changes
12143 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12158 * trans_mgr.h: srcdocs, and some minor cleanups
12160 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12162 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12163 call getFont all the time)
12165 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12167 * switch from SigC signals to boost::signals
12169 2002-05-29 André Pönitz <poenitz@gmx.net>
12171 * paragraph_pimpl.C (getChar): don't call size() too often...
12173 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12175 * paragraph_pimpl.C (insertChar): do not try to update tables when
12176 appending (pos == size())
12178 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12179 in order to reduce drastically the number of comparisons needed to
12180 parse a large document
12182 2002-05-29 André Pönitz <poenitz@gmx.net>
12188 * textclasslist.[Ch]:
12189 * sp_ispell.h: whitespace change
12191 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12193 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12194 lyxaction directly now.
12196 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12200 * lyxvc.C: remove unused headers
12202 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12209 * undo_funcs.C: some cleanups. Use shared_ptr
12210 and a template for the undo stacks.
12212 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12214 * BufferView_pimpl.h:
12215 * BufferView_pimpl.C:
12222 * text2.C: use key_state/mouse_state
12224 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12226 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12229 * chset.C: change include order
12230 (loadFile): use boost regex and get rid of LRegex and LSubstring
12232 * Makefile.am (BOOST_LIBS): new variable
12233 (lyx_LDADD): use it
12235 * LaTeX.C: change include order.
12236 (scanAuxFile): use boost regex and get rid of LRegex and
12240 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12245 * FontInfo.C: moved to frontends/xforms/
12248 * FontLoader.C: moved into frontends for GUIIzation
12253 * lyxfunc.C: changes from above
12255 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12257 * LColor.C: remove spurious X include
12259 * BufferView_pimpl.C:
12264 * text2.C: move font metrics to frontends/
12266 2002-05-24 Juergen Vigna <jug@sad.it>
12268 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12269 setting the undo_cursor.
12271 * ParagraphParameters.h: include local includes first.
12273 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12275 * BufferView_pimpl.C:
12276 * BufferView_pimpl.h:
12280 * screen.C: move WorkArea into frontends/
12286 * BufferView2.C: move LyXScreen into frontends/
12290 * lyx_gui.C: move lyxlookup into frontends/xforms/
12292 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12295 * BufferView_pimpl.C:
12305 * bufferview_funcs.C:
12318 * vc-backend.C: move LyX/XFormsView into frontends/
12320 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12332 * text2.C: move Painter to frontends/
12334 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12336 * buffer.C: comment out some some code that depend upon lyx_format
12339 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12340 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12342 * buffer.h (NO_COMPABILITY): turn off compability
12344 * ColorHandler.C: include scoped_array.hpp
12346 * font.C: Use more specific smart_ptr header.
12349 * ShareContainer.h: ditto
12350 * lyx_main.h: ditto
12352 * FontInfo.h: ditto
12353 * BufferView_pimpl.h: ditto
12354 * ColorHandler.h: ditto
12356 * kbmap.C (defkey): change call to shared_ptr::reset
12358 2002-05-21 Juergen Vigna <jug@sad.it>
12360 * buffer.C (insertErtContents): fix to insert ert asis if it is
12361 non empty. Skip it completely if it contains only whitespaces.
12363 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12365 * BufferView_pimpl.C:
12366 * BufferView2.C: clear selection on paste (bug 393)
12368 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12370 * DepTable.C: include ctime
12372 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12374 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12376 2002-05-14 Juergen Vigna <jug@sad.it>
12378 * text.C (breakParagraph): fixed function to honor the keepempty
12379 layout in the right maner and also to permit the right breaking
12380 algorithm on empty or non empyt keepempty paragraphs.
12382 * paragraph.C (breakParagraph): we have to check also if the par
12383 is really empty (!size()) for isempty otherwise we do the wrong
12386 2002-05-10 Juergen Vigna <jug@sad.it>
12388 * buffer.[Ch] : The following are only changes to the ert
12389 compatibility read reading old LaTeX layout and font stuff and
12390 convert it to ERTInsets.
12392 * buffer.h: added isErtInset().
12394 * buffer.C (struct ErtComp): add a fromlayout bool to check
12395 if we're inside a LaTeX layout.
12396 (isErtInset): new helper function.
12397 (insertErtContents): look for other ert insets before this one
12398 and insert the contents there, so that we don't have subsequent
12399 ERT insets with nothing between them. This way we create only one
12400 inset with multiple paragraphs. Also check if we don't insert only
12401 spaces ' ' as they are ignored anyway afterwards in the .tex file
12402 so if we have only spaces we will ignore this latex part in the
12404 (parseSingleLyXformat2Token \\layout): better compatibility when
12405 reading layout-latex stuff.
12406 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12408 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12409 stuff after reading the inset only get the information back from
12412 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12414 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12416 * LaTeXFeatures.C (getBabelOptions): New method.
12418 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12420 * BufferView_pimpl.C (Dispatch): work around missing argument for
12423 2002-05-08 Juergen Vigna <jug@sad.it>
12425 * text.C (leftMargin): handle paragraph leftindent.
12427 * paragraph.C (writeFile): write the new \\leftindent tag.
12428 (validate): handle leftindent code.
12429 (TeXEnvironment): handle paragraphleftindent code again.
12431 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12433 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12434 for paragrap_extra indent code and new token \\leftindent.
12435 (latexParagraphs): handle the leftindent as environment.
12437 * ParameterStruct.h: added leftindent support.
12439 * ParagraphParameters.C (leftIndent): added support functions for
12440 the paragraph left indent.
12442 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12445 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12447 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12450 * text.C (computeBidiTables): No bidi in insetERT.
12452 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12455 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12457 * version.C.in: pre 5
12459 2002-05-02 José Matos <jamatos@fep.up.pt>
12460 * buffer.C (makeDocBookFile): white space changes, add newline to
12462 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12464 * tabular.C (docBook): fix typo.
12466 2002-05-03 Juergen Vigna <jug@sad.it>
12468 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12469 change in LyXText as we can not be sure it was not freed.
12470 (drawOneRow): remove unused code.
12472 * text.C (drawInset): redo the calculation of the need_break_row as
12473 it could have a row which was already freed.
12474 (draw): look at the return value of drawInset and return false if
12475 it also returned false.
12476 (paintRowText): look at the return value of draw and return false if
12477 it also returned false.
12479 * lyxtext.h: added bool return type to drawInset() and draw() so that
12480 if we have a change in the row so that the rowbreak has to be redone
12481 we abort drawing as it will be called again.
12483 2002-05-02 Juergen Vigna <jug@sad.it>
12485 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12486 a change in the maintext also if we're inside an inset.
12487 (Dispatch): set the cursor again after a break line and after the
12488 screen has been updated as it could be we're in a different row.
12490 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12491 to set the cursor behind the pargraph with > size().
12492 (setCursor): check also for the same paragraph when checking where
12493 to put the cursor if we have a NFR inset.
12495 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12496 parts of layout read further up as it still was in the wrong
12499 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12501 * screen.C (drawFromTo): change sine fullRebreak always return
12504 * buffer.C (parseSingleLyXformat2Token): reindent some
12506 * BufferView_pimpl.C (update): change since fullRebreak always
12508 (Dispatch): git rid of the last hardcoded "Standard"s.
12510 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12512 * text2.[Ch] (fullRebreak): make it return void now that we always
12515 2002-04-30 Juergen Vigna <jug@sad.it>
12517 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12518 ert compatibility check for "latex" layout.
12520 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12522 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12523 minipages: use col% instead of p%, and also use the current font.
12524 (makeLaTeXFile): Fix use babel condition.
12525 (parseSingleLyXformat2Token): Correct font when reading old floats.
12527 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12529 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12530 inserting list of floats.
12532 2002-04-25 Herbert Voss <voss@lyx.org>
12534 * MenuBackend.C (expand): don't add the graphics extensions to the
12537 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12539 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12540 non-existing layout, do not complain if it was the default layout
12541 of the original class (bug #342)
12543 2002-04-24 Juergen Vigna <jug@sad.it>
12545 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12546 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12548 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12550 * buffer.C (getBibkeyList): If using \bibliography, return the
12551 option field with the reference itself. Enables us to provide natbib
12552 support when using \bibliography.
12554 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12556 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12558 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12559 natbib is provided by the LaTeX class.
12561 2002-04-23 Juergen Vigna <jug@sad.it>
12563 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12566 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12568 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12570 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12572 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12573 ensuremath around textordmasculine, textordfeminine and
12576 2002-04-19 Juergen Vigna <jug@sad.it>
12578 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12579 reinitializing the buffer otherwise row-dimensions may be wrong.
12580 (update): reset also the selection cursors if they do exits otherwise
12581 their x/y positions may be wrong.
12583 * text2.C (cursorDown): don't enter the inset if we came from a row
12584 above and are one row over the inset.
12586 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12587 really leaving an inset.
12589 2002-04-18 Juergen Vigna <jug@sad.it>
12591 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12592 of the selected paragraph does not have the selected layout also if
12595 * text2.C (setLayout): fixed bug which did not change last selected
12598 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12599 changed the read and substituted \\end_float with \\end_inset!
12601 * BufferView_pimpl.C (cursorPrevious):
12602 (cursorNext): fixed to make it work with rows heigher than the work
12603 area without moving the cursor only the draw of the row.
12604 (workAreaMotionNotify): fix jumping over high rows.
12606 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12608 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12611 2002-04-16 Juergen Vigna <jug@sad.it>
12613 * text2.C (setCursor): set also the irow().
12614 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12616 (cursorDown): support for locking an inset if the x_fix value goes
12617 inside it. That way I can transverse insets too with cursor up/down.
12619 * lyxrow.h: added irow helper function same as other (i) functions.
12621 * BufferView_pimpl.C (cursorPrevious):
12622 (cursorNext): fixed for insets!
12624 2002-04-15 Juergen Vigna <jug@sad.it>
12626 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12627 position otherwise it is wrong in some cases.
12629 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12630 inside the inset before the call.
12632 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12634 * buffer.[Ch] (getBibkeyList): make it const.
12636 2002-04-12 Juergen Vigna <jug@sad.it>
12638 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12640 * text2.C (getCursorX): new helper function
12641 (setCursor): compute also ix_
12642 (setCursorFromCoordinates): set also ix.
12644 * lyxcursor.h: added ix_ and helper functions.
12646 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12648 * buffer.C (insertStringAsLines): dont break paragraph if the this
12649 paragraph is inside an inset which does not permit it!
12651 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12652 also with no chars on this paragraph.
12653 (paintRowText): only paint stuff if it's inside the workarea!
12655 * paragraph.C (breakParagraph): honor keepempty flag and break the
12656 paragraph always below not above.
12658 * BufferView2.C (unlockInset): update the paragraph layout on inset
12659 unlock as we changed paragraph in such a case.
12661 * lyxfind.C (LyXFind): clear the former selection if not found!
12663 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12664 again called in insertChar().
12666 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12667 an inset which uses the whole row!
12668 (rightMargin): ditto.
12669 (insertChar): force a rebreak if we inserted an inset!
12671 2002-03-28 Herbert Voss <voss@lyx.org>
12673 * lyxlength.[Ch]: add inBP() to get the right PS-point
12674 units (BigPoint). With inPixels we have rounding errors
12676 2002-04-11 Juergen Vigna <jug@sad.it>
12678 * text2.C (setCursorFromCoordinates): set iy to the right value.
12679 (setCursor): add check if row->previous exists!
12681 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12682 an old float_type as this was the case in the old code!
12684 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12686 * BufferView2.C (showLockedInsetCursor): use iy
12687 (fitLockedInsetCursor): ditto
12689 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12690 locked insets as there we have the right value now.
12692 * lyxcursor.C: added iy_ variable and iy functions to set to the
12693 baseline of cursor-y of the locked inset.
12695 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12696 (setCursor): fixed for insets which need a full row.
12698 * text.C (rowLastPrintable): don't ignore the last space when before
12699 an inset which needs a full row.
12700 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12701 as last character of a row when before a inset which needs a full row.
12703 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12705 * version.C.in: update date
12707 * text2.C (fullRebreak): try to always return true and see what
12710 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12712 * MenuBackend.C (expand): use Floating::listName
12714 * FloatList.C (FloatList): add listName argument to the built-in
12717 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12718 text associated with the float.
12720 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12722 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12724 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12726 * ShareContainer.h: add a couple of missing typenames.
12728 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12730 * lyxrc.C (getDescription): use _() correctly rather than N_().
12732 2002-03-28 Herbert Voss <voss@lyx.org>
12734 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12735 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12737 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12739 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12740 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12742 2002-03-29 Juergen Vigna <jug@sad.it>
12744 * lyxfunc.C (dispatch): add a missing fitCursor call.
12746 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12747 it was scrolled by a cursor move, so return the bool status.
12749 * BufferView.C (fitCursor): return the bool flag also to the outside
12750 world as this is needed.
12752 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12754 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12755 call the edit() as it is not needed (and wrong) IMO.
12756 (workAreaButtonPress): set the screen_first variable before evt.
12757 unlock the inset as this may change screen_first and then we have
12758 a wrong y position for the click!
12760 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12762 * MenuBackend.C (expand): another translation that I missed
12764 2002-03-28 Juergen Vigna <jug@sad.it>
12766 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12768 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12770 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12772 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12774 * MenuBackend.C (expand): fix export/view/update when there is no
12777 2002-03-27 Herbert Voss <voss@lyx.org>
12779 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12782 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12784 * bufferview_funcs.C (currentState): only show paragraph number
12785 for is DEVEL_VERSION is set.
12787 * lyxfunc.C (dispatch): put warning in INFO channel
12789 * MenuBackend.C (expand): translate the name of floats
12791 * FloatList.C (FloatList): mark the float names for translation
12793 * converter.C (convert): use LibScriptSearch
12795 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12797 * MenuBackend.C (defaults): fix default menu (we might as well get
12800 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12802 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12805 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12807 * lyxvc.C: reorder includes.
12809 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12811 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12814 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12816 * CutAndPaste.C: change layouts earlier on paste
12817 to avoid crashing when calling getFont()
12819 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12821 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12824 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12826 * WorkArea.C: remove 'Pending' debug message.
12828 * most files: ws cleanup
12830 * buffer.[Ch]: ws changes
12832 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12834 2002-03-21 Juergen Vigna <jug@sad.it>
12836 * tabular.C (SetMultiColumn): collapse also the contents of the
12837 cells and set the last border right. Added a Buffer const * param.
12839 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12841 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12844 2002-03-19 Juergen Vigna <jug@sad.it>
12846 * text2.C (clearSelection): reset also xsel_cache.
12848 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12849 where it needs to be called (John tells us to do so too :)
12850 (selectionLost): reset sel_cache.
12852 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12854 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12856 * text2.C (setCursorIntern): put debuging code in INSETS channel
12858 2002-03-19 André Pönitz <poenitz@gmx.net>
12860 * lyxfunc.C: tiny whitespace change
12862 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12864 * ToolbarDefaults.C (init):
12865 * LyXAction.C (init):
12867 * BufferView_pimpl.C (Dispatch):
12868 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12870 2002-03-19 Allan Rae <rae@lyx.org>
12872 * exporter.C (Export): removeAutoInsets before doing anything else.
12873 While I've just introduced a dependency on BufferView this really is
12874 the best place to clean the buffer otherwise you need to cleanup in
12875 a dozen places before calling export or cleanup in a dozen functions
12878 * converter.C (runLaTeX):
12879 (scanLog): Better handling of removeAutoInsets and screen updates.
12881 * lyxfunc.C (dispatch): small whitespace changes
12883 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12885 * WorkArea.C (C_WorkAreaEvent): return a value.
12886 (event_cb): return 1 if we handled the event, 0 otherwise.
12888 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12890 2002-03-18 Juergen Vigna <jug@sad.it>
12892 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12893 (GetAdditionalWidth): ditto.
12894 (RightLine): ditto.
12897 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12898 inset if we're there actually (probably not used right now but this
12899 is the direction to go for unifying code).
12900 (paste): disable code to clear the selection.
12902 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12903 inside an InsetText and move the check further up as it is in the
12906 * text2.C (pasteSelection): set a selection over the pasted text.
12908 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12910 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12911 and libgraphics to build on Cygwin.
12913 2002-03-15 Juergen Vigna <jug@sad.it>
12915 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12916 inserting an Inset into the paragraph. I know this is not the best
12917 fix but we already use current_view in CutAndPaste so we will remove
12918 all of it's using at the same time.
12920 * buffer.C (sgmlError): deactivated function till it is rewritten in
12921 the right mode, now it can create problems.
12923 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12924 before accessing it.
12926 2002-03-14 Juergen Vigna <jug@sad.it>
12928 * undo_funcs.C (textHandleUndo): do the right thing when updating
12929 the inset after the undo/redo.
12931 * text2.C (setCursor): just some testcode for #44 not ready yet.
12933 * undo_funcs.C (textHandleUndo): set the next() and previous()
12934 pointers of the paragraph to 0 before deleting otherwise we have
12935 problems with the Paragraph::[destructor].
12937 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12938 on a paragraph insertion.
12940 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12942 * buffer.C (asciiParagraph): use += operator for char append to
12945 * paragraph.C (getFontSettings): compare >= not just >
12946 (highestFontInRange): ditto
12949 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12951 * paragraph.C: change several algorithm to be more appripriate for
12952 the problem domain. This is lookip in FontList and in the InsetList.
12954 2002-03-13 André Pönitz <poenitz@gmx.net>
12957 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12959 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12964 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12966 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12968 * Painter.C (display): anon helper function, adjust code for this
12970 (pixmap): remove function.
12972 * Painter.h: remove private display variable.
12974 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12976 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12978 * WorkArea.[Ch]: remove figinset_canvas cruft.
12980 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12982 * lyxtextclass.C (operator): add one item cache optimization.
12984 * bufferlist.h: doxy changes
12986 * bufferlist.C: ws changes
12988 * DepTable.[Ch] (ext_exist): place const in the right spot.
12990 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12992 (workAreaExpose): call resizeInsets when the with BufferView changes.
12993 (Dispatch): adjust for protectedBlank removal
12994 (specialChar): call updateInset if the insert went ok.
12996 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12997 specialChar instead.
12999 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13001 * BufferView.h: doxy change
13003 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13005 * lyxtextclass.C (operator[]): remove non-const version
13006 (defaultLayout): remove non-const version
13008 2002-03-12 Juergen Vigna <jug@sad.it>
13010 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13011 did resize the LyXText too.
13013 * buffer.C (readLyXformat2): set layout information on newly allocated
13016 * tabular.C (OldFormatRead): set layout information on the paragraph.
13018 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13020 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13022 2002-03-11 Juergen Vigna <jug@sad.it>
13024 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13026 (resizeCurrentBuffer): force also the insets to resize themselfes.
13027 (moveCursorUpdate): fixed up for InsetText.
13029 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13032 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13033 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13034 value of Dialogs::tooltipsEnabled().
13035 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13037 2002-03-08 Juergen Vigna <jug@sad.it>
13039 * BufferView_pimpl.C (updateInset): update inset inside inset also
13040 if it isn't inside theLockingInset().
13042 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13044 * buffer.C (asciiParagraph): redo some of the word and line length
13046 (getLists): look for Caption instead of caption.
13048 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13050 * buffer.C (Buffer): initialize niceFile to true
13052 (makeLinuxDocFile):
13053 (makeDocBookFile): make sure niceFile is true on exit
13055 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13057 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13059 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13061 * LyXSendto.C: remove.
13062 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13063 * lyx_gui.C: remove now-redundant comment.
13064 * ColorHandler.h: remove forward declaration of class WorkArea.
13065 * lyxfunc.C: remove #include "WorkArea.h".
13067 2002-03-07 Juergen Vigna <jug@sad.it>
13069 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13070 got moved away with the DEPM and also set the inset_owner always
13071 right which before could have been omitted.
13073 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13075 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13076 wanted layout is not found.
13078 2002-03-07 Juergen Vigna <jug@sad.it>
13080 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13082 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13084 * paragraph.C (breakParagraph): use default layout not layout of
13086 (Paragraph): clear ParagraphParameters.
13088 2002-03-06 Juergen Vigna <jug@sad.it>
13090 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13091 otherwise it would not be a valid lenght. Fixed a special case in
13092 the minipage compatibility read where we end the document with a
13095 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13096 was set as it could be 0 for InsetTexts first entry.
13098 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13100 * paragraph.C (writeFile): if layout is empty write out
13101 defaultLayoutName().
13103 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13104 file without named layout we set layout to defaultLayoutName().
13106 2002-03-06 Juergen Vigna <jug@sad.it>
13108 * CutAndPaste.C (copySelection): set layout for new paragraph.
13110 * text.C (prepareToPrint): leave ERT inset left aligned
13111 (leftMargin): don't indent paragraphs inside ERT insets
13113 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13115 * paragraph.C (breakParagraph): dont call clear do the work manually
13117 * paragraph.[Ch] (clear): remove function
13119 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13121 * paragraph.C (Paragraph): dont call clear, the work has already
13124 * lyxtextclass.C (operator): assert if n is empty
13126 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13127 work manually instead.
13129 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13131 * BufferView_pimpl.C: protect selectionLost against text == 0
13133 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13135 * text.C (breakParagraph): fix a setting layout to '0' problem.
13137 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13139 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13140 final location of file, for the included files, and graphics.
13142 2002-03-05 Juergen Vigna <jug@sad.it>
13144 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13146 2002-03-04 Juergen Vigna <jug@sad.it>
13148 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13150 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13151 last column of multicolumn cells.
13152 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13154 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13156 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13157 file if it doesn't go to a temporary file.
13159 * buffer.C (sgmlOpenTag):
13160 (sgmlCloseTag): remove extra newline insertion.
13162 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13164 * text.C (getRowNearY): comment out debug msg
13166 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13168 * text2.C: first -> first_y
13170 * text.C (getRowNearY): add some attemts at a possible
13171 optimization, not working.
13173 * tabular.[Ch]: add BufferParams to several function so that newly
13174 created paragraph can be initialized to he default layotu for the
13177 * tabular-old.C (ReadOld): add buf->params to call of Init
13179 * screen.C: rename text->first to text->first_y
13181 * paragraph.C (breakParagraph): always set layout in the broken
13184 * lyxtextclass.C (Read): remove lowercase
13187 (delete_layout): ditto
13189 * lyxtext.h: rename first -> first_y
13191 * lyxlayout.C (Read): remove lowercase
13194 (obsoleted_by): ditto
13196 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13198 * buffer.C (insertErtContents): add params are to InsetERT
13199 (parseSingleLyXformat2Token): add code to check if a paragraphs
13200 layout really exist.
13201 (parseSingleLyXformat2Token): add params to several inset
13203 (asciiParagraph): remove lowercase, do the layout comparisons with
13206 * BufferView_pimpl.C (cursorNext): first -> first_y
13207 (resizeCurrentBuffer): first -> first_y
13208 (updateScrollbar): first -> first_y
13209 (scrollCB): first -> first_y
13210 (workAreaMotionNotify): first -> first_y
13211 (workAreaButtonPress): first -> first_y
13212 (checkInsetHit): first -> first_y
13213 (cursorPrevious): first -> first_y
13214 (cursorNext): first -> first_y
13215 (Dispatch): add buffer_->params to severl inset contructors
13217 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13219 * lyxlayout.C (Read): remove some debug info that I forgot.
13221 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13222 clean up the code slightly.
13223 (makeLinuxDocFile): ditto
13224 (makeDocBookFile): ditto
13226 * text2.C: layout as string
13228 * text.C: layout as string
13230 * paragraph_pimpl.C: layout as string
13232 * paragraph.[Ch]: layout as string
13234 * lyxtextclasslist.[Ch]: layout as string
13236 * lyxtextclass.[Ch]: layout as string
13238 * lyxtext.h: layout as string
13240 * lyxlayout.[Ch]: layout as string
13242 * lyx_cb.C: layout as string
13244 * bufferview_funcs.C: layout as string
13246 * bufferparams.C: layout as string
13248 * buffer.C: layout as string
13250 * LyXView.[Ch]: layout as string
13252 * LaTeXFeatures.[Ch]: layout as string
13254 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13256 * BufferView_pimpl.C: change current_layout to string, remove
13261 (workAreaButtonRelease): layout as string
13263 * BufferView2.C (unlockInset): adjust
13265 * vspace.C (asLatexCommand): use an explict temp variable.
13267 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13269 * Makefile.am: use FRONTEND_*
13271 2002-03-01 Juergen Vigna <jug@sad.it>
13273 * tabular.C (SetWidthOfMulticolCell): changed to something better
13274 I hope but still work in progress.
13275 (recalculateMulticolumnsOfColumn): renamed function from
13276 recalculateMulticolCells as it is more appropriate now.
13277 (SetWidthOfCell): calculate multicols better.
13279 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13281 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13283 * lyxfunc.C (processKeySym): print sequence also if it is
13284 `deleted' (complete)
13286 * kbsequence.C (print): print sequence even if it is deleted
13287 (complete would be a better word, actually).
13289 * lyxfunc.C (dispatch): print complete options after a prefix key
13291 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13293 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13295 * text2.C (setCharFont): eliminate setCharFont code duplication.
13297 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13299 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13300 LFUN_TABULAR_FEATURE (bug #177)
13302 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13304 * Makefile.am: remove figure.h
13306 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13308 * Bufferview_pimpl.C:
13320 * text2.C: remove #include "lyx_gui_misc.h".
13322 * LaTeX.C: added #include <cstdio>
13324 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13326 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13327 that the paragraph following this one can have.
13329 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13331 * vspace.C (asLatexCommand): fix bogus gcc warning
13333 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13335 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13337 * text2.C (setLayout): get rid of redundant code
13339 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13341 * text2.C (incDepth): make sure depth cannot be increased beyond
13344 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13346 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13347 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13349 * PainterBase.h (image):
13350 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13351 a LyXImage const *.
13353 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13357 * BufferView_pimpl.C:
13358 * BufferView_pimpl.h:
13378 * sp_spell.C: remove fig inset, and the crap house of
13379 cards that follows it
13381 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13386 * os2_errortable.h:
13387 * nt_defines.h: move .h into support/
13389 * vms_defines.h: remove
13391 * WorkArea.C: add space in debug output
13395 * buffer.C: add WITH_WARNINGS
13399 * bufferlist.C: s/retrive/retrieve/, add docs
13408 * chset.C: add docs
13410 * lyxgui.C: add ID to X error handler
13412 * lyxtestclass.c: fix typo
13414 2002-02-26 Juergen Vigna <jug@sad.it>
13416 * tabular_funcs.C (write_attribute): changed so that some default
13417 attributes are not written at all.
13418 (getTokenValue): set default values before trying to read the
13419 value so we have the return value always set as default if we don't
13420 find the token we search for.
13422 * tabular.C (Write): write bools as bools not as strings!
13424 2002-02-22 Juergen Vigna <jug@sad.it>
13426 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13427 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13429 * text.C (leftMargin): don't add an indent for paragraphs inside
13430 tabular cells (fix #208).
13432 2002-02-21 José Matos <jamatos@fep.up.pt>
13434 * tabular.C (docBook): fixed support for long tables.
13436 2002-02-20 Juergen Vigna <jug@sad.it>
13438 * text2.C (getFont): get the drawing font of the Inset if this
13439 paragraph is inside an inset (only important for InsetERT for now).
13441 * buffer.C (insertErtContents): use new lanugage params in ERT
13444 * CutAndPaste.C: commenting out seemingly uneeded code.
13446 2002-02-19 Allan Rae <rae@lyx.org>
13448 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13449 Iterators might be simple to use but they also get invalidated.
13450 (removeAutoInsets): renamed saved cursor tracking variables and added
13451 some comments to clarify what everything does.
13453 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13460 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13461 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13464 * vc-backend.h: remove #include "support/syscall.h"
13468 * converter.C: rearrange #includes in Lars' approved fashion.
13470 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13471 forward declare class Timeout in the header file.
13473 * XFormsView.C: changes due to the above.
13475 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13476 similar to LyXView.
13478 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13479 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13481 2002-02-18 José Matos <jamatos@fep.up.pt>
13483 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13486 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13488 * a lot of small ws changes
13489 * add a lot of using std::XXX
13490 * use std construcs some places where approp.
13491 * use some exisint stuff from lyxfunctional where approp.
13492 * Make file changes to use partial linking (lets test this now...)
13494 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13498 remove #include "support/syscontr.h" as it's redundant. Always has been.
13506 change Systemcalls::System to Systemcalls::Wait and
13507 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13508 No change of functionality, just reflects the stripped down Systemcalls
13511 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13513 * debug.[Ch]: add a GRAPHICS type to the enum.
13515 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13517 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13519 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13522 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13524 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13525 match the changes below.
13527 * text2.C (toggleInset): if there is not editable inset at cursor
13528 position, try to see if cursor is _inside_ a collapsable inset
13531 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13533 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13534 document menu has a nice checkbox
13536 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13538 * lyxlength.C (asLatexString): change PW to output as percent of
13541 * lengthcommon.C: change '%' to 't%'
13543 * lyxfunc.C (dispatch): a few comments from Martin
13545 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13549 * BufferView_pimpl.h:
13550 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13553 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13555 * vspace.C (inPixels): fix compiler warning
13557 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13559 * lyxfunc.C (getStatus): fix status message for disabled commands.
13561 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13563 * BufferView_pimpl.C: fix crash on close buffer
13564 during selection (#227)
13566 2002-01-27 Herbert Voss <voss@lyx.org>
13568 * buffer.C: link old Figure to new graphic inset
13570 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13572 * FontLoader.C (getFontinfo): Change the latex font names in order
13573 to match the names of type1inst.
13575 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13577 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13579 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13580 (extchanged): ditto
13582 (remove_files_with_extension): ditto
13583 (remove_file): ditto
13586 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13587 document is smaller than the work area height. Do not initialize
13588 static variables to 0.
13590 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13592 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13594 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13595 LFUN_LAYOUT_PARAGRAPHS.
13597 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13598 tabular. It is possible to provide a possible cell, which will
13599 typically be the actcell from the corresponding insettabular
13601 * lyxfunc.C (getStatus): small cleanup; disable
13602 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13605 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13607 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13609 * paragraph.C (startTeXParParams):
13610 (endTeXParParams): new methods. The LaTeX code to
13611 start/end paragraph formatting
13612 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13613 empty (fixes bug #200)
13615 * vspace.C (inPixels): adapt to the change below
13616 (inPixels): [later] more cleanups (remove unused variables)
13618 * lyxlength.C (inPixels): change to use a width and a height as
13621 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13623 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13624 Replaced with \paperwidth
13626 * DepTable.C (insert): add std:: qualifier
13628 2002-01-18 Allan Rae <rae@lyx.org>
13630 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13633 * text.C (drawInset): Turned out I didn't know enough about how
13634 rebreaking worked. This fixes most of the redraw problems. I see
13635 an occasional cursor trail when a line is broken now and the cursor
13636 placement can seem out by a few pixels also after a rebreak.
13638 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13640 * buffer.C (parseSingleLyXformat2Token): update because minipage
13641 width is now a LyXLength
13643 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13645 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13648 2002-01-17 Juergen Vigna <jug@sad.it>
13650 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13652 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13653 is set correctly and the inset is updated correctly.
13655 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13657 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13658 the beginning of the loop.
13660 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13662 * lyxrc.C: improve help for use_scalable_fonts
13664 2002-01-17 Allan Rae <rae@lyx.org>
13666 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13668 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13670 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13671 make sure to set their inset_owner to the right value (bug #171)
13673 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13676 * DepTable.C: Implement mtime checking to reduce time spent doing
13679 2002-01-16 Juergen Vigna <jug@sad.it>
13681 * tabular.C (GetAdditionalHeight): one of error fixed.
13683 * lyxrc.C (output): small fix in writing use_pspell.
13685 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13687 * sp_base.h: #include LString.h
13689 2002-01-16 Allan Rae <rae@lyx.org>
13691 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13692 Can someone check this please?
13694 * text.C (drawInset): It was possible that p.row would be removed by
13695 breakAgainOneRow upsetting a few other settings. There may be another
13696 small tweak possible by setting need_break_row = 0 when p.row has been
13697 removed but I don't know enough about the logic here.
13699 2002-01-15 Allan Rae <rae@lyx.org>
13701 * text.C (insertChar): removed conditional truism.
13703 * BufferView2.C (removeAutoInsets): More tweaks.
13704 cur_par_prev could be a stray pointer. Check for trailing empty line
13705 in case last line was cur_par and only had an error inset on it.
13707 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13709 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13712 * vc-backend.C (most methods):
13713 * exporter.C (Export):
13714 * converter.C (convert):
13716 * LyXSendto.C (SendtoApplyCB):
13717 * lyxfunc.C (dispatch):
13721 * lyx_cb.C (AutoSave):
13723 * BufferView_pimpl.C (MenuInsertLyXFile):
13724 * buffer.C (runChktex): use Buffer::filePath().
13726 * buffer.h: rename filename to filename_; rename filepath to
13727 filepath_ and make it private
13728 (filePath): new method
13730 * buffer.C (writeFile): use fileName()
13733 * lyx_main.C (init): fix starting of LyX when the binary is a
13734 link from so,ewhere else.
13736 * minibuffer.C: include <cctype> for isprint
13738 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13740 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13741 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13742 name clash with InsetCollapsable's width function.
13744 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13746 * lastfiles.C: include <iterator>
13748 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13750 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13753 * buffer.C (makeLaTeXFile): ditto.
13754 Also make loop operation more transparent.
13756 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13758 * ToolbarDefaults.C: remove trailing comma closing namespace.
13760 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13762 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13765 * trans.C (Load): comment out unused variable, allowed.
13767 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13769 * minibuffer.[Ch] (append_char): new method to recieve input from the
13770 drop-down completion browser. If a key was pressed, then recieve this
13771 char and append it to the existing string.
13772 (peek_event): modify the positioning data passed to the completion
13773 browser so that it can be placed above the minibuffer rather than below.
13774 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13776 * LyXAction.C (init): alloe error-next for readonly documents.
13778 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13781 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13783 * bufferlist.C (readFile): create the buffer _after_ checking that
13786 * lyxfunc.C (verboseDispatch): fix handling of arguments
13788 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13790 * lyxrc.C: use string::erase() instead of initializing to "".
13793 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13795 * BufferView_pimpl.h:
13796 * BufferView_pimpl.C:
13799 * text2.C: tell X when we have made a selection for copying
13801 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13803 * BufferView_pimpl.C (MenuInsertLyXFile):
13804 * lyxfunc.C (menuNew):
13806 (doImport): add shortcuts to directory buttons
13808 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13811 * lyxfunc.C (setStatusMessage):
13812 (getStatusMessage): new methods
13813 (getStatus):use setStatusMessage instead of setErrorMessage
13814 (dispatch): when function is disabled, set error message here
13815 [instead of in getStatus previously]
13817 * BufferView_pimpl.C (workAreaButtonRelease): update
13818 toolbar/menubar here too.
13820 2002-01-13 Allan Rae <rae@lyx.org>
13822 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13823 Now seems indestructible. Remaining task is to audit all other
13824 code affected by deleteEmptyParagraphMechanism. One small quirk
13825 left is that an empty document with an error in the preamble can
13826 be made to report an error but no error box appears. I don't know
13828 (removeAutoInsets): Improved comments.
13830 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13833 * Thesaurus.C: update for Aiksaurus 0.14
13835 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13837 * text2.C (firstParagraph): removed member function, all uses
13838 replaces with ownerParagraph
13839 (redoParagraphs): here
13840 (updateInset): here
13841 (toggleAppendix): here
13842 * BufferView2.C (insertErrors): here
13843 (setCursorFromRow): here
13845 2002-01-13 Allan Rae <rae@lyx.org>
13847 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13848 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13849 There is still a way to segfault this although you may have to do this
13850 multiple times: Have an InsetERT with an unknown command in it.
13851 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13852 <down-arrow>, <Enter> again, View->DVI, BANG!
13854 * text2.C (setCursor):
13855 (deleteEmptyParagraphMechanism):
13856 * lyxtext.h (setCursor):
13857 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13858 Making use of the return value may help fix other bugs.
13860 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13862 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13864 * LyXView.C (updateMenubar): call MenuBar::update here
13865 (updateToolbar): but not here
13866 (showState): do not update toolbar/menubar
13868 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13869 should need to care about that.
13871 * lyxfunc.C (verboseDispatch): simplify a bit
13872 (getStatus): have a version which takes a pseudoaction, and
13873 another which requires a (kb_action,string).
13875 * LyXAction.C (retrieveActionArg): make it work also when action
13876 is not a pseudo-action.
13877 (getActionName): simplify a bit
13880 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13882 * lyxfunc.C (verboseDispatch): new families of methods with
13883 several ways to specify a command and a bool to indicate whether
13884 the command name and shortcut should be displayed in minibuffer
13885 (eventually, we could extend that to a finer bitmask like
13886 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13887 (dispatch): the pristine dispatch command which just, well,
13888 dispatchs! Note it still sets its result to minibuffer; I'm not
13891 * lyxfunc.h: remove setHintMessage
13893 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13895 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13897 * BufferView_pimpl.C (specialChar): delete new inset if we have
13898 not been able to insert it.
13900 * kbmap.C: revert to using int instead of kb_action, since all we
13901 are dealing with is pseudo-actions.
13903 * LyXAction.C (searchActionArg): change to return int instead of
13904 kb_action, since the result is a pseudoaction.
13906 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13908 * buffer.C (insertErtContents): Fix (partially) the font bug.
13910 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13912 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13913 as the other one is broken on my machine!
13915 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13918 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13920 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13922 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13923 reflect their actual use. Provide compatibility code for older lyxrc
13926 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13928 change names of popup font variables in line with the changes to lyxrc.C
13930 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13932 * buffer.C (asciiParagraph): avoid outputing a word twice after
13935 * lyxrc.C (getDescription): document that document_path and
13936 template_path can be empty.
13938 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13940 * LaTeXFeatures.C (getMacros):
13941 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13943 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13945 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13947 (getPackages): rename feature "floats" to "float". Use an array to
13948 iterate over 'simple' features (i.e. just a \usepackage). Add
13949 handling of "amsmath" (renamed from "amsstyle").
13951 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13953 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13956 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13958 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13959 FuncStaus::FuncStatus & FuncStaus::some_method().
13961 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13963 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13964 of the func_satus stuff. Edited and massaged in various ways by
13967 * lyxfunc.C (getStatus): use FuncStatus
13969 2002-01-08 Juergen Vigna <jug@sad.it>
13971 * text.C (nextBreakPoint): use function Inset::isChar().
13973 * paragraph.C (TeXOnePar): use function
13974 Inset::forceDefaultParagraphs.
13976 * buffer.C (latexParagraphs): use function
13977 Inset::forceDefaultParagraphs.
13979 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13981 * lyx_gui.C (init): set the style of the menu popups to
13982 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13984 2002-01-07 Juergen Vigna <jug@sad.it>
13986 * text.C (setHeightOfRow): small fix
13987 (prepareToPrint): don't look at alignment if we don't have the place
13990 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13992 * box.C: New file. Move the Box methods and functions out of box.h,
13993 following Lars' suggestion.
13995 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13997 * box.h: #include "support/LOstream.h", needed for inlined function.
14000 * lyxtextclasslist.C: added some using std declarations.
14002 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14004 * box.h: make signed dimensions to allow insets wider than
14005 the screen (bug #162)
14007 * BufferView_pimpl.C: add some insetHit debug
14009 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14011 * vc-backend.C: add FIXME
14013 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14015 * lyxfunc.C (getStatus): enable code for showing math font status
14018 2002-01-07 Juergen Vigna <jug@sad.it>
14020 * text.C (nextBreakPoint): removed debug output not needed anymore.
14022 2002-01-06 Juergen Vigna <jug@sad.it>
14024 * text.C (nextBreakPoint): fixed up this function we had this bug
14025 since ever but now hopefully we break row better.
14026 (insertChar): we have to check if an inset is the next char as it
14027 could now happen that a large inset is causing a break.
14029 2002-01-05 Juergen Vigna <jug@sad.it>
14031 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14032 if it doesn't like to be drawed.
14034 2002-01-04 Juergen Vigna <jug@sad.it>
14036 * BufferView2.C (lockInset): forgot to set a cursor.
14038 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14040 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14042 * FormMathsPanel.C:
14045 * form_maths_panel.C:
14046 * form_maths_panel.h:
14047 * form_maths_panel.fd: implemented sub- and super- buttons in math
14050 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14051 (or ^ space) to be used as in TeX (req'd by Andr�.
14053 * lyxfunc.C: Allow ^ and _ again to be used both as
14054 super/subscript (mathed) and as themselves (in text).
14056 2002-01-03 Allan Rae <rae@lyx.org>
14058 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14059 "LyX" or the filename of the current buffer if it has one. This is a
14060 modified form of John Levon's patch.
14062 * XFormsView.C (setWindowTitle): also set icon title.
14064 * LyXView.h (setWindowTitle): signature changed.
14065 * XFormsView.h (setWindowTitle): ditto.
14067 2002-01-02 Juergen Vigna <jug@sad.it>
14069 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14071 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14073 * screen.C (topCursorVisible): introduce a temp var for
14074 text->cursor.row(), handle the case where this row is null. (kindo
14077 * text2.C (setCursor): add a couple of asserts.
14079 * paragraph.h (inset_iterator): add -> operator
14081 * paragraph.[Ch] (autoDeleteInsets): remove member function
14083 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14084 cursor pos correctly and handle inset deletion by itself.
14085 (insertErrors): move iterator declaration out of for expression
14087 * lyxtextclass.C: add <algorithm>
14089 * Makefile.am: added the new files to sources, removed layout.C
14091 * layout.C: removed file
14093 * layout.h: remove LYX_DUMMY_LAYOUT
14095 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14099 * lyxtextclass.[Ch]:
14100 * lyxtextclasslist.[Ch]: new files
14102 * include order changes to a lot of files, also changes because of
14105 2001-12-27 Juergen Vigna <jug@sad.it>
14107 * buffer.C (asciiParagraph): more fixes.
14109 * tabular.C (ascii): make ascii export support export of only the
14110 data separated by a column-delimiter.
14111 (ascii): better support for ascii export.
14113 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14115 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14117 * tabular_funcs.C: use a "using std::getline" instead of the
14118 previous fix from Angus (necessary for cxx + lyxstring)
14120 2001-12-24 Juergen Vigna <jug@sad.it>
14122 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14124 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14125 problems. First check a minipage also if we have some ert-contents
14126 (not only on par->size(), second set the right depth of the paragraph
14127 on the relink to the root-paragraph-list!
14129 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14130 which then did not anymore update the main paragraphs on undo/redo!
14132 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14134 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14135 code. Support all font-changing funcs (even those which are not in
14136 menu currently). Support for reporting font settings in
14137 mathed (disabled until Andre provides a function on mathed's side).
14139 * func_status.h (toggle): small helper function to set toggle
14142 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14144 * tabular_funcs.C: getline -> std::getline
14146 2001-12-21 Juergen Vigna <jug@sad.it>
14148 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14149 accessed and could be 0 (I couldn't generate this but it seems
14152 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14154 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14155 * tabular_funcs.h: here and include iosfwd
14157 2001-12-20 Juergen Vigna <jug@sad.it>
14159 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14160 inside inset but undo_par was.
14162 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14164 * Thesaurus.C: always include <config.h> in sources.
14168 * box.h: do not include <config.h> in header files
14170 * text.C (paintLastRow): remove unused variable
14172 * text.C (transformChar):
14174 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14176 * Painter.C (text):
14177 * font.C (width): rewrite to use uppercase() instead of
14180 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14182 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14184 * lyxfind.C: clean up of find failure position change
14186 2001-12-20 Juergen Vigna <jug@sad.it>
14188 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14190 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14191 (TeXRow): added to LaTeX a single tabular row.
14192 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14193 (Latex): simplified and finally good LT-h/f support.
14194 (various_functions): just small adaptions for LT-h/f support.
14196 * tabular_funcs.[hC]: added and moved here all not classfunctions
14199 2001-12-19 Juergen Vigna <jug@sad.it>
14201 * tabular.[Ch]: better support for longtabular options (not finished
14204 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14206 * text.C (paintLastRow): use the label font instead of the font of
14207 the last character to compute the size of *_BOX. This makes more
14208 sense and avoids a crash with empty paragraphs.
14209 Use Painter::rectangle to draw EMPTY_BOX.
14211 2001-12-19 Juergen Vigna <jug@sad.it>
14213 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14214 the paragraphs if the replaced paragraph is not the first one!
14215 Tried to delete not used paragraphs but does not work yet so for
14216 now it's inside #ifdef's and by default off!
14218 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14220 * MenuBackend.C: include "lyx_main.h" instead of declaring
14221 lastfiles (actually was declared as LastFiles* instead of a
14224 2001-12-17 Juergen Vigna <jug@sad.it>
14226 * tabular.C (AppendColumn): applied John's fix
14228 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14232 * BufferView_pimpl.h:
14233 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14236 * box.h: new start of class for above
14238 * lyxfunc.C: ignore space-only minibuffer dispatches.
14239 Show the command name when it doesn't exist
14241 * minibuffer.C: don't add empty lines to the history
14243 * minibuffer.C: add a space on dropdown completion
14245 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14247 * text.C: fix line above/below drawing in insets
14249 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14251 * lyxlength.C (LyXLength): Initialize private variables.
14253 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14255 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14256 when inserting error insets.
14258 2001-12-13 Juergen Vigna <jug@sad.it>
14260 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14261 actually sometimes the before-paragraph.
14262 (setUndo): don't clear the redostack if we're not actually undoing!
14264 2001-12-06 Juergen Vigna <jug@sad.it>
14266 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14267 and fixed redoing of main paragraph, so we can use it now ;)
14269 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14271 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14273 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14276 2001-12-13 André Pönitz <poenitz@gmx.net>
14279 * undo_func.C: minor cleanup
14281 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14283 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14284 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14285 font in urw-fonts package which is marked as -urw-fontspecific and
14286 does not work (incidentally, changing the encoding in the
14287 fonts.dir of this package to -adobe-fontspecific fixes the
14290 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14291 is a crash when undoing first paragraph (Juergen, please take a
14292 look). THis does not mean the undo fix is wrong, just that it
14295 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14296 the (Paragraph*) version when needed instead of duplicating the
14299 * text.C (workWidth): use Inset::parOwner to find out where the
14300 inset has been inserted. This is a huge performance gain for large
14301 documents with lots of insets. If Inset::parOwner is not set, fall
14302 back on the brute force method
14304 * paragraph_pimpl.C (insertInset):
14305 * paragraph.C (Paragraph):
14306 (cutIntoMinibuffer): set parOwner of insets when
14307 inserting/removing them
14309 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14311 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14317 * mathed/formulabase.C:
14318 * mathed/math_cursor.[Ch]:
14319 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14322 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14324 * lyxlength.[Ch] (operator!=): new function
14326 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14328 * text.C (workWidth): use Inset::parOwner to find out where the
14329 inset has been inserted. This is a huge performance gain for large
14330 documents with lots of insets. If Inset::parOwner is not set, fall
14331 back on the brute force method
14333 * paragraph_pimpl.C (insertInset):
14334 * paragraph.C (Paragraph):
14335 (cutIntoMinibuffer): set parOwner of insets when
14336 inserting/removing them
14338 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14340 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14342 * tabular-old.C (getTokenValue):
14343 * tabular.C (getTokenValue):
14344 (write_attribute): new versions for LyXLength
14345 (everywhere): adjust the use of widths
14347 * tabular.h: change the type of widths from string to LyXLength
14349 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14351 * paragraph.C: fixed missing line number count when exporting
14352 Environments to LaTeX file
14354 * buffer.C: added informational message for checking line numbers.
14356 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14358 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14359 paragraph, do the 'double space' part, but not the 'empty
14362 * text.C (workWidth): small optimization
14363 (getLengthMarkerHeight): use minimal size for negative lengths.
14365 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14367 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14369 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14371 2001-12-11 André Pönitz <poenitz@gmx.net>
14374 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14376 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14378 * text2.C: keep selection on a setFont()
14380 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14382 * lyx_cb.C: another bv->text misuse, from insert label
14384 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14387 * kbsequence.C: re-instate nmodifier mask
14389 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14391 * lyx_main.h: make lyxGUI private.
14393 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14395 * lyxfind.C: place the cursor correctly on failed search
14397 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14399 * text.C (getLengthMarkerHeight): for small heights, the arrows
14400 are not always on top/bottom of the text
14401 (drawLengthMarker): smaller arrows; take the left margin in
14402 account; draw also vfills.
14404 (paintLastRow): remove special code for vfill and standard spaces,
14405 since everything is handled in drawLengthMarker now.
14407 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14409 * buffer.C (insertErtContents): try to handle font and language
14410 interaction a bit better.g
14412 * ColorHandler.C (updateColor): change the hash to cover the whole
14413 LColor enum, ws cleanup
14414 (getGCLinepars): ditto
14415 (getGCLinepars): only lookup in the linecache once.
14417 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14419 * iterators.C (operator++): Make the iterator more robust
14421 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14423 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14425 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14428 * text.C: better added space drawing
14430 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14433 * BufferView2.C: fix layout combo update on inset unlock
14435 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14437 * Makefile.am: don't compile unused files
14439 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14443 * LyXAction.C: remove old LFUN_LAYOUTNO
14445 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14447 * paragraph_pimpl.h:
14448 * paragraph_pimpl.C: isTextAt() doesn't need font param
14450 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14453 * lyxlex.C: little cleanup
14455 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14457 * BufferView_pimpl.C: fix insertAscii for insets
14459 2001-12-05 Juergen Vigna <jug@sad.it>
14461 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14462 set the right font on the "multi" paragraph paste!
14464 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14470 * lyxlength.C: remove out-commented code.
14472 * BufferView_pimpl:
14486 * vc-backend.C: change "while(" to "while ("
14488 * lyxlength.[Ch]: add zero function to check if length is zero or
14490 * lyxgluelength.C: use it
14492 2001-12-05 Allan Rae <rae@lyx.org>
14494 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14495 Works for 2.95.3, from what I understand of Garst's reports this should
14496 work for other g++ versions. We're screwed if the abs(int) definition
14497 changed between bugfix releases of gcc.
14499 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14501 * text.C: fix chapter label offset !
14503 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14506 * text.C: fix hfill at end of line, clean up
14508 2001-12-04 Juergen Vigna <jug@sad.it>
14510 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14511 that we force an update of the inset and it's owners if neccessary.
14513 2001-12-03 Juergen Vigna <jug@sad.it>
14515 * text.C (rowLast): simplified code
14517 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14519 * lyxfunc.C: fix show options on timeout
14521 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14523 * screen.C (topCursorVisible): scroll half a page when the cursor
14524 reached top of bottom of screen
14526 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14528 * minibuffer.C: deactivate on loss of focus
14530 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14532 * vspace.[Ch] (operator!=): add operator.
14534 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14536 * BufferView_pimpl.C: refuse to open an inset when
14537 there's a selection.
14539 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14541 * BufferView_pimpl.C: allow to click on RHS of full row insets
14543 2001-11-30 Juergen Vigna <jug@sad.it>
14545 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14546 insets for undo reasons.
14548 2001-11-28 André Pönitz <poenitz@gmx.net>
14550 * vspace.[Ch]: cosmetical changes
14552 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14562 * kbsequence.C: part re-write of old kb code
14565 * WorkArea.C: remove Lgb_bug_find_hack
14567 2001-11-30 José Matos <jamatos@fep.up.pt>
14569 * buffer.C (makeDocBookFile): add a comment to point a hack.
14570 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14571 Fixed a double write of labels.
14573 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14576 * LaTeX.h Fixed bug in LaTeX class where it would not
14577 re-run latex if no depfiles were changed, but the .dvi was removed.
14579 2001-11-28 André Pönitz <poenitz@gmx.net>
14581 * all the files from the change on 2001/11/26:
14582 use lyx::layout_type instead of LyXTextClass::size_type
14583 use lyx::textclass_type instead of LyXTextClassList::size_type
14585 2001-11-29 Juergen Vigna <jug@sad.it>
14587 * text.C: added support for paragraph::isFreeSpacing()
14589 * buffer.C: same as above
14591 * paragraph.h: inserted isFreeSpacing() function to enable
14592 FreeSpacing inside InsetERT.
14594 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14595 of the paragraph's in the cut/copy buffer to 0!
14597 * text2.C (removeRow): remove the assert as it can!
14599 * lyxtext.h: added helper function firstRow returning firstrow and
14600 made firstrow private again.
14602 * BufferView2.C (lockInset): don't relock if we're already locked!
14604 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14605 the only paragraph.
14606 (removeRow): added Assert::(firstrow)
14608 * debug.C: forgot to add INSETTEXT here.
14610 2001-11-28 Juergen Vigna <jug@sad.it>
14612 * sp_spell.C (initialize): changed error text to more general
14613 spellchecker command use (not only ispell!)
14615 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14617 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14619 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14621 * vspace.C: initialise lyxgluelength on failure
14623 2001-11-28 Allan Rae <rae@lyx.org>
14625 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14626 declaration & definition that looks like a function declaration.
14628 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14630 * BufferView2.C (copy):
14631 (copyEnvironment): do not clear the selection when doing a copy.
14633 * text.C (paintFirstRow): compilation fix
14635 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14637 * tabular.C (Latex): correct line count when writing latex.
14639 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14641 * paragraph_pimpl.h:
14642 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14645 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14649 * LColor.C: change vfillline->added_space
14651 * text.C: add markers and text for added space
14653 * vspace.C: fix comment
14655 2001-11-28 André Pönitz <poenitz@gmx.net>
14657 * paragraph.C: whitespace changes
14658 * all the other files from the change on 2001/11/26:
14659 change *::pos_type into lyx::pos_type
14661 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14663 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14664 language of the document when inserting error insets.
14666 2001-11-26 André Pönitz <poenitz@gmx.net>
14668 * BufferView_pimpl.[Ch]:
14676 * paragraph_pimpl.[Ch]:
14679 * text2.C: reduce header dependencies, introduce type for positions
14681 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14683 * <various>: change to use Alert.h
14685 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14687 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14688 when encountering an unknown token.
14689 (readLyXformat2): Show an error message if there were unknown tokens.
14691 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14694 * BufferView_pimpl.C:
14698 * text2.C: use par->isInset()
14700 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14702 * paragraph_pimpl.h:
14703 * paragraph_pimpl.C: cleanup
14705 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14707 * text2.C (removeRow):
14708 * text.C (setHeightOfRow): remove useless (and costly) call to
14711 2001-11-20 Allan Rae <rae@lyx.org>
14713 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14714 Now need Inset*::checkInsertChar() to return true for appropriate
14715 cases so that the characters in the minibuffer will actually be
14718 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14720 * text.C: change the order of the includes.
14721 (workWidth): initialize it at once.
14722 (workWidth): make maxw unsigned
14723 (setHeightOfRow): remove unused variable (inset)
14724 (selectSelectedWord): remove unused variable (inset)
14725 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14727 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14729 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14730 server is not running.
14732 (closeConnection): add debug info when server is disabled.
14734 * ColorHandler.C (getGCForeground): send debug message to GUI
14737 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14739 * kbmap.C (bind): modify because return conventions of
14740 kb_sequence::parse have changed.
14742 * kbsequence.C (parse): only ignore spaces and not any stupid
14743 control character. This avoids tests like s[i] <= ' ', which are
14744 guaranteed to fail with 8bit characters and signed chars.
14745 Change return code to string::npos when there have been no error
14746 (0 was a bad idea when error is at first character)
14748 2001-11-14 José Matos <jamatos@fep.up.pt>
14751 * buffer.C (simpleDocBookOnePar): removed unused argument.
14753 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14755 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14756 insets which are part of a word. Paragraph::isLetter takes care of
14757 that now. Use Paragraph::isInset to identify insets.
14758 (selectSelectedWord): do not test for hyphenation break.
14760 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14761 that protected spaces are considered as spaces.
14763 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14766 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14769 * lyxserver.C: fix it. and small cleanup.
14771 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14773 * BufferView_pimpl.C: use inline helpers
14776 * LaTeXFeatures.C: fix typos
14779 * Spacing.C: move spacing_string into class
14781 * ToolbarDefaults.C: move stuff into namespace anon
14783 * layout.h: update enum
14785 * lyxfunc.C: use better debug
14787 * minibuffer.h: fix typo
14791 * WorkArea.C: add and use Debug::WORKAREA
14795 * text2.C: code re-organisation, inline helpers
14797 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14799 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14800 std::vector.empty().
14802 2001-11-09 Allan Rae <rae@lyx.org>
14804 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14805 '\n's after tables. Tabular and ERT inset work now makes this no
14808 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14811 * minibuffer.C: fix crash, improve drop-down completion
14813 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14816 * lyxserver.C: invalidate fd's when doing endPipe()
14818 2001-11-08 José Matos <jamatos@fep.up.pt>
14820 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14821 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14824 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14826 2001-11-07 José Matos <jamatos@fep.up.pt>
14829 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14832 * buffer.C (sgmlOpenTag):
14833 * buffer.C (sgmlCloseTag): removed debug info.
14835 * buffer.h (sgmlOpenTag):
14836 * buffer.h (sgmlCloseTag): made public.
14838 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14840 * buffer.C (saveParamsAsDefaults):
14841 * lyx_cb.C (MenuLayoutSave): remove
14843 * LyXAction.C (init):
14845 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14847 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14849 * buffer.C (setPaperStuff): removed from here...
14851 * bufferparams.C (setPaperStuff): ... and moved there.
14853 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14857 * XFormsView.C: add support for drop-down completion
14859 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14861 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14864 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14866 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14869 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14871 * lyx_main.C: change ref to known bugs
14873 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14875 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14876 to work around older babel problems.
14878 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14880 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14882 2001-10-24 Juergen Vigna <jug@sad.it>
14884 * tabular-old.C (ReadOld): below variable changes reflected.
14886 * tabular.[Ch]: added ltType struct for longtable header/footer
14887 defines and changed all instances where they are used. Added
14888 future support for double top/bottom rows.
14890 2001-10-24 José Matos <jamatos@fep.up.pt>
14892 * buffer.h (docbookHandleCaption):
14893 * buffer.C (docbookHandleCaption): removed unused function.
14894 (makeDocBookFile): moved docbook supported version to v4.1.
14896 2001-10-24 José Matos <jamatos@fep.up.pt>
14899 * tabular.C (docbookRow): new function to export docbook code of a row.
14900 (DocBook): now honors the longtable flags.
14902 2001-10-23 José Matos <jamatos@fep.up.pt>
14905 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14906 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14908 * buffer.C (makeLinuxDocFile):
14909 (makeDocBookFile): reworked the preamble, more clean, and with
14910 support for lyx defined entities. Changed the document declaration
14911 to be more XML friendly.
14913 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14914 if we need to output XML that should be done with a filter.
14916 2001-10-22 Juergen Vigna <jug@sad.it>
14918 * sp_pspell.h (class PSpell): add alive function needed in the
14919 controller to see if the spellchecker could be started.
14921 2001-10-22 Juergen Vigna <jug@sad.it>
14923 * buffer.C (insertStringAsLines): modify the font for inserting
14924 chars in certain conditions by calling checkInsertChar(font).
14926 2001-10-19 Juergen Vigna <jug@sad.it>
14928 * text.C (workWidth): use getRow instead of wrong algorithm.
14929 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14931 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14936 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14938 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14940 * text.C (workWidth): do not search for the exact row when
14941 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14942 optimization for big documents.
14944 2001-10-18 Juergen Vigna <jug@sad.it>
14946 * text.C (workWidth): new function with added Inset * parameter.
14948 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14950 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14952 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14953 change return type of getColumnNearX.
14956 * text.C (changeRegionCase): use uppercase/lowercase instead of
14959 (rightMargin): simplify code by factoring out the uses of
14964 (appendParagraph): use Paragraph::size_type
14966 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14968 * vspace.C (asLatexString): add a missing break
14970 2001-10-15 Herbert Voss <voss@perce.de>
14972 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14974 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14976 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14979 2001-10-10 André Pönitz <poenitz@gmx.net>
14981 * lyxfunc.C: removed greek_kb_flag.
14983 2001-10-10 Herbert Voss <voss@perce.de>
14985 * lyx_main.C: delete global string help_lyxdir.
14987 2001-10-09 Herbert Voss <voss@perce.de>
14989 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14991 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14993 * lyx_main.C: added global string help_lyxdir.
14995 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14997 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14999 * lyxrc.C (set_font_norm_type): support iso8859-4
15001 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15003 * LaTeX.C (deplog): add another regex for MikTeX
15005 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15007 * lyxrc.C (set_font_norm_type): support iso8859-3
15009 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15011 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15013 * LaTeXFeatures.C: remove special case of french and index
15015 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15016 before \begin{document}). This solves several incompatibilities.
15018 2001-10-03 Garst Reese <reese@isn.net>
15020 * lyx_cb.C: change CheckTex error msg.
15022 2001-10-03 José Matos <jamatos@fep.up.pt>
15024 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15026 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15028 * .cvsignore: update
15030 * lyx_main.C (commandLineVersionInfo): use new style version info.
15032 * buffer.C (writeFile):
15034 (makeLinuxDocFile):
15035 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15037 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15039 * version.h: update to use stuff in version.C
15041 * version.C.in: new file. Contains version information determined
15042 at compile time. This is a merging of version.h and
15045 2001-10-03 Juergen Vigna <jug@sad.it>
15047 * BufferView_pimpl.C (update): don't change "dirty" status in
15050 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15052 * WorkArea.C (c-tor): re-position version string slightly.
15054 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15056 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15057 revert to previous code.
15059 WorkArea.[Ch]: (show, destroySplash): methods removed.
15061 WorkArea.C: rework code so that it's an amalgam of the codes before and
15062 after the splash screen was moved to WorkArea.
15064 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15067 * vspace.C (inPixels):
15070 * buffer.C (insertStringAsLines):
15071 (asciiParagraph): fix types to be large enough
15073 * lyxlex_pimpl.h: change member status from short to int
15075 * layout.h: fix type of endlabeltype
15078 * kbsequence.C (parse): change return type to string::size_type
15080 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15083 * Bullet.C (bulletSize):
15084 (bulletEntry): do not use short ints as parameters
15086 * BufferView2.C (insertLyXFile): change a char to an int.
15088 * WorkArea.C (WorkArea): remove unneeded floats in computation
15090 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15092 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15094 * paragraph.C (asString): Do not ignore newline/hfill chars when
15095 copying to the clipboard.
15097 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15099 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15100 after a multi-line inset.
15102 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15104 * paragraph.C (validate): Set NeedLyXFootnoteCode
15106 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15108 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15109 and decrease-error to decrease.
15111 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15113 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15114 it more readable (should be equivalent)
15116 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15118 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15120 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15122 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15123 of a cursor (row, etc.) after a character has been deleted
15124 (deleteEmptyParagraphMechanism): call the method above on _all_
15125 cursors held by the LyXText when a double space has been
15128 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15130 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15132 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15134 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15135 background. Use greyOut() and the new show() methods to toggle between
15136 the foreground and background. Add code to remove the splash after
15137 its initial showing.
15139 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15140 (create_forms): no longer call Dialogs::showSplash.
15142 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15144 * .cvsignore: add version_info.h
15146 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15148 * version_info.h.in: new file
15150 * Makefile.am: add version_info.h.in
15152 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15153 version_info.h instead of VERSION_INFO
15155 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15157 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15158 The ERT inset now returns string().
15160 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15162 * lyxtext.h, text.C (selectNextWord): renamed as
15163 selectNextWordToSpellcheck.
15165 * text.C (selectNextWordToSpellcheck): Modified to not select
15166 words inside an ERT inset.
15168 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15170 * lyx_cb.C (MenuLayoutSave): change a bit the question
15172 * sp_base.h: include <sys/types.h>
15174 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15176 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15178 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15180 * several files: fix typos in user-visible strings
15182 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15184 * text2.C (pasteSelection): do not set the selection, since it
15185 will be cleared later. Actually, the intent was to fix the way the
15186 selection was set, but I figured rmoving the code was just as good.
15188 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15190 * FontLoader.C (available): Check if font is available without
15193 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15195 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15197 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15199 * lyxrc.[Ch]: added display_graphics variable and associated code.
15201 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15203 * bufferparams.C (hasClassDefaults): new method. Returns true if
15204 the buffer parameters correspond to known class defaults
15206 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15208 * XFormsView.C (show): set minimum size to the main window.
15210 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15212 * text2.C (copySelection):
15214 * lyxfind.C (LyXReplace):
15215 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15216 LyXText::selectionAsString.
15218 * paragraph.C (asString): add "label" argument to the second form
15220 * text2.C (selectionAsString): add "label" argument and pass it to
15221 Paragraph::asString.
15223 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15225 * lyx_main.C (commandLineHelp): remove version information
15227 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15229 * lyx_main.C: add -version commandline option
15231 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15233 * paragraph.h: make the optional constructor arg required instead.
15234 some modifications to other files because of this.
15236 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15238 * lyxserver.C (C_LyXComm_callback): make it static
15240 * lyx_main.C (error_handler): make it static
15242 * lyx_gui.C (LyX_XErrHandler): make it static
15244 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15246 * WorkArea.C: make the extern "C" methods static.
15248 * Makefile.am (lyx_LDADD): simplify
15250 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15252 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15253 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15255 * LyXAction.C (init):
15256 * lyxfunc.C (dispatch): associated code removal.
15258 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15260 * lyxfont.h (isSymbolFont): shut off warning
15262 * text.C (setHeightOfRow):
15263 (getVisibleRow): fix crash with empty paragraphs which have a
15266 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15268 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15271 2001-09-04 José Matos <jamatos@fep.up.pt>
15274 * tabular.C (docbook): rename docBook method to docbook.
15276 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15278 * Makefile.am: add dependencies to main.o.
15280 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15282 * FontLoader.C (available): Return false if !lyxrc.use_gui
15284 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15286 * FontInfo.C (query):
15287 * converter.C (view):
15288 * importer.C (Import):
15289 * exporter.C (Export): Can not -> cannot.
15291 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15293 * BufferView_pimpl.C: allow to create index inset even if
15296 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15298 * buffer.C (getLists): replace boost::tie code with an explicit pair
15299 as boost::tie can break some compilers.
15301 * iterators.h: Added a std:: declaration to the return type of
15304 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15306 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15309 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15311 * iterators.[Ch]: New files. Provide paragraph iterators.
15313 * buffer.C (changeLanguage): Use paragraph iterators.
15314 (isMultiLingual): ditto
15316 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15318 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15320 * FontLoader.C: Support for cmr font.
15322 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15324 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15325 (available): New method.
15327 * FontInfo.C (getFontname): Use scalable fonts even when
15328 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15331 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15333 * converter.C (Formats::view): reverted! Incorrect fix.
15335 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15337 * converter.C (Formats::view): only output the -paper option
15338 if the dvi viewer is xdvi, thereby fixing bug #233429.
15340 2001-08-23 Herbert Voss <voss@perce>
15342 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15344 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15346 * Spacing.h (Spacing): Set space to Default on in the default
15349 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15351 * vc-backend.h (RCS::versionString): add RCS to version
15352 (CVS::versionString): add CVS to version
15354 * vc-backend.C (scanMaster): do not add CVS to version.
15355 (scanMaster): do not add RCS to version
15357 * lyxvc.C (versionString): new method
15359 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15361 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15363 * Spacing.C (set): initialize fval
15365 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15367 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15370 2001-08-16 Juergen Vigna <jug@sad.it>
15372 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15374 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15376 * BufferView_pimpl.C:
15379 * text2.C: setParagraph takes linespacing now
15381 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15383 * LyxAction.C: add internal LFUN_CITATION_INSERT
15385 * LyXView.C: actually apply fix
15387 * bufferlist.C: fix open non-existent file
15389 * lyxfind.C: fix indentation
15391 * lyxfunc.C: remove unneeded assert, fix typo
15393 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15395 * MenuBackend.C: use "Floatname List"
15397 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15399 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15400 when converting LaTeX layout to insetERT.
15401 Generate a non-collapsed float when reading old float
15403 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15405 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15408 2001-08-13 Juergen Vigna <jug@sad.it>
15410 * text.C (fill): return 0 instead of 20 as this seems to be the more
15413 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15415 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15418 2001-08-13 Juergen Vigna <jug@sad.it>
15420 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15422 (SearchBackward): comment out the unlocking of the inset_owner this
15423 should not be needed!
15425 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15427 * Many files: Remove inherit_language, and add latex_language
15429 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15430 collapsible insets.
15432 2001-08-10 Juergen Vigna <jug@sad.it>
15434 * text.C (prepareToPrint): fixed hfill-width in draw!
15436 * BufferView2.C (selectLastWord): save the selection cursor as this
15437 now is cleared in the function LyXText::clearSelection!
15439 2001-08-08 Juergen Vigna <jug@sad.it>
15441 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15442 BACKSPACE type functions.
15444 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15445 is only cutted from the document but not put in the cut-buffer, where
15446 still the old stuff should be.
15448 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15450 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15452 * tabular.C (SetWidthOfCell): fixed special case where the width
15454 (LeftLine): handle '|' in align_special.
15456 (LeftAlreadyDrawed): ditto
15457 (SetWidthOfCell): ditto
15459 2001-08-07 Juergen Vigna <jug@sad.it>
15461 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15463 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15465 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15466 * lyxlex.[hC]: ditto
15468 2001-08-06 Juergen Vigna <jug@sad.it>
15470 * text.C (getVisibleRow): fix up row clearing a bit.
15472 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15474 * minibuffer.C: make sure the X server sees the changes in the input.
15476 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15478 * paragraph.C (getFont): split into...
15479 (getLabelFont): this
15480 (getLayoutFont): and this
15481 * paragraph_pimpl.C (realizeFont): calling this
15483 * text2.C (getFont): split into...
15484 (getLayoutFont): this
15485 (getLabelFont): and this
15486 (realizeFont): all three calling this
15488 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15491 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15493 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15495 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15497 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15498 layouts from the Quote inset insertion.
15500 2001-08-03 Juergen Vigna <jug@sad.it>
15502 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15504 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15505 only if status not is already CHANGED_IN_DRAW (second level).
15507 * text.C (draw): don't set the need_break_row when inside an
15510 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15512 * buffer.C (parseSingleLyXformat2Token): handle more latex
15515 * bufferview_funcs.[hC]: change function names to
15516 begin with small char, adjust other files.
15518 2001-08-02 André Pönitz <poenitz@gmx.net>
15521 BufferView_pimpl.C: remove broken special code for math-greek
15523 2001-08-02 Juergen Vigna <jug@sad.it>
15525 * BufferView_pimpl.C (update): redone this function so that we
15526 update the text again if there was a CHANGE_IN_DRAW.
15528 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15529 (drawFromTo): added a new internal bool which is used by draw() and
15531 (general): some cursor drawing problems fixed.
15533 2001-08-01 Juergen Vigna <jug@sad.it>
15535 * lyxfind.C (LyXFind): fixed
15536 (SearchForward): ditto
15537 (SearchBackward): ditto
15539 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15540 spurius drawing of the cursor in the main area.
15542 * text2.C (status): small fix which could lead to a segfault!
15543 (clearSelection): remove unneeded BufferView param.
15545 2001-08-01 André Pönitz <poenitz@gmx.net>
15547 * lyxfunc.C: small change due to changed mathed interface
15549 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15551 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15553 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15555 * lyxfunc.c: fail gracefully if file doesn't exist
15560 * BufferView_pimpl.C: IsDirWriteable() proto changed
15562 * LyXView.C: fix updateWindowTitle() to store the last title
15564 2001-07-31 Juergen Vigna <jug@sad.it>
15566 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15567 the font (wrong since using of Paragraph::highestFontInRange).
15569 * paragraph.C (highestFontInRange): added a default_size parameter.
15571 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15572 (setHeightOfRow): reformat
15574 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15576 * converter.[hC] + affected files: move to (inital-char)lowercase
15579 * ParagraphParameters.C (ParagraphParameters): remove commented code
15581 * PainterBase.[Ch]: remove commented code
15583 * LaTeXFeatures.h: add "bool floats" for float.sty
15585 * LaTeXFeatures.C (LaTeXFeatures): init floats
15586 (require): handle float
15587 (getPackages): do it with floats
15589 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15591 * BufferView_pimpl.C (Dispatch): improve handling of
15592 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15594 * commandtags.h: #include lyxfont.h here temporarily to avoid
15597 * bufferlist.h: include LString.h here.
15599 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15601 * text2.C (getStringToIndex): new method.
15603 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15605 * *: Reduced header file dependencies all over.
15607 2001-07-30 Baruch Even <baruch@lyx.org>
15609 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15611 2001-07-29 Baruch Even <baruch@lyx.org>
15613 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15615 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15617 * ParameterStruct.h (endif): add a default constructor to make
15618 sure that all variables is initialized.
15620 * ParagraphParameters.C (ParagraphParameters): adjust
15622 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15624 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15625 index; also, check that there is something to index, and that it
15626 does not span over several paragraphs.
15627 (doubleClick): use WHOLE_WORD_STRICT for double click.
15629 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15631 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15634 2001-07-26 Baruch Even <baruch@lyx.org>
15636 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15637 an InsetFig figure, backwards compatible reading of old figure code.
15639 2001-07-27 Juergen Vigna <jug@sad.it>
15641 * text2.C: font.realize function adaption.
15643 * text.C (draw): add a warnings lyxerr text if needed.
15645 * layout.C: font.realize function adaption.
15647 * language.C: add inherit_language and implement it's handlings
15649 * bufferview_funcs.C (StyleReset): remove language parameter from
15650 font creation (should be language_inherit now).
15652 * bufferparams.C (writeFile): handle ignore_language.
15654 * paragraph.C (getFontSettings): the language has to be resolved
15655 otherwise we have problems in LyXFont!
15657 * lyxfont.C (lyxWriteChanges): added document_language parameter
15658 (update): removed unneeded language parameter
15660 * paragraph.C (validate): fixed wrong output of color-package when
15661 using interface colors for certain fonts in certain environments,
15662 which should not seen as that on the final output.
15664 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15666 * BufferView_pimpl.C:
15671 * LyXAction.C: add thesaurus support
15674 * lyxfind.C: add "once" parameter, for thesaurus, to not
15675 move to the next match
15677 2001-07-26 Juergen Vigna <jug@sad.it>
15679 * lyxfont.C (realize): honor ignore_language too!
15682 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15684 * text.C (draw): one place more for ignore_language to not draw
15687 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15689 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15691 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15693 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15694 the minipage conversion problem.
15696 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15698 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15701 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15703 * BufferView.h: don't forward declare WorkArea
15705 * BufferView.C: don't include WorkArea.h
15707 2001-07-25 André Pönitz <poenitz@gmx.net>
15711 * lyxfunc.C: new LFUN 'math-space'
15713 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15715 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15717 * text2.C (toggleInset): call open/close
15719 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15721 * lyxfunc.C (dispatch): add debug for the disabled case
15723 * font.C (buttonText): make similar to rectText
15725 * buffer.C (readInset): comment out parsing of insetlist and
15728 * PainterBase.C (rectText): small correction
15730 * BufferView_pimpl.C: comment out insettheorem and insetlist
15731 * LyXAction.C: ditto
15732 * commandtags.h: ditto
15734 2001-07-24 Juergen Vigna <jug@sad.it>
15736 * text.C (draw): honor the ignore_language.
15738 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15740 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15742 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15745 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15747 * lyxtext.h: remove unused (and unimplemented) methods
15749 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15751 * text.C (getVisibleRow): honor background color
15754 * Painter.h: remove default color argument for fillRectangle
15756 * text.C (backgroundColor): new method
15758 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15760 * text.C (getVisibleRow): adjust
15762 * font.[Ch] (rectText): new method, metrics
15763 (buttonText): new method, metrics
15765 * PainterBase.[hC]: make rectText and buttonText always draw and take
15768 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15770 * ToolbarDefaults.C (read):
15771 * MenuBackend.C (read): allow escaping in all strings
15773 * BufferView_pimpl.C (insertAndEditInset): new method.
15774 (Dispatch): use insertAndEditInset whenever appropriate.
15776 * BufferView_pimpl.C (insertNote): removed
15778 * BufferView_pimpl.C (smartQuote): new method, moved from
15779 BufferView; if an insetquote cannot be inserted, insert a '"'
15782 * BufferView2.C: remove insertCorrectQuote();
15784 * lyxfunc.C (getStatus): Add support for all remaingin
15785 inset-insert lfuns.
15787 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15789 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15790 command (necessary to pass " as parameter of self-insert.
15792 * text.C (selectWordWhenUnderCursor):
15793 (selectWord): add word_location parameter
15794 (selectWordWhenUnderCursor): same + remove special code for word
15796 (selectNextWord): use kind() to guess type of insetspecialchar,
15799 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15800 (insertErtContents): create ert insets as collapsed.
15801 (readInset): better compatibility code for Info inset.
15803 2001-07-20 Juergen Vigna <jug@sad.it>
15805 * lyxfunc.C (dispatch): use always LyXFind now!
15807 * text2.C (init): add a reinit flag so that the LyXText can be
15808 reinited instead of deleted and reallocated (used in InsetText).
15810 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15816 2001-07-18 Juergen Vigna <jug@sad.it>
15818 * text.C (selectNextWord): handle insets inside inset by calling
15819 always the bv->text functions so that we can go up the_locking_inset!
15821 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15822 in strange locations when inside an inset!
15824 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15825 handling to include insets.
15827 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15829 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15831 * LyXAction.C (init):
15833 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15834 LIGATURE_BREAK, since the name is so stupid.
15836 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15838 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15841 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15843 * sp_form.[Ch]: remove.
15845 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15847 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15850 * src/buffer.C (readInset): ditto.
15852 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15854 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15855 menuSeparator(), endOfSentenceDot(), ldots() and
15856 hyphenationPoint(), which are therefore removed.
15857 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15859 * LyXAction.C (init):
15860 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15862 * paragraph.C (getWord): removed.
15864 * BufferView_pimpl.C (Dispatch): use last word or selection for
15865 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15867 * lyx_main.C (queryUserLyXDir): do not ask before creating
15868 user_dir, except if it has been named explicitely.
15870 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15872 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15873 a document of zero size.
15875 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15877 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15878 approriately in the c-tor and in require().
15879 (getPackages): output the appropriate LaTeX for natbib support.
15881 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15882 variables "use_natbib" and "use_numerical_citations" when reading the
15884 (readInset): read the various natbib cite commands.
15885 (validate): white-space change.
15887 * bufferparams.[Ch]: new variables "bool use_natbib" and
15888 "bool use_numerical_citations".
15889 (writeFile): output them in the LyX file.
15891 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15893 * lyxfunc.C (getStatus): add support for all the inset insertion
15896 * text2.C (insertInset):
15897 * paragraph.C (insetAllowed):
15898 * BufferView_pimpl.C (insertInset): update to take in account the
15899 renaming of insertInsetAllowed
15901 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15903 * text2.C (getInset): new method. returns inset at cursor position.
15905 * BufferView_pimpl.C (Dispatch): changes because of this.
15907 * LyXAction.C (init): rename open-stuff to inset-toggle.
15909 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15911 * text2.C (toggleInset): renamed from openStuff; use
15914 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15916 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15918 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15920 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15922 * buffer.C (readLyXformat2): Add filename to the error dialog
15924 2001-07-18 Juergen Vigna <jug@sad.it>
15926 * tabular.C (GetCellNumber): put an assert here instead of the check!
15928 2001-07-17 Juergen Vigna <jug@sad.it>
15930 * BufferView_pimpl.C (toggleSelection): adapted too.
15932 * text.C (selectNextWord): adapted for use with insets.
15933 (selectSelectedWord): ditto
15935 2001-07-17 Juergen Vigna <jug@sad.it>
15937 * sp_spell.C (PSpell): fix initialitation order.
15939 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15941 * paragraph.C: spacing
15943 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15945 * sp_spell.C: repair language selection for pspell
15947 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15949 * lyxfunc.h: change more methods to begin with lower char.
15951 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15953 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15954 for unknown layouts.
15956 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15958 * buffer.C (readLyXformat2): Generate an error dialog if there are
15961 2001-07-16 Juergen Vigna <jug@sad.it>
15963 * sp_spell.C: always compile ISpell part.
15965 * lyxrc.C: added use_pspell entry and it's handling.
15967 2001-07-13 Juergen Vigna <jug@sad.it>
15969 * sp_spell.C: removed double includes.
15971 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15973 Consistent use of Lsstream.h:
15974 * Lsstream.h: added using std::stringstream for consistencies sake.
15976 * buffer.C: removed using std::stringstream
15978 * lyxfont.C (stateText):
15979 * paragraph.C (asString):
15980 * text.C (selectNextWord, selectSelectedWord):
15981 * text2.C (setCounter):
15982 * vspace.C (asString, asLatexString):
15983 std::ostringstream -> ostringstream.
15985 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15987 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15988 * commandtags.h: add LFUN_HELP_ABOUTLYX
15989 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15991 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15993 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15995 * lyx_gui_misc.C: remove spellchecker
15996 * lyxfunc.C: showSpellchecker
15998 * sp_ispell.h: added
15999 * sp_pspell.h: added
16000 * sp_spell.C: added
16001 * sp_form.[Ch]: removed
16002 * spellchecker.[Ch]: removed
16004 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16006 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16008 (simpleTeXSpecialChars): Simply print the input character without
16009 any special translation if pass_thru is set.
16011 * layout.h: Added bool pass_thru to layout class for being able to
16012 implement pass through of a paragraph for Literate Programming.
16014 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16015 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16016 * layout.C (Read): add "passthru" to list of layout tags and add
16017 code to set the pass_thru boolean when it is read.
16019 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16021 * trans_decl.h: remove allowed from KmodInfo
16023 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16024 remove allowed code
16027 * paragraph_pimpl.C (erase): use boost::prior
16029 * Painter.C (text): use data() instead of c_str() when length is
16031 * WorkArea.C (putClipboard): ditto
16032 * font.h (width): ditto
16034 * BufferView2.C: use it-> instead of (*it). for iterators
16036 * paragraph_pimpl.C: ditto
16037 * paragraph.C: ditto
16038 * minibuffer.C: ditto
16039 * language.C: ditto
16041 * encoding.C: ditto
16042 * counters.C: ditto
16043 * converter.C: ditto
16045 * Variables.C: ditto
16046 * TextCache.C: ditto
16047 * MenuBackend.C: ditto
16048 * LyXAction.C: ditto
16050 * FloatList.C: ditto
16051 * DepTable.C: ditto
16052 * ColorHandler.C (LyXColorHandler): ditto
16054 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16056 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16058 * text2.C (openStuff): reintroduce this method (which had been
16059 nuked in NEW_INSETS frenzy).
16061 * lyxfunc.C (Dispatch): when an action has not been handled, use
16062 its name in the error message, not its number.
16064 * paragraph.C (inInset): change method name to begin with lowercase.
16067 * text2.C: updates because of this.
16069 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16071 * ToolbarDefaults.C (add): add spaces in error message
16073 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16075 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16076 (readLyXformat2): rename return_par to first_par, use lyxlex's
16077 pushToken and remove the manual push handling.
16078 (parseSingleLyXformat2Token): add another ert comp. variable:
16079 in_tabular, rename return_par to first_par. handle newlines better
16081 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16083 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16085 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16087 * text2.C (getParFromID): removed
16089 * buffer.C (getParFromID): new method moved form lyxtext.
16090 * BufferView2.C (insertErrors): adjust
16091 (setCursorFromRow): adjust
16092 * BufferView_pimpl.C (restorePosition): adjust
16093 * lyxfunc.C (Dispatch): adjust
16094 * undo_funcs.C (textUndo): adjust
16096 (textHandleUndo): adjust
16097 (textHandleUndo): adjust
16099 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16101 * buffer.C: up' the LYX_FORMAT
16103 * lyxfont.h: turn NO_LATEX on as default
16105 * buffer.C (insertErtContents): new methods of tex style compability.
16106 (parseSingleLyXformat2Token): use it several places.
16107 * tabular.C (OldFormatRead): and here
16109 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16111 * text2.C: remove some commented code.
16114 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16115 * trans.C: changes because of the above.
16117 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16119 * text2.C (setCounter): Fix counters bug with bibliography layout.
16121 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16123 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16124 own member functions
16125 (simpleTeXSpecialChars): ditto
16127 2001-07-06 Juergen Vigna <jug@sad.it>
16129 * a lot of files: changed the access to LyXText::status and the
16130 call of undo-functions.
16132 * undo.[Ch]: added a inset_id to the undo informations.
16134 * undo_funcs.[Ch]: added and moved here all undo functions.
16136 * lyxtext.h: give the status enum a weight, made status_ a private
16137 variable and made accessor functions for it, removed the whole bunch
16138 of undo-functions as they are now in their own file, make some
16139 functions publically available. Added function ownerParagraph with
16142 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16143 made InInset() a const function, added getParFromID() function.
16145 * buffer.[Ch]: added const version for inset_iterator functions,
16146 added getInsetFromID() function.
16148 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16149 changed undo functions for new version.
16151 2001-07-05 Juergen Vigna <jug@sad.it>
16153 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16154 unknow mechanism does not call the proper constructor but only this
16155 one also if I request the other!?
16157 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16159 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16161 * text2.C (LyXText): use initialization lists.
16163 * lyxtext.h (Selection): initialize set_ and mark_
16164 (init): remove method
16166 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16168 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16170 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16172 * screen.[Ch]: change method names to begin with lowercase
16174 * BufferView_pimpl.C (updateScrollbar): simplify further and
16175 hopefully make it a bit faster.
16177 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16179 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16180 calling directly xforms functions.
16182 * Painter.C (Painter):
16183 * lyx_cb.C (MenuWrite):
16184 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16187 * lyx_gui.C: remove bogus guiruntime extern declaration.
16189 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16191 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16193 (redoDrawingOfParagraph): ditto
16194 (redoParagraphs): ditto
16195 (cutSelection): don't create a object for CutAndPaste use the
16196 static method directly
16197 (pasteSelection): ditto
16199 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16202 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16204 * modifications to some other files because of this.
16206 * Makefile.am (lyx_SOURCES): add XFormsView
16208 * XFormsView.[Ch]: new files
16210 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16211 the main window. Move the gui dependent stuff to XFormsView
16213 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16215 * tabular.C (GetCellInset): update cur_cell also in the row/col
16216 version of this function.
16218 * lyxfunc.C: no need to include figure_form.h here.
16224 * lyxvc.C: no need to include forms.h here.
16226 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16228 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16230 * lyxfunc.C (Dispatch):
16232 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16233 constructor argument.
16235 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16237 * paragraph.C (Paragraph): dont't clear, and just set layout.
16238 (makeSameLayout): use params's copy contructor.
16240 * ParagraphParameters.[Ch] (makeSame): delete method
16242 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16244 * Variables.[Ch]: fix indentation, rename set to isSet
16246 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16248 * lyxfunc.C (Dispatch): fix typo
16250 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16252 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16255 * bufferlist.C: include assert.h for emergencyWrite().
16257 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16259 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16260 give up at last (bug #425202) !
16262 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16268 * spellchecker.C: strip spellchecker options and bring up
16269 preferences tab instead
16271 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16273 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16274 the istringstream constructor
16276 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16278 * paragraph.C (getLayout): fix return value
16280 * paragraph.h: do not declare getLayout as inline.
16282 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16284 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16286 * lyxcursor.h (operator<): new func
16287 (operator>): new func
16288 (operator>=): new func
16289 (operator<=): new func
16291 * text.C (changeCase): use selection.start and selection.end
16292 (changeRegionCase): require from to be <= to. Require par to be a
16295 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16297 2001-06-27 Juergen Vigna <jug@sad.it>
16299 * text.C (cursorLeftOneWord): changed to return the cursor and added
16300 overlay with BufferView * parameter which calls this one.
16302 (selectWord): use new getWord function.
16303 (changeCase): renamed from changeWordCase as and extended to work
16304 also on selections.
16306 * lyxtext.h: added enum word_location
16308 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16309 changeCase as this operates now also on selections.
16311 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16313 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16315 * many files: send debug output to Debug::INFO instead of
16318 * converter.C (View):
16320 (Move): send debug output to Debug::FILES instead of console.
16322 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16324 * lyxfunc.C (getStatus): use func_status
16326 * func_status.h: new header, describing the results of
16327 LyXFunc::getStatus;
16329 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16332 2001-06-25 The LyX Project <jug@sad.it>
16334 * buffer.C (sgmlOpenTag):
16336 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16338 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16340 * text2.C: remove some dead code
16342 * tabular.C (GetCellInset): store the last cell checked (gotten)
16344 * tabular.h: add the helper for the speedup
16346 * lyxtext.h: remove some dead code
16348 2001-06-26 The LyX Project <Asger>
16350 * paragraph.C: Change export to LaTeX of alignment to
16351 \begin{center} and family for better roundtrip work with reLyX.
16353 * Tune the math drawing a bit.
16355 2001-06-25 The LyX Project <Asger>
16357 * LColor.C (LColor): New color for math background. New color
16360 2001-06-25 The LyX Project <jug@sad.it>
16362 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16364 * lyxfunc.C (Open):
16365 * bufferlist.C (newFile): do not restrict to files ending with
16368 * BufferView_pimpl.C (MenuInsertLyXFile):
16370 2001-06-24 The LyX Project <jug@sad.it>
16372 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16375 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16377 * lyxtext.h: rename most methods to begin with a small char.
16378 Lots of changes because of this.
16380 * paragraph.C (Paragraph): do not call fitToSize
16381 (erase): call Pimpl::erase
16382 (insertChar): call Pimpl::insertChar
16383 (insertInset): call Pipl::insertInset
16384 (breakParagraph): do not call fitToSize
16385 (breakParagraphConservative): do not call fitToSize
16386 (fitToSize): remove method
16388 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16390 2001-06-24 The LyX Project <Asger>
16392 * Fix Qt compilation^2
16394 2001-06-24 The LyX Project <jug@sad.it>
16396 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16397 depthHook(getDepth()-1).
16400 * ParagraphParameters.h:
16401 * ParameterStruct.h: change type of depth to unsigned int ==
16402 depth_type. Many adaptations to other files before of that.
16404 2001-06-24 The LyX Project <Asger>
16406 * Fix Qt compilation.
16408 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16410 * paragraph.h: renamed several methods to begin with small letter.
16411 several changes to many parts of the code because of this.
16413 2001-06-23 The LyX Project <jug@sad.it>
16415 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16416 rewritten to discard all double spaces when KeepEmpty is off
16417 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16418 to only handle newlines but not fiddle with spaces and friends.
16420 * lyxfunc.C (MenuNew): when doing 'new from template', use
16421 template_path as default directory
16423 2001-06-23 The LyX Project <Asger>
16425 * Clean-up of header file includes all over
16426 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16428 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16430 * paragraph.h: renamed from lyxparagraph.h
16432 2001-06-23 Asger <lyx@violet.home.sad.it>
16434 * Buffer.h: Removed Buffer::resize
16435 * BufferList.h: Removed BufferList::resize
16436 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16437 the document lazily when we change the width, or the font settings.
16439 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16441 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16443 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16445 * buffer.h: remove out of date comment
16447 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16450 * screen.C: fix "theoretical" GC leak
16452 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16454 * LaTeX.C (scanAuxFile):
16455 (deplog): remove trailing \r when reading stream (useful under
16458 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16460 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16461 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16462 and BufferView::theLockingInset(Inset*), so should use them and not
16463 access bv_->text->the_locking_inset directly.
16465 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16467 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16470 * tex-defs.h: remove old unused file
16472 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16474 * BufferView_pimpl.C: fix typo, remove minibuffer message
16475 when buffer has loaded
16477 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16479 * lyxfunc.C (Dispatch): use stringstream
16480 (MenuNew): use stringstream
16481 (Open): use stringstream
16483 * importer.C (Import): use stringstream
16485 * bufferview_funcs.C (CurrentState): use stringstream
16487 * LaTeX.C (run): use stringstream
16489 * BufferView_pimpl.C (savePosition): use stringstream
16490 (restorePosition): use stringstream
16491 (MenuInsertLyXFile): use stringstream
16493 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16506 * vspace.C: removed // -*- C++ -*- as first line.
16509 * version.h: added // -*- C++ -*- as first line.
16511 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16513 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16515 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16518 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16520 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16523 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16525 * gettext.C: include LString.h even when --disable-nls is on.
16527 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16529 * converter.h (Get): changed argument type from int to
16530 FormatList::size_type to avoid unnecessary conversion.
16532 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16535 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16537 * gettext.h: include LString.h even when --disable-nls is on.
16539 2001-06-07 Juergen Vigna <jug@sad.it>
16541 * text.C (BreakAgain): subst spaces with tabs.
16543 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16544 (resizeInsetsLyXText): set force on resizeLyXText.
16546 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16548 * gettext.h (gettext_init):
16549 (locale_init): use a real definition instead of a macro
16551 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16553 * Bufferview_pimpl.C:
16555 * LColor.C: further lcolor tidies
16557 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16559 * BufferView_pimpl.C (updateScrollbar): simplify.
16561 * BufferView2.C: don't include insets/insetinfo.h, change
16562 prototype for insertInset and call the Pimpl version. let
16563 updateInset call Pimpl version.
16565 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16566 gotoInset to BufferView::Pimpl
16568 2001-06-01 Juergen Vigna <jug@sad.it>
16570 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16571 inside a LockingInset (is the update needed at all?).
16573 2001-05-31 Juergen Vigna <jug@sad.it>
16575 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16576 here not the old one otherwise how should we compare it afterwards
16579 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16584 * FontInfo.C: bring C functions into global namespace when
16587 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16589 * LString.h: make sure config.h has been loaded before LString.h.
16591 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16592 (one for each char read by EatLine!).
16594 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16597 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16599 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16600 to the same as the par we break from
16602 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16604 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16606 * MenuBackend.C (expand): also create menu entries for wide
16607 versions of the floats.
16609 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16611 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16613 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16614 frontends/Makefile.am
16620 * tabular.C (getTokenValue): add std::
16622 * tabular-old.C (getTokenValue): add std::
16623 (getTokenValue): ditto
16624 (getTokenValue): ditto
16626 * screen.C (ToggleSelection): adjust
16628 * lyxtext.h: put selection cursors inside a Selection struct.
16630 * lyxfunc.C (moveCursorUpdate): adjust
16632 * lyxfont.C (latexWriteStartChanges): add std::
16634 * lyxfind.C: adjust
16636 * font.h: delete with(char const *, LyXFont const &)
16638 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16640 * FontInfo.C (getFontname): add std::
16642 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16643 (workAreaButtonPress): adjust
16644 (tripleClick): adjust
16646 (moveCursorUpdate): adjust
16649 * BufferView2.C (gotoInset): adjust
16651 2001-05-30 Juergen Vigna <jug@sad.it>
16653 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16654 to check pspell I add this as default as I now have new pspell
16655 libraries and they seem to use this.
16657 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16659 * text2.C (CutSelection): make the cursor valid before the call to
16662 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16664 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16665 relied on 0 terminated strings and other horrors. Bug found due to
16666 the new assert in lyxstring!
16668 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16671 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16673 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16676 * lyxfunc.C (processKeySym): change method of getting to the
16679 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16680 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16681 * BufferView_pimpl.[Ch]: here as private methods.
16683 2001-05-28 Juergen Vigna <jug@sad.it>
16685 * text.C (SetHeightOfRow): added the update() call again as it is
16686 needed to initialize inset dimensions!
16688 2001-05-16 Juergen Vigna <jug@sad.it>
16690 * text2.C (SetCharFont): Add new function with BufferView * and
16691 bool toggleall parameters for setting insets internal fonts.
16692 (SetFont): Freeze the undo as we may change fonts in Insets and
16693 all this change should be inside only one Undo!
16695 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16696 setting font's in insets as for them we have the SetFont function!
16698 2001-05-15 Juergen Vigna <jug@sad.it>
16700 * text2.C (ClearSelection): to be sure we REALLY don't have any
16703 * tabular.C (TeXCellPreamble): fixed the left border problem for
16706 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16708 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16711 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16713 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16714 LFUN_BREAKPARAGRAPH.
16716 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16717 help test to "internal only", similar for LFUN_INSERT_URL
16719 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16720 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16721 auto_region_delete and deadkeys.
16723 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16726 * LColor.C: remove some dead entries, tidy a little
16728 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16730 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16732 (Dispatch): implement LFUN_ESCAPE
16734 * commandtags.h: add LFUN_ESCAPE
16736 * LyXAction.C (init): add entry for LFUN_ESCAPE
16738 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16739 Remove commented code.
16740 (insertNote): moved here
16741 (open_new_inset): moved here
16743 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16746 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16748 * kbmap.C (findbinding): clean it up and make it work correctly.
16750 * lyx_main.C (init): do not pass argc and argv as parameters
16752 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16754 * buffer.C: fix path for OS/2 & Win32
16758 * lyx_main.C: Added os:: class.
16760 * os2_defines.h: update
16762 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16764 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16765 better by trying again with reduced state.
16767 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16769 * lyxrc.C (read): print error about invalid key sequence only when
16770 debugging (because not all latinX keysyms are known to some X
16773 * kbsequence.C (getiso): add a few std:: qualifiers
16774 (getiso): comment out extra return statement.
16776 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16778 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16780 (Dispatch): enhance the accent inset a bit. (not perfect)
16782 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16784 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16786 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16788 * bufferlist.C (emergencyWrite): fix assert() call
16790 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16792 * text.C (InsertChar): Added trivial patch to only send the "you
16793 can not do multiple spaces this way" message once during a
16796 2001-05-08 Baruch Even <baruch@lyx.org>
16798 * Makefile.am: Changed order of libraries to get LyX to link properly
16799 with the gnome frontend.
16801 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16803 * LaTeXFeatures.h: add a std:: qualifier
16805 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16807 * paragraph.C (String): use stringstream
16809 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16811 * paragraph.C (writeFile): remove footflag arg
16813 * buffer.C (makeLaTeXFile): use stringstream
16814 (latexParagraphs): remove footnot gurba
16816 * LaTeXFeatures.C (getPackages): use stringstream
16817 (getMacros): likewise
16818 (getTClassPreamble): likewise
16819 (getFloatDefinitions): new method
16821 * paragraph.C (writeFile): reindent
16824 * WorkArea.h: revert the xpos + etc changes.
16826 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16828 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16830 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16831 (pasteSelection): likewise
16832 * text2.C (CreateUndo): likewise
16834 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16836 * minibuffer.C (peek_event): temporarily reduce the functionality
16837 of the minibuffer (to allow args on lfuns)
16839 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16840 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16842 * buffer.C (readInset): add compability reading of old float
16843 lists, add reading of new style float list.
16844 (readInset): avoid reevaluation of inscmd.getCmdName()
16845 (getLists): reindent
16847 * MenuBackend.C (MenuItem): implement parsing of
16848 md_floatlistinsert and md_floatinsert.
16849 (expand::LastFiles): move initalizaton of iterators out of loop,
16850 avoid reevaluation.
16851 (expand::Documents): introduce typdedef vector<string> Strings,
16853 (expand::ExportFormats): introduce typedef vector<Format const *>
16854 Formats, and use it.
16855 (expand): implement FloatListInsert and FloatInsert.
16857 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16858 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16859 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16861 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16863 (Dispatch::LFUN_FLOAT_LIST): implement
16865 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16867 * LaTeX.C (run): Fix problem with --export code.
16869 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16871 * BufferView.[Ch] (workarea): removed.
16872 (getClipboard) new method; wrapper for workarea()->getClipboard()
16874 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16877 * WorkArea.h (width, height, xpos, ypos): These methods all
16878 returned the dimensions of the work_area sub-area of WorkArea,
16879 resulting in a position error if the WorkArea were resized. Now
16880 return the dimensions of the entire WorkArea.
16882 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16884 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16886 * LaTeX.C (deplog): correct the syntax of regex reg1
16888 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16890 * undo.C: remove !NEW_INSETS cruft
16892 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16894 * text2.C: remove !NEW_INSETS cruft
16896 * text.C: remove !NEW_INSETS cruft
16898 * tabular.C: remove !NEW_INSETS cruft
16900 * spellchecker.C: remove !NEW_INSETS cruft
16902 * lyxtext.h: remove !NEW_INSETS cruft
16904 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16906 * lyxfunc.C: remove !NEW_INSETS cruft
16908 * lyxfind.C: remove !NEW_INSETS cruft
16910 * lyx_cb.C: remove !NEW_INSETS cruft
16912 * figureForm.C: remove !NEW_INSETS cruft
16914 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16916 * buffer.[Ch]: remove !NEW_INSETS cruft
16918 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16920 * CutAndPaste.C: remove !NEW_INSETS cruft
16922 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16924 * BufferView2.C: remove !NEW_INSETS cruft
16926 * BufferView.h: remove !NEW_INSETS cruft
16928 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16930 * Lsstream.h: include LString.h before the sstream headers to
16931 fix problem with gcc 2.95.3 and lyxstring
16933 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16935 * lyx_main.C: add using directives when needed for C functions
16936 declared in std:: namespace.
16938 2001-04-27 Juergen Vigna <jug@sad.it>
16940 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16941 (SetHeightOfRow): comment out the update call should not be needed!
16943 2001-04-13 Juergen Vigna <jug@sad.it>
16945 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16946 (LyXTabular): tried to minimize operator= operations (and realized
16947 hopfully Lars wish).
16949 2001-04-27 Juergen Vigna <jug@sad.it>
16951 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16953 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16955 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16957 * buffer.C (readInset): hack to make listof algorithm work
16959 * BufferView_pimpl.C: hack to make listof algorithm work
16961 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16963 * LyXAction.C: removed all !NEW_INSETS cruft
16964 (init): moved lfun_item in method
16966 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16968 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16970 * BufferView2.C (theLockingInset): white space.
16972 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16974 * minibuffer.C: include <iostream>
16976 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16978 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16980 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16982 * text.[Ch] (TransposeChars): new method
16984 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16986 * call message directly through LyXView instead of through LyXFunc
16987 * BufferView2.C: adjust
16988 * BufferView_pimpl.C: adjust
16989 * FontLoader.C: adjust
16991 * bufferview_funcs.C: adjust
16992 * converter.C: adjust
16993 * figureForm.C: adjust
16994 * importer.C: adjust
16996 * lyx_gui_misc.C: adjust
16997 * lyxfunc.C: adjust
17000 + more files in subdirs
17002 * lyxparagraph.h (size): move up int file
17005 * adjust all uses of Assert to lyx::Assert.
17007 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17008 lyxfunctional in namespace lyx
17009 * layout.C (hasLayout): ditto
17012 (delete_layout): ditto
17013 (NumberOfClass): ditto
17014 * converter.C (GetFormat): ditto
17019 * bufferlist.C (getFileNames): ditto
17020 (emergencyWriteAll): ditto
17023 * MenuBackend.C (hasSubmenu): ditto
17026 * BufferView_pimpl.C (getInsetByCode): ditto
17028 2001-04-18 Juergen Vigna <jug@sad.it>
17030 * vspace.C (asLatexString): fixed the 100% problem.
17032 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17034 * lyxfunc.C (Dispatch):
17036 * minibuffer.h: add a few std:: qualifiers
17038 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17040 * minibuffer.[Ch]: reimplement so that commands is initiated and
17041 run from lyxfunc, simplified som handling, and made the completion
17042 and history code for complete. wip.
17044 * lyxfunc.C (processKeySym): call message
17045 (miniDispatch): new temporary method
17046 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17047 (LFUN_MESSAGE): implement
17048 (LFUN_MESSAGE_PUSH): implement
17049 (LFUN_MESSAGE_POP): implement
17050 (initMiniBuffer): the initial/defualt minibuffer message.
17052 * lyxfont.[Ch]: inline some more getters
17054 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17056 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17058 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17059 (AutoSave): use LFUN_MESSAGE
17060 (Reconfigure): ditto
17062 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17064 * figureForm.C: use LFUN_MESSAGE
17066 * converter.C (runLaTeX): use LFUN_MESSAGE
17068 * bufferview_funcs.C: use LFUN_MESSAGE
17070 (changeDepth): ditto
17072 * bufferparams.h: use boost::
17074 * bufferlist.h: inherit privately from noncopyable
17076 * bufferlist.C (loadLyXFile): remove some commented code.
17078 * buffer.C (runChktex): use LFUN_MESSAGE
17080 * ShareContainer.h: inherit privately from noncopyable
17082 * ParagraphParameters.[hC] (depth): inline it.
17084 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17086 (message): new method
17087 (messagePush): ditto
17088 (messagePop): ditto
17089 (show): init minibuffer
17090 (showState): direct call
17092 * LaTeX.[Ch]: inherit privately from noncopyable
17093 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17094 instead of WriteStatus.
17096 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17098 * BufferView_pimpl.C (buffer): don't init minibuffer
17099 (workAreaButtonPress): use LFUN_MESSAGE
17100 (workAreaButtonRelease): ditto
17101 (savePosition): ditto
17102 (restorePosition): ditto
17103 (MenuInsertLyXFile): ditto
17104 (workAreaExpose): don't init minibuffer
17105 (update): remove commented code, simplify
17107 * BufferView2.C (openStuff): use LFUN_MESSAGE
17108 (toggleFloat): ditto
17111 (copyEnvironment): ditto
17112 (pasteEnvironment): ditto
17117 (updateInset): remove some commented code
17119 * lastfiles.h: inherit privately from noncopyable
17122 * lyx_main.h: ditto
17124 * lyxlex_pimpl.h: ditto
17126 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17127 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17128 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17130 * LyXAction.h: inherit privately from noncopyable, add methods
17131 func_begin, func_end, returning iterators to the func map.
17133 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17134 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17135 (func_begin): new method
17136 (func_end): new method
17138 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17140 (copySelection): ditto
17141 (pasteSelection): ditto
17143 * BufferView.C: whitespace change
17144 * BufferView.h: inherit privately from noncopyable
17146 2001-04-16 Allan Rae <rae@lyx.org>
17148 * tabular-old.C (l_getline):
17149 * spellchecker.C (sc_check_word):
17150 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17151 an unrecognised preprocessor directive. So ensure they're wrapped.
17153 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17155 * src/exporter.C (Export): Give an error message when path to file
17158 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17160 * LaTeX.C (deplog): Always check that foundfile exists.
17162 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17165 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17167 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17169 * tabular.[Ch] (getLabelList): implement new method
17171 * minibuffer.h: comment ouf setTiimer
17173 * minibuffer.C (ExecutingCB): constify res
17174 (peek_event): constify s
17175 (Set): constify ntext
17176 (Init): constify nicename
17178 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17180 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17181 (savePosition): use two params to Minibuffer::Set
17182 (restorePosition): ditto
17184 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17186 * lyx_main.C: include language.h
17188 * Makefile.am (lyx_main.o): add language.h
17190 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17196 * CutAndPaste.C: include gettext.h
17198 * lyxfont.h: remove old hack with ON and OFF.
17201 * lyxfont.h: do not include language.h...
17206 * bufferview_funcs.C:
17212 * paragraph.C: ... but do it here instead
17214 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17216 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17218 * tabular.C: small reformat
17220 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17223 (BreakParagraph): ditto
17224 (SetOnlyLayout): ditto
17227 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17230 * lastfiles.C: removed most using decl, add std:: where needed
17232 * buffer.C: ws changes
17234 * MenuBackend.C (class compare_format): put into anon namespace
17235 (expand): constify label, names, action, action2
17238 * text.C (SingleWidth): constify font
17239 (IsBoundary): constify rtl2
17240 (GetVisibleRow): constify ww
17242 * LaTeX.C (deplog): constify logfile
17244 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17246 (workAreaExpose): constify widthChange, heightChange
17248 * lyxrow.C (par): moved
17251 * lyxrow.h: as inlines here
17253 * lyxfont.h (shape): moved from lyxfont.C
17254 (emph): moved from lyxfont.C
17256 * lyxfont.C (LyXFont): use initialization list for all
17258 (shape): move to lyxfont.h as inline
17259 (emph): move to lyxfont.h as inline
17262 2001-04-04 Juergen Vigna <jug@sad.it>
17264 * vspace.C: had to include stdio.h for use of sscanf
17266 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17269 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17270 independent of xforms.
17272 2001-04-02 Juergen Vigna <jug@sad.it>
17274 * spellchecker.C: fixed namespace placing!
17276 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17278 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17279 the LyXParagraph * is 0.
17281 2001-03-29 Juergen Vigna <jug@sad.it>
17283 * vspace.C: added support for %, c%, p%, l%.
17284 (stringFromUnit): added helper function.
17285 (asLatexString): changed to give right results for the %-values.
17287 * buffer.C: convert the widthp in a width%.
17289 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17291 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17294 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17295 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17297 * lyx_cb.[Ch]: see above.
17299 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17303 * lyx.[Ch]: replaced by figure_form.[Ch].
17307 * lyxfunc.C: changed headers associated with above changes.
17309 2001-03-27 Juergen Vigna <jug@sad.it>
17311 * BufferView_pimpl.C: set the temporary cursor right!
17313 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17315 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17317 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17319 * LString.h: removed "using std::getline"!
17321 * BufferView_pimpl.C (Dispatch): changes due to changes in
17322 InsetInclude::Params.
17324 * buffer.C (tag_name): removed redundant break statements as they were
17325 producing lots of warnings with my compiler.
17327 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17329 * LString.h: add "using std::getline" when using the real <string>.
17331 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17333 * buffer.C: removed bitset usage.
17334 PAR_TAG moved to an anonymous name space.
17335 (tag_name): new funtion, also in the anonymous namespace.
17336 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17337 (makeDocBookFile): clean code. Completed transition from string arrays
17339 (SimpleDocBookOnePar): code clean.
17341 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17343 * tabular.C: add some comments.
17345 2001-03-22 Juergen Vigna <jug@sad.it>
17347 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17348 compatibility read a bit and fixed bug with minipage in different
17351 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17353 * buffer.C (pop_tag): removed.
17354 (push_tag): removed.
17355 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17356 array replaced with vector. Added support for CDATA sections.
17357 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17359 (makeDocBookFile): XML conformant declaration of CDATA section,
17360 fixed bug related to <emphasis> in the first paragraph char.
17361 (sgmlOpenTag): exclude empty tags.
17362 (sgmlCloseTag): ditto.
17364 * buffer.h (pop_tag): removed.
17365 (push_tag): removed.
17367 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17369 * language.h (Languages): added size_type and size().
17371 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17373 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17374 response on compability reading of minipages. One probliem is that
17375 the old usage of minipages was flertydig
17377 * several files here and in subdirs: don't use static at file
17378 scope use anon namespaces instead.
17380 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17382 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17383 LaTeX output. This is necessary for Literate document
17386 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17388 * buffer.C: insert hfill when needed.
17390 * tabular.C (l_getline): use string::erase, small whitespace change.
17392 * BufferView_pimpl.C: try the anon namespace.
17393 * WorkArea.C: ditto
17395 2001-03-16 Juergen Vigna <jug@sad.it>
17397 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17398 otherwise it won't open options-dialogs.
17400 * buffer.C: honor pextraWidth(p) on converting minipages.
17402 * tabular.C (l_getline): changed the functions to strip trailing \r.
17404 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17406 * BufferView_pimpl.C:
17407 * minibuffer..C: added "using SigC::slot" declaration.
17409 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17411 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17417 * paragraph.C: ditto
17419 * lyxtext.h: NO_PEXTRA
17421 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17423 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17424 * ParameterStruct.h: ditto
17425 * ParagraphParameters.h: ditto
17426 * lyxparagraph.h: ditto
17428 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17430 * buffer.C: add compability for minipage alignment.
17431 (latexParagraphs): remove unwanted pextra check.
17433 * several files: remove CXX_WORKING_NAMESPACES
17435 * buffer.C (pop_tag): tie is in namespace boost
17437 * BufferView.h: noncopyable is in namespace boost
17439 * lyx_main.h: ditto
17442 * lastfiles.h: ditto
17443 * bufferlist.h: ditto
17444 * ShareContainer.h: ditto
17446 * LyXAction.h: ditto
17449 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17451 * Merging changes from BRANCH_MVC back into HEAD.
17453 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17455 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17457 * BufferView_pimpl.C: change from intl.C
17461 * Makefile.am: move combox.*
17467 * intl.C: remove dialog (covered by prefs)
17469 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17471 * lyxfunc.C (Dispatch): removed redundant break statement.
17473 2001-03-14 Juergen Vigna <jug@sad.it>
17475 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17477 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17479 * buffer.C: add hack to fix compability reading of minipages.
17481 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17483 * buffer.C (getLists): Cleanup.
17485 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17487 * lyxfont.C (update): don't honor toggleall on font size.
17489 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17493 * Makefile.am: moved to frontends/xforms/
17497 * BufferView_pimpl.C: changes for moved mathpanel
17499 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17501 * gettext.h: fix gettext_init() in --disable-nls
17503 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17505 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17507 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17510 * lyx.h: strip external form
17512 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17514 * BufferView_pimpl.C: add comment, destroySplash()
17516 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17518 * BufferView_pimpl.C:
17522 * lyxfunc.C: use re-worked insetinclude
17524 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17526 * buffer.C: add using std::stringstream.
17528 * lyx_cb.C: readd using std::ios.
17530 * buffer.C: add using std::map.
17532 * BufferView_pimpl.C: add using std::vector.
17534 * ShareContainer.h: add std:: to swap.
17536 * buffer.h: add some typedefs
17537 * buffer.C (getLists): use them
17538 (getLists): renamed from getTocList.
17539 add a counter for the different float types and use it in the
17541 (getLists): use the same counter for the NEW_INSETS and the "non"
17544 * lyx_cb.h: remove unused items, includes, using etc.
17546 * ShareContainer.h: remove some commented code, add more comments
17547 and "documentation".
17549 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17551 * buffer.C (getTocList): make the list also when NEW_INSETS is
17554 * buffer.h: remove TocType
17556 * buffer.C (getTocList): change to return a map<string,
17557 vector<TocItem> >, implement for dynamic number of list.
17559 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17560 * text2.C (PasteSelection): adjust
17561 * CutAndPaste.C (pasteSelection): adjust
17563 * FloatList.C (FloatList): update from the new_insets branch.
17564 * Floating.[Ch]: ditto
17565 * LaTeXFeatures.C: ditto
17567 * lyxlex_pimpl.C: ditto
17569 * paragraph.C (Last): remove when NEW_INSETS is defined.
17571 * other file: changes because of the above.
17573 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17575 * lyxparagraph.h: rename next to next_, previous to previous_,
17576 make them private for NEW_INSETS. Rename Next() to next(),
17577 Previous() to previous().
17579 * other files: changes because of the above.
17581 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17584 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17587 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17589 * main.C (main): pass lyx_localedir to gettext_init().
17591 * gettext.h: remove locale_init and gettext_init macros
17593 * gettext.C (locale_init): new function
17594 (gettext_init): new function
17596 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17599 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17601 * Moved credits to frontends:
17602 * credits.[Ch]: removed
17603 * credits_form.[Ch]: removed
17604 * lyx_gui_misc.C: remove credits stuff
17607 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17609 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17611 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17612 unneeded destructor.
17614 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17615 a standalone pointer again.
17617 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17619 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17625 * ToolbarDefaults.C:
17634 * BufferView_pimpl.C: use new file dialog in GUII
17637 * lyx_cb.C: remove LayoutsCB to Toolbar
17639 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17641 * ShareContainer.h (get): add std:: qualifier
17643 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17645 * ShareContainer.h: define a proper ShareContainer::value_type
17646 type (and use typename to please compaq cxx)
17648 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17650 * lyxparagraph.h: move serveral local vars to
17651 ParameterStruct/ParagraphParameters., use ShareContainer in
17652 FontTable., make vars in FontTable private and add getter and
17655 * paragraph.C: changes because of the above.
17657 * lyxfont.h: remove copy constructor and copy assignment. (the
17658 default ones is ok), move number inside FontBits. move inlines to
17661 * lyxfont.C: add number to initializaton of statics, move several
17662 inlines here. constify several local vars. some whitespace
17663 cleanup. Dont hide outerscope variables.
17665 * Spacing.h: add two new constructors to match the set methods.
17667 * ShareContainer.h: new file, will perhaps be moved to support
17669 * ParameterStruct.h: new file
17671 * ParagraphParameters.h: new file
17673 * ParagraphParameters.C: new file
17675 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17676 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17678 * BufferView_pimpl.C: ParagraphParameter changes.
17679 * buffer.C: Likewise.
17680 * bufferview_funcs.C: Likewise.
17681 * text.C: Likewise.
17682 * text2.C: Likewise.
17684 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17686 * lyxfind.C (LyXReplace): do not redefine default argument in
17688 (IsStringInText): ditto
17689 (SearchForward): ditto
17690 (SearchBackward): ditto
17692 2001-03-06 Juergen Vigna <jug@sad.it>
17694 * lyxfind.C (IsStringInText): put parentes around expressions.
17696 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17698 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17700 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17702 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17704 * stl_string_fwd.h: add comment
17706 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17709 * tabular.C: remove unused DocBook methods
17715 killed DO_USE_DEFAULT_LANGUAGE
17717 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17719 * lyx_gui.C: do not include language.h.
17721 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17722 arguments in function implementation.
17724 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17726 * BufferView_pimpl.C: add <ctime>
17728 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17730 * BufferView_pimpl.C: add using std::find_if
17732 2001-02-27 José Matos <jamatos@fep.up.pt>
17734 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17737 2001-02-11 José Matos <jamatos@fep.up.pt>
17739 * buffer.C (makeDocBookFile): command styles now have a parameter as
17740 "title" by default.
17742 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17744 * layout_forms.[Ch]: removed
17745 * lyx_cb.[Ch]: out character
17746 * lyx_gui.C: out character
17747 * lyx_gui_misc.C: out character
17748 * bufferview_funcs.C: : out character,
17749 added toggleall as parameter in ToggleAndShow
17751 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17753 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17755 * text2.C (SetCurrentFont): Disable number property at boundary.
17757 2001-02-26 Juergen Vigna <jug@sad.it>
17759 * lyxfunc.C (getStatus): added a string argument override function so
17760 that this is correctly called from LyXFunc::Dispatch if it contains a
17761 do_not_use_argument which is used!
17762 (Dispatch): added check for "custom" export and call appropriate func.
17764 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17766 * lyxrc.C: Add language_command_local, language_use_babel and
17767 language_global_options.
17769 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17771 * buffer.C (makeLaTeXFile): Use language_use_babel and
17772 language_global_options.
17774 2001-02-23 Juergen Vigna <jug@sad.it>
17776 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17777 which works with LyXText and putted it inside BufferView. Here now we
17778 only call for that part the BufferView::Dispatch() function.
17780 * BufferView.C (Dispatch): added.
17782 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17783 functions which needs to use a LyXText over from LyXFunc.
17784 (MenuInsertLyXFile): added
17785 (getInsetByCode): added
17786 (moveCursorUpdate): added
17787 (static TEXT): added
17789 2001-02-22 Juergen Vigna <jug@sad.it>
17791 * BufferView_pimpl.C (update): call a status update to see if LyXText
17794 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17796 * vc-backend.C (revert): implement for CVS
17797 (getLog): implement for CVS
17799 2001-02-20 Juergen Vigna <jug@sad.it>
17801 * text2.C (ClearSelection): added BufferView param for inset_owner call
17803 * lyxfunc.C (TEXT): added this function and use it instead of
17804 directly owner->view()-text of getLyXText().
17806 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17808 * src/layout_forms.C: out preamble
17809 * src/layout_forms.h: out preamble
17810 * src/lyx_cb.C: out preamble
17811 * src/lyx_cb.h: out preamble
17812 * src/lyx_gui.C: out preamble
17813 * src/lyx_gui_misc.C: out preamble
17814 * src/lyxfunc.C: connect with guii preamble
17816 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17818 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17820 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17822 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17823 whether to run bibtex.
17825 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17827 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17829 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17831 * Makefile.am (lyx_SOURCES): removed bibforms.h
17833 * vspace.h: doxygen
17835 * text.C (GetVisibleRow): make several local vars const
17837 * tabular.C: small cleanup.
17839 * lyxserver.C (callback): use compare instead of strncmp
17841 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17842 inlines to after class or to paragraph.C
17844 * lyxfont.h: remove friend operator!=
17846 * converter.h: move friend bool operator< to non friend and after
17849 * combox.h: small cleanup
17851 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17852 to inlines after class def.
17854 * buffer.C (pop_tag): use string operations instead of strcmp
17856 * bmtable.c: doxygen, small cleanup
17858 * LaTeX.h: remove friend operator==
17860 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17872 * BufferView_pimpl.C:
17873 * BufferView.[Ch]: remove cruft
17875 2001-02-14 Juergen Vigna <jug@sad.it>
17877 * lyxfunc.C: removed #if 0 unused code
17879 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17881 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17883 * text2.C (SetSelection): added a BufferView * parameter
17885 2001-02-13 Juergen Vigna <jug@sad.it>
17887 * lyxfunc.C (Dispatch): fixed protected blank problem.
17888 * BufferView2.C (protectedBlank): added LyxText * parameter.
17890 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17891 (AppendColumn): same as above for column_info.
17893 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17894 (moveCursorUpdate): use a LyXText param for support of InsetText.
17896 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17897 (tripleClick): ditto
17899 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17901 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17903 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17905 * text2.C (SetSelection): set correct update status if inset_owner
17906 (ToggleFree): ditto
17908 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17910 * tabular.C: remove some commented code.
17912 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17914 * BufferView_pimpl.C: call hideSplash()
17916 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17919 * bibforms.h: remove
17922 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17923 add LFUN_CHILD_CREATE
17925 * counters.h: fix tiny typo
17930 * lyx.C: move splash to frontends/xforms/
17932 * lyx_gui_misc.C: move Include and Bibform to frontends
17934 * lyxvc.h: clarify comment
17936 * vspace.C: tiny housekeeping
17938 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17940 * text.C (PrepareToPrint): RTL Fix.
17942 * paragraph.C (GetUChar): New method.
17943 (String): Use GetUChar.
17945 * buffer.C (asciiParagraph): Use GetUChar.
17947 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17949 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17951 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17954 * buffer.C: rename to getLogName(), handle
17955 build log / latex log nicely
17957 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17960 * MenuBackend.h: remove support for reference menuitem type.
17962 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17964 * BufferView_pimpl.C: housekeeping
17965 * BufferView_pimpl.h:
17970 * minibuffer.h: move Timeout GUI-I
17972 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17974 * lyxrc.C (read): Update converters data-structures.
17976 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17978 * LaTeX.h (operator!=): add operator != for Aux_Info
17980 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17982 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17984 * LaTeXLog.C: deleted, useful code moved to Buffer
17987 * buffer.C: new function getLatexLogName()
17993 * lyxfunc.C: use frontends for LaTeX and VC logs
17995 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17997 * LaTeX.h: yet another std:: that Allan forgot.
17999 * Variables.C (set): renamed from isset(), because this clashes
18000 with some HP-UX macros (grr).
18002 2001-02-06 Allan Rae <rae@lyx.org>
18004 * LaTeX.h: Another bug fix. Missing std:: this time.
18006 2001-02-04 Allan Rae <rae@lyx.org>
18008 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18009 floats problem. I've left it commented out because it's not quite
18010 correct. It should also test that the current object is a table or
18011 figure inset. But I haven't gotten around to figuring out how to do
18012 that. I *think* it'll be something like: "table" == inset.type()
18014 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18017 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18019 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18020 all the citation/databases/styles in the auxilary file.
18021 (run): Rerun latex if there was a babel language error.
18023 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18025 * text.C (Backspace): Preserve the font when changing newline char
18027 (BreakParagraph): If the cursor is before a space, delete the space.
18029 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18031 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18033 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18034 new argument (code).
18035 (ChangeCitationsIfUnique): New method.
18037 * paragraph.C (GetPositionOfInset): Handle bibkey.
18039 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18041 * BufferView_pimpl.h: change type of Position::par_pos to
18042 LyXParagraph::size_type.
18044 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18046 * BufferView_pimpl.C (savePosition, restorePosition): Write
18047 messages to minibuffer.
18049 2001-01-28 José Matos <jamatos@fep.up.pt>
18051 * buffer.C (makeDocBookFile): adds support for document language.
18052 A silly restriction on the name of LatexCommand types where removed.
18053 Added support for CDATA sections, allows to chars unescaped, used
18054 among others in code, to avoid escape < and >.
18056 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18058 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18059 saved positions instrad of a stack. Furthermore, a position is
18060 stored using paragraph id/paragraph position.
18062 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18063 Remove LFUN_REF_BACK.
18065 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18067 * converter.C (dvipdfm_options): New method.
18069 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18071 * vspace.C (isValidLength): Fix for empty input string.
18073 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18075 * LyXAction.C (init): change description of LFUN_FIGURE to
18078 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18080 * LaTeX.C: add using directive
18082 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18084 * MenuBackend.C (expand): Fix the sorting of the formats.
18086 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18088 * lyx_main.C: tiny error message fix
18090 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18092 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18093 calling fl_initialize(). This fixes the problem with ',' as
18094 decimal separator in text files.
18096 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18098 * trans.C (process): Fix the keymap bug.
18100 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18102 * LaTeX.C (scanAuxFiles): New method. Provides support for
18103 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18104 (scanLogFile) Scan for "run BibTeX" messages.
18106 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18107 OT1 font encoding. Also, load the aecompl package if the ae
18110 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18112 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18114 * texrow.C (increasePos): turn two error messages into debug
18117 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18119 * LaTeX.C (scanAux): Handle the \@input macro.
18120 (runBibTeX): Use scanAux().
18122 * language.C (latex_options_): New field.
18124 * LaTeXFeatures.C (getMacros): Add language macros.
18126 * buffer.C (makeLaTeXFile): Small fix.
18128 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18130 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18132 * text2.C: add a using directive.
18134 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18139 * lyxfunc.C: kill LyXBell.
18141 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18143 * text.C (IsBoundary): Remove the error message
18145 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18147 * lyxrc.C (setDefaults): Correct initialization value for
18150 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18152 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18155 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18156 and GotoNextNote().
18158 * src/LyXAction.C: Added reference-next.
18160 * text.C (InsertChar): Use contains instead of strchr.
18162 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18164 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18166 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18167 alignment commands (when needed).
18169 * text.C (InsertChar): Add ':' to number separator chars.