1 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
5 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
7 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
8 use old deleteion algorithm when changetracking is on.
10 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
12 * messages.C (get): add debug output.
14 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
16 * text.C (cursorX): fix bug 1965: cursor movement at
17 line end broken in RtL.
18 (drawSelection): fix bug 1970: drawing of single-line
19 selection broken for RtL.
21 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
25 * dociterator.h (clear, push_back, pop_back): change from
28 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
29 and changed to just return the value of the item depth; take a
30 ParIterator as argument; take the itemdepth at outer nesting level
31 in account if necessary; cleanup and comment the code.
32 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
33 and changed to just return true if reset is needed; take a
34 ParIterator as argument; cleanup and comment the code.
35 (setCounter): adapt to above changes.
37 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
39 * text3.C (dispatch): make debug message optional
41 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
43 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
46 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
48 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
50 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
52 * text.C (insertChar):
53 * text2.C (deleteEmptyParagraphMechanism): take care whether
54 a blank has been deleted (in change tracking mode) (bug 1254).
56 2005-07-20 John Levon <levon@movementarian.org>
58 * text2.C (insertStringAsLines): remove old dubious code,
61 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
63 * MenuBackend.C (expandToc): use Floating::listName() as title of
66 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
68 * toc.[Ch]: Do not use translatable strings (bug 1870).
70 2005-07-20 John Levon <levon@movementarian.org>
72 * tabular.C: fix 1748 - setting multicolumn adds
73 left line to the first cell
75 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
78 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
81 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
83 * messages.C: supress some lyxerr messages
85 2005-07-18 Juergen Vigna <jug@lyx.org>
87 * text.C (drawSelection): honor boundary when asking for cursorX.
89 2005-07-17 José Matos <jamatos@fc.up.pt>
91 * tabular.C (recalculateMulticolumns): fix handling of one column
94 2005-07-17 Juergen Vigna <jug@lyx.org>
96 * text.C (Delete, backspace): fixed so that paragraph with the
97 same layout can be merged by Delete/Backspace.
99 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
101 * text.C (readParToken): fix spelling.
103 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
105 * text2.C: fix counter update for DEPM problem reported by
108 2005-07-17 Juergen Vigna <jug@lyx.org>
110 * BufferView_pimpl.C (setBuffer): save/restore the
111 cursor/selection when switching buffers
114 * buffer.C (saveCursor): add saveDocumentIterators to save the
115 cursor when switching buffer.
117 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
120 * buffer.C: clarify message
122 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
124 * dociterator.C (DocIterator): fix initialization order
126 2005-07-17 Juergen Vigna <jug@lyx.org>
128 * text2.C (cursorHome):
129 * text.C (drawSelection, cursorX):
130 * dociterator.C (textRow): add boundary to getRow() call
132 * paragraph.C (getRow): implementation of below
134 * paragraph.h: add parameter boundary for getRow() function
136 2005-07-17 José Matos <jamatos@fc.up.pt>
140 * tex-strings.[Ch]: new file format, remove support for a4.sty,
141 a4wide.sty and a4widemargins.
143 2005-07-17 Juergen Vigna <jug@lyx.org>
145 * text2.C (cursorLeft): fix one of error
147 2005-07-17 Juergen Vigna <jug@lyx.org>
149 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
151 more fixes for boundary handling
153 * text3.C (dispatch): don't reset cursor if boundary has changed
156 2005-07-16 Juergen Vigna <jug@lyx.org>
158 * text2.C (getColumnNearX): hopefully got it right now,
159 check if we are on column 0 for special case.
161 2005-07-16 Juergen Vigna <jug@lyx.org>
163 * text2.C (getColumnNearX): handle special case Newline Inset
165 * text.C (singleWidth): Just remove bogus check
167 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
169 * funcrequest.C (split): avoid reading uninitialized char c
171 2005-07-16 José Matos <jamatos@fc.up.pt>
177 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
178 single papersize variable.
180 2005-07-16 Juergen Vigna <jug@lyx.org>
182 * text3.C (dispatch): honor boundary when checking if a cursor
183 movement has been done
185 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
186 (setCursor, setCursorIntern): fix cursor movement with boundary
188 2005-07-16 Juergen Vigna <jug@lyx.org>
190 * text.C (currentState): output the actual Boundary
192 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
194 * factory.C (createInset): fix bad logic for tabular creation
196 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
198 * lyx_main.C (init): change some reLyX reference to tex2lyx
200 2005-07-16 Juergen Vigna <jug@lyx.org>
202 * dociterator.C (DocIterator): initialize boundary
204 2005-07-16 Juergen Vigna <jug@lyx.org>
206 * text2.C (getColumnNearX): Consider rows without trailing blank.
208 2005-07-16 André Pönitz <poenitz@gmx.net>
210 * lyxfont.h: Change order of declarations to give the compiler
211 a better chance to inline things
213 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
214 questions on unsaved docs for better scritability
216 2005-07-16 André Pönitz <poenitz@gmx.net>
218 * paragraph.h (getChar): remove asserts as the same kind of security
219 can be achieved by using a suitable standard library implementation
220 and the function was in the critical path (25.9% in profiler)
222 2005-07-16 Juergen Vigna <jug@lyx.org>
224 * cursor.C (bruteFind2):
225 * bufferview_funcs.C (coordOffset):
226 * text.C (cursorX,cursorY): Handle cursor position after last char
227 in row before a inset which uses a whole row.
229 2005-07-15 José Matos <jamatos@lyx.org>
231 * output_plaintext.[Ch] (writeFileAscii): control reference title
233 (asciiParagraph): noparbreak was already deal and was incorrectly
236 2005-07-15 Juergen Vigna <jug@lyx.org>
238 * lyxfunc.C (dispatch): save and restore the cursor after a
241 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
243 * text.C (backspace): bug 806 for empty keepempty paragraphs we
244 change the layout to default before letting DEPM do its thing.
246 * paragraph_funcs.C (breakParagraph): dont reset the layout on
249 * text.C (setCursorFromCoordinates): add a debug statement
251 * text2.C (getColumnNearX): bug 1825 make sure that we don't
252 return a pos that is not on the row
254 * output_latex.C (TeXDeeper): get rid of potential dereferencing
255 of past the end iterator
257 2005-07-14 André Pönitz <poenitz@gmx.net>
259 * undo.C (recordUndoFullBuffer): implement undo for
262 2005-07-14 André Pönitz <poenitz@gmx.net>
264 * cursor.C (setSelection): open insets when selection is set there
265 to avoid crashs with cold coord cache
267 2005-07-14 André Pönitz <poenitz@gmx.net>
269 * trans_mgr.C (insert): move cursor to the right after inserting
272 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
274 * BufferView_pimpl.C (update): dampen some of the debug blabbering
275 * factory.C (readInset): ditto
276 * text.C, text2.C: ditto
278 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
280 * buffer.C: format incremented to 242. There is no file format per
281 se, but the "frenchb" language has been removed from lib/language
282 and has to be translated to "french" by lyx2lyx.
284 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
286 * cursor_slice.h, dociterator.h: add some documentation
287 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
289 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
291 * text.C (leftMargin): do not add identation to display() style
292 insets, because they are always centered (bug 1293).
294 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
296 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
297 formatted_time methods in support/lyxtime.
299 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
301 * toc.[Ch]: new method getGuiName, which is used by the frontends
302 to set the toc combo (fixes bug 1870). Make TOC string translatable.
304 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
306 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
307 StableDocIterator const &)
308 * undo.C (recordUndo): use the above instead of cell.size() comparison
309 (fixes bug 1808; instructed by Andr�.
311 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
314 * dociterator.h: Fix the assert when copying rows/cols in math
316 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
318 * BufferView_pimpl.C:
320 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
322 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
323 (findInset): new functions, refactored from goto Inset that return
324 the position of a certain inset without setting the buffer's cursor
326 (gotoInset): rewrite to call findInset and then set the cursor
329 2005-06-16 Angus Leeming <leeming@lyx.org>
331 * lyxrc.C (output, read): wrap all input and output of paths with
332 calls to os::internal_path and os::external_path, respectively.
333 (output): wrap bind_file inside quotes.
335 * format.C (view): enable the viewer to use the '$$s' placeholder.
337 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
339 * LColor.[Ch] (getFromLaTeXName): new
341 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
343 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
345 2005-06-14 Angus Leeming <leeming@lyx.org>
347 * lyx_main.C (init): ensure that the LyX binary dir is the first
348 element in the PATH on non-POSIX builds.
350 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
352 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
354 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
356 * rowpainter.C (paintInset, paintHebrewComposeChar)
357 (paintArabicComposeChar, paintChars): add a LyXFont argument.
358 (paintChars): use getFontSpan to reduce calls to getFont to a
359 minimum; use Paragraph::lookupChange instead of isXXXText.
360 (paintForeignMark): rename LyXFont argument.
361 (paintFromPos): pass a LyXFont object to the various paintXXX
364 * FontIterator.C (FontIterator, operator++): use
365 Paragraph::getFontSpan
367 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
368 version that returns the font span as a pair.
370 2005-06-09 Angus Leeming <leeming@lyx.org>
372 * converter.C (convert): Don't forget "outfile = real_outfile" as
373 the final step in a conversion where the input and output file names
374 are the same. Otherwise, future conversion steps won't work...
376 2005-06-09 Angus Leeming <leeming@lyx.org>
378 * lyxsocket.C: remove stub code as it isn't needed by
379 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
381 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
383 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
384 effectively disabled -x
386 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
388 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
389 when it actually makes sense.
391 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
393 * BufferView_pimpl.C: revert to showCursor in connection with
394 Lars's front-end stack
396 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
398 * text.C (redoParagraph): move cursor right after a bibitem
401 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
403 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
405 * buffer_funcs.C (bufferErrors): fix computation of the end of an
408 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
410 * BufferView.[Ch] (update):
411 * BufferView_pimpl.[Ch] (update, metrics):
412 * dimension.h (operator==):
413 * lyxfunc.C (dispatch):
414 * metricsinfo.h (ViewMetricsInfo):
415 * rowpainter.C (paintText):
417 * text.C (redoParagraph):
418 * text3.C (dispatch): Make LyX only repaint current paragraph in
419 case of character insert --> speedup. Also fix cursor draw
422 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
424 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
425 avoid a crash (bug 1891)
427 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
431 * text2.C (getStringToIndex): constify cur argument.
433 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
434 argument has been given
435 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
436 try to invoke LFUN_INSET_APPLY).
438 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
439 if no inset was created by doInsertInset
440 (doInsertInset): return true if an inset has been inserted.
442 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
444 * vspace.C (asGUIName): new method. A version of the space
445 suitable for showing on screen.
447 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
450 * lyxrc.C: rename "ASCII" to "Plain Text"
452 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
454 * buffer_funcs.C (expandLabel): take a Buffer as argument;
455 translate the labelstring.
456 (setCounter): translate labelstring as needed.
458 * output_docbook.C (makeCommand): fix expandLabel invokation
460 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
462 * BufferView.C: fix dialog title
464 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
466 * lyx_main.C (priv_exec): fix logic error with help from Angus
467 * lyx_main.C (parse_execute): set is_gui = false and remove now
468 obsolete comment about a segfault
470 2005-05-18 Angus Leeming <leeming@lyx.org>
472 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
474 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
476 * tabular.[hC]: added setCellInset to fix tabular paste.
478 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
480 * buffer.C (save): check if destination is writable before trying
483 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
485 * BufferView_pimpl.C (update): fix processEvents -caused update
488 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
490 * buffer_funcs.C (setCounter): fix test for numbering of
493 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
494 depth correctly; use optional argument when it exists
496 * lyxtextclass.C: remove unused MaxCounterTags enum
497 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
498 (max_toclevel, min_toclevel): new methods.
500 * MenuBackend.C (expandToc2): fix case where depth is smaller than
501 the smallest depth in toc.
503 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
504 layouts that should not appear in a table of contents.
506 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
508 * cursor.h (undispatched, noUpdate): add comments from Andr�
509 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
513 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
515 2005-05-07 André Pönitz <poenitz@gmx.net>
517 * cursor.[Ch] (leaveInset): new function
519 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
521 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
523 2005-05-04 Angus Leeming <leeming@lyx.org>
525 * lyxfunc.C (getStatus): disable the spell checker dialog if
526 none of USE_[AIP]SPELL are defined.
528 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
530 * tabular.C (setWidthOfCell): remove obsolete comment
532 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
534 * paragraph.C (bibitem):
535 * buffer_funcs.C (setCounter):
536 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
538 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
540 * text3.C (getStatus): immediately return after setOnOff
542 * rowpainter.C: fix drawing of appendix start
544 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
546 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
547 SwitchBetweenClasses and remove the unused return value.
548 Handle character styles, too
550 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
552 * factory.C (createInset): handle undefined character styles
554 2005-05-02 Angus Leeming <leeming@lyx.org>
556 * buffer.C: protect the #include of utime.h with a preprocessor
559 2005-05-02 Angus Leeming <leeming@lyx.org>
561 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
562 function so that auto-saving works, albeit in a blocking manner.
564 * Makefile.am: make compilation of the client sub directory, of
565 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
566 on conditionals set at configure time.
568 * SpellBase.[Ch]: no longer an abstract base class. Instead,
569 it can be compiled in its own right but has no-op functionality.
571 * aspell.C, pspell.C: remove preprocessor guards. The files should
572 be compiled only if the necessary functionality exists.
574 * lyxserver.C, lyxsocket.C: disable on Windows.
576 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
578 * text.C (leftMargin): Fix the parindent use bug (1764)
581 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
583 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
586 2005-04-25 Angus Leeming <leeming@lyx.org>
594 include <config.h> in .C files, not .h ones.
596 protect headers inside preprocessor guards.
598 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
600 * FuncStatus.h (StatusCodes): document
602 2005-04-21 André Pönitz <poenitz@gmx.net>
604 * FuncStatus.h (enabled, onoff): document
606 2005-04-19 Angus Leeming <leeming@lyx.org>
608 * BufferView_pimpl.C (cursorToggle): no longer test whether
609 any child processes have been reaped before calling
610 handleCompletedProcesses().
612 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
614 * text3.C (dispatch): fix, finally fix, the language problem in
615 new lyxtexts, without disabling on-the-fly font changes (Helge's
618 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
620 * text3.C (dispatch): set cursor on double/triple click events
623 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
625 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
626 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
628 * rowpainter.C (paintFirst): simplify the code a little bit. In
629 particular, remove the test for secnumdepth.
630 * text.C (setHeightOfRow): only allocate space for chapter number
631 when updateCounters provided an actual label, instead of looking
632 at secnumdepth directly.
634 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
636 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
637 paragraphs when secnumdepth is large enough or, for environments,
638 when they are not the first in a sequence.
640 2005-04-17 Angus Leeming <leeming@lyx.org>
642 * buffer.C (makeLaTeXFile): replace code to manipulate a path
643 containing space and '~' characters with a call to latex_path().
645 2005-04-17 Angus Leeming <leeming@lyx.org>
647 * converter.C (convert): protect all args of convertDefault.sh
650 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
652 * text3.C (dispatch): change the layout to "Caption" after inserting
655 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
657 * text3.C (dispatch): fix language problem in newly created
658 textinsets (and main text) in non-english docs
660 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
662 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
663 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
664 * text3.C (getStatus): disable LFUN_INSET_MODIFY
666 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
671 * rowpainter.C (getFont): Fix metrics bug introduced by inset
674 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
676 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
677 output of \item arguments without trailing text.
679 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
681 * FontIterator.C (operator*): avoid a copy of the font.
683 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
685 * rowpainter.C (getFont): fix language bug from previous fix
687 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
689 * rowpainter.C (RowPainter, getFont): fix font inside inset
692 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
694 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
695 preventing inserted font, deco, delim insets jumping to start of
698 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
700 * lyxfunc.C (dispatch): translate message before sending it to the
703 2005-03-29 Angus Leeming <leeming@lyx.org>
705 * lyx_main.C (priv_exec): call os::internal_path on each file passed
706 to LyX on the command line.
708 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
710 * vc-backend.C: use QuoteName to protect file names wherever
713 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
716 * BranchList.h: fix bugs 1844,1845: document settings don't
719 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
721 * lyxrc.C (setDefaults, read, output, getDescription): add support
722 for tex_allows_spaces.
724 * exporter.C (Export): allows files in directory containing spaces
725 if tex_allows_spaces is true.
727 * buffer.C (makeLaTeXFile): if the document path contains spaces,
728 output it in double quotes.
730 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
732 * rowpainter.C: use default text height for drawing change tracker
735 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
737 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
739 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
741 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
742 directory is missing.
744 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
746 * text2.C: fixed the fix, extended to other case.
748 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
750 * text2.C: fix for cursor up/down stuck in math [bug 1792]
752 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
754 * text2.C (cursorUp): get rid of a crash
755 * text.C (x2pos): add an assert
757 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
759 * lyxfunc.C (getStatus): fix warning when assertions are disabled
763 * dociterator.C: include <boost/current_function.hpp>, which is
764 needed when assertions are disabled.
766 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
768 * text2.C: fix for stuck cursor when traversing two
769 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
771 2005-02-25 Andreas Vox <avox@arcor.de>
773 * output_docbook.C (makeParagraph): suppress trailing newline
774 after a run of paragraphs
776 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
778 * paragraph.C: fix for confused change tracker when pasting
779 text that begins with a lineseparator. [bug 1827]
780 (setChange(0, Change::INSERTED);)
782 * paragraph_funcs.C: fix for lost changes on triple-paste
783 in change tracking mode [bug 1827] (par.setChange()).
785 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
787 * text2.C (updateCounters, setCounter, expandLabel): move to
790 * buffer_funcs.C (updateCounters): turn into a free standing
791 function and add a buffer parameter. Remove dead code for tracking
793 (setCounter): change into a free-standing function which gets a
794 dociterator as argument. Use this iterator to fix captions in a
795 simple way. When no float is found above the caption, use the
796 labelstring of the caption layout as default.
798 * text.C (breakParagraph, backspace):
799 * text2.C (init, setLayout, changeDepth):
800 * text3.C (dispatch):
801 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
804 * dociterator.C (forwardPar): make it much faster by calling
805 forwardPos() only when really necessary.
807 * output_docbook.C (makeCommand): adapt to expandLabel move.
809 * cursor.C: remove unused variable
811 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
813 * paragraph_funcs.C: fix crash when pasting insets in change
814 tracking mode [bug 1277] (honour change type in moveItem).
816 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
818 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
820 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
822 * BufferView.C (setCursor): change to use a DocIterator.
823 (gotoLabel): use BufferView::setCursor (other part of bug 781).
824 (putSelectionAt): adapt to BufferView::setCursor change.
826 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
827 moved here from LyXText and rewritten to use proper cursor
828 methods. Fixes bug 1787, 616 and 835.
830 * BufferView_pimpl.C (restorePosition): set the cursor correctly
831 when inside an inset (part of bug 781).
832 (dispatch): adapt to change of BufferView::setCursor.
833 (getStatus, dispatch): handle LFUN_GOTOERROR,
834 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
836 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
837 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
838 * text3.C (gotoNextInset, gotoInset): removed.
840 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
842 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
844 2005-02-15 Angus Leeming <leeming@lyx.org>
846 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
847 can be used meaningfully in a comparison.
849 2005-02-13 André Pönitz <poenitz@gmx.net>
851 * bufferview_funcs.C (coordOffset): improve cursor drawing
853 2005-02-13 André Pönitz <poenitz@gmx.net>
855 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
856 * Cursor.C (dispatch): use fixIfBroken
857 * lyxfunc.C (getStatus): use fixIfBroken
859 2005-02-15 Angus Leeming <leeming@lyx.org>
861 * lyx_main.C (error_handler):
863 * lyxrc.C (setDefaults):
865 #include "environment.h".
867 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
869 2005-02-15 Angus Leeming <leeming@lyx.org>
871 * lyxserver.C (startPipe): squash MSVC warning "local variable
872 'fd' used without having been initialized".
874 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
876 * BufferView_pimpl.C: revert accidental commit.
878 2005-02-14 André Pönitz <poenitz@gmx.net>
880 * dociterator.[Ch]: new member forwardPosNoDescent(),
881 which doesn't enter nested insets.
882 * text2.C (setFont): use forwardPosNoDescent() instead
883 of ForwardPos() (fixes crash on font change).
885 2005-02-13 Angus Leeming <leeming@lyx.org>
887 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
888 only if lyxrc.path_prefix is not empty.
890 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
892 * bufferparams.C (readGraphicsDriver): prevent crash
894 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
896 * text2.C (setCounter): check for inInset() == 0
898 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
900 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
901 but use update() to get correct screen display; use convert
902 instead of istringstream.
903 (getStatus): handle LFUN_GOTO_PARAGRAPH
905 * lyxfunc.C (dispatch, getStatus): do not handle
906 LFUN_GOTO_PARAGRAPH here.
908 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
910 * text3.C (dispatch): size() -> depth()
912 * text2.C: remove some debug output
914 * paragraph.C: ws changes only
916 * lyxfunc.C (getStatus): size() -> depth()
918 * dociterator.h (clear, push_back, pop_back, internalData,
919 operator[], resize, empty): new functions
920 Make StableDocIterator and operator== be friends. Don't inherit
921 from std::vector use a privat class variable slices_ instead.
924 * dociterator.C: update because of not inheriting from std::vector
925 anymore. Call explictly to slices_ instead. Use depth() instead of
926 size() and top() instead of back()
928 * cursor.C: chagne size() -> depth and back() -> top(). Also
929 remove some direct operator[](i) calls in favour of foo[i]
930 (getFont): remove some dead code
932 * bufferview_funcs.C (coordOffset): size() -> depth()
934 * buffer.C: ws changes only
936 * CutAndPaste.C (eraseSelection): back() -> top()
938 * BufferView_pimpl.C (selectionRequested): back() -> top()
940 * BufferView.C (setCursor): size() -> depth()
942 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
944 * text3.C (cursorPrevious): return true if depm changed something
946 (dispatch): rename sl to oldTopSlice, remove moving use the new
947 NoUpdate func attrib instead. Make sure that needsUpdate is set
948 for function that have NoUpdate, but where depm might have changed
951 * text2.C (cursorLeft): make us return true if depm changed
954 (cursorUpParagraph): ditto
955 (curosrDownParagraph): ditto
956 (cursorUp, cursorDown): ditto, make sure to read comments in code
957 (deleteEmptyParagraphMechanism): remove an assert, also return
958 true if just a single char was deleted.
960 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
961 cursor that we modify, to avoid modifying an active cursor before
962 we call setCursor. This allows depm to run. Also return true if
963 depm deleted something.
965 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
966 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
967 cursorDownParagraph, cursorPrevious and cursorNext, return true if
968 something was changed in the buffer because of them (ie. depm run)
970 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
971 debug messages. Make update by default be false. Make sure that
972 the result of update is retained throught several calls down to
975 * LyXAction.h: add a new func_attrib: NoUpdate
977 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
978 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
979 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
981 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
983 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
985 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
986 bv_->owner(), bv_->buffer() by direct references to the private
988 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
989 (getStatus): isSavedPosition() is in BufferView::Pimpl.
990 (fitCursor): center() is in BufferView::Pimpl.
991 (getStatus, trackChanges, dispatch): no need for a temporary buf
993 (fitCursor, workAreaDispatch): use workarea().workheight()
995 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
997 * CutAndPaste.C (pasteSelectionHelper): fix a crash
999 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1001 * buffer.C: format up to 241.
1002 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1003 break if pasting into ERT
1004 * lyxfunc.C (getStatus): suppress mathpanel and
1005 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1007 2005-02-01 Angus Leeming <leeming@lyx.org>
1009 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1011 2005-02-01 Angus Leeming <leeming@lyx.org>
1013 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1014 calling fs::is_directory().
1016 2005-01-31 Angus Leeming <leeming@lyx.org>
1018 * lyx_main.C (priv_exec): specify explicitly the relative location
1019 of the top level build directory when run in-place.
1021 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1023 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1024 LyXText containing the cursor, not the top-level one.
1026 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1028 (insertStringAsLines): rename par to pit; use temporary variable
1029 par to hold a Paragraph; do not store par.layout() in a variable,
1030 since the pointer may die when breaking paragraphs; pass pars to
1031 breakParagraph() instead of Buffer::paragraphs().
1033 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1035 * lyxlex_pimpl.h: #include <fstream>.
1037 * BufferView.[Ch] (getLyXText): add a const version.
1039 * BufferView_pimpl.C: add debug aids.
1044 * paragraph_funcs.h: add commentary explaining what the class does.
1047 * coordcache.[Ch]: add lots of commentary.
1048 (startUpdating, doneUpdating): debug aids.
1049 (arrays, insets, parPos, getParPos): accessors to private data.
1051 * cursor_slice.[Ch] (text): add a const version.
1052 * dociterator.[Ch] (text, innerText): add const versions.
1054 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1057 * paragraph.C (getRow, pos2ros): add asserts.
1059 * paragraph.h: add commentary. Lots of.
1061 * paragraph.[Ch] (metrucs, draw): removed.
1064 * rowpainter.[Ch]: const-correct changes.
1066 * text.C: various obvious clean-ups. Removal of ancient cruft.
1069 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1071 * vc-backend.C (find_file): rewrite to use boost.filesystem
1074 * main.C (main): set default name check for boost.filesystem to
1077 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1080 (actOnUpdatedPrefs): ditto
1082 * lyx_main.C (init): rewrite to use boost.filesystem
1083 (queryUserLyXDir): ditto
1085 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1086 (getContentsOfAsciiFile): ditto
1088 * lastfiles.C (readFile): rewrite to use boost.filesystem
1090 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1092 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1093 (loadLyXFile): ditto
1095 * buffer.C (Buffer): adjust for destroydir
1096 (getLogName): rewrite to use boost.filesystem
1097 (setFileName): ditto
1098 (save): use fs::copy_file (from fs_extras)
1100 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1102 * LaTeX.C (run): rewrite to use boost.filesystem
1103 (scanAuxFiles): ditto
1104 (handleFoundFile): ditto
1106 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1108 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1110 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1112 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1114 * lyxlayout.[Ch]: change some vars from float to double
1116 * buffer.C (readFile): make a local var const
1118 * Several files: use convert<> instead of atoi,strToXXX and friends
1120 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1122 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1123 holds the contents of packages.lst. New functions getAvailable
1124 and isAvailable to parse and check that list, resp.
1128 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1130 * bufferparams.[Ch]: new param output_changes.
1132 * Buffer.C: increase file format to 240.
1133 Use output_changes and isVailable.
1137 * paragraph_pimpl.C: Use output_changes and isVailable.
1139 2005-01-23 Angus Leeming <leeming@lyx.org>
1141 * output_latex.C: #include "insetbibitem.h", rather than
1142 forward declare function bibitemWidest.
1144 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1146 * lyx_main.C (init): make it compile on the Mac.
1148 2005-01-20 Angus Leeming <leeming@lyx.org>
1150 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1151 (setLyXMisc): (char string literal) != (char string literal) is
1152 performing a comparison on the addresses. Convert one operand
1153 explicitly to string to guarantee expected behaviour.
1156 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1159 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1161 * output_plaintext.C: remove unneeded #include gzstream.h.
1163 2005-01-20 Angus Leeming <leeming@lyx.org>
1165 * SpellBase.h: rename some of the elements of the Result enum.
1172 * pspell.C (check): ditto
1174 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1176 * buffer.C: add #include <fstream>.
1178 * lyx_main.C (init): Compile fix.
1180 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1182 2005-01-20 Angus Leeming <leeming@lyx.org>
1184 * mover.h: change commentary to reflect the changed meaning of
1185 the $$s placeholder.
1187 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1189 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1191 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1193 2005-01-20 Angus Leeming <leeming@lyx.org>
1195 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1196 printing diagnostic data by not dereferecing an iterator past the
1199 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1201 * buffer.C (readHeader): use "&&" rather than "and".
1203 * lyxserver.h (inPipeName, outPipeName): make these const.
1205 2005-01-19 Angus Leeming <leeming@lyx.org>
1207 * lyx_main.C (error_handler, init): protect SIGHUP with
1208 #ifdef SIGHUP guards.
1210 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1212 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1214 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1216 * text.C (setHeightOfRow): add a margin at the top and bottom of
1217 the document (bug 1761)
1219 2005-01-17 Angus Leeming <leeming@lyx.org>
1221 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1222 with "python ". Workaround for a brain-dead Windows.
1224 2005-01-16 Angus Leeming <leeming@lyx.org>
1226 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1227 for MacOSX and Windows to use prependEnvPath.
1228 Strip out the hard-coded block to add elements to the PATH for
1229 MacOSX and replace it with a call to prependEnvPath using the
1230 contents of LyXRC::path_prefix.
1231 (queryUserLyXDir): strip out the code to run reconfigure, instead
1232 returning a boolean indicating the necessity to do so.
1233 (reconfigureUserLyXDir): contains the code to reconfigure the
1234 user support directory. Is now called after the various LyXRC data
1235 files have been read.
1237 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1239 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1241 * converter.[Ch] (convert): take a new parameter try_default. Use
1242 a default converter (imagemagick) if try_default is true.
1244 2005-01-13 Angus Leeming <leeming@lyx.org>
1246 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1247 os::cygwin_path_fix.
1248 (write): output LyXRC::cygwin_path_fix as necessary.
1250 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1253 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1255 2005-01-12 Angus Leeming <leeming@lyx.org>
1257 * lyx_main.C (init): set the PATH variable to include the
1258 directory containing the LyX binary when running on Mac or Windows.
1260 2005-01-12 Angus Leeming <leeming@lyx.org>
1262 * lyx_main.C (init): remove cruft that purports to set the locale
1263 dir. It doesn't and is not needed anyway.
1265 2005-01-10 Angus Leeming <leeming@lyx.org>
1267 * Makefile.am: remove the lyx_main.C special casing.
1269 * BufferView_pimpl.C:
1275 * messages.C: use support/package.h to provide the paths to the
1276 various directories used by LyX.
1278 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1280 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1281 layout if pasting into an empty paragraph)
1283 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1285 * tex-accent.C: add <string>
1287 2005-01-06 José Matos <jamatos@lyx.org>
1289 * ParagraphParameters.C (write): put every parameter in its own line.
1290 * paragraph.C (write): reduce number of consecutive empty lines exported.
1291 * buffer.C (LYX_FORMAT): increase file format to 239.
1293 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1295 * everywhere: change support/tostr.h -> support/convert.h
1297 * tabular.C: make all write_attributes templates, tostr -> convert
1299 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1300 (emptyTag): and -> &&, and fix type for ret from getChar
1301 (getFirstWord): fix type for ret from getChar
1302 (onlyText): and -> &&
1303 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1306 * toc.C (goTo, action):
1307 * text3.C (dispatch):
1308 * text.C (currentState):
1309 * tex-accent.C (DoAccent):
1312 * lyxfunc.C (menuNew):
1313 * lyxfinc.C (replace):
1314 * counters.C (laberItem):
1315 * bufferview_funcs.C (font2string):
1316 * bufferparams.C (writeFile):
1317 * buffer.C (readFile):
1319 * MenuBackend.C: tostr -> convert
1321 * LaTeX.C (runMessage): fix format
1322 (scanAuxFiles): tostr -> convert
1324 * BufferView_pimpl.C (savePosition): fix format
1325 (restorePosition): ditto
1328 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1330 * Spacing.[Ch]: New method getValueAsString().
1334 * ParagraphParameters.C:
1337 * text3.C: store/read spacing value as string.
1339 * rowpainter.C: change float value (spacing_val) to double.
1341 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1342 broken custom document spacing).
1344 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1346 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1347 namespace, also more use of temp references and const
1349 * cursor.[Ch] (getStatus): move to lyxfunc.C
1351 * bufferparams.C: reformat slightly
1353 * bufferview_funcs.C (font2string): constify arg
1359 * buffer_funcs.C: (many funcs): constify arg on function
1360 definitions, also make more local vars const, also add ASSERTS on
1363 * buffer.C (LYX_FORMAT): put const in correct place
1364 (many funcs): constify arg on function definitions, also make
1365 more local vars const
1367 * aspell_local.h: remove "struct" from typdef setup
1369 * aspell.C (check): make word_ok const
1370 (nextMiss): simplify slightly
1373 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1375 * lyxrc.[Ch]: store all float values as strings.
1376 use int (not float) for lyxrc.dpi.
1378 2005-01-04 Angus Leeming <leeming@lyx.org>
1380 * lyx_cb.C (Reconfigure):
1381 * lyx_main.C (queryUserLyXDir):
1382 to run the <system_lyxdir>/configure correctly on Windows, prefix
1383 the path to the script with "sh " when generating the string that
1384 is passed to system().
1386 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1388 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1390 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1392 * lyxlength.C (asLatexString): get rid of setprecision
1394 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1396 * text2.C (setLayout): remove unused variable endpit.
1397 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1399 * paragraph.C (onlyText): remove unused variable style.
1401 * cursor.C (bruteFind): remove unused variables beg and end.
1403 * Makefile.am (dist_noinset_DATA): not needed anymore
1405 * cheaders/*: remove.
1407 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1409 * text3.C: fix LFUN_MATH_MODE.
1411 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1413 * buffer_funcs.C (countWords): new function. Counts words between
1416 * BufferView_pimpl.C (getStatus, dispatch): handle
1419 * LyXAction.C (init):
1420 * lfuns.h: add LFUN_WORDS_COUNT.
1422 2004-12-19 Angus Leeming <leeming@lyx.org>
1424 * buffer.C (save): s/slashify_path/internal_path/.
1426 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1428 * lyxfind.C (findChange): do not search for end of pars, because
1429 the change tracker cannot handle this (fixes bug 1719).
1431 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1433 * paragraph.[Ch] (autoBreakRows): remove
1435 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1437 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1438 avoid using the paragraph one
1440 * text2.C (LyXText, insertStringAsLines): adjust
1442 2004-12-16 Angus Leeming <leeming@lyx.org>
1446 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1448 2004-12-14 Angus Leeming <leeming@lyx.org>
1450 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1452 * bufferlist.C (emergencyWrite):
1453 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1456 2004-12-14 Angus Leeming <leeming@lyx.org>
1458 * main.C: (main): no longer pass pointers to os::init.
1460 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1462 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1463 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1465 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1468 * text3.C: remove selection_possible global flag
1470 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1472 * text2.C (getSelectionSpan): remove
1473 (changeDepth, changeDepthAllowed): adjust
1475 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1477 * Makefile.am (BOOST_LIBS): use boost variables
1479 2004-12-03 José Matos <jamatos@lyx.org>
1481 * buffer.C: format up to 238.
1483 2004-12-03 José Matos <jamatos@lyx.org>
1485 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1487 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1489 * cursor.C (goUpDown): remove call to idxUpDown2
1491 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1493 * tabular.[Ch]: use size_t-like types for cell, row and column
1496 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1498 * lyxfunc.C (getStatus): do not lose previous information when
1499 calling BufferView::getStatus; do not set a default "Command
1500 disabled" message at the beginning, but just before returning.
1502 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1504 * cursor.h (getStatus): add better comment from src/cursor.C
1506 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1508 * text3.C (getStatus): return false when the lfun is not handled
1510 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1512 * broken_headers.h: remove
1514 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1516 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1518 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1519 offset_ref accessors
1521 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1522 top_y_, merge fitcursor with update
1523 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1525 (metrics): introduce
1526 (workAreaDispatch): adapt to new coord scheme
1527 (redoCurrentBuffer): remove
1529 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1531 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1534 * coordcache.[Ch]: add paragraph cache and helpers
1536 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1539 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1540 (targetX, setTargetX): introduce
1542 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1543 baseline -> ascent, as the rest of lyx
1545 * lyxtext.h: remove redoParagraphs, updateParPositions,
1546 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1547 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1548 have ascent/descent (ascent is ascent of first par)
1550 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1553 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1555 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1557 * pariterator.C: fix infinite loop introduced in par->pit renaming
1559 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1560 in insets and LyXText, draw two off-screen paragraphs using
1561 NullPainter, and adapt to new coord scheme
1565 * text3.C: adapt lfun handlers to the new coord scheme, which
1566 means: there's only guaranteed coord information for onscreen pars
1567 plus one above and one below. This implies that one can do search
1568 from y coordinates in the range [-1,workHeight]
1570 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1572 * rename a lot of InsetOld to InsetBase
1574 2004-11-25 Angus Leeming <leeming@lyx.org>
1576 * BufferView_pimpl.C:
1578 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1580 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1582 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1583 call BufferView::getStatus if LCursor::getStatus did nothing
1584 (setStatusMessage, getStatusMessage): removed.
1586 * FuncStatus.C (message): new methods. Used to provide an error
1587 message indicating why a command is disabled.
1588 (clear, |=, FuncStatus): update for message.
1590 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1592 * lyxfunc.C (dispatch): always call sendDispatchMessage
1594 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1597 * BufferView_pimpl.C:
1602 * cursor_slice.[Ch]:
1605 * paragraph_funcs.C:
1611 * undo.C: par->pit renaming
1613 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1615 * tabular.C (cellstruct): use initialization, store a shared_ptr
1616 to insettext instead of the insettext directly, adjust to fit.
1617 (operator=): new function
1618 (swap): new function
1619 (rowstruct): use initialization
1620 (columnstruct): use initialization
1621 (ltType): use initialization
1624 * lyxlength.h (swap): new function
1626 * LColor.[Ch] (operator=): use the common semantics
1628 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1630 * lyxfind.C (findNextChange): update the bufferview after setting
1633 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1635 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1636 number of InsetOptArgs has already been inserted.
1638 * output_latex.C (latexOptArgInsets): new method. This outputs all
1639 the optarg insets, up to the limit defined in the layout file.
1640 (optArgInset): removed
1641 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1643 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1645 * paragraph.C (isLetter): remove special spellchecker-related
1646 code; return true also for digits
1647 (isWord, isKomma): remove
1649 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1650 * lyxfind.C (MatchString()): use isLetter instead of isWord
1652 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1654 * pariterator.h (operatir=): comment out un-implemented member
1657 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1660 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1662 * lyxfont.h: include LColor.h to satisfy concept checks.
1664 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1666 * pariterator.h: add typdefs for value_type, difference_type,
1667 pointer and reference to satisfy concept checks. Also add default
1668 constructor for same reason.
1670 * pariterator.C (operator++): add post-increment operator to
1671 satisfy concept checks.
1673 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1676 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1678 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1679 checks. Also rename base_type to BaseType to follow naming
1682 * FloatList.h: include Floating.h to satisfy concept checks.
1684 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1686 * lyxfunc.C (getStatus): when the origin of the request is menu or
1687 toolbar, and the LyXView does not have focus, do as if there was
1688 no buffer (bug 1720)
1690 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1691 FuncRequest to individual entries of LFUN_SEQUENCE
1693 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1695 * output_latex.C (TeXOnePar): override runparams.moving_arg
1696 according to the needprotect value of the current paragraph (bug
1699 * paragraph.C (simpleTeXOnePar): no need to override
1700 runparams.moving_args here
1702 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1704 * vspace.C: fix off-by-one-error, related to fix #1682
1706 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1708 * lengthcommon.C: a more general fix for bug 1682
1710 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1712 * text.C (backspace): fix crash
1714 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1716 * format.[Ch] (getFormatFromFile): new method
1717 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1719 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1721 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1723 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1725 * lyxfunc.C (dispatch): remove the verbose argument
1726 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1729 * kbmap.C (defkey): set the origin of func to KEYBOARD
1731 * MenuBackend.C (MenuItem):
1732 * ToolbarBackend.C (add): set the origin of func to UI
1734 * funcrequest.[Ch]: add origin member, which indicates which part
1735 of LyX requests an action
1737 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1739 * converter.C (move): don't lie in the error message
1740 * converter.h (isReachable, move): document
1742 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1744 * buffer.C: remove unused using lyx::support::atoi
1745 * paragraph_funcs.C: ditto
1747 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1749 * bufferlist.C (exists): use bind and equal_to instead of
1752 * lyxtextclasslist.C (NumberOfClass): ditto
1754 * cursor.C (insert): use for_each instead of explicit for loop
1756 * bufferlist.C (getFileNames): use std::transform and
1757 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1759 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1762 * buffer.C (changeLanguage): use for_each instead of explicit for
1764 (hasParWithID): implement using getParFromID
1766 * LaTeXFeatures.C: ws change only
1768 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1771 * BufferView_pimpl.C (trackChanges): use for_each instead of
1774 2004-11-04 André Pönitz <poenitz@gmx.net>
1777 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1779 * dociterator.C (asDocIterator): use hard assert again.
1781 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1783 * lyxlength.C (asLatexString): rewrite so that it does not use
1786 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1788 * text3.C (specialChar, dispatch): make sure cursor moves to the
1789 right after inserting an inset
1791 2004-11-02 José Matos <jamatos@lyx.org>
1793 * output_docbook.C (docbook):
1794 * paragraph.C (getID):
1795 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1796 garantee that the output is always legal.
1798 * tabular.C (docbook):
1799 * outputprams.[Ch]: remove mixed contents.
1801 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1803 * text2.C (setCounter): prevent endless loop
1805 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1807 * exporter.C (copyFile): use the mover instead of support::copy()
1808 * exporter.C (Export): pass format and latex name to copyFile()
1809 * exporter.h (addExternalFile): document
1810 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1812 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1814 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1816 2004-10-30 José Matos <jamatos@lyx.org>
1818 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1819 text and no inset or font change. This allows to use CDATA
1820 sections just for the whole paragraph.
1822 2004-10-30 José Matos <jamatos@lyx.org>
1824 * paragraph.C (getFirstWord): remove unused variable.
1826 2004-10-30 José Matos <jamatos@lyx.org>
1828 * paragraph.C (getFirstWord): the content should always be escaped
1830 (simpleDocBookOnePar):
1831 * output_docbook.C (makeEnvironment): replace reference to CDATA
1834 2004-10-30 José Matos <jamatos@lyx.org>
1836 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1838 2004-10-30 José Matos <jamatos@lyx.org>
1840 * output_docbook.C (makeParagraphs):
1841 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1842 standard paragraph has only a given type of content drop the wrapper.
1844 2004-10-29 José Matos <jamatos@lyx.org>
1846 * output_docbook.C (makeEnvironment):
1848 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1850 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1852 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1853 (cleanID): sanitize any id.
1855 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1857 * buffer.C, lyxlex_pimpl.C:
1858 * lyxlex_pimpl.C (setFile):
1859 s/getExtFromContents/getFormatFromContents/
1861 2004-10-28 José Matos <jamatos@lyx.org>
1863 * output_docbook.C (makeEnvironment): move id to broadest possible
1866 * sgml.C (openTag): apply substitution of <> for all attributes.
1868 2004-10-28 José Matos <jamatos@lyx.org>
1870 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1871 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1872 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1874 * sgml.[Ch]: new version for open and closeTag for paragraph and
1875 for strings. Now they handle the ids of paragraphs.
1877 2004-10-26 Angus Leeming <leeming@lyx.org>
1879 * Makefile.am: add mover.[Ch].
1881 * converter.C (convert, move): use the new Movers to move external
1882 files to the temp directory.
1884 * lyx_main.C (init): ensure that the global system_movers data
1887 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1890 * mover.[Ch]: new files, defining a Mover as a utility to move an
1891 external file between directories and, if necessary, manipulate this
1892 file using a helper script.
1894 2004-10-25 José Matos <jamatos@lyx.org>
1896 * output_docbook.C (makeCommand): merge two if's that tested the
1899 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1901 * sgml.C (escapeString): fix warning in a better way
1903 2004-10-25 José Matos <jamatos@lyx.org>
1905 * sgml.C (escapeString): import the require boosts header file for
1906 tie, and avoid a signed unsigned comparison.
1908 2004-10-25 José Matos <jamatos@lyx.org>
1910 * sgml.h: add #include <string>
1912 2004-10-25 José Matos <jamatos@lyx.org>
1914 * sgml.[Ch] (escapeString): new function to escape all the string.
1916 2004-10-24 José Matos <jamatos@lyx.org>
1918 * paragraph.[Ch] (getFirstWord): new function to get the first
1919 word. Useful for description.
1920 (simpleDocBookOnePar): remove depth argument, add another that
1921 says where to start the paragraph.
1923 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1924 use the new functions to fix cleanly the support for descriptions.
1926 2004-10-24 José Matos <jamatos@lyx.org>
1928 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1929 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1930 * output_linuxdoc.C (linuxdocParagraphs):
1931 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1932 add buffer as argument.
1934 2004-10-24 José Matos <jamatos@lyx.org>
1936 * output_docbook.C (makeEnvironment, searchEnvironment): place
1937 CDATA inside paragraphs and fix scope for listitems.
1939 2004-10-24 José Matos <jamatos@lyx.org>
1941 * output_docbook.C: remove using statement for stack.
1943 2004-10-23 José Matos <jamatos@lyx.org>
1945 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1946 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1947 docbook. The new scheme is recursive and makes use of iterators, the
1948 same as latex export works.
1949 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1950 directly with the paragraph contents. This code was moved up to
1951 output_docbook.C (docbookParagraphs).
1952 * sgml.C (openTag, closeTag): removed unneeded newlines.
1953 (closeEnvTags) removed.
1955 2004-10-23 André Pönitz <poenitz@gmx.net>
1957 * undo.C (textUndoOrRedo):
1958 * dociterator.C (asDocIterator): work around crash
1960 * cursor.C (getStatus): replace ASSERT by more verbose error message
1961 and manual correction of the problem. Should increase stability
1962 while providing more sensible information.
1964 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1966 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1968 * bufferlist.C (previous, next): new methods
1971 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1973 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1975 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1976 entities to preamble.
1978 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1980 * messages.C (Pimpl): strip off translation context information
1982 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1984 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1985 the cursor is correct (bug 1694)
1987 2004-10-13 José Matos <jamatos@lyx.org>
1989 * output_docbook.C (docbookParagraphs): fix closing tags in the
1990 end of the document.
1992 2004-10-09 José Matos <jamatos@lyx.org>
1994 * buffer.C: format up to 237.
1995 * bufferparams.C (write): use tostr to convert booleans to strings.
1997 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1999 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2001 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2003 * LaTeX.C: implement use of babel language in xindy.
2005 2004-10-05 José Matos <jamatos@lyx.org>
2007 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2008 Add new translators to help reading and writing the lyx file.
2010 2004-10-05 José Matos <jamatos@lyx.org>
2012 * ParagraphParameters.C (read):
2013 * text.C (readParToken): replace nexToken by more appropriate lex
2016 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2018 * LaTeX.C (runMakeIndex):
2019 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2020 (usually 'makeindex') configurable.
2022 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2023 with a variable rather than with a number.
2025 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2027 * output_latex.C (TeXOnePar): make sure font setting is the first
2028 thing that gets output (and the last at the end). Should fix bug
2031 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2033 * pch.h: use proper signal include
2035 * LaTeX.h: Use preferred calling of Boost.Signal
2038 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2040 * pch.h: dont include <boost/function/function0.hpp>
2042 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2044 * paragraph_pimpl.h: remove usage of ShareContainer
2046 * paragraph_pimpl.C: remove initialization of ShareContainer.
2048 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2052 * BufferView.C (putSelectionAt): change the semantics when
2053 backwards == true: now, this just swaps cursor and anchor wrt the
2056 * BufferView.h (putSelectionAt): add some documentation
2058 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2059 make sure backwardChar is done at least once (to avoid getting
2061 (findNextChange): use putSelectionAt in the forward direction
2062 (operator()): use Paragraph::isWord
2064 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2066 * Spacing.C (set): c_str fix
2068 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2070 * lyx_cb.C (Reconfigure): quote the name of configure script in
2071 case it contains spaces
2073 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2077 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2078 (BOOST_LIBS): use top_buildir when looking for the file
2080 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2082 * pch.h: do not use include boost/format.hpp, multiple symbols
2083 will result (gcc bug)
2086 2004-08-23 José Matos <jamatos@lyx.org>
2088 * bufferparams.C (readToken): fix reading of the author field.
2090 2004-08-20 José Matos <jamatos@lyx.org>
2092 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2094 2004-08-20 José Matos <jamatos@lyx.org>
2096 * lyxlex.[Ch] (findToken): remove function.
2098 * ParagraphParameters.C (findToken):
2099 * bufferparams.C (findToken): replace call for previous function
2100 with local copy. This local function has one more argument, the
2101 read string argument.
2103 2004-08-16 José Matos <jamatos@lyx.org>
2105 * ParagraphParameters.C (write):
2106 * Spacing.C (writeFile):
2107 * bufferparams.C (writeLaTeX):
2108 * lyx_cb.C (Reconfigure):
2109 * paragraph.C (write):
2110 * tabular.C (write): remove unnecessary space at end of line.
2113 2004-08-16 José Matos <jamatos@lyx.org>
2115 * text.C (readParagraph): remove debug message.
2117 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2119 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2122 * output_plaintext.C (asciiParagraph): set depth correctly
2124 * outputparams.h: add member depth
2126 * paragraph_funcs.C (ownerPar): remove.
2128 * text2.C (setCounter): remove first_pit; comment out some
2129 non-working code that uses ownerPar
2131 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2134 2004-08-16 José Matos <jamatos@lyx.org>
2136 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2137 For the same level of importance use the same chanel to report problems.
2138 (read): add code to deal with \begin_body and \end_body.
2141 2004-08-15 José Matos <jamatos@lyx.org>
2143 * lyxlex.C (getString): fix comment, buffer::readBody is now
2144 buffer:readDocument.
2146 * tex-strings.C (string_papersize): Default -> default,
2147 Custom -> custom, for consistency with other options.
2149 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2153 * Makefile.am: support pch
2155 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2157 * text.C (readParToken): remove the static LyXFont variable and
2158 pass it as a parameter instead. This fixes a nasty bug where an
2159 inset will be inserted with a bad font in some situations
2160 (readParagraph): adapt
2162 * text2.C (setCounter): reduce number of calls to pars_[pit]
2164 * text.C (singleWidth): add an assert, fix a test
2166 * rowpainter.C (paintText): reduce number of calls to singleWidth
2168 * paragraph.C (isHfill):
2169 (isNewline): ws only
2171 2004-08-14 André Pönitz <poenitz@gmx.net>
2176 * lyxtext.h (several functions): use a Paragraph & argument
2179 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2181 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2183 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2185 * text.C (singleWidth): remove useless test
2187 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2189 * tabular.h: remove bogus comments
2191 * tabular.C (getDescentOfRow):
2192 (isPartOfMultiColumn): add assertions
2194 * lyxlength.C (inPixels): remove #warning
2196 2004-08-14 André Pönitz <poenitz@gmx.net>
2198 * paragraph.h: inline getChar()
2200 * BufferView.h: remove unused declarations
2202 2004-08-14 José Matos <jamatos@lyx.org>
2204 * Buffer.[Ch] (readDocument): new name for old readBody.
2205 * Buffer.C: new file format, new keywords: \begin_document,
2206 \begin_header, \begin_body, \end_body.
2208 * bufferparams.C (readToken): replace all calls to lex.nextToken
2209 by lex.next(). Do the same to eatLine except where really needed.
2211 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2212 line when writing to the lyx file.
2214 * output_plaintext.C (asciiParagraph): fix Bibliography style
2217 * text.C (read): fix end of file handling.
2219 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2221 * MenuBackend.C (Menu::operator[]): new method to access
2222 individual menu items
2223 (Menu::hasFunc): new method. search for an item that corresponds
2225 (MenuBackend::specialMenu): new method
2226 (MenuBackend::expand): if a special menu has been set, skip
2227 entries whose func() appears in this menu
2229 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2231 * text3.C: use Debug::DEBUG a bit more
2233 * text.C (leftMargin): try to simplify a tiny bit change var x to
2234 l_margin. Dont output the wide margins always.
2235 (rightMargin): no margin in inner texts
2237 * rowpainter.h (nestMargin): new func
2238 (changebarMargin): new func
2239 (rightMargin): new func
2241 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2245 * factory.C (createInset): modify setDrawFrame
2247 * cursor.C: use Debug::DEBUG a bit more
2249 2004-08-14 André Pönitz <poenitz@gmx.net>
2252 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2253 cache for all insets in (at least partially) visible (top-level)
2256 * BufferView_pimpl.C: reset external coord cache before every update.
2257 This means the coord cache only contains valid entries.
2259 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2262 * BufferView_pimpl.C (getInsetByCode): move function out of class
2263 and change in to a template in anon namespace. Also fix to do what
2266 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2269 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2271 (breakParagraph): rename par to par_offset and use a local
2272 reference. Add code to keep the language over a rebreak.
2273 (breakParagraphConservative): rename par to par_offset, use a
2275 (mergeParagraph): ditto
2277 (isFirstInSequence): ditto
2278 (outerFont): rename pit to par_offset
2280 * paragraph.C: ws change
2281 * paragraph.h: ditto
2285 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2287 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2290 * paragraph.C (simpleTeXOnePar): when we have a \item with
2291 optional argument, enclose the argument with curly brackets (in
2292 case it contains a closing square bracket)
2296 * text3.C (checkInsetHit): constify
2298 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2300 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2301 documents (bug 1629)
2303 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2305 Fix toggling of collapsable insets with the mouse (bug 1558)
2307 * lyxfunc.C (dispatch): adapt to LCursor changes
2309 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2310 make sure that dispatch is not invoked twice
2312 * cursor.C (needsUpdate): new method
2313 (dispatch): return void
2314 (result): new method, to access the DispatchResult of the cursor.
2316 2004-08-13 José Matos <jamatos@lyx.org>
2318 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2320 2004-08-13 André Pönitz <poenitz@gmx.net>
2322 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2324 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2327 2004-08-12 André Pönitz <poenitz@gmx.net>
2329 * text3.C: take out the 'cursor right' form insertInset and only
2330 do it in those places when it is really needed. Fixes crash on
2333 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2335 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2337 * BufferView_pimpl.C (setBuffer): initialize the current font of
2338 the underlying LyXText
2340 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2342 * kbsequence.C (print): use UI native formatting for menu
2345 * text.C (insertChar): call Paragraph::insertChar with a font
2348 * paragraph.C (insertInset, insertChar): the version that takes a
2349 LyXFont argument is now a wrapper around the other one (the
2350 opposite used to be true).
2352 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2353 argument. Font setting is done in Paragraph now.
2355 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2357 * outputparams.h: add new members intitle and lang.
2359 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2360 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2362 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2364 * text3.C (dispatch): remove special handling of button 4 and 5,
2365 it is now taken care of in the frontend code.
2367 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2369 * Spacing.h: add <string> (STLPort compile fix)
2371 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2373 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2375 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2377 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2380 * converter.C (showMessage): inherit from unary_function, make
2383 * buffer.C (writeFile): initialize retval
2385 * InsetList.h: rename private variable list to list_
2386 * InsetList.[Ch]: adjust accordingly.
2388 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2390 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2391 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2392 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2393 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2394 * ParagraphParameters.C, LaTeXFeatures.C: replace
2395 "support/std_sstream.h" with <sstream>
2397 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2399 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2400 * lyxsocket.C (LyXServerSocket): ditto
2401 (serverCallback): ditto
2403 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2405 * LaTeXFeatures.C: check release date when loading jurabib.
2407 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2409 * lyxserver.C (startPipe): call register_socket_callback
2410 (endPipe): call unregister_socket_callback
2412 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2414 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2415 (LyXServerSocket): register the callback
2416 (LyXServerSocket): unregister the callback
2417 (fd): delete function
2418 (serverCallback): improve error checking and setup the callbacks.
2419 (dataCallback): change arg to fd.
2420 (writeln): new func (copied fro the client socket) used for server
2422 (LyXDataSocket): simplify
2423 (~LyXDataSocket): close ann unregiser callback
2424 (server): delete function
2425 (fd): delete function
2426 (readln): small changes, improve some std::string usage
2427 (writeln): constify a bit
2429 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2431 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2434 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2436 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2437 after it has been populated
2439 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2441 * text2.C (insertInset): move cursor when inserting inset.
2443 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2445 * kbmap.C (findbindings): a couple of new methods. returns a
2446 container of kb_sequence objects. The real work is done by the
2447 private recursive version
2448 (printbindings): uses findbindings to print out a bracketed list
2449 of bindings (renamed from findbinding).
2451 * MenuBackend.C (binding): use kb_keymap::findbindings
2453 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2455 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2457 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2459 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2461 * paragraph.C (isWord): return true on insets that report
2464 * text.C (getWord): use Paragraph::isWord to decide what is in a
2465 word and what is not; fix bug 1609.
2467 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2469 * tex-strings.C: add "none" to string_paperpackages[], fixes
2470 off-by-one-error in the paperpackage selection.
2473 * tex-strings.[Ch]: char const * string[n]
2474 -> char const * const string[]
2476 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2478 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2479 command, return early.
2481 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2483 * debug.h: add DEBUG to enum and fix size of ANY.
2485 * debug.C: add support for Debug::DEBUG
2486 (showTags): cast errorTags.level to unsigned int
2488 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2489 (redoCurrentBuffer): ditto
2490 (updateScrollbar): ditto
2491 * cursor.C (dispatch): ditto
2492 * text2.C (setLayout): ditto
2494 (updateCounters): ditto
2496 (deleteEmptyParagraphMechanism): ditto
2498 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2500 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2501 annotations to cleanup the Makefile slightly.
2503 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2505 * lyxrc.C: do not set user_email to a default value but use empty
2506 instead. The entry used to be translated, which does not work
2507 since at the point where lyxrc is constructed there is no
2508 translation service available
2510 * messages.C (getLocaleDir): remove and use directly
2511 lyx_localedir() instead
2513 2004-06-02 Angus Leeming <leeming@lyx.org>
2515 Fix crash caused by dereferencing null pointer 'exportdata' in
2516 OutputParams by creating a new ExportData variable on the heap,
2517 storing it in a boost::shared_ptr.
2518 The crash was triggered when generating an Instant Preview
2519 of an external inset.
2521 * Makefile.am: add outputparams.C
2523 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2524 (c-tor): allocate memory to it.
2526 * exporter.C (c-tor): associated changes.
2528 2004-06-01 Angus Leeming <leeming@lyx.org>
2530 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2531 contains data before calling isInset(0). (Bug 1513.)
2533 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2535 * exporter.C (checkOverwrite): new method
2536 * exporter.C (copyFile): new method
2537 * exporter.C (Export): copy referenced files to the document dir
2538 * exporter.[Ch]: new class ExportedFile
2539 * exporter.[Ch]: new class ExportData. Contains currently the
2540 names of referenced external files
2541 * outputparams.h: add exportdata member.
2543 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2545 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2548 2004-05-19 Angus Leeming <leeming@lyx.org>
2553 * lyxfunc.C: small changes due to the introduction of namespace
2554 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2556 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2558 * text3.C (dispatch): supress update when only moving the cursor
2559 * cursor.C (selHandle): remove commented code
2561 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2563 * paragraph.C (startTeXParParams): correct column count
2564 * CutAndPaste.C (pasteSelection): remove const_cast
2565 * output_docbook.C (docbookParagraphs): remove const_cast
2566 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2567 const_cast and return ParagraphList::const_iterator
2568 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2569 * output_plaintext.C (writeFileAscii): remove const_cast
2570 * paragraph.[Ch] (simpleTeXOnePar): make const
2571 * paragraph_funcs.C (outerPar): use const iterators
2572 * paragraph_pimpl.C (validate): use const iterators
2573 * text.C (setHeightOfRow): use const iterators
2575 2004-05-17 Angus Leeming <leeming@lyx.org>
2578 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2580 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2581 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2582 if the citation engine has changed.
2584 2004-05-14 José Matos <jamatos@lyx.org>
2586 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2587 if the textclass does not provide it. Have it different for sgml and
2589 support the language of document.
2590 * output_docbook.C (docbookParagraphs):
2591 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2592 first anchor as the id of the paragraph, remove special case code.
2593 * sgml.C (escapeChar): escape only < & >.
2595 2004-05-14 Angus Leeming <leeming@lyx.org>
2597 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2598 dependencies on src/frontends/controllers/biblio.h. Define a
2599 CiteEngine_enum wrapper class to enable the enum to be forward
2602 2004-05-12 Angus Leeming <leeming@lyx.org>
2604 * buffer.C: up LYX_FORMAT to 234.
2605 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2606 use_numerical_citations with a single biblio::CiteEngine cite_engine
2608 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2610 2004-05-13 José Matos <jamatos@lyx.org>
2613 * converter.C (Converter, readFlags): add xml member.
2614 * outputparams.h: add XML flavor.
2615 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2617 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2619 * lyxfunc.C (dispatch):
2620 (getStatus): fix handling of LFUN_SEQUENCE
2622 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2624 * debug.C (showLevel): do not forget the end-of-line marker
2626 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2628 * kbmap.C (read): do not stop parsing a bind file when an error
2631 2004-04-29 Angus Leeming <leeming@lyx.org>
2636 * text2.C: wrap a bunch of #warning statements
2637 inside #ifdef WITH_WARNINGS blocks.
2639 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2641 * buffer.C: increment format to 233.
2643 2004-04-28 Angus Leeming <leeming@lyx.org>
2645 * BufferView_pimpl.C:
2648 s/updateToolbar()/updateToolbars()/
2649 s/Toolbar.h/Toolbars.h/
2651 2004-04-28 Angus Leeming <leeming@lyx.org>
2653 * BufferView.[Ch] (c-tor):
2654 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2655 No longer passes these data to the WorkArea generator.
2657 2004-04-28 Angus Leeming <leeming@lyx.org>
2659 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2661 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2663 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2665 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2667 * output_latex.C (TeXEnvironment): make sure that there is a line
2668 break before \end{foo} for the last paragraph of a document
2669 (TeXOnePar): if the paragraph is at the end of the document (or
2670 inset) and the language has to be reset, then make sure that the
2671 line break is _before_ the language command, not after (fixes bug
2672 1225); also make sure that the language reset command is the first
2673 thing after the paragraph (to ensure proper nesting of
2674 environments and thus fix bug 1404)
2676 2004-04-21 John Levon <levon@movementarian.org>
2679 * ToolbarBackend.C: make "name" be a programmatic name
2680 and a gui_name field.
2682 * lyxfunc.C: display the minibuffer on M-x
2684 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2686 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2689 2004-04-19 Angus Leeming <leeming@lyx.org>
2691 * BufferView_pimpl.C (setBuffer): changed preview interface.
2693 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2696 2004-04-19 John Levon <levon@movementarian.org>
2698 * BufferView_pimpl.C:
2699 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2701 2004-04-05 Angus Leeming <leeming@lyx.org>
2703 * text.C (redoParagraphs): add call to updateCounters(), thereby
2704 fixing the missing "Figure #:" label from the caption of a
2707 2004-04-13 Angus Leeming <leeming@lyx.org>
2709 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2710 cursor is clicked out of an inset.
2712 2004-04-13 Angus Leeming <leeming@lyx.org>
2714 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2715 than an InsetOld one.
2717 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2719 * format.[Ch]: add editor to Format
2720 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2721 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2723 2004-04-08 André Pönitz <poenitz@gmx.net>
2725 * metricsinfo.h: remove PainterInfo::width member
2727 2004-04-08 Angus Leeming <leeming@lyx.org>
2729 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2730 "\providecommand" rather than "\newcommand", thereby preventing
2731 clashes with packages that define "\boldsymbol" themselves.
2734 2004-04-08 Angus Leeming <leeming@lyx.org>
2736 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2737 thereby squashing an unnecessary warning.
2739 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2741 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2744 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2746 * BufferView.C (setCursor): call redoParagraph (some insets could
2748 (putSelectionAt): remove the 'double update' trick
2750 * BufferView_pimpl.C (fitCursor): call refreshPar
2751 (workAreaDispatch): remove an uneeded update call
2752 (dispatch): remove some manual update calls
2754 * cursor.[Ch]: remove cached_y_, updatePos
2755 (selHandle): set noUpdate when appropriate
2757 * lyxfunc.C (dispatch): track if we need an update
2759 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2761 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2762 (paintSelection): cheap optimization, do not call cursorX when not
2764 (paintPars): change signature
2767 (paintTextInset): adjust
2771 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2773 * lengthcommon.C: compilation fix: remove explicit array size from
2774 unit_name[] and friends
2776 2004-04-05 Angus Leeming <leeming@lyx.org>
2778 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2780 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2781 present only for the preferences dialog.
2782 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2784 2004-04-05 Angus Leeming <leeming@lyx.org>
2786 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2787 to enable the frontends to export changes to lyxrc correctly.
2789 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2791 2004-04-07 André Pönitz <poenitz@gmx.net>
2793 * cursor.[Ch] (selClear, adjust): remove math
2795 * cursor_slice.C: more agressive assert
2798 * BufferView_pimpl.C: rework mouse event dispatch
2805 2004-04-05 André Pönitz <poenitz@gmx.net>
2807 * cursor.[Ch] (valign, halign...): remove unneeded functions
2809 2004-04-05 Angus Leeming <leeming@lyx.org>
2811 * lyxlength.[Ch] (unit_name et al.): const-correct.
2813 2004-04-05 Angus Leeming <leeming@lyx.org>
2815 * BufferView_pimpl.C:
2824 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2826 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2828 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2830 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2832 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2833 * BufferView_pimpl.[Ch] (getStatus)
2834 * BufferView.[Ch] (getStatus): add
2835 * lyxfunc.C (getStatus): move lfuns handled in
2836 BufferView::dispatch to te function above
2837 * Cursor.C (setSelection): set selection() = true
2839 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2841 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2843 2004-03-31 Angus Leeming <leeming@lyx.org>
2845 * lyxfunc.C (dispatch): Fall through to the generic
2846 Dialogs::show("preamble").
2848 2004-03-31 Angus Leeming <leeming@lyx.org>
2850 * lyxfunc.C (dispatch): Fall through to the generic
2851 Dialogs::show("spellchecker").
2853 2004-03-31 Angus Leeming <leeming@lyx.org>
2855 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2858 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2863 * insetiterator.[Ch]:
2868 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2870 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2872 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2873 insets where we are putting the cursor.
2875 2004-03-31 Angus Leeming <leeming@lyx.org>
2878 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2880 * lyxrc.[Ch] (read, write): overloaded member functions taking
2881 a std::[io]stream arguments.
2883 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2885 2004-03-31 Angus Leeming <leeming@lyx.org>
2887 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2888 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2890 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2891 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2893 2004-03-31 Angus Leeming <leeming@lyx.org>
2895 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2896 the LFUN_ALL_INSETS_TOGGLE code.
2898 2004-03-30 Angus Leeming <leeming@lyx.org>
2900 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2901 has died. Fall through to the generic Dialogs::show("document").
2903 2004-03-30 Angus Leeming <leeming@lyx.org>
2906 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2907 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2909 * lyxfunc.C (getStatus, dispatch): define the actions for these
2910 lfuns. Little more than a cut and pste job from ControlDocument.C
2912 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2914 2004-03-30 Angus Leeming <leeming@lyx.org>
2917 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2918 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2920 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2921 open/closed state of ollapsable insets. Usage:
2923 all-inset-toggle <state> <name>, where
2924 <state> == "open" || "closed" || "toggle" and
2925 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2927 * lyxtext.h, text2.C (toggleInset): removed.
2929 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2930 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2931 now passes LFUN_INSET_TOGGLE to the found inset.
2933 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2934 is now invoked as "all-insets-toggle toggle branch".
2936 2004-03-30 Angus Leeming <leeming@lyx.org>
2940 * pariterator.[Ch]: added/corrected header blurb.
2942 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2944 * dociterator.[Ch]: add an inset_ member
2945 (backwardPos): implemented
2946 (backwardPos, forwardPos): use inset_ when the stack is empty.
2947 (doc_iterator_begin, doc_iterator_end): implemented
2948 * pariterator.[Ch]: adjust, add begin, end
2949 * insetiterator.[Ch]: adjust, add begin, end
2953 * BufferView_pimpl.C:
2954 * CutAndPaste.C: adjust
2956 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2958 * buffer.C: increment file format to 232.
2959 * LaTeXFeatures.C: add bibtopic package.
2960 * bufferparams.[Ch]: param \use_bibtopic.
2962 * lyxrc.[Ch]: add lyxrc bibtex_command
2963 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2965 * buffer.C: increment file format to 231.
2967 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2969 * dociterator.C: implement forwardPar
2970 * iterators.[Ch]: remove, replaced by
2971 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2973 * BufferView_pimpl.C:
2976 * bufferview_funcs.C:
2982 * Makefile.am: adjust
2984 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2986 * CutAndPaste.C (pasteSelection): fix 2 crashes
2987 (eraseSelection): fix a crash
2988 * paragraph_funcs.C: remove a warning
2990 2004-03-28 Angus Leeming <leeming@lyx.org>
2993 * LyXAction.C (init): new LFUN_PRINT.
2995 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2997 2004-03-27 Angus Leeming <leeming@lyx.org>
3000 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3002 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3004 2004-03-27 Angus Leeming <leeming@lyx.org>
3006 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3007 insetlist always contains non-null pointers to insets.
3009 2004-03-26 Angus Leeming <leeming@lyx.org>
3011 * src/BufferView_pimpl.C:
3012 * src/CutAndPaste.C:
3015 * src/output_plaintext.C:
3016 * src/outputparams.h:
3017 * src/paragraph_funcs.C:
3021 * src/frontends/controllers/ControlErrorList.C:
3022 * src/frontends/gtk/FileDialogPrivate.C:
3023 * src/frontends/gtk/GPainter.C:
3024 * src/frontends/gtk/GToolbar.C:
3025 * src/frontends/qt2/QRef.C:
3026 * src/mathed/math_scriptinset.C: squash compiler warnings.
3028 2004-03-26 Angus Leeming <leeming@lyx.org>
3030 * ispell.C (LaunchIspell::start):
3031 * lyx_cb.C (AutoSaveBuffer::start):
3032 invoke run(DontWait) rather than runNonBlocking().
3034 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3036 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3038 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3040 * kbsequence.C (print): adjust
3042 * kbmap.C (printKeySym): rename and change signature
3043 (printKey): use LyXKeySym::print()
3045 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3047 * undo.C: add using std::advance to compile for stlport
3049 2004-03-24 Angus Leeming <leeming@lyx.org>
3051 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3052 it leads to a crash when no buffer is present.
3054 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3055 Martin Vermeer <martin.vermeer@hut.fi>
3057 * lyxfunc.C (dispatch):
3058 * bufferparams.C (readToken): use the new LColor::setColor
3060 * LColor.[Ch] (setColor): new version that takes two strings as
3061 argument and creates a new color entry if necessary
3063 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3065 * buffer.C (makeLaTeXFile): if the main latex file that is
3066 processed is usually a subdocument of some master, then pretend
3067 for a while that it is actually the master
3069 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3071 * buffer.C (getLabelList):
3072 (getBibkeyList): use getMasterBuffer()
3073 (getMasterBuffer): new method. Returns the main document in the
3074 case where one is using included documents.
3076 2004-03-25 André Pönitz <poenitz@gmx.net>
3080 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3082 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3084 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3085 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3087 * ParameterStruct.h: merge with ParagraphParameters
3089 * lyxtext.h: remove LyXText::parOffset() and getPar()
3091 * text3.C: Remove all 'manual' update calls. We do now one per user
3092 interaction which is completely sufficient.
3096 * BufferView_pimpl.C:
3097 * FontIterator.[Ch]:
3099 * ParagraphParameters.[Ch]:
3104 * cursor_slice.[Ch]:
3111 * output_docbook.[Ch]:
3112 * output_latex.[Ch]:
3113 * output_linuxdoc.[Ch]:
3114 * output_plaintext.[Ch]:
3116 * paragraph_funcs.[Ch]:
3117 * paragraph_pimpl.[Ch]:
3125 * frontends/controllers/ControlDocument.C:
3126 * frontends/controllers/ControlErrorList.C:
3127 * frontends/controllers/ControlSpellchecker.C:
3130 * insets/insetbase.h:
3131 * insets/insetbibitem.C:
3132 * insets/insetbox.C:
3133 * insets/insetbranch.C:
3134 * insets/insetcaption.C:
3135 * insets/insetcharstyle.C:
3136 * insets/insetcharstyle.h:
3137 * insets/insetcollapsable.C:
3138 * insets/insetcollapsable.h:
3139 * insets/insetert.C:
3140 * insets/insetfloat.C:
3141 * insets/insetfoot.C:
3142 * insets/insetmarginal.C:
3143 * insets/insetnote.C:
3144 * insets/insetoptarg.C:
3145 * insets/insettabular.C:
3146 * insets/insettext.C:
3147 * insets/insettext.h:
3148 * insets/insetwrap.C:
3149 * mathed/math_mboxinset.C:
3150 * mathed/math_nestinset.C:
3151 * mathed/math_scriptinset.C:
3152 * mathed/math_scriptinset.h:
3155 2004-03-24 Angus Leeming <leeming@lyx.org>
3157 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3158 deal with any child processes that have finished but are waiting to
3159 communicate this fact to the rest of LyX.
3161 2004-03-24 Angus Leeming <leeming@lyx.org>
3163 64-bit compile fixes.
3165 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3166 (c-tor): pass lyx::pos_types rather than ints.
3168 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3171 * text.C (Delete): compile fix.
3172 (getPar): ensure that function declaration is the same as that in
3175 2004-03-23 Angus Leeming <leeming@lyx.org>
3177 * ispell.C (LaunchIspell):
3178 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3179 a boost::shred_ptr rather than a std::auto_ptr.
3181 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3183 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3184 handle LFUN_FILE_INSERT_*
3186 * lyxrc.C (setDefaults, getDescription, output, read):
3187 * lyxrc.h: remove ps_command
3189 2004-03-22 Angus Leeming <leeming@lyx.org>
3191 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3192 Ensure that error_handler is processed once only and that all data
3193 is saved before attempting to output any warning messages.
3195 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3197 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3199 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3201 2004-03-19 André Pönitz <poenitz@gmx.net>
3203 * cursor.[Ch] (reset): take main text inset as argument
3205 * BufferView: adjust
3206 * BufferView_pimpl.C: adjust
3208 * paragraph.[Ch]: fix completely broken operator=()
3210 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3212 * LColor.C (getFromLyXName): make sure that the color name is used
3215 2004-03-17 Angus Leeming <leeming@lyx.org>
3218 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3220 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3221 dialog and to kill a forked process.
3223 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3225 * text2.C (setCursorFromCoordinates): fix font problem
3227 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3229 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3230 bogus "rebuild cursor" code
3232 2004-03-11 André Pönitz <poenitz@gmx.net>
3234 * buffer.[Ch]: use InsetText instead of LyXText as container for
3237 * dociterator.[Ch]: drop the BufferView * member which is not needed
3238 anymore after the change to buffer.C
3240 * paragraph_funcs.C:
3244 * BufferView_pimpl.[Ch]:
3246 * cursor_slice.[Ch]: adjust
3248 * text3.C: fix bug in mathDispatch
3250 2004-03-08 André Pönitz <poenitz@gmx.net>
3252 * undo.[Ch]: use 'StableDocumentIterator' as base for
3255 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3258 * bufferparams.[Ch]: add jurabib support and param.
3260 * LaTeX.C: add FIXME/comment.
3262 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3264 * buffer.C: increment file format to 230.
3266 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3268 * cursor.C (dispatch): avoid infinite loops
3270 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3272 * rowpainter.C (paintSelection): fix x coordinates
3274 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3276 * text.C (rowBreakPoint): fix breaking before displayed insets
3278 2004-03-01 André Pönitz <poenitz@gmx.net>
3280 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3282 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3286 * BufferView_pimpl.C:
3294 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3300 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3301 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3303 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3305 * Bidi.[Ch] (computeTables): const correctness
3306 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3307 fill_hfill, fill_label_hfill and x from Row
3308 * lyxtext.h: prepareToPrint returns a RowMetrics
3309 * rowPainter.C: adjust
3310 * text.C (prepareToPrint): use width, not textWidth. adjust
3311 (redoParagraphInternal, cursorX): adjust
3312 * text2.C (getColumnNearX): adjust
3313 (init): put a default value to the top LyXText::width
3315 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3317 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3319 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3321 * lyxtext.h: add FontIterator class
3323 * text.C (FontIterator, operator*, operator->, operator++): add
3324 (rowBreakPoint, setRowWidth): adjust (fixing a
3327 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3329 * BufferView_pimpl.C (workAreaDispatch): allow also
3330 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3332 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3334 * text.C (rowBreakPoint): fix a bug showing with very large insets
3336 2004-02-25 André Pönitz <poenitz@gmx.net>
3339 * cursor.[Ch]: move some mathed specific code to mathed
3341 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3343 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3344 use_tempdir in preferences
3345 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3347 * lyx_main.C: ensure that tempdir is valid
3348 * lyxlex.h: correct typo
3349 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3350 * paragraph.[Ch] (isMultiLingual): make const
3351 * cursor.[Ch] (openable): make const
3353 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3355 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3357 2004-02-20 André Pönitz <poenitz@gmx.net>
3359 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3361 * cursor.[Ch]: prepare for localized getStatus()
3367 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3369 2004-02-20 André Pönitz <poenitz@gmx.net>
3371 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3373 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3375 * text2.C (setCursorFromCoordinates): switch to absolute coords
3377 (cursorDown): adjust
3378 * text3.C (dispatch): adjust
3380 2004-02-16 André Pönitz <poenitz@gmx.net>
3382 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3385 * cursor_slice.[Ch]: remove unneeded acessor function
3387 * lyxtext.h: rename rtl() to isRTL()
3395 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3397 * rowpainter.C (paintSelection): coord fix
3399 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3401 * Spacing.C: compile fix
3403 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3405 * cursor.C (dispatch): restore current_ before returning
3407 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3409 * text2.C (cursorUp, cursorDown): fix coords
3412 2004-02-12 André Pönitz <poenitz@gmx.net>
3417 * text3.C: add LCursor & parameter to most cursor movement functions
3418 remove usage of LyXText::cursorRow() and cursorPar()
3420 * cursor.[Ch]: add textRow() needed members
3423 * BufferView_pimpl.C:
3426 * BufferView_pimpl.C: adjust
3428 2004-02-11 André Pönitz <poenitz@gmx.net>
3432 * BufferView_pimpl.C: shift undo/redo handling
3434 * cursor.[Ch]: fix mathed crash
3437 * lyxtext.h: move selectionAsText to LCursor
3445 * rowpainter.C: fix excessive drawing
3447 2004-02-06 André Pönitz <poenitz@gmx.net>
3450 * BufferView_pimpl.[Ch]:
3451 * text3.C: move some text specific LFUN handling
3453 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3455 * text3.C (checkInsetHit): adjust coords
3456 * text2.C (getColumnNearX): adjust coords
3457 (edit): adjust coords
3458 * text.C (getRowNearY): add two asserts
3460 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3463 * format.C: add using std::distance to compile on gcc 2.95/stlport
3465 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3467 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3469 2004-02-04 André Pönitz <poenitz@gmx.net>
3471 * BufferView.[Ch] (insertInset):
3472 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3477 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3479 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3480 on the default clause of the switch
3481 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3482 wasn't catched by LCursor::dispatch
3484 2004-02-03 André Pönitz <poenitz@gmx.net>
3487 * cursor.[Ch]: some additional asserts
3489 * undo.[Ch]: remove LyXText dependency in interface
3493 * lyxtext.h (firstPar, lastPar): remove dead functions
3498 * paragraph.[Ch]: adjust
3500 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3502 * lyxfind.C (find): fix argument order in call to ::find
3504 2004-02-02 André Pönitz <poenitz@gmx.net>
3506 * cursor.[Ch]: remove direct access to anchor
3508 * text.C: remove findText() hack
3510 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3512 * iterators.[Ch] (lockPath): remove in favour of...
3513 * BufferView.[Ch] (setCursor): this addition
3514 * BufferView.C (putSelectionAt): adjust
3515 * undo.C (performUndoOrRedo): adjust
3516 * lyxfunc.C (dispatch): adjust
3518 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3520 * iterators.C (lockPath): add a missing slice
3521 * undo.C (performUndoOrRedo): remove redundant positioning code
3523 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3525 * vc-backend.C (scanMaster): ";" -> ';'
3527 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3529 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3530 std::binary_function
3532 * lyxtextclass.C (compare_name): rename to...
3533 (LayoutNamesEqual): ...this
3535 * lyxlex_pimpl.C (compare_tags): inherit from
3536 std::binary_function, put back into anon namespace
3538 * lyxfind.C (MatchString): inherig from std::binary_function
3539 (findChange): use empty() istead of !size()
3541 * format.C (FormatNamesEqual): new functor
3548 * converter.C (compare_Converter): rename to...
3549 (ConverterEqual): ...this, and fixup a bit.
3550 (getConverter): use it, and make function const
3551 (getNumber): use it, and make function const
3555 * bufferlist.C: add using boost::bind
3557 * MenuBackend.C (MenuNamesEqual): new functor
3558 (hasMenu): use it, and make function const
3559 (hasSubmenu): use nested bind to get rid of compare_memfun.
3561 2004-01-30 André Pönitz <poenitz@gmx.net>
3563 * BufferView_pimpl.C:
3566 * cursor_slice.[Ch]:
3569 * paragraph_funcs.C:
3570 * paragraph_funcs.h:
3574 * text3.C: move some of the edit(x,y) handling to the insets
3575 some coordinate changes.
3577 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3579 * text.C: add using statements for std::advance and std::distance
3581 * paragraph.C: add using statement for std::distance
3583 * lyxfind.C: add using statement for std::advance
3585 * cursor.C (region): remove std:: from swap
3586 (openable): use nucleus in stead of operator->
3588 * BufferView.C: add using statements for std::distance and std::swap
3590 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3592 * iterators.C: Remove the pimple, move the needed structures to
3593 the header file. Create accessor for the positions stack.
3594 (asPosIterator): remove function
3596 * PosIterator.C (PosIterator): move constructors to top of file
3597 (PosIterator): reimplement the constructor taking a ParIterator in
3599 (setFrom): new function
3600 (operator!=): inline it
3602 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3604 * lyxfind.C (replaceAll): use std::advance
3606 * iterators.h: inherit from std::iterator.
3608 * PosIterator.C (advance, distance): remove
3609 * PosIterator.h: interit from std::iterator.
3611 2004-01-26 André Pönitz <poenitz@gmx.net>
3614 * BufferView_pimpl.[Ch]:
3618 * bufferview_funcs.C:
3628 * output_linuxdoc.C:
3629 * output_plaintext.C:
3631 * paragraph_funcs.[Ch]:
3632 * paragraph_pimpl.[Ch]:
3638 * text3.C: more IU: dumps most of the rest of the mathcursor
3639 implementation into cursor.[Ch]; "globalize" a bit of it.
3641 2004-01-25 Angus Leeming <leeming@lyx.org>
3643 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3645 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3647 * LaTeXFeatures.h: add nice_ and nice() const
3648 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3650 2004-01-20 André Pönitz <poenitz@gmx.net>
3653 * BufferView_pimpl.C:
3655 * bufferview_funcs.C:
3657 * cursor_slice.[Ch]:
3668 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3669 LCursor and mathcursor parts to LCursor and InsetBase.
3671 2004-01-15 André Pönitz <poenitz@gmx.net>
3673 * cursor_slice.[Ch]: add a few covienience functions
3675 * funcrequest.[Ch]: remove BufferView * member
3677 * BufferView_pimpl.C:
3684 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3686 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3688 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3689 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3691 2004-01-13 André Pönitz <poenitz@gmx.net>
3694 * lyxtext.h: hide cursor and selection anchor behind accessor function
3697 * BufferView_pimpl.[Ch]:
3699 * bufferview_funcs.C:
3709 * cursor_slice.[Ch]: some integer type changes for inset unification
3711 * lyxcursor.[hC]: remove, it's CursorSlice now.
3714 * BufferView_pimpl.[Ch]:
3715 * bufferview_funcs.C:
3721 * textcursor.[Ch]: adjust
3723 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3725 * text2.C (undoSpan): add and use
3726 * text.C (breakParagraph): use undoSpan (fix bug 578)
3729 2004-01-08 Angus Leeming <leeming@lyx.org>
3731 * BufferView_pimpl.C (MenuInsertLyXFile):
3732 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3733 * lyxfunc.C (menuNew, open, doImport):
3734 FileFilterList change to the FileDialog open and save functions.
3736 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3738 * ShareContainer.h: make isEqual and isUnique adaptable
3740 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3742 2004-01-07 Angus Leeming <leeming@lyx.org>
3745 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3747 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3749 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3750 functions replacing find, replace and replaceAll.
3752 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3753 LFUN_WORDFIND(FORWARD|BACKWARD).
3755 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3757 * text.C (breakParagraph): remove an outdated #warning
3759 2004-01-07 André Pönitz <poenitz@gmx.net>
3761 * lyxfind.C: somewhat clearer logic
3763 * text.C: prevent crash in cursorX on unitialized row cache
3765 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3767 * lyxcursor.[Ch] (operator>): add
3768 * textcursor.C (selStart, selEnd): use std::min and std::max
3770 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3772 * Chktex.C: include boost/format.hpp
3774 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3776 * InsetList.C: replace functor MathcIt with adaptable functor
3778 (insetIterator): modify accordingly
3780 * BranchList.h: move the BranchNamesEqual functor here from...
3781 * BranchList.C: ... to here
3783 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3785 (add): replace a finding loop with std::find_if.
3787 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3789 * output_docbook.C: moving LatexParam functionality into
3792 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3794 * buffer.C: increment format to 229.
3796 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3799 * lyx_sty.[Ch]: remove minipageindent_def
3805 * text3.C: remove LFUN_INSET_MINIPAGE
3807 2003-12-28 Angus Leeming <leeming@lyx.org>
3809 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3811 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3813 * text2.C (setParagraph): fix off-by-one crash
3815 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3817 * output_docbook.C: header stuff for AGU
3819 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3821 * text2.C (redoCursor): remove
3824 * BufferView_pimpl.C: remove calls to redoCursor and
3825 setCursor(cursor.par(), cursor.pos()) all around
3827 2003-12-15 Angus Leeming <leeming@lyx.org>
3829 * buffer.C: up the format to 228.
3831 2003-12-15 André Pönitz <poenitz@gmx.net>
3833 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3838 * BufferView_pimpl.C:
3847 2003-12-15 Angus Leeming <leeming@lyx.org>
3849 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3850 than getFromGUIName to manipulate the color.
3852 2003-12-14 Angus Leeming <leeming@lyx.org>
3854 * BranchList.[Ch]: minimize the API.
3855 (Branch::getBranch, getColor): now return a 'const &'.
3856 (Branch::setSelected) now returns a bool set to true if the
3857 selection status changes.
3858 (BranchList::clear, size, getColor, setColor, setSelected,
3859 allBranches, allSelected, separator): removed.
3860 (BranchList::find): new functions, returning the Branch with
3862 (BranchList::add, remove): return a bool indicating that
3863 the operation was successful.
3865 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3866 new InsetBranch::isBranchSlected member function.
3868 * LColor.[Ch]: mimimize the API.
3869 (fill): renamed as addColor and made private.
3870 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3871 versions of these functions taking a string arg have been removed.
3873 * bufferparams.C (readToken):
3874 * lyxfunc.C (dispatch):
3875 * lyxrc.C (read): changes due to the altered BranchList and
3878 * factory.C (createInset, readInset): changes due to altered
3881 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3884 * lyxfunc.C: remove insetminipage. "minipage-insert"
3885 now produces a frameless minipage box inset.
3887 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3889 * textcursor.[Ch] (selStart,selEnd): add new methods
3890 remove selection::start, end, use LyXCursor::operator<
3891 * lyxcursor.[Ch] (operator<): add
3892 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3893 * BufferView.[Ch] (unsetXSel): add
3894 * text2.C (clearSelection): use unsetXSel,adjust
3897 * rowpainter.C: adjust
3898 * bufferview_funcs.C (put_selection_at): adjust
3900 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3902 * BufferView_pimpl.C: small coord. correction
3904 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3906 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3907 dragging over the splash screen.
3909 2003-12-11 Angus Leeming <leeming@lyx.org>
3911 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3912 as it is now handled in LyXText::dispatch.
3914 * text3.C (doInsertInset): remove a level of nesting.
3916 2003-12-11 Angus Leeming <leeming@lyx.org>
3918 * factory.C (createInset): changes due to the changed interface to
3919 InsetCommandMailer::string2params.
3921 2003-12-10 Angus Leeming <leeming@lyx.org>
3923 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3924 'dialog-show-new-inset <inset name>'
3926 2003-12-10 Angus Leeming <leeming@lyx.org>
3928 * buffer.C: up the format to 227.
3930 * factory.C: the box inset is now identified simply by 'Box'.
3932 2003-12-10 Angus Leeming <leeming@lyx.org>
3934 * buffer.C: up the format to 226.
3936 * factory.C: the note inset is now identified simply by 'Note'.
3938 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3940 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3941 when a pit is enough. Standarize a couple of loops.
3943 2003-12-05 Angus Leeming <leeming@lyx.org>
3945 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3946 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3947 data to the re-worked "log" dialog.
3949 2003-12-03 André Pönitz <poenitz@gmx.net>
3955 * paragraph_funcs.C:
3957 * text2.C: use Inset::getText instead of Inset::getParagraph
3959 2003-12-03 André Pönitz <poenitz@gmx.net>
3963 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3964 InsetText::read() as LyXText::read()
3966 2003-12-02 Angus Leeming <leeming@lyx.org>
3968 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3969 type. Add a comment in the implementation that the function uses
3970 the stream's bad() function rather than fail() as the std::streams
3973 2003-12-02 André Pönitz <poenitz@gmx.net>
3975 * lyxlex.[Ch]: make interface more similar to std::stream
3977 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3979 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3981 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3983 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3985 * vspace.[Ch]: remove VSpace::NONE
3987 2003-12-01 André Pönitz <poenitz@gmx.net>
3990 * lyxtext.h: move ParagraphList member to LyXText
3991 rename LyXText::ownerParagraphs to LyXText::paragraph
3994 * bufferview_funcs.C:
4004 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4006 * undo.C: fix cursor positioning
4008 2003-12-01 John Levon <levon@movementarian.org>
4010 * BufferView_pimpl.C: fix a crash on exit with
4013 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4015 * BranchList.C: fix setSelected() method.
4017 2003-11-28 André Pönitz <poenitz@gmx.net>
4019 * ParagraphParameters.[Ch]:
4020 * ParameterStruct.h: remove space above/below from Paragraph to
4023 * BufferView_pimpl.C:
4029 * paragraph_funcs.C:
4035 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4037 * factory.C: Syntax change for CharStyles
4039 2003-11-28 André Pönitz <poenitz@gmx.net>
4044 * buffer.[Ch]: move LyXText member
4046 2003-11-28 André Pönitz <poenitz@gmx.net>
4048 * BufferView.[Ch]: make LyXText * text a private member
4050 * BufferView_pimpl.C:
4061 * output_plaintext.C: cleanup
4063 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4066 * lyxtextclass.[Ch]: parametrize SGML document header
4068 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4071 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4074 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4076 * text2.C (setFont): rework using PosIterator (no more recursive)
4077 (setCharFont): no more needed
4078 (setLayout): no more selection cursors fiddling (done by redoCursor)
4079 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4080 destroy remaining ones)
4082 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4084 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4086 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4089 * text3.C: adjust + re-allow multi par depth changes
4090 * textcursor.C: simplify a bit
4092 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4098 * src/output_docbook.C:
4099 * src/output_latex.C:
4104 * src/text2.C: Introducing a number of tags parametrizing various
4105 XML formats that we may want to support
4107 2003-11-25 André Pönitz <poenitz@gmx.net>
4109 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4111 * lyxtext.h (leftMargin/rightMargin): simplify interface
4118 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4120 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4121 master file to any child files. Fixes bug 546.
4123 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4125 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4127 2003-11-24 André Pönitz <poenitz@gmx.net>
4129 * rowpainter.C: simplification
4131 * text2.C (updateCounters): remove call to redoParagraph on
4132 changed labels as this is far too expensive.
4134 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4136 * converter.C (convert): fix a crash: this function gets
4137 called with buffer == 0 from importer code.
4139 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4141 * text3.C (cursorPrevious): make sure that we do not compare
4142 iterators form different containers.
4145 * rowpainter.C (paintSelection): make sure that we do not compare
4146 iterators from different containers.
4148 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4149 iterators from different ParagraphList containers.
4152 * text2.C (LyXText): change order of initialization slightly
4153 (operator=): new function. copy all variables except cache_par_
4154 (moveUp): make sure that we do not compare iterators from
4155 different ParagraphList constainers.
4158 * text.C (firstPar): new function
4159 (lastPar): new function
4160 (endPar): new function
4162 * lyxtext.h: move things around and group public functions, public
4163 variables, private functions, private variables
4165 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4167 * factory.C: change call to InsetERT constructor to avoid
4168 additional invocation of method status
4169 * text2.C (toggleInset): remove redundant update() call
4170 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4171 instead of a Bufferview pointer
4173 2003-11-21 André Pönitz <poenitz@gmx.net>
4175 * rowpainter.C: simplification
4177 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4179 * text3.C (dispatch): make possible to extend a word/row selection
4182 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4184 * lyxtext.h: x0_,y0_ -> xo_,yo_
4185 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4186 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4187 * rowpainter.C (paintRows): paint full paragraphs
4189 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4191 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4194 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4196 * lyxtext.h: add x0_, y0_
4197 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4198 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4200 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4202 * text2.C (setCursorIntern): move the x_target update here *
4203 * text3.C: change some bv() to true/false in calls to
4204 cursorUp/Down/Right/Left
4205 * cursor.C: use helper function.
4207 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4209 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4210 * paragraph_funcs.[Ch]: correct comment
4211 * rowpainter.C: do not paint selections away from bv->cursor()
4212 Fix a long standing selection painting bug.
4213 * text3.C: generalize mouse-selection code to LyXTexts other that
4215 * textcursor.C: do not use y coords if we can use par offsets
4217 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4219 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4220 cursor position after e.g. inset insert)
4222 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4224 * lyxfind.C (replace): adjust to locking removal + some
4227 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4229 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4232 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4235 * output_docbook.C: XML sanitation: new layout
4236 parameters InnerTag and CommandDepth
4238 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4240 * BufferView_pimpl.C:
4242 * text3.C: Fix the insertion and modification of button-style
4245 2003-11-13 André Pönitz <poenitz@gmx.net>
4247 * InsetList.[Ch]: remove deleteLyXText
4249 * paragraph.[Ch]: cache beginOfBody position
4254 * text3.C: remove superfluous update() calls
4258 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4260 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4261 * BufferView.C (fitLockedInsetCursor): remove
4262 * cursor.[Ch] (getDim): add
4263 * text.C (getRowNearY): add faster version
4264 * text3.C: remove some update calls
4266 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4278 * text3.C: The Character Style /XML short element patch.
4280 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4283 * factory.C: Small step to solving 'unable to insert some insets'
4286 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4288 * cursor.[Ch] (updatePos): new function for updating the y
4289 position of the tip inset
4290 * bufferview_funcs.C (put_selection_at):
4291 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4293 2003-11-11 André Pönitz <poenitz@gmx.net>
4295 * text.C: remove big comment on invalid Paragraph pointers as it is
4298 2003-11-11 André Pönitz <poenitz@gmx.net>
4300 * text_funcs.[Ch]: merge with ...
4308 * Makefile.am: remove text_funcs.[Ch]
4310 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4312 * cursor.C (getPos): return absolute cached y coord
4314 * BufferView_pimpl.C (fitCursor): new simplistic code
4315 (workAreaDispatch): add a fitCursor call
4317 2003-11-10 André Pönitz <poenitz@gmx.net>
4320 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4322 2003-11-10 André Pönitz <poenitz@gmx.net>
4324 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4325 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4326 indicate that the cursor needs to leave an inset
4328 * lyxtext.h: remove inset locking
4330 * cursor.[Ch]: re-implement functionality provided by inset locking
4333 * BufferView_pimpl.[Ch]:
4335 * bufferview_funcs.[Ch]:
4347 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4349 * PosIterator.[Ch]: replace the stack with a vector, add inset
4351 * iterators.[C]: adjust
4353 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4355 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4357 * paragraph_funcs.C (readParToken): put the correct id in the
4358 error item, not the id of the top paragraph
4360 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4362 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4363 * bufferview_funcs.C (put_selection_at): use the above
4365 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4367 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4369 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4371 * output_linuxdoc.h:
4372 * output_plaintext.h:
4374 * output_docbook.h: add #include statements
4376 2003-11-05 José Matos <jamatos@lyx.org>
4378 * output_docbook.[Ch]:
4379 * output_latex.[Ch]:
4380 * output_linuxdoc.[Ch]:
4381 * output_plaintext.[Ch]: New files for output formats.
4382 * output.[Ch]: New file for helper functions.
4385 * paragraph_funcs.[Ch]: output functions moved to new files.
4387 * outputparams.h: rename of latexrunparams.h
4395 * paragraph_funcs.[Ch]:
4396 * paragraph_pimpl.[Ch]:
4397 * tabular.[Ch]: rename ascii to plaintext
4398 and LatexRunParams to OutputParams.
4400 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4402 * iterators.[Ch] (text): require bv argument
4403 * undo.C (recordUndo):
4404 * lyxfunc.C (dispatch):
4405 * bufferview_funcs.C (put_selection_at): adjust
4407 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4409 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4411 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4413 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4416 2003-11-04 André Pönitz <poenitz@gmx.net>
4418 * cursor.[Ch]: restructure
4421 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4423 * iterators.[Ch] (asCursor): remove
4425 * lfuns.h: remove LFUN_INSET_EDIT
4431 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4433 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4435 * lyxfind.[Ch]: complete overhaul
4436 * BufferView_pimpl.C:
4438 * paragraph.[Ch] (insert): add
4440 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4444 * text.C: remove dead spellcheck code
4446 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4448 * dispatchresult.h: add a val setter
4450 * cursor.C (dispatch): use a tempvar for data_[i]
4452 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4454 * PosIterator.[Ch]: compile fix
4456 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4458 * text.C (cursorPar): deactivate the cursor cache
4460 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4462 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4464 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4466 * text3.C (dispatch): adjust for new DisptchResult semantics.
4468 * lyxfunc.C (dispatch): handle update when return from
4469 Cursor::dispatch, adjust for new DispatchResult semantics.
4471 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4472 DispatchResult(true) mean to not update. Add class functions for
4473 setting dispatched and update, as well as reading.
4475 * cursor.C (dispatch): don't handle update here
4477 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4479 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4480 * trans_mgr.C: adjust
4482 * paragraph_funcs.C (readParToken): exception safety
4484 * lyxvc.h: store the vcs pointer in a scoped_ptr
4487 * lyxsocket.C (serverCallback): exception safety
4489 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4491 * ispell.C (clone): make it return a auto_ptr
4493 * factory.C (createInset): exception safety
4494 (readInset): exception safety
4496 * bufferlist.C (newBuffer): exception safety
4498 * Thesaurus.C (Thesaurus): use initialization for aik_
4500 * MenuBackend.C (expandToc): exception safety.
4502 2003-11-03 André Pönitz <poenitz@gmx.net>
4506 * bufferview_funcs.C: remove getInsetFromId()
4509 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4515 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4517 * PosIterator.C (distance, advance): new
4518 * bufferview_funcs.[Ch] (put_selection_at): new
4519 * iterators.[Ch] (lockPath): new
4521 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4523 * iterators.[Ch] (asPosIterator): added
4524 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4525 * PosIterator.[Ch]: added
4527 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4531 * cursor.C (dispatch):
4532 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4534 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4535 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4536 contructor, add a class function dispatched. Remove operator>=
4538 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4540 * debug.C: only use the default constructor for debugstream
4543 * main.C (main): include debug.h and setup the lyxerr streambuf
4546 2003-10-31 José Matos <jamatos@lyx.org>
4548 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4550 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4551 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4552 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4553 * paragraph_pimpl.C (simpleTeXSpecialC):
4554 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4555 add LatexRunParams argument.
4557 * exporter.C (Export): change call accordingly.
4559 * latexrunparams.h: add new member to take care of the other backends.
4560 2003-10-30 José Matos <jamatos@lyx.org>
4562 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4563 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4564 factorise code for paragraph output.
4566 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4569 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4571 * text3.C (dispatch):
4572 * lyxfunc.C (dispatch):
4573 * cursor.C (dispatch):
4574 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4576 * dispatchresult.h: make the dispatch_result_t ctor explicit
4578 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4581 * buffer.C: small refactoring of docbook stuff
4583 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4585 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4588 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4590 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4591 operator dispatch_result_t, and operators for == != and >=
4593 * cursor.C (dispatch): adjust for operator dispatch_result_t
4594 removal. comment out call to update
4596 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4598 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4606 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4609 * dispatchresult.h: new file, DispatchResult broken out of
4612 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4614 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4616 * text.C (rowBreakPoint): put a hack inside #if 0
4618 2003-10-28 André Pönitz <poenitz@gmx.net>
4622 * paragraph_funcs.C:
4625 * text2.C: general cleanup (lots of small stuff)
4627 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4629 * text2.C (cursorEnd): simple fix to the "end key goes to one
4630 before the end on last row" bug
4632 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4634 * text.C (backspace): fix the "zombie characters"
4636 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4638 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4640 2003-10-27 André Pönitz <poenitz@gmx.net>
4642 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4644 * factory.C: handle new InsetPagebreak, InsetLine
4646 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4647 and move handling into new InsetPagebreak, InsetLine
4649 * BufferView_pimpl.C:
4651 * ParagraphParameters.C:
4652 * ParameterStruct.h:
4657 * paragraph_funcs.C:
4658 * paragraph_pimpl.C:
4664 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4667 * lyxrow_funcs.[Ch]:
4673 * text3.C: remove lastPos uses in favour of Row::endpos
4675 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4677 * undo.C (performUndoOrRedo): fix two crashes by setting a
4678 cursor by hand and reordering some calls. Use bv->lockInset instead
4679 of inset->edit because the latter loses cursor information
4681 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4683 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4685 (rowBreakPoint): fix width. change point to point + 1.
4686 Add a missing check.
4688 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4691 * lyxfunc.C: fix (at least partly) the problems
4692 with the Nav menu and headers inside branch insets
4695 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4697 * paragraph.C (getChar): add strong asserts
4699 * lyxrow_funcs.C (lastPos): remove hideous hack
4701 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4702 (fill): adjust to that (avoid an infinite loop)
4704 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4706 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4708 2003-10-23 André Pönitz <poenitz@gmx.net>
4710 * RowList_fwd.h: change list<> to vector<> to gain speed
4711 after suggestion from Alfredo
4713 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4715 * lyxtext.h: move the bidi stuff from here...
4718 * Bidi.[Ch]: ... to here
4720 2003-10-23 André Pönitz <poenitz@gmx.net>
4723 * text.C (isLastRow, isFirstRow): new functions
4725 * paragraph.h: new width cache member
4727 * rowpainter.C: replace RowList::iterator with Row & where possible
4729 * lyxfunc.C: replace several view()->text with a single call
4731 * toc.C: fix 'unused' warning
4733 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4735 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4736 when woring with stream::pos_type
4737 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4739 2003-10-22 André Pönitz <poenitz@gmx.net>
4742 * text.C: use Row & instead of RowList::iterator
4744 * lyxrow.h: rename end() to endpos()
4750 2003-10-22 Angus Leeming <leeming@lyx.org>
4752 * buffer.[Ch] (fully_loaded): new member function, returning true
4753 only when the file has been loaded fully.
4754 Used to prevent the premature generation of previews and by the
4755 citation inset to prevent computation of the natbib-style label.
4757 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4758 templates are all set up.
4760 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4762 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4764 * text.C: fixed an "oops" in the "is a bit silly"
4767 2003-10-21 André Pönitz <poenitz@gmx.net>
4769 * FuncStatus.[Ch]: small stuff, whitespace
4771 * lyxfont.[Ch]: operator<<() for debug reasons
4775 * lyxtext.h: whitespace, spelling
4777 * paragraph.C: naming of variables
4780 * text2.C: small stuff
4783 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4785 * text.C: (1) finish off the inset display() work;
4786 (2) fix the "is a bit silly" bug (accessing char
4789 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4791 * text.C: re-introduce display() for insets, fixing the
4792 various bugs (stretch of line above, math inset
4795 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4797 * text.C (rightMargin): remove spurious semicolon
4799 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4802 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4804 * text3.C: fix one crash due to wrong cursor def
4806 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4808 * vc-backend.C (scanMaster): make the regex static
4810 * LaTeX.C (scanAuxFile): make the regexs static
4812 * text3.C (doInsertInset, dispatch, dispatch):
4813 * text2.C (cursorUp, cursorDown):
4814 * text.C (selectNextWordToSpellcheck):
4815 * BufferView_pimpl.C (dispatch):
4816 * lyxfunc.C (dispatch): localDispatch -> dispatch
4818 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4820 * lyxsocket.C: include <cerrno>
4822 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4824 * lyxfunc.C (dispatch): remove textcache stuff
4826 * bufferlist.C (release): remove textcache stuff
4829 * TextCache.C: delete file
4830 * TextCache.h: delete file
4832 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4834 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4835 delete of the bv_->text.
4836 (resizeCurrentBuffer): remove texcache stuff
4837 (workAreaResize): ditto
4839 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4841 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4844 2003-10-16 André Pönitz <poenitz@gmx.net>
4851 * text3.C: speed up by storing y positions per paragraph plus per-row
4852 offset instead of having a 'full' y position in the row.
4854 2003-10-15 André Pönitz <poenitz@gmx.net>
4858 * undo.[Ch]: make undo aware of inner insets
4860 2003-10-14 Angus Leeming <leeming@lyx.org>
4862 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4863 static member functions LyX::ref() and LyX::cref.
4864 (lastfiles): new accessor functions for the new lastfiles_ member var.
4865 (addLyXView, views_): add a new LyXView to the list of views_.
4866 (updateInset): loop over all LyXViews to call their own updateInset
4867 member function, returning a pointer to the Buffer owning the inset.
4869 * BufferView_pimpl.C (loadLyXFile):
4870 * MenuBackend.C (expandLastfiles):
4871 * bufferlist.C (MenuWrite, QuitLyX):
4872 lastfiles is no longer a global variable.
4873 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4875 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4876 static function. Access through LyX::cref().emergencyCleanup().
4878 2003-10-14 André Pönitz <poenitz@gmx.net>
4880 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4882 * undo.[Ch]: restoring part of 'undo in insets'
4885 * undo_funcs.[Ch]: merge with undo.[Ch]
4887 * tabular.C: small cleansing stuff
4889 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4891 * paragraph_funcs.C (readParToken): report unknown insets as error
4892 boxes. Use the outer paragraph as location (also for unknown
4895 * factory.C (readInset): do not abort on reading an unknown inset.
4896 Eat it and return 0.
4898 2003-10-13 Angus Leeming <leeming@lyx.org>
4900 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4902 * lyxrc.C: displayTranslator is now a function,
4903 declared in GraphicsTypes.h.
4905 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4907 * format.C: new placeholder $$a to pass the socket address.
4909 * bufferlist.[Ch]: new function getBufferFromTmp.
4911 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4912 files in the temporary dir.
4914 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4916 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4918 * Makefile.am: add lyxsocket.[Ch].
4920 * lyx_main.C (error_handler): handle SIGPIPE.
4922 2003-10-13 André Pönitz <poenitz@gmx.net>
4924 * BufferView_pimpl.C:
4929 * undo_funcs.[Ch]: use paroffset_type instead of
4930 ParagraphList::iterators to prevent multiple conversion
4931 (and get a more robust interface)
4933 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4935 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4937 * text3.C (dispatch): ditto
4939 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4941 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4942 move the onlyfile, use onlyfile instead of foundfile in a couple
4945 * DepTable.C (update): flush the error stream a bit more
4947 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4949 * lyxserver.C (callback): adjust
4951 * lyxfunc.C (getStatus): add a missing brace in commented code
4952 (ensureBufferClean): reindent
4953 (dispatch): delete version taking a string
4955 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4957 * LaTeX.C (deplog): move found file handlig from here...
4958 (handleFoundFile): .. to new function here.
4959 (deplog): make sure to discover several files mentioned on the
4962 2003-10-10 André Pönitz <poenitz@gmx.net>
4969 * text3.C: fix some of the tabular crashes
4971 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4973 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4975 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4977 2003-10-09 André Pönitz <poenitz@gmx.net>
4979 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4982 * BufferView_pimpl.C:
4983 * bufferview_funcs.C:
4994 * undo_funcs.C: adjust
4996 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4998 * text2.C (incrementItemDepth): new function, use a backtracking
4999 algorithm to discover the correct item depth.
5000 (resetEnumCounterIfNeeded): new function, use a backtracking
5001 algorithm to discover if counter reset is needed.
5002 (setCounter): use them. Simplify a bit. Add different labels for
5003 different item depths for itemize.
5005 * paragraph.C (Paragraph): remove initialization of enumdepth
5008 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5009 enumerate and itemize. Change the type of itemdepth to signed char.
5011 2003-10-08 André Pönitz <poenitz@gmx.net>
5013 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5018 * tabular.[Ch]: fix crash after 'row-insert'
5020 2003-10-08 Angus Leeming <leeming@lyx.org>
5022 Fix doxygen warnings.
5024 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5025 Remove CutAndPaste:: prefix from header file declaration.
5027 * LColor.h (fill): remove LColor:: prefix from declaration.
5029 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5030 use lyx::depth_type rather than Paragraph::depth_type so that
5031 header file and .C file match.
5033 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5035 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5036 * aspell.C: \file aspell_local.C -> \file aspell.C
5037 * gettext.C: \file gettext.C -> \file src/gettext.C
5038 * gettext.h: \file gettext.h -> \file src/gettext.h
5039 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5040 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5041 * text.C: \file text.C -> \file src/text.C
5043 * toc.C: move comment so that doxygen is not confused.
5045 2003-10-07 Angus Leeming <leeming@lyx.org>
5047 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5049 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5052 * aspell_local.h: add forgotten std::string's.
5054 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5061 * text3.C: The Box patch. Fancybox support, minipage, parbox
5063 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5069 * ParagraphParameters.h:
5079 * lyxtextclasslist.h:
5082 * paragraph_pimpl.C:
5083 * textcursor.h: add <string> and other small fixes to make Lars'
5084 std::string patch compile with STLport.
5086 2003-10-06 Angus Leeming <leeming@lyx.org>
5088 * LColor.h: Add missing #include <string>.
5090 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5092 * All most all file in all subdirs: Make <string> be the prefered
5093 way of getting to std::string, add using declarations.
5095 2003-10-06 André Pönitz <poenitz@gmx.net>
5097 * metricsinfo.C: initialize LyXFont before changing attribute.
5098 (fixes the 'math in \emph is upright' bug)
5100 2003-10-06 André Pönitz <poenitz@gmx.net>
5102 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5104 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5107 * paragraph_pimpl.C: Small fixes to build using STLport
5109 2003-10-02 André Pönitz <poenitz@gmx.net>
5112 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5114 2003-10-01 André Pönitz <poenitz@gmx.net>
5116 * factory.C: assert early
5118 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5120 * lyx_main.C: remove the global debug object
5122 * debug.h: adjust for new debugstream
5124 * debug.C: adjust for new debugstream and keep the global debug
5127 2003-09-22 Angus Leeming <leeming@lyx.org>
5129 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5130 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5131 an incomplete class LyXFont.
5133 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5135 * factory.C: bug fix in branches
5137 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5139 * lyxfunc.C (processKeySym): adjust
5141 (dispatch): change arg name from ev to func, adjust
5142 (sendDispatchMessage): ditto
5144 * lyx_main.C (defaultKeyBindings): adjust keybindings
5145 (deadKeyBindings): ditto
5147 * kbsequence.C (addkey): return a FuncRequest
5149 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5151 * kbmap.C (bind): take a FuncRequest as arg, adjust
5154 (defkey): change to take a FuncRequest as arg, adjust
5155 (findbinding): take a FuncRequest as arg, adjust.
5157 * funcrequest.h (operator=): added
5159 * funcrequest.C (FuncRequest): default kb_action changed from
5160 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5162 * buffer.C (dispatch): simplify
5163 (dispatch): adjust to take a FuncRequest as arg, adjust
5165 * boost.C (assertion_failed): change assertion message slightly
5167 * ToolbarBackend.C (read): simplify
5169 * MenuBackend.C (binding): adjust call to findbinding, add a
5170 message if no binding is found.
5172 (expandToc): correct by adding a empty FuncRequest
5174 * LyXAction.C: include <boost/assert.hpp>
5175 (isPseudoAction): delete function
5176 (LookupFunc): change name to...
5177 (lookupFunc): this. change return type to FuncRequest.
5178 (getActionName): take kb_action as arg, simplify
5179 (funcHasFlag): add an assert, simplify.
5181 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5183 * toc.C (action): return a FuncRequest, simplify
5185 * lyxfunc.C (processKeySym): adjust
5186 (getStatus): delete version that takes an int.
5188 (dispatch): delete version that takes action as int
5190 (sendDispatchMessage): simplify and adjust
5192 * funcrequest.C (getArg): take unsigned int as arg
5194 * ToolbarBackend.C (read): adjust
5195 (add): delete version that takes func as a string.
5196 (getIton): take a FuncRequest as arg
5198 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5201 * MenuBackend.C (MenuItem): add a new construct that only takes a
5202 Kind, simplify the constructor use for submenus.
5204 (expandLastfiles): adjust
5205 (expandDocuments): adjust
5206 (expandFormats): adjust
5207 (expandFloatListInsert): adjust
5208 (expandFloatInsert): adjust
5209 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5211 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5212 Remove class variables lyx_pseudo_map and lyx_arg_map
5214 * LyXAction.C (searchActionArg): delete function
5215 (getPseudoAction): delete function
5216 (retrieveActionArg): delete function
5217 (LookupFunc): make it return kb_action, simplify.
5218 (getActionName): simplify
5220 * factory.C (createInset): fix new bug
5222 2003-09-19 Angus Leeming <leeming@lyx.org>
5224 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5225 masterFilename_ parameter in the include inset.
5227 * factory.C (createInset): changes due to the changes to InsetInclude.
5229 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5231 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5233 2003-09-18 Angus Leeming <leeming@lyx.org>
5236 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5237 Inset::fillWithBibKeys.
5238 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5240 2003-09-18 Angus Leeming <leeming@lyx.org>
5242 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5244 (ctor): pass and store a 'Buffer const &'
5245 (buffer): new member function.
5247 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5248 '*this' to the LaTeXFeatures ctor.
5250 2003-09-18 Angus Leeming <leeming@lyx.org>
5256 * text.C: rename EnumLColor as LColor_color.
5258 2003-09-18 Angus Leeming <leeming@lyx.org>
5260 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5261 remove #include "insets/insetbase.h" from cursor.h.
5263 2003-09-18 Angus Leeming <leeming@lyx.org>
5265 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5266 InsetOld_code to remove #include "inset.h".
5268 * iterators.C: add #include "insets/inset.h"
5270 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5272 * BufferView.C: remove more locking stuff that apparently doesn't
5273 do anything sensible.
5275 2003-09-16 André Pönitz <poenitz@gmx.net>
5278 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5281 2003-09-16 Angus Leeming <leeming@lyx.org>
5283 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5285 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5288 * paragraph.h: remove #include "lyxfont.h". Forward declare
5291 2003-09-16 Angus Leeming <leeming@lyx.org>
5293 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5294 of support/textutils.h.
5295 (isWord): move the contents of support/textutils.h's IsWordChar here.
5301 * text2.C: add #include "paragraph.h".
5304 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5306 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5312 * LaTeX.C: use namespace alias for lyx::support::os
5314 2003-09-16 Angus Leeming <leeming@lyx.org>
5317 * bufferview_funcs.C:
5320 * paragraph_pimpl.C:
5322 * text.C: add #include "LColor.h".
5324 2003-09-16 Angus Leeming <leeming@lyx.org>
5326 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5327 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5329 Store the FontBits::color variable as an int rather than as an
5330 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5333 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5334 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5335 string calls together.
5337 * lyxrc.C: add #include "LColor.h".
5339 2003-09-15 Angus Leeming <leeming@lyx.org>
5341 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5344 2003-09-15 Angus Leeming <leeming@lyx.org>
5346 * LColor.h: add an EnumLColor wrapper for LColor::color.
5348 * lyxfont.[Ch] (color, setColor, realColor):
5349 * lyxtext.h, text.C (backgroundColor):
5350 pass EnumLColor args to/from the functions, rather than LColor::color
5354 * lyxtext.h: forward declare EnumLColor.
5356 * lyx_main.C: add #include "LColor.h".
5358 2003-09-15 Angus Leeming <leeming@lyx.org>
5360 * .cvsignore: add lyx-gtk.
5362 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5367 * ParagraphParameters.C
5371 * bufferview_funcs.C
5381 * vc-backend.C: remove usage of STRCONV
5383 2003-09-15 Angus Leeming <leeming@lyx.org>
5385 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5386 explicitly define the color passed to the painter.
5388 2003-09-15 Angus Leeming <leeming@lyx.org>
5390 * bufferparams.C (BufferParams): reorder member initializers to avoid
5393 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5395 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5396 * text.C (updateRowPositions): remove an unusual nop
5398 2003-09-12 André Pönitz <poenitz@gmx.net>
5400 * BufferView_pimpl.C:
5409 * Counters.[Ch]: finish the 'automatic counters' job
5411 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5413 * aspell.C: include <boost/assert.cpp> (compile fix)
5415 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5417 * boost.C (assertion_failed): use lyx::support::abort instead of
5420 2003-09-10 Angus Leeming <leeming@lyx.org>
5422 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5423 with their _fwd progeny.
5425 2003-09-09 Angus Leeming <leeming@lyx.org>
5427 134 files throughtout the source tree: replace 'using namespace abc;'
5428 directives with the appropriate 'using abc::xyz;' declarations.
5430 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5432 * boost.C (emergencyCleanup): moved here from LAssert.c
5433 (assertion_failed): new function, called by BOOST_ASSERT
5435 * several files: change Assert to BOOST_ASSERT
5437 2003-09-09 Angus Leeming <leeming@lyx.org>
5439 * buffer.[Ch]: Add an Impl class and move Buffer's member
5440 variables into it. As a result move several header files out of
5443 Add header files to lots of .C files all over the tree as a result.
5445 2003-09-09 Angus Leeming <leeming@lyx.org>
5447 * buffer.[Ch]: make Buffer's member variables private. Add
5450 Lots of changes all over the tree as a result.
5452 2003-09-08 Angus Leeming <leeming@lyx.org>
5454 * graph.C: #include <config.h>.
5456 2003-09-08 Angus Leeming <leeming@lyx.org>
5460 * BufferView_pimpl.C:
5489 * toc.C: remove redundant using directives.
5491 2003-09-07 Angus Leeming <leeming@lyx.org>
5493 * LaTeXFeatures.h: remove #include "support/types.h".
5494 * ToolbarBackend.h: remove #include <algorithm>.
5495 * changes.h: remove #include <ctime>.
5496 * debug.h: remove #include <iosfwd>.
5497 * graph.h: remove #include "support/std_string.h".
5498 * lyx_main.h: remove #include <csignal>.
5499 * lyxlex_pimpl.h: remove #include <fstream>.
5500 * sgml.h: remove #include <algorithm>, <utility>.
5501 * toc.h: remove #include "support/std_ostream.h".
5502 Add #include <iosfwd>.
5504 2003-09-07 Angus Leeming <leeming@lyx.org>
5506 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5508 * converter.h: forward declare LatexRunParams.
5509 * encoding.h: remove #include "lyxrc.h".
5510 * lyxtext.h: remove #include "LColor.h".
5511 * lyxtextclass.h: remove #include "support/types.h".
5512 * trans.h: remove #include "tex-accent.h".
5513 * trans_mgr.h: remove #include "tex-accent.h".
5514 * insets/inset.h: remove #include "support/types.h", <vector>.
5515 * insets/insetcollapsable.h: remove #include "LColor.h".
5516 * insets/insetinclude.h: remove #include "dimension.h".
5517 * insets/insetlatexaccent.h: remove #include "dimension.h".
5518 * insets/insetoptarg.h:: remove #include "insettext.h".
5519 * insets/insettext.h: remove #include "dimension.h",
5520 <boost/shared_ptr.hpp>
5522 * insets/renderers.h: add #include "dimension.h".
5523 * insets/updatableinset.h: add #include "support/types.h".
5525 * many .C files: Associated changes.
5527 2003-09-06 Angus Leeming <leeming@lyx.org>
5529 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5530 one, inside testInvariant.
5532 * PrinterParams.C: new file.
5533 * PrinterParams.[Ch]: move the function bodies out of line.
5535 2003-09-06 Angus Leeming <leeming@lyx.org>
5537 * ParagraphParameters.h: forward declare ParameterStruct rather than
5538 including its header file.
5539 (depth): moved out-of-line.
5541 2003-09-06 Angus Leeming <leeming@lyx.org>
5543 * BufferView_pimpl.h:
5546 * lyxfunc.h: forward declare LyXKeySym rather than
5547 #include "frontends/LyXKeySym.h".
5549 * BufferView_pimpl.C:
5552 * lyxfunc.C: associated changes.
5554 2003-09-06 Angus Leeming <leeming@lyx.org>
5556 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5557 As a result, can remove the #include "insets/inset.h" from BufferView.h
5559 2003-09-06 Angus Leeming <leeming@lyx.org>
5561 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5562 As a result, can remove the #include "insets/inset.h" from BufferView.h
5564 2003-09-06 Angus Leeming <leeming@lyx.org>
5570 * bufferview_funcs.C:
5571 * BufferView_pimpl.C:
5576 * ParagraphParameters.C:
5581 * frontends/controllers/ControlDocument.C:
5582 * insets/insetcaption.C: rearrange the #includes into some sort of
5585 * buffer.h: remove #includes ErrorList.h, undo.h
5587 2003-09-06 Angus Leeming <leeming@lyx.org>
5589 * support/types.h: add a 'depth_type' typedef, used to store the
5590 nesting depth of a paragraph.
5593 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5594 defining explicitly.
5597 * paragraph_funcs.h:
5598 * ParagraphParameters.h:
5599 * sgml.h: use lyx::depth_type rather than Paragraph or
5600 ParameterStruct's depth_type.
5603 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5606 * BufferView_pimpl.C:
5608 * ParagraphParameters.C:
5611 * bufferview_funcs.C:
5618 * frontends/LyXView.C:
5619 * frontends/controllers/ControlDocument.C:
5620 * frontends/controllers/ControlErrorList.C:
5621 * insets/insetbibitem.C:
5622 * insets/insetbranch.C:
5623 * insets/insetcaption.C:
5624 * insets/insetcollapsable.C:
5625 * insets/insetenv.C:
5626 * insets/insetert.C:
5627 * insets/insetfloat.C:
5628 * insets/insetfoot.C:
5629 * insets/insetfootlike.C:
5630 * insets/insetnewline.C:
5631 * insets/insetquotes.C:
5632 * insets/insettabular.C:
5633 * insets/insettext.C:
5634 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5636 * frontends/controllers/ControlChanges.C: #include "changes.h".
5638 2003-09-06 Angus Leeming <leeming@lyx.org>
5640 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5641 than #including paragraph.h.
5644 * RowList.h: deleted. Superfluous.
5654 * insets/insettext.h: use ParagraphList_fwd.h rather than
5657 * paragraph.h: don't forward declare ParagraphList.
5660 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5661 rather than ParagraphList.h. paragraph.h is still needed for the
5662 Paragraph::depth_type parameters.
5664 * textcursor.h: enable it to compile stand-alone in light of the
5667 * bufferview_funcs.C:
5679 * frontends/controllers/ControlParagraph.C:
5680 * frontends/controllers/ControlTabular.C:
5681 * insets/insetmarginal.C:
5682 * insets/insetminipage.C:
5683 * insets/insetnote.C:
5684 * insets/insetoptarg.C: add header files needed to compile again.
5686 2003-09-06 Angus Leeming <leeming@lyx.org>
5688 * RowList_fwd.h: new file, forward-declaring Row rather than
5689 #including lyxrow.h.
5694 * insets/insettext.h: use it instead of RowList.h
5696 * bufferview_funcs.C:
5703 * text3.C: #include "RowList.h".
5705 2003-09-05 Angus Leeming <leeming@lyx.org>
5707 * factory.C (createInset):
5708 * vspace.C (c-tor): replace sscanf call with an istringstream.
5709 * ispell.C: re-add missing HP/UX headers.
5710 * lyxserver.C: re-add missing os2 headers.
5712 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5721 * text3.C: re-add missing system headers, needed for 2.95.2.
5723 2003-09-05 Angus Leeming <leeming@lyx.org>
5725 Changes most place everywhere due to the removal of using directives
5726 from support/std_sstream.h.
5728 2003-09-05 Angus Leeming <leeming@lyx.org>
5730 Replace LString.h with support/std_string.h,
5731 Lsstream.h with support/std_sstream.h,
5732 support/LIstream.h with support/std_istream.h,
5733 support/LOstream.h with support/std_ostream.h.
5735 Changes resulting throughout the tree.
5737 2003-09-05 Angus Leeming <leeming@lyx.org>
5739 * sgml.h: ensure that the header file can be compiled stand-alone.
5740 * *.C: strip out redundant #includes. (320 in total.)
5742 2003-09-04 Angus Leeming <leeming@lyx.org>
5744 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5745 here (from getPackages).
5747 * debug.[Ch]: add a new EXTERNAL tag.
5749 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5751 * text2.C (cursorEnd): simplify
5753 (getColumnNearX): adjust
5755 * text.C (computeBidiTables): adjust
5758 * rowpainter.C (paintChars): adjust
5759 (paintSelection): adjust
5760 (paintChangeBar): adjust
5763 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5765 (numberOfSeparators): adjust
5767 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5773 * text3.C: Restricts the mouse click functionality
5774 of insets like bibtex, include, toc and floatlist to the visible
5775 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5776 up the dialogs. Cursor has to be in front of the inset (i.e.
5777 start of row) for this to function.
5779 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5781 * bufferview_funcs.C (currentState): output row information
5783 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5785 * bufferview_funcs.C (currentState): output paragraph position
5787 2003-09-04 Angus Leeming <leeming@lyx.org>
5789 * FloatList.h: move out #include "Floating.h".
5790 * LaTeX.h: move out #include "DepTable.h".
5791 * LyXAction.h: move out #include "funcrequest.h".
5792 * buffer.h: move out #include "author.h", "iterators.h".
5793 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5794 * lyx_main.h: move out #include "errorlist.h".
5795 * lyxfunc.h: move out #include "FuncStatus.h".
5796 * lyxtext: move out #include "lyxcursor.h".
5797 * paragraph_pimpl.h: move out #include "counters.h".
5799 2003-09-03 Angus Leeming <leeming@lyx.org>
5801 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5802 preamble_snippets list, enabling us to add snippets to the preamble
5803 only if the snippet was not there already.
5805 2003-09-04 Angus Leeming <leeming@lyx.org>
5807 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5809 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5811 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5814 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5816 * BranchList.C: point fix, earlier forgotten
5818 2003-09-02 Angus Leeming <leeming@lyx.org>
5820 * box.C (contains): renamed from 'contained' after a fantastic
5823 2003-09-02 John Levon <levon@movementarian.org>
5829 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5831 2003-09-02 John Levon <levon@movementarian.org>
5833 * text2.C: simplification of cursorEnd(), including partial
5836 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5838 * buffer.C (readFile): add a space
5840 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5842 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5844 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5846 * buffer.C (readFile): new function, take a filename and a
5847 ParagraphList::iterator
5849 (readFile): adjust, make it private. don't use setStream, make
5850 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5851 always contain the filename.
5853 * BufferView.C (insertLyXFile): simplify and make it work for
5856 2003-08-30 John Levon <levon@movementarian.org>
5858 * Makefile.am: fix dist (from Kayvan)
5860 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5862 * most files: change to use const Buffer refs
5864 2003-08-27 André Pönitz <poenitz@gmx.net>
5866 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5867 on top of ownerPar().
5869 2003-08-27 John Levon <levon@movementarian.org>
5871 * funcrequest.C: properly initialise POD members
5873 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5875 * lyxtext.h (top_y): move top_y from here
5880 * BufferView_pimpl.[Ch]: to here
5881 * frontends/screen.C:
5882 * insets/insettabular.C:
5883 * insets/insettext.C: adjust
5884 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5886 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5889 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5891 2003-08-26 André Pönitz <poenitz@gmx.net>
5893 * paragraph_func.[Ch] (outerPar): new function
5896 * paragraph_funcs.C:
5897 * paragraph_funcs.h:
5898 * paragraph_pimpl.C:
5899 * text2.C: remove Inset::par_owner
5901 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5906 * text2.C: eliminates the needFullRow/display() stuff
5907 altogether, putting the logic in metrics/draw in the insets.
5909 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5911 * text2.C (redoParagraphInternal, redoParagraphs):
5912 * text.C (redoParagraph): add a call to updateRowPositions at the
5913 end of each 'metrics-like' call. Remove all others.
5914 (getRow): remove the 'y-computing' version.
5915 (getRowNearY): do not compute nor return the real y. Solve the
5916 'y < 0' problem and simplify.
5918 2003-08-22 Angus Leeming <leeming@lyx.org>
5920 * *.[Ch]: clean-up of licence and author blurbs.
5921 Also move config.h out of a few .h files and into a few .C files.
5923 2003-08-22 André Pönitz <poenitz@gmx.net>
5925 * lyxrow.[Ch]: add x_ and *fill_ members
5930 * text2.C: adjust/remove prepareToPrint() calls
5932 2003-08-22 André Pönitz <poenitz@gmx.net>
5934 * lyxrow.[Ch]: add end_ member
5936 * lyxrow_funcs.C: use LyXRow::end_
5938 * lyxtext.h (singleWidth): add LyXFont parameter
5941 * text2.C: adjust LyXText::singleWidth() calls
5943 * text.C (redoParagraph): simplify row breaking logic
5946 2003-08-19 André Pönitz <poenitz@gmx.net>
5948 * funcrequest.C: initialize button_ member
5951 * rowpainter.[Ch]: interface consolidation
5953 2003-08-18 André Pönitz <poenitz@gmx.net>
5956 * BufferView_pimpl.C:
5958 * paragraph_funcs.C:
5960 * text3.C: remove LyXScreen::draw() and fitCursor calls
5962 * BranchList.h: remove spurious semicolons
5964 * MenuBackend.C: fix branchlist related crash
5966 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5974 * bufferparams.[Ch]:
5978 * text3.C: implements the 'branch inset'
5979 idea. This allows the output of various versions of a document
5980 from a single source version, selectively outputing or suppressing
5981 output of parts of the text.
5982 This implementation contains a 'branch list editor' in a separate
5983 tab of the document settings dialog. Branches are user definable
5984 and have a "display colour" to distinguish them on-screen.
5986 ColorHandler was somewhat cleaned up.
5987 (1) make possible a dynamically growing LColor list by allowing
5988 the graphic context cache to grow along (vector);
5989 (2) eliminate an IMHO unnecessary step in colour allocation.
5991 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5993 * BufferView_pimpl.C: compile fix
5995 2003-08-15 André Pönitz <poenitz@gmx.net>
5997 * rowpainter.C: remove extra metrics calls
5999 * lyxtext.h: merge the two constructors into a single one,
6000 pass reference to owner's par list
6002 * BufferView_pimpl.C:
6006 2003-08-15 André Pönitz <poenitz@gmx.net>
6008 * lyxrow_funcs.[Ch]:
6011 * paragraph_funcs.C:
6016 * text_funcs.C: split LyXText::rowlist_ into individual
6017 Paragraph::rows_ chunks
6020 * BufferView_pimpl.[Ch]:
6023 * text3.C: remove toggleSelection()
6025 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6027 * bufferlist.C: beautify two alerts (shorter text of buttons)
6028 * buffer.C: Remove redundant ' ' from message
6030 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6031 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6032 rename VALIGN_CENTER to VALIGN_MIDDLE
6034 2003-08-11 André Pönitz <poenitz@gmx.net>
6036 * lyxtext.h (getPar):
6037 * text.C: new function
6039 2003-08-11 André Pönitz <poenitz@gmx.net>
6042 * tracer.[Ch]: remove unneeded files
6044 * InsetList.[Ch]: remove resizeInsetsLyXText()
6049 * text3.C: merge insertParagraphs() and appendParagraph()
6050 remove breakAgain(), update()
6052 * BufferView_pimpl.[Ch]:
6053 * bufferview_funcs.[Ch]:
6057 * tabular.C: adjust after text & InsetList changes.
6059 2003-08-08 André Pönitz <poenitz@gmx.net>
6061 * text.C (insertChar, backspace): replace rowlist fiddling
6062 with rebreak of full par
6065 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6066 checkParagraph, updateInset): removed
6068 2003-08-07 André Pönitz <poenitz@gmx.net>
6071 * text3.C: merge some LFUN handlers, remove dead code
6073 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6075 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6077 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6079 * text2.C (DEPM): fix part of bug 1255 and 1256
6081 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6083 * BufferView_pimpl.C (workAreaDispatch): change to use
6084 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6085 that are no mouse related.
6087 2003-08-05 André Pönitz <poenitz@gmx.net>
6090 * BufferView_pimpl.[Ch]:
6091 * bufferview_funcs.C:
6093 * text3.C: rip out "deep update"
6095 * textcursor.[Ch] (last_sel_cursor): remove unused member
6097 2003-08-04 André Pönitz <poenitz@gmx.net>
6100 * BufferView_pimpl.[Ch]:
6101 * ParagraphParameters.C:
6102 * bufferview_funcs.C:
6108 * text3.C: replace "complicated" BufferView::update(...) calls with
6111 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6113 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6115 * Makefile.am (lyx_SOURCES): add paper.h
6117 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6119 * Makefile.am: move things around so that both lyx-qt and
6120 lyx-xforms can be built (according to --with-frontend). Then lyx
6121 is a symbolic link to lyx-[firstfrontend]
6123 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6125 * Always use std::endl with lyxerr
6127 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6129 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6131 2003-08-01 André Pönitz <poenitz@gmx.net>
6134 * BufferView_pimpl.[Ch]:
6136 * text3.C: merge BufferView::repaint() and BufferView::update()
6138 2003-08-01 José Matos <jamatos@lyx.org>
6140 * buffer.[Ch]: file_format is no longer a buffer data element.
6142 2003-08-01 André Pönitz <poenitz@gmx.net>
6147 * text2.C: make redoParagraph more independent of current cursor
6149 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6151 * text2.C: remove unneeded members
6153 2003-07-30 André Pönitz <poenitz@gmx.net>
6155 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6157 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6158 create a single function...
6160 * paragraph_funcs.C (moveItem): ... here.
6163 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6165 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6167 * LColor.[Ch]: Add comment and greyedout logical colors.
6169 2003-07-30 André Pönitz <poenitz@gmx.net>
6171 * tabular.C: don't use Assert too heavily. This crashes where it
6174 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6176 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6177 is disabled (bug 1232)
6179 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6181 * factory.C: limited 'arg' scope
6183 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6185 * factory.C: fixed Note submenu issues
6187 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6189 * factory.C: submenu for Note/Comment/Greyedout
6191 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6194 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6196 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6199 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6200 greyedout. Patch provided by Jürgen Spitzmüller.
6202 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6204 * kbmap.C (read): fix error message when reading bind files
6206 2003-07-29 Angus Leeming <leeming@lyx.org>
6208 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6209 certainly does not do what it purports to do. I am doing it, and
6210 us, a favour by killing it.
6212 2003-07-28 José Matos <jamatos@lyx.org>
6214 * buffer.C (readBody, do_writeFile):
6215 * paragraph.C(readParagraph): \end_document replaces \the_end.
6217 2003-07-29 André Pönitz <poenitz@gmx.net>
6220 * BufferView_pimpl.[Ch]:
6224 * textcursor.[Ch]: remove toggleToggle & Co
6226 2003-07-28 José Matos <jamatos@fep.up.pt>
6228 * buffer.C (readParagraph):
6229 * params_func (readParToken, readParagraph):
6230 * paragraph.C (write): \layout -> \begin_layout.
6232 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6234 * lyxlex_pimpl.C (setFile): clean up slightly.
6236 * bufferparams.h: add compressed var
6238 * buffer_funcs.C (readFile): adjust for LyXLex change
6239 (newFile): ditto + simplify
6241 * buffer.C (writeFile): handle writing of compressed files
6243 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6244 Check if the file is compressed and set a bufferparm if so.
6246 * Makefile.am (lyx_LDADD): remove explicit -lz
6248 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6250 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6251 makeDocBookFile): put the real LyX version in the first line of
6255 * version.C.in: remove lyx_docversion
6257 * tabular.C (write_attribute): add a template-based version to
6258 write enums properly
6260 2003-07-28 André Pönitz <poenitz@gmx.net>
6265 * text3.C: use doubles again for x-coordinates. They are needed.
6267 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6269 * messages.C (getLocaleDir): use lyx_localedir()
6271 * lyxlex_pimpl.C (setFile): compress stuff
6273 * buffer.C (writeFile): add some compression stuff
6274 (do_writeFile): new func, dont call expliti close... will this
6277 * Makefile.am (lyx_LDADD): add -lz
6279 2003-07-28 José Matos <jamatos@fep.up.pt>
6281 * buffer.C: increment file format.
6282 * paragraph_funcs (readParagraph, readParToken):
6283 * paragraph.C (readParagraph): add \end_layout.
6285 2003-07-27 Angus Leeming <leeming@lyx.org>
6287 * Makefile.am: remove special casing for configure-time setting of
6288 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6290 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6291 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6293 2003-07-26 André Pönitz <poenitz@gmx.net>
6295 * paragraph_func.[Ch]:
6296 * paragraph.C (realizeFont): inline it whereever it is used
6301 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6304 2003-07-26 André Pönitz <poenitz@gmx.net>
6308 * text2.C: get rid of LyXText::need_break_row
6310 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6312 * toc.[Ch]: put namespace toc inside namespace lyx
6314 * MenuBackend.C (expandToc2): adjust for lyx::toc
6317 * lyxfunc.C (dispatch): adjust for lyx::find
6319 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6320 lyx::find instead. Reorganize a bit.
6321 (LyXReplace): rename to replace
6322 (LyXFind): rename to find
6324 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6327 2003-07-26 André Pönitz <poenitz@gmx.net>
6329 * text.C (setHeightOfRow): restrict scope of temporary variable
6331 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6332 code (never has been used?)
6334 2003-07-27 Asger Alstrup <alstrup@local>
6336 * text.C (fill): Optimise algorithm to exploit that we can reuse
6337 the LyXFont for many characters.
6338 (setHeightOfRow): Same thing.
6339 (rowBreakPoint): Same thing.
6341 2003-07-26 Asger Alstrup <alstrup@local>
6343 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6345 * text.C (singleWidth): Spurious font copying in hot-spot
6346 singleWidth avoided. Reorder tests for arabic for efficiency.
6348 * text.C (fill): handle empty paragraphs better.
6350 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6353 * encoding.h: add includes
6355 * lyxrc.C: remove reading of bind files
6357 * lyx_main.C (init): setup bindings and menus only if we have a
6360 * kbmap.C (read): new method. Do the actual reading of bind
6363 * converter.C (dvipdfm_options):
6366 (output): adapt PAPER_* enums.
6368 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6370 * bufferparams.h: remove paper-related enums from there
6372 * paper.h: New file. A trivial header file to hold paper-related
6373 enums. It should later expand to contain many paper-related
6376 * lyxrc.C: declare extern displayTranslator
6378 2003-07-27 José Matos <jamatos@fep.up.pt>
6380 * tabular.[Ch] (linuxdoc): add support for tables and figures
6383 2003-07-27 José Matos <jamatos@fep.up.pt>
6385 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6386 consistency in both functions.
6387 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6389 2003-07-26 Asger Alstrup <alstrup@local>
6391 * rowpainter.C (paintRows): Change algorithm to work directly on
6392 the insets rather than asking every character in the document
6393 whether its an inset.
6395 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6397 * buffer.C (openFileWrite): factorize some code
6399 2003-07-26 Angus Leeming <leeming@lyx.org>
6402 * lyx_main.[Ch]: replace occurances of system_tempdir with
6405 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6407 * rename Inset to InsetOld
6409 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6411 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6412 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6413 which I think is a bit clearer. EDIT is gone, since it was
6414 premature optimisation, and broken for mathed anyway.
6415 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6416 with cursor positioning in insets as well (math insets still do not
6417 work, but that's a different story anyway.) It mysteriously
6418 crashes sometimes with undo in the first paragraph, but I'm fairly
6419 confident that this is a compiler bug.
6421 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6423 * paragraph.C (Paragraph): adjust for new clone return type
6425 (copyIntoMinibuffer): ditto
6427 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6429 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6430 by not having a special case, and always doing a full rebreak of
6431 the document after undo.
6433 2003-07-23 Angus Leeming <leeming@lyx.org>
6435 * factory.C (createInset): InsetExternal::setParams now takes a
6438 2003-07-23 Angus Leeming <leeming@lyx.org>
6440 * factory.C (createInset): changed interface to the external and
6441 graphics mailers' string2params functions.
6443 2003-07-23 Angus Leeming <leeming@lyx.org>
6445 * factory.C (createInset): pass a
6446 Buffer const * parameter to InsetExternalMailer's string2params.
6448 2003-07-22 John Levon <levon@movementarian.org>
6450 * Thesaurus.h: include the right aiksaurus header
6452 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6454 * MenuBackend.C (expand): check menu shortcuts unconditionally
6456 2003-07-21 Angus Leeming <leeming@lyx.org>
6458 * factory.C (createInset): pass a
6459 buffer_path parameter to InsetGraphicsMailer's string2params.
6461 2003-07-21 Angus Leeming <leeming@lyx.org>
6463 * BufferView_pimpl.C (buffer):
6466 * lyxfunc.C (dispatch):
6467 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6468 rather than the grfx shortcut.
6470 2003-07-21 André Pönitz <poenitz@gmx.net>
6472 * rowpainter.C: remove unused variables
6475 * tabular_funcs.h: move to tabular.C
6476 * Makefile.am: adjust
6478 * tabular.[Ch]: basic optical cleaning
6480 * author.h: pass references, not values
6482 2003-07-18 André Pönitz <poenitz@gmx.net>
6490 * text3.C: two-phase drawing for InsetText and InsetTabular
6491 some float -> int changes.
6493 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6495 * lyx_main.C: fix the fix
6497 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6499 * lyx_main.C: fix a crash in batch mode if no files specified
6502 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6504 * format.[Ch] (papersize): moved to BufferParams
6505 * converter.[Ch] (dvips_options): moved to BufferParams
6506 (dvipdfm_options): moved to anon namespace
6507 * bufferparams.[Ch]: added above functions.
6509 2003-07-17 André Pönitz <poenitz@gmx.net>
6513 * text2.C: don't call inset->update() anymore
6515 * metricsinfo.[Ch]: add convenience constructor
6517 2003-07-16 André Pönitz <poenitz@gmx.net>
6522 * text2.C: replace the LyXCursor::irow_ member with
6523 on-demand computation of the value
6525 2003-07-16 John Levon <levon@movementarian.org>
6527 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6529 2003-07-15 André Pönitz <poenitz@gmx.net>
6532 * text2.C: remove no more needed refresh_row
6534 2003-07-15 André Pönitz <poenitz@gmx.net>
6539 * text3.C: refresh_status tristate -> need_update bool
6541 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6543 * lyxtext.h (init): remove reinit argument (act as if always true)
6544 * text2.C: adjust to that
6546 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6548 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6549 * text3.C: use it to delete selections in some cases
6550 (bugs 441, 673, 702, 954).
6552 2003-07-14 André Pönitz <poenitz@gmx.net>
6554 * rowpainter.[Ch]: reduce interface
6556 2003-07-14 André Pönitz <poenitz@gmx.net>
6558 * BufferView_pimpl.C:
6559 * text2.C: adjust after removing unused BufferView * argument
6561 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6563 * text2.C (init): fix a crash fired on resize
6565 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6567 * buffer.[Ch]: added new closing signal
6568 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6569 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6570 BufferView::Pimpl via the closing the signal
6572 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6574 * buffer.[Ch]: take out all bv-related from buffer
6576 * BufferView_pimpl.[Ch]: connect to new signals
6577 * CutAndPaste.C: removed useless asserts
6578 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6581 * lyxfunc.C: moved view-related funciontality from vc here
6582 * paragraph.C: removed outdated comments
6585 2003-07-10 André Pönitz <poenitz@gmx.net>
6587 * BufferView_pimpl.C:
6591 * text2.C: remove InsetText::InnerCache, clean up consequences
6593 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6595 * ispell.C: fix two typos in error messages
6597 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6599 * Extend Note inset to other forms of annotation like Comment
6600 and Greyedout. Right button click gives dialog.
6602 Files modified or added (+):
6606 * ControlNote.[Ch] +
6608 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6609 frontends/controllers
6613 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6615 * aspell.C: add missing namespace lyx::support
6617 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6619 * BufferView.[Ch] (newFile): Add
6620 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6621 * LaTeX.[Ch] (message): added this signal and use it
6622 * buffer.[Ch] (busy, message): added these signals and use them
6623 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6627 * importer.C: use buffer signals instead of direct bv calling
6628 * lyx_cb.[Ch] (ShowMessage): removed
6631 * paragraph_funcs.C:
6632 * text2.C: use buffer signals
6634 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6636 * introduce namespace lyx::graphics
6638 2003-07-02 André Pönitz <poenitz@gmx.net>
6640 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6642 2003-07-01 André Pönitz <poenitz@gmx.net>
6649 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6650 text*.C to text_func.C
6652 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6654 * introduce namespace lyx::support
6656 2003-06-30 André Pönitz <poenitz@gmx.net>
6661 * text.C: re-enable --with-included-string
6663 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6665 * textcursor.C: add <config.h>
6667 * text.C (getWord): remove const from word_location arg
6669 * lyxvc.C (getLogFile): fix const type order
6671 * lyxtext.h: remove const from word_location arg, add arg name
6673 * lyxlayout.h: currect type on labeltype.
6675 * importer.C: correct \file
6677 * converter.C (intToFormat): use std:: on ret val, ws changes
6679 * bufferlist.h: correct \file
6681 * buffer.C (makeLinuxDocFile): fix const type order
6682 (makeDocBookFile): ditto
6683 (fillWithBibKeys): use std:: on stdlib args.
6685 * CutAndPaste.C: fix authors.
6686 (availableSelections): use std:: on return vector
6688 2003-06-27 André Pönitz <poenitz@gmx.net>
6690 * BufferView_pimpl.C:
6691 * bufferview_funcs.C:
6699 * text3.C: remove LyXCursor::row_ member
6702 * text.C: rename fullRebreak() to partialRebreak() and implement
6703 a fullRebreak() that really bereks fully
6705 * textcursor.h: new struct for cursor-related data
6707 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6709 * lyx_main.C (LyX): get full path of document loaded on the
6712 2003-06-26 André Pönitz <poenitz@gmx.net>
6714 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6715 remove unused/broken operator>,<,>=.
6717 * text.C: remove only use of broken operator<= in an Assert().
6719 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6721 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6722 moved errorlist_.clear to showErrorList
6724 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6726 * converter.C (scanLog, runLaTeX):
6727 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6728 move the bv->showErrorList call to the callers
6729 * lyxfunc.C: i.e. here...
6731 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6732 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6733 namespace, the second to...
6734 * buffer_funcs (BufferFormat, parseErrors): added
6735 * errorlist.C (ErrorList(TeXErrors const &)): removed
6737 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6739 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6741 2003-06-24 "Garst R. Reese" <reese@isn.net>
6745 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6747 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6749 * version.C.in: change docversion to 1.4
6751 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6753 * buffer.C: fix a bug just introduced
6755 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6757 * buffer.[Ch]: added the parseError signal and use it, removed
6759 * BufferView.[Ch] (addError): moved to ...
6760 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6761 to the Buffer::parseError signal to catch (guess what) parse errors
6762 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6764 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6766 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6767 ability to create a buffer and to return an existing one from
6768 the list. Moved these functions to...
6769 * buffer_funcs.[Ch]: added
6770 * BufferView.[Ch] (loadLyXFile): added
6771 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6772 job removed from bufferlist::loadLyXFile.
6773 * buffer.C (setReadOnly): make it work without view
6774 (i.e added an if (users))
6776 2003-06-19 Angus Leeming <leeming@lyx.org>
6779 * LyXAction.C (init):
6780 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6781 with LFUN_DIALOG_SHOW <name> <data>.
6783 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6785 * CutAndPaste.C (availableSelections): small compilation fix for
6786 ancient (gcc 2.9x) compilers
6788 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6790 * text3.C (cursorNext): add tmp var
6792 * text2.C (updateCounters): for function calling out of for clause
6793 (replaceSelectionWithString): ditto
6794 (insertStringAsParagraphs): ditto
6795 (getColumnNearX): add tmp var
6796 (setCursorFromCoordinates): add tmp var
6797 (cursorDownParagraph): add tmp var
6798 (deleteEmptyParagraphMechanism): add tmp var
6800 * text.C (insertChar): add tmp var
6802 * rowpainter.C (paintDepthBar): add tmp var
6804 * CutAndPaste.C (availableSelections): potentially check all
6805 paragraphs in a cut to fill the shown strings.
6807 2003-06-18 André Pönitz <poenitz@gmx.net>
6809 * kbmap.[Ch]: use vector<> instead of list<>
6811 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6813 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6814 pasteSelection with index
6816 * text2.C (pasteSelection): modify, call pasteSelection with index
6818 * paragraph.C (asString): reimplement version with no interval to
6819 call the one with interval.
6821 * lyxtext.h: add index arg to pasteSelection
6823 * MenuBackend.C (MenuItem): handle PasteRecent
6824 (Menu::read::Menutags): add md_pasterecent
6826 (expandPasteRecent): new function
6829 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6831 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6833 (availableSelections): new function
6835 2003-06-17 Angus Leeming <leeming@lyx.org>
6837 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6839 2003-06-17 Angus Leeming <leeming@lyx.org>
6842 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6844 * lyxfunc.C (dispatch): invoke it.
6846 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6848 * iterators.C (operator++, ParPosition): reintroduce some
6849 const_cast for the benefit of older compilers.
6851 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6853 * text3.C (dispatch): do not modify clipboard when doing
6854 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6855 LFUN_DELETE_SKIP on a selection selection
6857 2003-06-16 André Pönitz <poenitz@gmx.net>
6863 * tabular.[Ch]: IU of clone() and getLabelList();
6865 2003-06-13 André Pönitz <poenitz@gmx.net>
6867 * tabular.h: compactification
6869 2003-06-12 André Pönitz <poenitz@gmx.net>
6873 * tabular_funcs.h: some renaming plus whitespace
6875 2003-06-12 André Pönitz <poenitz@gmx.net>
6878 * BufferView_pimpl.C:
6884 * toc.C: Return a Paragraph & for ParIterator::operator*()
6886 2003-06-11 John Levon <levon@movementarian.org>
6890 * ToolbarBackend.C: add "Toolbars" section and
6893 2003-06-10 Angus Leeming <leeming@lyx.org>
6896 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6898 * lyxfunc.C (dispatch): invoke it.
6900 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6902 * main.C: protect <ios> with HAVE_IOS
6903 (main): protect sync_with_stdio with HAVE_IOS
6905 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6907 * text2.C (cutSelection): adjust
6908 (pasteSelection): adjust
6910 * messages.C: handle get of empty string
6912 * main.C (main): use sync_with_stdio(false)
6914 * lyxfunc.C (dispatch): adjust
6916 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6917 (WriteAs): remove unneeded BufferView arg.
6919 * bufferparams.h: use correct types on papersize, papersize2 and
6922 * bufferparams.C (readToken): adjust for type
6923 (writeLaTeX): add missing cases to switch.
6925 * bufferlist.C (quitWriteBuffer): adjust
6928 * buffer.C (asciiParagraph): remove some commented code.
6930 * CutAndPaste.C: remove current_view extern variable.
6931 (cutSelection): add BufferParams arg.
6932 (eraseSelection): add BufferParams arg.
6933 (pasteSelection): add Buffer const & arg
6935 2003-06-07 John Levon <levon@movementarian.org>
6938 * paragraph_funcs.C:
6939 * paragraph_pimpl.C:
6943 * paragraph.C: allow InsetERT to freely space lines,
6944 and some consolidation of code
6946 2003-06-06 José Matos <jamatos@fep.up.pt>
6948 * buffer.C (makeDocBookFile): fix bug #821
6950 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6952 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6954 2003-06-04 Angus Leeming <leeming@lyx.org>
6956 * buffer.C: bump format to 224.
6958 2003-06-05 André Pönitz <poenitz@gmx.net>
6960 * text2.C (redoParagraphs): remove two const_cast<>
6962 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6964 * ParagraphList.h: remove last remnants of NO_STD_LIST
6966 2003-06-03 Angus Leeming <leeming@lyx.org>
6968 * factory.C (createInset): small change to the way InsetExternal's params
6971 2003-06-04 André Pönitz <poenitz@gmx.net>
6973 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6975 * paragraph_pimpl.h:
6976 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6978 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6980 * undo_funcs.C: make some simple cases of undo work again
6982 2003-06-03 John Levon <levon@movementarian.org>
6984 * ispell.C: HPUX doesn't have sys/select.h
6987 2003-06-03 John Levon <levon@movementarian.org>
6989 * CutAndPaste.C: update tabular and include inset
6994 * paragraph.C: remove owningBuffer(), don't pass Buffer
6997 * factory.C: insetGraphicsParams changed
6999 2003-06-02 John Levon <levon@movementarian.org>
7005 * text3.C: remove insetparent
7007 2003-06-02 John Levon <levon@movementarian.org>
7010 * buffer.C: fix inset_iterator.end(), move out of line
7013 2003-06-01 John Levon <levon@movementarian.org>
7015 * text3.C: use a proper cut/paste when doing inset
7016 insert (from Jürgen Spitzmüller)
7018 2003-06-01 John Levon <levon@movementarian.org>
7020 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7022 2003-05-30 André Pönitz <poenitz@gmx.net>
7024 * rowpainter.C: unify second drawing phase
7026 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7028 * trans_mgr.C: remove one case of current_view
7030 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7032 * paragraph_funcs.h: remove paragraph.h include
7034 * paragraph.h: delete NO_STD_LIST stuff
7036 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7038 * buffer.h: remove paragraph.h include
7040 * ParagraphList.C: delete file
7042 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7044 * toc.C (getTocList): adjust
7046 * paragraph_pimpl.C (validate): adjust
7048 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7050 * paragraph.C (Paragraph): adjust
7051 (getPositionOfInset): use const_iterator, adjust
7052 (bibitem): use const_iterator, adjust
7053 (setInsetOwner): adjust
7055 * iterators.C (operator++): adjust
7057 * InsetList.[Ch]: Replace selfmade iterator with standard
7058 vector::iterator also introduce const_iterator. Remove getPos,
7059 getInset and setInset from InsetTable. Adjust accordingly.
7061 * BufferView.C (lockInset): adjust
7062 (ChangeInsets): adjust
7064 * tabular.[Ch]: delete commented same_id functions
7066 2003-05-28 John Levon <levon@movementarian.org>
7068 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7070 2003-05-28 André Pönitz <poenitz@gmx.net>
7072 * metricsinfo.[Ch]: remove 'fullredraw' member
7074 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7076 * lyxtextclass.C (operator): remove caching.
7078 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7082 * text2.C (cursorBottom): adjust
7083 (setCounter): use ParagraphList::find, adjust
7085 * text.C (workWidth): use ParagraphList::find, adjust
7087 * lyxcursor.C (LyXCursor): adjust
7089 * buffer.C (inset_iterator): adjust
7091 * ParagraphList.h: make iterator(value_type) private, make
7092 ParagraphList a friend of iterator.
7094 * ParagraphList.C (find): new function
7096 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7098 2003-05-27 André Pönitz <poenitz@gmx.net>
7100 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7102 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7104 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7106 2003-05-26 John Levon <levon@movementarian.org>
7108 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7110 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7112 * remove same_id from function signatures, adjust.
7114 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7116 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7118 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7120 * paragraph.C (Paragraph): get rid of same_ids parameter
7122 * ParagraphList.C (insert): adjust
7125 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7127 * paragraph_funcs.C (breakParagraph): adjust
7128 (breakParagraphConservative): adjust
7130 * buffer.C (readParagraph): adjust
7132 * ParagraphList.C (insert): take a reference instead of a pointer
7135 * paragraph.[Ch] (id): new function
7137 * bufferlist.C (newFile): adjust
7139 * ParagraphList.C (ParagraphList): adjust
7141 (push_back): take a reference instead of a pointer.
7143 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7145 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7148 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7149 set else use old code.
7151 * ParagraphList.C: remove all NO_NEXT code and only compile this
7152 code of NO_STD_LIST is set.
7154 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7156 * BufferView_pimpl.C:
7166 * graphics/GraphicsConverter.C:
7167 * graphics/PreviewLoader.C: header adjustment
7169 2003-05-23 Angus Leeming <leeming@lyx.org>
7171 * LaTeXFeatures.[Ch] (useBabel): new method.
7172 * bufferparams.C (writeLaTeX): use it.
7174 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7176 * ParagraphList.h (set): remove unused function.
7178 2003-05-23 André Pönitz <poenitz@gmx.net>
7181 * BufferView_pimpl.C:
7185 * undo_funcs.C: setUndo reworked
7187 * iterators.[Ch]: add access to topmost ParagraphList
7189 * lyxtext.[Ch] (workWidth): add a const
7191 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7193 * texrow.[Ch] (increasePos): remove function
7194 * exporter.C (export): removed unused var and outdated comment
7196 2003-05-23 Angus Leeming <leeming@lyx.org>
7198 * latexrunparams.h: rename fragile as moving_arg.
7199 * paragraph.C (simpleTeXOnePar): ditto.
7200 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7202 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7204 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7206 (textUndoOrRedo): comment out a currently unused var.
7208 * paragraph.h (NO_NEXT): enable NO_NEXT
7210 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7212 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7214 * exporter.C (Export): adjust for removeAutoInsets removal.
7216 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7218 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7220 * BufferView.[Ch] (removeAutoInsets): delete function
7222 2003-05-22 Angus Leeming <leeming@lyx.org>
7224 * latexrunparams.h: add a free_spacing variable.
7226 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7227 to pass moving_arg, as the data is stored in runparams.fragile.
7229 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7230 to Inset::latexOptional or to simpleTeXOnePar.
7232 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7233 free_spacing arg to Inset::latexOptional.
7235 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7238 2003-05-22 Angus Leeming <leeming@lyx.org>
7240 * latexrunparams.h: add fragile and use_babel variables.
7242 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7243 * buffer.C (makeLaTeXFile): store this returned value in
7244 runparams.use_babel, thus passing it to the inset::latex methods.
7246 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7247 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7249 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7250 longer has a fragile arg, as it is stored in runparams.fragile.
7252 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7253 moving_arg parameter as the data is stored in runparams.fragile.
7255 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7256 a fragile parameter as the data is stored in runparams.fragile.
7258 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7260 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7262 2003-05-22 Angus Leeming <leeming@lyx.org>
7264 * latexrunparams.h: add a 'bool nice' which defaults to false.
7266 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7267 now encapsulated within runparams.
7269 * bufferlist.C (updateIncludedTeXfiles):
7270 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7272 2003-05-22 Angus Leeming <leeming@lyx.org>
7274 * latexrunparams.h: new file containing struct LatexRunParams.
7275 * Makefile.am: add new file.
7277 * LaTeX.[Ch] (c-tor, run):
7278 * buffer.[Ch] (makeLaTeXFile):
7279 * bufferlist.[Ch] (updateIncludedTeXfiles):
7280 * converter.C (convert, scanLog):
7281 * converter.[Ch] (runLaTeX):
7282 * exporter.C (Export):
7283 * paragraph.[Ch] (simpleTeXOnePar):
7284 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7285 * paragraph_funcs.[Ch] (latexParagraphs):
7286 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7287 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7288 pass around a LatexRunParams parameter.
7290 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7292 * paragraph.[Ch]: remove unused constructor
7294 * ParagraphList.C (erase): new function, taking two iterators
7296 2003-05-22 André Pönitz <poenitz@gmx.net>
7298 * undo_funcs.C: remove duplicated code
7300 * iterator.[Ch]: operator=
7302 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7304 * tabular.C (SetMultiColumn): ws changes
7306 * rowpainter.C (paintFirst): get rid of a ->previous
7308 * lyx_cb.C (getPossibleLabel): parlist simplification
7310 * BufferView.C (ChangeInsets): simplify slightly.
7312 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7314 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7315 * lfuns.h: new LFUN_SPACE
7316 * lyxfunc.C: protected space has a new lfun
7317 * paragraph_funcs.C: read new space insets
7319 * factory.C: handle new space insets
7321 2003-05-22 André Pönitz <poenitz@gmx.net>
7324 * BufferView_pimpl.C:
7327 * undo_funcs.C: return a ParIterator from getParFromID.
7329 * iterators.[Ch]: add two const's
7331 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7333 * toc.C (getTocList): adjust
7335 * iterators.[Ch]: rework for parlist
7337 * buffer.C (par_iterator_begin): adjust
7338 (par_iterator_end): adjust
7340 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7342 * BufferView.C (removeAutoInsets): adjust
7343 (ChangeInsets): adjust
7345 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7347 * text.C (top_y): fix bug 1110
7349 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7351 * errorlist.[Ch]: added
7354 * BufferView_pimpl.C:
7355 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7358 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7360 * Makefile.am: ensure that lyx is relinked upon changes to the
7361 various "convenience" libs.
7363 2003-05-20 Angus Leeming <leeming@lyx.org>
7365 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7366 files are compiled in alphabetical order again.
7368 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7370 2003-05-19 Angus Leeming <leeming@lyx.org>
7372 * gettext.[Ch]: remove "char const * _(char const *)".
7374 2003-05-19 André Pönitz <poenitz@gmx.net>
7376 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7385 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7387 2003-05-19 André Pönitz <poenitz@gmx.net>
7391 * lyxtextclass.[Ch]:
7393 * paragraph_funcs.[Ch]:
7395 * text3.C: more insetenv work
7397 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7399 * ParagraphParameters.C (params2string): small bug fixed
7401 2003-05-16 André Pönitz <poenitz@gmx.net>
7404 * bufferview_funcs.C: patch from Kornel Benko to prevent
7405 crash when _(...) is called twice in a statement
7407 2003-05-16 André Pönitz <poenitz@gmx.net>
7414 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7416 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7418 * lyx_main.C (init): remove spurious static_cast
7420 2003-05-14 André Pönitz <poenitz@gmx.net>
7422 * BufferView.C: fix format string
7424 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7426 * BufferView.[Ch] (insertErrors): removed
7427 * BufferView.[Ch] (showErrorList): added
7428 * buffer.C (runChkTeX):
7429 * converter.C (scanLog): call showErrorList instead of inserterrors
7431 2003-05-13 André Pönitz <poenitz@gmx.net>
7433 * BufferView_pimpl.C:
7435 * bufferview_func.C:
7442 * tabular_funcs.h: tostr() from its own header
7444 * ParagraphParameters.C:
7449 * text3.C: STRCONV()
7451 2003-05-12 André Pönitz <poenitz@gmx.net>
7454 * BufferView_pimpl.C:
7458 * ParagraphParameters.C:
7462 * bufferview_funcs.C:
7475 * paragraph_funcs.C:
7479 * text3.C: boost::format -> bformat all over the place
7482 2003-05-09 André Pönitz <poenitz@gmx.net>
7484 * LColor.[Ch]: Pimpl the #include <map> away
7486 2003-05-09 John Levon <levon@movementarian.org>
7488 * bufferlist.C: never remove emergency saves
7490 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7492 * Makefile.am: better lib building
7494 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7496 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7498 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7499 (simpleTeXSpecialChars): adjust
7500 (simpleTeXSpecialChars): adjust
7501 * paragraph.C (simpleTeXOnePar): adjust
7502 * buffer.C (makeLaTeXFile): adjust
7504 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7506 * text2.C (changeDepth): parlist cleanup
7507 (getColumnNearX): ditto
7509 * rowpainter.C (getLabelFont): parlist cleanup
7511 * bufferlist.C (newFile): parlist cleanup
7513 * CutAndPaste.C (eraseSelection): parlist cleanup
7515 * BufferView_pimpl.C (trackChanges): parlist cleanup
7518 * BufferView.C (lockInset): parlist cleanup.
7519 (ChangeInsets): ditto
7521 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7523 * CutAndPaste.h: Update file header.
7525 * CutAndPaste.C: Update file header.
7526 Store the parts cut out of the Document in a limited_stack.
7527 (copySelection): adjust
7528 (pasteSelection): new function, takes the index in the limited stack.
7529 (nrOfParagraphs): adjust
7530 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7531 simplify error inset insertion.
7532 (checkPastePossible): adjust
7534 2003-05-06 John Levon <levon@movementarian.org>
7536 * text2.C: don't cast wrap inset to float
7538 2003-05-05 André Pönitz <poenitz@gmx.net>
7541 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7543 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7544 few naked Paragraph *.
7546 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7548 * bufferparams.C: Output warning if a document with missing
7549 TeX document class is loaded
7550 * exporter.C: Disable TeX exports if the document class is missing
7553 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7554 isTeXClassAvailable()
7556 2003-05-03 John Levon <levon@movementarian.org>
7559 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7560 explicit cursor show/hide
7562 * BufferView_pimpl.h:
7563 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7564 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7566 * lyxfunc.C: hide cursor before dispatching.
7571 * text3.C: remove explicit cursor hides
7573 2003-05-02 André Pönitz <poenitz@gmx.net>
7575 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7578 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7581 * text2.C: tiny whitespace
7583 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7585 * undo_funcs.C: almost only ws changes.
7587 * ParagraphList.C (splice): just return if pl is empty.
7589 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7591 * ParagraphList.C (splice): new function.
7593 * CutAndPaste.C (pasteSelection): use it
7595 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7597 * CutAndPaste.C (pasteSelection): remove the last next and
7598 previous from this file.
7600 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7602 * CutAndPaste.C (pasteSelection): more clean up, user proper
7603 ParagraphList functions for pasteing.
7605 * ParagraphList.C (insert): new function, three arg insert
7607 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7609 * ParagraphList.C (insert): new function, three arg insert
7611 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7614 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7616 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7618 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7620 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7622 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7624 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7625 (copySelection): clean up a bit.
7626 (pasteSelection): use make_pair
7628 * ParagraphList.C (ParagraphList): implement copy constructor
7629 (operator=): implement, base on copy constructor.
7632 * paragraph.C (erase): return a bool
7634 * paragraph_pimpl.C (erasePos): remove function, move contents...
7635 (erase): ... here. Return a bool.
7636 (erase): call erase instead of erasePos.
7638 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7640 * ParagraphList.h: define PitPosPair
7641 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7642 ParagraphList, fix a bug on pasting multiple pars
7643 * text2.C: change interface to C&P
7645 2003-04-30 André Pönitz <poenitz@gmx.net>
7647 * undo_func.C: revert part of yesterday's patch 2
7649 2003-04-30 John Levon <levon@movementarian.org>
7651 * LColor.C: s/tabular/table/
7653 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7655 * text3.C (dispatch): do not convert iterator -> pointer
7656 * undo_funcs.C (setCursorParUndo): ditto
7657 * text_funcs.C (transposeChars): ditto
7659 * text2.C (setLayout): ws changes only
7661 * text.C (breakParagraph): do not convert iterator -> pointer
7663 (acceptChange): ditto
7664 (rejectChange): ditto
7669 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7672 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7674 * text3.C (gotoInset): YABG (yet another bad getChar)
7676 2003-04-29 André Pönitz <poenitz@gmx.net>
7678 * paragraph.h: make operator= private unimplemented as long as
7681 * ParagraphList.C: whitespace
7684 * paragraph_pimpl.[Ch]:
7685 * paragraph_funcs.C:
7687 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7690 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7692 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7694 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7695 * paragraph.[Ch] (erase):
7696 * paragraph_pimpl.[Ch] (erase): change return type and value
7697 * text2.C (cutSelection): some rework
7699 2003-04-28 John Levon <levon@movementarian.org>
7701 * bufferlist.C: changes for unsaved changes dialog
7703 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7705 * bufferlist.C (newFile): set language (messages_) for new
7708 * buffer.C (readFile): ws changes only.
7710 2003-04-28 André Pönitz <poenitz@gmx.net>
7715 * BufferView_pimpl.C:
7716 * BufferView.C: getParFromID related ParagraphList::iterator changes
7718 2003-04-28 André Pönitz <poenitz@gmx.net>
7720 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7723 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7725 * messages.C: remove one more localedir class variable.
7727 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7729 * messages.C (getLocaleDir): singleton generation function
7731 (Messages): add a default constructor.
7733 * main.C (main): do not setup localedir here, do not call
7736 * gettext.C (_): use it.
7737 (gettext_init): delete funciton
7739 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7741 * gettext.C (getLyXMessages): new singleton generating function.
7743 * buffer.C (updateDocLang): adjust
7745 * Makefile.am (messages.o): add target
7746 (main.o): remove target
7748 2003-04-27 John Levon <levon@movementarian.org>
7753 * lyxvc.C: specify cancel button in Alert::prompt
7755 2003-04-26 John Levon <levon@movementarian.org>
7760 * LyXAction.C: add LFUN_INSET_SETTINGS
7762 * lyxfunc.C: don't enable tabular-feature when there's
7763 just any locking inset
7765 2003-04-26 John Levon <levon@movementarian.org>
7767 * bufferlist.C: re-add Cancel to buffer close question
7769 * lyxfunc.C: fix import UI a bit
7771 2003-04-25 John Levon <levon@movementarian.org>
7773 * gettext.C: remove the broken asserts for now
7775 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7777 * messages.C: make case where setlocale cannot comply work better.
7779 * buffer.C (updateDocLang): new function
7780 (changeLanguage): use it
7783 * text2.C (setCounter): use B_ a bit.
7785 * lyxlayout.C (Read): be sure to trim the label strings.
7787 * messages.C (Messages): fix typo in comment
7789 * buffer.C (readFile): set message_ after file is loaded.
7790 (makeDocBookFile): remove double return
7791 (changeLanguage): reset message_ upon language change.
7792 (B_): new func, use this to get translated buffer strings.
7794 * main.C: add myself and Jean Marc as authors.
7796 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7798 * messages.[hC]: pimplify Messages, and three different pimpls to be
7799 used in different circumstances.
7801 * gettext.[Ch]: change for use with new message code.
7803 2003-04-24 André Pönitz <poenitz@gmx.net>
7805 * factory.C: support for eqref
7807 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7809 * messages.[Ch]: add missing char
7811 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7813 * messages.[Ch]: New files
7815 2003-04-18 John Levon <levon@movementarian.org>
7819 * BufferView_pimpl.C:
7823 * text2.C: remove layout-copy/paste (bug 778)
7825 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7827 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7829 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7831 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7832 if they succeed. Act accordingly.
7834 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7836 * text2.C (setCharFont): adjust
7837 (setCounter): adjust
7838 (insertStringAsLines): adjust
7840 * text.C (leftMargin): adjust
7841 (setHeightOfRow): adjust
7843 * rowpainter.C (paintFirst): adjust
7846 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7848 (isFirstInSequence): ditto
7849 (getEndLabel): ditto
7852 * paragraph.C (getParLanguage): comment out some hard stuff.
7854 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7856 (simpleDocBookOnePar): ditto
7857 (makeDocBookFile): use ParagraphList::iterator
7859 * CutAndPaste.C (pasteSelection): adjust
7861 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7863 * text2.C (getFont): adjust
7864 (getLayoutFont): adjust
7865 (getLabelFont): adjust
7867 * paragraph_funcs.C (TeXOnePar): adjust
7869 * buffer.C (simpleLinuxDocOnePar): adjust
7870 (simpleDocBookOnePar): adjust
7872 * CutAndPaste.C (pasteSelection): adjust
7874 * BufferView.C (getEncoding): adjust
7876 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7878 2003-04-16 John Levon <levon@movementarian.org>
7880 * lyxfind.C: use parlist stuff for search/changes
7882 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7884 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7886 * text2.C (deleteEmptyParagraphMechanism): adjust
7888 * text2.[Ch] (ownerParagraph): delete func (both of them
7890 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7892 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7894 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7896 * ParagraphList.C: prepare for NO_NEXT
7898 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7900 * text2.C (getFont): adjust
7901 (getLayoutFont): adjust
7902 (getLabelFont): adjust
7904 * paragraph.C (getFont): adjust
7905 (getLabelFont): adjust
7906 (getLayoutFont): adjust
7908 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7910 2003-04-15 John Levon <levon@movementarian.org>
7914 * lyx_main.C: handle Include in .ui files
7916 2003-04-15 John Levon <levon@movementarian.org>
7918 * MenuBackend.C: make the doc files length shorter
7921 * ToolbarBackend.C: handle toolbar placement flags,
7924 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7926 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7929 * paragraph_funcs.C (TeXOnePar): adjust
7931 * paragraph.C (getLabelFont): add outerfont arg, adjust
7932 (getLayoutFont): ditto
7933 (simpleTeXOnePar): adjust
7935 * paragraph_pimpl.C (realizeFont): delete func
7937 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7939 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7940 row argument, constify cur argument.
7942 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7944 * text2.C (getFont): adjust
7945 (getLayoutFont): adjust
7946 (getLabelFont): adjust
7948 * paragraph_funcs.C (TeXOnePar): adjust
7949 (outerFont): new func...
7950 (realizeFont): ...moved out from here, changed this to facilitate
7953 * paragraph.C (getFont): take outerfont as arg, adjust
7954 (simpleTeXOnePar): add outerfont arg, adjust
7956 * buffer.C (simpleLinuxDocOnePar): adjust
7957 (simpleDocBookOnePar): adjust
7959 * CutAndPaste.C (pasteSelection): adjust
7961 * BufferView.C (getEncoding): adjust
7963 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7965 * text2.C (setCharFont): adjust
7966 (setCounter): adjust
7968 * text.C (leftMargin): adjust
7969 (setHeightOfRow): adjust
7971 * rowpainter.C (paintFirst): adjust
7974 * paragraph_pimpl.C (realizeFont): adjust
7976 * paragraph.C (isFirstInSequence): move from here...
7977 * paragraph_funcs.C (isFirstInSequence): ...to here
7979 * paragraph.C (outerHook): move from here...
7980 * paragraph_funcs.C (outerHook): ...to here
7982 * paragraph.C (depthHook): move from here...
7983 * paragraph_funcs.C (depthHook): ...to here
7985 * paragraph.C (getEndLabel): move from here...
7986 * paragraph_funcs.C (getEndLabel): ...to here
7988 * text2.C (realizeFont): move from here...
7989 * paragraph_funcs.C (realizeFont): ...to here
7991 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7993 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7995 2003-04-14 Angus Leeming <leeming@lyx.org>
7997 * LColor.[Ch]: scrap LColor mathcursor.
7999 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8001 * lyxlex.[Ch] (text): delete function
8002 * trans.C (Load): adjust
8003 * paragraph_funcs.C (readParToken): adjust
8005 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8007 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8008 vector<char> instead of a char[].
8010 * lyxlex_pimpl.C (getString): adjust
8012 (lex): use getString
8016 * lyxlex.C (text): use pimpl_->getString()
8020 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8022 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8023 (makeFontEntriesLayoutSpecific): temp var for par.size()
8024 (setLayout): temp var for ownerParagraphs().end()
8025 (fullRebreak): temp var for rows().end()
8026 (selectionAsString): temp var for boost::next(startpit), realize
8027 that the while really is a regular for loop.
8028 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8029 setCursor in one place.
8030 (setParagraph): temp vr for ownerParagraphs().end()
8031 (updateCounters): make the while loop a for loop
8032 (cutSelection): temp var for ownerParagraphs().end()
8033 (updateInset): make the do {} while() a regular for loop
8034 (getCursorX): use temp vars
8035 (setCurrentFont): use temp vars
8036 (getColumnNearX): use temp vars
8038 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8040 * text.C (transformChar): use temp var for getChar
8041 (computeBidiTables): use temp var for row->par()
8042 (fill): move temp vars for row->par() and pit->layout() earlier in
8044 (labelFill): use temp var for row->par()
8045 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8046 asc and desc, realize that pit never changes and that firstpit is
8047 just a duplicate and not needed. Exchange rit->par() with pit in a
8049 (breakAgain): use a temp var for boost::next(rit)
8050 (breakAgainOneRow): ditto
8051 (breakParagraph): use a temp var for rows().begin()
8052 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8053 (cursorRightOneWord): use temp var for cursor.par() and
8054 cursor.pos(), remove usage of tmpcursor.
8055 (cursorLeftOneWord): use temp var for cursor.par() and
8056 cursor.pos() only set cur at end of function.
8058 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8060 * text.C, text2.C: exchange all usage of Paragraph::next with
8061 boost::next(ParagraphList::iterator)
8063 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8065 * text2.C (cursorTop): simplify implementation
8066 (cursorBottom): ditto
8067 (setParagraph): use ParagraphList::iterator
8068 (setCurrentFont): adjust
8069 (getColumnNearX): adjust
8070 (cursorRight): adjust
8071 (cursorLeft): remove usage of Paragraph::previous
8072 (cursorUpParagraph): ditto
8073 (deleteEmptyParagraphMechanism): slight cleanup
8075 * text.C (isBoundary): take a Paragraph const & instead of a
8077 (addressBreakPoint): ditto
8078 (leftMargin): remove usage of Paragraph::previous.
8079 (setHeightOfRow): ditto
8080 (cursorLeftOneWord): ditto
8081 (selectNextWordToSpellcheck): ditto
8084 (breakParagraph): remove one usage of Paragraph::next
8085 (redoParagraph): ditto
8086 (acceptChange): ditto
8087 (insertChar): adjust
8088 (rowBreakPoint): adjust
8090 * bufferview_funcs.C (toggleAndShow): adjust
8092 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8094 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8095 methods to access it.
8097 * text.C: Added updateRowPositions to compute all row positions.
8098 Make top_y and getRowNearY() to use the cached y position
8100 2003-04-11 John Levon <levon@movementarian.org>
8102 * text.C (rowBreakPoint): reintroduce the labelEnd
8103 checks, code copied from the row fill stuff. Deep voodoo.
8105 * text.C (fill): add a comment and debugging for the
8108 2003-04-11 John Levon <levon@movementarian.org>
8110 * text.C: make sure fullrow insets get wrapped to the next line,
8111 even when they're in a manual label
8113 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8115 * text2.C (insertParagraph): make it take ParagraphList::iterator
8117 (setLayout): make it return ParagraphList::iterator
8118 (redoParagraphs): ditto
8120 (checkParagraph): ditto
8122 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8124 * text2.C: adjust several funcs.
8125 (realizeFont): take a ParagraphList::iterator as arg.
8126 (getLayoutFont): ditto
8127 (getLabelFont): ditto
8128 (setCharFont): ditto
8130 * text.C: adjust several funcs.
8132 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8134 * text.C (selectNextWordToSpellcheck): don't accidentally
8137 2003-04-10 John Levon <levon@movementarian.org>
8139 * ToolbarBackend.C (getIcon): special handling for
8142 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8144 * text2.C (cursorRight): a getChar assert fixed
8146 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8148 * text2.C (getFont): change to take a ParagraphList::iterator
8149 instead of Paragraph*
8150 Adjust several functions.
8152 * text.C (transformChar): change to take a ParagraphList::iterator
8153 instead of Paragraph*
8154 (singleWidth): ditto
8155 Adjust several functions.
8157 * rowpainter.C: adjust several functions
8158 * rowpainter.h:store a ParagraphList::iterator and not a
8162 2003-04-09 John Levon <levon@movementarian.org>
8167 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8168 and the "help" bits as well
8170 2003-04-09 John Levon <levon@movementarian.org>
8173 * ToolbarBackend.C: allow multiple toolbars
8175 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8177 * undo_funcs.C (setCursorParUndo): adjust
8179 * text_funcs.C (transposeChars): adjust
8181 * text3.C (gotoNextInset): adjust
8184 * text2.C (setLayout): adjust
8185 (changeDepth): adjust
8187 (redoParagraphs): adjust
8188 (selectionAsString): adjust
8189 (setParagraph): adjust
8190 (insertInset): adjust
8191 (cutSelection): adjust
8192 (copySelection): adjust
8193 (pasteSelection): adjust
8194 (insertStringAsLines): adjust
8195 (updateInset): adjust
8196 (setCursor): change to take a ParagraphList::iterator parameter
8197 (setCursorIntern): change to take a ParagraphList::iterator parameter
8198 (setCurrentFont): adjust
8199 (cursorLeft): adjust
8200 (cursorRight): adjust
8201 (deleteEmptyParagraphMechanism): adjust
8203 * text.C (breakParagraph): adjust
8204 (insertChar): adjust
8205 (acceptChange): adjust
8206 (rejectChange): adjust
8207 (selectNextWordToSpellcheck): adjust
8208 (changeCase): adjust
8212 * lyxfind.C (SearchForward): adjust
8213 (SearchBackward): adjust
8214 (nextChange): adjust
8216 * lyxcursor.C (par): adjust
8218 * lyxcursor.h: store a ParagraphList::iterator instead of a
8221 * lyx_cb.C (getPossibleLabel): adjust
8223 * bufferview_funcs.C (toggleAndShow): adjust
8225 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8228 * BufferView.C (removeAutoInsets): adjust
8229 (lockedInsetStoreUndo): adjust
8231 2003-04-09 John Levon <levon@movementarian.org>
8233 * ToolbarBackend.C: try icon without argument
8234 if with argument fails
8236 2003-04-08 John Levon <levon@movementarian.org>
8239 * ToolbarBackend.C: add getIcon(), handle tooltip,
8240 and change from "Icon" to "Item".
8242 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8244 * BufferView.C (lockInset): another bad getchar crunched
8246 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8248 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8251 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8253 * lyxfind.C (searchForward, searchBackwards): bug 782
8255 2003-04-07 John Levon <levon@movementarian.org>
8257 * paragraph.C: remove dead comment
8259 * text.C: remove troublesome depth-fiddling code
8260 in leftMargin() and rightMargin() (bug 1017)
8262 * text.C: fix breaking of rows in nested lists
8265 * text2.C (updateCounters): fix up depth values
8268 2003-04-07 John Levon <levon@movementarian.org>
8270 * BufferView_pimpl.C: clear message when doc finishes resizing,
8271 and after a mouse event
8273 * lyxfunc.C: clear message after exiting inset
8275 2003-04-07 John Levon <levon@movementarian.org>
8277 * bufferview_funcs.C: show math status not outside
8278 status in the statusbar
8280 2003-04-07 John Levon <levon@movementarian.org>
8282 * lyxfunc.C: note status changed after a depth change
8284 2003-04-04 Angus Leeming <leeming@lyx.org>
8286 * LaTeX.h: move AuxInfo operator==, != out of line.
8287 Remove LaTeX virtual destructor; nothing derives from it.
8288 Move operator()() out of public area and rename it startscript().
8289 Change protected for private.
8291 2003-04-04 Angus Leeming <leeming@lyx.org>
8294 * text2.C: remove unneeded #includes.
8296 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8298 * text2.C (dEPM): fix the heigth of the next row
8300 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8302 * text.C: squashed an invalid getChar requester + some ws changes
8304 2003-04-03 John Levon <levon@movementarian.org>
8306 * bufferview_funcs.h:
8307 * bufferview_funcs.C:
8310 * text2.C: make getStatus work for the env depth lfuns
8312 2003-04-03 John Levon <levon@movementarian.org>
8314 * bufferview_funcs.h:
8315 * bufferview_funcs.C:
8318 * text2.C: parlistize decDepth(), by merging it with incDepth()
8320 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8322 * lyxrow.h: store a ParagraphList::iterator instead of a
8323 Paragraph* and adjust other class functions to suit.
8325 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8328 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8330 * text2.C (setCursor): do not anchor to cursor row for the time being
8332 2003-04-02 John Levon <levon@movementarian.org>
8339 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8341 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8343 * paragraph.h: make ParagraphList and ParagraphList::iterator
8344 friends of Paragraph.
8346 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8348 * ParagraphList.C: Use the private next_ and previous_ from
8351 2003-04-01 John Levon <levon@movementarian.org>
8355 * Makefile.am: rename, remove defaults gunk
8358 * MenuBackend.C: remove defaults gunk
8361 * Languages.C: remove defaults gunk
8364 * lyx_main.C: error out if files couldn't be found.
8366 2003-04-02 John Levon <levon@movementarian.org>
8368 * text2.C: make incDepth() use parlist
8370 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8372 * undo_funcs.C (firstUndoParagraph): adjust
8374 * text3.C (gotoInset): adjust
8375 (dispatch): adjust, and rewrite loop.
8377 * text2.C (init): adjust, and rewrite loop.
8378 (redoParagraphs): adjust
8379 (updateInset): adjust, and rewrite loop.
8380 (deleteEmptyParagraphMechanism): adjust
8382 * tabular.C (LyXTabular): adjust
8383 (SetMultiColumn): adjust
8386 * lyxtext.[Ch] (ownerParagraph): delete function
8387 (ownerParagraphs): new function returns a ParagraphList.
8389 * BufferView.C (removeAutoInsets): adjust
8390 (insertErrors): adjust
8391 (setCursorFromRow): adjust
8393 2003-04-01 Angus Leeming <leeming@lyx.org>
8395 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8398 2003-04-02 John Levon <levon@movementarian.org>
8404 * text_funcs.C: make transposeChars a free function
8406 * lyxrow_funcs.C: remove wrong comment
8408 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8411 * rowpainter.C: adjust
8416 * lyxrow_funcs. [Ch]: new files
8418 * lyxrow.[Ch]: remove next and previous pointers
8419 (next,previous): remove accessor functions
8420 (isParEnd): move to lyxrow_funcs
8421 (lastPos): move to lyxrow_funcs
8422 (nextRowIsAllInset): move to lyxrow_funcs
8423 (lastPrintablePos): move to lyxrow_funcs
8424 (numberOfSeparators): move to lyxrow_funcs
8425 (numberOfHfills): move to lyxrow_funcs
8426 (numberOfLabelHfills): move to lyxrow_funcs
8427 (hfillExpansion): move to lyxrow_funcs
8431 * bufferview_funcs.C (toggleAndShow): adjust
8433 * RowList.h: Remove class RowList from file leave just a
8436 * RowList.C: delete file
8438 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8441 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8443 * text3.C (cursorPrevious): adjust
8444 (cursorNext): adjust
8447 * text2.C (redoHeightOfParagraph): adjust
8448 (redoDrawingOfParagraph): adjust
8451 * text.C (breakParagraph): adjust
8452 (insertChar): adjust
8455 * rowpainter.C (RowPainter): adjust
8456 (leftMargin): simplify and adjust
8457 (most rowpainter functions): adjust.
8459 * rowpainter.h: store the row as RowList::iterator not as Row*
8461 * lyxcursor.C (row): taka RowList::iterator as arg
8464 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8467 2003-04-01 Angus Leeming <leeming@lyx.org>
8469 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8470 stuff like bool Bool.
8472 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8474 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8477 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8479 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8482 * lyxtext.h (rows): drop one version and leve a const variant that
8483 returns a RowList::iterator.
8485 2003-03-31 Angus Leeming <leeming@lyx.org>
8487 * text.C (fill): ensure that the signature is the same as that in the
8490 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8492 * text2.C (redoParagraphs): adjust
8493 (updateCounters): adjust
8494 (checkParagraph): adjust
8495 (getColumnNearX): adjust and reformat a bit.
8497 * text.C (top_y): adjust
8499 (leftMargin): adjust
8500 (prepareToPrint): adjust
8502 (getRowNearY): adjust
8504 * lyxtext.h: make rowlist_ mutable.
8506 * RowList.h: add const_iterator
8507 * RowList.C: adjust for RowList::const_iterator.
8509 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8512 2003-03-31 John Levon <levon@movementarian.org>
8515 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8517 * lyx_main.C: set default fonts from using lyx_gui funcs
8519 * exporter.C: pdf_mode moved from lyxrc
8522 * lyxfunc.C: changes from above
8524 2003-03-31 John Levon <levon@movementarian.org>
8526 * lyx_main.C: fix to the last fix
8528 2003-03-31 John Levon <levon@movementarian.org>
8530 * bufferlist.C: "Load original" -> "Load Original"
8536 * format.C: more Alert cleanups
8538 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8540 * text2.C (removeParagraph): make it take a RowList::iterator as
8542 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8543 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8545 * text.C (anchor_row): make it take a RowList::iterator as arg,
8547 (computeBidiTables): make it take a const reference to Row instead
8548 of Row pointer, adjust.
8549 (leftMargin): make it take a RowList::iterator as arg, adjust.
8550 (rowBreakPoint): adjust
8551 (breakAgainOneRow): make it take a RowList::iterator as arg,
8553 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8555 * bufferview_funcs.C (toggleAndShow): adjust
8557 2003-03-30 John Levon <levon@movementarian.org>
8561 * boost-inst.C: moved to support
8563 * several files: changes as a result
8565 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8567 * text2.C (LyXText): adjust.
8569 (removeRow): make it take a RowList::iterator as arg, adjust.
8570 (fullRebreak): adjust
8571 (deleteEmptyParagraphMechanism): adjust
8572 (clearPaint): adjust
8575 * text.C (top_y): adjust
8576 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8577 (breakAgain): make it take a RowList::iterator as arg, adjust.
8578 (breakParagraph): adjust
8579 (insertChar): adjust
8582 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8583 need_break_row, and refresh_row.
8585 * text3.C (dispatch): adjust
8587 * text2.C (checkParagraph): adjust
8589 (setCursorFromCoordinates): adjust
8591 * text.C (top_y): adjust
8593 (getRow): make it return a RowList::iterator, adjust
8594 (getRowNearY): make it return a RowList::iterator, adjust
8596 * text2.C (init): adjust
8597 (insertRow): remove function
8598 (insertParagraph): adjust
8599 (redoParagraphs): adjust
8600 (fullRebreak): adjust
8601 (updateCounters): adjust
8603 * text.C (top_y): rewrite to use RowList iterators.
8605 (setHeightOfRow): rewrite to sue RowList iterators.
8606 (appendParagraph): adjust
8607 (breakAgain): adjust
8608 (breakAgainOneRow): adjust
8609 (breakParagraph): adjust
8611 (getRowNearY): adjust, and remove commented code.
8613 * lyxtext.h (firstRow): delete function
8614 (lastRow): delete function
8615 (rows): new function (const and non-const versions.)
8616 (insertRow): delete function
8618 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8620 2003-03-29 John Levon <levon@movementarian.org>
8622 * BufferView_pimpl.C: always update scrollbar top
8623 because pasting text when we're anchored could mean we
8624 miss an update altogether
8626 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8628 * text2.C (init): use rowlist_.end() and not 0.
8629 (insertRow): change to take a RowList::iterator as arg, adjust
8631 (insertParagraph): change to take a RowList::iterator as arg,
8633 (redoParagraphs): remove some debug msgs.
8635 * text.C (appendParagraph): change to take a RowList::iterator
8636 arg, adjust for this.
8637 (breakAgain): add an assert
8638 (breakAgainOneRow): ditto
8640 2003-03-29 John Levon <levon@movementarian.org>
8642 * text2.C: do not clear selection after inc/decDepth
8645 2003-03-29 John Levon <levon@movementarian.org>
8648 * buffer.C: fix broken strerrors according to Lars
8650 2003-03-29 John Levon <levon@movementarian.org>
8652 * converters.C: more Alert cleanups
8654 2003-03-29 John Levon <levon@movementarian.org>
8656 * bufferview_funcs.C: remove pointless Alert
8658 * buffer.C: fix confusing error message when
8659 a template is chmoded 000
8661 2003-03-29 John Levon <levon@movementarian.org>
8665 * BufferView_pimpl.C: Alert fixes
8669 * tabular-old.C: remove unused table compat reading
8671 2003-03-29 John Levon <levon@movementarian.org>
8676 * lyx_cb.C: more Alert cleanups
8678 * lyxfunc.C: don't allow chktex if not latex document
8680 2003-03-29 John Levon <levon@movementarian.org>
8684 * buffer.C: warnings pushed down from support/,
8687 2003-03-29 John Levon <levon@movementarian.org>
8689 * lyxfunc.C: safety check for C-r (revert)
8691 2003-03-29 John Levon <levon@movementarian.org>
8694 * bufferlist.C: several UI fixes using Alert::prompt.
8695 Fix the pointless looping quit code. Fix stupid revert
8700 * lyx_cb.C: use Alert::prompt
8702 * lyx_main.C: remove a silly question
8704 * lyxfunc.C: remove a couple of silly questions,
8707 2003-03-28 John Levon <levon@movementarian.org>
8709 * text2.C: fix bug 974 (End on empty par)
8711 2003-03-28 John Levon <levon@movementarian.org>
8713 * BufferView_pimpl.C:
8715 * lfuns.h: remove do-nothing math greek lfuns
8717 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8719 * lyxgluelength.h (isValidGlueLength): add default arg on
8720 parameter 2. Remove default arg from friend in class.
8722 * lyxlength.h (isValidLength): add default arg on parameter 2.
8723 Remove default arg from friend in class.
8725 * text2.C (LyXText): adjust, initialize refresh_row.
8729 (insertParagraph): adjst
8730 (redoParagraphs): adjust
8731 (fullRebreak): adjust
8732 (updateCounters): adjust
8733 (deleteEmptyParagraphMechanism): first attempt at fixing a
8736 * text.C (top_y): adjust
8737 (setHeightOfRow): adjust
8739 (getRowNearY): adjust
8741 * lyxtext.h: include RowList.h
8742 (~LyXText): not needed anymore, deleted.
8743 (firstRow): modify for RowList
8744 (lastRow): new function
8745 Delete firstrow and lastrow class variables, add a Rowlist
8746 rowlist_ class variable.
8748 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8751 * RowList.C (insert): fix case where it == begin().
8753 2003-03-26 Angus Leeming <leeming@lyx.org>
8755 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8756 the thesaurus dialog.
8758 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8760 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8762 * RowList.[Ch]: new files
8764 * ParagraphList.C (erase): handle the case where it == begin
8767 2003-03-25 John Levon <levon@movementarian.org>
8771 * aspell.C: add new aspell support
8774 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8777 2003-03-25 Angus Leeming <leeming@lyx.org>
8780 * LyXAction.C (init): new LFUN_INSET_INSERT.
8782 * BufferView_pimpl.C (dispatch): split out part of the
8783 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8785 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8788 2003-03-25 Angus Leeming <leeming@lyx.org>
8790 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8792 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8795 * text3.C: remove useless row->height(0)
8797 2003-03-25 John Levon <levon@movementarian.org>
8801 * text3.C: rename the refreshing stuff to better names
8803 2003-03-24 John Levon <levon@movementarian.org>
8805 * BufferView_pimpl.h:
8806 * BufferView_pimpl.C: update layout choice on a mouse
8809 2003-03-23 John Levon <levon@movementarian.org>
8811 * Makefile.am: fix commandtags.h reference
8813 2003-03-22 John Levon <levon@movementarian.org>
8815 * BufferView_pimpl.C:
8820 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8822 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8825 * text.C: take the rtl methods out of line
8827 2003-03-21 André Pönitz <poenitz@gmx.net>
8829 * metricsinfo.[Ch]: new files containing structures to be passed around
8830 during the two-phase-drawing...
8832 2003-03-21 André Pönitz <poenitz@gmx.net>
8834 * lyxtextclass.C: read 'environment' tag.
8836 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8838 * text2.C (removeRow): fix bug 964
8840 2003-03-20 John Levon <levon@movementarian.org>
8844 * text2.C: paint cleanups. Inset::update() dropped font
8847 2003-03-19 John Levon <levon@movementarian.org>
8849 * lyxfunc.C: only fitcursor/markDirty if available()
8851 2003-03-19 John Levon <levon@movementarian.org>
8853 * commandtags.h: rename to ...
8855 * lfuns.h: ... this, and renumber / cleanup
8857 2003-03-19 John Levon <levon@movementarian.org>
8859 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8860 fit the cursor after an lfun
8864 * BufferView_pimpl.h:
8865 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8867 * LyXAction.C: layout-character should have ReadOnly
8869 * ParagraphParameters.C:
8871 * bufferview_funcs.C:
8878 * undo_funcs.C: changes from above
8880 2003-03-18 John Levon <levon@movementarian.org>
8882 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8883 remove it from update()
8885 * lyxfunc.C: update layout choice after an lfun
8887 * text3.C: remove extra updateLayoutChoice()s
8889 2003-03-18 John Levon <levon@movementarian.org>
8891 * text.C: top_y change means full repaint, fix
8892 a drawing bug with cursor movement
8894 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8898 * text2.C: anchor row on setCursor
8900 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8902 * lyxtext.h: remove almost all mutable keywords
8905 * text3.C: remove const keywords accordingly
8907 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8909 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8911 (TeXEnvironment): ditto
8914 2003-03-17 John Levon <levon@movementarian.org>
8916 * text.C (rowBreakPoint): remove attempt to fix displayed
8917 math insets inside a manual label
8919 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8921 * lyxtext.h: remove BufferView* as first arg from almost all class
8923 * other files: adjust.
8925 2003-03-17 John Levon <levon@movementarian.org>
8929 * text2.C: more paint cleanups
8931 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8934 * rowpainter.C: remove "smart" background painting code
8936 2003-03-16 John Levon <levon@movementarian.org>
8941 * text3.C: add helper functions for setting refresh_row/y
8943 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8945 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8946 newline inset which *can* get inserted in the pass_thru layouts.
8947 This is primarily for literate documents.
8949 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8951 * buffer.C: increment LYX_FORMAT to 223
8953 2003-03-14 André Pönitz <poenitz@gmx.net>
8955 * textclass.h: prepare for environment handling, ws changes
8956 * lyxlayout.C: read latexheader and latexfooter tags
8958 2003-03-14 John Levon <levon@movementarian.org>
8960 * text2.C: rewrite ::status() a bit
8962 2003-03-13 John Levon <levon@movementarian.org>
8964 * lyxtext.h: add some docs
8966 2003-03-13 John Levon <levon@movementarian.org>
8971 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8973 2003-03-13 John Levon <levon@movementarian.org>
8975 * text3.C: fix appendix redrawing
8977 2003-03-13 John Levon <levon@movementarian.org>
8979 * text.C (setHeightOfRow):
8981 * rowpainter.C: make appendix mark have the text
8982 "Appendix" so the user knows what it is
8985 * LColor.C: s/appendixline/appendix/ from above
8987 2003-03-13 John Levon <levon@movementarian.org>
8989 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8991 * text.C: fix a getChar(pos) bug properly
8993 2003-03-13 Angus Leeming <leeming@lyx.org>
8996 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8997 Probably only temporary. Let's see how things pan out.
8999 * BufferView.C (unlockInset):
9000 * BufferView_pimpl.C (fitCursor):
9001 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9003 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9004 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9006 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9007 new functions that convert ParagraphParameters to and from a string.
9009 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9010 BufferView::Pimpl's dispatch.
9011 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9013 2003-03-13 André Pönitz <poenitz@gmx.net>
9017 * factory.C: make it aware of InsetEnv
9019 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9021 * text2.C (setCursor): never ask for one past last
9022 (setCursor): add some debugging messages.
9024 * text.C (singleWidth): never ask for one past last
9025 (singleWidth): ditto
9027 (rightMargin): ditto
9028 (rowBreakPoint): ditto
9029 (setHeightOfRow): ditto
9030 (prepareToPrint): ditto
9032 * rowpainter.C (paintBackground): never ask for one past last
9033 (paintText): never ask for one past last
9035 * paragraph_pimpl.C (getChar): make the assert stricter, never
9036 allow the one past last pos to be taken
9038 * paragraph.C (getChar): ws changes only
9040 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9041 (numberOfSeparators): ditto
9042 (numberOfHfills): ditto
9044 2003-03-12 John Levon <levon@movementarian.org>
9050 * paragraph_funcs.C: fix per-buffer authorlists
9052 2003-03-12 John Levon <levon@movementarian.org>
9054 * text.C: fix newline in right address
9056 2003-03-12 Angus Leeming <leeming@lyx.org>
9058 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9059 duplicate those in LyXFunc::dispatch.
9063 * ToolbarDefaults.C:
9064 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9065 Add LFUN_FONTFREE_UPDATE.
9067 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9068 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9070 * bufferview_func.[Ch]: several new functions to facilliate
9071 transfer of data to and from the character dialog.
9073 2003-03-12 John Levon <levon@movementarian.org>
9078 * paragraph_funcs.C:
9079 * paragraph_pimpl.C:
9083 * text3.C: remove META_NEWLINE in favour of an inset
9086 * rowpainter.C: remove paintNewline (done by inset)
9088 2003-03-12 John Levon <levon@movementarian.org>
9090 * paragraph_pimpl.C: complain about bad getChar()s
9091 for a while at least
9093 2003-03-12 John Levon <levon@movementarian.org>
9096 * buffer.C: move paragraph read into a separate function,
9097 a little renaming to reflect that.
9100 * bufferparams.C: remove the author_ids map, not necessary now
9103 * factory.C: moved Buffer::readInset to here
9105 * paragraph_funcs.h:
9106 * paragraph_funcs.C: readParagraph free function moved from
9109 * tabular.C: name change
9111 2003-03-12 John Levon <levon@movementarian.org>
9114 * ParagraphParameters.C: move par params input to
9117 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9118 behave like a normal read from the stream wrt reading
9119 a line vs. a \\token
9121 2003-03-12 John Levon <levon@movementarian.org>
9124 * ParagraphParameters.h:
9125 * ParagraphParameters.C: move output code to a
9128 2003-03-12 John Levon <levon@movementarian.org>
9130 * BufferView.C (insertLyXFile):
9133 * tabular.C: use a parlist iterator for creating the
9136 2003-03-12 John Levon <levon@movementarian.org>
9138 * buffer.C: make current_change static local not
9141 2003-03-12 John Levon <levon@movementarian.org>
9143 * buffer.C: fix insertStringAsLines for change tracking
9145 2003-03-12 John Levon <levon@movementarian.org>
9152 * bufferparams.C: move author list into params. Rename some
9153 functions. Move the header reading into a separate token
9154 loop. Move the header token reading into BufferParams.
9156 2003-03-12 John Levon <levon@movementarian.org>
9158 * changes.C: put debug inside lyxerr.debugging() checks
9160 2003-03-11 André Pönitz <poenitz@gmx.net>
9162 * factory.C: make it aware of InsetHFill
9164 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9166 * buffer.C (latexParagraphs): move function from here...
9167 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9170 2003-03-10 Angus Leeming <leeming@lyx.org>
9172 * LyXAction.C (init): fix bug in poplating array with multiple entries
9173 with the same LFUN (spotted by JMarc).
9175 2003-03-10 John Levon <levon@movementarian.org>
9178 * text2.C: move getColumnNearX() near its
9181 2003-03-10 John Levon <levon@movementarian.org>
9183 * text.C: fix break before a minipage
9185 2003-03-10 John Levon <levon@movementarian.org>
9187 * text.C: fix the last commit
9189 2003-03-09 John Levon <levon@movementarian.org>
9193 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9194 bug 365 (don't break before insets unless needed). Don't
9195 return a value > last under any circumstances.
9197 2003-03-09 Angus Leeming <leeming@lyx.org>
9199 * BufferView_pimpl.C (trackChanges, dispatch): call
9200 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9202 2003-03-09 Angus Leeming <leeming@lyx.org>
9204 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9205 than Dialogs::showAboutlyx().
9207 2003-03-09 Angus Leeming <leeming@lyx.org>
9209 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9210 than Dialogs::showTabularCreate().
9212 2003-03-09 John Levon <levon@movementarian.org>
9216 * text2.C: 3rd arg to nextBreakPoint was always the same.
9219 2003-03-08 John Levon <levon@movementarian.org>
9226 * text2.C: Remove the "main" bit from the "main body"
9229 2003-03-08 John Levon <levon@movementarian.org>
9231 * text.C (leftMargin): The left margin of an empty
9232 manual label paragraph should not include the label width
9235 * text.C (prepareToPrint): don't attempt to measure hfills
9236 for empty manual label paragraphs - the answer should be 0
9238 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9240 * CutAndPaste.C: remove commented code and reindent.
9242 2003-03-08 John Levon <levon@movementarian.org>
9245 * lyxfunc.C: move reloadBuffer()
9248 * BufferView.C: to here
9250 * lyxvc.C: add comment
9253 * vc-backend.C: call bv->reload() to avoid
9254 getStatus() check on MENURELOAD
9256 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9258 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9259 to an old format .dep file.
9261 2003-03-07 Angus Leeming <leeming@lyx.org>
9263 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9264 when the LFUN_MOUSE_RELEASE should have been handled by
9265 inset->localDispatch.
9267 2003-03-07 Angus Leeming <leeming@lyx.org>
9269 * BufferView_pimpl.C (dispatch):
9270 * LyXAction.C (init):
9271 * ToolbarDefaults.C (init):
9273 * lyxfunc.C (getStatus):
9274 remove LFUN_INSET_GRAPHICS.
9276 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9278 2003-03-07 Angus Leeming <leeming@lyx.org>
9281 * LyXAction.C (init):
9282 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9284 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9287 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9289 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9290 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9292 2003-03-07 Angus Leeming <leeming@lyx.org>
9294 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9297 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9299 * ParagraphList.C (front): new function
9302 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9304 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9305 and top_row_offset_. removed var first_y.
9307 * text2.C (LyXText, removeRow):
9309 * BufferView_pimpl.C:
9310 use these methods instead of using first_y
9312 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9314 * text2.C (pasteSelection): adjust for checkPastePossible
9316 * CutAndPaste.C: remove Paragraph * buf and replace with
9317 ParagraphList paragraphs.
9318 (DeleteBuffer): delete
9319 (cutSelection): change the tc type to textclass_type
9320 (copySelection): change the tc type to textclass_type
9321 (copySelection): adjust for ParagraphList
9322 (pasteSelection): change the tc type to textclass_type
9323 (pasteSelection): adjust for Paragraphlist
9324 (nrOfParagraphs): simplify for ParagraphList
9325 (checkPastePossible): simplify for ParagraphList
9326 (checkPastePossible): remove unused arg
9328 * ParagraphList.C (insert): handle the case where there are no
9331 * CutAndPaste.h: make CutAndPaste a namespace.
9333 * text3.C (dispatch): adjust
9335 * text.C (breakParagraph): add a ParagraphList as arg
9337 * paragraph_funcs.C (breakParagraph): change to take a
9338 BufferParams and a ParagraphList as args.
9339 (breakParagraphConservative): ditto
9340 (mergeParagraph): ditto
9341 (TeXDeeper): add a ParagraphList arg
9342 (TeXEnvironment): ditto
9345 * buffer.C (readLyXformat2): adjust
9346 (insertStringAsLines): adjust
9347 (latexParagraphs): adjust
9349 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9350 (cutSelection): adjust
9351 (pasteSelection): adjust
9353 * BufferView_pimpl.C (insertInset): adjust
9355 2003-03-05 Angus Leeming <leeming@lyx.org>
9358 * LyXAction.C (init):
9359 * BufferView_pimpl.C (dispatch):
9360 * lyxfunc.C (getStatus):
9361 remove LFUN_CHILD_INSERT.
9363 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9365 2003-03-05 Angus Leeming <leeming@lyx.org>
9368 * LyXAction.C (init):
9369 * src/factory.C (createInset):
9370 * lyxfunc.C (getStatus):
9371 * text3.C (dispatch):
9372 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9374 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9376 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9378 * ParagraphList.C (insert): handle insert right before end()
9379 (erase): fix cases where it can be first or last paragraph.
9381 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9383 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9384 Paragraph::next and Paragraph::previous
9387 * text.C (breakParagraph): adjust
9389 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9390 BufferParams& as arg.
9391 (breakParagraph): use ParagraphList::insert
9392 (breakParagraphConservative): take a Buffer* instead of a
9393 BufferParams& as arg.
9394 (breakParagraphConservative): use ParagraphList::insert.
9396 * buffer.C (insertStringAsLines): un-const it
9397 (insertStringAsLines): adjust
9399 * ParagraphList.C (insert): new function
9401 * CutAndPaste.C (pasteSelection): adjust
9403 * text.C (backspace): adjust
9405 * tabular.C (SetMultiColumn): adjust
9407 * CutAndPaste.C (cutSelection): adjust
9408 (pasteSelection): adjust
9410 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9411 Buffer const * as arg
9413 * ParagraphList.C (erase): new function
9414 * paragraph_funcs.C (mergeParagraph): use it
9415 (mergeParagraph): make it take a Buffer* instead of a
9416 BufferParams* as arg
9418 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9420 (breakParagraphConservative): ditto
9422 * paragraph.h: remove the breakParagraph friend
9424 * paragraph.C (eraseIntern): new function
9425 (setChange): new function
9427 * paragraph_funcs.C (mergeParagraph): make it take a
9428 ParagraphList::iterator instead of a Paragraph *, adjust
9431 * paragraph.h: move an #endif so that the change tracking stuff
9432 also works in the NO_NEXT case.
9434 2003-03-04 Angus Leeming <leeming@lyx.org>
9437 * LyXAction.C: new LFUN_INSET_MODIFY.
9439 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9440 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9442 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9444 * several files: ws changes only
9446 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9447 (TeXEnvironment): ditto
9450 * buffer.C (makeLaTeXFile): adjust
9451 (latexParagraphs): make it take ParagraphList::iterator as args
9453 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9455 * buffer.C (latexParagraphs): adjust
9457 * paragraph.C (TeXOnePar): move function...
9458 (optArgInset): move function...
9459 (TeXEnvironment): move function...
9460 * paragraph_pimpl.C (TeXDeeper): move function...
9461 * paragraph_funcs.C: ...here
9463 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9465 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9467 * buffer.C (readInset): remove compability code for old Figure and
9470 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9472 * buffer.C: ws changes
9475 * BufferView_pimpl.C: ditto
9478 * bufferlist.h: ditto
9482 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9484 * converter.[Ch]: split into itself +
9487 * Makefile.am: += graph.[Ch] + format.[Ch]
9494 * lyxrc.C: added #include "format.h"
9496 2003-02-27 Angus Leeming <leeming@lyx.org>
9498 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9501 * factory.C (createInset): add "label" to the factory.
9503 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9504 string and do no more.
9506 2003-02-27 Angus Leeming <leeming@lyx.org>
9509 * LyXAction.C (init):
9510 * factory.C (createInset):
9511 * BufferView_pimpl.C (dispatch):
9512 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9514 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9516 * lyxfunc.C (dispatch):
9517 * text3.C (dispatch): pass name to params2string.
9519 2003-02-26 Angus Leeming <leeming@lyx.org>
9521 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9523 Rearrange the ~includes. Strip out the unnecessary ones.
9525 * factory.C (createInset): reformat.
9526 create new insets for the various LFUN_XYZ_APPLY lfuns.
9528 2003-02-26 John Levon <levon@movementarian.org>
9531 * lyxrow.C: add isParStart,isParEnd helpers
9533 * paragraph.h: make isInserted/DeletedText take refs
9535 * paragraph_funcs.h:
9536 * paragraph_funcs.C: remove #if 0'd code
9541 * text.C: use lyxrow helpers above.
9542 Move draw and paint routines to RowPainter.
9543 Make several methods use refs not pointers.
9544 Make backgroundColor() const.
9545 Add markChangeInDraw(), isInInset().
9546 Merge changeRegionCase into changeCase.
9547 Make workWidth() shouldn't-happen code into an Assert.
9550 * rowpainter.C: new class for painting a row.
9553 * vspace.C: make inPixels take a ref
9555 2003-02-26 Angus Leeming <leeming@lyx.org>
9557 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9560 2003-02-25 John Levon <levon@movementarian.org>
9562 * ispell.C: give the forked command a more accurate name
9564 2003-02-22 John Levon <levon@movementarian.org>
9567 * toc.C: make TocItem store an id not a Paragraph *
9570 2003-02-21 Angus Leeming <leeming@lyx.org>
9572 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9573 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9574 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9575 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9576 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9577 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9579 * BufferView_pimpl.C (dispatch):
9580 * LyXAction.C (init):
9581 * factory.C (createInset):
9582 * lyxfunc.C (getStatus, dispatch):
9583 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9585 2003-02-21 Angus Leeming <leeming@lyx.org>
9587 * BufferView_pimpl.C (MenuInsertLyXFile):
9588 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9589 * lyxfunc.C (menuNew, open, doImport):
9590 no longer pass a LyXView & to fileDlg.
9592 2003-02-21 Angus Leeming <leeming@lyx.org>
9594 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9595 * LyXAction.C: change, BIBKEY to BIBITEM.
9596 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9597 Change InsetBibKey to InsetBibitem.
9598 Change BIBKEY_CODE to BIBITEM_CODE.
9599 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9600 * factory.C: replace insetbib.h with insetbibitem.h.
9601 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9602 * paragraph.C: replace insetbib.h with insetbibitem.h.
9603 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9604 Change bibkey() to bibitem().
9605 * text.C: remove insetbib.h.
9606 * text2.C: replace insetbib.h with insetbibitem.h.
9607 change bibkey() to bibitem().
9608 * text3.C: remove insetbib.h.
9609 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9611 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9613 * lyxrc.C (output): enclose user email in quotes (in case there are
9616 2003-02-18 John Levon <levon@movementarian.org>
9618 * buffer.h: add std::
9620 2003-02-17 John Levon <levon@movementarian.org>
9626 * pspell.C: reworking. Especially in ispell, a large
9627 number of clean ups and bug fixes.
9629 * lyxfunc.C: fix revert to behave sensibly
9631 2003-02-17 André Pönitz <poenitz@gmx.net>
9634 * commandtags.h: new LFUN_INSERT_BIBKEY
9644 * paragraph_func.C: remove special bibkey handling
9646 2003-02-17 John Levon <levon@movementarian.org>
9648 * text.C (Delete): fix case where delete at the end of
9649 the very first paragraph would not merge the pars
9651 2003-02-17 John Levon <levon@movementarian.org>
9653 * lyxrow.C: fix lastPrintablePos()
9655 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9657 * bufferparams.C (writeLaTeX): add a std:here
9659 * buffer.C: and remove a using directive there
9661 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9663 * buffer.C (makeLaTeXFile): move the code that generates the
9666 * bufferparams.C (writeLaTeX): ... in this new method
9668 * LaTeXFeatures.C (getEncodingSet): make const
9669 (getLanguages): make const
9671 * MenuBackend.C (binding): returns the binding associated to this
9673 (add): sets the status of each item by calling getStatus. Adds
9675 (read): add support for OptSubMenu
9676 (expand): remove extra separator at the end of expanded menu
9678 2003-02-15 John Levon <levon@movementarian.org>
9681 * BufferView_pimpl.C:
9683 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9684 inset code that had no actual effect. Remove unneeded status
9687 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9689 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9692 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9694 * text.C (drawLengthMarker): also draw an arrow marker for
9695 symbolic lengths (medskip...)
9697 2003-02-14 John Levon <levon@movementarian.org>
9700 * tabular.C: better method names
9702 2003-02-14 John Levon <levon@movementarian.org>
9704 * BufferView_pimpl.C:
9709 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9710 it's a more accurate name. Remove some pointless uses.
9712 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9714 * text2.C (LyXText): change order of initilizers to shut off
9717 2003-02-14 John Levon <levon@movementarian.org>
9719 * buffer.C: use ParIterator for getParFromID()
9723 * paragraph_pimpl.h:
9724 * paragraph_pimpl.C: remove unused getParFromID()
9726 2003-02-14 John Levon <levon@movementarian.org>
9728 * buffer.C: remove some very old #if 0'd parse code
9730 2003-02-13 John Levon <levon@movementarian.org>
9734 * text2.C: move hfillExpansion(), numberOfSeparators(),
9735 rowLast(), rowLastPrintable(), numberofHfills(),
9736 numberOfLabelHfills() ...
9739 * lyxrow.C: ... to member functions here.
9744 * text.C: remove LyXText::beginningOfMainBody(), and call
9745 p->beginningOfMainBody() directly. Move the check for
9746 LABEL_MANUAL into the latter.
9753 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9759 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9760 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9762 2003-02-13 John Levon <levon@movementarian.org>
9764 * CutAndPaste.C: remove debug
9766 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9768 * paragraph.C (asString): remove two unused variables
9770 * lyxtextclass.C (readTitleType):
9772 (LyXTextClass): handle new members titletype_ and titlename_
9774 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9776 2003-02-09 John Levon <levon@movementarian.org>
9779 * buffer.C: replace hand-coded list with a map for the dep clean
9781 2003-02-08 John Levon <levon@movementarian.org>
9783 * LaTeX.C: consolidate code into showRunMessage() helper
9785 2003-02-08 John Levon <levon@movementarian.org>
9790 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9791 and pass the size in explicitly
9793 * BufferView_pimpl.h:
9794 * BufferView_pimpl.C:
9796 * BufferView.C: add getCurrentChange()
9798 * BufferView_pimpl.h:
9799 * BufferView_pimpl.C: handle change lfuns
9801 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9802 for changes. Mark pasted paragraphs as new.
9804 * support/lyxtime.h:
9805 * support/lyxtime.C:
9806 * DepTable.C: abstract time_t as lyx::time_type
9809 * LColor.C: add colours for new text, deleted text, changebars
9811 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9812 package use "usenames" option.
9816 * LyXAction.C: add change lfuns
9820 * author.C: author handling
9823 * buffer.C: add a per-buffer author list, with first entry as
9824 current author. Handle new .lyx tokens for change tracking. Output
9825 author list to .lyx file. Output dvipost stuff to .tex preamble.
9826 Bump lyx format to 222.
9829 * bufferlist.C: add setCurrentAuthor() to reset current author details
9833 * bufferparams.C: add param for tracking
9835 * bufferview_funcs.C: output change info in minibuffer
9839 * changes.C: add change-tracking structure
9842 * debug.C: add CHANGES debug flag
9845 * lyxfind.C: add code for finding the next change piece
9848 * lyxrc.C: add user_name and user_email
9851 * lyxrow.C: add a metric for the top of the text line
9854 * text.C: implement accept/rejectChange()
9857 * text.C: paint changebars. Paint new/deleted text in the chosen
9858 colours. Strike through deleted text.
9862 * paragraph_pimpl.h:
9863 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9864 in the current change to the insert functions. Rework erase to
9865 mark text as deleted, adding an eraseIntern() and a range-based
9866 erase(). Implement per-paragraph change lookup and
9869 * paragraph_funcs.C: Fixup paste for change tracking.
9871 * tabular.C: mark added row/columns as new.
9873 * text.C: fix rowLast() to never return -1. Don't allow
9874 spellchecking of deleted text. Track transpose changes. Don't
9875 allow paragraph break or merge where appropriate.
9877 * text2.C: leave cursor at end of selection after a cut.
9879 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9881 * text.C (getLengthMarkerHeight):
9882 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9883 visible on screen too.
9885 2003-02-07 John Levon <levon@movementarian.org>
9887 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9889 2003-02-05 Angus Leeming <leeming@lyx.org>
9891 * lyxserver.C (read_ready): revert my patch of 11 September last year
9892 as it sends PC cpu through the roof. Presumably this means that
9893 the lyxserver will no longer run on an Alpha...
9895 2003-01-30 Angus Leeming <leeming@lyx.org>
9897 * factory.C (createInset): create an InsetCommandParam of type "index"
9898 and use it to 'do the right thing'.
9900 * text2.C (getStringToIndex): ensure that cursor position is always
9901 reset to the reset_cursor position.
9903 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9905 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9908 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9912 * lyxfunc.C: Output messages with identical spelling, punctuation,
9915 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9917 * MenuBackend.C (expandFormats): List only viewable export formats
9920 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9923 * lyxfunc.C (getStatus): Make sure that formats other than
9924 "fax" can also be disabled
9926 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9928 * text3.C (dispatch): put the lfuns that insert insets in 3
9929 groups, and call doInsertInset with appropriate arguments.
9930 (doInsertInset): new function, that creates an inset and inserts
9931 it according to some boolean parameters.
9933 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9935 * buffer.C (readFile): remember to pass on 'par' when calling
9936 readFile recursively.
9938 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9940 * MenuBackend.C (expandFormats): add "..." to import formats.
9942 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9944 * paragraph.C (asString): Remove XForms RTL hacks.
9946 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9947 * buffer.C: fix typo
9949 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9951 * Makefile.am (LIBS): delete var
9952 (lyx_LDADD): add @LIBS@ here instead.
9954 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9956 * Clarify the meaning of "wheel mouse jump"
9958 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9960 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9963 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9965 * importer.C (Loaders): do not preallocate 3 elements in the
9966 vector, since one ends up with 6 elements otherwise
9968 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9970 * DepTable.C (write): write the file name as last element of the
9971 .dep file (because it may contain spaces)
9972 (read): read info in the right order
9974 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9976 * paragraph_pimpl.C (simpleTeXBlanks):
9977 (simpleTeXSpecialChars):
9978 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9980 * tabular.C (latex): add some missing case statements. Reindent.
9982 * MenuBackend.C (expandToc): remove unused variable.
9984 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9993 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9996 2003-01-05 John Levon <levon@movementarian.org>
9999 * BufferView.C: add getEncoding()
10002 * kbsequence.C: do not store last keypress
10005 * lyxfunc.C: store last keypress here instead. Pass encoding
10008 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10010 * lyx_main.C (init): remove annoying error message when following
10011 symbolic links (bug #780)
10013 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10015 * text.C (insertChar):
10016 * lyxrc.C (getDescription): remove extra spaces
10018 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10020 * lyxrc.C (getDescription): remove extra spaces
10022 2002-12-20 John Levon <levon@movementarian.org>
10024 * text3.C: hack fix for page up/down across tall rows
10026 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10028 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10031 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10033 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10034 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10035 thesaurus is not compiled in
10037 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10039 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10041 2002-12-16 Angus Leeming <leeming@lyx.org>
10044 * lyx_main.C (init): remove override_x_deadkeys stuff.
10046 2002-12-12 John Levon <levon@movementarian.org>
10048 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10049 insert. Only remove shift modifier under strict
10052 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10054 * MenuBackend.C (expandToc): fix crash.
10056 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10058 * MenuBackend.C (expandToc): gettext on float names.
10060 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10062 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10063 implement bool empty() [bug 490]
10065 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10067 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10069 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10071 * several files: ws changes
10073 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10075 * text2.C (setCounter): clean up a bit, use boost.format.
10076 (updateCounters): initialize par upon declaration.
10078 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10079 if the layout exists. We do not just store the layout any more.
10080 (SwitchLayoutsBetweenClasses): use boost.format
10082 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10084 * converter.C (convert): if from and to files are the same, use a
10085 temporary files as intermediary
10087 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10090 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10092 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10094 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10096 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10098 * tabular.C (asciiPrintCell): use string(size, char) instead of
10101 * sgml.C (openTag): fix order of arguments to string constructor
10104 * lyxfunc.C (dispatch): use boost.format
10106 * lots of files: change "c" -> 'c'
10108 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10110 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10112 2002-11-25 Angus Leeming <leeming@lyx.org>
10114 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10116 * lyx_main.C (init): compile fix.
10118 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10120 * lyx_cb.C (start): boost.formatify
10121 do not include <iostream>
10123 * lengthcommon.C: ws only
10125 * boost-inst.C,BoostFormat.h: add more explict instantations
10127 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10129 * lots of files: handle USE_BOOST_FORMAT
10131 2002-11-21 John Levon <levon@movementarian.org>
10133 * pspell.C: fix compile
10135 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10137 * lyxfunc.C (dispatch): use boost::format
10141 * lyxfont.C (stateText): use boost::format
10143 * lyx_main.C (LyX): use boost::format
10145 (queryUserLyXDir): ditto
10146 (readRcFile): ditto
10148 (typedef boost::function): use the recommened syntax.
10150 * importer.C (Import): use boost::format
10152 * debug.C (showLevel): use boost::format
10154 * converter.C (view): use boost::format
10159 * bufferview_funcs.C (currentState): use boost::format
10161 * bufferlist.C (emergencyWrite): use boost::format
10163 * buffer.C (readLyXformat2): use boost::format
10164 (parseSingleLyXformat2Token): ditto
10166 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10168 * LaTeX.C (run): use boost::format
10170 * Chktex.C (scanLogFile): use boost::format
10172 * BufferView_pimpl.C (savePosition): use boost::format
10173 (restorePosition): ditto
10174 (MenuInsertLyXFile): ditto
10176 * BoostFormat.h: help file for explicit instation.
10178 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10180 * tabular.C (latex): Support for block alignment in fixed width
10183 2002-11-17 John Levon <levon@movementarian.org>
10185 * BufferView_pimpl.C:
10187 * lyxfunc.C: split filedialog into open/save
10189 2002-11-08 Juergen Vigna <jug@sad.it>
10191 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10192 by my last patch (hopefully).
10194 2002-11-08 John Levon <levon@movementarian.org>
10203 * toc.C: ParConstIterator, and use it (from Lars)
10205 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10207 * lyxtextclass.[Ch]: revise and add doxygen comments
10209 2002-11-07 John Levon <levon@movementarian.org>
10211 * text.C: fix progress value for spellchecker
10213 * toc.C: fix navigate menu for insetwrap inside minipage
10215 * paragraph_funcs.C: added FIXME for suspect code
10217 2002-11-07 John Levon <levon@movementarian.org>
10219 * BufferView_pimpl.C: fix redrawing of insets
10222 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10224 * text2.C (updateCounters): fix bug 668
10226 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10228 * text3.C (dispatch): Do not make the buffer dirty when moving the
10231 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10233 * vc-backend.C: STRCONV
10234 (scanMaster): ditto
10236 * text2.C (setCounter): STRCONV
10238 * paragraph.C (asString): STRCONV
10240 * lyxlength.C (asString): STRCONV
10241 (asLatexString): ditto
10243 * lyxgluelength.C (asString): STRCONV
10244 (asLatexString): ditto
10246 * lyxfunc.C (dispatch): STRCONV
10249 * lyxfont.C (stateText): STRCONV
10251 * importer.C (Import): STRCONV
10253 * counters.C (labelItem): STRCONV
10254 (numberLabel): ditto
10255 (numberLabel): remove unused ostringstream o
10260 * bufferview_funcs.C (currentState): STRCONV
10262 * buffer.C (readFile): STRCONV
10263 (asciiParagraph): ditto
10264 (makeLaTeXFile): ditto
10266 * Spacing.C (writeEnvirBegin): STRCONV
10268 * LaTeXFeatures.C (getLanguages): STRCONV
10269 (getPackages): ditto
10271 (getBabelOptions): ditto
10272 (getTClassPreamble): ditto
10273 (getLyXSGMLEntities): ditto
10274 (getIncludedFiles): ditto
10278 (scanAuxFile): ditto
10281 * LString.h: add the STRCONV macros
10283 * BufferView_pimpl.C (savePosition): STRCONV
10284 (restorePosition): ditto
10285 (MenuInsertLyXFile): ditto
10287 * vc-backend.C (scanMaster): change from submatch[...] to
10290 * funcrequest.C: include config.h
10292 * factory.C: include config.h
10294 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10296 * box.C: include config.h
10298 * LaTeX.C (scanAuxFile): change from submatch[...] to
10302 2002-10-25 Angus Leeming <leeming@lyx.org>
10304 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10306 * ispell.[Ch] (setError): new method.
10307 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10308 Use setError() insetead of goto END.
10310 * lyx_cb.C (AutoSave): move out child process into new class
10313 2002-10-30 John Levon <levon@movementarian.org>
10315 * text3.C: make start appendix undoable
10317 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10319 * lyxlength.C (inPixels): Fix returned value.
10321 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10324 2002-10-24 Angus Leeming <leeming@lyx.org>
10326 * lyxgluelength.h: no need to forward declare BufferParams
10327 or BufferView, so don't.
10329 2002-10-21 John Levon <levon@movementarian.org>
10331 * BufferView.C: menuUndo ->undo, redo
10333 * BufferView.h: document, remove dead, make some methods private
10335 * paragraph_funcs.h:
10336 * paragraph_funcs.C:
10337 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10342 * sgml.C: move sgml open/close tag into sgml.C
10344 * bufferview_funcs.h: unused prototype
10347 * lyxfunc.C: remove unused
10350 * text.C: remove unused
10352 2002-10-21 John Levon <levon@movementarian.org>
10356 * BufferView_pimpl.h:
10357 * BufferView_pimpl.C: fix mouse wheel handling based on
10358 patch from Darren Freeman
10360 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10362 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10364 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10366 * lyxlength.C (inPixels): Fix hanfling of negative length.
10367 Fix LyXLength::MU case.
10369 2002-10-16 John Levon <levon@movementarian.org>
10371 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10373 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10375 * converter.C (view): add support for $$i (file name) and $$p
10376 (file path) for the viewer command. If $$i is not specified, then
10377 it is appended to the command (for compatibility with old syntax)
10379 2002-10-14 Juergen Vigna <jug@sad.it>
10381 * undo_funcs.C (textHandleUndo): alter the order in which the
10382 new undopar is added to the LyXText, as we have to set first
10383 the right prev/next and then add it as otherwise the rebuild of
10384 LyXText is not correct. Also reset the cursor to the right paragraph,
10385 with this IMO we could remove the hack in "redoParagraphs()".
10387 2002-10-09 Angus Leeming <leeming@lyx.org>
10389 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10390 to turn off an optimisation if a new inset is to be inserted.
10392 2002-10-11 André Pönitz <poenitz@gmx.net>
10394 * lyxtext.h: make some functions public to allow access
10395 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10397 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10399 * text3.C (dispatch): when changing layout, avoid an infinite loop
10402 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10404 * lyxrc.C (read): treat a viewer or converter command of "none" as
10407 * MenuBackend.C (expandFormats): for an update, also allow the
10408 formats that are not viewable
10410 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10411 script if it is newer than the lyxrc.defaults in user directory
10413 2002-10-07 André Pönitz <poenitz@gmx.net>
10415 * text.C: Vitaly Lipatov's small i18n fix
10417 2002-09-25 Angus Leeming <leeming@lyx.org>
10419 * ispell.h: doxygen fix.
10421 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10423 * buffer.h (readFile): Add a new argument to the method, to allow
10424 reading of old-format templates.
10426 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10428 * toc.C (getTocList): Get TOC from InsetWrap.
10430 2002-09-16 John Levon <levon@movementarian.org>
10432 * lyxfunc.C: check tabular for cut/copy too
10434 2002-09-12 John Levon <levon@movementarian.org>
10436 * LyXAction.C: tidy
10439 * factory.C: add header
10441 * paragraph_funcs.h:
10442 * paragraph_funcs.C: cleanup
10444 2002-09-11 John Levon <levon@movementarian.org>
10446 * PrinterParams.h: odd/even default to true
10448 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10450 * PrinterParams.h: update printer parameters for new xforms dialog
10452 2002-09-11 Angus Leeming <leeming@lyx.org>
10454 * lyxserver.C (read_ready): re-write to make it more transparent
10455 and to make it work in coherent fashion under Tru64 Unix.
10457 2002-09-11 André Pönitz <poenitz@gmx.net>
10461 * text3.C: implement LFUN_WORDSEL
10463 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10465 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10466 make floatlist_ a boost::shared_ptr<FloatList>
10468 * lyxtextclass.C: include FloatList.h
10469 (LyXTextClass): initialize floatlist_
10470 (TextClassTags): add TC_NOFLOAT
10471 (Read): match "nofloat" to TC_NOFLOAT and use it.
10472 (readFloat): modify call to floatlist_
10476 * FloatList.[Ch] (FloatList): remove commented out float
10478 (erase): new function
10480 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10482 * MenuBackend.C (expandToc): fix crash when there is no document
10485 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10487 * many files: Add insetwrap.
10489 2002-09-09 John Levon <levon@movementarian.org>
10491 * text2.C: remove confusing and awkward depth wraparound
10493 2002-09-09 John Levon <levon@movementarian.org>
10495 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10498 * buffer.C: remove getIncludeonlyList()
10501 * lyxfunc.C: remove headers
10503 2002-09-09 Juergen Vigna <jug@sad.it>
10505 * text.C (getColumnNearX): fix form Michael this is most
10506 probably a cut&paste bug.
10508 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10510 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10512 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10513 references, ws changes.
10515 * text2.C (init): update counters after init
10516 (insertParagraph): no need to set counter on idividual paragraphs.
10517 (setCounter): access the counters object in the textclass object
10518 on in the buffer object.
10519 (updateCounters): ditto
10521 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10522 shared_ptr<Counters> to avoid loading counters.h in all
10524 (LyXTextClass): initialize ctrs_
10525 (TextClassTags): add TC_COUNTER, and ...
10526 (Read): use it here.
10527 (CounterTags): new tags
10528 (readCounter): new function
10529 (counters): new funtion
10530 (defaultLayoutName): return a const reference
10532 * counters.C (Counters): remove contructor
10533 (newCounter): remove a couple of unneeded statements.
10534 (newCounter): simplify a bit.
10535 (numberLabel): some small formatting changes.
10537 * buffer.[Ch]: remove all traces of counters, move the Counters
10538 object to the LyXTextClass.
10540 2002-09-06 Alain Castera <castera@in2p3.fr>
10542 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10543 package to set the horizontal alignment on fixed width columns.
10546 * lyx_sty.h: added tabularnewline macro def.
10548 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10550 2002-09-06 John Levon <levon@movementarian.org>
10552 * LyXAction.C: tooltips for sub/superscript
10554 * MenuBackend.C: a bit more verbose
10556 * lyxfunc.C: tiny clean
10558 * undo_funcs.C: document undo_frozen
10560 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10562 * counters.C (Counters): add missing algorithm counter.
10564 * text2.C (setCounter): lookup the counter with layouts latexname
10565 instead of by section number.
10566 (setCounter): use a hackish way to lookup the correct enum
10568 a float name->type change
10569 reset enum couners with counter name directly instead of depth value.
10571 * counters.C (Counters): remove the push_backs, change to use the
10572 float type not the float name.
10573 (labelItem): remove unused string, float name->type change
10575 * counters.h: don't include vector, loose the enums and sects vectors
10577 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10579 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10580 (Read): add float->TC_FLOAT to textclassTags
10581 (Read): and handle it in the switch
10582 (readFloat): new function
10584 * FloatList.C (FloatList): comment out the hardcoded float
10587 * lyxlayout.h: ws change.
10589 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10591 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10593 2002-09-03 Angus Leeming <leeming@lyx.org>
10595 * BufferView_pimpl.h: qualified name is not allowed in member
10596 declaration: WorkArea & Pimpl::workarea() const;
10598 * factory.C: added using std::endl directive.
10600 * text3.C: added using std::find and std::vector directives.
10602 2002-08-29 André Pönitz <poenitz@gmx.net>
10605 * text2.C: remove unused member number_of_rows
10608 * BufferView2.C: remove file, move contents to...
10609 * BufferView.C: ... here
10611 * BufferView_pimpl.C:
10612 * factory.C: move more inset creation to factory
10614 * vspace.C: avoid direct usage of LyXText, ws changes
10617 don't provide direct access to WorkArea, use two simple
10618 acessors haveSelction() and workHeight() instead
10621 2002-08-29 John Levon <levon@movementarian.org>
10623 * BufferView_pimpl.C (dispatch): do not continue when
10626 2002-08-28 André Pönitz <poenitz@gmx.net>
10628 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10631 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10633 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10635 * buffer.C: increment LYX_FORMAT to 221
10637 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10638 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10640 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10642 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10644 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10646 * factory.C (createInset): use LyXTextClass::floats
10648 * MenuBackend.C (expandFloatListInsert):
10649 (expandFloatInsert):
10652 * text2.C (setCounter):
10654 * LaTeXFeatures.C (useFloat):
10655 (getFloatDefinitions):
10657 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10659 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10660 floatlist_, with accessor floats().
10662 * FloatList.h: remove global FloatList
10664 2002-08-26 André Pönitz <poenitz@gmx.net>
10666 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10670 * BufferView_pimpl.C:
10671 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10673 2002-08-25 John Levon <levon@movementarian.org>
10675 * LyXAction.C: fix margin note description
10677 2002-08-24 John Levon <levon@movementarian.org>
10681 * bufferview_funcs.C:
10683 * undo_funcs.C: cleanups
10685 * lyxfunc.C: disable CUT/COPY when no selection
10687 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10689 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10690 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10692 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10693 Add backward compatibility to "mono", "gray" and "no".
10695 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10697 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10698 (and file_format >= 200).
10700 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10702 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10704 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10706 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10708 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10710 * BufferView_pimpl.C:
10717 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10718 inset and code to make it work with the paragraph code. The inset
10719 can be anywhere in the paragraph, but will only do the expected
10720 thing in LaTeX if the layout file contains the parameter line
10722 (or more generally, a nonzero value) for that layout.
10724 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10726 * paragraph.h: remove the declaration of undefined counters class
10729 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10731 * text2.C (setCounter): fixed enumeration mis-count as reported by
10732 Dr. Richard Hawkins.
10734 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10736 * paragraph_funcs.h: remove some unneeded includes
10738 * text.C (backspace): pasteParagraph now in global scipe
10740 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10741 (pasteSelection): ditto
10743 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10744 * paragraph_funcs.C (pasteParagraph): ... here
10746 2002-08-20 André Pönitz <poenitz@gmx.net>
10748 * commandtags.h: new LFUNs for swapping/copying table row/colums
10751 * lyxfunc.C: support for new lfuns
10753 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10756 * buffer.[Ch]: remove NO_COMPABILITY stuff
10758 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10760 * boost.C (throw_exception): new file, with helper function for
10761 boost compiled without exceptions.
10766 * ParameterStruct.h:
10767 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10769 * bufferlist.C (emergencyWriteAll): use boost bind
10771 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10773 * text.C: include paragraph_funcs.h
10774 (breakParagraph): breakParagraph is now in global scope
10776 * paragraph_funcs.[Ch]: new files
10778 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10781 * buffer.C: include paragraph_funcs.h
10782 (insertStringAsLines): breakParagraph is now in global scope
10784 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10787 * CutAndPaste.C: include paragraph_funcs.h
10788 (cutSelection): breakParagraphConservative is now in global scope
10789 (pasteSelection): ditto
10791 * buffer.h: declare oprator== and operator!= for
10792 Buffer::inset_iterator
10794 * bufferlist.C (emergencyWrite): don't use fmt(...)
10796 * text3.C: add using std::endl
10798 * BufferView.C (moveCursorUpdate): remove default arg
10800 2002-08-20 André Pönitz <poenitz@gmx.net>
10802 * buffer.[Ch]: move inline functions to .C
10805 * BufferView_pimpl.C:
10807 * buffer.[Ch]: use improved inset_iterator
10810 * paragraph.[Ch]: write one paragraph at a time
10812 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10814 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10815 style if style is not specified.
10817 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10819 * text2.C (setCounter): when searching for right label for a
10820 caption, make sure to recurse to parent insets (so that a caption
10821 in a minipage in a figure float works) (bug #568)
10823 2002-08-20 André Pönitz <poenitz@gmx.net>
10825 * text3.C: new file for LyXText::dispatch() and helpers
10827 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10829 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10831 2002-08-19 André Pönitz <poenitz@gmx.net>
10834 * text.C: new LyXText::dispatch()
10836 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10838 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10840 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10842 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10845 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10847 * Makefile.am: use $(variables) instead of @substitutions@
10849 2002-08-15 André Pönitz <poenitz@gmx.net>
10852 * BufferView_pimpl.C: streamlining mathed <-> outer world
10856 * LyXAction.C: remove unused LFUN_MATH
10858 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10860 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10862 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10864 * paragraph.C (Paragraph): reformat a bit
10865 (cutIntoMinibuffer): use builtin InsetList function instad of
10869 * buffer.C: include boost/bind.hpp, add using std::for_each
10870 (writeFileAscii): use ParagraphList iterators
10871 (validate): use for_each for validate traversal of paragraphs
10872 (getBibkeyList): use ParagraphList iterators
10873 (resizeInsets): use for_each to resizeInsetsLyXText for all
10875 (getParFromID): use ParagraphList iterators
10877 * BufferView2.C (lockInset): use paragraph list and iterators
10879 2002-08-14 John Levon <levon@movementarian.org>
10881 * lyxserver.C: remove spurious xforms include
10883 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10885 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10887 2002-08-13 André Pönitz <poenitz@gmx.net>
10890 * lyxfunc.C: further cleaning
10892 2002-08-13 André Pönitz <poenitz@gmx.net>
10894 * funcrequest.h: new constructor
10896 * funcrequest.C: move stuff here from .h
10899 * BufferView_pimpl.C:
10902 * lyxfunc.C: subsequent changes
10904 * lyxfunc.h: new view() member function
10906 * lyxfunc.C: subsequent changes
10908 2002-08-13 Angus Leeming <leeming@lyx.org>
10911 * BufferView_pimpl.C:
10919 changes due to the changed LyXView interface that now returns references
10920 to member variables not pointers.
10922 2002-08-13 Angus Leeming <leeming@lyx.org>
10924 * WordLangTuple (word, lang_code): return references to strings,
10929 * lyxtext.h: forward-declare WordLangTuple.
10934 * text.C: #include "WordLangTuple.h".
10937 * text.C: (selectNextWordToSpellcheck): constify return type.
10939 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10945 * paragraph_pimpl.h:
10948 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10949 suggested by Angus.
10950 Made updateCounter always count from start of buffer, and removed
10951 second argument (par).
10952 Reverted floats number display to '#'. Perhaps I'll try again when the
10953 code base is sanitized a bit.
10955 2002-08-12 Angus Leeming <leeming@lyx.org>
10957 * buffer.[Ch] (getLabelList): constify.
10959 2002-08-07 André Pönitz <poenitz@gmx.net>
10961 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10963 * funcrequest.h: extension to keep mouse (x,y) position
10965 2002-08-12 Juergen Vigna <jug@sad.it>
10967 * BufferView2.C (insertErrors): forbid undo when inserting error
10970 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10972 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10974 * ParagraphList.[Ch]: new files
10976 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10978 * BufferView2.C (lockInset): ParagraphList changes
10981 * bufferlist.C: ditto
10985 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10987 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10988 unused class variable counter_,
10990 * paragraph.[Ch] (getFirstCounter): delete unused function
10992 * counters.C: include LAssert.h
10993 (reset): add a new function with no arg, change other version to
10994 not have def. arg and to not allow empty arg.
10996 * text2.C (setCounter): remove empty arg from call to Counters::reset
10998 2002-08-11 John Levon <levon@movementarian.org>
11000 * Makefile.am: add WordLangTuple.h
11002 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11004 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11005 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11007 * insets/insettext.C: InsetList changes
11009 * graphics/GraphicsSupport.C (operator()): InsetList changes
11011 * toc.C (getTocList): InsetList changes
11013 * paragraph_pimpl.[Ch]: InsetList changes
11015 * paragraph.[Ch]: InsetList changes
11017 * buffer.C (inset_iterator): InsetList changes
11018 (setParagraph): ditto
11019 * buffer.h (inset_iterator): ditto
11020 * iterators.C (operator++): ditto
11021 * iterators.h: ditto
11023 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11025 * InsetList.[Ch]: new files, most InsetList handling moved out of
11028 * BufferView2.C (removeAutoInsets): InsetList changes
11030 (ChangeInsets): ditto
11032 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11034 * paragraph_pimpl.h (empty): new function
11036 * paragraph.[Ch] (empty): new function
11038 * other files: use the new Paragraph::empty function
11040 2002-08-09 John Levon <levon@movementarian.org>
11042 * lyxtext.h: remove unused refresh_height
11044 2002-08-09 John Levon <levon@movementarian.org>
11051 * paragraph.C: move sgml char escaping out of paragraph
11054 * paragraph.C: remove id setter
11058 * paragraph_pimpl.C: remove dead tex_code_break_column
11060 * bufferview_funcs.C: small cleanup
11062 * lyxfunc.C: remove dead proto
11064 * lyxtext.h: make some stuff private. Remove some dead stuff.
11066 * lyxgluelength.C: make as[LyX]String() readable
11068 2002-08-08 John Levon <levon@movementarian.org>
11073 * ToolbarDefaults.C:
11076 * toc.C: lyxaction cleanup
11078 2002-08-08 John Levon <levon@movementarian.org>
11080 * BufferView2.C: small cleanup
11083 * lyxfind.C: move unnecessary header into the .C
11085 2002-08-08 John Levon <levon@movementarian.org>
11087 * funcrequest.h: just tedious nonsense
11090 * lyx_main.C: cleanups
11093 * vspace.C: remove dead header lyx_main.h
11095 2002-08-07 Angus Leeming <leeming@lyx.org>
11098 * paragraph_pimpl.h:
11099 Forward declare class Counters in paragraph.h by moving the ctrs member
11100 variable into Paragraph::Pimpl.
11101 (counters): new method, returning a reference to pimpl_->ctrs.
11103 * text2.C: ensuing changes.
11105 2002-08-07 John Levon <levon@movementarian.org>
11107 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11109 * BufferView_pimpl.C: announce X selection on double/triple
11112 * lyx_main.C: use correct bool in batch dispatch
11114 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11116 2002-08-07 André Pönitz <poenitz@gmx.net>
11118 * funcrequest.h: new class to wrap a kb_action and its argument
11121 * BufferView_pimpl[Ch]:
11125 * lyxrc.C: subsequent changes
11128 2002-08-07 John Levon <levon@movementarian.org>
11130 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11131 document options change.
11133 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11138 * makefile.am: move counters functionality over from
11139 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11141 2002-08-06 John Levon <levon@movementarian.org>
11143 * WordLangTuple.h: new file for word + language code tuple
11154 * BufferView2.C: use WordLangTuple
11157 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11159 2002-08-06 John Levon <levon@movementarian.org>
11161 * lyx_main.C: fix cmdline batch handling
11163 2002-08-06 André Pönitz <poenitz@gmx.net>
11165 * lyxrc.C: set default for show_banner to true
11167 2002-08-06 John Levon <levon@movementarian.org>
11169 * pspell.C: fix a crash, and allow new aspell to work
11171 2002-08-06 John Levon <levon@movementarian.org>
11174 * kbmap.C: small cleanup
11177 * vspace.C: add const
11179 2002-08-05 John Levon <levon@movementarian.org>
11181 * LyXAction.C: back to tabular-insert
11183 2002-08-04 John Levon <levon@movementarian.org>
11186 * BufferView.C: cosmetic change
11188 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11198 * BufferView2.C: purge all "Lyx" not "LyX" strings
11201 * lyxcursor.C: attempt to add some documentation
11206 * ToolbarDefaults.C:
11207 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11208 merge with LFUN_TABULAR_INSERT
11215 * pspell.C: split up i/pspell implementations into separate
11216 files, many cleanups
11218 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11220 * text2.C: some cleanup
11222 * lyxfunc.C: don't check for isp_command == "none" any more, it
11223 didn't make any sense
11225 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11230 * makefile.am: move counters functionality over
11231 from text2.C/paragraph.[Ch] to counters.[Ch], and
11233 2002-08-02 John Levon <levon@movementarian.org>
11235 * buffer.C: s/lyxconvert/lyx2lyx/
11237 2002-08-02 Angus Leeming <leeming@lyx.org>
11239 * lyxlex.C: revert John's change as it breaks reading of the user
11242 2002-08-02 Angus Leeming <leeming@lyx.org>
11244 * importer.C (Import):
11245 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11246 changes due to LyXView::view() now returning a boost::shared_ptr.
11248 2002-08-02 John Levon <levon@movementarian.org>
11250 * lyxlex.C: small cleanup
11252 2002-08-02 John Levon <levon@movementarian.org>
11254 * text2.C (status): small cleanup, no logic change
11256 2002-08-01 John Levon <levon@movementarian.org>
11259 * buffer.C (writeFile): don't output alerts, caller
11263 * lyx_cb.C: from above
11265 * lyxfunc.C: allow to open non-existent files
11267 2002-07-31 John Levon <levon@movementarian.org>
11269 * lyxserver.C: don't let incidental errors get
11272 2002-07-30 John Levon <levon@movementarian.org>
11274 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11276 2002-07-30 John Levon <levon@movementarian.org>
11279 * lyxserver.C: remove I/O callback too
11281 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11283 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11286 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11288 * many files: strip,frontStrip -> trim,ltrim,rtrim
11290 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11292 * PrinterParams.h: remove extern containsOnly, and include
11293 support/lstrings.h instead.
11295 * LaTeX.C (scanAuxFile): modify because of strip changes
11297 * buffer.C (makeLaTeXFile): ditto
11298 * bufferparams.C (writeFile): ditt
11299 * lyxfont.C (stateText): ditto
11300 * lyxserver.C (read_ready): ditto
11301 * vc-backend.C (scanMaster): ditto
11303 * BufferView_pimpl.h: ws changes
11305 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11307 2002-07-26 André Pönitz <poenitz@gmx.net>
11309 * kb_sequence.C: remove unnedred usings
11311 2002-07-26 Juergen Vigna <jug@sad.it>
11313 * lyxfind.C (LyXReplace): we have to check better if the returned
11314 text is not of theLockingInset()->getLockingInset().
11316 2002-07-25 Juergen Vigna <jug@sad.it>
11318 * lyxfind.C (LyXReplace): don't replace if we don't get the
11321 * undo_funcs.C (createUndo): remove debugging code.
11323 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11325 * buffer.C (parseSingleLyXformat2Token): Use default placement
11326 when reading old floats.
11328 * FloatList.C (FloatList): Change the default placement of figure
11329 and tables to "tbp".
11331 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11333 * MenuBackend.C: using std::max
11335 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11337 * MenuBackend.C (expandToc):
11338 (expandToc2): code moved from xforms menu frontend. It is now
11339 generic and TOCs are transparent to menu frontends.
11341 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11343 * toc.C (getTocList): protect against buf=0
11345 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11346 Menu as first parameter. Now, this calls itself recursively to
11347 expand a whole tree (this will be useful for TOC handling)
11348 (expandFloatInsert): remove 'wide' version of floats
11350 * MenuBackend.h (submenuname): returns the name of the submenu.
11351 (submenu): returns the submenu itself, provided it has been
11352 created by MenuBackend::expand
11354 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11356 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11357 insets which have noFontChange == true. (bug #172)
11359 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11361 * BufferView_pimpl.C: add connection objects and use them...
11364 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11366 * MenuBackend.C (expandLastfiles):
11369 (expandFloatListInsert):
11370 (expandFloatInsert):
11371 (expand): split expand in parts
11373 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11375 * lyx_gui.C: use lyx_gui::exit()
11377 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11379 * LyXAction.C: show the failing pseudo action
11381 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11383 * buffer.C (readFile): Run the lyxconvert script in order to read
11386 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11390 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11392 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11396 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11398 2002-07-22 Herbert Voss <voss@lyx.org>
11401 * lyxlength.[Ch]: add support for the vertical lengths
11403 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11405 * toc.[Ch]: std:: fixes
11407 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11409 * lyxrc.C: do not include lyx_main.h
11411 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11417 * BufferView2.C: include "lyxlex.h"
11420 * bufferparams.h: do not #include "lyxlex.h"
11422 * lyxtextclasslist.C (Add): remove method
11423 (classlist): renamed to classlist_
11425 * paragraph_pimpl.C:
11429 * bufferview_funcs.C:
11434 * toc.C (getTocList): use BufferParams::getLyXTextClass
11436 * toc.C (getTocList): use InsetFloat::addToToc
11438 * toc.[Ch]: new files, containing helper functions to handle table
11441 * lyxfunc.C (dispatch): no need to remove spaces around command
11443 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11444 first command of the sequence; it is not very clever, but I do not
11445 have a better idea, actually
11447 * LyXAction.C (LookupFunc): make sure to remove space at the
11448 beginning and end of the command
11450 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11452 * MenuBackend.C (getMenubar): new method: return the menubar of
11454 (read): treat differently reading of menu and menubar (in
11455 particular, the menubar has no name now)
11456 (Menu::menubar): remove
11458 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11461 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11463 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11464 a bibitem inset in a RTL paragraph.
11466 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11468 * paragraph_pimpl.C: constify
11470 * BufferView_pimpl.C:
11472 * lyxfunc.C: fix dispatch in a nicer way
11474 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11476 * lyxfunc.C (dispatch):
11477 * BufferView_pimpl.C:
11478 * BufferView_pimpl.h:
11480 * BufferView.h: rename Dispatch() to dispatch()
11482 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11484 * lyxlayout.C (Read): honor DependsOn tag
11486 * lyxlayout.[Ch] (depends_on): new method
11488 * version.C.in: update lyx_docversion
11490 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11492 * paragraph.C (validate): remove from here...
11493 * paragraph_pimpl.C (validate): ... and move here
11494 (isTextAt): make it const
11496 * buffer.C (getLists): ws cleanup
11498 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11500 * language.C (read): Use iso8859-1 encoding in latex_lang
11501 (this prevents LyX from crashing when using iso10646-1 encoding).
11503 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11505 * text2.C (toggleInset): if cursor is inside an inset, close the
11506 inset and leave cursor _after_ it
11508 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11510 * lyxfunc.C: move minibuffer completion handling out of here
11512 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11514 * BufferView_pimpl.C:
11515 * LaTeX.C: fix dispatch calls
11517 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11519 * text.C (drawChars): Fix Arabic text rendering.
11521 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11525 * lyxfunc.C: remove message-push/pop
11529 * lyxfunc.C: rationalise some code by removing verboseDispatch
11530 in favour of a bool argument to dispatch()
11532 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11534 * lyx_main.C (init): make sure to read symlinks as absolute paths
11536 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11539 * lyxfunc.C: no need for commandshortcut to be a member
11541 2002-07-15 André Pönitz <poenitz@gmx.net>
11543 * converter.C: add support for $$s (scripts from lib/scripts dir)
11544 * lyx_main.C: white space
11546 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11550 * lyxrc.C: remove second exit confirmation
11552 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11557 * BufferView_pimpl.h:
11558 * BufferView_pimpl.C:
11559 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11561 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11563 * MenuBackend.C (expand): add numeric shortcuts to document menu
11565 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11567 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11569 * lyxfont.C (setLyXFamily):
11576 * buffer.C (asciiParagraph): use ascii_lowercase
11578 2002-07-15 Mike Fabian <mfabian@suse.de>
11580 * lyxlex_pimpl.C (search_kw):
11581 * lyxlex.C (getLongString):
11582 * converter.h (operator<):
11583 * converter.C (operator<):
11584 * buffer.C (parseSingleLyXformat2Token):
11586 * ToolbarDefaults.C (read):
11587 * MenuBackend.C (checkShortcuts):
11589 * LColor.C (getFromGUIName):
11590 (getFromLyXName): use the compare_ascii_no_case instead of
11591 compare_no_case, because in turkish, 'i' is not the lowercase
11592 version of 'I', and thus turkish locale breaks parsing of tags.
11594 2002-07-16 Angus Leeming <leeming@lyx.org>
11596 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11597 now takes a Buffer const & argument.
11599 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11601 * BufferView.C (resize): check there's a buffer to resize
11603 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11605 * lyxfunc.C: remove dead code
11608 * lyxserver.C: use lyx_guii::set_read_callback
11610 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11612 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11613 an inset in a RTL paragraph.
11615 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11617 * lyxfunc.C: repaint after a font size update
11619 2002-07-15 André Pönitz <poenitz@gmx.net>
11621 * lyxlength.C: inBP should be able to return negative values
11623 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11625 * lyxfunc.C: use lyx_gui::update_fonts()
11627 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11629 * lyxfunc.C: use lyx_gui::update_color()
11631 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11637 * lyxrc.C: remove file->new asks for name option, and let
11638 buffer-new take an argument
11640 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11642 * BufferView_pimpl.C: remove unneeded extra repaint()
11644 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11646 * LyXAction.C: allow command-sequence with NoBuffer
11648 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11650 2002-07-10 Angus Leeming <leeming@lyx.org>
11652 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11654 2002-07-09 Angus Leeming <leeming@lyx.org>
11656 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11658 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11660 * lengthcommon.h: whitespace
11662 * lyxfunc.C: update scrollbar after goto paragraph
11664 * lyxtext.h: factor out page break drawing, and fix it so
11665 page break/added space paints as selected nicely
11667 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11669 * BufferView_pimpl.C: add FIXMEs, clean up a little
11671 2002-07-09 André Pönitz <poenitz@gmx.net>
11673 * lyxfont.[Ch]: support for wasy symbols
11675 2002-07-08 André Pönitz <poenitz@gmx.net>
11677 * BufferView_pimpl.C: apply John's patch for #93.
11679 2002-07-05 Angus Leeming <leeming@lyx.org>
11681 * BufferView_pimpl.C (buffer): generate previews if desired.
11683 * LColor.h: add "preview" to the color enum.
11685 * LColor.C (LColor): add a corresponding entry to the items array.
11687 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11690 2002-07-05 Angus Leeming <leeming@lyx.org>
11692 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11693 The body of the code is now in the method that is passed an ostream &
11694 rather than a file name.
11695 Pass an additional only_preamble parameter, useful for the forthcoming
11698 2002-07-03 André Pönitz <poenitz@gmx.net>
11700 * lyxfunc.C: simplify getStatus() a bit for math stuff
11702 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11704 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11706 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11708 * text.C (changeRegionCase): do not change case of all the
11709 document when region ends at paragraph end (bug #461)
11711 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11713 * paragraph.C (startTeXParParams):
11714 (endTeXParParams): add \protect when necessary
11716 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11718 * BufferView_pimpl.C (workAreaExpose): remove warning
11720 2002-06-27 Angus Leeming <leeming@lyx.org>
11722 * Makefile.am: add lyxlayout_ptr_fwd.h.
11724 2002-06-26 André Pönitz <poenitz@gmx.net>
11726 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11728 2002-06-25 Angus Leeming <leeming@lyx.org>
11730 * lyxfunc.C (dispatch): Comment out the call to
11731 grfx::GCache::changeDisplay. The method no longer exists now that the
11732 pixmap generation part of the graphics loader has been moved into
11735 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11737 * text2.C: layout as layout
11739 * text.C: layout as layout
11741 * tabular.C (OldFormatRead): layout as layout
11743 * paragraph_pimpl.C (TeXDeeper): layout as layout
11744 (realizeFont): layout as layout
11746 * paragraph.C (writeFile): layout as layout
11747 (validate): layout as layout
11748 (getFont): layout as layout
11749 (getLabelFont): layout as layout
11750 (getLayoutFont): layout as layout
11751 (breakParagraph): layout as layout
11752 (stripLeadingSpaces): layout as layout
11753 (getEndLabel): layout as layout
11754 (getMaxDepthAfter): layout as layout
11755 (applyLayout): layout as layout
11756 (TeXOnePar): layout as layout
11757 (simpleTeXOnePar): layout as layout
11758 (TeXEnvironment): layout as layout
11759 (layout): layout as layout
11760 (layout): layout as layout
11762 * lyxtextclass.C (compare_name): new functor to work with
11763 shared_ptr, layout as layout
11764 (Read): layout as layout
11765 (hasLayout): layout as layout
11766 (operator): layout as layout
11767 (delete_layout): layout as layout
11768 (defaultLayout): layout as layout
11770 * lyxlayout_ptr_fwd.h: new file
11772 * lyxlayout.C (Read): layout as layout
11774 * lyx_cb.C (MenuInsertLabel): layout as layout
11776 * bufferlist.C (newFile): layout as layout
11778 * buffer.C (readLyXformat2): layout as layout
11779 (parseSingleLyXformat2Token): layout as layout
11780 (insertStringAsLines): layout as layout
11781 (asciiParagraph): layout as layout
11782 (latexParagraphs): layout as layout
11783 (makeLinuxDocFile): layout as layout
11784 (simpleLinuxDocOnePar): layout as layout
11785 (makeDocBookFile): layout as layout
11786 (simpleDocBookOnePar): layout as layout
11787 (getLists): layout as layout
11789 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11791 * CutAndPaste.C (cutSelection): layout as layout
11792 (pasteSelection): layout as layout
11793 (SwitchLayoutsBetweenClasses): layout as layout
11795 * BufferView_pimpl.C (Dispatch): layout as layout
11796 (smartQuote): layout as layout
11798 * BufferView2.C (unlockInset): layout as layout
11800 2002-06-24 André Pönitz <poenitz@gmx.net>
11802 * lyxfunc.C: fix #487
11804 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11808 * lyxfunc.C: remove display_shortcuts, show_banner
11810 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11812 * Buffer_pimpl.C: oops, update on resize
11814 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11821 * BufferView.C: use repaint()
11823 * BufferView_pimpl.h:
11824 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11825 as it's a clearer description. Remove superfluous
11828 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11830 * text.C: fix bug 488. Not ideal, but getting
11831 getWord() to work properly for the insets that
11832 matter is more difficult ...
11834 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11836 * BufferView_pimpl.C:
11839 * lyxfunc.C: remove the six million index lyxfuncs to just
11840 one, and DTRT (bug 458)
11842 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11846 * BufferView_pimpl.h:
11847 * BufferView_pimpl.C: clean up resize() stuff,
11848 and unnecessary updateScreen()s
11850 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11854 * BufferView_pimpl.h:
11855 * BufferView_pimpl.C:
11858 * minibuffer.C: remove focus management of workarea,
11859 not needed. Use screen's greyOut()
11861 2002-06-17 Herbert Voss <voss@lyx.org>
11863 * converter.C: (convert) do not post a message, when converting
11864 fails, let the calling function decide what to do in this case
11866 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11868 * lyxfunc.C: tidy up a little
11870 2002-06-16 <alstrup@diku.dk>
11872 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11873 Got rid of FORMS_H_LOCATION include. Now we are
11876 2002-06-15 LyX Development team <lyx@rilke>
11878 * buffer.[Ch] (sgmlOpenTag):
11879 (sgmlCloseTag): Added support for avoiding pernicious mixed
11880 content. Return number of lines written.
11882 (makeLinuxDocFile):
11883 (makeDocBookFile): Fixed calls to sgml*Tag.
11884 Simple white space clean.
11886 (simpleDocBookOnePar): Simple white space clean.
11888 * tabular.[Ch] (docBook): Renamed to docbook and got another
11889 argument to related with the pernicious mixed content.
11891 (docbookRow): Fixed calls for docbook inset method.
11893 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11895 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11896 so it's X11 independent.
11900 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11902 2002-06-15 Lyx Development team <lyx@electronia>
11904 * intl.h: Renamed getTrans to getTransManager.
11906 2002-06-14 Angus Leeming <leeming@lyx.org>
11908 * Makefile.am: nuke forgotten stl_string_fwd.h.
11910 2002-06-12 Angus Leeming <leeming@lyx.org>
11912 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11914 2002-06-13 Angus Leeming <leeming@lyx.org>
11917 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11919 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11921 * kbmap.C (getiso): add support for cyrillic and greek
11923 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11927 * BufferView_pimpl.h:
11928 * BufferView_pimpl.C: move bogus scrolling logic
11931 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11934 * BufferView_pimpl.C: view->resize() change
11936 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11938 * BufferView_pimpl.C: topCursorVisible
11941 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11945 * lyx_gui.C: move to frontends/
11949 * lyx_main.C: changes from above
11951 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11958 * lyx_main.C: minor tidy
11960 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11962 * BufferView_pimpl.h:
11963 * BufferView_pimpl.C:
11965 * BufferView.C: make painter() const,
11968 * BufferView2.C: use screen() accessor
11971 * lyx_main.C: some minor cleanup
11973 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11975 * BufferView_pimpl.h:
11976 * BufferView_pimpl.C: remove enter/leaveView,
11979 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11984 * BufferView_pimpl.h:
11985 * BufferView_pimpl.C: only construct screen once,
11988 * lyxrc.C: remove pointless comment
11990 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11993 * BufferView.C: remove active() and belowMouse()
11995 * BufferView_pimpl.h:
11996 * BufferView_pimpl.C: use workarea() not workarea_,
11997 and make it use a scoped_ptr instead
11999 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12001 * lyx_gui.C: add debug message on BadWindow
12003 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12005 * sp_spell.C: fdopen is not part of the C++ standard.
12007 * paragraph.C (InsetIterator): use >= instead of ==
12009 2002-06-07 Angus Leeming <leeming@lyx.org>
12011 Fixes needed to compile with Compaq cxx 6.5.
12012 * BufferView_pimpl.C:
12019 * lyxtextclasslist.C:
12024 all c-library variables have been moved into namespace std. Wrap
12025 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12030 Add a using std::abs declaration.
12032 * kbmap.h (modifier_pair):
12033 * paragraph.h (InsetTable, InsetList):
12034 * lyxfont.h (FontBits):
12035 type definition made public.
12037 * bufferlist.C (emergencyWriteAll): the compiler complains that
12038 there is more than one possible lyx::class_fun template to choose from.
12039 I re-named the void specialisation as lyx::void_class_fun.
12041 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12043 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12044 the compiler is is unable to find tostr in write_attribute.
12046 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12048 * buffer.C (sgmlError): hide #warning
12050 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12052 * xtl/*: get rid of xtl, which is not in use anyway
12054 * LyXAction.C (init):
12055 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12056 were unimplemented xtl experimentation
12058 2002-06-04 André Pönitz <poenitz@gmx.net>
12060 * lyxfunc.C: disable array operation on simple formulae
12062 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12064 * converter.C: constify a bit
12066 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12068 * lyx_gui.C: check xforms version correctly
12070 2002-04-30 Herbert Voss <voss@lyx.org>
12072 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12075 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12077 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12078 attempt to register it with a VCS)
12080 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12082 * lyx_main.C (init): honor variables LYX_DIR_13x and
12085 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12089 * lyx_main.C: fix a crash on bad command line,
12090 and give a useful exit status on error
12092 * lyxfunc.C (doImport): allow -i lyx to work
12094 2002-03-30 André Pönitz <poenitz@gmx.net>
12096 * lyxfunc.C: mathed font changes
12098 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12113 * trans_mgr.h: srcdocs, and some minor cleanups
12115 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12117 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12118 call getFont all the time)
12120 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12122 * switch from SigC signals to boost::signals
12124 2002-05-29 André Pönitz <poenitz@gmx.net>
12126 * paragraph_pimpl.C (getChar): don't call size() too often...
12128 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12130 * paragraph_pimpl.C (insertChar): do not try to update tables when
12131 appending (pos == size())
12133 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12134 in order to reduce drastically the number of comparisons needed to
12135 parse a large document
12137 2002-05-29 André Pönitz <poenitz@gmx.net>
12143 * textclasslist.[Ch]:
12144 * sp_ispell.h: whitespace change
12146 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12148 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12149 lyxaction directly now.
12151 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12155 * lyxvc.C: remove unused headers
12157 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12164 * undo_funcs.C: some cleanups. Use shared_ptr
12165 and a template for the undo stacks.
12167 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12169 * BufferView_pimpl.h:
12170 * BufferView_pimpl.C:
12177 * text2.C: use key_state/mouse_state
12179 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12181 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12184 * chset.C: change include order
12185 (loadFile): use boost regex and get rid of LRegex and LSubstring
12187 * Makefile.am (BOOST_LIBS): new variable
12188 (lyx_LDADD): use it
12190 * LaTeX.C: change include order.
12191 (scanAuxFile): use boost regex and get rid of LRegex and
12195 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12200 * FontInfo.C: moved to frontends/xforms/
12203 * FontLoader.C: moved into frontends for GUIIzation
12208 * lyxfunc.C: changes from above
12210 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12212 * LColor.C: remove spurious X include
12214 * BufferView_pimpl.C:
12219 * text2.C: move font metrics to frontends/
12221 2002-05-24 Juergen Vigna <jug@sad.it>
12223 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12224 setting the undo_cursor.
12226 * ParagraphParameters.h: include local includes first.
12228 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12230 * BufferView_pimpl.C:
12231 * BufferView_pimpl.h:
12235 * screen.C: move WorkArea into frontends/
12241 * BufferView2.C: move LyXScreen into frontends/
12245 * lyx_gui.C: move lyxlookup into frontends/xforms/
12247 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12250 * BufferView_pimpl.C:
12260 * bufferview_funcs.C:
12273 * vc-backend.C: move LyX/XFormsView into frontends/
12275 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12287 * text2.C: move Painter to frontends/
12289 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12291 * buffer.C: comment out some some code that depend upon lyx_format
12294 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12295 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12297 * buffer.h (NO_COMPABILITY): turn off compability
12299 * ColorHandler.C: include scoped_array.hpp
12301 * font.C: Use more specific smart_ptr header.
12304 * ShareContainer.h: ditto
12305 * lyx_main.h: ditto
12307 * FontInfo.h: ditto
12308 * BufferView_pimpl.h: ditto
12309 * ColorHandler.h: ditto
12311 * kbmap.C (defkey): change call to shared_ptr::reset
12313 2002-05-21 Juergen Vigna <jug@sad.it>
12315 * buffer.C (insertErtContents): fix to insert ert asis if it is
12316 non empty. Skip it completely if it contains only whitespaces.
12318 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12320 * BufferView_pimpl.C:
12321 * BufferView2.C: clear selection on paste (bug 393)
12323 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12325 * DepTable.C: include ctime
12327 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12329 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12331 2002-05-14 Juergen Vigna <jug@sad.it>
12333 * text.C (breakParagraph): fixed function to honor the keepempty
12334 layout in the right maner and also to permit the right breaking
12335 algorithm on empty or non empyt keepempty paragraphs.
12337 * paragraph.C (breakParagraph): we have to check also if the par
12338 is really empty (!size()) for isempty otherwise we do the wrong
12341 2002-05-10 Juergen Vigna <jug@sad.it>
12343 * buffer.[Ch] : The following are only changes to the ert
12344 compatibility read reading old LaTeX layout and font stuff and
12345 convert it to ERTInsets.
12347 * buffer.h: added isErtInset().
12349 * buffer.C (struct ErtComp): add a fromlayout bool to check
12350 if we're inside a LaTeX layout.
12351 (isErtInset): new helper function.
12352 (insertErtContents): look for other ert insets before this one
12353 and insert the contents there, so that we don't have subsequent
12354 ERT insets with nothing between them. This way we create only one
12355 inset with multiple paragraphs. Also check if we don't insert only
12356 spaces ' ' as they are ignored anyway afterwards in the .tex file
12357 so if we have only spaces we will ignore this latex part in the
12359 (parseSingleLyXformat2Token \\layout): better compatibility when
12360 reading layout-latex stuff.
12361 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12363 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12364 stuff after reading the inset only get the information back from
12367 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12369 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12371 * LaTeXFeatures.C (getBabelOptions): New method.
12373 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12375 * BufferView_pimpl.C (Dispatch): work around missing argument for
12378 2002-05-08 Juergen Vigna <jug@sad.it>
12380 * text.C (leftMargin): handle paragraph leftindent.
12382 * paragraph.C (writeFile): write the new \\leftindent tag.
12383 (validate): handle leftindent code.
12384 (TeXEnvironment): handle paragraphleftindent code again.
12386 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12388 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12389 for paragrap_extra indent code and new token \\leftindent.
12390 (latexParagraphs): handle the leftindent as environment.
12392 * ParameterStruct.h: added leftindent support.
12394 * ParagraphParameters.C (leftIndent): added support functions for
12395 the paragraph left indent.
12397 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12400 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12402 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12405 * text.C (computeBidiTables): No bidi in insetERT.
12407 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12410 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12412 * version.C.in: pre 5
12414 2002-05-02 José Matos <jamatos@fep.up.pt>
12415 * buffer.C (makeDocBookFile): white space changes, add newline to
12417 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12419 * tabular.C (docBook): fix typo.
12421 2002-05-03 Juergen Vigna <jug@sad.it>
12423 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12424 change in LyXText as we can not be sure it was not freed.
12425 (drawOneRow): remove unused code.
12427 * text.C (drawInset): redo the calculation of the need_break_row as
12428 it could have a row which was already freed.
12429 (draw): look at the return value of drawInset and return false if
12430 it also returned false.
12431 (paintRowText): look at the return value of draw and return false if
12432 it also returned false.
12434 * lyxtext.h: added bool return type to drawInset() and draw() so that
12435 if we have a change in the row so that the rowbreak has to be redone
12436 we abort drawing as it will be called again.
12438 2002-05-02 Juergen Vigna <jug@sad.it>
12440 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12441 a change in the maintext also if we're inside an inset.
12442 (Dispatch): set the cursor again after a break line and after the
12443 screen has been updated as it could be we're in a different row.
12445 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12446 to set the cursor behind the pargraph with > size().
12447 (setCursor): check also for the same paragraph when checking where
12448 to put the cursor if we have a NFR inset.
12450 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12451 parts of layout read further up as it still was in the wrong
12454 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12456 * screen.C (drawFromTo): change sine fullRebreak always return
12459 * buffer.C (parseSingleLyXformat2Token): reindent some
12461 * BufferView_pimpl.C (update): change since fullRebreak always
12463 (Dispatch): git rid of the last hardcoded "Standard"s.
12465 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12467 * text2.[Ch] (fullRebreak): make it return void now that we always
12470 2002-04-30 Juergen Vigna <jug@sad.it>
12472 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12473 ert compatibility check for "latex" layout.
12475 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12477 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12478 minipages: use col% instead of p%, and also use the current font.
12479 (makeLaTeXFile): Fix use babel condition.
12480 (parseSingleLyXformat2Token): Correct font when reading old floats.
12482 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12484 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12485 inserting list of floats.
12487 2002-04-25 Herbert Voss <voss@lyx.org>
12489 * MenuBackend.C (expand): don't add the graphics extensions to the
12492 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12494 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12495 non-existing layout, do not complain if it was the default layout
12496 of the original class (bug #342)
12498 2002-04-24 Juergen Vigna <jug@sad.it>
12500 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12501 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12503 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12505 * buffer.C (getBibkeyList): If using \bibliography, return the
12506 option field with the reference itself. Enables us to provide natbib
12507 support when using \bibliography.
12509 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12511 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12513 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12514 natbib is provided by the LaTeX class.
12516 2002-04-23 Juergen Vigna <jug@sad.it>
12518 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12521 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12523 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12525 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12527 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12528 ensuremath around textordmasculine, textordfeminine and
12531 2002-04-19 Juergen Vigna <jug@sad.it>
12533 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12534 reinitializing the buffer otherwise row-dimensions may be wrong.
12535 (update): reset also the selection cursors if they do exits otherwise
12536 their x/y positions may be wrong.
12538 * text2.C (cursorDown): don't enter the inset if we came from a row
12539 above and are one row over the inset.
12541 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12542 really leaving an inset.
12544 2002-04-18 Juergen Vigna <jug@sad.it>
12546 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12547 of the selected paragraph does not have the selected layout also if
12550 * text2.C (setLayout): fixed bug which did not change last selected
12553 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12554 changed the read and substituted \\end_float with \\end_inset!
12556 * BufferView_pimpl.C (cursorPrevious):
12557 (cursorNext): fixed to make it work with rows heigher than the work
12558 area without moving the cursor only the draw of the row.
12559 (workAreaMotionNotify): fix jumping over high rows.
12561 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12563 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12566 2002-04-16 Juergen Vigna <jug@sad.it>
12568 * text2.C (setCursor): set also the irow().
12569 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12571 (cursorDown): support for locking an inset if the x_fix value goes
12572 inside it. That way I can transverse insets too with cursor up/down.
12574 * lyxrow.h: added irow helper function same as other (i) functions.
12576 * BufferView_pimpl.C (cursorPrevious):
12577 (cursorNext): fixed for insets!
12579 2002-04-15 Juergen Vigna <jug@sad.it>
12581 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12582 position otherwise it is wrong in some cases.
12584 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12585 inside the inset before the call.
12587 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12589 * buffer.[Ch] (getBibkeyList): make it const.
12591 2002-04-12 Juergen Vigna <jug@sad.it>
12593 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12595 * text2.C (getCursorX): new helper function
12596 (setCursor): compute also ix_
12597 (setCursorFromCoordinates): set also ix.
12599 * lyxcursor.h: added ix_ and helper functions.
12601 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12603 * buffer.C (insertStringAsLines): dont break paragraph if the this
12604 paragraph is inside an inset which does not permit it!
12606 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12607 also with no chars on this paragraph.
12608 (paintRowText): only paint stuff if it's inside the workarea!
12610 * paragraph.C (breakParagraph): honor keepempty flag and break the
12611 paragraph always below not above.
12613 * BufferView2.C (unlockInset): update the paragraph layout on inset
12614 unlock as we changed paragraph in such a case.
12616 * lyxfind.C (LyXFind): clear the former selection if not found!
12618 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12619 again called in insertChar().
12621 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12622 an inset which uses the whole row!
12623 (rightMargin): ditto.
12624 (insertChar): force a rebreak if we inserted an inset!
12626 2002-03-28 Herbert Voss <voss@lyx.org>
12628 * lyxlength.[Ch]: add inBP() to get the right PS-point
12629 units (BigPoint). With inPixels we have rounding errors
12631 2002-04-11 Juergen Vigna <jug@sad.it>
12633 * text2.C (setCursorFromCoordinates): set iy to the right value.
12634 (setCursor): add check if row->previous exists!
12636 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12637 an old float_type as this was the case in the old code!
12639 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12641 * BufferView2.C (showLockedInsetCursor): use iy
12642 (fitLockedInsetCursor): ditto
12644 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12645 locked insets as there we have the right value now.
12647 * lyxcursor.C: added iy_ variable and iy functions to set to the
12648 baseline of cursor-y of the locked inset.
12650 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12651 (setCursor): fixed for insets which need a full row.
12653 * text.C (rowLastPrintable): don't ignore the last space when before
12654 an inset which needs a full row.
12655 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12656 as last character of a row when before a inset which needs a full row.
12658 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12660 * version.C.in: update date
12662 * text2.C (fullRebreak): try to always return true and see what
12665 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12667 * MenuBackend.C (expand): use Floating::listName
12669 * FloatList.C (FloatList): add listName argument to the built-in
12672 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12673 text associated with the float.
12675 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12677 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12679 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12681 * ShareContainer.h: add a couple of missing typenames.
12683 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12685 * lyxrc.C (getDescription): use _() correctly rather than N_().
12687 2002-03-28 Herbert Voss <voss@lyx.org>
12689 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12690 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12692 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12694 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12695 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12697 2002-03-29 Juergen Vigna <jug@sad.it>
12699 * lyxfunc.C (dispatch): add a missing fitCursor call.
12701 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12702 it was scrolled by a cursor move, so return the bool status.
12704 * BufferView.C (fitCursor): return the bool flag also to the outside
12705 world as this is needed.
12707 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12709 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12710 call the edit() as it is not needed (and wrong) IMO.
12711 (workAreaButtonPress): set the screen_first variable before evt.
12712 unlock the inset as this may change screen_first and then we have
12713 a wrong y position for the click!
12715 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12717 * MenuBackend.C (expand): another translation that I missed
12719 2002-03-28 Juergen Vigna <jug@sad.it>
12721 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12723 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12725 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12727 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12729 * MenuBackend.C (expand): fix export/view/update when there is no
12732 2002-03-27 Herbert Voss <voss@lyx.org>
12734 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12737 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12739 * bufferview_funcs.C (currentState): only show paragraph number
12740 for is DEVEL_VERSION is set.
12742 * lyxfunc.C (dispatch): put warning in INFO channel
12744 * MenuBackend.C (expand): translate the name of floats
12746 * FloatList.C (FloatList): mark the float names for translation
12748 * converter.C (convert): use LibScriptSearch
12750 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12752 * MenuBackend.C (defaults): fix default menu (we might as well get
12755 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12757 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12760 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12762 * lyxvc.C: reorder includes.
12764 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12766 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12769 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12771 * CutAndPaste.C: change layouts earlier on paste
12772 to avoid crashing when calling getFont()
12774 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12776 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12779 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12781 * WorkArea.C: remove 'Pending' debug message.
12783 * most files: ws cleanup
12785 * buffer.[Ch]: ws changes
12787 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12789 2002-03-21 Juergen Vigna <jug@sad.it>
12791 * tabular.C (SetMultiColumn): collapse also the contents of the
12792 cells and set the last border right. Added a Buffer const * param.
12794 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12796 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12799 2002-03-19 Juergen Vigna <jug@sad.it>
12801 * text2.C (clearSelection): reset also xsel_cache.
12803 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12804 where it needs to be called (John tells us to do so too :)
12805 (selectionLost): reset sel_cache.
12807 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12809 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12811 * text2.C (setCursorIntern): put debuging code in INSETS channel
12813 2002-03-19 André Pönitz <poenitz@gmx.net>
12815 * lyxfunc.C: tiny whitespace change
12817 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12819 * ToolbarDefaults.C (init):
12820 * LyXAction.C (init):
12822 * BufferView_pimpl.C (Dispatch):
12823 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12825 2002-03-19 Allan Rae <rae@lyx.org>
12827 * exporter.C (Export): removeAutoInsets before doing anything else.
12828 While I've just introduced a dependency on BufferView this really is
12829 the best place to clean the buffer otherwise you need to cleanup in
12830 a dozen places before calling export or cleanup in a dozen functions
12833 * converter.C (runLaTeX):
12834 (scanLog): Better handling of removeAutoInsets and screen updates.
12836 * lyxfunc.C (dispatch): small whitespace changes
12838 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12840 * WorkArea.C (C_WorkAreaEvent): return a value.
12841 (event_cb): return 1 if we handled the event, 0 otherwise.
12843 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12845 2002-03-18 Juergen Vigna <jug@sad.it>
12847 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12848 (GetAdditionalWidth): ditto.
12849 (RightLine): ditto.
12852 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12853 inset if we're there actually (probably not used right now but this
12854 is the direction to go for unifying code).
12855 (paste): disable code to clear the selection.
12857 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12858 inside an InsetText and move the check further up as it is in the
12861 * text2.C (pasteSelection): set a selection over the pasted text.
12863 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12865 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12866 and libgraphics to build on Cygwin.
12868 2002-03-15 Juergen Vigna <jug@sad.it>
12870 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12871 inserting an Inset into the paragraph. I know this is not the best
12872 fix but we already use current_view in CutAndPaste so we will remove
12873 all of it's using at the same time.
12875 * buffer.C (sgmlError): deactivated function till it is rewritten in
12876 the right mode, now it can create problems.
12878 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12879 before accessing it.
12881 2002-03-14 Juergen Vigna <jug@sad.it>
12883 * undo_funcs.C (textHandleUndo): do the right thing when updating
12884 the inset after the undo/redo.
12886 * text2.C (setCursor): just some testcode for #44 not ready yet.
12888 * undo_funcs.C (textHandleUndo): set the next() and previous()
12889 pointers of the paragraph to 0 before deleting otherwise we have
12890 problems with the Paragraph::[destructor].
12892 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12893 on a paragraph insertion.
12895 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12897 * buffer.C (asciiParagraph): use += operator for char append to
12900 * paragraph.C (getFontSettings): compare >= not just >
12901 (highestFontInRange): ditto
12904 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12906 * paragraph.C: change several algorithm to be more appripriate for
12907 the problem domain. This is lookip in FontList and in the InsetList.
12909 2002-03-13 André Pönitz <poenitz@gmx.net>
12912 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12914 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12919 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12921 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12923 * Painter.C (display): anon helper function, adjust code for this
12925 (pixmap): remove function.
12927 * Painter.h: remove private display variable.
12929 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12931 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12933 * WorkArea.[Ch]: remove figinset_canvas cruft.
12935 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12937 * lyxtextclass.C (operator): add one item cache optimization.
12939 * bufferlist.h: doxy changes
12941 * bufferlist.C: ws changes
12943 * DepTable.[Ch] (ext_exist): place const in the right spot.
12945 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12947 (workAreaExpose): call resizeInsets when the with BufferView changes.
12948 (Dispatch): adjust for protectedBlank removal
12949 (specialChar): call updateInset if the insert went ok.
12951 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12952 specialChar instead.
12954 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12956 * BufferView.h: doxy change
12958 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12960 * lyxtextclass.C (operator[]): remove non-const version
12961 (defaultLayout): remove non-const version
12963 2002-03-12 Juergen Vigna <jug@sad.it>
12965 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12966 did resize the LyXText too.
12968 * buffer.C (readLyXformat2): set layout information on newly allocated
12971 * tabular.C (OldFormatRead): set layout information on the paragraph.
12973 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
12975 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12977 2002-03-11 Juergen Vigna <jug@sad.it>
12979 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12981 (resizeCurrentBuffer): force also the insets to resize themselfes.
12982 (moveCursorUpdate): fixed up for InsetText.
12984 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12987 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12988 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12989 value of Dialogs::tooltipsEnabled().
12990 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12992 2002-03-08 Juergen Vigna <jug@sad.it>
12994 * BufferView_pimpl.C (updateInset): update inset inside inset also
12995 if it isn't inside theLockingInset().
12997 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12999 * buffer.C (asciiParagraph): redo some of the word and line length
13001 (getLists): look for Caption instead of caption.
13003 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13005 * buffer.C (Buffer): initialize niceFile to true
13007 (makeLinuxDocFile):
13008 (makeDocBookFile): make sure niceFile is true on exit
13010 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13012 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13014 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13016 * LyXSendto.C: remove.
13017 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13018 * lyx_gui.C: remove now-redundant comment.
13019 * ColorHandler.h: remove forward declaration of class WorkArea.
13020 * lyxfunc.C: remove #include "WorkArea.h".
13022 2002-03-07 Juergen Vigna <jug@sad.it>
13024 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13025 got moved away with the DEPM and also set the inset_owner always
13026 right which before could have been omitted.
13028 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13030 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13031 wanted layout is not found.
13033 2002-03-07 Juergen Vigna <jug@sad.it>
13035 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13037 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13039 * paragraph.C (breakParagraph): use default layout not layout of
13041 (Paragraph): clear ParagraphParameters.
13043 2002-03-06 Juergen Vigna <jug@sad.it>
13045 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13046 otherwise it would not be a valid lenght. Fixed a special case in
13047 the minipage compatibility read where we end the document with a
13050 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13051 was set as it could be 0 for InsetTexts first entry.
13053 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13055 * paragraph.C (writeFile): if layout is empty write out
13056 defaultLayoutName().
13058 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13059 file without named layout we set layout to defaultLayoutName().
13061 2002-03-06 Juergen Vigna <jug@sad.it>
13063 * CutAndPaste.C (copySelection): set layout for new paragraph.
13065 * text.C (prepareToPrint): leave ERT inset left aligned
13066 (leftMargin): don't indent paragraphs inside ERT insets
13068 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13070 * paragraph.C (breakParagraph): dont call clear do the work manually
13072 * paragraph.[Ch] (clear): remove function
13074 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13076 * paragraph.C (Paragraph): dont call clear, the work has already
13079 * lyxtextclass.C (operator): assert if n is empty
13081 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13082 work manually instead.
13084 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13086 * BufferView_pimpl.C: protect selectionLost against text == 0
13088 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13090 * text.C (breakParagraph): fix a setting layout to '0' problem.
13092 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13094 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13095 final location of file, for the included files, and graphics.
13097 2002-03-05 Juergen Vigna <jug@sad.it>
13099 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13101 2002-03-04 Juergen Vigna <jug@sad.it>
13103 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13105 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13106 last column of multicolumn cells.
13107 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13109 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13111 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13112 file if it doesn't go to a temporary file.
13114 * buffer.C (sgmlOpenTag):
13115 (sgmlCloseTag): remove extra newline insertion.
13117 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13119 * text.C (getRowNearY): comment out debug msg
13121 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13123 * text2.C: first -> first_y
13125 * text.C (getRowNearY): add some attemts at a possible
13126 optimization, not working.
13128 * tabular.[Ch]: add BufferParams to several function so that newly
13129 created paragraph can be initialized to he default layotu for the
13132 * tabular-old.C (ReadOld): add buf->params to call of Init
13134 * screen.C: rename text->first to text->first_y
13136 * paragraph.C (breakParagraph): always set layout in the broken
13139 * lyxtextclass.C (Read): remove lowercase
13142 (delete_layout): ditto
13144 * lyxtext.h: rename first -> first_y
13146 * lyxlayout.C (Read): remove lowercase
13149 (obsoleted_by): ditto
13151 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13153 * buffer.C (insertErtContents): add params are to InsetERT
13154 (parseSingleLyXformat2Token): add code to check if a paragraphs
13155 layout really exist.
13156 (parseSingleLyXformat2Token): add params to several inset
13158 (asciiParagraph): remove lowercase, do the layout comparisons with
13161 * BufferView_pimpl.C (cursorNext): first -> first_y
13162 (resizeCurrentBuffer): first -> first_y
13163 (updateScrollbar): first -> first_y
13164 (scrollCB): first -> first_y
13165 (workAreaMotionNotify): first -> first_y
13166 (workAreaButtonPress): first -> first_y
13167 (checkInsetHit): first -> first_y
13168 (cursorPrevious): first -> first_y
13169 (cursorNext): first -> first_y
13170 (Dispatch): add buffer_->params to severl inset contructors
13172 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13174 * lyxlayout.C (Read): remove some debug info that I forgot.
13176 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13177 clean up the code slightly.
13178 (makeLinuxDocFile): ditto
13179 (makeDocBookFile): ditto
13181 * text2.C: layout as string
13183 * text.C: layout as string
13185 * paragraph_pimpl.C: layout as string
13187 * paragraph.[Ch]: layout as string
13189 * lyxtextclasslist.[Ch]: layout as string
13191 * lyxtextclass.[Ch]: layout as string
13193 * lyxtext.h: layout as string
13195 * lyxlayout.[Ch]: layout as string
13197 * lyx_cb.C: layout as string
13199 * bufferview_funcs.C: layout as string
13201 * bufferparams.C: layout as string
13203 * buffer.C: layout as string
13205 * LyXView.[Ch]: layout as string
13207 * LaTeXFeatures.[Ch]: layout as string
13209 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13211 * BufferView_pimpl.C: change current_layout to string, remove
13216 (workAreaButtonRelease): layout as string
13218 * BufferView2.C (unlockInset): adjust
13220 * vspace.C (asLatexCommand): use an explict temp variable.
13222 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13224 * Makefile.am: use FRONTEND_*
13226 2002-03-01 Juergen Vigna <jug@sad.it>
13228 * tabular.C (SetWidthOfMulticolCell): changed to something better
13229 I hope but still work in progress.
13230 (recalculateMulticolumnsOfColumn): renamed function from
13231 recalculateMulticolCells as it is more appropriate now.
13232 (SetWidthOfCell): calculate multicols better.
13234 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13236 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13238 * lyxfunc.C (processKeySym): print sequence also if it is
13239 `deleted' (complete)
13241 * kbsequence.C (print): print sequence even if it is deleted
13242 (complete would be a better word, actually).
13244 * lyxfunc.C (dispatch): print complete options after a prefix key
13246 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13248 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13250 * text2.C (setCharFont): eliminate setCharFont code duplication.
13252 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13254 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13255 LFUN_TABULAR_FEATURE (bug #177)
13257 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13259 * Makefile.am: remove figure.h
13261 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13263 * Bufferview_pimpl.C:
13275 * text2.C: remove #include "lyx_gui_misc.h".
13277 * LaTeX.C: added #include <cstdio>
13279 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13281 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13282 that the paragraph following this one can have.
13284 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13286 * vspace.C (asLatexCommand): fix bogus gcc warning
13288 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13290 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13292 * text2.C (setLayout): get rid of redundant code
13294 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13296 * text2.C (incDepth): make sure depth cannot be increased beyond
13299 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13301 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13302 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13304 * PainterBase.h (image):
13305 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13306 a LyXImage const *.
13308 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13312 * BufferView_pimpl.C:
13313 * BufferView_pimpl.h:
13333 * sp_spell.C: remove fig inset, and the crap house of
13334 cards that follows it
13336 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13341 * os2_errortable.h:
13342 * nt_defines.h: move .h into support/
13344 * vms_defines.h: remove
13346 * WorkArea.C: add space in debug output
13350 * buffer.C: add WITH_WARNINGS
13354 * bufferlist.C: s/retrive/retrieve/, add docs
13363 * chset.C: add docs
13365 * lyxgui.C: add ID to X error handler
13367 * lyxtestclass.c: fix typo
13369 2002-02-26 Juergen Vigna <jug@sad.it>
13371 * tabular_funcs.C (write_attribute): changed so that some default
13372 attributes are not written at all.
13373 (getTokenValue): set default values before trying to read the
13374 value so we have the return value always set as default if we don't
13375 find the token we search for.
13377 * tabular.C (Write): write bools as bools not as strings!
13379 2002-02-22 Juergen Vigna <jug@sad.it>
13381 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13382 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13384 * text.C (leftMargin): don't add an indent for paragraphs inside
13385 tabular cells (fix #208).
13387 2002-02-21 José Matos <jamatos@fep.up.pt>
13389 * tabular.C (docBook): fixed support for long tables.
13391 2002-02-20 Juergen Vigna <jug@sad.it>
13393 * text2.C (getFont): get the drawing font of the Inset if this
13394 paragraph is inside an inset (only important for InsetERT for now).
13396 * buffer.C (insertErtContents): use new lanugage params in ERT
13399 * CutAndPaste.C: commenting out seemingly uneeded code.
13401 2002-02-19 Allan Rae <rae@lyx.org>
13403 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13404 Iterators might be simple to use but they also get invalidated.
13405 (removeAutoInsets): renamed saved cursor tracking variables and added
13406 some comments to clarify what everything does.
13408 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13415 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13416 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13419 * vc-backend.h: remove #include "support/syscall.h"
13423 * converter.C: rearrange #includes in Lars' approved fashion.
13425 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13426 forward declare class Timeout in the header file.
13428 * XFormsView.C: changes due to the above.
13430 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13431 similar to LyXView.
13433 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13434 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13436 2002-02-18 José Matos <jamatos@fep.up.pt>
13438 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13441 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13443 * a lot of small ws changes
13444 * add a lot of using std::XXX
13445 * use std construcs some places where approp.
13446 * use some exisint stuff from lyxfunctional where approp.
13447 * Make file changes to use partial linking (lets test this now...)
13449 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13453 remove #include "support/syscontr.h" as it's redundant. Always has been.
13461 change Systemcalls::System to Systemcalls::Wait and
13462 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13463 No change of functionality, just reflects the stripped down Systemcalls
13466 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13468 * debug.[Ch]: add a GRAPHICS type to the enum.
13470 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13472 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13474 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13477 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13479 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13480 match the changes below.
13482 * text2.C (toggleInset): if there is not editable inset at cursor
13483 position, try to see if cursor is _inside_ a collapsable inset
13486 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13488 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13489 document menu has a nice checkbox
13491 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13493 * lyxlength.C (asLatexString): change PW to output as percent of
13496 * lengthcommon.C: change '%' to 't%'
13498 * lyxfunc.C (dispatch): a few comments from Martin
13500 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13504 * BufferView_pimpl.h:
13505 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13508 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13510 * vspace.C (inPixels): fix compiler warning
13512 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13514 * lyxfunc.C (getStatus): fix status message for disabled commands.
13516 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13518 * BufferView_pimpl.C: fix crash on close buffer
13519 during selection (#227)
13521 2002-01-27 Herbert Voss <voss@lyx.org>
13523 * buffer.C: link old Figure to new graphic inset
13525 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13527 * FontLoader.C (getFontinfo): Change the latex font names in order
13528 to match the names of type1inst.
13530 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13532 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13534 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13535 (extchanged): ditto
13537 (remove_files_with_extension): ditto
13538 (remove_file): ditto
13541 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13542 document is smaller than the work area height. Do not initialize
13543 static variables to 0.
13545 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13547 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13549 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13550 LFUN_LAYOUT_PARAGRAPHS.
13552 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13553 tabular. It is possible to provide a possible cell, which will
13554 typically be the actcell from the corresponding insettabular
13556 * lyxfunc.C (getStatus): small cleanup; disable
13557 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13560 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13562 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13564 * paragraph.C (startTeXParParams):
13565 (endTeXParParams): new methods. The LaTeX code to
13566 start/end paragraph formatting
13567 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13568 empty (fixes bug #200)
13570 * vspace.C (inPixels): adapt to the change below
13571 (inPixels): [later] more cleanups (remove unused variables)
13573 * lyxlength.C (inPixels): change to use a width and a height as
13576 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13578 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13579 Replaced with \paperwidth
13581 * DepTable.C (insert): add std:: qualifier
13583 2002-01-18 Allan Rae <rae@lyx.org>
13585 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13588 * text.C (drawInset): Turned out I didn't know enough about how
13589 rebreaking worked. This fixes most of the redraw problems. I see
13590 an occasional cursor trail when a line is broken now and the cursor
13591 placement can seem out by a few pixels also after a rebreak.
13593 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13595 * buffer.C (parseSingleLyXformat2Token): update because minipage
13596 width is now a LyXLength
13598 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13600 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13603 2002-01-17 Juergen Vigna <jug@sad.it>
13605 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13607 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13608 is set correctly and the inset is updated correctly.
13610 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13612 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13613 the beginning of the loop.
13615 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13617 * lyxrc.C: improve help for use_scalable_fonts
13619 2002-01-17 Allan Rae <rae@lyx.org>
13621 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13623 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13625 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13626 make sure to set their inset_owner to the right value (bug #171)
13628 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13631 * DepTable.C: Implement mtime checking to reduce time spent doing
13634 2002-01-16 Juergen Vigna <jug@sad.it>
13636 * tabular.C (GetAdditionalHeight): one of error fixed.
13638 * lyxrc.C (output): small fix in writing use_pspell.
13640 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13642 * sp_base.h: #include LString.h
13644 2002-01-16 Allan Rae <rae@lyx.org>
13646 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13647 Can someone check this please?
13649 * text.C (drawInset): It was possible that p.row would be removed by
13650 breakAgainOneRow upsetting a few other settings. There may be another
13651 small tweak possible by setting need_break_row = 0 when p.row has been
13652 removed but I don't know enough about the logic here.
13654 2002-01-15 Allan Rae <rae@lyx.org>
13656 * text.C (insertChar): removed conditional truism.
13658 * BufferView2.C (removeAutoInsets): More tweaks.
13659 cur_par_prev could be a stray pointer. Check for trailing empty line
13660 in case last line was cur_par and only had an error inset on it.
13662 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13664 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13667 * vc-backend.C (most methods):
13668 * exporter.C (Export):
13669 * converter.C (convert):
13671 * LyXSendto.C (SendtoApplyCB):
13672 * lyxfunc.C (dispatch):
13676 * lyx_cb.C (AutoSave):
13678 * BufferView_pimpl.C (MenuInsertLyXFile):
13679 * buffer.C (runChktex): use Buffer::filePath().
13681 * buffer.h: rename filename to filename_; rename filepath to
13682 filepath_ and make it private
13683 (filePath): new method
13685 * buffer.C (writeFile): use fileName()
13688 * lyx_main.C (init): fix starting of LyX when the binary is a
13689 link from so,ewhere else.
13691 * minibuffer.C: include <cctype> for isprint
13693 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13695 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13696 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13697 name clash with InsetCollapsable's width function.
13699 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13701 * lastfiles.C: include <iterator>
13703 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13705 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13708 * buffer.C (makeLaTeXFile): ditto.
13709 Also make loop operation more transparent.
13711 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13713 * ToolbarDefaults.C: remove trailing comma closing namespace.
13715 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13717 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13720 * trans.C (Load): comment out unused variable, allowed.
13722 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13724 * minibuffer.[Ch] (append_char): new method to recieve input from the
13725 drop-down completion browser. If a key was pressed, then recieve this
13726 char and append it to the existing string.
13727 (peek_event): modify the positioning data passed to the completion
13728 browser so that it can be placed above the minibuffer rather than below.
13729 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13731 * LyXAction.C (init): alloe error-next for readonly documents.
13733 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13736 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13738 * bufferlist.C (readFile): create the buffer _after_ checking that
13741 * lyxfunc.C (verboseDispatch): fix handling of arguments
13743 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13745 * lyxrc.C: use string::erase() instead of initializing to "".
13748 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13750 * BufferView_pimpl.h:
13751 * BufferView_pimpl.C:
13754 * text2.C: tell X when we have made a selection for copying
13756 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13758 * BufferView_pimpl.C (MenuInsertLyXFile):
13759 * lyxfunc.C (menuNew):
13761 (doImport): add shortcuts to directory buttons
13763 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13766 * lyxfunc.C (setStatusMessage):
13767 (getStatusMessage): new methods
13768 (getStatus):use setStatusMessage instead of setErrorMessage
13769 (dispatch): when function is disabled, set error message here
13770 [instead of in getStatus previously]
13772 * BufferView_pimpl.C (workAreaButtonRelease): update
13773 toolbar/menubar here too.
13775 2002-01-13 Allan Rae <rae@lyx.org>
13777 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13778 Now seems indestructible. Remaining task is to audit all other
13779 code affected by deleteEmptyParagraphMechanism. One small quirk
13780 left is that an empty document with an error in the preamble can
13781 be made to report an error but no error box appears. I don't know
13783 (removeAutoInsets): Improved comments.
13785 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13788 * Thesaurus.C: update for Aiksaurus 0.14
13790 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13792 * text2.C (firstParagraph): removed member function, all uses
13793 replaces with ownerParagraph
13794 (redoParagraphs): here
13795 (updateInset): here
13796 (toggleAppendix): here
13797 * BufferView2.C (insertErrors): here
13798 (setCursorFromRow): here
13800 2002-01-13 Allan Rae <rae@lyx.org>
13802 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13803 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13804 There is still a way to segfault this although you may have to do this
13805 multiple times: Have an InsetERT with an unknown command in it.
13806 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13807 <down-arrow>, <Enter> again, View->DVI, BANG!
13809 * text2.C (setCursor):
13810 (deleteEmptyParagraphMechanism):
13811 * lyxtext.h (setCursor):
13812 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13813 Making use of the return value may help fix other bugs.
13815 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13817 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13819 * LyXView.C (updateMenubar): call MenuBar::update here
13820 (updateToolbar): but not here
13821 (showState): do not update toolbar/menubar
13823 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13824 should need to care about that.
13826 * lyxfunc.C (verboseDispatch): simplify a bit
13827 (getStatus): have a version which takes a pseudoaction, and
13828 another which requires a (kb_action,string).
13830 * LyXAction.C (retrieveActionArg): make it work also when action
13831 is not a pseudo-action.
13832 (getActionName): simplify a bit
13835 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13837 * lyxfunc.C (verboseDispatch): new families of methods with
13838 several ways to specify a command and a bool to indicate whether
13839 the command name and shortcut should be displayed in minibuffer
13840 (eventually, we could extend that to a finer bitmask like
13841 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13842 (dispatch): the pristine dispatch command which just, well,
13843 dispatchs! Note it still sets its result to minibuffer; I'm not
13846 * lyxfunc.h: remove setHintMessage
13848 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13850 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13852 * BufferView_pimpl.C (specialChar): delete new inset if we have
13853 not been able to insert it.
13855 * kbmap.C: revert to using int instead of kb_action, since all we
13856 are dealing with is pseudo-actions.
13858 * LyXAction.C (searchActionArg): change to return int instead of
13859 kb_action, since the result is a pseudoaction.
13861 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13863 * buffer.C (insertErtContents): Fix (partially) the font bug.
13865 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13867 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13868 as the other one is broken on my machine!
13870 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13873 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13875 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13877 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13878 reflect their actual use. Provide compatibility code for older lyxrc
13881 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13883 change names of popup font variables in line with the changes to lyxrc.C
13885 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13887 * buffer.C (asciiParagraph): avoid outputing a word twice after
13890 * lyxrc.C (getDescription): document that document_path and
13891 template_path can be empty.
13893 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13895 * LaTeXFeatures.C (getMacros):
13896 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13898 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13900 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13902 (getPackages): rename feature "floats" to "float". Use an array to
13903 iterate over 'simple' features (i.e. just a \usepackage). Add
13904 handling of "amsmath" (renamed from "amsstyle").
13906 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13908 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13911 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13913 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13914 FuncStaus::FuncStatus & FuncStaus::some_method().
13916 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13918 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13919 of the func_satus stuff. Edited and massaged in various ways by
13922 * lyxfunc.C (getStatus): use FuncStatus
13924 2002-01-08 Juergen Vigna <jug@sad.it>
13926 * text.C (nextBreakPoint): use function Inset::isChar().
13928 * paragraph.C (TeXOnePar): use function
13929 Inset::forceDefaultParagraphs.
13931 * buffer.C (latexParagraphs): use function
13932 Inset::forceDefaultParagraphs.
13934 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13936 * lyx_gui.C (init): set the style of the menu popups to
13937 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13939 2002-01-07 Juergen Vigna <jug@sad.it>
13941 * text.C (setHeightOfRow): small fix
13942 (prepareToPrint): don't look at alignment if we don't have the place
13945 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13947 * box.C: New file. Move the Box methods and functions out of box.h,
13948 following Lars' suggestion.
13950 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13952 * box.h: #include "support/LOstream.h", needed for inlined function.
13955 * lyxtextclasslist.C: added some using std declarations.
13957 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13959 * box.h: make signed dimensions to allow insets wider than
13960 the screen (bug #162)
13962 * BufferView_pimpl.C: add some insetHit debug
13964 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13966 * vc-backend.C: add FIXME
13968 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13970 * lyxfunc.C (getStatus): enable code for showing math font status
13973 2002-01-07 Juergen Vigna <jug@sad.it>
13975 * text.C (nextBreakPoint): removed debug output not needed anymore.
13977 2002-01-06 Juergen Vigna <jug@sad.it>
13979 * text.C (nextBreakPoint): fixed up this function we had this bug
13980 since ever but now hopefully we break row better.
13981 (insertChar): we have to check if an inset is the next char as it
13982 could now happen that a large inset is causing a break.
13984 2002-01-05 Juergen Vigna <jug@sad.it>
13986 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13987 if it doesn't like to be drawed.
13989 2002-01-04 Juergen Vigna <jug@sad.it>
13991 * BufferView2.C (lockInset): forgot to set a cursor.
13993 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13995 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13997 * FormMathsPanel.C:
14000 * form_maths_panel.C:
14001 * form_maths_panel.h:
14002 * form_maths_panel.fd: implemented sub- and super- buttons in math
14005 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14006 (or ^ space) to be used as in TeX (req'd by Andr�.
14008 * lyxfunc.C: Allow ^ and _ again to be used both as
14009 super/subscript (mathed) and as themselves (in text).
14011 2002-01-03 Allan Rae <rae@lyx.org>
14013 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14014 "LyX" or the filename of the current buffer if it has one. This is a
14015 modified form of John Levon's patch.
14017 * XFormsView.C (setWindowTitle): also set icon title.
14019 * LyXView.h (setWindowTitle): signature changed.
14020 * XFormsView.h (setWindowTitle): ditto.
14022 2002-01-02 Juergen Vigna <jug@sad.it>
14024 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14026 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14028 * screen.C (topCursorVisible): introduce a temp var for
14029 text->cursor.row(), handle the case where this row is null. (kindo
14032 * text2.C (setCursor): add a couple of asserts.
14034 * paragraph.h (inset_iterator): add -> operator
14036 * paragraph.[Ch] (autoDeleteInsets): remove member function
14038 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14039 cursor pos correctly and handle inset deletion by itself.
14040 (insertErrors): move iterator declaration out of for expression
14042 * lyxtextclass.C: add <algorithm>
14044 * Makefile.am: added the new files to sources, removed layout.C
14046 * layout.C: removed file
14048 * layout.h: remove LYX_DUMMY_LAYOUT
14050 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14054 * lyxtextclass.[Ch]:
14055 * lyxtextclasslist.[Ch]: new files
14057 * include order changes to a lot of files, also changes because of
14060 2001-12-27 Juergen Vigna <jug@sad.it>
14062 * buffer.C (asciiParagraph): more fixes.
14064 * tabular.C (ascii): make ascii export support export of only the
14065 data separated by a column-delimiter.
14066 (ascii): better support for ascii export.
14068 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14070 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14072 * tabular_funcs.C: use a "using std::getline" instead of the
14073 previous fix from Angus (necessary for cxx + lyxstring)
14075 2001-12-24 Juergen Vigna <jug@sad.it>
14077 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14079 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14080 problems. First check a minipage also if we have some ert-contents
14081 (not only on par->size(), second set the right depth of the paragraph
14082 on the relink to the root-paragraph-list!
14084 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14085 which then did not anymore update the main paragraphs on undo/redo!
14087 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14089 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14090 code. Support all font-changing funcs (even those which are not in
14091 menu currently). Support for reporting font settings in
14092 mathed (disabled until Andre provides a function on mathed's side).
14094 * func_status.h (toggle): small helper function to set toggle
14097 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14099 * tabular_funcs.C: getline -> std::getline
14101 2001-12-21 Juergen Vigna <jug@sad.it>
14103 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14104 accessed and could be 0 (I couldn't generate this but it seems
14107 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14109 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14110 * tabular_funcs.h: here and include iosfwd
14112 2001-12-20 Juergen Vigna <jug@sad.it>
14114 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14115 inside inset but undo_par was.
14117 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14119 * Thesaurus.C: always include <config.h> in sources.
14123 * box.h: do not include <config.h> in header files
14125 * text.C (paintLastRow): remove unused variable
14127 * text.C (transformChar):
14129 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14131 * Painter.C (text):
14132 * font.C (width): rewrite to use uppercase() instead of
14135 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14137 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14139 * lyxfind.C: clean up of find failure position change
14141 2001-12-20 Juergen Vigna <jug@sad.it>
14143 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14145 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14146 (TeXRow): added to LaTeX a single tabular row.
14147 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14148 (Latex): simplified and finally good LT-h/f support.
14149 (various_functions): just small adaptions for LT-h/f support.
14151 * tabular_funcs.[hC]: added and moved here all not classfunctions
14154 2001-12-19 Juergen Vigna <jug@sad.it>
14156 * tabular.[Ch]: better support for longtabular options (not finished
14159 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14161 * text.C (paintLastRow): use the label font instead of the font of
14162 the last character to compute the size of *_BOX. This makes more
14163 sense and avoids a crash with empty paragraphs.
14164 Use Painter::rectangle to draw EMPTY_BOX.
14166 2001-12-19 Juergen Vigna <jug@sad.it>
14168 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14169 the paragraphs if the replaced paragraph is not the first one!
14170 Tried to delete not used paragraphs but does not work yet so for
14171 now it's inside #ifdef's and by default off!
14173 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14175 * MenuBackend.C: include "lyx_main.h" instead of declaring
14176 lastfiles (actually was declared as LastFiles* instead of a
14179 2001-12-17 Juergen Vigna <jug@sad.it>
14181 * tabular.C (AppendColumn): applied John's fix
14183 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14187 * BufferView_pimpl.h:
14188 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14191 * box.h: new start of class for above
14193 * lyxfunc.C: ignore space-only minibuffer dispatches.
14194 Show the command name when it doesn't exist
14196 * minibuffer.C: don't add empty lines to the history
14198 * minibuffer.C: add a space on dropdown completion
14200 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14202 * text.C: fix line above/below drawing in insets
14204 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14206 * lyxlength.C (LyXLength): Initialize private variables.
14208 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14210 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14211 when inserting error insets.
14213 2001-12-13 Juergen Vigna <jug@sad.it>
14215 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14216 actually sometimes the before-paragraph.
14217 (setUndo): don't clear the redostack if we're not actually undoing!
14219 2001-12-06 Juergen Vigna <jug@sad.it>
14221 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14222 and fixed redoing of main paragraph, so we can use it now ;)
14224 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14226 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14228 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14231 2001-12-13 André Pönitz <poenitz@gmx.net>
14234 * undo_func.C: minor cleanup
14236 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14238 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14239 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14240 font in urw-fonts package which is marked as -urw-fontspecific and
14241 does not work (incidentally, changing the encoding in the
14242 fonts.dir of this package to -adobe-fontspecific fixes the
14245 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14246 is a crash when undoing first paragraph (Juergen, please take a
14247 look). THis does not mean the undo fix is wrong, just that it
14250 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14251 the (Paragraph*) version when needed instead of duplicating the
14254 * text.C (workWidth): use Inset::parOwner to find out where the
14255 inset has been inserted. This is a huge performance gain for large
14256 documents with lots of insets. If Inset::parOwner is not set, fall
14257 back on the brute force method
14259 * paragraph_pimpl.C (insertInset):
14260 * paragraph.C (Paragraph):
14261 (cutIntoMinibuffer): set parOwner of insets when
14262 inserting/removing them
14264 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14266 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14272 * mathed/formulabase.C:
14273 * mathed/math_cursor.[Ch]:
14274 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14277 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14279 * lyxlength.[Ch] (operator!=): new function
14281 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14283 * text.C (workWidth): use Inset::parOwner to find out where the
14284 inset has been inserted. This is a huge performance gain for large
14285 documents with lots of insets. If Inset::parOwner is not set, fall
14286 back on the brute force method
14288 * paragraph_pimpl.C (insertInset):
14289 * paragraph.C (Paragraph):
14290 (cutIntoMinibuffer): set parOwner of insets when
14291 inserting/removing them
14293 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14295 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14297 * tabular-old.C (getTokenValue):
14298 * tabular.C (getTokenValue):
14299 (write_attribute): new versions for LyXLength
14300 (everywhere): adjust the use of widths
14302 * tabular.h: change the type of widths from string to LyXLength
14304 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14306 * paragraph.C: fixed missing line number count when exporting
14307 Environments to LaTeX file
14309 * buffer.C: added informational message for checking line numbers.
14311 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14313 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14314 paragraph, do the 'double space' part, but not the 'empty
14317 * text.C (workWidth): small optimization
14318 (getLengthMarkerHeight): use minimal size for negative lengths.
14320 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14322 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14324 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14326 2001-12-11 André Pönitz <poenitz@gmx.net>
14329 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14331 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14333 * text2.C: keep selection on a setFont()
14335 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14337 * lyx_cb.C: another bv->text misuse, from insert label
14339 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14342 * kbsequence.C: re-instate nmodifier mask
14344 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14346 * lyx_main.h: make lyxGUI private.
14348 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14350 * lyxfind.C: place the cursor correctly on failed search
14352 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14354 * text.C (getLengthMarkerHeight): for small heights, the arrows
14355 are not always on top/bottom of the text
14356 (drawLengthMarker): smaller arrows; take the left margin in
14357 account; draw also vfills.
14359 (paintLastRow): remove special code for vfill and standard spaces,
14360 since everything is handled in drawLengthMarker now.
14362 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14364 * buffer.C (insertErtContents): try to handle font and language
14365 interaction a bit better.g
14367 * ColorHandler.C (updateColor): change the hash to cover the whole
14368 LColor enum, ws cleanup
14369 (getGCLinepars): ditto
14370 (getGCLinepars): only lookup in the linecache once.
14372 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14374 * iterators.C (operator++): Make the iterator more robust
14376 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14378 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14380 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14383 * text.C: better added space drawing
14385 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14388 * BufferView2.C: fix layout combo update on inset unlock
14390 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14392 * Makefile.am: don't compile unused files
14394 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14398 * LyXAction.C: remove old LFUN_LAYOUTNO
14400 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14402 * paragraph_pimpl.h:
14403 * paragraph_pimpl.C: isTextAt() doesn't need font param
14405 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14408 * lyxlex.C: little cleanup
14410 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14412 * BufferView_pimpl.C: fix insertAscii for insets
14414 2001-12-05 Juergen Vigna <jug@sad.it>
14416 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14417 set the right font on the "multi" paragraph paste!
14419 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14425 * lyxlength.C: remove out-commented code.
14427 * BufferView_pimpl:
14441 * vc-backend.C: change "while(" to "while ("
14443 * lyxlength.[Ch]: add zero function to check if length is zero or
14445 * lyxgluelength.C: use it
14447 2001-12-05 Allan Rae <rae@lyx.org>
14449 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14450 Works for 2.95.3, from what I understand of Garst's reports this should
14451 work for other g++ versions. We're screwed if the abs(int) definition
14452 changed between bugfix releases of gcc.
14454 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14456 * text.C: fix chapter label offset !
14458 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14461 * text.C: fix hfill at end of line, clean up
14463 2001-12-04 Juergen Vigna <jug@sad.it>
14465 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14466 that we force an update of the inset and it's owners if neccessary.
14468 2001-12-03 Juergen Vigna <jug@sad.it>
14470 * text.C (rowLast): simplified code
14472 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14474 * lyxfunc.C: fix show options on timeout
14476 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14478 * screen.C (topCursorVisible): scroll half a page when the cursor
14479 reached top of bottom of screen
14481 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14483 * minibuffer.C: deactivate on loss of focus
14485 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14487 * vspace.[Ch] (operator!=): add operator.
14489 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14491 * BufferView_pimpl.C: refuse to open an inset when
14492 there's a selection.
14494 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14496 * BufferView_pimpl.C: allow to click on RHS of full row insets
14498 2001-11-30 Juergen Vigna <jug@sad.it>
14500 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14501 insets for undo reasons.
14503 2001-11-28 André Pönitz <poenitz@gmx.net>
14505 * vspace.[Ch]: cosmetical changes
14507 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14517 * kbsequence.C: part re-write of old kb code
14520 * WorkArea.C: remove Lgb_bug_find_hack
14522 2001-11-30 José Matos <jamatos@fep.up.pt>
14524 * buffer.C (makeDocBookFile): add a comment to point a hack.
14525 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14526 Fixed a double write of labels.
14528 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14531 * LaTeX.h Fixed bug in LaTeX class where it would not
14532 re-run latex if no depfiles were changed, but the .dvi was removed.
14534 2001-11-28 André Pönitz <poenitz@gmx.net>
14536 * all the files from the change on 2001/11/26:
14537 use lyx::layout_type instead of LyXTextClass::size_type
14538 use lyx::textclass_type instead of LyXTextClassList::size_type
14540 2001-11-29 Juergen Vigna <jug@sad.it>
14542 * text.C: added support for paragraph::isFreeSpacing()
14544 * buffer.C: same as above
14546 * paragraph.h: inserted isFreeSpacing() function to enable
14547 FreeSpacing inside InsetERT.
14549 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14550 of the paragraph's in the cut/copy buffer to 0!
14552 * text2.C (removeRow): remove the assert as it can!
14554 * lyxtext.h: added helper function firstRow returning firstrow and
14555 made firstrow private again.
14557 * BufferView2.C (lockInset): don't relock if we're already locked!
14559 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14560 the only paragraph.
14561 (removeRow): added Assert::(firstrow)
14563 * debug.C: forgot to add INSETTEXT here.
14565 2001-11-28 Juergen Vigna <jug@sad.it>
14567 * sp_spell.C (initialize): changed error text to more general
14568 spellchecker command use (not only ispell!)
14570 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14572 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14574 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14576 * vspace.C: initialise lyxgluelength on failure
14578 2001-11-28 Allan Rae <rae@lyx.org>
14580 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14581 declaration & definition that looks like a function declaration.
14583 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14585 * BufferView2.C (copy):
14586 (copyEnvironment): do not clear the selection when doing a copy.
14588 * text.C (paintFirstRow): compilation fix
14590 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14592 * tabular.C (Latex): correct line count when writing latex.
14594 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14596 * paragraph_pimpl.h:
14597 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14600 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14604 * LColor.C: change vfillline->added_space
14606 * text.C: add markers and text for added space
14608 * vspace.C: fix comment
14610 2001-11-28 André Pönitz <poenitz@gmx.net>
14612 * paragraph.C: whitespace changes
14613 * all the other files from the change on 2001/11/26:
14614 change *::pos_type into lyx::pos_type
14616 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14618 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14619 language of the document when inserting error insets.
14621 2001-11-26 André Pönitz <poenitz@gmx.net>
14623 * BufferView_pimpl.[Ch]:
14631 * paragraph_pimpl.[Ch]:
14634 * text2.C: reduce header dependencies, introduce type for positions
14636 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14638 * <various>: change to use Alert.h
14640 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14642 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14643 when encountering an unknown token.
14644 (readLyXformat2): Show an error message if there were unknown tokens.
14646 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14649 * BufferView_pimpl.C:
14653 * text2.C: use par->isInset()
14655 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14657 * paragraph_pimpl.h:
14658 * paragraph_pimpl.C: cleanup
14660 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14662 * text2.C (removeRow):
14663 * text.C (setHeightOfRow): remove useless (and costly) call to
14666 2001-11-20 Allan Rae <rae@lyx.org>
14668 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14669 Now need Inset*::checkInsertChar() to return true for appropriate
14670 cases so that the characters in the minibuffer will actually be
14673 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14675 * text.C: change the order of the includes.
14676 (workWidth): initialize it at once.
14677 (workWidth): make maxw unsigned
14678 (setHeightOfRow): remove unused variable (inset)
14679 (selectSelectedWord): remove unused variable (inset)
14680 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14682 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14684 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14685 server is not running.
14687 (closeConnection): add debug info when server is disabled.
14689 * ColorHandler.C (getGCForeground): send debug message to GUI
14692 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14694 * kbmap.C (bind): modify because return conventions of
14695 kb_sequence::parse have changed.
14697 * kbsequence.C (parse): only ignore spaces and not any stupid
14698 control character. This avoids tests like s[i] <= ' ', which are
14699 guaranteed to fail with 8bit characters and signed chars.
14700 Change return code to string::npos when there have been no error
14701 (0 was a bad idea when error is at first character)
14703 2001-11-14 José Matos <jamatos@fep.up.pt>
14706 * buffer.C (simpleDocBookOnePar): removed unused argument.
14708 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14710 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14711 insets which are part of a word. Paragraph::isLetter takes care of
14712 that now. Use Paragraph::isInset to identify insets.
14713 (selectSelectedWord): do not test for hyphenation break.
14715 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14716 that protected spaces are considered as spaces.
14718 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14721 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14724 * lyxserver.C: fix it. and small cleanup.
14726 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14728 * BufferView_pimpl.C: use inline helpers
14731 * LaTeXFeatures.C: fix typos
14734 * Spacing.C: move spacing_string into class
14736 * ToolbarDefaults.C: move stuff into namespace anon
14738 * layout.h: update enum
14740 * lyxfunc.C: use better debug
14742 * minibuffer.h: fix typo
14746 * WorkArea.C: add and use Debug::WORKAREA
14750 * text2.C: code re-organisation, inline helpers
14752 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14754 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14755 std::vector.empty().
14757 2001-11-09 Allan Rae <rae@lyx.org>
14759 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14760 '\n's after tables. Tabular and ERT inset work now makes this no
14763 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14766 * minibuffer.C: fix crash, improve drop-down completion
14768 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14771 * lyxserver.C: invalidate fd's when doing endPipe()
14773 2001-11-08 José Matos <jamatos@fep.up.pt>
14775 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14776 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14779 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14781 2001-11-07 José Matos <jamatos@fep.up.pt>
14784 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14787 * buffer.C (sgmlOpenTag):
14788 * buffer.C (sgmlCloseTag): removed debug info.
14790 * buffer.h (sgmlOpenTag):
14791 * buffer.h (sgmlCloseTag): made public.
14793 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14795 * buffer.C (saveParamsAsDefaults):
14796 * lyx_cb.C (MenuLayoutSave): remove
14798 * LyXAction.C (init):
14800 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14802 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14804 * buffer.C (setPaperStuff): removed from here...
14806 * bufferparams.C (setPaperStuff): ... and moved there.
14808 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14812 * XFormsView.C: add support for drop-down completion
14814 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14816 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14819 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14821 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14824 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14826 * lyx_main.C: change ref to known bugs
14828 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14830 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14831 to work around older babel problems.
14833 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14835 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14837 2001-10-24 Juergen Vigna <jug@sad.it>
14839 * tabular-old.C (ReadOld): below variable changes reflected.
14841 * tabular.[Ch]: added ltType struct for longtable header/footer
14842 defines and changed all instances where they are used. Added
14843 future support for double top/bottom rows.
14845 2001-10-24 José Matos <jamatos@fep.up.pt>
14847 * buffer.h (docbookHandleCaption):
14848 * buffer.C (docbookHandleCaption): removed unused function.
14849 (makeDocBookFile): moved docbook supported version to v4.1.
14851 2001-10-24 José Matos <jamatos@fep.up.pt>
14854 * tabular.C (docbookRow): new function to export docbook code of a row.
14855 (DocBook): now honors the longtable flags.
14857 2001-10-23 José Matos <jamatos@fep.up.pt>
14860 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14861 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14863 * buffer.C (makeLinuxDocFile):
14864 (makeDocBookFile): reworked the preamble, more clean, and with
14865 support for lyx defined entities. Changed the document declaration
14866 to be more XML friendly.
14868 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14869 if we need to output XML that should be done with a filter.
14871 2001-10-22 Juergen Vigna <jug@sad.it>
14873 * sp_pspell.h (class PSpell): add alive function needed in the
14874 controller to see if the spellchecker could be started.
14876 2001-10-22 Juergen Vigna <jug@sad.it>
14878 * buffer.C (insertStringAsLines): modify the font for inserting
14879 chars in certain conditions by calling checkInsertChar(font).
14881 2001-10-19 Juergen Vigna <jug@sad.it>
14883 * text.C (workWidth): use getRow instead of wrong algorithm.
14884 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14886 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14891 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14893 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14895 * text.C (workWidth): do not search for the exact row when
14896 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14897 optimization for big documents.
14899 2001-10-18 Juergen Vigna <jug@sad.it>
14901 * text.C (workWidth): new function with added Inset * parameter.
14903 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14905 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14907 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14908 change return type of getColumnNearX.
14911 * text.C (changeRegionCase): use uppercase/lowercase instead of
14914 (rightMargin): simplify code by factoring out the uses of
14919 (appendParagraph): use Paragraph::size_type
14921 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14923 * vspace.C (asLatexString): add a missing break
14925 2001-10-15 Herbert Voss <voss@perce.de>
14927 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14929 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14931 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14934 2001-10-10 André Pönitz <poenitz@gmx.net>
14936 * lyxfunc.C: removed greek_kb_flag.
14938 2001-10-10 Herbert Voss <voss@perce.de>
14940 * lyx_main.C: delete global string help_lyxdir.
14942 2001-10-09 Herbert Voss <voss@perce.de>
14944 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14946 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14948 * lyx_main.C: added global string help_lyxdir.
14950 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14952 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14954 * lyxrc.C (set_font_norm_type): support iso8859-4
14956 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14958 * LaTeX.C (deplog): add another regex for MikTeX
14960 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14962 * lyxrc.C (set_font_norm_type): support iso8859-3
14964 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14966 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14968 * LaTeXFeatures.C: remove special case of french and index
14970 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14971 before \begin{document}). This solves several incompatibilities.
14973 2001-10-03 Garst Reese <reese@isn.net>
14975 * lyx_cb.C: change CheckTex error msg.
14977 2001-10-03 José Matos <jamatos@fep.up.pt>
14979 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14981 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14983 * .cvsignore: update
14985 * lyx_main.C (commandLineVersionInfo): use new style version info.
14987 * buffer.C (writeFile):
14989 (makeLinuxDocFile):
14990 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14992 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14994 * version.h: update to use stuff in version.C
14996 * version.C.in: new file. Contains version information determined
14997 at compile time. This is a merging of version.h and
15000 2001-10-03 Juergen Vigna <jug@sad.it>
15002 * BufferView_pimpl.C (update): don't change "dirty" status in
15005 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15007 * WorkArea.C (c-tor): re-position version string slightly.
15009 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15011 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15012 revert to previous code.
15014 WorkArea.[Ch]: (show, destroySplash): methods removed.
15016 WorkArea.C: rework code so that it's an amalgam of the codes before and
15017 after the splash screen was moved to WorkArea.
15019 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15022 * vspace.C (inPixels):
15025 * buffer.C (insertStringAsLines):
15026 (asciiParagraph): fix types to be large enough
15028 * lyxlex_pimpl.h: change member status from short to int
15030 * layout.h: fix type of endlabeltype
15033 * kbsequence.C (parse): change return type to string::size_type
15035 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15038 * Bullet.C (bulletSize):
15039 (bulletEntry): do not use short ints as parameters
15041 * BufferView2.C (insertLyXFile): change a char to an int.
15043 * WorkArea.C (WorkArea): remove unneeded floats in computation
15045 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15047 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15049 * paragraph.C (asString): Do not ignore newline/hfill chars when
15050 copying to the clipboard.
15052 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15054 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15055 after a multi-line inset.
15057 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15059 * paragraph.C (validate): Set NeedLyXFootnoteCode
15061 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15063 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15064 and decrease-error to decrease.
15066 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15068 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15069 it more readable (should be equivalent)
15071 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15073 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15075 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15077 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15078 of a cursor (row, etc.) after a character has been deleted
15079 (deleteEmptyParagraphMechanism): call the method above on _all_
15080 cursors held by the LyXText when a double space has been
15083 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15085 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15087 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15089 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15090 background. Use greyOut() and the new show() methods to toggle between
15091 the foreground and background. Add code to remove the splash after
15092 its initial showing.
15094 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15095 (create_forms): no longer call Dialogs::showSplash.
15097 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15099 * .cvsignore: add version_info.h
15101 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15103 * version_info.h.in: new file
15105 * Makefile.am: add version_info.h.in
15107 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15108 version_info.h instead of VERSION_INFO
15110 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15112 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15113 The ERT inset now returns string().
15115 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15117 * lyxtext.h, text.C (selectNextWord): renamed as
15118 selectNextWordToSpellcheck.
15120 * text.C (selectNextWordToSpellcheck): Modified to not select
15121 words inside an ERT inset.
15123 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15125 * lyx_cb.C (MenuLayoutSave): change a bit the question
15127 * sp_base.h: include <sys/types.h>
15129 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15131 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15133 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15135 * several files: fix typos in user-visible strings
15137 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15139 * text2.C (pasteSelection): do not set the selection, since it
15140 will be cleared later. Actually, the intent was to fix the way the
15141 selection was set, but I figured rmoving the code was just as good.
15143 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15145 * FontLoader.C (available): Check if font is available without
15148 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15150 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15152 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15154 * lyxrc.[Ch]: added display_graphics variable and associated code.
15156 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15158 * bufferparams.C (hasClassDefaults): new method. Returns true if
15159 the buffer parameters correspond to known class defaults
15161 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15163 * XFormsView.C (show): set minimum size to the main window.
15165 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15167 * text2.C (copySelection):
15169 * lyxfind.C (LyXReplace):
15170 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15171 LyXText::selectionAsString.
15173 * paragraph.C (asString): add "label" argument to the second form
15175 * text2.C (selectionAsString): add "label" argument and pass it to
15176 Paragraph::asString.
15178 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15180 * lyx_main.C (commandLineHelp): remove version information
15182 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15184 * lyx_main.C: add -version commandline option
15186 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15188 * paragraph.h: make the optional constructor arg required instead.
15189 some modifications to other files because of this.
15191 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15193 * lyxserver.C (C_LyXComm_callback): make it static
15195 * lyx_main.C (error_handler): make it static
15197 * lyx_gui.C (LyX_XErrHandler): make it static
15199 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15201 * WorkArea.C: make the extern "C" methods static.
15203 * Makefile.am (lyx_LDADD): simplify
15205 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15207 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15208 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15210 * LyXAction.C (init):
15211 * lyxfunc.C (dispatch): associated code removal.
15213 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15215 * lyxfont.h (isSymbolFont): shut off warning
15217 * text.C (setHeightOfRow):
15218 (getVisibleRow): fix crash with empty paragraphs which have a
15221 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15223 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15226 2001-09-04 José Matos <jamatos@fep.up.pt>
15229 * tabular.C (docbook): rename docBook method to docbook.
15231 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15233 * Makefile.am: add dependencies to main.o.
15235 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15237 * FontLoader.C (available): Return false if !lyxrc.use_gui
15239 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15241 * FontInfo.C (query):
15242 * converter.C (view):
15243 * importer.C (Import):
15244 * exporter.C (Export): Can not -> cannot.
15246 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15248 * BufferView_pimpl.C: allow to create index inset even if
15251 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15253 * buffer.C (getLists): replace boost::tie code with an explicit pair
15254 as boost::tie can break some compilers.
15256 * iterators.h: Added a std:: declaration to the return type of
15259 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15261 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15264 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15266 * iterators.[Ch]: New files. Provide paragraph iterators.
15268 * buffer.C (changeLanguage): Use paragraph iterators.
15269 (isMultiLingual): ditto
15271 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15273 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15275 * FontLoader.C: Support for cmr font.
15277 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15279 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15280 (available): New method.
15282 * FontInfo.C (getFontname): Use scalable fonts even when
15283 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15286 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15288 * converter.C (Formats::view): reverted! Incorrect fix.
15290 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15292 * converter.C (Formats::view): only output the -paper option
15293 if the dvi viewer is xdvi, thereby fixing bug #233429.
15295 2001-08-23 Herbert Voss <voss@perce>
15297 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15299 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15301 * Spacing.h (Spacing): Set space to Default on in the default
15304 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15306 * vc-backend.h (RCS::versionString): add RCS to version
15307 (CVS::versionString): add CVS to version
15309 * vc-backend.C (scanMaster): do not add CVS to version.
15310 (scanMaster): do not add RCS to version
15312 * lyxvc.C (versionString): new method
15314 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15316 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15318 * Spacing.C (set): initialize fval
15320 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15322 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15325 2001-08-16 Juergen Vigna <jug@sad.it>
15327 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15329 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15331 * BufferView_pimpl.C:
15334 * text2.C: setParagraph takes linespacing now
15336 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15338 * LyxAction.C: add internal LFUN_CITATION_INSERT
15340 * LyXView.C: actually apply fix
15342 * bufferlist.C: fix open non-existent file
15344 * lyxfind.C: fix indentation
15346 * lyxfunc.C: remove unneeded assert, fix typo
15348 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15350 * MenuBackend.C: use "Floatname List"
15352 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15354 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15355 when converting LaTeX layout to insetERT.
15356 Generate a non-collapsed float when reading old float
15358 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15360 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15363 2001-08-13 Juergen Vigna <jug@sad.it>
15365 * text.C (fill): return 0 instead of 20 as this seems to be the more
15368 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15370 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15373 2001-08-13 Juergen Vigna <jug@sad.it>
15375 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15377 (SearchBackward): comment out the unlocking of the inset_owner this
15378 should not be needed!
15380 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15382 * Many files: Remove inherit_language, and add latex_language
15384 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15385 collapsible insets.
15387 2001-08-10 Juergen Vigna <jug@sad.it>
15389 * text.C (prepareToPrint): fixed hfill-width in draw!
15391 * BufferView2.C (selectLastWord): save the selection cursor as this
15392 now is cleared in the function LyXText::clearSelection!
15394 2001-08-08 Juergen Vigna <jug@sad.it>
15396 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15397 BACKSPACE type functions.
15399 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15400 is only cutted from the document but not put in the cut-buffer, where
15401 still the old stuff should be.
15403 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15405 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15407 * tabular.C (SetWidthOfCell): fixed special case where the width
15409 (LeftLine): handle '|' in align_special.
15411 (LeftAlreadyDrawed): ditto
15412 (SetWidthOfCell): ditto
15414 2001-08-07 Juergen Vigna <jug@sad.it>
15416 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15418 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15420 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15421 * lyxlex.[hC]: ditto
15423 2001-08-06 Juergen Vigna <jug@sad.it>
15425 * text.C (getVisibleRow): fix up row clearing a bit.
15427 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15429 * minibuffer.C: make sure the X server sees the changes in the input.
15431 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15433 * paragraph.C (getFont): split into...
15434 (getLabelFont): this
15435 (getLayoutFont): and this
15436 * paragraph_pimpl.C (realizeFont): calling this
15438 * text2.C (getFont): split into...
15439 (getLayoutFont): this
15440 (getLabelFont): and this
15441 (realizeFont): all three calling this
15443 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15446 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15448 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15450 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15452 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15453 layouts from the Quote inset insertion.
15455 2001-08-03 Juergen Vigna <jug@sad.it>
15457 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15459 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15460 only if status not is already CHANGED_IN_DRAW (second level).
15462 * text.C (draw): don't set the need_break_row when inside an
15465 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15467 * buffer.C (parseSingleLyXformat2Token): handle more latex
15470 * bufferview_funcs.[hC]: change function names to
15471 begin with small char, adjust other files.
15473 2001-08-02 André Pönitz <poenitz@gmx.net>
15476 BufferView_pimpl.C: remove broken special code for math-greek
15478 2001-08-02 Juergen Vigna <jug@sad.it>
15480 * BufferView_pimpl.C (update): redone this function so that we
15481 update the text again if there was a CHANGE_IN_DRAW.
15483 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15484 (drawFromTo): added a new internal bool which is used by draw() and
15486 (general): some cursor drawing problems fixed.
15488 2001-08-01 Juergen Vigna <jug@sad.it>
15490 * lyxfind.C (LyXFind): fixed
15491 (SearchForward): ditto
15492 (SearchBackward): ditto
15494 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15495 spurius drawing of the cursor in the main area.
15497 * text2.C (status): small fix which could lead to a segfault!
15498 (clearSelection): remove unneeded BufferView param.
15500 2001-08-01 André Pönitz <poenitz@gmx.net>
15502 * lyxfunc.C: small change due to changed mathed interface
15504 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15506 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15508 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15510 * lyxfunc.c: fail gracefully if file doesn't exist
15515 * BufferView_pimpl.C: IsDirWriteable() proto changed
15517 * LyXView.C: fix updateWindowTitle() to store the last title
15519 2001-07-31 Juergen Vigna <jug@sad.it>
15521 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15522 the font (wrong since using of Paragraph::highestFontInRange).
15524 * paragraph.C (highestFontInRange): added a default_size parameter.
15526 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15527 (setHeightOfRow): reformat
15529 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15531 * converter.[hC] + affected files: move to (inital-char)lowercase
15534 * ParagraphParameters.C (ParagraphParameters): remove commented code
15536 * PainterBase.[Ch]: remove commented code
15538 * LaTeXFeatures.h: add "bool floats" for float.sty
15540 * LaTeXFeatures.C (LaTeXFeatures): init floats
15541 (require): handle float
15542 (getPackages): do it with floats
15544 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15546 * BufferView_pimpl.C (Dispatch): improve handling of
15547 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15549 * commandtags.h: #include lyxfont.h here temporarily to avoid
15552 * bufferlist.h: include LString.h here.
15554 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15556 * text2.C (getStringToIndex): new method.
15558 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15560 * *: Reduced header file dependencies all over.
15562 2001-07-30 Baruch Even <baruch@lyx.org>
15564 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15566 2001-07-29 Baruch Even <baruch@lyx.org>
15568 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15570 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15572 * ParameterStruct.h (endif): add a default constructor to make
15573 sure that all variables is initialized.
15575 * ParagraphParameters.C (ParagraphParameters): adjust
15577 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15579 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15580 index; also, check that there is something to index, and that it
15581 does not span over several paragraphs.
15582 (doubleClick): use WHOLE_WORD_STRICT for double click.
15584 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15586 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15589 2001-07-26 Baruch Even <baruch@lyx.org>
15591 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15592 an InsetFig figure, backwards compatible reading of old figure code.
15594 2001-07-27 Juergen Vigna <jug@sad.it>
15596 * text2.C: font.realize function adaption.
15598 * text.C (draw): add a warnings lyxerr text if needed.
15600 * layout.C: font.realize function adaption.
15602 * language.C: add inherit_language and implement it's handlings
15604 * bufferview_funcs.C (StyleReset): remove language parameter from
15605 font creation (should be language_inherit now).
15607 * bufferparams.C (writeFile): handle ignore_language.
15609 * paragraph.C (getFontSettings): the language has to be resolved
15610 otherwise we have problems in LyXFont!
15612 * lyxfont.C (lyxWriteChanges): added document_language parameter
15613 (update): removed unneeded language parameter
15615 * paragraph.C (validate): fixed wrong output of color-package when
15616 using interface colors for certain fonts in certain environments,
15617 which should not seen as that on the final output.
15619 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15621 * BufferView_pimpl.C:
15626 * LyXAction.C: add thesaurus support
15629 * lyxfind.C: add "once" parameter, for thesaurus, to not
15630 move to the next match
15632 2001-07-26 Juergen Vigna <jug@sad.it>
15634 * lyxfont.C (realize): honor ignore_language too!
15637 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15639 * text.C (draw): one place more for ignore_language to not draw
15642 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15644 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15646 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15648 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15649 the minipage conversion problem.
15651 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15653 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15656 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15658 * BufferView.h: don't forward declare WorkArea
15660 * BufferView.C: don't include WorkArea.h
15662 2001-07-25 André Pönitz <poenitz@gmx.net>
15666 * lyxfunc.C: new LFUN 'math-space'
15668 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15670 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15672 * text2.C (toggleInset): call open/close
15674 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15676 * lyxfunc.C (dispatch): add debug for the disabled case
15678 * font.C (buttonText): make similar to rectText
15680 * buffer.C (readInset): comment out parsing of insetlist and
15683 * PainterBase.C (rectText): small correction
15685 * BufferView_pimpl.C: comment out insettheorem and insetlist
15686 * LyXAction.C: ditto
15687 * commandtags.h: ditto
15689 2001-07-24 Juergen Vigna <jug@sad.it>
15691 * text.C (draw): honor the ignore_language.
15693 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15695 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15697 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15700 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15702 * lyxtext.h: remove unused (and unimplemented) methods
15704 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15706 * text.C (getVisibleRow): honor background color
15709 * Painter.h: remove default color argument for fillRectangle
15711 * text.C (backgroundColor): new method
15713 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15715 * text.C (getVisibleRow): adjust
15717 * font.[Ch] (rectText): new method, metrics
15718 (buttonText): new method, metrics
15720 * PainterBase.[hC]: make rectText and buttonText always draw and take
15723 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15725 * ToolbarDefaults.C (read):
15726 * MenuBackend.C (read): allow escaping in all strings
15728 * BufferView_pimpl.C (insertAndEditInset): new method.
15729 (Dispatch): use insertAndEditInset whenever appropriate.
15731 * BufferView_pimpl.C (insertNote): removed
15733 * BufferView_pimpl.C (smartQuote): new method, moved from
15734 BufferView; if an insetquote cannot be inserted, insert a '"'
15737 * BufferView2.C: remove insertCorrectQuote();
15739 * lyxfunc.C (getStatus): Add support for all remaingin
15740 inset-insert lfuns.
15742 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15744 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15745 command (necessary to pass " as parameter of self-insert.
15747 * text.C (selectWordWhenUnderCursor):
15748 (selectWord): add word_location parameter
15749 (selectWordWhenUnderCursor): same + remove special code for word
15751 (selectNextWord): use kind() to guess type of insetspecialchar,
15754 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15755 (insertErtContents): create ert insets as collapsed.
15756 (readInset): better compatibility code for Info inset.
15758 2001-07-20 Juergen Vigna <jug@sad.it>
15760 * lyxfunc.C (dispatch): use always LyXFind now!
15762 * text2.C (init): add a reinit flag so that the LyXText can be
15763 reinited instead of deleted and reallocated (used in InsetText).
15765 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15771 2001-07-18 Juergen Vigna <jug@sad.it>
15773 * text.C (selectNextWord): handle insets inside inset by calling
15774 always the bv->text functions so that we can go up the_locking_inset!
15776 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15777 in strange locations when inside an inset!
15779 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15780 handling to include insets.
15782 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15784 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15786 * LyXAction.C (init):
15788 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15789 LIGATURE_BREAK, since the name is so stupid.
15791 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15793 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15796 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15798 * sp_form.[Ch]: remove.
15800 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15802 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15805 * src/buffer.C (readInset): ditto.
15807 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15809 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15810 menuSeparator(), endOfSentenceDot(), ldots() and
15811 hyphenationPoint(), which are therefore removed.
15812 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15814 * LyXAction.C (init):
15815 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15817 * paragraph.C (getWord): removed.
15819 * BufferView_pimpl.C (Dispatch): use last word or selection for
15820 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15822 * lyx_main.C (queryUserLyXDir): do not ask before creating
15823 user_dir, except if it has been named explicitely.
15825 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15827 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15828 a document of zero size.
15830 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15832 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15833 approriately in the c-tor and in require().
15834 (getPackages): output the appropriate LaTeX for natbib support.
15836 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15837 variables "use_natbib" and "use_numerical_citations" when reading the
15839 (readInset): read the various natbib cite commands.
15840 (validate): white-space change.
15842 * bufferparams.[Ch]: new variables "bool use_natbib" and
15843 "bool use_numerical_citations".
15844 (writeFile): output them in the LyX file.
15846 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15848 * lyxfunc.C (getStatus): add support for all the inset insertion
15851 * text2.C (insertInset):
15852 * paragraph.C (insetAllowed):
15853 * BufferView_pimpl.C (insertInset): update to take in account the
15854 renaming of insertInsetAllowed
15856 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15858 * text2.C (getInset): new method. returns inset at cursor position.
15860 * BufferView_pimpl.C (Dispatch): changes because of this.
15862 * LyXAction.C (init): rename open-stuff to inset-toggle.
15864 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15866 * text2.C (toggleInset): renamed from openStuff; use
15869 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15871 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15873 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15875 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15877 * buffer.C (readLyXformat2): Add filename to the error dialog
15879 2001-07-18 Juergen Vigna <jug@sad.it>
15881 * tabular.C (GetCellNumber): put an assert here instead of the check!
15883 2001-07-17 Juergen Vigna <jug@sad.it>
15885 * BufferView_pimpl.C (toggleSelection): adapted too.
15887 * text.C (selectNextWord): adapted for use with insets.
15888 (selectSelectedWord): ditto
15890 2001-07-17 Juergen Vigna <jug@sad.it>
15892 * sp_spell.C (PSpell): fix initialitation order.
15894 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15896 * paragraph.C: spacing
15898 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15900 * sp_spell.C: repair language selection for pspell
15902 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15904 * lyxfunc.h: change more methods to begin with lower char.
15906 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15908 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15909 for unknown layouts.
15911 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15913 * buffer.C (readLyXformat2): Generate an error dialog if there are
15916 2001-07-16 Juergen Vigna <jug@sad.it>
15918 * sp_spell.C: always compile ISpell part.
15920 * lyxrc.C: added use_pspell entry and it's handling.
15922 2001-07-13 Juergen Vigna <jug@sad.it>
15924 * sp_spell.C: removed double includes.
15926 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15928 Consistent use of Lsstream.h:
15929 * Lsstream.h: added using std::stringstream for consistencies sake.
15931 * buffer.C: removed using std::stringstream
15933 * lyxfont.C (stateText):
15934 * paragraph.C (asString):
15935 * text.C (selectNextWord, selectSelectedWord):
15936 * text2.C (setCounter):
15937 * vspace.C (asString, asLatexString):
15938 std::ostringstream -> ostringstream.
15940 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15942 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15943 * commandtags.h: add LFUN_HELP_ABOUTLYX
15944 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15946 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15948 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15950 * lyx_gui_misc.C: remove spellchecker
15951 * lyxfunc.C: showSpellchecker
15953 * sp_ispell.h: added
15954 * sp_pspell.h: added
15955 * sp_spell.C: added
15956 * sp_form.[Ch]: removed
15957 * spellchecker.[Ch]: removed
15959 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15961 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15963 (simpleTeXSpecialChars): Simply print the input character without
15964 any special translation if pass_thru is set.
15966 * layout.h: Added bool pass_thru to layout class for being able to
15967 implement pass through of a paragraph for Literate Programming.
15969 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15970 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15971 * layout.C (Read): add "passthru" to list of layout tags and add
15972 code to set the pass_thru boolean when it is read.
15974 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15976 * trans_decl.h: remove allowed from KmodInfo
15978 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15979 remove allowed code
15982 * paragraph_pimpl.C (erase): use boost::prior
15984 * Painter.C (text): use data() instead of c_str() when length is
15986 * WorkArea.C (putClipboard): ditto
15987 * font.h (width): ditto
15989 * BufferView2.C: use it-> instead of (*it). for iterators
15991 * paragraph_pimpl.C: ditto
15992 * paragraph.C: ditto
15993 * minibuffer.C: ditto
15994 * language.C: ditto
15996 * encoding.C: ditto
15997 * counters.C: ditto
15998 * converter.C: ditto
16000 * Variables.C: ditto
16001 * TextCache.C: ditto
16002 * MenuBackend.C: ditto
16003 * LyXAction.C: ditto
16005 * FloatList.C: ditto
16006 * DepTable.C: ditto
16007 * ColorHandler.C (LyXColorHandler): ditto
16009 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16011 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16013 * text2.C (openStuff): reintroduce this method (which had been
16014 nuked in NEW_INSETS frenzy).
16016 * lyxfunc.C (Dispatch): when an action has not been handled, use
16017 its name in the error message, not its number.
16019 * paragraph.C (inInset): change method name to begin with lowercase.
16022 * text2.C: updates because of this.
16024 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16026 * ToolbarDefaults.C (add): add spaces in error message
16028 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16030 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16031 (readLyXformat2): rename return_par to first_par, use lyxlex's
16032 pushToken and remove the manual push handling.
16033 (parseSingleLyXformat2Token): add another ert comp. variable:
16034 in_tabular, rename return_par to first_par. handle newlines better
16036 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16038 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16040 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16042 * text2.C (getParFromID): removed
16044 * buffer.C (getParFromID): new method moved form lyxtext.
16045 * BufferView2.C (insertErrors): adjust
16046 (setCursorFromRow): adjust
16047 * BufferView_pimpl.C (restorePosition): adjust
16048 * lyxfunc.C (Dispatch): adjust
16049 * undo_funcs.C (textUndo): adjust
16051 (textHandleUndo): adjust
16052 (textHandleUndo): adjust
16054 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16056 * buffer.C: up' the LYX_FORMAT
16058 * lyxfont.h: turn NO_LATEX on as default
16060 * buffer.C (insertErtContents): new methods of tex style compability.
16061 (parseSingleLyXformat2Token): use it several places.
16062 * tabular.C (OldFormatRead): and here
16064 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16066 * text2.C: remove some commented code.
16069 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16070 * trans.C: changes because of the above.
16072 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16074 * text2.C (setCounter): Fix counters bug with bibliography layout.
16076 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16078 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16079 own member functions
16080 (simpleTeXSpecialChars): ditto
16082 2001-07-06 Juergen Vigna <jug@sad.it>
16084 * a lot of files: changed the access to LyXText::status and the
16085 call of undo-functions.
16087 * undo.[Ch]: added a inset_id to the undo informations.
16089 * undo_funcs.[Ch]: added and moved here all undo functions.
16091 * lyxtext.h: give the status enum a weight, made status_ a private
16092 variable and made accessor functions for it, removed the whole bunch
16093 of undo-functions as they are now in their own file, make some
16094 functions publically available. Added function ownerParagraph with
16097 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16098 made InInset() a const function, added getParFromID() function.
16100 * buffer.[Ch]: added const version for inset_iterator functions,
16101 added getInsetFromID() function.
16103 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16104 changed undo functions for new version.
16106 2001-07-05 Juergen Vigna <jug@sad.it>
16108 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16109 unknow mechanism does not call the proper constructor but only this
16110 one also if I request the other!?
16112 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16114 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16116 * text2.C (LyXText): use initialization lists.
16118 * lyxtext.h (Selection): initialize set_ and mark_
16119 (init): remove method
16121 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16123 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16125 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16127 * screen.[Ch]: change method names to begin with lowercase
16129 * BufferView_pimpl.C (updateScrollbar): simplify further and
16130 hopefully make it a bit faster.
16132 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16134 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16135 calling directly xforms functions.
16137 * Painter.C (Painter):
16138 * lyx_cb.C (MenuWrite):
16139 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16142 * lyx_gui.C: remove bogus guiruntime extern declaration.
16144 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16146 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16148 (redoDrawingOfParagraph): ditto
16149 (redoParagraphs): ditto
16150 (cutSelection): don't create a object for CutAndPaste use the
16151 static method directly
16152 (pasteSelection): ditto
16154 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16157 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16159 * modifications to some other files because of this.
16161 * Makefile.am (lyx_SOURCES): add XFormsView
16163 * XFormsView.[Ch]: new files
16165 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16166 the main window. Move the gui dependent stuff to XFormsView
16168 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16170 * tabular.C (GetCellInset): update cur_cell also in the row/col
16171 version of this function.
16173 * lyxfunc.C: no need to include figure_form.h here.
16179 * lyxvc.C: no need to include forms.h here.
16181 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16183 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16185 * lyxfunc.C (Dispatch):
16187 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16188 constructor argument.
16190 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16192 * paragraph.C (Paragraph): dont't clear, and just set layout.
16193 (makeSameLayout): use params's copy contructor.
16195 * ParagraphParameters.[Ch] (makeSame): delete method
16197 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16199 * Variables.[Ch]: fix indentation, rename set to isSet
16201 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16203 * lyxfunc.C (Dispatch): fix typo
16205 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16207 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16210 * bufferlist.C: include assert.h for emergencyWrite().
16212 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16214 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16215 give up at last (bug #425202) !
16217 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16223 * spellchecker.C: strip spellchecker options and bring up
16224 preferences tab instead
16226 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16228 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16229 the istringstream constructor
16231 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16233 * paragraph.C (getLayout): fix return value
16235 * paragraph.h: do not declare getLayout as inline.
16237 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16239 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16241 * lyxcursor.h (operator<): new func
16242 (operator>): new func
16243 (operator>=): new func
16244 (operator<=): new func
16246 * text.C (changeCase): use selection.start and selection.end
16247 (changeRegionCase): require from to be <= to. Require par to be a
16250 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16252 2001-06-27 Juergen Vigna <jug@sad.it>
16254 * text.C (cursorLeftOneWord): changed to return the cursor and added
16255 overlay with BufferView * parameter which calls this one.
16257 (selectWord): use new getWord function.
16258 (changeCase): renamed from changeWordCase as and extended to work
16259 also on selections.
16261 * lyxtext.h: added enum word_location
16263 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16264 changeCase as this operates now also on selections.
16266 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16268 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16270 * many files: send debug output to Debug::INFO instead of
16273 * converter.C (View):
16275 (Move): send debug output to Debug::FILES instead of console.
16277 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16279 * lyxfunc.C (getStatus): use func_status
16281 * func_status.h: new header, describing the results of
16282 LyXFunc::getStatus;
16284 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16287 2001-06-25 The LyX Project <jug@sad.it>
16289 * buffer.C (sgmlOpenTag):
16291 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16293 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16295 * text2.C: remove some dead code
16297 * tabular.C (GetCellInset): store the last cell checked (gotten)
16299 * tabular.h: add the helper for the speedup
16301 * lyxtext.h: remove some dead code
16303 2001-06-26 The LyX Project <Asger>
16305 * paragraph.C: Change export to LaTeX of alignment to
16306 \begin{center} and family for better roundtrip work with reLyX.
16308 * Tune the math drawing a bit.
16310 2001-06-25 The LyX Project <Asger>
16312 * LColor.C (LColor): New color for math background. New color
16315 2001-06-25 The LyX Project <jug@sad.it>
16317 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16319 * lyxfunc.C (Open):
16320 * bufferlist.C (newFile): do not restrict to files ending with
16323 * BufferView_pimpl.C (MenuInsertLyXFile):
16325 2001-06-24 The LyX Project <jug@sad.it>
16327 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16330 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16332 * lyxtext.h: rename most methods to begin with a small char.
16333 Lots of changes because of this.
16335 * paragraph.C (Paragraph): do not call fitToSize
16336 (erase): call Pimpl::erase
16337 (insertChar): call Pimpl::insertChar
16338 (insertInset): call Pipl::insertInset
16339 (breakParagraph): do not call fitToSize
16340 (breakParagraphConservative): do not call fitToSize
16341 (fitToSize): remove method
16343 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16345 2001-06-24 The LyX Project <Asger>
16347 * Fix Qt compilation^2
16349 2001-06-24 The LyX Project <jug@sad.it>
16351 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16352 depthHook(getDepth()-1).
16355 * ParagraphParameters.h:
16356 * ParameterStruct.h: change type of depth to unsigned int ==
16357 depth_type. Many adaptations to other files before of that.
16359 2001-06-24 The LyX Project <Asger>
16361 * Fix Qt compilation.
16363 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16365 * paragraph.h: renamed several methods to begin with small letter.
16366 several changes to many parts of the code because of this.
16368 2001-06-23 The LyX Project <jug@sad.it>
16370 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16371 rewritten to discard all double spaces when KeepEmpty is off
16372 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16373 to only handle newlines but not fiddle with spaces and friends.
16375 * lyxfunc.C (MenuNew): when doing 'new from template', use
16376 template_path as default directory
16378 2001-06-23 The LyX Project <Asger>
16380 * Clean-up of header file includes all over
16381 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16383 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16385 * paragraph.h: renamed from lyxparagraph.h
16387 2001-06-23 Asger <lyx@violet.home.sad.it>
16389 * Buffer.h: Removed Buffer::resize
16390 * BufferList.h: Removed BufferList::resize
16391 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16392 the document lazily when we change the width, or the font settings.
16394 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16396 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16398 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16400 * buffer.h: remove out of date comment
16402 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16405 * screen.C: fix "theoretical" GC leak
16407 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16409 * LaTeX.C (scanAuxFile):
16410 (deplog): remove trailing \r when reading stream (useful under
16413 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16415 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16416 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16417 and BufferView::theLockingInset(Inset*), so should use them and not
16418 access bv_->text->the_locking_inset directly.
16420 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16422 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16425 * tex-defs.h: remove old unused file
16427 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16429 * BufferView_pimpl.C: fix typo, remove minibuffer message
16430 when buffer has loaded
16432 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16434 * lyxfunc.C (Dispatch): use stringstream
16435 (MenuNew): use stringstream
16436 (Open): use stringstream
16438 * importer.C (Import): use stringstream
16440 * bufferview_funcs.C (CurrentState): use stringstream
16442 * LaTeX.C (run): use stringstream
16444 * BufferView_pimpl.C (savePosition): use stringstream
16445 (restorePosition): use stringstream
16446 (MenuInsertLyXFile): use stringstream
16448 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16461 * vspace.C: removed // -*- C++ -*- as first line.
16464 * version.h: added // -*- C++ -*- as first line.
16466 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16468 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16470 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16473 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16475 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16478 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16480 * gettext.C: include LString.h even when --disable-nls is on.
16482 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16484 * converter.h (Get): changed argument type from int to
16485 FormatList::size_type to avoid unnecessary conversion.
16487 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16490 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16492 * gettext.h: include LString.h even when --disable-nls is on.
16494 2001-06-07 Juergen Vigna <jug@sad.it>
16496 * text.C (BreakAgain): subst spaces with tabs.
16498 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16499 (resizeInsetsLyXText): set force on resizeLyXText.
16501 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16503 * gettext.h (gettext_init):
16504 (locale_init): use a real definition instead of a macro
16506 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16508 * Bufferview_pimpl.C:
16510 * LColor.C: further lcolor tidies
16512 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16514 * BufferView_pimpl.C (updateScrollbar): simplify.
16516 * BufferView2.C: don't include insets/insetinfo.h, change
16517 prototype for insertInset and call the Pimpl version. let
16518 updateInset call Pimpl version.
16520 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16521 gotoInset to BufferView::Pimpl
16523 2001-06-01 Juergen Vigna <jug@sad.it>
16525 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16526 inside a LockingInset (is the update needed at all?).
16528 2001-05-31 Juergen Vigna <jug@sad.it>
16530 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16531 here not the old one otherwise how should we compare it afterwards
16534 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16539 * FontInfo.C: bring C functions into global namespace when
16542 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16544 * LString.h: make sure config.h has been loaded before LString.h.
16546 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16547 (one for each char read by EatLine!).
16549 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16552 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16554 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16555 to the same as the par we break from
16557 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16559 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16561 * MenuBackend.C (expand): also create menu entries for wide
16562 versions of the floats.
16564 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16566 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16568 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16569 frontends/Makefile.am
16575 * tabular.C (getTokenValue): add std::
16577 * tabular-old.C (getTokenValue): add std::
16578 (getTokenValue): ditto
16579 (getTokenValue): ditto
16581 * screen.C (ToggleSelection): adjust
16583 * lyxtext.h: put selection cursors inside a Selection struct.
16585 * lyxfunc.C (moveCursorUpdate): adjust
16587 * lyxfont.C (latexWriteStartChanges): add std::
16589 * lyxfind.C: adjust
16591 * font.h: delete with(char const *, LyXFont const &)
16593 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16595 * FontInfo.C (getFontname): add std::
16597 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16598 (workAreaButtonPress): adjust
16599 (tripleClick): adjust
16601 (moveCursorUpdate): adjust
16604 * BufferView2.C (gotoInset): adjust
16606 2001-05-30 Juergen Vigna <jug@sad.it>
16608 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16609 to check pspell I add this as default as I now have new pspell
16610 libraries and they seem to use this.
16612 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16614 * text2.C (CutSelection): make the cursor valid before the call to
16617 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16619 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16620 relied on 0 terminated strings and other horrors. Bug found due to
16621 the new assert in lyxstring!
16623 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16626 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16628 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16631 * lyxfunc.C (processKeySym): change method of getting to the
16634 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16635 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16636 * BufferView_pimpl.[Ch]: here as private methods.
16638 2001-05-28 Juergen Vigna <jug@sad.it>
16640 * text.C (SetHeightOfRow): added the update() call again as it is
16641 needed to initialize inset dimensions!
16643 2001-05-16 Juergen Vigna <jug@sad.it>
16645 * text2.C (SetCharFont): Add new function with BufferView * and
16646 bool toggleall parameters for setting insets internal fonts.
16647 (SetFont): Freeze the undo as we may change fonts in Insets and
16648 all this change should be inside only one Undo!
16650 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16651 setting font's in insets as for them we have the SetFont function!
16653 2001-05-15 Juergen Vigna <jug@sad.it>
16655 * text2.C (ClearSelection): to be sure we REALLY don't have any
16658 * tabular.C (TeXCellPreamble): fixed the left border problem for
16661 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16663 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16666 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16668 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16669 LFUN_BREAKPARAGRAPH.
16671 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16672 help test to "internal only", similar for LFUN_INSERT_URL
16674 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16675 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16676 auto_region_delete and deadkeys.
16678 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16681 * LColor.C: remove some dead entries, tidy a little
16683 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16685 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16687 (Dispatch): implement LFUN_ESCAPE
16689 * commandtags.h: add LFUN_ESCAPE
16691 * LyXAction.C (init): add entry for LFUN_ESCAPE
16693 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16694 Remove commented code.
16695 (insertNote): moved here
16696 (open_new_inset): moved here
16698 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16701 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16703 * kbmap.C (findbinding): clean it up and make it work correctly.
16705 * lyx_main.C (init): do not pass argc and argv as parameters
16707 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16709 * buffer.C: fix path for OS/2 & Win32
16713 * lyx_main.C: Added os:: class.
16715 * os2_defines.h: update
16717 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16719 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16720 better by trying again with reduced state.
16722 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16724 * lyxrc.C (read): print error about invalid key sequence only when
16725 debugging (because not all latinX keysyms are known to some X
16728 * kbsequence.C (getiso): add a few std:: qualifiers
16729 (getiso): comment out extra return statement.
16731 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16733 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16735 (Dispatch): enhance the accent inset a bit. (not perfect)
16737 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16739 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16741 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16743 * bufferlist.C (emergencyWrite): fix assert() call
16745 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16747 * text.C (InsertChar): Added trivial patch to only send the "you
16748 can not do multiple spaces this way" message once during a
16751 2001-05-08 Baruch Even <baruch@lyx.org>
16753 * Makefile.am: Changed order of libraries to get LyX to link properly
16754 with the gnome frontend.
16756 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16758 * LaTeXFeatures.h: add a std:: qualifier
16760 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16762 * paragraph.C (String): use stringstream
16764 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16766 * paragraph.C (writeFile): remove footflag arg
16768 * buffer.C (makeLaTeXFile): use stringstream
16769 (latexParagraphs): remove footnot gurba
16771 * LaTeXFeatures.C (getPackages): use stringstream
16772 (getMacros): likewise
16773 (getTClassPreamble): likewise
16774 (getFloatDefinitions): new method
16776 * paragraph.C (writeFile): reindent
16779 * WorkArea.h: revert the xpos + etc changes.
16781 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16783 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16785 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16786 (pasteSelection): likewise
16787 * text2.C (CreateUndo): likewise
16789 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16791 * minibuffer.C (peek_event): temporarily reduce the functionality
16792 of the minibuffer (to allow args on lfuns)
16794 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16795 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16797 * buffer.C (readInset): add compability reading of old float
16798 lists, add reading of new style float list.
16799 (readInset): avoid reevaluation of inscmd.getCmdName()
16800 (getLists): reindent
16802 * MenuBackend.C (MenuItem): implement parsing of
16803 md_floatlistinsert and md_floatinsert.
16804 (expand::LastFiles): move initalizaton of iterators out of loop,
16805 avoid reevaluation.
16806 (expand::Documents): introduce typdedef vector<string> Strings,
16808 (expand::ExportFormats): introduce typedef vector<Format const *>
16809 Formats, and use it.
16810 (expand): implement FloatListInsert and FloatInsert.
16812 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16813 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16814 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16816 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16818 (Dispatch::LFUN_FLOAT_LIST): implement
16820 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16822 * LaTeX.C (run): Fix problem with --export code.
16824 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16826 * BufferView.[Ch] (workarea): removed.
16827 (getClipboard) new method; wrapper for workarea()->getClipboard()
16829 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16832 * WorkArea.h (width, height, xpos, ypos): These methods all
16833 returned the dimensions of the work_area sub-area of WorkArea,
16834 resulting in a position error if the WorkArea were resized. Now
16835 return the dimensions of the entire WorkArea.
16837 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16839 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16841 * LaTeX.C (deplog): correct the syntax of regex reg1
16843 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16845 * undo.C: remove !NEW_INSETS cruft
16847 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16849 * text2.C: remove !NEW_INSETS cruft
16851 * text.C: remove !NEW_INSETS cruft
16853 * tabular.C: remove !NEW_INSETS cruft
16855 * spellchecker.C: remove !NEW_INSETS cruft
16857 * lyxtext.h: remove !NEW_INSETS cruft
16859 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16861 * lyxfunc.C: remove !NEW_INSETS cruft
16863 * lyxfind.C: remove !NEW_INSETS cruft
16865 * lyx_cb.C: remove !NEW_INSETS cruft
16867 * figureForm.C: remove !NEW_INSETS cruft
16869 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16871 * buffer.[Ch]: remove !NEW_INSETS cruft
16873 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16875 * CutAndPaste.C: remove !NEW_INSETS cruft
16877 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16879 * BufferView2.C: remove !NEW_INSETS cruft
16881 * BufferView.h: remove !NEW_INSETS cruft
16883 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16885 * Lsstream.h: include LString.h before the sstream headers to
16886 fix problem with gcc 2.95.3 and lyxstring
16888 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16890 * lyx_main.C: add using directives when needed for C functions
16891 declared in std:: namespace.
16893 2001-04-27 Juergen Vigna <jug@sad.it>
16895 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16896 (SetHeightOfRow): comment out the update call should not be needed!
16898 2001-04-13 Juergen Vigna <jug@sad.it>
16900 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16901 (LyXTabular): tried to minimize operator= operations (and realized
16902 hopfully Lars wish).
16904 2001-04-27 Juergen Vigna <jug@sad.it>
16906 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16908 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16910 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16912 * buffer.C (readInset): hack to make listof algorithm work
16914 * BufferView_pimpl.C: hack to make listof algorithm work
16916 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16918 * LyXAction.C: removed all !NEW_INSETS cruft
16919 (init): moved lfun_item in method
16921 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16923 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16925 * BufferView2.C (theLockingInset): white space.
16927 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16929 * minibuffer.C: include <iostream>
16931 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16933 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16935 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16937 * text.[Ch] (TransposeChars): new method
16939 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16941 * call message directly through LyXView instead of through LyXFunc
16942 * BufferView2.C: adjust
16943 * BufferView_pimpl.C: adjust
16944 * FontLoader.C: adjust
16946 * bufferview_funcs.C: adjust
16947 * converter.C: adjust
16948 * figureForm.C: adjust
16949 * importer.C: adjust
16951 * lyx_gui_misc.C: adjust
16952 * lyxfunc.C: adjust
16955 + more files in subdirs
16957 * lyxparagraph.h (size): move up int file
16960 * adjust all uses of Assert to lyx::Assert.
16962 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16963 lyxfunctional in namespace lyx
16964 * layout.C (hasLayout): ditto
16967 (delete_layout): ditto
16968 (NumberOfClass): ditto
16969 * converter.C (GetFormat): ditto
16974 * bufferlist.C (getFileNames): ditto
16975 (emergencyWriteAll): ditto
16978 * MenuBackend.C (hasSubmenu): ditto
16981 * BufferView_pimpl.C (getInsetByCode): ditto
16983 2001-04-18 Juergen Vigna <jug@sad.it>
16985 * vspace.C (asLatexString): fixed the 100% problem.
16987 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16989 * lyxfunc.C (Dispatch):
16991 * minibuffer.h: add a few std:: qualifiers
16993 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16995 * minibuffer.[Ch]: reimplement so that commands is initiated and
16996 run from lyxfunc, simplified som handling, and made the completion
16997 and history code for complete. wip.
16999 * lyxfunc.C (processKeySym): call message
17000 (miniDispatch): new temporary method
17001 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17002 (LFUN_MESSAGE): implement
17003 (LFUN_MESSAGE_PUSH): implement
17004 (LFUN_MESSAGE_POP): implement
17005 (initMiniBuffer): the initial/defualt minibuffer message.
17007 * lyxfont.[Ch]: inline some more getters
17009 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17011 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17013 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17014 (AutoSave): use LFUN_MESSAGE
17015 (Reconfigure): ditto
17017 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17019 * figureForm.C: use LFUN_MESSAGE
17021 * converter.C (runLaTeX): use LFUN_MESSAGE
17023 * bufferview_funcs.C: use LFUN_MESSAGE
17025 (changeDepth): ditto
17027 * bufferparams.h: use boost::
17029 * bufferlist.h: inherit privately from noncopyable
17031 * bufferlist.C (loadLyXFile): remove some commented code.
17033 * buffer.C (runChktex): use LFUN_MESSAGE
17035 * ShareContainer.h: inherit privately from noncopyable
17037 * ParagraphParameters.[hC] (depth): inline it.
17039 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17041 (message): new method
17042 (messagePush): ditto
17043 (messagePop): ditto
17044 (show): init minibuffer
17045 (showState): direct call
17047 * LaTeX.[Ch]: inherit privately from noncopyable
17048 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17049 instead of WriteStatus.
17051 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17053 * BufferView_pimpl.C (buffer): don't init minibuffer
17054 (workAreaButtonPress): use LFUN_MESSAGE
17055 (workAreaButtonRelease): ditto
17056 (savePosition): ditto
17057 (restorePosition): ditto
17058 (MenuInsertLyXFile): ditto
17059 (workAreaExpose): don't init minibuffer
17060 (update): remove commented code, simplify
17062 * BufferView2.C (openStuff): use LFUN_MESSAGE
17063 (toggleFloat): ditto
17066 (copyEnvironment): ditto
17067 (pasteEnvironment): ditto
17072 (updateInset): remove some commented code
17074 * lastfiles.h: inherit privately from noncopyable
17077 * lyx_main.h: ditto
17079 * lyxlex_pimpl.h: ditto
17081 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17082 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17083 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17085 * LyXAction.h: inherit privately from noncopyable, add methods
17086 func_begin, func_end, returning iterators to the func map.
17088 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17089 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17090 (func_begin): new method
17091 (func_end): new method
17093 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17095 (copySelection): ditto
17096 (pasteSelection): ditto
17098 * BufferView.C: whitespace change
17099 * BufferView.h: inherit privately from noncopyable
17101 2001-04-16 Allan Rae <rae@lyx.org>
17103 * tabular-old.C (l_getline):
17104 * spellchecker.C (sc_check_word):
17105 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17106 an unrecognised preprocessor directive. So ensure they're wrapped.
17108 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17110 * src/exporter.C (Export): Give an error message when path to file
17113 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17115 * LaTeX.C (deplog): Always check that foundfile exists.
17117 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17120 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17122 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17124 * tabular.[Ch] (getLabelList): implement new method
17126 * minibuffer.h: comment ouf setTiimer
17128 * minibuffer.C (ExecutingCB): constify res
17129 (peek_event): constify s
17130 (Set): constify ntext
17131 (Init): constify nicename
17133 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17135 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17136 (savePosition): use two params to Minibuffer::Set
17137 (restorePosition): ditto
17139 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17141 * lyx_main.C: include language.h
17143 * Makefile.am (lyx_main.o): add language.h
17145 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17151 * CutAndPaste.C: include gettext.h
17153 * lyxfont.h: remove old hack with ON and OFF.
17156 * lyxfont.h: do not include language.h...
17161 * bufferview_funcs.C:
17167 * paragraph.C: ... but do it here instead
17169 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17171 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17173 * tabular.C: small reformat
17175 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17178 (BreakParagraph): ditto
17179 (SetOnlyLayout): ditto
17182 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17185 * lastfiles.C: removed most using decl, add std:: where needed
17187 * buffer.C: ws changes
17189 * MenuBackend.C (class compare_format): put into anon namespace
17190 (expand): constify label, names, action, action2
17193 * text.C (SingleWidth): constify font
17194 (IsBoundary): constify rtl2
17195 (GetVisibleRow): constify ww
17197 * LaTeX.C (deplog): constify logfile
17199 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17201 (workAreaExpose): constify widthChange, heightChange
17203 * lyxrow.C (par): moved
17206 * lyxrow.h: as inlines here
17208 * lyxfont.h (shape): moved from lyxfont.C
17209 (emph): moved from lyxfont.C
17211 * lyxfont.C (LyXFont): use initialization list for all
17213 (shape): move to lyxfont.h as inline
17214 (emph): move to lyxfont.h as inline
17217 2001-04-04 Juergen Vigna <jug@sad.it>
17219 * vspace.C: had to include stdio.h for use of sscanf
17221 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17224 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17225 independent of xforms.
17227 2001-04-02 Juergen Vigna <jug@sad.it>
17229 * spellchecker.C: fixed namespace placing!
17231 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17233 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17234 the LyXParagraph * is 0.
17236 2001-03-29 Juergen Vigna <jug@sad.it>
17238 * vspace.C: added support for %, c%, p%, l%.
17239 (stringFromUnit): added helper function.
17240 (asLatexString): changed to give right results for the %-values.
17242 * buffer.C: convert the widthp in a width%.
17244 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17246 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17249 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17250 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17252 * lyx_cb.[Ch]: see above.
17254 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17258 * lyx.[Ch]: replaced by figure_form.[Ch].
17262 * lyxfunc.C: changed headers associated with above changes.
17264 2001-03-27 Juergen Vigna <jug@sad.it>
17266 * BufferView_pimpl.C: set the temporary cursor right!
17268 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17270 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17272 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17274 * LString.h: removed "using std::getline"!
17276 * BufferView_pimpl.C (Dispatch): changes due to changes in
17277 InsetInclude::Params.
17279 * buffer.C (tag_name): removed redundant break statements as they were
17280 producing lots of warnings with my compiler.
17282 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17284 * LString.h: add "using std::getline" when using the real <string>.
17286 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17288 * buffer.C: removed bitset usage.
17289 PAR_TAG moved to an anonymous name space.
17290 (tag_name): new funtion, also in the anonymous namespace.
17291 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17292 (makeDocBookFile): clean code. Completed transition from string arrays
17294 (SimpleDocBookOnePar): code clean.
17296 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17298 * tabular.C: add some comments.
17300 2001-03-22 Juergen Vigna <jug@sad.it>
17302 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17303 compatibility read a bit and fixed bug with minipage in different
17306 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17308 * buffer.C (pop_tag): removed.
17309 (push_tag): removed.
17310 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17311 array replaced with vector. Added support for CDATA sections.
17312 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17314 (makeDocBookFile): XML conformant declaration of CDATA section,
17315 fixed bug related to <emphasis> in the first paragraph char.
17316 (sgmlOpenTag): exclude empty tags.
17317 (sgmlCloseTag): ditto.
17319 * buffer.h (pop_tag): removed.
17320 (push_tag): removed.
17322 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17324 * language.h (Languages): added size_type and size().
17326 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17328 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17329 response on compability reading of minipages. One probliem is that
17330 the old usage of minipages was flertydig
17332 * several files here and in subdirs: don't use static at file
17333 scope use anon namespaces instead.
17335 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17337 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17338 LaTeX output. This is necessary for Literate document
17341 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17343 * buffer.C: insert hfill when needed.
17345 * tabular.C (l_getline): use string::erase, small whitespace change.
17347 * BufferView_pimpl.C: try the anon namespace.
17348 * WorkArea.C: ditto
17350 2001-03-16 Juergen Vigna <jug@sad.it>
17352 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17353 otherwise it won't open options-dialogs.
17355 * buffer.C: honor pextraWidth(p) on converting minipages.
17357 * tabular.C (l_getline): changed the functions to strip trailing \r.
17359 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17361 * BufferView_pimpl.C:
17362 * minibuffer..C: added "using SigC::slot" declaration.
17364 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17366 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17372 * paragraph.C: ditto
17374 * lyxtext.h: NO_PEXTRA
17376 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17378 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17379 * ParameterStruct.h: ditto
17380 * ParagraphParameters.h: ditto
17381 * lyxparagraph.h: ditto
17383 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17385 * buffer.C: add compability for minipage alignment.
17386 (latexParagraphs): remove unwanted pextra check.
17388 * several files: remove CXX_WORKING_NAMESPACES
17390 * buffer.C (pop_tag): tie is in namespace boost
17392 * BufferView.h: noncopyable is in namespace boost
17394 * lyx_main.h: ditto
17397 * lastfiles.h: ditto
17398 * bufferlist.h: ditto
17399 * ShareContainer.h: ditto
17401 * LyXAction.h: ditto
17404 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17406 * Merging changes from BRANCH_MVC back into HEAD.
17408 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17410 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17412 * BufferView_pimpl.C: change from intl.C
17416 * Makefile.am: move combox.*
17422 * intl.C: remove dialog (covered by prefs)
17424 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17426 * lyxfunc.C (Dispatch): removed redundant break statement.
17428 2001-03-14 Juergen Vigna <jug@sad.it>
17430 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17432 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17434 * buffer.C: add hack to fix compability reading of minipages.
17436 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17438 * buffer.C (getLists): Cleanup.
17440 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17442 * lyxfont.C (update): don't honor toggleall on font size.
17444 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17448 * Makefile.am: moved to frontends/xforms/
17452 * BufferView_pimpl.C: changes for moved mathpanel
17454 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17456 * gettext.h: fix gettext_init() in --disable-nls
17458 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17460 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17462 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17465 * lyx.h: strip external form
17467 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17469 * BufferView_pimpl.C: add comment, destroySplash()
17471 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17473 * BufferView_pimpl.C:
17477 * lyxfunc.C: use re-worked insetinclude
17479 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17481 * buffer.C: add using std::stringstream.
17483 * lyx_cb.C: readd using std::ios.
17485 * buffer.C: add using std::map.
17487 * BufferView_pimpl.C: add using std::vector.
17489 * ShareContainer.h: add std:: to swap.
17491 * buffer.h: add some typedefs
17492 * buffer.C (getLists): use them
17493 (getLists): renamed from getTocList.
17494 add a counter for the different float types and use it in the
17496 (getLists): use the same counter for the NEW_INSETS and the "non"
17499 * lyx_cb.h: remove unused items, includes, using etc.
17501 * ShareContainer.h: remove some commented code, add more comments
17502 and "documentation".
17504 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17506 * buffer.C (getTocList): make the list also when NEW_INSETS is
17509 * buffer.h: remove TocType
17511 * buffer.C (getTocList): change to return a map<string,
17512 vector<TocItem> >, implement for dynamic number of list.
17514 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17515 * text2.C (PasteSelection): adjust
17516 * CutAndPaste.C (pasteSelection): adjust
17518 * FloatList.C (FloatList): update from the new_insets branch.
17519 * Floating.[Ch]: ditto
17520 * LaTeXFeatures.C: ditto
17522 * lyxlex_pimpl.C: ditto
17524 * paragraph.C (Last): remove when NEW_INSETS is defined.
17526 * other file: changes because of the above.
17528 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17530 * lyxparagraph.h: rename next to next_, previous to previous_,
17531 make them private for NEW_INSETS. Rename Next() to next(),
17532 Previous() to previous().
17534 * other files: changes because of the above.
17536 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17539 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17542 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17544 * main.C (main): pass lyx_localedir to gettext_init().
17546 * gettext.h: remove locale_init and gettext_init macros
17548 * gettext.C (locale_init): new function
17549 (gettext_init): new function
17551 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17554 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17556 * Moved credits to frontends:
17557 * credits.[Ch]: removed
17558 * credits_form.[Ch]: removed
17559 * lyx_gui_misc.C: remove credits stuff
17562 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17564 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17566 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17567 unneeded destructor.
17569 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17570 a standalone pointer again.
17572 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17574 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17580 * ToolbarDefaults.C:
17589 * BufferView_pimpl.C: use new file dialog in GUII
17592 * lyx_cb.C: remove LayoutsCB to Toolbar
17594 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17596 * ShareContainer.h (get): add std:: qualifier
17598 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17600 * ShareContainer.h: define a proper ShareContainer::value_type
17601 type (and use typename to please compaq cxx)
17603 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17605 * lyxparagraph.h: move serveral local vars to
17606 ParameterStruct/ParagraphParameters., use ShareContainer in
17607 FontTable., make vars in FontTable private and add getter and
17610 * paragraph.C: changes because of the above.
17612 * lyxfont.h: remove copy constructor and copy assignment. (the
17613 default ones is ok), move number inside FontBits. move inlines to
17616 * lyxfont.C: add number to initializaton of statics, move several
17617 inlines here. constify several local vars. some whitespace
17618 cleanup. Dont hide outerscope variables.
17620 * Spacing.h: add two new constructors to match the set methods.
17622 * ShareContainer.h: new file, will perhaps be moved to support
17624 * ParameterStruct.h: new file
17626 * ParagraphParameters.h: new file
17628 * ParagraphParameters.C: new file
17630 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17631 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17633 * BufferView_pimpl.C: ParagraphParameter changes.
17634 * buffer.C: Likewise.
17635 * bufferview_funcs.C: Likewise.
17636 * text.C: Likewise.
17637 * text2.C: Likewise.
17639 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17641 * lyxfind.C (LyXReplace): do not redefine default argument in
17643 (IsStringInText): ditto
17644 (SearchForward): ditto
17645 (SearchBackward): ditto
17647 2001-03-06 Juergen Vigna <jug@sad.it>
17649 * lyxfind.C (IsStringInText): put parentes around expressions.
17651 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17653 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17655 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17657 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17659 * stl_string_fwd.h: add comment
17661 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17664 * tabular.C: remove unused DocBook methods
17670 killed DO_USE_DEFAULT_LANGUAGE
17672 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17674 * lyx_gui.C: do not include language.h.
17676 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17677 arguments in function implementation.
17679 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17681 * BufferView_pimpl.C: add <ctime>
17683 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17685 * BufferView_pimpl.C: add using std::find_if
17687 2001-02-27 José Matos <jamatos@fep.up.pt>
17689 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17692 2001-02-11 José Matos <jamatos@fep.up.pt>
17694 * buffer.C (makeDocBookFile): command styles now have a parameter as
17695 "title" by default.
17697 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17699 * layout_forms.[Ch]: removed
17700 * lyx_cb.[Ch]: out character
17701 * lyx_gui.C: out character
17702 * lyx_gui_misc.C: out character
17703 * bufferview_funcs.C: : out character,
17704 added toggleall as parameter in ToggleAndShow
17706 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17708 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17710 * text2.C (SetCurrentFont): Disable number property at boundary.
17712 2001-02-26 Juergen Vigna <jug@sad.it>
17714 * lyxfunc.C (getStatus): added a string argument override function so
17715 that this is correctly called from LyXFunc::Dispatch if it contains a
17716 do_not_use_argument which is used!
17717 (Dispatch): added check for "custom" export and call appropriate func.
17719 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17721 * lyxrc.C: Add language_command_local, language_use_babel and
17722 language_global_options.
17724 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17726 * buffer.C (makeLaTeXFile): Use language_use_babel and
17727 language_global_options.
17729 2001-02-23 Juergen Vigna <jug@sad.it>
17731 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17732 which works with LyXText and putted it inside BufferView. Here now we
17733 only call for that part the BufferView::Dispatch() function.
17735 * BufferView.C (Dispatch): added.
17737 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17738 functions which needs to use a LyXText over from LyXFunc.
17739 (MenuInsertLyXFile): added
17740 (getInsetByCode): added
17741 (moveCursorUpdate): added
17742 (static TEXT): added
17744 2001-02-22 Juergen Vigna <jug@sad.it>
17746 * BufferView_pimpl.C (update): call a status update to see if LyXText
17749 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17751 * vc-backend.C (revert): implement for CVS
17752 (getLog): implement for CVS
17754 2001-02-20 Juergen Vigna <jug@sad.it>
17756 * text2.C (ClearSelection): added BufferView param for inset_owner call
17758 * lyxfunc.C (TEXT): added this function and use it instead of
17759 directly owner->view()-text of getLyXText().
17761 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17763 * src/layout_forms.C: out preamble
17764 * src/layout_forms.h: out preamble
17765 * src/lyx_cb.C: out preamble
17766 * src/lyx_cb.h: out preamble
17767 * src/lyx_gui.C: out preamble
17768 * src/lyx_gui_misc.C: out preamble
17769 * src/lyxfunc.C: connect with guii preamble
17771 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17773 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17775 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17777 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17778 whether to run bibtex.
17780 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17782 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17784 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17786 * Makefile.am (lyx_SOURCES): removed bibforms.h
17788 * vspace.h: doxygen
17790 * text.C (GetVisibleRow): make several local vars const
17792 * tabular.C: small cleanup.
17794 * lyxserver.C (callback): use compare instead of strncmp
17796 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17797 inlines to after class or to paragraph.C
17799 * lyxfont.h: remove friend operator!=
17801 * converter.h: move friend bool operator< to non friend and after
17804 * combox.h: small cleanup
17806 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17807 to inlines after class def.
17809 * buffer.C (pop_tag): use string operations instead of strcmp
17811 * bmtable.c: doxygen, small cleanup
17813 * LaTeX.h: remove friend operator==
17815 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17827 * BufferView_pimpl.C:
17828 * BufferView.[Ch]: remove cruft
17830 2001-02-14 Juergen Vigna <jug@sad.it>
17832 * lyxfunc.C: removed #if 0 unused code
17834 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17836 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17838 * text2.C (SetSelection): added a BufferView * parameter
17840 2001-02-13 Juergen Vigna <jug@sad.it>
17842 * lyxfunc.C (Dispatch): fixed protected blank problem.
17843 * BufferView2.C (protectedBlank): added LyxText * parameter.
17845 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17846 (AppendColumn): same as above for column_info.
17848 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17849 (moveCursorUpdate): use a LyXText param for support of InsetText.
17851 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17852 (tripleClick): ditto
17854 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17856 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17858 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17860 * text2.C (SetSelection): set correct update status if inset_owner
17861 (ToggleFree): ditto
17863 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17865 * tabular.C: remove some commented code.
17867 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17869 * BufferView_pimpl.C: call hideSplash()
17871 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17874 * bibforms.h: remove
17877 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17878 add LFUN_CHILD_CREATE
17880 * counters.h: fix tiny typo
17885 * lyx.C: move splash to frontends/xforms/
17887 * lyx_gui_misc.C: move Include and Bibform to frontends
17889 * lyxvc.h: clarify comment
17891 * vspace.C: tiny housekeeping
17893 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17895 * text.C (PrepareToPrint): RTL Fix.
17897 * paragraph.C (GetUChar): New method.
17898 (String): Use GetUChar.
17900 * buffer.C (asciiParagraph): Use GetUChar.
17902 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17904 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17906 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17909 * buffer.C: rename to getLogName(), handle
17910 build log / latex log nicely
17912 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17915 * MenuBackend.h: remove support for reference menuitem type.
17917 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17919 * BufferView_pimpl.C: housekeeping
17920 * BufferView_pimpl.h:
17925 * minibuffer.h: move Timeout GUI-I
17927 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17929 * lyxrc.C (read): Update converters data-structures.
17931 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17933 * LaTeX.h (operator!=): add operator != for Aux_Info
17935 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17937 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17939 * LaTeXLog.C: deleted, useful code moved to Buffer
17942 * buffer.C: new function getLatexLogName()
17948 * lyxfunc.C: use frontends for LaTeX and VC logs
17950 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17952 * LaTeX.h: yet another std:: that Allan forgot.
17954 * Variables.C (set): renamed from isset(), because this clashes
17955 with some HP-UX macros (grr).
17957 2001-02-06 Allan Rae <rae@lyx.org>
17959 * LaTeX.h: Another bug fix. Missing std:: this time.
17961 2001-02-04 Allan Rae <rae@lyx.org>
17963 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17964 floats problem. I've left it commented out because it's not quite
17965 correct. It should also test that the current object is a table or
17966 figure inset. But I haven't gotten around to figuring out how to do
17967 that. I *think* it'll be something like: "table" == inset.type()
17969 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17972 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17974 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17975 all the citation/databases/styles in the auxilary file.
17976 (run): Rerun latex if there was a babel language error.
17978 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17980 * text.C (Backspace): Preserve the font when changing newline char
17982 (BreakParagraph): If the cursor is before a space, delete the space.
17984 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17986 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17988 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17989 new argument (code).
17990 (ChangeCitationsIfUnique): New method.
17992 * paragraph.C (GetPositionOfInset): Handle bibkey.
17994 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17996 * BufferView_pimpl.h: change type of Position::par_pos to
17997 LyXParagraph::size_type.
17999 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18001 * BufferView_pimpl.C (savePosition, restorePosition): Write
18002 messages to minibuffer.
18004 2001-01-28 José Matos <jamatos@fep.up.pt>
18006 * buffer.C (makeDocBookFile): adds support for document language.
18007 A silly restriction on the name of LatexCommand types where removed.
18008 Added support for CDATA sections, allows to chars unescaped, used
18009 among others in code, to avoid escape < and >.
18011 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18013 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18014 saved positions instrad of a stack. Furthermore, a position is
18015 stored using paragraph id/paragraph position.
18017 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18018 Remove LFUN_REF_BACK.
18020 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18022 * converter.C (dvipdfm_options): New method.
18024 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18026 * vspace.C (isValidLength): Fix for empty input string.
18028 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18030 * LyXAction.C (init): change description of LFUN_FIGURE to
18033 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18035 * LaTeX.C: add using directive
18037 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18039 * MenuBackend.C (expand): Fix the sorting of the formats.
18041 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18043 * lyx_main.C: tiny error message fix
18045 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18047 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18048 calling fl_initialize(). This fixes the problem with ',' as
18049 decimal separator in text files.
18051 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18053 * trans.C (process): Fix the keymap bug.
18055 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18057 * LaTeX.C (scanAuxFiles): New method. Provides support for
18058 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18059 (scanLogFile) Scan for "run BibTeX" messages.
18061 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18062 OT1 font encoding. Also, load the aecompl package if the ae
18065 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18067 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18069 * texrow.C (increasePos): turn two error messages into debug
18072 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18074 * LaTeX.C (scanAux): Handle the \@input macro.
18075 (runBibTeX): Use scanAux().
18077 * language.C (latex_options_): New field.
18079 * LaTeXFeatures.C (getMacros): Add language macros.
18081 * buffer.C (makeLaTeXFile): Small fix.
18083 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18085 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18087 * text2.C: add a using directive.
18089 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18094 * lyxfunc.C: kill LyXBell.
18096 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18098 * text.C (IsBoundary): Remove the error message
18100 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18102 * lyxrc.C (setDefaults): Correct initialization value for
18105 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18107 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18110 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18111 and GotoNextNote().
18113 * src/LyXAction.C: Added reference-next.
18115 * text.C (InsertChar): Use contains instead of strchr.
18117 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18119 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18121 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18122 alignment commands (when needed).
18124 * text.C (InsertChar): Add ':' to number separator chars.